@hulkapps/app-manager-vue 3.0.10 → 3.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,4 +6,4 @@ var no=2147483647,ao=/[^\x20-\x7E]/,ro=/[\x2E\u3002\uFF0E\uFF61]/g,oo={overflow:
6
6
  * Copyright (c) 2014, Jason Chen
7
7
  * Copyright (c) 2013, salesforce.com
8
8
  */
9
- var n;"undefined"!=typeof self&&self,n=function(){return function(t){var e={};function n(a){if(e[a])return e[a].exports;var r=e[a]={i:a,l:!1,exports:{}};return t[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:a})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=109)}([function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=n(17),r=n(18),o=n(19),i=n(45),s=n(46),l=n(47),c=n(48),u=n(49),d=n(12),h=n(32),p=n(33),f=n(31),v=n(1),g={Scope:v.Scope,create:v.create,find:v.find,query:v.query,register:v.register,Container:a.default,Format:r.default,Leaf:o.default,Embed:c.default,Scroll:i.default,Block:l.default,Inline:s.default,Text:u.default,Attributor:{Attribute:d.default,Class:h.default,Style:p.default,Store:f.default}};e.default=g},function(t,e,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=function(t){function e(e){var n=this;return e="[Parchment] "+e,(n=t.call(this,e)||this).message=e,n.name=n.constructor.name,n}return r(e,t),e}(Error);e.ParchmentError=o;var i,s={},l={},c={},u={};function d(t,e){var n;if(void 0===e&&(e=i.ANY),"string"==typeof t)n=u[t]||s[t];else if(t instanceof Text||t.nodeType===Node.TEXT_NODE)n=u.text;else if("number"==typeof t)t&i.LEVEL&i.BLOCK?n=u.block:t&i.LEVEL&i.INLINE&&(n=u.inline);else if(t instanceof HTMLElement){var a=(t.getAttribute("class")||"").split(/\s+/);for(var r in a)if(n=l[a[r]])break;n=n||c[t.tagName]}return null==n?null:e&i.LEVEL&n.scope&&e&i.TYPE&n.scope?n:null}e.DATA_KEY="__blot",function(t){t[t.TYPE=3]="TYPE",t[t.LEVEL=12]="LEVEL",t[t.ATTRIBUTE=13]="ATTRIBUTE",t[t.BLOT=14]="BLOT",t[t.INLINE=7]="INLINE",t[t.BLOCK=11]="BLOCK",t[t.BLOCK_BLOT=10]="BLOCK_BLOT",t[t.INLINE_BLOT=6]="INLINE_BLOT",t[t.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",t[t.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",t[t.ANY=15]="ANY"}(i=e.Scope||(e.Scope={})),e.create=function(t,e){var n=d(t);if(null==n)throw new o("Unable to create "+t+" blot");var a=n,r=t instanceof Node||t.nodeType===Node.TEXT_NODE?t:a.create(e);return new a(r,e)},e.find=function t(n,a){return void 0===a&&(a=!1),null==n?null:null!=n[e.DATA_KEY]?n[e.DATA_KEY].blot:a?t(n.parentNode,a):null},e.query=d,e.register=function t(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(e.length>1)return e.map((function(e){return t(e)}));var a=e[0];if("string"!=typeof a.blotName&&"string"!=typeof a.attrName)throw new o("Invalid definition");if("abstract"===a.blotName)throw new o("Cannot register abstract class");if(u[a.blotName||a.attrName]=a,"string"==typeof a.keyName)s[a.keyName]=a;else if(null!=a.className&&(l[a.className]=a),null!=a.tagName){Array.isArray(a.tagName)?a.tagName=a.tagName.map((function(t){return t.toUpperCase()})):a.tagName=a.tagName.toUpperCase();var r=Array.isArray(a.tagName)?a.tagName:[a.tagName];r.forEach((function(t){null!=c[t]&&null!=a.className||(c[t]=a)}))}return a}},function(t,e,n){var a=n(51),r=n(11),o=n(3),i=n(20),s=String.fromCharCode(0),l=function(t){Array.isArray(t)?this.ops=t:null!=t&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]};l.prototype.insert=function(t,e){var n={};return 0===t.length?this:(n.insert=t,null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n))},l.prototype.delete=function(t){return t<=0?this:this.push({delete:t})},l.prototype.retain=function(t,e){if(t<=0)return this;var n={retain:t};return null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n)},l.prototype.push=function(t){var e=this.ops.length,n=this.ops[e-1];if(t=o(!0,{},t),"object"==typeof n){if("number"==typeof t.delete&&"number"==typeof n.delete)return this.ops[e-1]={delete:n.delete+t.delete},this;if("number"==typeof n.delete&&null!=t.insert&&(e-=1,"object"!=typeof(n=this.ops[e-1])))return this.ops.unshift(t),this;if(r(t.attributes,n.attributes)){if("string"==typeof t.insert&&"string"==typeof n.insert)return this.ops[e-1]={insert:n.insert+t.insert},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this;if("number"==typeof t.retain&&"number"==typeof n.retain)return this.ops[e-1]={retain:n.retain+t.retain},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this}}return e===this.ops.length?this.ops.push(t):this.ops.splice(e,0,t),this},l.prototype.chop=function(){var t=this.ops[this.ops.length-1];return t&&t.retain&&!t.attributes&&this.ops.pop(),this},l.prototype.filter=function(t){return this.ops.filter(t)},l.prototype.forEach=function(t){this.ops.forEach(t)},l.prototype.map=function(t){return this.ops.map(t)},l.prototype.partition=function(t){var e=[],n=[];return this.forEach((function(a){(t(a)?e:n).push(a)})),[e,n]},l.prototype.reduce=function(t,e){return this.ops.reduce(t,e)},l.prototype.changeLength=function(){return this.reduce((function(t,e){return e.insert?t+i.length(e):e.delete?t-e.delete:t}),0)},l.prototype.length=function(){return this.reduce((function(t,e){return t+i.length(e)}),0)},l.prototype.slice=function(t,e){t=t||0,"number"!=typeof e&&(e=1/0);for(var n=[],a=i.iterator(this.ops),r=0;r<e&&a.hasNext();){var o;r<t?o=a.next(t-r):(o=a.next(e-r),n.push(o)),r+=i.length(o)}return new l(n)},l.prototype.compose=function(t){var e=i.iterator(this.ops),n=i.iterator(t.ops),a=[],o=n.peek();if(null!=o&&"number"==typeof o.retain&&null==o.attributes){for(var s=o.retain;"insert"===e.peekType()&&e.peekLength()<=s;)s-=e.peekLength(),a.push(e.next());o.retain-s>0&&n.next(o.retain-s)}for(var c=new l(a);e.hasNext()||n.hasNext();)if("insert"===n.peekType())c.push(n.next());else if("delete"===e.peekType())c.push(e.next());else{var u=Math.min(e.peekLength(),n.peekLength()),d=e.next(u),h=n.next(u);if("number"==typeof h.retain){var p={};"number"==typeof d.retain?p.retain=u:p.insert=d.insert;var f=i.attributes.compose(d.attributes,h.attributes,"number"==typeof d.retain);if(f&&(p.attributes=f),c.push(p),!n.hasNext()&&r(c.ops[c.ops.length-1],p)){var v=new l(e.rest());return c.concat(v).chop()}}else"number"==typeof h.delete&&"number"==typeof d.retain&&c.push(h)}return c.chop()},l.prototype.concat=function(t){var e=new l(this.ops.slice());return t.ops.length>0&&(e.push(t.ops[0]),e.ops=e.ops.concat(t.ops.slice(1))),e},l.prototype.diff=function(t,e){if(this.ops===t.ops)return new l;var n=[this,t].map((function(e){return e.map((function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:s;throw new Error("diff() called "+(e===t?"on":"with")+" non-document")})).join("")})),o=new l,c=a(n[0],n[1],e),u=i.iterator(this.ops),d=i.iterator(t.ops);return c.forEach((function(t){for(var e=t[1].length;e>0;){var n=0;switch(t[0]){case a.INSERT:n=Math.min(d.peekLength(),e),o.push(d.next(n));break;case a.DELETE:n=Math.min(e,u.peekLength()),u.next(n),o.delete(n);break;case a.EQUAL:n=Math.min(u.peekLength(),d.peekLength(),e);var s=u.next(n),l=d.next(n);r(s.insert,l.insert)?o.retain(n,i.attributes.diff(s.attributes,l.attributes)):o.push(l).delete(n)}e-=n}})),o.chop()},l.prototype.eachLine=function(t,e){e=e||"\n";for(var n=i.iterator(this.ops),a=new l,r=0;n.hasNext();){if("insert"!==n.peekType())return;var o=n.peek(),s=i.length(o)-n.peekLength(),c="string"==typeof o.insert?o.insert.indexOf(e,s)-s:-1;if(c<0)a.push(n.next());else if(c>0)a.push(n.next(c));else{if(!1===t(a,n.next(1).attributes||{},r))return;r+=1,a=new l}}a.length()>0&&t(a,{},r)},l.prototype.transform=function(t,e){if(e=!!e,"number"==typeof t)return this.transformPosition(t,e);for(var n=i.iterator(this.ops),a=i.iterator(t.ops),r=new l;n.hasNext()||a.hasNext();)if("insert"!==n.peekType()||!e&&"insert"===a.peekType())if("insert"===a.peekType())r.push(a.next());else{var o=Math.min(n.peekLength(),a.peekLength()),s=n.next(o),c=a.next(o);if(s.delete)continue;c.delete?r.push(c):r.retain(o,i.attributes.transform(s.attributes,c.attributes,e))}else r.retain(i.length(n.next()));return r.chop()},l.prototype.transformPosition=function(t,e){e=!!e;for(var n=i.iterator(this.ops),a=0;n.hasNext()&&a<=t;){var r=n.peekLength(),o=n.peekType();n.next(),"delete"!==o?("insert"===o&&(a<t||!e)&&(t+=r),a+=r):t-=Math.min(r,t-a)}return t},t.exports=l},function(t,e){var n=Object.prototype.hasOwnProperty,a=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(t){return"function"==typeof Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)},s=function(t){if(!t||"[object Object]"!==a.call(t))return!1;var e,r=n.call(t,"constructor"),o=t.constructor&&t.constructor.prototype&&n.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!o)return!1;for(e in t);return void 0===e||n.call(t,e)},l=function(t,e){r&&"__proto__"===e.name?r(t,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):t[e.name]=e.newValue},c=function(t,e){if("__proto__"===e){if(!n.call(t,e))return;if(o)return o(t,e).value}return t[e]};t.exports=function t(){var e,n,a,r,o,u,d=arguments[0],h=1,p=arguments.length,f=!1;for("boolean"==typeof d&&(f=d,d=arguments[1]||{},h=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});h<p;++h)if(null!=(e=arguments[h]))for(n in e)a=c(d,n),d!==(r=c(e,n))&&(f&&r&&(s(r)||(o=i(r)))?(o?(o=!1,u=a&&i(a)?a:[]):u=a&&s(a)?a:{},l(d,{name:n,newValue:t(f,u,r)})):void 0!==r&&l(d,{name:n,newValue:r}));return d}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BlockEmbed=e.bubbleFormats=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},o=d(n(3)),i=d(n(2)),s=d(n(0)),l=d(n(16)),c=d(n(6)),u=d(n(7));function d(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function f(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var v=function(t){function e(){return h(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return f(e,t),a(e,[{key:"attach",value:function(){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"attach",this).call(this),this.attributes=new s.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new i.default).insert(this.value(),(0,o.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(t,e){var n=s.default.query(t,s.default.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,e)}},{key:"formatAt",value:function(t,e,n,a){this.format(n,a)}},{key:"insertAt",value:function(t,n,a){if("string"==typeof n&&n.endsWith("\n")){var o=s.default.create(g.blotName);this.parent.insertBefore(o,0===t?this:this.next),o.insertAt(0,n.slice(0,-1))}else r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,a)}}]),e}(s.default.Embed);v.scope=s.default.Scope.BLOCK_BLOT;var g=function(t){function e(t){h(this,e);var n=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.cache={},n}return f(e,t),a(e,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(s.default.Leaf).reduce((function(t,e){return 0===e.length()?t:t.insert(e.value(),m(e))}),new i.default).insert("\n",m(this))),this.cache.delta}},{key:"deleteAt",value:function(t,n){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,n),this.cache={}}},{key:"formatAt",value:function(t,n,a,o){n<=0||(s.default.query(a,s.default.Scope.BLOCK)?t+n===this.length()&&this.format(a,o):r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,Math.min(n,this.length()-t-1),a,o),this.cache={})}},{key:"insertAt",value:function(t,n,a){if(null!=a)return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,a);if(0!==n.length){var o=n.split("\n"),i=o.shift();i.length>0&&(t<this.length()-1||null==this.children.tail?r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,Math.min(t,this.length()-1),i):this.children.tail.insertAt(this.children.tail.length(),i),this.cache={});var s=this;o.reduce((function(t,e){return(s=s.split(t,!0)).insertAt(0,e),e.length}),t+i.length)}}},{key:"insertBefore",value:function(t,n){var a=this.children.head;r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n),a instanceof l.default&&a.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"length",this).call(this)+1),this.cache.length}},{key:"moveChildren",value:function(t,n){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"moveChildren",this).call(this,t,n),this.cache={}}},{key:"optimize",value:function(t){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.cache={}}},{key:"path",value:function(t){return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t,!0)}},{key:"removeChild",value:function(t){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"removeChild",this).call(this,t),this.cache={}}},{key:"split",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===t||t>=this.length()-1)){var a=this.clone();return 0===t?(this.parent.insertBefore(a,this),this):(this.parent.insertBefore(a,this.next),a)}var o=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"split",this).call(this,t,n);return this.cache={},o}}]),e}(s.default.Block);function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==t?e:("function"==typeof t.formats&&(e=(0,o.default)(e,t.formats())),null==t.parent||"scroll"==t.parent.blotName||t.parent.statics.scope!==t.statics.scope?e:m(t.parent,e))}g.blotName="block",g.tagName="P",g.defaultChild="break",g.allowedChildren=[c.default,s.default.Embed,u.default],e.bubbleFormats=m,e.BlockEmbed=v,e.default=g},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.overload=e.expandConfig=void 0;var a="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},r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],a=!0,r=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(a=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);a=!0);}catch(t){r=!0,o=t}finally{try{!a&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}();n(50);var i=g(n(2)),s=g(n(14)),l=g(n(8)),c=g(n(9)),u=g(n(0)),d=n(15),h=g(d),p=g(n(3)),f=g(n(10)),v=g(n(34));function g(t){return t&&t.__esModule?t:{default:t}}function m(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var w=(0,f.default)("quill"),b=function(){function t(e){var n=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(y(this,t),this.options=_(e,a),this.container=this.options.container,null==this.container)return w.error("Invalid Quill container",e);this.options.debug&&t.debug(this.options.debug);var r=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new l.default,this.scroll=u.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new s.default(this.scroll),this.selection=new h.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(l.default.events.EDITOR_CHANGE,(function(t){t===l.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())})),this.emitter.on(l.default.events.SCROLL_UPDATE,(function(t,e){var a=n.selection.lastRange,r=a&&0===a.length?a.index:void 0;x.call(n,(function(){return n.editor.update(null,e,r)}),t)}));var o=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+r+"<p><br></p></div>");this.setContents(o),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return o(t,null,[{key:"debug",value:function(t){!0===t&&(t="log"),f.default.level(t)}},{key:"find",value:function(t){return t.__quill||u.default.find(t)}},{key:"import",value:function(t){return null==this.imports[t]&&w.error("Cannot import "+t+". Are you sure it was registered?"),this.imports[t]}},{key:"register",value:function(t,e){var n=this,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof t){var r=t.attrName||t.blotName;"string"==typeof r?this.register("formats/"+r,t,e):Object.keys(t).forEach((function(a){n.register(a,t[a],e)}))}else null==this.imports[t]||a||w.warn("Overwriting "+t+" with",e),this.imports[t]=e,(t.startsWith("blots/")||t.startsWith("formats/"))&&"abstract"!==e.blotName?u.default.register(e):t.startsWith("modules")&&"function"==typeof e.register&&e.register()}}]),o(t,[{key:"addContainer",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof t){var n=t;(t=document.createElement("div")).classList.add(n)}return this.container.insertBefore(t,e),t}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(t,e,n){var a=this,o=M(t,e,n),i=r(o,4);return t=i[0],e=i[1],n=i[3],x.call(this,(function(){return a.editor.deleteText(t,e)}),n,t,-1*e)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(t),this.container.classList.toggle("ql-disabled",!t)}},{key:"focus",value:function(){var t=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=t,this.scrollIntoView()}},{key:"format",value:function(t,e){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default.sources.API;return x.call(this,(function(){var a=n.getSelection(!0),r=new i.default;if(null==a)return r;if(u.default.query(t,u.default.Scope.BLOCK))r=n.editor.formatLine(a.index,a.length,m({},t,e));else{if(0===a.length)return n.selection.format(t,e),r;r=n.editor.formatText(a.index,a.length,m({},t,e))}return n.setSelection(a,l.default.sources.SILENT),r}),a)}},{key:"formatLine",value:function(t,e,n,a,o){var i,s=this,l=M(t,e,n,a,o),c=r(l,4);return t=c[0],e=c[1],i=c[2],o=c[3],x.call(this,(function(){return s.editor.formatLine(t,e,i)}),o,t,0)}},{key:"formatText",value:function(t,e,n,a,o){var i,s=this,l=M(t,e,n,a,o),c=r(l,4);return t=c[0],e=c[1],i=c[2],o=c[3],x.call(this,(function(){return s.editor.formatText(t,e,i)}),o,t,0)}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"==typeof t?this.selection.getBounds(t,e):this.selection.getBounds(t.index,t.length);var a=this.container.getBoundingClientRect();return{bottom:n.bottom-a.top,height:n.height,left:n.left-a.left,right:n.right-a.left,top:n.top-a.top,width:n.width}}},{key:"getContents",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=M(t,e),a=r(n,2);return t=a[0],e=a[1],this.editor.getContents(t,e)}},{key:"getFormat",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof t?this.editor.getFormat(t,e):this.editor.getFormat(t.index,t.length)}},{key:"getIndex",value:function(t){return t.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(t){return this.scroll.leaf(t)}},{key:"getLine",value:function(t){return this.scroll.line(t)}},{key:"getLines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof t?this.scroll.lines(t.index,t.length):this.scroll.lines(t,e)}},{key:"getModule",value:function(t){return this.theme.modules[t]}},{key:"getSelection",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=M(t,e),a=r(n,2);return t=a[0],e=a[1],this.editor.getText(t,e)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(e,n,a){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.sources.API;return x.call(this,(function(){return r.editor.insertEmbed(e,n,a)}),o,e)}},{key:"insertText",value:function(t,e,n,a,o){var i,s=this,l=M(t,0,n,a,o),c=r(l,4);return t=c[0],i=c[2],o=c[3],x.call(this,(function(){return s.editor.insertText(t,e,i)}),o,t,e.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(t,e,n){this.clipboard.dangerouslyPasteHTML(t,e,n)}},{key:"removeFormat",value:function(t,e,n){var a=this,o=M(t,e,n),i=r(o,4);return t=i[0],e=i[1],n=i[3],x.call(this,(function(){return a.editor.removeFormat(t,e)}),n,t)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API;return x.call(this,(function(){t=new i.default(t);var n=e.getLength(),a=e.editor.deleteText(0,n),r=e.editor.applyDelta(t),o=r.ops[r.ops.length-1];return null!=o&&"string"==typeof o.insert&&"\n"===o.insert[o.insert.length-1]&&(e.editor.deleteText(e.getLength()-1,1),r.delete(1)),a.compose(r)}),n)}},{key:"setSelection",value:function(e,n,a){if(null==e)this.selection.setRange(null,n||t.sources.API);else{var o=M(e,n,a),i=r(o,4);e=i[0],n=i[1],a=i[3],this.selection.setRange(new d.Range(e,n),a),a!==l.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API,n=(new i.default).insert(t);return this.setContents(n,e)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default.sources.USER,e=this.scroll.update(t);return this.selection.update(t),e}},{key:"updateContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API;return x.call(this,(function(){return t=new i.default(t),e.editor.applyDelta(t,n)}),n,!0)}}]),t}();function _(t,e){if((e=(0,p.default)(!0,{container:t,modules:{clipboard:!0,keyboard:!0,history:!0}},e)).theme&&e.theme!==b.DEFAULTS.theme){if(e.theme=b.import("themes/"+e.theme),null==e.theme)throw new Error("Invalid theme "+e.theme+". Did you register it?")}else e.theme=v.default;var n=(0,p.default)(!0,{},e.theme.DEFAULTS);[n,e].forEach((function(t){t.modules=t.modules||{},Object.keys(t.modules).forEach((function(e){!0===t.modules[e]&&(t.modules[e]={})}))}));var a=Object.keys(n.modules).concat(Object.keys(e.modules)).reduce((function(t,e){var n=b.import("modules/"+e);return null==n?w.error("Cannot load "+e+" module. Are you sure you registered it?"):t[e]=n.DEFAULTS||{},t}),{});return null!=e.modules&&e.modules.toolbar&&e.modules.toolbar.constructor!==Object&&(e.modules.toolbar={container:e.modules.toolbar}),e=(0,p.default)(!0,{},b.DEFAULTS,{modules:a},n,e),["bounds","container","scrollingContainer"].forEach((function(t){"string"==typeof e[t]&&(e[t]=document.querySelector(e[t]))})),e.modules=Object.keys(e.modules).reduce((function(t,n){return e.modules[n]&&(t[n]=e.modules[n]),t}),{}),e}function x(t,e,n,a){if(this.options.strict&&!this.isEnabled()&&e===l.default.sources.USER)return new i.default;var r=null==n?null:this.getSelection(),o=this.editor.delta,s=t();if(null!=r&&(!0===n&&(n=r.index),null==a?r=C(r,s,e):0!==a&&(r=C(r,n,a,e)),this.setSelection(r,l.default.sources.SILENT)),s.length()>0){var c,u,d=[l.default.events.TEXT_CHANGE,s,o,e];(c=this.emitter).emit.apply(c,[l.default.events.EDITOR_CHANGE].concat(d)),e!==l.default.sources.SILENT&&(u=this.emitter).emit.apply(u,d)}return s}function M(t,e,n,r,o){var i={};return"number"==typeof t.index&&"number"==typeof t.length?"number"!=typeof e?(o=r,r=n,n=e,e=t.length,t=t.index):(e=t.length,t=t.index):"number"!=typeof e&&(o=r,r=n,n=e,e=0),"object"===(void 0===n?"undefined":a(n))?(i=n,o=r):"string"==typeof n&&(null!=r?i[n]=r:o=n),[t,e,i,o=o||l.default.sources.API]}function C(t,e,n,a){if(null==t)return null;var o=void 0,s=void 0;if(e instanceof i.default){var c=[t.index,t.index+t.length].map((function(t){return e.transformPosition(t,a!==l.default.sources.USER)})),u=r(c,2);o=u[0],s=u[1]}else{var h=[t.index,t.index+t.length].map((function(t){return t<e||t===e&&a===l.default.sources.USER?t:n>=0?t+n:Math.max(e,t+n)})),p=r(h,2);o=p[0],s=p[1]}return new d.Range(o,s-o)}b.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},b.events=l.default.events,b.sources=l.default.sources,b.version="1.3.7",b.imports={delta:i.default,parchment:u.default,"core/module":c.default,"core/theme":v.default},e.expandConfig=_,e.overload=M,e.default=b},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},o=s(n(7)),i=s(n(0));function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var u=function(t){function e(){return l(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"formatAt",value:function(t,n,a,o){if(e.compare(this.statics.blotName,a)<0&&i.default.query(a,i.default.Scope.BLOT)){var s=this.isolate(t,n);o&&s.wrap(a,o)}else r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,a,o)}},{key:"optimize",value:function(t){if(r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.parent instanceof e&&e.compare(this.statics.blotName,this.parent.statics.blotName)>0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(t,n){var a=e.order.indexOf(t),r=e.order.indexOf(n);return a>=0||r>=0?a-r:t===n?0:t<n?-1:1}}]),e}(i.default.Inline);u.allowedChildren=[u,i.default.Embed,o.default],u.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],e.default=u},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a,r=n(0);function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var s=function(t){function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((a=r)&&a.__esModule?a:{default:a}).default.Text);e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},o=i(n(54));function i(t){return t&&t.__esModule?t:{default:t}}var s=(0,i(n(10)).default)("quill:events");["selectionchange","mousedown","mouseup","click"].forEach((function(t){document.addEventListener(t,(function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];[].slice.call(document.querySelectorAll(".ql-container")).forEach((function(t){var n;t.__quill&&t.__quill.emitter&&(n=t.__quill.emitter).handleDOM.apply(n,e)}))}))}));var l=function(t){function e(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.listeners={},t.on("error",s.error),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"emit",value:function(){s.log.apply(s,arguments),r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),a=1;a<e;a++)n[a-1]=arguments[a];(this.listeners[t.type]||[]).forEach((function(e){var a=e.node,r=e.handler;(t.target===a||a.contains(t.target))&&r.apply(void 0,[t].concat(n))}))}},{key:"listenDOM",value:function(t,e,n){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push({node:e,handler:n})}}]),e}(o.default);l.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},l.sources={API:"api",SILENT:"silent",USER:"user"},e.default=l},function(t,e,n){function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a(this,t),this.quill=e,this.options=n};r.DEFAULTS={},e.default=r},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=["error","warn","log","info"],r="warn";function o(t){if(a.indexOf(t)<=a.indexOf(r)){for(var e,n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];(e=console)[t].apply(e,o)}}function i(t){return a.reduce((function(e,n){return e[n]=o.bind(console,n,t),e}),{})}o.level=i.level=function(t){r=t},e.default=i},function(t,e,n){var a=Array.prototype.slice,r=n(52),o=n(53),i=t.exports=function(t,e,n){return n||(n={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?n.strict?t===e:t==e:function(t,e,n){var c,u;if(s(t)||s(e))return!1;if(t.prototype!==e.prototype)return!1;if(o(t))return!!o(e)&&(t=a.call(t),e=a.call(e),i(t,e,n));if(l(t)){if(!l(e))return!1;if(t.length!==e.length)return!1;for(c=0;c<t.length;c++)if(t[c]!==e[c])return!1;return!0}try{var d=r(t),h=r(e)}catch(t){return!1}if(d.length!=h.length)return!1;for(d.sort(),h.sort(),c=d.length-1;c>=0;c--)if(d[c]!=h[c])return!1;for(c=d.length-1;c>=0;c--)if(u=d[c],!i(t[u],e[u],n))return!1;return typeof t==typeof e}(t,e,n))};function s(t){return null==t}function l(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length||"function"!=typeof t.copy||"function"!=typeof t.slice||t.length>0&&"number"!=typeof t[0])}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=n(1),r=function(){function t(t,e,n){void 0===n&&(n={}),this.attrName=t,this.keyName=e;var r=a.Scope.TYPE&a.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&a.Scope.LEVEL|r:this.scope=a.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return t.keys=function(t){return[].map.call(t.attributes,(function(t){return t.name}))},t.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.setAttribute(this.keyName,e),!0)},t.prototype.canAdd=function(t,e){return null!=a.query(t,a.Scope.BLOT&(this.scope|a.Scope.TYPE))&&(null==this.whitelist||("string"==typeof e?this.whitelist.indexOf(e.replace(/["']/g,""))>-1:this.whitelist.indexOf(e)>-1))},t.prototype.remove=function(t){t.removeAttribute(this.keyName)},t.prototype.value=function(t){var e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:""},t}();e.default=r},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Code=void 0;var a=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],a=!0,r=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(a=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);a=!0);}catch(t){r=!0,o=t}finally{try{!a&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},i=d(n(2)),s=d(n(0)),l=d(n(4)),c=d(n(6)),u=d(n(7));function d(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function f(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var v=function(t){function e(){return h(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return f(e,t),e}(c.default);v.blotName="code",v.tagName="CODE";var g=function(t){function e(){return h(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return f(e,t),r(e,[{key:"delta",value:function(){var t=this,e=this.domNode.textContent;return e.endsWith("\n")&&(e=e.slice(0,-1)),e.split("\n").reduce((function(e,n){return e.insert(n).insert("\n",t.formats())}),new i.default)}},{key:"format",value:function(t,n){if(t!==this.statics.blotName||!n){var r=this.descendant(u.default,this.length()-1),i=a(r,1)[0];null!=i&&i.deleteAt(i.length()-1,1),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}},{key:"formatAt",value:function(t,n,a,r){if(0!==n&&null!=s.default.query(a,s.default.Scope.BLOCK)&&(a!==this.statics.blotName||r!==this.statics.formats(this.domNode))){var o=this.newlineIndex(t);if(!(o<0||o>=t+n)){var i=this.newlineIndex(t,!0)+1,l=o-i+1,c=this.isolate(i,l),u=c.next;c.format(a,r),u instanceof e&&u.formatAt(0,t-i+n-l,a,r)}}}},{key:"insertAt",value:function(t,e,n){if(null==n){var r=this.descendant(u.default,t),o=a(r,2),i=o[0],s=o[1];i.insertAt(s,e)}}},{key:"length",value:function(){var t=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?t:t+1}},{key:"newlineIndex",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e)return this.domNode.textContent.slice(0,t).lastIndexOf("\n");var n=this.domNode.textContent.slice(t).indexOf("\n");return n>-1?t+n:-1}},{key:"optimize",value:function(t){this.domNode.textContent.endsWith("\n")||this.appendChild(s.default.create("text","\n")),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(t),n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(t){var e=s.default.find(t);null==e?t.parentNode.removeChild(t):e instanceof s.default.Embed?e.remove():e.unwrap()}))}}],[{key:"create",value:function(t){var n=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),e}(l.default);g.blotName="code-block",g.tagName="PRE",g.TAB=" ",e.Code=v,e.default=g},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a="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},r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],a=!0,r=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(a=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);a=!0);}catch(t){r=!0,o=t}finally{try{!a&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),i=m(n(2)),s=m(n(20)),l=m(n(0)),c=m(n(13)),u=m(n(24)),d=n(4),h=m(d),p=m(n(16)),f=m(n(21)),v=m(n(11)),g=m(n(3));function m(t){return t&&t.__esModule?t:{default:t}}var y=/^[ -~]*$/,w=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scroll=e,this.delta=this.getDelta()}return o(t,[{key:"applyDelta",value:function(t){var e=this,n=!1;this.scroll.update();var o=this.scroll.length();return this.scroll.batchStart(),t=function(t){return t.reduce((function(t,e){if(1===e.insert){var n=(0,f.default)(e.attributes);return delete n.image,t.insert({image:e.attributes.image},n)}if(null==e.attributes||!0!==e.attributes.list&&!0!==e.attributes.bullet||((e=(0,f.default)(e)).attributes.list?e.attributes.list="ordered":(e.attributes.list="bullet",delete e.attributes.bullet)),"string"==typeof e.insert){var a=e.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return t.insert(a,e.attributes)}return t.push(e)}),new i.default)}(t),t.reduce((function(t,i){var c=i.retain||i.delete||i.insert.length||1,u=i.attributes||{};if(null!=i.insert){if("string"==typeof i.insert){var p=i.insert;p.endsWith("\n")&&n&&(n=!1,p=p.slice(0,-1)),t>=o&&!p.endsWith("\n")&&(n=!0),e.scroll.insertAt(t,p);var f=e.scroll.line(t),v=r(f,2),m=v[0],y=v[1],w=(0,g.default)({},(0,d.bubbleFormats)(m));if(m instanceof h.default){var b=m.descendant(l.default.Leaf,y),_=r(b,1)[0];w=(0,g.default)(w,(0,d.bubbleFormats)(_))}u=s.default.attributes.diff(w,u)||{}}else if("object"===a(i.insert)){var x=Object.keys(i.insert)[0];if(null==x)return t;e.scroll.insertAt(t,x,i.insert[x])}o+=c}return Object.keys(u).forEach((function(n){e.scroll.formatAt(t,c,n,u[n])})),t+c}),0),t.reduce((function(t,n){return"number"==typeof n.delete?(e.scroll.deleteAt(t,n.delete),t):t+(n.retain||n.insert.length||1)}),0),this.scroll.batchEnd(),this.update(t)}},{key:"deleteText",value:function(t,e){return this.scroll.deleteAt(t,e),this.update((new i.default).retain(t).delete(e))}},{key:"formatLine",value:function(t,e){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(a).forEach((function(r){if(null==n.scroll.whitelist||n.scroll.whitelist[r]){var o=n.scroll.lines(t,Math.max(e,1)),i=e;o.forEach((function(e){var o=e.length();if(e instanceof c.default){var s=t-e.offset(n.scroll),l=e.newlineIndex(s+i)-s+1;e.formatAt(s,l,r,a[r])}else e.format(r,a[r]);i-=o}))}})),this.scroll.optimize(),this.update((new i.default).retain(t).retain(e,(0,f.default)(a)))}},{key:"formatText",value:function(t,e){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(a).forEach((function(r){n.scroll.formatAt(t,e,r,a[r])})),this.update((new i.default).retain(t).retain(e,(0,f.default)(a)))}},{key:"getContents",value:function(t,e){return this.delta.slice(t,t+e)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(t,e){return t.concat(e.delta())}),new i.default)}},{key:"getFormat",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],a=[];0===e?this.scroll.path(t).forEach((function(t){var e=r(t,1)[0];e instanceof h.default?n.push(e):e instanceof l.default.Leaf&&a.push(e)})):(n=this.scroll.lines(t,e),a=this.scroll.descendants(l.default.Leaf,t,e));var o=[n,a].map((function(t){if(0===t.length)return{};for(var e=(0,d.bubbleFormats)(t.shift());Object.keys(e).length>0;){var n=t.shift();if(null==n)return e;e=b((0,d.bubbleFormats)(n),e)}return e}));return g.default.apply(g.default,o)}},{key:"getText",value:function(t,e){return this.getContents(t,e).filter((function(t){return"string"==typeof t.insert})).map((function(t){return t.insert})).join("")}},{key:"insertEmbed",value:function(t,e,n){return this.scroll.insertAt(t,e,n),this.update((new i.default).retain(t).insert(function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},e,n)))}},{key:"insertText",value:function(t,e){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(t,e),Object.keys(a).forEach((function(r){n.scroll.formatAt(t,e.length,r,a[r])})),this.update((new i.default).retain(t).insert(e,(0,f.default)(a)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var t=this.scroll.children.head;return t.statics.blotName===h.default.blotName&&!(t.children.length>1)&&t.children.head instanceof p.default}},{key:"removeFormat",value:function(t,e){var n=this.getText(t,e),a=this.scroll.line(t+e),o=r(a,2),s=o[0],l=o[1],u=0,d=new i.default;null!=s&&(u=s instanceof c.default?s.newlineIndex(l)-l+1:s.length()-l,d=s.delta().slice(l,l+u-1).insert("\n"));var h=this.getContents(t,e+u).diff((new i.default).insert(n).concat(d)),p=(new i.default).retain(t).concat(h);return this.applyDelta(p)}},{key:"update",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,a=this.delta;if(1===e.length&&"characterData"===e[0].type&&e[0].target.data.match(y)&&l.default.find(e[0].target)){var r=l.default.find(e[0].target),o=(0,d.bubbleFormats)(r),s=r.offset(this.scroll),c=e[0].oldValue.replace(u.default.CONTENTS,""),h=(new i.default).insert(c),p=(new i.default).insert(r.value()),f=(new i.default).retain(s).concat(h.diff(p,n));t=f.reduce((function(t,e){return e.insert?t.insert(e.insert,o):t.push(e)}),new i.default),this.delta=a.compose(t)}else this.delta=this.getDelta(),t&&(0,v.default)(a.compose(t),this.delta)||(t=a.diff(this.delta,n));return t}}]),t}();function b(t,e){return Object.keys(e).reduce((function(n,a){return null==t[a]||(e[a]===t[a]?n[a]=e[a]:Array.isArray(e[a])?e[a].indexOf(t[a])<0&&(n[a]=e[a].concat([t[a]])):n[a]=[e[a],t[a]]),n}),{})}e.default=w},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Range=void 0;var a=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],a=!0,r=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(a=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);a=!0);}catch(t){r=!0,o=t}finally{try{!a&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=c(n(0)),i=c(n(21)),s=c(n(11)),l=c(n(8));function c(t){return t&&t.__esModule?t:{default:t}}function u(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var h=(0,c(n(10)).default)("quill:selection"),p=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;d(this,t),this.index=e,this.length=n},f=function(){function t(e,n){var a=this;d(this,t),this.emitter=n,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=o.default.create("cursor",this),this.lastRange=this.savedRange=new p(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){a.mouseDown||setTimeout(a.update.bind(a,l.default.sources.USER),1)})),this.emitter.on(l.default.events.EDITOR_CHANGE,(function(t,e){t===l.default.events.TEXT_CHANGE&&e.length()>0&&a.update(l.default.sources.SILENT)})),this.emitter.on(l.default.events.SCROLL_BEFORE_UPDATE,(function(){if(a.hasFocus()){var t=a.getNativeRange();null!=t&&t.start.node!==a.cursor.textNode&&a.emitter.once(l.default.events.SCROLL_UPDATE,(function(){try{a.setNativeRange(t.start.node,t.start.offset,t.end.node,t.end.offset)}catch(t){}}))}})),this.emitter.on(l.default.events.SCROLL_OPTIMIZE,(function(t,e){if(e.range){var n=e.range,r=n.startNode,o=n.startOffset,i=n.endNode,s=n.endOffset;a.setNativeRange(r,o,i,s)}})),this.update(l.default.sources.SILENT)}return r(t,[{key:"handleComposition",value:function(){var t=this;this.root.addEventListener("compositionstart",(function(){t.composing=!0})),this.root.addEventListener("compositionend",(function(){if(t.composing=!1,t.cursor.parent){var e=t.cursor.restore();if(!e)return;setTimeout((function(){t.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var t=this;this.emitter.listenDOM("mousedown",document.body,(function(){t.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){t.mouseDown=!1,t.update(l.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(t,e){if(null==this.scroll.whitelist||this.scroll.whitelist[t]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!o.default.query(t,o.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var a=o.default.find(n.start.node,!1);if(null==a)return;if(a instanceof o.default.Leaf){var r=a.split(n.start.offset);a.parent.insertBefore(this.cursor,r)}else a.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(t,e),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();t=Math.min(t,n-1),e=Math.min(t+e,n-1)-t;var r=void 0,o=this.scroll.leaf(t),i=a(o,2),s=i[0],l=i[1];if(null==s)return null;var c=s.position(l,!0),u=a(c,2);r=u[0],l=u[1];var d=document.createRange();if(e>0){d.setStart(r,l);var h=this.scroll.leaf(t+e),p=a(h,2);if(s=p[0],l=p[1],null==s)return null;var f=s.position(l,!0),v=a(f,2);return r=v[0],l=v[1],d.setEnd(r,l),d.getBoundingClientRect()}var g="left",m=void 0;return r instanceof Text?(l<r.data.length?(d.setStart(r,l),d.setEnd(r,l+1)):(d.setStart(r,l-1),d.setEnd(r,l),g="right"),m=d.getBoundingClientRect()):(m=s.domNode.getBoundingClientRect(),l>0&&(g="right")),{bottom:m.top+m.height,height:m.height,left:m[g],right:m[g],top:m.top,width:0}}},{key:"getNativeRange",value:function(){var t=document.getSelection();if(null==t||t.rangeCount<=0)return null;var e=t.getRangeAt(0);if(null==e)return null;var n=this.normalizeNative(e);return h.info("getNativeRange",n),n}},{key:"getRange",value:function(){var t=this.getNativeRange();return null==t?[null,null]:[this.normalizedToRange(t),t]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(t){var e=this,n=[[t.start.node,t.start.offset]];t.native.collapsed||n.push([t.end.node,t.end.offset]);var r=n.map((function(t){var n=a(t,2),r=n[0],i=n[1],s=o.default.find(r,!0),l=s.offset(e.scroll);return 0===i?l:s instanceof o.default.Container?l+s.length():l+s.index(r,i)})),i=Math.min(Math.max.apply(Math,u(r)),this.scroll.length()-1),s=Math.min.apply(Math,[i].concat(u(r)));return new p(s,i-s)}},{key:"normalizeNative",value:function(t){if(!v(this.root,t.startContainer)||!t.collapsed&&!v(this.root,t.endContainer))return null;var e={start:{node:t.startContainer,offset:t.startOffset},end:{node:t.endContainer,offset:t.endOffset},native:t};return[e.start,e.end].forEach((function(t){for(var e=t.node,n=t.offset;!(e instanceof Text)&&e.childNodes.length>0;)if(e.childNodes.length>n)e=e.childNodes[n],n=0;else{if(e.childNodes.length!==n)break;n=(e=e.lastChild)instanceof Text?e.data.length:e.childNodes.length+1}t.node=e,t.offset=n})),e}},{key:"rangeToNative",value:function(t){var e=this,n=t.collapsed?[t.index]:[t.index,t.index+t.length],r=[],o=this.scroll.length();return n.forEach((function(t,n){t=Math.min(o-1,t);var i,s=e.scroll.leaf(t),l=a(s,2),c=l[0],u=l[1],d=c.position(u,0!==n),h=a(d,2);i=h[0],u=h[1],r.push(i,u)})),r.length<2&&(r=r.concat(r)),r}},{key:"scrollIntoView",value:function(t){var e=this.lastRange;if(null!=e){var n=this.getBounds(e.index,e.length);if(null!=n){var r=this.scroll.length()-1,o=this.scroll.line(Math.min(e.index,r)),i=a(o,1)[0],s=i;if(e.length>0){var l=this.scroll.line(Math.min(e.index+e.length,r));s=a(l,1)[0]}if(null!=i&&null!=s){var c=t.getBoundingClientRect();n.top<c.top?t.scrollTop-=c.top-n.top:n.bottom>c.bottom&&(t.scrollTop+=n.bottom-c.bottom)}}}}},{key:"setNativeRange",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(h.info("setNativeRange",t,e,n,a),null==t||null!=this.root.parentNode&&null!=t.parentNode&&null!=n.parentNode){var o=document.getSelection();if(null!=o)if(null!=t){this.hasFocus()||this.root.focus();var i=(this.getNativeRange()||{}).native;if(null==i||r||t!==i.startContainer||e!==i.startOffset||n!==i.endContainer||a!==i.endOffset){"BR"==t.tagName&&(e=[].indexOf.call(t.parentNode.childNodes,t),t=t.parentNode),"BR"==n.tagName&&(a=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var s=document.createRange();s.setStart(t,e),s.setEnd(n,a),o.removeAllRanges(),o.addRange(s)}}else o.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default.sources.API;if("string"==typeof e&&(n=e,e=!1),h.info("setRange",t),null!=t){var a=this.rangeToNative(t);this.setNativeRange.apply(this,u(a).concat([e]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default.sources.USER,e=this.lastRange,n=this.getRange(),r=a(n,2),o=r[0],c=r[1];if(this.lastRange=o,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,s.default)(e,this.lastRange)){var u;!this.composing&&null!=c&&c.native.collapsed&&c.start.node!==this.cursor.textNode&&this.cursor.restore();var d,h=[l.default.events.SELECTION_CHANGE,(0,i.default)(this.lastRange),(0,i.default)(e),t];(u=this.emitter).emit.apply(u,[l.default.events.EDITOR_CHANGE].concat(h)),t!==l.default.sources.SILENT&&(d=this.emitter).emit.apply(d,h)}}}]),t}();function v(t,e){try{e.parentNode}catch(t){return!1}return e instanceof Text&&(e=e.parentNode),t.contains(e)}e.Range=p,e.default=f},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},i=n(0);function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var c=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"insertInto",value:function(t,n){0===t.children.length?o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertInto",this).call(this,t,n):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),e}(((a=i)&&a.__esModule?a:{default:a}).default.Embed);c.blotName="break",c.tagName="BR",e.default=c},function(t,e,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(44),i=n(30),s=n(1),l=function(t){function e(e){var n=t.call(this,e)||this;return n.build(),n}return r(e,t),e.prototype.appendChild=function(t){this.insertBefore(t)},e.prototype.attach=function(){t.prototype.attach.call(this),this.children.forEach((function(t){t.attach()}))},e.prototype.build=function(){var t=this;this.children=new o.default,[].slice.call(this.domNode.childNodes).reverse().forEach((function(e){try{var n=c(e);t.insertBefore(n,t.children.head||void 0)}catch(t){if(t instanceof s.ParchmentError)return;throw t}}))},e.prototype.deleteAt=function(t,e){if(0===t&&e===this.length())return this.remove();this.children.forEachAt(t,e,(function(t,e,n){t.deleteAt(e,n)}))},e.prototype.descendant=function(t,n){var a=this.children.find(n),r=a[0],o=a[1];return null==t.blotName&&t(r)||null!=t.blotName&&r instanceof t?[r,o]:r instanceof e?r.descendant(t,o):[null,-1]},e.prototype.descendants=function(t,n,a){void 0===n&&(n=0),void 0===a&&(a=Number.MAX_VALUE);var r=[],o=a;return this.children.forEachAt(n,a,(function(n,a,i){(null==t.blotName&&t(n)||null!=t.blotName&&n instanceof t)&&r.push(n),n instanceof e&&(r=r.concat(n.descendants(t,a,o))),o-=i})),r},e.prototype.detach=function(){this.children.forEach((function(t){t.detach()})),t.prototype.detach.call(this)},e.prototype.formatAt=function(t,e,n,a){this.children.forEachAt(t,e,(function(t,e,r){t.formatAt(e,r,n,a)}))},e.prototype.insertAt=function(t,e,n){var a=this.children.find(t),r=a[0],o=a[1];if(r)r.insertAt(o,e,n);else{var i=null==n?s.create("text",e):s.create(e,n);this.appendChild(i)}},e.prototype.insertBefore=function(t,e){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some((function(e){return t instanceof e})))throw new s.ParchmentError("Cannot insert "+t.statics.blotName+" into "+this.statics.blotName);t.insertInto(this,e)},e.prototype.length=function(){return this.children.reduce((function(t,e){return t+e.length()}),0)},e.prototype.moveChildren=function(t,e){this.children.forEach((function(n){t.insertBefore(n,e)}))},e.prototype.optimize=function(e){if(t.prototype.optimize.call(this,e),0===this.children.length)if(null!=this.statics.defaultChild){var n=s.create(this.statics.defaultChild);this.appendChild(n),n.optimize(e)}else this.remove()},e.prototype.path=function(t,n){void 0===n&&(n=!1);var a=this.children.find(t,n),r=a[0],o=a[1],i=[[this,t]];return r instanceof e?i.concat(r.path(o,n)):(null!=r&&i.push([r,o]),i)},e.prototype.removeChild=function(t){this.children.remove(t)},e.prototype.replace=function(n){n instanceof e&&n.moveChildren(this),t.prototype.replace.call(this,n)},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(t,this.length(),(function(t,a,r){t=t.split(a,e),n.appendChild(t)})),n},e.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},e.prototype.update=function(t,e){var n=this,a=[],r=[];t.forEach((function(t){t.target===n.domNode&&"childList"===t.type&&(a.push.apply(a,t.addedNodes),r.push.apply(r,t.removedNodes))})),r.forEach((function(t){if(!(null!=t.parentNode&&"IFRAME"!==t.tagName&&document.body.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var e=s.find(t);null!=e&&(null!=e.domNode.parentNode&&e.domNode.parentNode!==n.domNode||e.detach())}})),a.filter((function(t){return t.parentNode==n.domNode})).sort((function(t,e){return t===e?0:t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1})).forEach((function(t){var e=null;null!=t.nextSibling&&(e=s.find(t.nextSibling));var a=c(t);a.next==e&&null!=a.next||(null!=a.parent&&a.parent.removeChild(n),n.insertBefore(a,e||void 0))}))},e}(i.default);function c(t){var e=s.find(t);if(null==e)try{e=s.create(t)}catch(n){e=s.create(s.Scope.INLINE),[].slice.call(t.childNodes).forEach((function(t){e.domNode.appendChild(t)})),t.parentNode&&t.parentNode.replaceChild(e.domNode,t),e.attach()}return e}e.default=l},function(t,e,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(12),i=n(31),s=n(17),l=n(1),c=function(t){function e(e){var n=t.call(this,e)||this;return n.attributes=new i.default(n.domNode),n}return r(e,t),e.formats=function(t){return"string"==typeof this.tagName||(Array.isArray(this.tagName)?t.tagName.toLowerCase():void 0)},e.prototype.format=function(t,e){var n=l.query(t);n instanceof o.default?this.attributes.attribute(n,e):e&&(null==n||t===this.statics.blotName&&this.formats()[t]===e||this.replaceWith(t,e))},e.prototype.formats=function(){var t=this.attributes.values(),e=this.statics.formats(this.domNode);return null!=e&&(t[this.statics.blotName]=e),t},e.prototype.replaceWith=function(e,n){var a=t.prototype.replaceWith.call(this,e,n);return this.attributes.copy(a),a},e.prototype.update=function(e,n){var a=this;t.prototype.update.call(this,e,n),e.some((function(t){return t.target===a.domNode&&"attributes"===t.type}))&&this.attributes.build()},e.prototype.wrap=function(n,a){var r=t.prototype.wrap.call(this,n,a);return r instanceof e&&r.statics.scope===this.statics.scope&&this.attributes.move(r),r},e}(s.default);e.default=c},function(t,e,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(30),i=n(1),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.value=function(t){return!0},e.prototype.index=function(t,e){return this.domNode===t||this.domNode.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(e,1):-1},e.prototype.position=function(t,e){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return t>0&&(n+=1),[this.parent.domNode,n]},e.prototype.value=function(){var t;return(t={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,t},e.scope=i.Scope.INLINE_BLOT,e}(o.default);e.default=s},function(t,e,n){var a=n(11),r=n(3),o={attributes:{compose:function(t,e,n){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});var a=r(!0,{},e);for(var o in n||(a=Object.keys(a).reduce((function(t,e){return null!=a[e]&&(t[e]=a[e]),t}),{})),t)void 0!==t[o]&&void 0===e[o]&&(a[o]=t[o]);return Object.keys(a).length>0?a:void 0},diff:function(t,e){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});var n=Object.keys(t).concat(Object.keys(e)).reduce((function(n,r){return a(t[r],e[r])||(n[r]=void 0===e[r]?null:e[r]),n}),{});return Object.keys(n).length>0?n:void 0},transform:function(t,e,n){if("object"!=typeof t)return e;if("object"==typeof e){if(!n)return e;var a=Object.keys(e).reduce((function(n,a){return void 0===t[a]&&(n[a]=e[a]),n}),{});return Object.keys(a).length>0?a:void 0}}},iterator:function(t){return new i(t)},length:function(t){return"number"==typeof t.delete?t.delete:"number"==typeof t.retain?t.retain:"string"==typeof t.insert?t.insert.length:1}};function i(t){this.ops=t,this.index=0,this.offset=0}i.prototype.hasNext=function(){return this.peekLength()<1/0},i.prototype.next=function(t){t||(t=1/0);var e=this.ops[this.index];if(e){var n=this.offset,a=o.length(e);if(t>=a-n?(t=a-n,this.index+=1,this.offset=0):this.offset+=t,"number"==typeof e.delete)return{delete:t};var r={};return e.attributes&&(r.attributes=e.attributes),"number"==typeof e.retain?r.retain=t:"string"==typeof e.insert?r.insert=e.insert.substr(n,t):r.insert=e.insert,r}return{retain:1/0}},i.prototype.peek=function(){return this.ops[this.index]},i.prototype.peekLength=function(){return this.ops[this.index]?o.length(this.ops[this.index])-this.offset:1/0},i.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},i.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var t=this.offset,e=this.index,n=this.next(),a=this.ops.slice(this.index);return this.offset=t,this.index=e,[n].concat(a)}return[]},t.exports=o},function(t,e){var n=function(){function t(t,e){return null!=e&&t instanceof e}var e,n,a;try{e=Map}catch(t){e=function(){}}try{n=Set}catch(t){n=function(){}}try{a=Promise}catch(t){a=function(){}}function r(o,s,l,c,u){"object"==typeof s&&(l=s.depth,c=s.prototype,u=s.includeNonEnumerable,s=s.circular);var d=[],h=[];return void 0===s&&(s=!0),void 0===l&&(l=1/0),function o(l,p){if(null===l)return null;if(0===p)return l;var f,v;if("object"!=typeof l)return l;if(t(l,e))f=new e;else if(t(l,n))f=new n;else if(t(l,a))f=new a((function(t,e){l.then((function(e){t(o(e,p-1))}),(function(t){e(o(t,p-1))}))}));else if(r.__isArray(l))f=[];else if(r.__isRegExp(l))f=new RegExp(l.source,i(l)),l.lastIndex&&(f.lastIndex=l.lastIndex);else if(r.__isDate(l))f=new Date(l.getTime());else{if(wn.isBuffer(l))return f=wn.allocUnsafe?wn.allocUnsafe(l.length):new wn(l.length),l.copy(f),f;t(l,Error)?f=Object.create(l):void 0===c?(v=Object.getPrototypeOf(l),f=Object.create(v)):(f=Object.create(c),v=c)}if(s){var g=d.indexOf(l);if(-1!=g)return h[g];d.push(l),h.push(f)}for(var m in t(l,e)&&l.forEach((function(t,e){var n=o(e,p-1),a=o(t,p-1);f.set(n,a)})),t(l,n)&&l.forEach((function(t){var e=o(t,p-1);f.add(e)})),l){var y;v&&(y=Object.getOwnPropertyDescriptor(v,m)),y&&null==y.set||(f[m]=o(l[m],p-1))}if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(l);for(m=0;m<w.length;m++){var b=w[m];(!(x=Object.getOwnPropertyDescriptor(l,b))||x.enumerable||u)&&(f[b]=o(l[b],p-1),x.enumerable||Object.defineProperty(f,b,{enumerable:!1}))}}if(u){var _=Object.getOwnPropertyNames(l);for(m=0;m<_.length;m++){var x,M=_[m];(x=Object.getOwnPropertyDescriptor(l,M))&&x.enumerable||(f[M]=o(l[M],p-1),Object.defineProperty(f,M,{enumerable:!1}))}}return f}(o,l)}function o(t){return Object.prototype.toString.call(t)}function i(t){var e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),e}return r.clonePrototype=function(t){if(null===t)return null;var e=function(){};return e.prototype=t,new e},r.__objToStr=o,r.__isDate=function(t){return"object"==typeof t&&"[object Date]"===o(t)},r.__isArray=function(t){return"object"==typeof t&&"[object Array]"===o(t)},r.__isRegExp=function(t){return"object"==typeof t&&"[object RegExp]"===o(t)},r.__getRegExpFlags=i,r}();"object"==typeof t&&t.exports&&(t.exports=n)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],a=!0,r=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(a=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);a=!0);}catch(t){r=!0,o=t}finally{try{!a&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},i=p(n(0)),s=p(n(8)),l=n(4),c=p(l),u=p(n(16)),d=p(n(13)),h=p(n(25));function p(t){return t&&t.__esModule?t:{default:t}}function f(t){return t instanceof c.default||t instanceof l.BlockEmbed}var v=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var a=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return a.emitter=n.emitter,Array.isArray(n.whitelist)&&(a.whitelist=n.whitelist.reduce((function(t,e){return t[e]=!0,t}),{})),a.domNode.addEventListener("DOMNodeInserted",(function(){})),a.optimize(),a.enable(),a}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(t,n){var r=this.line(t),i=a(r,2),s=i[0],c=i[1],h=this.line(t+n),p=a(h,1)[0];if(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,n),null!=p&&s!==p&&c>0){if(s instanceof l.BlockEmbed||p instanceof l.BlockEmbed)return void this.optimize();if(s instanceof d.default){var f=s.newlineIndex(s.length(),!0);if(f>-1&&(s=s.split(f+1))===p)return void this.optimize()}else if(p instanceof d.default){var v=p.newlineIndex(0);v>-1&&p.split(v+1)}var g=p.children.head instanceof u.default?null:p.children.head;s.moveChildren(p,g),s.remove()}this.optimize()}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",t)}},{key:"formatAt",value:function(t,n,a,r){(null==this.whitelist||this.whitelist[a])&&(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,a,r),this.optimize())}},{key:"insertAt",value:function(t,n,a){if(null==a||null==this.whitelist||this.whitelist[n]){if(t>=this.length())if(null==a||null==i.default.query(n,i.default.Scope.BLOCK)){var r=i.default.create(this.statics.defaultChild);this.appendChild(r),null==a&&n.endsWith("\n")&&(n=n.slice(0,-1)),r.insertAt(0,n,a)}else{var s=i.default.create(n,a);this.appendChild(s)}else o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,a);this.optimize()}}},{key:"insertBefore",value:function(t,n){if(t.statics.scope===i.default.Scope.INLINE_BLOT){var a=i.default.create(this.statics.defaultChild);a.appendChild(t),t=a}o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n)}},{key:"leaf",value:function(t){return this.path(t).pop()||[null,-1]}},{key:"line",value:function(t){return t===this.length()?this.line(t-1):this.descendant(f,t)}},{key:"lines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=function t(e,n,a){var r=[],o=a;return e.children.forEachAt(n,a,(function(e,n,a){f(e)?r.push(e):e instanceof i.default.Container&&(r=r.concat(t(e,n,o))),o-=a})),r};return n(this,t,e)}},{key:"optimize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t,n),t.length>0&&this.emitter.emit(s.default.events.SCROLL_OPTIMIZE,t,n))}},{key:"path",value:function(t){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t).slice(1)}},{key:"update",value:function(t){if(!0!==this.batch){var n=s.default.sources.USER;"string"==typeof t&&(n=t),Array.isArray(t)||(t=this.observer.takeRecords()),t.length>0&&this.emitter.emit(s.default.events.SCROLL_BEFORE_UPDATE,n,t),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"update",this).call(this,t.concat([])),t.length>0&&this.emitter.emit(s.default.events.SCROLL_UPDATE,n,t)}}}]),e}(i.default.Scroll);v.blotName="scroll",v.className="ql-editor",v.tagName="DIV",v.defaultChild="block",v.allowedChildren=[c.default,l.BlockEmbed,h.default],e.default=v},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.SHORTKEY=e.default=void 0;var a="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},r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],a=!0,r=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(a=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);a=!0);}catch(t){r=!0,o=t}finally{try{!a&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),i=v(n(21)),s=v(n(11)),l=v(n(3)),c=v(n(2)),u=v(n(20)),d=v(n(0)),h=v(n(5)),p=v(n(10)),f=v(n(9));function v(t){return t&&t.__esModule?t:{default:t}}function g(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var m=(0,p.default)("quill:keyboard"),y=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",w=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var a=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.bindings={},Object.keys(a.options.bindings).forEach((function(e){("list autofill"!==e||null==t.scroll.whitelist||t.scroll.whitelist.list)&&a.options.bindings[e]&&a.addBinding(a.options.bindings[e])})),a.addBinding({key:e.keys.ENTER,shiftKey:null},C),a.addBinding({key:e.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},(function(){})),/Firefox/i.test(navigator.userAgent)?(a.addBinding({key:e.keys.BACKSPACE},{collapsed:!0},_),a.addBinding({key:e.keys.DELETE},{collapsed:!0},x)):(a.addBinding({key:e.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},_),a.addBinding({key:e.keys.DELETE},{collapsed:!0,suffix:/^.?$/},x)),a.addBinding({key:e.keys.BACKSPACE},{collapsed:!1},M),a.addBinding({key:e.keys.DELETE},{collapsed:!1},M),a.addBinding({key:e.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},_),a.listen(),a}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,null,[{key:"match",value:function(t,e){return e=k(e),!["altKey","ctrlKey","metaKey","shiftKey"].some((function(n){return!!e[n]!==t[n]&&null!==e[n]}))&&e.key===(t.which||t.keyCode)}}]),o(e,[{key:"addBinding",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=k(t);if(null==a||null==a.key)return m.warn("Attempted to add invalid keyboard binding",a);"function"==typeof e&&(e={handler:e}),"function"==typeof n&&(n={handler:n}),a=(0,l.default)(a,e,n),this.bindings[a.key]=this.bindings[a.key]||[],this.bindings[a.key].push(a)}},{key:"listen",value:function(){var t=this;this.quill.root.addEventListener("keydown",(function(n){if(!n.defaultPrevented){var o=n.which||n.keyCode,i=(t.bindings[o]||[]).filter((function(t){return e.match(n,t)}));if(0!==i.length){var l=t.quill.getSelection();if(null!=l&&t.quill.hasFocus()){var c=t.quill.getLine(l.index),u=r(c,2),h=u[0],p=u[1],f=t.quill.getLeaf(l.index),v=r(f,2),g=v[0],m=v[1],y=0===l.length?[g,m]:t.quill.getLeaf(l.index+l.length),w=r(y,2),b=w[0],_=w[1],x=g instanceof d.default.Text?g.value().slice(0,m):"",M=b instanceof d.default.Text?b.value().slice(_):"",C={collapsed:0===l.length,empty:0===l.length&&h.length()<=1,format:t.quill.getFormat(l),offset:p,prefix:x,suffix:M},P=i.some((function(e){if(null!=e.collapsed&&e.collapsed!==C.collapsed)return!1;if(null!=e.empty&&e.empty!==C.empty)return!1;if(null!=e.offset&&e.offset!==C.offset)return!1;if(Array.isArray(e.format)){if(e.format.every((function(t){return null==C.format[t]})))return!1}else if("object"===a(e.format)&&!Object.keys(e.format).every((function(t){return!0===e.format[t]?null!=C.format[t]:!1===e.format[t]?null==C.format[t]:(0,s.default)(e.format[t],C.format[t])})))return!1;return!(null!=e.prefix&&!e.prefix.test(C.prefix)||null!=e.suffix&&!e.suffix.test(C.suffix)||!0===e.handler.call(t,l,C))}));P&&n.preventDefault()}}}}))}}]),e}(f.default);function b(t,e){var n,a=t===w.keys.LEFT?"prefix":"suffix";return g(n={key:t,shiftKey:e,altKey:null},a,/^$/),g(n,"handler",(function(n){var a=n.index;t===w.keys.RIGHT&&(a+=n.length+1);var o=this.quill.getLeaf(a);return!(r(o,1)[0]instanceof d.default.Embed&&(t===w.keys.LEFT?e?this.quill.setSelection(n.index-1,n.length+1,h.default.sources.USER):this.quill.setSelection(n.index-1,h.default.sources.USER):e?this.quill.setSelection(n.index,n.length+1,h.default.sources.USER):this.quill.setSelection(n.index+n.length+1,h.default.sources.USER),1))})),n}function _(t,e){if(!(0===t.index||this.quill.getLength()<=1)){var n=this.quill.getLine(t.index),a=r(n,1)[0],o={};if(0===e.offset){var i=this.quill.getLine(t.index-1),s=r(i,1)[0];if(null!=s&&s.length()>1){var l=a.formats(),c=this.quill.getFormat(t.index-1,1);o=u.default.attributes.diff(l,c)||{}}}var d=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(e.prefix)?2:1;this.quill.deleteText(t.index-d,d,h.default.sources.USER),Object.keys(o).length>0&&this.quill.formatLine(t.index-d,d,o,h.default.sources.USER),this.quill.focus()}}function x(t,e){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(e.suffix)?2:1;if(!(t.index>=this.quill.getLength()-n)){var a={},o=0,i=this.quill.getLine(t.index),s=r(i,1)[0];if(e.offset>=s.length()-1){var l=this.quill.getLine(t.index+1),c=r(l,1)[0];if(c){var d=s.formats(),p=this.quill.getFormat(t.index,1);a=u.default.attributes.diff(d,p)||{},o=c.length()}}this.quill.deleteText(t.index,n,h.default.sources.USER),Object.keys(a).length>0&&this.quill.formatLine(t.index+o-1,n,a,h.default.sources.USER)}}function M(t){var e=this.quill.getLines(t),n={};if(e.length>1){var a=e[0].formats(),r=e[e.length-1].formats();n=u.default.attributes.diff(r,a)||{}}this.quill.deleteText(t,h.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(t.index,1,n,h.default.sources.USER),this.quill.setSelection(t.index,h.default.sources.SILENT),this.quill.focus()}function C(t,e){var n=this;t.length>0&&this.quill.scroll.deleteAt(t.index,t.length);var a=Object.keys(e.format).reduce((function(t,n){return d.default.query(n,d.default.Scope.BLOCK)&&!Array.isArray(e.format[n])&&(t[n]=e.format[n]),t}),{});this.quill.insertText(t.index,"\n",a,h.default.sources.USER),this.quill.setSelection(t.index+1,h.default.sources.SILENT),this.quill.focus(),Object.keys(e.format).forEach((function(t){null==a[t]&&(Array.isArray(e.format[t])||"link"!==t&&n.quill.format(t,e.format[t],h.default.sources.USER))}))}function P(t){return{key:w.keys.TAB,shiftKey:!t,format:{"code-block":!0},handler:function(e){var n=d.default.query("code-block"),a=e.index,o=e.length,i=this.quill.scroll.descendant(n,a),s=r(i,2),l=s[0],c=s[1];if(null!=l){var u=this.quill.getIndex(l),p=l.newlineIndex(c,!0)+1,f=l.newlineIndex(u+c+o),v=l.domNode.textContent.slice(p,f).split("\n");c=0,v.forEach((function(e,r){t?(l.insertAt(p+c,n.TAB),c+=n.TAB.length,0===r?a+=n.TAB.length:o+=n.TAB.length):e.startsWith(n.TAB)&&(l.deleteAt(p+c,n.TAB.length),c-=n.TAB.length,0===r?a-=n.TAB.length:o-=n.TAB.length),c+=e.length+1})),this.quill.update(h.default.sources.USER),this.quill.setSelection(a,o,h.default.sources.SILENT)}}}}function A(t){return{key:t[0].toUpperCase(),shortKey:!0,handler:function(e,n){this.quill.format(t,!n.format[t],h.default.sources.USER)}}}function k(t){if("string"==typeof t||"number"==typeof t)return k({key:t});if("object"===(void 0===t?"undefined":a(t))&&(t=(0,i.default)(t,!1)),"string"==typeof t.key)if(null!=w.keys[t.key.toUpperCase()])t.key=w.keys[t.key.toUpperCase()];else{if(1!==t.key.length)return null;t.key=t.key.toUpperCase().charCodeAt(0)}return t.shortKey&&(t[y]=t.shortKey,delete t.shortKey),t}w.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},w.DEFAULTS={bindings:{bold:A("bold"),italic:A("italic"),underline:A("underline"),indent:{key:w.keys.TAB,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","+1",h.default.sources.USER)}},outdent:{key:w.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","-1",h.default.sources.USER)}},"outdent backspace":{key:w.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(t,e){null!=e.format.indent?this.quill.format("indent","-1",h.default.sources.USER):null!=e.format.list&&this.quill.format("list",!1,h.default.sources.USER)}},"indent code-block":P(!0),"outdent code-block":P(!1),"remove tab":{key:w.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(t){this.quill.deleteText(t.index-1,1,h.default.sources.USER)}},tab:{key:w.keys.TAB,handler:function(t){this.quill.history.cutoff();var e=(new c.default).retain(t.index).delete(t.length).insert("\t");this.quill.updateContents(e,h.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index+1,h.default.sources.SILENT)}},"list empty enter":{key:w.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(t,e){this.quill.format("list",!1,h.default.sources.USER),e.format.indent&&this.quill.format("indent",!1,h.default.sources.USER)}},"checklist enter":{key:w.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(t){var e=this.quill.getLine(t.index),n=r(e,2),a=n[0],o=n[1],i=(0,l.default)({},a.formats(),{list:"checked"}),s=(new c.default).retain(t.index).insert("\n",i).retain(a.length()-o-1).retain(1,{list:"unchecked"});this.quill.updateContents(s,h.default.sources.USER),this.quill.setSelection(t.index+1,h.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:w.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(t,e){var n=this.quill.getLine(t.index),a=r(n,2),o=a[0],i=a[1],s=(new c.default).retain(t.index).insert("\n",e.format).retain(o.length()-i-1).retain(1,{header:null});this.quill.updateContents(s,h.default.sources.USER),this.quill.setSelection(t.index+1,h.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(t,e){var n=e.prefix.length,a=this.quill.getLine(t.index),o=r(a,2),i=o[0],s=o[1];if(s>n)return!0;var l=void 0;switch(e.prefix.trim()){case"[]":case"[ ]":l="unchecked";break;case"[x]":l="checked";break;case"-":case"*":l="bullet";break;default:l="ordered"}this.quill.insertText(t.index," ",h.default.sources.USER),this.quill.history.cutoff();var u=(new c.default).retain(t.index-s).delete(n+1).retain(i.length()-2-s).retain(1,{list:l});this.quill.updateContents(u,h.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index-n,h.default.sources.SILENT)}},"code exit":{key:w.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(t){var e=this.quill.getLine(t.index),n=r(e,2),a=n[0],o=n[1],i=(new c.default).retain(t.index+a.length()-o-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(i,h.default.sources.USER)}},"embed left":b(w.keys.LEFT,!1),"embed left shift":b(w.keys.LEFT,!0),"embed right":b(w.keys.RIGHT,!1),"embed right shift":b(w.keys.RIGHT,!0)}},e.default=w,e.SHORTKEY=y},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],a=!0,r=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(a=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);a=!0);}catch(t){r=!0,o=t}finally{try{!a&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),i=l(n(0)),s=l(n(7));function l(t){return t&&t.__esModule?t:{default:t}}var c=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var a=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return a.selection=n,a.textNode=document.createTextNode(e.CONTENTS),a.domNode.appendChild(a.textNode),a._length=0,a}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,null,[{key:"value",value:function(){}}]),o(e,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(t,n){if(0!==this._length)return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n);for(var a=this,o=0;null!=a&&a.statics.scope!==i.default.Scope.BLOCK_BLOT;)o+=a.offset(a.parent),a=a.parent;null!=a&&(this._length=e.CONTENTS.length,a.optimize(),a.formatAt(o,e.CONTENTS.length,t,n),this._length=0)}},{key:"index",value:function(t,n){return t===this.textNode?0:r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,n)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var t=this.textNode,n=this.selection.getNativeRange(),r=void 0,o=void 0,l=void 0;if(null!=n&&n.start.node===t&&n.end.node===t){var c=[t,n.start.offset,n.end.offset];r=c[0],o=c[1],l=c[2]}for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==e.CONTENTS){var u=this.textNode.data.split(e.CONTENTS).join("");this.next instanceof s.default?(r=this.next.domNode,this.next.insertAt(0,u),this.textNode.data=e.CONTENTS):(this.textNode.data=u,this.parent.insertBefore(i.default.create(this.textNode),this),this.textNode=document.createTextNode(e.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=o){var d=[o,l].map((function(t){return Math.max(0,Math.min(r.data.length,t-1))})),h=a(d,2);return o=h[0],l=h[1],{startNode:r,startOffset:o,endNode:r,endOffset:l}}}}},{key:"update",value:function(t,e){var n=this;if(t.some((function(t){return"characterData"===t.type&&t.target===n.textNode}))){var a=this.restore();a&&(e.range=a)}}},{key:"value",value:function(){return""}}]),e}(i.default.Embed);c.blotName="cursor",c.className="ql-cursor",c.tagName="span",c.CONTENTS="\ufeff",e.default=c},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=i(n(0)),r=n(4),o=i(r);function i(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var c=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(a.default.Container);c.allowedChildren=[o.default,r.BlockEmbed,c],e.default=c},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.ColorStyle=e.ColorClass=e.ColorAttributor=void 0;var a,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},i=n(0),s=(a=i)&&a.__esModule?a:{default:a};function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var u=function(t){function e(){return l(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"value",value:function(t){var n=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t);return n.startsWith("rgb(")?(n=n.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+n.split(",").map((function(t){return("00"+parseInt(t).toString(16)).slice(-2)})).join("")):n}}]),e}(s.default.Attributor.Style),d=new s.default.Attributor.Class("color","ql-color",{scope:s.default.Scope.INLINE}),h=new u("color","color",{scope:s.default.Scope.INLINE});e.ColorAttributor=u,e.ColorClass=d,e.ColorStyle=h},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.sanitize=e.default=void 0;var a,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},i=n(6);function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var c=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"format",value:function(t,n){if(t!==this.statics.blotName||!n)return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n);n=this.constructor.sanitize(n),this.domNode.setAttribute("href",n)}}],[{key:"create",value:function(t){var n=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return t=this.sanitize(t),n.setAttribute("href",t),n.setAttribute("rel","noopener noreferrer"),n.setAttribute("target","_blank"),n}},{key:"formats",value:function(t){return t.getAttribute("href")}},{key:"sanitize",value:function(t){return u(t,this.PROTOCOL_WHITELIST)?t:this.SANITIZED_URL}}]),e}(((a=i)&&a.__esModule?a:{default:a}).default);function u(t,e){var n=document.createElement("a");n.href=t;var a=n.href.slice(0,n.href.indexOf(":"));return e.indexOf(a)>-1}c.blotName="link",c.tagName="A",c.SANITIZED_URL="about:blank",c.PROTOCOL_WHITELIST=["http","https","mailto","tel"],e.default=c,e.sanitize=u},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a="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},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=s(n(23)),i=s(n(107));function s(t){return t&&t.__esModule?t:{default:t}}var l=0;function c(t,e){t.setAttribute(e,!("true"===t.getAttribute(e)))}var u=function(){function t(e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.select=e,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",(function(){n.togglePicker()})),this.label.addEventListener("keydown",(function(t){switch(t.keyCode){case o.default.keys.ENTER:n.togglePicker();break;case o.default.keys.ESCAPE:n.escape(),t.preventDefault()}})),this.select.addEventListener("change",this.update.bind(this))}return r(t,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),c(this.label,"aria-expanded"),c(this.options,"aria-hidden")}},{key:"buildItem",value:function(t){var e=this,n=document.createElement("span");return n.tabIndex="0",n.setAttribute("role","button"),n.classList.add("ql-picker-item"),t.hasAttribute("value")&&n.setAttribute("data-value",t.getAttribute("value")),t.textContent&&n.setAttribute("data-label",t.textContent),n.addEventListener("click",(function(){e.selectItem(n,!0)})),n.addEventListener("keydown",(function(t){switch(t.keyCode){case o.default.keys.ENTER:e.selectItem(n,!0),t.preventDefault();break;case o.default.keys.ESCAPE:e.escape(),t.preventDefault()}})),n}},{key:"buildLabel",value:function(){var t=document.createElement("span");return t.classList.add("ql-picker-label"),t.innerHTML=i.default,t.tabIndex="0",t.setAttribute("role","button"),t.setAttribute("aria-expanded","false"),this.container.appendChild(t),t}},{key:"buildOptions",value:function(){var t=this,e=document.createElement("span");e.classList.add("ql-picker-options"),e.setAttribute("aria-hidden","true"),e.tabIndex="-1",e.id="ql-picker-options-"+l,l+=1,this.label.setAttribute("aria-controls",e.id),this.options=e,[].slice.call(this.select.options).forEach((function(n){var a=t.buildItem(n);e.appendChild(a),!0===n.selected&&t.selectItem(a)})),this.container.appendChild(e)}},{key:"buildPicker",value:function(){var t=this;[].slice.call(this.select.attributes).forEach((function(e){t.container.setAttribute(e.name,e.value)})),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var t=this;this.close(),setTimeout((function(){return t.label.focus()}),1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(t!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=t&&(t.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(t.parentNode.children,t),t.hasAttribute("data-value")?this.label.setAttribute("data-value",t.getAttribute("data-value")):this.label.removeAttribute("data-value"),t.hasAttribute("data-label")?this.label.setAttribute("data-label",t.getAttribute("data-label")):this.label.removeAttribute("data-label"),e))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"==typeof Event?"undefined":a(Event))){var r=document.createEvent("Event");r.initEvent("change",!0,!0),this.select.dispatchEvent(r)}this.close()}}},{key:"update",value:function(){var t=void 0;if(this.select.selectedIndex>-1){var e=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];t=this.select.options[this.select.selectedIndex],this.selectItem(e)}else this.selectItem(null);var n=null!=t&&t!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),t}();e.default=u},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=m(n(0)),r=m(n(5)),o=n(4),i=m(o),s=m(n(16)),l=m(n(25)),c=m(n(24)),u=m(n(35)),d=m(n(6)),h=m(n(22)),p=m(n(7)),f=m(n(55)),v=m(n(42)),g=m(n(23));function m(t){return t&&t.__esModule?t:{default:t}}r.default.register({"blots/block":i.default,"blots/block/embed":o.BlockEmbed,"blots/break":s.default,"blots/container":l.default,"blots/cursor":c.default,"blots/embed":u.default,"blots/inline":d.default,"blots/scroll":h.default,"blots/text":p.default,"modules/clipboard":f.default,"modules/history":v.default,"modules/keyboard":g.default}),a.default.register(i.default,s.default,c.default,d.default,h.default,p.default),e.default=r.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=n(1),r=function(){function t(t){this.domNode=t,this.domNode[a.DATA_KEY]={blot:this}}return Object.defineProperty(t.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),t.create=function(t){if(null==this.tagName)throw new a.ParchmentError("Blot definition missing tagName");var e;return Array.isArray(this.tagName)?("string"==typeof t&&(t=t.toUpperCase(),parseInt(t).toString()===t&&(t=parseInt(t))),e="number"==typeof t?document.createElement(this.tagName[t-1]):this.tagName.indexOf(t)>-1?document.createElement(t):document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e},t.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},t.prototype.clone=function(){var t=this.domNode.cloneNode(!1);return a.create(t)},t.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[a.DATA_KEY]},t.prototype.deleteAt=function(t,e){this.isolate(t,e).remove()},t.prototype.formatAt=function(t,e,n,r){var o=this.isolate(t,e);if(null!=a.query(n,a.Scope.BLOT)&&r)o.wrap(n,r);else if(null!=a.query(n,a.Scope.ATTRIBUTE)){var i=a.create(this.statics.scope);o.wrap(i),i.format(n,r)}},t.prototype.insertAt=function(t,e,n){var r=null==n?a.create("text",e):a.create(e,n),o=this.split(t);this.parent.insertBefore(r,o)},t.prototype.insertInto=function(t,e){void 0===e&&(e=null),null!=this.parent&&this.parent.children.remove(this);var n=null;t.children.insertBefore(this,e),null!=e&&(n=e.domNode),this.domNode.parentNode==t.domNode&&this.domNode.nextSibling==n||t.domNode.insertBefore(this.domNode,n),this.parent=t,this.attach()},t.prototype.isolate=function(t,e){var n=this.split(t);return n.split(e),n},t.prototype.length=function(){return 1},t.prototype.offset=function(t){return void 0===t&&(t=this.parent),null==this.parent||this==t?0:this.parent.children.offset(this)+this.parent.offset(t)},t.prototype.optimize=function(t){null!=this.domNode[a.DATA_KEY]&&delete this.domNode[a.DATA_KEY].mutations},t.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},t.prototype.replace=function(t){null!=t.parent&&(t.parent.insertBefore(this,t.next),t.remove())},t.prototype.replaceWith=function(t,e){var n="string"==typeof t?a.create(t,e):t;return n.replace(this),n},t.prototype.split=function(t,e){return 0===t?this:this.next},t.prototype.update=function(t,e){},t.prototype.wrap=function(t,e){var n="string"==typeof t?a.create(t,e):t;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},t.blotName="abstract",t}();e.default=r},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=n(12),r=n(32),o=n(33),i=n(1),s=function(){function t(t){this.attributes={},this.domNode=t,this.build()}return t.prototype.attribute=function(t,e){e?t.add(this.domNode,e)&&(null!=t.value(this.domNode)?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])},t.prototype.build=function(){var t=this;this.attributes={};var e=a.default.keys(this.domNode),n=r.default.keys(this.domNode),s=o.default.keys(this.domNode);e.concat(n).concat(s).forEach((function(e){var n=i.query(e,i.Scope.ATTRIBUTE);n instanceof a.default&&(t.attributes[n.attrName]=n)}))},t.prototype.copy=function(t){var e=this;Object.keys(this.attributes).forEach((function(n){var a=e.attributes[n].value(e.domNode);t.format(n,a)}))},t.prototype.move=function(t){var e=this;this.copy(t),Object.keys(this.attributes).forEach((function(t){e.attributes[t].remove(e.domNode)})),this.attributes={}},t.prototype.values=function(){var t=this;return Object.keys(this.attributes).reduce((function(e,n){return e[n]=t.attributes[n].value(t.domNode),e}),{})},t}();e.default=s},function(t,e,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function o(t,e){return(t.getAttribute("class")||"").split(/\s+/).filter((function(t){return 0===t.indexOf(e+"-")}))}Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.keys=function(t){return(t.getAttribute("class")||"").split(/\s+/).map((function(t){return t.split("-").slice(0,-1).join("-")}))},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(this.remove(t),t.classList.add(this.keyName+"-"+e),!0)},e.prototype.remove=function(t){o(t,this.keyName).forEach((function(e){t.classList.remove(e)})),0===t.classList.length&&t.removeAttribute("class")},e.prototype.value=function(t){var e=(o(t,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(t,e)?e:""},e}(n(12).default);e.default=i},function(t,e,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function o(t){var e=t.split("-"),n=e.slice(1).map((function(t){return t[0].toUpperCase()+t.slice(1)})).join("");return e[0]+n}Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.keys=function(t){return(t.getAttribute("style")||"").split(";").map((function(t){return t.split(":")[0].trim()}))},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.style[o(this.keyName)]=e,!0)},e.prototype.remove=function(t){t.style[o(this.keyName)]="",t.getAttribute("style")||t.removeAttribute("style")},e.prototype.value=function(t){var e=t.style[o(this.keyName)];return this.canAdd(t,e)?e:""},e}(n(12).default);e.default=i},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=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.quill=e,this.options=n,this.modules={}}return a(t,[{key:"init",value:function(){var t=this;Object.keys(this.options.modules).forEach((function(e){null==t.modules[e]&&t.addModule(e)}))}},{key:"addModule",value:function(t){var e=this.quill.constructor.import("modules/"+t);return this.modules[t]=new e(this.quill,this.options.modules[t]||{}),this.modules[t]}}]),t}();r.DEFAULTS={modules:{}},r.themes={default:r},e.default=r},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},o=s(n(0)),i=s(n(7));function s(t){return t&&t.__esModule?t:{default:t}}var l="\ufeff",c=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.contentNode=document.createElement("span"),n.contentNode.setAttribute("contenteditable",!1),[].slice.call(n.domNode.childNodes).forEach((function(t){n.contentNode.appendChild(t)})),n.leftGuard=document.createTextNode(l),n.rightGuard=document.createTextNode(l),n.domNode.appendChild(n.leftGuard),n.domNode.appendChild(n.contentNode),n.domNode.appendChild(n.rightGuard),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"index",value:function(t,n){return t===this.leftGuard?0:t===this.rightGuard?1:r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,n)}},{key:"restore",value:function(t){var e=void 0,n=void 0,a=t.data.split(l).join("");if(t===this.leftGuard)if(this.prev instanceof i.default){var r=this.prev.length();this.prev.insertAt(r,a),e={startNode:this.prev.domNode,startOffset:r+a.length}}else n=document.createTextNode(a),this.parent.insertBefore(o.default.create(n),this),e={startNode:n,startOffset:a.length};else t===this.rightGuard&&(this.next instanceof i.default?(this.next.insertAt(0,a),e={startNode:this.next.domNode,startOffset:a.length}):(n=document.createTextNode(a),this.parent.insertBefore(o.default.create(n),this.next),e={startNode:n,startOffset:a.length}));return t.data=l,e}},{key:"update",value:function(t,e){var n=this;t.forEach((function(t){if("characterData"===t.type&&(t.target===n.leftGuard||t.target===n.rightGuard)){var a=n.restore(t.target);a&&(e.range=a)}}))}}]),e}(o.default.Embed);e.default=c},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.AlignStyle=e.AlignClass=e.AlignAttribute=void 0;var a,r=n(0),o=(a=r)&&a.__esModule?a:{default:a},i={scope:o.default.Scope.BLOCK,whitelist:["right","center","justify"]},s=new o.default.Attributor.Attribute("align","align",i),l=new o.default.Attributor.Class("align","ql-align",i),c=new o.default.Attributor.Style("align","text-align",i);e.AlignAttribute=s,e.AlignClass=l,e.AlignStyle=c},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.BackgroundStyle=e.BackgroundClass=void 0;var a,r=n(0),o=(a=r)&&a.__esModule?a:{default:a},i=n(26),s=new o.default.Attributor.Class("background","ql-bg",{scope:o.default.Scope.INLINE}),l=new i.ColorAttributor("background","background-color",{scope:o.default.Scope.INLINE});e.BackgroundClass=s,e.BackgroundStyle=l},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.DirectionStyle=e.DirectionClass=e.DirectionAttribute=void 0;var a,r=n(0),o=(a=r)&&a.__esModule?a:{default:a},i={scope:o.default.Scope.BLOCK,whitelist:["rtl"]},s=new o.default.Attributor.Attribute("direction","dir",i),l=new o.default.Attributor.Class("direction","ql-direction",i),c=new o.default.Attributor.Style("direction","direction",i);e.DirectionAttribute=s,e.DirectionClass=l,e.DirectionStyle=c},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.FontClass=e.FontStyle=void 0;var a,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},i=n(0),s=(a=i)&&a.__esModule?a:{default:a};function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var u={scope:s.default.Scope.INLINE,whitelist:["serif","monospace"]},d=new s.default.Attributor.Class("font","ql-font",u),h=function(t){function e(){return l(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"value",value:function(t){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t).replace(/["']/g,"")}}]),e}(s.default.Attributor.Style),p=new h("font","font-family",u);e.FontStyle=p,e.FontClass=d},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.SizeStyle=e.SizeClass=void 0;var a,r=n(0),o=(a=r)&&a.__esModule?a:{default:a},i=new o.default.Attributor.Class("size","ql-size",{scope:o.default.Scope.INLINE,whitelist:["small","large","huge"]}),s=new o.default.Attributor.Style("size","font-size",{scope:o.default.Scope.INLINE,whitelist:["10px","18px","32px"]});e.SizeClass=i,e.SizeStyle=s},function(t,e,n){t.exports={align:{"":n(76),center:n(77),right:n(78),justify:n(79)},background:n(80),blockquote:n(81),bold:n(82),clean:n(83),code:n(58),"code-block":n(58),color:n(84),direction:{"":n(85),rtl:n(86)},float:{center:n(87),full:n(88),left:n(89),right:n(90)},formula:n(91),header:{1:n(92),2:n(93)},italic:n(94),image:n(95),indent:{"+1":n(96),"-1":n(97)},link:n(98),list:{ordered:n(99),bullet:n(100),check:n(101)},script:{sub:n(102),super:n(103)},strike:n(104),underline:n(105),video:n(106)}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.getLastChangeIndex=e.default=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=i(n(0)),o=i(n(5));function i(t){return t&&t.__esModule?t:{default:t}}var s=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var a=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.lastRecorded=0,a.ignoreChange=!1,a.clear(),a.quill.on(o.default.events.EDITOR_CHANGE,(function(t,e,n,r){t!==o.default.events.TEXT_CHANGE||a.ignoreChange||(a.options.userOnly&&r!==o.default.sources.USER?a.transform(e):a.record(e,n))})),a.quill.keyboard.addBinding({key:"Z",shortKey:!0},a.undo.bind(a)),a.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},a.redo.bind(a)),/Win/i.test(navigator.platform)&&a.quill.keyboard.addBinding({key:"Y",shortKey:!0},a.redo.bind(a)),a}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"change",value:function(t,e){if(0!==this.stack[t].length){var n=this.stack[t].pop();this.stack[e].push(n),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n[t],o.default.sources.USER),this.ignoreChange=!1;var a=l(n[t]);this.quill.setSelection(a)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(t,e){if(0!==t.ops.length){this.stack.redo=[];var n=this.quill.getContents().diff(e),a=Date.now();if(this.lastRecorded+this.options.delay>a&&this.stack.undo.length>0){var r=this.stack.undo.pop();n=n.compose(r.undo),t=r.redo.compose(t)}else this.lastRecorded=a;this.stack.undo.push({redo:t,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(t){this.stack.undo.forEach((function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)})),this.stack.redo.forEach((function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),e}(i(n(9)).default);function l(t){var e=t.reduce((function(t,e){return t+=e.delete||0}),0),n=t.length()-e;return function(t){var e=t.ops[t.ops.length-1];return null!=e&&(null!=e.insert?"string"==typeof e.insert&&e.insert.endsWith("\n"):null!=e.attributes&&Object.keys(e.attributes).some((function(t){return null!=r.default.query(t,r.default.Scope.BLOCK)})))}(t)&&(n-=1),n}s.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},e.default=s,e.getLastChangeIndex=l},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BaseTooltip=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},o=f(n(3)),i=f(n(2)),s=f(n(8)),l=f(n(23)),c=f(n(34)),u=f(n(59)),d=f(n(60)),h=f(n(28)),p=f(n(61));function f(t){return t&&t.__esModule?t:{default:t}}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function m(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var y=[!1,"center","right","justify"],w=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],b=[!1,"serif","monospace"],_=["1","2","3",!1],x=["small",!1,"large","huge"],M=function(t){function e(t,n){v(this,e);var a=g(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return t.emitter.listenDOM("click",document.body,(function e(n){if(!document.body.contains(t.root))return document.body.removeEventListener("click",e);null==a.tooltip||a.tooltip.root.contains(n.target)||document.activeElement===a.tooltip.textbox||a.quill.hasFocus()||a.tooltip.hide(),null!=a.pickers&&a.pickers.forEach((function(t){t.container.contains(n.target)||t.close()}))})),a}return m(e,t),a(e,[{key:"addModule",value:function(t){var n=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"addModule",this).call(this,t);return"toolbar"===t&&this.extendToolbar(n),n}},{key:"buildButtons",value:function(t,e){t.forEach((function(t){(t.getAttribute("class")||"").split(/\s+/).forEach((function(n){if(n.startsWith("ql-")&&(n=n.slice("ql-".length),null!=e[n]))if("direction"===n)t.innerHTML=e[n][""]+e[n].rtl;else if("string"==typeof e[n])t.innerHTML=e[n];else{var a=t.value||"";null!=a&&e[n][a]&&(t.innerHTML=e[n][a])}}))}))}},{key:"buildPickers",value:function(t,e){var n=this;this.pickers=t.map((function(t){if(t.classList.contains("ql-align"))return null==t.querySelector("option")&&P(t,y),new d.default(t,e.align);if(t.classList.contains("ql-background")||t.classList.contains("ql-color")){var n=t.classList.contains("ql-background")?"background":"color";return null==t.querySelector("option")&&P(t,w,"background"===n?"#ffffff":"#000000"),new u.default(t,e[n])}return null==t.querySelector("option")&&(t.classList.contains("ql-font")?P(t,b):t.classList.contains("ql-header")?P(t,_):t.classList.contains("ql-size")&&P(t,x)),new h.default(t)})),this.quill.on(s.default.events.EDITOR_CHANGE,(function(){n.pickers.forEach((function(t){t.update()}))}))}}]),e}(c.default);M.DEFAULTS=(0,o.default)(!0,{},c.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var t=this,e=this.container.querySelector("input.ql-image[type=file]");null==e&&((e=document.createElement("input")).setAttribute("type","file"),e.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),e.classList.add("ql-image"),e.addEventListener("change",(function(){if(null!=e.files&&null!=e.files[0]){var n=new FileReader;n.onload=function(n){var a=t.quill.getSelection(!0);t.quill.updateContents((new i.default).retain(a.index).delete(a.length).insert({image:n.target.result}),s.default.sources.USER),t.quill.setSelection(a.index+1,s.default.sources.SILENT),e.value=""},n.readAsDataURL(e.files[0])}})),this.container.appendChild(e)),e.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var C=function(t){function e(t,n){v(this,e);var a=g(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.textbox=a.root.querySelector('input[type="text"]'),a.listen(),a}return m(e,t),a(e,[{key:"listen",value:function(){var t=this;this.textbox.addEventListener("keydown",(function(e){l.default.match(e,"enter")?(t.save(),e.preventDefault()):l.default.match(e,"escape")&&(t.cancel(),e.preventDefault())}))}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=e?this.textbox.value=e:t!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+t)||""),this.root.setAttribute("data-mode",t)}},{key:"restoreFocus",value:function(){var t=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=t}},{key:"save",value:function(){var t=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var e=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",t,s.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",t,s.default.sources.USER)),this.quill.root.scrollTop=e;break;case"video":t=function(t){var e=t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return e?(e[1]||"https")+"://www.youtube.com/embed/"+e[2]+"?showinfo=0":(e=t.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(e[1]||"https")+"://player.vimeo.com/video/"+e[2]+"/":t}(t);case"formula":if(!t)break;var n=this.quill.getSelection(!0);if(null!=n){var a=n.index+n.length;this.quill.insertEmbed(a,this.root.getAttribute("data-mode"),t,s.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(a+1," ",s.default.sources.USER),this.quill.setSelection(a+2,s.default.sources.USER)}}this.textbox.value="",this.hide()}}]),e}(p.default);function P(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.forEach((function(e){var a=document.createElement("option");e===n?a.setAttribute("selected","selected"):a.setAttribute("value",e),t.appendChild(a)}))}e.BaseTooltip=C,e.default=M},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(){this.head=this.tail=null,this.length=0}return t.prototype.append=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.insertBefore(t[0],null),t.length>1&&this.append.apply(this,t.slice(1))},t.prototype.contains=function(t){for(var e,n=this.iterator();e=n();)if(e===t)return!0;return!1},t.prototype.insertBefore=function(t,e){t&&(t.next=e,null!=e?(t.prev=e.prev,null!=e.prev&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):null!=this.tail?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)},t.prototype.offset=function(t){for(var e=0,n=this.head;null!=n;){if(n===t)return e;e+=n.length(),n=n.next}return-1},t.prototype.remove=function(t){this.contains(t)&&(null!=t.prev&&(t.prev.next=t.next),null!=t.next&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1)},t.prototype.iterator=function(t){return void 0===t&&(t=this.head),function(){var e=t;return null!=t&&(t=t.next),e}},t.prototype.find=function(t,e){void 0===e&&(e=!1);for(var n,a=this.iterator();n=a();){var r=n.length();if(t<r||e&&t===r&&(null==n.next||0!==n.next.length()))return[n,t];t-=r}return[null,0]},t.prototype.forEach=function(t){for(var e,n=this.iterator();e=n();)t(e)},t.prototype.forEachAt=function(t,e,n){if(!(e<=0))for(var a,r=this.find(t),o=r[0],i=t-r[1],s=this.iterator(o);(a=s())&&i<t+e;){var l=a.length();t>i?n(a,t-i,Math.min(e,i+l-t)):n(a,0,Math.min(l,t+e-i)),i+=l}},t.prototype.map=function(t){return this.reduce((function(e,n){return e.push(t(n)),e}),[])},t.prototype.reduce=function(t,e){for(var n,a=this.iterator();n=a();)e=t(e,n);return e},t}();e.default=a},function(t,e,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(17),i=n(1),s={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},l=function(t){function e(e){var n=t.call(this,e)||this;return n.scroll=n,n.observer=new MutationObserver((function(t){n.update(t)})),n.observer.observe(n.domNode,s),n.attach(),n}return r(e,t),e.prototype.detach=function(){t.prototype.detach.call(this),this.observer.disconnect()},e.prototype.deleteAt=function(e,n){this.update(),0===e&&n===this.length()?this.children.forEach((function(t){t.remove()})):t.prototype.deleteAt.call(this,e,n)},e.prototype.formatAt=function(e,n,a,r){this.update(),t.prototype.formatAt.call(this,e,n,a,r)},e.prototype.insertAt=function(e,n,a){this.update(),t.prototype.insertAt.call(this,e,n,a)},e.prototype.optimize=function(e,n){var a=this;void 0===e&&(e=[]),void 0===n&&(n={}),t.prototype.optimize.call(this,n);for(var r=[].slice.call(this.observer.takeRecords());r.length>0;)e.push(r.pop());for(var s=function(t,e){void 0===e&&(e=!0),null!=t&&t!==a&&null!=t.domNode.parentNode&&(null==t.domNode[i.DATA_KEY].mutations&&(t.domNode[i.DATA_KEY].mutations=[]),e&&s(t.parent))},l=function(t){null!=t.domNode[i.DATA_KEY]&&null!=t.domNode[i.DATA_KEY].mutations&&(t instanceof o.default&&t.children.forEach(l),t.optimize(n))},c=e,u=0;c.length>0;u+=1){if(u>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(c.forEach((function(t){var e=i.find(t.target,!0);null!=e&&(e.domNode===t.target&&("childList"===t.type?(s(i.find(t.previousSibling,!1)),[].forEach.call(t.addedNodes,(function(t){var e=i.find(t,!1);s(e,!1),e instanceof o.default&&e.children.forEach((function(t){s(t,!1)}))}))):"attributes"===t.type&&s(e.prev)),s(e))})),this.children.forEach(l),r=(c=[].slice.call(this.observer.takeRecords())).slice();r.length>0;)e.push(r.pop())}},e.prototype.update=function(e,n){var a=this;void 0===n&&(n={}),(e=e||this.observer.takeRecords()).map((function(t){var e=i.find(t.target,!0);return null==e?null:null==e.domNode[i.DATA_KEY].mutations?(e.domNode[i.DATA_KEY].mutations=[t],e):(e.domNode[i.DATA_KEY].mutations.push(t),null)})).forEach((function(t){null!=t&&t!==a&&null!=t.domNode[i.DATA_KEY]&&t.update(t.domNode[i.DATA_KEY].mutations||[],n)})),null!=this.domNode[i.DATA_KEY].mutations&&t.prototype.update.call(this,this.domNode[i.DATA_KEY].mutations,n),this.optimize(e,n)},e.blotName="scroll",e.defaultChild="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="DIV",e}(o.default);e.default=l},function(t,e,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(18),i=n(1),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(n){if(n.tagName!==e.tagName)return t.formats.call(this,n)},e.prototype.format=function(n,a){var r=this;n!==this.statics.blotName||a?t.prototype.format.call(this,n,a):(this.children.forEach((function(t){t instanceof o.default||(t=t.wrap(e.blotName,!0)),r.attributes.copy(t)})),this.unwrap())},e.prototype.formatAt=function(e,n,a,r){null!=this.formats()[a]||i.query(a,i.Scope.ATTRIBUTE)?this.isolate(e,n).format(a,r):t.prototype.formatAt.call(this,e,n,a,r)},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n);var a=this.formats();if(0===Object.keys(a).length)return this.unwrap();var r=this.next;r instanceof e&&r.prev===this&&function(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n in t)if(t[n]!==e[n])return!1;return!0}(a,r.formats())&&(r.moveChildren(this),r.remove())},e.blotName="inline",e.scope=i.Scope.INLINE_BLOT,e.tagName="SPAN",e}(o.default);e.default=s},function(t,e,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(18),i=n(1),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(n){var a=i.query(e.blotName).tagName;if(n.tagName!==a)return t.formats.call(this,n)},e.prototype.format=function(n,a){null!=i.query(n,i.Scope.BLOCK)&&(n!==this.statics.blotName||a?t.prototype.format.call(this,n,a):this.replaceWith(e.blotName))},e.prototype.formatAt=function(e,n,a,r){null!=i.query(a,i.Scope.BLOCK)?this.format(a,r):t.prototype.formatAt.call(this,e,n,a,r)},e.prototype.insertAt=function(e,n,a){if(null==a||null!=i.query(n,i.Scope.INLINE))t.prototype.insertAt.call(this,e,n,a);else{var r=this.split(e),o=i.create(n,a);r.parent.insertBefore(o,r)}},e.prototype.update=function(e,n){navigator.userAgent.match(/Trident/)?this.build():t.prototype.update.call(this,e,n)},e.blotName="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="P",e}(o.default);e.default=s},function(t,e,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(t){},e.prototype.format=function(e,n){t.prototype.formatAt.call(this,0,this.length(),e,n)},e.prototype.formatAt=function(e,n,a,r){0===e&&n===this.length()?this.format(a,r):t.prototype.formatAt.call(this,e,n,a,r)},e.prototype.formats=function(){return this.statics.formats(this.domNode)},e}(n(19).default);e.default=o},function(t,e,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(19),i=n(1),s=function(t){function e(e){var n=t.call(this,e)||this;return n.text=n.statics.value(n.domNode),n}return r(e,t),e.create=function(t){return document.createTextNode(t)},e.value=function(t){var e=t.data;return e.normalize&&(e=e.normalize()),e},e.prototype.deleteAt=function(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)},e.prototype.index=function(t,e){return this.domNode===t?e:-1},e.prototype.insertAt=function(e,n,a){null==a?(this.text=this.text.slice(0,e)+n+this.text.slice(e),this.domNode.data=this.text):t.prototype.insertAt.call(this,e,n,a)},e.prototype.length=function(){return this.text.length},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof e&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},e.prototype.position=function(t,e){return[this.domNode,t]},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=i.create(this.domNode.splitText(t));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},e.prototype.update=function(t,e){var n=this;t.some((function(t){return"characterData"===t.type&&t.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},e.prototype.value=function(){return this.text},e.blotName="text",e.scope=i.Scope.INLINE_BLOT,e}(o.default);e.default=s},function(t,e,n){var a=document.createElement("div");if(a.classList.toggle("test-class",!1),a.classList.contains("test-class")){var r=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return arguments.length>1&&!this.contains(t)==!e?e:r.call(this,t)}}String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return e=e||0,this.substr(e,t.length)===t}),String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var n=this.toString();("number"!=typeof e||!isFinite(e)||Math.floor(e)!==e||e>n.length)&&(e=n.length),e-=t.length;var a=n.indexOf(t,e);return-1!==a&&a===e}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var e,n=Object(this),a=n.length>>>0,r=arguments[1],o=0;o<a;o++)if(e=n[o],t.call(r,e,o,n))return e}}),document.addEventListener("DOMContentLoaded",(function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)}))},function(t,e){var n=-1;function a(t,e,l){if(t==e)return t?[[0,t]]:[];(l<0||t.length<l)&&(l=null);var u=o(t,e),d=t.substring(0,u);u=i(t=t.substring(u),e=e.substring(u));var h=t.substring(t.length-u),p=function(t,e){var s;if(!t)return[[1,e]];if(!e)return[[n,t]];var l=t.length>e.length?t:e,c=t.length>e.length?e:t,u=l.indexOf(c);if(-1!=u)return s=[[1,l.substring(0,u)],[0,c],[1,l.substring(u+c.length)]],t.length>e.length&&(s[0][0]=s[2][0]=n),s;if(1==c.length)return[[n,t],[1,e]];var d=function(t,e){var n=t.length>e.length?t:e,a=t.length>e.length?e:t;if(n.length<4||2*a.length<n.length)return null;function r(t,e,n){for(var a,r,s,l,c=t.substring(n,n+Math.floor(t.length/4)),u=-1,d="";-1!=(u=e.indexOf(c,u+1));){var h=o(t.substring(n),e.substring(u)),p=i(t.substring(0,n),e.substring(0,u));d.length<p+h&&(d=e.substring(u-p,u)+e.substring(u,u+h),a=t.substring(0,n-p),r=t.substring(n+h),s=e.substring(0,u-p),l=e.substring(u+h))}return 2*d.length>=t.length?[a,r,s,l,d]:null}var s,l,c,u,d,h=r(n,a,Math.ceil(n.length/4)),p=r(n,a,Math.ceil(n.length/2));if(!h&&!p)return null;s=p?h&&h[4].length>p[4].length?h:p:h,t.length>e.length?(l=s[0],c=s[1],u=s[2],d=s[3]):(u=s[0],d=s[1],l=s[2],c=s[3]);var f=s[4];return[l,c,u,d,f]}(t,e);if(d){var h=d[0],p=d[1],f=d[2],v=d[3],g=d[4],m=a(h,f),y=a(p,v);return m.concat([[0,g]],y)}return function(t,e){for(var a=t.length,o=e.length,i=Math.ceil((a+o)/2),s=i,l=2*i,c=new Array(l),u=new Array(l),d=0;d<l;d++)c[d]=-1,u[d]=-1;c[s+1]=0,u[s+1]=0;for(var h=a-o,p=h%2!=0,f=0,v=0,g=0,m=0,y=0;y<i;y++){for(var w=-y+f;w<=y-v;w+=2){for(var b=s+w,_=(A=w==-y||w!=y&&c[b-1]<c[b+1]?c[b+1]:c[b-1]+1)-w;A<a&&_<o&&t.charAt(A)==e.charAt(_);)A++,_++;if(c[b]=A,A>a)v+=2;else if(_>o)f+=2;else if(p&&(C=s+h-w)>=0&&C<l&&-1!=u[C]&&A>=(M=a-u[C]))return r(t,e,A,_)}for(var x=-y+g;x<=y-m;x+=2){for(var M,C=s+x,P=(M=x==-y||x!=y&&u[C-1]<u[C+1]?u[C+1]:u[C-1]+1)-x;M<a&&P<o&&t.charAt(a-M-1)==e.charAt(o-P-1);)M++,P++;if(u[C]=M,M>a)m+=2;else if(P>o)g+=2;else if(!p){var A;if((b=s+h-x)>=0&&b<l&&-1!=c[b])if(_=s+(A=c[b])-b,A>=(M=a-M))return r(t,e,A,_)}}}return[[n,t],[1,e]]}(t,e)}(t=t.substring(0,t.length-u),e=e.substring(0,e.length-u));return d&&p.unshift([0,d]),h&&p.push([0,h]),s(p),null!=l&&(p=function(t,e){var a=function(t,e){if(0===e)return[0,t];for(var a=0,r=0;r<t.length;r++){var o=t[r];if(o[0]===n||0===o[0]){var i=a+o[1].length;if(e===i)return[r+1,t];if(e<i){t=t.slice();var s=e-a,l=[o[0],o[1].slice(0,s)],c=[o[0],o[1].slice(s)];return t.splice(r,1,l,c),[r+1,t]}a=i}}throw new Error("cursor_pos is out of bounds!")}(t,e),r=a[1],o=a[0],i=r[o],s=r[o+1];if(null==i)return t;if(0!==i[0])return t;if(null!=s&&i[1]+s[1]===s[1]+i[1])return r.splice(o,2,s,i),c(r,o,2);if(null!=s&&0===s[1].indexOf(i[1])){r.splice(o,2,[s[0],i[1]],[0,i[1]]);var l=s[1].slice(i[1].length);return l.length>0&&r.splice(o+2,0,[s[0],l]),c(r,o,3)}return t}(p,l)),p=function(t){for(var e=!1,a=function(t){return t.charCodeAt(0)>=56320&&t.charCodeAt(0)<=57343},r=function(t){return t.charCodeAt(t.length-1)>=55296&&t.charCodeAt(t.length-1)<=56319},o=2;o<t.length;o+=1)0===t[o-2][0]&&r(t[o-2][1])&&t[o-1][0]===n&&a(t[o-1][1])&&1===t[o][0]&&a(t[o][1])&&(e=!0,t[o-1][1]=t[o-2][1].slice(-1)+t[o-1][1],t[o][1]=t[o-2][1].slice(-1)+t[o][1],t[o-2][1]=t[o-2][1].slice(0,-1));if(!e)return t;var i=[];for(o=0;o<t.length;o+=1)t[o][1].length>0&&i.push(t[o]);return i}(p)}function r(t,e,n,r){var o=t.substring(0,n),i=e.substring(0,r),s=t.substring(n),l=e.substring(r),c=a(o,i),u=a(s,l);return c.concat(u)}function o(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;for(var n=0,a=Math.min(t.length,e.length),r=a,o=0;n<r;)t.substring(o,r)==e.substring(o,r)?o=n=r:a=r,r=Math.floor((a-n)/2+n);return r}function i(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;for(var n=0,a=Math.min(t.length,e.length),r=a,o=0;n<r;)t.substring(t.length-r,t.length-o)==e.substring(e.length-r,e.length-o)?o=n=r:a=r,r=Math.floor((a-n)/2+n);return r}function s(t){t.push([0,""]);for(var e,a=0,r=0,l=0,c="",u="";a<t.length;)switch(t[a][0]){case 1:l++,u+=t[a][1],a++;break;case n:r++,c+=t[a][1],a++;break;case 0:r+l>1?(0!==r&&0!==l&&(0!==(e=o(u,c))&&(a-r-l>0&&0==t[a-r-l-1][0]?t[a-r-l-1][1]+=u.substring(0,e):(t.splice(0,0,[0,u.substring(0,e)]),a++),u=u.substring(e),c=c.substring(e)),0!==(e=i(u,c))&&(t[a][1]=u.substring(u.length-e)+t[a][1],u=u.substring(0,u.length-e),c=c.substring(0,c.length-e))),0===r?t.splice(a-l,r+l,[1,u]):0===l?t.splice(a-r,r+l,[n,c]):t.splice(a-r-l,r+l,[n,c],[1,u]),a=a-r-l+(r?1:0)+(l?1:0)+1):0!==a&&0==t[a-1][0]?(t[a-1][1]+=t[a][1],t.splice(a,1)):a++,l=0,r=0,c="",u=""}""===t[t.length-1][1]&&t.pop();var d=!1;for(a=1;a<t.length-1;)0==t[a-1][0]&&0==t[a+1][0]&&(t[a][1].substring(t[a][1].length-t[a-1][1].length)==t[a-1][1]?(t[a][1]=t[a-1][1]+t[a][1].substring(0,t[a][1].length-t[a-1][1].length),t[a+1][1]=t[a-1][1]+t[a+1][1],t.splice(a-1,1),d=!0):t[a][1].substring(0,t[a+1][1].length)==t[a+1][1]&&(t[a-1][1]+=t[a+1][1],t[a][1]=t[a][1].substring(t[a+1][1].length)+t[a+1][1],t.splice(a+1,1),d=!0)),a++;d&&s(t)}var l=a;function c(t,e,n){for(var a=e+n-1;a>=0&&a>=e-1;a--)if(a+1<t.length){var r=t[a],o=t[a+1];r[0]===o[1]&&t.splice(a,2,[r[0],r[1]+o[1]])}return t}l.INSERT=1,l.DELETE=n,l.EQUAL=0,t.exports=l},function(t,e){function n(t){var e=[];for(var n in t)e.push(n);return e}(t.exports="function"==typeof Object.keys?Object.keys:n).shim=n},function(t,e){var n="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function a(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function r(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,"callee")&&!Object.prototype.propertyIsEnumerable.call(t,"callee")||!1}(e=t.exports=n?a:r).supported=a,e.unsupported=r},function(t,e){var n=Object.prototype.hasOwnProperty,a="~";function r(){}function o(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function i(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(a=!1)),i.prototype.eventNames=function(){var t,e,r=[];if(0===this._eventsCount)return r;for(e in t=this._events)n.call(t,e)&&r.push(a?e.slice(1):e);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(t)):r},i.prototype.listeners=function(t,e){var n=a?a+t:t,r=this._events[n];if(e)return!!r;if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,s=new Array(i);o<i;o++)s[o]=r[o].fn;return s},i.prototype.emit=function(t,e,n,r,o,i){var s=a?a+t:t;if(!this._events[s])return!1;var l,c,u=this._events[s],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(t,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,e),!0;case 3:return u.fn.call(u.context,e,n),!0;case 4:return u.fn.call(u.context,e,n,r),!0;case 5:return u.fn.call(u.context,e,n,r,o),!0;case 6:return u.fn.call(u.context,e,n,r,o,i),!0}for(c=1,l=new Array(d-1);c<d;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var h,p=u.length;for(c=0;c<p;c++)switch(u[c].once&&this.removeListener(t,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,e);break;case 3:u[c].fn.call(u[c].context,e,n);break;case 4:u[c].fn.call(u[c].context,e,n,r);break;default:if(!l)for(h=1,l=new Array(d-1);h<d;h++)l[h-1]=arguments[h];u[c].fn.apply(u[c].context,l)}}return!0},i.prototype.on=function(t,e,n){var r=new o(e,n||this),i=a?a+t:t;return this._events[i]?this._events[i].fn?this._events[i]=[this._events[i],r]:this._events[i].push(r):(this._events[i]=r,this._eventsCount++),this},i.prototype.once=function(t,e,n){var r=new o(e,n||this,!0),i=a?a+t:t;return this._events[i]?this._events[i].fn?this._events[i]=[this._events[i],r]:this._events[i].push(r):(this._events[i]=r,this._eventsCount++),this},i.prototype.removeListener=function(t,e,n,o){var i=a?a+t:t;if(!this._events[i])return this;if(!e)return 0==--this._eventsCount?this._events=new r:delete this._events[i],this;var s=this._events[i];if(s.fn)s.fn!==e||o&&!s.once||n&&s.context!==n||(0==--this._eventsCount?this._events=new r:delete this._events[i]);else{for(var l=0,c=[],u=s.length;l<u;l++)(s[l].fn!==e||o&&!s[l].once||n&&s[l].context!==n)&&c.push(s[l]);c.length?this._events[i]=1===c.length?c[0]:c:0==--this._eventsCount?this._events=new r:delete this._events[i]}return this},i.prototype.removeAllListeners=function(t){var e;return t?(e=a?a+t:t,this._events[e]&&(0==--this._eventsCount?this._events=new r:delete this._events[e])):(this._events=new r,this._eventsCount=0),this},i.prototype.off=i.prototype.removeListener,i.prototype.addListener=i.prototype.on,i.prototype.setMaxListeners=function(){return this},i.prefixed=a,i.EventEmitter=i,void 0!==t&&(t.exports=i)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.matchText=e.matchSpacing=e.matchNewline=e.matchBlot=e.matchAttributor=e.default=void 0;var a="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},r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],a=!0,r=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(a=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);a=!0);}catch(t){r=!0,o=t}finally{try{!a&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),i=w(n(3)),s=w(n(2)),l=w(n(0)),c=w(n(5)),u=w(n(10)),d=w(n(9)),h=n(36),p=n(37),f=w(n(13)),v=n(26),g=n(38),m=n(39),y=n(40);function w(t){return t&&t.__esModule?t:{default:t}}function b(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var _=(0,u.default)("quill:clipboard"),x="__ql-matcher",M=[[Node.TEXT_NODE,N],[Node.TEXT_NODE,B],["br",function(t,e){return z(e,"\n")||e.insert("\n"),e}],[Node.ELEMENT_NODE,B],[Node.ELEMENT_NODE,L],[Node.ELEMENT_NODE,H],[Node.ELEMENT_NODE,O],[Node.ELEMENT_NODE,function(t,e){var n={},a=t.style||{};return a.fontStyle&&"italic"===S(t).fontStyle&&(n.italic=!0),a.fontWeight&&(S(t).fontWeight.startsWith("bold")||parseInt(S(t).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(e=k(e,n)),parseFloat(a.textIndent||0)>0&&(e=(new s.default).insert("\t").concat(e)),e}],["li",function(t,e){var n=l.default.query(t);if(null==n||"list-item"!==n.blotName||!z(e,"\n"))return e;for(var a=-1,r=t.parentNode;!r.classList.contains("ql-clipboard");)"list"===(l.default.query(r)||{}).blotName&&(a+=1),r=r.parentNode;return a<=0?e:e.compose((new s.default).retain(e.length()-1).retain(1,{indent:a}))}],["b",E.bind(E,"bold")],["i",E.bind(E,"italic")],["style",function(){return new s.default}]],C=[h.AlignAttribute,g.DirectionAttribute].reduce((function(t,e){return t[e.keyName]=e,t}),{}),P=[h.AlignStyle,p.BackgroundStyle,v.ColorStyle,g.DirectionStyle,m.FontStyle,y.SizeStyle].reduce((function(t,e){return t[e.keyName]=e,t}),{}),A=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var a=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.quill.root.addEventListener("paste",a.onPaste.bind(a)),a.container=a.quill.addContainer("ql-clipboard"),a.container.setAttribute("contenteditable",!0),a.container.setAttribute("tabindex",-1),a.matchers=[],M.concat(a.options.matchers).forEach((function(t){var e=r(t,2),o=e[0],i=e[1];(n.matchVisual||i!==H)&&a.addMatcher(o,i)})),a}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"addMatcher",value:function(t,e){this.matchers.push([t,e])}},{key:"convert",value:function(t){if("string"==typeof t)return this.container.innerHTML=t.replace(/\>\r?\n +\</g,"><"),this.convert();var e=this.quill.getFormat(this.quill.selection.savedRange.index);if(e[f.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new s.default).insert(n,b({},f.default.blotName,e[f.default.blotName]))}var a=this.prepareMatching(),o=r(a,2),i=o[0],l=o[1],c=j(this.container,i,l);return z(c,"\n")&&null==c.ops[c.ops.length-1].attributes&&(c=c.compose((new s.default).retain(c.length()-1).delete(1))),_.log("convert",this.container.innerHTML,c),this.container.innerHTML="",c}},{key:"dangerouslyPasteHTML",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.default.sources.API;if("string"==typeof t)this.quill.setContents(this.convert(t),e),this.quill.setSelection(0,c.default.sources.SILENT);else{var a=this.convert(e);this.quill.updateContents((new s.default).retain(t).concat(a),n),this.quill.setSelection(t+a.length(),c.default.sources.SILENT)}}},{key:"onPaste",value:function(t){var e=this;if(!t.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),a=(new s.default).retain(n.index),r=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(c.default.sources.SILENT),setTimeout((function(){a=a.concat(e.convert()).delete(n.length),e.quill.updateContents(a,c.default.sources.USER),e.quill.setSelection(a.length()-n.length,c.default.sources.SILENT),e.quill.scrollingContainer.scrollTop=r,e.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var t=this,e=[],n=[];return this.matchers.forEach((function(a){var o=r(a,2),i=o[0],s=o[1];switch(i){case Node.TEXT_NODE:n.push(s);break;case Node.ELEMENT_NODE:e.push(s);break;default:[].forEach.call(t.container.querySelectorAll(i),(function(t){t[x]=t[x]||[],t[x].push(s)}))}})),[e,n]}}]),e}(d.default);function k(t,e,n){return"object"===(void 0===e?"undefined":a(e))?Object.keys(e).reduce((function(t,n){return k(t,n,e[n])}),t):t.reduce((function(t,a){return a.attributes&&a.attributes[e]?t.push(a):t.insert(a.insert,(0,i.default)({},b({},e,n),a.attributes))}),new s.default)}function S(t){if(t.nodeType!==Node.ELEMENT_NODE)return{};var e="__ql-computed-style";return t[e]||(t[e]=window.getComputedStyle(t))}function z(t,e){for(var n="",a=t.ops.length-1;a>=0&&n.length<e.length;--a){var r=t.ops[a];if("string"!=typeof r.insert)break;n=r.insert+n}return n.slice(-1*e.length)===e}function T(t){if(0===t.childNodes.length)return!1;var e=S(t);return["block","list-item"].indexOf(e.display)>-1}function j(t,e,n){return t.nodeType===t.TEXT_NODE?n.reduce((function(e,n){return n(t,e)}),new s.default):t.nodeType===t.ELEMENT_NODE?[].reduce.call(t.childNodes||[],(function(a,r){var o=j(r,e,n);return r.nodeType===t.ELEMENT_NODE&&(o=e.reduce((function(t,e){return e(r,t)}),o),o=(r[x]||[]).reduce((function(t,e){return e(r,t)}),o)),a.concat(o)}),new s.default):new s.default}function E(t,e,n){return k(n,t,!0)}function O(t,e){var n=l.default.Attributor.Attribute.keys(t),a=l.default.Attributor.Class.keys(t),r=l.default.Attributor.Style.keys(t),o={};return n.concat(a).concat(r).forEach((function(e){var n=l.default.query(e,l.default.Scope.ATTRIBUTE);null!=n&&(o[n.attrName]=n.value(t),o[n.attrName])||(null==(n=C[e])||n.attrName!==e&&n.keyName!==e||(o[n.attrName]=n.value(t)||void 0),null==(n=P[e])||n.attrName!==e&&n.keyName!==e||(n=P[e],o[n.attrName]=n.value(t)||void 0))})),Object.keys(o).length>0&&(e=k(e,o)),e}function L(t,e){var n=l.default.query(t);if(null==n)return e;if(n.prototype instanceof l.default.Embed){var a={},r=n.value(t);null!=r&&(a[n.blotName]=r,e=(new s.default).insert(a,n.formats(t)))}else"function"==typeof n.formats&&(e=k(e,n.blotName,n.formats(t)));return e}function B(t,e){return z(e,"\n")||(T(t)||e.length()>0&&t.nextSibling&&T(t.nextSibling))&&e.insert("\n"),e}function H(t,e){if(T(t)&&null!=t.nextElementSibling&&!z(e,"\n\n")){var n=t.offsetHeight+parseFloat(S(t).marginTop)+parseFloat(S(t).marginBottom);t.nextElementSibling.offsetTop>t.offsetTop+1.5*n&&e.insert("\n")}return e}function N(t,e){var n=t.data;if("O:P"===t.parentNode.tagName)return e.insert(n.trim());if(0===n.trim().length&&t.parentNode.classList.contains("ql-clipboard"))return e;if(!S(t.parentNode).whiteSpace.startsWith("pre")){var a=function(t,e){return(e=e.replace(/[^\u00a0]/g,"")).length<1&&t?" ":e};n=(n=n.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,a.bind(a,!0)),(null==t.previousSibling&&T(t.parentNode)||null!=t.previousSibling&&T(t.previousSibling))&&(n=n.replace(/^\s+/,a.bind(a,!1))),(null==t.nextSibling&&T(t.parentNode)||null!=t.nextSibling&&T(t.nextSibling))&&(n=n.replace(/\s+$/,a.bind(a,!1)))}return e.insert(n)}A.DEFAULTS={matchers:[],matchVisual:!0},e.default=A,e.matchAttributor=O,e.matchBlot=L,e.matchNewline=B,e.matchSpacing=H,e.matchText=N},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},i=n(6);function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var c=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"optimize",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),e}(((a=i)&&a.__esModule?a:{default:a}).default);c.blotName="bold",c.tagName=["STRONG","B"],e.default=c},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.addControls=e.default=void 0;var a=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],a=!0,r=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(a=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);a=!0);}catch(t){r=!0,o=t}finally{try{!a&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=u(n(2)),i=u(n(0)),s=u(n(5)),l=u(n(10)),c=u(n(9));function u(t){return t&&t.__esModule?t:{default:t}}function d(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var h=(0,l.default)("quill:toolbar"),p=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r,o=d(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if(Array.isArray(o.options.container)){var i=document.createElement("div");v(i,o.options.container),t.container.parentNode.insertBefore(i,t.container),o.container=i}else"string"==typeof o.options.container?o.container=document.querySelector(o.options.container):o.container=o.options.container;return o.container instanceof HTMLElement?(o.container.classList.add("ql-toolbar"),o.controls=[],o.handlers={},Object.keys(o.options.handlers).forEach((function(t){o.addHandler(t,o.options.handlers[t])})),[].forEach.call(o.container.querySelectorAll("button, select"),(function(t){o.attach(t)})),o.quill.on(s.default.events.EDITOR_CHANGE,(function(t,e){t===s.default.events.SELECTION_CHANGE&&o.update(e)})),o.quill.on(s.default.events.SCROLL_OPTIMIZE,(function(){var t=o.quill.selection.getRange(),e=a(t,1)[0];o.update(e)})),o):(r=h.error("Container required for toolbar",o.options),d(o,r))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"addHandler",value:function(t,e){this.handlers[t]=e}},{key:"attach",value:function(t){var e=this,n=[].find.call(t.classList,(function(t){return 0===t.indexOf("ql-")}));if(n){if(n=n.slice("ql-".length),"BUTTON"===t.tagName&&t.setAttribute("type","button"),null==this.handlers[n]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[n])return void h.warn("ignoring attaching to disabled format",n,t);if(null==i.default.query(n))return void h.warn("ignoring attaching to nonexistent format",n,t)}var r="SELECT"===t.tagName?"change":"click";t.addEventListener(r,(function(r){var l=void 0;if("SELECT"===t.tagName){if(t.selectedIndex<0)return;var c=t.options[t.selectedIndex];l=!c.hasAttribute("selected")&&(c.value||!1)}else l=!t.classList.contains("ql-active")&&(t.value||!t.hasAttribute("value")),r.preventDefault();e.quill.focus();var u=e.quill.selection.getRange(),d=a(u,1)[0];if(null!=e.handlers[n])e.handlers[n].call(e,l);else if(i.default.query(n).prototype instanceof i.default.Embed){if(!(l=prompt("Enter "+n)))return;e.quill.updateContents((new o.default).retain(d.index).delete(d.length).insert(function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},n,l)),s.default.sources.USER)}else e.quill.format(n,l,s.default.sources.USER);e.update(d)})),this.controls.push([n,t])}}},{key:"update",value:function(t){var e=null==t?{}:this.quill.getFormat(t);this.controls.forEach((function(n){var r=a(n,2),o=r[0],i=r[1];if("SELECT"===i.tagName){var s=void 0;if(null==t)s=null;else if(null==e[o])s=i.querySelector("option[selected]");else if(!Array.isArray(e[o])){var l=e[o];"string"==typeof l&&(l=l.replace(/\"/g,'\\"')),s=i.querySelector('option[value="'+l+'"]')}null==s?(i.value="",i.selectedIndex=-1):s.selected=!0}else if(null==t)i.classList.remove("ql-active");else if(i.hasAttribute("value")){var c=e[o]===i.getAttribute("value")||null!=e[o]&&e[o].toString()===i.getAttribute("value")||null==e[o]&&!i.getAttribute("value");i.classList.toggle("ql-active",c)}else i.classList.toggle("ql-active",null!=e[o])}))}}]),e}(c.default);function f(t,e,n){var a=document.createElement("button");a.setAttribute("type","button"),a.classList.add("ql-"+e),null!=n&&(a.value=n),t.appendChild(a)}function v(t,e){Array.isArray(e[0])||(e=[e]),e.forEach((function(e){var n=document.createElement("span");n.classList.add("ql-formats"),e.forEach((function(t){if("string"==typeof t)f(n,t);else{var e=Object.keys(t)[0],a=t[e];Array.isArray(a)?function(t,e,n){var a=document.createElement("select");a.classList.add("ql-"+e),n.forEach((function(t){var e=document.createElement("option");!1!==t?e.setAttribute("value",t):e.setAttribute("selected","selected"),a.appendChild(e)})),t.appendChild(a)}(n,e,a):f(n,e,a)}})),t.appendChild(n)}))}p.DEFAULTS={},p.DEFAULTS={container:null,handlers:{clean:function(){var t=this,e=this.quill.getSelection();if(null!=e)if(0==e.length){var n=this.quill.getFormat();Object.keys(n).forEach((function(e){null!=i.default.query(e,i.default.Scope.INLINE)&&t.quill.format(e,!1)}))}else this.quill.removeFormat(e,s.default.sources.USER)},direction:function(t){var e=this.quill.getFormat().align;"rtl"===t&&null==e?this.quill.format("align","right",s.default.sources.USER):t||"right"!==e||this.quill.format("align",!1,s.default.sources.USER),this.quill.format("direction",t,s.default.sources.USER)},indent:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e),a=parseInt(n.indent||0);if("+1"===t||"-1"===t){var r="+1"===t?1:-1;"rtl"===n.direction&&(r*=-1),this.quill.format("indent",a+r,s.default.sources.USER)}},link:function(t){!0===t&&(t=prompt("Enter link URL:")),this.quill.format("link",t,s.default.sources.USER)},list:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e);"check"===t?"checked"===n.list||"unchecked"===n.list?this.quill.format("list",!1,s.default.sources.USER):this.quill.format("list","unchecked",s.default.sources.USER):this.quill.format("list",t,s.default.sources.USER)}}},e.default=p,e.addControls=v},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},i=n(28),s=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var a=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return a.label.innerHTML=n,a.container.classList.add("ql-color-picker"),[].slice.call(a.container.querySelectorAll(".ql-picker-item"),0,7).forEach((function(t){t.classList.add("ql-primary")})),a}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"buildItem",value:function(t){var n=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"buildItem",this).call(this,t);return n.style.backgroundColor=t.getAttribute("value")||"",n}},{key:"selectItem",value:function(t,n){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,n);var a=this.label.querySelector(".ql-color-label"),r=t&&t.getAttribute("data-value")||"";a&&("line"===a.tagName?a.style.stroke=r:a.style.fill=r)}}]),e}(((a=i)&&a.__esModule?a:{default:a}).default);e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},i=n(28),s=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var a=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return a.container.classList.add("ql-icon-picker"),[].forEach.call(a.container.querySelectorAll(".ql-picker-item"),(function(t){t.innerHTML=n[t.getAttribute("data-value")||""]})),a.defaultItem=a.container.querySelector(".ql-selected"),a.selectItem(a.defaultItem),a}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"selectItem",value:function(t,n){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,n),t=t||this.defaultItem,this.label.innerHTML=t.innerHTML}}]),e}(((a=i)&&a.__esModule?a:{default:a}).default);e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function(){function t(e,n){var a=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.quill=e,this.boundsContainer=n||document.body,this.root=e.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",(function(){a.root.style.marginTop=-1*a.quill.root.scrollTop+"px"})),this.hide()}return a(t,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(t){var e=t.left+t.width/2-this.root.offsetWidth/2,n=t.bottom+this.quill.root.scrollTop;this.root.style.left=e+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");var a=this.boundsContainer.getBoundingClientRect(),r=this.root.getBoundingClientRect(),o=0;if(r.right>a.right&&(o=a.right-r.right,this.root.style.left=e+o+"px"),r.left<a.left&&(o=a.left-r.left,this.root.style.left=e+o+"px"),r.bottom>a.bottom){var i=r.bottom-r.top,s=t.bottom-t.top+i;this.root.style.top=n-s+"px",this.root.classList.add("ql-flip")}return o}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),t}();e.default=r},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],a=!0,r=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(a=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);a=!0);}catch(t){r=!0,o=t}finally{try{!a&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),i=p(n(3)),s=p(n(8)),l=n(43),c=p(l),u=p(n(27)),d=n(15),h=p(n(41));function p(t){return t&&t.__esModule?t:{default:t}}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function g(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var m=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],y=function(t){function e(t,n){f(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=m);var a=v(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.quill.container.classList.add("ql-snow"),a}return g(e,t),o(e,[{key:"extendToolbar",value:function(t){t.container.classList.add("ql-snow"),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),h.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),h.default),this.tooltip=new w(this.quill,this.options.bounds),t.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},(function(e,n){t.handlers.link.call(t,!n.format.link)}))}}]),e}(c.default);y.DEFAULTS=(0,i.default)(!0,{},c.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){if(t){var e=this.quill.getSelection();if(null==e||0==e.length)return;var n=this.quill.getText(e);/^\S+@\S+\.\S+$/.test(n)&&0!==n.indexOf("mailto:")&&(n="mailto:"+n),this.quill.theme.tooltip.edit("link",n)}else this.quill.format("link",!1)}}}}});var w=function(t){function e(t,n){f(this,e);var a=v(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.preview=a.root.querySelector("a.ql-preview"),a}return g(e,t),o(e,[{key:"listen",value:function(){var t=this;r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",(function(e){t.root.classList.contains("ql-editing")?t.save():t.edit("link",t.preview.textContent),e.preventDefault()})),this.root.querySelector("a.ql-remove").addEventListener("click",(function(e){if(null!=t.linkRange){var n=t.linkRange;t.restoreFocus(),t.quill.formatText(n,"link",!1,s.default.sources.USER),delete t.linkRange}e.preventDefault(),t.hide()})),this.quill.on(s.default.events.SELECTION_CHANGE,(function(e,n,r){if(null!=e){if(0===e.length&&r===s.default.sources.USER){var o=t.quill.scroll.descendant(u.default,e.index),i=a(o,2),l=i[0],c=i[1];if(null!=l){t.linkRange=new d.Range(e.index-c,l.length());var h=u.default.formats(l.domNode);return t.preview.textContent=h,t.preview.setAttribute("href",h),t.show(),void t.position(t.quill.getBounds(t.linkRange))}}else delete t.linkRange;t.hide()}}))}},{key:"show",value:function(){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),e}(l.BaseTooltip);w.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),e.default=y},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=B(n(29)),r=n(36),o=n(38),i=n(64),s=B(n(65)),l=B(n(66)),c=n(67),u=B(c),d=n(37),h=n(26),p=n(39),f=n(40),v=B(n(56)),g=B(n(68)),m=B(n(27)),y=B(n(69)),w=B(n(70)),b=B(n(71)),_=B(n(72)),x=B(n(73)),M=n(13),C=B(M),P=B(n(74)),A=B(n(75)),k=B(n(57)),S=B(n(41)),z=B(n(28)),T=B(n(59)),j=B(n(60)),E=B(n(61)),O=B(n(108)),L=B(n(62));function B(t){return t&&t.__esModule?t:{default:t}}a.default.register({"attributors/attribute/direction":o.DirectionAttribute,"attributors/class/align":r.AlignClass,"attributors/class/background":d.BackgroundClass,"attributors/class/color":h.ColorClass,"attributors/class/direction":o.DirectionClass,"attributors/class/font":p.FontClass,"attributors/class/size":f.SizeClass,"attributors/style/align":r.AlignStyle,"attributors/style/background":d.BackgroundStyle,"attributors/style/color":h.ColorStyle,"attributors/style/direction":o.DirectionStyle,"attributors/style/font":p.FontStyle,"attributors/style/size":f.SizeStyle},!0),a.default.register({"formats/align":r.AlignClass,"formats/direction":o.DirectionClass,"formats/indent":i.IndentClass,"formats/background":d.BackgroundStyle,"formats/color":h.ColorStyle,"formats/font":p.FontClass,"formats/size":f.SizeClass,"formats/blockquote":s.default,"formats/code-block":C.default,"formats/header":l.default,"formats/list":u.default,"formats/bold":v.default,"formats/code":M.Code,"formats/italic":g.default,"formats/link":m.default,"formats/script":y.default,"formats/strike":w.default,"formats/underline":b.default,"formats/image":_.default,"formats/video":x.default,"formats/list/item":c.ListItem,"modules/formula":P.default,"modules/syntax":A.default,"modules/toolbar":k.default,"themes/bubble":O.default,"themes/snow":L.default,"ui/icons":S.default,"ui/picker":z.default,"ui/icon-picker":j.default,"ui/color-picker":T.default,"ui/tooltip":E.default},!0),e.default=a.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.IndentClass=void 0;var a,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},i=n(0),s=(a=i)&&a.__esModule?a:{default:a};function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var u=function(t){function e(){return l(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"add",value:function(t,n){if("+1"===n||"-1"===n){var a=this.value(t)||0;n="+1"===n?a+1:a-1}return 0===n?(this.remove(t),!0):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"add",this).call(this,t,n)}},{key:"canAdd",value:function(t,n){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,n)||o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,parseInt(n))}},{key:"value",value:function(t){return parseInt(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t))||void 0}}]),e}(s.default.Attributor.Class),d=new u("indent","ql-indent",{scope:s.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});e.IndentClass=d},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a,r=n(4);function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var s=function(t){function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((a=r)&&a.__esModule?a:{default:a}).default);s.blotName="blockquote",s.tagName="blockquote",e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=n(4);function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var l=function(t){function e(){return i(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,null,[{key:"formats",value:function(t){return this.tagName.indexOf(t.tagName)+1}}]),e}(((a=o)&&a.__esModule?a:{default:a}).default);l.blotName="header",l.tagName=["H1","H2","H3","H4","H5","H6"],e.default=l},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ListItem=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},o=l(n(0)),i=l(n(4)),s=l(n(25));function l(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function d(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(){return c(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return d(e,t),a(e,[{key:"format",value:function(t,n){t!==p.blotName||n?r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n):this.replaceWith(o.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(t,n){return this.parent.isolate(this.offset(this.parent),this.length()),t===this.parent.statics.blotName?(this.parent.replaceWith(t,n),this):(this.parent.unwrap(),r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t,n))}}],[{key:"formats",value:function(t){return t.tagName===this.tagName?void 0:r(e.__proto__||Object.getPrototypeOf(e),"formats",this).call(this,t)}}]),e}(i.default);h.blotName="list-item",h.tagName="LI";var p=function(t){function e(t){c(this,e);var n=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t)),a=function(e){if(e.target.parentNode===t){var a=n.statics.formats(t),r=o.default.find(e.target);"checked"===a?r.format("list","unchecked"):"unchecked"===a&&r.format("list","checked")}};return t.addEventListener("touchstart",a),t.addEventListener("mousedown",a),n}return d(e,t),a(e,null,[{key:"create",value:function(t){var n="ordered"===t?"OL":"UL",a=r(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,n);return"checked"!==t&&"unchecked"!==t||a.setAttribute("data-checked","checked"===t),a}},{key:"formats",value:function(t){return"OL"===t.tagName?"ordered":"UL"===t.tagName?t.hasAttribute("data-checked")?"true"===t.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),a(e,[{key:"format",value:function(t,e){this.children.length>0&&this.children.tail.format(t,e)}},{key:"formats",value:function(){return t={},e=this.statics.blotName,n=this.statics.formats(this.domNode),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;var t,e,n}},{key:"insertBefore",value:function(t,n){if(t instanceof h)r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n);else{var a=null==n?this.length():n.offset(this),o=this.split(a);o.parent.insertBefore(t,o)}}},{key:"optimize",value:function(t){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){if(t.statics.blotName!==this.statics.blotName){var n=o.default.create(this.statics.defaultChild);t.moveChildren(n),this.appendChild(n)}r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t)}}]),e}(s.default);p.blotName="list",p.scope=o.default.Scope.BLOCK_BLOT,p.tagName=["OL","UL"],p.defaultChild="list-item",p.allowedChildren=[h],e.ListItem=h,e.default=p},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a,r=n(56);function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var s=function(t){function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((a=r)&&a.__esModule?a:{default:a}).default);s.blotName="italic",s.tagName=["EM","I"],e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},i=n(6);function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var c=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,null,[{key:"create",value:function(t){return"super"===t?document.createElement("sup"):"sub"===t?document.createElement("sub"):o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t)}},{key:"formats",value:function(t){return"SUB"===t.tagName?"sub":"SUP"===t.tagName?"super":void 0}}]),e}(((a=i)&&a.__esModule?a:{default:a}).default);c.blotName="script",c.tagName=["SUB","SUP"],e.default=c},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a,r=n(6);function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var s=function(t){function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((a=r)&&a.__esModule?a:{default:a}).default);s.blotName="strike",s.tagName="S",e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a,r=n(6);function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var s=function(t){function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((a=r)&&a.__esModule?a:{default:a}).default);s.blotName="underline",s.tagName="U",e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},i=n(0),s=(a=i)&&a.__esModule?a:{default:a},l=n(27);function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var d=["alt","height","width"],h=function(t){function e(){return c(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"format",value:function(t,n){d.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"==typeof t&&n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return d.reduce((function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e}),{})}},{key:"match",value:function(t){return/\.(jpe?g|gif|png)$/.test(t)||/^data:image\/.+;base64/.test(t)}},{key:"sanitize",value:function(t){return(0,l.sanitize)(t,["http","https","data"])?t:"//:0"}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(s.default.Embed);h.blotName="image",h.tagName="IMG",e.default=h},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},i=n(4),s=n(27),l=(a=s)&&a.__esModule?a:{default:a};function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var d=["height","width"],h=function(t){function e(){return c(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"format",value:function(t,n){d.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return d.reduce((function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e}),{})}},{key:"sanitize",value:function(t){return l.default.sanitize(t)}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(i.BlockEmbed);h.blotName="video",h.className="ql-video",h.tagName="IFRAME",e.default=h},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.FormulaBlot=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},o=l(n(35)),i=l(n(5)),s=l(n(9));function l(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function d(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(){return c(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return d(e,t),a(e,null,[{key:"create",value:function(t){var n=r(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"==typeof t&&(window.katex.render(t,n,{throwOnError:!1,errorColor:"#f00"}),n.setAttribute("data-value",t)),n}},{key:"value",value:function(t){return t.getAttribute("data-value")}}]),e}(o.default);h.blotName="formula",h.className="ql-formula",h.tagName="SPAN";var p=function(t){function e(){c(this,e);var t=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return t}return d(e,t),a(e,null,[{key:"register",value:function(){i.default.register(h,!0)}}]),e}(s.default);e.FormulaBlot=h,e.default=p},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.CodeToken=e.CodeBlock=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},o=l(n(0)),i=l(n(5)),s=l(n(9));function l(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function d(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(){return c(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return d(e,t),a(e,[{key:"replaceWith",value:function(t){this.domNode.textContent=this.domNode.textContent,this.attach(),r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t)}},{key:"highlight",value:function(t){var e=this.domNode.textContent;this.cachedText!==e&&((e.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=t(e),this.domNode.normalize(),this.attach()),this.cachedText=e)}}]),e}(l(n(13)).default);h.className="ql-syntax";var p=new o.default.Attributor.Class("token","hljs",{scope:o.default.Scope.INLINE}),f=function(t){function e(t,n){c(this,e);var a=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if("function"!=typeof a.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var r=null;return a.quill.on(i.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(r),r=setTimeout((function(){a.highlight(),r=null}),a.options.interval)})),a.highlight(),a}return d(e,t),a(e,null,[{key:"register",value:function(){i.default.register(p,!0),i.default.register(h,!0)}}]),a(e,[{key:"highlight",value:function(){var t=this;if(!this.quill.selection.composing){this.quill.update(i.default.sources.USER);var e=this.quill.getSelection();this.quill.scroll.descendants(h).forEach((function(e){e.highlight(t.options.highlight)})),this.quill.update(i.default.sources.SILENT),null!=e&&this.quill.setSelection(e,i.default.sources.SILENT)}}}]),e}(s.default);f.DEFAULTS={highlight:null==window.hljs?null:function(t){return window.hljs.highlightAuto(t).value},interval:1e3},e.CodeBlock=h,e.CodeToken=p,e.default=f},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BubbleTooltip=void 0;var a=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=d(n(3)),i=d(n(8)),s=n(43),l=d(s),c=n(15),u=d(n(41));function d(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function f(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var v=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],g=function(t){function e(t,n){h(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=v);var a=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.quill.container.classList.add("ql-bubble"),a}return f(e,t),r(e,[{key:"extendToolbar",value:function(t){this.tooltip=new m(this.quill,this.options.bounds),this.tooltip.root.appendChild(t.container),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),u.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),u.default)}}]),e}(l.default);g.DEFAULTS=(0,o.default)(!0,{},l.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){t?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var m=function(t){function e(t,n){h(this,e);var a=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.quill.on(i.default.events.EDITOR_CHANGE,(function(t,e,n,r){if(t===i.default.events.SELECTION_CHANGE)if(null!=e&&e.length>0&&r===i.default.sources.USER){a.show(),a.root.style.left="0px",a.root.style.width="",a.root.style.width=a.root.offsetWidth+"px";var o=a.quill.getLines(e.index,e.length);if(1===o.length)a.position(a.quill.getBounds(e));else{var s=o[o.length-1],l=a.quill.getIndex(s),u=Math.min(s.length()-1,e.index+e.length-l),d=a.quill.getBounds(new c.Range(l,u));a.position(d)}}else document.activeElement!==a.textbox&&a.quill.hasFocus()&&a.hide()})),a}return f(e,t),r(e,[{key:"listen",value:function(){var t=this;a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){t.root.classList.remove("ql-editing")})),this.quill.on(i.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!t.root.classList.contains("ql-hidden")){var e=t.quill.getSelection();null!=e&&t.position(t.quill.getBounds(e))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(t){var n=a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"position",this).call(this,t),r=this.root.querySelector(".ql-tooltip-arrow");if(r.style.marginLeft="",0===n)return n;r.style.marginLeft=-1*n-r.offsetWidth/2+"px"}}]),e}(s.BaseTooltip);m.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),e.BubbleTooltip=m,e.default=g},function(t,e,n){t.exports=n(63)}]).default},t.exports=n()})),zd=ii((function(t,e){var n;t.exports=(n=Sd,function(t){function e(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return t[a].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,a){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:a})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=2)}([function(t,e){t.exports=n},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=n(4),r=n.n(a),o=n(6),i=n(5)(r.a,o.a,!1,null,null,null);e.default=i.exports},function(t,e,n){function a(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.install=e.quillEditor=e.Quill=void 0;var r=a(n(0)),o=a(n(1)),i=window.Quill||r.default,s=function(t,e){e&&(o.default.props.globalOptions.default=function(){return e}),t.component(o.default.name,o.default)},l={Quill:i,quillEditor:o.default,install:s};e.default=l,e.Quill=i,e.quillEditor=o.default,e.install=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default={theme:"snow",boundary:document.body,modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],["clean"],["link","image","video"]]},placeholder:"Insert text here ...",readOnly:!1}},function(t,e,n){function a(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=a(n(0)),o=a(n(3)),i=window.Quill||r.default;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),a=1;a<arguments.length;a++){var r=arguments[a];if(null!=r)for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])}return n},writable:!0,configurable:!0}),e.default={name:"quill-editor",data:function(){return{_options:{},_content:"",defaultOptions:o.default}},props:{content:String,value:String,disabled:{type:Boolean,default:!1},options:{type:Object,required:!1,default:function(){return{}}},globalOptions:{type:Object,required:!1,default:function(){return{}}}},mounted:function(){this.initialize()},beforeDestroy:function(){this.quill=null,delete this.quill},methods:{initialize:function(){var t=this;this.$el&&(this._options=Object.assign({},this.defaultOptions,this.globalOptions,this.options),this.quill=new i(this.$refs.editor,this._options),this.quill.enable(!1),(this.value||this.content)&&this.quill.pasteHTML(this.value||this.content),this.disabled||this.quill.enable(!0),this.quill.on("selection-change",(function(e){e?t.$emit("focus",t.quill):t.$emit("blur",t.quill)})),this.quill.on("text-change",(function(e,n,a){var r=t.$refs.editor.children[0].innerHTML,o=t.quill,i=t.quill.getText();"<p><br></p>"===r&&(r=""),t._content=r,t.$emit("input",t._content),t.$emit("change",{html:r,text:i,quill:o})})),this.$emit("ready",this.quill))}},watch:{content:function(t,e){this.quill&&(t&&t!==this._content?(this._content=t,this.quill.pasteHTML(t)):t||this.quill.setText(""))},value:function(t,e){this.quill&&(t&&t!==this._content?(this._content=t,this.quill.pasteHTML(t)):t||this.quill.setText(""))},disabled:function(t,e){this.quill&&this.quill.enable(!t)}}}},function(t,e){t.exports=function(t,e,n,a,r,o){var i,s=t=t||{},l=typeof t.default;"object"!==l&&"function"!==l||(i=t,s=t.default);var c,u="function"==typeof s?s.options:s;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),r&&(u._scopeId=r),o?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=c):a&&(c=a),c){var d=u.functional,h=d?u.render:u.beforeCreate;d?(u._injectStyles=c,u.render=function(t,e){return c.call(e),h(t,e)}):u.beforeCreate=h?[].concat(h,c):[c]}return{esModule:i,exports:s,options:u}}},function(t,e,n){var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"quill-editor"},[t._t("toolbar"),t._v(" "),n("div",{ref:"editor"})],2)},r={render:a,staticRenderFns:[]};e.a=r}]))})),Td={name:"PInput",components:{PFieldResizer:kd,PSpinner:_d,PIcon:k,quillEditor:zd.quillEditor},props:{id:{type:[String,Number],default:"PolarisTextField".concat((new Date).getUTCMilliseconds())},value:{type:[String,Number,Object,Array,Boolean,FileList],default:null},type:r({type:String},A("type",["text","email","number","password","search","tel","url","date","datetime-local","month","time","week","currency","file"])),align:{type:String},placeholder:{type:String},multiline:{type:[Boolean,Number]},richEditor:{type:Boolean},disabled:{type:Boolean},readOnly:{type:Boolean},showInput:{type:Boolean,default:!0},clearable:{type:Boolean},showCharacterCount:{type:Boolean},prefixClass:{type:String},autoFocus:{type:Boolean},autoComplete:{type:Boolean},labelClass:{type:String},inputClass:{type:String},suffix:{type:String},prefix:{type:String},name:{type:String},hasError:{type:Boolean},maxLength:{type:[String,Number]},minLength:{type:[String,Number]},step:{type:Number},minHeight:{type:Number,default:0},min:{type:[String,Number]},max:{type:[String,Number]},describedBy:{type:String},multiple:{type:Boolean},accept:{type:String},label:{type:String},floatingLabel:{type:Boolean}},data:function(){return{content:null!==this.value?this.value:"",height:this.minHeight,editorConfig:{modules:{toolbar:[[{header:[1,2,3,4,5,6,!1]},"blockquote"],["bold","italic","underline",{color:[]},{background:[]}],[{align:[]}],["link","image","video"],[{list:"ordered"},{list:"bullet"},{indent:"-1"},{indent:"+1"},"clean"]],syntax:{highlight:function(t){return t}}}},characterCountLabel:this.maxLength||"characterCountLabel",characterCount:this.value&&this.value.length}},computed:{className:function(){return g("Polaris-TextField",Boolean(this.content)&&"Polaris-TextField--hasValue",this.disabled&&"Polaris-TextField--disabled",this.readOnly&&"Polaris-TextField--readOnly",this.hasError&&"Polaris-TextField--error")},inputClassName:function(){return g(this.floatingLabel?"Polaris-FloatingLabels__Input":"Polaris-TextField__Input",this.inputClass,this.align&&"Polaris-TextField__Input Polaris-TextField__Input--align".concat(this.textAlign),this.floatingLabel&&this.multiline&&"Polaris-FloatingLabel__TextArea",this.floatingLabel&&this.showPrefix&&"Polaris-FloatingLabels__Input--prefix",this.floatingLabel&&this.showSuffix&&"Polaris-FloatingLabels__Input--suffix",(this.showCharacterCount||"number"===this.type)&&"Polaris-FloatingLabels__Input--number",this.floatingLabel&&this.hasError&&"Polaris-FloatingLabels__Input--error")},characterCountClassName:function(){return g("Polaris-TextField__CharacterCount",this.multiline&&"Polaris-TextField__AlignFieldBottom ")},clearButtonClassName:function(){return g("Polaris-TextField__ClearButton",this.multiline&&"Polaris-TextField__AlignFieldBottom ")},floatingLabelClassName:function(){return g("Polaris-Floating--label","Polaris-Floating--label--visible",this.showPrefix&&"Polaris-Floating--label__prefix",this.showSuffix&&"Polaris-Floating--label__suffix")},characterCountText:function(){return this.maxLength?"".concat(this.characterCount,"/").concat(this.maxLength):this.characterCount},inputType:function(){return"currency"===this.type?"text":this.type},showPrefix:function(){return this.prefix||this.$slots.prefix},showSuffix:function(){return this.suffix||this.$slots.suffix},textAlign:function(){return this.align.replace(/^_*(.)|_+(.)/g,(function(t,e,n){return e?e.toUpperCase():" "+n.toUpperCase()}))},labelledBy:function(){var t=[this.id+"Label"];return this.showPrefix&&t.push(this.id+"Prefix"),this.showSuffix&&t.push(this.id+"Suffix"),t.join(" ")},computedHeight:{get:function(){return this.height},set:function(t){this.height=t}},computedValue:{get:function(){return"number"===this.type?Number(this.content):this.content},set:function(t){"number"===this.type?this.content=Number(t):this.content=t,this.$emit("input","number"===this.type?Number(t):t)}},computedStyle:function(){return{height:this.multiline&&this.computedHeight?this.computedHeight+"px":null,overflow:this.multiline&&this.computedHeight?"hidden":null}},computedPlaceholder:function(){return this.floatingLabel?"Enter input":this.placeholder}},methods:{onInput:function(t){"file"!==this.type?t.target&&(this.computedValue=t.target.value):this.computedValue=t.target.files},onClear:function(t){this.computedValue=void 0},handleNumberChange:function(t){var e=this.computedValue?parseFloat(this.computedValue):0,n=function(t){return(t.toString().split(".")[1]||[]).length};if(!isNaN(e)&&!this.disabled){var a=this.min||-1/0,r=this.max||1/0,o=this.step||1,i=Math.max(n(e),n(o)),s=Math.min(Number(r),Math.max(e+t*o,Number(a)));isNaN(s)||(this.computedValue=s.toFixed(i))}},handleExpandingResize:function(t){this.computedHeight=t<this.minHeight?this.minHeight:t},normalizeAutoComplete:function(t){return!0===t?"on":!1===t?"off":t}},watch:{value:function(t,e){this.content=t,this.characterCount=t?t.length:0}}},jd=Td,Ed=function(t){t&&t("data-v-1f41cf22_0",{source:'.ql-container.ql-snow{background:#fff}.ql-toolbar.ql-snow{background:#fafafa;padding:5px}.quill-editor.editor{width:100%}.ql-snow .ql-picker{font-weight:400}.ql-toolbar.ql-snow>.ql-formats:not(:first-child):before{content:"";height:calc(100% + 4px);width:1px;background:#c4c4c4;position:absolute;display:block;top:-2px;left:-10px}.ql-toolbar.ql-snow .ql-formats{position:relative;margin-right:10px;margin-left:10px}',map:void 0,media:void 0})},Od=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.showInput,expression:"showInput"}],class:t.className},[t.showPrefix?n("div",{staticClass:"Polaris-TextField__Prefix",attrs:{id:t.id+"Prefix"}},[t._v("\n "+t._s(t.prefix)+"\n "),t.$slots.prefix?t._t("prefix"):t._e()],2):t._e(),t._v(" "),n("div",{staticStyle:{width:"100%"}},[t.richEditor?n("quill-editor",{ref:"myTextEditor",staticClass:"editor",attrs:{id:t.id,options:t.editorConfig,disabled:t.disabled,readonly:t.readOnly,autofocus:t.autoFocus,placeholder:t.computedPlaceholder,autocomplete:t.normalizeAutoComplete(t.autoComplete),"aria-describedby":t.describedBy,"aria-labelledby":t.labelledBy,"aria-invalid":t.hasError},on:{input:t.onInput},model:{value:t.computedValue,callback:function(e){t.computedValue=e},expression:"computedValue"}}):t.multiline?n("textarea",{class:t.inputClassName,style:t.computedStyle,attrs:{name:t.name,id:t.id,disabled:t.disabled,readonly:t.readOnly,autofocus:t.autoFocus,minlength:t.minLength,maxlength:t.maxLength,placeholder:t.computedPlaceholder,autocomplete:t.normalizeAutoComplete(t.autoComplete),"aria-describedby":t.describedBy,"aria-labelledby":t.labelledBy,"aria-invalid":t.hasError},domProps:{value:t.computedValue,textContent:t._s(t.multiline?t.computedValue:"")},on:{input:t.onInput}}):"file"===t.type?n("input",{ref:"input",class:t.inputClassName,attrs:{name:t.name,id:t.id,disabled:t.disabled,readonly:t.readOnly,type:"file",multiple:t.multiple,accept:t.accept,"aria-describedby":t.describedBy,"aria-labelledby":t.labelledBy,"aria-invalid":t.hasError},on:{change:t.onInput}}):n("input",{ref:"input",class:t.inputClassName,attrs:{name:t.name,id:t.id,disabled:t.disabled,readonly:t.readOnly,autofocus:t.autoFocus,placeholder:t.computedPlaceholder,autocomplete:t.normalizeAutoComplete(t.autoComplete),min:t.min,max:t.max,step:t.step,minlength:t.minLength,maxlength:t.maxLength,type:t.inputType,"aria-describedby":t.describedBy,"aria-labelledby":t.labelledBy,"aria-invalid":t.hasError},domProps:{value:t.computedValue},on:{input:t.onInput}}),t._v(" "),t.floatingLabel&&!t.richEditor&&"file"!==t.type?n("label",{class:t.floatingLabelClassName,attrs:{for:t.id}},[t._t("label",(function(){return[t._v("\n "+t._s(t.label)+"\n ")]}))],2):t._e(),t._v(" "),t.richEditor?t._e():n("div",{staticClass:"Polaris-TextField__Backdrop"})],1),t._v(" "),t.showSuffix?n("div",{staticClass:"Polaris-TextField__Suffix",attrs:{id:t.id+"Suffix"}},[t._v("\n "+t._s(t.suffix)+"\n "),t.$slots.suffix?t._t("suffix"):t._e()],2):t._e(),t._v(" "),t.showCharacterCount?n("div",{class:t.characterCountClassName,attrs:{id:"CharacterCounter","aria-label":t.characterCountLabel}},[t._v("\n "+t._s(t.characterCountText)+"\n ")]):t._e(),t._v(" "),t.computedValue&&t.clearable?n("button",{class:t.clearButtonClassName,attrs:{type:"button"},on:{click:t.onClear}},[n("span",{staticClass:"Polaris-VisuallyHidden"},[t._v("Clear")]),t._v(" "),n("PIcon",{attrs:{source:"CircleCancelMinor",color:"base"}})],1):t._e(),t._v(" "),"number"===t.type?n("PSpinner",{on:{change:t.handleNumberChange}}):t._e(),t._v(" "),t.multiline?n("PFieldResizer",{attrs:{contents:t.value||t.placeholder,"current-height":t.computedHeight,"minimum-lines":"number"==typeof t.multiline?t.multiline:1},on:{heightchange:t.handleExpandingResize}}):t._e()],1)},staticRenderFns:[]},Ed,jd,undefined,false,undefined,!1,Ac,void 0,void 0),Ld=Od,Bd={name:"PConnectedItem",props:{position:r({type:String},A("position",["Left","Primary","Right"])),children:{type:String},focused:{type:Boolean}},computed:{className:function(){return g("Polaris-Connected__Item",this.focused&&"Polaris-Connected__Item--focused","Primary"===this.position&&"Polaris-Connected__Item--primary","Primary"!==this.position&&"Polaris-Connected__Item--connection")}}},Hd=Bd,Nd=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:t.className,on:{blur:function(e){t.focused=!1},focus:function(e){t.focused=!0}}},[t.$slots.children?t._e():t._t("default",(function(){return[t._v(t._s(t.children))]})),t._v(" "),t._t("children")],2)},staticRenderFns:[]},undefined,Hd,undefined,false,undefined,!1,void 0,void 0,void 0),Rd=Nd,Vd={name:"PConnected",components:{PConnectedItem:Rd},props:{left:{type:String},right:{type:String},children:{type:String}}},Id=Vd,qd=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"Polaris-Connected"},[t.$slots.left||t.left?n("PConnectedItem",{attrs:{position:"Left"}},[t._t("left",(function(){return[t._v(t._s(t.left))]}))],2):t._e(),t._v(" "),n("PConnectedItem",{attrs:{position:"Primary"}},[t.$slots.children?t._e():t._t("default",(function(){return[t._v("\n "+t._s(t.children)+"\n ")]})),t._v(" "),t._t("children")],2),t._v(" "),t.$slots.right||t.right?n("PConnectedItem",{attrs:{position:"Right"}},[t._t("right",(function(){return[t._v(t._s(t.right))]}))],2):t._e()],1)},staticRenderFns:[]},undefined,Id,undefined,false,undefined,!1,void 0,void 0,void 0),Dd=qd,Fd={name:"PFieldError",components:{PIcon:k},props:{error:{type:String,default:null}}},$d=Fd,Ud=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"Polaris-Labelled__Error"},[n("div",{staticClass:"Polaris-InlineError",attrs:{id:"PolarisTextField6Error"}},[n("div",{staticClass:"Polaris-InlineError__Icon"},[n("PIcon",{attrs:{source:"AlertMinor"}})],1),t._v("\n "+t._s(t.error)+"\n ")])])},staticRenderFns:[]},undefined,$d,"data-v-4535eab1",false,undefined,!1,void 0,void 0,void 0),Wd=Ud,Gd={name:"PTextField",components:{PInput:Ld,PConnected:Dd,PFieldError:Wd},props:{label:{type:String,default:null},id:{type:[String,Number],default:"PolarisTextField".concat((new Date).getUTCMilliseconds())},labelClass:{type:String,default:null},helpText:{type:String,default:null},connectedLeft:{type:String,default:null},connectedRight:{type:String,default:null},connected:{type:Boolean,default:!1},error:{type:String,default:null},labelHidden:{type:Boolean,default:!1},emptyLabel:{type:Boolean,default:!1},richEditor:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},accept:{type:String,default:null},type:{type:String},floatingLabel:{type:Boolean,default:!1},readOnly:{type:Boolean}},computed:{className:function(){return g(this.computedLabelHidden&&"Polaris-Labelled--hidden",this.floatingLabel&&!this.richEditor&&"file"!==this.type&&"Polaris-Floating")},labelClassName:function(){return g(!this.floatingLabel&&"Polaris-Labelled__LabelWrapper")},computedLabelHidden:function(){return this.floatingLabel||this.labelHidden}},methods:{handleInput:function(t){this.$emit("input",t)}}},Zd=Gd,Yd=function(t){t&&t("data-v-0b34995c_0",{source:".ck.ck-editor{position:relative;width:100%}",map:void 0,media:void 0})},Kd=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className},[!t.floatingLabel&&(t.label||t.emptyLabel||t.$slots.hasOwnProperty("label"))?n("div",{staticClass:"Polaris-Labelled__LabelWrapper",class:t.labelClass},[t._t("label",(function(){return[n("div",{staticClass:"Polaris-Label"},[n("label",{staticClass:"Polaris-Label__Text",attrs:{id:t.id+"Label",for:t.id},domProps:{innerHTML:t._s(t.emptyLabel?"&nbsp":t.label)}})])]}))],2):t._e(),t._v(" "),t.connected?n("PConnected",[t.$slots.hasOwnProperty("connectedLeft")?n("template",{slot:"left"},[t._t("connectedLeft",(function(){return[t._v(t._s(t.connectedLeft))]}))],2):t._e(),t._v(" "),t.$slots.hasOwnProperty("connectedRight")?n("template",{slot:"right"},[t._t("connectedRight",(function(){return[t._v(t._s(t.connectedRight))]}))],2):t._e(),t._v(" "),n("PInput",t._g(t._b({attrs:{hasError:!!t.error,id:t.id}},"PInput",[t.$attrs,t.$props],!1),t.$listeners),[t._t("prefix",null,{slot:"prefix"}),t._v(" "),t._t("suffix",null,{slot:"suffix"})],2)],2):n("PInput",t._g(t._b({attrs:{hasError:!!t.error,id:t.id,floatingLabel:t.floatingLabel,label:t.label}},"PInput",[t.$attrs,t.$props],!1),t.$listeners),[t._t("prefix",null,{slot:"prefix"}),t._v(" "),t._t("label",null,{slot:"label"}),t._v(" "),t._t("suffix",null,{slot:"suffix"})],2),t._v(" "),t.helpText?n("div",{staticClass:"Polaris-Labelled__HelpText"},[t._v(t._s(t.helpText))]):t._e(),t._v(" "),t._t("error",(function(){return[t.error?n("PFieldError",{attrs:{error:t.error}}):t._e()]}))],2)},staticRenderFns:[]},Yd,Zd,undefined,false,undefined,!1,Ac,void 0,void 0),Xd=Kd,Qd={value:{type:[String,Number],required:!0},key:{type:[String,Number],required:!0}},Jd={name:"PTag",components:{PIcon:k},props:{tag:r({type:Object,default:function(){return{}}},q("tag",Qd)),removable:{type:Boolean,default:!1},size:r({type:String,default:"medium"},A("size",["small","medium",null,""]))},computed:{className:function(){return g("Polaris-Tag",this.removable&&"Polaris-Tag--removable","small"===this.size&&"Polaris-Tag--small")}},methods:{handleRemove:function(){this.$emit("remove-tag",this.tag.key)}}},th=Jd,eh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{class:t.className},[n("span",{staticClass:"Polaris-Tag__TagText",attrs:{title:t.tag.value}},[t._v(t._s(t.tag.value))]),t._v(" "),t.removable?n("button",{staticClass:"Polaris-Tag__Button",attrs:{type:"button","aria-label":"Remove "+t.tag.value},on:{click:t.handleRemove}},[n("PIcon",{attrs:{source:"CancelSmallMinor"}})],1):t._e()])},staticRenderFns:[]},undefined,th,undefined,false,undefined,!1,void 0,void 0,void 0),nh=eh,ah={name:"PFilterItem"},rh=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"Polaris-Filters-ConnectedFilterControl__Item"},[t._t("default")],2)},staticRenderFns:[]},undefined,ah,undefined,false,undefined,!1,void 0,void 0,void 0),oh=rh,ih={name:"PFilterItemWrapper",props:{position:{type:String}},computed:{className:function(){return g("center"===this.position&&"Polaris-Filters-ConnectedFilterControl__CenterContainer","right"===this.position&&"Polaris-Filters-ConnectedFilterControl__RightContainer")}},render:function(t){return t("div",{class:this.className},ee.wrapNodesWithComponent(t,this.$slots.default,oh))}},sh=ih,lh=y({},undefined,sh,undefined,undefined,undefined,!1,void 0,void 0,void 0),ch=lh,uh={singular:{type:String,required:!0},plural:{type:String,required:!0}},dh={key:{type:String,required:!0},label:{type:String,required:!0},filter:{type:String,required:!0},shortcut:Boolean,disabled:Boolean,hideClearButton:Boolean},hh={name:"PFilter",components:{PTextField:Xd,PIcon:k,PTag:nh,PFilterItemWrapper:ch},props:{resourceName:r({type:Object,default:function(){return{}}},q("resourceName",uh)),resourceTitle:{type:String,default:null},inputFilter:{type:String,default:null},appliedFilters:{type:Array,default:function(){return[]}},queryValue:{type:String,default:null},queryPlaceholder:{type:String,default:null},focused:{type:Boolean,default:!1},filters:r({type:Array,default:function(){return[]}},R("filters",dh)),disabled:{type:Boolean,default:!1},helpText:{type:String,default:null},hideTags:{type:Boolean,default:!1},hideQueryField:{type:Boolean,default:!1}},data:function(){return{appliedFiltersCount:this.appliedFilters?this.appliedFilters.length:0}},computed:{prefix:function(){return this.resourceName.plural?"".concat(this.resourceName.plural.toLowerCase()):this.resourceName.plural},resource:function(){var t=this.resourceName;return t.plural?"Filter "+t.plural.toLowerCase():t.singular?"Filter "+t.singular.toLowerCase():""}},methods:{handleQueryChange:function(t){this.$emit("queryChange",t)},handleQueryClear:function(){this.$emit("queryClear")},handleQueryClearAll:function(){this.$emit("queryClearAll")},handleQueryBlur:function(){this.$emit("queryBlur")},handleQueryFocus:function(){this.$emit("queryFocus")}},mounted:function(){null!=this.resourceTitle&&console.error("Deprecation Notice: `resourceTitle` will be removed in version 4.0.0, use `resourceName` instead."),null!=this.inputFilter&&console.error("Deprecation Notice: `inputFilter` will be removed in version 4.0.0, use `queryValue` instead.")}},ph=hh,fh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"Polaris-Filters"},[n("div",{staticClass:"Polaris-Filters-ConnectedFilterControl__Wrapper"},[n("div",{staticClass:"Polaris-Filters-ConnectedFilterControl Polaris-Filters-ConnectedFilterControl--right"},[t.hideQueryField?t._e():n("PFilterItemWrapper",{attrs:{position:"center"}},[n("PTextField",t._g({attrs:{id:"Polaris-Input-Filter",connected:"",labelHidden:"",showPrefix:"",showClearButton:"",placeholder:t.queryPlaceholder||t.resourceTitle||t.resource,value:t.queryValue||t.inputFilter,autoFocus:t.focused,label:t.queryPlaceholder||t.resourceTitle||t.resource,clearable:"",disabled:t.disabled},on:{input:t.handleQueryChange,blur:t.handleQueryBlur,focus:t.handleQueryFocus}},t.$listeners),[n("PIcon",{attrs:{slot:"prefix",source:"SearchMinor"},slot:"prefix"})],1)],1),t._v(" "),t.$slots.hasOwnProperty("default")?n("PFilterItemWrapper",{attrs:{position:"right"}},[t._t("default")],2):t._e()],1),t._v(" "),n("div",{staticClass:"Polaris-Filters-ConnectedFilterControl__AuxiliaryContainer"},[t._t("auxiliaryContainer")],2)]),t._v(" "),t.hideTags?t._e():n("div",{staticClass:"Polaris-Filters__TagsContainer"},t._l(t.appliedFilters,(function(e,a){return n("PTag",t._g({key:a,attrs:{removable:"",tag:e}},t.$listeners))})),1)])])},staticRenderFns:[]},undefined,ph,undefined,false,undefined,!1,void 0,void 0,void 0),vh=fh,gh={name:"PCardHeader",components:{PStack:Nu,PStackItem:Ou,PHeading:at,PButtonGroup:ae,PButton:nt,PLink:nd},props:{title:{type:String,default:null},shortDescription:{type:String,default:null},actions:{type:[Array,String],default:null}}},mh=gh,yh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"Polaris-Card__Header"},[n("PStack",{attrs:{alignment:"baseline"}},[n("PStackItem",{attrs:{fill:""}},[t._t("title",(function(){return[n("PHeading",[t._v(t._s(t.title))])]}))],2),t._v(" "),n("PStackItem",[t.actions?n("PButtonGroup",{attrs:{connectedTop:""}},t._l(t.actions,(function(e,a){return n(e.to?"PLink":"PButton",t._g({key:a,tag:"component",attrs:{plain:"",href:e.url?e.url:null,to:e.to?e.to:null}},e.onAction?{click:e.onAction}:{}),[t._v("\n "+t._s(e.content)+"\n ")])})),1):t._e()],1),t._v(" "),t.$slots.hasOwnProperty("children")?n("PStackItem",[t._t("children")],2):t._e()],1),t._v(" "),n("PStack",[n("PStackItem",[n("span",{staticClass:"Polaris-Card__TagLine"},[[t._t("short_description",(function(){return[t._v("\n "+t._s(t.shortDescription)+"\n ")]}))]],2)])],1)],1)},staticRenderFns:[]},undefined,mh,undefined,false,undefined,!1,void 0,void 0,void 0),wh=yh,bh={name:"PSubheading",props:{element:r({type:String,default:"h3"},A("element",["h1","h2","h3","h4","h5","h6","p"]))},computed:{className:function(){return"Polaris-Subheading"}}},_h=bh,xh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className},[t.title||t.$slots.hasOwnProperty("title")?n("div",{staticClass:"Polaris-Card__SectionHeader"},[t._t("title",(function(){return[n("PSubheading",t._b({},"PSubheading",t.$attrs,!1),[t._v("\n "+t._s(t.title)+"\n ")])]}))],2):t._e(),t._v(" "),t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PCardSection",components:{PSubheading:y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)(t.element,{tag:"component",class:t.className},[t._t("default")],2)},staticRenderFns:[]},undefined,_h,undefined,false,undefined,!1,void 0,void 0,void 0)},props:{title:{type:String},subdued:{type:Boolean},fullWidth:{type:Boolean}},computed:{className:function(){return g("Polaris-Card__Section",this.subdued&&"Polaris-Card__Section--subdued",this.fullWidth&&"Polaris-Card__Section--fullWidth")}}},undefined,false,undefined,!1,void 0,void 0,void 0),Mh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className},[t.$slots.hasOwnProperty("title")||t.title||t.$slots.hasOwnProperty("short_description")||t.shortDescription?[n("PCardHeader",{attrs:{actions:t.actions}},[t.$slots.hasOwnProperty("title")||t.title?t._t("title",(function(){return[n("PHeading",[t._v(t._s(t.title))])]}),{slot:"title"}):t._e(),t._v(" "),t.$slots.hasOwnProperty("short_description")||t.shortDescription?t._t("short_description",(function(){return[n("PCaption",[t._v(t._s(t.shortDescription))])]}),{slot:"short_description"}):t._e(),t._v(" "),t.$slots.hasOwnProperty("children")?n("template",{slot:"children"},[t._t("children")],2):t._e()],2)]:t._e(),t._v(" "),t.$slots.hasOwnProperty("default")?[t.sectioned?[n("PCardSection",[t._t("default")],2)]:[t._t("default")]]:n("div",[t._t("default")],2),t._v(" "),t.$slots.hasOwnProperty("footer")?[n("PCardFooter",[t._t("footer")],2)]:t._e()],2)},staticRenderFns:[]},undefined,{name:"PCard",components:{PCardFooter:y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"Polaris-Card__Footer"},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PCardFooter"},undefined,false,undefined,!1,void 0,void 0,void 0),PCardHeader:wh,PCardSection:xh,PHeading:at,PCaption:y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("p",{staticClass:"Polaris-Caption",attrs:{id:t.id}},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PCaption",props:{id:{type:[String,Number],default:null}}},undefined,false,undefined,!1,void 0,void 0,void 0),PButtonGroup:ae,PLink:nd},props:{title:{type:String,default:null},shortDescription:{type:String,default:null},subdued:{type:Boolean,default:!1},sectioned:{type:Boolean,default:!1},actions:{type:[Array,String],default:null}},computed:{className:function(){return g("Polaris-Card",this.subdued&&"Polaris-Card__Section--subdued")}}},undefined,false,undefined,!1,void 0,void 0,void 0),Ch=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("PCard",[n("PCardSection",[n("div",{class:t.className},[n("div",{staticClass:"Polaris-EmptyState__Section"},[n("div",{staticClass:"Polaris-EmptyState__DetailsContainer"},[n("div",{staticClass:"Polaris-EmptyState__Details"},[n("PTextContainer",[n("PDisplayText",{attrs:{size:"small"}},[t._t("heading",(function(){return[t._v("\n "+t._s(t.heading)+"\n ")]}))],2),t._v(" "),n("div",{staticClass:"Polaris-EmptyState__Content"},[t._t("default")],2)],1),t._v(" "),t.hasAction?n("div",{staticClass:"Polaris-EmptyState__Actions"},[t._t("actions",(function(){return[n("PStack",{attrs:{spacing:"tight",distribution:"center",alignment:"center"}},[Object.keys(t.primaryAction).length>0?n("PStackItem",[n("PButton",{attrs:{primary:""},on:{click:function(e){return t.primaryAction.onAction()}}},[t._v(t._s(t.primaryAction.content))])],1):t._e(),t._v(" "),Object.keys(t.secondaryAction).length>0?n("PStackItem",[n("PButton",{on:{click:function(e){return t.secondaryAction.onAction()}}},[t._v(t._s(t.secondaryAction.content))])],1):t._e()],1)]}))],2):t._e(),t._v(" "),n("div",{staticClass:"Polaris-EmptyState__FooterContent"},[t._t("footer")],2)],1)]),t._v(" "),n("div",{staticClass:"Polaris-EmptyState__ImageContainer"},[t._t("image",(function(){return[n("PImage",{staticClass:"Polaris-EmptyState__Image",attrs:{source:t.image}})]}))],2)])])])],1)},staticRenderFns:[]},undefined,{name:"PEmptyState",components:{PImage:iu,PCard:Mh,PCardSection:xh,PTextContainer:Uu,PDisplayText:nu,PStack:Nu,PStackItem:Ou,PButton:nt},props:{heading:{type:String,default:null},fullWidth:{type:Boolean,default:!1},imageContained:{type:Boolean,default:!1},image:{type:String,default:null},primaryAction:r({type:Object,default:function(){return{}}},q("primaryAction",r(r({},$),U))),secondaryAction:r({type:Object,default:function(){return{}}},q("secondaryAction",X))},computed:{className:function(){return g("Polaris-EmptyState","Polaris-EmptyState--withinContentContainer",this.fullWidth&&"Polaris-EmptyState--fullWidth",this.imageContained&&"Polaris-EmptyState--imageContained")},hasAction:function(){return this.primaryAction||this.secondaryAction}},methods:{styleClass:function(t){if("string"==typeof t){var e=["one","two","three","four","five","six"];return t?e[t.charCodeAt(0)%e.length]:e[0]}}}},undefined,false,undefined,!1,void 0,void 0,void 0),Ph={content:{type:String,required:!0},value:{type:String,required:!0},type:{type:String,required:!0},sortable:Boolean,width:String},Ah={singular:{type:String,required:!0},plural:{type:String,required:!0}},kh=["ascending","descending","none"],Sh={value:{type:String,required:!0},direction:{type:String,required:!0,expectedValues:kh}},zh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.$slots.hasOwnProperty("filter")||t.hasFilter?n("PFilter",t._b({attrs:{resourceName:t.resource},on:{"remove-tag":t.onRemoveFilter,input:t.onFilterInputChanged}},"PFilter",t.$attrs,!1),[t.$slots.hasOwnProperty("filter")?t._t("filter"):t._e(),t._v(" "),n("template",{slot:"auxiliaryContainer"},[t._t("auxiliaryContainer")],2)],2):t._e(),t._v(" "),t.rows.length>0||t.$slots.hasOwnProperty("body")?n("div",{staticClass:"Polaris-DataTable"},[n("div",{staticClass:"Polaris-DataTable__ScrollContainer"},[n("table",{staticClass:"Polaris-DataTable__Table"},[n("thead",{ref:"thead"},[t._t("head",(function(){return[[n("tr",[t._l(t.headings,(function(e,a){return n("PDataTableCellNew",{key:"heading-cell-"+a,attrs:{header:"",content:e.content,value:e.value,width:e.width,sort:t.sort,sortable:e.sortable,"default-sort-direction":t.defaultSortDirection,"content-type":e.type?e.type:t.columnContentTypes[a],"first-column":0===a,truncate:t.truncate,verticalAlign:t.verticalAlign},on:{"sort-changed":t.handleSortChange}})})),t._v(" "),t.hasActions?n("PDataTableCell",{attrs:{header:"",content:"Actions",sortable:!1,contentType:"text",firstColumn:!1,truncate:!1,verticalAlign:t.verticalAlign}}):t._e()],2),t._v(" "),t.showTotalsInFooter?t._e():n("tr",[t._l(t.totals,(function(e,a){return n("PDataTableCellNew",{key:"total-cell-"+a,attrs:{total:"",value:0===a?t.totalsRowHeading:e,"content-type":""!==e&&a>0?"numeric":t.columnContentTypes[a],"first-column":0===a,truncate:t.truncate,"vertical-align":t.verticalAlign,sortable:!1}})})),t._v(" "),t.totals.length&&t.hasActions?n("PDataTableCell",{attrs:{total:"",totalInFooter:t.showTotalsInFooter,verticalAlign:t.verticalAlign}}):t._e()],2)]]}))],2),t._v(" "),t._t("tbody",(function(){return[n("tbody",{ref:"tbody"},[t.loading?[n("tr",{staticClass:"Polaris-ResourceList__SpinnerContainer",style:{"padding-top":t.topPadding+"px"}},[n("PSpinner",{attrs:{size:!t.$slots.hasOwnProperty("body")&&t.rows.length<2?"small":"large"}})],1),t._v(" "),n("tr",{staticClass:"Polaris-ResourceList__LoadingOverlay"})]:t._e(),t._v(" "),t._t("body",(function(){return[t.hasOldRows?t._l(t.rows,(function(e,a){return n("tr",{key:"row-"+a,staticClass:"Polaris-DataTable__TableRow"},[t._l(e,(function(e,r){return n("PDataTableCell",{key:"cell-"+r+"-row-"+a,attrs:{content:"object"!==o(e)?e:e.content,action:e.url||e.to||e.onAction?e:null,toggle:"boolean"==typeof e.status&&e.onAction?e:null,badge:"object"!==o(e)||e.url||e.to||e.onAction?null:e,contentType:t.headings[r].type?t.headings[r].type:t.columnContentTypes[r],firstColumn:0===r,truncate:t.truncate,verticalAlign:t.verticalAlign}})})),t._v(" "),t.hasActions?n("PDataTableCell",{attrs:{actions:t.actions,value:t.ids[a],verticalAlign:t.verticalAlign}}):t._e()],2)})):[t._l(t.rows,(function(e){return[t._t("item",(function(){return[n("tr",{staticClass:"Polaris-DataTable__TableRow"},[t._l(t.headings,(function(a,r){return[n("PDataTableCellNew",{attrs:{value:e[a.value],"header-value":a.value,"first-column":0===r,"content-type":t.headings[r].type?t.headings[r].type:t.columnContentTypes[r],truncate:t.truncate,"vertical-align":t.verticalAlign,sortable:!1},scopedSlots:t._u([{key:"item."+a.value,fn:function(n){return[t._t("item."+a.value,null,{item:e})]}}],null,!0)})]}))],2)]}),{item:e})]}))]]}))],2)]})),t._v(" "),t.showTotalsInFooter?n("tfoot",[n("tr",[t._l(t.totals,(function(e,a){return n("PDataTableCellNew",{key:"total-cell-"+a,attrs:{total:"","total-in-footer":t.showTotalsInFooter,value:0===a?t.totalsRowHeading:e,"content-type":""!==e&&a>0?"numeric":t.columnContentTypes[a],"first-column":0===a,truncate:t.truncate,"vertical-align":t.verticalAlign,sortable:!1}})})),t._v(" "),t.totals.length&&t.hasActions?n("PDataTableCell",{attrs:{total:"",totalInFooter:t.showTotalsInFooter,verticalAlign:t.verticalAlign}}):t._e()],2)]):t._e()],2)]),t._v(" "),t.footerContent||t.$slots.footer?n("div",{staticClass:"Polaris-DataTable__Footer"},[t._t("footer",(function(){return[t._v("\n "+t._s(t.footerContent)+"\n ")]}))],2):t._e(),t._v(" "),t.hasPagination?n("div",{staticClass:"Polaris-DataTable__Pagination"},[n("PPagination",t._b({},"PPagination",t.pagination,!1))],1):t._e()]):n("div",[t._t("emptyState",(function(){return[n("PEmptyState",{attrs:{heading:t.emptyStateTitle,image:t.emptyStateImage}})]}))],2)],1)},staticRenderFns:[]},(function(t){t&&t("data-v-157a18b9_0",{source:".Polaris-DataTable__Pagination[data-v-157a18b9]{text-align:center;padding:1.6rem;border-top:.1rem solid #e1e3e5;border-bottom-left-radius:.4rem;border-bottom-right-radius:.4rem}",map:void 0,media:void 0})}),{name:"PDataTable",components:{PDataTableCellNew:Qu,PPagination:Bc,PFilter:vh,PSpinner:z,PEmptyState:Ch,PDataTableCell:md},props:{columnContentTypes:{type:Array,default:function(){return[]}},defaultSortDirection:r({type:String,default:"ascending"},A("defaultSortDirection",kh)),footerContent:{type:[String,Number,Object,Array]},headings:r({type:Array,default:function(){return[]}},R("headings",Ph)),rows:{type:Array,default:function(){return[[]]}},showTotalsInFooter:{type:Boolean,default:!1},totals:{type:Array,default:function(){return[]}},totalsName:r({type:Object,default:function(){return{}}},q("totalsName",Ah)),truncate:{type:Boolean,default:!1},verticalAlign:r({type:String,default:"top"},A("verticalAlign",["top","bottom","middle","baseline"])),sort:r({type:Object,default:function(){return{}}},q("sort",Sh)),hasFilter:{type:Boolean,default:!1},hasPagination:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},pagination:{type:Object,default:function(){return{}}},emptyStateTitle:{type:String,default:"No record found!"},emptyStateImage:{type:String,default:"https://cdn.shopify.com/s/files/1/0262/4071/2726/files/emptystate-files.png"},actions:{type:Array,default:function(){return[]}},ids:{type:Array,default:function(){return[]}},searchPlaceholder:{type:String,default:null}},data:function(){return{topPadding:8}},computed:{hasOldRows:function(){return this.rows.length>0&&this.rows[0].constructor===Array},hasActions:function(){return this.actions&&this.actions.length>0},resource:function(){return null!=this.searchPlaceholder?{singular:this.searchPlaceholder,plural:this.searchPlaceholder}:this.$attrs.resourceName},totalsRowHeading:function(){var t=Object.keys(this.totalsName).length>0?this.totalsName:{singular:"Total",plural:"Totals"};return this.totals.length>0&&this.totals.filter((function(t){return""!==t||o("number"!==t)})).length>1?t.plural:t.singular}},methods:{onRemoveFilter:function(t){this.$emit("filter-removed",t)},onFilterInputChanged:function(t){this.$emit("input-filter-changed",t)},handleSortChange:function(t,e){this.$emit("sort-changed",t,e)},handleDeprecations:function(){null!=this.searchPlaceholder&&console.error("Deprecation Notice: `searchPlaceholder` will be removed in version 4.0.0, use `resourceName` instead. Please check resourceName syntax here: https://polaris-vue.hulkapps.com/?path=/docs/lists-tables-filter--filter"),this.actions.length>0&&console.error("Deprecation Notice: `actions` will be removed in version 4.0.0, use `headings` with extra object. Please check new example of DataTable: https://polaris-vue.hulkapps.com/?path=/docs/lists-tables-data-table-slot--customisable-row"),this.ids.length>0&&console.error("Deprecation Notice: `ids` will be removed in version 4.0.0. Please check new example of DataTable: https://polaris-vue.hulkapps.com/?path=/docs/lists-tables-data-table-slot--customisable-row")}},mounted:function(){var t=0;if("undefined"!=typeof window&&this.$refs.hasOwnProperty("tbody")){var e=this.$refs.tbody.getBoundingClientRect(),n=Math.max(document.documentElement?document.documentElement.clientHeight:0,window.innerHeight||0),a=n-e.height,r=1===this.rows.length?28:45;t=a>0?(e.height-r)/2:(n-e.top-r)/2,t+=this.$refs.thead.getBoundingClientRect().height,this.topPadding=t>0?t:this.topPadding}this.handleDeprecations()}},"data-v-157a18b9",false,undefined,!1,Ac,void 0,void 0),Th=zh,jh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.firstColumn?n("th",{class:t.className,attrs:{scope:"row"}},[t._t("default")],2):n("td",{class:t.className},[t._t("default")],2)},staticRenderFns:[]},(function(t){t&&t("data-v-7d902277_0",{source:"th[data-v-7d902277]:last-child{text-align:right}td[data-v-7d902277]:last-child{text-align:right}td:last-child>*[data-v-7d902277]{float:right}",map:void 0,media:void 0})}),{name:"PDataTableCol",props:{firstColumn:{type:Boolean,default:!1},truncate:{type:Boolean,default:!1},numeric:{type:Boolean,default:!1},verticalAlign:r({type:String,default:"top"},A("verticalAlign",["top","bottom","middle","baseline"]))},computed:{className:function(){return g("Polaris-DataTable__Cell",this.firstColumn&&"Polaris-DataTable__Cell--firstColumn",this.firstColumn&&this.truncate&&"Polaris-DataTable__Cell--truncated",this.numeric&&"Polaris-DataTable__Cell--numeric",this.verticalAlign&&"Polaris-DataTable__Cell--".concat(m("verticalAlign",this.verticalAlign)))}}},"data-v-7d902277",false,undefined,!1,Ac,void 0,void 0),Eh=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("tr",{staticClass:"Polaris-DataTable__TableRow"},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PDataTableRow"},"data-v-7a1bfd8a",false,undefined,!1,void 0,void 0,void 0),Oh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"Polaris-SkeletonBodyText__SkeletonBodyTextContainer"},t._l(t.lines,(function(t,e){return n("div",{key:e,staticClass:"Polaris-SkeletonBodyText"})})),0)},staticRenderFns:[]},undefined,{name:"PSkeletonBodyText",props:{lines:{type:Number,default:3}}},undefined,false,undefined,!1,void 0,void 0,void 0),Lh=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:t.className})},staticRenderFns:[]},undefined,{name:"PSkeletonDisplayText",props:{size:r({type:String,default:"medium"},A("size",["small","medium","large","extraLarge"]))},computed:{className:function(){return g("Polaris-SkeletonDisplayText__DisplayText",this.size&&"Polaris-SkeletonDisplayText--".concat(m("size",this.size)))}}},undefined,false,undefined,!1,void 0,void 0,void 0),Bh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className,attrs:{role:"status","aria-label":"Page loading"}},[n("div",{staticClass:"Polaris-SkeletonPage__Header"},[t.breadcrumbs?n("div",{staticClass:"Polaris-SkeletonPage__BreadcrumbAction",staticStyle:{width:"60px"}},[n("PSkeletonBodyText",{attrs:{lines:1}})],1):t._e(),t._v(" "),n("div",{staticClass:"Polaris-SkeletonPage__TitleAndPrimaryAction"},[n("div",{staticClass:"Polaris-SkeletonPage__TitleWrapper"},[null!==t.title?n("h1",{staticClass:"Polaris-SkeletonPage__Title"},[t._v("\n "+t._s(t.title)+"\n ")]):n("div",{staticClass:"Polaris-SkeletonPage__SkeletonTitle"})]),t._v(" "),t.primaryAction?n("div",{staticClass:"Polaris-SkeletonPage__PrimaryAction"},[n("PSkeletonDisplayText",{attrs:{size:"large"}})],1):t._e()]),t._v(" "),0!==t.secondaryActions?n("div",{staticClass:"Polaris-SkeletonPage__Actions"},t._l(t.renderSecondaryActions(t.secondaryActions),(function(t){return n("div",{key:t.key,staticClass:"Polaris-SkeletonPage__Action",style:t.width},[n("PSkeletonBodyText",{attrs:{lines:1}})],1)})),0):t._e()]),t._v(" "),n("div",{staticClass:"Polaris-SkeletonPage__Content"},[t._t("default")],2)])},staticRenderFns:[]},undefined,{name:"PSkeletonPage",components:{PSkeletonBodyText:Oh,PSkeletonDisplayText:Lh},props:{title:{type:String,default:null},fullWidth:{type:Boolean,default:!1},narrowWidth:{type:Boolean,default:!1},primaryAction:{type:Boolean,default:!1},secondaryActions:{type:Number},breadcrumbs:{type:Boolean,default:!1}},computed:{className:function(){return g("Polaris-SkeletonPage__Page",this.fullWidth&&"Polaris-SkeletonPage--fullWidth",this.narrowWidth&&"Polaris-SkeletonPage--narrowWidth")}},methods:{renderSecondaryActions:function(t){if("number"==typeof t){for(var e=[],n=0;n<t;n++){var a=Math.round(40*Math.random()+60);e.push({width:{width:"".concat(a,"px")},key:n})}return e}}}},"data-v-538661fa",false,undefined,!1,void 0,void 0,void 0),Hh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a",{staticClass:"button",class:["button-"+t.variant,{disabled:t.disabled,"button-fullwidth":t.fullWidth,loading:t.loading}],attrs:{href:"#"},on:{click:t.handleClick}},[t.loading?n("div",{staticClass:"Polaris-Spinner Polaris-Spinner--sizeSmall"},[n("svg",{attrs:{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M7.229 1.173a9.25 9.25 0 1011.655 11.412 1.25 1.25 0 10-2.4-.698 6.75 6.75 0 11-8.506-8.329 1.25 1.25 0 10-.75-2.385z"}})])]):t._e(),t._v(" "),n("div",{class:{invisible:t.loading}},[t._t("default")],2),t._v(" "),t.additionalText?n("span",{class:["additional-info-"+t.variant,{invisible:t.loading}]},[t._v("\n "+t._s(t.translateMe(t.additionalText))+"\n ")]):t._e()])},staticRenderFns:[]},(function(t){t&&t("data-v-1509223a_0",{source:".button[data-v-1509223a]{display:flex;width:fit-content!important;justify-content:center;height:28px!important;align-items:center!important;gap:8px!important;padding:4px 12px!important;text-decoration:none!important;font-size:13px!important;font-weight:450!important;color:#4a4a4a;position:relative}.button[data-v-1509223a]:hover{background-color:#0000000d!important;border-radius:8px!important}.button-primary[data-v-1509223a]{padding:6px 12px;background-color:#303030;background-image:linear-gradient(#30303000 63.53%,#ffffff26);color:#fff;border-bottom-color:#fff;border-radius:8px;text-decoration:none;font-size:13px;font-weight:650;box-shadow:#000000cc 0 -1px 0 1px inset,#303030 0 0 0 1px inset,#ffffff40 0 .5px 0 1.5px inset}.button-primary[data-v-1509223a]:hover{background-color:#1a1a1a!important}.button-primary.disabled[data-v-1509223a],.button-primary[data-v-1509223a]:active,.button-secondary.disabled[data-v-1509223a],.button-secondary[data-v-1509223a]:active{background-color:#ccc!important;box-shadow:0 2px 1px 0 #1a1a1a33 inset}.button-secondary[data-v-1509223a]{background-color:#fff!important;color:#000!important;border-radius:8px!important;box-shadow:#e3e3e3 0 1px 0 0 inset,#e3e3e3 1px 0 0 0 inset,#e3e3e3 -1px 0 0 0 inset,#b5b5b5 0 -1px 0 0 inset}.button-secondary[data-v-1509223a]:hover{background-color:#fafafa!important}.button.button-fullwidth[data-v-1509223a]{width:100%!important}.additional-info-primary[data-v-1509223a]{background-color:rgba(0,0,0,.06)!important;color:#616161!important;padding:0 6px!important;border-radius:8px!important;font-size:13px!important;font-weight:550!important}.additional-info-secondary[data-v-1509223a]{background-color:rgba(0,0,0,.06)!important;color:#616161!important;padding:0 6px!important;border-radius:8px!important;font-weight:550!important}.disabled[data-v-1509223a]{background-color:rgba(0,0,0,.15)!important;font-size:13px!important;font-weight:450!important;color:#4a4a4a!important;cursor:not-allowed!important;pointer-events:none!important}.invisible[data-v-1509223a]{visibility:hidden}.loading[data-v-1509223a]{cursor:wait!important;position:relative}.Polaris-Spinner[data-v-1509223a]{animation:spin-data-v-1509223a 1s linear infinite;width:20px;height:20px;position:absolute}.Polaris-Spinner svg[data-v-1509223a]{fill:currentColor}.button-primary .Polaris-Spinner svg[data-v-1509223a]{fill:#fff}.button-secondary .Polaris-Spinner svg[data-v-1509223a]{fill:#000}@keyframes spin-data-v-1509223a{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.Polaris-Spinner[data-v-1509223a]{animation:spin-data-v-1509223a .5s linear infinite,fade-data-v-1509223a 320ms ease-in}@keyframes fade-data-v-1509223a{from{opacity:0}to{opacity:1}}",map:void 0,media:void 0})}),{name:"VariantButton",props:{variant:{type:String,required:!0,default:function(){return"primary"}},additionalText:{type:String,required:!1},getPlanUrl:{type:Function,required:!1},plan:{type:Object,required:!1},disabled:{type:Boolean,required:!1,default:!1},fullWidth:{type:Boolean,required:!1,default:!1},loading:{type:Boolean,required:!1,default:!1}},methods:{handleClick:function(t){t.preventDefault(),this.$emit("click",t)},handlePlanClick:function(t){t.preventDefault(),this.$emit("plan-clicked",t)},translateMe:function(t){return this.$translations.hasOwnProperty(t)?this.$translations[t]:t}}},"data-v-1509223a",false,undefined,!1,Ac,void 0,void 0),Nh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"app-card"},[n("div",{staticClass:"logo"},[n("img",{staticClass:"logo-image",attrs:{src:t.appData.app_logo_url,alt:"logo",width:"auto",height:"auto"}})]),t._v(" "),n("div",{staticClass:"details"},[n("div",{staticClass:"upper-details"},[n("h3",{staticClass:"app-name"},[t._v("\n "+t._s(t.translateMe(t.appData.app_name))+"\n ")]),t._v(" "),t.appData.app_bundle_details.built_for_shopify?n("div",{staticClass:"app-tags"},[n("span",{staticClass:"app-tag bfs-tag"},[n("svg",{attrs:{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_61_2350)"}},[n("path",{attrs:{d:"M13 0L12 5L8 14L16 4.5L13 0ZM3 0L4 5L8 14L0 4.5L3 0Z",fill:"#1495CC"}}),t._v(" "),n("path",{attrs:{d:"M3 0L4 5L8 14L12 5L13 0H3Z",fill:"#58B7DF"}}),t._v(" "),n("path",{attrs:{d:"M8 14L4 5L0 4.5L8 14ZM8 14L12 5L16 4.5L8 14Z",fill:"#035F86"}}),t._v(" "),n("path",{attrs:{d:"M8 5.5L4 5L8 14L12 5L8 5.5Z",fill:"#1495CC"}}),t._v(" "),n("path",{attrs:{d:"M4 5L8 0L12 5L7.999 5.5L4 5Z",fill:"#A9DEF4"}}),t._v(" "),n("path",{attrs:{d:"M4 5L3 0H8L4 5ZM12 5L13 0H8L12 5Z",fill:"#58B7DF"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_61_2350"}},[n("rect",{attrs:{width:"16",height:"14",fill:"white"}})])])]),t._v("\n "+t._s(t.translateMe("Built For Shopify"))+"\n ")])]):t._e(),t._v(" "),n("p",{staticClass:"app-reviews-count"},[t._v("\n "+t._s(t.appData.app_bundle_details.reviews)+"\n "+t._s(t.translateMe("Reviews"))+"\n ")]),t._v(" "),n("div",{staticClass:"app-tags"},t._l(t.appData.app_bundle_details.shopify_categories,(function(e){return n("span",{staticClass:"app-tag"},[n("svg",{attrs:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M9.99998 14C9.58577 14 9.24999 13.6642 9.25 13.25L9.25006 9.74999C9.25007 9.33577 9.58586 8.99999 10.0001 9C10.4143 9.00001 10.7501 9.3358 10.7501 9.75001L10.75 13.25C10.75 13.6642 10.4142 14 9.99998 14Z",fill:"#0094D5"}}),t._v(" "),n("path",{attrs:{d:"M9 7C9 6.44772 9.44772 6 10 6C10.5523 6 11 6.44772 11 7C11 7.55228 10.5523 8 10 8C9.44772 8 9 7.55228 9 7Z",fill:"#0094D5"}}),t._v(" "),n("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10ZM15.5 10C15.5 13.0376 13.0376 15.5 10 15.5C6.96243 15.5 4.5 13.0376 4.5 10C4.5 6.96243 6.96243 4.5 10 4.5C13.0376 4.5 15.5 6.96243 15.5 10Z",fill:"#0094D5"}})]),t._v("\n "+t._s(t.translateMe(e))+"\n ")])})),0)]),t._v(" "),n("div",{staticClass:"lower-details"},t._l(t.appData.app_bundle_details.features,(function(e){return n("span",{staticClass:"featured-options"},[n("svg",{attrs:{width:"4",height:"4",viewBox:"0 0 4 4",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("rect",{attrs:{width:"4",height:"4",rx:"2",fill:"black"}})]),t._v("\n "+t._s(t.translateMe(e)))])})),0)]),t._v(" "),n("div",{staticClass:"install-app-div"},[n("a",{staticClass:"button-link install-app-button",attrs:{href:t.appData.app_shopify_store_link,target:"_blank"}},[t._v("\n "+t._s(t.translateMe("Install App"))+"\n ")])])]),t._v(" "),t._t("default")],2)},staticRenderFns:[]},(function(t){t&&t("data-v-6341775a_0",{source:".app-card[data-v-6341775a]{display:flex;padding:16px;background-color:#fff;box-shadow:0 4px 6px -1px rgb(0 0 0 / .1),0 2px 4px -2px rgb(0 0 0 / .1);border-radius:12px;gap:16px;align-items:center}.logo[data-v-6341775a],.logo-image[data-v-6341775a]{width:40px;height:40px;border-radius:4px}.lower-details[data-v-6341775a]{margin-top:8px}.lower-details[data-v-6341775a],.upper-details[data-v-6341775a]{display:flex;flex-wrap:wrap;row-gap:2px;column-gap:8px}.app-name[data-v-6341775a]{font-size:14px;font-weight:650;line-height:20px}.app-reviews-count[data-v-6341775a]{font-size:13px;font-weight:400;line-height:20px;color:#5c5c5c}.app-tag[data-v-6341775a]{background-color:#e0f0ff;width:fit-content;margin-right:12px;padding:3px 4px;border-radius:8px;font-size:12px;color:#00527c;line-height:12px;font-weight:550;text-decoration:none;white-space:nowrap}.app-tag>svg[data-v-6341775a]{margin-bottom:-5.5px}.bfs-tag[data-v-6341775a]{margin-right:0;margin-bottom:0!important}.bfs-tag>svg[data-v-6341775a]{margin-bottom:-3px}.app-option-type-count[data-v-6341775a],.featured-options[data-v-6341775a]{display:flex;gap:4px;align-items:center;font-size:13px;font-weight:450;line-height:20px;text-wrap:nowrap;color:#5c5c5c}.install-app-div[data-v-6341775a]{margin-left:auto;display:flex;align-items:center;white-space:nowrap}.install-app-button[data-v-6341775a]{display:flex;width:fit-content!important;height:28px!important;align-items:center!important;gap:8px!important;padding:4px 12px!important;text-decoration:none!important;font-size:13px!important;font-weight:450!important;background-color:rgba(0,0,0,.08)!important;color:#303030!important;border-radius:8px!important;border:none;font-family:-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif}.install-app-button[data-v-6341775a]:hover{background-color:rgba(0,0,0,.05)!important;border-radius:8px!important}.button-link[data-v-6341775a]{text-decoration:none}@media (max-width:767px){.featured-options[data-v-6341775a]{text-wrap:wrap}.details[data-v-6341775a]{gap:8px}.app-tags[data-v-6341775a]{display:flex;flex-direction:column;gap:8px;margin-bottom:8px}.lower-details[data-v-6341775a],.upper-details[data-v-6341775a]{flex-direction:column;flex-wrap:wrap;row-gap:2px;column-gap:8px}.install-app-div[data-v-6341775a]{justify-content:flex-start;width:100%;margin-top:12px}.install-app-button[data-v-6341775a]{width:100%;justify-content:center}.app-card[data-v-6341775a]{flex-direction:column;justify-content:center}.logo[data-v-6341775a]{justify-content:flex-start;width:100%}}",map:void 0,media:void 0})}),{name:"AppCard",components:{VariantButton:Hh},props:{appData:{type:Object,required:!1,default:function(){return{app_name:"Releasit Form & Upsell",app_logo_url:"https://cdn.shopify.com/app-store/listing_images/59ff1b17b1415cf11af2ee0a00c68334/icon/CKKYs5695_ICEAE=.png",app_reviews_count:"3,881",app_tags:[{tag_name:"Cash/collect on delivery (COD)",tag_ext_url:"#"},{tag_name:"Upselling and cross-selling",tag_ext_url:"#"}],app_bfs:!1,app_option_types_count:"12",app_featured_option_types:["Dynamic Checkout Button","Color/Image Swatches","Color/Image Swatches"]}}}},methods:{translateMe:function(t){return this.$translations.hasOwnProperty(t)?this.$translations[t]:t}}},"data-v-6341775a",false,undefined,!1,Ac,void 0,void 0),Rh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"bundle-plan-showcase-banner banner-card"},[n("div",{class:["banner__inner",this.fullWidth?"full-width":""]},[t.showDescription?n("div",{staticClass:"plan-left"},[n("p",{staticClass:"bundle-offer-label"},[t._v("\n "+t._s(t.translateMe("Bundle Offer"))+"\n ")]),t._v(" "),n("p",{staticClass:"bundle-desc-label"},[t._v("\n "+t._s(t.translateMe("Get"))+"\n "+t._s(t.bundleApps)+"\n "+t._s(t.translateMe("Shopify apps and save more than"))+"\n "),n("strong",[t._v(t._s(t.translateMe("$1000")))]),t._v("\n "+t._s(t.translateMe("per month!"))+"\n ")])]):t._e(),t._v(" "),n("div",{staticClass:"plan-right"},[n("h3",{staticClass:"plan-name"},[t._v(t._s(t.translateMe("Monthly Bundle:")))]),t._v(" "),n("div",{staticClass:"prices"},[n("span",{staticClass:"discounted-amount"},[t._v("$"+t._s(t.translateMe(t.realPrice)))]),t._v(" "),t.realPrice<t.oldPrice?n("span",{staticClass:"original-amount"},[t._v("$"+t._s(t.translateMe(t.oldPrice)))]):t._e()]),t._v(" "),t.isCurrentPlan?t._e():n("VariantButton",{attrs:{id:"choose-bundle",buttonData:{button_url:t.showcaseData.button_url},variant:"primary"},on:{click:t.handlePlanClick}},[t._v("\n "+t._s(t.translateMe("Choose this plan"))+"\n ")]),t._v(" "),t.isCurrentPlan?n("VariantButton",{attrs:{buttonData:{button_url:t.showcaseData.button_url},disabled:!0,variant:"primary"},on:{click:t.handlePlanClick}},[t._v("\n "+t._s(t.translateMe("Current Plan"))+"\n ")]):t._e()],1)])])},staticRenderFns:[]},(function(t){t&&t("data-v-7f01bf09_0",{source:".banner-card[data-v-7f01bf09]{display:flex;padding:16px;background-color:#fff;box-shadow:0 4px 6px -1px rgb(0 0 0 / .1),0 2px 4px -2px rgb(0 0 0 / .1);gap:16px}.bundle-plan-showcase-banner[data-v-7f01bf09]{display:none;justify-content:space-between;align-items:center;width:100%;margin-top:32px;position:sticky;top:0}.banner__inner[data-v-7f01bf09]{display:flex;justify-content:space-between;align-items:center;max-width:998px;width:100%;margin-left:auto;margin-right:auto;padding:0 32px}.banner__inner.full-width[data-v-7f01bf09]{max-width:calc(100% - 200px);padding:0 16px}.plan-name[data-v-7f01bf09]{font-size:14px;font-weight:450;color:#303030}.plan-left[data-v-7f01bf09]{flex:1}.plan-right[data-v-7f01bf09]{display:flex;align-items:center;gap:12px}.prices[data-v-7f01bf09]{display:flex;gap:8px}.bundle-offer-label[data-v-7f01bf09]{font-size:20px;font-weight:600;color:#202223;margin-bottom:4px}.bundle-desc-label[data-v-7f01bf09]{font-size:14px;font-weight:450;color:#303030}.discounted-amount[data-v-7f01bf09]{font-size:30px;font-weight:700;color:#303030}.original-amount[data-v-7f01bf09]{text-decoration:line-through;color:#616161;font-size:14px;font-weight:650}.choose-button[data-v-7f01bf09]{padding:6px 12px;background-color:#303030;background-image:linear-gradient(rgba(48,48,48,0) 63.53%,rgba(255,255,255,.15)),none;color:#fff;border-bottom-color:#fff;box-shadow:rgba(0,0,0,.8) 0 -1px 0 1px inset,#303030 0 0 0 1px inset,rgba(255,255,255,.25) 0 .5px 0 1.5px inset;border-radius:8px;text-decoration:none;font-size:13px;font-weight:650}@media (max-width:767px){.bundle-plan-showcase-banner[data-v-7f01bf09]{flex-direction:column;gap:12px}.bundle-plan-showcase-banner[data-v-7f01bf09]{align-items:unset}.choose-button[data-v-7f01bf09]{margin-right:0;margin-left:auto}}@media (max-width:480px){.plan-right[data-v-7f01bf09]{flex-direction:column;gap:8px;align-items:unset}.bundle-plan-showcase-banner[data-v-7f01bf09]{flex-direction:column;gap:12px}.bundle-plan-showcase-banner[data-v-7f01bf09]{align-items:unset}.choose-button[data-v-7f01bf09]{margin-right:auto;margin-left:0}}",map:void 0,media:void 0})}),{name:"PlanShowcaseBanner",components:{VariantButton:Hh},props:{showcaseData:{type:Object,required:!1},realPrice:{type:String,required:!1},oldPrice:{type:Number,required:!1},showDescription:{type:Boolean,required:!1,default:!0},getPlanUrl:{type:Function,required:!1},plan:{type:Object,required:!1},isCurrentPlan:{type:Boolean,required:!1,default:!1},useCardStyle:{type:Boolean,required:!1,default:!1},fullWidth:{type:Boolean,required:!1,default:!1},bundleApps:{type:Number,required:!1,default:18}},methods:{handlePlanClick:function(){this.$emit("plan-clicked")},translateMe:function(t){return this.$translations.hasOwnProperty(t)?this.$translations[t]:t}}},"data-v-7f01bf09",false,undefined,!1,Ac,void 0,void 0),Vh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"category-heading"},[n("h4",{staticClass:"category-name"},[t._v("\n "+t._s(t.translateMe(t.headingData.category_name))+"\n "),null!=t.headingData.apps_relation?n("span",[t._v("\n ("+t._s(t.translateMe(t.headingData.apps_relation.length))+")\n ")]):t._e()]),t._v(" "),n("p",{staticClass:"category-description"},[t._v("\n "+t._s(t.translateMe(t.headingData.category_description))+"\n ")])])])},staticRenderFns:[]},(function(t){t&&t("data-v-074da4e0_0",{source:'.category-heading[data-v-074da4e0]{display:flex;flex-direction:column;align-items:left;gap:4px}.category-name[data-v-074da4e0]{font-size:13px;font-weight:750;line-height:20px;color:#000}.category-description[data-v-074da4e0]{font-size:12px;font-weight:450;font-variation-settings:"slnt" 0;color:#303030}',map:void 0,media:void 0})}),{name:"CategoryHeading",props:{headingData:{type:Object,required:!1,default:function(){return{category_name:"Bestsellers",category_description:"Make a big impact with our top-selling apps."}}}},methods:{translateMe:function(t){return this.$translations.hasOwnProperty(t)?this.$translations[t]:t}}},"data-v-074da4e0",false,undefined,!1,Ac,void 0,void 0),Ih=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"benefits-banner"},[n("div",{staticClass:"benefits"},[n("div",{staticClass:"benefit"},[n("svg",{attrs:{width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M36.9252 7.89245C31.5107 7.03095 26.2752 5.28311 21.429 2.71936C21.2959 2.66188 21.1517 2.63437 21.0068 2.63861C20.862 2.64284 20.7201 2.67899 20.5907 2.74414C15.73 5.27913 10.4938 7.01723 5.08209 7.89245C4.88445 7.9328 4.70678 8.03996 4.57922 8.19622C4.45166 8.35248 4.38179 8.54822 4.38184 8.74994V19.0555C4.38184 33.164 18.0004 38.4196 20.7304 39.3296C20.9099 39.3894 21.1042 39.3894 21.2837 39.3296C24.0137 38.4196 37.6318 33.164 37.6318 19.0555V8.74994C37.6316 8.54724 37.5613 8.35091 37.4323 8.19452C37.3034 8.03812 37.1241 7.93137 36.9252 7.89245ZM35.875 19.0555C35.875 31.5453 24.0572 36.5031 21 37.5758C17.9427 36.5031 6.125 31.5453 6.125 19.0555V9.46557C11.3183 8.57406 16.3444 6.8923 21.0282 4.47833C25.6889 6.89995 30.6975 8.58227 35.875 9.46557V19.0555ZM19.4252 13.2458L17.8499 16.4446L14.1453 16.98C13.8312 17.025 13.5361 17.1576 13.2933 17.3619C13.0506 17.5662 12.8701 17.8344 12.7721 18.1361C12.6741 18.4378 12.6625 18.7608 12.7388 19.0688C12.8151 19.3767 12.976 19.657 13.2036 19.878L15.8654 22.421L15.2565 25.9611C15.2007 26.2841 15.2366 26.6163 15.3604 26.9199C15.4841 27.2234 15.6906 27.4859 15.9564 27.6778C16.2215 27.8739 16.5367 27.991 16.8655 28.0157C17.1944 28.0405 17.5234 27.9721 17.8149 27.8179L20.9842 26.1414L24.1971 27.8179C24.4501 27.9495 24.7309 28.0185 25.0161 28.0192C25.3894 28.0196 25.753 27.9004 26.0539 27.6795C26.3203 27.4886 26.5273 27.2267 26.6512 26.9233C26.775 26.6199 26.8109 26.2873 26.7542 25.9645L26.1274 22.4645L28.8049 19.8746C29.0325 19.6535 29.1939 19.3733 29.2702 19.0654C29.3465 18.7574 29.3349 18.434 29.2369 18.1323C29.1388 17.8305 28.9579 17.5624 28.7152 17.3581C28.4725 17.1538 28.1777 17.0216 27.8637 16.9766L24.1885 16.469L22.5855 13.2441C22.4244 12.9679 22.1938 12.7386 21.9164 12.5793C21.6391 12.4201 21.3245 12.3365 21.0047 12.3367C20.6849 12.3368 20.3706 12.4207 20.0934 12.5802C19.8162 12.7397 19.586 12.9694 19.4252 13.2458ZM21.0124 14.0243L22.6171 17.2513C22.7404 17.4973 22.9209 17.71 23.1439 17.8712C23.3669 18.0324 23.6258 18.1373 23.898 18.1771L27.5732 18.6197L24.8956 21.208C24.6962 21.3998 24.5467 21.638 24.4607 21.901C24.3746 22.164 24.3547 22.444 24.4022 22.7166L24.9969 26.264L21.784 24.5892C21.541 24.4621 21.2709 24.3957 20.9966 24.3957C20.7223 24.3957 20.4522 24.4621 20.2092 24.5892L16.98 26.2568L17.5927 22.7166C17.6395 22.4441 17.6188 22.1645 17.5325 21.9019C17.4461 21.6392 17.2969 21.4017 17.0975 21.2101L14.3956 18.7108L18.102 18.1754C18.3742 18.136 18.6329 18.0312 18.8557 17.8699C19.0785 17.7087 19.2587 17.4958 19.3812 17.2496L21.0051 14.0175L21.0124 14.0243Z",fill:"black"}})]),t._v(" "),n("p",{staticClass:"benefit-description"},[n("strong",[t._v("\n "+t._s(t.translateMe("Unlimited"))+"\n ")]),t._v("\n "+t._s(t.translateMe("Access to Enterprise Features"))+"\n ")])]),t._v(" "),n("div",{staticClass:"benefit"},[n("svg",{attrs:{width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_96_352)"}},[n("path",{attrs:{d:"M35.9957 27.5818C35.5024 27.2981 34.942 27.1525 34.373 27.1599C33.804 27.1672 33.2474 27.3275 32.7617 27.6238L28.8173 29.9897C28.6688 29.1852 28.243 28.4582 27.6142 27.9349C26.9854 27.4115 26.1931 27.1249 25.375 27.125H15.75C14.6184 27.1241 13.5307 27.5633 12.7172 28.3499C12.481 27.9753 12.1538 27.6665 11.7661 27.4523C11.3785 27.2381 10.9429 27.1256 10.5 27.125H7C6.30381 27.125 5.63611 27.4016 5.14383 27.8939C4.65155 28.3861 4.375 29.0538 4.375 29.75V36.75C4.375 37.4462 4.65155 38.1139 5.14383 38.6062C5.63611 39.0985 6.30381 39.375 7 39.375H10.5C10.9429 39.3745 11.3785 39.2619 11.7661 39.0478C12.1538 38.8336 12.481 38.5248 12.7172 38.1501C13.5307 38.9368 14.6184 39.376 15.75 39.375H25.55C27.3377 39.3729 29.0719 38.7647 30.4693 37.6496L36.4193 32.8843C36.8288 32.5561 37.1516 32.1325 37.3597 31.6506C37.5677 31.1688 37.6546 30.6434 37.6126 30.1202C37.5707 29.5971 37.4011 29.0922 37.1189 28.6497C36.8368 28.2071 36.4523 27.8405 35.9957 27.5818ZM11.375 31.5V36.75C11.375 36.9821 11.2827 37.2046 11.1187 37.3687C10.9546 37.5328 10.7321 37.625 10.5 37.625H7C6.76794 37.625 6.54544 37.5328 6.38135 37.3687C6.21725 37.2046 6.125 36.9821 6.125 36.75V29.75C6.125 29.518 6.21725 29.2955 6.38135 29.1314C6.54544 28.9673 6.76794 28.875 7 28.875H10.5C10.7321 28.875 10.9546 28.9673 11.1187 29.1314C11.2827 29.2955 11.375 29.518 11.375 29.75V31.5ZM35.3273 31.5175L29.3772 36.2828C28.2909 37.1505 26.942 37.6237 25.5517 37.625H15.75C15.0538 37.625 14.3861 37.3485 13.8938 36.8562C13.4015 36.3639 13.125 35.6962 13.125 35V31.5C13.125 30.8038 13.4015 30.1361 13.8938 29.6439C14.3861 29.1516 15.0538 28.875 15.75 28.875H25.375C25.8391 28.875 26.2843 29.0593 26.6125 29.3875C26.9407 29.7157 27.125 30.1609 27.125 30.625C27.125 31.0892 26.9407 31.5344 26.6125 31.8625C26.2843 32.1907 25.8391 32.375 25.375 32.375H19.25C19.0179 32.375 18.7954 32.4673 18.6313 32.6314C18.4673 32.7955 18.375 33.018 18.375 33.25C18.375 33.4821 18.4673 33.7046 18.6313 33.8687C18.7954 34.0328 19.0179 34.125 19.25 34.125H25.375C26.0174 34.1249 26.6472 33.9479 27.1957 33.6136C27.7442 33.2793 28.1902 32.8006 28.4847 32.2298L33.6595 29.1235C33.9773 28.9361 34.354 28.8757 34.7144 28.9543C35.0748 29.0329 35.3922 29.2448 35.6031 29.5475C35.8139 29.8502 35.9027 30.2213 35.8515 30.5866C35.8003 30.9519 35.6132 31.2844 35.3273 31.5175ZM21.0088 10.5C21.7875 10.5 22.5487 10.2692 23.1963 9.83652C23.8438 9.40386 24.3485 8.78891 24.6465 8.06943C24.9446 7.34994 25.0226 6.55814 24.8706 5.79434C24.7187 5.03054 24.3436 4.32905 23.7929 3.77838C23.2422 3.22771 22.5407 2.85258 21.7769 2.70065C21.0131 2.54872 20.2213 2.62672 19.5019 2.92474C18.7824 3.22276 18.1674 3.72751 17.7348 4.37503C17.3021 5.02255 17.0713 5.78377 17.0713 6.56253C17.0726 7.60639 17.488 8.60706 18.2261 9.34518C18.9642 10.0833 19.9649 10.4986 21.0088 10.5ZM21.0088 4.37503C21.4414 4.37503 21.8643 4.50338 22.2241 4.74374C22.5838 4.98411 22.8641 5.32563 23.0296 5.72534C23.1952 6.12506 23.2386 6.56502 23.1542 6.98935C23.0698 7.41368 22.8615 7.80345 22.5556 8.10938C22.2497 8.4153 21.8599 8.62354 21.4356 8.70795C21.0112 8.79235 20.5713 8.74919 20.1716 8.58362C19.7719 8.41805 19.4303 8.13757 19.19 7.77783C18.9496 7.4181 18.8213 6.99518 18.8213 6.56253C18.8222 5.98265 19.0529 5.42679 19.463 5.01675C19.873 4.60672 20.4289 4.37596 21.0088 4.37503ZM17.5088 21.875H24.5088C24.9793 21.9251 25.455 21.8696 25.9014 21.7125C26.3477 21.5553 26.7533 21.3006 27.0887 20.9667C27.424 20.6329 27.6806 20.2282 27.8398 19.7826C27.9989 19.337 28.0567 18.8616 28.0088 18.3908C28.0566 17.6883 27.9538 16.9836 27.7071 16.324C27.4604 15.6645 27.0757 15.0654 26.5786 14.5668C26.0814 14.0681 25.4833 13.6815 24.8245 13.4329C24.1657 13.1842 23.4614 13.0793 22.7588 13.125H19.2588C18.5561 13.0793 17.8518 13.1842 17.193 13.4329C16.5342 13.6815 15.9361 14.0681 15.439 14.5668C14.9418 15.0654 14.5571 15.6645 14.3104 16.324C14.0637 16.9836 13.9609 17.6883 14.0088 18.3908C13.961 18.8608 14.0186 19.3353 14.1773 19.7802C14.336 20.2252 14.5917 20.6292 14.9261 20.9629C15.2604 21.2965 15.6649 21.5515 16.1102 21.7093C16.5554 21.867 17.0302 21.9237 17.5 21.875H17.5088ZM19.2588 14.875H22.7588C23.229 14.8388 23.7015 14.9049 24.1437 15.069C24.5858 15.2331 24.9871 15.4912 25.3199 15.8254C25.6526 16.1597 25.9089 16.5622 26.071 17.0051C26.2331 17.448 26.2971 17.9208 26.2588 18.3908C26.2588 19.6386 25.7688 20.125 24.5088 20.125H17.5088C16.247 20.125 15.7588 19.6386 15.7588 18.3908C15.7131 17.9199 15.7718 17.4447 15.9307 16.9991C16.0897 16.5535 16.345 16.1483 16.6784 15.8126C17.0118 15.4769 17.415 15.2189 17.8595 15.0568C18.304 14.8948 18.7788 14.8327 19.25 14.875H19.2588Z",fill:"black"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_96_352"}},[n("rect",{attrs:{width:"42",height:"42",fill:"white"}})])])]),t._v(" "),n("p",{staticClass:"benefit-description"},[n("strong",[t._v(t._s(t.translateMe("24/7")))]),t._v(t._s(t.translateMe("Live Chat & Email Support"))+"\n "),n("strong",[t._v("+ "+t._s(t.translateMe("Priority Status")))])])]),t._v(" "),n("div",{staticClass:"benefit"},[n("svg",{attrs:{width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_70_2551)"}},[n("path",{attrs:{d:"M39.9 14.0001H33.6V2.10027C33.6 0.940631 32.6598 0.000488281 31.5002 0.000488281H2.10039C0.940753 0.000488281 0.000610352 0.940631 0.000610352 2.10027V28.7002C0.000610352 29.8598 0.940753 30.7999 2.10039 30.7999H7.00041V39.8998C7.00041 41.0598 7.94055 41.9999 9.10051 41.9999H39.9C41.0599 41.9999 42.0001 41.0598 42.0001 39.8998V16.1002C42.0001 14.9406 41.0599 14.0001 39.9 14.0001ZM27.3003 14.0001C26.9136 14.0001 26.6002 14.3135 26.6002 14.7002C26.6002 15.0867 26.9136 15.4001 27.3003 15.4001H39.9C40.2867 15.4001 40.6001 15.7138 40.6001 16.1002V19.6003H27.3003C26.9136 19.6003 26.6002 19.9136 26.6002 20.3001C26.6002 20.6868 26.9136 21.0002 27.3003 21.0002H40.6001V34.9998H8.40037V21.0002H21.7002C22.0869 21.0002 22.4003 20.6868 22.4003 20.3001C22.4003 19.9136 22.0869 19.6003 21.7002 19.6003H8.40037V16.1002C8.40037 15.7138 8.71375 15.4001 9.10051 15.4001H21.7002C22.0869 15.4001 22.4003 15.0867 22.4003 14.7002C22.4003 14.3135 22.0869 14.0001 21.7002 14.0001H9.10051C7.94055 14.0001 7.00041 14.9406 7.00041 16.1002V23.8001H1.40057V7.00029H32.2V14.0001H27.3003ZM2.10039 1.40045H31.5002C31.8866 1.40045 32.2 1.71383 32.2 2.10027V5.60033H1.40057V2.10027C1.40057 1.71383 1.71395 1.40045 2.10039 1.40045ZM2.10039 29.4C1.71395 29.4 1.40057 29.0866 1.40057 28.7002V25.2001H7.00041V29.4H2.10039ZM39.9 40.6H9.10051C8.71375 40.6 8.40037 40.2866 8.40037 39.8998V36.3998H40.6001V39.8998C40.6001 40.2866 40.2867 40.6 39.9 40.6Z",fill:"black"}}),t._v(" "),n("path",{attrs:{d:"M11.2003 17.5001C11.2003 17.8869 10.8869 18.2003 10.5004 18.2003C10.1137 18.2003 9.80029 17.8869 9.80029 17.5001C9.80029 17.1137 10.1137 16.8003 10.5004 16.8003C10.8869 16.8003 11.2003 17.1137 11.2003 17.5001Z",fill:"black"}}),t._v(" "),n("path",{attrs:{d:"M14.0005 17.5001C14.0005 17.8869 13.6868 18.2003 13.3004 18.2003C12.9139 18.2003 12.6002 17.8869 12.6002 17.5001C12.6002 17.1137 12.9139 16.8003 13.3004 16.8003C13.6868 16.8003 14.0005 17.1137 14.0005 17.5001Z",fill:"black"}}),t._v(" "),n("path",{attrs:{d:"M16.8005 17.5001C16.8005 17.8869 16.4871 18.2003 16.1003 18.2003C15.7139 18.2003 15.4005 17.8869 15.4005 17.5001C15.4005 17.1137 15.7139 16.8003 16.1003 16.8003C16.4871 16.8003 16.8005 17.1137 16.8005 17.5001Z",fill:"black"}}),t._v(" "),n("path",{attrs:{d:"M4.2005 3.5006C4.2005 3.88736 3.88712 4.20074 3.50068 4.20074C3.11392 4.20074 2.80054 3.88736 2.80054 3.5006C2.80054 3.11416 3.11392 2.80078 3.50068 2.80078C3.88712 2.80078 4.2005 3.11416 4.2005 3.5006Z",fill:"black"}}),t._v(" "),n("path",{attrs:{d:"M7.00042 3.5006C7.00042 3.88736 6.68704 4.20074 6.3006 4.20074C5.91384 4.20074 5.60046 3.88736 5.60046 3.5006C5.60046 3.11416 5.91384 2.80078 6.3006 2.80078C6.68704 2.80078 7.00042 3.11416 7.00042 3.5006Z",fill:"black"}}),t._v(" "),n("path",{attrs:{d:"M9.80035 3.5006C9.80035 3.88736 9.48697 4.20074 9.10053 4.20074C8.71377 4.20074 8.40039 3.88736 8.40039 3.5006C8.40039 3.11416 8.71377 2.80078 9.10053 2.80078C9.48697 2.80078 9.80035 3.11416 9.80035 3.5006Z",fill:"black"}}),t._v(" "),n("path",{attrs:{d:"M25.2001 22.4005V11.9007C25.2001 10.7407 24.26 9.80056 23.1 9.80056H15.6901L15.8952 9.59548C16.1605 9.32087 16.1566 8.88412 15.8865 8.61432C15.6167 8.3442 15.18 8.34035 14.9054 8.60567L13.5054 10.0056C13.3737 10.137 13.2997 10.3155 13.2997 10.5013C13.2997 10.6872 13.3737 10.8657 13.5054 10.997L14.9054 12.397C15.18 12.662 15.6167 12.6585 15.8865 12.3884C16.1566 12.1182 16.1605 11.6818 15.8952 11.4072L15.6901 11.2005H23.1C23.4868 11.2005 23.8002 11.5139 23.8002 11.9007V22.4005H22.4002C21.627 22.4005 21.0003 23.0273 21.0003 23.8005V25.2004C21.0003 25.352 21.0493 25.4994 21.1403 25.6205L21.9801 26.7404C22.5364 27.4883 22.5364 28.5124 21.9801 29.2603L21.1403 30.3802C21.0493 30.5016 21.0003 30.649 21.0003 30.8003V32.2002C21.0003 32.9734 21.627 33.6002 22.4002 33.6002H26.6001C27.3733 33.6002 28.0001 32.9734 28.0001 32.2002V30.8003C28.0001 30.649 27.951 30.5016 27.86 30.3802L27.0202 29.2603C26.4636 28.5124 26.4636 27.4883 27.0202 26.7404L27.86 25.6205C27.951 25.4994 28.0001 25.352 28.0001 25.2004V23.8005C28.0001 23.0273 27.3733 22.4005 26.6001 22.4005H25.2001ZM26.6001 24.9672L25.9003 25.9003C24.9726 27.1467 24.9726 28.854 25.9003 30.1005L26.6001 31.0342V32.2002H22.4002V31.0336L23.1 30.1005C24.0274 28.854 24.0274 27.1471 23.1 25.9003L22.4002 24.9681V23.8005H26.6001V24.9672Z",fill:"black"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_70_2551"}},[n("rect",{attrs:{width:"42",height:"42",fill:"white"}})])])]),t._v(" "),n("p",{staticClass:"benefit-description"},[t._v("\n "+t._s(t.translateMe("Full"))+"\n "),n("strong",[t._v(t._s(t.translateMe("Onboarding")))]),t._v(","+t._s(t.translateMe("Setup and Migration Assistance"))+"\n ")])]),t._v(" "),n("div",{staticClass:"benefit"},[n("svg",{attrs:{width:"44",height:"43",viewBox:"0 0 44 43",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M25.1837 23.9888H18.8162C17.6301 23.9115 16.4411 24.0885 15.3291 24.5082C14.217 24.928 13.2078 25.5804 12.3686 26.4222C11.5294 27.2639 10.8798 28.2755 10.4634 29.3887C10.0471 30.502 9.87357 31.6913 9.95449 32.8772C9.86833 33.6424 9.9564 34.4172 10.2119 35.1436C10.4674 35.8701 10.8839 36.5292 11.4301 37.072C11.9763 37.6148 12.6381 38.0271 13.3661 38.278C14.0942 38.5289 14.8695 38.6119 15.6341 38.521H28.3657C29.1303 38.6119 29.9057 38.5289 30.6337 38.278C31.3617 38.0271 32.0235 37.6148 32.5697 37.072C33.1159 36.5292 33.5324 35.8701 33.7879 35.1436C34.0434 34.4172 34.1315 33.6424 34.0453 32.8772C34.1262 31.6913 33.9527 30.502 33.5364 29.3887C33.12 28.2755 32.4704 27.2639 31.6312 26.4222C30.792 25.5804 29.7828 24.928 28.6708 24.5082C27.5587 24.0885 26.3697 23.9115 25.1837 23.9888ZM28.3657 36.7293H15.6341C12.9467 36.7293 11.7462 35.5414 11.7462 32.8772C11.6686 31.9279 11.7981 30.9732 12.1256 30.0788C12.4531 29.1844 12.9708 28.3716 13.643 27.6968C14.3152 27.022 15.1259 26.5013 16.0191 26.1704C16.9122 25.8396 17.8666 25.7065 18.8162 25.7805H25.1837C26.1332 25.7065 27.0876 25.8396 27.9807 26.1704C28.8739 26.5013 29.6846 27.022 30.3568 27.6968C31.029 28.3716 31.5467 29.1844 31.8742 30.0788C32.2017 30.9732 32.3312 31.9279 32.2537 32.8772C32.2537 35.5414 31.0549 36.7293 28.3657 36.7293ZM22.0143 20.6257C23.2567 20.6257 24.4711 20.2574 25.5041 19.5672C26.5371 18.8769 27.3421 17.8958 27.8176 16.748C28.293 15.6002 28.4175 14.3372 28.1752 13.1187C27.9328 11.9002 27.3344 10.7809 26.4559 9.9024C25.5774 9.0239 24.4583 8.42572 23.2398 8.18334C22.0213 7.94097 20.7581 8.06528 19.6103 8.54072C18.4625 9.01615 17.4816 9.82144 16.7913 10.8544C16.1011 11.8874 15.7326 13.1018 15.7326 14.3442C15.7349 16.0094 16.3977 17.6058 17.5752 18.7833C18.7527 19.9608 20.3491 20.6233 22.0143 20.6257ZM22.0143 9.85428C22.9024 9.85428 23.7704 10.1177 24.5087 10.611C25.2471 11.1044 25.8225 11.8056 26.1624 12.626C26.5022 13.4464 26.5911 14.3491 26.4178 15.2201C26.2446 16.0911 25.817 16.891 25.1891 17.519C24.5612 18.1469 23.7612 18.5746 22.8903 18.7479C22.0193 18.9211 21.1164 18.8323 20.2959 18.4924C19.4755 18.1526 18.7743 17.5771 18.281 16.8388C17.7876 16.1004 17.5242 15.2322 17.5242 14.3442C17.5261 13.1539 17.9999 12.013 18.8415 11.1714C19.6831 10.3297 20.8241 9.85618 22.0143 9.85428ZM40.8124 22.6647C40.8791 23.2519 40.8121 23.8465 40.6167 24.4041C40.4212 24.9618 40.1023 25.468 39.6836 25.885C39.2649 26.302 38.7573 26.6189 38.1988 26.8121C37.6404 27.0053 37.0454 27.0696 36.4586 27.0004H35.8136C35.576 27.0004 35.3482 26.9062 35.1802 26.7382C35.0122 26.5702 34.9177 26.3422 34.9177 26.1046C34.9177 25.867 35.0122 25.6392 35.1802 25.4712C35.3482 25.3032 35.576 25.2088 35.8136 25.2088H36.4586C38.2789 25.2088 39.0207 24.4707 39.0207 22.6647C39.0741 22.0128 38.9851 21.357 38.7603 20.7427C38.5354 20.1285 38.1798 19.5704 37.7181 19.107C37.2564 18.6436 36.6997 18.2859 36.0863 18.0587C35.4729 17.8316 34.8175 17.7405 34.1654 17.7915H32.4273C32.1897 17.7915 31.9619 17.697 31.7939 17.529C31.6259 17.361 31.5315 17.1332 31.5315 16.8956C31.5315 16.658 31.6259 16.43 31.7939 16.262C31.9619 16.094 32.1897 15.9998 32.4273 15.9998H34.1654C35.0549 15.9418 35.9463 16.0746 36.7803 16.3893C37.6142 16.704 38.3714 17.1934 39.0008 17.8245C39.6303 18.4556 40.1174 19.214 40.4299 20.0488C40.7423 20.8836 40.8728 21.7754 40.8124 22.6647ZM28.5968 7.0395C28.431 6.86937 28.3394 6.64038 28.3425 6.40283C28.3455 6.16528 28.4429 5.9388 28.613 5.77295C29.4874 4.93064 30.658 4.46593 31.872 4.47928C33.0565 4.48161 34.1981 4.92278 35.0763 5.71762C35.9545 6.51245 36.5069 7.60466 36.627 8.78305C36.747 9.96143 36.4262 11.1424 35.7263 12.098C35.0265 13.0536 33.9973 13.7161 32.8376 13.9573C32.7787 13.9694 32.7187 13.9754 32.6585 13.9752C32.4363 13.9754 32.2221 13.8929 32.0572 13.744C31.8924 13.5951 31.7887 13.3903 31.7664 13.1693C31.744 12.9482 31.8045 12.7268 31.9363 12.5479C32.0681 12.369 32.2616 12.2457 32.4794 12.2015C33.2041 12.0487 33.8465 11.6329 34.2828 11.0344C34.7192 10.436 34.9186 9.69715 34.8425 8.96042C34.7664 8.22369 34.4203 7.54113 33.8708 7.04453C33.3213 6.54792 32.6072 6.27236 31.8665 6.27095C31.1202 6.25984 30.3992 6.54153 29.8581 7.05568C29.6882 7.21986 29.4603 7.31022 29.2241 7.3072C28.9879 7.30418 28.7625 7.20796 28.5968 7.0395ZM4.97907 22.6647C4.97907 24.4707 5.72092 25.2088 7.54125 25.2088H8.16829C8.40588 25.2088 8.63367 25.3032 8.80167 25.4712C8.96967 25.6392 9.06412 25.867 9.06412 26.1046C9.06412 26.3422 8.96967 26.5702 8.80167 26.7382C8.63367 26.9062 8.40588 27.0004 8.16829 27.0004H7.54125C6.95439 27.0696 6.35943 27.0053 5.80098 26.8121C5.24253 26.6189 4.73486 26.302 4.31616 25.885C3.89746 25.468 3.57863 24.9618 3.38315 24.4041C3.18767 23.8465 3.12069 23.2519 3.1874 22.6647C3.12705 21.7754 3.25748 20.8836 3.56993 20.0488C3.88238 19.214 4.36954 18.4556 4.99897 17.8245C5.6284 17.1934 6.38558 16.704 7.21953 16.3893C8.05348 16.0746 8.94495 15.9418 9.83442 15.9998H11.6081C11.8457 15.9998 12.0737 16.094 12.2417 16.262C12.4098 16.43 12.504 16.658 12.504 16.8956C12.504 17.1332 12.4098 17.361 12.2417 17.529C12.0737 17.697 11.8457 17.7915 11.6081 17.7915H9.83442C9.18228 17.7405 8.52691 17.8316 7.91349 18.0587C7.30007 18.2859 6.74339 18.6436 6.2817 19.107C5.82002 19.5704 5.46444 20.1285 5.23955 20.7427C5.01466 21.357 4.92573 22.0128 4.97907 22.6647ZM7.36191 9.26311C7.3657 7.99245 7.8735 6.77519 8.77368 5.87837C9.67386 4.98155 10.893 4.47833 12.1637 4.47928C13.3718 4.47433 14.5354 4.93438 15.4137 5.76398C15.5033 5.84371 15.5761 5.94059 15.6276 6.04896C15.6791 6.15733 15.7082 6.27488 15.7133 6.39474C15.7185 6.5146 15.6995 6.63425 15.6576 6.74664C15.6156 6.85904 15.5515 6.96198 15.469 7.04912C15.3866 7.13626 15.2876 7.20594 15.1777 7.25405C15.0678 7.30215 14.9493 7.32761 14.8293 7.32907C14.7093 7.33052 14.5902 7.30778 14.4791 7.26236C14.3681 7.21694 14.2673 7.14976 14.1828 7.06465C13.6359 6.55171 12.9135 6.2677 12.1637 6.27095C11.4206 6.26847 10.7032 6.5422 10.1507 7.03906C9.59814 7.53592 9.24985 8.22038 9.1737 8.95954C9.09755 9.6987 9.299 10.4397 9.73862 11.0388C10.1782 11.6379 10.8246 12.0524 11.5526 12.2015C11.7703 12.2457 11.9639 12.369 12.0957 12.5479C12.2274 12.7268 12.2881 12.9482 12.2658 13.1693C12.2435 13.3903 12.1398 13.5951 11.9749 13.744C11.8101 13.8929 11.5956 13.9754 11.3735 13.9752C11.3133 13.9756 11.2533 13.9695 11.1944 13.9573C10.1131 13.7351 9.14154 13.1469 8.44343 12.2918C7.74531 11.4367 7.36323 10.367 7.36191 9.26311Z",fill:"black"}})]),t._v(" "),n("p",{staticClass:"benefit-description"},[t._v("\n "+t._s(t.translateMe("Access to"))+"\n "),n("strong",[t._v(t._s(t.translateMe("200+")))]),t._v("\n "+t._s(t.translateMe("Tech and Marketing Professionals"))+"\n ")])]),t._v(" "),n("div",{staticClass:"benefit"},[n("svg",{attrs:{width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_96_362)"}},[n("path",{attrs:{d:"M17.5156 18.375C18.9001 18.375 20.2535 17.9645 21.4046 17.1953C22.5557 16.4262 23.4528 15.3329 23.9826 14.0538C24.5124 12.7747 24.6511 11.3671 24.381 10.0093C24.1109 8.6514 23.4442 7.40428 22.4652 6.42532C21.4863 5.44635 20.2389 4.77964 18.8811 4.50954C17.5232 4.23945 16.1158 4.37792 14.8368 4.90774C13.5577 5.43755 12.4644 6.33481 11.6952 7.48595C10.926 8.6371 10.5156 9.99049 10.5156 11.375C10.5156 13.2315 11.253 15.0119 12.5657 16.3246C13.8785 17.6374 15.6591 18.375 17.5156 18.375ZM17.5156 6.12496C18.5539 6.12496 19.5688 6.43291 20.4322 7.00979C21.2955 7.58667 21.9685 8.40652 22.3659 9.36584C22.7633 10.3251 22.8673 11.3809 22.6648 12.3993C22.4622 13.4177 21.9622 14.3531 21.2279 15.0873C20.4937 15.8215 19.5581 16.3216 18.5397 16.5241C17.5213 16.7267 16.4658 16.6226 15.5065 16.2253C14.5472 15.8279 13.7273 15.1551 13.1504 14.2918C12.5735 13.4284 12.2656 12.4133 12.2656 11.375C12.2656 9.98257 12.8187 8.64719 13.8033 7.66262C14.7878 6.67805 16.1232 6.12496 17.5156 6.12496ZM23.6126 23.0108C23.5756 23.2395 23.4495 23.4441 23.2618 23.5799C23.0742 23.7157 22.8403 23.7715 22.6116 23.7352C22.078 23.6565 21.5391 23.6196 20.9998 23.625H13.9998C12.9417 23.5429 11.8783 23.6915 10.8832 24.0605C9.88818 24.4295 8.98522 25.01 8.23645 25.762C7.48768 26.5141 6.91105 27.4198 6.54648 28.4165C6.1819 29.4132 6.03802 30.4773 6.12478 31.535C6.12478 34.5362 7.47403 35.875 10.4998 35.875H19.2498C19.4818 35.875 19.7043 35.9672 19.8684 36.1313C20.0325 36.2954 20.1248 36.5179 20.1248 36.75C20.1248 36.982 20.0325 37.2045 19.8684 37.3686C19.7043 37.5327 19.4818 37.625 19.2498 37.625H10.4998C9.67485 37.7231 8.83833 37.6334 8.05295 37.3626C7.26757 37.0918 6.55368 36.647 5.96457 36.0612C5.37545 35.4755 4.92652 34.7639 4.65121 33.9801C4.37591 33.1963 4.28135 32.3605 4.37478 31.535C4.37478 27.0795 6.89478 21.875 13.9998 21.875H20.9998C21.6317 21.8691 22.2631 21.9136 22.888 22.008C23.117 22.045 23.3221 22.1712 23.4579 22.3592C23.5938 22.5473 23.6494 22.7818 23.6126 23.0108ZM38.694 30.24L38.9268 30.1106C39.0291 30.0536 39.1188 29.9764 39.1909 29.8841C39.2629 29.7918 39.3156 29.686 39.3459 29.5729C39.3763 29.4598 39.3836 29.3417 39.3675 29.2257C39.3514 29.1097 39.3124 28.9982 39.2524 28.8976L37.6494 26.2062C37.5328 26.01 37.3442 25.8671 37.1238 25.808C36.9035 25.7488 36.6688 25.778 36.4697 25.8894L36.2388 26.0207C36.0005 26.1528 35.7324 26.222 35.4599 26.222C35.1875 26.222 34.9196 26.1528 34.6813 26.0207C34.4563 25.8958 34.2684 25.7136 34.1365 25.4927C34.0047 25.2717 33.9337 25.0198 33.9306 24.7625C33.9287 24.46 33.8071 24.1707 33.5922 23.9578C33.3774 23.7449 33.0868 23.6257 32.7843 23.6267H30.1172C29.815 23.6262 29.5251 23.7454 29.3106 23.9582C29.0961 24.1711 28.9747 24.4603 28.9728 24.7625C28.9697 25.0202 28.8981 25.2725 28.7656 25.4935C28.6331 25.7146 28.4444 25.8965 28.2185 26.0207C27.9805 26.1528 27.7129 26.2222 27.4407 26.2222C27.1685 26.2222 26.9007 26.1528 26.6627 26.0207C26.4025 25.8772 26.097 25.8396 25.8097 25.9159C25.5225 25.9921 25.2757 26.1765 25.121 26.4303L23.7859 28.672C23.7082 28.8007 23.657 28.9436 23.6357 29.0924C23.6143 29.2412 23.6231 29.3929 23.6615 29.5383C23.7009 29.6854 23.7693 29.8231 23.8628 29.9433C23.9562 30.0635 24.0729 30.1639 24.2058 30.2383C24.435 30.3601 24.6267 30.5418 24.7604 30.7642C24.8941 30.9867 24.9648 31.2413 24.9648 31.5008C24.9648 31.7603 24.8941 32.015 24.7604 32.2374C24.6267 32.4598 24.435 32.6418 24.2058 32.7635C23.9406 32.9164 23.7468 33.1679 23.6669 33.4634C23.6292 33.6087 23.6206 33.7601 23.6417 33.9088C23.6627 34.0574 23.7128 34.2004 23.7893 34.3296L25.1263 36.5733C25.2808 36.8279 25.5277 37.0126 25.8155 37.089C26.1033 37.1653 26.4095 37.1273 26.6698 36.9828C26.9073 36.8502 27.1747 36.7805 27.4467 36.7805C27.7187 36.7805 27.9864 36.8502 28.2239 36.9828C28.4493 37.1072 28.6376 37.2892 28.7695 37.5102C28.9014 37.7313 28.9722 37.9836 28.9745 38.2411C28.9759 38.5431 29.097 38.832 29.3112 39.0449C29.5254 39.2578 29.8152 39.3771 30.1172 39.3767H32.7896C33.0918 39.3771 33.3818 39.258 33.5963 39.0451C33.8108 38.8323 33.9322 38.5432 33.934 38.2411C33.9371 37.9835 34.0084 37.7315 34.1406 37.5105C34.2728 37.2894 34.4612 37.1074 34.6866 36.9828C34.9246 36.8507 35.1922 36.7814 35.4644 36.7814C35.7366 36.7814 36.0042 36.8507 36.2422 36.9828C36.502 37.1279 36.8078 37.1663 37.0954 37.0903C37.383 37.0142 37.6299 36.8295 37.7839 36.575L39.1246 34.3228C39.2014 34.1947 39.2514 34.0522 39.2718 33.9043C39.2923 33.7563 39.2828 33.6058 39.2436 33.4617C39.2058 33.3148 39.1385 33.1771 39.0462 33.0568C38.9539 32.9366 38.8384 32.8362 38.7064 32.7616L38.6765 32.746C38.4531 32.6206 38.2677 32.4375 38.1392 32.2158C38.0107 31.9942 37.9439 31.742 37.9461 31.4859C37.9482 31.2297 38.0192 30.9788 38.1514 30.7593C38.2835 30.5399 38.4722 30.36 38.6976 30.2383L38.694 30.24ZM37.3204 33.9254L36.5537 35.2117C36.107 35.0583 35.633 35.0009 35.1626 35.0431C34.6922 35.0853 34.2361 35.2263 33.8238 35.4567C33.4207 35.6835 33.0713 35.9947 32.7995 36.3689C32.5277 36.7431 32.3399 37.1715 32.2487 37.625H30.6737C30.5817 37.1719 30.3936 36.7438 30.1219 36.3697C29.8502 35.9956 29.5013 35.6843 29.0989 35.4567C28.6867 35.226 28.2303 35.0849 27.7599 35.0427C27.2894 35.0005 26.8154 35.058 26.3688 35.2117L25.6023 33.9254C25.956 33.6281 26.2403 33.2569 26.4354 32.8381C26.6305 32.4192 26.7315 31.9629 26.7315 31.5008C26.7315 31.0388 26.6305 30.5824 26.4354 30.1635C26.2403 29.7447 25.956 29.3735 25.6023 29.0762L26.3705 27.7883C26.817 27.9412 27.2907 27.9984 27.7607 27.9562C28.2308 27.914 28.6868 27.7733 29.0989 27.5432C29.5035 27.3173 29.8543 27.0066 30.1277 26.6323C30.401 26.2581 30.5903 25.8291 30.6825 25.375H32.2575C32.3488 25.8283 32.5369 26.2567 32.8087 26.6308C33.0804 27.005 33.4296 27.3162 33.8325 27.5432C34.2452 27.7735 34.7017 27.9142 35.1724 27.9564C35.643 27.9986 36.1173 27.9414 36.5644 27.7883L37.3308 29.0745C36.9777 29.3723 36.6937 29.7437 36.499 30.1627C36.3043 30.5816 36.2033 31.038 36.2033 31.5C36.2033 31.962 36.3043 32.4183 36.499 32.8372C36.6937 33.2562 36.9777 33.6276 37.3308 33.9254H37.3204ZM32.8123 31.5C32.8123 31.7587 32.7356 32.0117 32.5923 32.2271C32.4489 32.4425 32.2452 32.6107 32.0065 32.7106C31.7678 32.8104 31.5048 32.8376 31.2507 32.7885C30.9966 32.7394 30.7627 32.6162 30.5784 32.4346C30.3941 32.2529 30.2676 32.0209 30.2148 31.7676C30.162 31.5143 30.1853 31.2511 30.2817 31.011C30.3781 30.7708 30.5433 30.5645 30.7566 30.418C30.9699 30.2715 31.2218 30.1913 31.4806 30.1875H31.4998C31.6723 30.1868 31.8433 30.2202 32.0029 30.2859C32.1624 30.3517 32.3075 30.4483 32.4295 30.5703C32.5515 30.6923 32.6481 30.8373 32.7138 30.9969C32.7795 31.1564 32.813 31.3274 32.8123 31.5Z",fill:"black"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_96_362"}},[n("rect",{attrs:{width:"42",height:"42",fill:"white"}})])])]),t._v(" "),n("p",{staticClass:"benefit-description"},[n("strong",[t._v(t._s(t.translateMe("Dedicated")))]),t._v("\n "+t._s(t.translateMe("Account Manager"))+"\n ")])])])])},staticRenderFns:[]},(function(t){t&&t("data-v-12004128_0",{source:".benefits-banner[data-v-12004128]{padding:20px;background-color:#fff;border-radius:16px;box-shadow:0 4px 6px -1px rgb(0 0 0 / .1),0 2px 4px -2px rgb(0 0 0 / .1)}.benefits[data-v-12004128]{display:flex;justify-content:space-around;align-items:center;gap:20px}.benefit[data-v-12004128]{display:flex;flex-basis:25%;flex-grow:0;flex-direction:column;justify-content:center;align-items:center;gap:10px;text-align:center}.benefit-description[data-v-12004128]{font-size:14px;font-weight:450;color:#303030}.benefit-image[data-v-12004128]{width:42px;height:42px}@media (max-width:767px){.benefits[data-v-12004128]{flex-direction:column}}",map:void 0,media:void 0})}),{name:"BenefitsBanner",props:{benefitsData:{type:Array,required:!1,default:function(){return[{benefit_description:"<strong>Unlimited</strong> Access to Enterprise Features",benefit_image_url:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTw_HeSzHfBorKS4muw4IIeVvvRgnhyO8Gn8w&s"},{benefit_description:"<strong>Unlimited</strong> Access to Enterprise Features",benefit_image_url:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTw_HeSzHfBorKS4muw4IIeVvvRgnhyO8Gn8w&s"},{benefit_description:"<strong>Unlimited</strong> Access to Enterprise Features",benefit_image_url:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTw_HeSzHfBorKS4muw4IIeVvvRgnhyO8Gn8w&s"},{benefit_description:"<strong>Unlimited</strong> Access to Enterprise Features",benefit_image_url:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTw_HeSzHfBorKS4muw4IIeVvvRgnhyO8Gn8w&s"},{benefit_description:"<strong>Unlimited</strong> Access to Enterprise Features",benefit_image_url:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTw_HeSzHfBorKS4muw4IIeVvvRgnhyO8Gn8w&s"}]}}},methods:{translateMe:function(t){return this.$translations.hasOwnProperty(t)?this.$translations[t]:t}}},"data-v-12004128",false,undefined,!1,Ac,void 0,void 0),qh={name:"AppManagerGroupPlan",components:{YearlyPlanPromotion:jc,PlanBanners:zc,PPage:zu,PStack:Nu,PStackItem:Ou,PButton:nt,PButtonGroup:ae,PHeading:at,PLayout:qu,PLayoutSection:_,PTextContainer:Uu,PDataTable:Th,PDataTableCol:jh,PDataTableRow:Eh,PIcon:k,PTextStyle:Oc,PCard:Mh,PCardSection:xh,PSkeletonPage:Bh,PSkeletonBodyText:Oh,PSkeletonDisplayText:Lh,PEmptyState:Ch,AppCard:Nh,PlanShowcaseBanner:Rh,CategoryHeading:Vh,BenefitsBanner:Ih,VariantButton:Hh},props:["shop_domain","host","discount_code"],data:function(){return{plan:{},plans:[],valid_annual_plans:[],promotional_discount:[],features:[],featureValues:[],featuresByGroup:[],shopify_plan:"",default_plan_id:null,onboard:!0,choose_later:!1,has_active_charge:!1,global_plan_charge:!1,planLoading:!1,subtitleContent:"",checkList:["60 days free trial"],selectedPlan:"monthly",monthlySelectedStyle:{height:"60px",backgroundColor:"#257f60",color:"#fff",position:"relative",right:"-5px",borderRadius:"8px",zIndex:1},yearlySelectedStyle:{height:"60px",backgroundColor:"#257f60",position:"relative",left:"-5px",borderRadius:"8px"},monthlyStyle:{height:"55px",backgroundColor:"#FFFFFF",boxShadow:"rgba(99, 99, 99, 0.2) 0px 2px 8px 0px",border:"none",borderRadius:"8px",ZIndex:11},yearlyStyle:{color:"#258060",height:"55px",backgroundColor:"#FFFFFF",boxShadow:"rgba(99, 99, 99, 0.2) 0px 2px 8px 0px",border:"none",borderRadius:"8px"},bundleStyle:{color:"#258060",height:"55px",backgroundColor:"#FFFFFF",boxShadow:"rgba(99, 99, 99, 0.2) 0px 2px 8px 0px",border:"none",borderRadius:"8px"},additionalBenefitsHeading:{category_name:"Unlock Additional Benefits"},bundle_details:null,bundle_plan:null}},computed:{shop:function(){return{name:this.shop_domain,shopify_plan:this.shopify_plan,has_plan:!!this.plan,plan:this.plan,default_plan_id:this.default_plan_id}},headings:function(){var t=this,e=[this.translateMe("Plans & Features")];return this.plans.forEach((function(n){var a=n.name;n.price>0&&(a+=" ($".concat(n.price,"/")+t.translateMe("mo")+")"),e.push(a)})),e},monthlyPlan:function(){var t=[];for(var e in this.plans)"EVERY_30_DAYS"===this.plans[e].interval&&t.push(this.plans[e]);return t},yearlyPlan:function(){var t=[];for(var e in this.plans)"ANNUAL"===this.plans[e].interval&&t.push(this.plans[e]);return t},totalBundleApps:function(){var t=0;return this.bundle_details&&this.bundle_details.forEach((function(e){t+=e.apps_relation.length})),t}},methods:{translateMe:function(t){return this.$translations.hasOwnProperty(t)?this.$translations[t]:t},activePlanStyle:function(t){return[t.shopify_plans.includes(this.shop.shopify_plan)||!t.store_base_plan?{backgroundColor:"#FFF",color:"#202223"}:{}]},isCurrentPlan:function(t){return this.has_active_charge&&this.shop.plan&&(t.id===this.shop.plan.id||!t.is_custom&&t.base_plan===this.shop.plan.id)},isCurrentPlanId:function(t){return this.shop.plan&&t.id===this.shop.plan.id},isActivePlanGlobal:function(){var t;return Boolean(null===(t=this.shop.plan)||void 0===t?void 0:t.is_global)},isActiveGlobalCharge:function(){return Boolean(this.global_plan_charge)},isSamePlanInOtherInterval:function(t){return this.shop.plan&&t.shopify_plans===this.shop.plan.shopify_plans},format:function(t){if(["double","integer"].includes(null==t?void 0:t.value_type))return"percentage"===t.format?"".concat(t.value,"%"):"count"===t.format&&t.value<0?this.translateMe("Unlimited"):t.value;if("array"===(null==t?void 0:t.value_type)){var e=JSON.parse(t.value),n=this;return(e=e.map((function(e){return n.translateMe(n.featureValues[t.feature_id][e])}))).join(", ")}return"string"===(null==t?void 0:t.value_type)?this.translateMe(t.value.replace('"',"").replace('"',"")):void 0},calculateDiscountedPrice:function(t){return"percentage"===t.discount_type?t.price-t.price*t.discount/100:"amount"===t.discount_type?t.discount>t.price?0:t.price-t.discount:void 0},calculatePromotionalDiscountedPrice:function(t,e){return"percentage"===e.type?t.price-t.price*e.value/100:"amount"===e.type?e.value>t.price?0:t.price-e.value:void 0},headerClasses:function(t){return{"Polaris-DataTable__Cell":!0,"Polaris-DataTable__Cell--header":!0,"Polaris-DataTable__Cell--verticalAlignMiddle":!0,"Polaris-DataTable__Cell--firstColumn":Boolean(t)}},groupBy:function(t,e){return t.reduce((function(t,n){var a=n[e];return t[a]||(t[a]=[]),t[a].push(n),t}),{})},getPlanUrl:function(t){var e=this;return s(regeneratorRuntime.mark((function n(){var a,r,o,i,s,l;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=e.shop.name,r=e.host,o=e.discount_code,i="shop=".concat(a),null!=r&&(i+="&host=".concat(r)),null!=o&&(i+="&discount_code=".concat(o)),n.next=8,_c.get("".concat(e.app_manager_config.baseUrl,"/api/app-manager/plan/process/").concat(t.id,"?").concat(i)).catch((function(t){console.error(t)}));case 8:"free_plan"===(s=n.sent).data.plan_type?e.$emit("handlePlanSelect",{free_plan:!0}):(l=s.data.redirect_url)&&(window.top.location.href=l);case 10:case"end":return n.stop()}}),n)})))()},activePlan:function(){var t=this;return s(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.activeWithoutPlan();case 2:!0===e.sent.data.status&&t.onboard&&(t.$emit("handlePlanSelect",{choose_later:!0}),t.onboard=!1);case 4:case"end":return e.stop()}}),e)})))()},activeWithoutPlan:function(){var t=this;return s(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_c.post("".concat(t.app_manager_config.baseUrl,"/api/app-manager/active-without-plan"),{shop_domain:t.shop.name,plan_id:t.shop.default_plan_id}).catch((function(t){console.error(t)}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))()},selectPlan:function(t){var e=this;return s(regeneratorRuntime.mark((function n(){var a,r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:e.selectedPlan=t,null!==e.bundle_plan&&(a=document.querySelector(".custom-plan"),r=document.querySelector(".bundle-plan"),"bundle"==e.selectedPlan?(a.style.display="none",r.style.display="flex"):(r.style.display="none",a.style.display="flex"));case 2:case"end":return n.stop()}}),n)})))()},fetchFeatures:function(){var t=this;return s(regeneratorRuntime.mark((function e(){var n,a,r,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_c.get("".concat(t.app_manager_config.baseUrl,"/api/app-manager/plan-features")).catch((function(t){console.error(t)}));case 2:n=e.sent,(a=n.data).features.length&&(t.features=a.features,t.features=null===(r=t.features)||void 0===r?void 0:r.filter((function(t){return!0!==t.hidden_feature})),t.features=null===(o=t.features)||void 0===o?void 0:o.sort((function(t,e){return parseInt(t.display_order)-parseInt(e.display_order)})),t.features=null===(i=t.features)||void 0===i?void 0:i.sort((function(t,e){return parseInt(t.group_order)-parseInt(e.group_order)})),t.featuresByGroup=t.groupBy(t.features,"group"),t.features.forEach((function(e){"array"==e.value_type&&(t.featureValues[e.uuid]=e.values)})));case 5:case"end":return e.stop()}}),e)})))()},fetchPlans:function(){var t=this;return s(regeneratorRuntime.mark((function e(){var n,a,r,o,i,s,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={shop_domain:t.shop_domain},null!==t.discount_code&&(n.discount_code=t.discount_code),e.next=4,_c.get("".concat(t.app_manager_config.baseUrl,"/api/app-manager/plans"),{params:n}).catch((function(t){console.error(t)}));case 4:if(a=e.sent,(r=a.data).plans.length){for(l=0;l<r.plans.length;l++)"ANNUAL"===r.plans[l].interval&&t.valid_annual_plans.push(r.plans[l]);t.plans=r.plans,t.plans=null===(o=t.plans)||void 0===o?void 0:o.sort((function(t,e){return parseFloat(t.price)-parseFloat(e.price)})),t.plans[0].store_base_plan&&(t.subtitleContent=t.translateMe("App plans are based on your existing shopify plan")),t.plan=r.plan,"ANNUAL"===(null===(i=t.plan)||void 0===i?void 0:i.interval)&&(t.selectedPlan="annually"),null!==(s=t.plan)&&void 0!==s&&s.is_global&&(t.selectedPlan="bundle"),t.shopify_plan=r.shopify_plan,t.default_plan_id=r.default_plan_id,t.choose_later=r.choose_later,t.onboard=t.default_plan_id&&t.choose_later,t.has_active_charge=r.has_active_charge,t.global_plan_charge=r.global_plan_charge,t.promotional_discount=void 0!==r.promotional_discount?r.promotional_discount:[],r.bundle_plan&&(t.bundle_plan=r.bundle_plan),r.bundle_details&&(t.bundle_details=r.bundle_details)}case 7:case"end":return e.stop()}}),e)})))()},isPlanButtonColor:function(t){return!!(this.has_active_charge&&this.shop.plan&&t.price>this.shop.plan.price)},planChooseButtonClass:function(t){return this.has_active_charge&&this.shop.plan&&t.price>this.shop.plan.price?"":"custom-choose-button"},handlePlanBannerClose:function(t){this.$emit("handlePlanBannerClose",t),this.$emit("handle-plan-banner-close",t)},handlePlanClicked:function(t){this.getPlanUrl(t)}},mounted:function(){var t=this;return s(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.planLoading=!0,e.next=3,t.fetchFeatures();case 3:return e.next=5,t.fetchPlans();case 5:t.planLoading=!1,t.$nextTick((function(){t.selectPlan(t.selectedPlan)}));case 7:case"end":return e.stop()}}),e)})))()}},Dh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return this.planLoading||0!==this.plans.length?!this.planLoading&&this.plans.length>0?n("div",[n("PlanBanners",{attrs:{position:"header"},on:{handlePlanBannerClose:t.handlePlanBannerClose}}),t._v(" "),n("PPage",{staticClass:"app-manager-plan-page custom-title",attrs:{title:"bundle"===t.selectedPlan?"":t.translateMe("Plans"),subtitle:"bundle"===t.selectedPlan?"":t.subtitleContent}},[n("PStack",{attrs:{slot:"primaryAction"},slot:"primaryAction"},[n("PStackItem",{staticStyle:{"margin-top":"20px"}},[n("div",{staticClass:"button-group-new"},[n("VariantButton",{attrs:{id:"pricing-tab",variant:"monthly"===t.selectedPlan?"primary":"secondary",additionalText:"1 App"},on:{click:function(e){return t.selectPlan("monthly")}}},[t._v("\n "+t._s(t.translateMe("Monthly"))+"\n ")]),t._v(" "),t.valid_annual_plans.length>0?n("VariantButton",{attrs:{id:"pricing-tab",variant:"annually"===t.selectedPlan?"primary":"secondary"},on:{click:function(e){return t.selectPlan("annually")}}},[t._v("\n "+t._s(t.translateMe("Annually"))+"\n ")]):t._e(),t._v(" "),null!==t.bundle_plan?n("VariantButton",{attrs:{id:"pricing-tab",variant:"bundle"===t.selectedPlan?"primary":"secondary",additionalText:t.totalBundleApps+" Apps"},on:{click:function(e){return t.selectPlan("bundle")}}},[t._v("\n "+t._s(t.translateMe("Bundle"))+"\n ")]):t._e()],1)])],1),t._v(" "),n("div",{staticClass:"light-divider",staticStyle:{margin:"20px 0"}}),t._v(" "),n("PLayout",{staticClass:"custom-plan"},[n("PLayoutSection",[[[n("PDataTable",{staticClass:"plan-table"},[n("template",{slot:"head"},["monthly"===t.selectedPlan?n("PDataTableRow",{staticStyle:{"box-shadow":"none!important"}},[n("PDataTableCol",{staticClass:"plan-heading",staticStyle:{opacity:"0",visibility:"hidden",border:"0 !important"}},[n("b",[t._v(t._s(t.translateMe("features")))])]),t._v(" "),t._l(t.monthlyPlan,(function(e,a){return[n("PDataTableCol",{class:{"first-column":0===a,"plan-heading":!0,"last-column":a+1===t.monthlyPlan.length},style:t.activePlanStyle(e)},["Free"!==e.name?n("b",{staticStyle:{"font-size":"16px"}},[t._v(t._s(t.translateMe(e.name)))]):t._e(),t._v(" "),0===e.price?n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[t._v(t._s(t.translateMe("Free")))])],1)]):e.discount&&e.discount>0&&!t.isCurrentPlan(e)?n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[t._v("$"+t._s(parseFloat(t.calculateDiscountedPrice(e)).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[t._v("/"+t._s(t.translateMe("mo")))])],1),t._v(" "),n("p",{staticStyle:{display:"flex","margin-top":"7px"}},[n("PHeading",{staticStyle:{"font-size":"18px","font-weight":"500","text-decoration":"line-through"}},[t._v("$"+t._s(parseFloat(e.price).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"3px","font-size":"14px"}},[t._v("/"+t._s(t.translateMe("mo")))])],1)]):t.promotional_discount&&0!==t.promotional_discount.length&&!t.promotional_discount.errors&&!e.is_global&&t.promotional_discount.plan_relation.length>0&&t.promotional_discount.plan_relation.includes(e.id)&&!t.isCurrentPlan(e)||t.promotional_discount&&0!==t.promotional_discount.length&&!t.promotional_discount.errors&&!e.is_global&&0===t.promotional_discount.plan_relation.length&&t.promotional_discount.value>0&&!t.isCurrentPlan(e)?n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[t._v("$"+t._s(parseFloat(t.calculatePromotionalDiscountedPrice(e,t.promotional_discount)).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[t._v("/"+t._s(t.translateMe("mo")))])],1),t._v(" "),n("p",{staticStyle:{display:"flex","margin-top":"7px"}},[n("PHeading",{staticStyle:{"font-size":"18px","font-weight":"500","text-decoration":"line-through"}},[t._v("$"+t._s(parseFloat(e.price).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"3px","font-size":"14px"}},[t._v("/"+t._s(t.translateMe("mo")))])],1)]):n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[t._v("$"+t._s(parseFloat(e.price).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[t._v("/"+t._s(t.translateMe("mo")))])],1)])])]}))],2):n("PDataTableRow",[n("PDataTableCol",{staticClass:"plan-heading",staticStyle:{opacity:"0",visibility:"hidden",border:"0 !important"}},[n("b",[t._v(t._s(t.translateMe("features")))])]),t._v(" "),t._l(t.yearlyPlan,(function(e,a){return[n("PDataTableCol",{class:{"first-column":0===a,"plan-heading":!0,"last-column":a+1===t.yearlyPlan.length},style:t.activePlanStyle(e)},["Free"!==e.name?n("b",{staticStyle:{"font-size":"16px"}},[t._v(t._s(t.translateMe(e.name)))]):t._e(),t._v(" "),0===e.price?n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[t._v(t._s(t.translateMe("Free")))])],1)]):e.discount&&e.discount>0&&!t.isCurrentPlan(e)?n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[t._v("$"+t._s(parseFloat(t.calculateDiscountedPrice(e)).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[t._v("/"+t._s(t.translateMe("year")))])],1),t._v(" "),n("p",{staticStyle:{display:"flex","margin-top":"7px"}},[n("PHeading",{staticStyle:{"font-size":"18px","font-weight":"500","text-decoration":"line-through"}},[t._v("$"+t._s(parseFloat(e.price).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"3px","font-size":"14px"}},[t._v("/"+t._s(t.translateMe("year")))])],1)]):t.promotional_discount&&0!==t.promotional_discount.length&&!t.promotional_discount.errors&&t.promotional_discount.plan_relation.length>0&&t.promotional_discount.plan_relation.includes(e.id)&&!t.isCurrentPlan(e)||t.promotional_discount&&0!==t.promotional_discount.length&&!t.promotional_discount.errors&&0===t.promotional_discount.plan_relation.length&&t.promotional_discount.value>0&&!t.isCurrentPlan(e)?n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[t._v("$"+t._s(parseFloat(t.calculatePromotionalDiscountedPrice(e,t.promotional_discount)).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[t._v("/"+t._s(t.translateMe("year")))])],1),t._v(" "),n("p",{staticStyle:{display:"flex","margin-top":"7px"}},[n("PHeading",{staticStyle:{"font-size":"18px","font-weight":"500","text-decoration":"line-through"}},[t._v("$"+t._s(parseFloat(e.price).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"3px","font-size":"14px"}},[t._v("/"+t._s(t.translateMe("year")))])],1)]):n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[t._v("$"+t._s(parseFloat(e.price).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[t._v("/"+t._s(t.translateMe("year")))])],1)])])]}))],2)],1),t._v(" "),n("template",{slot:"body"},[t._l(t.featuresByGroup,(function(e,a){return["null"!==a?n("PDataTableRow",{staticClass:"app-manager-group-row"},[n("PDataTableCol",{staticClass:"app-manager-group-cell",attrs:{colspan:"monthly"===t.selectedPlan?t.monthlyPlan.length+1:t.yearlyPlan.length+1}},[t._v(t._s(t.translateMe(a)))])],1):t._e(),t._v(" "),t._l(e,(function(e,r){return n("PDataTableRow",{key:"row-"+(r+a)},[n("PDataTableCol",{class:"feature__type__"+e.value_type+" feature__class"},[t._v(t._s(t.translateMe(e.name)))]),t._v(" "),t._l("monthly"===t.selectedPlan?t.monthlyPlan:t.yearlyPlan,(function(a,o){return n("PDataTableCol",{key:"cell-"+o+"-row-"+r,class:"feature__type__"+e.value_type,style:t.activePlanStyle(a)},[a.features?["boolean"===e.value_type?[a.features[e.uuid]?n("PIcon",{attrs:{color:"success",source:"TickMinor"}}):n("PIcon",{attrs:{color:"subdued",source:"MinusMinor"}})]:[a.features[e.uuid]?n("span",[t._v(t._s(t.translateMe(t.format(a.features[e.uuid]))))]):n("PIcon",{attrs:{color:"subdued",source:"MinusMinor"}})]]:[n("PIcon",{attrs:{color:"subdued",source:"MinusMinor"}})]],2)}))],2)}))]})),t._v(" "),t.plans.length?n("PDataTableRow",{staticClass:"row-alignment"},[n("PDataTableCol"),t._v(" "),t._l("monthly"===t.selectedPlan?t.monthlyPlan:t.yearlyPlan,(function(e,a){return n("PDataTableCol",{key:"cell-"+a+"-row-plan",staticStyle:{"max-width":"0"}},[t.isCurrentPlan(e)?n("PButton",{attrs:{disabled:t.isCurrentPlan(e),"full-width":"",pressed:t.isCurrentPlan(e)}},[t._v("\n "+t._s(t.translateMe("Current Plan"))+"\n ")]):!e.store_base_plan||e.shopify_plans.includes(t.shop.shopify_plan)?n("PButton",{staticClass:"custom-choose-button",attrs:{"full-width":"",disabled:t.isActivePlanGlobal()&&!t.isActiveGlobalCharge()},on:{click:function(n){!e||t.getPlanUrl(e)}}},[t._v("\n "+t._s(t.isActivePlanGlobal()?t.isActiveGlobalCharge()?t.translateMe("Choose Plan"):t.translateMe("Not Applicable"):t.translateMe("Choose Plan"))+"\n ")]):n("PButton",{attrs:{disabled:!0,"full-width":"",pressed:!0}},[t._v("\n "+t._s(t.translateMe("Not applicable"))+"\n ")]),t._v(" "),e.store_base_plan&&t.shop.plan&&e.shopify_plans.includes(t.shop.shopify_plan)&&!t.isCurrentPlan(e)?n("PTextContainer",{staticClass:"footer-note-container"},[!e.store_base_plan||e.shopify_plans.includes(t.shop.shopify_plan)||t.isCurrentPlan(e)||t.isSamePlanInOtherInterval(e)?t._e():n("PTextStyle",{staticClass:"text-break"},[t._v(t._s(t.translateMe("Note: On account of your recent Shopify plan upgrade, you should consider upgrading your current app plan")))])],1):t._e()],1)}))],2):t._e()],2)],2)]],t._v(" "),t.onboard?n("PStack",{staticClass:"choose-plan-btn",attrs:{alignment:"center",distribution:"center",vertical:""}},[n("PStackItem",{attrs:{fill:""}},[n("PButton",{attrs:{plain:""},on:{click:t.activePlan}},[t._v(t._s(t.translateMe("I will choose the plan later")))])],1)],1):t._e(),t._v(" "),n("PlanBanners",{attrs:{position:"footer"},on:{handlePlanBannerClose:t.handlePlanBannerClose}})],2)],1),t._v(" "),null!==t.bundle_plan?n("div",{staticClass:"bundle-plan"},[n("PlanShowcaseBanner",{attrs:{useCardStyle:"true",bundleApps:t.totalBundleApps,showcaseData:t.bundle_plan,realPrice:parseFloat(t.calculateDiscountedPrice(t.bundle_plan)).toFixed(0),oldPrice:t.bundle_plan.price,isCurrentPlan:t.isCurrentPlanId(t.bundle_plan)},on:{"plan-clicked":function(e){return t.handlePlanClicked(t.bundle_plan)}}}),t._v(" "),n("div",{staticClass:"light-divider"}),t._v(" "),t._l(t.bundle_details,(function(e){return n("div",{staticClass:"bundle-category"},[n("CategoryHeading",{attrs:{headingData:e}}),t._v(" "),n("div",{staticClass:"bundle-category-apps"},t._l(e.apps_relation,(function(t){return n("AppCard",{attrs:{appData:t}})})),1)],1)})),t._v(" "),n("CategoryHeading",{attrs:{headingData:t.additionalBenefitsHeading}}),t._v(" "),n("BenefitsBanner"),t._v(" "),n("PlanShowcaseBanner",{staticStyle:{"margin-top":"20px"},attrs:{bundleApps:t.totalBundleApps,showcaseData:t.bundle_plan,realPrice:parseFloat(t.calculateDiscountedPrice(t.bundle_plan)).toFixed(0),oldPrice:t.bundle_plan.price,showDescription:!1,isCurrentPlan:t.isCurrentPlanId(t.bundle_plan)},on:{"plan-clicked":function(e){return t.handlePlanClicked(t.bundle_plan)}}})],2):t._e()],1)],1):t._e():n("PEmptyState",{attrs:{heading:t.translateMe("No Plans"),image:"https://cdn.shopify.com/s/files/1/0262/4071/2726/files/emptystate-files.png"}})},staticRenderFns:[]},(function(t){t&&t("data-v-6938cd50_0",{source:"@import url(https://fonts.googleapis.com/css2?family=Satisfy&display=swap);.app-manager .app-manager-plan-page .plan-table td:last-child>[data-v-5a078dbb],.app-manager .app-manager-plan-page .plan-table td:last-child>[data-v-7d902277]{float:none}.app-manager .app-manager-plan-page .active{background:#f0f8f5}.app-manager .app-manager-plan-page .plan-table td:last-child>[data-v-0d1b0d63]{float:none}.app-manager .app-manager-plan-page .plan-table td{border:.01px solid #ececee!important;border-collapse:collapse!important}.app-manager .app-manager-plan-page .plan-table .Polaris-DataTable__ScrollContainer{border-radius:12px;overflow:visible}.app-manager .app-manager-plan-page .plan-table table{border-collapse:collapse!important}.app-manager .app-manager-plan-page .custom-plan table{border-collapse:collapse!important}.app-manager .app-manager-plan-page .custom-plan table thead .first-column{border-radius:12px 0 0 0;border-top:0!important;border-left:0!important}.app-manager .app-manager-plan-page .custom-plan table thead .plan-heading.last-column{text-align:left!important;border-radius:0 12px 0 0;border-top:0!important}.app-manager .app-manager-plan-page .custom-plan table thead .plan-heading{background-color:#fff;box-shadow:rgba(23,24,24,.05) 1px 0 8px,rgba(0,0,0,.15) 0 0 2px}.app-manager .app-manager-plan-page .custom-plan table tbody tr:first-child{background-color:#fff;box-shadow:0 0 5px rgba(23,24,24,.05),0 1px 2px rgba(0,0,0,.15);border-radius:12px 0 0 0;overflow:hidden}.app-manager .app-manager-plan-page .custom-plan table tbody tr:not(:first-child:last-child){background-color:#fff;overflow:hidden}.app-manager .app-manager-plan-page .custom-plan table tbody tr:not(:first-child:last-child){background-color:#fff;box-shadow:0 0 5px rgba(23,24,24,.05),0 1px 2px rgba(0,0,0,.15);overflow:hidden}.app-manager .app-manager-plan-page .custom-plan table tbody tr:not(:nth-last-child(2)){background-color:#fff;overflow:hidden}.app-manager .app-manager-plan-page .custom-plan table tbody tr:not(:nth-last-child(2)){border-bottom:0}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child{border-bottom:0;background-color:transparent!important;box-shadow:none!important}.app-manager .app-manager-plan-page .custom-plan table tbody tr:not(:last-child){pointer-events:none}.app-manager .app-manager-plan-page .custom-plan table thead tr td{pointer-events:none}.app-manager .app-manager-plan-page .custom-plan table tbody tr:first-child td:first-child{overflow:hidden;border-radius:12px 0 0 0}.app-manager .app-manager-plan-page .custom-plan table tbody tr:nth-last-child(2){overflow:hidden;border-bottom-right-radius:0;border-bottom-left-radius:12px}.app-manager .app-manager-plan-page .custom-plan table tbody tr:nth-last-child(2) td:first-child{overflow:hidden;border-bottom:0!important;border-radius:0 0 0 12px}.app-manager .app-manager-plan-page .custom-plan table tbody tr:nth-last-child(2) td:last-child{overflow:hidden;border-radius:0 0 0}.app-manager .app-manager-plan-page .custom-plan table tbody tr td:first-child{border-left:0!important;border-top:0!important;padding-left:20px}.app-manager .app-manager-plan-page .custom-plan table tbody tr td:last-child{text-align:center!important}.app-manager .app-manager-plan-page .custom-plan table thead tr td:last-child{text-align:center!important}.app-manager .app-manager-plan-page .custom-plan table tbody td:not(:first-child){text-align:center!important}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child td:last-child{background:0 0;border-radius:0 0 12px 0}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child td:nth-child(2){border-radius:0 0 0 12px!important}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child td{background:0 0}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child td:hover{border:0!important;background:0 0}.app-manager .app-manager-plan-page .custom-plan tbody tr:last-child td.Polaris-DataTable__Cell--verticalAlignTop{background:0 0!important}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child{background:#fff!important;opacity:1}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child td:first-child{visibility:hidden;border-bottom:none!important}.app-manager .app-manager-plan-page .plan-heading{padding-top:30px}.app-manager .app-manager-plan-page .custom-plan .Polaris-Layout__Section{max-width:calc(100% - 2rem)!important}.app-manager .app-manager-plan-page .later-link{text-align:center;clear:both;padding-top:15px}.app-manager .app-manager-plan-page .plan-badge ul{text-align:center;padding-top:2rem;border-top:.1rem solid #e1e3e5}.app-manager .app-manager-plan-page .plan-badge ul li{list-style:none;display:inline-block;padding-right:25px}.app-manager .app-manager-plan-page .plan-badge ul li img{max-width:133px}.app-manager .app-manager-plan-page .btn-group .Polaris-ButtonGroup__Item{margin-left:0!important;z-index:unset!important}.app-manager .Polaris-Button::after{box-shadow:none!important}.app-manager .Polaris-Button:focus{box-shadow:none!important;border-color:#000!important}.app-manager .app-manager-plan-page.custom-title .Polaris-HorizontalDivider{background-color:#e2e3e4}.app-manager .app-manager-plan-page .Polaris-Page__Content hr{border:1px solid #e2e3e4}.app-manager .app-manager-plan-page .app-manager-group-row{background:0 0!important;padding:16px 16px 16px 20px!important}.app-manager .app-manager-plan-page .feature__type__array{vertical-align:middle!important;word-spacing:999px;white-space:pre-line!important}.app-manager .app-manager-plan-page .Polaris-DataTable__Table{table-layout:fixed!important}.app-manager .app-manager-plan-page td{vertical-align:middle!important}.app-manager .app-manager-plan-page td.feature__class{word-wrap:break-word!important;white-space:normal!important}.app-manager .app-manager-plan-page .light-green-cell{background-color:#f0f8f5;color:#257f60}.app-manager .app-manager-plan-page .plan-heading b{overflow-wrap:break-word;word-wrap:break-word;white-space:initial}.bundle-plan{display:none;flex-direction:column;gap:20px}.bundle-category{display:flex;flex-direction:column;gap:20px;margin-bottom:10px}.bundle-category-apps{display:flex;flex-direction:column;gap:10px}.light-divider{border-top:1px solid #e3e3e3;margin-top:10px;margin-bottom:10px}.app-manager .Polaris-Icon--colorSuccess svg{fill:#000!important}.button-group-new{display:flex;align-items:center;justify-content:center;gap:4px}@media (min-width:0px) and (max-width:576px){.app-manager .app-manager,.app-manager .app-manager-body{overflow-x:scroll}}@media (max-width:700px){.app-manager .Polaris-DataTable__Table{width:auto!important}}",map:void 0,media:void 0})}),qh,undefined,false,undefined,!1,Ac,void 0,void 0),Fh=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("a",{staticClass:"button",class:"button-"+t.variant,on:{click:t.handleClick}},[t._t("default")],2)},staticRenderFns:[]},(function(t){t&&t("data-v-aeb6667a_0",{source:".button[data-v-aeb6667a]{display:flex;width:fit-content!important;height:28px!important;align-items:center!important;padding:4px 12px!important;text-decoration:none!important;font-size:13px!important;font-weight:450!important;color:#4a4a4a!important;border-radius:40px!important;transition:all .3s!important}.button[data-v-aeb6667a]:hover{background-color:#0000000d!important;border-radius:8px!important}.button-primary[data-v-aeb6667a]{background-color:#3f3f3f!important;color:#fafafa!important}.button-primary[data-v-aeb6667a]:hover{cursor:pointer!important;background-color:rgba(0,0,0,.5)!important;border-radius:40px!important}.button-secondary[data-v-aeb6667a]{color:#000!important;background-color:none}.button-secondary[data-v-aeb6667a]:hover{cursor:pointer!important;background-color:rgba(0,0,0,.08)!important;border-radius:40px!important}.additional-info-primary[data-v-aeb6667a]{background-color:rgba(0,0,0,.06)!important;color:#616161!important;padding:0 6px!important;border-radius:8px!important;font-size:13px!important;font-weight:550!important}.additional-info-secondary[data-v-aeb6667a]{background-color:rgba(0,0,0,.06)!important;color:#616161!important;padding:0 6px!important;border-radius:8px!important;font-weight:550!important}.disabled[data-v-aeb6667a]{background-color:rgba(0,0,0,.08)!important;font-size:13px!important;font-weight:450!important;color:#4a4a4a!important;cursor:not-allowed!important;pointer-events:none!important}",map:void 0,media:void 0})}),{name:"SelectButton",props:{variant:{type:String,required:!0,default:function(){return"primary"}}},methods:{handleClick:function(){event.preventDefault(),this.$emit("click",event)},handlePlanClick:function(){event.preventDefault(),this.$emit("plan-clicked",event)}}},"data-v-aeb6667a",false,undefined,!1,Ac,void 0,void 0),$h=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a",{staticClass:"button",class:{"is-toggled":t.toggled},on:{click:t.handleClick}},[n("svg",{attrs:{width:"18",height:"18",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_855_6470)"}},[n("path",{attrs:{d:"M6.00512 1.50562C6.43112 1.50562 6.83912 1.67562 7.13862 1.97662L7.48762 2.32562C7.59992 2.43725 7.75178 2.49998 7.91012 2.50012H8.41012C8.83447 2.50012 9.24144 2.66869 9.54149 2.96874C9.84155 3.2688 10.0101 3.67577 10.0101 4.10012V4.60012C10.0101 4.75812 10.0731 4.91012 10.1836 5.02162L10.5326 5.37062C10.6821 5.51922 10.8007 5.69588 10.8816 5.89045C10.9626 6.08502 11.0043 6.29367 11.0044 6.50441C11.0045 6.71515 10.9629 6.92383 10.8822 7.11847C10.8014 7.31312 10.6829 7.48988 10.5336 7.63862L10.1846 7.98762C10.073 8.09991 10.0103 8.25177 10.0101 8.41012V8.91012C10.0101 9.33446 9.84155 9.74143 9.54149 10.0415C9.24144 10.3415 8.83447 10.5101 8.41012 10.5101H7.91012C7.75227 10.5103 7.60083 10.5726 7.48862 10.6836L7.13962 11.0326C6.99102 11.182 6.81436 11.3006 6.61979 11.3816C6.42522 11.4626 6.21657 11.5043 6.00583 11.5044C5.79509 11.5045 5.58641 11.4629 5.39177 11.3821C5.19712 11.3014 5.02036 11.1829 4.87162 11.0336L4.52262 10.6846C4.41033 10.573 4.25847 10.5103 4.10012 10.5101H3.60012C3.17578 10.5101 2.76881 10.3415 2.46875 10.0415C2.16869 9.74143 2.00012 9.33446 2.00012 8.91012V8.41012C1.99999 8.25226 1.93765 8.10082 1.82662 7.98862L1.47762 7.63962C1.3282 7.49101 1.2096 7.31435 1.12864 7.11978C1.04768 6.92521 1.00595 6.71656 1.00586 6.50582C1.00577 6.29508 1.04731 6.0864 1.12809 5.89176C1.20888 5.69711 1.32733 5.52035 1.47662 5.37162L1.82562 5.02262C1.93726 4.91032 1.99999 4.75846 2.00012 4.60012V4.10012L2.00262 4.00912C2.02586 3.60117 2.2043 3.21757 2.50134 2.93699C2.79838 2.6564 3.19152 2.50009 3.60012 2.50012H4.10012C4.25798 2.49998 4.40942 2.43764 4.52162 2.32662L4.87062 1.97762C5.01929 1.82806 5.19606 1.70937 5.39076 1.62836C5.58546 1.54736 5.79425 1.50565 6.00512 1.50562ZM7.25012 7.00012C7.05121 7.00012 6.86045 7.07913 6.71979 7.21979C6.57914 7.36044 6.50012 7.5512 6.50012 7.75012C6.50012 7.94903 6.57914 8.13979 6.71979 8.28045C6.86045 8.4211 7.05121 8.50012 7.25012 8.50012C7.44904 8.50012 7.6398 8.4211 7.78045 8.28045C7.92111 8.13979 8.00012 7.94903 8.00012 7.75012C8.00012 7.5512 7.92111 7.36044 7.78045 7.21979C7.6398 7.07913 7.44904 7.00012 7.25012 7.00012ZM7.85362 4.64662C7.75986 4.55288 7.63271 4.50022 7.50012 4.50022C7.36754 4.50022 7.24039 4.55288 7.14662 4.64662L4.14662 7.64662C4.05555 7.74092 4.00515 7.86722 4.00629 7.99832C4.00743 8.12941 4.06001 8.25482 4.15271 8.34752C4.24542 8.44023 4.37083 8.49281 4.50192 8.49395C4.63302 8.49509 4.75932 8.44469 4.85362 8.35362L7.85362 5.35362C7.94736 5.25985 8.00002 5.1327 8.00002 5.00012C8.00002 4.86753 7.94736 4.74038 7.85362 4.64662ZM4.75012 4.50012C4.55121 4.50012 4.36045 4.57913 4.21979 4.71979C4.07914 4.86044 4.00012 5.0512 4.00012 5.25012C4.00012 5.44903 4.07914 5.63979 4.21979 5.78045C4.36045 5.9211 4.55121 6.00012 4.75012 6.00012C4.94904 6.00012 5.1398 5.9211 5.28045 5.78045C5.42111 5.63979 5.50012 5.44903 5.50012 5.25012C5.50012 5.0512 5.42111 4.86044 5.28045 4.71979C5.1398 4.57913 4.94904 4.50012 4.75012 4.50012Z",fill:"black"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_855_6470"}},[n("rect",{attrs:{width:"12",height:"12",fill:"white",transform:"translate(0 0.5)"}})])])]),t._v(" "),t._t("default")],2)},staticRenderFns:[]},(function(t){t&&t("data-v-c4d6521e_0",{source:".button[data-v-c4d6521e]{display:flex;width:fit-content!important;align-items:center!important;gap:3px!important;padding:10px 12px!important;text-decoration:none!important;font-size:12px!important;font-weight:550!important;color:#303030!important;border-left:1px solid #e3e3e3;border-top:1px solid #e3e3e3;border-right:1px solid #e3e3e3;background-color:#fff!important;border-radius:8px!important;transition:all .3s!important;box-shadow:#e3e3e3 0 1px 0 0 inset,#e3e3e3 1px 0 0 0 inset,#e3e3e3 -1px 0 0 0 inset,#b5b5b5 0 -1px 0 0 inset;cursor:pointer}.button.is-toggled[data-v-c4d6521e],.button[data-v-c4d6521e]:hover{background-color:#ccc!important;color:#303030!important;box-shadow:#1a1a1a33 0 2px 1px 0 inset,#1a1a1a1f 1px 0 1px 0 inset,#1a1a1a1f -1px 0 1px 0 inset}",map:void 0,media:void 0})}),{name:"ToggleButton",props:{toggled:{type:Boolean,required:!0,default:function(){return!1}}},methods:{handleClick:function(){event.preventDefault(),this.$emit("click",event)},handlePlanClick:function(){event.preventDefault(),this.$emit("plan-clicked",event)}}},"data-v-c4d6521e",false,undefined,!1,Ac,void 0,void 0);function Uh(t){return null!==t&&"object"==typeof t&&"constructor"in t&&t.constructor===Object}function Wh(t={},e={}){Object.keys(e).forEach((n=>{void 0===t[n]?t[n]=e[n]:Uh(e[n])&&Uh(t[n])&&Object.keys(e[n]).length>0&&Wh(t[n],e[n])}))}const Gh={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Zh(){const t="undefined"!=typeof document?document:{};return Wh(t,Gh),t}const Yh={document:Gh,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:t=>"undefined"==typeof setTimeout?(t(),null):setTimeout(t,0),cancelAnimationFrame(t){"undefined"!=typeof setTimeout&&clearTimeout(t)}};function Kh(){const t="undefined"!=typeof window?window:{};return Wh(t,Yh),t}class Xh extends Array{constructor(t){"number"==typeof t?super(t):(super(...t||[]),function(t){const e=t.__proto__;Object.defineProperty(t,"__proto__",{get:()=>e,set(t){e.__proto__=t}})}(this))}}function Qh(t=[]){const e=[];return t.forEach((t=>{Array.isArray(t)?e.push(...Qh(t)):e.push(t)})),e}function Jh(t,e){return Array.prototype.filter.call(t,e)}function tp(t,e){const n=Kh(),a=Zh();let r=[];if(!e&&t instanceof Xh)return t;if(!t)return new Xh(r);if("string"==typeof t){const n=t.trim();if(n.indexOf("<")>=0&&n.indexOf(">")>=0){let t="div";0===n.indexOf("<li")&&(t="ul"),0===n.indexOf("<tr")&&(t="tbody"),0!==n.indexOf("<td")&&0!==n.indexOf("<th")||(t="tr"),0===n.indexOf("<tbody")&&(t="table"),0===n.indexOf("<option")&&(t="select");const e=a.createElement(t);e.innerHTML=n;for(let t=0;t<e.childNodes.length;t+=1)r.push(e.childNodes[t])}else r=function(t,e){if("string"!=typeof t)return[t];const n=[],a=e.querySelectorAll(t);for(let t=0;t<a.length;t+=1)n.push(a[t]);return n}(t.trim(),e||a)}else if(t.nodeType||t===n||t===a)r.push(t);else if(Array.isArray(t)){if(t instanceof Xh)return t;r=t}return new Xh(function(t){const e=[];for(let n=0;n<t.length;n+=1)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(r))}tp.fn=Xh.prototype;const ep={addClass:function(...t){const e=Qh(t.map((t=>t.split(" "))));return this.forEach((t=>{t.classList.add(...e)})),this},removeClass:function(...t){const e=Qh(t.map((t=>t.split(" "))));return this.forEach((t=>{t.classList.remove(...e)})),this},hasClass:function(...t){const e=Qh(t.map((t=>t.split(" "))));return Jh(this,(t=>e.filter((e=>t.classList.contains(e))).length>0)).length>0},toggleClass:function(...t){const e=Qh(t.map((t=>t.split(" "))));this.forEach((t=>{e.forEach((e=>{t.classList.toggle(e)}))}))},attr:function(t,e){if(1===arguments.length&&"string"==typeof t)return this[0]?this[0].getAttribute(t):void 0;for(let n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(t,e);else for(const e in t)this[n][e]=t[e],this[n].setAttribute(e,t[e]);return this},removeAttr:function(t){for(let e=0;e<this.length;e+=1)this[e].removeAttribute(t);return this},transform:function(t){for(let e=0;e<this.length;e+=1)this[e].style.transform=t;return this},transition:function(t){for(let e=0;e<this.length;e+=1)this[e].style.transitionDuration="string"!=typeof t?`${t}ms`:t;return this},on:function(...t){let[e,n,a,r]=t;function o(t){const e=t.target;if(!e)return;const r=t.target.dom7EventData||[];if(r.indexOf(t)<0&&r.unshift(t),tp(e).is(n))a.apply(e,r);else{const t=tp(e).parents();for(let e=0;e<t.length;e+=1)tp(t[e]).is(n)&&a.apply(t[e],r)}}function i(t){const e=t&&t.target&&t.target.dom7EventData||[];e.indexOf(t)<0&&e.unshift(t),a.apply(this,e)}"function"==typeof t[1]&&([e,a,r]=t,n=void 0),r||(r=!1);const s=e.split(" ");let l;for(let t=0;t<this.length;t+=1){const e=this[t];if(n)for(l=0;l<s.length;l+=1){const t=s[l];e.dom7LiveListeners||(e.dom7LiveListeners={}),e.dom7LiveListeners[t]||(e.dom7LiveListeners[t]=[]),e.dom7LiveListeners[t].push({listener:a,proxyListener:o}),e.addEventListener(t,o,r)}else for(l=0;l<s.length;l+=1){const t=s[l];e.dom7Listeners||(e.dom7Listeners={}),e.dom7Listeners[t]||(e.dom7Listeners[t]=[]),e.dom7Listeners[t].push({listener:a,proxyListener:i}),e.addEventListener(t,i,r)}}return this},off:function(...t){let[e,n,a,r]=t;"function"==typeof t[1]&&([e,a,r]=t,n=void 0),r||(r=!1);const o=e.split(" ");for(let t=0;t<o.length;t+=1){const e=o[t];for(let t=0;t<this.length;t+=1){const o=this[t];let i;if(!n&&o.dom7Listeners?i=o.dom7Listeners[e]:n&&o.dom7LiveListeners&&(i=o.dom7LiveListeners[e]),i&&i.length)for(let t=i.length-1;t>=0;t-=1){const n=i[t];a&&n.listener===a||a&&n.listener&&n.listener.dom7proxy&&n.listener.dom7proxy===a?(o.removeEventListener(e,n.proxyListener,r),i.splice(t,1)):a||(o.removeEventListener(e,n.proxyListener,r),i.splice(t,1))}}}return this},trigger:function(...t){const e=Kh(),n=t[0].split(" "),a=t[1];for(let r=0;r<n.length;r+=1){const o=n[r];for(let n=0;n<this.length;n+=1){const r=this[n];if(e.CustomEvent){const n=new e.CustomEvent(o,{detail:a,bubbles:!0,cancelable:!0});r.dom7EventData=t.filter(((t,e)=>e>0)),r.dispatchEvent(n),r.dom7EventData=[],delete r.dom7EventData}}}return this},transitionEnd:function(t){const e=this;return t&&e.on("transitionend",(function n(a){a.target===this&&(t.call(this,a),e.off("transitionend",n))})),this},outerWidth:function(t){if(this.length>0){if(t){const t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(t){if(this.length>0){if(t){const t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){const t=Kh();return this[0]?t.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){const t=Kh(),e=Zh(),n=this[0],a=n.getBoundingClientRect(),r=e.body,o=n.clientTop||r.clientTop||0,i=n.clientLeft||r.clientLeft||0,s=n===t?t.scrollY:n.scrollTop,l=n===t?t.scrollX:n.scrollLeft;return{top:a.top+s-o,left:a.left+l-i}}return null},css:function(t,e){const n=Kh();let a;if(1===arguments.length){if("string"!=typeof t){for(a=0;a<this.length;a+=1)for(const e in t)this[a].style[e]=t[e];return this}if(this[0])return n.getComputedStyle(this[0],null).getPropertyValue(t)}if(2===arguments.length&&"string"==typeof t){for(a=0;a<this.length;a+=1)this[a].style[t]=e;return this}return this},each:function(t){return t?(this.forEach(((e,n)=>{t.apply(e,[e,n])})),this):this},html:function(t){if(void 0===t)return this[0]?this[0].innerHTML:null;for(let e=0;e<this.length;e+=1)this[e].innerHTML=t;return this},text:function(t){if(void 0===t)return this[0]?this[0].textContent.trim():null;for(let e=0;e<this.length;e+=1)this[e].textContent=t;return this},is:function(t){const e=Kh(),n=Zh(),a=this[0];let r,o;if(!a||void 0===t)return!1;if("string"==typeof t){if(a.matches)return a.matches(t);if(a.webkitMatchesSelector)return a.webkitMatchesSelector(t);if(a.msMatchesSelector)return a.msMatchesSelector(t);for(r=tp(t),o=0;o<r.length;o+=1)if(r[o]===a)return!0;return!1}if(t===n)return a===n;if(t===e)return a===e;if(t.nodeType||t instanceof Xh){for(r=t.nodeType?[t]:t,o=0;o<r.length;o+=1)if(r[o]===a)return!0;return!1}return!1},index:function(){let t,e=this[0];if(e){for(t=0;null!==(e=e.previousSibling);)1===e.nodeType&&(t+=1);return t}},eq:function(t){if(void 0===t)return this;const e=this.length;if(t>e-1)return tp([]);if(t<0){const n=e+t;return tp(n<0?[]:[this[n]])}return tp([this[t]])},append:function(...t){let e;const n=Zh();for(let a=0;a<t.length;a+=1){e=t[a];for(let t=0;t<this.length;t+=1)if("string"==typeof e){const a=n.createElement("div");for(a.innerHTML=e;a.firstChild;)this[t].appendChild(a.firstChild)}else if(e instanceof Xh)for(let n=0;n<e.length;n+=1)this[t].appendChild(e[n]);else this[t].appendChild(e)}return this},prepend:function(t){const e=Zh();let n,a;for(n=0;n<this.length;n+=1)if("string"==typeof t){const r=e.createElement("div");for(r.innerHTML=t,a=r.childNodes.length-1;a>=0;a-=1)this[n].insertBefore(r.childNodes[a],this[n].childNodes[0])}else if(t instanceof Xh)for(a=0;a<t.length;a+=1)this[n].insertBefore(t[a],this[n].childNodes[0]);else this[n].insertBefore(t,this[n].childNodes[0]);return this},next:function(t){return this.length>0?t?this[0].nextElementSibling&&tp(this[0].nextElementSibling).is(t)?tp([this[0].nextElementSibling]):tp([]):this[0].nextElementSibling?tp([this[0].nextElementSibling]):tp([]):tp([])},nextAll:function(t){const e=[];let n=this[0];if(!n)return tp([]);for(;n.nextElementSibling;){const a=n.nextElementSibling;t?tp(a).is(t)&&e.push(a):e.push(a),n=a}return tp(e)},prev:function(t){if(this.length>0){const e=this[0];return t?e.previousElementSibling&&tp(e.previousElementSibling).is(t)?tp([e.previousElementSibling]):tp([]):e.previousElementSibling?tp([e.previousElementSibling]):tp([])}return tp([])},prevAll:function(t){const e=[];let n=this[0];if(!n)return tp([]);for(;n.previousElementSibling;){const a=n.previousElementSibling;t?tp(a).is(t)&&e.push(a):e.push(a),n=a}return tp(e)},parent:function(t){const e=[];for(let n=0;n<this.length;n+=1)null!==this[n].parentNode&&(t?tp(this[n].parentNode).is(t)&&e.push(this[n].parentNode):e.push(this[n].parentNode));return tp(e)},parents:function(t){const e=[];for(let n=0;n<this.length;n+=1){let a=this[n].parentNode;for(;a;)t?tp(a).is(t)&&e.push(a):e.push(a),a=a.parentNode}return tp(e)},closest:function(t){let e=this;return void 0===t?tp([]):(e.is(t)||(e=e.parents(t).eq(0)),e)},find:function(t){const e=[];for(let n=0;n<this.length;n+=1){const a=this[n].querySelectorAll(t);for(let t=0;t<a.length;t+=1)e.push(a[t])}return tp(e)},children:function(t){const e=[];for(let n=0;n<this.length;n+=1){const a=this[n].children;for(let n=0;n<a.length;n+=1)t&&!tp(a[n]).is(t)||e.push(a[n])}return tp(e)},filter:function(t){return tp(Jh(this,t))},remove:function(){for(let t=0;t<this.length;t+=1)this[t].parentNode&&this[t].parentNode.removeChild(this[t]);return this}};function np(t,e=0){return setTimeout(t,e)}function ap(){return Date.now()}function rp(t,e="x"){const n=Kh();let a,r,o;const i=function(t){const e=Kh();let n;return e.getComputedStyle&&(n=e.getComputedStyle(t,null)),!n&&t.currentStyle&&(n=t.currentStyle),n||(n=t.style),n}(t);return n.WebKitCSSMatrix?(r=i.transform||i.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map((t=>t.replace(",","."))).join(", ")),o=new n.WebKitCSSMatrix("none"===r?"":r)):(o=i.MozTransform||i.OTransform||i.MsTransform||i.msTransform||i.transform||i.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),a=o.toString().split(",")),"x"===e&&(r=n.WebKitCSSMatrix?o.m41:16===a.length?parseFloat(a[12]):parseFloat(a[4])),"y"===e&&(r=n.WebKitCSSMatrix?o.m42:16===a.length?parseFloat(a[13]):parseFloat(a[5])),r||0}function op(t){return"object"==typeof t&&null!==t&&t.constructor&&"Object"===Object.prototype.toString.call(t).slice(8,-1)}function ip(t){return"undefined"!=typeof window&&void 0!==window.HTMLElement?t instanceof HTMLElement:t&&(1===t.nodeType||11===t.nodeType)}function sp(...t){const e=Object(t[0]),n=["__proto__","constructor","prototype"];for(let a=1;a<t.length;a+=1){const r=t[a];if(null!=r&&!ip(r)){const t=Object.keys(Object(r)).filter((t=>n.indexOf(t)<0));for(let n=0,a=t.length;n<a;n+=1){const a=t[n],o=Object.getOwnPropertyDescriptor(r,a);void 0!==o&&o.enumerable&&(op(e[a])&&op(r[a])?r[a].__swiper__?e[a]=r[a]:sp(e[a],r[a]):!op(e[a])&&op(r[a])?(e[a]={},r[a].__swiper__?e[a]=r[a]:sp(e[a],r[a])):e[a]=r[a])}}}return e}function lp(t,e,n){t.style.setProperty(e,n)}function cp({swiper:t,targetPosition:e,side:n}){const a=Kh(),r=-t.translate;let o,i=null;const s=t.params.speed;t.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(t.cssModeFrameID);const l=e>r?"next":"prev",c=(t,e)=>"next"===l&&t>=e||"prev"===l&&t<=e,u=()=>{o=(new Date).getTime(),null===i&&(i=o);const l=Math.max(Math.min((o-i)/s,1),0),d=.5-Math.cos(l*Math.PI)/2;let h=r+d*(e-r);if(c(h,e)&&(h=e),t.wrapperEl.scrollTo({[n]:h}),c(h,e))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[n]:h})})),void a.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=a.requestAnimationFrame(u)};u()}let up,dp,hp;function pp(){return up||(up=function(){const t=Kh(),e=Zh();return{smoothScroll:e.documentElement&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch),passiveListener:function(){let e=!1;try{const n=Object.defineProperty({},"passive",{get(){e=!0}});t.addEventListener("testPassiveListener",null,n)}catch(t){}return e}(),gestures:"ongesturestart"in t}}()),up}function fp(t={}){return dp||(dp=function({userAgent:t}={}){const e=pp(),n=Kh(),a=n.navigator.platform,r=t||n.navigator.userAgent,o={ios:!1,android:!1},i=n.screen.width,s=n.screen.height,l=r.match(/(Android);?[\s\/]+([\d.]+)?/);let c=r.match(/(iPad).*OS\s([\d_]+)/);const u=r.match(/(iPod)(.*OS\s([\d_]+))?/),d=!c&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===a;let p="MacIntel"===a;return!c&&p&&e.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${i}x${s}`)>=0&&(c=r.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),p=!1),l&&!h&&(o.os="android",o.android=!0),(c||d||u)&&(o.os="ios",o.ios=!0),o}(t)),dp}function vp(){return hp||(hp=function(){const t=Kh();return{isSafari:function(){const e=t.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}()),hp}Object.keys(ep).forEach((t=>{Object.defineProperty(tp.fn,t,{value:ep[t],writable:!0})}));var gp={on(t,e,n){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof e)return a;const r=n?"unshift":"push";return t.split(" ").forEach((t=>{a.eventsListeners[t]||(a.eventsListeners[t]=[]),a.eventsListeners[t][r](e)})),a},once(t,e,n){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof e)return a;function r(...n){a.off(t,r),r.__emitterProxy&&delete r.__emitterProxy,e.apply(a,n)}return r.__emitterProxy=e,a.on(t,r,n)},onAny(t,e){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;const a=e?"unshift":"push";return n.eventsAnyListeners.indexOf(t)<0&&n.eventsAnyListeners[a](t),n},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsAnyListeners)return e;const n=e.eventsAnyListeners.indexOf(t);return n>=0&&e.eventsAnyListeners.splice(n,1),e},off(t,e){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(t.split(" ").forEach((t=>{void 0===e?n.eventsListeners[t]=[]:n.eventsListeners[t]&&n.eventsListeners[t].forEach(((a,r)=>{(a===e||a.__emitterProxy&&a.__emitterProxy===e)&&n.eventsListeners[t].splice(r,1)}))})),n):n},emit(...t){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let n,a,r;"string"==typeof t[0]||Array.isArray(t[0])?(n=t[0],a=t.slice(1,t.length),r=e):(n=t[0].events,a=t[0].data,r=t[0].context||e),a.unshift(r);return(Array.isArray(n)?n:n.split(" ")).forEach((t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(r,[t,...a])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((t=>{t.apply(r,a)}))})),e}};var mp={updateSize:function(){const t=this;let e,n;const a=t.$el;e=void 0!==t.params.width&&null!==t.params.width?t.params.width:a[0].clientWidth,n=void 0!==t.params.height&&null!==t.params.height?t.params.height:a[0].clientHeight,0===e&&t.isHorizontal()||0===n&&t.isVertical()||(e=e-parseInt(a.css("padding-left")||0,10)-parseInt(a.css("padding-right")||0,10),n=n-parseInt(a.css("padding-top")||0,10)-parseInt(a.css("padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(n)&&(n=0),Object.assign(t,{width:e,height:n,size:t.isHorizontal()?e:n}))},updateSlides:function(){const t=this;function e(e){return t.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}function n(t,n){return parseFloat(t.getPropertyValue(e(n))||0)}const a=t.params,{$wrapperEl:r,size:o,rtlTranslate:i,wrongRTL:s}=t,l=t.virtual&&a.virtual.enabled,c=l?t.virtual.slides.length:t.slides.length,u=r.children(`.${t.params.slideClass}`),d=l?t.virtual.slides.length:u.length;let h=[];const p=[],f=[];let v=a.slidesOffsetBefore;"function"==typeof v&&(v=a.slidesOffsetBefore.call(t));let g=a.slidesOffsetAfter;"function"==typeof g&&(g=a.slidesOffsetAfter.call(t));const m=t.snapGrid.length,y=t.slidesGrid.length;let w=a.spaceBetween,b=-v,_=0,x=0;if(void 0===o)return;"string"==typeof w&&w.indexOf("%")>=0&&(w=parseFloat(w.replace("%",""))/100*o),t.virtualSize=-w,i?u.css({marginLeft:"",marginBottom:"",marginTop:""}):u.css({marginRight:"",marginBottom:"",marginTop:""}),a.centeredSlides&&a.cssMode&&(lp(t.wrapperEl,"--swiper-centered-offset-before",""),lp(t.wrapperEl,"--swiper-centered-offset-after",""));const M=a.grid&&a.grid.rows>1&&t.grid;let C;M&&t.grid.initSlides(d);const P="auto"===a.slidesPerView&&a.breakpoints&&Object.keys(a.breakpoints).filter((t=>void 0!==a.breakpoints[t].slidesPerView)).length>0;for(let r=0;r<d;r+=1){C=0;const i=u.eq(r);if(M&&t.grid.updateSlide(r,i,d,e),"none"!==i.css("display")){if("auto"===a.slidesPerView){P&&(u[r].style[e("width")]="");const o=getComputedStyle(i[0]),s=i[0].style.transform,l=i[0].style.webkitTransform;if(s&&(i[0].style.transform="none"),l&&(i[0].style.webkitTransform="none"),a.roundLengths)C=t.isHorizontal()?i.outerWidth(!0):i.outerHeight(!0);else{const t=n(o,"width"),e=n(o,"padding-left"),a=n(o,"padding-right"),r=n(o,"margin-left"),s=n(o,"margin-right"),l=o.getPropertyValue("box-sizing");if(l&&"border-box"===l)C=t+r+s;else{const{clientWidth:n,offsetWidth:o}=i[0];C=t+e+a+r+s+(o-n)}}s&&(i[0].style.transform=s),l&&(i[0].style.webkitTransform=l),a.roundLengths&&(C=Math.floor(C))}else C=(o-(a.slidesPerView-1)*w)/a.slidesPerView,a.roundLengths&&(C=Math.floor(C)),u[r]&&(u[r].style[e("width")]=`${C}px`);u[r]&&(u[r].swiperSlideSize=C),f.push(C),a.centeredSlides?(b=b+C/2+_/2+w,0===_&&0!==r&&(b=b-o/2-w),0===r&&(b=b-o/2-w),Math.abs(b)<.001&&(b=0),a.roundLengths&&(b=Math.floor(b)),x%a.slidesPerGroup==0&&h.push(b),p.push(b)):(a.roundLengths&&(b=Math.floor(b)),(x-Math.min(t.params.slidesPerGroupSkip,x))%t.params.slidesPerGroup==0&&h.push(b),p.push(b),b=b+C+w),t.virtualSize+=C+w,_=C,x+=1}}if(t.virtualSize=Math.max(t.virtualSize,o)+g,i&&s&&("slide"===a.effect||"coverflow"===a.effect)&&r.css({width:`${t.virtualSize+a.spaceBetween}px`}),a.setWrapperSize&&r.css({[e("width")]:`${t.virtualSize+a.spaceBetween}px`}),M&&t.grid.updateWrapperSize(C,h,e),!a.centeredSlides){const e=[];for(let n=0;n<h.length;n+=1){let r=h[n];a.roundLengths&&(r=Math.floor(r)),h[n]<=t.virtualSize-o&&e.push(r)}h=e,Math.floor(t.virtualSize-o)-Math.floor(h[h.length-1])>1&&h.push(t.virtualSize-o)}if(0===h.length&&(h=[0]),0!==a.spaceBetween){const n=t.isHorizontal()&&i?"marginLeft":e("marginRight");u.filter(((t,e)=>!a.cssMode||e!==u.length-1)).css({[n]:`${w}px`})}if(a.centeredSlides&&a.centeredSlidesBounds){let t=0;f.forEach((e=>{t+=e+(a.spaceBetween?a.spaceBetween:0)})),t-=a.spaceBetween;const e=t-o;h=h.map((t=>t<0?-v:t>e?e+g:t))}if(a.centerInsufficientSlides){let t=0;if(f.forEach((e=>{t+=e+(a.spaceBetween?a.spaceBetween:0)})),t-=a.spaceBetween,t<o){const e=(o-t)/2;h.forEach(((t,n)=>{h[n]=t-e})),p.forEach(((t,n)=>{p[n]=t+e}))}}if(Object.assign(t,{slides:u,snapGrid:h,slidesGrid:p,slidesSizesGrid:f}),a.centeredSlides&&a.cssMode&&!a.centeredSlidesBounds){lp(t.wrapperEl,"--swiper-centered-offset-before",-h[0]+"px"),lp(t.wrapperEl,"--swiper-centered-offset-after",t.size/2-f[f.length-1]/2+"px");const e=-t.snapGrid[0],n=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map((t=>t+e)),t.slidesGrid=t.slidesGrid.map((t=>t+n))}if(d!==c&&t.emit("slidesLengthChange"),h.length!==m&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),p.length!==y&&t.emit("slidesGridLengthChange"),a.watchSlidesProgress&&t.updateSlidesOffset(),!(l||a.cssMode||"slide"!==a.effect&&"fade"!==a.effect)){const e=`${a.containerModifierClass}backface-hidden`,n=t.$el.hasClass(e);d<=a.maxBackfaceHiddenSlides?n||t.$el.addClass(e):n&&t.$el.removeClass(e)}},updateAutoHeight:function(t){const e=this,n=[],a=e.virtual&&e.params.virtual.enabled;let r,o=0;"number"==typeof t?e.setTransition(t):!0===t&&e.setTransition(e.params.speed);const i=t=>a?e.slides.filter((e=>parseInt(e.getAttribute("data-swiper-slide-index"),10)===t))[0]:e.slides.eq(t)[0];if("auto"!==e.params.slidesPerView&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||tp([])).each((t=>{n.push(t)}));else for(r=0;r<Math.ceil(e.params.slidesPerView);r+=1){const t=e.activeIndex+r;if(t>e.slides.length&&!a)break;n.push(i(t))}else n.push(i(e.activeIndex));for(r=0;r<n.length;r+=1)if(void 0!==n[r]){const t=n[r].offsetHeight;o=t>o?t:o}(o||0===o)&&e.$wrapperEl.css("height",`${o}px`)},updateSlidesOffset:function(){const t=this,e=t.slides;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop},updateSlidesProgress:function(t=this&&this.translate||0){const e=this,n=e.params,{slides:a,rtlTranslate:r,snapGrid:o}=e;if(0===a.length)return;void 0===a[0].swiperSlideOffset&&e.updateSlidesOffset();let i=-t;r&&(i=t),a.removeClass(n.slideVisibleClass),e.visibleSlidesIndexes=[],e.visibleSlides=[];for(let t=0;t<a.length;t+=1){const s=a[t];let l=s.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(l-=a[0].swiperSlideOffset);const c=(i+(n.centeredSlides?e.minTranslate():0)-l)/(s.swiperSlideSize+n.spaceBetween),u=(i-o[0]+(n.centeredSlides?e.minTranslate():0)-l)/(s.swiperSlideSize+n.spaceBetween),d=-(i-l),h=d+e.slidesSizesGrid[t];(d>=0&&d<e.size-1||h>1&&h<=e.size||d<=0&&h>=e.size)&&(e.visibleSlides.push(s),e.visibleSlidesIndexes.push(t),a.eq(t).addClass(n.slideVisibleClass)),s.progress=r?-c:c,s.originalProgress=r?-u:u}e.visibleSlides=tp(e.visibleSlides)},updateProgress:function(t){const e=this;if(void 0===t){const n=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*n||0}const n=e.params,a=e.maxTranslate()-e.minTranslate();let{progress:r,isBeginning:o,isEnd:i}=e;const s=o,l=i;0===a?(r=0,o=!0,i=!0):(r=(t-e.minTranslate())/a,o=r<=0,i=r>=1),Object.assign(e,{progress:r,isBeginning:o,isEnd:i}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&e.updateSlidesProgress(t),o&&!s&&e.emit("reachBeginning toEdge"),i&&!l&&e.emit("reachEnd toEdge"),(s&&!o||l&&!i)&&e.emit("fromEdge"),e.emit("progress",r)},updateSlidesClasses:function(){const t=this,{slides:e,params:n,$wrapperEl:a,activeIndex:r,realIndex:o}=t,i=t.virtual&&n.virtual.enabled;let s;e.removeClass(`${n.slideActiveClass} ${n.slideNextClass} ${n.slidePrevClass} ${n.slideDuplicateActiveClass} ${n.slideDuplicateNextClass} ${n.slideDuplicatePrevClass}`),s=i?t.$wrapperEl.find(`.${n.slideClass}[data-swiper-slide-index="${r}"]`):e.eq(r),s.addClass(n.slideActiveClass),n.loop&&(s.hasClass(n.slideDuplicateClass)?a.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${o}"]`).addClass(n.slideDuplicateActiveClass):a.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${o}"]`).addClass(n.slideDuplicateActiveClass));let l=s.nextAll(`.${n.slideClass}`).eq(0).addClass(n.slideNextClass);n.loop&&0===l.length&&(l=e.eq(0),l.addClass(n.slideNextClass));let c=s.prevAll(`.${n.slideClass}`).eq(0).addClass(n.slidePrevClass);n.loop&&0===c.length&&(c=e.eq(-1),c.addClass(n.slidePrevClass)),n.loop&&(l.hasClass(n.slideDuplicateClass)?a.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass):a.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass),c.hasClass(n.slideDuplicateClass)?a.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass):a.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass)),t.emitSlidesClasses()},updateActiveIndex:function(t){const e=this,n=e.rtlTranslate?e.translate:-e.translate,{slidesGrid:a,snapGrid:r,params:o,activeIndex:i,realIndex:s,snapIndex:l}=e;let c,u=t;if(void 0===u){for(let t=0;t<a.length;t+=1)void 0!==a[t+1]?n>=a[t]&&n<a[t+1]-(a[t+1]-a[t])/2?u=t:n>=a[t]&&n<a[t+1]&&(u=t+1):n>=a[t]&&(u=t);o.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}if(r.indexOf(n)>=0)c=r.indexOf(n);else{const t=Math.min(o.slidesPerGroupSkip,u);c=t+Math.floor((u-t)/o.slidesPerGroup)}if(c>=r.length&&(c=r.length-1),u===i)return void(c!==l&&(e.snapIndex=c,e.emit("snapIndexChange")));const d=parseInt(e.slides.eq(u).attr("data-swiper-slide-index")||u,10);Object.assign(e,{snapIndex:c,realIndex:d,previousIndex:i,activeIndex:u}),e.emit("activeIndexChange"),e.emit("snapIndexChange"),s!==d&&e.emit("realIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&e.emit("slideChange")},updateClickedSlide:function(t){const e=this,n=e.params,a=tp(t).closest(`.${n.slideClass}`)[0];let r,o=!1;if(a)for(let t=0;t<e.slides.length;t+=1)if(e.slides[t]===a){o=!0,r=t;break}if(!a||!o)return e.clickedSlide=void 0,void(e.clickedIndex=void 0);e.clickedSlide=a,e.virtual&&e.params.virtual.enabled?e.clickedIndex=parseInt(tp(a).attr("data-swiper-slide-index"),10):e.clickedIndex=r,n.slideToClickedSlide&&void 0!==e.clickedIndex&&e.clickedIndex!==e.activeIndex&&e.slideToClickedSlide()}};var yp={getTranslate:function(t=(this.isHorizontal()?"x":"y")){const{params:e,rtlTranslate:n,translate:a,$wrapperEl:r}=this;if(e.virtualTranslate)return n?-a:a;if(e.cssMode)return a;let o=rp(r[0],t);return n&&(o=-o),o||0},setTranslate:function(t,e){const n=this,{rtlTranslate:a,params:r,$wrapperEl:o,wrapperEl:i,progress:s}=n;let l,c=0,u=0;n.isHorizontal()?c=a?-t:t:u=t,r.roundLengths&&(c=Math.floor(c),u=Math.floor(u)),r.cssMode?i[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-c:-u:r.virtualTranslate||o.transform(`translate3d(${c}px, ${u}px, 0px)`),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?c:u;const d=n.maxTranslate()-n.minTranslate();l=0===d?0:(t-n.minTranslate())/d,l!==s&&n.updateProgress(t),n.emit("setTranslate",n.translate,e)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(t=0,e=this.params.speed,n=!0,a=!0,r){const o=this,{params:i,wrapperEl:s}=o;if(o.animating&&i.preventInteractionOnTransition)return!1;const l=o.minTranslate(),c=o.maxTranslate();let u;if(u=a&&t>l?l:a&&t<c?c:t,o.updateProgress(u),i.cssMode){const t=o.isHorizontal();if(0===e)s[t?"scrollLeft":"scrollTop"]=-u;else{if(!o.support.smoothScroll)return cp({swiper:o,targetPosition:-u,side:t?"left":"top"}),!0;s.scrollTo({[t?"left":"top"]:-u,behavior:"smooth"})}return!0}return 0===e?(o.setTransition(0),o.setTranslate(u),n&&(o.emit("beforeTransitionStart",e,r),o.emit("transitionEnd"))):(o.setTransition(e),o.setTranslate(u),n&&(o.emit("beforeTransitionStart",e,r),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(t){o&&!o.destroyed&&t.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,n&&o.emit("transitionEnd"))}),o.$wrapperEl[0].addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd))),!0}};function wp({swiper:t,runCallbacks:e,direction:n,step:a}){const{activeIndex:r,previousIndex:o}=t;let i=n;if(i||(i=r>o?"next":r<o?"prev":"reset"),t.emit(`transition${a}`),e&&r!==o){if("reset"===i)return void t.emit(`slideResetTransition${a}`);t.emit(`slideChangeTransition${a}`),"next"===i?t.emit(`slideNextTransition${a}`):t.emit(`slidePrevTransition${a}`)}}var bp={slideTo:function(t=0,e=this.params.speed,n=!0,a,r){if("number"!=typeof t&&"string"!=typeof t)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof t}] given.`);if("string"==typeof t){const e=parseInt(t,10);if(!isFinite(e))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${t}] given.`);t=e}const o=this;let i=t;i<0&&(i=0);const{params:s,snapGrid:l,slidesGrid:c,previousIndex:u,activeIndex:d,rtlTranslate:h,wrapperEl:p,enabled:f}=o;if(o.animating&&s.preventInteractionOnTransition||!f&&!a&&!r)return!1;const v=Math.min(o.params.slidesPerGroupSkip,i);let g=v+Math.floor((i-v)/o.params.slidesPerGroup);g>=l.length&&(g=l.length-1);const m=-l[g];if(s.normalizeSlideIndex)for(let t=0;t<c.length;t+=1){const e=-Math.floor(100*m),n=Math.floor(100*c[t]),a=Math.floor(100*c[t+1]);void 0!==c[t+1]?e>=n&&e<a-(a-n)/2?i=t:e>=n&&e<a&&(i=t+1):e>=n&&(i=t)}if(o.initialized&&i!==d){if(!o.allowSlideNext&&m<o.translate&&m<o.minTranslate())return!1;if(!o.allowSlidePrev&&m>o.translate&&m>o.maxTranslate()&&(d||0)!==i)return!1}let y;if(i!==(u||0)&&n&&o.emit("beforeSlideChangeStart"),o.updateProgress(m),y=i>d?"next":i<d?"prev":"reset",h&&-m===o.translate||!h&&m===o.translate)return o.updateActiveIndex(i),s.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),"slide"!==s.effect&&o.setTranslate(m),"reset"!==y&&(o.transitionStart(n,y),o.transitionEnd(n,y)),!1;if(s.cssMode){const t=o.isHorizontal(),n=h?m:-m;if(0===e){const e=o.virtual&&o.params.virtual.enabled;e&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),p[t?"scrollLeft":"scrollTop"]=n,e&&requestAnimationFrame((()=>{o.wrapperEl.style.scrollSnapType="",o._swiperImmediateVirtual=!1}))}else{if(!o.support.smoothScroll)return cp({swiper:o,targetPosition:n,side:t?"left":"top"}),!0;p.scrollTo({[t?"left":"top"]:n,behavior:"smooth"})}return!0}return o.setTransition(e),o.setTranslate(m),o.updateActiveIndex(i),o.updateSlidesClasses(),o.emit("beforeTransitionStart",e,a),o.transitionStart(n,y),0===e?o.transitionEnd(n,y):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(t){o&&!o.destroyed&&t.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(n,y))}),o.$wrapperEl[0].addEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(t=0,e=this.params.speed,n=!0,a){if("string"==typeof t){const e=parseInt(t,10);if(!isFinite(e))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${t}] given.`);t=e}const r=this;let o=t;return r.params.loop&&(o+=r.loopedSlides),r.slideTo(o,e,n,a)},slideNext:function(t=this.params.speed,e=!0,n){const a=this,{animating:r,enabled:o,params:i}=a;if(!o)return a;let s=i.slidesPerGroup;"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(s=Math.max(a.slidesPerViewDynamic("current",!0),1));const l=a.activeIndex<i.slidesPerGroupSkip?1:s;if(i.loop){if(r&&i.loopPreventsSlide)return!1;a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft}return i.rewind&&a.isEnd?a.slideTo(0,t,e,n):a.slideTo(a.activeIndex+l,t,e,n)},slidePrev:function(t=this.params.speed,e=!0,n){const a=this,{params:r,animating:o,snapGrid:i,slidesGrid:s,rtlTranslate:l,enabled:c}=a;if(!c)return a;if(r.loop){if(o&&r.loopPreventsSlide)return!1;a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft}function u(t){return t<0?-Math.floor(Math.abs(t)):Math.floor(t)}const d=u(l?a.translate:-a.translate),h=i.map((t=>u(t)));let p=i[h.indexOf(d)-1];if(void 0===p&&r.cssMode){let t;i.forEach(((e,n)=>{d>=e&&(t=n)})),void 0!==t&&(p=i[t>0?t-1:t])}let f=0;if(void 0!==p&&(f=s.indexOf(p),f<0&&(f=a.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(f=f-a.slidesPerViewDynamic("previous",!0)+1,f=Math.max(f,0))),r.rewind&&a.isBeginning){const r=a.params.virtual&&a.params.virtual.enabled&&a.virtual?a.virtual.slides.length-1:a.slides.length-1;return a.slideTo(r,t,e,n)}return a.slideTo(f,t,e,n)},slideReset:function(t=this.params.speed,e=!0,n){return this.slideTo(this.activeIndex,t,e,n)},slideToClosest:function(t=this.params.speed,e=!0,n,a=.5){const r=this;let o=r.activeIndex;const i=Math.min(r.params.slidesPerGroupSkip,o),s=i+Math.floor((o-i)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[s]){const t=r.snapGrid[s];l-t>(r.snapGrid[s+1]-t)*a&&(o+=r.params.slidesPerGroup)}else{const t=r.snapGrid[s-1];l-t<=(r.snapGrid[s]-t)*a&&(o-=r.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,r.slidesGrid.length-1),r.slideTo(o,t,e,n)},slideToClickedSlide:function(){const t=this,{params:e,$wrapperEl:n}=t,a="auto"===e.slidesPerView?t.slidesPerViewDynamic():e.slidesPerView;let r,o=t.clickedIndex;if(e.loop){if(t.animating)return;r=parseInt(tp(t.clickedSlide).attr("data-swiper-slide-index"),10),e.centeredSlides?o<t.loopedSlides-a/2||o>t.slides.length-t.loopedSlides+a/2?(t.loopFix(),o=n.children(`.${e.slideClass}[data-swiper-slide-index="${r}"]:not(.${e.slideDuplicateClass})`).eq(0).index(),np((()=>{t.slideTo(o)}))):t.slideTo(o):o>t.slides.length-a?(t.loopFix(),o=n.children(`.${e.slideClass}[data-swiper-slide-index="${r}"]:not(.${e.slideDuplicateClass})`).eq(0).index(),np((()=>{t.slideTo(o)}))):t.slideTo(o)}else t.slideTo(o)}};var _p={loopCreate:function(){const t=this,e=Zh(),{params:n,$wrapperEl:a}=t,r=a.children().length>0?tp(a.children()[0].parentNode):a;r.children(`.${n.slideClass}.${n.slideDuplicateClass}`).remove();let o=r.children(`.${n.slideClass}`);if(n.loopFillGroupWithBlank){const t=n.slidesPerGroup-o.length%n.slidesPerGroup;if(t!==n.slidesPerGroup){for(let a=0;a<t;a+=1){const t=tp(e.createElement("div")).addClass(`${n.slideClass} ${n.slideBlankClass}`);r.append(t)}o=r.children(`.${n.slideClass}`)}}"auto"!==n.slidesPerView||n.loopedSlides||(n.loopedSlides=o.length),t.loopedSlides=Math.ceil(parseFloat(n.loopedSlides||n.slidesPerView,10)),t.loopedSlides+=n.loopAdditionalSlides,t.loopedSlides>o.length&&t.params.loopedSlidesLimit&&(t.loopedSlides=o.length);const i=[],s=[];o.each(((t,e)=>{tp(t).attr("data-swiper-slide-index",e)}));for(let e=0;e<t.loopedSlides;e+=1){const t=e-Math.floor(e/o.length)*o.length;s.push(o.eq(t)[0]),i.unshift(o.eq(o.length-t-1)[0])}for(let t=0;t<s.length;t+=1)r.append(tp(s[t].cloneNode(!0)).addClass(n.slideDuplicateClass));for(let t=i.length-1;t>=0;t-=1)r.prepend(tp(i[t].cloneNode(!0)).addClass(n.slideDuplicateClass))},loopFix:function(){const t=this;t.emit("beforeLoopFix");const{activeIndex:e,slides:n,loopedSlides:a,allowSlidePrev:r,allowSlideNext:o,snapGrid:i,rtlTranslate:s}=t;let l;t.allowSlidePrev=!0,t.allowSlideNext=!0;const c=-i[e]-t.getTranslate();if(e<a){l=n.length-3*a+e,l+=a;t.slideTo(l,0,!1,!0)&&0!==c&&t.setTranslate((s?-t.translate:t.translate)-c)}else if(e>=n.length-a){l=-n.length+e+a,l+=a;t.slideTo(l,0,!1,!0)&&0!==c&&t.setTranslate((s?-t.translate:t.translate)-c)}t.allowSlidePrev=r,t.allowSlideNext=o,t.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:t,params:e,slides:n}=this;t.children(`.${e.slideClass}.${e.slideDuplicateClass},.${e.slideClass}.${e.slideBlankClass}`).remove(),n.removeAttr("data-swiper-slide-index")}};function xp(t){const e=this,n=Zh(),a=Kh(),r=e.touchEventsData,{params:o,touches:i,enabled:s}=e;if(!s)return;if(e.animating&&o.preventInteractionOnTransition)return;!e.animating&&o.cssMode&&o.loop&&e.loopFix();let l=t;l.originalEvent&&(l=l.originalEvent);let c=tp(l.target);if("wrapper"===o.touchEventsTarget&&!c.closest(e.wrapperEl).length)return;if(r.isTouchEvent="touchstart"===l.type,!r.isTouchEvent&&"which"in l&&3===l.which)return;if(!r.isTouchEvent&&"button"in l&&l.button>0)return;if(r.isTouched&&r.isMoved)return;const u=!!o.noSwipingClass&&""!==o.noSwipingClass,d=t.composedPath?t.composedPath():t.path;u&&l.target&&l.target.shadowRoot&&d&&(c=tp(d[0]));const h=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,p=!(!l.target||!l.target.shadowRoot);if(o.noSwiping&&(p?function(t,e=this){return function e(n){if(!n||n===Zh()||n===Kh())return null;n.assignedSlot&&(n=n.assignedSlot);const a=n.closest(t);return a||n.getRootNode?a||e(n.getRootNode().host):null}(e)}(h,c[0]):c.closest(h)[0]))return void(e.allowClick=!0);if(o.swipeHandler&&!c.closest(o.swipeHandler)[0])return;i.currentX="touchstart"===l.type?l.targetTouches[0].pageX:l.pageX,i.currentY="touchstart"===l.type?l.targetTouches[0].pageY:l.pageY;const f=i.currentX,v=i.currentY,g=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,m=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(g&&(f<=m||f>=a.innerWidth-m)){if("prevent"!==g)return;t.preventDefault()}if(Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),i.startX=f,i.startY=v,r.touchStartTime=ap(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,o.threshold>0&&(r.allowThresholdMove=!1),"touchstart"!==l.type){let t=!0;c.is(r.focusableElements)&&(t=!1,"SELECT"===c[0].nodeName&&(r.isTouched=!1)),n.activeElement&&tp(n.activeElement).is(r.focusableElements)&&n.activeElement!==c[0]&&n.activeElement.blur();const a=t&&e.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!a||c[0].isContentEditable||l.preventDefault()}e.params.freeMode&&e.params.freeMode.enabled&&e.freeMode&&e.animating&&!o.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",l)}function Mp(t){const e=Zh(),n=this,a=n.touchEventsData,{params:r,touches:o,rtlTranslate:i,enabled:s}=n;if(!s)return;let l=t;if(l.originalEvent&&(l=l.originalEvent),!a.isTouched)return void(a.startMoving&&a.isScrolling&&n.emit("touchMoveOpposite",l));if(a.isTouchEvent&&"touchmove"!==l.type)return;const c="touchmove"===l.type&&l.targetTouches&&(l.targetTouches[0]||l.changedTouches[0]),u="touchmove"===l.type?c.pageX:l.pageX,d="touchmove"===l.type?c.pageY:l.pageY;if(l.preventedByNestedSwiper)return o.startX=u,void(o.startY=d);if(!n.allowTouchMove)return tp(l.target).is(a.focusableElements)||(n.allowClick=!1),void(a.isTouched&&(Object.assign(o,{startX:u,startY:d,currentX:u,currentY:d}),a.touchStartTime=ap()));if(a.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop)if(n.isVertical()){if(d<o.startY&&n.translate<=n.maxTranslate()||d>o.startY&&n.translate>=n.minTranslate())return a.isTouched=!1,void(a.isMoved=!1)}else if(u<o.startX&&n.translate<=n.maxTranslate()||u>o.startX&&n.translate>=n.minTranslate())return;if(a.isTouchEvent&&e.activeElement&&l.target===e.activeElement&&tp(l.target).is(a.focusableElements))return a.isMoved=!0,void(n.allowClick=!1);if(a.allowTouchCallbacks&&n.emit("touchMove",l),l.targetTouches&&l.targetTouches.length>1)return;o.currentX=u,o.currentY=d;const h=o.currentX-o.startX,p=o.currentY-o.startY;if(n.params.threshold&&Math.sqrt(h**2+p**2)<n.params.threshold)return;if(void 0===a.isScrolling){let t;n.isHorizontal()&&o.currentY===o.startY||n.isVertical()&&o.currentX===o.startX?a.isScrolling=!1:h*h+p*p>=25&&(t=180*Math.atan2(Math.abs(p),Math.abs(h))/Math.PI,a.isScrolling=n.isHorizontal()?t>r.touchAngle:90-t>r.touchAngle)}if(a.isScrolling&&n.emit("touchMoveOpposite",l),void 0===a.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(a.startMoving=!0)),a.isScrolling)return void(a.isTouched=!1);if(!a.startMoving)return;n.allowClick=!1,!r.cssMode&&l.cancelable&&l.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&l.stopPropagation(),a.isMoved||(r.loop&&!r.cssMode&&n.loopFix(),a.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger("webkitTransitionEnd transitionend"),a.allowMomentumBounce=!1,!r.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",l)),n.emit("sliderMove",l),a.isMoved=!0;let f=n.isHorizontal()?h:p;o.diff=f,f*=r.touchRatio,i&&(f=-f),n.swipeDirection=f>0?"prev":"next",a.currentTranslate=f+a.startTranslate;let v=!0,g=r.resistanceRatio;if(r.touchReleaseOnEdges&&(g=0),f>0&&a.currentTranslate>n.minTranslate()?(v=!1,r.resistance&&(a.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+a.startTranslate+f)**g)):f<0&&a.currentTranslate<n.maxTranslate()&&(v=!1,r.resistance&&(a.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-a.startTranslate-f)**g)),v&&(l.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&a.currentTranslate<a.startTranslate&&(a.currentTranslate=a.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&a.currentTranslate>a.startTranslate&&(a.currentTranslate=a.startTranslate),n.allowSlidePrev||n.allowSlideNext||(a.currentTranslate=a.startTranslate),r.threshold>0){if(!(Math.abs(f)>r.threshold||a.allowThresholdMove))return void(a.currentTranslate=a.startTranslate);if(!a.allowThresholdMove)return a.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,a.currentTranslate=a.startTranslate,void(o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&n.freeMode||r.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),n.params.freeMode&&r.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(a.currentTranslate),n.setTranslate(a.currentTranslate))}function Cp(t){const e=this,n=e.touchEventsData,{params:a,touches:r,rtlTranslate:o,slidesGrid:i,enabled:s}=e;if(!s)return;let l=t;if(l.originalEvent&&(l=l.originalEvent),n.allowTouchCallbacks&&e.emit("touchEnd",l),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&a.grabCursor&&e.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);a.grabCursor&&n.isMoved&&n.isTouched&&(!0===e.allowSlideNext||!0===e.allowSlidePrev)&&e.setGrabCursor(!1);const c=ap(),u=c-n.touchStartTime;if(e.allowClick){const t=l.path||l.composedPath&&l.composedPath();e.updateClickedSlide(t&&t[0]||l.target),e.emit("tap click",l),u<300&&c-n.lastClickTime<300&&e.emit("doubleTap doubleClick",l)}if(n.lastClickTime=ap(),np((()=>{e.destroyed||(e.allowClick=!0)})),!n.isTouched||!n.isMoved||!e.swipeDirection||0===r.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let d;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,d=a.followFinger?o?e.translate:-e.translate:-n.currentTranslate,a.cssMode)return;if(e.params.freeMode&&a.freeMode.enabled)return void e.freeMode.onTouchEnd({currentPos:d});let h=0,p=e.slidesSizesGrid[0];for(let t=0;t<i.length;t+=t<a.slidesPerGroupSkip?1:a.slidesPerGroup){const e=t<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;void 0!==i[t+e]?d>=i[t]&&d<i[t+e]&&(h=t,p=i[t+e]-i[t]):d>=i[t]&&(h=t,p=i[i.length-1]-i[i.length-2])}let f=null,v=null;a.rewind&&(e.isBeginning?v=e.params.virtual&&e.params.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(f=0));const g=(d-i[h])/p,m=h<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(u>a.longSwipesMs){if(!a.longSwipes)return void e.slideTo(e.activeIndex);"next"===e.swipeDirection&&(g>=a.longSwipesRatio?e.slideTo(a.rewind&&e.isEnd?f:h+m):e.slideTo(h)),"prev"===e.swipeDirection&&(g>1-a.longSwipesRatio?e.slideTo(h+m):null!==v&&g<0&&Math.abs(g)>a.longSwipesRatio?e.slideTo(v):e.slideTo(h))}else{if(!a.shortSwipes)return void e.slideTo(e.activeIndex);e.navigation&&(l.target===e.navigation.nextEl||l.target===e.navigation.prevEl)?l.target===e.navigation.nextEl?e.slideTo(h+m):e.slideTo(h):("next"===e.swipeDirection&&e.slideTo(null!==f?f:h+m),"prev"===e.swipeDirection&&e.slideTo(null!==v?v:h))}}function Pp(){const t=this,{params:e,el:n}=t;if(n&&0===n.offsetWidth)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:a,allowSlidePrev:r,snapGrid:o}=t;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses(),("auto"===e.slidesPerView||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides?t.slideTo(t.slides.length-1,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.run(),t.allowSlidePrev=r,t.allowSlideNext=a,t.params.watchOverflow&&o!==t.snapGrid&&t.checkOverflow()}function Ap(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function kp(){const t=this,{wrapperEl:e,rtlTranslate:n,enabled:a}=t;if(!a)return;let r;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,0===t.translate&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();const o=t.maxTranslate()-t.minTranslate();r=0===o?0:(t.translate-t.minTranslate())/o,r!==t.progress&&t.updateProgress(n?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}let Sp=!1;function zp(){}const Tp=(t,e)=>{const n=Zh(),{params:a,touchEvents:r,el:o,wrapperEl:i,device:s,support:l}=t,c=!!a.nested,u="on"===e?"addEventListener":"removeEventListener",d=e;if(l.touch){const e=!("touchstart"!==r.start||!l.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1};o[u](r.start,t.onTouchStart,e),o[u](r.move,t.onTouchMove,l.passiveListener?{passive:!1,capture:c}:c),o[u](r.end,t.onTouchEnd,e),r.cancel&&o[u](r.cancel,t.onTouchEnd,e)}else o[u](r.start,t.onTouchStart,!1),n[u](r.move,t.onTouchMove,c),n[u](r.end,t.onTouchEnd,!1);(a.preventClicks||a.preventClicksPropagation)&&o[u]("click",t.onClick,!0),a.cssMode&&i[u]("scroll",t.onScroll),a.updateOnWindowResize?t[d](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",Pp,!0):t[d]("observerUpdate",Pp,!0)};var jp={attachEvents:function(){const t=this,e=Zh(),{params:n,support:a}=t;t.onTouchStart=xp.bind(t),t.onTouchMove=Mp.bind(t),t.onTouchEnd=Cp.bind(t),n.cssMode&&(t.onScroll=kp.bind(t)),t.onClick=Ap.bind(t),a.touch&&!Sp&&(e.addEventListener("touchstart",zp),Sp=!0),Tp(t,"on")},detachEvents:function(){Tp(this,"off")}};const Ep=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;var Op={setBreakpoint:function(){const t=this,{activeIndex:e,initialized:n,loopedSlides:a=0,params:r,$el:o}=t,i=r.breakpoints;if(!i||i&&0===Object.keys(i).length)return;const s=t.getBreakpoint(i,t.params.breakpointsBase,t.el);if(!s||t.currentBreakpoint===s)return;const l=(s in i?i[s]:void 0)||t.originalParams,c=Ep(t,r),u=Ep(t,l),d=r.enabled;c&&!u?(o.removeClass(`${r.containerModifierClass}grid ${r.containerModifierClass}grid-column`),t.emitContainerClasses()):!c&&u&&(o.addClass(`${r.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===r.grid.fill)&&o.addClass(`${r.containerModifierClass}grid-column`),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((e=>{const n=r[e]&&r[e].enabled,a=l[e]&&l[e].enabled;n&&!a&&t[e].disable(),!n&&a&&t[e].enable()}));const h=l.direction&&l.direction!==r.direction,p=r.loop&&(l.slidesPerView!==r.slidesPerView||h);h&&n&&t.changeDirection(),sp(t.params,l);const f=t.params.enabled;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),d&&!f?t.disable():!d&&f&&t.enable(),t.currentBreakpoint=s,t.emit("_beforeBreakpoint",l),p&&n&&(t.loopDestroy(),t.loopCreate(),t.updateSlides(),t.slideTo(e-a+t.loopedSlides,0,!1)),t.emit("breakpoint",l)},getBreakpoint:function(t,e="window",n){if(!t||"container"===e&&!n)return;let a=!1;const r=Kh(),o="window"===e?r.innerHeight:n.clientHeight,i=Object.keys(t).map((t=>{if("string"==typeof t&&0===t.indexOf("@")){const e=parseFloat(t.substr(1));return{value:o*e,point:t}}return{value:t,point:t}}));i.sort(((t,e)=>parseInt(t.value,10)-parseInt(e.value,10)));for(let t=0;t<i.length;t+=1){const{point:o,value:s}=i[t];"window"===e?r.matchMedia(`(min-width: ${s}px)`).matches&&(a=o):s<=n.clientWidth&&(a=o)}return a||"max"}};var Lp={addClasses:function(){const t=this,{classNames:e,params:n,rtl:a,$el:r,device:o,support:i}=t,s=function(t,e){const n=[];return t.forEach((t=>{"object"==typeof t?Object.keys(t).forEach((a=>{t[a]&&n.push(e+a)})):"string"==typeof t&&n.push(e+t)})),n}(["initialized",n.direction,{"pointer-events":!i.touch},{"free-mode":t.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:a},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:o.android},{ios:o.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);e.push(...s),r.addClass([...e].join(" ")),t.emitContainerClasses()},removeClasses:function(){const{$el:t,classNames:e}=this;t.removeClass(e.join(" ")),this.emitContainerClasses()}};var Bp={loadImage:function(t,e,n,a,r,o){const i=Kh();let s;function l(){o&&o()}tp(t).parent("picture")[0]||t.complete&&r?l():e?(s=new i.Image,s.onload=l,s.onerror=l,a&&(s.sizes=a),n&&(s.srcset=n),e&&(s.src=e)):l()},preloadImages:function(){const t=this;function e(){null!=t&&t&&!t.destroyed&&(void 0!==t.imagesLoaded&&(t.imagesLoaded+=1),t.imagesLoaded===t.imagesToLoad.length&&(t.params.updateOnImagesReady&&t.update(),t.emit("imagesReady")))}t.imagesToLoad=t.$el.find("img");for(let n=0;n<t.imagesToLoad.length;n+=1){const a=t.imagesToLoad[n];t.loadImage(a,a.currentSrc||a.getAttribute("src"),a.srcset||a.getAttribute("srcset"),a.sizes||a.getAttribute("sizes"),!0,e)}}};var Hp={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function Np(t,e){return function(n={}){const a=Object.keys(n)[0],r=n[a];"object"==typeof r&&null!==r?(["navigation","pagination","scrollbar"].indexOf(a)>=0&&!0===t[a]&&(t[a]={auto:!0}),a in t&&"enabled"in r?(!0===t[a]&&(t[a]={enabled:!0}),"object"!=typeof t[a]||"enabled"in t[a]||(t[a].enabled=!0),t[a]||(t[a]={enabled:!1}),sp(e,n)):sp(e,n)):sp(e,n)}}const Rp={eventsEmitter:gp,update:mp,translate:yp,transition:{setTransition:function(t,e){const n=this;n.params.cssMode||n.$wrapperEl.transition(t),n.emit("setTransition",t,e)},transitionStart:function(t=!0,e){const n=this,{params:a}=n;a.cssMode||(a.autoHeight&&n.updateAutoHeight(),wp({swiper:n,runCallbacks:t,direction:e,step:"Start"}))},transitionEnd:function(t=!0,e){const n=this,{params:a}=n;n.animating=!1,a.cssMode||(n.setTransition(0),wp({swiper:n,runCallbacks:t,direction:e,step:"End"}))}},slide:bp,loop:_p,grabCursor:{setGrabCursor:function(t){const e=this;if(e.support.touch||!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const n="container"===e.params.touchEventsTarget?e.el:e.wrapperEl;n.style.cursor="move",n.style.cursor=t?"grabbing":"grab"},unsetGrabCursor:function(){const t=this;t.support.touch||t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t["container"===t.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:jp,breakpoints:Op,checkOverflow:{checkOverflow:function(){const t=this,{isLocked:e,params:n}=t,{slidesOffsetBefore:a}=n;if(a){const e=t.slides.length-1,n=t.slidesGrid[e]+t.slidesSizesGrid[e]+2*a;t.isLocked=t.size>n}else t.isLocked=1===t.snapGrid.length;!0===n.allowSlideNext&&(t.allowSlideNext=!t.isLocked),!0===n.allowSlidePrev&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}},classes:Lp,images:Bp},Vp={};class Ip{constructor(...t){let e,n;if(1===t.length&&t[0].constructor&&"Object"===Object.prototype.toString.call(t[0]).slice(8,-1)?n=t[0]:[e,n]=t,n||(n={}),n=sp({},n),e&&!n.el&&(n.el=e),n.el&&tp(n.el).length>1){const t=[];return tp(n.el).each((e=>{const a=sp({},n,{el:e});t.push(new Ip(a))})),t}const a=this;a.__swiper__=!0,a.support=pp(),a.device=fp({userAgent:n.userAgent}),a.browser=vp(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],n.modules&&Array.isArray(n.modules)&&a.modules.push(...n.modules);const r={};a.modules.forEach((t=>{t({swiper:a,extendParams:Np(n,r),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})}));const o=sp({},Hp,r);return a.params=sp({},o,Vp,n),a.originalParams=sp({},a.params),a.passedParams=sp({},n),a.params&&a.params.on&&Object.keys(a.params.on).forEach((t=>{a.on(t,a.params.on[t])})),a.params&&a.params.onAny&&a.onAny(a.params.onAny),a.$=tp,Object.assign(a,{enabled:a.params.enabled,el:e,classNames:[],slides:tp(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEvents:function(){const t=["touchstart","touchmove","touchend","touchcancel"],e=["pointerdown","pointermove","pointerup"];return a.touchEventsTouch={start:t[0],move:t[1],end:t[2],cancel:t[3]},a.touchEventsDesktop={start:e[0],move:e[1],end:e[2]},a.support.touch||!a.params.simulateTouch?a.touchEventsTouch:a.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:ap(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,e){const n=this;t=Math.min(Math.max(t,0),1);const a=n.minTranslate(),r=(n.maxTranslate()-a)*t+a;n.translateTo(r,void 0===e?0:e),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const e=t.el.className.split(" ").filter((e=>0===e.indexOf("swiper")||0===e.indexOf(t.params.containerModifierClass)));t.emit("_containerClasses",e.join(" "))}getSlideClasses(t){const e=this;return e.destroyed?"":t.className.split(" ").filter((t=>0===t.indexOf("swiper-slide")||0===t.indexOf(e.params.slideClass))).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const e=[];t.slides.each((n=>{const a=t.getSlideClasses(n);e.push({slideEl:n,classNames:a}),t.emit("_slideClass",n,a)})),t.emit("_slideClasses",e)}slidesPerViewDynamic(t="current",e=!1){const{params:n,slides:a,slidesGrid:r,slidesSizesGrid:o,size:i,activeIndex:s}=this;let l=1;if(n.centeredSlides){let t,e=a[s].swiperSlideSize;for(let n=s+1;n<a.length;n+=1)a[n]&&!t&&(e+=a[n].swiperSlideSize,l+=1,e>i&&(t=!0));for(let n=s-1;n>=0;n-=1)a[n]&&!t&&(e+=a[n].swiperSlideSize,l+=1,e>i&&(t=!0))}else if("current"===t)for(let t=s+1;t<a.length;t+=1){(e?r[t]+o[t]-r[s]<i:r[t]-r[s]<i)&&(l+=1)}else for(let t=s-1;t>=0;t-=1){r[s]-r[t]<i&&(l+=1)}return l}update(){const t=this;if(!t||t.destroyed)return;const{snapGrid:e,params:n}=t;function a(){const e=t.rtlTranslate?-1*t.translate:t.translate,n=Math.min(Math.max(e,t.maxTranslate()),t.minTranslate());t.setTranslate(n),t.updateActiveIndex(),t.updateSlidesClasses()}let r;n.breakpoints&&t.setBreakpoint(),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.params.freeMode&&t.params.freeMode.enabled?(a(),t.params.autoHeight&&t.updateAutoHeight()):(r=("auto"===t.params.slidesPerView||t.params.slidesPerView>1)&&t.isEnd&&!t.params.centeredSlides?t.slideTo(t.slides.length-1,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),r||a()),n.watchOverflow&&e!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,e=!0){const n=this,a=n.params.direction;return t||(t="horizontal"===a?"vertical":"horizontal"),t===a||"horizontal"!==t&&"vertical"!==t||(n.$el.removeClass(`${n.params.containerModifierClass}${a}`).addClass(`${n.params.containerModifierClass}${t}`),n.emitContainerClasses(),n.params.direction=t,n.slides.each((e=>{"vertical"===t?e.style.width="":e.style.height=""})),n.emit("changeDirection"),e&&n.update()),n}changeLanguageDirection(t){const e=this;e.rtl&&"rtl"===t||!e.rtl&&"ltr"===t||(e.rtl="rtl"===t,e.rtlTranslate="horizontal"===e.params.direction&&e.rtl,e.rtl?(e.$el.addClass(`${e.params.containerModifierClass}rtl`),e.el.dir="rtl"):(e.$el.removeClass(`${e.params.containerModifierClass}rtl`),e.el.dir="ltr"),e.update())}mount(t){const e=this;if(e.mounted)return!0;const n=tp(t||e.params.el);if(!(t=n[0]))return!1;t.swiper=e;const a=()=>`.${(e.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=(()=>{if(t&&t.shadowRoot&&t.shadowRoot.querySelector){const e=tp(t.shadowRoot.querySelector(a()));return e.children=t=>n.children(t),e}return n.children?n.children(a()):tp(n).children(a())})();if(0===r.length&&e.params.createElements){const t=Zh().createElement("div");r=tp(t),t.className=e.params.wrapperClass,n.append(t),n.children(`.${e.params.slideClass}`).each((t=>{r.append(t)}))}return Object.assign(e,{$el:n,el:t,$wrapperEl:r,wrapperEl:r[0],mounted:!0,rtl:"rtl"===t.dir.toLowerCase()||"rtl"===n.css("direction"),rtlTranslate:"horizontal"===e.params.direction&&("rtl"===t.dir.toLowerCase()||"rtl"===n.css("direction")),wrongRTL:"-webkit-box"===r.css("display")}),!0}init(t){const e=this;if(e.initialized)return e;return!1===e.mount(t)||(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.params.loop&&e.loopCreate(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.enabled&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit,!1,!0):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit,!1,!0),e.attachEvents(),e.initialized=!0,e.emit("init"),e.emit("afterInit")),e}destroy(t=!0,e=!0){const n=this,{params:a,$el:r,$wrapperEl:o,slides:i}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),a.loop&&n.loopDestroy(),e&&(n.removeClasses(),r.removeAttr("style"),o.removeAttr("style"),i&&i.length&&i.removeClass([a.slideVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((t=>{n.off(t)})),!1!==t&&(n.$el[0].swiper=null,function(t){const e=t;Object.keys(e).forEach((t=>{try{e[t]=null}catch(t){}try{delete e[t]}catch(t){}}))}(n)),n.destroyed=!0),null}static extendDefaults(t){sp(Vp,t)}static get extendedDefaults(){return Vp}static get defaults(){return Hp}static installModule(t){Ip.prototype.__modules__||(Ip.prototype.__modules__=[]);const e=Ip.prototype.__modules__;"function"==typeof t&&e.indexOf(t)<0&&e.push(t)}static use(t){return Array.isArray(t)?(t.forEach((t=>Ip.installModule(t))),Ip):(Ip.installModule(t),Ip)}}function qp(t,e,n,a){const r=Zh();return t.params.createElements&&Object.keys(a).forEach((o=>{if(!n[o]&&!0===n.auto){let i=t.$el.children(`.${a[o]}`)[0];i||(i=r.createElement("div"),i.className=a[o],t.$el.append(i)),n[o]=i,e[o]=i}})),n}function Dp({swiper:t,extendParams:e,on:n,emit:a}){function r(e){let n;return e&&(n=tp(e),t.params.uniqueNavElements&&"string"==typeof e&&n.length>1&&1===t.$el.find(e).length&&(n=t.$el.find(e))),n}function o(e,n){const a=t.params.navigation;e&&e.length>0&&(e[n?"addClass":"removeClass"](a.disabledClass),e[0]&&"BUTTON"===e[0].tagName&&(e[0].disabled=n),t.params.watchOverflow&&t.enabled&&e[t.isLocked?"addClass":"removeClass"](a.lockClass))}function i(){if(t.params.loop)return;const{$nextEl:e,$prevEl:n}=t.navigation;o(n,t.isBeginning&&!t.params.rewind),o(e,t.isEnd&&!t.params.rewind)}function s(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),a("navigationPrev"))}function l(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),a("navigationNext"))}function c(){const e=t.params.navigation;if(t.params.navigation=qp(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;const n=r(e.nextEl),a=r(e.prevEl);n&&n.length>0&&n.on("click",l),a&&a.length>0&&a.on("click",s),Object.assign(t.navigation,{$nextEl:n,nextEl:n&&n[0],$prevEl:a,prevEl:a&&a[0]}),t.enabled||(n&&n.addClass(e.lockClass),a&&a.addClass(e.lockClass))}function u(){const{$nextEl:e,$prevEl:n}=t.navigation;e&&e.length&&(e.off("click",l),e.removeClass(t.params.navigation.disabledClass)),n&&n.length&&(n.off("click",s),n.removeClass(t.params.navigation.disabledClass))}e({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},n("init",(()=>{!1===t.params.navigation.enabled?d():(c(),i())})),n("toEdge fromEdge lock unlock",(()=>{i()})),n("destroy",(()=>{u()})),n("enable disable",(()=>{const{$nextEl:e,$prevEl:n}=t.navigation;e&&e[t.enabled?"removeClass":"addClass"](t.params.navigation.lockClass),n&&n[t.enabled?"removeClass":"addClass"](t.params.navigation.lockClass)})),n("click",((e,n)=>{const{$nextEl:r,$prevEl:o}=t.navigation,i=n.target;if(t.params.navigation.hideOnClick&&!tp(i).is(o)&&!tp(i).is(r)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===i||t.pagination.el.contains(i)))return;let e;r?e=r.hasClass(t.params.navigation.hiddenClass):o&&(e=o.hasClass(t.params.navigation.hiddenClass)),a(!0===e?"navigationShow":"navigationHide"),r&&r.toggleClass(t.params.navigation.hiddenClass),o&&o.toggleClass(t.params.navigation.hiddenClass)}}));const d=()=>{t.$el.addClass(t.params.navigation.navigationDisabledClass),u()};Object.assign(t.navigation,{enable:()=>{t.$el.removeClass(t.params.navigation.navigationDisabledClass),c(),i()},disable:d,update:i,init:c,destroy:u})}function Fp(t=""){return`.${t.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}function $p({swiper:t,extendParams:e,on:n,emit:a}){const r="swiper-pagination";let o;e({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:t=>t,formatFractionTotal:t=>t,bulletClass:`${r}-bullet`,bulletActiveClass:`${r}-bullet-active`,modifierClass:`${r}-`,currentClass:`${r}-current`,totalClass:`${r}-total`,hiddenClass:`${r}-hidden`,progressbarFillClass:`${r}-progressbar-fill`,progressbarOppositeClass:`${r}-progressbar-opposite`,clickableClass:`${r}-clickable`,lockClass:`${r}-lock`,horizontalClass:`${r}-horizontal`,verticalClass:`${r}-vertical`,paginationDisabledClass:`${r}-disabled`}}),t.pagination={el:null,$el:null,bullets:[]};let i=0;function s(){return!t.params.pagination.el||!t.pagination.el||!t.pagination.$el||0===t.pagination.$el.length}function l(e,n){const{bulletActiveClass:a}=t.params.pagination;e[n]().addClass(`${a}-${n}`)[n]().addClass(`${a}-${n}-${n}`)}function c(){const e=t.rtl,n=t.params.pagination;if(s())return;const r=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,c=t.pagination.$el;let u;const d=t.params.loop?Math.ceil((r-2*t.loopedSlides)/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(u=Math.ceil((t.activeIndex-t.loopedSlides)/t.params.slidesPerGroup),u>r-1-2*t.loopedSlides&&(u-=r-2*t.loopedSlides),u>d-1&&(u-=d),u<0&&"bullets"!==t.params.paginationType&&(u=d+u)):u=void 0!==t.snapIndex?t.snapIndex:t.activeIndex||0,"bullets"===n.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const a=t.pagination.bullets;let r,s,d;if(n.dynamicBullets&&(o=a.eq(0)[t.isHorizontal()?"outerWidth":"outerHeight"](!0),c.css(t.isHorizontal()?"width":"height",o*(n.dynamicMainBullets+4)+"px"),n.dynamicMainBullets>1&&void 0!==t.previousIndex&&(i+=u-(t.previousIndex-t.loopedSlides||0),i>n.dynamicMainBullets-1?i=n.dynamicMainBullets-1:i<0&&(i=0)),r=Math.max(u-i,0),s=r+(Math.min(a.length,n.dynamicMainBullets)-1),d=(s+r)/2),a.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map((t=>`${n.bulletActiveClass}${t}`)).join(" ")),c.length>1)a.each((t=>{const e=tp(t),a=e.index();a===u&&e.addClass(n.bulletActiveClass),n.dynamicBullets&&(a>=r&&a<=s&&e.addClass(`${n.bulletActiveClass}-main`),a===r&&l(e,"prev"),a===s&&l(e,"next"))}));else{const e=a.eq(u),o=e.index();if(e.addClass(n.bulletActiveClass),n.dynamicBullets){const e=a.eq(r),i=a.eq(s);for(let t=r;t<=s;t+=1)a.eq(t).addClass(`${n.bulletActiveClass}-main`);if(t.params.loop)if(o>=a.length){for(let t=n.dynamicMainBullets;t>=0;t-=1)a.eq(a.length-t).addClass(`${n.bulletActiveClass}-main`);a.eq(a.length-n.dynamicMainBullets-1).addClass(`${n.bulletActiveClass}-prev`)}else l(e,"prev"),l(i,"next");else l(e,"prev"),l(i,"next")}}if(n.dynamicBullets){const r=Math.min(a.length,n.dynamicMainBullets+4),i=(o*r-o)/2-d*o,s=e?"right":"left";a.css(t.isHorizontal()?s:"top",`${i}px`)}}if("fraction"===n.type&&(c.find(Fp(n.currentClass)).text(n.formatFractionCurrent(u+1)),c.find(Fp(n.totalClass)).text(n.formatFractionTotal(d))),"progressbar"===n.type){let e;e=n.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const a=(u+1)/d;let r=1,o=1;"horizontal"===e?r=a:o=a,c.find(Fp(n.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${r}) scaleY(${o})`).transition(t.params.speed)}"custom"===n.type&&n.renderCustom?(c.html(n.renderCustom(t,u+1,d)),a("paginationRender",c[0])):a("paginationUpdate",c[0]),t.params.watchOverflow&&t.enabled&&c[t.isLocked?"addClass":"removeClass"](n.lockClass)}function u(){const e=t.params.pagination;if(s())return;const n=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,r=t.pagination.$el;let o="";if("bullets"===e.type){let a=t.params.loop?Math.ceil((n-2*t.loopedSlides)/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&!t.params.loop&&a>n&&(a=n);for(let n=0;n<a;n+=1)e.renderBullet?o+=e.renderBullet.call(t,n,e.bulletClass):o+=`<${e.bulletElement} class="${e.bulletClass}"></${e.bulletElement}>`;r.html(o),t.pagination.bullets=r.find(Fp(e.bulletClass))}"fraction"===e.type&&(o=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`,r.html(o)),"progressbar"===e.type&&(o=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`,r.html(o)),"custom"!==e.type&&a("paginationRender",t.pagination.$el[0])}function d(){t.params.pagination=qp(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let n=tp(e.el);0!==n.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&n.length>1&&(n=t.$el.find(e.el),n.length>1&&(n=n.filter((e=>tp(e).parents(".swiper")[0]===t.el)))),"bullets"===e.type&&e.clickable&&n.addClass(e.clickableClass),n.addClass(e.modifierClass+e.type),n.addClass(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(n.addClass(`${e.modifierClass}${e.type}-dynamic`),i=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&n.addClass(e.progressbarOppositeClass),e.clickable&&n.on("click",Fp(e.bulletClass),(function(e){e.preventDefault();let n=tp(this).index()*t.params.slidesPerGroup;t.params.loop&&(n+=t.loopedSlides),t.slideTo(n)})),Object.assign(t.pagination,{$el:n,el:n[0]}),t.enabled||n.addClass(e.lockClass))}function h(){const e=t.params.pagination;if(s())return;const n=t.pagination.$el;n.removeClass(e.hiddenClass),n.removeClass(e.modifierClass+e.type),n.removeClass(t.isHorizontal()?e.horizontalClass:e.verticalClass),t.pagination.bullets&&t.pagination.bullets.removeClass&&t.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&n.off("click",Fp(e.bulletClass))}n("init",(()=>{!1===t.params.pagination.enabled?p():(d(),u(),c())})),n("activeIndexChange",(()=>{(t.params.loop||void 0===t.snapIndex)&&c()})),n("snapIndexChange",(()=>{t.params.loop||c()})),n("slidesLengthChange",(()=>{t.params.loop&&(u(),c())})),n("snapGridLengthChange",(()=>{t.params.loop||(u(),c())})),n("destroy",(()=>{h()})),n("enable disable",(()=>{const{$el:e}=t.pagination;e&&e[t.enabled?"removeClass":"addClass"](t.params.pagination.lockClass)})),n("lock unlock",(()=>{c()})),n("click",((e,n)=>{const r=n.target,{$el:o}=t.pagination;if(t.params.pagination.el&&t.params.pagination.hideOnClick&&o&&o.length>0&&!tp(r).hasClass(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&r===t.navigation.nextEl||t.navigation.prevEl&&r===t.navigation.prevEl))return;const e=o.hasClass(t.params.pagination.hiddenClass);a(!0===e?"paginationShow":"paginationHide"),o.toggleClass(t.params.pagination.hiddenClass)}}));const p=()=>{t.$el.addClass(t.params.pagination.paginationDisabledClass),t.pagination.$el&&t.pagination.$el.addClass(t.params.pagination.paginationDisabledClass),h()};Object.assign(t.pagination,{enable:()=>{t.$el.removeClass(t.params.pagination.paginationDisabledClass),t.pagination.$el&&t.pagination.$el.removeClass(t.params.pagination.paginationDisabledClass),d(),u(),c()},disable:p,render:u,update:c,init:d,destroy:h})}Object.keys(Rp).forEach((t=>{Object.keys(Rp[t]).forEach((e=>{Ip.prototype[e]=Rp[t][e]}))})),Ip.use([function({swiper:t,on:e,emit:n}){const a=Kh();let r=null,o=null;const i=()=>{t&&!t.destroyed&&t.initialized&&(n("beforeResize"),n("resize"))},s=()=>{t&&!t.destroyed&&t.initialized&&n("orientationchange")};e("init",(()=>{t.params.resizeObserver&&void 0!==a.ResizeObserver?t&&!t.destroyed&&t.initialized&&(r=new ResizeObserver((e=>{o=a.requestAnimationFrame((()=>{const{width:n,height:a}=t;let r=n,o=a;e.forEach((({contentBoxSize:e,contentRect:n,target:a})=>{a&&a!==t.el||(r=n?n.width:(e[0]||e).inlineSize,o=n?n.height:(e[0]||e).blockSize)})),r===n&&o===a||i()}))})),r.observe(t.el)):(a.addEventListener("resize",i),a.addEventListener("orientationchange",s))})),e("destroy",(()=>{o&&a.cancelAnimationFrame(o),r&&r.unobserve&&t.el&&(r.unobserve(t.el),r=null),a.removeEventListener("resize",i),a.removeEventListener("orientationchange",s)}))},function({swiper:t,extendParams:e,on:n,emit:a}){const r=[],o=Kh(),i=(t,e={})=>{const n=new(o.MutationObserver||o.WebkitMutationObserver)((t=>{if(1===t.length)return void a("observerUpdate",t[0]);const e=function(){a("observerUpdate",t[0])};o.requestAnimationFrame?o.requestAnimationFrame(e):o.setTimeout(e,0)}));n.observe(t,{attributes:void 0===e.attributes||e.attributes,childList:void 0===e.childList||e.childList,characterData:void 0===e.characterData||e.characterData}),r.push(n)};e({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=t.$el.parents();for(let t=0;t<e.length;t+=1)i(e[t])}i(t.$el[0],{childList:t.params.observeSlideChildren}),i(t.$wrapperEl[0],{attributes:!1})}})),n("destroy",(()=>{r.forEach((t=>{t.disconnect()})),r.splice(0,r.length)}))}]);var Up=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=t.price,a=n,o=!1;return(null==e?void 0:e.value)>0&&e.plan_relation.includes(t.id)?(o=!0,a="percentage"===e.type?n-n*e.value/100:Math.max(0,n-e.value)):t.discount>0&&(o=!0,a="percentage"===t.discount_type?n-n*t.discount/100:Math.max(0,n-t.discount)),r(r({},t),{},{price:parseFloat(a.toFixed(2)),strike_price:o?parseFloat(n.toFixed(2)):null,has_discount:o})},Wp=function(t){if(!t)return"";if(["double","integer"].includes(null==t?void 0:t.value_type))return"percentage"===t.format?"".concat(t.value,"%"):"count"===t.format&&parseInt(t.value)<0?"Unlimited":t.value;if("array"===(null==t?void 0:t.value_type)){var e=[];try{e=Array.isArray(t.value)?t.value:JSON.parse(t.value)}catch(e){return console.error("Invalid array feature value:",t.value),""}return e.join(",")}var n;return"string"===(null==t?void 0:t.value_type)?(null===(n=t.value)||void 0===n?void 0:n.replace(/"/g,""))||"":t.value},Gp={name:"PlanCardsHighlights",components:{VariantButton:Hh},props:{plans:{type:Array,required:!0},currentPlan:{type:Object,required:!1},promotionalDiscount:{type:Object,required:!1},selectedInterval:{type:String,required:!1},features:{type:Array,required:!1,default:function(){return[]}}},data:function(){return{interval:"EVERY_30_DAYS",placeholder:{description:"Perfect for everything"},remainingPlansMonthly:{before:0,after:0},remainingPlansAnnually:{before:0,after:0},anyMonthlyPlanHasDiscount:!1,anyAnnuallyPlanHasDiscount:!1,loadingPlanId:null}},computed:{monthlyPlans:function(){var t=this;return this.plans.filter((function(t){return"EVERY_30_DAYS"===t.interval})).map((function(e){var n=Up(e,t.promotionalDiscount);return n.has_discount&&!t.anyMonthlyPlanHasDiscount&&(t.anyMonthlyPlanHasDiscount=!0),n}))},annualPlans:function(){var t=this;return this.plans.filter((function(t){return"ANNUAL"===t.interval})).map((function(e){var n=Up(e,t.promotionalDiscount);return n.has_discount&&!t.anyAnnuallyPlanHasDiscount&&(t.anyAnnuallyPlanHasDiscount=!0),n}))},sortedPlanFeatures:function(){var t=this;return function(e){var n=Object.keys(e.features);return t.features.filter((function(t){return n.includes(t.uuid)&&!t.hidden_feature})).sort((function(t,e){var n=parseInt(t.popularity)||999,a=parseInt(e.popularity)||999;return n!==a?n-a:(parseInt(t.display_order)||999)-(parseInt(e.display_order)||999)})).slice(0,4).map((function(t){return r(r({},t),{},{value:e.features[t.uuid].value||e.features[t.uuid]})}))}}},methods:{formatFeature:Wp,handlePlanClick:function(t){var e=this;return s(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e.loadingPlanId=t.id,n.prev=1,n.next=4,e.$emit("plan-clicked",t);case 4:n.next=10;break;case 6:n.prev=6,n.t0=n.catch(1),console.error("Error handling plan click:",n.t0),e.loadingPlanId=null;case 10:case"end":return n.stop()}}),n,null,[[1,6]])})))()},translateMe:function(t){return this.$translations.hasOwnProperty(t)?this.$translations[t]:t},syncNavigationWidth:function(){var t=document.querySelectorAll(".swiper-plan-h-navigation"),e=document.querySelector(".plans-h-cards");e?t.forEach((function(t){t.style.width="".concat(e.offsetWidth+130,"px"),t.style.left="".concat(e.offsetLeft-65,"px")})):console.error("No `.plans-h-cards` element found.")},updateRemainingPlans:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"monthly";if(t){var n=t.slides.length,a=t.activeIndex,r=1;if("number"==typeof t.params.slidesPerView)r=t.params.slidesPerView;else if(t.params.breakpoints){var o,i=window.innerWidth,s=t.params.breakpoints,l=Object.keys(s).map(Number).sort((function(t,e){return t-e})),c=v(l);try{for(c.s();!(o=c.n()).done;){var u=o.value;i>=u&&"number"==typeof s[u].slidesPerView&&(r=s[u].slidesPerView)}}catch(t){c.e(t)}finally{c.f()}}var d=Math.max(n-(a+r),0),h=a;"annually"===e?this.remainingPlansAnnually={after:d,before:h}:this.remainingPlansMonthly={after:d,before:h}}}},watch:{selectedInterval:function(){var t=document.querySelector(".monthly"),e=document.querySelector(".annually"),n=document.querySelector(".nav-monthly"),a=document.querySelector(".nav-annually");"monthly"===this.selectedInterval?(t.style.visibility="visible",t.style.height="auto",t.style.border="1px solid #e5e5e5",e.style.visibility="hidden",e.style.height="0px",e.style.border="0px",n.style.display="flex",a.style.display="none",this.interval="EVERY_30_DAYS"):"annually"===this.selectedInterval&&(t.style.visibility="hidden",t.style.height="0px",t.style.border="0px",e.style.visibility="visible",e.style.height="auto",e.style.border="1px solid #e5e5e5",n.style.display="none",a.style.display="flex",this.interval="ANNUAL")}},mounted:function(){var t=this;new Ip(this.$refs.swiperMonthly,{modules:[Dp,$p],loop:!1,slidesPerView:1,speed:500,pagination:{el:".swiper-pagination",clickable:!0},navigation:{nextEl:".swiper-plan-h-next-monthly",prevEl:".swiper-plan-h-prev-monthly"},breakpoints:{375:{slidesPerView:1.5},640:{slidesPerView:2},768:{slidesPerView:Math.min(this.monthlyPlans.length,3)},1024:{slidesPerView:Math.min(this.monthlyPlans.length,4)}},on:{slideChange:function(e){t.updateRemainingPlans(e)},afterInit:function(e){t.updateRemainingPlans(e)}}}),new Ip(this.$refs.swiperAnnually,{modules:[Dp,$p],loop:!1,slidesPerView:1,speed:500,pagination:{el:".swiper-pagination",clickable:!0},navigation:{nextEl:".swiper-plan-h-next-annually",prevEl:".swiper-plan-h-prev-annually"},breakpoints:{375:{slidesPerView:1.5},640:{slidesPerView:2},768:{slidesPerView:Math.min(this.annualPlans.length,3)},1024:{slidesPerView:Math.min(this.annualPlans.length,4)}},on:{slideChange:function(e){t.updateRemainingPlans(e,"annually")},afterInit:function(e){t.updateRemainingPlans(e,"annually")}}}),this.syncNavigationWidth()}},Zp=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[n("div",{staticClass:"swiper-plan-h-navigation nav-monthly"},[n("button",{staticClass:"swiper-plan-h-prev-monthly"},[this.remainingPlansMonthly.before>0?n("span",{staticClass:"plans-remaining"},[t._v("\n +"+t._s(this.remainingPlansMonthly.before+" "+(1===this.remainingPlansMonthly.before?t.translateMe("Plan"):t.translateMe("Plans")))+"\n ")]):t._e(),t._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9388)"}},[n("path",{attrs:{d:"M5 12.0001L19 12.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M5 12.0001L11 18.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M5 12.0001L11 6.00012",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9388"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white"}})])])])]),t._v(" "),n("button",{staticClass:"swiper-plan-h-next-monthly"},[this.remainingPlansMonthly.after>0?n("span",{staticClass:"plans-remaining"},[t._v("\n +"+t._s(this.remainingPlansMonthly.after+" "+(1===this.remainingPlansMonthly.after?t.translateMe("Plan"):t.translateMe("Plans"))))]):t._e(),t._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9381)"}},[n("path",{attrs:{d:"M19 12H5",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M19 12L13 6",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M19 12L13 18",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9381"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white",transform:"matrix(-1 0 0 -1 24 24)"}})])])])])]),t._v(" "),n("div",{staticClass:"swiper-plan-h-navigation nav-annually"},[n("button",{staticClass:"swiper-plan-h-prev-annually"},[this.remainingPlansAnnually.before>0?n("span",{staticClass:"plans-remaining"},[t._v("\n +"+t._s(this.remainingPlansAnnually.before+" "+(1===this.remainingPlansAnnually.before?t.translateMe("Plan"):t.translateMe("Plans")))+"\n ")]):t._e(),t._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9388)"}},[n("path",{attrs:{d:"M5 12.0001L19 12.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M5 12.0001L11 18.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M5 12.0001L11 6.00012",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9388"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white"}})])])])]),t._v(" "),n("button",{staticClass:"swiper-plan-h-next-annually"},[this.remainingPlansAnnually.after>0?n("span",{staticClass:"plans-remaining"},[t._v("\n +"+t._s(this.remainingPlansAnnually.after+" "+(1===this.remainingPlansAnnually.after?t.translateMe("Plan"):t.translateMe("Plans")))+"\n ")]):t._e(),t._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9381)"}},[n("path",{attrs:{d:"M19 12H5",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M19 12L13 6",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M19 12L13 18",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9381"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white",transform:"matrix(-1 0 0 -1 24 24)"}})])])])])]),t._v(" "),n("div",{ref:"swiperMonthly",staticClass:"swiper cards monthly plans-h-cards"},[n("div",{staticClass:"swiper-wrapper"},t._l(t.monthlyPlans,(function(e,a){return"EVERY_30_DAYS"===e.interval?n("div",{key:e.id,staticClass:"swiper-slide",staticStyle:{height:"auto !important"}},[n("div",{class:["card","card-border",a===t.monthlyPlans.length-1?"last-card":""]},[e.choose_later_plan?n("div",{staticClass:"most-popular"},[n("div",{staticClass:"most-popular-label"},[t._v("\n "+t._s(t.translateMe("Most Popular"))+"\n ")])]):t._e(),t._v(" "),n("h3",{staticClass:"title"},[t._v("\n "+t._s(t.translateMe(e.name))+"\n ")]),t._v(" "),n("div",{class:["price-wrapper",t.anyMonthlyPlanHasDiscount?"has-discount":""]},[e.strike_price?[n("h5",{staticClass:"strike-price"},[n("span",{staticStyle:{"text-decoration":"line-through"}},[t._v("$"+t._s(e.strike_price))]),t._v(" "),0!==e.strike_price?n("span",{staticStyle:{color:"#999"}},[t._v("\n "+t._s(t.translateMe("/mo"))+"\n ")]):t._e()])]:t._e(),t._v(" "),n("h2",{staticClass:"price"},[t._v("\n "+t._s(0!==e.price?"$"+e.price:t.translateMe("Free"))+"\n "),0!==e.price?n("span",[t._v("\n "+t._s(t.translateMe("/mo"))+"\n ")]):t._e()])],2),t._v(" "),n("h6",{staticClass:"description"},[t._v("\n "+t._s(e.description?t.translateMe(e.description):t.translateMe(t.placeholder.description))+"\n ")]),t._v(" "),n("VariantButton",{attrs:{variant:"secondary",disabled:t.currentPlan&&t.currentPlan.id===e.id,loading:t.loadingPlanId===e.id},on:{click:function(n){return t.handlePlanClick(e)}}},[t._v(t._s(t.currentPlan&&t.currentPlan.id===e.id?t.translateMe("Selected Plan"):t.currentPlan&&e.price>t.currentPlan.price?t.translateMe("Upgrade"):t.translateMe("Choose Plan"))+"\n ")]),t._v(" "),n("div",{staticClass:"features"},[n("ul",t._l(t.sortedPlanFeatures(e),(function(e){return n("li",{key:e.uuid,staticClass:"feature"},[n("svg",{attrs:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.7803 5.96967C16.0732 6.26256 16.0732 6.73744 15.7803 7.03033L9.28033 13.5303C8.98744 13.8232 8.51256 13.8232 8.21967 13.5303L4.96967 10.2803C4.67678 9.98744 4.67678 9.51256 4.96967 9.21967C5.26256 8.92678 5.73744 8.92678 6.03033 9.21967L8.75 11.9393L14.7197 5.96967C15.0126 5.67678 15.4874 5.67678 15.7803 5.96967Z",fill:"#303030"}})]),t._v(" "),n("span",[t._v("\n "+t._s("boolean"!==e.value_type?t.translateMe(t.formatFeature(e)):"")+"\n "+t._s(t.translateMe(e.name))+"\n ")])])})),0)])],1)]):t._e()})),0)]),t._v(" "),n("div",{ref:"swiperAnnually",staticClass:"swiper cards annually"},[n("div",{staticClass:"swiper-wrapper"},t._l(t.annualPlans,(function(e,a){return"ANNUAL"===e.interval?n("div",{key:e.id,staticClass:"swiper-slide",staticStyle:{height:"auto !important"}},[n("div",{class:["card","card-border",a===t.annualPlans.length-1?"last-card":""]},[e.choose_later_plan?n("div",{staticClass:"most-popular"},[n("div",{staticClass:"most-popular-label"},[t._v("\n "+t._s(t.translateMe("Most Popular"))+"\n ")])]):t._e(),t._v(" "),n("h3",{staticClass:"title"},[t._v("\n "+t._s(t.translateMe(e.name))+"\n ")]),t._v(" "),n("div",{class:["price-wrapper",t.anyAnnuallyPlanHasDiscount?"has-discount":""]},[e.strike_price?[n("h5",{staticClass:"strike-price"},[n("span",{staticStyle:{"text-decoration":"line-through"}},[t._v("$"+t._s(e.strike_price))]),t._v(" "),0!==e.strike_price?n("span",{staticStyle:{color:"#999"}},[t._v("\n "+t._s(t.translateMe("/mo"))+"\n ")]):t._e()])]:t._e(),t._v(" "),n("h2",{staticClass:"price"},[t._v("\n "+t._s(0!==e.price?"$"+e.price:t.translateMe("Free"))+"\n "),0!==e.price?n("span",[t._v("\n "+t._s(t.translateMe("/mo"))+"\n ")]):t._e()])],2),t._v(" "),n("h6",{staticClass:"description"},[t._v("\n "+t._s(e.description?t.translateMe(e.description):t.translateMe(t.placeholder.description))+"\n ")]),t._v(" "),n("VariantButton",{attrs:{variant:"secondary",disabled:t.currentPlan&&t.currentPlan.id===e.id,loading:t.loadingPlanId===e.id},on:{click:function(n){return t.handlePlanClick(e)}}},[t._v(t._s(t.currentPlan&&t.currentPlan.id===e.id?t.translateMe("Selected Plan"):t.currentPlan&&e.price>t.currentPlan.price?t.translateMe("Upgrade"):t.translateMe("Choose Plan"))+"\n ")]),t._v(" "),n("div",{staticClass:"features"},[n("ul",t._l(t.sortedPlanFeatures(e),(function(e){return n("li",{key:e.uuid,staticClass:"feature"},[n("svg",{attrs:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.7803 5.96967C16.0732 6.26256 16.0732 6.73744 15.7803 7.03033L9.28033 13.5303C8.98744 13.8232 8.51256 13.8232 8.21967 13.5303L4.96967 10.2803C4.67678 9.98744 4.67678 9.51256 4.96967 9.21967C5.26256 8.92678 5.73744 8.92678 6.03033 9.21967L8.75 11.9393L14.7197 5.96967C15.0126 5.67678 15.4874 5.67678 15.7803 5.96967Z",fill:"#303030"}})]),t._v(" "),n("span",[t._v("\n "+t._s("boolean"!==e.value_type?t.translateMe(t.formatFeature(e)):"")+"\n "+t._s(t.translateMe(e.name))+"\n ")])])})),0)])],1)]):t._e()})),0)]),t._v(" "),n("div",{staticClass:"swiper-pagination",style:{display:"ANNUAL"===t.interval&&t.annualPlans.length<=4||"EVERY_30_DAYS"===t.interval&&t.monthlyPlans.length<=4?"none":"block"}})])},staticRenderFns:[]},(function(t){t&&(t("data-v-4121e7ba_0",{source:".container[data-v-4121e7ba]{padding-top:40px;width:100%}.swiper.cards.annually[data-v-4121e7ba]{visibility:hidden;height:0;position:relative}.swiper-pagination[data-v-4121e7ba]{height:12px;position:relative;display:flex;justify-content:center;align-items:flex-end;gap:0;margin-top:26px}.cards[data-v-4121e7ba]{display:flex;background-color:#fff;flex-grow:1;border:1px solid #e5e5e5;border-radius:12px;overflow-x:clip;overflow-y:visible;box-shadow:0 4px 6px -1px #0000001a}.card[data-v-4121e7ba]{height:100%;display:flex;flex-direction:column;align-items:center;gap:10px;padding:16px}.swiper-wrapper .swiper-slide .card-border.last-card[data-v-4121e7ba],.swiper-wrapper .swiper-slide:not(.swiper-slide-active) .card-border[data-v-4121e7ba]{border-left:1px solid #ccc}.card .title[data-v-4121e7ba]{font-size:16px;font-weight:700;color:#000}.card .price-wrapper[data-v-4121e7ba]{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px}.card .price-wrapper.has-discount[data-v-4121e7ba]{min-height:44px}.card .price[data-v-4121e7ba]{font-size:30px;font-weight:700;color:#000}.card .price span[data-v-4121e7ba]{font-size:13px;font-weight:400;color:#00000080;margin-left:-6px;line-height:0}.card .description[data-v-4121e7ba]{font-size:13px;font-weight:400;color:#00000080}.button[data-v-4121e7ba]{display:flex;justify-content:center;width:100%!important;text-align:center!important}.features[data-v-4121e7ba]{margin-top:19px}.features ul[data-v-4121e7ba]{display:flex;align-items:flex-start;gap:6px;flex-direction:column}.features .feature[data-v-4121e7ba]{display:flex;align-items:center;gap:4px}.features .feature svg[data-v-4121e7ba]{min-width:20px;min-height:20px}.feature span[data-v-4121e7ba]{font-size:13px;font-weight:400;color:#00000080}.most-popular[data-v-4121e7ba]{position:absolute;z-index:-1;top:-20px;width:100%;height:calc(100% + 20px);border-radius:12px 12px 0 0;border-left:1px solid #91d0ff;border-right:1px solid #91d0ff;overflow:hidden}.most-popular .most-popular-label[data-v-4121e7ba]{background-color:#91d0ff;color:#00527c;font-size:12px;font-weight:600;width:100%;text-align:center}.swiper-plan-h-navigation[data-v-4121e7ba]{position:absolute;margin-top:32px;display:flex;justify-content:space-between;padding:16px 0}.nav-annually[data-v-4121e7ba]{display:none}.swiper-plan-h-next-annually[data-v-4121e7ba],.swiper-plan-h-next-monthly[data-v-4121e7ba],.swiper-plan-h-prev-annually[data-v-4121e7ba],.swiper-plan-h-prev-monthly[data-v-4121e7ba]{display:flex;align-items:center;justify-content:center;width:36px;height:36px;background-color:#1a1a1a;border-radius:8px;cursor:pointer}.swiper-plan-h-next-annually[data-v-4121e7ba]:disabled,.swiper-plan-h-next-monthly[data-v-4121e7ba]:disabled,.swiper-plan-h-prev-annually[data-v-4121e7ba]:disabled,.swiper-plan-h-prev-monthly[data-v-4121e7ba]:disabled{opacity:0}.plans-remaining[data-v-4121e7ba]{position:absolute;top:-30px;background-color:#fff;color:#333;font-weight:500;padding:6px 12px;border-radius:8px;font-size:14px;white-space:nowrap;box-shadow:0 4px 8px #00000026}.plans-remaining[data-v-4121e7ba]::after{content:'';position:absolute;top:100%;left:50%;transform:translateX(-50%);width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #fff;filter:drop-shadow(0 2px 2px rgba(0, 0, 0, .1))}@media (max-width:640px){.card-border[data-v-4121e7ba]{border-left:none}.swiper-plan-h-navigation[data-v-4121e7ba]{display:none!important}}",map:void 0,media:void 0}),t("data-v-4121e7ba_1",{source:".swiper-pagination .swiper-pagination-bullet{background:#757575 none;opacity:1;transition:all .5s;width:8px;height:8px}.swiper-pagination .swiper-pagination-bullet-active{background-color:#0094d5;width:12px;height:12px}",map:void 0,media:void 0}))}),Gp,"data-v-4121e7ba",false,undefined,!1,Ac,void 0,void 0),Yp=Zp,Kp=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"block"},[n("svg",{attrs:{width:"81",height:"81",viewBox:"0 0 81 81",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M49.6768 9.31236V2.68228C49.6768 2.02914 49.146 1.5 48.4918 1.5H34.5281C33.8735 1.5 33.3431 2.02914 33.3431 2.68228V9.31236C33.3431 9.83518 32.9983 10.2952 32.4964 10.4449C30.426 11.0617 28.4454 11.8862 26.5784 12.8936C26.1188 13.1415 25.5508 13.0558 25.1816 12.6874L20.481 7.9978C20.0183 7.53618 19.2678 7.53618 18.8051 7.9978L8.93175 17.8481C8.46905 18.3098 8.46905 19.0585 8.93175 19.5201L13.6323 24.2097C14.0016 24.5781 14.0875 25.1452 13.8389 25.6032C12.8292 27.4659 12.0028 29.4423 11.3846 31.5075C11.2345 32.0086 10.7734 32.3522 10.2494 32.3522H3.60301C2.94835 32.3522 2.41797 32.8813 2.41797 33.5345V47.4655C2.41797 48.1187 2.94835 48.6478 3.60301 48.6478H10.2486C10.7726 48.6478 11.2338 48.9918 11.3838 49.4925C12.002 51.5581 12.8285 53.5341 13.8382 55.3968C14.0867 55.8552 14.0008 56.4219 13.6315 56.7903L8.93095 61.4799C8.46826 61.9415 8.46826 62.6902 8.93095 63.1519L18.8043 73.0022C19.267 73.4638 20.0175 73.4638 20.4802 73.0022L25.1808 68.3126C25.5501 67.9441 26.1184 67.8585 26.5776 68.1064C28.4446 69.1138 30.4256 69.9383 32.4957 70.5551C32.9979 70.7048 33.3423 71.1648 33.3423 71.6876V78.3177C33.3423 78.9709 33.8727 79.5 34.5273 79.5H48.491C49.1456 79.5 49.676 78.9705 49.676 78.3177V71.6876",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M37.2891 64.3588V32.7",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M37.2891 23.9823V18.4764",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M49.6777 64.3588V59.3118",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M49.6777 50.1353V18.4764",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M62.0645 64.3588V41.8765",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M62.0645 33.1588V18.4764",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M74.4531 64.3588V29.947",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M74.4531 21.6882V18.4764",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M41.4188 23.9824H32.7012V32.7001H41.4188V23.9824Z",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M53.8055 50.1353H45.0879V59.3117H53.8055V50.1353Z",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M66.1942 33.1588H57.4766V41.8765H66.1942V33.1588Z",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M78.5829 21.6882H69.8652V29.9471H78.5829V21.6882Z",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("h3",[t._v(t._s(t.title))]),t._v(" "),n("h6",[t._v(t._s(t.description))]),t._v(" "),n("VariantButton",{staticClass:"button",attrs:{variant:"primary"},on:{click:t.handleClick}},[t._v(t._s(t.buttonText))])],1)},staticRenderFns:[]},(function(t){t&&t("data-v-b8ad3380_0",{source:".block[data-v-b8ad3380]{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;gap:16px;padding:20px;background-color:#fff;border-radius:16px;box-shadow:0 4px 6px -1px #0000001a;border:1px solid #e5e5e5}.block img[data-v-b8ad3380]{width:auto;height:auto}.block h3[data-v-b8ad3380]{font-size:16px;font-weight:700;color:#000}.block h6[data-v-b8ad3380]{font-size:13px;font-weight:400;color:#00000080;max-width:186px;text-align:center}.button[data-v-b8ad3380]{width:100%!important;display:flex!important;height:fit-content!important;justify-content:center!important}",map:void 0,media:void 0})}),{name:"GetCustomBlock",components:{VariantButton:Hh},props:{title:{type:String,required:!1},description:{type:String,required:!1},buttonText:{type:String,required:!1}},methods:{handleClick:function(){event.preventDefault(),this.$emit("click",event)},translateMe:function(t){return this.$translations.hasOwnProperty(t)?this.$translations[t]:t},handleCustomizePlan:function(){this.$emit("handleCustomizePlan")}}},"data-v-b8ad3380",false,undefined,!1,Ac,void 0,void 0),Xp={data:function(){return{isSyncing:!1,remainingPlansMonthly:{before:0,after:0},remainingPlansAnnually:{before:0,after:0},anyMonthlyPlanHasDiscount:!1,anyAnnuallyPlanHasDiscount:!1,loadingPlanId:null}},name:"PlanTable",components:{VariantButton:Hh},props:{plans:{type:Array,required:!0},currentPlan:{type:Object,required:!1},selectedInterval:{type:String,required:!1},promotionalDiscount:{type:Object,required:!1},features:{type:Array,required:!1,default:function(){return[]}}},methods:{formatFeature:Wp,handlePlanClick:function(t){var e=this;return s(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e.loadingPlanId=t.id,n.prev=1,n.next=4,e.$emit("plan-clicked",t);case 4:n.next=10;break;case 6:n.prev=6,n.t0=n.catch(1),console.error("Error handling plan click:",n.t0),e.loadingPlanId=null;case 10:case"end":return n.stop()}}),n,null,[[1,6]])})))()},translateMe:function(t){return this.$translations.hasOwnProperty(t)?this.$translations[t]:t},hasFeature:function(t,e){return!!t.features[e.uuid]},syncHeights:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"features";this.$nextTick((function(){setTimeout((function(){var n=document.querySelectorAll(".swiper-slide");if("features"===e){var a="-".concat(t.selectedInterval),r=document.querySelectorAll(".plan-feature-name".concat(a));n.forEach((function(t){var e=t.querySelectorAll(".plan-feature".concat(a));r.forEach((function(t,n){var a=e[n];t&&a&&(a.style.height="".concat(t.offsetHeight,"px"))}))}))}else if("plans"===e){var o="-".concat(t.selectedInterval),i=document.querySelectorAll(".plan-header-wrapper".concat(o)),s=document.querySelector(".plans-available".concat(o));if(!s)return;var l=0;n.forEach((function(t,e){var n=i[e];n&&(l=Math.max(n.offsetHeight,l))})),s.style.minHeight="".concat(l,"px"),i.forEach((function(t){t.style.minHeight="".concat(l,"px")}))}}),2)}))},syncAllHeights:function(){this.syncHeights("features"),this.syncHeights("plans")},syncNavigationWidth:function(){var t=document.querySelectorAll(".swiper-plan-navigation"),e=document.querySelector(".pricing-table");e&&t.forEach((function(t){t.style.width="".concat(e.offsetWidth+130,"px"),t.style.left="".concat(e.offsetLeft-65,"px")}))},syncScroll:function(t,e){if(!this.isSyncing){this.isSyncing=!0;var n=t.scrollTop;e.forEach((function(e){e!==t&&(e.scrollTop=n)})),this.isSyncing=!1}},setupScrollListeners:function(){var t=this,e=document.querySelectorAll("#table-left"),n=document.querySelectorAll("#plans-table"),a=[].concat(h(e),h(n));a.forEach((function(e){e.addEventListener("scroll",(function(){t.syncScroll(e,a)}))}))},updateRemainingPlans:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"monthly";if(t){var n=t.slides.length,a=t.activeIndex,r=1;if("number"==typeof t.params.slidesPerView)r=t.params.slidesPerView;else if(t.params.breakpoints){var o,i=window.innerWidth,s=t.params.breakpoints,l=Object.keys(s).map(Number).sort((function(t,e){return t-e})),c=v(l);try{for(c.s();!(o=c.n()).done;){var u=o.value;i>=u&&"number"==typeof s[u].slidesPerView&&(r=s[u].slidesPerView)}}catch(t){c.e(t)}finally{c.f()}}var d=Math.max(n-(a+r),0),h=a;"annually"===e?this.remainingPlansAnnually={after:d,before:h}:this.remainingPlansMonthly={after:d,before:h}}}},computed:{monthlyPlans:function(){var t=this;return this.plans.filter((function(t){return"EVERY_30_DAYS"===t.interval})).map((function(e){var n=Up(e,t.promotionalDiscount);return n.has_discount&&!t.anyMonthlyPlanHasDiscount&&(t.anyMonthlyPlanHasDiscount=!0),n}))},annualPlans:function(){var t=this;return this.plans.filter((function(t){return"ANNUAL"===t.interval})).map((function(e){var n=Up(e,t.promotionalDiscount);return n.has_discount&&!t.anyAnnuallyPlanHasDiscount&&(t.anyAnnuallyPlanHasDiscount=!0),n}))},monthlyPlansFeatures:function(){if(!this.features.length)return[];var t=new Set;this.monthlyPlans.forEach((function(e){Object.keys(e.features).forEach((function(e){t.add(e)}))}));var e={},n=!1;this.features.filter((function(e){return t.has(e.uuid)&&!e.hidden_feature})).forEach((function(t){t.group&&t.group_order&&(n=!0);var a=n&&t.group||"Default";e[a]||(e[a]={name:a,order:n&&t.group_order||999,features:[]}),e[a].features.push(t)}));var a=Object.values(e).sort((function(t,e){return t.order-e.order}));return 1!==a.length&&n||a.forEach((function(t){return t.name=""})),a},annualPlansFeatures:function(){if(!this.features.length)return[];var t=new Set;this.annualPlans.forEach((function(e){Object.keys(e.features).forEach((function(e){t.add(e)}))}));var e={},n=!1;this.features.filter((function(e){return t.has(e.uuid)&&!e.hidden_feature})).forEach((function(t){t.group&&t.group_order&&(n=!0);var a=n&&t.group||"Default";e[a]||(e[a]={name:a,order:n&&t.group_order||999,features:[]}),e[a].features.push(t)}));var a=Object.values(e).sort((function(t,e){return t.order-e.order}));return 1!==a.length&&n||a.forEach((function(t){return t.name=""})),a}},watch:{selectedInterval:function(){var t=document.querySelector(".monthly-table"),e=document.querySelector(".annually-table"),n=document.querySelector(".nav-monthly-table"),a=document.querySelector(".nav-annually-table");"monthly"===this.selectedInterval?(t.style.visibility="visible",t.style.height="auto",t.style.padding="16px",t.style.padding="16px",e.style.visibility="hidden",e.style.height="0px",e.style.padding="0px",n.style.display="flex",a.style.display="none",this.interval="EVERY_30_DAYS",this.syncAllHeights()):"annually"===this.selectedInterval&&(t.style.visibility="hidden",t.style.height="0px",t.style.padding="0px",t.style.padding="0px",e.style.visibility="visible",e.style.height="auto",e.style.padding="16px",n.style.display="none",a.style.display="flex",this.interval="ANNUAL",this.syncAllHeights())}},mounted:function(){var t=this;new Ip(this.$refs.swiperMonthlyTable,{modules:[Dp,$p],loop:!1,slidesPerView:2,speed:500,navigation:{nextEl:".swiper-plan-monthly-next",prevEl:".swiper-plan-monthly-prev"},breakpoints:{0:{slidesPerView:1},768:{slidesPerView:2},1024:{slidesPerView:Math.min(this.monthlyPlans.length,3)}},on:{slideChange:function(e){t.syncAllHeights(),t.updateRemainingPlans(e)},afterInit:function(e){t.syncAllHeights(),t.updateRemainingPlans(e)}}}),new Ip(this.$refs.swiperAnnuallyTable,{modules:[Dp,$p],loop:!1,slidesPerView:2,speed:500,navigation:{nextEl:".swiper-plan-annually-next",prevEl:".swiper-plan-annually-prev"},breakpoints:{0:{slidesPerView:1},768:{slidesPerView:2},1024:{slidesPerView:Math.min(this.annualPlans.length,3)}},on:{slideChange:function(e){t.syncAllHeights(),t.updateRemainingPlans(e,"annually")},afterInit:function(e){t.syncAllHeights(),t.updateRemainingPlans(e,"annually")}}}),this.syncAllHeights(),this.syncNavigationWidth(),this.setupScrollListeners()}},Qp=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[n("div",{staticClass:"swiper-plan-navigation nav-monthly-table"},[n("button",{staticClass:"swiper-plan-monthly-prev"},[this.remainingPlansMonthly.before>0?n("span",{staticClass:"plans-remaining"},[t._v("\n +"+t._s(this.remainingPlansMonthly.before+" "+(1===this.remainingPlansMonthly.before?t.translateMe("Plan"):t.translateMe("Plans")))+"\n ")]):t._e(),t._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9388)"}},[n("path",{attrs:{d:"M5 12.0001L19 12.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M5 12.0001L11 18.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M5 12.0001L11 6.00012",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9388"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white"}})])])])]),t._v(" "),n("button",{staticClass:"swiper-plan-monthly-next"},[this.remainingPlansMonthly.after>0?n("span",{staticClass:"plans-remaining"},[t._v("\n +"+t._s(this.remainingPlansMonthly.after+" "+(1===this.remainingPlansMonthly.after?t.translateMe("Plan"):t.translateMe("Plans")))+"\n ")]):t._e(),t._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9381)"}},[n("path",{attrs:{d:"M19 12H5",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M19 12L13 6",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M19 12L13 18",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9381"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white",transform:"matrix(-1 0 0 -1 24 24)"}})])])])])]),t._v(" "),n("div",{staticClass:"swiper-plan-navigation nav-annually-table"},[n("button",{staticClass:"swiper-plan-annually-prev"},[this.remainingPlansAnnually.before>0?n("span",{staticClass:"plans-remaining"},[t._v("\n +"+t._s(this.remainingPlansAnnually.before+" "+(1===this.remainingPlansAnnually.before?t.translateMe("Plan"):t.translateMe("Plans")))+"\n ")]):t._e(),t._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9388)"}},[n("path",{attrs:{d:"M5 12.0001L19 12.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M5 12.0001L11 18.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M5 12.0001L11 6.00012",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9388"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white"}})])])])]),t._v(" "),n("button",{staticClass:"swiper-plan-annually-next"},[this.remainingPlansAnnually.after>0?n("span",{staticClass:"plans-remaining"},[t._v("\n +"+t._s(this.remainingPlansAnnually.after+" "+(1===this.remainingPlansAnnually.after?t.translateMe("Plan"):t.translateMe("Plans")))+"\n ")]):t._e(),t._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9381)"}},[n("path",{attrs:{d:"M19 12H5",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M19 12L13 6",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M19 12L13 18",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9381"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white",transform:"matrix(-1 0 0 -1 24 24)"}})])])])])]),t._v(" "),n("div",{staticClass:"pricing-table monthly-table"},[n("div",{staticClass:"pricing-table-inner__left",attrs:{id:"table-left"}},[n("div",{staticClass:"table-header plans-available plans-available-monthly"},[n("h3",[t._v("\n "+t._s(t.monthlyPlans.length)+" "+t._s(t.translateMe("Plans available"))+"\n ")])]),t._v(" "),t._l(t.monthlyPlansFeatures,(function(e){return[e.name?n("div",{staticClass:"feature-group-header plan-feature-name plan-feature-name-monthly"},[t._v("\n "+t._s(t.translateMe(e.name))+"\n ")]):t._e(),t._v(" "),t._l(e.features,(function(e){return n("div",{key:e.uuid,staticClass:"plan-feature-name plan-feature-name-monthly"},[t._v("\n "+t._s(t.translateMe(e.name))+"\n ")])}))]}))],2),t._v(" "),n("div",{ref:"swiperMonthlyTable",staticClass:"swiper plans monthly",attrs:{id:"plans-table"}},[n("div",{staticClass:"swiper-wrapper"},t._l(t.monthlyPlans,(function(e,a){return n("div",{key:e.id,staticClass:"swiper-slide",class:{"last-slide":a===t.monthlyPlans.length-1}},[n("div",{staticClass:"plan-header-wrapper plan-header-wrapper-monthly"},[n("div",{class:["price-wrapper",t.anyMonthlyPlanHasDiscount?"has-discount":""]},[e.strike_price?[n("h5",[n("span",{staticClass:"strike-price"},[t._v("$"+t._s(e.strike_price))]),t._v(" "),0!==e.strike_price?n("span",{staticClass:"plan-interval"},[t._v(t._s(t.translateMe("/mo")))]):t._e()])]:t._e(),t._v(" "),n("div",{staticClass:"main-price"},[n("h4",{staticClass:"plan-name"},[t._v(t._s(t.translateMe(e.name)))]),t._v(" "),"free"!==e.name&&"FREE"!==e.name?n("h4",[n("span",{staticClass:"plan-price"},[t._v("$"+t._s(e.price))]),t._v(" "),n("span",{staticClass:"plan-interval"},[t._v(t._s(t.translateMe("/mo")))])]):t._e()])],2),t._v(" "),n("VariantButton",{staticClass:"button",attrs:{variant:"secondary",disabled:t.currentPlan&&t.currentPlan.id===e.id,loading:t.loadingPlanId===e.id},on:{click:function(n){return t.handlePlanClick(e)}}},[t._v(t._s(t.currentPlan&&t.currentPlan.id===e.id?t.translateMe("Selected Plan"):t.currentPlan?e.price>t.currentPlan.price?t.translateMe("Upgrade"):t.translateMe("Switch to this plan"):t.translateMe("Choose Plan")))])],1),t._v(" "),t._l(t.monthlyPlansFeatures,(function(a){return[a.name?n("div",{staticClass:"feature-group-header plan-feature plan-feature-monthly"},[t._v("\n "+t._s(t.translateMe(a.name))+"\n ")]):t._e(),t._v(" "),t._l(a.features,(function(a){return n("div",{key:a.uuid,staticClass:"plan-feature plan-feature-monthly"},[t.hasFeature(e,a)?n("div",["boolean"===a.value_type?n("div",[n("span",{staticClass:"plan-table-checkmark"},[n("svg",{attrs:{width:"21",height:"20",viewBox:"0 0 21 20",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9134)"}},[n("path",{attrs:{d:"M3.25 10C3.25 10.9849 3.44399 11.9602 3.8209 12.8701C4.19781 13.7801 4.75026 14.6069 5.4467 15.3033C6.14314 15.9997 6.96993 16.5522 7.87987 16.9291C8.78982 17.306 9.76509 17.5 10.75 17.5C11.7349 17.5 12.7102 17.306 13.6201 16.9291C14.5301 16.5522 15.3569 15.9997 16.0533 15.3033C16.7497 14.6069 17.3022 13.7801 17.6791 12.8701C18.056 11.9602 18.25 10.9849 18.25 10C18.25 9.01509 18.056 8.03982 17.6791 7.12987C17.3022 6.21993 16.7497 5.39314 16.0533 4.6967C15.3569 4.00026 14.5301 3.44781 13.6201 3.0709C12.7102 2.69399 11.7349 2.5 10.75 2.5C9.76509 2.5 8.78982 2.69399 7.87987 3.0709C6.96993 3.44781 6.14314 4.00026 5.4467 4.6967C4.75026 5.39314 4.19781 6.21993 3.8209 7.12987C3.44399 8.03982 3.25 9.01509 3.25 10Z",stroke:"black","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M8.25 9.99998L9.91667 11.6666L13.25 8.33331",stroke:"black","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9134"}},[n("rect",{attrs:{width:"20",height:"20",fill:"white",transform:"translate(0.75)"}})])])])])]):n("div",[n("span",[t._v(t._s(t.translateMe(t.formatFeature(e.features[a.uuid]))))])])]):n("div",[n("span",{staticClass:"plan-table-checkmark"},[n("svg",{attrs:{width:"21",height:"20",viewBox:"0 0 21 20",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9139)"}},[n("path",{attrs:{d:"M15.75 5L5.75 15",stroke:"#5C5C5C","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M5.75 5L15.75 15",stroke:"#5C5C5C","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9139"}},[n("rect",{attrs:{width:"20",height:"20",fill:"white",transform:"translate(0.75)"}})])])])])])])}))]}))],2)})),0)])]),t._v(" "),n("div",{staticClass:"pricing-table annually-table"},[n("div",{staticClass:"pricing-table-inner__left",attrs:{id:"table-left"}},[n("div",{staticClass:"table-header plans-available plans-available-annually"},[n("h3",[t._v(t._s(t.annualPlans.length)+" "+t._s(t.translateMe("Plans available")))])]),t._v(" "),t._l(t.annualPlansFeatures,(function(e){return[e.name?n("div",{staticClass:"feature-group-header plan-feature-name plan-feature-name-annually"},[t._v("\n "+t._s(t.translateMe(e.name))+"\n ")]):t._e(),t._v(" "),t._l(e.features,(function(e){return n("div",{key:e.uuid,staticClass:"plan-feature-name plan-feature-name-annually"},[t._v("\n "+t._s(t.translateMe(e.name))+"\n ")])}))]}))],2),t._v(" "),n("div",{ref:"swiperAnnuallyTable",staticClass:"swiper plans annually",attrs:{id:"plans-table"}},[n("div",{staticClass:"swiper-wrapper"},t._l(t.annualPlans,(function(e,a){return n("div",{key:e.id,staticClass:"swiper-slide",class:{"last-slide":a===t.annualPlans.length-1}},[n("div",{staticClass:"plan-header-wrapper plan-header-wrapper-annually"},[n("div",{class:["price-wrapper",t.anyAnnuallyPlanHasDiscount?"has-discount":""]},[e.strike_price?[n("h5",[n("span",{staticClass:"strike-price"},[t._v("$"+t._s(e.strike_price))]),t._v(" "),0!==e.strike_price?n("span",{staticClass:"plan-interval"},[t._v(t._s(t.translateMe("/yr")))]):t._e()])]:t._e(),t._v(" "),n("div",{staticClass:"main-price"},[n("h4",{staticClass:"plan-name"},[t._v(t._s(t.translateMe(e.name)))]),t._v(" "),"free"!==e.name&&"FREE"!==e.name?n("h4",[n("span",{staticClass:"plan-price"},[t._v("$"+t._s(e.price))]),t._v(" "),n("span",{staticClass:"plan-interval"},[t._v(t._s(t.translateMe("/yr")))])]):t._e()])],2),t._v(" "),n("VariantButton",{staticClass:"button",attrs:{variant:"secondary",disabled:t.currentPlan&&t.currentPlan.id===e.id,loading:t.loadingPlanId===e.id},on:{click:function(n){return t.handlePlanClick(e)}}},[t._v(t._s(t.currentPlan&&t.currentPlan.id===e.id?t.translateMe("Selected Plan"):t.currentPlan?e.price>t.currentPlan.price?t.translateMe("Upgrade"):t.translateMe("Switch to this plan"):t.translateMe("Choose Plan")))])],1),t._v(" "),t._l(t.annualPlansFeatures,(function(a){return[a.name?n("div",{staticClass:"feature-group-header plan-feature plan-feature-annually"},[t._v("\n "+t._s(t.translateMe(a.name))+"\n ")]):t._e(),t._v(" "),t._l(a.features,(function(a){return n("div",{key:a.uuid,staticClass:"plan-feature plan-feature-annually"},[t.hasFeature(e,a)?n("div",["boolean"===a.value_type?n("div",[n("span",{staticClass:"plan-table-checkmark"},[n("svg",{attrs:{width:"21",height:"20",viewBox:"0 0 21 20",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9134)"}},[n("path",{attrs:{d:"M3.25 10C3.25 10.9849 3.44399 11.9602 3.8209 12.8701C4.19781 13.7801 4.75026 14.6069 5.4467 15.3033C6.14314 15.9997 6.96993 16.5522 7.87987 16.9291C8.78982 17.306 9.76509 17.5 10.75 17.5C11.7349 17.5 12.7102 17.306 13.6201 16.9291C14.5301 16.5522 15.3569 15.9997 16.0533 15.3033C16.7497 14.6069 17.3022 13.7801 17.6791 12.8701C18.056 11.9602 18.25 10.9849 18.25 10C18.25 9.01509 18.056 8.03982 17.6791 7.12987C17.3022 6.21993 16.7497 5.39314 16.0533 4.6967C15.3569 4.00026 14.5301 3.44781 13.6201 3.0709C12.7102 2.69399 11.7349 2.5 10.75 2.5C9.76509 2.5 8.78982 2.69399 7.87987 3.0709C6.96993 3.44781 6.14314 4.00026 5.4467 4.6967C4.75026 5.39314 4.19781 6.21993 3.8209 7.12987C3.44399 8.03982 3.25 9.01509 3.25 10Z",stroke:"black","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M8.25 9.99998L9.91667 11.6666L13.25 8.33331",stroke:"black","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9134"}},[n("rect",{attrs:{width:"20",height:"20",fill:"white",transform:"translate(0.75)"}})])])])])]):n("div",[n("span",[t._v(t._s(t.translateMe(t.formatFeature(e.features[a.uuid]))))])])]):n("div",[n("span",{staticClass:"plan-table-checkmark"},[n("svg",{attrs:{width:"21",height:"20",viewBox:"0 0 21 20",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9139)"}},[n("path",{attrs:{d:"M15.75 5L5.75 15",stroke:"#5C5C5C","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M5.75 5L15.75 15",stroke:"#5C5C5C","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9139"}},[n("rect",{attrs:{width:"20",height:"20",fill:"white",transform:"translate(0.75)"}})])])])])])])}))]}))],2)})),0)])])])},staticRenderFns:[]},(function(t){t&&t("data-v-2ed3d0e6_0",{source:".container[data-v-2ed3d0e6]{width:100%}.pricing-table[data-v-2ed3d0e6]{display:grid;width:calc(100% + 2px);grid-template-columns:repeat(3,1fr);background-color:#fff;border-radius:16px;box-shadow:0 4px 6px -1px #0000001a;border:1px solid #e5e5e5}.pricing-table.monthly-table[data-v-2ed3d0e6]{padding:16px}.plans[data-v-2ed3d0e6]{grid-column:span 2;max-height:500px;overflow-y:auto}.annually-table[data-v-2ed3d0e6]{visibility:hidden;height:0}.pricing-table-inner__left[data-v-2ed3d0e6]{display:flex;flex-direction:column;max-height:500px;overflow-y:auto}.swiper[data-v-2ed3d0e6]{width:100%;height:100%}.table-header[data-v-2ed3d0e6]{display:flex;align-items:center;background-color:#f1f1f1;padding:16px;border-bottom:1px solid #e3e3e3;position:sticky;top:0}.table-header h3[data-v-2ed3d0e6]{font-size:13px;font-weight:700;line-height:20px;color:#303030}.plan-header-wrapper[data-v-2ed3d0e6]{padding:16px;border-bottom:1px solid #e3e3e3}.plan-feature[data-v-2ed3d0e6]{display:flex;align-items:center;justify-content:center;border-bottom:1px solid #e3e3e3;border-left:1px solid #e3e3e3}.last-slide .plan-feature[data-v-2ed3d0e6]{border-right:1px solid #e3e3e3}.plan-feature-name[data-v-2ed3d0e6]{font-size:13px;font-weight:450;padding:12px;border-bottom:1px solid #e3e3e3;border-left:1px solid #e3e3e3}.plan-table-checkmark[data-v-2ed3d0e6]{width:20px;height:20px;visibility:visible;display:inline-block}.plan-header-wrapper[data-v-2ed3d0e6]{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;background-color:#f1f1f1;border-left:1px solid #f1f1f1;border-right:1px solid #f1f1f1;position:sticky;top:0}.plan-header-wrapper .price-wrapper[data-v-2ed3d0e6]{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px}.plan-header-wrapper .price-wrapper.has-discount[data-v-2ed3d0e6]{min-height:44px}.plan-header-wrapper .price-wrapper .main-price[data-v-2ed3d0e6]{display:flex;flex-direction:row;gap:8px;justify-content:center;align-items:center}.plan-header-wrapper .price-wrapper .strike-price[data-v-2ed3d0e6]{text-decoration:line-through}.plan-header-wrapper .price-wrapper .plan-interval[data-v-2ed3d0e6]{color:#999;font-weight:400}.plan-header-wrapper .price-wrapper h4[data-v-2ed3d0e6]{display:inline;font-size:16px;font-weight:700;color:#303030;width:max-content}.plan-header-wrapper .price-wrapper h4 h6[data-v-2ed3d0e6]{display:inline;font-size:13px;font-weight:400;color:#00000080;margin-left:-4px;line-height:0}.swiper-plan-navigation[data-v-2ed3d0e6]{position:absolute;margin-top:32px;display:flex;justify-content:space-between;padding:16px 0}.nav-annually-table[data-v-2ed3d0e6]{display:none}.swiper-plan-annually-next[data-v-2ed3d0e6],.swiper-plan-annually-prev[data-v-2ed3d0e6],.swiper-plan-monthly-next[data-v-2ed3d0e6],.swiper-plan-monthly-prev[data-v-2ed3d0e6]{display:flex;align-items:center;justify-content:center;width:36px;height:36px;background-color:#1a1a1a;border-radius:8px;cursor:pointer}.swiper-plan-annually-next[data-v-2ed3d0e6]:disabled,.swiper-plan-annually-prev[data-v-2ed3d0e6]:disabled,.swiper-plan-monthly-next[data-v-2ed3d0e6]:disabled,.swiper-plan-monthly-prev[data-v-2ed3d0e6]:disabled{opacity:0}.choose-button[data-v-2ed3d0e6]{background-color:#fff!important}.choose-button[data-v-2ed3d0e6]:hover{background-color:#f9f9f9!important}.choose-button.disabled[data-v-2ed3d0e6]{background-color:rgba(0,0,0,.15)!important}#table-left[data-v-2ed3d0e6]{scrollbar-width:none;-ms-overflow-style:none}#table-left[data-v-2ed3d0e6]::-webkit-scrollbar{display:none}.plans-remaining[data-v-2ed3d0e6]{position:absolute;top:-30px;background-color:#fff;color:#333;font-weight:500;padding:6px 12px;border-radius:8px;font-size:14px;white-space:nowrap;box-shadow:0 4px 8px #00000026}.plans-remaining[data-v-2ed3d0e6]::after{content:'';position:absolute;top:100%;left:50%;transform:translateX(-50%);width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #fff;filter:drop-shadow(0 2px 2px rgba(0, 0, 0, .1))}.feature-group-header.plan-feature-name[data-v-2ed3d0e6]{font-size:0!important}.feature-group-header[data-v-2ed3d0e6]{font-size:14px;font-weight:600;background-color:#f5f5f5;color:#303030;max-height:30px;padding:5px!important;border-bottom:1px solid #e3e3e3;border-left:1px solid #e3e3e3}.feature-group-header.plan-feature[data-v-2ed3d0e6]{text-align:center;border-left:1px solid #e3e3e3}.last-slide .feature-group-header.plan-feature[data-v-2ed3d0e6]{border-right:1px solid #e3e3e3}@media (max-width:640px){.swiper-plan-navigation[data-v-2ed3d0e6]{display:none!important}.pricing-table[data-v-2ed3d0e6]{width:calc(100% + -2px)}}",map:void 0,media:void 0})}),Xp,"data-v-2ed3d0e6",false,undefined,!1,Ac,void 0,void 0),Jp=Qp,tf=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"block"},[n("div",{staticClass:"bundle-header"},[n("h3",[t._v(t._s(t.translateMe("Bundle")))]),t._v(" "),n("h2",[t._v("$"+t._s(t.plan.price-t.plan.discount))]),t._v(" "),n("span",{staticClass:"mo-label"},[t._v(t._s(t.translateMe("/mo")))]),t._v(" "),n("h4",[t._v("$"+t._s(t.plan.price))]),t._v(" "),n("span",{staticClass:"apps-count"},[t._v(t._s(t.allApps.length)+" "+t._s(t.translateMe("Apps")))])]),t._v(" "),n("div",{staticClass:"apps-list"},t._l(t.allApps,(function(e,a){return n("div",{key:e.id+"_"+a,staticClass:"app"},[a<=10?[n("img",{attrs:{src:e.app_logo_url,alt:e.app_name+" Logo",width:"24",height:"24"}}),t._v(" "),n("h5",[t._v(t._s(t.translateMe(e.app_name)))])]:11===a?[n("h5",{staticClass:"more-apps-label"},[t._v("+ "+t._s(t.allApps.length-11)+" "+t._s(t.translateMe("More Apps")))])]:t._e()],2)})),0),t._v(" "),n("VariantButton",{staticClass:"button",attrs:{variant:"primary"},on:{click:function(e){return t.handlePlanClick("bundle")}}},[t._v(t._s(t.translateMe("Start Saving Now")))])],1)},staticRenderFns:[]},(function(t){t&&t("data-v-09633baf_0",{source:".block[data-v-09633baf]{display:flex;flex-direction:column;justify-content:space-between;width:100%;gap:16px;padding:20px;background-color:#fff;border-radius:16px;box-shadow:0 4px 6px -1px #0000001a;border:1px solid #e5e5e5}.button[data-v-09633baf]{width:100%!important;display:flex!important;height:fit-content!important;justify-content:center!important}.bundle-header[data-v-09633baf]{display:flex;gap:8px;border-bottom:1px solid #e3e3e3;padding-bottom:12px}.bundle-header h3[data-v-09633baf]{font-size:18px;font-weight:700;color:#000}.bundle-header h2[data-v-09633baf]{font-size:30px;font-weight:700;color:#000}.bundle-header .mo-label[data-v-09633baf]{font-size:13px;font-weight:400;color:#00000080}.bundle-header h4[data-v-09633baf]{font-size:13.5px;font-weight:700;color:#616161;text-decoration:line-through}.bundle-header .apps-count[data-v-09633baf]{background-color:#91d0ff;border-radius:8px;padding:2px 8px;font-size:12px;line-height:16px;font-weight:550;color:#00527c}.apps-list[data-v-09633baf]{display:flex;flex-wrap:wrap;gap:8px}.apps-list .app[data-v-09633baf]{display:flex;flex-basis:calc(33% - 8px);align-items:center;gap:8px}.more-apps-label[data-v-09633baf]{font-size:13px;font-weight:700;color:#000}@media (max-width:640px){.apps-list .app[data-v-09633baf]{flex-basis:calc(50% - 8px)}}",map:void 0,media:void 0})}),{name:"BundlePlanCard",components:{VariantButton:Hh},props:{plan:{type:Object,required:!0},plan_details:{type:Array,required:!0}},methods:{handlePlanClick:function(t){this.$emit("plan-clicked","bundle")},translateMe:function(t){return this.$translations.hasOwnProperty(t)?this.$translations[t]:t}},computed:{allApps:function(){return this.plan_details.flatMap((function(t){return t.apps_relation}))},totalAppsCount:function(){return this.allApps.length}}},"data-v-09633baf",false,undefined,!1,Ac,void 0,void 0),ef=tf,nf={name:"CustomizationModal",components:{VariantButton:Hh},props:{visible:Boolean,title:{type:String,default:"Book A Call"}},data:function(){return{selectedIndex:null,items:[{title:"Options Block on Collection Page",price:199,description:"Lorem ipsum description for section",demo:"#"},{title:"Accordion Setup",price:79,description:"Lorem ipsum description for section",demo:"#"},{title:"Step-by-Step Product Form",price:129,description:"Lorem ipsum description for section",demo:"#"},{title:"Swatches with Drawer",price:199,description:"Lorem ipsum description for section",demo:"#"},{title:"Options Block Customization",price:79,description:"Lorem ipsum description for section",demo:"#"},{title:"Font Preview Block",price:99,description:"Lorem ipsum description for section",demo:"#"},{title:"Didn't Find What You're Looking For?",description:"Discuss with our experts!",icon:!0,buttonText:"Schedule a Call"}]}},computed:{total:function(){var t=this.items[this.selectedIndex];return t&&t.price?t.price:0}},methods:{selectItem:function(t){this.selectedIndex=t},onCancel:function(){this.$emit("cancel")},onSubmit:function(){this.$emit("submit",this.items[this.selectedIndex]||null)}}},af=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"modal-fade"}},[t.visible?n("div",{staticClass:"customization-modal modal-overlay",on:{click:function(e){return e.target!==e.currentTarget?null:t.onCancel.apply(null,arguments)}}},[n("div",{staticClass:"modal-container",attrs:{tabindex:"0"},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.onCancel.apply(null,arguments)}}},[n("div",{staticClass:"modal-header"},[n("h2",{staticClass:"modal-title"},[t._v(t._s(t.title))]),t._v(" "),n("button",{staticClass:"close-button",on:{click:t.onCancel}},[n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M12 4L4 12",stroke:"currentColor","stroke-width":"1"}}),t._v(" "),n("path",{attrs:{d:"M4 4L12 12",stroke:"currentColor","stroke-width":"1"}})])])]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"grid"},t._l(t.items,(function(e,a){return n("div",{key:a,staticClass:"card",class:{selected:t.selectedIndex===a},on:{click:function(e){return t.selectItem(a)}}},[e.icon?n("div",{staticClass:"icon"},[n("svg",{attrs:{width:"51",height:"52",viewBox:"0 0 51 52",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_840_1701)"}},[n("path",{attrs:{d:"M10.625 9H19.125L23.375 19.625L18.0625 22.8125C20.3383 27.427 24.073 31.1617 28.6875 33.4375L31.875 28.125L42.5 32.375V40.875C42.5 42.0022 42.0522 43.0832 41.2552 43.8802C40.4582 44.6772 39.3772 45.125 38.25 45.125C29.9609 44.6213 22.1428 41.1013 16.2708 35.2292C10.3987 29.3572 6.87873 21.5391 6.375 13.25C6.375 12.1228 6.82277 11.0418 7.6198 10.2448C8.41683 9.44777 9.49783 9 10.625 9Z",stroke:"#303030","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M31.875 15.375C33.0022 15.375 34.0832 15.8228 34.8802 16.6198C35.6772 17.4168 36.125 18.4978 36.125 19.625",stroke:"#303030","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M31.875 6.875C35.2565 6.875 38.4995 8.2183 40.8906 10.6094C43.2817 13.0005 44.625 16.2435 44.625 19.625",stroke:"#303030","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_840_1701"}},[n("rect",{attrs:{width:"51",height:"51",fill:"white",transform:"translate(0 0.5)"}})])])])]):t._e(),t._v(" "),n("strong",[t._v(t._s(e.title))]),t._v(" "),e.price?n("div",{staticClass:"price"},[t._v("$"+t._s(e.price))]):t._e(),t._v(" "),n("p",{staticClass:"description"},[t._v(t._s(e.description))]),t._v(" "),e.demo?n("a",{staticClass:"demo-link",attrs:{href:e.demo,target:"_blank"}},[t._v("View demo")]):t._e(),t._v(" "),n("VariantButton",{attrs:{variant:"secondary","full-width":!0}},[t._v("\n "+t._s(e.buttonText||(e.price?"Select":"Schedule a Call"))+"\n ")])],1)})),0)]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("span",{staticClass:"total"},[n("span",[t._v("Total:")]),t._v(" $"+t._s(t.total)+"\n ")]),t._v(" "),n("VariantButton",{attrs:{variant:"primary"}},[t._v("Submit")])],1)])]):t._e()])},staticRenderFns:[]},(function(t){t&&t("data-v-18fdf3dc_0",{source:".modal-fade-enter-active[data-v-18fdf3dc],.modal-fade-leave-active[data-v-18fdf3dc]{transition:opacity .2s ease}.modal-fade-enter[data-v-18fdf3dc],.modal-fade-leave-to[data-v-18fdf3dc]{opacity:0}.customization-modal.modal-overlay[data-v-18fdf3dc]{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:1000;display:flex;align-items:center;justify-content:center}.customization-modal .modal-container[data-v-18fdf3dc]{background:#fff;width:90%;max-width:960px;border-radius:10px;overflow:hidden;outline:0;max-height:90vh;display:flex;flex-direction:column}.customization-modal .modal-header[data-v-18fdf3dc]{padding:12px 16px;background:#f3f3f3;border-bottom:1px solid #e3e3e3;display:flex;justify-content:space-between;align-items:center;position:relative}.customization-modal .modal-title[data-v-18fdf3dc]{margin:0;font-size:13px;line-height:20px;font-weight:600}.customization-modal .close-button[data-v-18fdf3dc]{border:none;cursor:pointer;position:absolute;top:calc(50% + 2px);transform:translateY(-50%);right:10px;background:#f3f3f3}.customization-modal .modal-body[data-v-18fdf3dc]{padding:20px;overflow-y:auto;flex:1}.customization-modal .grid[data-v-18fdf3dc]{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:32px 44px}.customization-modal .card[data-v-18fdf3dc]{border:1px solid #dcdcdc;border-radius:12px;padding:16px;text-align:center;transition:border .2s;background:#fff;display:flex;flex-direction:column;justify-content:space-between;gap:6px}.card[data-v-18fdf3dc]:hover,.customization-modal .card.selected[data-v-18fdf3dc]{box-shadow:#e3e3e3 0 1px 0 0 inset,#e3e3e3 1px 0 0 0 inset,#e3e3e3 -1px 0 0 0 inset,#b5b5b5 0 -1px 0 0 inset}.customization-modal .card .price[data-v-18fdf3dc]{font-weight:500;font-size:20px;line-height:28px;letter-spacing:0}.customization-modal .card .description[data-v-18fdf3dc]{font-weight:400;font-size:13px;line-height:20px;letter-spacing:0;text-align:center}.customization-modal .card .demo-link[data-v-18fdf3dc]{font-weight:400;font-size:13px;line-height:20px;letter-spacing:0;text-align:center;color:#0094d5;text-decoration:none}.customization-modal .card .action-btn[data-v-18fdf3dc]{margin-top:auto;border:1px solid #dcdcdc;background:#fff;border-radius:6px;padding:8px;cursor:pointer}.customization-modal .icon img[data-v-18fdf3dc]{height:36px;margin-bottom:8px}.customization-modal .modal-footer[data-v-18fdf3dc]{border-top:1px solid #e3e3e3;padding:12px 16px;display:flex;gap:8px;justify-content:right;align-items:center}.customization-modal .total[data-v-18fdf3dc]{font-weight:500;font-size:13px;line-height:20px;letter-spacing:0;text-align:center;color:#00000080}.customization-modal .total span[data-v-18fdf3dc]{font-weight:700;color:#000}",map:void 0,media:void 0})}),nf,"data-v-18fdf3dc",false,undefined,!1,Ac,void 0,void 0),rf={name:"AppManagerSliderPlan",components:{PlanBanners:zc,CustomizationModal:af,PPage:zu,PStack:Nu,PStackItem:Ou,PButton:nt,PButtonGroup:ae,PHeading:at,PLayout:qu,PEmptyState:Ch,AppCard:Nh,PlanShowcaseBanner:Rh,CategoryHeading:Vh,BenefitsBanner:Ih,VariantButton:Hh,SelectButton:Fh,ToggleButton:$h,PlanCardsHighlights:Yp,GetCustomBlock:Kp,PlanTable:Jp,BundlePlanCard:ef},props:["shop_domain","host","discount_code","is_customizable","full_width"],data:function(){return{planLoading:!1,plan:{},plans:[],valid_annual_plans:[],promotional_discount:{},features:[],featureValues:[],shopify_plan:"",default_plan_id:null,onboard:!0,choose_later:!1,has_active_charge:!1,global_plan_charge:!1,subtitleContent:"",selectedPlan:"monthly",bundle_details:null,bundle_plan:null,showPlansFeatures:!1,showCustomizationModal:!1,additionalBenefitsHeading:{category_name:"Unlock Additional Benefits"}}},computed:{shop:function(){return{name:this.shop_domain,shopify_plan:this.shopify_plan,has_plan:!!this.plan,plan:this.plan,default_plan_id:this.default_plan_id}},monthlyPlan:function(){return this.plans.filter((function(t){return"EVERY_30_DAYS"===t.interval}))},yearlyPlan:function(){return this.plans.filter((function(t){return"ANNUAL"===t.interval}))}},methods:{translateMe:function(t){return this.$translations.hasOwnProperty(t)?this.$translations[t]:t},isCurrentPlanId:function(t){return this.shop.plan&&t.id===this.shop.plan.id},isActivePlanGlobal:function(){var t;return Boolean(null===(t=this.shop.plan)||void 0===t?void 0:t.is_global)},isActiveGlobalCharge:function(){return Boolean(this.global_plan_charge)},isSamePlanInOtherInterval:function(t){return this.shop.plan&&t.shopify_plans===this.shop.plan.shopify_plans},format:function(t){if(["double","integer"].includes(null==t?void 0:t.value_type))return"percentage"===t.format?"".concat(t.value,"%"):"count"===t.format?t.value<0?this.translateMe("Unlimited"):t.value:this.translateMe(t.value);if("array"===(null==t?void 0:t.value_type)){var e=JSON.parse(t.value),n=this;return(e=e.map((function(e){return n.translateMe(n.featureValues[t.feature_id][e])}))).join(", ")}return"string"===(null==t?void 0:t.value_type)?this.translateMe(t.value.replace('"',"").replace('"',"")):void 0},calculateDiscountedPrice:function(t){return Up(t,this.promotional_discount).price},handlePlanClicked:function(t){this.getPlanUrl(t)},getPlanUrl:function(t){var e=this;return s(regeneratorRuntime.mark((function n(){var a,r,o,i,s,l;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=e.shop.name,r=e.host,o=e.discount_code,i="shop=".concat(a),null!=r&&(i+="&host=".concat(r)),null!=o&&(i+="&discount_code=".concat(o)),n.next=8,_c.get("".concat(e.app_manager_config.baseUrl,"/api/app-manager/plan/process/").concat(t.id,"?").concat(i)).catch((function(t){console.error(t)}));case 8:"free_plan"===(s=n.sent).data.plan_type?e.$emit("handlePlanSelect",{free_plan:!0}):(l=s.data.redirect_url)&&(window.top.location.href=l);case 10:case"end":return n.stop()}}),n)})))()},activePlan:function(){var t=this;return s(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.activeWithoutPlan();case 2:!0===e.sent.data.status&&t.onboard&&(t.$emit("handlePlanSelect",{choose_later:!0}),t.onboard=!1);case 4:case"end":return e.stop()}}),e)})))()},activeWithoutPlan:function(){var t=this;return s(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_c.post("".concat(t.app_manager_config.baseUrl,"/api/app-manager/active-without-plan"),{shop_domain:t.shop.name,plan_id:t.shop.default_plan_id}).catch((function(t){console.error(t)}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))()},selectPlan:function(t){var e=this;return s(regeneratorRuntime.mark((function n(){var a,r,o,i,s,l;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:e.selectedPlan=t,null!==e.bundle_plan&&(a=document.querySelector(".custom-plan"),r=document.querySelector(".bundle-plan"),o=document.querySelector(".bill-cycle-back"),i=document.querySelector(".bill-cycle-select-group__inner-left"),s=document.querySelector(".promotional-banner"),l=document.querySelector(".bundle-plan-showcase-banner"),"bundle"==e.selectedPlan?(a.style.display="none",r.style.display="flex",o.style.display="flex",i.style.display="none",s&&(s.style.display="none"),l.style.display="flex"):(r.style.display="none",a.style.display="flex",o.style.display="none",i.style.display="flex",s&&(s.style.display="flex"),l.style.display="none"));case 2:case"end":return n.stop()}}),n)})))()},fetchFeatures:function(){var t=this;return s(regeneratorRuntime.mark((function e(){var n,a,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_c.get("".concat(t.app_manager_config.baseUrl,"/api/app-manager/plan-features")).catch((function(t){console.error(t)}));case 2:n=e.sent,(a=n.data).features.length&&(t.features=a.features,t.features=null===(r=t.features)||void 0===r?void 0:r.filter((function(t){return!0!==t.hidden_feature})),t.features=null===(o=t.features)||void 0===o?void 0:o.sort((function(t,e){return parseInt(t.display_order)-parseInt(e.display_order)})),t.features.forEach((function(e){"array"==e.value_type&&(t.featureValues[e.uuid]=e.values)})));case 5:case"end":return e.stop()}}),e)})))()},fetchPlans:function(){var t=this;return s(regeneratorRuntime.mark((function e(){var n,a,r,i,s,l,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={shop_domain:t.shop_domain},null!==t.discount_code&&(n.discount_code=t.discount_code),e.next=4,_c.get("".concat(t.app_manager_config.baseUrl,"/api/app-manager/plans"),{params:n}).catch((function(t){console.error(t)}));case 4:if(a=e.sent,(r=a.data).plans.length){for(c=0;c<r.plans.length;c++)"ANNUAL"===r.plans[c].interval&&t.valid_annual_plans.push(r.plans[c]);t.plans=r.plans,t.plans=null===(i=t.plans)||void 0===i?void 0:i.sort((function(t,e){return parseFloat(t.price)-parseFloat(e.price)})),t.plans[0].store_base_plan&&(t.subtitleContent=t.translateMe("App plans are based on your existing shopify plan")),t.plan=r.plan,"ANNUAL"===(null===(s=t.plan)||void 0===s?void 0:s.interval)&&(t.selectedPlan="annually"),null!==(l=t.plan)&&void 0!==l&&l.is_global&&(t.selectedPlan="bundle"),t.shopify_plan=r.shopify_plan,t.default_plan_id=r.default_plan_id,t.choose_later=r.choose_later,t.onboard=t.default_plan_id&&t.choose_later,t.has_active_charge=r.has_active_charge,t.global_plan_charge=r.global_plan_charge,t.promotional_discount=r.promotional_discount&&"object"===o(r.promotional_discount)&&Object.keys(r.promotional_discount).length>0?r.promotional_discount:{},r.bundle_plan&&(t.bundle_plan=r.bundle_plan),r.bundle_details&&(t.bundle_details=r.bundle_details)}case 7:case"end":return e.stop()}}),e)})))()},handlePlanBannerClose:function(t){this.$emit("handlePlanBannerClose",t),this.$emit("handle-plan-banner-close",t)},togglePlansFeatures:function(){this.showPlansFeatures=!this.showPlansFeatures},handleCustomizePlan:function(){this.showCustomizationModal=!0,this.$emit("handleCustomizePlan")},handleCustomizePlanClose:function(){this.showCustomizationModal=!1}},mounted:function(){var t=this;return s(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.planLoading=!0,e.next=3,t.fetchFeatures();case 3:return e.next=5,t.fetchPlans();case 5:t.planLoading=!1;case 6:case"end":return e.stop()}}),e)})))()}},of=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return this.planLoading||0!==this.plans.length?!this.planLoading&&this.plans.length>0?n("div",{staticClass:"app-manager-wrapper"},[n("PlanBanners",{staticClass:"app-manager-plan-banner",attrs:{position:"header"},on:{handlePlanBannerClose:t.handlePlanBannerClose}}),t._v(" "),n("div",{class:["bill-cycle-select-group",this.full_width?"full-width":""]},[n("a",{staticClass:"bill-cycle-back",on:{click:function(e){return t.selectPlan("monthly")}}},[n("svg",{attrs:{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M1 7H15H1Z",fill:"#006FBB"}}),t._v(" "),n("path",{attrs:{d:"M1 7H15",stroke:"#006FBB","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M1 7L7 13L1 7Z",fill:"#006FBB"}}),t._v(" "),n("path",{attrs:{d:"M1 7L7 13",stroke:"#006FBB","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M1 7L7 1L1 7Z",fill:"#006FBB"}}),t._v(" "),n("path",{attrs:{d:"M1 7L7 1",stroke:"#006FBB","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v("\n "+t._s(t.translateMe("Back to App pricing"))+"\n ")]),t._v(" "),n("div",{staticClass:"bill-cycle-select-group__inner-left"},[n("SelectButton",{attrs:{id:"pricing-tab",variant:"monthly"===t.selectedPlan?"primary":"secondary"},on:{click:function(e){return t.selectPlan("monthly")}}},[t._v("\n "+t._s(t.translateMe("Billed Monthly"))+"\n ")]),t._v(" "),t.valid_annual_plans.length>0?n("SelectButton",{attrs:{id:"pricing-tab",variant:"annually"===t.selectedPlan?"primary":"secondary"},on:{click:function(e){return t.selectPlan("annually")}}},[t._v("\n "+t._s(t.translateMe("Billed Yearly"))+"\n "),n("strong",{staticStyle:{"white-space":"pre"}},[t._v(t._s(t.translateMe(" 17% Off")))])]):t._e()],1),t._v(" "),null!==t.bundle_plan?n("ToggleButton",{attrs:{id:"pricing-tab",toggled:"bundle"===t.selectedPlan},on:{click:function(e){return t.selectPlan("bundle")}}},[t._v("\n "+t._s(t.translateMe("App Bundle Plan -"))+"\n "),n("strong",{staticStyle:{"white-space":"pre","font-weight":"900"}},[t._v(t._s(t.translateMe("70% Off")))])]):t._e()],1),t._v(" "),t.bundle_plan?n("PlanShowcaseBanner",{attrs:{useCardStyle:!0,fullWidth:this.full_width,showcaseData:t.bundle_plan,realPrice:parseFloat(t.calculateDiscountedPrice(t.bundle_plan)).toFixed(0),oldPrice:t.bundle_plan.price,isCurrentPlan:t.isCurrentPlanId(t.bundle_plan)},on:{"plan-clicked":function(e){return t.handlePlanClicked(t.bundle_plan)}}}):t._e(),t._v(" "),n("PPage",{staticClass:"app-manager-plan-page-slider custom-title",attrs:{"full-width":this.full_width}},[n("PLayout",{staticClass:"custom-plan"},[n("PlanCardsHighlights",{attrs:{plans:t.plans,features:t.features,currentPlan:t.plan,promotionalDiscount:t.promotional_discount,selectedInterval:t.selectedPlan},on:{"plan-clicked":t.handlePlanClicked}}),t._v(" "),n("div",{staticStyle:{display:"flex","flex-direction":"column","align-items":"center",gap:"16px"}},[n("a",{staticClass:"toggle-plans-features",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.togglePlansFeatures.apply(null,arguments)}}},[t._v("\n "+t._s(t.showPlansFeatures?t.translateMe("Hide all features"):t.translateMe("Show all features"))+"\n ")]),t._v(" "),n("PlanTable",{class:{"hide-all-features":!t.showPlansFeatures},attrs:{plans:t.plans,currentPlan:t.plan,promotionalDiscount:t.promotional_discount,selectedInterval:t.selectedPlan,features:t.features},on:{"plan-clicked":t.handlePlanClicked}})],1),t._v(" "),t.onboard?n("PStack",{staticClass:"choose-plan-btn",attrs:{alignment:"center",distribution:"center",vertical:""}},[n("PStackItem",{attrs:{fill:""}},[n("PButton",{attrs:{plain:""},on:{click:t.activePlan}},[t._v(t._s(t.translateMe("I will choose the plan later")))])],1)],1):t._e(),t._v(" "),n("div",{staticClass:"customization-bundle-section"},[n("BundlePlanCard",{attrs:{plan:t.bundle_plan,plan_details:t.bundle_details},on:{"plan-clicked":t.selectPlan}})],1),t._v(" "),n("CustomizationModal",{attrs:{visible:this.showCustomizationModal},on:{cancel:t.handleCustomizePlanClose,submit:function(t){}}})],1),t._v(" "),null!==t.bundle_plan?n("div",{staticClass:"bundle-plan"},[n("div",{staticClass:"light-divider"}),t._v(" "),t._l(t.bundle_details,(function(e){return n("div",{staticClass:"bundle-category"},[n("CategoryHeading",{attrs:{headingData:e}}),t._v(" "),n("div",{staticClass:"bundle-category-apps"},t._l(e.apps_relation,(function(t){return n("AppCard",{attrs:{appData:t}})})),1)],1)})),t._v(" "),n("CategoryHeading",{attrs:{headingData:t.additionalBenefitsHeading}}),t._v(" "),n("BenefitsBanner")],2):t._e(),t._v(" "),n("PlanBanners",{attrs:{position:"footer"},on:{handlePlanBannerClose:t.handlePlanBannerClose}})],1)],1):t._e():n("PEmptyState",{attrs:{heading:t.translateMe("No Plans"),image:"https://cdn.shopify.com/s/files/1/0262/4071/2726/files/emptystate-files.png"}})},staticRenderFns:[]},(function(t){t&&t("data-v-6e605ac8_0",{source:"@import url(https://fonts.googleapis.com/css2?family=Satisfy&display=swap);@import url(https://cdnjs.cloudflare.com/ajax/libs/Swiper/8.4.7/swiper-bundle.css);.app-manager .app-manager-wrapper{padding-top:16px}.app-manager .app-manager-plan-page-slider ul{list-style:none;margin:0;padding:0}.app-manager .Polaris-Page--fullWidth{max-width:calc(100% - 200px)!important}.app-manager .app-manager-plan-page-slider .Polaris-ResourceList__ResourceListWrapper.features li,.app-manager .app-manager-plan-page-slider .plan__price{padding:16px 16px 16px 20px}.app-manager .app-manager-plan-page-slider .Polaris-ResourceList__ResourceListWrapper.features li{border-top:1px solid #ddd;border-right:1px solid #ddd;background:#fff;border-right:none;border-left:1px solid #ddd}.app-manager .app-manager-plan-page-slider .Polaris-ResourceList__ResourceListWrapper.features li:last-child{border-bottom:1px solid #ddd}.app-manager .app-manager-plan-page-slider .Polaris-ResourceList__ResourceListWrapper.features li:first-child{border-top-left-radius:12px}.app-manager .app-manager-plan-page-slider .Polaris-ResourceList__ResourceListWrapper.features li:last-child{border-bottom-left-radius:12px}.app-manager .app-manager-plan-page-slider .plan__price{border-left:1px solid #ddd;box-shadow:none;border-top-left-radius:12px;overflow:hidden}.app-manager .app-manager-plan-page-slider .feature__list,.app-manager .app-manager-plan-page-slider .feature__type__array{display:flex;align-items:center;word-spacing:999px;justify-content:center}.app-manager .app-manager-plan-page-slider .feature__type__array.feature__class{justify-content:left}.app-manager .app-manager-plan-page-slider .plan-heading b{overflow-wrap:break-word;word-wrap:break-word;white-space:initial}.app-manager-plan-banner{margin-right:30px;margin-left:30px}.bundle-plan{display:none;flex-direction:column;gap:20px}.bundle-category{display:flex;flex-direction:column;gap:20px;margin-bottom:10px}.bundle-category-apps{display:flex;flex-direction:column;gap:10px}.light-divider{border-top:1px solid #e3e3e3;margin-top:10px;margin-bottom:10px}.app-manager .Polaris-Icon--colorSuccess svg{fill:#000!important}.button-group-new{display:flex;align-items:center;justify-content:center;gap:4px}.bill-cycle-select-group{display:flex;align-items:center;justify-content:space-between;gap:4px;max-width:998px;margin-left:auto;margin-right:auto;padding:0 32px}.bill-cycle-select-group.full-width{max-width:calc(100% - 200px)}.bill-cycle-select-group__inner-left{width:fit-content;display:flex;gap:4px;align-items:center;justify-content:center;border-radius:40px;padding:4px;border:1px solid #000}.bill-cycle-back{display:none;align-items:center;color:#006fbb;cursor:pointer;gap:4px;font-weight:450;font-size:14px}.promotional-banner{width:100%;height:100px;display:flex;align-items:center;justify-content:end;padding-right:36px;background-size:cover;background-repeat:no-repeat;background-position:center;border-radius:8px;margin-bottom:22px}.custom-plan{display:flex;flex-direction:column;align-items:center!important;gap:24px;margin-left:0!important;margin-right:0!important}.toggle-plans-features{font-size:13px;font-weight:500;color:#303030;text-decoration:none}.hide-all-features{visibility:hidden;overflow:hidden;height:0;margin-top:0!important}.customization-bundle-section{display:flex;flex-direction:row;gap:24px;width:100%}@media (max-width:700px){.Polaris-ButtonGroup__Item{width:auto!important}.app-manager .Polaris-Button{padding:7px 8px!important}}@media (max-width:767px){.bill-cycle-select-group{flex-direction:column-reverse;gap:10px}}@media (max-width:1023px){.customization-bundle-section{flex-direction:column;gap:20px}}",map:void 0,media:void 0})}),rf,undefined,false,undefined,!1,Ac,void 0,void 0),sf=of,lf={name:"AppManagerPlan",components:{AppManagerSliderPlan:sf},props:{shop_domain:{type:String},group_plan:{type:Boolean,default:!1},base_url:{type:String,default:null},host:{type:String,default:null},discount_code:{type:String,default:null},is_customizable:{type:Boolean,default:!1},full_width:{type:Boolean,default:!1},translations:{type:Object,default:function(){return{hulkapps:"hulkapps"}}}},methods:{handlePlanSelect:function(t){this.$emit("handlePlanSelect",t),this.$emit("handle-plan-select",t)},handlePlanBannerClose:function(t){this.$emit("handlePlanBannerClose",t),this.$emit("handle-plan-banner-close",t)},handleCustomizePlan:function(){this.$emit("handleCustomizePlan")}},created:function(){if(n.default.prototype.$translations=Object.keys(this.translations).length>0?this.translations:{},null!=this.base_url){var t={baseUrl:this.base_url};hf(n.default,t)}}},cf=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("AppManagerSliderPlan",{attrs:{shop_domain:t.shop_domain,host:t.host,discount_code:t.discount_code,is_customizable:t.is_customizable,full_width:t.full_width},on:{handlePlanSelect:t.handlePlanSelect,handlePlanBannerClose:t.handlePlanBannerClose,handleCustomizePlan:t.handleCustomizePlan}})},staticRenderFns:[]},undefined,lf,"data-v-1a52e210",false,undefined,!1,void 0,void 0,void 0),uf=Object.freeze({__proto__:null,Banners:Mc,AppManagerGroupPlan:Dh,PlanBanners:zc,AppManagerSliderPlan:sf,AppManagerPlan:cf}),df={baseUrl:""},hf=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.entries(uf).forEach((function(e){var n=d(e,2),a=n[0],r=n[1];t.component(a,r)})),t.prototype.app_manager_config=r(r({},df),e)},pf=Object.freeze({__proto__:null,default:hf,Banners:Mc,AppManagerGroupPlan:Dh,PlanBanners:zc,AppManagerSliderPlan:sf,AppManagerPlan:cf});return Object.entries(pf).forEach((function(t){var e=d(t,2),n=e[0],a=e[1];"default"!==n&&(hf[n]=a)})),hf}(Vue);
9
+ var n;"undefined"!=typeof self&&self,n=function(){return function(t){var e={};function n(a){if(e[a])return e[a].exports;var r=e[a]={i:a,l:!1,exports:{}};return t[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:a})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=109)}([function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=n(17),r=n(18),o=n(19),i=n(45),s=n(46),l=n(47),c=n(48),u=n(49),d=n(12),h=n(32),p=n(33),f=n(31),v=n(1),g={Scope:v.Scope,create:v.create,find:v.find,query:v.query,register:v.register,Container:a.default,Format:r.default,Leaf:o.default,Embed:c.default,Scroll:i.default,Block:l.default,Inline:s.default,Text:u.default,Attributor:{Attribute:d.default,Class:h.default,Style:p.default,Store:f.default}};e.default=g},function(t,e,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=function(t){function e(e){var n=this;return e="[Parchment] "+e,(n=t.call(this,e)||this).message=e,n.name=n.constructor.name,n}return r(e,t),e}(Error);e.ParchmentError=o;var i,s={},l={},c={},u={};function d(t,e){var n;if(void 0===e&&(e=i.ANY),"string"==typeof t)n=u[t]||s[t];else if(t instanceof Text||t.nodeType===Node.TEXT_NODE)n=u.text;else if("number"==typeof t)t&i.LEVEL&i.BLOCK?n=u.block:t&i.LEVEL&i.INLINE&&(n=u.inline);else if(t instanceof HTMLElement){var a=(t.getAttribute("class")||"").split(/\s+/);for(var r in a)if(n=l[a[r]])break;n=n||c[t.tagName]}return null==n?null:e&i.LEVEL&n.scope&&e&i.TYPE&n.scope?n:null}e.DATA_KEY="__blot",function(t){t[t.TYPE=3]="TYPE",t[t.LEVEL=12]="LEVEL",t[t.ATTRIBUTE=13]="ATTRIBUTE",t[t.BLOT=14]="BLOT",t[t.INLINE=7]="INLINE",t[t.BLOCK=11]="BLOCK",t[t.BLOCK_BLOT=10]="BLOCK_BLOT",t[t.INLINE_BLOT=6]="INLINE_BLOT",t[t.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",t[t.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",t[t.ANY=15]="ANY"}(i=e.Scope||(e.Scope={})),e.create=function(t,e){var n=d(t);if(null==n)throw new o("Unable to create "+t+" blot");var a=n,r=t instanceof Node||t.nodeType===Node.TEXT_NODE?t:a.create(e);return new a(r,e)},e.find=function t(n,a){return void 0===a&&(a=!1),null==n?null:null!=n[e.DATA_KEY]?n[e.DATA_KEY].blot:a?t(n.parentNode,a):null},e.query=d,e.register=function t(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(e.length>1)return e.map((function(e){return t(e)}));var a=e[0];if("string"!=typeof a.blotName&&"string"!=typeof a.attrName)throw new o("Invalid definition");if("abstract"===a.blotName)throw new o("Cannot register abstract class");if(u[a.blotName||a.attrName]=a,"string"==typeof a.keyName)s[a.keyName]=a;else if(null!=a.className&&(l[a.className]=a),null!=a.tagName){Array.isArray(a.tagName)?a.tagName=a.tagName.map((function(t){return t.toUpperCase()})):a.tagName=a.tagName.toUpperCase();var r=Array.isArray(a.tagName)?a.tagName:[a.tagName];r.forEach((function(t){null!=c[t]&&null!=a.className||(c[t]=a)}))}return a}},function(t,e,n){var a=n(51),r=n(11),o=n(3),i=n(20),s=String.fromCharCode(0),l=function(t){Array.isArray(t)?this.ops=t:null!=t&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]};l.prototype.insert=function(t,e){var n={};return 0===t.length?this:(n.insert=t,null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n))},l.prototype.delete=function(t){return t<=0?this:this.push({delete:t})},l.prototype.retain=function(t,e){if(t<=0)return this;var n={retain:t};return null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n)},l.prototype.push=function(t){var e=this.ops.length,n=this.ops[e-1];if(t=o(!0,{},t),"object"==typeof n){if("number"==typeof t.delete&&"number"==typeof n.delete)return this.ops[e-1]={delete:n.delete+t.delete},this;if("number"==typeof n.delete&&null!=t.insert&&(e-=1,"object"!=typeof(n=this.ops[e-1])))return this.ops.unshift(t),this;if(r(t.attributes,n.attributes)){if("string"==typeof t.insert&&"string"==typeof n.insert)return this.ops[e-1]={insert:n.insert+t.insert},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this;if("number"==typeof t.retain&&"number"==typeof n.retain)return this.ops[e-1]={retain:n.retain+t.retain},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this}}return e===this.ops.length?this.ops.push(t):this.ops.splice(e,0,t),this},l.prototype.chop=function(){var t=this.ops[this.ops.length-1];return t&&t.retain&&!t.attributes&&this.ops.pop(),this},l.prototype.filter=function(t){return this.ops.filter(t)},l.prototype.forEach=function(t){this.ops.forEach(t)},l.prototype.map=function(t){return this.ops.map(t)},l.prototype.partition=function(t){var e=[],n=[];return this.forEach((function(a){(t(a)?e:n).push(a)})),[e,n]},l.prototype.reduce=function(t,e){return this.ops.reduce(t,e)},l.prototype.changeLength=function(){return this.reduce((function(t,e){return e.insert?t+i.length(e):e.delete?t-e.delete:t}),0)},l.prototype.length=function(){return this.reduce((function(t,e){return t+i.length(e)}),0)},l.prototype.slice=function(t,e){t=t||0,"number"!=typeof e&&(e=1/0);for(var n=[],a=i.iterator(this.ops),r=0;r<e&&a.hasNext();){var o;r<t?o=a.next(t-r):(o=a.next(e-r),n.push(o)),r+=i.length(o)}return new l(n)},l.prototype.compose=function(t){var e=i.iterator(this.ops),n=i.iterator(t.ops),a=[],o=n.peek();if(null!=o&&"number"==typeof o.retain&&null==o.attributes){for(var s=o.retain;"insert"===e.peekType()&&e.peekLength()<=s;)s-=e.peekLength(),a.push(e.next());o.retain-s>0&&n.next(o.retain-s)}for(var c=new l(a);e.hasNext()||n.hasNext();)if("insert"===n.peekType())c.push(n.next());else if("delete"===e.peekType())c.push(e.next());else{var u=Math.min(e.peekLength(),n.peekLength()),d=e.next(u),h=n.next(u);if("number"==typeof h.retain){var p={};"number"==typeof d.retain?p.retain=u:p.insert=d.insert;var f=i.attributes.compose(d.attributes,h.attributes,"number"==typeof d.retain);if(f&&(p.attributes=f),c.push(p),!n.hasNext()&&r(c.ops[c.ops.length-1],p)){var v=new l(e.rest());return c.concat(v).chop()}}else"number"==typeof h.delete&&"number"==typeof d.retain&&c.push(h)}return c.chop()},l.prototype.concat=function(t){var e=new l(this.ops.slice());return t.ops.length>0&&(e.push(t.ops[0]),e.ops=e.ops.concat(t.ops.slice(1))),e},l.prototype.diff=function(t,e){if(this.ops===t.ops)return new l;var n=[this,t].map((function(e){return e.map((function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:s;throw new Error("diff() called "+(e===t?"on":"with")+" non-document")})).join("")})),o=new l,c=a(n[0],n[1],e),u=i.iterator(this.ops),d=i.iterator(t.ops);return c.forEach((function(t){for(var e=t[1].length;e>0;){var n=0;switch(t[0]){case a.INSERT:n=Math.min(d.peekLength(),e),o.push(d.next(n));break;case a.DELETE:n=Math.min(e,u.peekLength()),u.next(n),o.delete(n);break;case a.EQUAL:n=Math.min(u.peekLength(),d.peekLength(),e);var s=u.next(n),l=d.next(n);r(s.insert,l.insert)?o.retain(n,i.attributes.diff(s.attributes,l.attributes)):o.push(l).delete(n)}e-=n}})),o.chop()},l.prototype.eachLine=function(t,e){e=e||"\n";for(var n=i.iterator(this.ops),a=new l,r=0;n.hasNext();){if("insert"!==n.peekType())return;var o=n.peek(),s=i.length(o)-n.peekLength(),c="string"==typeof o.insert?o.insert.indexOf(e,s)-s:-1;if(c<0)a.push(n.next());else if(c>0)a.push(n.next(c));else{if(!1===t(a,n.next(1).attributes||{},r))return;r+=1,a=new l}}a.length()>0&&t(a,{},r)},l.prototype.transform=function(t,e){if(e=!!e,"number"==typeof t)return this.transformPosition(t,e);for(var n=i.iterator(this.ops),a=i.iterator(t.ops),r=new l;n.hasNext()||a.hasNext();)if("insert"!==n.peekType()||!e&&"insert"===a.peekType())if("insert"===a.peekType())r.push(a.next());else{var o=Math.min(n.peekLength(),a.peekLength()),s=n.next(o),c=a.next(o);if(s.delete)continue;c.delete?r.push(c):r.retain(o,i.attributes.transform(s.attributes,c.attributes,e))}else r.retain(i.length(n.next()));return r.chop()},l.prototype.transformPosition=function(t,e){e=!!e;for(var n=i.iterator(this.ops),a=0;n.hasNext()&&a<=t;){var r=n.peekLength(),o=n.peekType();n.next(),"delete"!==o?("insert"===o&&(a<t||!e)&&(t+=r),a+=r):t-=Math.min(r,t-a)}return t},t.exports=l},function(t,e){var n=Object.prototype.hasOwnProperty,a=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(t){return"function"==typeof Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)},s=function(t){if(!t||"[object Object]"!==a.call(t))return!1;var e,r=n.call(t,"constructor"),o=t.constructor&&t.constructor.prototype&&n.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!o)return!1;for(e in t);return void 0===e||n.call(t,e)},l=function(t,e){r&&"__proto__"===e.name?r(t,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):t[e.name]=e.newValue},c=function(t,e){if("__proto__"===e){if(!n.call(t,e))return;if(o)return o(t,e).value}return t[e]};t.exports=function t(){var e,n,a,r,o,u,d=arguments[0],h=1,p=arguments.length,f=!1;for("boolean"==typeof d&&(f=d,d=arguments[1]||{},h=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});h<p;++h)if(null!=(e=arguments[h]))for(n in e)a=c(d,n),d!==(r=c(e,n))&&(f&&r&&(s(r)||(o=i(r)))?(o?(o=!1,u=a&&i(a)?a:[]):u=a&&s(a)?a:{},l(d,{name:n,newValue:t(f,u,r)})):void 0!==r&&l(d,{name:n,newValue:r}));return d}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BlockEmbed=e.bubbleFormats=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},o=d(n(3)),i=d(n(2)),s=d(n(0)),l=d(n(16)),c=d(n(6)),u=d(n(7));function d(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function f(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var v=function(t){function e(){return h(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return f(e,t),a(e,[{key:"attach",value:function(){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"attach",this).call(this),this.attributes=new s.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new i.default).insert(this.value(),(0,o.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(t,e){var n=s.default.query(t,s.default.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,e)}},{key:"formatAt",value:function(t,e,n,a){this.format(n,a)}},{key:"insertAt",value:function(t,n,a){if("string"==typeof n&&n.endsWith("\n")){var o=s.default.create(g.blotName);this.parent.insertBefore(o,0===t?this:this.next),o.insertAt(0,n.slice(0,-1))}else r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,a)}}]),e}(s.default.Embed);v.scope=s.default.Scope.BLOCK_BLOT;var g=function(t){function e(t){h(this,e);var n=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.cache={},n}return f(e,t),a(e,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(s.default.Leaf).reduce((function(t,e){return 0===e.length()?t:t.insert(e.value(),m(e))}),new i.default).insert("\n",m(this))),this.cache.delta}},{key:"deleteAt",value:function(t,n){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,n),this.cache={}}},{key:"formatAt",value:function(t,n,a,o){n<=0||(s.default.query(a,s.default.Scope.BLOCK)?t+n===this.length()&&this.format(a,o):r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,Math.min(n,this.length()-t-1),a,o),this.cache={})}},{key:"insertAt",value:function(t,n,a){if(null!=a)return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,a);if(0!==n.length){var o=n.split("\n"),i=o.shift();i.length>0&&(t<this.length()-1||null==this.children.tail?r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,Math.min(t,this.length()-1),i):this.children.tail.insertAt(this.children.tail.length(),i),this.cache={});var s=this;o.reduce((function(t,e){return(s=s.split(t,!0)).insertAt(0,e),e.length}),t+i.length)}}},{key:"insertBefore",value:function(t,n){var a=this.children.head;r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n),a instanceof l.default&&a.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"length",this).call(this)+1),this.cache.length}},{key:"moveChildren",value:function(t,n){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"moveChildren",this).call(this,t,n),this.cache={}}},{key:"optimize",value:function(t){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.cache={}}},{key:"path",value:function(t){return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t,!0)}},{key:"removeChild",value:function(t){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"removeChild",this).call(this,t),this.cache={}}},{key:"split",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===t||t>=this.length()-1)){var a=this.clone();return 0===t?(this.parent.insertBefore(a,this),this):(this.parent.insertBefore(a,this.next),a)}var o=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"split",this).call(this,t,n);return this.cache={},o}}]),e}(s.default.Block);function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==t?e:("function"==typeof t.formats&&(e=(0,o.default)(e,t.formats())),null==t.parent||"scroll"==t.parent.blotName||t.parent.statics.scope!==t.statics.scope?e:m(t.parent,e))}g.blotName="block",g.tagName="P",g.defaultChild="break",g.allowedChildren=[c.default,s.default.Embed,u.default],e.bubbleFormats=m,e.BlockEmbed=v,e.default=g},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.overload=e.expandConfig=void 0;var a="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},r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],a=!0,r=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(a=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);a=!0);}catch(t){r=!0,o=t}finally{try{!a&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}();n(50);var i=g(n(2)),s=g(n(14)),l=g(n(8)),c=g(n(9)),u=g(n(0)),d=n(15),h=g(d),p=g(n(3)),f=g(n(10)),v=g(n(34));function g(t){return t&&t.__esModule?t:{default:t}}function m(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var w=(0,f.default)("quill"),b=function(){function t(e){var n=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(y(this,t),this.options=_(e,a),this.container=this.options.container,null==this.container)return w.error("Invalid Quill container",e);this.options.debug&&t.debug(this.options.debug);var r=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new l.default,this.scroll=u.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new s.default(this.scroll),this.selection=new h.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(l.default.events.EDITOR_CHANGE,(function(t){t===l.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())})),this.emitter.on(l.default.events.SCROLL_UPDATE,(function(t,e){var a=n.selection.lastRange,r=a&&0===a.length?a.index:void 0;x.call(n,(function(){return n.editor.update(null,e,r)}),t)}));var o=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+r+"<p><br></p></div>");this.setContents(o),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return o(t,null,[{key:"debug",value:function(t){!0===t&&(t="log"),f.default.level(t)}},{key:"find",value:function(t){return t.__quill||u.default.find(t)}},{key:"import",value:function(t){return null==this.imports[t]&&w.error("Cannot import "+t+". Are you sure it was registered?"),this.imports[t]}},{key:"register",value:function(t,e){var n=this,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof t){var r=t.attrName||t.blotName;"string"==typeof r?this.register("formats/"+r,t,e):Object.keys(t).forEach((function(a){n.register(a,t[a],e)}))}else null==this.imports[t]||a||w.warn("Overwriting "+t+" with",e),this.imports[t]=e,(t.startsWith("blots/")||t.startsWith("formats/"))&&"abstract"!==e.blotName?u.default.register(e):t.startsWith("modules")&&"function"==typeof e.register&&e.register()}}]),o(t,[{key:"addContainer",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof t){var n=t;(t=document.createElement("div")).classList.add(n)}return this.container.insertBefore(t,e),t}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(t,e,n){var a=this,o=M(t,e,n),i=r(o,4);return t=i[0],e=i[1],n=i[3],x.call(this,(function(){return a.editor.deleteText(t,e)}),n,t,-1*e)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(t),this.container.classList.toggle("ql-disabled",!t)}},{key:"focus",value:function(){var t=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=t,this.scrollIntoView()}},{key:"format",value:function(t,e){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default.sources.API;return x.call(this,(function(){var a=n.getSelection(!0),r=new i.default;if(null==a)return r;if(u.default.query(t,u.default.Scope.BLOCK))r=n.editor.formatLine(a.index,a.length,m({},t,e));else{if(0===a.length)return n.selection.format(t,e),r;r=n.editor.formatText(a.index,a.length,m({},t,e))}return n.setSelection(a,l.default.sources.SILENT),r}),a)}},{key:"formatLine",value:function(t,e,n,a,o){var i,s=this,l=M(t,e,n,a,o),c=r(l,4);return t=c[0],e=c[1],i=c[2],o=c[3],x.call(this,(function(){return s.editor.formatLine(t,e,i)}),o,t,0)}},{key:"formatText",value:function(t,e,n,a,o){var i,s=this,l=M(t,e,n,a,o),c=r(l,4);return t=c[0],e=c[1],i=c[2],o=c[3],x.call(this,(function(){return s.editor.formatText(t,e,i)}),o,t,0)}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"==typeof t?this.selection.getBounds(t,e):this.selection.getBounds(t.index,t.length);var a=this.container.getBoundingClientRect();return{bottom:n.bottom-a.top,height:n.height,left:n.left-a.left,right:n.right-a.left,top:n.top-a.top,width:n.width}}},{key:"getContents",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=M(t,e),a=r(n,2);return t=a[0],e=a[1],this.editor.getContents(t,e)}},{key:"getFormat",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof t?this.editor.getFormat(t,e):this.editor.getFormat(t.index,t.length)}},{key:"getIndex",value:function(t){return t.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(t){return this.scroll.leaf(t)}},{key:"getLine",value:function(t){return this.scroll.line(t)}},{key:"getLines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof t?this.scroll.lines(t.index,t.length):this.scroll.lines(t,e)}},{key:"getModule",value:function(t){return this.theme.modules[t]}},{key:"getSelection",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=M(t,e),a=r(n,2);return t=a[0],e=a[1],this.editor.getText(t,e)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(e,n,a){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.sources.API;return x.call(this,(function(){return r.editor.insertEmbed(e,n,a)}),o,e)}},{key:"insertText",value:function(t,e,n,a,o){var i,s=this,l=M(t,0,n,a,o),c=r(l,4);return t=c[0],i=c[2],o=c[3],x.call(this,(function(){return s.editor.insertText(t,e,i)}),o,t,e.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(t,e,n){this.clipboard.dangerouslyPasteHTML(t,e,n)}},{key:"removeFormat",value:function(t,e,n){var a=this,o=M(t,e,n),i=r(o,4);return t=i[0],e=i[1],n=i[3],x.call(this,(function(){return a.editor.removeFormat(t,e)}),n,t)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API;return x.call(this,(function(){t=new i.default(t);var n=e.getLength(),a=e.editor.deleteText(0,n),r=e.editor.applyDelta(t),o=r.ops[r.ops.length-1];return null!=o&&"string"==typeof o.insert&&"\n"===o.insert[o.insert.length-1]&&(e.editor.deleteText(e.getLength()-1,1),r.delete(1)),a.compose(r)}),n)}},{key:"setSelection",value:function(e,n,a){if(null==e)this.selection.setRange(null,n||t.sources.API);else{var o=M(e,n,a),i=r(o,4);e=i[0],n=i[1],a=i[3],this.selection.setRange(new d.Range(e,n),a),a!==l.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API,n=(new i.default).insert(t);return this.setContents(n,e)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default.sources.USER,e=this.scroll.update(t);return this.selection.update(t),e}},{key:"updateContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API;return x.call(this,(function(){return t=new i.default(t),e.editor.applyDelta(t,n)}),n,!0)}}]),t}();function _(t,e){if((e=(0,p.default)(!0,{container:t,modules:{clipboard:!0,keyboard:!0,history:!0}},e)).theme&&e.theme!==b.DEFAULTS.theme){if(e.theme=b.import("themes/"+e.theme),null==e.theme)throw new Error("Invalid theme "+e.theme+". Did you register it?")}else e.theme=v.default;var n=(0,p.default)(!0,{},e.theme.DEFAULTS);[n,e].forEach((function(t){t.modules=t.modules||{},Object.keys(t.modules).forEach((function(e){!0===t.modules[e]&&(t.modules[e]={})}))}));var a=Object.keys(n.modules).concat(Object.keys(e.modules)).reduce((function(t,e){var n=b.import("modules/"+e);return null==n?w.error("Cannot load "+e+" module. Are you sure you registered it?"):t[e]=n.DEFAULTS||{},t}),{});return null!=e.modules&&e.modules.toolbar&&e.modules.toolbar.constructor!==Object&&(e.modules.toolbar={container:e.modules.toolbar}),e=(0,p.default)(!0,{},b.DEFAULTS,{modules:a},n,e),["bounds","container","scrollingContainer"].forEach((function(t){"string"==typeof e[t]&&(e[t]=document.querySelector(e[t]))})),e.modules=Object.keys(e.modules).reduce((function(t,n){return e.modules[n]&&(t[n]=e.modules[n]),t}),{}),e}function x(t,e,n,a){if(this.options.strict&&!this.isEnabled()&&e===l.default.sources.USER)return new i.default;var r=null==n?null:this.getSelection(),o=this.editor.delta,s=t();if(null!=r&&(!0===n&&(n=r.index),null==a?r=C(r,s,e):0!==a&&(r=C(r,n,a,e)),this.setSelection(r,l.default.sources.SILENT)),s.length()>0){var c,u,d=[l.default.events.TEXT_CHANGE,s,o,e];(c=this.emitter).emit.apply(c,[l.default.events.EDITOR_CHANGE].concat(d)),e!==l.default.sources.SILENT&&(u=this.emitter).emit.apply(u,d)}return s}function M(t,e,n,r,o){var i={};return"number"==typeof t.index&&"number"==typeof t.length?"number"!=typeof e?(o=r,r=n,n=e,e=t.length,t=t.index):(e=t.length,t=t.index):"number"!=typeof e&&(o=r,r=n,n=e,e=0),"object"===(void 0===n?"undefined":a(n))?(i=n,o=r):"string"==typeof n&&(null!=r?i[n]=r:o=n),[t,e,i,o=o||l.default.sources.API]}function C(t,e,n,a){if(null==t)return null;var o=void 0,s=void 0;if(e instanceof i.default){var c=[t.index,t.index+t.length].map((function(t){return e.transformPosition(t,a!==l.default.sources.USER)})),u=r(c,2);o=u[0],s=u[1]}else{var h=[t.index,t.index+t.length].map((function(t){return t<e||t===e&&a===l.default.sources.USER?t:n>=0?t+n:Math.max(e,t+n)})),p=r(h,2);o=p[0],s=p[1]}return new d.Range(o,s-o)}b.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},b.events=l.default.events,b.sources=l.default.sources,b.version="1.3.7",b.imports={delta:i.default,parchment:u.default,"core/module":c.default,"core/theme":v.default},e.expandConfig=_,e.overload=M,e.default=b},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},o=s(n(7)),i=s(n(0));function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var u=function(t){function e(){return l(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"formatAt",value:function(t,n,a,o){if(e.compare(this.statics.blotName,a)<0&&i.default.query(a,i.default.Scope.BLOT)){var s=this.isolate(t,n);o&&s.wrap(a,o)}else r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,a,o)}},{key:"optimize",value:function(t){if(r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.parent instanceof e&&e.compare(this.statics.blotName,this.parent.statics.blotName)>0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(t,n){var a=e.order.indexOf(t),r=e.order.indexOf(n);return a>=0||r>=0?a-r:t===n?0:t<n?-1:1}}]),e}(i.default.Inline);u.allowedChildren=[u,i.default.Embed,o.default],u.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],e.default=u},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a,r=n(0);function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var s=function(t){function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((a=r)&&a.__esModule?a:{default:a}).default.Text);e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},o=i(n(54));function i(t){return t&&t.__esModule?t:{default:t}}var s=(0,i(n(10)).default)("quill:events");["selectionchange","mousedown","mouseup","click"].forEach((function(t){document.addEventListener(t,(function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];[].slice.call(document.querySelectorAll(".ql-container")).forEach((function(t){var n;t.__quill&&t.__quill.emitter&&(n=t.__quill.emitter).handleDOM.apply(n,e)}))}))}));var l=function(t){function e(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.listeners={},t.on("error",s.error),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"emit",value:function(){s.log.apply(s,arguments),r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),a=1;a<e;a++)n[a-1]=arguments[a];(this.listeners[t.type]||[]).forEach((function(e){var a=e.node,r=e.handler;(t.target===a||a.contains(t.target))&&r.apply(void 0,[t].concat(n))}))}},{key:"listenDOM",value:function(t,e,n){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push({node:e,handler:n})}}]),e}(o.default);l.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},l.sources={API:"api",SILENT:"silent",USER:"user"},e.default=l},function(t,e,n){function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a(this,t),this.quill=e,this.options=n};r.DEFAULTS={},e.default=r},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=["error","warn","log","info"],r="warn";function o(t){if(a.indexOf(t)<=a.indexOf(r)){for(var e,n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];(e=console)[t].apply(e,o)}}function i(t){return a.reduce((function(e,n){return e[n]=o.bind(console,n,t),e}),{})}o.level=i.level=function(t){r=t},e.default=i},function(t,e,n){var a=Array.prototype.slice,r=n(52),o=n(53),i=t.exports=function(t,e,n){return n||(n={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?n.strict?t===e:t==e:function(t,e,n){var c,u;if(s(t)||s(e))return!1;if(t.prototype!==e.prototype)return!1;if(o(t))return!!o(e)&&(t=a.call(t),e=a.call(e),i(t,e,n));if(l(t)){if(!l(e))return!1;if(t.length!==e.length)return!1;for(c=0;c<t.length;c++)if(t[c]!==e[c])return!1;return!0}try{var d=r(t),h=r(e)}catch(t){return!1}if(d.length!=h.length)return!1;for(d.sort(),h.sort(),c=d.length-1;c>=0;c--)if(d[c]!=h[c])return!1;for(c=d.length-1;c>=0;c--)if(u=d[c],!i(t[u],e[u],n))return!1;return typeof t==typeof e}(t,e,n))};function s(t){return null==t}function l(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length||"function"!=typeof t.copy||"function"!=typeof t.slice||t.length>0&&"number"!=typeof t[0])}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=n(1),r=function(){function t(t,e,n){void 0===n&&(n={}),this.attrName=t,this.keyName=e;var r=a.Scope.TYPE&a.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&a.Scope.LEVEL|r:this.scope=a.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return t.keys=function(t){return[].map.call(t.attributes,(function(t){return t.name}))},t.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.setAttribute(this.keyName,e),!0)},t.prototype.canAdd=function(t,e){return null!=a.query(t,a.Scope.BLOT&(this.scope|a.Scope.TYPE))&&(null==this.whitelist||("string"==typeof e?this.whitelist.indexOf(e.replace(/["']/g,""))>-1:this.whitelist.indexOf(e)>-1))},t.prototype.remove=function(t){t.removeAttribute(this.keyName)},t.prototype.value=function(t){var e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:""},t}();e.default=r},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Code=void 0;var a=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],a=!0,r=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(a=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);a=!0);}catch(t){r=!0,o=t}finally{try{!a&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},i=d(n(2)),s=d(n(0)),l=d(n(4)),c=d(n(6)),u=d(n(7));function d(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function f(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var v=function(t){function e(){return h(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return f(e,t),e}(c.default);v.blotName="code",v.tagName="CODE";var g=function(t){function e(){return h(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return f(e,t),r(e,[{key:"delta",value:function(){var t=this,e=this.domNode.textContent;return e.endsWith("\n")&&(e=e.slice(0,-1)),e.split("\n").reduce((function(e,n){return e.insert(n).insert("\n",t.formats())}),new i.default)}},{key:"format",value:function(t,n){if(t!==this.statics.blotName||!n){var r=this.descendant(u.default,this.length()-1),i=a(r,1)[0];null!=i&&i.deleteAt(i.length()-1,1),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}},{key:"formatAt",value:function(t,n,a,r){if(0!==n&&null!=s.default.query(a,s.default.Scope.BLOCK)&&(a!==this.statics.blotName||r!==this.statics.formats(this.domNode))){var o=this.newlineIndex(t);if(!(o<0||o>=t+n)){var i=this.newlineIndex(t,!0)+1,l=o-i+1,c=this.isolate(i,l),u=c.next;c.format(a,r),u instanceof e&&u.formatAt(0,t-i+n-l,a,r)}}}},{key:"insertAt",value:function(t,e,n){if(null==n){var r=this.descendant(u.default,t),o=a(r,2),i=o[0],s=o[1];i.insertAt(s,e)}}},{key:"length",value:function(){var t=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?t:t+1}},{key:"newlineIndex",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e)return this.domNode.textContent.slice(0,t).lastIndexOf("\n");var n=this.domNode.textContent.slice(t).indexOf("\n");return n>-1?t+n:-1}},{key:"optimize",value:function(t){this.domNode.textContent.endsWith("\n")||this.appendChild(s.default.create("text","\n")),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(t),n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(t){var e=s.default.find(t);null==e?t.parentNode.removeChild(t):e instanceof s.default.Embed?e.remove():e.unwrap()}))}}],[{key:"create",value:function(t){var n=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),e}(l.default);g.blotName="code-block",g.tagName="PRE",g.TAB=" ",e.Code=v,e.default=g},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a="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},r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],a=!0,r=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(a=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);a=!0);}catch(t){r=!0,o=t}finally{try{!a&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),i=m(n(2)),s=m(n(20)),l=m(n(0)),c=m(n(13)),u=m(n(24)),d=n(4),h=m(d),p=m(n(16)),f=m(n(21)),v=m(n(11)),g=m(n(3));function m(t){return t&&t.__esModule?t:{default:t}}var y=/^[ -~]*$/,w=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scroll=e,this.delta=this.getDelta()}return o(t,[{key:"applyDelta",value:function(t){var e=this,n=!1;this.scroll.update();var o=this.scroll.length();return this.scroll.batchStart(),t=function(t){return t.reduce((function(t,e){if(1===e.insert){var n=(0,f.default)(e.attributes);return delete n.image,t.insert({image:e.attributes.image},n)}if(null==e.attributes||!0!==e.attributes.list&&!0!==e.attributes.bullet||((e=(0,f.default)(e)).attributes.list?e.attributes.list="ordered":(e.attributes.list="bullet",delete e.attributes.bullet)),"string"==typeof e.insert){var a=e.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return t.insert(a,e.attributes)}return t.push(e)}),new i.default)}(t),t.reduce((function(t,i){var c=i.retain||i.delete||i.insert.length||1,u=i.attributes||{};if(null!=i.insert){if("string"==typeof i.insert){var p=i.insert;p.endsWith("\n")&&n&&(n=!1,p=p.slice(0,-1)),t>=o&&!p.endsWith("\n")&&(n=!0),e.scroll.insertAt(t,p);var f=e.scroll.line(t),v=r(f,2),m=v[0],y=v[1],w=(0,g.default)({},(0,d.bubbleFormats)(m));if(m instanceof h.default){var b=m.descendant(l.default.Leaf,y),_=r(b,1)[0];w=(0,g.default)(w,(0,d.bubbleFormats)(_))}u=s.default.attributes.diff(w,u)||{}}else if("object"===a(i.insert)){var x=Object.keys(i.insert)[0];if(null==x)return t;e.scroll.insertAt(t,x,i.insert[x])}o+=c}return Object.keys(u).forEach((function(n){e.scroll.formatAt(t,c,n,u[n])})),t+c}),0),t.reduce((function(t,n){return"number"==typeof n.delete?(e.scroll.deleteAt(t,n.delete),t):t+(n.retain||n.insert.length||1)}),0),this.scroll.batchEnd(),this.update(t)}},{key:"deleteText",value:function(t,e){return this.scroll.deleteAt(t,e),this.update((new i.default).retain(t).delete(e))}},{key:"formatLine",value:function(t,e){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(a).forEach((function(r){if(null==n.scroll.whitelist||n.scroll.whitelist[r]){var o=n.scroll.lines(t,Math.max(e,1)),i=e;o.forEach((function(e){var o=e.length();if(e instanceof c.default){var s=t-e.offset(n.scroll),l=e.newlineIndex(s+i)-s+1;e.formatAt(s,l,r,a[r])}else e.format(r,a[r]);i-=o}))}})),this.scroll.optimize(),this.update((new i.default).retain(t).retain(e,(0,f.default)(a)))}},{key:"formatText",value:function(t,e){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(a).forEach((function(r){n.scroll.formatAt(t,e,r,a[r])})),this.update((new i.default).retain(t).retain(e,(0,f.default)(a)))}},{key:"getContents",value:function(t,e){return this.delta.slice(t,t+e)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(t,e){return t.concat(e.delta())}),new i.default)}},{key:"getFormat",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],a=[];0===e?this.scroll.path(t).forEach((function(t){var e=r(t,1)[0];e instanceof h.default?n.push(e):e instanceof l.default.Leaf&&a.push(e)})):(n=this.scroll.lines(t,e),a=this.scroll.descendants(l.default.Leaf,t,e));var o=[n,a].map((function(t){if(0===t.length)return{};for(var e=(0,d.bubbleFormats)(t.shift());Object.keys(e).length>0;){var n=t.shift();if(null==n)return e;e=b((0,d.bubbleFormats)(n),e)}return e}));return g.default.apply(g.default,o)}},{key:"getText",value:function(t,e){return this.getContents(t,e).filter((function(t){return"string"==typeof t.insert})).map((function(t){return t.insert})).join("")}},{key:"insertEmbed",value:function(t,e,n){return this.scroll.insertAt(t,e,n),this.update((new i.default).retain(t).insert(function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},e,n)))}},{key:"insertText",value:function(t,e){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(t,e),Object.keys(a).forEach((function(r){n.scroll.formatAt(t,e.length,r,a[r])})),this.update((new i.default).retain(t).insert(e,(0,f.default)(a)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var t=this.scroll.children.head;return t.statics.blotName===h.default.blotName&&!(t.children.length>1)&&t.children.head instanceof p.default}},{key:"removeFormat",value:function(t,e){var n=this.getText(t,e),a=this.scroll.line(t+e),o=r(a,2),s=o[0],l=o[1],u=0,d=new i.default;null!=s&&(u=s instanceof c.default?s.newlineIndex(l)-l+1:s.length()-l,d=s.delta().slice(l,l+u-1).insert("\n"));var h=this.getContents(t,e+u).diff((new i.default).insert(n).concat(d)),p=(new i.default).retain(t).concat(h);return this.applyDelta(p)}},{key:"update",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,a=this.delta;if(1===e.length&&"characterData"===e[0].type&&e[0].target.data.match(y)&&l.default.find(e[0].target)){var r=l.default.find(e[0].target),o=(0,d.bubbleFormats)(r),s=r.offset(this.scroll),c=e[0].oldValue.replace(u.default.CONTENTS,""),h=(new i.default).insert(c),p=(new i.default).insert(r.value()),f=(new i.default).retain(s).concat(h.diff(p,n));t=f.reduce((function(t,e){return e.insert?t.insert(e.insert,o):t.push(e)}),new i.default),this.delta=a.compose(t)}else this.delta=this.getDelta(),t&&(0,v.default)(a.compose(t),this.delta)||(t=a.diff(this.delta,n));return t}}]),t}();function b(t,e){return Object.keys(e).reduce((function(n,a){return null==t[a]||(e[a]===t[a]?n[a]=e[a]:Array.isArray(e[a])?e[a].indexOf(t[a])<0&&(n[a]=e[a].concat([t[a]])):n[a]=[e[a],t[a]]),n}),{})}e.default=w},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Range=void 0;var a=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],a=!0,r=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(a=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);a=!0);}catch(t){r=!0,o=t}finally{try{!a&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=c(n(0)),i=c(n(21)),s=c(n(11)),l=c(n(8));function c(t){return t&&t.__esModule?t:{default:t}}function u(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var h=(0,c(n(10)).default)("quill:selection"),p=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;d(this,t),this.index=e,this.length=n},f=function(){function t(e,n){var a=this;d(this,t),this.emitter=n,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=o.default.create("cursor",this),this.lastRange=this.savedRange=new p(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){a.mouseDown||setTimeout(a.update.bind(a,l.default.sources.USER),1)})),this.emitter.on(l.default.events.EDITOR_CHANGE,(function(t,e){t===l.default.events.TEXT_CHANGE&&e.length()>0&&a.update(l.default.sources.SILENT)})),this.emitter.on(l.default.events.SCROLL_BEFORE_UPDATE,(function(){if(a.hasFocus()){var t=a.getNativeRange();null!=t&&t.start.node!==a.cursor.textNode&&a.emitter.once(l.default.events.SCROLL_UPDATE,(function(){try{a.setNativeRange(t.start.node,t.start.offset,t.end.node,t.end.offset)}catch(t){}}))}})),this.emitter.on(l.default.events.SCROLL_OPTIMIZE,(function(t,e){if(e.range){var n=e.range,r=n.startNode,o=n.startOffset,i=n.endNode,s=n.endOffset;a.setNativeRange(r,o,i,s)}})),this.update(l.default.sources.SILENT)}return r(t,[{key:"handleComposition",value:function(){var t=this;this.root.addEventListener("compositionstart",(function(){t.composing=!0})),this.root.addEventListener("compositionend",(function(){if(t.composing=!1,t.cursor.parent){var e=t.cursor.restore();if(!e)return;setTimeout((function(){t.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var t=this;this.emitter.listenDOM("mousedown",document.body,(function(){t.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){t.mouseDown=!1,t.update(l.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(t,e){if(null==this.scroll.whitelist||this.scroll.whitelist[t]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!o.default.query(t,o.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var a=o.default.find(n.start.node,!1);if(null==a)return;if(a instanceof o.default.Leaf){var r=a.split(n.start.offset);a.parent.insertBefore(this.cursor,r)}else a.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(t,e),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();t=Math.min(t,n-1),e=Math.min(t+e,n-1)-t;var r=void 0,o=this.scroll.leaf(t),i=a(o,2),s=i[0],l=i[1];if(null==s)return null;var c=s.position(l,!0),u=a(c,2);r=u[0],l=u[1];var d=document.createRange();if(e>0){d.setStart(r,l);var h=this.scroll.leaf(t+e),p=a(h,2);if(s=p[0],l=p[1],null==s)return null;var f=s.position(l,!0),v=a(f,2);return r=v[0],l=v[1],d.setEnd(r,l),d.getBoundingClientRect()}var g="left",m=void 0;return r instanceof Text?(l<r.data.length?(d.setStart(r,l),d.setEnd(r,l+1)):(d.setStart(r,l-1),d.setEnd(r,l),g="right"),m=d.getBoundingClientRect()):(m=s.domNode.getBoundingClientRect(),l>0&&(g="right")),{bottom:m.top+m.height,height:m.height,left:m[g],right:m[g],top:m.top,width:0}}},{key:"getNativeRange",value:function(){var t=document.getSelection();if(null==t||t.rangeCount<=0)return null;var e=t.getRangeAt(0);if(null==e)return null;var n=this.normalizeNative(e);return h.info("getNativeRange",n),n}},{key:"getRange",value:function(){var t=this.getNativeRange();return null==t?[null,null]:[this.normalizedToRange(t),t]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(t){var e=this,n=[[t.start.node,t.start.offset]];t.native.collapsed||n.push([t.end.node,t.end.offset]);var r=n.map((function(t){var n=a(t,2),r=n[0],i=n[1],s=o.default.find(r,!0),l=s.offset(e.scroll);return 0===i?l:s instanceof o.default.Container?l+s.length():l+s.index(r,i)})),i=Math.min(Math.max.apply(Math,u(r)),this.scroll.length()-1),s=Math.min.apply(Math,[i].concat(u(r)));return new p(s,i-s)}},{key:"normalizeNative",value:function(t){if(!v(this.root,t.startContainer)||!t.collapsed&&!v(this.root,t.endContainer))return null;var e={start:{node:t.startContainer,offset:t.startOffset},end:{node:t.endContainer,offset:t.endOffset},native:t};return[e.start,e.end].forEach((function(t){for(var e=t.node,n=t.offset;!(e instanceof Text)&&e.childNodes.length>0;)if(e.childNodes.length>n)e=e.childNodes[n],n=0;else{if(e.childNodes.length!==n)break;n=(e=e.lastChild)instanceof Text?e.data.length:e.childNodes.length+1}t.node=e,t.offset=n})),e}},{key:"rangeToNative",value:function(t){var e=this,n=t.collapsed?[t.index]:[t.index,t.index+t.length],r=[],o=this.scroll.length();return n.forEach((function(t,n){t=Math.min(o-1,t);var i,s=e.scroll.leaf(t),l=a(s,2),c=l[0],u=l[1],d=c.position(u,0!==n),h=a(d,2);i=h[0],u=h[1],r.push(i,u)})),r.length<2&&(r=r.concat(r)),r}},{key:"scrollIntoView",value:function(t){var e=this.lastRange;if(null!=e){var n=this.getBounds(e.index,e.length);if(null!=n){var r=this.scroll.length()-1,o=this.scroll.line(Math.min(e.index,r)),i=a(o,1)[0],s=i;if(e.length>0){var l=this.scroll.line(Math.min(e.index+e.length,r));s=a(l,1)[0]}if(null!=i&&null!=s){var c=t.getBoundingClientRect();n.top<c.top?t.scrollTop-=c.top-n.top:n.bottom>c.bottom&&(t.scrollTop+=n.bottom-c.bottom)}}}}},{key:"setNativeRange",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(h.info("setNativeRange",t,e,n,a),null==t||null!=this.root.parentNode&&null!=t.parentNode&&null!=n.parentNode){var o=document.getSelection();if(null!=o)if(null!=t){this.hasFocus()||this.root.focus();var i=(this.getNativeRange()||{}).native;if(null==i||r||t!==i.startContainer||e!==i.startOffset||n!==i.endContainer||a!==i.endOffset){"BR"==t.tagName&&(e=[].indexOf.call(t.parentNode.childNodes,t),t=t.parentNode),"BR"==n.tagName&&(a=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var s=document.createRange();s.setStart(t,e),s.setEnd(n,a),o.removeAllRanges(),o.addRange(s)}}else o.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default.sources.API;if("string"==typeof e&&(n=e,e=!1),h.info("setRange",t),null!=t){var a=this.rangeToNative(t);this.setNativeRange.apply(this,u(a).concat([e]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default.sources.USER,e=this.lastRange,n=this.getRange(),r=a(n,2),o=r[0],c=r[1];if(this.lastRange=o,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,s.default)(e,this.lastRange)){var u;!this.composing&&null!=c&&c.native.collapsed&&c.start.node!==this.cursor.textNode&&this.cursor.restore();var d,h=[l.default.events.SELECTION_CHANGE,(0,i.default)(this.lastRange),(0,i.default)(e),t];(u=this.emitter).emit.apply(u,[l.default.events.EDITOR_CHANGE].concat(h)),t!==l.default.sources.SILENT&&(d=this.emitter).emit.apply(d,h)}}}]),t}();function v(t,e){try{e.parentNode}catch(t){return!1}return e instanceof Text&&(e=e.parentNode),t.contains(e)}e.Range=p,e.default=f},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},i=n(0);function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var c=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"insertInto",value:function(t,n){0===t.children.length?o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertInto",this).call(this,t,n):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),e}(((a=i)&&a.__esModule?a:{default:a}).default.Embed);c.blotName="break",c.tagName="BR",e.default=c},function(t,e,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(44),i=n(30),s=n(1),l=function(t){function e(e){var n=t.call(this,e)||this;return n.build(),n}return r(e,t),e.prototype.appendChild=function(t){this.insertBefore(t)},e.prototype.attach=function(){t.prototype.attach.call(this),this.children.forEach((function(t){t.attach()}))},e.prototype.build=function(){var t=this;this.children=new o.default,[].slice.call(this.domNode.childNodes).reverse().forEach((function(e){try{var n=c(e);t.insertBefore(n,t.children.head||void 0)}catch(t){if(t instanceof s.ParchmentError)return;throw t}}))},e.prototype.deleteAt=function(t,e){if(0===t&&e===this.length())return this.remove();this.children.forEachAt(t,e,(function(t,e,n){t.deleteAt(e,n)}))},e.prototype.descendant=function(t,n){var a=this.children.find(n),r=a[0],o=a[1];return null==t.blotName&&t(r)||null!=t.blotName&&r instanceof t?[r,o]:r instanceof e?r.descendant(t,o):[null,-1]},e.prototype.descendants=function(t,n,a){void 0===n&&(n=0),void 0===a&&(a=Number.MAX_VALUE);var r=[],o=a;return this.children.forEachAt(n,a,(function(n,a,i){(null==t.blotName&&t(n)||null!=t.blotName&&n instanceof t)&&r.push(n),n instanceof e&&(r=r.concat(n.descendants(t,a,o))),o-=i})),r},e.prototype.detach=function(){this.children.forEach((function(t){t.detach()})),t.prototype.detach.call(this)},e.prototype.formatAt=function(t,e,n,a){this.children.forEachAt(t,e,(function(t,e,r){t.formatAt(e,r,n,a)}))},e.prototype.insertAt=function(t,e,n){var a=this.children.find(t),r=a[0],o=a[1];if(r)r.insertAt(o,e,n);else{var i=null==n?s.create("text",e):s.create(e,n);this.appendChild(i)}},e.prototype.insertBefore=function(t,e){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some((function(e){return t instanceof e})))throw new s.ParchmentError("Cannot insert "+t.statics.blotName+" into "+this.statics.blotName);t.insertInto(this,e)},e.prototype.length=function(){return this.children.reduce((function(t,e){return t+e.length()}),0)},e.prototype.moveChildren=function(t,e){this.children.forEach((function(n){t.insertBefore(n,e)}))},e.prototype.optimize=function(e){if(t.prototype.optimize.call(this,e),0===this.children.length)if(null!=this.statics.defaultChild){var n=s.create(this.statics.defaultChild);this.appendChild(n),n.optimize(e)}else this.remove()},e.prototype.path=function(t,n){void 0===n&&(n=!1);var a=this.children.find(t,n),r=a[0],o=a[1],i=[[this,t]];return r instanceof e?i.concat(r.path(o,n)):(null!=r&&i.push([r,o]),i)},e.prototype.removeChild=function(t){this.children.remove(t)},e.prototype.replace=function(n){n instanceof e&&n.moveChildren(this),t.prototype.replace.call(this,n)},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(t,this.length(),(function(t,a,r){t=t.split(a,e),n.appendChild(t)})),n},e.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},e.prototype.update=function(t,e){var n=this,a=[],r=[];t.forEach((function(t){t.target===n.domNode&&"childList"===t.type&&(a.push.apply(a,t.addedNodes),r.push.apply(r,t.removedNodes))})),r.forEach((function(t){if(!(null!=t.parentNode&&"IFRAME"!==t.tagName&&document.body.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var e=s.find(t);null!=e&&(null!=e.domNode.parentNode&&e.domNode.parentNode!==n.domNode||e.detach())}})),a.filter((function(t){return t.parentNode==n.domNode})).sort((function(t,e){return t===e?0:t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1})).forEach((function(t){var e=null;null!=t.nextSibling&&(e=s.find(t.nextSibling));var a=c(t);a.next==e&&null!=a.next||(null!=a.parent&&a.parent.removeChild(n),n.insertBefore(a,e||void 0))}))},e}(i.default);function c(t){var e=s.find(t);if(null==e)try{e=s.create(t)}catch(n){e=s.create(s.Scope.INLINE),[].slice.call(t.childNodes).forEach((function(t){e.domNode.appendChild(t)})),t.parentNode&&t.parentNode.replaceChild(e.domNode,t),e.attach()}return e}e.default=l},function(t,e,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(12),i=n(31),s=n(17),l=n(1),c=function(t){function e(e){var n=t.call(this,e)||this;return n.attributes=new i.default(n.domNode),n}return r(e,t),e.formats=function(t){return"string"==typeof this.tagName||(Array.isArray(this.tagName)?t.tagName.toLowerCase():void 0)},e.prototype.format=function(t,e){var n=l.query(t);n instanceof o.default?this.attributes.attribute(n,e):e&&(null==n||t===this.statics.blotName&&this.formats()[t]===e||this.replaceWith(t,e))},e.prototype.formats=function(){var t=this.attributes.values(),e=this.statics.formats(this.domNode);return null!=e&&(t[this.statics.blotName]=e),t},e.prototype.replaceWith=function(e,n){var a=t.prototype.replaceWith.call(this,e,n);return this.attributes.copy(a),a},e.prototype.update=function(e,n){var a=this;t.prototype.update.call(this,e,n),e.some((function(t){return t.target===a.domNode&&"attributes"===t.type}))&&this.attributes.build()},e.prototype.wrap=function(n,a){var r=t.prototype.wrap.call(this,n,a);return r instanceof e&&r.statics.scope===this.statics.scope&&this.attributes.move(r),r},e}(s.default);e.default=c},function(t,e,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(30),i=n(1),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.value=function(t){return!0},e.prototype.index=function(t,e){return this.domNode===t||this.domNode.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(e,1):-1},e.prototype.position=function(t,e){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return t>0&&(n+=1),[this.parent.domNode,n]},e.prototype.value=function(){var t;return(t={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,t},e.scope=i.Scope.INLINE_BLOT,e}(o.default);e.default=s},function(t,e,n){var a=n(11),r=n(3),o={attributes:{compose:function(t,e,n){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});var a=r(!0,{},e);for(var o in n||(a=Object.keys(a).reduce((function(t,e){return null!=a[e]&&(t[e]=a[e]),t}),{})),t)void 0!==t[o]&&void 0===e[o]&&(a[o]=t[o]);return Object.keys(a).length>0?a:void 0},diff:function(t,e){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});var n=Object.keys(t).concat(Object.keys(e)).reduce((function(n,r){return a(t[r],e[r])||(n[r]=void 0===e[r]?null:e[r]),n}),{});return Object.keys(n).length>0?n:void 0},transform:function(t,e,n){if("object"!=typeof t)return e;if("object"==typeof e){if(!n)return e;var a=Object.keys(e).reduce((function(n,a){return void 0===t[a]&&(n[a]=e[a]),n}),{});return Object.keys(a).length>0?a:void 0}}},iterator:function(t){return new i(t)},length:function(t){return"number"==typeof t.delete?t.delete:"number"==typeof t.retain?t.retain:"string"==typeof t.insert?t.insert.length:1}};function i(t){this.ops=t,this.index=0,this.offset=0}i.prototype.hasNext=function(){return this.peekLength()<1/0},i.prototype.next=function(t){t||(t=1/0);var e=this.ops[this.index];if(e){var n=this.offset,a=o.length(e);if(t>=a-n?(t=a-n,this.index+=1,this.offset=0):this.offset+=t,"number"==typeof e.delete)return{delete:t};var r={};return e.attributes&&(r.attributes=e.attributes),"number"==typeof e.retain?r.retain=t:"string"==typeof e.insert?r.insert=e.insert.substr(n,t):r.insert=e.insert,r}return{retain:1/0}},i.prototype.peek=function(){return this.ops[this.index]},i.prototype.peekLength=function(){return this.ops[this.index]?o.length(this.ops[this.index])-this.offset:1/0},i.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},i.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var t=this.offset,e=this.index,n=this.next(),a=this.ops.slice(this.index);return this.offset=t,this.index=e,[n].concat(a)}return[]},t.exports=o},function(t,e){var n=function(){function t(t,e){return null!=e&&t instanceof e}var e,n,a;try{e=Map}catch(t){e=function(){}}try{n=Set}catch(t){n=function(){}}try{a=Promise}catch(t){a=function(){}}function r(o,s,l,c,u){"object"==typeof s&&(l=s.depth,c=s.prototype,u=s.includeNonEnumerable,s=s.circular);var d=[],h=[];return void 0===s&&(s=!0),void 0===l&&(l=1/0),function o(l,p){if(null===l)return null;if(0===p)return l;var f,v;if("object"!=typeof l)return l;if(t(l,e))f=new e;else if(t(l,n))f=new n;else if(t(l,a))f=new a((function(t,e){l.then((function(e){t(o(e,p-1))}),(function(t){e(o(t,p-1))}))}));else if(r.__isArray(l))f=[];else if(r.__isRegExp(l))f=new RegExp(l.source,i(l)),l.lastIndex&&(f.lastIndex=l.lastIndex);else if(r.__isDate(l))f=new Date(l.getTime());else{if(wn.isBuffer(l))return f=wn.allocUnsafe?wn.allocUnsafe(l.length):new wn(l.length),l.copy(f),f;t(l,Error)?f=Object.create(l):void 0===c?(v=Object.getPrototypeOf(l),f=Object.create(v)):(f=Object.create(c),v=c)}if(s){var g=d.indexOf(l);if(-1!=g)return h[g];d.push(l),h.push(f)}for(var m in t(l,e)&&l.forEach((function(t,e){var n=o(e,p-1),a=o(t,p-1);f.set(n,a)})),t(l,n)&&l.forEach((function(t){var e=o(t,p-1);f.add(e)})),l){var y;v&&(y=Object.getOwnPropertyDescriptor(v,m)),y&&null==y.set||(f[m]=o(l[m],p-1))}if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(l);for(m=0;m<w.length;m++){var b=w[m];(!(x=Object.getOwnPropertyDescriptor(l,b))||x.enumerable||u)&&(f[b]=o(l[b],p-1),x.enumerable||Object.defineProperty(f,b,{enumerable:!1}))}}if(u){var _=Object.getOwnPropertyNames(l);for(m=0;m<_.length;m++){var x,M=_[m];(x=Object.getOwnPropertyDescriptor(l,M))&&x.enumerable||(f[M]=o(l[M],p-1),Object.defineProperty(f,M,{enumerable:!1}))}}return f}(o,l)}function o(t){return Object.prototype.toString.call(t)}function i(t){var e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),e}return r.clonePrototype=function(t){if(null===t)return null;var e=function(){};return e.prototype=t,new e},r.__objToStr=o,r.__isDate=function(t){return"object"==typeof t&&"[object Date]"===o(t)},r.__isArray=function(t){return"object"==typeof t&&"[object Array]"===o(t)},r.__isRegExp=function(t){return"object"==typeof t&&"[object RegExp]"===o(t)},r.__getRegExpFlags=i,r}();"object"==typeof t&&t.exports&&(t.exports=n)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],a=!0,r=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(a=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);a=!0);}catch(t){r=!0,o=t}finally{try{!a&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},i=p(n(0)),s=p(n(8)),l=n(4),c=p(l),u=p(n(16)),d=p(n(13)),h=p(n(25));function p(t){return t&&t.__esModule?t:{default:t}}function f(t){return t instanceof c.default||t instanceof l.BlockEmbed}var v=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var a=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return a.emitter=n.emitter,Array.isArray(n.whitelist)&&(a.whitelist=n.whitelist.reduce((function(t,e){return t[e]=!0,t}),{})),a.domNode.addEventListener("DOMNodeInserted",(function(){})),a.optimize(),a.enable(),a}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(t,n){var r=this.line(t),i=a(r,2),s=i[0],c=i[1],h=this.line(t+n),p=a(h,1)[0];if(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,n),null!=p&&s!==p&&c>0){if(s instanceof l.BlockEmbed||p instanceof l.BlockEmbed)return void this.optimize();if(s instanceof d.default){var f=s.newlineIndex(s.length(),!0);if(f>-1&&(s=s.split(f+1))===p)return void this.optimize()}else if(p instanceof d.default){var v=p.newlineIndex(0);v>-1&&p.split(v+1)}var g=p.children.head instanceof u.default?null:p.children.head;s.moveChildren(p,g),s.remove()}this.optimize()}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",t)}},{key:"formatAt",value:function(t,n,a,r){(null==this.whitelist||this.whitelist[a])&&(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,a,r),this.optimize())}},{key:"insertAt",value:function(t,n,a){if(null==a||null==this.whitelist||this.whitelist[n]){if(t>=this.length())if(null==a||null==i.default.query(n,i.default.Scope.BLOCK)){var r=i.default.create(this.statics.defaultChild);this.appendChild(r),null==a&&n.endsWith("\n")&&(n=n.slice(0,-1)),r.insertAt(0,n,a)}else{var s=i.default.create(n,a);this.appendChild(s)}else o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,a);this.optimize()}}},{key:"insertBefore",value:function(t,n){if(t.statics.scope===i.default.Scope.INLINE_BLOT){var a=i.default.create(this.statics.defaultChild);a.appendChild(t),t=a}o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n)}},{key:"leaf",value:function(t){return this.path(t).pop()||[null,-1]}},{key:"line",value:function(t){return t===this.length()?this.line(t-1):this.descendant(f,t)}},{key:"lines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=function t(e,n,a){var r=[],o=a;return e.children.forEachAt(n,a,(function(e,n,a){f(e)?r.push(e):e instanceof i.default.Container&&(r=r.concat(t(e,n,o))),o-=a})),r};return n(this,t,e)}},{key:"optimize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t,n),t.length>0&&this.emitter.emit(s.default.events.SCROLL_OPTIMIZE,t,n))}},{key:"path",value:function(t){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t).slice(1)}},{key:"update",value:function(t){if(!0!==this.batch){var n=s.default.sources.USER;"string"==typeof t&&(n=t),Array.isArray(t)||(t=this.observer.takeRecords()),t.length>0&&this.emitter.emit(s.default.events.SCROLL_BEFORE_UPDATE,n,t),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"update",this).call(this,t.concat([])),t.length>0&&this.emitter.emit(s.default.events.SCROLL_UPDATE,n,t)}}}]),e}(i.default.Scroll);v.blotName="scroll",v.className="ql-editor",v.tagName="DIV",v.defaultChild="block",v.allowedChildren=[c.default,l.BlockEmbed,h.default],e.default=v},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.SHORTKEY=e.default=void 0;var a="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},r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],a=!0,r=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(a=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);a=!0);}catch(t){r=!0,o=t}finally{try{!a&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),i=v(n(21)),s=v(n(11)),l=v(n(3)),c=v(n(2)),u=v(n(20)),d=v(n(0)),h=v(n(5)),p=v(n(10)),f=v(n(9));function v(t){return t&&t.__esModule?t:{default:t}}function g(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var m=(0,p.default)("quill:keyboard"),y=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",w=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var a=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.bindings={},Object.keys(a.options.bindings).forEach((function(e){("list autofill"!==e||null==t.scroll.whitelist||t.scroll.whitelist.list)&&a.options.bindings[e]&&a.addBinding(a.options.bindings[e])})),a.addBinding({key:e.keys.ENTER,shiftKey:null},C),a.addBinding({key:e.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},(function(){})),/Firefox/i.test(navigator.userAgent)?(a.addBinding({key:e.keys.BACKSPACE},{collapsed:!0},_),a.addBinding({key:e.keys.DELETE},{collapsed:!0},x)):(a.addBinding({key:e.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},_),a.addBinding({key:e.keys.DELETE},{collapsed:!0,suffix:/^.?$/},x)),a.addBinding({key:e.keys.BACKSPACE},{collapsed:!1},M),a.addBinding({key:e.keys.DELETE},{collapsed:!1},M),a.addBinding({key:e.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},_),a.listen(),a}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,null,[{key:"match",value:function(t,e){return e=k(e),!["altKey","ctrlKey","metaKey","shiftKey"].some((function(n){return!!e[n]!==t[n]&&null!==e[n]}))&&e.key===(t.which||t.keyCode)}}]),o(e,[{key:"addBinding",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=k(t);if(null==a||null==a.key)return m.warn("Attempted to add invalid keyboard binding",a);"function"==typeof e&&(e={handler:e}),"function"==typeof n&&(n={handler:n}),a=(0,l.default)(a,e,n),this.bindings[a.key]=this.bindings[a.key]||[],this.bindings[a.key].push(a)}},{key:"listen",value:function(){var t=this;this.quill.root.addEventListener("keydown",(function(n){if(!n.defaultPrevented){var o=n.which||n.keyCode,i=(t.bindings[o]||[]).filter((function(t){return e.match(n,t)}));if(0!==i.length){var l=t.quill.getSelection();if(null!=l&&t.quill.hasFocus()){var c=t.quill.getLine(l.index),u=r(c,2),h=u[0],p=u[1],f=t.quill.getLeaf(l.index),v=r(f,2),g=v[0],m=v[1],y=0===l.length?[g,m]:t.quill.getLeaf(l.index+l.length),w=r(y,2),b=w[0],_=w[1],x=g instanceof d.default.Text?g.value().slice(0,m):"",M=b instanceof d.default.Text?b.value().slice(_):"",C={collapsed:0===l.length,empty:0===l.length&&h.length()<=1,format:t.quill.getFormat(l),offset:p,prefix:x,suffix:M},P=i.some((function(e){if(null!=e.collapsed&&e.collapsed!==C.collapsed)return!1;if(null!=e.empty&&e.empty!==C.empty)return!1;if(null!=e.offset&&e.offset!==C.offset)return!1;if(Array.isArray(e.format)){if(e.format.every((function(t){return null==C.format[t]})))return!1}else if("object"===a(e.format)&&!Object.keys(e.format).every((function(t){return!0===e.format[t]?null!=C.format[t]:!1===e.format[t]?null==C.format[t]:(0,s.default)(e.format[t],C.format[t])})))return!1;return!(null!=e.prefix&&!e.prefix.test(C.prefix)||null!=e.suffix&&!e.suffix.test(C.suffix)||!0===e.handler.call(t,l,C))}));P&&n.preventDefault()}}}}))}}]),e}(f.default);function b(t,e){var n,a=t===w.keys.LEFT?"prefix":"suffix";return g(n={key:t,shiftKey:e,altKey:null},a,/^$/),g(n,"handler",(function(n){var a=n.index;t===w.keys.RIGHT&&(a+=n.length+1);var o=this.quill.getLeaf(a);return!(r(o,1)[0]instanceof d.default.Embed&&(t===w.keys.LEFT?e?this.quill.setSelection(n.index-1,n.length+1,h.default.sources.USER):this.quill.setSelection(n.index-1,h.default.sources.USER):e?this.quill.setSelection(n.index,n.length+1,h.default.sources.USER):this.quill.setSelection(n.index+n.length+1,h.default.sources.USER),1))})),n}function _(t,e){if(!(0===t.index||this.quill.getLength()<=1)){var n=this.quill.getLine(t.index),a=r(n,1)[0],o={};if(0===e.offset){var i=this.quill.getLine(t.index-1),s=r(i,1)[0];if(null!=s&&s.length()>1){var l=a.formats(),c=this.quill.getFormat(t.index-1,1);o=u.default.attributes.diff(l,c)||{}}}var d=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(e.prefix)?2:1;this.quill.deleteText(t.index-d,d,h.default.sources.USER),Object.keys(o).length>0&&this.quill.formatLine(t.index-d,d,o,h.default.sources.USER),this.quill.focus()}}function x(t,e){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(e.suffix)?2:1;if(!(t.index>=this.quill.getLength()-n)){var a={},o=0,i=this.quill.getLine(t.index),s=r(i,1)[0];if(e.offset>=s.length()-1){var l=this.quill.getLine(t.index+1),c=r(l,1)[0];if(c){var d=s.formats(),p=this.quill.getFormat(t.index,1);a=u.default.attributes.diff(d,p)||{},o=c.length()}}this.quill.deleteText(t.index,n,h.default.sources.USER),Object.keys(a).length>0&&this.quill.formatLine(t.index+o-1,n,a,h.default.sources.USER)}}function M(t){var e=this.quill.getLines(t),n={};if(e.length>1){var a=e[0].formats(),r=e[e.length-1].formats();n=u.default.attributes.diff(r,a)||{}}this.quill.deleteText(t,h.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(t.index,1,n,h.default.sources.USER),this.quill.setSelection(t.index,h.default.sources.SILENT),this.quill.focus()}function C(t,e){var n=this;t.length>0&&this.quill.scroll.deleteAt(t.index,t.length);var a=Object.keys(e.format).reduce((function(t,n){return d.default.query(n,d.default.Scope.BLOCK)&&!Array.isArray(e.format[n])&&(t[n]=e.format[n]),t}),{});this.quill.insertText(t.index,"\n",a,h.default.sources.USER),this.quill.setSelection(t.index+1,h.default.sources.SILENT),this.quill.focus(),Object.keys(e.format).forEach((function(t){null==a[t]&&(Array.isArray(e.format[t])||"link"!==t&&n.quill.format(t,e.format[t],h.default.sources.USER))}))}function P(t){return{key:w.keys.TAB,shiftKey:!t,format:{"code-block":!0},handler:function(e){var n=d.default.query("code-block"),a=e.index,o=e.length,i=this.quill.scroll.descendant(n,a),s=r(i,2),l=s[0],c=s[1];if(null!=l){var u=this.quill.getIndex(l),p=l.newlineIndex(c,!0)+1,f=l.newlineIndex(u+c+o),v=l.domNode.textContent.slice(p,f).split("\n");c=0,v.forEach((function(e,r){t?(l.insertAt(p+c,n.TAB),c+=n.TAB.length,0===r?a+=n.TAB.length:o+=n.TAB.length):e.startsWith(n.TAB)&&(l.deleteAt(p+c,n.TAB.length),c-=n.TAB.length,0===r?a-=n.TAB.length:o-=n.TAB.length),c+=e.length+1})),this.quill.update(h.default.sources.USER),this.quill.setSelection(a,o,h.default.sources.SILENT)}}}}function A(t){return{key:t[0].toUpperCase(),shortKey:!0,handler:function(e,n){this.quill.format(t,!n.format[t],h.default.sources.USER)}}}function k(t){if("string"==typeof t||"number"==typeof t)return k({key:t});if("object"===(void 0===t?"undefined":a(t))&&(t=(0,i.default)(t,!1)),"string"==typeof t.key)if(null!=w.keys[t.key.toUpperCase()])t.key=w.keys[t.key.toUpperCase()];else{if(1!==t.key.length)return null;t.key=t.key.toUpperCase().charCodeAt(0)}return t.shortKey&&(t[y]=t.shortKey,delete t.shortKey),t}w.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},w.DEFAULTS={bindings:{bold:A("bold"),italic:A("italic"),underline:A("underline"),indent:{key:w.keys.TAB,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","+1",h.default.sources.USER)}},outdent:{key:w.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","-1",h.default.sources.USER)}},"outdent backspace":{key:w.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(t,e){null!=e.format.indent?this.quill.format("indent","-1",h.default.sources.USER):null!=e.format.list&&this.quill.format("list",!1,h.default.sources.USER)}},"indent code-block":P(!0),"outdent code-block":P(!1),"remove tab":{key:w.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(t){this.quill.deleteText(t.index-1,1,h.default.sources.USER)}},tab:{key:w.keys.TAB,handler:function(t){this.quill.history.cutoff();var e=(new c.default).retain(t.index).delete(t.length).insert("\t");this.quill.updateContents(e,h.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index+1,h.default.sources.SILENT)}},"list empty enter":{key:w.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(t,e){this.quill.format("list",!1,h.default.sources.USER),e.format.indent&&this.quill.format("indent",!1,h.default.sources.USER)}},"checklist enter":{key:w.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(t){var e=this.quill.getLine(t.index),n=r(e,2),a=n[0],o=n[1],i=(0,l.default)({},a.formats(),{list:"checked"}),s=(new c.default).retain(t.index).insert("\n",i).retain(a.length()-o-1).retain(1,{list:"unchecked"});this.quill.updateContents(s,h.default.sources.USER),this.quill.setSelection(t.index+1,h.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:w.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(t,e){var n=this.quill.getLine(t.index),a=r(n,2),o=a[0],i=a[1],s=(new c.default).retain(t.index).insert("\n",e.format).retain(o.length()-i-1).retain(1,{header:null});this.quill.updateContents(s,h.default.sources.USER),this.quill.setSelection(t.index+1,h.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(t,e){var n=e.prefix.length,a=this.quill.getLine(t.index),o=r(a,2),i=o[0],s=o[1];if(s>n)return!0;var l=void 0;switch(e.prefix.trim()){case"[]":case"[ ]":l="unchecked";break;case"[x]":l="checked";break;case"-":case"*":l="bullet";break;default:l="ordered"}this.quill.insertText(t.index," ",h.default.sources.USER),this.quill.history.cutoff();var u=(new c.default).retain(t.index-s).delete(n+1).retain(i.length()-2-s).retain(1,{list:l});this.quill.updateContents(u,h.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index-n,h.default.sources.SILENT)}},"code exit":{key:w.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(t){var e=this.quill.getLine(t.index),n=r(e,2),a=n[0],o=n[1],i=(new c.default).retain(t.index+a.length()-o-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(i,h.default.sources.USER)}},"embed left":b(w.keys.LEFT,!1),"embed left shift":b(w.keys.LEFT,!0),"embed right":b(w.keys.RIGHT,!1),"embed right shift":b(w.keys.RIGHT,!0)}},e.default=w,e.SHORTKEY=y},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],a=!0,r=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(a=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);a=!0);}catch(t){r=!0,o=t}finally{try{!a&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),i=l(n(0)),s=l(n(7));function l(t){return t&&t.__esModule?t:{default:t}}var c=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var a=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return a.selection=n,a.textNode=document.createTextNode(e.CONTENTS),a.domNode.appendChild(a.textNode),a._length=0,a}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,null,[{key:"value",value:function(){}}]),o(e,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(t,n){if(0!==this._length)return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n);for(var a=this,o=0;null!=a&&a.statics.scope!==i.default.Scope.BLOCK_BLOT;)o+=a.offset(a.parent),a=a.parent;null!=a&&(this._length=e.CONTENTS.length,a.optimize(),a.formatAt(o,e.CONTENTS.length,t,n),this._length=0)}},{key:"index",value:function(t,n){return t===this.textNode?0:r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,n)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var t=this.textNode,n=this.selection.getNativeRange(),r=void 0,o=void 0,l=void 0;if(null!=n&&n.start.node===t&&n.end.node===t){var c=[t,n.start.offset,n.end.offset];r=c[0],o=c[1],l=c[2]}for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==e.CONTENTS){var u=this.textNode.data.split(e.CONTENTS).join("");this.next instanceof s.default?(r=this.next.domNode,this.next.insertAt(0,u),this.textNode.data=e.CONTENTS):(this.textNode.data=u,this.parent.insertBefore(i.default.create(this.textNode),this),this.textNode=document.createTextNode(e.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=o){var d=[o,l].map((function(t){return Math.max(0,Math.min(r.data.length,t-1))})),h=a(d,2);return o=h[0],l=h[1],{startNode:r,startOffset:o,endNode:r,endOffset:l}}}}},{key:"update",value:function(t,e){var n=this;if(t.some((function(t){return"characterData"===t.type&&t.target===n.textNode}))){var a=this.restore();a&&(e.range=a)}}},{key:"value",value:function(){return""}}]),e}(i.default.Embed);c.blotName="cursor",c.className="ql-cursor",c.tagName="span",c.CONTENTS="\ufeff",e.default=c},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=i(n(0)),r=n(4),o=i(r);function i(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var c=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(a.default.Container);c.allowedChildren=[o.default,r.BlockEmbed,c],e.default=c},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.ColorStyle=e.ColorClass=e.ColorAttributor=void 0;var a,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},i=n(0),s=(a=i)&&a.__esModule?a:{default:a};function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var u=function(t){function e(){return l(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"value",value:function(t){var n=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t);return n.startsWith("rgb(")?(n=n.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+n.split(",").map((function(t){return("00"+parseInt(t).toString(16)).slice(-2)})).join("")):n}}]),e}(s.default.Attributor.Style),d=new s.default.Attributor.Class("color","ql-color",{scope:s.default.Scope.INLINE}),h=new u("color","color",{scope:s.default.Scope.INLINE});e.ColorAttributor=u,e.ColorClass=d,e.ColorStyle=h},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.sanitize=e.default=void 0;var a,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},i=n(6);function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var c=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"format",value:function(t,n){if(t!==this.statics.blotName||!n)return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n);n=this.constructor.sanitize(n),this.domNode.setAttribute("href",n)}}],[{key:"create",value:function(t){var n=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return t=this.sanitize(t),n.setAttribute("href",t),n.setAttribute("rel","noopener noreferrer"),n.setAttribute("target","_blank"),n}},{key:"formats",value:function(t){return t.getAttribute("href")}},{key:"sanitize",value:function(t){return u(t,this.PROTOCOL_WHITELIST)?t:this.SANITIZED_URL}}]),e}(((a=i)&&a.__esModule?a:{default:a}).default);function u(t,e){var n=document.createElement("a");n.href=t;var a=n.href.slice(0,n.href.indexOf(":"));return e.indexOf(a)>-1}c.blotName="link",c.tagName="A",c.SANITIZED_URL="about:blank",c.PROTOCOL_WHITELIST=["http","https","mailto","tel"],e.default=c,e.sanitize=u},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a="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},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=s(n(23)),i=s(n(107));function s(t){return t&&t.__esModule?t:{default:t}}var l=0;function c(t,e){t.setAttribute(e,!("true"===t.getAttribute(e)))}var u=function(){function t(e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.select=e,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",(function(){n.togglePicker()})),this.label.addEventListener("keydown",(function(t){switch(t.keyCode){case o.default.keys.ENTER:n.togglePicker();break;case o.default.keys.ESCAPE:n.escape(),t.preventDefault()}})),this.select.addEventListener("change",this.update.bind(this))}return r(t,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),c(this.label,"aria-expanded"),c(this.options,"aria-hidden")}},{key:"buildItem",value:function(t){var e=this,n=document.createElement("span");return n.tabIndex="0",n.setAttribute("role","button"),n.classList.add("ql-picker-item"),t.hasAttribute("value")&&n.setAttribute("data-value",t.getAttribute("value")),t.textContent&&n.setAttribute("data-label",t.textContent),n.addEventListener("click",(function(){e.selectItem(n,!0)})),n.addEventListener("keydown",(function(t){switch(t.keyCode){case o.default.keys.ENTER:e.selectItem(n,!0),t.preventDefault();break;case o.default.keys.ESCAPE:e.escape(),t.preventDefault()}})),n}},{key:"buildLabel",value:function(){var t=document.createElement("span");return t.classList.add("ql-picker-label"),t.innerHTML=i.default,t.tabIndex="0",t.setAttribute("role","button"),t.setAttribute("aria-expanded","false"),this.container.appendChild(t),t}},{key:"buildOptions",value:function(){var t=this,e=document.createElement("span");e.classList.add("ql-picker-options"),e.setAttribute("aria-hidden","true"),e.tabIndex="-1",e.id="ql-picker-options-"+l,l+=1,this.label.setAttribute("aria-controls",e.id),this.options=e,[].slice.call(this.select.options).forEach((function(n){var a=t.buildItem(n);e.appendChild(a),!0===n.selected&&t.selectItem(a)})),this.container.appendChild(e)}},{key:"buildPicker",value:function(){var t=this;[].slice.call(this.select.attributes).forEach((function(e){t.container.setAttribute(e.name,e.value)})),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var t=this;this.close(),setTimeout((function(){return t.label.focus()}),1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(t!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=t&&(t.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(t.parentNode.children,t),t.hasAttribute("data-value")?this.label.setAttribute("data-value",t.getAttribute("data-value")):this.label.removeAttribute("data-value"),t.hasAttribute("data-label")?this.label.setAttribute("data-label",t.getAttribute("data-label")):this.label.removeAttribute("data-label"),e))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"==typeof Event?"undefined":a(Event))){var r=document.createEvent("Event");r.initEvent("change",!0,!0),this.select.dispatchEvent(r)}this.close()}}},{key:"update",value:function(){var t=void 0;if(this.select.selectedIndex>-1){var e=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];t=this.select.options[this.select.selectedIndex],this.selectItem(e)}else this.selectItem(null);var n=null!=t&&t!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),t}();e.default=u},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=m(n(0)),r=m(n(5)),o=n(4),i=m(o),s=m(n(16)),l=m(n(25)),c=m(n(24)),u=m(n(35)),d=m(n(6)),h=m(n(22)),p=m(n(7)),f=m(n(55)),v=m(n(42)),g=m(n(23));function m(t){return t&&t.__esModule?t:{default:t}}r.default.register({"blots/block":i.default,"blots/block/embed":o.BlockEmbed,"blots/break":s.default,"blots/container":l.default,"blots/cursor":c.default,"blots/embed":u.default,"blots/inline":d.default,"blots/scroll":h.default,"blots/text":p.default,"modules/clipboard":f.default,"modules/history":v.default,"modules/keyboard":g.default}),a.default.register(i.default,s.default,c.default,d.default,h.default,p.default),e.default=r.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=n(1),r=function(){function t(t){this.domNode=t,this.domNode[a.DATA_KEY]={blot:this}}return Object.defineProperty(t.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),t.create=function(t){if(null==this.tagName)throw new a.ParchmentError("Blot definition missing tagName");var e;return Array.isArray(this.tagName)?("string"==typeof t&&(t=t.toUpperCase(),parseInt(t).toString()===t&&(t=parseInt(t))),e="number"==typeof t?document.createElement(this.tagName[t-1]):this.tagName.indexOf(t)>-1?document.createElement(t):document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e},t.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},t.prototype.clone=function(){var t=this.domNode.cloneNode(!1);return a.create(t)},t.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[a.DATA_KEY]},t.prototype.deleteAt=function(t,e){this.isolate(t,e).remove()},t.prototype.formatAt=function(t,e,n,r){var o=this.isolate(t,e);if(null!=a.query(n,a.Scope.BLOT)&&r)o.wrap(n,r);else if(null!=a.query(n,a.Scope.ATTRIBUTE)){var i=a.create(this.statics.scope);o.wrap(i),i.format(n,r)}},t.prototype.insertAt=function(t,e,n){var r=null==n?a.create("text",e):a.create(e,n),o=this.split(t);this.parent.insertBefore(r,o)},t.prototype.insertInto=function(t,e){void 0===e&&(e=null),null!=this.parent&&this.parent.children.remove(this);var n=null;t.children.insertBefore(this,e),null!=e&&(n=e.domNode),this.domNode.parentNode==t.domNode&&this.domNode.nextSibling==n||t.domNode.insertBefore(this.domNode,n),this.parent=t,this.attach()},t.prototype.isolate=function(t,e){var n=this.split(t);return n.split(e),n},t.prototype.length=function(){return 1},t.prototype.offset=function(t){return void 0===t&&(t=this.parent),null==this.parent||this==t?0:this.parent.children.offset(this)+this.parent.offset(t)},t.prototype.optimize=function(t){null!=this.domNode[a.DATA_KEY]&&delete this.domNode[a.DATA_KEY].mutations},t.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},t.prototype.replace=function(t){null!=t.parent&&(t.parent.insertBefore(this,t.next),t.remove())},t.prototype.replaceWith=function(t,e){var n="string"==typeof t?a.create(t,e):t;return n.replace(this),n},t.prototype.split=function(t,e){return 0===t?this:this.next},t.prototype.update=function(t,e){},t.prototype.wrap=function(t,e){var n="string"==typeof t?a.create(t,e):t;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},t.blotName="abstract",t}();e.default=r},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=n(12),r=n(32),o=n(33),i=n(1),s=function(){function t(t){this.attributes={},this.domNode=t,this.build()}return t.prototype.attribute=function(t,e){e?t.add(this.domNode,e)&&(null!=t.value(this.domNode)?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])},t.prototype.build=function(){var t=this;this.attributes={};var e=a.default.keys(this.domNode),n=r.default.keys(this.domNode),s=o.default.keys(this.domNode);e.concat(n).concat(s).forEach((function(e){var n=i.query(e,i.Scope.ATTRIBUTE);n instanceof a.default&&(t.attributes[n.attrName]=n)}))},t.prototype.copy=function(t){var e=this;Object.keys(this.attributes).forEach((function(n){var a=e.attributes[n].value(e.domNode);t.format(n,a)}))},t.prototype.move=function(t){var e=this;this.copy(t),Object.keys(this.attributes).forEach((function(t){e.attributes[t].remove(e.domNode)})),this.attributes={}},t.prototype.values=function(){var t=this;return Object.keys(this.attributes).reduce((function(e,n){return e[n]=t.attributes[n].value(t.domNode),e}),{})},t}();e.default=s},function(t,e,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function o(t,e){return(t.getAttribute("class")||"").split(/\s+/).filter((function(t){return 0===t.indexOf(e+"-")}))}Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.keys=function(t){return(t.getAttribute("class")||"").split(/\s+/).map((function(t){return t.split("-").slice(0,-1).join("-")}))},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(this.remove(t),t.classList.add(this.keyName+"-"+e),!0)},e.prototype.remove=function(t){o(t,this.keyName).forEach((function(e){t.classList.remove(e)})),0===t.classList.length&&t.removeAttribute("class")},e.prototype.value=function(t){var e=(o(t,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(t,e)?e:""},e}(n(12).default);e.default=i},function(t,e,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function o(t){var e=t.split("-"),n=e.slice(1).map((function(t){return t[0].toUpperCase()+t.slice(1)})).join("");return e[0]+n}Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.keys=function(t){return(t.getAttribute("style")||"").split(";").map((function(t){return t.split(":")[0].trim()}))},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.style[o(this.keyName)]=e,!0)},e.prototype.remove=function(t){t.style[o(this.keyName)]="",t.getAttribute("style")||t.removeAttribute("style")},e.prototype.value=function(t){var e=t.style[o(this.keyName)];return this.canAdd(t,e)?e:""},e}(n(12).default);e.default=i},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=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.quill=e,this.options=n,this.modules={}}return a(t,[{key:"init",value:function(){var t=this;Object.keys(this.options.modules).forEach((function(e){null==t.modules[e]&&t.addModule(e)}))}},{key:"addModule",value:function(t){var e=this.quill.constructor.import("modules/"+t);return this.modules[t]=new e(this.quill,this.options.modules[t]||{}),this.modules[t]}}]),t}();r.DEFAULTS={modules:{}},r.themes={default:r},e.default=r},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},o=s(n(0)),i=s(n(7));function s(t){return t&&t.__esModule?t:{default:t}}var l="\ufeff",c=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.contentNode=document.createElement("span"),n.contentNode.setAttribute("contenteditable",!1),[].slice.call(n.domNode.childNodes).forEach((function(t){n.contentNode.appendChild(t)})),n.leftGuard=document.createTextNode(l),n.rightGuard=document.createTextNode(l),n.domNode.appendChild(n.leftGuard),n.domNode.appendChild(n.contentNode),n.domNode.appendChild(n.rightGuard),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"index",value:function(t,n){return t===this.leftGuard?0:t===this.rightGuard?1:r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,n)}},{key:"restore",value:function(t){var e=void 0,n=void 0,a=t.data.split(l).join("");if(t===this.leftGuard)if(this.prev instanceof i.default){var r=this.prev.length();this.prev.insertAt(r,a),e={startNode:this.prev.domNode,startOffset:r+a.length}}else n=document.createTextNode(a),this.parent.insertBefore(o.default.create(n),this),e={startNode:n,startOffset:a.length};else t===this.rightGuard&&(this.next instanceof i.default?(this.next.insertAt(0,a),e={startNode:this.next.domNode,startOffset:a.length}):(n=document.createTextNode(a),this.parent.insertBefore(o.default.create(n),this.next),e={startNode:n,startOffset:a.length}));return t.data=l,e}},{key:"update",value:function(t,e){var n=this;t.forEach((function(t){if("characterData"===t.type&&(t.target===n.leftGuard||t.target===n.rightGuard)){var a=n.restore(t.target);a&&(e.range=a)}}))}}]),e}(o.default.Embed);e.default=c},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.AlignStyle=e.AlignClass=e.AlignAttribute=void 0;var a,r=n(0),o=(a=r)&&a.__esModule?a:{default:a},i={scope:o.default.Scope.BLOCK,whitelist:["right","center","justify"]},s=new o.default.Attributor.Attribute("align","align",i),l=new o.default.Attributor.Class("align","ql-align",i),c=new o.default.Attributor.Style("align","text-align",i);e.AlignAttribute=s,e.AlignClass=l,e.AlignStyle=c},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.BackgroundStyle=e.BackgroundClass=void 0;var a,r=n(0),o=(a=r)&&a.__esModule?a:{default:a},i=n(26),s=new o.default.Attributor.Class("background","ql-bg",{scope:o.default.Scope.INLINE}),l=new i.ColorAttributor("background","background-color",{scope:o.default.Scope.INLINE});e.BackgroundClass=s,e.BackgroundStyle=l},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.DirectionStyle=e.DirectionClass=e.DirectionAttribute=void 0;var a,r=n(0),o=(a=r)&&a.__esModule?a:{default:a},i={scope:o.default.Scope.BLOCK,whitelist:["rtl"]},s=new o.default.Attributor.Attribute("direction","dir",i),l=new o.default.Attributor.Class("direction","ql-direction",i),c=new o.default.Attributor.Style("direction","direction",i);e.DirectionAttribute=s,e.DirectionClass=l,e.DirectionStyle=c},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.FontClass=e.FontStyle=void 0;var a,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},i=n(0),s=(a=i)&&a.__esModule?a:{default:a};function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var u={scope:s.default.Scope.INLINE,whitelist:["serif","monospace"]},d=new s.default.Attributor.Class("font","ql-font",u),h=function(t){function e(){return l(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"value",value:function(t){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t).replace(/["']/g,"")}}]),e}(s.default.Attributor.Style),p=new h("font","font-family",u);e.FontStyle=p,e.FontClass=d},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.SizeStyle=e.SizeClass=void 0;var a,r=n(0),o=(a=r)&&a.__esModule?a:{default:a},i=new o.default.Attributor.Class("size","ql-size",{scope:o.default.Scope.INLINE,whitelist:["small","large","huge"]}),s=new o.default.Attributor.Style("size","font-size",{scope:o.default.Scope.INLINE,whitelist:["10px","18px","32px"]});e.SizeClass=i,e.SizeStyle=s},function(t,e,n){t.exports={align:{"":n(76),center:n(77),right:n(78),justify:n(79)},background:n(80),blockquote:n(81),bold:n(82),clean:n(83),code:n(58),"code-block":n(58),color:n(84),direction:{"":n(85),rtl:n(86)},float:{center:n(87),full:n(88),left:n(89),right:n(90)},formula:n(91),header:{1:n(92),2:n(93)},italic:n(94),image:n(95),indent:{"+1":n(96),"-1":n(97)},link:n(98),list:{ordered:n(99),bullet:n(100),check:n(101)},script:{sub:n(102),super:n(103)},strike:n(104),underline:n(105),video:n(106)}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.getLastChangeIndex=e.default=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=i(n(0)),o=i(n(5));function i(t){return t&&t.__esModule?t:{default:t}}var s=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var a=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.lastRecorded=0,a.ignoreChange=!1,a.clear(),a.quill.on(o.default.events.EDITOR_CHANGE,(function(t,e,n,r){t!==o.default.events.TEXT_CHANGE||a.ignoreChange||(a.options.userOnly&&r!==o.default.sources.USER?a.transform(e):a.record(e,n))})),a.quill.keyboard.addBinding({key:"Z",shortKey:!0},a.undo.bind(a)),a.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},a.redo.bind(a)),/Win/i.test(navigator.platform)&&a.quill.keyboard.addBinding({key:"Y",shortKey:!0},a.redo.bind(a)),a}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"change",value:function(t,e){if(0!==this.stack[t].length){var n=this.stack[t].pop();this.stack[e].push(n),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n[t],o.default.sources.USER),this.ignoreChange=!1;var a=l(n[t]);this.quill.setSelection(a)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(t,e){if(0!==t.ops.length){this.stack.redo=[];var n=this.quill.getContents().diff(e),a=Date.now();if(this.lastRecorded+this.options.delay>a&&this.stack.undo.length>0){var r=this.stack.undo.pop();n=n.compose(r.undo),t=r.redo.compose(t)}else this.lastRecorded=a;this.stack.undo.push({redo:t,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(t){this.stack.undo.forEach((function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)})),this.stack.redo.forEach((function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),e}(i(n(9)).default);function l(t){var e=t.reduce((function(t,e){return t+=e.delete||0}),0),n=t.length()-e;return function(t){var e=t.ops[t.ops.length-1];return null!=e&&(null!=e.insert?"string"==typeof e.insert&&e.insert.endsWith("\n"):null!=e.attributes&&Object.keys(e.attributes).some((function(t){return null!=r.default.query(t,r.default.Scope.BLOCK)})))}(t)&&(n-=1),n}s.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},e.default=s,e.getLastChangeIndex=l},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BaseTooltip=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},o=f(n(3)),i=f(n(2)),s=f(n(8)),l=f(n(23)),c=f(n(34)),u=f(n(59)),d=f(n(60)),h=f(n(28)),p=f(n(61));function f(t){return t&&t.__esModule?t:{default:t}}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function m(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var y=[!1,"center","right","justify"],w=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],b=[!1,"serif","monospace"],_=["1","2","3",!1],x=["small",!1,"large","huge"],M=function(t){function e(t,n){v(this,e);var a=g(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return t.emitter.listenDOM("click",document.body,(function e(n){if(!document.body.contains(t.root))return document.body.removeEventListener("click",e);null==a.tooltip||a.tooltip.root.contains(n.target)||document.activeElement===a.tooltip.textbox||a.quill.hasFocus()||a.tooltip.hide(),null!=a.pickers&&a.pickers.forEach((function(t){t.container.contains(n.target)||t.close()}))})),a}return m(e,t),a(e,[{key:"addModule",value:function(t){var n=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"addModule",this).call(this,t);return"toolbar"===t&&this.extendToolbar(n),n}},{key:"buildButtons",value:function(t,e){t.forEach((function(t){(t.getAttribute("class")||"").split(/\s+/).forEach((function(n){if(n.startsWith("ql-")&&(n=n.slice("ql-".length),null!=e[n]))if("direction"===n)t.innerHTML=e[n][""]+e[n].rtl;else if("string"==typeof e[n])t.innerHTML=e[n];else{var a=t.value||"";null!=a&&e[n][a]&&(t.innerHTML=e[n][a])}}))}))}},{key:"buildPickers",value:function(t,e){var n=this;this.pickers=t.map((function(t){if(t.classList.contains("ql-align"))return null==t.querySelector("option")&&P(t,y),new d.default(t,e.align);if(t.classList.contains("ql-background")||t.classList.contains("ql-color")){var n=t.classList.contains("ql-background")?"background":"color";return null==t.querySelector("option")&&P(t,w,"background"===n?"#ffffff":"#000000"),new u.default(t,e[n])}return null==t.querySelector("option")&&(t.classList.contains("ql-font")?P(t,b):t.classList.contains("ql-header")?P(t,_):t.classList.contains("ql-size")&&P(t,x)),new h.default(t)})),this.quill.on(s.default.events.EDITOR_CHANGE,(function(){n.pickers.forEach((function(t){t.update()}))}))}}]),e}(c.default);M.DEFAULTS=(0,o.default)(!0,{},c.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var t=this,e=this.container.querySelector("input.ql-image[type=file]");null==e&&((e=document.createElement("input")).setAttribute("type","file"),e.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),e.classList.add("ql-image"),e.addEventListener("change",(function(){if(null!=e.files&&null!=e.files[0]){var n=new FileReader;n.onload=function(n){var a=t.quill.getSelection(!0);t.quill.updateContents((new i.default).retain(a.index).delete(a.length).insert({image:n.target.result}),s.default.sources.USER),t.quill.setSelection(a.index+1,s.default.sources.SILENT),e.value=""},n.readAsDataURL(e.files[0])}})),this.container.appendChild(e)),e.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var C=function(t){function e(t,n){v(this,e);var a=g(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.textbox=a.root.querySelector('input[type="text"]'),a.listen(),a}return m(e,t),a(e,[{key:"listen",value:function(){var t=this;this.textbox.addEventListener("keydown",(function(e){l.default.match(e,"enter")?(t.save(),e.preventDefault()):l.default.match(e,"escape")&&(t.cancel(),e.preventDefault())}))}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=e?this.textbox.value=e:t!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+t)||""),this.root.setAttribute("data-mode",t)}},{key:"restoreFocus",value:function(){var t=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=t}},{key:"save",value:function(){var t=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var e=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",t,s.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",t,s.default.sources.USER)),this.quill.root.scrollTop=e;break;case"video":t=function(t){var e=t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return e?(e[1]||"https")+"://www.youtube.com/embed/"+e[2]+"?showinfo=0":(e=t.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(e[1]||"https")+"://player.vimeo.com/video/"+e[2]+"/":t}(t);case"formula":if(!t)break;var n=this.quill.getSelection(!0);if(null!=n){var a=n.index+n.length;this.quill.insertEmbed(a,this.root.getAttribute("data-mode"),t,s.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(a+1," ",s.default.sources.USER),this.quill.setSelection(a+2,s.default.sources.USER)}}this.textbox.value="",this.hide()}}]),e}(p.default);function P(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.forEach((function(e){var a=document.createElement("option");e===n?a.setAttribute("selected","selected"):a.setAttribute("value",e),t.appendChild(a)}))}e.BaseTooltip=C,e.default=M},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(){this.head=this.tail=null,this.length=0}return t.prototype.append=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.insertBefore(t[0],null),t.length>1&&this.append.apply(this,t.slice(1))},t.prototype.contains=function(t){for(var e,n=this.iterator();e=n();)if(e===t)return!0;return!1},t.prototype.insertBefore=function(t,e){t&&(t.next=e,null!=e?(t.prev=e.prev,null!=e.prev&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):null!=this.tail?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)},t.prototype.offset=function(t){for(var e=0,n=this.head;null!=n;){if(n===t)return e;e+=n.length(),n=n.next}return-1},t.prototype.remove=function(t){this.contains(t)&&(null!=t.prev&&(t.prev.next=t.next),null!=t.next&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1)},t.prototype.iterator=function(t){return void 0===t&&(t=this.head),function(){var e=t;return null!=t&&(t=t.next),e}},t.prototype.find=function(t,e){void 0===e&&(e=!1);for(var n,a=this.iterator();n=a();){var r=n.length();if(t<r||e&&t===r&&(null==n.next||0!==n.next.length()))return[n,t];t-=r}return[null,0]},t.prototype.forEach=function(t){for(var e,n=this.iterator();e=n();)t(e)},t.prototype.forEachAt=function(t,e,n){if(!(e<=0))for(var a,r=this.find(t),o=r[0],i=t-r[1],s=this.iterator(o);(a=s())&&i<t+e;){var l=a.length();t>i?n(a,t-i,Math.min(e,i+l-t)):n(a,0,Math.min(l,t+e-i)),i+=l}},t.prototype.map=function(t){return this.reduce((function(e,n){return e.push(t(n)),e}),[])},t.prototype.reduce=function(t,e){for(var n,a=this.iterator();n=a();)e=t(e,n);return e},t}();e.default=a},function(t,e,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(17),i=n(1),s={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},l=function(t){function e(e){var n=t.call(this,e)||this;return n.scroll=n,n.observer=new MutationObserver((function(t){n.update(t)})),n.observer.observe(n.domNode,s),n.attach(),n}return r(e,t),e.prototype.detach=function(){t.prototype.detach.call(this),this.observer.disconnect()},e.prototype.deleteAt=function(e,n){this.update(),0===e&&n===this.length()?this.children.forEach((function(t){t.remove()})):t.prototype.deleteAt.call(this,e,n)},e.prototype.formatAt=function(e,n,a,r){this.update(),t.prototype.formatAt.call(this,e,n,a,r)},e.prototype.insertAt=function(e,n,a){this.update(),t.prototype.insertAt.call(this,e,n,a)},e.prototype.optimize=function(e,n){var a=this;void 0===e&&(e=[]),void 0===n&&(n={}),t.prototype.optimize.call(this,n);for(var r=[].slice.call(this.observer.takeRecords());r.length>0;)e.push(r.pop());for(var s=function(t,e){void 0===e&&(e=!0),null!=t&&t!==a&&null!=t.domNode.parentNode&&(null==t.domNode[i.DATA_KEY].mutations&&(t.domNode[i.DATA_KEY].mutations=[]),e&&s(t.parent))},l=function(t){null!=t.domNode[i.DATA_KEY]&&null!=t.domNode[i.DATA_KEY].mutations&&(t instanceof o.default&&t.children.forEach(l),t.optimize(n))},c=e,u=0;c.length>0;u+=1){if(u>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(c.forEach((function(t){var e=i.find(t.target,!0);null!=e&&(e.domNode===t.target&&("childList"===t.type?(s(i.find(t.previousSibling,!1)),[].forEach.call(t.addedNodes,(function(t){var e=i.find(t,!1);s(e,!1),e instanceof o.default&&e.children.forEach((function(t){s(t,!1)}))}))):"attributes"===t.type&&s(e.prev)),s(e))})),this.children.forEach(l),r=(c=[].slice.call(this.observer.takeRecords())).slice();r.length>0;)e.push(r.pop())}},e.prototype.update=function(e,n){var a=this;void 0===n&&(n={}),(e=e||this.observer.takeRecords()).map((function(t){var e=i.find(t.target,!0);return null==e?null:null==e.domNode[i.DATA_KEY].mutations?(e.domNode[i.DATA_KEY].mutations=[t],e):(e.domNode[i.DATA_KEY].mutations.push(t),null)})).forEach((function(t){null!=t&&t!==a&&null!=t.domNode[i.DATA_KEY]&&t.update(t.domNode[i.DATA_KEY].mutations||[],n)})),null!=this.domNode[i.DATA_KEY].mutations&&t.prototype.update.call(this,this.domNode[i.DATA_KEY].mutations,n),this.optimize(e,n)},e.blotName="scroll",e.defaultChild="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="DIV",e}(o.default);e.default=l},function(t,e,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(18),i=n(1),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(n){if(n.tagName!==e.tagName)return t.formats.call(this,n)},e.prototype.format=function(n,a){var r=this;n!==this.statics.blotName||a?t.prototype.format.call(this,n,a):(this.children.forEach((function(t){t instanceof o.default||(t=t.wrap(e.blotName,!0)),r.attributes.copy(t)})),this.unwrap())},e.prototype.formatAt=function(e,n,a,r){null!=this.formats()[a]||i.query(a,i.Scope.ATTRIBUTE)?this.isolate(e,n).format(a,r):t.prototype.formatAt.call(this,e,n,a,r)},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n);var a=this.formats();if(0===Object.keys(a).length)return this.unwrap();var r=this.next;r instanceof e&&r.prev===this&&function(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n in t)if(t[n]!==e[n])return!1;return!0}(a,r.formats())&&(r.moveChildren(this),r.remove())},e.blotName="inline",e.scope=i.Scope.INLINE_BLOT,e.tagName="SPAN",e}(o.default);e.default=s},function(t,e,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(18),i=n(1),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(n){var a=i.query(e.blotName).tagName;if(n.tagName!==a)return t.formats.call(this,n)},e.prototype.format=function(n,a){null!=i.query(n,i.Scope.BLOCK)&&(n!==this.statics.blotName||a?t.prototype.format.call(this,n,a):this.replaceWith(e.blotName))},e.prototype.formatAt=function(e,n,a,r){null!=i.query(a,i.Scope.BLOCK)?this.format(a,r):t.prototype.formatAt.call(this,e,n,a,r)},e.prototype.insertAt=function(e,n,a){if(null==a||null!=i.query(n,i.Scope.INLINE))t.prototype.insertAt.call(this,e,n,a);else{var r=this.split(e),o=i.create(n,a);r.parent.insertBefore(o,r)}},e.prototype.update=function(e,n){navigator.userAgent.match(/Trident/)?this.build():t.prototype.update.call(this,e,n)},e.blotName="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="P",e}(o.default);e.default=s},function(t,e,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(t){},e.prototype.format=function(e,n){t.prototype.formatAt.call(this,0,this.length(),e,n)},e.prototype.formatAt=function(e,n,a,r){0===e&&n===this.length()?this.format(a,r):t.prototype.formatAt.call(this,e,n,a,r)},e.prototype.formats=function(){return this.statics.formats(this.domNode)},e}(n(19).default);e.default=o},function(t,e,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(19),i=n(1),s=function(t){function e(e){var n=t.call(this,e)||this;return n.text=n.statics.value(n.domNode),n}return r(e,t),e.create=function(t){return document.createTextNode(t)},e.value=function(t){var e=t.data;return e.normalize&&(e=e.normalize()),e},e.prototype.deleteAt=function(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)},e.prototype.index=function(t,e){return this.domNode===t?e:-1},e.prototype.insertAt=function(e,n,a){null==a?(this.text=this.text.slice(0,e)+n+this.text.slice(e),this.domNode.data=this.text):t.prototype.insertAt.call(this,e,n,a)},e.prototype.length=function(){return this.text.length},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof e&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},e.prototype.position=function(t,e){return[this.domNode,t]},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=i.create(this.domNode.splitText(t));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},e.prototype.update=function(t,e){var n=this;t.some((function(t){return"characterData"===t.type&&t.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},e.prototype.value=function(){return this.text},e.blotName="text",e.scope=i.Scope.INLINE_BLOT,e}(o.default);e.default=s},function(t,e,n){var a=document.createElement("div");if(a.classList.toggle("test-class",!1),a.classList.contains("test-class")){var r=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return arguments.length>1&&!this.contains(t)==!e?e:r.call(this,t)}}String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return e=e||0,this.substr(e,t.length)===t}),String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var n=this.toString();("number"!=typeof e||!isFinite(e)||Math.floor(e)!==e||e>n.length)&&(e=n.length),e-=t.length;var a=n.indexOf(t,e);return-1!==a&&a===e}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var e,n=Object(this),a=n.length>>>0,r=arguments[1],o=0;o<a;o++)if(e=n[o],t.call(r,e,o,n))return e}}),document.addEventListener("DOMContentLoaded",(function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)}))},function(t,e){var n=-1;function a(t,e,l){if(t==e)return t?[[0,t]]:[];(l<0||t.length<l)&&(l=null);var u=o(t,e),d=t.substring(0,u);u=i(t=t.substring(u),e=e.substring(u));var h=t.substring(t.length-u),p=function(t,e){var s;if(!t)return[[1,e]];if(!e)return[[n,t]];var l=t.length>e.length?t:e,c=t.length>e.length?e:t,u=l.indexOf(c);if(-1!=u)return s=[[1,l.substring(0,u)],[0,c],[1,l.substring(u+c.length)]],t.length>e.length&&(s[0][0]=s[2][0]=n),s;if(1==c.length)return[[n,t],[1,e]];var d=function(t,e){var n=t.length>e.length?t:e,a=t.length>e.length?e:t;if(n.length<4||2*a.length<n.length)return null;function r(t,e,n){for(var a,r,s,l,c=t.substring(n,n+Math.floor(t.length/4)),u=-1,d="";-1!=(u=e.indexOf(c,u+1));){var h=o(t.substring(n),e.substring(u)),p=i(t.substring(0,n),e.substring(0,u));d.length<p+h&&(d=e.substring(u-p,u)+e.substring(u,u+h),a=t.substring(0,n-p),r=t.substring(n+h),s=e.substring(0,u-p),l=e.substring(u+h))}return 2*d.length>=t.length?[a,r,s,l,d]:null}var s,l,c,u,d,h=r(n,a,Math.ceil(n.length/4)),p=r(n,a,Math.ceil(n.length/2));if(!h&&!p)return null;s=p?h&&h[4].length>p[4].length?h:p:h,t.length>e.length?(l=s[0],c=s[1],u=s[2],d=s[3]):(u=s[0],d=s[1],l=s[2],c=s[3]);var f=s[4];return[l,c,u,d,f]}(t,e);if(d){var h=d[0],p=d[1],f=d[2],v=d[3],g=d[4],m=a(h,f),y=a(p,v);return m.concat([[0,g]],y)}return function(t,e){for(var a=t.length,o=e.length,i=Math.ceil((a+o)/2),s=i,l=2*i,c=new Array(l),u=new Array(l),d=0;d<l;d++)c[d]=-1,u[d]=-1;c[s+1]=0,u[s+1]=0;for(var h=a-o,p=h%2!=0,f=0,v=0,g=0,m=0,y=0;y<i;y++){for(var w=-y+f;w<=y-v;w+=2){for(var b=s+w,_=(A=w==-y||w!=y&&c[b-1]<c[b+1]?c[b+1]:c[b-1]+1)-w;A<a&&_<o&&t.charAt(A)==e.charAt(_);)A++,_++;if(c[b]=A,A>a)v+=2;else if(_>o)f+=2;else if(p&&(C=s+h-w)>=0&&C<l&&-1!=u[C]&&A>=(M=a-u[C]))return r(t,e,A,_)}for(var x=-y+g;x<=y-m;x+=2){for(var M,C=s+x,P=(M=x==-y||x!=y&&u[C-1]<u[C+1]?u[C+1]:u[C-1]+1)-x;M<a&&P<o&&t.charAt(a-M-1)==e.charAt(o-P-1);)M++,P++;if(u[C]=M,M>a)m+=2;else if(P>o)g+=2;else if(!p){var A;if((b=s+h-x)>=0&&b<l&&-1!=c[b])if(_=s+(A=c[b])-b,A>=(M=a-M))return r(t,e,A,_)}}}return[[n,t],[1,e]]}(t,e)}(t=t.substring(0,t.length-u),e=e.substring(0,e.length-u));return d&&p.unshift([0,d]),h&&p.push([0,h]),s(p),null!=l&&(p=function(t,e){var a=function(t,e){if(0===e)return[0,t];for(var a=0,r=0;r<t.length;r++){var o=t[r];if(o[0]===n||0===o[0]){var i=a+o[1].length;if(e===i)return[r+1,t];if(e<i){t=t.slice();var s=e-a,l=[o[0],o[1].slice(0,s)],c=[o[0],o[1].slice(s)];return t.splice(r,1,l,c),[r+1,t]}a=i}}throw new Error("cursor_pos is out of bounds!")}(t,e),r=a[1],o=a[0],i=r[o],s=r[o+1];if(null==i)return t;if(0!==i[0])return t;if(null!=s&&i[1]+s[1]===s[1]+i[1])return r.splice(o,2,s,i),c(r,o,2);if(null!=s&&0===s[1].indexOf(i[1])){r.splice(o,2,[s[0],i[1]],[0,i[1]]);var l=s[1].slice(i[1].length);return l.length>0&&r.splice(o+2,0,[s[0],l]),c(r,o,3)}return t}(p,l)),p=function(t){for(var e=!1,a=function(t){return t.charCodeAt(0)>=56320&&t.charCodeAt(0)<=57343},r=function(t){return t.charCodeAt(t.length-1)>=55296&&t.charCodeAt(t.length-1)<=56319},o=2;o<t.length;o+=1)0===t[o-2][0]&&r(t[o-2][1])&&t[o-1][0]===n&&a(t[o-1][1])&&1===t[o][0]&&a(t[o][1])&&(e=!0,t[o-1][1]=t[o-2][1].slice(-1)+t[o-1][1],t[o][1]=t[o-2][1].slice(-1)+t[o][1],t[o-2][1]=t[o-2][1].slice(0,-1));if(!e)return t;var i=[];for(o=0;o<t.length;o+=1)t[o][1].length>0&&i.push(t[o]);return i}(p)}function r(t,e,n,r){var o=t.substring(0,n),i=e.substring(0,r),s=t.substring(n),l=e.substring(r),c=a(o,i),u=a(s,l);return c.concat(u)}function o(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;for(var n=0,a=Math.min(t.length,e.length),r=a,o=0;n<r;)t.substring(o,r)==e.substring(o,r)?o=n=r:a=r,r=Math.floor((a-n)/2+n);return r}function i(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;for(var n=0,a=Math.min(t.length,e.length),r=a,o=0;n<r;)t.substring(t.length-r,t.length-o)==e.substring(e.length-r,e.length-o)?o=n=r:a=r,r=Math.floor((a-n)/2+n);return r}function s(t){t.push([0,""]);for(var e,a=0,r=0,l=0,c="",u="";a<t.length;)switch(t[a][0]){case 1:l++,u+=t[a][1],a++;break;case n:r++,c+=t[a][1],a++;break;case 0:r+l>1?(0!==r&&0!==l&&(0!==(e=o(u,c))&&(a-r-l>0&&0==t[a-r-l-1][0]?t[a-r-l-1][1]+=u.substring(0,e):(t.splice(0,0,[0,u.substring(0,e)]),a++),u=u.substring(e),c=c.substring(e)),0!==(e=i(u,c))&&(t[a][1]=u.substring(u.length-e)+t[a][1],u=u.substring(0,u.length-e),c=c.substring(0,c.length-e))),0===r?t.splice(a-l,r+l,[1,u]):0===l?t.splice(a-r,r+l,[n,c]):t.splice(a-r-l,r+l,[n,c],[1,u]),a=a-r-l+(r?1:0)+(l?1:0)+1):0!==a&&0==t[a-1][0]?(t[a-1][1]+=t[a][1],t.splice(a,1)):a++,l=0,r=0,c="",u=""}""===t[t.length-1][1]&&t.pop();var d=!1;for(a=1;a<t.length-1;)0==t[a-1][0]&&0==t[a+1][0]&&(t[a][1].substring(t[a][1].length-t[a-1][1].length)==t[a-1][1]?(t[a][1]=t[a-1][1]+t[a][1].substring(0,t[a][1].length-t[a-1][1].length),t[a+1][1]=t[a-1][1]+t[a+1][1],t.splice(a-1,1),d=!0):t[a][1].substring(0,t[a+1][1].length)==t[a+1][1]&&(t[a-1][1]+=t[a+1][1],t[a][1]=t[a][1].substring(t[a+1][1].length)+t[a+1][1],t.splice(a+1,1),d=!0)),a++;d&&s(t)}var l=a;function c(t,e,n){for(var a=e+n-1;a>=0&&a>=e-1;a--)if(a+1<t.length){var r=t[a],o=t[a+1];r[0]===o[1]&&t.splice(a,2,[r[0],r[1]+o[1]])}return t}l.INSERT=1,l.DELETE=n,l.EQUAL=0,t.exports=l},function(t,e){function n(t){var e=[];for(var n in t)e.push(n);return e}(t.exports="function"==typeof Object.keys?Object.keys:n).shim=n},function(t,e){var n="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function a(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function r(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,"callee")&&!Object.prototype.propertyIsEnumerable.call(t,"callee")||!1}(e=t.exports=n?a:r).supported=a,e.unsupported=r},function(t,e){var n=Object.prototype.hasOwnProperty,a="~";function r(){}function o(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function i(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(a=!1)),i.prototype.eventNames=function(){var t,e,r=[];if(0===this._eventsCount)return r;for(e in t=this._events)n.call(t,e)&&r.push(a?e.slice(1):e);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(t)):r},i.prototype.listeners=function(t,e){var n=a?a+t:t,r=this._events[n];if(e)return!!r;if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,s=new Array(i);o<i;o++)s[o]=r[o].fn;return s},i.prototype.emit=function(t,e,n,r,o,i){var s=a?a+t:t;if(!this._events[s])return!1;var l,c,u=this._events[s],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(t,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,e),!0;case 3:return u.fn.call(u.context,e,n),!0;case 4:return u.fn.call(u.context,e,n,r),!0;case 5:return u.fn.call(u.context,e,n,r,o),!0;case 6:return u.fn.call(u.context,e,n,r,o,i),!0}for(c=1,l=new Array(d-1);c<d;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var h,p=u.length;for(c=0;c<p;c++)switch(u[c].once&&this.removeListener(t,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,e);break;case 3:u[c].fn.call(u[c].context,e,n);break;case 4:u[c].fn.call(u[c].context,e,n,r);break;default:if(!l)for(h=1,l=new Array(d-1);h<d;h++)l[h-1]=arguments[h];u[c].fn.apply(u[c].context,l)}}return!0},i.prototype.on=function(t,e,n){var r=new o(e,n||this),i=a?a+t:t;return this._events[i]?this._events[i].fn?this._events[i]=[this._events[i],r]:this._events[i].push(r):(this._events[i]=r,this._eventsCount++),this},i.prototype.once=function(t,e,n){var r=new o(e,n||this,!0),i=a?a+t:t;return this._events[i]?this._events[i].fn?this._events[i]=[this._events[i],r]:this._events[i].push(r):(this._events[i]=r,this._eventsCount++),this},i.prototype.removeListener=function(t,e,n,o){var i=a?a+t:t;if(!this._events[i])return this;if(!e)return 0==--this._eventsCount?this._events=new r:delete this._events[i],this;var s=this._events[i];if(s.fn)s.fn!==e||o&&!s.once||n&&s.context!==n||(0==--this._eventsCount?this._events=new r:delete this._events[i]);else{for(var l=0,c=[],u=s.length;l<u;l++)(s[l].fn!==e||o&&!s[l].once||n&&s[l].context!==n)&&c.push(s[l]);c.length?this._events[i]=1===c.length?c[0]:c:0==--this._eventsCount?this._events=new r:delete this._events[i]}return this},i.prototype.removeAllListeners=function(t){var e;return t?(e=a?a+t:t,this._events[e]&&(0==--this._eventsCount?this._events=new r:delete this._events[e])):(this._events=new r,this._eventsCount=0),this},i.prototype.off=i.prototype.removeListener,i.prototype.addListener=i.prototype.on,i.prototype.setMaxListeners=function(){return this},i.prefixed=a,i.EventEmitter=i,void 0!==t&&(t.exports=i)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.matchText=e.matchSpacing=e.matchNewline=e.matchBlot=e.matchAttributor=e.default=void 0;var a="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},r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],a=!0,r=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(a=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);a=!0);}catch(t){r=!0,o=t}finally{try{!a&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),i=w(n(3)),s=w(n(2)),l=w(n(0)),c=w(n(5)),u=w(n(10)),d=w(n(9)),h=n(36),p=n(37),f=w(n(13)),v=n(26),g=n(38),m=n(39),y=n(40);function w(t){return t&&t.__esModule?t:{default:t}}function b(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var _=(0,u.default)("quill:clipboard"),x="__ql-matcher",M=[[Node.TEXT_NODE,N],[Node.TEXT_NODE,B],["br",function(t,e){return z(e,"\n")||e.insert("\n"),e}],[Node.ELEMENT_NODE,B],[Node.ELEMENT_NODE,L],[Node.ELEMENT_NODE,H],[Node.ELEMENT_NODE,O],[Node.ELEMENT_NODE,function(t,e){var n={},a=t.style||{};return a.fontStyle&&"italic"===S(t).fontStyle&&(n.italic=!0),a.fontWeight&&(S(t).fontWeight.startsWith("bold")||parseInt(S(t).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(e=k(e,n)),parseFloat(a.textIndent||0)>0&&(e=(new s.default).insert("\t").concat(e)),e}],["li",function(t,e){var n=l.default.query(t);if(null==n||"list-item"!==n.blotName||!z(e,"\n"))return e;for(var a=-1,r=t.parentNode;!r.classList.contains("ql-clipboard");)"list"===(l.default.query(r)||{}).blotName&&(a+=1),r=r.parentNode;return a<=0?e:e.compose((new s.default).retain(e.length()-1).retain(1,{indent:a}))}],["b",E.bind(E,"bold")],["i",E.bind(E,"italic")],["style",function(){return new s.default}]],C=[h.AlignAttribute,g.DirectionAttribute].reduce((function(t,e){return t[e.keyName]=e,t}),{}),P=[h.AlignStyle,p.BackgroundStyle,v.ColorStyle,g.DirectionStyle,m.FontStyle,y.SizeStyle].reduce((function(t,e){return t[e.keyName]=e,t}),{}),A=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var a=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.quill.root.addEventListener("paste",a.onPaste.bind(a)),a.container=a.quill.addContainer("ql-clipboard"),a.container.setAttribute("contenteditable",!0),a.container.setAttribute("tabindex",-1),a.matchers=[],M.concat(a.options.matchers).forEach((function(t){var e=r(t,2),o=e[0],i=e[1];(n.matchVisual||i!==H)&&a.addMatcher(o,i)})),a}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"addMatcher",value:function(t,e){this.matchers.push([t,e])}},{key:"convert",value:function(t){if("string"==typeof t)return this.container.innerHTML=t.replace(/\>\r?\n +\</g,"><"),this.convert();var e=this.quill.getFormat(this.quill.selection.savedRange.index);if(e[f.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new s.default).insert(n,b({},f.default.blotName,e[f.default.blotName]))}var a=this.prepareMatching(),o=r(a,2),i=o[0],l=o[1],c=j(this.container,i,l);return z(c,"\n")&&null==c.ops[c.ops.length-1].attributes&&(c=c.compose((new s.default).retain(c.length()-1).delete(1))),_.log("convert",this.container.innerHTML,c),this.container.innerHTML="",c}},{key:"dangerouslyPasteHTML",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.default.sources.API;if("string"==typeof t)this.quill.setContents(this.convert(t),e),this.quill.setSelection(0,c.default.sources.SILENT);else{var a=this.convert(e);this.quill.updateContents((new s.default).retain(t).concat(a),n),this.quill.setSelection(t+a.length(),c.default.sources.SILENT)}}},{key:"onPaste",value:function(t){var e=this;if(!t.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),a=(new s.default).retain(n.index),r=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(c.default.sources.SILENT),setTimeout((function(){a=a.concat(e.convert()).delete(n.length),e.quill.updateContents(a,c.default.sources.USER),e.quill.setSelection(a.length()-n.length,c.default.sources.SILENT),e.quill.scrollingContainer.scrollTop=r,e.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var t=this,e=[],n=[];return this.matchers.forEach((function(a){var o=r(a,2),i=o[0],s=o[1];switch(i){case Node.TEXT_NODE:n.push(s);break;case Node.ELEMENT_NODE:e.push(s);break;default:[].forEach.call(t.container.querySelectorAll(i),(function(t){t[x]=t[x]||[],t[x].push(s)}))}})),[e,n]}}]),e}(d.default);function k(t,e,n){return"object"===(void 0===e?"undefined":a(e))?Object.keys(e).reduce((function(t,n){return k(t,n,e[n])}),t):t.reduce((function(t,a){return a.attributes&&a.attributes[e]?t.push(a):t.insert(a.insert,(0,i.default)({},b({},e,n),a.attributes))}),new s.default)}function S(t){if(t.nodeType!==Node.ELEMENT_NODE)return{};var e="__ql-computed-style";return t[e]||(t[e]=window.getComputedStyle(t))}function z(t,e){for(var n="",a=t.ops.length-1;a>=0&&n.length<e.length;--a){var r=t.ops[a];if("string"!=typeof r.insert)break;n=r.insert+n}return n.slice(-1*e.length)===e}function T(t){if(0===t.childNodes.length)return!1;var e=S(t);return["block","list-item"].indexOf(e.display)>-1}function j(t,e,n){return t.nodeType===t.TEXT_NODE?n.reduce((function(e,n){return n(t,e)}),new s.default):t.nodeType===t.ELEMENT_NODE?[].reduce.call(t.childNodes||[],(function(a,r){var o=j(r,e,n);return r.nodeType===t.ELEMENT_NODE&&(o=e.reduce((function(t,e){return e(r,t)}),o),o=(r[x]||[]).reduce((function(t,e){return e(r,t)}),o)),a.concat(o)}),new s.default):new s.default}function E(t,e,n){return k(n,t,!0)}function O(t,e){var n=l.default.Attributor.Attribute.keys(t),a=l.default.Attributor.Class.keys(t),r=l.default.Attributor.Style.keys(t),o={};return n.concat(a).concat(r).forEach((function(e){var n=l.default.query(e,l.default.Scope.ATTRIBUTE);null!=n&&(o[n.attrName]=n.value(t),o[n.attrName])||(null==(n=C[e])||n.attrName!==e&&n.keyName!==e||(o[n.attrName]=n.value(t)||void 0),null==(n=P[e])||n.attrName!==e&&n.keyName!==e||(n=P[e],o[n.attrName]=n.value(t)||void 0))})),Object.keys(o).length>0&&(e=k(e,o)),e}function L(t,e){var n=l.default.query(t);if(null==n)return e;if(n.prototype instanceof l.default.Embed){var a={},r=n.value(t);null!=r&&(a[n.blotName]=r,e=(new s.default).insert(a,n.formats(t)))}else"function"==typeof n.formats&&(e=k(e,n.blotName,n.formats(t)));return e}function B(t,e){return z(e,"\n")||(T(t)||e.length()>0&&t.nextSibling&&T(t.nextSibling))&&e.insert("\n"),e}function H(t,e){if(T(t)&&null!=t.nextElementSibling&&!z(e,"\n\n")){var n=t.offsetHeight+parseFloat(S(t).marginTop)+parseFloat(S(t).marginBottom);t.nextElementSibling.offsetTop>t.offsetTop+1.5*n&&e.insert("\n")}return e}function N(t,e){var n=t.data;if("O:P"===t.parentNode.tagName)return e.insert(n.trim());if(0===n.trim().length&&t.parentNode.classList.contains("ql-clipboard"))return e;if(!S(t.parentNode).whiteSpace.startsWith("pre")){var a=function(t,e){return(e=e.replace(/[^\u00a0]/g,"")).length<1&&t?" ":e};n=(n=n.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,a.bind(a,!0)),(null==t.previousSibling&&T(t.parentNode)||null!=t.previousSibling&&T(t.previousSibling))&&(n=n.replace(/^\s+/,a.bind(a,!1))),(null==t.nextSibling&&T(t.parentNode)||null!=t.nextSibling&&T(t.nextSibling))&&(n=n.replace(/\s+$/,a.bind(a,!1)))}return e.insert(n)}A.DEFAULTS={matchers:[],matchVisual:!0},e.default=A,e.matchAttributor=O,e.matchBlot=L,e.matchNewline=B,e.matchSpacing=H,e.matchText=N},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},i=n(6);function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var c=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"optimize",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),e}(((a=i)&&a.__esModule?a:{default:a}).default);c.blotName="bold",c.tagName=["STRONG","B"],e.default=c},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.addControls=e.default=void 0;var a=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],a=!0,r=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(a=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);a=!0);}catch(t){r=!0,o=t}finally{try{!a&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=u(n(2)),i=u(n(0)),s=u(n(5)),l=u(n(10)),c=u(n(9));function u(t){return t&&t.__esModule?t:{default:t}}function d(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var h=(0,l.default)("quill:toolbar"),p=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r,o=d(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if(Array.isArray(o.options.container)){var i=document.createElement("div");v(i,o.options.container),t.container.parentNode.insertBefore(i,t.container),o.container=i}else"string"==typeof o.options.container?o.container=document.querySelector(o.options.container):o.container=o.options.container;return o.container instanceof HTMLElement?(o.container.classList.add("ql-toolbar"),o.controls=[],o.handlers={},Object.keys(o.options.handlers).forEach((function(t){o.addHandler(t,o.options.handlers[t])})),[].forEach.call(o.container.querySelectorAll("button, select"),(function(t){o.attach(t)})),o.quill.on(s.default.events.EDITOR_CHANGE,(function(t,e){t===s.default.events.SELECTION_CHANGE&&o.update(e)})),o.quill.on(s.default.events.SCROLL_OPTIMIZE,(function(){var t=o.quill.selection.getRange(),e=a(t,1)[0];o.update(e)})),o):(r=h.error("Container required for toolbar",o.options),d(o,r))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"addHandler",value:function(t,e){this.handlers[t]=e}},{key:"attach",value:function(t){var e=this,n=[].find.call(t.classList,(function(t){return 0===t.indexOf("ql-")}));if(n){if(n=n.slice("ql-".length),"BUTTON"===t.tagName&&t.setAttribute("type","button"),null==this.handlers[n]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[n])return void h.warn("ignoring attaching to disabled format",n,t);if(null==i.default.query(n))return void h.warn("ignoring attaching to nonexistent format",n,t)}var r="SELECT"===t.tagName?"change":"click";t.addEventListener(r,(function(r){var l=void 0;if("SELECT"===t.tagName){if(t.selectedIndex<0)return;var c=t.options[t.selectedIndex];l=!c.hasAttribute("selected")&&(c.value||!1)}else l=!t.classList.contains("ql-active")&&(t.value||!t.hasAttribute("value")),r.preventDefault();e.quill.focus();var u=e.quill.selection.getRange(),d=a(u,1)[0];if(null!=e.handlers[n])e.handlers[n].call(e,l);else if(i.default.query(n).prototype instanceof i.default.Embed){if(!(l=prompt("Enter "+n)))return;e.quill.updateContents((new o.default).retain(d.index).delete(d.length).insert(function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},n,l)),s.default.sources.USER)}else e.quill.format(n,l,s.default.sources.USER);e.update(d)})),this.controls.push([n,t])}}},{key:"update",value:function(t){var e=null==t?{}:this.quill.getFormat(t);this.controls.forEach((function(n){var r=a(n,2),o=r[0],i=r[1];if("SELECT"===i.tagName){var s=void 0;if(null==t)s=null;else if(null==e[o])s=i.querySelector("option[selected]");else if(!Array.isArray(e[o])){var l=e[o];"string"==typeof l&&(l=l.replace(/\"/g,'\\"')),s=i.querySelector('option[value="'+l+'"]')}null==s?(i.value="",i.selectedIndex=-1):s.selected=!0}else if(null==t)i.classList.remove("ql-active");else if(i.hasAttribute("value")){var c=e[o]===i.getAttribute("value")||null!=e[o]&&e[o].toString()===i.getAttribute("value")||null==e[o]&&!i.getAttribute("value");i.classList.toggle("ql-active",c)}else i.classList.toggle("ql-active",null!=e[o])}))}}]),e}(c.default);function f(t,e,n){var a=document.createElement("button");a.setAttribute("type","button"),a.classList.add("ql-"+e),null!=n&&(a.value=n),t.appendChild(a)}function v(t,e){Array.isArray(e[0])||(e=[e]),e.forEach((function(e){var n=document.createElement("span");n.classList.add("ql-formats"),e.forEach((function(t){if("string"==typeof t)f(n,t);else{var e=Object.keys(t)[0],a=t[e];Array.isArray(a)?function(t,e,n){var a=document.createElement("select");a.classList.add("ql-"+e),n.forEach((function(t){var e=document.createElement("option");!1!==t?e.setAttribute("value",t):e.setAttribute("selected","selected"),a.appendChild(e)})),t.appendChild(a)}(n,e,a):f(n,e,a)}})),t.appendChild(n)}))}p.DEFAULTS={},p.DEFAULTS={container:null,handlers:{clean:function(){var t=this,e=this.quill.getSelection();if(null!=e)if(0==e.length){var n=this.quill.getFormat();Object.keys(n).forEach((function(e){null!=i.default.query(e,i.default.Scope.INLINE)&&t.quill.format(e,!1)}))}else this.quill.removeFormat(e,s.default.sources.USER)},direction:function(t){var e=this.quill.getFormat().align;"rtl"===t&&null==e?this.quill.format("align","right",s.default.sources.USER):t||"right"!==e||this.quill.format("align",!1,s.default.sources.USER),this.quill.format("direction",t,s.default.sources.USER)},indent:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e),a=parseInt(n.indent||0);if("+1"===t||"-1"===t){var r="+1"===t?1:-1;"rtl"===n.direction&&(r*=-1),this.quill.format("indent",a+r,s.default.sources.USER)}},link:function(t){!0===t&&(t=prompt("Enter link URL:")),this.quill.format("link",t,s.default.sources.USER)},list:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e);"check"===t?"checked"===n.list||"unchecked"===n.list?this.quill.format("list",!1,s.default.sources.USER):this.quill.format("list","unchecked",s.default.sources.USER):this.quill.format("list",t,s.default.sources.USER)}}},e.default=p,e.addControls=v},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},i=n(28),s=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var a=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return a.label.innerHTML=n,a.container.classList.add("ql-color-picker"),[].slice.call(a.container.querySelectorAll(".ql-picker-item"),0,7).forEach((function(t){t.classList.add("ql-primary")})),a}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"buildItem",value:function(t){var n=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"buildItem",this).call(this,t);return n.style.backgroundColor=t.getAttribute("value")||"",n}},{key:"selectItem",value:function(t,n){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,n);var a=this.label.querySelector(".ql-color-label"),r=t&&t.getAttribute("data-value")||"";a&&("line"===a.tagName?a.style.stroke=r:a.style.fill=r)}}]),e}(((a=i)&&a.__esModule?a:{default:a}).default);e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},i=n(28),s=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var a=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return a.container.classList.add("ql-icon-picker"),[].forEach.call(a.container.querySelectorAll(".ql-picker-item"),(function(t){t.innerHTML=n[t.getAttribute("data-value")||""]})),a.defaultItem=a.container.querySelector(".ql-selected"),a.selectItem(a.defaultItem),a}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"selectItem",value:function(t,n){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,n),t=t||this.defaultItem,this.label.innerHTML=t.innerHTML}}]),e}(((a=i)&&a.__esModule?a:{default:a}).default);e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function(){function t(e,n){var a=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.quill=e,this.boundsContainer=n||document.body,this.root=e.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",(function(){a.root.style.marginTop=-1*a.quill.root.scrollTop+"px"})),this.hide()}return a(t,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(t){var e=t.left+t.width/2-this.root.offsetWidth/2,n=t.bottom+this.quill.root.scrollTop;this.root.style.left=e+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");var a=this.boundsContainer.getBoundingClientRect(),r=this.root.getBoundingClientRect(),o=0;if(r.right>a.right&&(o=a.right-r.right,this.root.style.left=e+o+"px"),r.left<a.left&&(o=a.left-r.left,this.root.style.left=e+o+"px"),r.bottom>a.bottom){var i=r.bottom-r.top,s=t.bottom-t.top+i;this.root.style.top=n-s+"px",this.root.classList.add("ql-flip")}return o}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),t}();e.default=r},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],a=!0,r=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(a=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);a=!0);}catch(t){r=!0,o=t}finally{try{!a&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),i=p(n(3)),s=p(n(8)),l=n(43),c=p(l),u=p(n(27)),d=n(15),h=p(n(41));function p(t){return t&&t.__esModule?t:{default:t}}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function g(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var m=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],y=function(t){function e(t,n){f(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=m);var a=v(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.quill.container.classList.add("ql-snow"),a}return g(e,t),o(e,[{key:"extendToolbar",value:function(t){t.container.classList.add("ql-snow"),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),h.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),h.default),this.tooltip=new w(this.quill,this.options.bounds),t.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},(function(e,n){t.handlers.link.call(t,!n.format.link)}))}}]),e}(c.default);y.DEFAULTS=(0,i.default)(!0,{},c.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){if(t){var e=this.quill.getSelection();if(null==e||0==e.length)return;var n=this.quill.getText(e);/^\S+@\S+\.\S+$/.test(n)&&0!==n.indexOf("mailto:")&&(n="mailto:"+n),this.quill.theme.tooltip.edit("link",n)}else this.quill.format("link",!1)}}}}});var w=function(t){function e(t,n){f(this,e);var a=v(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.preview=a.root.querySelector("a.ql-preview"),a}return g(e,t),o(e,[{key:"listen",value:function(){var t=this;r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",(function(e){t.root.classList.contains("ql-editing")?t.save():t.edit("link",t.preview.textContent),e.preventDefault()})),this.root.querySelector("a.ql-remove").addEventListener("click",(function(e){if(null!=t.linkRange){var n=t.linkRange;t.restoreFocus(),t.quill.formatText(n,"link",!1,s.default.sources.USER),delete t.linkRange}e.preventDefault(),t.hide()})),this.quill.on(s.default.events.SELECTION_CHANGE,(function(e,n,r){if(null!=e){if(0===e.length&&r===s.default.sources.USER){var o=t.quill.scroll.descendant(u.default,e.index),i=a(o,2),l=i[0],c=i[1];if(null!=l){t.linkRange=new d.Range(e.index-c,l.length());var h=u.default.formats(l.domNode);return t.preview.textContent=h,t.preview.setAttribute("href",h),t.show(),void t.position(t.quill.getBounds(t.linkRange))}}else delete t.linkRange;t.hide()}}))}},{key:"show",value:function(){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),e}(l.BaseTooltip);w.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),e.default=y},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=B(n(29)),r=n(36),o=n(38),i=n(64),s=B(n(65)),l=B(n(66)),c=n(67),u=B(c),d=n(37),h=n(26),p=n(39),f=n(40),v=B(n(56)),g=B(n(68)),m=B(n(27)),y=B(n(69)),w=B(n(70)),b=B(n(71)),_=B(n(72)),x=B(n(73)),M=n(13),C=B(M),P=B(n(74)),A=B(n(75)),k=B(n(57)),S=B(n(41)),z=B(n(28)),T=B(n(59)),j=B(n(60)),E=B(n(61)),O=B(n(108)),L=B(n(62));function B(t){return t&&t.__esModule?t:{default:t}}a.default.register({"attributors/attribute/direction":o.DirectionAttribute,"attributors/class/align":r.AlignClass,"attributors/class/background":d.BackgroundClass,"attributors/class/color":h.ColorClass,"attributors/class/direction":o.DirectionClass,"attributors/class/font":p.FontClass,"attributors/class/size":f.SizeClass,"attributors/style/align":r.AlignStyle,"attributors/style/background":d.BackgroundStyle,"attributors/style/color":h.ColorStyle,"attributors/style/direction":o.DirectionStyle,"attributors/style/font":p.FontStyle,"attributors/style/size":f.SizeStyle},!0),a.default.register({"formats/align":r.AlignClass,"formats/direction":o.DirectionClass,"formats/indent":i.IndentClass,"formats/background":d.BackgroundStyle,"formats/color":h.ColorStyle,"formats/font":p.FontClass,"formats/size":f.SizeClass,"formats/blockquote":s.default,"formats/code-block":C.default,"formats/header":l.default,"formats/list":u.default,"formats/bold":v.default,"formats/code":M.Code,"formats/italic":g.default,"formats/link":m.default,"formats/script":y.default,"formats/strike":w.default,"formats/underline":b.default,"formats/image":_.default,"formats/video":x.default,"formats/list/item":c.ListItem,"modules/formula":P.default,"modules/syntax":A.default,"modules/toolbar":k.default,"themes/bubble":O.default,"themes/snow":L.default,"ui/icons":S.default,"ui/picker":z.default,"ui/icon-picker":j.default,"ui/color-picker":T.default,"ui/tooltip":E.default},!0),e.default=a.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.IndentClass=void 0;var a,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},i=n(0),s=(a=i)&&a.__esModule?a:{default:a};function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var u=function(t){function e(){return l(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"add",value:function(t,n){if("+1"===n||"-1"===n){var a=this.value(t)||0;n="+1"===n?a+1:a-1}return 0===n?(this.remove(t),!0):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"add",this).call(this,t,n)}},{key:"canAdd",value:function(t,n){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,n)||o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,parseInt(n))}},{key:"value",value:function(t){return parseInt(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t))||void 0}}]),e}(s.default.Attributor.Class),d=new u("indent","ql-indent",{scope:s.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});e.IndentClass=d},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a,r=n(4);function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var s=function(t){function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((a=r)&&a.__esModule?a:{default:a}).default);s.blotName="blockquote",s.tagName="blockquote",e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=n(4);function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var l=function(t){function e(){return i(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,null,[{key:"formats",value:function(t){return this.tagName.indexOf(t.tagName)+1}}]),e}(((a=o)&&a.__esModule?a:{default:a}).default);l.blotName="header",l.tagName=["H1","H2","H3","H4","H5","H6"],e.default=l},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ListItem=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},o=l(n(0)),i=l(n(4)),s=l(n(25));function l(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function d(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(){return c(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return d(e,t),a(e,[{key:"format",value:function(t,n){t!==p.blotName||n?r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n):this.replaceWith(o.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(t,n){return this.parent.isolate(this.offset(this.parent),this.length()),t===this.parent.statics.blotName?(this.parent.replaceWith(t,n),this):(this.parent.unwrap(),r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t,n))}}],[{key:"formats",value:function(t){return t.tagName===this.tagName?void 0:r(e.__proto__||Object.getPrototypeOf(e),"formats",this).call(this,t)}}]),e}(i.default);h.blotName="list-item",h.tagName="LI";var p=function(t){function e(t){c(this,e);var n=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t)),a=function(e){if(e.target.parentNode===t){var a=n.statics.formats(t),r=o.default.find(e.target);"checked"===a?r.format("list","unchecked"):"unchecked"===a&&r.format("list","checked")}};return t.addEventListener("touchstart",a),t.addEventListener("mousedown",a),n}return d(e,t),a(e,null,[{key:"create",value:function(t){var n="ordered"===t?"OL":"UL",a=r(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,n);return"checked"!==t&&"unchecked"!==t||a.setAttribute("data-checked","checked"===t),a}},{key:"formats",value:function(t){return"OL"===t.tagName?"ordered":"UL"===t.tagName?t.hasAttribute("data-checked")?"true"===t.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),a(e,[{key:"format",value:function(t,e){this.children.length>0&&this.children.tail.format(t,e)}},{key:"formats",value:function(){return t={},e=this.statics.blotName,n=this.statics.formats(this.domNode),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;var t,e,n}},{key:"insertBefore",value:function(t,n){if(t instanceof h)r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n);else{var a=null==n?this.length():n.offset(this),o=this.split(a);o.parent.insertBefore(t,o)}}},{key:"optimize",value:function(t){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){if(t.statics.blotName!==this.statics.blotName){var n=o.default.create(this.statics.defaultChild);t.moveChildren(n),this.appendChild(n)}r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t)}}]),e}(s.default);p.blotName="list",p.scope=o.default.Scope.BLOCK_BLOT,p.tagName=["OL","UL"],p.defaultChild="list-item",p.allowedChildren=[h],e.ListItem=h,e.default=p},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a,r=n(56);function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var s=function(t){function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((a=r)&&a.__esModule?a:{default:a}).default);s.blotName="italic",s.tagName=["EM","I"],e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},i=n(6);function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var c=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,null,[{key:"create",value:function(t){return"super"===t?document.createElement("sup"):"sub"===t?document.createElement("sub"):o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t)}},{key:"formats",value:function(t){return"SUB"===t.tagName?"sub":"SUP"===t.tagName?"super":void 0}}]),e}(((a=i)&&a.__esModule?a:{default:a}).default);c.blotName="script",c.tagName=["SUB","SUP"],e.default=c},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a,r=n(6);function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var s=function(t){function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((a=r)&&a.__esModule?a:{default:a}).default);s.blotName="strike",s.tagName="S",e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a,r=n(6);function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var s=function(t){function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((a=r)&&a.__esModule?a:{default:a}).default);s.blotName="underline",s.tagName="U",e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},i=n(0),s=(a=i)&&a.__esModule?a:{default:a},l=n(27);function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var d=["alt","height","width"],h=function(t){function e(){return c(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"format",value:function(t,n){d.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"==typeof t&&n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return d.reduce((function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e}),{})}},{key:"match",value:function(t){return/\.(jpe?g|gif|png)$/.test(t)||/^data:image\/.+;base64/.test(t)}},{key:"sanitize",value:function(t){return(0,l.sanitize)(t,["http","https","data"])?t:"//:0"}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(s.default.Embed);h.blotName="image",h.tagName="IMG",e.default=h},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a,r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},i=n(4),s=n(27),l=(a=s)&&a.__esModule?a:{default:a};function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var d=["height","width"],h=function(t){function e(){return c(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"format",value:function(t,n){d.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return d.reduce((function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e}),{})}},{key:"sanitize",value:function(t){return l.default.sanitize(t)}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(i.BlockEmbed);h.blotName="video",h.className="ql-video",h.tagName="IFRAME",e.default=h},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.FormulaBlot=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},o=l(n(35)),i=l(n(5)),s=l(n(9));function l(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function d(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(){return c(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return d(e,t),a(e,null,[{key:"create",value:function(t){var n=r(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"==typeof t&&(window.katex.render(t,n,{throwOnError:!1,errorColor:"#f00"}),n.setAttribute("data-value",t)),n}},{key:"value",value:function(t){return t.getAttribute("data-value")}}]),e}(o.default);h.blotName="formula",h.className="ql-formula",h.tagName="SPAN";var p=function(t){function e(){c(this,e);var t=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return t}return d(e,t),a(e,null,[{key:"register",value:function(){i.default.register(h,!0)}}]),e}(s.default);e.FormulaBlot=h,e.default=p},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.CodeToken=e.CodeBlock=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},o=l(n(0)),i=l(n(5)),s=l(n(9));function l(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function d(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(){return c(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return d(e,t),a(e,[{key:"replaceWith",value:function(t){this.domNode.textContent=this.domNode.textContent,this.attach(),r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t)}},{key:"highlight",value:function(t){var e=this.domNode.textContent;this.cachedText!==e&&((e.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=t(e),this.domNode.normalize(),this.attach()),this.cachedText=e)}}]),e}(l(n(13)).default);h.className="ql-syntax";var p=new o.default.Attributor.Class("token","hljs",{scope:o.default.Scope.INLINE}),f=function(t){function e(t,n){c(this,e);var a=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if("function"!=typeof a.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var r=null;return a.quill.on(i.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(r),r=setTimeout((function(){a.highlight(),r=null}),a.options.interval)})),a.highlight(),a}return d(e,t),a(e,null,[{key:"register",value:function(){i.default.register(p,!0),i.default.register(h,!0)}}]),a(e,[{key:"highlight",value:function(){var t=this;if(!this.quill.selection.composing){this.quill.update(i.default.sources.USER);var e=this.quill.getSelection();this.quill.scroll.descendants(h).forEach((function(e){e.highlight(t.options.highlight)})),this.quill.update(i.default.sources.SILENT),null!=e&&this.quill.setSelection(e,i.default.sources.SILENT)}}}]),e}(s.default);f.DEFAULTS={highlight:null==window.hljs?null:function(t){return window.hljs.highlightAuto(t).value},interval:1e3},e.CodeBlock=h,e.CodeToken=p,e.default=f},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BubbleTooltip=void 0;var a=function t(e,n,a){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,a)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(a):void 0},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=d(n(3)),i=d(n(8)),s=n(43),l=d(s),c=n(15),u=d(n(41));function d(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function f(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var v=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],g=function(t){function e(t,n){h(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=v);var a=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.quill.container.classList.add("ql-bubble"),a}return f(e,t),r(e,[{key:"extendToolbar",value:function(t){this.tooltip=new m(this.quill,this.options.bounds),this.tooltip.root.appendChild(t.container),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),u.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),u.default)}}]),e}(l.default);g.DEFAULTS=(0,o.default)(!0,{},l.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){t?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var m=function(t){function e(t,n){h(this,e);var a=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.quill.on(i.default.events.EDITOR_CHANGE,(function(t,e,n,r){if(t===i.default.events.SELECTION_CHANGE)if(null!=e&&e.length>0&&r===i.default.sources.USER){a.show(),a.root.style.left="0px",a.root.style.width="",a.root.style.width=a.root.offsetWidth+"px";var o=a.quill.getLines(e.index,e.length);if(1===o.length)a.position(a.quill.getBounds(e));else{var s=o[o.length-1],l=a.quill.getIndex(s),u=Math.min(s.length()-1,e.index+e.length-l),d=a.quill.getBounds(new c.Range(l,u));a.position(d)}}else document.activeElement!==a.textbox&&a.quill.hasFocus()&&a.hide()})),a}return f(e,t),r(e,[{key:"listen",value:function(){var t=this;a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){t.root.classList.remove("ql-editing")})),this.quill.on(i.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!t.root.classList.contains("ql-hidden")){var e=t.quill.getSelection();null!=e&&t.position(t.quill.getBounds(e))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(t){var n=a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"position",this).call(this,t),r=this.root.querySelector(".ql-tooltip-arrow");if(r.style.marginLeft="",0===n)return n;r.style.marginLeft=-1*n-r.offsetWidth/2+"px"}}]),e}(s.BaseTooltip);m.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),e.BubbleTooltip=m,e.default=g},function(t,e,n){t.exports=n(63)}]).default},t.exports=n()})),zd=ii((function(t,e){var n;t.exports=(n=Sd,function(t){function e(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return t[a].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,a){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:a})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=2)}([function(t,e){t.exports=n},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=n(4),r=n.n(a),o=n(6),i=n(5)(r.a,o.a,!1,null,null,null);e.default=i.exports},function(t,e,n){function a(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.install=e.quillEditor=e.Quill=void 0;var r=a(n(0)),o=a(n(1)),i=window.Quill||r.default,s=function(t,e){e&&(o.default.props.globalOptions.default=function(){return e}),t.component(o.default.name,o.default)},l={Quill:i,quillEditor:o.default,install:s};e.default=l,e.Quill=i,e.quillEditor=o.default,e.install=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default={theme:"snow",boundary:document.body,modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],["clean"],["link","image","video"]]},placeholder:"Insert text here ...",readOnly:!1}},function(t,e,n){function a(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=a(n(0)),o=a(n(3)),i=window.Quill||r.default;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),a=1;a<arguments.length;a++){var r=arguments[a];if(null!=r)for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])}return n},writable:!0,configurable:!0}),e.default={name:"quill-editor",data:function(){return{_options:{},_content:"",defaultOptions:o.default}},props:{content:String,value:String,disabled:{type:Boolean,default:!1},options:{type:Object,required:!1,default:function(){return{}}},globalOptions:{type:Object,required:!1,default:function(){return{}}}},mounted:function(){this.initialize()},beforeDestroy:function(){this.quill=null,delete this.quill},methods:{initialize:function(){var t=this;this.$el&&(this._options=Object.assign({},this.defaultOptions,this.globalOptions,this.options),this.quill=new i(this.$refs.editor,this._options),this.quill.enable(!1),(this.value||this.content)&&this.quill.pasteHTML(this.value||this.content),this.disabled||this.quill.enable(!0),this.quill.on("selection-change",(function(e){e?t.$emit("focus",t.quill):t.$emit("blur",t.quill)})),this.quill.on("text-change",(function(e,n,a){var r=t.$refs.editor.children[0].innerHTML,o=t.quill,i=t.quill.getText();"<p><br></p>"===r&&(r=""),t._content=r,t.$emit("input",t._content),t.$emit("change",{html:r,text:i,quill:o})})),this.$emit("ready",this.quill))}},watch:{content:function(t,e){this.quill&&(t&&t!==this._content?(this._content=t,this.quill.pasteHTML(t)):t||this.quill.setText(""))},value:function(t,e){this.quill&&(t&&t!==this._content?(this._content=t,this.quill.pasteHTML(t)):t||this.quill.setText(""))},disabled:function(t,e){this.quill&&this.quill.enable(!t)}}}},function(t,e){t.exports=function(t,e,n,a,r,o){var i,s=t=t||{},l=typeof t.default;"object"!==l&&"function"!==l||(i=t,s=t.default);var c,u="function"==typeof s?s.options:s;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),r&&(u._scopeId=r),o?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=c):a&&(c=a),c){var d=u.functional,h=d?u.render:u.beforeCreate;d?(u._injectStyles=c,u.render=function(t,e){return c.call(e),h(t,e)}):u.beforeCreate=h?[].concat(h,c):[c]}return{esModule:i,exports:s,options:u}}},function(t,e,n){var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"quill-editor"},[t._t("toolbar"),t._v(" "),n("div",{ref:"editor"})],2)},r={render:a,staticRenderFns:[]};e.a=r}]))})),Td={name:"PInput",components:{PFieldResizer:kd,PSpinner:_d,PIcon:k,quillEditor:zd.quillEditor},props:{id:{type:[String,Number],default:"PolarisTextField".concat((new Date).getUTCMilliseconds())},value:{type:[String,Number,Object,Array,Boolean,FileList],default:null},type:r({type:String},A("type",["text","email","number","password","search","tel","url","date","datetime-local","month","time","week","currency","file"])),align:{type:String},placeholder:{type:String},multiline:{type:[Boolean,Number]},richEditor:{type:Boolean},disabled:{type:Boolean},readOnly:{type:Boolean},showInput:{type:Boolean,default:!0},clearable:{type:Boolean},showCharacterCount:{type:Boolean},prefixClass:{type:String},autoFocus:{type:Boolean},autoComplete:{type:Boolean},labelClass:{type:String},inputClass:{type:String},suffix:{type:String},prefix:{type:String},name:{type:String},hasError:{type:Boolean},maxLength:{type:[String,Number]},minLength:{type:[String,Number]},step:{type:Number},minHeight:{type:Number,default:0},min:{type:[String,Number]},max:{type:[String,Number]},describedBy:{type:String},multiple:{type:Boolean},accept:{type:String},label:{type:String},floatingLabel:{type:Boolean}},data:function(){return{content:null!==this.value?this.value:"",height:this.minHeight,editorConfig:{modules:{toolbar:[[{header:[1,2,3,4,5,6,!1]},"blockquote"],["bold","italic","underline",{color:[]},{background:[]}],[{align:[]}],["link","image","video"],[{list:"ordered"},{list:"bullet"},{indent:"-1"},{indent:"+1"},"clean"]],syntax:{highlight:function(t){return t}}}},characterCountLabel:this.maxLength||"characterCountLabel",characterCount:this.value&&this.value.length}},computed:{className:function(){return g("Polaris-TextField",Boolean(this.content)&&"Polaris-TextField--hasValue",this.disabled&&"Polaris-TextField--disabled",this.readOnly&&"Polaris-TextField--readOnly",this.hasError&&"Polaris-TextField--error")},inputClassName:function(){return g(this.floatingLabel?"Polaris-FloatingLabels__Input":"Polaris-TextField__Input",this.inputClass,this.align&&"Polaris-TextField__Input Polaris-TextField__Input--align".concat(this.textAlign),this.floatingLabel&&this.multiline&&"Polaris-FloatingLabel__TextArea",this.floatingLabel&&this.showPrefix&&"Polaris-FloatingLabels__Input--prefix",this.floatingLabel&&this.showSuffix&&"Polaris-FloatingLabels__Input--suffix",(this.showCharacterCount||"number"===this.type)&&"Polaris-FloatingLabels__Input--number",this.floatingLabel&&this.hasError&&"Polaris-FloatingLabels__Input--error")},characterCountClassName:function(){return g("Polaris-TextField__CharacterCount",this.multiline&&"Polaris-TextField__AlignFieldBottom ")},clearButtonClassName:function(){return g("Polaris-TextField__ClearButton",this.multiline&&"Polaris-TextField__AlignFieldBottom ")},floatingLabelClassName:function(){return g("Polaris-Floating--label","Polaris-Floating--label--visible",this.showPrefix&&"Polaris-Floating--label__prefix",this.showSuffix&&"Polaris-Floating--label__suffix")},characterCountText:function(){return this.maxLength?"".concat(this.characterCount,"/").concat(this.maxLength):this.characterCount},inputType:function(){return"currency"===this.type?"text":this.type},showPrefix:function(){return this.prefix||this.$slots.prefix},showSuffix:function(){return this.suffix||this.$slots.suffix},textAlign:function(){return this.align.replace(/^_*(.)|_+(.)/g,(function(t,e,n){return e?e.toUpperCase():" "+n.toUpperCase()}))},labelledBy:function(){var t=[this.id+"Label"];return this.showPrefix&&t.push(this.id+"Prefix"),this.showSuffix&&t.push(this.id+"Suffix"),t.join(" ")},computedHeight:{get:function(){return this.height},set:function(t){this.height=t}},computedValue:{get:function(){return"number"===this.type?Number(this.content):this.content},set:function(t){"number"===this.type?this.content=Number(t):this.content=t,this.$emit("input","number"===this.type?Number(t):t)}},computedStyle:function(){return{height:this.multiline&&this.computedHeight?this.computedHeight+"px":null,overflow:this.multiline&&this.computedHeight?"hidden":null}},computedPlaceholder:function(){return this.floatingLabel?"Enter input":this.placeholder}},methods:{onInput:function(t){"file"!==this.type?t.target&&(this.computedValue=t.target.value):this.computedValue=t.target.files},onClear:function(t){this.computedValue=void 0},handleNumberChange:function(t){var e=this.computedValue?parseFloat(this.computedValue):0,n=function(t){return(t.toString().split(".")[1]||[]).length};if(!isNaN(e)&&!this.disabled){var a=this.min||-1/0,r=this.max||1/0,o=this.step||1,i=Math.max(n(e),n(o)),s=Math.min(Number(r),Math.max(e+t*o,Number(a)));isNaN(s)||(this.computedValue=s.toFixed(i))}},handleExpandingResize:function(t){this.computedHeight=t<this.minHeight?this.minHeight:t},normalizeAutoComplete:function(t){return!0===t?"on":!1===t?"off":t}},watch:{value:function(t,e){this.content=t,this.characterCount=t?t.length:0}}},jd=Td,Ed=function(t){t&&t("data-v-1f41cf22_0",{source:'.ql-container.ql-snow{background:#fff}.ql-toolbar.ql-snow{background:#fafafa;padding:5px}.quill-editor.editor{width:100%}.ql-snow .ql-picker{font-weight:400}.ql-toolbar.ql-snow>.ql-formats:not(:first-child):before{content:"";height:calc(100% + 4px);width:1px;background:#c4c4c4;position:absolute;display:block;top:-2px;left:-10px}.ql-toolbar.ql-snow .ql-formats{position:relative;margin-right:10px;margin-left:10px}',map:void 0,media:void 0})},Od=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.showInput,expression:"showInput"}],class:t.className},[t.showPrefix?n("div",{staticClass:"Polaris-TextField__Prefix",attrs:{id:t.id+"Prefix"}},[t._v("\n "+t._s(t.prefix)+"\n "),t.$slots.prefix?t._t("prefix"):t._e()],2):t._e(),t._v(" "),n("div",{staticStyle:{width:"100%"}},[t.richEditor?n("quill-editor",{ref:"myTextEditor",staticClass:"editor",attrs:{id:t.id,options:t.editorConfig,disabled:t.disabled,readonly:t.readOnly,autofocus:t.autoFocus,placeholder:t.computedPlaceholder,autocomplete:t.normalizeAutoComplete(t.autoComplete),"aria-describedby":t.describedBy,"aria-labelledby":t.labelledBy,"aria-invalid":t.hasError},on:{input:t.onInput},model:{value:t.computedValue,callback:function(e){t.computedValue=e},expression:"computedValue"}}):t.multiline?n("textarea",{class:t.inputClassName,style:t.computedStyle,attrs:{name:t.name,id:t.id,disabled:t.disabled,readonly:t.readOnly,autofocus:t.autoFocus,minlength:t.minLength,maxlength:t.maxLength,placeholder:t.computedPlaceholder,autocomplete:t.normalizeAutoComplete(t.autoComplete),"aria-describedby":t.describedBy,"aria-labelledby":t.labelledBy,"aria-invalid":t.hasError},domProps:{value:t.computedValue,textContent:t._s(t.multiline?t.computedValue:"")},on:{input:t.onInput}}):"file"===t.type?n("input",{ref:"input",class:t.inputClassName,attrs:{name:t.name,id:t.id,disabled:t.disabled,readonly:t.readOnly,type:"file",multiple:t.multiple,accept:t.accept,"aria-describedby":t.describedBy,"aria-labelledby":t.labelledBy,"aria-invalid":t.hasError},on:{change:t.onInput}}):n("input",{ref:"input",class:t.inputClassName,attrs:{name:t.name,id:t.id,disabled:t.disabled,readonly:t.readOnly,autofocus:t.autoFocus,placeholder:t.computedPlaceholder,autocomplete:t.normalizeAutoComplete(t.autoComplete),min:t.min,max:t.max,step:t.step,minlength:t.minLength,maxlength:t.maxLength,type:t.inputType,"aria-describedby":t.describedBy,"aria-labelledby":t.labelledBy,"aria-invalid":t.hasError},domProps:{value:t.computedValue},on:{input:t.onInput}}),t._v(" "),t.floatingLabel&&!t.richEditor&&"file"!==t.type?n("label",{class:t.floatingLabelClassName,attrs:{for:t.id}},[t._t("label",(function(){return[t._v("\n "+t._s(t.label)+"\n ")]}))],2):t._e(),t._v(" "),t.richEditor?t._e():n("div",{staticClass:"Polaris-TextField__Backdrop"})],1),t._v(" "),t.showSuffix?n("div",{staticClass:"Polaris-TextField__Suffix",attrs:{id:t.id+"Suffix"}},[t._v("\n "+t._s(t.suffix)+"\n "),t.$slots.suffix?t._t("suffix"):t._e()],2):t._e(),t._v(" "),t.showCharacterCount?n("div",{class:t.characterCountClassName,attrs:{id:"CharacterCounter","aria-label":t.characterCountLabel}},[t._v("\n "+t._s(t.characterCountText)+"\n ")]):t._e(),t._v(" "),t.computedValue&&t.clearable?n("button",{class:t.clearButtonClassName,attrs:{type:"button"},on:{click:t.onClear}},[n("span",{staticClass:"Polaris-VisuallyHidden"},[t._v("Clear")]),t._v(" "),n("PIcon",{attrs:{source:"CircleCancelMinor",color:"base"}})],1):t._e(),t._v(" "),"number"===t.type?n("PSpinner",{on:{change:t.handleNumberChange}}):t._e(),t._v(" "),t.multiline?n("PFieldResizer",{attrs:{contents:t.value||t.placeholder,"current-height":t.computedHeight,"minimum-lines":"number"==typeof t.multiline?t.multiline:1},on:{heightchange:t.handleExpandingResize}}):t._e()],1)},staticRenderFns:[]},Ed,jd,undefined,false,undefined,!1,Ac,void 0,void 0),Ld=Od,Bd={name:"PConnectedItem",props:{position:r({type:String},A("position",["Left","Primary","Right"])),children:{type:String},focused:{type:Boolean}},computed:{className:function(){return g("Polaris-Connected__Item",this.focused&&"Polaris-Connected__Item--focused","Primary"===this.position&&"Polaris-Connected__Item--primary","Primary"!==this.position&&"Polaris-Connected__Item--connection")}}},Hd=Bd,Nd=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:t.className,on:{blur:function(e){t.focused=!1},focus:function(e){t.focused=!0}}},[t.$slots.children?t._e():t._t("default",(function(){return[t._v(t._s(t.children))]})),t._v(" "),t._t("children")],2)},staticRenderFns:[]},undefined,Hd,undefined,false,undefined,!1,void 0,void 0,void 0),Rd=Nd,Vd={name:"PConnected",components:{PConnectedItem:Rd},props:{left:{type:String},right:{type:String},children:{type:String}}},Id=Vd,qd=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"Polaris-Connected"},[t.$slots.left||t.left?n("PConnectedItem",{attrs:{position:"Left"}},[t._t("left",(function(){return[t._v(t._s(t.left))]}))],2):t._e(),t._v(" "),n("PConnectedItem",{attrs:{position:"Primary"}},[t.$slots.children?t._e():t._t("default",(function(){return[t._v("\n "+t._s(t.children)+"\n ")]})),t._v(" "),t._t("children")],2),t._v(" "),t.$slots.right||t.right?n("PConnectedItem",{attrs:{position:"Right"}},[t._t("right",(function(){return[t._v(t._s(t.right))]}))],2):t._e()],1)},staticRenderFns:[]},undefined,Id,undefined,false,undefined,!1,void 0,void 0,void 0),Dd=qd,Fd={name:"PFieldError",components:{PIcon:k},props:{error:{type:String,default:null}}},$d=Fd,Ud=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"Polaris-Labelled__Error"},[n("div",{staticClass:"Polaris-InlineError",attrs:{id:"PolarisTextField6Error"}},[n("div",{staticClass:"Polaris-InlineError__Icon"},[n("PIcon",{attrs:{source:"AlertMinor"}})],1),t._v("\n "+t._s(t.error)+"\n ")])])},staticRenderFns:[]},undefined,$d,"data-v-4535eab1",false,undefined,!1,void 0,void 0,void 0),Wd=Ud,Gd={name:"PTextField",components:{PInput:Ld,PConnected:Dd,PFieldError:Wd},props:{label:{type:String,default:null},id:{type:[String,Number],default:"PolarisTextField".concat((new Date).getUTCMilliseconds())},labelClass:{type:String,default:null},helpText:{type:String,default:null},connectedLeft:{type:String,default:null},connectedRight:{type:String,default:null},connected:{type:Boolean,default:!1},error:{type:String,default:null},labelHidden:{type:Boolean,default:!1},emptyLabel:{type:Boolean,default:!1},richEditor:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},accept:{type:String,default:null},type:{type:String},floatingLabel:{type:Boolean,default:!1},readOnly:{type:Boolean}},computed:{className:function(){return g(this.computedLabelHidden&&"Polaris-Labelled--hidden",this.floatingLabel&&!this.richEditor&&"file"!==this.type&&"Polaris-Floating")},labelClassName:function(){return g(!this.floatingLabel&&"Polaris-Labelled__LabelWrapper")},computedLabelHidden:function(){return this.floatingLabel||this.labelHidden}},methods:{handleInput:function(t){this.$emit("input",t)}}},Zd=Gd,Yd=function(t){t&&t("data-v-0b34995c_0",{source:".ck.ck-editor{position:relative;width:100%}",map:void 0,media:void 0})},Kd=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className},[!t.floatingLabel&&(t.label||t.emptyLabel||t.$slots.hasOwnProperty("label"))?n("div",{staticClass:"Polaris-Labelled__LabelWrapper",class:t.labelClass},[t._t("label",(function(){return[n("div",{staticClass:"Polaris-Label"},[n("label",{staticClass:"Polaris-Label__Text",attrs:{id:t.id+"Label",for:t.id},domProps:{innerHTML:t._s(t.emptyLabel?"&nbsp":t.label)}})])]}))],2):t._e(),t._v(" "),t.connected?n("PConnected",[t.$slots.hasOwnProperty("connectedLeft")?n("template",{slot:"left"},[t._t("connectedLeft",(function(){return[t._v(t._s(t.connectedLeft))]}))],2):t._e(),t._v(" "),t.$slots.hasOwnProperty("connectedRight")?n("template",{slot:"right"},[t._t("connectedRight",(function(){return[t._v(t._s(t.connectedRight))]}))],2):t._e(),t._v(" "),n("PInput",t._g(t._b({attrs:{hasError:!!t.error,id:t.id}},"PInput",[t.$attrs,t.$props],!1),t.$listeners),[t._t("prefix",null,{slot:"prefix"}),t._v(" "),t._t("suffix",null,{slot:"suffix"})],2)],2):n("PInput",t._g(t._b({attrs:{hasError:!!t.error,id:t.id,floatingLabel:t.floatingLabel,label:t.label}},"PInput",[t.$attrs,t.$props],!1),t.$listeners),[t._t("prefix",null,{slot:"prefix"}),t._v(" "),t._t("label",null,{slot:"label"}),t._v(" "),t._t("suffix",null,{slot:"suffix"})],2),t._v(" "),t.helpText?n("div",{staticClass:"Polaris-Labelled__HelpText"},[t._v(t._s(t.helpText))]):t._e(),t._v(" "),t._t("error",(function(){return[t.error?n("PFieldError",{attrs:{error:t.error}}):t._e()]}))],2)},staticRenderFns:[]},Yd,Zd,undefined,false,undefined,!1,Ac,void 0,void 0),Xd=Kd,Qd={value:{type:[String,Number],required:!0},key:{type:[String,Number],required:!0}},Jd={name:"PTag",components:{PIcon:k},props:{tag:r({type:Object,default:function(){return{}}},q("tag",Qd)),removable:{type:Boolean,default:!1},size:r({type:String,default:"medium"},A("size",["small","medium",null,""]))},computed:{className:function(){return g("Polaris-Tag",this.removable&&"Polaris-Tag--removable","small"===this.size&&"Polaris-Tag--small")}},methods:{handleRemove:function(){this.$emit("remove-tag",this.tag.key)}}},th=Jd,eh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{class:t.className},[n("span",{staticClass:"Polaris-Tag__TagText",attrs:{title:t.tag.value}},[t._v(t._s(t.tag.value))]),t._v(" "),t.removable?n("button",{staticClass:"Polaris-Tag__Button",attrs:{type:"button","aria-label":"Remove "+t.tag.value},on:{click:t.handleRemove}},[n("PIcon",{attrs:{source:"CancelSmallMinor"}})],1):t._e()])},staticRenderFns:[]},undefined,th,undefined,false,undefined,!1,void 0,void 0,void 0),nh=eh,ah={name:"PFilterItem"},rh=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"Polaris-Filters-ConnectedFilterControl__Item"},[t._t("default")],2)},staticRenderFns:[]},undefined,ah,undefined,false,undefined,!1,void 0,void 0,void 0),oh=rh,ih={name:"PFilterItemWrapper",props:{position:{type:String}},computed:{className:function(){return g("center"===this.position&&"Polaris-Filters-ConnectedFilterControl__CenterContainer","right"===this.position&&"Polaris-Filters-ConnectedFilterControl__RightContainer")}},render:function(t){return t("div",{class:this.className},ee.wrapNodesWithComponent(t,this.$slots.default,oh))}},sh=ih,lh=y({},undefined,sh,undefined,undefined,undefined,!1,void 0,void 0,void 0),ch=lh,uh={singular:{type:String,required:!0},plural:{type:String,required:!0}},dh={key:{type:String,required:!0},label:{type:String,required:!0},filter:{type:String,required:!0},shortcut:Boolean,disabled:Boolean,hideClearButton:Boolean},hh={name:"PFilter",components:{PTextField:Xd,PIcon:k,PTag:nh,PFilterItemWrapper:ch},props:{resourceName:r({type:Object,default:function(){return{}}},q("resourceName",uh)),resourceTitle:{type:String,default:null},inputFilter:{type:String,default:null},appliedFilters:{type:Array,default:function(){return[]}},queryValue:{type:String,default:null},queryPlaceholder:{type:String,default:null},focused:{type:Boolean,default:!1},filters:r({type:Array,default:function(){return[]}},R("filters",dh)),disabled:{type:Boolean,default:!1},helpText:{type:String,default:null},hideTags:{type:Boolean,default:!1},hideQueryField:{type:Boolean,default:!1}},data:function(){return{appliedFiltersCount:this.appliedFilters?this.appliedFilters.length:0}},computed:{prefix:function(){return this.resourceName.plural?"".concat(this.resourceName.plural.toLowerCase()):this.resourceName.plural},resource:function(){var t=this.resourceName;return t.plural?"Filter "+t.plural.toLowerCase():t.singular?"Filter "+t.singular.toLowerCase():""}},methods:{handleQueryChange:function(t){this.$emit("queryChange",t)},handleQueryClear:function(){this.$emit("queryClear")},handleQueryClearAll:function(){this.$emit("queryClearAll")},handleQueryBlur:function(){this.$emit("queryBlur")},handleQueryFocus:function(){this.$emit("queryFocus")}},mounted:function(){null!=this.resourceTitle&&console.error("Deprecation Notice: `resourceTitle` will be removed in version 4.0.0, use `resourceName` instead."),null!=this.inputFilter&&console.error("Deprecation Notice: `inputFilter` will be removed in version 4.0.0, use `queryValue` instead.")}},ph=hh,fh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"Polaris-Filters"},[n("div",{staticClass:"Polaris-Filters-ConnectedFilterControl__Wrapper"},[n("div",{staticClass:"Polaris-Filters-ConnectedFilterControl Polaris-Filters-ConnectedFilterControl--right"},[t.hideQueryField?t._e():n("PFilterItemWrapper",{attrs:{position:"center"}},[n("PTextField",t._g({attrs:{id:"Polaris-Input-Filter",connected:"",labelHidden:"",showPrefix:"",showClearButton:"",placeholder:t.queryPlaceholder||t.resourceTitle||t.resource,value:t.queryValue||t.inputFilter,autoFocus:t.focused,label:t.queryPlaceholder||t.resourceTitle||t.resource,clearable:"",disabled:t.disabled},on:{input:t.handleQueryChange,blur:t.handleQueryBlur,focus:t.handleQueryFocus}},t.$listeners),[n("PIcon",{attrs:{slot:"prefix",source:"SearchMinor"},slot:"prefix"})],1)],1),t._v(" "),t.$slots.hasOwnProperty("default")?n("PFilterItemWrapper",{attrs:{position:"right"}},[t._t("default")],2):t._e()],1),t._v(" "),n("div",{staticClass:"Polaris-Filters-ConnectedFilterControl__AuxiliaryContainer"},[t._t("auxiliaryContainer")],2)]),t._v(" "),t.hideTags?t._e():n("div",{staticClass:"Polaris-Filters__TagsContainer"},t._l(t.appliedFilters,(function(e,a){return n("PTag",t._g({key:a,attrs:{removable:"",tag:e}},t.$listeners))})),1)])])},staticRenderFns:[]},undefined,ph,undefined,false,undefined,!1,void 0,void 0,void 0),vh=fh,gh={name:"PCardHeader",components:{PStack:Nu,PStackItem:Ou,PHeading:at,PButtonGroup:ae,PButton:nt,PLink:nd},props:{title:{type:String,default:null},shortDescription:{type:String,default:null},actions:{type:[Array,String],default:null}}},mh=gh,yh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"Polaris-Card__Header"},[n("PStack",{attrs:{alignment:"baseline"}},[n("PStackItem",{attrs:{fill:""}},[t._t("title",(function(){return[n("PHeading",[t._v(t._s(t.title))])]}))],2),t._v(" "),n("PStackItem",[t.actions?n("PButtonGroup",{attrs:{connectedTop:""}},t._l(t.actions,(function(e,a){return n(e.to?"PLink":"PButton",t._g({key:a,tag:"component",attrs:{plain:"",href:e.url?e.url:null,to:e.to?e.to:null}},e.onAction?{click:e.onAction}:{}),[t._v("\n "+t._s(e.content)+"\n ")])})),1):t._e()],1),t._v(" "),t.$slots.hasOwnProperty("children")?n("PStackItem",[t._t("children")],2):t._e()],1),t._v(" "),n("PStack",[n("PStackItem",[n("span",{staticClass:"Polaris-Card__TagLine"},[[t._t("short_description",(function(){return[t._v("\n "+t._s(t.shortDescription)+"\n ")]}))]],2)])],1)],1)},staticRenderFns:[]},undefined,mh,undefined,false,undefined,!1,void 0,void 0,void 0),wh=yh,bh={name:"PSubheading",props:{element:r({type:String,default:"h3"},A("element",["h1","h2","h3","h4","h5","h6","p"]))},computed:{className:function(){return"Polaris-Subheading"}}},_h=bh,xh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className},[t.title||t.$slots.hasOwnProperty("title")?n("div",{staticClass:"Polaris-Card__SectionHeader"},[t._t("title",(function(){return[n("PSubheading",t._b({},"PSubheading",t.$attrs,!1),[t._v("\n "+t._s(t.title)+"\n ")])]}))],2):t._e(),t._v(" "),t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PCardSection",components:{PSubheading:y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)(t.element,{tag:"component",class:t.className},[t._t("default")],2)},staticRenderFns:[]},undefined,_h,undefined,false,undefined,!1,void 0,void 0,void 0)},props:{title:{type:String},subdued:{type:Boolean},fullWidth:{type:Boolean}},computed:{className:function(){return g("Polaris-Card__Section",this.subdued&&"Polaris-Card__Section--subdued",this.fullWidth&&"Polaris-Card__Section--fullWidth")}}},undefined,false,undefined,!1,void 0,void 0,void 0),Mh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className},[t.$slots.hasOwnProperty("title")||t.title||t.$slots.hasOwnProperty("short_description")||t.shortDescription?[n("PCardHeader",{attrs:{actions:t.actions}},[t.$slots.hasOwnProperty("title")||t.title?t._t("title",(function(){return[n("PHeading",[t._v(t._s(t.title))])]}),{slot:"title"}):t._e(),t._v(" "),t.$slots.hasOwnProperty("short_description")||t.shortDescription?t._t("short_description",(function(){return[n("PCaption",[t._v(t._s(t.shortDescription))])]}),{slot:"short_description"}):t._e(),t._v(" "),t.$slots.hasOwnProperty("children")?n("template",{slot:"children"},[t._t("children")],2):t._e()],2)]:t._e(),t._v(" "),t.$slots.hasOwnProperty("default")?[t.sectioned?[n("PCardSection",[t._t("default")],2)]:[t._t("default")]]:n("div",[t._t("default")],2),t._v(" "),t.$slots.hasOwnProperty("footer")?[n("PCardFooter",[t._t("footer")],2)]:t._e()],2)},staticRenderFns:[]},undefined,{name:"PCard",components:{PCardFooter:y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"Polaris-Card__Footer"},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PCardFooter"},undefined,false,undefined,!1,void 0,void 0,void 0),PCardHeader:wh,PCardSection:xh,PHeading:at,PCaption:y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("p",{staticClass:"Polaris-Caption",attrs:{id:t.id}},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PCaption",props:{id:{type:[String,Number],default:null}}},undefined,false,undefined,!1,void 0,void 0,void 0),PButtonGroup:ae,PLink:nd},props:{title:{type:String,default:null},shortDescription:{type:String,default:null},subdued:{type:Boolean,default:!1},sectioned:{type:Boolean,default:!1},actions:{type:[Array,String],default:null}},computed:{className:function(){return g("Polaris-Card",this.subdued&&"Polaris-Card__Section--subdued")}}},undefined,false,undefined,!1,void 0,void 0,void 0),Ch=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("PCard",[n("PCardSection",[n("div",{class:t.className},[n("div",{staticClass:"Polaris-EmptyState__Section"},[n("div",{staticClass:"Polaris-EmptyState__DetailsContainer"},[n("div",{staticClass:"Polaris-EmptyState__Details"},[n("PTextContainer",[n("PDisplayText",{attrs:{size:"small"}},[t._t("heading",(function(){return[t._v("\n "+t._s(t.heading)+"\n ")]}))],2),t._v(" "),n("div",{staticClass:"Polaris-EmptyState__Content"},[t._t("default")],2)],1),t._v(" "),t.hasAction?n("div",{staticClass:"Polaris-EmptyState__Actions"},[t._t("actions",(function(){return[n("PStack",{attrs:{spacing:"tight",distribution:"center",alignment:"center"}},[Object.keys(t.primaryAction).length>0?n("PStackItem",[n("PButton",{attrs:{primary:""},on:{click:function(e){return t.primaryAction.onAction()}}},[t._v(t._s(t.primaryAction.content))])],1):t._e(),t._v(" "),Object.keys(t.secondaryAction).length>0?n("PStackItem",[n("PButton",{on:{click:function(e){return t.secondaryAction.onAction()}}},[t._v(t._s(t.secondaryAction.content))])],1):t._e()],1)]}))],2):t._e(),t._v(" "),n("div",{staticClass:"Polaris-EmptyState__FooterContent"},[t._t("footer")],2)],1)]),t._v(" "),n("div",{staticClass:"Polaris-EmptyState__ImageContainer"},[t._t("image",(function(){return[n("PImage",{staticClass:"Polaris-EmptyState__Image",attrs:{source:t.image}})]}))],2)])])])],1)},staticRenderFns:[]},undefined,{name:"PEmptyState",components:{PImage:iu,PCard:Mh,PCardSection:xh,PTextContainer:Uu,PDisplayText:nu,PStack:Nu,PStackItem:Ou,PButton:nt},props:{heading:{type:String,default:null},fullWidth:{type:Boolean,default:!1},imageContained:{type:Boolean,default:!1},image:{type:String,default:null},primaryAction:r({type:Object,default:function(){return{}}},q("primaryAction",r(r({},$),U))),secondaryAction:r({type:Object,default:function(){return{}}},q("secondaryAction",X))},computed:{className:function(){return g("Polaris-EmptyState","Polaris-EmptyState--withinContentContainer",this.fullWidth&&"Polaris-EmptyState--fullWidth",this.imageContained&&"Polaris-EmptyState--imageContained")},hasAction:function(){return this.primaryAction||this.secondaryAction}},methods:{styleClass:function(t){if("string"==typeof t){var e=["one","two","three","four","five","six"];return t?e[t.charCodeAt(0)%e.length]:e[0]}}}},undefined,false,undefined,!1,void 0,void 0,void 0),Ph={content:{type:String,required:!0},value:{type:String,required:!0},type:{type:String,required:!0},sortable:Boolean,width:String},Ah={singular:{type:String,required:!0},plural:{type:String,required:!0}},kh=["ascending","descending","none"],Sh={value:{type:String,required:!0},direction:{type:String,required:!0,expectedValues:kh}},zh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.$slots.hasOwnProperty("filter")||t.hasFilter?n("PFilter",t._b({attrs:{resourceName:t.resource},on:{"remove-tag":t.onRemoveFilter,input:t.onFilterInputChanged}},"PFilter",t.$attrs,!1),[t.$slots.hasOwnProperty("filter")?t._t("filter"):t._e(),t._v(" "),n("template",{slot:"auxiliaryContainer"},[t._t("auxiliaryContainer")],2)],2):t._e(),t._v(" "),t.rows.length>0||t.$slots.hasOwnProperty("body")?n("div",{staticClass:"Polaris-DataTable"},[n("div",{staticClass:"Polaris-DataTable__ScrollContainer"},[n("table",{staticClass:"Polaris-DataTable__Table"},[n("thead",{ref:"thead"},[t._t("head",(function(){return[[n("tr",[t._l(t.headings,(function(e,a){return n("PDataTableCellNew",{key:"heading-cell-"+a,attrs:{header:"",content:e.content,value:e.value,width:e.width,sort:t.sort,sortable:e.sortable,"default-sort-direction":t.defaultSortDirection,"content-type":e.type?e.type:t.columnContentTypes[a],"first-column":0===a,truncate:t.truncate,verticalAlign:t.verticalAlign},on:{"sort-changed":t.handleSortChange}})})),t._v(" "),t.hasActions?n("PDataTableCell",{attrs:{header:"",content:"Actions",sortable:!1,contentType:"text",firstColumn:!1,truncate:!1,verticalAlign:t.verticalAlign}}):t._e()],2),t._v(" "),t.showTotalsInFooter?t._e():n("tr",[t._l(t.totals,(function(e,a){return n("PDataTableCellNew",{key:"total-cell-"+a,attrs:{total:"",value:0===a?t.totalsRowHeading:e,"content-type":""!==e&&a>0?"numeric":t.columnContentTypes[a],"first-column":0===a,truncate:t.truncate,"vertical-align":t.verticalAlign,sortable:!1}})})),t._v(" "),t.totals.length&&t.hasActions?n("PDataTableCell",{attrs:{total:"",totalInFooter:t.showTotalsInFooter,verticalAlign:t.verticalAlign}}):t._e()],2)]]}))],2),t._v(" "),t._t("tbody",(function(){return[n("tbody",{ref:"tbody"},[t.loading?[n("tr",{staticClass:"Polaris-ResourceList__SpinnerContainer",style:{"padding-top":t.topPadding+"px"}},[n("PSpinner",{attrs:{size:!t.$slots.hasOwnProperty("body")&&t.rows.length<2?"small":"large"}})],1),t._v(" "),n("tr",{staticClass:"Polaris-ResourceList__LoadingOverlay"})]:t._e(),t._v(" "),t._t("body",(function(){return[t.hasOldRows?t._l(t.rows,(function(e,a){return n("tr",{key:"row-"+a,staticClass:"Polaris-DataTable__TableRow"},[t._l(e,(function(e,r){return n("PDataTableCell",{key:"cell-"+r+"-row-"+a,attrs:{content:"object"!==o(e)?e:e.content,action:e.url||e.to||e.onAction?e:null,toggle:"boolean"==typeof e.status&&e.onAction?e:null,badge:"object"!==o(e)||e.url||e.to||e.onAction?null:e,contentType:t.headings[r].type?t.headings[r].type:t.columnContentTypes[r],firstColumn:0===r,truncate:t.truncate,verticalAlign:t.verticalAlign}})})),t._v(" "),t.hasActions?n("PDataTableCell",{attrs:{actions:t.actions,value:t.ids[a],verticalAlign:t.verticalAlign}}):t._e()],2)})):[t._l(t.rows,(function(e){return[t._t("item",(function(){return[n("tr",{staticClass:"Polaris-DataTable__TableRow"},[t._l(t.headings,(function(a,r){return[n("PDataTableCellNew",{attrs:{value:e[a.value],"header-value":a.value,"first-column":0===r,"content-type":t.headings[r].type?t.headings[r].type:t.columnContentTypes[r],truncate:t.truncate,"vertical-align":t.verticalAlign,sortable:!1},scopedSlots:t._u([{key:"item."+a.value,fn:function(n){return[t._t("item."+a.value,null,{item:e})]}}],null,!0)})]}))],2)]}),{item:e})]}))]]}))],2)]})),t._v(" "),t.showTotalsInFooter?n("tfoot",[n("tr",[t._l(t.totals,(function(e,a){return n("PDataTableCellNew",{key:"total-cell-"+a,attrs:{total:"","total-in-footer":t.showTotalsInFooter,value:0===a?t.totalsRowHeading:e,"content-type":""!==e&&a>0?"numeric":t.columnContentTypes[a],"first-column":0===a,truncate:t.truncate,"vertical-align":t.verticalAlign,sortable:!1}})})),t._v(" "),t.totals.length&&t.hasActions?n("PDataTableCell",{attrs:{total:"",totalInFooter:t.showTotalsInFooter,verticalAlign:t.verticalAlign}}):t._e()],2)]):t._e()],2)]),t._v(" "),t.footerContent||t.$slots.footer?n("div",{staticClass:"Polaris-DataTable__Footer"},[t._t("footer",(function(){return[t._v("\n "+t._s(t.footerContent)+"\n ")]}))],2):t._e(),t._v(" "),t.hasPagination?n("div",{staticClass:"Polaris-DataTable__Pagination"},[n("PPagination",t._b({},"PPagination",t.pagination,!1))],1):t._e()]):n("div",[t._t("emptyState",(function(){return[n("PEmptyState",{attrs:{heading:t.emptyStateTitle,image:t.emptyStateImage}})]}))],2)],1)},staticRenderFns:[]},(function(t){t&&t("data-v-157a18b9_0",{source:".Polaris-DataTable__Pagination[data-v-157a18b9]{text-align:center;padding:1.6rem;border-top:.1rem solid #e1e3e5;border-bottom-left-radius:.4rem;border-bottom-right-radius:.4rem}",map:void 0,media:void 0})}),{name:"PDataTable",components:{PDataTableCellNew:Qu,PPagination:Bc,PFilter:vh,PSpinner:z,PEmptyState:Ch,PDataTableCell:md},props:{columnContentTypes:{type:Array,default:function(){return[]}},defaultSortDirection:r({type:String,default:"ascending"},A("defaultSortDirection",kh)),footerContent:{type:[String,Number,Object,Array]},headings:r({type:Array,default:function(){return[]}},R("headings",Ph)),rows:{type:Array,default:function(){return[[]]}},showTotalsInFooter:{type:Boolean,default:!1},totals:{type:Array,default:function(){return[]}},totalsName:r({type:Object,default:function(){return{}}},q("totalsName",Ah)),truncate:{type:Boolean,default:!1},verticalAlign:r({type:String,default:"top"},A("verticalAlign",["top","bottom","middle","baseline"])),sort:r({type:Object,default:function(){return{}}},q("sort",Sh)),hasFilter:{type:Boolean,default:!1},hasPagination:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},pagination:{type:Object,default:function(){return{}}},emptyStateTitle:{type:String,default:"No record found!"},emptyStateImage:{type:String,default:"https://cdn.shopify.com/s/files/1/0262/4071/2726/files/emptystate-files.png"},actions:{type:Array,default:function(){return[]}},ids:{type:Array,default:function(){return[]}},searchPlaceholder:{type:String,default:null}},data:function(){return{topPadding:8}},computed:{hasOldRows:function(){return this.rows.length>0&&this.rows[0].constructor===Array},hasActions:function(){return this.actions&&this.actions.length>0},resource:function(){return null!=this.searchPlaceholder?{singular:this.searchPlaceholder,plural:this.searchPlaceholder}:this.$attrs.resourceName},totalsRowHeading:function(){var t=Object.keys(this.totalsName).length>0?this.totalsName:{singular:"Total",plural:"Totals"};return this.totals.length>0&&this.totals.filter((function(t){return""!==t||o("number"!==t)})).length>1?t.plural:t.singular}},methods:{onRemoveFilter:function(t){this.$emit("filter-removed",t)},onFilterInputChanged:function(t){this.$emit("input-filter-changed",t)},handleSortChange:function(t,e){this.$emit("sort-changed",t,e)},handleDeprecations:function(){null!=this.searchPlaceholder&&console.error("Deprecation Notice: `searchPlaceholder` will be removed in version 4.0.0, use `resourceName` instead. Please check resourceName syntax here: https://polaris-vue.hulkapps.com/?path=/docs/lists-tables-filter--filter"),this.actions.length>0&&console.error("Deprecation Notice: `actions` will be removed in version 4.0.0, use `headings` with extra object. Please check new example of DataTable: https://polaris-vue.hulkapps.com/?path=/docs/lists-tables-data-table-slot--customisable-row"),this.ids.length>0&&console.error("Deprecation Notice: `ids` will be removed in version 4.0.0. Please check new example of DataTable: https://polaris-vue.hulkapps.com/?path=/docs/lists-tables-data-table-slot--customisable-row")}},mounted:function(){var t=0;if("undefined"!=typeof window&&this.$refs.hasOwnProperty("tbody")){var e=this.$refs.tbody.getBoundingClientRect(),n=Math.max(document.documentElement?document.documentElement.clientHeight:0,window.innerHeight||0),a=n-e.height,r=1===this.rows.length?28:45;t=a>0?(e.height-r)/2:(n-e.top-r)/2,t+=this.$refs.thead.getBoundingClientRect().height,this.topPadding=t>0?t:this.topPadding}this.handleDeprecations()}},"data-v-157a18b9",false,undefined,!1,Ac,void 0,void 0),Th=zh,jh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.firstColumn?n("th",{class:t.className,attrs:{scope:"row"}},[t._t("default")],2):n("td",{class:t.className},[t._t("default")],2)},staticRenderFns:[]},(function(t){t&&t("data-v-7d902277_0",{source:"th[data-v-7d902277]:last-child{text-align:right}td[data-v-7d902277]:last-child{text-align:right}td:last-child>*[data-v-7d902277]{float:right}",map:void 0,media:void 0})}),{name:"PDataTableCol",props:{firstColumn:{type:Boolean,default:!1},truncate:{type:Boolean,default:!1},numeric:{type:Boolean,default:!1},verticalAlign:r({type:String,default:"top"},A("verticalAlign",["top","bottom","middle","baseline"]))},computed:{className:function(){return g("Polaris-DataTable__Cell",this.firstColumn&&"Polaris-DataTable__Cell--firstColumn",this.firstColumn&&this.truncate&&"Polaris-DataTable__Cell--truncated",this.numeric&&"Polaris-DataTable__Cell--numeric",this.verticalAlign&&"Polaris-DataTable__Cell--".concat(m("verticalAlign",this.verticalAlign)))}}},"data-v-7d902277",false,undefined,!1,Ac,void 0,void 0),Eh=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("tr",{staticClass:"Polaris-DataTable__TableRow"},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"PDataTableRow"},"data-v-7a1bfd8a",false,undefined,!1,void 0,void 0,void 0),Oh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"Polaris-SkeletonBodyText__SkeletonBodyTextContainer"},t._l(t.lines,(function(t,e){return n("div",{key:e,staticClass:"Polaris-SkeletonBodyText"})})),0)},staticRenderFns:[]},undefined,{name:"PSkeletonBodyText",props:{lines:{type:Number,default:3}}},undefined,false,undefined,!1,void 0,void 0,void 0),Lh=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:t.className})},staticRenderFns:[]},undefined,{name:"PSkeletonDisplayText",props:{size:r({type:String,default:"medium"},A("size",["small","medium","large","extraLarge"]))},computed:{className:function(){return g("Polaris-SkeletonDisplayText__DisplayText",this.size&&"Polaris-SkeletonDisplayText--".concat(m("size",this.size)))}}},undefined,false,undefined,!1,void 0,void 0,void 0),Bh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className,attrs:{role:"status","aria-label":"Page loading"}},[n("div",{staticClass:"Polaris-SkeletonPage__Header"},[t.breadcrumbs?n("div",{staticClass:"Polaris-SkeletonPage__BreadcrumbAction",staticStyle:{width:"60px"}},[n("PSkeletonBodyText",{attrs:{lines:1}})],1):t._e(),t._v(" "),n("div",{staticClass:"Polaris-SkeletonPage__TitleAndPrimaryAction"},[n("div",{staticClass:"Polaris-SkeletonPage__TitleWrapper"},[null!==t.title?n("h1",{staticClass:"Polaris-SkeletonPage__Title"},[t._v("\n "+t._s(t.title)+"\n ")]):n("div",{staticClass:"Polaris-SkeletonPage__SkeletonTitle"})]),t._v(" "),t.primaryAction?n("div",{staticClass:"Polaris-SkeletonPage__PrimaryAction"},[n("PSkeletonDisplayText",{attrs:{size:"large"}})],1):t._e()]),t._v(" "),0!==t.secondaryActions?n("div",{staticClass:"Polaris-SkeletonPage__Actions"},t._l(t.renderSecondaryActions(t.secondaryActions),(function(t){return n("div",{key:t.key,staticClass:"Polaris-SkeletonPage__Action",style:t.width},[n("PSkeletonBodyText",{attrs:{lines:1}})],1)})),0):t._e()]),t._v(" "),n("div",{staticClass:"Polaris-SkeletonPage__Content"},[t._t("default")],2)])},staticRenderFns:[]},undefined,{name:"PSkeletonPage",components:{PSkeletonBodyText:Oh,PSkeletonDisplayText:Lh},props:{title:{type:String,default:null},fullWidth:{type:Boolean,default:!1},narrowWidth:{type:Boolean,default:!1},primaryAction:{type:Boolean,default:!1},secondaryActions:{type:Number},breadcrumbs:{type:Boolean,default:!1}},computed:{className:function(){return g("Polaris-SkeletonPage__Page",this.fullWidth&&"Polaris-SkeletonPage--fullWidth",this.narrowWidth&&"Polaris-SkeletonPage--narrowWidth")}},methods:{renderSecondaryActions:function(t){if("number"==typeof t){for(var e=[],n=0;n<t;n++){var a=Math.round(40*Math.random()+60);e.push({width:{width:"".concat(a,"px")},key:n})}return e}}}},"data-v-538661fa",false,undefined,!1,void 0,void 0,void 0),Hh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a",{staticClass:"button",class:["button-"+t.variant,{disabled:t.disabled,"button-fullwidth":t.fullWidth,loading:t.loading}],attrs:{href:"#"},on:{click:t.handleClick}},[t.loading?n("div",{staticClass:"Polaris-Spinner Polaris-Spinner--sizeSmall"},[n("svg",{attrs:{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M7.229 1.173a9.25 9.25 0 1011.655 11.412 1.25 1.25 0 10-2.4-.698 6.75 6.75 0 11-8.506-8.329 1.25 1.25 0 10-.75-2.385z"}})])]):t._e(),t._v(" "),n("div",{class:{invisible:t.loading}},[t._t("default")],2),t._v(" "),t.additionalText?n("span",{class:["additional-info-"+t.variant,{invisible:t.loading}]},[t._v("\n "+t._s(t.translateMe(t.additionalText))+"\n ")]):t._e()])},staticRenderFns:[]},(function(t){t&&t("data-v-1509223a_0",{source:".button[data-v-1509223a]{display:flex;width:fit-content!important;justify-content:center;height:28px!important;align-items:center!important;gap:8px!important;padding:4px 12px!important;text-decoration:none!important;font-size:13px!important;font-weight:450!important;color:#4a4a4a;position:relative}.button[data-v-1509223a]:hover{background-color:#0000000d!important;border-radius:8px!important}.button-primary[data-v-1509223a]{padding:6px 12px;background-color:#303030;background-image:linear-gradient(#30303000 63.53%,#ffffff26);color:#fff;border-bottom-color:#fff;border-radius:8px;text-decoration:none;font-size:13px;font-weight:650;box-shadow:#000000cc 0 -1px 0 1px inset,#303030 0 0 0 1px inset,#ffffff40 0 .5px 0 1.5px inset}.button-primary[data-v-1509223a]:hover{background-color:#1a1a1a!important}.button-primary.disabled[data-v-1509223a],.button-primary[data-v-1509223a]:active,.button-secondary.disabled[data-v-1509223a],.button-secondary[data-v-1509223a]:active{background-color:#ccc!important;box-shadow:0 2px 1px 0 #1a1a1a33 inset}.button-secondary[data-v-1509223a]{background-color:#fff!important;color:#000!important;border-radius:8px!important;box-shadow:#e3e3e3 0 1px 0 0 inset,#e3e3e3 1px 0 0 0 inset,#e3e3e3 -1px 0 0 0 inset,#b5b5b5 0 -1px 0 0 inset}.button-secondary[data-v-1509223a]:hover{background-color:#fafafa!important}.button.button-fullwidth[data-v-1509223a]{width:100%!important}.additional-info-primary[data-v-1509223a]{background-color:rgba(0,0,0,.06)!important;color:#616161!important;padding:0 6px!important;border-radius:8px!important;font-size:13px!important;font-weight:550!important}.additional-info-secondary[data-v-1509223a]{background-color:rgba(0,0,0,.06)!important;color:#616161!important;padding:0 6px!important;border-radius:8px!important;font-weight:550!important}.disabled[data-v-1509223a]{background-color:rgba(0,0,0,.15)!important;font-size:13px!important;font-weight:450!important;color:#4a4a4a!important;cursor:not-allowed!important;pointer-events:none!important}.invisible[data-v-1509223a]{visibility:hidden}.loading[data-v-1509223a]{cursor:wait!important;position:relative}.Polaris-Spinner[data-v-1509223a]{animation:spin-data-v-1509223a 1s linear infinite;width:20px;height:20px;position:absolute}.Polaris-Spinner svg[data-v-1509223a]{fill:currentColor}.button-primary .Polaris-Spinner svg[data-v-1509223a]{fill:#fff}.button-secondary .Polaris-Spinner svg[data-v-1509223a]{fill:#000}@keyframes spin-data-v-1509223a{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.Polaris-Spinner[data-v-1509223a]{animation:spin-data-v-1509223a .5s linear infinite,fade-data-v-1509223a 320ms ease-in}@keyframes fade-data-v-1509223a{from{opacity:0}to{opacity:1}}",map:void 0,media:void 0})}),{name:"VariantButton",props:{variant:{type:String,required:!0,default:function(){return"primary"}},additionalText:{type:String,required:!1},getPlanUrl:{type:Function,required:!1},plan:{type:Object,required:!1},disabled:{type:Boolean,required:!1,default:!1},fullWidth:{type:Boolean,required:!1,default:!1},loading:{type:Boolean,required:!1,default:!1}},methods:{handleClick:function(t){t.preventDefault(),this.$emit("click",t)},handlePlanClick:function(t){t.preventDefault(),this.$emit("plan-clicked",t)},translateMe:function(t){return this.$translations.hasOwnProperty(t)?this.$translations[t]:t}}},"data-v-1509223a",false,undefined,!1,Ac,void 0,void 0),Nh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"app-card"},[n("div",{staticClass:"logo"},[n("img",{staticClass:"logo-image",attrs:{src:t.appData.app_logo_url,alt:"logo",width:"auto",height:"auto"}})]),t._v(" "),n("div",{staticClass:"details"},[n("div",{staticClass:"upper-details"},[n("h3",{staticClass:"app-name"},[t._v("\n "+t._s(t.translateMe(t.appData.app_name))+"\n ")]),t._v(" "),t.appData.app_bundle_details.built_for_shopify?n("div",{staticClass:"app-tags"},[n("span",{staticClass:"app-tag bfs-tag"},[n("svg",{attrs:{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_61_2350)"}},[n("path",{attrs:{d:"M13 0L12 5L8 14L16 4.5L13 0ZM3 0L4 5L8 14L0 4.5L3 0Z",fill:"#1495CC"}}),t._v(" "),n("path",{attrs:{d:"M3 0L4 5L8 14L12 5L13 0H3Z",fill:"#58B7DF"}}),t._v(" "),n("path",{attrs:{d:"M8 14L4 5L0 4.5L8 14ZM8 14L12 5L16 4.5L8 14Z",fill:"#035F86"}}),t._v(" "),n("path",{attrs:{d:"M8 5.5L4 5L8 14L12 5L8 5.5Z",fill:"#1495CC"}}),t._v(" "),n("path",{attrs:{d:"M4 5L8 0L12 5L7.999 5.5L4 5Z",fill:"#A9DEF4"}}),t._v(" "),n("path",{attrs:{d:"M4 5L3 0H8L4 5ZM12 5L13 0H8L12 5Z",fill:"#58B7DF"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_61_2350"}},[n("rect",{attrs:{width:"16",height:"14",fill:"white"}})])])]),t._v("\n "+t._s(t.translateMe("Built For Shopify"))+"\n ")])]):t._e(),t._v(" "),n("p",{staticClass:"app-reviews-count"},[t._v("\n "+t._s(t.appData.app_bundle_details.reviews)+"\n "+t._s(t.translateMe("Reviews"))+"\n ")]),t._v(" "),n("div",{staticClass:"app-tags"},t._l(t.appData.app_bundle_details.shopify_categories,(function(e){return n("span",{staticClass:"app-tag"},[n("svg",{attrs:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M9.99998 14C9.58577 14 9.24999 13.6642 9.25 13.25L9.25006 9.74999C9.25007 9.33577 9.58586 8.99999 10.0001 9C10.4143 9.00001 10.7501 9.3358 10.7501 9.75001L10.75 13.25C10.75 13.6642 10.4142 14 9.99998 14Z",fill:"#0094D5"}}),t._v(" "),n("path",{attrs:{d:"M9 7C9 6.44772 9.44772 6 10 6C10.5523 6 11 6.44772 11 7C11 7.55228 10.5523 8 10 8C9.44772 8 9 7.55228 9 7Z",fill:"#0094D5"}}),t._v(" "),n("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10ZM15.5 10C15.5 13.0376 13.0376 15.5 10 15.5C6.96243 15.5 4.5 13.0376 4.5 10C4.5 6.96243 6.96243 4.5 10 4.5C13.0376 4.5 15.5 6.96243 15.5 10Z",fill:"#0094D5"}})]),t._v("\n "+t._s(t.translateMe(e))+"\n ")])})),0)]),t._v(" "),n("div",{staticClass:"lower-details"},t._l(t.appData.app_bundle_details.features,(function(e){return n("span",{staticClass:"featured-options"},[n("svg",{attrs:{width:"4",height:"4",viewBox:"0 0 4 4",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("rect",{attrs:{width:"4",height:"4",rx:"2",fill:"black"}})]),t._v("\n "+t._s(t.translateMe(e)))])})),0)]),t._v(" "),n("div",{staticClass:"install-app-div"},[n("a",{staticClass:"button-link install-app-button",attrs:{href:t.appData.app_shopify_store_link,target:"_blank"}},[t._v("\n "+t._s(t.translateMe("Install App"))+"\n ")])])]),t._v(" "),t._t("default")],2)},staticRenderFns:[]},(function(t){t&&t("data-v-092b0493_0",{source:".app-card[data-v-092b0493]{display:flex;padding:16px;background-color:#fff;box-shadow:0 4px 6px -1px rgb(0 0 0 / .1),0 2px 4px -2px rgb(0 0 0 / .1);border-radius:12px;gap:16px;align-items:center}.logo[data-v-092b0493],.logo-image[data-v-092b0493]{width:40px;height:40px;border-radius:4px}.lower-details[data-v-092b0493]{margin-top:8px}.lower-details[data-v-092b0493],.upper-details[data-v-092b0493]{display:flex;flex-wrap:wrap;row-gap:2px;column-gap:8px}.app-name[data-v-092b0493]{font-size:14px;font-weight:650;line-height:20px}.app-reviews-count[data-v-092b0493]{font-size:13px;font-weight:400;line-height:20px;color:#5c5c5c}.app-tag[data-v-092b0493]{background-color:#e0f0ff;width:fit-content;margin-right:12px;padding:3px 6px 3px 3px;border-radius:8px;font-size:12px;color:#00527c;line-height:12px;font-weight:550;text-decoration:none;white-space:nowrap}.app-tag>svg[data-v-092b0493]{margin-bottom:-5.5px}.bfs-tag[data-v-092b0493]{margin-right:0;margin-bottom:0!important}.bfs-tag>svg[data-v-092b0493]{margin-bottom:-3px}.app-option-type-count[data-v-092b0493],.featured-options[data-v-092b0493]{display:flex;gap:4px;align-items:center;font-size:13px;font-weight:450;line-height:20px;text-wrap:nowrap;color:#5c5c5c}.install-app-div[data-v-092b0493]{margin-left:auto;display:flex;align-items:center;white-space:nowrap}.install-app-button[data-v-092b0493]{display:flex;width:fit-content!important;height:28px!important;align-items:center!important;gap:8px!important;padding:4px 12px!important;text-decoration:none!important;font-size:13px!important;font-weight:450!important;background-color:rgba(0,0,0,.08)!important;color:#303030!important;border-radius:8px!important;border:none;font-family:-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif}.install-app-button[data-v-092b0493]:hover{background-color:rgba(0,0,0,.05)!important;border-radius:8px!important}.button-link[data-v-092b0493]{text-decoration:none}@media (max-width:767px){.featured-options[data-v-092b0493]{text-wrap:wrap}.details[data-v-092b0493]{gap:8px;width:100%}.app-tags[data-v-092b0493]{display:flex;flex-direction:column;gap:8px;margin-bottom:8px}.app-tag[data-v-092b0493]{padding:1px 6px 5px 3px}.lower-details[data-v-092b0493],.upper-details[data-v-092b0493]{flex-direction:column;flex-wrap:wrap;row-gap:2px;column-gap:8px}.install-app-div[data-v-092b0493]{justify-content:flex-start;width:100%;margin-top:12px}.install-app-button[data-v-092b0493]{width:100%;justify-content:center}.app-card[data-v-092b0493]{flex-direction:column;justify-content:center}.logo[data-v-092b0493]{justify-content:flex-start;width:100%}}",map:void 0,media:void 0})}),{name:"AppCard",components:{VariantButton:Hh},props:{appData:{type:Object,required:!1,default:function(){return{app_name:"Releasit Form & Upsell",app_logo_url:"https://cdn.shopify.com/app-store/listing_images/59ff1b17b1415cf11af2ee0a00c68334/icon/CKKYs5695_ICEAE=.png",app_reviews_count:"3,881",app_tags:[{tag_name:"Cash/collect on delivery (COD)",tag_ext_url:"#"},{tag_name:"Upselling and cross-selling",tag_ext_url:"#"}],app_bfs:!1,app_option_types_count:"12",app_featured_option_types:["Dynamic Checkout Button","Color/Image Swatches","Color/Image Swatches"]}}}},methods:{translateMe:function(t){return this.$translations.hasOwnProperty(t)?this.$translations[t]:t}}},"data-v-092b0493",false,undefined,!1,Ac,void 0,void 0),Rh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"bundle-plan-showcase-banner banner-card"},[n("div",{class:["banner__inner",this.fullWidth?"full-width":""]},[t.showDescription?n("div",{staticClass:"plan-left"},[n("p",{staticClass:"bundle-offer-label"},[t._v("\n "+t._s(t.translateMe("Bundle Offer"))+"\n ")]),t._v(" "),n("p",{staticClass:"bundle-desc-label"},[t._v("\n "+t._s(t.translateMe("Get"))+"\n "+t._s(t.bundleApps)+"\n "+t._s(t.translateMe("Shopify apps and save more than"))+"\n "),n("strong",[t._v(t._s(t.translateMe("$1000")))]),t._v("\n "+t._s(t.translateMe("per month!"))+"\n ")])]):t._e(),t._v(" "),n("div",{staticClass:"plan-right"},[n("div",{staticClass:"plan-content"},[n("h3",{staticClass:"plan-name"},[t._v(t._s(t.translateMe("Monthly Bundle:")))]),t._v(" "),n("div",{staticClass:"prices"},[n("span",{staticClass:"discounted-amount"},[t._v("$"+t._s(t.translateMe(t.realPrice)))]),t._v(" "),t.realPrice<t.oldPrice?n("span",{staticClass:"original-amount"},[t._v("$"+t._s(t.translateMe(t.oldPrice)))]):t._e()])]),t._v(" "),t.isCurrentPlan?t._e():n("VariantButton",{attrs:{id:"choose-bundle",buttonData:{button_url:t.showcaseData.button_url},variant:"primary"},on:{click:t.handlePlanClick}},[t._v("\n "+t._s(t.translateMe("Choose this plan"))+"\n ")]),t._v(" "),t.isCurrentPlan?n("VariantButton",{attrs:{buttonData:{button_url:t.showcaseData.button_url},disabled:!0,variant:"primary"},on:{click:t.handlePlanClick}},[t._v("\n "+t._s(t.translateMe("Current Plan"))+"\n ")]):t._e()],1)])])},staticRenderFns:[]},(function(t){t&&t("data-v-b5f386e4_0",{source:".banner-card[data-v-b5f386e4]{display:flex;padding:16px;background-color:#fff;box-shadow:0 4px 6px -1px rgb(0 0 0 / .1),0 2px 4px -2px rgb(0 0 0 / .1);gap:16px}.bundle-plan-showcase-banner[data-v-b5f386e4]{display:none;justify-content:space-between;align-items:center;width:100%;margin-top:32px;position:sticky;top:0}.banner__inner[data-v-b5f386e4]{display:flex;justify-content:space-between;align-items:center;max-width:998px;width:100%;margin-left:auto;margin-right:auto;padding:0 32px}.banner__inner.full-width[data-v-b5f386e4]{max-width:calc(100% - 200px);padding:0 16px}.plan-name[data-v-b5f386e4]{font-size:14px;font-weight:450;color:#303030}.plan-left[data-v-b5f386e4]{flex:1}.plan-right[data-v-b5f386e4]{display:flex;align-items:center;gap:16px}.prices[data-v-b5f386e4]{display:flex;gap:8px}.bundle-offer-label[data-v-b5f386e4]{font-size:20px;font-weight:600;color:#202223;margin-bottom:4px}.bundle-desc-label[data-v-b5f386e4]{font-size:14px;font-weight:450;color:#303030}.discounted-amount[data-v-b5f386e4]{font-size:30px;font-weight:700;color:#303030}.original-amount[data-v-b5f386e4]{text-decoration:line-through;color:#616161;font-size:14px;font-weight:650}.plan-content[data-v-b5f386e4]{display:flex;justify-content:center;align-items:center;gap:12px}.choose-button[data-v-b5f386e4]{padding:6px 12px;background-color:#303030;background-image:linear-gradient(rgba(48,48,48,0) 63.53%,rgba(255,255,255,.15)),none;color:#fff;border-bottom-color:#fff;box-shadow:rgba(0,0,0,.8) 0 -1px 0 1px inset,#303030 0 0 0 1px inset,rgba(255,255,255,.25) 0 .5px 0 1.5px inset;border-radius:8px;text-decoration:none;font-size:13px;font-weight:650}@media (max-width:992px){.banner__inner.full-width[data-v-b5f386e4]{max-width:calc(100% - 64px)}.banner__inner[data-v-b5f386e4]{flex-direction:column;gap:32px;align-items:flex-start;padding:0}.plan-right[data-v-b5f386e4]{justify-content:space-between;width:100%}}@media (max-width:767px){.banner__inner.full-width[data-v-b5f386e4]{max-width:100%}.bundle-plan-showcase-banner[data-v-b5f386e4]{flex-direction:column;gap:12px}.bundle-plan-showcase-banner[data-v-b5f386e4]{align-items:unset}.choose-button[data-v-b5f386e4]{margin-right:0;margin-left:auto}}@media (max-width:480px){.plan-content[data-v-b5f386e4]{flex-direction:column;align-items:flex-start}.plan-right[data-v-b5f386e4]{flex-direction:column;gap:16px;align-items:flex-start}.bundle-plan-showcase-banner[data-v-b5f386e4]{flex-direction:column;gap:12px}.bundle-plan-showcase-banner[data-v-b5f386e4]{align-items:unset}.choose-button[data-v-b5f386e4]{margin-right:auto;margin-left:0}}",map:void 0,media:void 0})}),{name:"PlanShowcaseBanner",components:{VariantButton:Hh},props:{showcaseData:{type:Object,required:!1},realPrice:{type:String,required:!1},oldPrice:{type:Number,required:!1},showDescription:{type:Boolean,required:!1,default:!0},getPlanUrl:{type:Function,required:!1},plan:{type:Object,required:!1},isCurrentPlan:{type:Boolean,required:!1,default:!1},useCardStyle:{type:Boolean,required:!1,default:!1},fullWidth:{type:Boolean,required:!1,default:!1},bundleApps:{type:Number,required:!1,default:18}},methods:{handlePlanClick:function(){this.$emit("plan-clicked")},translateMe:function(t){return this.$translations.hasOwnProperty(t)?this.$translations[t]:t}}},"data-v-b5f386e4",false,undefined,!1,Ac,void 0,void 0),Vh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"category-heading"},[n("h4",{staticClass:"category-name"},[t._v("\n "+t._s(t.translateMe(t.headingData.category_name))+"\n "),null!=t.headingData.apps_relation?n("span",[t._v("\n ("+t._s(t.translateMe(t.headingData.apps_relation.length))+")\n ")]):t._e()]),t._v(" "),n("p",{staticClass:"category-description"},[t._v("\n "+t._s(t.translateMe(t.headingData.category_description))+"\n ")])])])},staticRenderFns:[]},(function(t){t&&t("data-v-074da4e0_0",{source:'.category-heading[data-v-074da4e0]{display:flex;flex-direction:column;align-items:left;gap:4px}.category-name[data-v-074da4e0]{font-size:13px;font-weight:750;line-height:20px;color:#000}.category-description[data-v-074da4e0]{font-size:12px;font-weight:450;font-variation-settings:"slnt" 0;color:#303030}',map:void 0,media:void 0})}),{name:"CategoryHeading",props:{headingData:{type:Object,required:!1,default:function(){return{category_name:"Bestsellers",category_description:"Make a big impact with our top-selling apps."}}}},methods:{translateMe:function(t){return this.$translations.hasOwnProperty(t)?this.$translations[t]:t}}},"data-v-074da4e0",false,undefined,!1,Ac,void 0,void 0),Ih=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"benefits-banner"},[n("div",{staticClass:"benefits"},[n("div",{staticClass:"benefit"},[n("svg",{attrs:{width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M36.9252 7.89245C31.5107 7.03095 26.2752 5.28311 21.429 2.71936C21.2959 2.66188 21.1517 2.63437 21.0068 2.63861C20.862 2.64284 20.7201 2.67899 20.5907 2.74414C15.73 5.27913 10.4938 7.01723 5.08209 7.89245C4.88445 7.9328 4.70678 8.03996 4.57922 8.19622C4.45166 8.35248 4.38179 8.54822 4.38184 8.74994V19.0555C4.38184 33.164 18.0004 38.4196 20.7304 39.3296C20.9099 39.3894 21.1042 39.3894 21.2837 39.3296C24.0137 38.4196 37.6318 33.164 37.6318 19.0555V8.74994C37.6316 8.54724 37.5613 8.35091 37.4323 8.19452C37.3034 8.03812 37.1241 7.93137 36.9252 7.89245ZM35.875 19.0555C35.875 31.5453 24.0572 36.5031 21 37.5758C17.9427 36.5031 6.125 31.5453 6.125 19.0555V9.46557C11.3183 8.57406 16.3444 6.8923 21.0282 4.47833C25.6889 6.89995 30.6975 8.58227 35.875 9.46557V19.0555ZM19.4252 13.2458L17.8499 16.4446L14.1453 16.98C13.8312 17.025 13.5361 17.1576 13.2933 17.3619C13.0506 17.5662 12.8701 17.8344 12.7721 18.1361C12.6741 18.4378 12.6625 18.7608 12.7388 19.0688C12.8151 19.3767 12.976 19.657 13.2036 19.878L15.8654 22.421L15.2565 25.9611C15.2007 26.2841 15.2366 26.6163 15.3604 26.9199C15.4841 27.2234 15.6906 27.4859 15.9564 27.6778C16.2215 27.8739 16.5367 27.991 16.8655 28.0157C17.1944 28.0405 17.5234 27.9721 17.8149 27.8179L20.9842 26.1414L24.1971 27.8179C24.4501 27.9495 24.7309 28.0185 25.0161 28.0192C25.3894 28.0196 25.753 27.9004 26.0539 27.6795C26.3203 27.4886 26.5273 27.2267 26.6512 26.9233C26.775 26.6199 26.8109 26.2873 26.7542 25.9645L26.1274 22.4645L28.8049 19.8746C29.0325 19.6535 29.1939 19.3733 29.2702 19.0654C29.3465 18.7574 29.3349 18.434 29.2369 18.1323C29.1388 17.8305 28.9579 17.5624 28.7152 17.3581C28.4725 17.1538 28.1777 17.0216 27.8637 16.9766L24.1885 16.469L22.5855 13.2441C22.4244 12.9679 22.1938 12.7386 21.9164 12.5793C21.6391 12.4201 21.3245 12.3365 21.0047 12.3367C20.6849 12.3368 20.3706 12.4207 20.0934 12.5802C19.8162 12.7397 19.586 12.9694 19.4252 13.2458ZM21.0124 14.0243L22.6171 17.2513C22.7404 17.4973 22.9209 17.71 23.1439 17.8712C23.3669 18.0324 23.6258 18.1373 23.898 18.1771L27.5732 18.6197L24.8956 21.208C24.6962 21.3998 24.5467 21.638 24.4607 21.901C24.3746 22.164 24.3547 22.444 24.4022 22.7166L24.9969 26.264L21.784 24.5892C21.541 24.4621 21.2709 24.3957 20.9966 24.3957C20.7223 24.3957 20.4522 24.4621 20.2092 24.5892L16.98 26.2568L17.5927 22.7166C17.6395 22.4441 17.6188 22.1645 17.5325 21.9019C17.4461 21.6392 17.2969 21.4017 17.0975 21.2101L14.3956 18.7108L18.102 18.1754C18.3742 18.136 18.6329 18.0312 18.8557 17.8699C19.0785 17.7087 19.2587 17.4958 19.3812 17.2496L21.0051 14.0175L21.0124 14.0243Z",fill:"black"}})]),t._v(" "),n("p",{staticClass:"benefit-description"},[n("strong",[t._v("\n "+t._s(t.translateMe("Unlimited"))+"\n ")]),t._v("\n "+t._s(t.translateMe("Access to Enterprise Features"))+"\n ")])]),t._v(" "),n("div",{staticClass:"benefit"},[n("svg",{attrs:{width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_96_352)"}},[n("path",{attrs:{d:"M35.9957 27.5818C35.5024 27.2981 34.942 27.1525 34.373 27.1599C33.804 27.1672 33.2474 27.3275 32.7617 27.6238L28.8173 29.9897C28.6688 29.1852 28.243 28.4582 27.6142 27.9349C26.9854 27.4115 26.1931 27.1249 25.375 27.125H15.75C14.6184 27.1241 13.5307 27.5633 12.7172 28.3499C12.481 27.9753 12.1538 27.6665 11.7661 27.4523C11.3785 27.2381 10.9429 27.1256 10.5 27.125H7C6.30381 27.125 5.63611 27.4016 5.14383 27.8939C4.65155 28.3861 4.375 29.0538 4.375 29.75V36.75C4.375 37.4462 4.65155 38.1139 5.14383 38.6062C5.63611 39.0985 6.30381 39.375 7 39.375H10.5C10.9429 39.3745 11.3785 39.2619 11.7661 39.0478C12.1538 38.8336 12.481 38.5248 12.7172 38.1501C13.5307 38.9368 14.6184 39.376 15.75 39.375H25.55C27.3377 39.3729 29.0719 38.7647 30.4693 37.6496L36.4193 32.8843C36.8288 32.5561 37.1516 32.1325 37.3597 31.6506C37.5677 31.1688 37.6546 30.6434 37.6126 30.1202C37.5707 29.5971 37.4011 29.0922 37.1189 28.6497C36.8368 28.2071 36.4523 27.8405 35.9957 27.5818ZM11.375 31.5V36.75C11.375 36.9821 11.2827 37.2046 11.1187 37.3687C10.9546 37.5328 10.7321 37.625 10.5 37.625H7C6.76794 37.625 6.54544 37.5328 6.38135 37.3687C6.21725 37.2046 6.125 36.9821 6.125 36.75V29.75C6.125 29.518 6.21725 29.2955 6.38135 29.1314C6.54544 28.9673 6.76794 28.875 7 28.875H10.5C10.7321 28.875 10.9546 28.9673 11.1187 29.1314C11.2827 29.2955 11.375 29.518 11.375 29.75V31.5ZM35.3273 31.5175L29.3772 36.2828C28.2909 37.1505 26.942 37.6237 25.5517 37.625H15.75C15.0538 37.625 14.3861 37.3485 13.8938 36.8562C13.4015 36.3639 13.125 35.6962 13.125 35V31.5C13.125 30.8038 13.4015 30.1361 13.8938 29.6439C14.3861 29.1516 15.0538 28.875 15.75 28.875H25.375C25.8391 28.875 26.2843 29.0593 26.6125 29.3875C26.9407 29.7157 27.125 30.1609 27.125 30.625C27.125 31.0892 26.9407 31.5344 26.6125 31.8625C26.2843 32.1907 25.8391 32.375 25.375 32.375H19.25C19.0179 32.375 18.7954 32.4673 18.6313 32.6314C18.4673 32.7955 18.375 33.018 18.375 33.25C18.375 33.4821 18.4673 33.7046 18.6313 33.8687C18.7954 34.0328 19.0179 34.125 19.25 34.125H25.375C26.0174 34.1249 26.6472 33.9479 27.1957 33.6136C27.7442 33.2793 28.1902 32.8006 28.4847 32.2298L33.6595 29.1235C33.9773 28.9361 34.354 28.8757 34.7144 28.9543C35.0748 29.0329 35.3922 29.2448 35.6031 29.5475C35.8139 29.8502 35.9027 30.2213 35.8515 30.5866C35.8003 30.9519 35.6132 31.2844 35.3273 31.5175ZM21.0088 10.5C21.7875 10.5 22.5487 10.2692 23.1963 9.83652C23.8438 9.40386 24.3485 8.78891 24.6465 8.06943C24.9446 7.34994 25.0226 6.55814 24.8706 5.79434C24.7187 5.03054 24.3436 4.32905 23.7929 3.77838C23.2422 3.22771 22.5407 2.85258 21.7769 2.70065C21.0131 2.54872 20.2213 2.62672 19.5019 2.92474C18.7824 3.22276 18.1674 3.72751 17.7348 4.37503C17.3021 5.02255 17.0713 5.78377 17.0713 6.56253C17.0726 7.60639 17.488 8.60706 18.2261 9.34518C18.9642 10.0833 19.9649 10.4986 21.0088 10.5ZM21.0088 4.37503C21.4414 4.37503 21.8643 4.50338 22.2241 4.74374C22.5838 4.98411 22.8641 5.32563 23.0296 5.72534C23.1952 6.12506 23.2386 6.56502 23.1542 6.98935C23.0698 7.41368 22.8615 7.80345 22.5556 8.10938C22.2497 8.4153 21.8599 8.62354 21.4356 8.70795C21.0112 8.79235 20.5713 8.74919 20.1716 8.58362C19.7719 8.41805 19.4303 8.13757 19.19 7.77783C18.9496 7.4181 18.8213 6.99518 18.8213 6.56253C18.8222 5.98265 19.0529 5.42679 19.463 5.01675C19.873 4.60672 20.4289 4.37596 21.0088 4.37503ZM17.5088 21.875H24.5088C24.9793 21.9251 25.455 21.8696 25.9014 21.7125C26.3477 21.5553 26.7533 21.3006 27.0887 20.9667C27.424 20.6329 27.6806 20.2282 27.8398 19.7826C27.9989 19.337 28.0567 18.8616 28.0088 18.3908C28.0566 17.6883 27.9538 16.9836 27.7071 16.324C27.4604 15.6645 27.0757 15.0654 26.5786 14.5668C26.0814 14.0681 25.4833 13.6815 24.8245 13.4329C24.1657 13.1842 23.4614 13.0793 22.7588 13.125H19.2588C18.5561 13.0793 17.8518 13.1842 17.193 13.4329C16.5342 13.6815 15.9361 14.0681 15.439 14.5668C14.9418 15.0654 14.5571 15.6645 14.3104 16.324C14.0637 16.9836 13.9609 17.6883 14.0088 18.3908C13.961 18.8608 14.0186 19.3353 14.1773 19.7802C14.336 20.2252 14.5917 20.6292 14.9261 20.9629C15.2604 21.2965 15.6649 21.5515 16.1102 21.7093C16.5554 21.867 17.0302 21.9237 17.5 21.875H17.5088ZM19.2588 14.875H22.7588C23.229 14.8388 23.7015 14.9049 24.1437 15.069C24.5858 15.2331 24.9871 15.4912 25.3199 15.8254C25.6526 16.1597 25.9089 16.5622 26.071 17.0051C26.2331 17.448 26.2971 17.9208 26.2588 18.3908C26.2588 19.6386 25.7688 20.125 24.5088 20.125H17.5088C16.247 20.125 15.7588 19.6386 15.7588 18.3908C15.7131 17.9199 15.7718 17.4447 15.9307 16.9991C16.0897 16.5535 16.345 16.1483 16.6784 15.8126C17.0118 15.4769 17.415 15.2189 17.8595 15.0568C18.304 14.8948 18.7788 14.8327 19.25 14.875H19.2588Z",fill:"black"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_96_352"}},[n("rect",{attrs:{width:"42",height:"42",fill:"white"}})])])]),t._v(" "),n("p",{staticClass:"benefit-description"},[n("strong",[t._v(t._s(t.translateMe("24/7")))]),t._v(t._s(t.translateMe("Live Chat & Email Support"))+"\n "),n("strong",[t._v("+ "+t._s(t.translateMe("Priority Status")))])])]),t._v(" "),n("div",{staticClass:"benefit"},[n("svg",{attrs:{width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_70_2551)"}},[n("path",{attrs:{d:"M39.9 14.0001H33.6V2.10027C33.6 0.940631 32.6598 0.000488281 31.5002 0.000488281H2.10039C0.940753 0.000488281 0.000610352 0.940631 0.000610352 2.10027V28.7002C0.000610352 29.8598 0.940753 30.7999 2.10039 30.7999H7.00041V39.8998C7.00041 41.0598 7.94055 41.9999 9.10051 41.9999H39.9C41.0599 41.9999 42.0001 41.0598 42.0001 39.8998V16.1002C42.0001 14.9406 41.0599 14.0001 39.9 14.0001ZM27.3003 14.0001C26.9136 14.0001 26.6002 14.3135 26.6002 14.7002C26.6002 15.0867 26.9136 15.4001 27.3003 15.4001H39.9C40.2867 15.4001 40.6001 15.7138 40.6001 16.1002V19.6003H27.3003C26.9136 19.6003 26.6002 19.9136 26.6002 20.3001C26.6002 20.6868 26.9136 21.0002 27.3003 21.0002H40.6001V34.9998H8.40037V21.0002H21.7002C22.0869 21.0002 22.4003 20.6868 22.4003 20.3001C22.4003 19.9136 22.0869 19.6003 21.7002 19.6003H8.40037V16.1002C8.40037 15.7138 8.71375 15.4001 9.10051 15.4001H21.7002C22.0869 15.4001 22.4003 15.0867 22.4003 14.7002C22.4003 14.3135 22.0869 14.0001 21.7002 14.0001H9.10051C7.94055 14.0001 7.00041 14.9406 7.00041 16.1002V23.8001H1.40057V7.00029H32.2V14.0001H27.3003ZM2.10039 1.40045H31.5002C31.8866 1.40045 32.2 1.71383 32.2 2.10027V5.60033H1.40057V2.10027C1.40057 1.71383 1.71395 1.40045 2.10039 1.40045ZM2.10039 29.4C1.71395 29.4 1.40057 29.0866 1.40057 28.7002V25.2001H7.00041V29.4H2.10039ZM39.9 40.6H9.10051C8.71375 40.6 8.40037 40.2866 8.40037 39.8998V36.3998H40.6001V39.8998C40.6001 40.2866 40.2867 40.6 39.9 40.6Z",fill:"black"}}),t._v(" "),n("path",{attrs:{d:"M11.2003 17.5001C11.2003 17.8869 10.8869 18.2003 10.5004 18.2003C10.1137 18.2003 9.80029 17.8869 9.80029 17.5001C9.80029 17.1137 10.1137 16.8003 10.5004 16.8003C10.8869 16.8003 11.2003 17.1137 11.2003 17.5001Z",fill:"black"}}),t._v(" "),n("path",{attrs:{d:"M14.0005 17.5001C14.0005 17.8869 13.6868 18.2003 13.3004 18.2003C12.9139 18.2003 12.6002 17.8869 12.6002 17.5001C12.6002 17.1137 12.9139 16.8003 13.3004 16.8003C13.6868 16.8003 14.0005 17.1137 14.0005 17.5001Z",fill:"black"}}),t._v(" "),n("path",{attrs:{d:"M16.8005 17.5001C16.8005 17.8869 16.4871 18.2003 16.1003 18.2003C15.7139 18.2003 15.4005 17.8869 15.4005 17.5001C15.4005 17.1137 15.7139 16.8003 16.1003 16.8003C16.4871 16.8003 16.8005 17.1137 16.8005 17.5001Z",fill:"black"}}),t._v(" "),n("path",{attrs:{d:"M4.2005 3.5006C4.2005 3.88736 3.88712 4.20074 3.50068 4.20074C3.11392 4.20074 2.80054 3.88736 2.80054 3.5006C2.80054 3.11416 3.11392 2.80078 3.50068 2.80078C3.88712 2.80078 4.2005 3.11416 4.2005 3.5006Z",fill:"black"}}),t._v(" "),n("path",{attrs:{d:"M7.00042 3.5006C7.00042 3.88736 6.68704 4.20074 6.3006 4.20074C5.91384 4.20074 5.60046 3.88736 5.60046 3.5006C5.60046 3.11416 5.91384 2.80078 6.3006 2.80078C6.68704 2.80078 7.00042 3.11416 7.00042 3.5006Z",fill:"black"}}),t._v(" "),n("path",{attrs:{d:"M9.80035 3.5006C9.80035 3.88736 9.48697 4.20074 9.10053 4.20074C8.71377 4.20074 8.40039 3.88736 8.40039 3.5006C8.40039 3.11416 8.71377 2.80078 9.10053 2.80078C9.48697 2.80078 9.80035 3.11416 9.80035 3.5006Z",fill:"black"}}),t._v(" "),n("path",{attrs:{d:"M25.2001 22.4005V11.9007C25.2001 10.7407 24.26 9.80056 23.1 9.80056H15.6901L15.8952 9.59548C16.1605 9.32087 16.1566 8.88412 15.8865 8.61432C15.6167 8.3442 15.18 8.34035 14.9054 8.60567L13.5054 10.0056C13.3737 10.137 13.2997 10.3155 13.2997 10.5013C13.2997 10.6872 13.3737 10.8657 13.5054 10.997L14.9054 12.397C15.18 12.662 15.6167 12.6585 15.8865 12.3884C16.1566 12.1182 16.1605 11.6818 15.8952 11.4072L15.6901 11.2005H23.1C23.4868 11.2005 23.8002 11.5139 23.8002 11.9007V22.4005H22.4002C21.627 22.4005 21.0003 23.0273 21.0003 23.8005V25.2004C21.0003 25.352 21.0493 25.4994 21.1403 25.6205L21.9801 26.7404C22.5364 27.4883 22.5364 28.5124 21.9801 29.2603L21.1403 30.3802C21.0493 30.5016 21.0003 30.649 21.0003 30.8003V32.2002C21.0003 32.9734 21.627 33.6002 22.4002 33.6002H26.6001C27.3733 33.6002 28.0001 32.9734 28.0001 32.2002V30.8003C28.0001 30.649 27.951 30.5016 27.86 30.3802L27.0202 29.2603C26.4636 28.5124 26.4636 27.4883 27.0202 26.7404L27.86 25.6205C27.951 25.4994 28.0001 25.352 28.0001 25.2004V23.8005C28.0001 23.0273 27.3733 22.4005 26.6001 22.4005H25.2001ZM26.6001 24.9672L25.9003 25.9003C24.9726 27.1467 24.9726 28.854 25.9003 30.1005L26.6001 31.0342V32.2002H22.4002V31.0336L23.1 30.1005C24.0274 28.854 24.0274 27.1471 23.1 25.9003L22.4002 24.9681V23.8005H26.6001V24.9672Z",fill:"black"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_70_2551"}},[n("rect",{attrs:{width:"42",height:"42",fill:"white"}})])])]),t._v(" "),n("p",{staticClass:"benefit-description"},[t._v("\n "+t._s(t.translateMe("Full"))+"\n "),n("strong",[t._v(t._s(t.translateMe("Onboarding")))]),t._v(","+t._s(t.translateMe("Setup and Migration Assistance"))+"\n ")])]),t._v(" "),n("div",{staticClass:"benefit"},[n("svg",{attrs:{width:"44",height:"43",viewBox:"0 0 44 43",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M25.1837 23.9888H18.8162C17.6301 23.9115 16.4411 24.0885 15.3291 24.5082C14.217 24.928 13.2078 25.5804 12.3686 26.4222C11.5294 27.2639 10.8798 28.2755 10.4634 29.3887C10.0471 30.502 9.87357 31.6913 9.95449 32.8772C9.86833 33.6424 9.9564 34.4172 10.2119 35.1436C10.4674 35.8701 10.8839 36.5292 11.4301 37.072C11.9763 37.6148 12.6381 38.0271 13.3661 38.278C14.0942 38.5289 14.8695 38.6119 15.6341 38.521H28.3657C29.1303 38.6119 29.9057 38.5289 30.6337 38.278C31.3617 38.0271 32.0235 37.6148 32.5697 37.072C33.1159 36.5292 33.5324 35.8701 33.7879 35.1436C34.0434 34.4172 34.1315 33.6424 34.0453 32.8772C34.1262 31.6913 33.9527 30.502 33.5364 29.3887C33.12 28.2755 32.4704 27.2639 31.6312 26.4222C30.792 25.5804 29.7828 24.928 28.6708 24.5082C27.5587 24.0885 26.3697 23.9115 25.1837 23.9888ZM28.3657 36.7293H15.6341C12.9467 36.7293 11.7462 35.5414 11.7462 32.8772C11.6686 31.9279 11.7981 30.9732 12.1256 30.0788C12.4531 29.1844 12.9708 28.3716 13.643 27.6968C14.3152 27.022 15.1259 26.5013 16.0191 26.1704C16.9122 25.8396 17.8666 25.7065 18.8162 25.7805H25.1837C26.1332 25.7065 27.0876 25.8396 27.9807 26.1704C28.8739 26.5013 29.6846 27.022 30.3568 27.6968C31.029 28.3716 31.5467 29.1844 31.8742 30.0788C32.2017 30.9732 32.3312 31.9279 32.2537 32.8772C32.2537 35.5414 31.0549 36.7293 28.3657 36.7293ZM22.0143 20.6257C23.2567 20.6257 24.4711 20.2574 25.5041 19.5672C26.5371 18.8769 27.3421 17.8958 27.8176 16.748C28.293 15.6002 28.4175 14.3372 28.1752 13.1187C27.9328 11.9002 27.3344 10.7809 26.4559 9.9024C25.5774 9.0239 24.4583 8.42572 23.2398 8.18334C22.0213 7.94097 20.7581 8.06528 19.6103 8.54072C18.4625 9.01615 17.4816 9.82144 16.7913 10.8544C16.1011 11.8874 15.7326 13.1018 15.7326 14.3442C15.7349 16.0094 16.3977 17.6058 17.5752 18.7833C18.7527 19.9608 20.3491 20.6233 22.0143 20.6257ZM22.0143 9.85428C22.9024 9.85428 23.7704 10.1177 24.5087 10.611C25.2471 11.1044 25.8225 11.8056 26.1624 12.626C26.5022 13.4464 26.5911 14.3491 26.4178 15.2201C26.2446 16.0911 25.817 16.891 25.1891 17.519C24.5612 18.1469 23.7612 18.5746 22.8903 18.7479C22.0193 18.9211 21.1164 18.8323 20.2959 18.4924C19.4755 18.1526 18.7743 17.5771 18.281 16.8388C17.7876 16.1004 17.5242 15.2322 17.5242 14.3442C17.5261 13.1539 17.9999 12.013 18.8415 11.1714C19.6831 10.3297 20.8241 9.85618 22.0143 9.85428ZM40.8124 22.6647C40.8791 23.2519 40.8121 23.8465 40.6167 24.4041C40.4212 24.9618 40.1023 25.468 39.6836 25.885C39.2649 26.302 38.7573 26.6189 38.1988 26.8121C37.6404 27.0053 37.0454 27.0696 36.4586 27.0004H35.8136C35.576 27.0004 35.3482 26.9062 35.1802 26.7382C35.0122 26.5702 34.9177 26.3422 34.9177 26.1046C34.9177 25.867 35.0122 25.6392 35.1802 25.4712C35.3482 25.3032 35.576 25.2088 35.8136 25.2088H36.4586C38.2789 25.2088 39.0207 24.4707 39.0207 22.6647C39.0741 22.0128 38.9851 21.357 38.7603 20.7427C38.5354 20.1285 38.1798 19.5704 37.7181 19.107C37.2564 18.6436 36.6997 18.2859 36.0863 18.0587C35.4729 17.8316 34.8175 17.7405 34.1654 17.7915H32.4273C32.1897 17.7915 31.9619 17.697 31.7939 17.529C31.6259 17.361 31.5315 17.1332 31.5315 16.8956C31.5315 16.658 31.6259 16.43 31.7939 16.262C31.9619 16.094 32.1897 15.9998 32.4273 15.9998H34.1654C35.0549 15.9418 35.9463 16.0746 36.7803 16.3893C37.6142 16.704 38.3714 17.1934 39.0008 17.8245C39.6303 18.4556 40.1174 19.214 40.4299 20.0488C40.7423 20.8836 40.8728 21.7754 40.8124 22.6647ZM28.5968 7.0395C28.431 6.86937 28.3394 6.64038 28.3425 6.40283C28.3455 6.16528 28.4429 5.9388 28.613 5.77295C29.4874 4.93064 30.658 4.46593 31.872 4.47928C33.0565 4.48161 34.1981 4.92278 35.0763 5.71762C35.9545 6.51245 36.5069 7.60466 36.627 8.78305C36.747 9.96143 36.4262 11.1424 35.7263 12.098C35.0265 13.0536 33.9973 13.7161 32.8376 13.9573C32.7787 13.9694 32.7187 13.9754 32.6585 13.9752C32.4363 13.9754 32.2221 13.8929 32.0572 13.744C31.8924 13.5951 31.7887 13.3903 31.7664 13.1693C31.744 12.9482 31.8045 12.7268 31.9363 12.5479C32.0681 12.369 32.2616 12.2457 32.4794 12.2015C33.2041 12.0487 33.8465 11.6329 34.2828 11.0344C34.7192 10.436 34.9186 9.69715 34.8425 8.96042C34.7664 8.22369 34.4203 7.54113 33.8708 7.04453C33.3213 6.54792 32.6072 6.27236 31.8665 6.27095C31.1202 6.25984 30.3992 6.54153 29.8581 7.05568C29.6882 7.21986 29.4603 7.31022 29.2241 7.3072C28.9879 7.30418 28.7625 7.20796 28.5968 7.0395ZM4.97907 22.6647C4.97907 24.4707 5.72092 25.2088 7.54125 25.2088H8.16829C8.40588 25.2088 8.63367 25.3032 8.80167 25.4712C8.96967 25.6392 9.06412 25.867 9.06412 26.1046C9.06412 26.3422 8.96967 26.5702 8.80167 26.7382C8.63367 26.9062 8.40588 27.0004 8.16829 27.0004H7.54125C6.95439 27.0696 6.35943 27.0053 5.80098 26.8121C5.24253 26.6189 4.73486 26.302 4.31616 25.885C3.89746 25.468 3.57863 24.9618 3.38315 24.4041C3.18767 23.8465 3.12069 23.2519 3.1874 22.6647C3.12705 21.7754 3.25748 20.8836 3.56993 20.0488C3.88238 19.214 4.36954 18.4556 4.99897 17.8245C5.6284 17.1934 6.38558 16.704 7.21953 16.3893C8.05348 16.0746 8.94495 15.9418 9.83442 15.9998H11.6081C11.8457 15.9998 12.0737 16.094 12.2417 16.262C12.4098 16.43 12.504 16.658 12.504 16.8956C12.504 17.1332 12.4098 17.361 12.2417 17.529C12.0737 17.697 11.8457 17.7915 11.6081 17.7915H9.83442C9.18228 17.7405 8.52691 17.8316 7.91349 18.0587C7.30007 18.2859 6.74339 18.6436 6.2817 19.107C5.82002 19.5704 5.46444 20.1285 5.23955 20.7427C5.01466 21.357 4.92573 22.0128 4.97907 22.6647ZM7.36191 9.26311C7.3657 7.99245 7.8735 6.77519 8.77368 5.87837C9.67386 4.98155 10.893 4.47833 12.1637 4.47928C13.3718 4.47433 14.5354 4.93438 15.4137 5.76398C15.5033 5.84371 15.5761 5.94059 15.6276 6.04896C15.6791 6.15733 15.7082 6.27488 15.7133 6.39474C15.7185 6.5146 15.6995 6.63425 15.6576 6.74664C15.6156 6.85904 15.5515 6.96198 15.469 7.04912C15.3866 7.13626 15.2876 7.20594 15.1777 7.25405C15.0678 7.30215 14.9493 7.32761 14.8293 7.32907C14.7093 7.33052 14.5902 7.30778 14.4791 7.26236C14.3681 7.21694 14.2673 7.14976 14.1828 7.06465C13.6359 6.55171 12.9135 6.2677 12.1637 6.27095C11.4206 6.26847 10.7032 6.5422 10.1507 7.03906C9.59814 7.53592 9.24985 8.22038 9.1737 8.95954C9.09755 9.6987 9.299 10.4397 9.73862 11.0388C10.1782 11.6379 10.8246 12.0524 11.5526 12.2015C11.7703 12.2457 11.9639 12.369 12.0957 12.5479C12.2274 12.7268 12.2881 12.9482 12.2658 13.1693C12.2435 13.3903 12.1398 13.5951 11.9749 13.744C11.8101 13.8929 11.5956 13.9754 11.3735 13.9752C11.3133 13.9756 11.2533 13.9695 11.1944 13.9573C10.1131 13.7351 9.14154 13.1469 8.44343 12.2918C7.74531 11.4367 7.36323 10.367 7.36191 9.26311Z",fill:"black"}})]),t._v(" "),n("p",{staticClass:"benefit-description"},[t._v("\n "+t._s(t.translateMe("Access to"))+"\n "),n("strong",[t._v(t._s(t.translateMe("200+")))]),t._v("\n "+t._s(t.translateMe("Tech and Marketing Professionals"))+"\n ")])]),t._v(" "),n("div",{staticClass:"benefit"},[n("svg",{attrs:{width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_96_362)"}},[n("path",{attrs:{d:"M17.5156 18.375C18.9001 18.375 20.2535 17.9645 21.4046 17.1953C22.5557 16.4262 23.4528 15.3329 23.9826 14.0538C24.5124 12.7747 24.6511 11.3671 24.381 10.0093C24.1109 8.6514 23.4442 7.40428 22.4652 6.42532C21.4863 5.44635 20.2389 4.77964 18.8811 4.50954C17.5232 4.23945 16.1158 4.37792 14.8368 4.90774C13.5577 5.43755 12.4644 6.33481 11.6952 7.48595C10.926 8.6371 10.5156 9.99049 10.5156 11.375C10.5156 13.2315 11.253 15.0119 12.5657 16.3246C13.8785 17.6374 15.6591 18.375 17.5156 18.375ZM17.5156 6.12496C18.5539 6.12496 19.5688 6.43291 20.4322 7.00979C21.2955 7.58667 21.9685 8.40652 22.3659 9.36584C22.7633 10.3251 22.8673 11.3809 22.6648 12.3993C22.4622 13.4177 21.9622 14.3531 21.2279 15.0873C20.4937 15.8215 19.5581 16.3216 18.5397 16.5241C17.5213 16.7267 16.4658 16.6226 15.5065 16.2253C14.5472 15.8279 13.7273 15.1551 13.1504 14.2918C12.5735 13.4284 12.2656 12.4133 12.2656 11.375C12.2656 9.98257 12.8187 8.64719 13.8033 7.66262C14.7878 6.67805 16.1232 6.12496 17.5156 6.12496ZM23.6126 23.0108C23.5756 23.2395 23.4495 23.4441 23.2618 23.5799C23.0742 23.7157 22.8403 23.7715 22.6116 23.7352C22.078 23.6565 21.5391 23.6196 20.9998 23.625H13.9998C12.9417 23.5429 11.8783 23.6915 10.8832 24.0605C9.88818 24.4295 8.98522 25.01 8.23645 25.762C7.48768 26.5141 6.91105 27.4198 6.54648 28.4165C6.1819 29.4132 6.03802 30.4773 6.12478 31.535C6.12478 34.5362 7.47403 35.875 10.4998 35.875H19.2498C19.4818 35.875 19.7043 35.9672 19.8684 36.1313C20.0325 36.2954 20.1248 36.5179 20.1248 36.75C20.1248 36.982 20.0325 37.2045 19.8684 37.3686C19.7043 37.5327 19.4818 37.625 19.2498 37.625H10.4998C9.67485 37.7231 8.83833 37.6334 8.05295 37.3626C7.26757 37.0918 6.55368 36.647 5.96457 36.0612C5.37545 35.4755 4.92652 34.7639 4.65121 33.9801C4.37591 33.1963 4.28135 32.3605 4.37478 31.535C4.37478 27.0795 6.89478 21.875 13.9998 21.875H20.9998C21.6317 21.8691 22.2631 21.9136 22.888 22.008C23.117 22.045 23.3221 22.1712 23.4579 22.3592C23.5938 22.5473 23.6494 22.7818 23.6126 23.0108ZM38.694 30.24L38.9268 30.1106C39.0291 30.0536 39.1188 29.9764 39.1909 29.8841C39.2629 29.7918 39.3156 29.686 39.3459 29.5729C39.3763 29.4598 39.3836 29.3417 39.3675 29.2257C39.3514 29.1097 39.3124 28.9982 39.2524 28.8976L37.6494 26.2062C37.5328 26.01 37.3442 25.8671 37.1238 25.808C36.9035 25.7488 36.6688 25.778 36.4697 25.8894L36.2388 26.0207C36.0005 26.1528 35.7324 26.222 35.4599 26.222C35.1875 26.222 34.9196 26.1528 34.6813 26.0207C34.4563 25.8958 34.2684 25.7136 34.1365 25.4927C34.0047 25.2717 33.9337 25.0198 33.9306 24.7625C33.9287 24.46 33.8071 24.1707 33.5922 23.9578C33.3774 23.7449 33.0868 23.6257 32.7843 23.6267H30.1172C29.815 23.6262 29.5251 23.7454 29.3106 23.9582C29.0961 24.1711 28.9747 24.4603 28.9728 24.7625C28.9697 25.0202 28.8981 25.2725 28.7656 25.4935C28.6331 25.7146 28.4444 25.8965 28.2185 26.0207C27.9805 26.1528 27.7129 26.2222 27.4407 26.2222C27.1685 26.2222 26.9007 26.1528 26.6627 26.0207C26.4025 25.8772 26.097 25.8396 25.8097 25.9159C25.5225 25.9921 25.2757 26.1765 25.121 26.4303L23.7859 28.672C23.7082 28.8007 23.657 28.9436 23.6357 29.0924C23.6143 29.2412 23.6231 29.3929 23.6615 29.5383C23.7009 29.6854 23.7693 29.8231 23.8628 29.9433C23.9562 30.0635 24.0729 30.1639 24.2058 30.2383C24.435 30.3601 24.6267 30.5418 24.7604 30.7642C24.8941 30.9867 24.9648 31.2413 24.9648 31.5008C24.9648 31.7603 24.8941 32.015 24.7604 32.2374C24.6267 32.4598 24.435 32.6418 24.2058 32.7635C23.9406 32.9164 23.7468 33.1679 23.6669 33.4634C23.6292 33.6087 23.6206 33.7601 23.6417 33.9088C23.6627 34.0574 23.7128 34.2004 23.7893 34.3296L25.1263 36.5733C25.2808 36.8279 25.5277 37.0126 25.8155 37.089C26.1033 37.1653 26.4095 37.1273 26.6698 36.9828C26.9073 36.8502 27.1747 36.7805 27.4467 36.7805C27.7187 36.7805 27.9864 36.8502 28.2239 36.9828C28.4493 37.1072 28.6376 37.2892 28.7695 37.5102C28.9014 37.7313 28.9722 37.9836 28.9745 38.2411C28.9759 38.5431 29.097 38.832 29.3112 39.0449C29.5254 39.2578 29.8152 39.3771 30.1172 39.3767H32.7896C33.0918 39.3771 33.3818 39.258 33.5963 39.0451C33.8108 38.8323 33.9322 38.5432 33.934 38.2411C33.9371 37.9835 34.0084 37.7315 34.1406 37.5105C34.2728 37.2894 34.4612 37.1074 34.6866 36.9828C34.9246 36.8507 35.1922 36.7814 35.4644 36.7814C35.7366 36.7814 36.0042 36.8507 36.2422 36.9828C36.502 37.1279 36.8078 37.1663 37.0954 37.0903C37.383 37.0142 37.6299 36.8295 37.7839 36.575L39.1246 34.3228C39.2014 34.1947 39.2514 34.0522 39.2718 33.9043C39.2923 33.7563 39.2828 33.6058 39.2436 33.4617C39.2058 33.3148 39.1385 33.1771 39.0462 33.0568C38.9539 32.9366 38.8384 32.8362 38.7064 32.7616L38.6765 32.746C38.4531 32.6206 38.2677 32.4375 38.1392 32.2158C38.0107 31.9942 37.9439 31.742 37.9461 31.4859C37.9482 31.2297 38.0192 30.9788 38.1514 30.7593C38.2835 30.5399 38.4722 30.36 38.6976 30.2383L38.694 30.24ZM37.3204 33.9254L36.5537 35.2117C36.107 35.0583 35.633 35.0009 35.1626 35.0431C34.6922 35.0853 34.2361 35.2263 33.8238 35.4567C33.4207 35.6835 33.0713 35.9947 32.7995 36.3689C32.5277 36.7431 32.3399 37.1715 32.2487 37.625H30.6737C30.5817 37.1719 30.3936 36.7438 30.1219 36.3697C29.8502 35.9956 29.5013 35.6843 29.0989 35.4567C28.6867 35.226 28.2303 35.0849 27.7599 35.0427C27.2894 35.0005 26.8154 35.058 26.3688 35.2117L25.6023 33.9254C25.956 33.6281 26.2403 33.2569 26.4354 32.8381C26.6305 32.4192 26.7315 31.9629 26.7315 31.5008C26.7315 31.0388 26.6305 30.5824 26.4354 30.1635C26.2403 29.7447 25.956 29.3735 25.6023 29.0762L26.3705 27.7883C26.817 27.9412 27.2907 27.9984 27.7607 27.9562C28.2308 27.914 28.6868 27.7733 29.0989 27.5432C29.5035 27.3173 29.8543 27.0066 30.1277 26.6323C30.401 26.2581 30.5903 25.8291 30.6825 25.375H32.2575C32.3488 25.8283 32.5369 26.2567 32.8087 26.6308C33.0804 27.005 33.4296 27.3162 33.8325 27.5432C34.2452 27.7735 34.7017 27.9142 35.1724 27.9564C35.643 27.9986 36.1173 27.9414 36.5644 27.7883L37.3308 29.0745C36.9777 29.3723 36.6937 29.7437 36.499 30.1627C36.3043 30.5816 36.2033 31.038 36.2033 31.5C36.2033 31.962 36.3043 32.4183 36.499 32.8372C36.6937 33.2562 36.9777 33.6276 37.3308 33.9254H37.3204ZM32.8123 31.5C32.8123 31.7587 32.7356 32.0117 32.5923 32.2271C32.4489 32.4425 32.2452 32.6107 32.0065 32.7106C31.7678 32.8104 31.5048 32.8376 31.2507 32.7885C30.9966 32.7394 30.7627 32.6162 30.5784 32.4346C30.3941 32.2529 30.2676 32.0209 30.2148 31.7676C30.162 31.5143 30.1853 31.2511 30.2817 31.011C30.3781 30.7708 30.5433 30.5645 30.7566 30.418C30.9699 30.2715 31.2218 30.1913 31.4806 30.1875H31.4998C31.6723 30.1868 31.8433 30.2202 32.0029 30.2859C32.1624 30.3517 32.3075 30.4483 32.4295 30.5703C32.5515 30.6923 32.6481 30.8373 32.7138 30.9969C32.7795 31.1564 32.813 31.3274 32.8123 31.5Z",fill:"black"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_96_362"}},[n("rect",{attrs:{width:"42",height:"42",fill:"white"}})])])]),t._v(" "),n("p",{staticClass:"benefit-description"},[n("strong",[t._v(t._s(t.translateMe("Dedicated")))]),t._v("\n "+t._s(t.translateMe("Account Manager"))+"\n ")])])])])},staticRenderFns:[]},(function(t){t&&t("data-v-12004128_0",{source:".benefits-banner[data-v-12004128]{padding:20px;background-color:#fff;border-radius:16px;box-shadow:0 4px 6px -1px rgb(0 0 0 / .1),0 2px 4px -2px rgb(0 0 0 / .1)}.benefits[data-v-12004128]{display:flex;justify-content:space-around;align-items:center;gap:20px}.benefit[data-v-12004128]{display:flex;flex-basis:25%;flex-grow:0;flex-direction:column;justify-content:center;align-items:center;gap:10px;text-align:center}.benefit-description[data-v-12004128]{font-size:14px;font-weight:450;color:#303030}.benefit-image[data-v-12004128]{width:42px;height:42px}@media (max-width:767px){.benefits[data-v-12004128]{flex-direction:column}}",map:void 0,media:void 0})}),{name:"BenefitsBanner",props:{benefitsData:{type:Array,required:!1,default:function(){return[{benefit_description:"<strong>Unlimited</strong> Access to Enterprise Features",benefit_image_url:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTw_HeSzHfBorKS4muw4IIeVvvRgnhyO8Gn8w&s"},{benefit_description:"<strong>Unlimited</strong> Access to Enterprise Features",benefit_image_url:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTw_HeSzHfBorKS4muw4IIeVvvRgnhyO8Gn8w&s"},{benefit_description:"<strong>Unlimited</strong> Access to Enterprise Features",benefit_image_url:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTw_HeSzHfBorKS4muw4IIeVvvRgnhyO8Gn8w&s"},{benefit_description:"<strong>Unlimited</strong> Access to Enterprise Features",benefit_image_url:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTw_HeSzHfBorKS4muw4IIeVvvRgnhyO8Gn8w&s"},{benefit_description:"<strong>Unlimited</strong> Access to Enterprise Features",benefit_image_url:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTw_HeSzHfBorKS4muw4IIeVvvRgnhyO8Gn8w&s"}]}}},methods:{translateMe:function(t){return this.$translations.hasOwnProperty(t)?this.$translations[t]:t}}},"data-v-12004128",false,undefined,!1,Ac,void 0,void 0),qh={name:"AppManagerGroupPlan",components:{YearlyPlanPromotion:jc,PlanBanners:zc,PPage:zu,PStack:Nu,PStackItem:Ou,PButton:nt,PButtonGroup:ae,PHeading:at,PLayout:qu,PLayoutSection:_,PTextContainer:Uu,PDataTable:Th,PDataTableCol:jh,PDataTableRow:Eh,PIcon:k,PTextStyle:Oc,PCard:Mh,PCardSection:xh,PSkeletonPage:Bh,PSkeletonBodyText:Oh,PSkeletonDisplayText:Lh,PEmptyState:Ch,AppCard:Nh,PlanShowcaseBanner:Rh,CategoryHeading:Vh,BenefitsBanner:Ih,VariantButton:Hh},props:["shop_domain","host","discount_code"],data:function(){return{plan:{},plans:[],valid_annual_plans:[],promotional_discount:[],features:[],featureValues:[],featuresByGroup:[],shopify_plan:"",default_plan_id:null,onboard:!0,choose_later:!1,has_active_charge:!1,global_plan_charge:!1,planLoading:!1,subtitleContent:"",checkList:["60 days free trial"],selectedPlan:"monthly",monthlySelectedStyle:{height:"60px",backgroundColor:"#257f60",color:"#fff",position:"relative",right:"-5px",borderRadius:"8px",zIndex:1},yearlySelectedStyle:{height:"60px",backgroundColor:"#257f60",position:"relative",left:"-5px",borderRadius:"8px"},monthlyStyle:{height:"55px",backgroundColor:"#FFFFFF",boxShadow:"rgba(99, 99, 99, 0.2) 0px 2px 8px 0px",border:"none",borderRadius:"8px",ZIndex:11},yearlyStyle:{color:"#258060",height:"55px",backgroundColor:"#FFFFFF",boxShadow:"rgba(99, 99, 99, 0.2) 0px 2px 8px 0px",border:"none",borderRadius:"8px"},bundleStyle:{color:"#258060",height:"55px",backgroundColor:"#FFFFFF",boxShadow:"rgba(99, 99, 99, 0.2) 0px 2px 8px 0px",border:"none",borderRadius:"8px"},additionalBenefitsHeading:{category_name:"Unlock Additional Benefits"},bundle_details:null,bundle_plan:null}},computed:{shop:function(){return{name:this.shop_domain,shopify_plan:this.shopify_plan,has_plan:!!this.plan,plan:this.plan,default_plan_id:this.default_plan_id}},headings:function(){var t=this,e=[this.translateMe("Plans & Features")];return this.plans.forEach((function(n){var a=n.name;n.price>0&&(a+=" ($".concat(n.price,"/")+t.translateMe("mo")+")"),e.push(a)})),e},monthlyPlan:function(){var t=[];for(var e in this.plans)"EVERY_30_DAYS"===this.plans[e].interval&&t.push(this.plans[e]);return t},yearlyPlan:function(){var t=[];for(var e in this.plans)"ANNUAL"===this.plans[e].interval&&t.push(this.plans[e]);return t},totalBundleApps:function(){var t=0;return this.bundle_details&&this.bundle_details.forEach((function(e){t+=e.apps_relation.length})),t}},methods:{translateMe:function(t){return this.$translations.hasOwnProperty(t)?this.$translations[t]:t},activePlanStyle:function(t){return[t.shopify_plans.includes(this.shop.shopify_plan)||!t.store_base_plan?{backgroundColor:"#FFF",color:"#202223"}:{}]},isCurrentPlan:function(t){return this.has_active_charge&&this.shop.plan&&(t.id===this.shop.plan.id||!t.is_custom&&t.base_plan===this.shop.plan.id)},isCurrentPlanId:function(t){return this.shop.plan&&t.id===this.shop.plan.id},isActivePlanGlobal:function(){var t;return Boolean(null===(t=this.shop.plan)||void 0===t?void 0:t.is_global)},isActiveGlobalCharge:function(){return Boolean(this.global_plan_charge)},isSamePlanInOtherInterval:function(t){return this.shop.plan&&t.shopify_plans===this.shop.plan.shopify_plans},format:function(t){if(["double","integer"].includes(null==t?void 0:t.value_type))return"percentage"===t.format?"".concat(t.value,"%"):"count"===t.format&&t.value<0?this.translateMe("Unlimited"):t.value;if("array"===(null==t?void 0:t.value_type)){var e=JSON.parse(t.value),n=this;return(e=e.map((function(e){return n.translateMe(n.featureValues[t.feature_id][e])}))).join(", ")}return"string"===(null==t?void 0:t.value_type)?this.translateMe(t.value.replace('"',"").replace('"',"")):void 0},calculateDiscountedPrice:function(t){return"percentage"===t.discount_type?t.price-t.price*t.discount/100:"amount"===t.discount_type?t.discount>t.price?0:t.price-t.discount:void 0},calculatePromotionalDiscountedPrice:function(t,e){return"percentage"===e.type?t.price-t.price*e.value/100:"amount"===e.type?e.value>t.price?0:t.price-e.value:void 0},headerClasses:function(t){return{"Polaris-DataTable__Cell":!0,"Polaris-DataTable__Cell--header":!0,"Polaris-DataTable__Cell--verticalAlignMiddle":!0,"Polaris-DataTable__Cell--firstColumn":Boolean(t)}},groupBy:function(t,e){return t.reduce((function(t,n){var a=n[e];return t[a]||(t[a]=[]),t[a].push(n),t}),{})},getPlanUrl:function(t){var e=this;return s(regeneratorRuntime.mark((function n(){var a,r,o,i,s,l;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=e.shop.name,r=e.host,o=e.discount_code,i="shop=".concat(a),null!=r&&(i+="&host=".concat(r)),null!=o&&(i+="&discount_code=".concat(o)),n.next=8,_c.get("".concat(e.app_manager_config.baseUrl,"/api/app-manager/plan/process/").concat(t.id,"?").concat(i)).catch((function(t){console.error(t)}));case 8:"free_plan"===(s=n.sent).data.plan_type?e.$emit("handlePlanSelect",{free_plan:!0}):(l=s.data.redirect_url)&&(window.top.location.href=l);case 10:case"end":return n.stop()}}),n)})))()},activePlan:function(){var t=this;return s(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.activeWithoutPlan();case 2:!0===e.sent.data.status&&t.onboard&&(t.$emit("handlePlanSelect",{choose_later:!0}),t.onboard=!1);case 4:case"end":return e.stop()}}),e)})))()},activeWithoutPlan:function(){var t=this;return s(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_c.post("".concat(t.app_manager_config.baseUrl,"/api/app-manager/active-without-plan"),{shop_domain:t.shop.name,plan_id:t.shop.default_plan_id}).catch((function(t){console.error(t)}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))()},selectPlan:function(t){var e=this;return s(regeneratorRuntime.mark((function n(){var a,r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:e.selectedPlan=t,null!==e.bundle_plan&&(a=document.querySelector(".custom-plan"),r=document.querySelector(".bundle-plan"),"bundle"==e.selectedPlan?(a.style.display="none",r.style.display="flex"):(r.style.display="none",a.style.display="flex"));case 2:case"end":return n.stop()}}),n)})))()},fetchFeatures:function(){var t=this;return s(regeneratorRuntime.mark((function e(){var n,a,r,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_c.get("".concat(t.app_manager_config.baseUrl,"/api/app-manager/plan-features")).catch((function(t){console.error(t)}));case 2:n=e.sent,(a=n.data).features.length&&(t.features=a.features,t.features=null===(r=t.features)||void 0===r?void 0:r.filter((function(t){return!0!==t.hidden_feature})),t.features=null===(o=t.features)||void 0===o?void 0:o.sort((function(t,e){return parseInt(t.display_order)-parseInt(e.display_order)})),t.features=null===(i=t.features)||void 0===i?void 0:i.sort((function(t,e){return parseInt(t.group_order)-parseInt(e.group_order)})),t.featuresByGroup=t.groupBy(t.features,"group"),t.features.forEach((function(e){"array"==e.value_type&&(t.featureValues[e.uuid]=e.values)})));case 5:case"end":return e.stop()}}),e)})))()},fetchPlans:function(){var t=this;return s(regeneratorRuntime.mark((function e(){var n,a,r,o,i,s,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={shop_domain:t.shop_domain},null!==t.discount_code&&(n.discount_code=t.discount_code),e.next=4,_c.get("".concat(t.app_manager_config.baseUrl,"/api/app-manager/plans"),{params:n}).catch((function(t){console.error(t)}));case 4:if(a=e.sent,(r=a.data).plans.length){for(l=0;l<r.plans.length;l++)"ANNUAL"===r.plans[l].interval&&t.valid_annual_plans.push(r.plans[l]);t.plans=r.plans,t.plans=null===(o=t.plans)||void 0===o?void 0:o.sort((function(t,e){return parseFloat(t.price)-parseFloat(e.price)})),t.plans[0].store_base_plan&&(t.subtitleContent=t.translateMe("App plans are based on your existing shopify plan")),t.plan=r.plan,"ANNUAL"===(null===(i=t.plan)||void 0===i?void 0:i.interval)&&(t.selectedPlan="annually"),null!==(s=t.plan)&&void 0!==s&&s.is_global&&(t.selectedPlan="bundle"),t.shopify_plan=r.shopify_plan,t.default_plan_id=r.default_plan_id,t.choose_later=r.choose_later,t.onboard=t.default_plan_id&&t.choose_later,t.has_active_charge=r.has_active_charge,t.global_plan_charge=r.global_plan_charge,t.promotional_discount=void 0!==r.promotional_discount?r.promotional_discount:[],r.bundle_plan&&(t.bundle_plan=r.bundle_plan),r.bundle_details&&(t.bundle_details=r.bundle_details)}case 7:case"end":return e.stop()}}),e)})))()},isPlanButtonColor:function(t){return!!(this.has_active_charge&&this.shop.plan&&t.price>this.shop.plan.price)},planChooseButtonClass:function(t){return this.has_active_charge&&this.shop.plan&&t.price>this.shop.plan.price?"":"custom-choose-button"},handlePlanBannerClose:function(t){this.$emit("handlePlanBannerClose",t),this.$emit("handle-plan-banner-close",t)},handlePlanClicked:function(t){this.getPlanUrl(t)}},mounted:function(){var t=this;return s(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.planLoading=!0,e.next=3,t.fetchFeatures();case 3:return e.next=5,t.fetchPlans();case 5:t.planLoading=!1,t.$nextTick((function(){t.selectPlan(t.selectedPlan)}));case 7:case"end":return e.stop()}}),e)})))()}},Dh=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return this.planLoading||0!==this.plans.length?!this.planLoading&&this.plans.length>0?n("div",[n("PlanBanners",{attrs:{position:"header"},on:{handlePlanBannerClose:t.handlePlanBannerClose}}),t._v(" "),n("PPage",{staticClass:"app-manager-plan-page custom-title",attrs:{title:"bundle"===t.selectedPlan?"":t.translateMe("Plans"),subtitle:"bundle"===t.selectedPlan?"":t.subtitleContent}},[n("PStack",{attrs:{slot:"primaryAction"},slot:"primaryAction"},[n("PStackItem",{staticStyle:{"margin-top":"20px"}},[n("div",{staticClass:"button-group-new"},[n("VariantButton",{attrs:{id:"pricing-tab",variant:"monthly"===t.selectedPlan?"primary":"secondary",additionalText:"1 App"},on:{click:function(e){return t.selectPlan("monthly")}}},[t._v("\n "+t._s(t.translateMe("Monthly"))+"\n ")]),t._v(" "),t.valid_annual_plans.length>0?n("VariantButton",{attrs:{id:"pricing-tab",variant:"annually"===t.selectedPlan?"primary":"secondary"},on:{click:function(e){return t.selectPlan("annually")}}},[t._v("\n "+t._s(t.translateMe("Annually"))+"\n ")]):t._e(),t._v(" "),null!==t.bundle_plan?n("VariantButton",{attrs:{id:"pricing-tab",variant:"bundle"===t.selectedPlan?"primary":"secondary",additionalText:t.totalBundleApps+" Apps"},on:{click:function(e){return t.selectPlan("bundle")}}},[t._v("\n "+t._s(t.translateMe("Bundle"))+"\n ")]):t._e()],1)])],1),t._v(" "),n("div",{staticClass:"light-divider",staticStyle:{margin:"20px 0"}}),t._v(" "),n("PLayout",{staticClass:"custom-plan"},[n("PLayoutSection",[[[n("PDataTable",{staticClass:"plan-table"},[n("template",{slot:"head"},["monthly"===t.selectedPlan?n("PDataTableRow",{staticStyle:{"box-shadow":"none!important"}},[n("PDataTableCol",{staticClass:"plan-heading",staticStyle:{opacity:"0",visibility:"hidden",border:"0 !important"}},[n("b",[t._v(t._s(t.translateMe("features")))])]),t._v(" "),t._l(t.monthlyPlan,(function(e,a){return[n("PDataTableCol",{class:{"first-column":0===a,"plan-heading":!0,"last-column":a+1===t.monthlyPlan.length},style:t.activePlanStyle(e)},["Free"!==e.name?n("b",{staticStyle:{"font-size":"16px"}},[t._v(t._s(t.translateMe(e.name)))]):t._e(),t._v(" "),0===e.price?n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[t._v(t._s(t.translateMe("Free")))])],1)]):e.discount&&e.discount>0&&!t.isCurrentPlan(e)?n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[t._v("$"+t._s(parseFloat(t.calculateDiscountedPrice(e)).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[t._v("/"+t._s(t.translateMe("mo")))])],1),t._v(" "),n("p",{staticStyle:{display:"flex","margin-top":"7px"}},[n("PHeading",{staticStyle:{"font-size":"18px","font-weight":"500","text-decoration":"line-through"}},[t._v("$"+t._s(parseFloat(e.price).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"3px","font-size":"14px"}},[t._v("/"+t._s(t.translateMe("mo")))])],1)]):t.promotional_discount&&0!==t.promotional_discount.length&&!t.promotional_discount.errors&&!e.is_global&&t.promotional_discount.plan_relation.length>0&&t.promotional_discount.plan_relation.includes(e.id)&&!t.isCurrentPlan(e)||t.promotional_discount&&0!==t.promotional_discount.length&&!t.promotional_discount.errors&&!e.is_global&&0===t.promotional_discount.plan_relation.length&&t.promotional_discount.value>0&&!t.isCurrentPlan(e)?n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[t._v("$"+t._s(parseFloat(t.calculatePromotionalDiscountedPrice(e,t.promotional_discount)).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[t._v("/"+t._s(t.translateMe("mo")))])],1),t._v(" "),n("p",{staticStyle:{display:"flex","margin-top":"7px"}},[n("PHeading",{staticStyle:{"font-size":"18px","font-weight":"500","text-decoration":"line-through"}},[t._v("$"+t._s(parseFloat(e.price).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"3px","font-size":"14px"}},[t._v("/"+t._s(t.translateMe("mo")))])],1)]):n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[t._v("$"+t._s(parseFloat(e.price).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[t._v("/"+t._s(t.translateMe("mo")))])],1)])])]}))],2):n("PDataTableRow",[n("PDataTableCol",{staticClass:"plan-heading",staticStyle:{opacity:"0",visibility:"hidden",border:"0 !important"}},[n("b",[t._v(t._s(t.translateMe("features")))])]),t._v(" "),t._l(t.yearlyPlan,(function(e,a){return[n("PDataTableCol",{class:{"first-column":0===a,"plan-heading":!0,"last-column":a+1===t.yearlyPlan.length},style:t.activePlanStyle(e)},["Free"!==e.name?n("b",{staticStyle:{"font-size":"16px"}},[t._v(t._s(t.translateMe(e.name)))]):t._e(),t._v(" "),0===e.price?n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[t._v(t._s(t.translateMe("Free")))])],1)]):e.discount&&e.discount>0&&!t.isCurrentPlan(e)?n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[t._v("$"+t._s(parseFloat(t.calculateDiscountedPrice(e)).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[t._v("/"+t._s(t.translateMe("year")))])],1),t._v(" "),n("p",{staticStyle:{display:"flex","margin-top":"7px"}},[n("PHeading",{staticStyle:{"font-size":"18px","font-weight":"500","text-decoration":"line-through"}},[t._v("$"+t._s(parseFloat(e.price).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"3px","font-size":"14px"}},[t._v("/"+t._s(t.translateMe("year")))])],1)]):t.promotional_discount&&0!==t.promotional_discount.length&&!t.promotional_discount.errors&&t.promotional_discount.plan_relation.length>0&&t.promotional_discount.plan_relation.includes(e.id)&&!t.isCurrentPlan(e)||t.promotional_discount&&0!==t.promotional_discount.length&&!t.promotional_discount.errors&&0===t.promotional_discount.plan_relation.length&&t.promotional_discount.value>0&&!t.isCurrentPlan(e)?n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[t._v("$"+t._s(parseFloat(t.calculatePromotionalDiscountedPrice(e,t.promotional_discount)).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[t._v("/"+t._s(t.translateMe("year")))])],1),t._v(" "),n("p",{staticStyle:{display:"flex","margin-top":"7px"}},[n("PHeading",{staticStyle:{"font-size":"18px","font-weight":"500","text-decoration":"line-through"}},[t._v("$"+t._s(parseFloat(e.price).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"3px","font-size":"14px"}},[t._v("/"+t._s(t.translateMe("year")))])],1)]):n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[t._v("$"+t._s(parseFloat(e.price).toFixed(2)))]),t._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[t._v("/"+t._s(t.translateMe("year")))])],1)])])]}))],2)],1),t._v(" "),n("template",{slot:"body"},[t._l(t.featuresByGroup,(function(e,a){return["null"!==a?n("PDataTableRow",{staticClass:"app-manager-group-row"},[n("PDataTableCol",{staticClass:"app-manager-group-cell",attrs:{colspan:"monthly"===t.selectedPlan?t.monthlyPlan.length+1:t.yearlyPlan.length+1}},[t._v(t._s(t.translateMe(a)))])],1):t._e(),t._v(" "),t._l(e,(function(e,r){return n("PDataTableRow",{key:"row-"+(r+a)},[n("PDataTableCol",{class:"feature__type__"+e.value_type+" feature__class"},[t._v(t._s(t.translateMe(e.name)))]),t._v(" "),t._l("monthly"===t.selectedPlan?t.monthlyPlan:t.yearlyPlan,(function(a,o){return n("PDataTableCol",{key:"cell-"+o+"-row-"+r,class:"feature__type__"+e.value_type,style:t.activePlanStyle(a)},[a.features?["boolean"===e.value_type?[a.features[e.uuid]?n("PIcon",{attrs:{color:"success",source:"TickMinor"}}):n("PIcon",{attrs:{color:"subdued",source:"MinusMinor"}})]:[a.features[e.uuid]?n("span",[t._v(t._s(t.translateMe(t.format(a.features[e.uuid]))))]):n("PIcon",{attrs:{color:"subdued",source:"MinusMinor"}})]]:[n("PIcon",{attrs:{color:"subdued",source:"MinusMinor"}})]],2)}))],2)}))]})),t._v(" "),t.plans.length?n("PDataTableRow",{staticClass:"row-alignment"},[n("PDataTableCol"),t._v(" "),t._l("monthly"===t.selectedPlan?t.monthlyPlan:t.yearlyPlan,(function(e,a){return n("PDataTableCol",{key:"cell-"+a+"-row-plan",staticStyle:{"max-width":"0"}},[t.isCurrentPlan(e)?n("PButton",{attrs:{disabled:t.isCurrentPlan(e),"full-width":"",pressed:t.isCurrentPlan(e)}},[t._v("\n "+t._s(t.translateMe("Current Plan"))+"\n ")]):!e.store_base_plan||e.shopify_plans.includes(t.shop.shopify_plan)?n("PButton",{staticClass:"custom-choose-button",attrs:{"full-width":"",disabled:t.isActivePlanGlobal()&&!t.isActiveGlobalCharge()},on:{click:function(n){!e||t.getPlanUrl(e)}}},[t._v("\n "+t._s(t.isActivePlanGlobal()?t.isActiveGlobalCharge()?t.translateMe("Choose Plan"):t.translateMe("Not Applicable"):t.translateMe("Choose Plan"))+"\n ")]):n("PButton",{attrs:{disabled:!0,"full-width":"",pressed:!0}},[t._v("\n "+t._s(t.translateMe("Not applicable"))+"\n ")]),t._v(" "),e.store_base_plan&&t.shop.plan&&e.shopify_plans.includes(t.shop.shopify_plan)&&!t.isCurrentPlan(e)?n("PTextContainer",{staticClass:"footer-note-container"},[!e.store_base_plan||e.shopify_plans.includes(t.shop.shopify_plan)||t.isCurrentPlan(e)||t.isSamePlanInOtherInterval(e)?t._e():n("PTextStyle",{staticClass:"text-break"},[t._v(t._s(t.translateMe("Note: On account of your recent Shopify plan upgrade, you should consider upgrading your current app plan")))])],1):t._e()],1)}))],2):t._e()],2)],2)]],t._v(" "),t.onboard?n("PStack",{staticClass:"choose-plan-btn",attrs:{alignment:"center",distribution:"center",vertical:""}},[n("PStackItem",{attrs:{fill:""}},[n("PButton",{attrs:{plain:""},on:{click:t.activePlan}},[t._v(t._s(t.translateMe("I will choose the plan later")))])],1)],1):t._e(),t._v(" "),n("PlanBanners",{attrs:{position:"footer"},on:{handlePlanBannerClose:t.handlePlanBannerClose}})],2)],1),t._v(" "),null!==t.bundle_plan?n("div",{staticClass:"bundle-plan"},[n("PlanShowcaseBanner",{attrs:{useCardStyle:"true",bundleApps:t.totalBundleApps,showcaseData:t.bundle_plan,realPrice:parseFloat(t.calculateDiscountedPrice(t.bundle_plan)).toFixed(0),oldPrice:t.bundle_plan.price,isCurrentPlan:t.isCurrentPlanId(t.bundle_plan)},on:{"plan-clicked":function(e){return t.handlePlanClicked(t.bundle_plan)}}}),t._v(" "),n("div",{staticClass:"light-divider"}),t._v(" "),t._l(t.bundle_details,(function(e){return n("div",{staticClass:"bundle-category"},[n("CategoryHeading",{attrs:{headingData:e}}),t._v(" "),n("div",{staticClass:"bundle-category-apps"},t._l(e.apps_relation,(function(t){return n("AppCard",{attrs:{appData:t}})})),1)],1)})),t._v(" "),n("CategoryHeading",{attrs:{headingData:t.additionalBenefitsHeading}}),t._v(" "),n("BenefitsBanner"),t._v(" "),n("PlanShowcaseBanner",{staticStyle:{"margin-top":"20px"},attrs:{bundleApps:t.totalBundleApps,showcaseData:t.bundle_plan,realPrice:parseFloat(t.calculateDiscountedPrice(t.bundle_plan)).toFixed(0),oldPrice:t.bundle_plan.price,showDescription:!1,isCurrentPlan:t.isCurrentPlanId(t.bundle_plan)},on:{"plan-clicked":function(e){return t.handlePlanClicked(t.bundle_plan)}}})],2):t._e()],1)],1):t._e():n("PEmptyState",{attrs:{heading:t.translateMe("No Plans"),image:"https://cdn.shopify.com/s/files/1/0262/4071/2726/files/emptystate-files.png"}})},staticRenderFns:[]},(function(t){t&&t("data-v-3a2d6ab0_0",{source:"@import url(https://fonts.googleapis.com/css2?family=Satisfy&display=swap);.app-manager .app-manager-plan-page .plan-table td:last-child>[data-v-5a078dbb],.app-manager .app-manager-plan-page .plan-table td:last-child>[data-v-7d902277]{float:none}.app-manager .app-manager-plan-page .active{background:#f0f8f5}.app-manager .app-manager-plan-page .plan-table td:last-child>[data-v-0d1b0d63]{float:none}.app-manager .app-manager-plan-page .plan-table td{border:.01px solid #ececee!important;border-collapse:collapse!important}.app-manager .app-manager-plan-page .plan-table .Polaris-DataTable__ScrollContainer{border-radius:12px;overflow:visible}.app-manager .app-manager-plan-page .plan-table table{border-collapse:collapse!important}.app-manager .app-manager-plan-page .custom-plan table{border-collapse:collapse!important}.app-manager .app-manager-plan-page .custom-plan table thead .first-column{border-radius:12px 0 0 0;border-top:0!important;border-left:0!important}.app-manager .app-manager-plan-page .custom-plan table thead .plan-heading.last-column{text-align:left!important;border-radius:0 12px 0 0;border-top:0!important}.app-manager .app-manager-plan-page .custom-plan table thead .plan-heading{background-color:#fff;box-shadow:rgba(23,24,24,.05) 1px 0 8px,rgba(0,0,0,.15) 0 0 2px}.app-manager .app-manager-plan-page .custom-plan table tbody tr:first-child{background-color:#fff;box-shadow:0 0 5px rgba(23,24,24,.05),0 1px 2px rgba(0,0,0,.15);border-radius:12px 0 0 0;overflow:hidden}.app-manager .app-manager-plan-page .custom-plan table tbody tr:not(:first-child:last-child){background-color:#fff;overflow:hidden}.app-manager .app-manager-plan-page .custom-plan table tbody tr:not(:first-child:last-child){background-color:#fff;box-shadow:0 0 5px rgba(23,24,24,.05),0 1px 2px rgba(0,0,0,.15);overflow:hidden}.app-manager .app-manager-plan-page .custom-plan table tbody tr:not(:nth-last-child(2)){background-color:#fff;overflow:hidden}.app-manager .app-manager-plan-page .custom-plan table tbody tr:not(:nth-last-child(2)){border-bottom:0}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child{border-bottom:0;background-color:transparent!important;box-shadow:none!important}.app-manager .app-manager-plan-page .custom-plan table tbody tr:not(:last-child){pointer-events:none}.app-manager .app-manager-plan-page .custom-plan table thead tr td{pointer-events:none}.app-manager .app-manager-plan-page .custom-plan table tbody tr:first-child td:first-child{overflow:hidden;border-radius:12px 0 0 0}.app-manager .app-manager-plan-page .custom-plan table tbody tr:nth-last-child(2){overflow:hidden;border-bottom-right-radius:0;border-bottom-left-radius:12px}.app-manager .app-manager-plan-page .custom-plan table tbody tr:nth-last-child(2) td:first-child{overflow:hidden;border-bottom:0!important;border-radius:0 0 0 12px}.app-manager .app-manager-plan-page .custom-plan table tbody tr:nth-last-child(2) td:last-child{overflow:hidden;border-radius:0 0 0}.app-manager .app-manager-plan-page .custom-plan table tbody tr td:first-child{border-left:0!important;border-top:0!important;padding-left:20px}.app-manager .app-manager-plan-page .custom-plan table tbody tr td:last-child{text-align:center!important}.app-manager .app-manager-plan-page .custom-plan table thead tr td:last-child{text-align:center!important}.app-manager .app-manager-plan-page .custom-plan table tbody td:not(:first-child){text-align:center!important}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child td:last-child{background:0 0;border-radius:0 0 12px 0}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child td:nth-child(2){border-radius:0 0 0 12px!important}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child td{background:0 0}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child td:hover{border:0!important;background:0 0}.app-manager .app-manager-plan-page .custom-plan tbody tr:last-child td.Polaris-DataTable__Cell--verticalAlignTop{background:0 0!important}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child{background:#fff!important;opacity:1}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child td:first-child{visibility:hidden;border-bottom:none!important}.app-manager .app-manager-plan-page .plan-heading{padding-top:30px}.app-manager .app-manager-plan-page .custom-plan .Polaris-Layout__Section{max-width:calc(100% - 2rem)!important}.app-manager .app-manager-plan-page .later-link{text-align:center;clear:both;padding-top:15px}.app-manager .app-manager-plan-page .plan-badge ul{text-align:center;padding-top:2rem;border-top:.1rem solid #e1e3e5}.app-manager .app-manager-plan-page .plan-badge ul li{list-style:none;display:inline-block;padding-right:25px}.app-manager .app-manager-plan-page .plan-badge ul li img{max-width:133px}.app-manager .app-manager-plan-page .btn-group .Polaris-ButtonGroup__Item{margin-left:0!important;z-index:unset!important}.app-manager .Polaris-Button::after{box-shadow:none!important}.app-manager .Polaris-Button:focus{box-shadow:none!important;border-color:#000!important}.app-manager .app-manager-plan-page.custom-title .Polaris-HorizontalDivider{background-color:#e2e3e4}.app-manager .app-manager-plan-page .Polaris-Page__Content hr{border:1px solid #e2e3e4}.app-manager .app-manager-plan-page .app-manager-group-row{background:0 0!important;padding:16px 16px 16px 20px!important}.app-manager .app-manager-plan-page .feature__type__array{vertical-align:middle!important;word-spacing:999px;white-space:pre-line!important}.app-manager .app-manager-plan-page .Polaris-DataTable__Table{table-layout:fixed!important}.app-manager .app-manager-plan-page td{vertical-align:middle!important}.app-manager .app-manager-plan-page td.feature__class{word-wrap:break-word!important;white-space:normal!important}.app-manager .app-manager-plan-page .light-green-cell{background-color:#f0f8f5;color:#257f60}.app-manager .app-manager-plan-page .plan-heading b{overflow-wrap:break-word;word-wrap:break-word;white-space:initial}.bundle-plan{display:none;flex-direction:column;gap:20px}.bundle-category{display:flex;flex-direction:column;gap:20px;margin-bottom:10px}.bundle-category-apps{display:flex;flex-direction:column;gap:10px}.light-divider{border-top:1px solid #e3e3e3;margin-top:10px;margin-bottom:10px}.app-manager .Polaris-Icon--colorSuccess svg{fill:#000!important}.button-group-new{display:flex;align-items:center;justify-content:center;gap:4px}@media (max-width:700px){.app-manager .Polaris-DataTable__Table{width:auto!important}}",map:void 0,media:void 0})}),qh,undefined,false,undefined,!1,Ac,void 0,void 0),Fh=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("a",{staticClass:"button",class:"button-"+t.variant,on:{click:t.handleClick}},[t._t("default")],2)},staticRenderFns:[]},(function(t){t&&t("data-v-aeb6667a_0",{source:".button[data-v-aeb6667a]{display:flex;width:fit-content!important;height:28px!important;align-items:center!important;padding:4px 12px!important;text-decoration:none!important;font-size:13px!important;font-weight:450!important;color:#4a4a4a!important;border-radius:40px!important;transition:all .3s!important}.button[data-v-aeb6667a]:hover{background-color:#0000000d!important;border-radius:8px!important}.button-primary[data-v-aeb6667a]{background-color:#3f3f3f!important;color:#fafafa!important}.button-primary[data-v-aeb6667a]:hover{cursor:pointer!important;background-color:rgba(0,0,0,.5)!important;border-radius:40px!important}.button-secondary[data-v-aeb6667a]{color:#000!important;background-color:none}.button-secondary[data-v-aeb6667a]:hover{cursor:pointer!important;background-color:rgba(0,0,0,.08)!important;border-radius:40px!important}.additional-info-primary[data-v-aeb6667a]{background-color:rgba(0,0,0,.06)!important;color:#616161!important;padding:0 6px!important;border-radius:8px!important;font-size:13px!important;font-weight:550!important}.additional-info-secondary[data-v-aeb6667a]{background-color:rgba(0,0,0,.06)!important;color:#616161!important;padding:0 6px!important;border-radius:8px!important;font-weight:550!important}.disabled[data-v-aeb6667a]{background-color:rgba(0,0,0,.08)!important;font-size:13px!important;font-weight:450!important;color:#4a4a4a!important;cursor:not-allowed!important;pointer-events:none!important}",map:void 0,media:void 0})}),{name:"SelectButton",props:{variant:{type:String,required:!0,default:function(){return"primary"}}},methods:{handleClick:function(){event.preventDefault(),this.$emit("click",event)},handlePlanClick:function(){event.preventDefault(),this.$emit("plan-clicked",event)}}},"data-v-aeb6667a",false,undefined,!1,Ac,void 0,void 0),$h=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a",{staticClass:"button",class:{"is-toggled":t.toggled},on:{click:t.handleClick}},[n("svg",{attrs:{width:"18",height:"18",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_855_6470)"}},[n("path",{attrs:{d:"M6.00512 1.50562C6.43112 1.50562 6.83912 1.67562 7.13862 1.97662L7.48762 2.32562C7.59992 2.43725 7.75178 2.49998 7.91012 2.50012H8.41012C8.83447 2.50012 9.24144 2.66869 9.54149 2.96874C9.84155 3.2688 10.0101 3.67577 10.0101 4.10012V4.60012C10.0101 4.75812 10.0731 4.91012 10.1836 5.02162L10.5326 5.37062C10.6821 5.51922 10.8007 5.69588 10.8816 5.89045C10.9626 6.08502 11.0043 6.29367 11.0044 6.50441C11.0045 6.71515 10.9629 6.92383 10.8822 7.11847C10.8014 7.31312 10.6829 7.48988 10.5336 7.63862L10.1846 7.98762C10.073 8.09991 10.0103 8.25177 10.0101 8.41012V8.91012C10.0101 9.33446 9.84155 9.74143 9.54149 10.0415C9.24144 10.3415 8.83447 10.5101 8.41012 10.5101H7.91012C7.75227 10.5103 7.60083 10.5726 7.48862 10.6836L7.13962 11.0326C6.99102 11.182 6.81436 11.3006 6.61979 11.3816C6.42522 11.4626 6.21657 11.5043 6.00583 11.5044C5.79509 11.5045 5.58641 11.4629 5.39177 11.3821C5.19712 11.3014 5.02036 11.1829 4.87162 11.0336L4.52262 10.6846C4.41033 10.573 4.25847 10.5103 4.10012 10.5101H3.60012C3.17578 10.5101 2.76881 10.3415 2.46875 10.0415C2.16869 9.74143 2.00012 9.33446 2.00012 8.91012V8.41012C1.99999 8.25226 1.93765 8.10082 1.82662 7.98862L1.47762 7.63962C1.3282 7.49101 1.2096 7.31435 1.12864 7.11978C1.04768 6.92521 1.00595 6.71656 1.00586 6.50582C1.00577 6.29508 1.04731 6.0864 1.12809 5.89176C1.20888 5.69711 1.32733 5.52035 1.47662 5.37162L1.82562 5.02262C1.93726 4.91032 1.99999 4.75846 2.00012 4.60012V4.10012L2.00262 4.00912C2.02586 3.60117 2.2043 3.21757 2.50134 2.93699C2.79838 2.6564 3.19152 2.50009 3.60012 2.50012H4.10012C4.25798 2.49998 4.40942 2.43764 4.52162 2.32662L4.87062 1.97762C5.01929 1.82806 5.19606 1.70937 5.39076 1.62836C5.58546 1.54736 5.79425 1.50565 6.00512 1.50562ZM7.25012 7.00012C7.05121 7.00012 6.86045 7.07913 6.71979 7.21979C6.57914 7.36044 6.50012 7.5512 6.50012 7.75012C6.50012 7.94903 6.57914 8.13979 6.71979 8.28045C6.86045 8.4211 7.05121 8.50012 7.25012 8.50012C7.44904 8.50012 7.6398 8.4211 7.78045 8.28045C7.92111 8.13979 8.00012 7.94903 8.00012 7.75012C8.00012 7.5512 7.92111 7.36044 7.78045 7.21979C7.6398 7.07913 7.44904 7.00012 7.25012 7.00012ZM7.85362 4.64662C7.75986 4.55288 7.63271 4.50022 7.50012 4.50022C7.36754 4.50022 7.24039 4.55288 7.14662 4.64662L4.14662 7.64662C4.05555 7.74092 4.00515 7.86722 4.00629 7.99832C4.00743 8.12941 4.06001 8.25482 4.15271 8.34752C4.24542 8.44023 4.37083 8.49281 4.50192 8.49395C4.63302 8.49509 4.75932 8.44469 4.85362 8.35362L7.85362 5.35362C7.94736 5.25985 8.00002 5.1327 8.00002 5.00012C8.00002 4.86753 7.94736 4.74038 7.85362 4.64662ZM4.75012 4.50012C4.55121 4.50012 4.36045 4.57913 4.21979 4.71979C4.07914 4.86044 4.00012 5.0512 4.00012 5.25012C4.00012 5.44903 4.07914 5.63979 4.21979 5.78045C4.36045 5.9211 4.55121 6.00012 4.75012 6.00012C4.94904 6.00012 5.1398 5.9211 5.28045 5.78045C5.42111 5.63979 5.50012 5.44903 5.50012 5.25012C5.50012 5.0512 5.42111 4.86044 5.28045 4.71979C5.1398 4.57913 4.94904 4.50012 4.75012 4.50012Z",fill:"black"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_855_6470"}},[n("rect",{attrs:{width:"12",height:"12",fill:"white",transform:"translate(0 0.5)"}})])])]),t._v(" "),t._t("default")],2)},staticRenderFns:[]},(function(t){t&&t("data-v-c4d6521e_0",{source:".button[data-v-c4d6521e]{display:flex;width:fit-content!important;align-items:center!important;gap:3px!important;padding:10px 12px!important;text-decoration:none!important;font-size:12px!important;font-weight:550!important;color:#303030!important;border-left:1px solid #e3e3e3;border-top:1px solid #e3e3e3;border-right:1px solid #e3e3e3;background-color:#fff!important;border-radius:8px!important;transition:all .3s!important;box-shadow:#e3e3e3 0 1px 0 0 inset,#e3e3e3 1px 0 0 0 inset,#e3e3e3 -1px 0 0 0 inset,#b5b5b5 0 -1px 0 0 inset;cursor:pointer}.button.is-toggled[data-v-c4d6521e],.button[data-v-c4d6521e]:hover{background-color:#ccc!important;color:#303030!important;box-shadow:#1a1a1a33 0 2px 1px 0 inset,#1a1a1a1f 1px 0 1px 0 inset,#1a1a1a1f -1px 0 1px 0 inset}",map:void 0,media:void 0})}),{name:"ToggleButton",props:{toggled:{type:Boolean,required:!0,default:function(){return!1}}},methods:{handleClick:function(){event.preventDefault(),this.$emit("click",event)},handlePlanClick:function(){event.preventDefault(),this.$emit("plan-clicked",event)}}},"data-v-c4d6521e",false,undefined,!1,Ac,void 0,void 0);function Uh(t){return null!==t&&"object"==typeof t&&"constructor"in t&&t.constructor===Object}function Wh(t={},e={}){Object.keys(e).forEach((n=>{void 0===t[n]?t[n]=e[n]:Uh(e[n])&&Uh(t[n])&&Object.keys(e[n]).length>0&&Wh(t[n],e[n])}))}const Gh={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Zh(){const t="undefined"!=typeof document?document:{};return Wh(t,Gh),t}const Yh={document:Gh,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:t=>"undefined"==typeof setTimeout?(t(),null):setTimeout(t,0),cancelAnimationFrame(t){"undefined"!=typeof setTimeout&&clearTimeout(t)}};function Kh(){const t="undefined"!=typeof window?window:{};return Wh(t,Yh),t}class Xh extends Array{constructor(t){"number"==typeof t?super(t):(super(...t||[]),function(t){const e=t.__proto__;Object.defineProperty(t,"__proto__",{get:()=>e,set(t){e.__proto__=t}})}(this))}}function Qh(t=[]){const e=[];return t.forEach((t=>{Array.isArray(t)?e.push(...Qh(t)):e.push(t)})),e}function Jh(t,e){return Array.prototype.filter.call(t,e)}function tp(t,e){const n=Kh(),a=Zh();let r=[];if(!e&&t instanceof Xh)return t;if(!t)return new Xh(r);if("string"==typeof t){const n=t.trim();if(n.indexOf("<")>=0&&n.indexOf(">")>=0){let t="div";0===n.indexOf("<li")&&(t="ul"),0===n.indexOf("<tr")&&(t="tbody"),0!==n.indexOf("<td")&&0!==n.indexOf("<th")||(t="tr"),0===n.indexOf("<tbody")&&(t="table"),0===n.indexOf("<option")&&(t="select");const e=a.createElement(t);e.innerHTML=n;for(let t=0;t<e.childNodes.length;t+=1)r.push(e.childNodes[t])}else r=function(t,e){if("string"!=typeof t)return[t];const n=[],a=e.querySelectorAll(t);for(let t=0;t<a.length;t+=1)n.push(a[t]);return n}(t.trim(),e||a)}else if(t.nodeType||t===n||t===a)r.push(t);else if(Array.isArray(t)){if(t instanceof Xh)return t;r=t}return new Xh(function(t){const e=[];for(let n=0;n<t.length;n+=1)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(r))}tp.fn=Xh.prototype;const ep={addClass:function(...t){const e=Qh(t.map((t=>t.split(" "))));return this.forEach((t=>{t.classList.add(...e)})),this},removeClass:function(...t){const e=Qh(t.map((t=>t.split(" "))));return this.forEach((t=>{t.classList.remove(...e)})),this},hasClass:function(...t){const e=Qh(t.map((t=>t.split(" "))));return Jh(this,(t=>e.filter((e=>t.classList.contains(e))).length>0)).length>0},toggleClass:function(...t){const e=Qh(t.map((t=>t.split(" "))));this.forEach((t=>{e.forEach((e=>{t.classList.toggle(e)}))}))},attr:function(t,e){if(1===arguments.length&&"string"==typeof t)return this[0]?this[0].getAttribute(t):void 0;for(let n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(t,e);else for(const e in t)this[n][e]=t[e],this[n].setAttribute(e,t[e]);return this},removeAttr:function(t){for(let e=0;e<this.length;e+=1)this[e].removeAttribute(t);return this},transform:function(t){for(let e=0;e<this.length;e+=1)this[e].style.transform=t;return this},transition:function(t){for(let e=0;e<this.length;e+=1)this[e].style.transitionDuration="string"!=typeof t?`${t}ms`:t;return this},on:function(...t){let[e,n,a,r]=t;function o(t){const e=t.target;if(!e)return;const r=t.target.dom7EventData||[];if(r.indexOf(t)<0&&r.unshift(t),tp(e).is(n))a.apply(e,r);else{const t=tp(e).parents();for(let e=0;e<t.length;e+=1)tp(t[e]).is(n)&&a.apply(t[e],r)}}function i(t){const e=t&&t.target&&t.target.dom7EventData||[];e.indexOf(t)<0&&e.unshift(t),a.apply(this,e)}"function"==typeof t[1]&&([e,a,r]=t,n=void 0),r||(r=!1);const s=e.split(" ");let l;for(let t=0;t<this.length;t+=1){const e=this[t];if(n)for(l=0;l<s.length;l+=1){const t=s[l];e.dom7LiveListeners||(e.dom7LiveListeners={}),e.dom7LiveListeners[t]||(e.dom7LiveListeners[t]=[]),e.dom7LiveListeners[t].push({listener:a,proxyListener:o}),e.addEventListener(t,o,r)}else for(l=0;l<s.length;l+=1){const t=s[l];e.dom7Listeners||(e.dom7Listeners={}),e.dom7Listeners[t]||(e.dom7Listeners[t]=[]),e.dom7Listeners[t].push({listener:a,proxyListener:i}),e.addEventListener(t,i,r)}}return this},off:function(...t){let[e,n,a,r]=t;"function"==typeof t[1]&&([e,a,r]=t,n=void 0),r||(r=!1);const o=e.split(" ");for(let t=0;t<o.length;t+=1){const e=o[t];for(let t=0;t<this.length;t+=1){const o=this[t];let i;if(!n&&o.dom7Listeners?i=o.dom7Listeners[e]:n&&o.dom7LiveListeners&&(i=o.dom7LiveListeners[e]),i&&i.length)for(let t=i.length-1;t>=0;t-=1){const n=i[t];a&&n.listener===a||a&&n.listener&&n.listener.dom7proxy&&n.listener.dom7proxy===a?(o.removeEventListener(e,n.proxyListener,r),i.splice(t,1)):a||(o.removeEventListener(e,n.proxyListener,r),i.splice(t,1))}}}return this},trigger:function(...t){const e=Kh(),n=t[0].split(" "),a=t[1];for(let r=0;r<n.length;r+=1){const o=n[r];for(let n=0;n<this.length;n+=1){const r=this[n];if(e.CustomEvent){const n=new e.CustomEvent(o,{detail:a,bubbles:!0,cancelable:!0});r.dom7EventData=t.filter(((t,e)=>e>0)),r.dispatchEvent(n),r.dom7EventData=[],delete r.dom7EventData}}}return this},transitionEnd:function(t){const e=this;return t&&e.on("transitionend",(function n(a){a.target===this&&(t.call(this,a),e.off("transitionend",n))})),this},outerWidth:function(t){if(this.length>0){if(t){const t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(t){if(this.length>0){if(t){const t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){const t=Kh();return this[0]?t.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){const t=Kh(),e=Zh(),n=this[0],a=n.getBoundingClientRect(),r=e.body,o=n.clientTop||r.clientTop||0,i=n.clientLeft||r.clientLeft||0,s=n===t?t.scrollY:n.scrollTop,l=n===t?t.scrollX:n.scrollLeft;return{top:a.top+s-o,left:a.left+l-i}}return null},css:function(t,e){const n=Kh();let a;if(1===arguments.length){if("string"!=typeof t){for(a=0;a<this.length;a+=1)for(const e in t)this[a].style[e]=t[e];return this}if(this[0])return n.getComputedStyle(this[0],null).getPropertyValue(t)}if(2===arguments.length&&"string"==typeof t){for(a=0;a<this.length;a+=1)this[a].style[t]=e;return this}return this},each:function(t){return t?(this.forEach(((e,n)=>{t.apply(e,[e,n])})),this):this},html:function(t){if(void 0===t)return this[0]?this[0].innerHTML:null;for(let e=0;e<this.length;e+=1)this[e].innerHTML=t;return this},text:function(t){if(void 0===t)return this[0]?this[0].textContent.trim():null;for(let e=0;e<this.length;e+=1)this[e].textContent=t;return this},is:function(t){const e=Kh(),n=Zh(),a=this[0];let r,o;if(!a||void 0===t)return!1;if("string"==typeof t){if(a.matches)return a.matches(t);if(a.webkitMatchesSelector)return a.webkitMatchesSelector(t);if(a.msMatchesSelector)return a.msMatchesSelector(t);for(r=tp(t),o=0;o<r.length;o+=1)if(r[o]===a)return!0;return!1}if(t===n)return a===n;if(t===e)return a===e;if(t.nodeType||t instanceof Xh){for(r=t.nodeType?[t]:t,o=0;o<r.length;o+=1)if(r[o]===a)return!0;return!1}return!1},index:function(){let t,e=this[0];if(e){for(t=0;null!==(e=e.previousSibling);)1===e.nodeType&&(t+=1);return t}},eq:function(t){if(void 0===t)return this;const e=this.length;if(t>e-1)return tp([]);if(t<0){const n=e+t;return tp(n<0?[]:[this[n]])}return tp([this[t]])},append:function(...t){let e;const n=Zh();for(let a=0;a<t.length;a+=1){e=t[a];for(let t=0;t<this.length;t+=1)if("string"==typeof e){const a=n.createElement("div");for(a.innerHTML=e;a.firstChild;)this[t].appendChild(a.firstChild)}else if(e instanceof Xh)for(let n=0;n<e.length;n+=1)this[t].appendChild(e[n]);else this[t].appendChild(e)}return this},prepend:function(t){const e=Zh();let n,a;for(n=0;n<this.length;n+=1)if("string"==typeof t){const r=e.createElement("div");for(r.innerHTML=t,a=r.childNodes.length-1;a>=0;a-=1)this[n].insertBefore(r.childNodes[a],this[n].childNodes[0])}else if(t instanceof Xh)for(a=0;a<t.length;a+=1)this[n].insertBefore(t[a],this[n].childNodes[0]);else this[n].insertBefore(t,this[n].childNodes[0]);return this},next:function(t){return this.length>0?t?this[0].nextElementSibling&&tp(this[0].nextElementSibling).is(t)?tp([this[0].nextElementSibling]):tp([]):this[0].nextElementSibling?tp([this[0].nextElementSibling]):tp([]):tp([])},nextAll:function(t){const e=[];let n=this[0];if(!n)return tp([]);for(;n.nextElementSibling;){const a=n.nextElementSibling;t?tp(a).is(t)&&e.push(a):e.push(a),n=a}return tp(e)},prev:function(t){if(this.length>0){const e=this[0];return t?e.previousElementSibling&&tp(e.previousElementSibling).is(t)?tp([e.previousElementSibling]):tp([]):e.previousElementSibling?tp([e.previousElementSibling]):tp([])}return tp([])},prevAll:function(t){const e=[];let n=this[0];if(!n)return tp([]);for(;n.previousElementSibling;){const a=n.previousElementSibling;t?tp(a).is(t)&&e.push(a):e.push(a),n=a}return tp(e)},parent:function(t){const e=[];for(let n=0;n<this.length;n+=1)null!==this[n].parentNode&&(t?tp(this[n].parentNode).is(t)&&e.push(this[n].parentNode):e.push(this[n].parentNode));return tp(e)},parents:function(t){const e=[];for(let n=0;n<this.length;n+=1){let a=this[n].parentNode;for(;a;)t?tp(a).is(t)&&e.push(a):e.push(a),a=a.parentNode}return tp(e)},closest:function(t){let e=this;return void 0===t?tp([]):(e.is(t)||(e=e.parents(t).eq(0)),e)},find:function(t){const e=[];for(let n=0;n<this.length;n+=1){const a=this[n].querySelectorAll(t);for(let t=0;t<a.length;t+=1)e.push(a[t])}return tp(e)},children:function(t){const e=[];for(let n=0;n<this.length;n+=1){const a=this[n].children;for(let n=0;n<a.length;n+=1)t&&!tp(a[n]).is(t)||e.push(a[n])}return tp(e)},filter:function(t){return tp(Jh(this,t))},remove:function(){for(let t=0;t<this.length;t+=1)this[t].parentNode&&this[t].parentNode.removeChild(this[t]);return this}};function np(t,e=0){return setTimeout(t,e)}function ap(){return Date.now()}function rp(t,e="x"){const n=Kh();let a,r,o;const i=function(t){const e=Kh();let n;return e.getComputedStyle&&(n=e.getComputedStyle(t,null)),!n&&t.currentStyle&&(n=t.currentStyle),n||(n=t.style),n}(t);return n.WebKitCSSMatrix?(r=i.transform||i.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map((t=>t.replace(",","."))).join(", ")),o=new n.WebKitCSSMatrix("none"===r?"":r)):(o=i.MozTransform||i.OTransform||i.MsTransform||i.msTransform||i.transform||i.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),a=o.toString().split(",")),"x"===e&&(r=n.WebKitCSSMatrix?o.m41:16===a.length?parseFloat(a[12]):parseFloat(a[4])),"y"===e&&(r=n.WebKitCSSMatrix?o.m42:16===a.length?parseFloat(a[13]):parseFloat(a[5])),r||0}function op(t){return"object"==typeof t&&null!==t&&t.constructor&&"Object"===Object.prototype.toString.call(t).slice(8,-1)}function ip(t){return"undefined"!=typeof window&&void 0!==window.HTMLElement?t instanceof HTMLElement:t&&(1===t.nodeType||11===t.nodeType)}function sp(...t){const e=Object(t[0]),n=["__proto__","constructor","prototype"];for(let a=1;a<t.length;a+=1){const r=t[a];if(null!=r&&!ip(r)){const t=Object.keys(Object(r)).filter((t=>n.indexOf(t)<0));for(let n=0,a=t.length;n<a;n+=1){const a=t[n],o=Object.getOwnPropertyDescriptor(r,a);void 0!==o&&o.enumerable&&(op(e[a])&&op(r[a])?r[a].__swiper__?e[a]=r[a]:sp(e[a],r[a]):!op(e[a])&&op(r[a])?(e[a]={},r[a].__swiper__?e[a]=r[a]:sp(e[a],r[a])):e[a]=r[a])}}}return e}function lp(t,e,n){t.style.setProperty(e,n)}function cp({swiper:t,targetPosition:e,side:n}){const a=Kh(),r=-t.translate;let o,i=null;const s=t.params.speed;t.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(t.cssModeFrameID);const l=e>r?"next":"prev",c=(t,e)=>"next"===l&&t>=e||"prev"===l&&t<=e,u=()=>{o=(new Date).getTime(),null===i&&(i=o);const l=Math.max(Math.min((o-i)/s,1),0),d=.5-Math.cos(l*Math.PI)/2;let h=r+d*(e-r);if(c(h,e)&&(h=e),t.wrapperEl.scrollTo({[n]:h}),c(h,e))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[n]:h})})),void a.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=a.requestAnimationFrame(u)};u()}let up,dp,hp;function pp(){return up||(up=function(){const t=Kh(),e=Zh();return{smoothScroll:e.documentElement&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch),passiveListener:function(){let e=!1;try{const n=Object.defineProperty({},"passive",{get(){e=!0}});t.addEventListener("testPassiveListener",null,n)}catch(t){}return e}(),gestures:"ongesturestart"in t}}()),up}function fp(t={}){return dp||(dp=function({userAgent:t}={}){const e=pp(),n=Kh(),a=n.navigator.platform,r=t||n.navigator.userAgent,o={ios:!1,android:!1},i=n.screen.width,s=n.screen.height,l=r.match(/(Android);?[\s\/]+([\d.]+)?/);let c=r.match(/(iPad).*OS\s([\d_]+)/);const u=r.match(/(iPod)(.*OS\s([\d_]+))?/),d=!c&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===a;let p="MacIntel"===a;return!c&&p&&e.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${i}x${s}`)>=0&&(c=r.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),p=!1),l&&!h&&(o.os="android",o.android=!0),(c||d||u)&&(o.os="ios",o.ios=!0),o}(t)),dp}function vp(){return hp||(hp=function(){const t=Kh();return{isSafari:function(){const e=t.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}()),hp}Object.keys(ep).forEach((t=>{Object.defineProperty(tp.fn,t,{value:ep[t],writable:!0})}));var gp={on(t,e,n){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof e)return a;const r=n?"unshift":"push";return t.split(" ").forEach((t=>{a.eventsListeners[t]||(a.eventsListeners[t]=[]),a.eventsListeners[t][r](e)})),a},once(t,e,n){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof e)return a;function r(...n){a.off(t,r),r.__emitterProxy&&delete r.__emitterProxy,e.apply(a,n)}return r.__emitterProxy=e,a.on(t,r,n)},onAny(t,e){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;const a=e?"unshift":"push";return n.eventsAnyListeners.indexOf(t)<0&&n.eventsAnyListeners[a](t),n},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsAnyListeners)return e;const n=e.eventsAnyListeners.indexOf(t);return n>=0&&e.eventsAnyListeners.splice(n,1),e},off(t,e){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(t.split(" ").forEach((t=>{void 0===e?n.eventsListeners[t]=[]:n.eventsListeners[t]&&n.eventsListeners[t].forEach(((a,r)=>{(a===e||a.__emitterProxy&&a.__emitterProxy===e)&&n.eventsListeners[t].splice(r,1)}))})),n):n},emit(...t){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let n,a,r;"string"==typeof t[0]||Array.isArray(t[0])?(n=t[0],a=t.slice(1,t.length),r=e):(n=t[0].events,a=t[0].data,r=t[0].context||e),a.unshift(r);return(Array.isArray(n)?n:n.split(" ")).forEach((t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(r,[t,...a])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((t=>{t.apply(r,a)}))})),e}};var mp={updateSize:function(){const t=this;let e,n;const a=t.$el;e=void 0!==t.params.width&&null!==t.params.width?t.params.width:a[0].clientWidth,n=void 0!==t.params.height&&null!==t.params.height?t.params.height:a[0].clientHeight,0===e&&t.isHorizontal()||0===n&&t.isVertical()||(e=e-parseInt(a.css("padding-left")||0,10)-parseInt(a.css("padding-right")||0,10),n=n-parseInt(a.css("padding-top")||0,10)-parseInt(a.css("padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(n)&&(n=0),Object.assign(t,{width:e,height:n,size:t.isHorizontal()?e:n}))},updateSlides:function(){const t=this;function e(e){return t.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}function n(t,n){return parseFloat(t.getPropertyValue(e(n))||0)}const a=t.params,{$wrapperEl:r,size:o,rtlTranslate:i,wrongRTL:s}=t,l=t.virtual&&a.virtual.enabled,c=l?t.virtual.slides.length:t.slides.length,u=r.children(`.${t.params.slideClass}`),d=l?t.virtual.slides.length:u.length;let h=[];const p=[],f=[];let v=a.slidesOffsetBefore;"function"==typeof v&&(v=a.slidesOffsetBefore.call(t));let g=a.slidesOffsetAfter;"function"==typeof g&&(g=a.slidesOffsetAfter.call(t));const m=t.snapGrid.length,y=t.slidesGrid.length;let w=a.spaceBetween,b=-v,_=0,x=0;if(void 0===o)return;"string"==typeof w&&w.indexOf("%")>=0&&(w=parseFloat(w.replace("%",""))/100*o),t.virtualSize=-w,i?u.css({marginLeft:"",marginBottom:"",marginTop:""}):u.css({marginRight:"",marginBottom:"",marginTop:""}),a.centeredSlides&&a.cssMode&&(lp(t.wrapperEl,"--swiper-centered-offset-before",""),lp(t.wrapperEl,"--swiper-centered-offset-after",""));const M=a.grid&&a.grid.rows>1&&t.grid;let C;M&&t.grid.initSlides(d);const P="auto"===a.slidesPerView&&a.breakpoints&&Object.keys(a.breakpoints).filter((t=>void 0!==a.breakpoints[t].slidesPerView)).length>0;for(let r=0;r<d;r+=1){C=0;const i=u.eq(r);if(M&&t.grid.updateSlide(r,i,d,e),"none"!==i.css("display")){if("auto"===a.slidesPerView){P&&(u[r].style[e("width")]="");const o=getComputedStyle(i[0]),s=i[0].style.transform,l=i[0].style.webkitTransform;if(s&&(i[0].style.transform="none"),l&&(i[0].style.webkitTransform="none"),a.roundLengths)C=t.isHorizontal()?i.outerWidth(!0):i.outerHeight(!0);else{const t=n(o,"width"),e=n(o,"padding-left"),a=n(o,"padding-right"),r=n(o,"margin-left"),s=n(o,"margin-right"),l=o.getPropertyValue("box-sizing");if(l&&"border-box"===l)C=t+r+s;else{const{clientWidth:n,offsetWidth:o}=i[0];C=t+e+a+r+s+(o-n)}}s&&(i[0].style.transform=s),l&&(i[0].style.webkitTransform=l),a.roundLengths&&(C=Math.floor(C))}else C=(o-(a.slidesPerView-1)*w)/a.slidesPerView,a.roundLengths&&(C=Math.floor(C)),u[r]&&(u[r].style[e("width")]=`${C}px`);u[r]&&(u[r].swiperSlideSize=C),f.push(C),a.centeredSlides?(b=b+C/2+_/2+w,0===_&&0!==r&&(b=b-o/2-w),0===r&&(b=b-o/2-w),Math.abs(b)<.001&&(b=0),a.roundLengths&&(b=Math.floor(b)),x%a.slidesPerGroup==0&&h.push(b),p.push(b)):(a.roundLengths&&(b=Math.floor(b)),(x-Math.min(t.params.slidesPerGroupSkip,x))%t.params.slidesPerGroup==0&&h.push(b),p.push(b),b=b+C+w),t.virtualSize+=C+w,_=C,x+=1}}if(t.virtualSize=Math.max(t.virtualSize,o)+g,i&&s&&("slide"===a.effect||"coverflow"===a.effect)&&r.css({width:`${t.virtualSize+a.spaceBetween}px`}),a.setWrapperSize&&r.css({[e("width")]:`${t.virtualSize+a.spaceBetween}px`}),M&&t.grid.updateWrapperSize(C,h,e),!a.centeredSlides){const e=[];for(let n=0;n<h.length;n+=1){let r=h[n];a.roundLengths&&(r=Math.floor(r)),h[n]<=t.virtualSize-o&&e.push(r)}h=e,Math.floor(t.virtualSize-o)-Math.floor(h[h.length-1])>1&&h.push(t.virtualSize-o)}if(0===h.length&&(h=[0]),0!==a.spaceBetween){const n=t.isHorizontal()&&i?"marginLeft":e("marginRight");u.filter(((t,e)=>!a.cssMode||e!==u.length-1)).css({[n]:`${w}px`})}if(a.centeredSlides&&a.centeredSlidesBounds){let t=0;f.forEach((e=>{t+=e+(a.spaceBetween?a.spaceBetween:0)})),t-=a.spaceBetween;const e=t-o;h=h.map((t=>t<0?-v:t>e?e+g:t))}if(a.centerInsufficientSlides){let t=0;if(f.forEach((e=>{t+=e+(a.spaceBetween?a.spaceBetween:0)})),t-=a.spaceBetween,t<o){const e=(o-t)/2;h.forEach(((t,n)=>{h[n]=t-e})),p.forEach(((t,n)=>{p[n]=t+e}))}}if(Object.assign(t,{slides:u,snapGrid:h,slidesGrid:p,slidesSizesGrid:f}),a.centeredSlides&&a.cssMode&&!a.centeredSlidesBounds){lp(t.wrapperEl,"--swiper-centered-offset-before",-h[0]+"px"),lp(t.wrapperEl,"--swiper-centered-offset-after",t.size/2-f[f.length-1]/2+"px");const e=-t.snapGrid[0],n=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map((t=>t+e)),t.slidesGrid=t.slidesGrid.map((t=>t+n))}if(d!==c&&t.emit("slidesLengthChange"),h.length!==m&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),p.length!==y&&t.emit("slidesGridLengthChange"),a.watchSlidesProgress&&t.updateSlidesOffset(),!(l||a.cssMode||"slide"!==a.effect&&"fade"!==a.effect)){const e=`${a.containerModifierClass}backface-hidden`,n=t.$el.hasClass(e);d<=a.maxBackfaceHiddenSlides?n||t.$el.addClass(e):n&&t.$el.removeClass(e)}},updateAutoHeight:function(t){const e=this,n=[],a=e.virtual&&e.params.virtual.enabled;let r,o=0;"number"==typeof t?e.setTransition(t):!0===t&&e.setTransition(e.params.speed);const i=t=>a?e.slides.filter((e=>parseInt(e.getAttribute("data-swiper-slide-index"),10)===t))[0]:e.slides.eq(t)[0];if("auto"!==e.params.slidesPerView&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||tp([])).each((t=>{n.push(t)}));else for(r=0;r<Math.ceil(e.params.slidesPerView);r+=1){const t=e.activeIndex+r;if(t>e.slides.length&&!a)break;n.push(i(t))}else n.push(i(e.activeIndex));for(r=0;r<n.length;r+=1)if(void 0!==n[r]){const t=n[r].offsetHeight;o=t>o?t:o}(o||0===o)&&e.$wrapperEl.css("height",`${o}px`)},updateSlidesOffset:function(){const t=this,e=t.slides;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop},updateSlidesProgress:function(t=this&&this.translate||0){const e=this,n=e.params,{slides:a,rtlTranslate:r,snapGrid:o}=e;if(0===a.length)return;void 0===a[0].swiperSlideOffset&&e.updateSlidesOffset();let i=-t;r&&(i=t),a.removeClass(n.slideVisibleClass),e.visibleSlidesIndexes=[],e.visibleSlides=[];for(let t=0;t<a.length;t+=1){const s=a[t];let l=s.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(l-=a[0].swiperSlideOffset);const c=(i+(n.centeredSlides?e.minTranslate():0)-l)/(s.swiperSlideSize+n.spaceBetween),u=(i-o[0]+(n.centeredSlides?e.minTranslate():0)-l)/(s.swiperSlideSize+n.spaceBetween),d=-(i-l),h=d+e.slidesSizesGrid[t];(d>=0&&d<e.size-1||h>1&&h<=e.size||d<=0&&h>=e.size)&&(e.visibleSlides.push(s),e.visibleSlidesIndexes.push(t),a.eq(t).addClass(n.slideVisibleClass)),s.progress=r?-c:c,s.originalProgress=r?-u:u}e.visibleSlides=tp(e.visibleSlides)},updateProgress:function(t){const e=this;if(void 0===t){const n=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*n||0}const n=e.params,a=e.maxTranslate()-e.minTranslate();let{progress:r,isBeginning:o,isEnd:i}=e;const s=o,l=i;0===a?(r=0,o=!0,i=!0):(r=(t-e.minTranslate())/a,o=r<=0,i=r>=1),Object.assign(e,{progress:r,isBeginning:o,isEnd:i}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&e.updateSlidesProgress(t),o&&!s&&e.emit("reachBeginning toEdge"),i&&!l&&e.emit("reachEnd toEdge"),(s&&!o||l&&!i)&&e.emit("fromEdge"),e.emit("progress",r)},updateSlidesClasses:function(){const t=this,{slides:e,params:n,$wrapperEl:a,activeIndex:r,realIndex:o}=t,i=t.virtual&&n.virtual.enabled;let s;e.removeClass(`${n.slideActiveClass} ${n.slideNextClass} ${n.slidePrevClass} ${n.slideDuplicateActiveClass} ${n.slideDuplicateNextClass} ${n.slideDuplicatePrevClass}`),s=i?t.$wrapperEl.find(`.${n.slideClass}[data-swiper-slide-index="${r}"]`):e.eq(r),s.addClass(n.slideActiveClass),n.loop&&(s.hasClass(n.slideDuplicateClass)?a.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${o}"]`).addClass(n.slideDuplicateActiveClass):a.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${o}"]`).addClass(n.slideDuplicateActiveClass));let l=s.nextAll(`.${n.slideClass}`).eq(0).addClass(n.slideNextClass);n.loop&&0===l.length&&(l=e.eq(0),l.addClass(n.slideNextClass));let c=s.prevAll(`.${n.slideClass}`).eq(0).addClass(n.slidePrevClass);n.loop&&0===c.length&&(c=e.eq(-1),c.addClass(n.slidePrevClass)),n.loop&&(l.hasClass(n.slideDuplicateClass)?a.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass):a.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass),c.hasClass(n.slideDuplicateClass)?a.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass):a.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass)),t.emitSlidesClasses()},updateActiveIndex:function(t){const e=this,n=e.rtlTranslate?e.translate:-e.translate,{slidesGrid:a,snapGrid:r,params:o,activeIndex:i,realIndex:s,snapIndex:l}=e;let c,u=t;if(void 0===u){for(let t=0;t<a.length;t+=1)void 0!==a[t+1]?n>=a[t]&&n<a[t+1]-(a[t+1]-a[t])/2?u=t:n>=a[t]&&n<a[t+1]&&(u=t+1):n>=a[t]&&(u=t);o.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}if(r.indexOf(n)>=0)c=r.indexOf(n);else{const t=Math.min(o.slidesPerGroupSkip,u);c=t+Math.floor((u-t)/o.slidesPerGroup)}if(c>=r.length&&(c=r.length-1),u===i)return void(c!==l&&(e.snapIndex=c,e.emit("snapIndexChange")));const d=parseInt(e.slides.eq(u).attr("data-swiper-slide-index")||u,10);Object.assign(e,{snapIndex:c,realIndex:d,previousIndex:i,activeIndex:u}),e.emit("activeIndexChange"),e.emit("snapIndexChange"),s!==d&&e.emit("realIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&e.emit("slideChange")},updateClickedSlide:function(t){const e=this,n=e.params,a=tp(t).closest(`.${n.slideClass}`)[0];let r,o=!1;if(a)for(let t=0;t<e.slides.length;t+=1)if(e.slides[t]===a){o=!0,r=t;break}if(!a||!o)return e.clickedSlide=void 0,void(e.clickedIndex=void 0);e.clickedSlide=a,e.virtual&&e.params.virtual.enabled?e.clickedIndex=parseInt(tp(a).attr("data-swiper-slide-index"),10):e.clickedIndex=r,n.slideToClickedSlide&&void 0!==e.clickedIndex&&e.clickedIndex!==e.activeIndex&&e.slideToClickedSlide()}};var yp={getTranslate:function(t=(this.isHorizontal()?"x":"y")){const{params:e,rtlTranslate:n,translate:a,$wrapperEl:r}=this;if(e.virtualTranslate)return n?-a:a;if(e.cssMode)return a;let o=rp(r[0],t);return n&&(o=-o),o||0},setTranslate:function(t,e){const n=this,{rtlTranslate:a,params:r,$wrapperEl:o,wrapperEl:i,progress:s}=n;let l,c=0,u=0;n.isHorizontal()?c=a?-t:t:u=t,r.roundLengths&&(c=Math.floor(c),u=Math.floor(u)),r.cssMode?i[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-c:-u:r.virtualTranslate||o.transform(`translate3d(${c}px, ${u}px, 0px)`),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?c:u;const d=n.maxTranslate()-n.minTranslate();l=0===d?0:(t-n.minTranslate())/d,l!==s&&n.updateProgress(t),n.emit("setTranslate",n.translate,e)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(t=0,e=this.params.speed,n=!0,a=!0,r){const o=this,{params:i,wrapperEl:s}=o;if(o.animating&&i.preventInteractionOnTransition)return!1;const l=o.minTranslate(),c=o.maxTranslate();let u;if(u=a&&t>l?l:a&&t<c?c:t,o.updateProgress(u),i.cssMode){const t=o.isHorizontal();if(0===e)s[t?"scrollLeft":"scrollTop"]=-u;else{if(!o.support.smoothScroll)return cp({swiper:o,targetPosition:-u,side:t?"left":"top"}),!0;s.scrollTo({[t?"left":"top"]:-u,behavior:"smooth"})}return!0}return 0===e?(o.setTransition(0),o.setTranslate(u),n&&(o.emit("beforeTransitionStart",e,r),o.emit("transitionEnd"))):(o.setTransition(e),o.setTranslate(u),n&&(o.emit("beforeTransitionStart",e,r),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(t){o&&!o.destroyed&&t.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,n&&o.emit("transitionEnd"))}),o.$wrapperEl[0].addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd))),!0}};function wp({swiper:t,runCallbacks:e,direction:n,step:a}){const{activeIndex:r,previousIndex:o}=t;let i=n;if(i||(i=r>o?"next":r<o?"prev":"reset"),t.emit(`transition${a}`),e&&r!==o){if("reset"===i)return void t.emit(`slideResetTransition${a}`);t.emit(`slideChangeTransition${a}`),"next"===i?t.emit(`slideNextTransition${a}`):t.emit(`slidePrevTransition${a}`)}}var bp={slideTo:function(t=0,e=this.params.speed,n=!0,a,r){if("number"!=typeof t&&"string"!=typeof t)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof t}] given.`);if("string"==typeof t){const e=parseInt(t,10);if(!isFinite(e))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${t}] given.`);t=e}const o=this;let i=t;i<0&&(i=0);const{params:s,snapGrid:l,slidesGrid:c,previousIndex:u,activeIndex:d,rtlTranslate:h,wrapperEl:p,enabled:f}=o;if(o.animating&&s.preventInteractionOnTransition||!f&&!a&&!r)return!1;const v=Math.min(o.params.slidesPerGroupSkip,i);let g=v+Math.floor((i-v)/o.params.slidesPerGroup);g>=l.length&&(g=l.length-1);const m=-l[g];if(s.normalizeSlideIndex)for(let t=0;t<c.length;t+=1){const e=-Math.floor(100*m),n=Math.floor(100*c[t]),a=Math.floor(100*c[t+1]);void 0!==c[t+1]?e>=n&&e<a-(a-n)/2?i=t:e>=n&&e<a&&(i=t+1):e>=n&&(i=t)}if(o.initialized&&i!==d){if(!o.allowSlideNext&&m<o.translate&&m<o.minTranslate())return!1;if(!o.allowSlidePrev&&m>o.translate&&m>o.maxTranslate()&&(d||0)!==i)return!1}let y;if(i!==(u||0)&&n&&o.emit("beforeSlideChangeStart"),o.updateProgress(m),y=i>d?"next":i<d?"prev":"reset",h&&-m===o.translate||!h&&m===o.translate)return o.updateActiveIndex(i),s.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),"slide"!==s.effect&&o.setTranslate(m),"reset"!==y&&(o.transitionStart(n,y),o.transitionEnd(n,y)),!1;if(s.cssMode){const t=o.isHorizontal(),n=h?m:-m;if(0===e){const e=o.virtual&&o.params.virtual.enabled;e&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),p[t?"scrollLeft":"scrollTop"]=n,e&&requestAnimationFrame((()=>{o.wrapperEl.style.scrollSnapType="",o._swiperImmediateVirtual=!1}))}else{if(!o.support.smoothScroll)return cp({swiper:o,targetPosition:n,side:t?"left":"top"}),!0;p.scrollTo({[t?"left":"top"]:n,behavior:"smooth"})}return!0}return o.setTransition(e),o.setTranslate(m),o.updateActiveIndex(i),o.updateSlidesClasses(),o.emit("beforeTransitionStart",e,a),o.transitionStart(n,y),0===e?o.transitionEnd(n,y):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(t){o&&!o.destroyed&&t.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(n,y))}),o.$wrapperEl[0].addEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(t=0,e=this.params.speed,n=!0,a){if("string"==typeof t){const e=parseInt(t,10);if(!isFinite(e))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${t}] given.`);t=e}const r=this;let o=t;return r.params.loop&&(o+=r.loopedSlides),r.slideTo(o,e,n,a)},slideNext:function(t=this.params.speed,e=!0,n){const a=this,{animating:r,enabled:o,params:i}=a;if(!o)return a;let s=i.slidesPerGroup;"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(s=Math.max(a.slidesPerViewDynamic("current",!0),1));const l=a.activeIndex<i.slidesPerGroupSkip?1:s;if(i.loop){if(r&&i.loopPreventsSlide)return!1;a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft}return i.rewind&&a.isEnd?a.slideTo(0,t,e,n):a.slideTo(a.activeIndex+l,t,e,n)},slidePrev:function(t=this.params.speed,e=!0,n){const a=this,{params:r,animating:o,snapGrid:i,slidesGrid:s,rtlTranslate:l,enabled:c}=a;if(!c)return a;if(r.loop){if(o&&r.loopPreventsSlide)return!1;a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft}function u(t){return t<0?-Math.floor(Math.abs(t)):Math.floor(t)}const d=u(l?a.translate:-a.translate),h=i.map((t=>u(t)));let p=i[h.indexOf(d)-1];if(void 0===p&&r.cssMode){let t;i.forEach(((e,n)=>{d>=e&&(t=n)})),void 0!==t&&(p=i[t>0?t-1:t])}let f=0;if(void 0!==p&&(f=s.indexOf(p),f<0&&(f=a.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(f=f-a.slidesPerViewDynamic("previous",!0)+1,f=Math.max(f,0))),r.rewind&&a.isBeginning){const r=a.params.virtual&&a.params.virtual.enabled&&a.virtual?a.virtual.slides.length-1:a.slides.length-1;return a.slideTo(r,t,e,n)}return a.slideTo(f,t,e,n)},slideReset:function(t=this.params.speed,e=!0,n){return this.slideTo(this.activeIndex,t,e,n)},slideToClosest:function(t=this.params.speed,e=!0,n,a=.5){const r=this;let o=r.activeIndex;const i=Math.min(r.params.slidesPerGroupSkip,o),s=i+Math.floor((o-i)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[s]){const t=r.snapGrid[s];l-t>(r.snapGrid[s+1]-t)*a&&(o+=r.params.slidesPerGroup)}else{const t=r.snapGrid[s-1];l-t<=(r.snapGrid[s]-t)*a&&(o-=r.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,r.slidesGrid.length-1),r.slideTo(o,t,e,n)},slideToClickedSlide:function(){const t=this,{params:e,$wrapperEl:n}=t,a="auto"===e.slidesPerView?t.slidesPerViewDynamic():e.slidesPerView;let r,o=t.clickedIndex;if(e.loop){if(t.animating)return;r=parseInt(tp(t.clickedSlide).attr("data-swiper-slide-index"),10),e.centeredSlides?o<t.loopedSlides-a/2||o>t.slides.length-t.loopedSlides+a/2?(t.loopFix(),o=n.children(`.${e.slideClass}[data-swiper-slide-index="${r}"]:not(.${e.slideDuplicateClass})`).eq(0).index(),np((()=>{t.slideTo(o)}))):t.slideTo(o):o>t.slides.length-a?(t.loopFix(),o=n.children(`.${e.slideClass}[data-swiper-slide-index="${r}"]:not(.${e.slideDuplicateClass})`).eq(0).index(),np((()=>{t.slideTo(o)}))):t.slideTo(o)}else t.slideTo(o)}};var _p={loopCreate:function(){const t=this,e=Zh(),{params:n,$wrapperEl:a}=t,r=a.children().length>0?tp(a.children()[0].parentNode):a;r.children(`.${n.slideClass}.${n.slideDuplicateClass}`).remove();let o=r.children(`.${n.slideClass}`);if(n.loopFillGroupWithBlank){const t=n.slidesPerGroup-o.length%n.slidesPerGroup;if(t!==n.slidesPerGroup){for(let a=0;a<t;a+=1){const t=tp(e.createElement("div")).addClass(`${n.slideClass} ${n.slideBlankClass}`);r.append(t)}o=r.children(`.${n.slideClass}`)}}"auto"!==n.slidesPerView||n.loopedSlides||(n.loopedSlides=o.length),t.loopedSlides=Math.ceil(parseFloat(n.loopedSlides||n.slidesPerView,10)),t.loopedSlides+=n.loopAdditionalSlides,t.loopedSlides>o.length&&t.params.loopedSlidesLimit&&(t.loopedSlides=o.length);const i=[],s=[];o.each(((t,e)=>{tp(t).attr("data-swiper-slide-index",e)}));for(let e=0;e<t.loopedSlides;e+=1){const t=e-Math.floor(e/o.length)*o.length;s.push(o.eq(t)[0]),i.unshift(o.eq(o.length-t-1)[0])}for(let t=0;t<s.length;t+=1)r.append(tp(s[t].cloneNode(!0)).addClass(n.slideDuplicateClass));for(let t=i.length-1;t>=0;t-=1)r.prepend(tp(i[t].cloneNode(!0)).addClass(n.slideDuplicateClass))},loopFix:function(){const t=this;t.emit("beforeLoopFix");const{activeIndex:e,slides:n,loopedSlides:a,allowSlidePrev:r,allowSlideNext:o,snapGrid:i,rtlTranslate:s}=t;let l;t.allowSlidePrev=!0,t.allowSlideNext=!0;const c=-i[e]-t.getTranslate();if(e<a){l=n.length-3*a+e,l+=a;t.slideTo(l,0,!1,!0)&&0!==c&&t.setTranslate((s?-t.translate:t.translate)-c)}else if(e>=n.length-a){l=-n.length+e+a,l+=a;t.slideTo(l,0,!1,!0)&&0!==c&&t.setTranslate((s?-t.translate:t.translate)-c)}t.allowSlidePrev=r,t.allowSlideNext=o,t.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:t,params:e,slides:n}=this;t.children(`.${e.slideClass}.${e.slideDuplicateClass},.${e.slideClass}.${e.slideBlankClass}`).remove(),n.removeAttr("data-swiper-slide-index")}};function xp(t){const e=this,n=Zh(),a=Kh(),r=e.touchEventsData,{params:o,touches:i,enabled:s}=e;if(!s)return;if(e.animating&&o.preventInteractionOnTransition)return;!e.animating&&o.cssMode&&o.loop&&e.loopFix();let l=t;l.originalEvent&&(l=l.originalEvent);let c=tp(l.target);if("wrapper"===o.touchEventsTarget&&!c.closest(e.wrapperEl).length)return;if(r.isTouchEvent="touchstart"===l.type,!r.isTouchEvent&&"which"in l&&3===l.which)return;if(!r.isTouchEvent&&"button"in l&&l.button>0)return;if(r.isTouched&&r.isMoved)return;const u=!!o.noSwipingClass&&""!==o.noSwipingClass,d=t.composedPath?t.composedPath():t.path;u&&l.target&&l.target.shadowRoot&&d&&(c=tp(d[0]));const h=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,p=!(!l.target||!l.target.shadowRoot);if(o.noSwiping&&(p?function(t,e=this){return function e(n){if(!n||n===Zh()||n===Kh())return null;n.assignedSlot&&(n=n.assignedSlot);const a=n.closest(t);return a||n.getRootNode?a||e(n.getRootNode().host):null}(e)}(h,c[0]):c.closest(h)[0]))return void(e.allowClick=!0);if(o.swipeHandler&&!c.closest(o.swipeHandler)[0])return;i.currentX="touchstart"===l.type?l.targetTouches[0].pageX:l.pageX,i.currentY="touchstart"===l.type?l.targetTouches[0].pageY:l.pageY;const f=i.currentX,v=i.currentY,g=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,m=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(g&&(f<=m||f>=a.innerWidth-m)){if("prevent"!==g)return;t.preventDefault()}if(Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),i.startX=f,i.startY=v,r.touchStartTime=ap(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,o.threshold>0&&(r.allowThresholdMove=!1),"touchstart"!==l.type){let t=!0;c.is(r.focusableElements)&&(t=!1,"SELECT"===c[0].nodeName&&(r.isTouched=!1)),n.activeElement&&tp(n.activeElement).is(r.focusableElements)&&n.activeElement!==c[0]&&n.activeElement.blur();const a=t&&e.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!a||c[0].isContentEditable||l.preventDefault()}e.params.freeMode&&e.params.freeMode.enabled&&e.freeMode&&e.animating&&!o.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",l)}function Mp(t){const e=Zh(),n=this,a=n.touchEventsData,{params:r,touches:o,rtlTranslate:i,enabled:s}=n;if(!s)return;let l=t;if(l.originalEvent&&(l=l.originalEvent),!a.isTouched)return void(a.startMoving&&a.isScrolling&&n.emit("touchMoveOpposite",l));if(a.isTouchEvent&&"touchmove"!==l.type)return;const c="touchmove"===l.type&&l.targetTouches&&(l.targetTouches[0]||l.changedTouches[0]),u="touchmove"===l.type?c.pageX:l.pageX,d="touchmove"===l.type?c.pageY:l.pageY;if(l.preventedByNestedSwiper)return o.startX=u,void(o.startY=d);if(!n.allowTouchMove)return tp(l.target).is(a.focusableElements)||(n.allowClick=!1),void(a.isTouched&&(Object.assign(o,{startX:u,startY:d,currentX:u,currentY:d}),a.touchStartTime=ap()));if(a.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop)if(n.isVertical()){if(d<o.startY&&n.translate<=n.maxTranslate()||d>o.startY&&n.translate>=n.minTranslate())return a.isTouched=!1,void(a.isMoved=!1)}else if(u<o.startX&&n.translate<=n.maxTranslate()||u>o.startX&&n.translate>=n.minTranslate())return;if(a.isTouchEvent&&e.activeElement&&l.target===e.activeElement&&tp(l.target).is(a.focusableElements))return a.isMoved=!0,void(n.allowClick=!1);if(a.allowTouchCallbacks&&n.emit("touchMove",l),l.targetTouches&&l.targetTouches.length>1)return;o.currentX=u,o.currentY=d;const h=o.currentX-o.startX,p=o.currentY-o.startY;if(n.params.threshold&&Math.sqrt(h**2+p**2)<n.params.threshold)return;if(void 0===a.isScrolling){let t;n.isHorizontal()&&o.currentY===o.startY||n.isVertical()&&o.currentX===o.startX?a.isScrolling=!1:h*h+p*p>=25&&(t=180*Math.atan2(Math.abs(p),Math.abs(h))/Math.PI,a.isScrolling=n.isHorizontal()?t>r.touchAngle:90-t>r.touchAngle)}if(a.isScrolling&&n.emit("touchMoveOpposite",l),void 0===a.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(a.startMoving=!0)),a.isScrolling)return void(a.isTouched=!1);if(!a.startMoving)return;n.allowClick=!1,!r.cssMode&&l.cancelable&&l.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&l.stopPropagation(),a.isMoved||(r.loop&&!r.cssMode&&n.loopFix(),a.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger("webkitTransitionEnd transitionend"),a.allowMomentumBounce=!1,!r.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",l)),n.emit("sliderMove",l),a.isMoved=!0;let f=n.isHorizontal()?h:p;o.diff=f,f*=r.touchRatio,i&&(f=-f),n.swipeDirection=f>0?"prev":"next",a.currentTranslate=f+a.startTranslate;let v=!0,g=r.resistanceRatio;if(r.touchReleaseOnEdges&&(g=0),f>0&&a.currentTranslate>n.minTranslate()?(v=!1,r.resistance&&(a.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+a.startTranslate+f)**g)):f<0&&a.currentTranslate<n.maxTranslate()&&(v=!1,r.resistance&&(a.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-a.startTranslate-f)**g)),v&&(l.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&a.currentTranslate<a.startTranslate&&(a.currentTranslate=a.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&a.currentTranslate>a.startTranslate&&(a.currentTranslate=a.startTranslate),n.allowSlidePrev||n.allowSlideNext||(a.currentTranslate=a.startTranslate),r.threshold>0){if(!(Math.abs(f)>r.threshold||a.allowThresholdMove))return void(a.currentTranslate=a.startTranslate);if(!a.allowThresholdMove)return a.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,a.currentTranslate=a.startTranslate,void(o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&n.freeMode||r.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),n.params.freeMode&&r.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(a.currentTranslate),n.setTranslate(a.currentTranslate))}function Cp(t){const e=this,n=e.touchEventsData,{params:a,touches:r,rtlTranslate:o,slidesGrid:i,enabled:s}=e;if(!s)return;let l=t;if(l.originalEvent&&(l=l.originalEvent),n.allowTouchCallbacks&&e.emit("touchEnd",l),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&a.grabCursor&&e.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);a.grabCursor&&n.isMoved&&n.isTouched&&(!0===e.allowSlideNext||!0===e.allowSlidePrev)&&e.setGrabCursor(!1);const c=ap(),u=c-n.touchStartTime;if(e.allowClick){const t=l.path||l.composedPath&&l.composedPath();e.updateClickedSlide(t&&t[0]||l.target),e.emit("tap click",l),u<300&&c-n.lastClickTime<300&&e.emit("doubleTap doubleClick",l)}if(n.lastClickTime=ap(),np((()=>{e.destroyed||(e.allowClick=!0)})),!n.isTouched||!n.isMoved||!e.swipeDirection||0===r.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let d;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,d=a.followFinger?o?e.translate:-e.translate:-n.currentTranslate,a.cssMode)return;if(e.params.freeMode&&a.freeMode.enabled)return void e.freeMode.onTouchEnd({currentPos:d});let h=0,p=e.slidesSizesGrid[0];for(let t=0;t<i.length;t+=t<a.slidesPerGroupSkip?1:a.slidesPerGroup){const e=t<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;void 0!==i[t+e]?d>=i[t]&&d<i[t+e]&&(h=t,p=i[t+e]-i[t]):d>=i[t]&&(h=t,p=i[i.length-1]-i[i.length-2])}let f=null,v=null;a.rewind&&(e.isBeginning?v=e.params.virtual&&e.params.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(f=0));const g=(d-i[h])/p,m=h<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(u>a.longSwipesMs){if(!a.longSwipes)return void e.slideTo(e.activeIndex);"next"===e.swipeDirection&&(g>=a.longSwipesRatio?e.slideTo(a.rewind&&e.isEnd?f:h+m):e.slideTo(h)),"prev"===e.swipeDirection&&(g>1-a.longSwipesRatio?e.slideTo(h+m):null!==v&&g<0&&Math.abs(g)>a.longSwipesRatio?e.slideTo(v):e.slideTo(h))}else{if(!a.shortSwipes)return void e.slideTo(e.activeIndex);e.navigation&&(l.target===e.navigation.nextEl||l.target===e.navigation.prevEl)?l.target===e.navigation.nextEl?e.slideTo(h+m):e.slideTo(h):("next"===e.swipeDirection&&e.slideTo(null!==f?f:h+m),"prev"===e.swipeDirection&&e.slideTo(null!==v?v:h))}}function Pp(){const t=this,{params:e,el:n}=t;if(n&&0===n.offsetWidth)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:a,allowSlidePrev:r,snapGrid:o}=t;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses(),("auto"===e.slidesPerView||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides?t.slideTo(t.slides.length-1,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.run(),t.allowSlidePrev=r,t.allowSlideNext=a,t.params.watchOverflow&&o!==t.snapGrid&&t.checkOverflow()}function Ap(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function kp(){const t=this,{wrapperEl:e,rtlTranslate:n,enabled:a}=t;if(!a)return;let r;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,0===t.translate&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();const o=t.maxTranslate()-t.minTranslate();r=0===o?0:(t.translate-t.minTranslate())/o,r!==t.progress&&t.updateProgress(n?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}let Sp=!1;function zp(){}const Tp=(t,e)=>{const n=Zh(),{params:a,touchEvents:r,el:o,wrapperEl:i,device:s,support:l}=t,c=!!a.nested,u="on"===e?"addEventListener":"removeEventListener",d=e;if(l.touch){const e=!("touchstart"!==r.start||!l.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1};o[u](r.start,t.onTouchStart,e),o[u](r.move,t.onTouchMove,l.passiveListener?{passive:!1,capture:c}:c),o[u](r.end,t.onTouchEnd,e),r.cancel&&o[u](r.cancel,t.onTouchEnd,e)}else o[u](r.start,t.onTouchStart,!1),n[u](r.move,t.onTouchMove,c),n[u](r.end,t.onTouchEnd,!1);(a.preventClicks||a.preventClicksPropagation)&&o[u]("click",t.onClick,!0),a.cssMode&&i[u]("scroll",t.onScroll),a.updateOnWindowResize?t[d](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",Pp,!0):t[d]("observerUpdate",Pp,!0)};var jp={attachEvents:function(){const t=this,e=Zh(),{params:n,support:a}=t;t.onTouchStart=xp.bind(t),t.onTouchMove=Mp.bind(t),t.onTouchEnd=Cp.bind(t),n.cssMode&&(t.onScroll=kp.bind(t)),t.onClick=Ap.bind(t),a.touch&&!Sp&&(e.addEventListener("touchstart",zp),Sp=!0),Tp(t,"on")},detachEvents:function(){Tp(this,"off")}};const Ep=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;var Op={setBreakpoint:function(){const t=this,{activeIndex:e,initialized:n,loopedSlides:a=0,params:r,$el:o}=t,i=r.breakpoints;if(!i||i&&0===Object.keys(i).length)return;const s=t.getBreakpoint(i,t.params.breakpointsBase,t.el);if(!s||t.currentBreakpoint===s)return;const l=(s in i?i[s]:void 0)||t.originalParams,c=Ep(t,r),u=Ep(t,l),d=r.enabled;c&&!u?(o.removeClass(`${r.containerModifierClass}grid ${r.containerModifierClass}grid-column`),t.emitContainerClasses()):!c&&u&&(o.addClass(`${r.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===r.grid.fill)&&o.addClass(`${r.containerModifierClass}grid-column`),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((e=>{const n=r[e]&&r[e].enabled,a=l[e]&&l[e].enabled;n&&!a&&t[e].disable(),!n&&a&&t[e].enable()}));const h=l.direction&&l.direction!==r.direction,p=r.loop&&(l.slidesPerView!==r.slidesPerView||h);h&&n&&t.changeDirection(),sp(t.params,l);const f=t.params.enabled;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),d&&!f?t.disable():!d&&f&&t.enable(),t.currentBreakpoint=s,t.emit("_beforeBreakpoint",l),p&&n&&(t.loopDestroy(),t.loopCreate(),t.updateSlides(),t.slideTo(e-a+t.loopedSlides,0,!1)),t.emit("breakpoint",l)},getBreakpoint:function(t,e="window",n){if(!t||"container"===e&&!n)return;let a=!1;const r=Kh(),o="window"===e?r.innerHeight:n.clientHeight,i=Object.keys(t).map((t=>{if("string"==typeof t&&0===t.indexOf("@")){const e=parseFloat(t.substr(1));return{value:o*e,point:t}}return{value:t,point:t}}));i.sort(((t,e)=>parseInt(t.value,10)-parseInt(e.value,10)));for(let t=0;t<i.length;t+=1){const{point:o,value:s}=i[t];"window"===e?r.matchMedia(`(min-width: ${s}px)`).matches&&(a=o):s<=n.clientWidth&&(a=o)}return a||"max"}};var Lp={addClasses:function(){const t=this,{classNames:e,params:n,rtl:a,$el:r,device:o,support:i}=t,s=function(t,e){const n=[];return t.forEach((t=>{"object"==typeof t?Object.keys(t).forEach((a=>{t[a]&&n.push(e+a)})):"string"==typeof t&&n.push(e+t)})),n}(["initialized",n.direction,{"pointer-events":!i.touch},{"free-mode":t.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:a},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:o.android},{ios:o.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);e.push(...s),r.addClass([...e].join(" ")),t.emitContainerClasses()},removeClasses:function(){const{$el:t,classNames:e}=this;t.removeClass(e.join(" ")),this.emitContainerClasses()}};var Bp={loadImage:function(t,e,n,a,r,o){const i=Kh();let s;function l(){o&&o()}tp(t).parent("picture")[0]||t.complete&&r?l():e?(s=new i.Image,s.onload=l,s.onerror=l,a&&(s.sizes=a),n&&(s.srcset=n),e&&(s.src=e)):l()},preloadImages:function(){const t=this;function e(){null!=t&&t&&!t.destroyed&&(void 0!==t.imagesLoaded&&(t.imagesLoaded+=1),t.imagesLoaded===t.imagesToLoad.length&&(t.params.updateOnImagesReady&&t.update(),t.emit("imagesReady")))}t.imagesToLoad=t.$el.find("img");for(let n=0;n<t.imagesToLoad.length;n+=1){const a=t.imagesToLoad[n];t.loadImage(a,a.currentSrc||a.getAttribute("src"),a.srcset||a.getAttribute("srcset"),a.sizes||a.getAttribute("sizes"),!0,e)}}};var Hp={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function Np(t,e){return function(n={}){const a=Object.keys(n)[0],r=n[a];"object"==typeof r&&null!==r?(["navigation","pagination","scrollbar"].indexOf(a)>=0&&!0===t[a]&&(t[a]={auto:!0}),a in t&&"enabled"in r?(!0===t[a]&&(t[a]={enabled:!0}),"object"!=typeof t[a]||"enabled"in t[a]||(t[a].enabled=!0),t[a]||(t[a]={enabled:!1}),sp(e,n)):sp(e,n)):sp(e,n)}}const Rp={eventsEmitter:gp,update:mp,translate:yp,transition:{setTransition:function(t,e){const n=this;n.params.cssMode||n.$wrapperEl.transition(t),n.emit("setTransition",t,e)},transitionStart:function(t=!0,e){const n=this,{params:a}=n;a.cssMode||(a.autoHeight&&n.updateAutoHeight(),wp({swiper:n,runCallbacks:t,direction:e,step:"Start"}))},transitionEnd:function(t=!0,e){const n=this,{params:a}=n;n.animating=!1,a.cssMode||(n.setTransition(0),wp({swiper:n,runCallbacks:t,direction:e,step:"End"}))}},slide:bp,loop:_p,grabCursor:{setGrabCursor:function(t){const e=this;if(e.support.touch||!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const n="container"===e.params.touchEventsTarget?e.el:e.wrapperEl;n.style.cursor="move",n.style.cursor=t?"grabbing":"grab"},unsetGrabCursor:function(){const t=this;t.support.touch||t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t["container"===t.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:jp,breakpoints:Op,checkOverflow:{checkOverflow:function(){const t=this,{isLocked:e,params:n}=t,{slidesOffsetBefore:a}=n;if(a){const e=t.slides.length-1,n=t.slidesGrid[e]+t.slidesSizesGrid[e]+2*a;t.isLocked=t.size>n}else t.isLocked=1===t.snapGrid.length;!0===n.allowSlideNext&&(t.allowSlideNext=!t.isLocked),!0===n.allowSlidePrev&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}},classes:Lp,images:Bp},Vp={};class Ip{constructor(...t){let e,n;if(1===t.length&&t[0].constructor&&"Object"===Object.prototype.toString.call(t[0]).slice(8,-1)?n=t[0]:[e,n]=t,n||(n={}),n=sp({},n),e&&!n.el&&(n.el=e),n.el&&tp(n.el).length>1){const t=[];return tp(n.el).each((e=>{const a=sp({},n,{el:e});t.push(new Ip(a))})),t}const a=this;a.__swiper__=!0,a.support=pp(),a.device=fp({userAgent:n.userAgent}),a.browser=vp(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],n.modules&&Array.isArray(n.modules)&&a.modules.push(...n.modules);const r={};a.modules.forEach((t=>{t({swiper:a,extendParams:Np(n,r),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})}));const o=sp({},Hp,r);return a.params=sp({},o,Vp,n),a.originalParams=sp({},a.params),a.passedParams=sp({},n),a.params&&a.params.on&&Object.keys(a.params.on).forEach((t=>{a.on(t,a.params.on[t])})),a.params&&a.params.onAny&&a.onAny(a.params.onAny),a.$=tp,Object.assign(a,{enabled:a.params.enabled,el:e,classNames:[],slides:tp(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEvents:function(){const t=["touchstart","touchmove","touchend","touchcancel"],e=["pointerdown","pointermove","pointerup"];return a.touchEventsTouch={start:t[0],move:t[1],end:t[2],cancel:t[3]},a.touchEventsDesktop={start:e[0],move:e[1],end:e[2]},a.support.touch||!a.params.simulateTouch?a.touchEventsTouch:a.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:ap(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,e){const n=this;t=Math.min(Math.max(t,0),1);const a=n.minTranslate(),r=(n.maxTranslate()-a)*t+a;n.translateTo(r,void 0===e?0:e),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const e=t.el.className.split(" ").filter((e=>0===e.indexOf("swiper")||0===e.indexOf(t.params.containerModifierClass)));t.emit("_containerClasses",e.join(" "))}getSlideClasses(t){const e=this;return e.destroyed?"":t.className.split(" ").filter((t=>0===t.indexOf("swiper-slide")||0===t.indexOf(e.params.slideClass))).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const e=[];t.slides.each((n=>{const a=t.getSlideClasses(n);e.push({slideEl:n,classNames:a}),t.emit("_slideClass",n,a)})),t.emit("_slideClasses",e)}slidesPerViewDynamic(t="current",e=!1){const{params:n,slides:a,slidesGrid:r,slidesSizesGrid:o,size:i,activeIndex:s}=this;let l=1;if(n.centeredSlides){let t,e=a[s].swiperSlideSize;for(let n=s+1;n<a.length;n+=1)a[n]&&!t&&(e+=a[n].swiperSlideSize,l+=1,e>i&&(t=!0));for(let n=s-1;n>=0;n-=1)a[n]&&!t&&(e+=a[n].swiperSlideSize,l+=1,e>i&&(t=!0))}else if("current"===t)for(let t=s+1;t<a.length;t+=1){(e?r[t]+o[t]-r[s]<i:r[t]-r[s]<i)&&(l+=1)}else for(let t=s-1;t>=0;t-=1){r[s]-r[t]<i&&(l+=1)}return l}update(){const t=this;if(!t||t.destroyed)return;const{snapGrid:e,params:n}=t;function a(){const e=t.rtlTranslate?-1*t.translate:t.translate,n=Math.min(Math.max(e,t.maxTranslate()),t.minTranslate());t.setTranslate(n),t.updateActiveIndex(),t.updateSlidesClasses()}let r;n.breakpoints&&t.setBreakpoint(),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.params.freeMode&&t.params.freeMode.enabled?(a(),t.params.autoHeight&&t.updateAutoHeight()):(r=("auto"===t.params.slidesPerView||t.params.slidesPerView>1)&&t.isEnd&&!t.params.centeredSlides?t.slideTo(t.slides.length-1,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),r||a()),n.watchOverflow&&e!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,e=!0){const n=this,a=n.params.direction;return t||(t="horizontal"===a?"vertical":"horizontal"),t===a||"horizontal"!==t&&"vertical"!==t||(n.$el.removeClass(`${n.params.containerModifierClass}${a}`).addClass(`${n.params.containerModifierClass}${t}`),n.emitContainerClasses(),n.params.direction=t,n.slides.each((e=>{"vertical"===t?e.style.width="":e.style.height=""})),n.emit("changeDirection"),e&&n.update()),n}changeLanguageDirection(t){const e=this;e.rtl&&"rtl"===t||!e.rtl&&"ltr"===t||(e.rtl="rtl"===t,e.rtlTranslate="horizontal"===e.params.direction&&e.rtl,e.rtl?(e.$el.addClass(`${e.params.containerModifierClass}rtl`),e.el.dir="rtl"):(e.$el.removeClass(`${e.params.containerModifierClass}rtl`),e.el.dir="ltr"),e.update())}mount(t){const e=this;if(e.mounted)return!0;const n=tp(t||e.params.el);if(!(t=n[0]))return!1;t.swiper=e;const a=()=>`.${(e.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=(()=>{if(t&&t.shadowRoot&&t.shadowRoot.querySelector){const e=tp(t.shadowRoot.querySelector(a()));return e.children=t=>n.children(t),e}return n.children?n.children(a()):tp(n).children(a())})();if(0===r.length&&e.params.createElements){const t=Zh().createElement("div");r=tp(t),t.className=e.params.wrapperClass,n.append(t),n.children(`.${e.params.slideClass}`).each((t=>{r.append(t)}))}return Object.assign(e,{$el:n,el:t,$wrapperEl:r,wrapperEl:r[0],mounted:!0,rtl:"rtl"===t.dir.toLowerCase()||"rtl"===n.css("direction"),rtlTranslate:"horizontal"===e.params.direction&&("rtl"===t.dir.toLowerCase()||"rtl"===n.css("direction")),wrongRTL:"-webkit-box"===r.css("display")}),!0}init(t){const e=this;if(e.initialized)return e;return!1===e.mount(t)||(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.params.loop&&e.loopCreate(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.enabled&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit,!1,!0):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit,!1,!0),e.attachEvents(),e.initialized=!0,e.emit("init"),e.emit("afterInit")),e}destroy(t=!0,e=!0){const n=this,{params:a,$el:r,$wrapperEl:o,slides:i}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),a.loop&&n.loopDestroy(),e&&(n.removeClasses(),r.removeAttr("style"),o.removeAttr("style"),i&&i.length&&i.removeClass([a.slideVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((t=>{n.off(t)})),!1!==t&&(n.$el[0].swiper=null,function(t){const e=t;Object.keys(e).forEach((t=>{try{e[t]=null}catch(t){}try{delete e[t]}catch(t){}}))}(n)),n.destroyed=!0),null}static extendDefaults(t){sp(Vp,t)}static get extendedDefaults(){return Vp}static get defaults(){return Hp}static installModule(t){Ip.prototype.__modules__||(Ip.prototype.__modules__=[]);const e=Ip.prototype.__modules__;"function"==typeof t&&e.indexOf(t)<0&&e.push(t)}static use(t){return Array.isArray(t)?(t.forEach((t=>Ip.installModule(t))),Ip):(Ip.installModule(t),Ip)}}function qp(t,e,n,a){const r=Zh();return t.params.createElements&&Object.keys(a).forEach((o=>{if(!n[o]&&!0===n.auto){let i=t.$el.children(`.${a[o]}`)[0];i||(i=r.createElement("div"),i.className=a[o],t.$el.append(i)),n[o]=i,e[o]=i}})),n}function Dp({swiper:t,extendParams:e,on:n,emit:a}){function r(e){let n;return e&&(n=tp(e),t.params.uniqueNavElements&&"string"==typeof e&&n.length>1&&1===t.$el.find(e).length&&(n=t.$el.find(e))),n}function o(e,n){const a=t.params.navigation;e&&e.length>0&&(e[n?"addClass":"removeClass"](a.disabledClass),e[0]&&"BUTTON"===e[0].tagName&&(e[0].disabled=n),t.params.watchOverflow&&t.enabled&&e[t.isLocked?"addClass":"removeClass"](a.lockClass))}function i(){if(t.params.loop)return;const{$nextEl:e,$prevEl:n}=t.navigation;o(n,t.isBeginning&&!t.params.rewind),o(e,t.isEnd&&!t.params.rewind)}function s(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),a("navigationPrev"))}function l(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),a("navigationNext"))}function c(){const e=t.params.navigation;if(t.params.navigation=qp(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;const n=r(e.nextEl),a=r(e.prevEl);n&&n.length>0&&n.on("click",l),a&&a.length>0&&a.on("click",s),Object.assign(t.navigation,{$nextEl:n,nextEl:n&&n[0],$prevEl:a,prevEl:a&&a[0]}),t.enabled||(n&&n.addClass(e.lockClass),a&&a.addClass(e.lockClass))}function u(){const{$nextEl:e,$prevEl:n}=t.navigation;e&&e.length&&(e.off("click",l),e.removeClass(t.params.navigation.disabledClass)),n&&n.length&&(n.off("click",s),n.removeClass(t.params.navigation.disabledClass))}e({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},n("init",(()=>{!1===t.params.navigation.enabled?d():(c(),i())})),n("toEdge fromEdge lock unlock",(()=>{i()})),n("destroy",(()=>{u()})),n("enable disable",(()=>{const{$nextEl:e,$prevEl:n}=t.navigation;e&&e[t.enabled?"removeClass":"addClass"](t.params.navigation.lockClass),n&&n[t.enabled?"removeClass":"addClass"](t.params.navigation.lockClass)})),n("click",((e,n)=>{const{$nextEl:r,$prevEl:o}=t.navigation,i=n.target;if(t.params.navigation.hideOnClick&&!tp(i).is(o)&&!tp(i).is(r)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===i||t.pagination.el.contains(i)))return;let e;r?e=r.hasClass(t.params.navigation.hiddenClass):o&&(e=o.hasClass(t.params.navigation.hiddenClass)),a(!0===e?"navigationShow":"navigationHide"),r&&r.toggleClass(t.params.navigation.hiddenClass),o&&o.toggleClass(t.params.navigation.hiddenClass)}}));const d=()=>{t.$el.addClass(t.params.navigation.navigationDisabledClass),u()};Object.assign(t.navigation,{enable:()=>{t.$el.removeClass(t.params.navigation.navigationDisabledClass),c(),i()},disable:d,update:i,init:c,destroy:u})}function Fp(t=""){return`.${t.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}function $p({swiper:t,extendParams:e,on:n,emit:a}){const r="swiper-pagination";let o;e({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:t=>t,formatFractionTotal:t=>t,bulletClass:`${r}-bullet`,bulletActiveClass:`${r}-bullet-active`,modifierClass:`${r}-`,currentClass:`${r}-current`,totalClass:`${r}-total`,hiddenClass:`${r}-hidden`,progressbarFillClass:`${r}-progressbar-fill`,progressbarOppositeClass:`${r}-progressbar-opposite`,clickableClass:`${r}-clickable`,lockClass:`${r}-lock`,horizontalClass:`${r}-horizontal`,verticalClass:`${r}-vertical`,paginationDisabledClass:`${r}-disabled`}}),t.pagination={el:null,$el:null,bullets:[]};let i=0;function s(){return!t.params.pagination.el||!t.pagination.el||!t.pagination.$el||0===t.pagination.$el.length}function l(e,n){const{bulletActiveClass:a}=t.params.pagination;e[n]().addClass(`${a}-${n}`)[n]().addClass(`${a}-${n}-${n}`)}function c(){const e=t.rtl,n=t.params.pagination;if(s())return;const r=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,c=t.pagination.$el;let u;const d=t.params.loop?Math.ceil((r-2*t.loopedSlides)/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(u=Math.ceil((t.activeIndex-t.loopedSlides)/t.params.slidesPerGroup),u>r-1-2*t.loopedSlides&&(u-=r-2*t.loopedSlides),u>d-1&&(u-=d),u<0&&"bullets"!==t.params.paginationType&&(u=d+u)):u=void 0!==t.snapIndex?t.snapIndex:t.activeIndex||0,"bullets"===n.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const a=t.pagination.bullets;let r,s,d;if(n.dynamicBullets&&(o=a.eq(0)[t.isHorizontal()?"outerWidth":"outerHeight"](!0),c.css(t.isHorizontal()?"width":"height",o*(n.dynamicMainBullets+4)+"px"),n.dynamicMainBullets>1&&void 0!==t.previousIndex&&(i+=u-(t.previousIndex-t.loopedSlides||0),i>n.dynamicMainBullets-1?i=n.dynamicMainBullets-1:i<0&&(i=0)),r=Math.max(u-i,0),s=r+(Math.min(a.length,n.dynamicMainBullets)-1),d=(s+r)/2),a.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map((t=>`${n.bulletActiveClass}${t}`)).join(" ")),c.length>1)a.each((t=>{const e=tp(t),a=e.index();a===u&&e.addClass(n.bulletActiveClass),n.dynamicBullets&&(a>=r&&a<=s&&e.addClass(`${n.bulletActiveClass}-main`),a===r&&l(e,"prev"),a===s&&l(e,"next"))}));else{const e=a.eq(u),o=e.index();if(e.addClass(n.bulletActiveClass),n.dynamicBullets){const e=a.eq(r),i=a.eq(s);for(let t=r;t<=s;t+=1)a.eq(t).addClass(`${n.bulletActiveClass}-main`);if(t.params.loop)if(o>=a.length){for(let t=n.dynamicMainBullets;t>=0;t-=1)a.eq(a.length-t).addClass(`${n.bulletActiveClass}-main`);a.eq(a.length-n.dynamicMainBullets-1).addClass(`${n.bulletActiveClass}-prev`)}else l(e,"prev"),l(i,"next");else l(e,"prev"),l(i,"next")}}if(n.dynamicBullets){const r=Math.min(a.length,n.dynamicMainBullets+4),i=(o*r-o)/2-d*o,s=e?"right":"left";a.css(t.isHorizontal()?s:"top",`${i}px`)}}if("fraction"===n.type&&(c.find(Fp(n.currentClass)).text(n.formatFractionCurrent(u+1)),c.find(Fp(n.totalClass)).text(n.formatFractionTotal(d))),"progressbar"===n.type){let e;e=n.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const a=(u+1)/d;let r=1,o=1;"horizontal"===e?r=a:o=a,c.find(Fp(n.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${r}) scaleY(${o})`).transition(t.params.speed)}"custom"===n.type&&n.renderCustom?(c.html(n.renderCustom(t,u+1,d)),a("paginationRender",c[0])):a("paginationUpdate",c[0]),t.params.watchOverflow&&t.enabled&&c[t.isLocked?"addClass":"removeClass"](n.lockClass)}function u(){const e=t.params.pagination;if(s())return;const n=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,r=t.pagination.$el;let o="";if("bullets"===e.type){let a=t.params.loop?Math.ceil((n-2*t.loopedSlides)/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&!t.params.loop&&a>n&&(a=n);for(let n=0;n<a;n+=1)e.renderBullet?o+=e.renderBullet.call(t,n,e.bulletClass):o+=`<${e.bulletElement} class="${e.bulletClass}"></${e.bulletElement}>`;r.html(o),t.pagination.bullets=r.find(Fp(e.bulletClass))}"fraction"===e.type&&(o=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`,r.html(o)),"progressbar"===e.type&&(o=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`,r.html(o)),"custom"!==e.type&&a("paginationRender",t.pagination.$el[0])}function d(){t.params.pagination=qp(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let n=tp(e.el);0!==n.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&n.length>1&&(n=t.$el.find(e.el),n.length>1&&(n=n.filter((e=>tp(e).parents(".swiper")[0]===t.el)))),"bullets"===e.type&&e.clickable&&n.addClass(e.clickableClass),n.addClass(e.modifierClass+e.type),n.addClass(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(n.addClass(`${e.modifierClass}${e.type}-dynamic`),i=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&n.addClass(e.progressbarOppositeClass),e.clickable&&n.on("click",Fp(e.bulletClass),(function(e){e.preventDefault();let n=tp(this).index()*t.params.slidesPerGroup;t.params.loop&&(n+=t.loopedSlides),t.slideTo(n)})),Object.assign(t.pagination,{$el:n,el:n[0]}),t.enabled||n.addClass(e.lockClass))}function h(){const e=t.params.pagination;if(s())return;const n=t.pagination.$el;n.removeClass(e.hiddenClass),n.removeClass(e.modifierClass+e.type),n.removeClass(t.isHorizontal()?e.horizontalClass:e.verticalClass),t.pagination.bullets&&t.pagination.bullets.removeClass&&t.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&n.off("click",Fp(e.bulletClass))}n("init",(()=>{!1===t.params.pagination.enabled?p():(d(),u(),c())})),n("activeIndexChange",(()=>{(t.params.loop||void 0===t.snapIndex)&&c()})),n("snapIndexChange",(()=>{t.params.loop||c()})),n("slidesLengthChange",(()=>{t.params.loop&&(u(),c())})),n("snapGridLengthChange",(()=>{t.params.loop||(u(),c())})),n("destroy",(()=>{h()})),n("enable disable",(()=>{const{$el:e}=t.pagination;e&&e[t.enabled?"removeClass":"addClass"](t.params.pagination.lockClass)})),n("lock unlock",(()=>{c()})),n("click",((e,n)=>{const r=n.target,{$el:o}=t.pagination;if(t.params.pagination.el&&t.params.pagination.hideOnClick&&o&&o.length>0&&!tp(r).hasClass(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&r===t.navigation.nextEl||t.navigation.prevEl&&r===t.navigation.prevEl))return;const e=o.hasClass(t.params.pagination.hiddenClass);a(!0===e?"paginationShow":"paginationHide"),o.toggleClass(t.params.pagination.hiddenClass)}}));const p=()=>{t.$el.addClass(t.params.pagination.paginationDisabledClass),t.pagination.$el&&t.pagination.$el.addClass(t.params.pagination.paginationDisabledClass),h()};Object.assign(t.pagination,{enable:()=>{t.$el.removeClass(t.params.pagination.paginationDisabledClass),t.pagination.$el&&t.pagination.$el.removeClass(t.params.pagination.paginationDisabledClass),d(),u(),c()},disable:p,render:u,update:c,init:d,destroy:h})}Object.keys(Rp).forEach((t=>{Object.keys(Rp[t]).forEach((e=>{Ip.prototype[e]=Rp[t][e]}))})),Ip.use([function({swiper:t,on:e,emit:n}){const a=Kh();let r=null,o=null;const i=()=>{t&&!t.destroyed&&t.initialized&&(n("beforeResize"),n("resize"))},s=()=>{t&&!t.destroyed&&t.initialized&&n("orientationchange")};e("init",(()=>{t.params.resizeObserver&&void 0!==a.ResizeObserver?t&&!t.destroyed&&t.initialized&&(r=new ResizeObserver((e=>{o=a.requestAnimationFrame((()=>{const{width:n,height:a}=t;let r=n,o=a;e.forEach((({contentBoxSize:e,contentRect:n,target:a})=>{a&&a!==t.el||(r=n?n.width:(e[0]||e).inlineSize,o=n?n.height:(e[0]||e).blockSize)})),r===n&&o===a||i()}))})),r.observe(t.el)):(a.addEventListener("resize",i),a.addEventListener("orientationchange",s))})),e("destroy",(()=>{o&&a.cancelAnimationFrame(o),r&&r.unobserve&&t.el&&(r.unobserve(t.el),r=null),a.removeEventListener("resize",i),a.removeEventListener("orientationchange",s)}))},function({swiper:t,extendParams:e,on:n,emit:a}){const r=[],o=Kh(),i=(t,e={})=>{const n=new(o.MutationObserver||o.WebkitMutationObserver)((t=>{if(1===t.length)return void a("observerUpdate",t[0]);const e=function(){a("observerUpdate",t[0])};o.requestAnimationFrame?o.requestAnimationFrame(e):o.setTimeout(e,0)}));n.observe(t,{attributes:void 0===e.attributes||e.attributes,childList:void 0===e.childList||e.childList,characterData:void 0===e.characterData||e.characterData}),r.push(n)};e({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=t.$el.parents();for(let t=0;t<e.length;t+=1)i(e[t])}i(t.$el[0],{childList:t.params.observeSlideChildren}),i(t.$wrapperEl[0],{attributes:!1})}})),n("destroy",(()=>{r.forEach((t=>{t.disconnect()})),r.splice(0,r.length)}))}]);var Up=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=t.price,a=n,o=!1;return(null==e?void 0:e.value)>0&&e.plan_relation.includes(t.id)?(o=!0,a="percentage"===e.type?n-n*e.value/100:Math.max(0,n-e.value)):t.discount>0&&(o=!0,a="percentage"===t.discount_type?n-n*t.discount/100:Math.max(0,n-t.discount)),r(r({},t),{},{price:parseFloat(a.toFixed(2)),strike_price:o?parseFloat(n.toFixed(2)):null,has_discount:o})},Wp=function(t){if(!t)return"";if(["double","integer"].includes(null==t?void 0:t.value_type))return"percentage"===t.format?"".concat(t.value,"%"):"count"===t.format&&parseInt(t.value)<0?"Unlimited":t.value;if("array"===(null==t?void 0:t.value_type)){var e=[];try{e=Array.isArray(t.value)?t.value:JSON.parse(t.value)}catch(e){return console.error("Invalid array feature value:",t.value),""}return e.join(",")}var n;return"string"===(null==t?void 0:t.value_type)?(null===(n=t.value)||void 0===n?void 0:n.replace(/"/g,""))||"":t.value},Gp={name:"PlanCardsHighlights",components:{VariantButton:Hh},props:{plans:{type:Array,required:!0},currentPlan:{type:Object,required:!1},promotionalDiscount:{type:Object,required:!1},selectedInterval:{type:String,required:!1},features:{type:Array,required:!1,default:function(){return[]}}},data:function(){return{interval:"EVERY_30_DAYS",placeholder:{description:"Perfect for everything"},remainingPlansMonthly:{before:0,after:0},remainingPlansAnnually:{before:0,after:0},anyMonthlyPlanHasDiscount:!1,anyAnnuallyPlanHasDiscount:!1,loadingPlanId:null}},computed:{monthlyPlans:function(){var t=this;return this.plans.filter((function(t){return"EVERY_30_DAYS"===t.interval})).map((function(e){var n=Up(e,t.promotionalDiscount);return n.has_discount&&!t.anyMonthlyPlanHasDiscount&&(t.anyMonthlyPlanHasDiscount=!0),n}))},annualPlans:function(){var t=this;return this.plans.filter((function(t){return"ANNUAL"===t.interval})).map((function(e){var n=Up(e,t.promotionalDiscount);return n.has_discount&&!t.anyAnnuallyPlanHasDiscount&&(t.anyAnnuallyPlanHasDiscount=!0),n}))},sortedPlanFeatures:function(){var t=this;return function(e){var n=Object.keys(e.features);return t.features.filter((function(t){return n.includes(t.uuid)&&!t.hidden_feature})).sort((function(t,e){var n=parseInt(t.popularity)||999,a=parseInt(e.popularity)||999;return n!==a?n-a:(parseInt(t.display_order)||999)-(parseInt(e.display_order)||999)})).slice(0,4).map((function(t){return r(r({},t),{},{value:e.features[t.uuid].value||e.features[t.uuid]})}))}}},methods:{formatFeature:Wp,handlePlanClick:function(t){var e=this;return s(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e.loadingPlanId=t.id,n.prev=1,n.next=4,e.$emit("plan-clicked",t);case 4:n.next=10;break;case 6:n.prev=6,n.t0=n.catch(1),console.error("Error handling plan click:",n.t0),e.loadingPlanId=null;case 10:case"end":return n.stop()}}),n,null,[[1,6]])})))()},translateMe:function(t){return this.$translations.hasOwnProperty(t)?this.$translations[t]:t},syncNavigationWidth:function(){var t=document.querySelectorAll(".swiper-plan-h-navigation"),e=document.querySelector(".plans-h-cards");e?t.forEach((function(t){t.style.width="".concat(e.offsetWidth+130,"px"),t.style.left="".concat(e.offsetLeft-65,"px")})):console.error("No `.plans-h-cards` element found.")},updateRemainingPlans:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"monthly";if(t){var n=t.slides.length,a=t.activeIndex,r=1;if("number"==typeof t.params.slidesPerView)r=t.params.slidesPerView;else if(t.params.breakpoints){var o,i=window.innerWidth,s=t.params.breakpoints,l=Object.keys(s).map(Number).sort((function(t,e){return t-e})),c=v(l);try{for(c.s();!(o=c.n()).done;){var u=o.value;i>=u&&"number"==typeof s[u].slidesPerView&&(r=s[u].slidesPerView)}}catch(t){c.e(t)}finally{c.f()}}var d=Math.max(n-(a+r),0),h=a;"annually"===e?this.remainingPlansAnnually={after:d,before:h}:this.remainingPlansMonthly={after:d,before:h}}}},watch:{selectedInterval:function(){var t=document.querySelector(".monthly"),e=document.querySelector(".annually"),n=document.querySelector(".nav-monthly"),a=document.querySelector(".nav-annually");"monthly"===this.selectedInterval?(t.style.visibility="visible",t.style.height="auto",t.style.border="1px solid #e5e5e5",e.style.visibility="hidden",e.style.height="0px",e.style.border="0px",n.style.display="flex",a.style.display="none",this.interval="EVERY_30_DAYS"):"annually"===this.selectedInterval&&(t.style.visibility="hidden",t.style.height="0px",t.style.border="0px",e.style.visibility="visible",e.style.height="auto",e.style.border="1px solid #e5e5e5",n.style.display="none",a.style.display="flex",this.interval="ANNUAL")}},mounted:function(){var t=this;new Ip(this.$refs.swiperMonthly,{modules:[Dp,$p],loop:!1,slidesPerView:1,speed:500,pagination:{el:".swiper-pagination",clickable:!0},navigation:{nextEl:".swiper-plan-h-next-monthly",prevEl:".swiper-plan-h-prev-monthly"},breakpoints:{375:{slidesPerView:1.5},640:{slidesPerView:2},768:{slidesPerView:Math.min(this.monthlyPlans.length,3)},1024:{slidesPerView:Math.min(this.monthlyPlans.length,4)}},on:{slideChange:function(e){t.updateRemainingPlans(e)},afterInit:function(e){t.updateRemainingPlans(e)}}}),new Ip(this.$refs.swiperAnnually,{modules:[Dp,$p],loop:!1,slidesPerView:1,speed:500,pagination:{el:".swiper-pagination",clickable:!0},navigation:{nextEl:".swiper-plan-h-next-annually",prevEl:".swiper-plan-h-prev-annually"},breakpoints:{375:{slidesPerView:1.5},640:{slidesPerView:2},768:{slidesPerView:Math.min(this.annualPlans.length,3)},1024:{slidesPerView:Math.min(this.annualPlans.length,4)}},on:{slideChange:function(e){t.updateRemainingPlans(e,"annually")},afterInit:function(e){t.updateRemainingPlans(e,"annually")}}}),this.syncNavigationWidth()}},Zp=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[n("div",{staticClass:"swiper-plan-h-navigation nav-monthly"},[n("button",{staticClass:"swiper-plan-h-prev-monthly"},[this.remainingPlansMonthly.before>0?n("span",{staticClass:"plans-remaining"},[t._v("\n +"+t._s(this.remainingPlansMonthly.before+" "+(1===this.remainingPlansMonthly.before?t.translateMe("Plan"):t.translateMe("Plans")))+"\n ")]):t._e(),t._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9388)"}},[n("path",{attrs:{d:"M5 12.0001L19 12.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M5 12.0001L11 18.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M5 12.0001L11 6.00012",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9388"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white"}})])])])]),t._v(" "),n("button",{staticClass:"swiper-plan-h-next-monthly"},[this.remainingPlansMonthly.after>0?n("span",{staticClass:"plans-remaining"},[t._v("\n +"+t._s(this.remainingPlansMonthly.after+" "+(1===this.remainingPlansMonthly.after?t.translateMe("Plan"):t.translateMe("Plans"))))]):t._e(),t._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9381)"}},[n("path",{attrs:{d:"M19 12H5",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M19 12L13 6",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M19 12L13 18",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9381"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white",transform:"matrix(-1 0 0 -1 24 24)"}})])])])])]),t._v(" "),n("div",{staticClass:"swiper-plan-h-navigation nav-annually"},[n("button",{staticClass:"swiper-plan-h-prev-annually"},[this.remainingPlansAnnually.before>0?n("span",{staticClass:"plans-remaining"},[t._v("\n +"+t._s(this.remainingPlansAnnually.before+" "+(1===this.remainingPlansAnnually.before?t.translateMe("Plan"):t.translateMe("Plans")))+"\n ")]):t._e(),t._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9388)"}},[n("path",{attrs:{d:"M5 12.0001L19 12.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M5 12.0001L11 18.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M5 12.0001L11 6.00012",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9388"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white"}})])])])]),t._v(" "),n("button",{staticClass:"swiper-plan-h-next-annually"},[this.remainingPlansAnnually.after>0?n("span",{staticClass:"plans-remaining"},[t._v("\n +"+t._s(this.remainingPlansAnnually.after+" "+(1===this.remainingPlansAnnually.after?t.translateMe("Plan"):t.translateMe("Plans")))+"\n ")]):t._e(),t._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9381)"}},[n("path",{attrs:{d:"M19 12H5",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M19 12L13 6",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M19 12L13 18",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9381"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white",transform:"matrix(-1 0 0 -1 24 24)"}})])])])])]),t._v(" "),n("div",{ref:"swiperMonthly",staticClass:"swiper cards monthly plans-h-cards"},[n("div",{staticClass:"swiper-wrapper"},t._l(t.monthlyPlans,(function(e,a){return"EVERY_30_DAYS"===e.interval?n("div",{key:e.id,staticClass:"swiper-slide",staticStyle:{height:"auto !important"}},[n("div",{class:["card","card-border",a===t.monthlyPlans.length-1?"last-card":""]},[e.choose_later_plan?n("div",{staticClass:"most-popular"},[n("div",{staticClass:"most-popular-label"},[t._v("\n "+t._s(t.translateMe("Most Popular"))+"\n ")])]):t._e(),t._v(" "),n("h3",{staticClass:"title"},[t._v("\n "+t._s(t.translateMe(e.name))+"\n ")]),t._v(" "),n("div",{class:["price-wrapper",t.anyMonthlyPlanHasDiscount?"has-discount":""]},[e.strike_price?[n("h5",{staticClass:"strike-price"},[n("span",{staticStyle:{"text-decoration":"line-through"}},[t._v("$"+t._s(e.strike_price))]),t._v(" "),0!==e.strike_price?n("span",{staticStyle:{color:"#999"}},[t._v("\n "+t._s(t.translateMe("/mo"))+"\n ")]):t._e()])]:t._e(),t._v(" "),n("h2",{staticClass:"price"},[t._v("\n "+t._s(0!==e.price?"$"+e.price:t.translateMe("Free"))+"\n "),0!==e.price?n("span",[t._v("\n "+t._s(t.translateMe("/mo"))+"\n ")]):t._e()])],2),t._v(" "),n("h6",{staticClass:"description"},[t._v("\n "+t._s(e.description?t.translateMe(e.description):t.translateMe(t.placeholder.description))+"\n ")]),t._v(" "),n("VariantButton",{attrs:{variant:"secondary",disabled:t.currentPlan&&t.currentPlan.id===e.id,loading:t.loadingPlanId===e.id},on:{click:function(n){return t.handlePlanClick(e)}}},[t._v(t._s(t.currentPlan&&t.currentPlan.id===e.id?t.translateMe("Selected Plan"):t.currentPlan&&e.price>t.currentPlan.price?t.translateMe("Upgrade"):t.translateMe("Choose Plan"))+"\n ")]),t._v(" "),n("div",{staticClass:"features"},[n("ul",t._l(t.sortedPlanFeatures(e),(function(e){return n("li",{key:e.uuid,staticClass:"feature"},[n("svg",{attrs:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.7803 5.96967C16.0732 6.26256 16.0732 6.73744 15.7803 7.03033L9.28033 13.5303C8.98744 13.8232 8.51256 13.8232 8.21967 13.5303L4.96967 10.2803C4.67678 9.98744 4.67678 9.51256 4.96967 9.21967C5.26256 8.92678 5.73744 8.92678 6.03033 9.21967L8.75 11.9393L14.7197 5.96967C15.0126 5.67678 15.4874 5.67678 15.7803 5.96967Z",fill:"#303030"}})]),t._v(" "),n("span",[t._v("\n "+t._s("boolean"!==e.value_type?t.translateMe(t.formatFeature(e)):"")+"\n "+t._s(t.translateMe(e.name))+"\n ")])])})),0)])],1)]):t._e()})),0)]),t._v(" "),n("div",{ref:"swiperAnnually",staticClass:"swiper cards annually"},[n("div",{staticClass:"swiper-wrapper"},t._l(t.annualPlans,(function(e,a){return"ANNUAL"===e.interval?n("div",{key:e.id,staticClass:"swiper-slide",staticStyle:{height:"auto !important"}},[n("div",{class:["card","card-border",a===t.annualPlans.length-1?"last-card":""]},[e.choose_later_plan?n("div",{staticClass:"most-popular"},[n("div",{staticClass:"most-popular-label"},[t._v("\n "+t._s(t.translateMe("Most Popular"))+"\n ")])]):t._e(),t._v(" "),n("h3",{staticClass:"title"},[t._v("\n "+t._s(t.translateMe(e.name))+"\n ")]),t._v(" "),n("div",{class:["price-wrapper",t.anyAnnuallyPlanHasDiscount?"has-discount":""]},[e.strike_price?[n("h5",{staticClass:"strike-price"},[n("span",{staticStyle:{"text-decoration":"line-through"}},[t._v("$"+t._s(e.strike_price))]),t._v(" "),0!==e.strike_price?n("span",{staticStyle:{color:"#999"}},[t._v("\n "+t._s(t.translateMe("/mo"))+"\n ")]):t._e()])]:t._e(),t._v(" "),n("h2",{staticClass:"price"},[t._v("\n "+t._s(0!==e.price?"$"+e.price:t.translateMe("Free"))+"\n "),0!==e.price?n("span",[t._v("\n "+t._s(t.translateMe("/mo"))+"\n ")]):t._e()])],2),t._v(" "),n("h6",{staticClass:"description"},[t._v("\n "+t._s(e.description?t.translateMe(e.description):t.translateMe(t.placeholder.description))+"\n ")]),t._v(" "),n("VariantButton",{attrs:{variant:"secondary",disabled:t.currentPlan&&t.currentPlan.id===e.id,loading:t.loadingPlanId===e.id},on:{click:function(n){return t.handlePlanClick(e)}}},[t._v(t._s(t.currentPlan&&t.currentPlan.id===e.id?t.translateMe("Selected Plan"):t.currentPlan&&e.price>t.currentPlan.price?t.translateMe("Upgrade"):t.translateMe("Choose Plan"))+"\n ")]),t._v(" "),n("div",{staticClass:"features"},[n("ul",t._l(t.sortedPlanFeatures(e),(function(e){return n("li",{key:e.uuid,staticClass:"feature"},[n("svg",{attrs:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.7803 5.96967C16.0732 6.26256 16.0732 6.73744 15.7803 7.03033L9.28033 13.5303C8.98744 13.8232 8.51256 13.8232 8.21967 13.5303L4.96967 10.2803C4.67678 9.98744 4.67678 9.51256 4.96967 9.21967C5.26256 8.92678 5.73744 8.92678 6.03033 9.21967L8.75 11.9393L14.7197 5.96967C15.0126 5.67678 15.4874 5.67678 15.7803 5.96967Z",fill:"#303030"}})]),t._v(" "),n("span",[t._v("\n "+t._s("boolean"!==e.value_type?t.translateMe(t.formatFeature(e)):"")+"\n "+t._s(t.translateMe(e.name))+"\n ")])])})),0)])],1)]):t._e()})),0)]),t._v(" "),n("div",{staticClass:"swiper-pagination",style:{display:"ANNUAL"===t.interval&&t.annualPlans.length<=4||"EVERY_30_DAYS"===t.interval&&t.monthlyPlans.length<=4?"none":"block"}})])},staticRenderFns:[]},(function(t){t&&(t("data-v-4121e7ba_0",{source:".container[data-v-4121e7ba]{padding-top:40px;width:100%}.swiper.cards.annually[data-v-4121e7ba]{visibility:hidden;height:0;position:relative}.swiper-pagination[data-v-4121e7ba]{height:12px;position:relative;display:flex;justify-content:center;align-items:flex-end;gap:0;margin-top:26px}.cards[data-v-4121e7ba]{display:flex;background-color:#fff;flex-grow:1;border:1px solid #e5e5e5;border-radius:12px;overflow-x:clip;overflow-y:visible;box-shadow:0 4px 6px -1px #0000001a}.card[data-v-4121e7ba]{height:100%;display:flex;flex-direction:column;align-items:center;gap:10px;padding:16px}.swiper-wrapper .swiper-slide .card-border.last-card[data-v-4121e7ba],.swiper-wrapper .swiper-slide:not(.swiper-slide-active) .card-border[data-v-4121e7ba]{border-left:1px solid #ccc}.card .title[data-v-4121e7ba]{font-size:16px;font-weight:700;color:#000}.card .price-wrapper[data-v-4121e7ba]{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px}.card .price-wrapper.has-discount[data-v-4121e7ba]{min-height:44px}.card .price[data-v-4121e7ba]{font-size:30px;font-weight:700;color:#000}.card .price span[data-v-4121e7ba]{font-size:13px;font-weight:400;color:#00000080;margin-left:-6px;line-height:0}.card .description[data-v-4121e7ba]{font-size:13px;font-weight:400;color:#00000080}.button[data-v-4121e7ba]{display:flex;justify-content:center;width:100%!important;text-align:center!important}.features[data-v-4121e7ba]{margin-top:19px}.features ul[data-v-4121e7ba]{display:flex;align-items:flex-start;gap:6px;flex-direction:column}.features .feature[data-v-4121e7ba]{display:flex;align-items:center;gap:4px}.features .feature svg[data-v-4121e7ba]{min-width:20px;min-height:20px}.feature span[data-v-4121e7ba]{font-size:13px;font-weight:400;color:#00000080}.most-popular[data-v-4121e7ba]{position:absolute;z-index:-1;top:-20px;width:100%;height:calc(100% + 20px);border-radius:12px 12px 0 0;border-left:1px solid #91d0ff;border-right:1px solid #91d0ff;overflow:hidden}.most-popular .most-popular-label[data-v-4121e7ba]{background-color:#91d0ff;color:#00527c;font-size:12px;font-weight:600;width:100%;text-align:center}.swiper-plan-h-navigation[data-v-4121e7ba]{position:absolute;margin-top:32px;display:flex;justify-content:space-between;padding:16px 0}.nav-annually[data-v-4121e7ba]{display:none}.swiper-plan-h-next-annually[data-v-4121e7ba],.swiper-plan-h-next-monthly[data-v-4121e7ba],.swiper-plan-h-prev-annually[data-v-4121e7ba],.swiper-plan-h-prev-monthly[data-v-4121e7ba]{display:flex;align-items:center;justify-content:center;width:36px;height:36px;background-color:#1a1a1a;border-radius:8px;cursor:pointer}.swiper-plan-h-next-annually[data-v-4121e7ba]:disabled,.swiper-plan-h-next-monthly[data-v-4121e7ba]:disabled,.swiper-plan-h-prev-annually[data-v-4121e7ba]:disabled,.swiper-plan-h-prev-monthly[data-v-4121e7ba]:disabled{opacity:0}.plans-remaining[data-v-4121e7ba]{position:absolute;top:-30px;background-color:#fff;color:#333;font-weight:500;padding:6px 12px;border-radius:8px;font-size:14px;white-space:nowrap;box-shadow:0 4px 8px #00000026}.plans-remaining[data-v-4121e7ba]::after{content:'';position:absolute;top:100%;left:50%;transform:translateX(-50%);width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #fff;filter:drop-shadow(0 2px 2px rgba(0, 0, 0, .1))}@media (max-width:640px){.card-border[data-v-4121e7ba]{border-left:none}.swiper-plan-h-navigation[data-v-4121e7ba]{display:none!important}}",map:void 0,media:void 0}),t("data-v-4121e7ba_1",{source:".swiper-pagination .swiper-pagination-bullet{background:#757575 none;opacity:1;transition:all .5s;width:8px;height:8px}.swiper-pagination .swiper-pagination-bullet-active{background-color:#0094d5;width:12px;height:12px}",map:void 0,media:void 0}))}),Gp,"data-v-4121e7ba",false,undefined,!1,Ac,void 0,void 0),Yp=Zp,Kp=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"block"},[n("svg",{attrs:{width:"81",height:"81",viewBox:"0 0 81 81",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M49.6768 9.31236V2.68228C49.6768 2.02914 49.146 1.5 48.4918 1.5H34.5281C33.8735 1.5 33.3431 2.02914 33.3431 2.68228V9.31236C33.3431 9.83518 32.9983 10.2952 32.4964 10.4449C30.426 11.0617 28.4454 11.8862 26.5784 12.8936C26.1188 13.1415 25.5508 13.0558 25.1816 12.6874L20.481 7.9978C20.0183 7.53618 19.2678 7.53618 18.8051 7.9978L8.93175 17.8481C8.46905 18.3098 8.46905 19.0585 8.93175 19.5201L13.6323 24.2097C14.0016 24.5781 14.0875 25.1452 13.8389 25.6032C12.8292 27.4659 12.0028 29.4423 11.3846 31.5075C11.2345 32.0086 10.7734 32.3522 10.2494 32.3522H3.60301C2.94835 32.3522 2.41797 32.8813 2.41797 33.5345V47.4655C2.41797 48.1187 2.94835 48.6478 3.60301 48.6478H10.2486C10.7726 48.6478 11.2338 48.9918 11.3838 49.4925C12.002 51.5581 12.8285 53.5341 13.8382 55.3968C14.0867 55.8552 14.0008 56.4219 13.6315 56.7903L8.93095 61.4799C8.46826 61.9415 8.46826 62.6902 8.93095 63.1519L18.8043 73.0022C19.267 73.4638 20.0175 73.4638 20.4802 73.0022L25.1808 68.3126C25.5501 67.9441 26.1184 67.8585 26.5776 68.1064C28.4446 69.1138 30.4256 69.9383 32.4957 70.5551C32.9979 70.7048 33.3423 71.1648 33.3423 71.6876V78.3177C33.3423 78.9709 33.8727 79.5 34.5273 79.5H48.491C49.1456 79.5 49.676 78.9705 49.676 78.3177V71.6876",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M37.2891 64.3588V32.7",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M37.2891 23.9823V18.4764",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M49.6777 64.3588V59.3118",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M49.6777 50.1353V18.4764",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M62.0645 64.3588V41.8765",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M62.0645 33.1588V18.4764",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M74.4531 64.3588V29.947",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M74.4531 21.6882V18.4764",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M41.4188 23.9824H32.7012V32.7001H41.4188V23.9824Z",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M53.8055 50.1353H45.0879V59.3117H53.8055V50.1353Z",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M66.1942 33.1588H57.4766V41.8765H66.1942V33.1588Z",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M78.5829 21.6882H69.8652V29.9471H78.5829V21.6882Z",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("h3",[t._v(t._s(t.title))]),t._v(" "),n("h6",[t._v(t._s(t.description))]),t._v(" "),n("VariantButton",{staticClass:"button",attrs:{variant:"primary"},on:{click:t.handleClick}},[t._v(t._s(t.buttonText))])],1)},staticRenderFns:[]},(function(t){t&&t("data-v-b8ad3380_0",{source:".block[data-v-b8ad3380]{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;gap:16px;padding:20px;background-color:#fff;border-radius:16px;box-shadow:0 4px 6px -1px #0000001a;border:1px solid #e5e5e5}.block img[data-v-b8ad3380]{width:auto;height:auto}.block h3[data-v-b8ad3380]{font-size:16px;font-weight:700;color:#000}.block h6[data-v-b8ad3380]{font-size:13px;font-weight:400;color:#00000080;max-width:186px;text-align:center}.button[data-v-b8ad3380]{width:100%!important;display:flex!important;height:fit-content!important;justify-content:center!important}",map:void 0,media:void 0})}),{name:"GetCustomBlock",components:{VariantButton:Hh},props:{title:{type:String,required:!1},description:{type:String,required:!1},buttonText:{type:String,required:!1}},methods:{handleClick:function(){event.preventDefault(),this.$emit("click",event)},translateMe:function(t){return this.$translations.hasOwnProperty(t)?this.$translations[t]:t},handleCustomizePlan:function(){this.$emit("handleCustomizePlan")}}},"data-v-b8ad3380",false,undefined,!1,Ac,void 0,void 0),Xp={data:function(){return{isSyncing:!1,remainingPlansMonthly:{before:0,after:0},remainingPlansAnnually:{before:0,after:0},anyMonthlyPlanHasDiscount:!1,anyAnnuallyPlanHasDiscount:!1,loadingPlanId:null}},name:"PlanTable",components:{VariantButton:Hh},props:{plans:{type:Array,required:!0},currentPlan:{type:Object,required:!1},selectedInterval:{type:String,required:!1},promotionalDiscount:{type:Object,required:!1},features:{type:Array,required:!1,default:function(){return[]}}},methods:{formatFeature:Wp,handlePlanClick:function(t){var e=this;return s(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e.loadingPlanId=t.id,n.prev=1,n.next=4,e.$emit("plan-clicked",t);case 4:n.next=10;break;case 6:n.prev=6,n.t0=n.catch(1),console.error("Error handling plan click:",n.t0),e.loadingPlanId=null;case 10:case"end":return n.stop()}}),n,null,[[1,6]])})))()},translateMe:function(t){return this.$translations.hasOwnProperty(t)?this.$translations[t]:t},hasFeature:function(t,e){return!!t.features[e.uuid]},syncHeights:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"features";this.$nextTick((function(){setTimeout((function(){var n=document.querySelectorAll(".swiper-slide");if("features"===e){var a="-".concat(t.selectedInterval),r=document.querySelectorAll(".plan-feature-name".concat(a));n.forEach((function(t){var e=t.querySelectorAll(".plan-feature".concat(a));r.forEach((function(t,n){var a=e[n];t&&a&&(a.style.height="".concat(t.offsetHeight,"px"))}))}))}else if("plans"===e){var o="-".concat(t.selectedInterval),i=document.querySelectorAll(".plan-header-wrapper".concat(o)),s=document.querySelector(".plans-available".concat(o));if(!s)return;var l=0;n.forEach((function(t,e){var n=i[e];n&&(l=Math.max(n.offsetHeight,l))})),s.style.minHeight="".concat(l,"px"),i.forEach((function(t){t.style.minHeight="".concat(l,"px")}))}}),2)}))},syncAllHeights:function(){this.syncHeights("features"),this.syncHeights("plans")},syncNavigationWidth:function(){var t=document.querySelectorAll(".swiper-plan-navigation"),e=document.querySelector(".pricing-table");e&&t.forEach((function(t){t.style.width="".concat(e.offsetWidth+130,"px"),t.style.left="".concat(e.offsetLeft-65,"px")}))},syncScroll:function(t,e){if(!this.isSyncing){this.isSyncing=!0;var n=t.scrollTop;e.forEach((function(e){e!==t&&(e.scrollTop=n)})),this.isSyncing=!1}},setupScrollListeners:function(){var t=this,e=document.querySelectorAll("#table-left"),n=document.querySelectorAll("#plans-table"),a=[].concat(h(e),h(n));a.forEach((function(e){e.addEventListener("scroll",(function(){t.syncScroll(e,a)}))}))},updateRemainingPlans:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"monthly";if(t){var n=t.slides.length,a=t.activeIndex,r=1;if("number"==typeof t.params.slidesPerView)r=t.params.slidesPerView;else if(t.params.breakpoints){var o,i=window.innerWidth,s=t.params.breakpoints,l=Object.keys(s).map(Number).sort((function(t,e){return t-e})),c=v(l);try{for(c.s();!(o=c.n()).done;){var u=o.value;i>=u&&"number"==typeof s[u].slidesPerView&&(r=s[u].slidesPerView)}}catch(t){c.e(t)}finally{c.f()}}var d=Math.max(n-(a+r),0),h=a;"annually"===e?this.remainingPlansAnnually={after:d,before:h}:this.remainingPlansMonthly={after:d,before:h}}}},computed:{monthlyPlans:function(){var t=this;return this.plans.filter((function(t){return"EVERY_30_DAYS"===t.interval})).map((function(e){var n=Up(e,t.promotionalDiscount);return n.has_discount&&!t.anyMonthlyPlanHasDiscount&&(t.anyMonthlyPlanHasDiscount=!0),n}))},annualPlans:function(){var t=this;return this.plans.filter((function(t){return"ANNUAL"===t.interval})).map((function(e){var n=Up(e,t.promotionalDiscount);return n.has_discount&&!t.anyAnnuallyPlanHasDiscount&&(t.anyAnnuallyPlanHasDiscount=!0),n}))},monthlyPlansFeatures:function(){if(!this.features.length)return[];var t=new Set;this.monthlyPlans.forEach((function(e){Object.keys(e.features).forEach((function(e){t.add(e)}))}));var e={},n=!1;this.features.filter((function(e){return t.has(e.uuid)&&!e.hidden_feature})).forEach((function(t){t.group&&t.group_order&&(n=!0);var a=n&&t.group||"Default";e[a]||(e[a]={name:a,order:n&&t.group_order||999,features:[]}),e[a].features.push(t)}));var a=Object.values(e).sort((function(t,e){return t.order-e.order}));return 1!==a.length&&n||a.forEach((function(t){return t.name=""})),a},annualPlansFeatures:function(){if(!this.features.length)return[];var t=new Set;this.annualPlans.forEach((function(e){Object.keys(e.features).forEach((function(e){t.add(e)}))}));var e={},n=!1;this.features.filter((function(e){return t.has(e.uuid)&&!e.hidden_feature})).forEach((function(t){t.group&&t.group_order&&(n=!0);var a=n&&t.group||"Default";e[a]||(e[a]={name:a,order:n&&t.group_order||999,features:[]}),e[a].features.push(t)}));var a=Object.values(e).sort((function(t,e){return t.order-e.order}));return 1!==a.length&&n||a.forEach((function(t){return t.name=""})),a}},watch:{selectedInterval:function(){var t=document.querySelector(".monthly-table"),e=document.querySelector(".annually-table"),n=document.querySelector(".nav-monthly-table"),a=document.querySelector(".nav-annually-table");"monthly"===this.selectedInterval?(t.style.visibility="visible",t.style.height="auto",t.style.padding="16px",t.style.padding="16px",e.style.visibility="hidden",e.style.height="0px",e.style.padding="0px",n.style.display="flex",a.style.display="none",this.interval="EVERY_30_DAYS",this.syncAllHeights()):"annually"===this.selectedInterval&&(t.style.visibility="hidden",t.style.height="0px",t.style.padding="0px",t.style.padding="0px",e.style.visibility="visible",e.style.height="auto",e.style.padding="16px",n.style.display="none",a.style.display="flex",this.interval="ANNUAL",this.syncAllHeights())}},mounted:function(){var t=this;new Ip(this.$refs.swiperMonthlyTable,{modules:[Dp,$p],loop:!1,slidesPerView:2,speed:500,navigation:{nextEl:".swiper-plan-monthly-next",prevEl:".swiper-plan-monthly-prev"},breakpoints:{0:{slidesPerView:1.2},768:{slidesPerView:2},1024:{slidesPerView:Math.min(this.monthlyPlans.length,3)}},on:{slideChange:function(e){t.syncAllHeights(),t.updateRemainingPlans(e)},afterInit:function(e){t.syncAllHeights(),t.updateRemainingPlans(e)}}}),new Ip(this.$refs.swiperAnnuallyTable,{modules:[Dp,$p],loop:!1,slidesPerView:2,speed:500,navigation:{nextEl:".swiper-plan-annually-next",prevEl:".swiper-plan-annually-prev"},breakpoints:{0:{slidesPerView:1.2},768:{slidesPerView:2},1024:{slidesPerView:Math.min(this.annualPlans.length,3)}},on:{slideChange:function(e){t.syncAllHeights(),t.updateRemainingPlans(e,"annually")},afterInit:function(e){t.syncAllHeights(),t.updateRemainingPlans(e,"annually")}}}),this.syncAllHeights(),this.syncNavigationWidth(),this.setupScrollListeners()}},Qp=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[n("div",{staticClass:"swiper-plan-navigation nav-monthly-table"},[n("button",{staticClass:"swiper-plan-monthly-prev"},[this.remainingPlansMonthly.before>0?n("span",{staticClass:"plans-remaining"},[t._v("\n +"+t._s(this.remainingPlansMonthly.before+" "+(1===this.remainingPlansMonthly.before?t.translateMe("Plan"):t.translateMe("Plans")))+"\n ")]):t._e(),t._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9388)"}},[n("path",{attrs:{d:"M5 12.0001L19 12.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M5 12.0001L11 18.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M5 12.0001L11 6.00012",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9388"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white"}})])])])]),t._v(" "),n("button",{staticClass:"swiper-plan-monthly-next"},[this.remainingPlansMonthly.after>0?n("span",{staticClass:"plans-remaining"},[t._v("\n +"+t._s(this.remainingPlansMonthly.after+" "+(1===this.remainingPlansMonthly.after?t.translateMe("Plan"):t.translateMe("Plans")))+"\n ")]):t._e(),t._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9381)"}},[n("path",{attrs:{d:"M19 12H5",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M19 12L13 6",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M19 12L13 18",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9381"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white",transform:"matrix(-1 0 0 -1 24 24)"}})])])])])]),t._v(" "),n("div",{staticClass:"swiper-plan-navigation nav-annually-table"},[n("button",{staticClass:"swiper-plan-annually-prev"},[this.remainingPlansAnnually.before>0?n("span",{staticClass:"plans-remaining"},[t._v("\n +"+t._s(this.remainingPlansAnnually.before+" "+(1===this.remainingPlansAnnually.before?t.translateMe("Plan"):t.translateMe("Plans")))+"\n ")]):t._e(),t._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9388)"}},[n("path",{attrs:{d:"M5 12.0001L19 12.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M5 12.0001L11 18.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M5 12.0001L11 6.00012",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9388"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white"}})])])])]),t._v(" "),n("button",{staticClass:"swiper-plan-annually-next"},[this.remainingPlansAnnually.after>0?n("span",{staticClass:"plans-remaining"},[t._v("\n +"+t._s(this.remainingPlansAnnually.after+" "+(1===this.remainingPlansAnnually.after?t.translateMe("Plan"):t.translateMe("Plans")))+"\n ")]):t._e(),t._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9381)"}},[n("path",{attrs:{d:"M19 12H5",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M19 12L13 6",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M19 12L13 18",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9381"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white",transform:"matrix(-1 0 0 -1 24 24)"}})])])])])]),t._v(" "),n("div",{staticClass:"pricing-table monthly-table"},[n("div",{staticClass:"pricing-table-inner__left",attrs:{id:"table-left"}},[n("div",{staticClass:"table-header plans-available plans-available-monthly"},[n("h3",[t._v("\n "+t._s(t.monthlyPlans.length)+" "+t._s(t.translateMe("Plans available"))+"\n ")])]),t._v(" "),t._l(t.monthlyPlansFeatures,(function(e){return[e.name?n("div",{staticClass:"feature-group-header plan-feature-name plan-feature-name-monthly"},[t._v("\n "+t._s(t.translateMe(e.name))+"\n ")]):t._e(),t._v(" "),t._l(e.features,(function(e){return n("div",{key:e.uuid,staticClass:"plan-feature-name plan-feature-name-monthly"},[t._v("\n "+t._s(t.translateMe(e.name))+"\n ")])}))]}))],2),t._v(" "),n("div",{ref:"swiperMonthlyTable",staticClass:"swiper plans monthly",attrs:{id:"plans-table"}},[n("div",{staticClass:"swiper-wrapper"},t._l(t.monthlyPlans,(function(e,a){return n("div",{key:e.id,staticClass:"swiper-slide",class:{"last-slide":a===t.monthlyPlans.length-1}},[n("div",{staticClass:"plan-header-wrapper plan-header-wrapper-monthly"},[n("div",{class:["price-wrapper",t.anyMonthlyPlanHasDiscount?"has-discount":""]},[e.strike_price?[n("h5",[n("span",{staticClass:"strike-price"},[t._v("$"+t._s(e.strike_price))]),t._v(" "),0!==e.strike_price?n("span",{staticClass:"plan-interval"},[t._v(t._s(t.translateMe("/mo")))]):t._e()])]:t._e(),t._v(" "),n("div",{staticClass:"main-price"},[n("h4",{staticClass:"plan-name"},[t._v(t._s(t.translateMe(e.name)))]),t._v(" "),"free"!==e.name&&"FREE"!==e.name?n("h4",[n("span",{staticClass:"plan-price"},[t._v("$"+t._s(e.price))]),t._v(" "),n("span",{staticClass:"plan-interval"},[t._v(t._s(t.translateMe("/mo")))])]):t._e()])],2),t._v(" "),n("VariantButton",{staticClass:"button",attrs:{variant:"secondary",disabled:t.currentPlan&&t.currentPlan.id===e.id,loading:t.loadingPlanId===e.id},on:{click:function(n){return t.handlePlanClick(e)}}},[t._v(t._s(t.currentPlan&&t.currentPlan.id===e.id?t.translateMe("Selected Plan"):t.currentPlan?e.price>t.currentPlan.price?t.translateMe("Upgrade"):t.translateMe("Switch to this plan"):t.translateMe("Choose Plan")))])],1),t._v(" "),t._l(t.monthlyPlansFeatures,(function(a){return[a.name?n("div",{staticClass:"feature-group-header plan-feature plan-feature-monthly"},[t._v("\n "+t._s(t.translateMe(a.name))+"\n ")]):t._e(),t._v(" "),t._l(a.features,(function(a){return n("div",{key:a.uuid,staticClass:"plan-feature plan-feature-monthly"},[t.hasFeature(e,a)?n("div",["boolean"===a.value_type?n("div",[n("span",{staticClass:"plan-table-checkmark"},[n("svg",{attrs:{width:"21",height:"20",viewBox:"0 0 21 20",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9134)"}},[n("path",{attrs:{d:"M3.25 10C3.25 10.9849 3.44399 11.9602 3.8209 12.8701C4.19781 13.7801 4.75026 14.6069 5.4467 15.3033C6.14314 15.9997 6.96993 16.5522 7.87987 16.9291C8.78982 17.306 9.76509 17.5 10.75 17.5C11.7349 17.5 12.7102 17.306 13.6201 16.9291C14.5301 16.5522 15.3569 15.9997 16.0533 15.3033C16.7497 14.6069 17.3022 13.7801 17.6791 12.8701C18.056 11.9602 18.25 10.9849 18.25 10C18.25 9.01509 18.056 8.03982 17.6791 7.12987C17.3022 6.21993 16.7497 5.39314 16.0533 4.6967C15.3569 4.00026 14.5301 3.44781 13.6201 3.0709C12.7102 2.69399 11.7349 2.5 10.75 2.5C9.76509 2.5 8.78982 2.69399 7.87987 3.0709C6.96993 3.44781 6.14314 4.00026 5.4467 4.6967C4.75026 5.39314 4.19781 6.21993 3.8209 7.12987C3.44399 8.03982 3.25 9.01509 3.25 10Z",stroke:"black","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M8.25 9.99998L9.91667 11.6666L13.25 8.33331",stroke:"black","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9134"}},[n("rect",{attrs:{width:"20",height:"20",fill:"white",transform:"translate(0.75)"}})])])])])]):n("div",[n("span",[t._v(t._s(t.translateMe(t.formatFeature(e.features[a.uuid]))))])])]):n("div",[n("span",{staticClass:"plan-table-checkmark"},[n("svg",{attrs:{width:"21",height:"20",viewBox:"0 0 21 20",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9139)"}},[n("path",{attrs:{d:"M15.75 5L5.75 15",stroke:"#5C5C5C","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M5.75 5L15.75 15",stroke:"#5C5C5C","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9139"}},[n("rect",{attrs:{width:"20",height:"20",fill:"white",transform:"translate(0.75)"}})])])])])])])}))]}))],2)})),0)])]),t._v(" "),n("div",{staticClass:"pricing-table annually-table"},[n("div",{staticClass:"pricing-table-inner__left",attrs:{id:"table-left"}},[n("div",{staticClass:"table-header plans-available plans-available-annually"},[n("h3",[t._v(t._s(t.annualPlans.length)+" "+t._s(t.translateMe("Plans available")))])]),t._v(" "),t._l(t.annualPlansFeatures,(function(e){return[e.name?n("div",{staticClass:"feature-group-header plan-feature-name plan-feature-name-annually"},[t._v("\n "+t._s(t.translateMe(e.name))+"\n ")]):t._e(),t._v(" "),t._l(e.features,(function(e){return n("div",{key:e.uuid,staticClass:"plan-feature-name plan-feature-name-annually"},[t._v("\n "+t._s(t.translateMe(e.name))+"\n ")])}))]}))],2),t._v(" "),n("div",{ref:"swiperAnnuallyTable",staticClass:"swiper plans annually",attrs:{id:"plans-table"}},[n("div",{staticClass:"swiper-wrapper"},t._l(t.annualPlans,(function(e,a){return n("div",{key:e.id,staticClass:"swiper-slide",class:{"last-slide":a===t.annualPlans.length-1}},[n("div",{staticClass:"plan-header-wrapper plan-header-wrapper-annually"},[n("div",{class:["price-wrapper",t.anyAnnuallyPlanHasDiscount?"has-discount":""]},[e.strike_price?[n("h5",[n("span",{staticClass:"strike-price"},[t._v("$"+t._s(e.strike_price))]),t._v(" "),0!==e.strike_price?n("span",{staticClass:"plan-interval"},[t._v(t._s(t.translateMe("/yr")))]):t._e()])]:t._e(),t._v(" "),n("div",{staticClass:"main-price"},[n("h4",{staticClass:"plan-name"},[t._v(t._s(t.translateMe(e.name)))]),t._v(" "),"free"!==e.name&&"FREE"!==e.name?n("h4",[n("span",{staticClass:"plan-price"},[t._v("$"+t._s(e.price))]),t._v(" "),n("span",{staticClass:"plan-interval"},[t._v(t._s(t.translateMe("/yr")))])]):t._e()])],2),t._v(" "),n("VariantButton",{staticClass:"button",attrs:{variant:"secondary",disabled:t.currentPlan&&t.currentPlan.id===e.id,loading:t.loadingPlanId===e.id},on:{click:function(n){return t.handlePlanClick(e)}}},[t._v(t._s(t.currentPlan&&t.currentPlan.id===e.id?t.translateMe("Selected Plan"):t.currentPlan?e.price>t.currentPlan.price?t.translateMe("Upgrade"):t.translateMe("Switch to this plan"):t.translateMe("Choose Plan")))])],1),t._v(" "),t._l(t.annualPlansFeatures,(function(a){return[a.name?n("div",{staticClass:"feature-group-header plan-feature plan-feature-annually"},[t._v("\n "+t._s(t.translateMe(a.name))+"\n ")]):t._e(),t._v(" "),t._l(a.features,(function(a){return n("div",{key:a.uuid,staticClass:"plan-feature plan-feature-annually"},[t.hasFeature(e,a)?n("div",["boolean"===a.value_type?n("div",[n("span",{staticClass:"plan-table-checkmark"},[n("svg",{attrs:{width:"21",height:"20",viewBox:"0 0 21 20",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9134)"}},[n("path",{attrs:{d:"M3.25 10C3.25 10.9849 3.44399 11.9602 3.8209 12.8701C4.19781 13.7801 4.75026 14.6069 5.4467 15.3033C6.14314 15.9997 6.96993 16.5522 7.87987 16.9291C8.78982 17.306 9.76509 17.5 10.75 17.5C11.7349 17.5 12.7102 17.306 13.6201 16.9291C14.5301 16.5522 15.3569 15.9997 16.0533 15.3033C16.7497 14.6069 17.3022 13.7801 17.6791 12.8701C18.056 11.9602 18.25 10.9849 18.25 10C18.25 9.01509 18.056 8.03982 17.6791 7.12987C17.3022 6.21993 16.7497 5.39314 16.0533 4.6967C15.3569 4.00026 14.5301 3.44781 13.6201 3.0709C12.7102 2.69399 11.7349 2.5 10.75 2.5C9.76509 2.5 8.78982 2.69399 7.87987 3.0709C6.96993 3.44781 6.14314 4.00026 5.4467 4.6967C4.75026 5.39314 4.19781 6.21993 3.8209 7.12987C3.44399 8.03982 3.25 9.01509 3.25 10Z",stroke:"black","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M8.25 9.99998L9.91667 11.6666L13.25 8.33331",stroke:"black","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9134"}},[n("rect",{attrs:{width:"20",height:"20",fill:"white",transform:"translate(0.75)"}})])])])])]):n("div",[n("span",[t._v(t._s(t.translateMe(t.formatFeature(e.features[a.uuid]))))])])]):n("div",[n("span",{staticClass:"plan-table-checkmark"},[n("svg",{attrs:{width:"21",height:"20",viewBox:"0 0 21 20",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9139)"}},[n("path",{attrs:{d:"M15.75 5L5.75 15",stroke:"#5C5C5C","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M5.75 5L15.75 15",stroke:"#5C5C5C","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9139"}},[n("rect",{attrs:{width:"20",height:"20",fill:"white",transform:"translate(0.75)"}})])])])])])])}))]}))],2)})),0)])])])},staticRenderFns:[]},(function(t){t&&t("data-v-3b3e2f4a_0",{source:".container[data-v-3b3e2f4a]{width:100%}.pricing-table[data-v-3b3e2f4a]{display:grid;width:calc(100% + 2px);grid-template-columns:repeat(3,1fr);background-color:#fff;border-radius:16px;box-shadow:0 4px 6px -1px #0000001a;border:1px solid #e5e5e5}.pricing-table.monthly-table[data-v-3b3e2f4a]{padding:16px}.plans[data-v-3b3e2f4a]{grid-column:span 2;max-height:500px;overflow-y:auto}.annually-table[data-v-3b3e2f4a]{visibility:hidden;height:0}.pricing-table-inner__left[data-v-3b3e2f4a]{display:flex;flex-direction:column;max-height:500px;overflow-y:auto}.swiper[data-v-3b3e2f4a]{width:100%;height:100%}.pricing-table.annually-table .swiper-wrapper[data-v-3b3e2f4a],.pricing-table.monthly-table .swiper-wrapper[data-v-3b3e2f4a]{height:auto!important}.table-header[data-v-3b3e2f4a]{display:flex;align-items:center;background-color:#f1f1f1;padding:16px;border-bottom:1px solid #e3e3e3;position:sticky;top:0}.table-header h3[data-v-3b3e2f4a]{font-size:13px;font-weight:700;line-height:20px;color:#303030}.plan-header-wrapper[data-v-3b3e2f4a]{padding:16px;border-bottom:1px solid #e3e3e3}.plan-feature[data-v-3b3e2f4a]{display:flex;align-items:center;justify-content:center;border-bottom:1px solid #e3e3e3;border-left:1px solid #e3e3e3}.last-slide .plan-feature[data-v-3b3e2f4a]{border-right:1px solid #e3e3e3}.plan-feature-name[data-v-3b3e2f4a]{font-size:13px;font-weight:450;padding:12px;border-bottom:1px solid #e3e3e3;border-left:1px solid #e3e3e3}.plan-table-checkmark[data-v-3b3e2f4a]{width:20px;height:20px;visibility:visible;display:inline-block;margin-top:4px}.plan-header-wrapper[data-v-3b3e2f4a]{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;background-color:#f1f1f1;border-left:1px solid #f1f1f1;border-right:1px solid #f1f1f1;position:sticky;top:0}.plan-header-wrapper .price-wrapper[data-v-3b3e2f4a]{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px}.plan-header-wrapper .price-wrapper.has-discount[data-v-3b3e2f4a]{min-height:44px}.plan-header-wrapper .price-wrapper .main-price[data-v-3b3e2f4a]{display:flex;flex-direction:row;gap:8px;justify-content:center;align-items:center}.plan-header-wrapper .price-wrapper .strike-price[data-v-3b3e2f4a]{text-decoration:line-through}.plan-header-wrapper .price-wrapper .plan-interval[data-v-3b3e2f4a]{color:#999;font-weight:400}.plan-header-wrapper .price-wrapper h4[data-v-3b3e2f4a]{display:inline;font-size:16px;font-weight:700;color:#303030;width:max-content}.plan-header-wrapper .price-wrapper h4 h6[data-v-3b3e2f4a]{display:inline;font-size:13px;font-weight:400;color:#00000080;margin-left:-4px;line-height:0}.swiper-plan-navigation[data-v-3b3e2f4a]{position:absolute;margin-top:32px;display:flex;justify-content:space-between;padding:16px 0}.nav-annually-table[data-v-3b3e2f4a]{display:none}.swiper-plan-annually-next[data-v-3b3e2f4a],.swiper-plan-annually-prev[data-v-3b3e2f4a],.swiper-plan-monthly-next[data-v-3b3e2f4a],.swiper-plan-monthly-prev[data-v-3b3e2f4a]{display:flex;align-items:center;justify-content:center;width:36px;height:36px;background-color:#1a1a1a;border-radius:8px;cursor:pointer}.swiper-plan-annually-next[data-v-3b3e2f4a]:disabled,.swiper-plan-annually-prev[data-v-3b3e2f4a]:disabled,.swiper-plan-monthly-next[data-v-3b3e2f4a]:disabled,.swiper-plan-monthly-prev[data-v-3b3e2f4a]:disabled{opacity:0}.choose-button[data-v-3b3e2f4a]{background-color:#fff!important}.choose-button[data-v-3b3e2f4a]:hover{background-color:#f9f9f9!important}.choose-button.disabled[data-v-3b3e2f4a]{background-color:rgba(0,0,0,.15)!important}#table-left[data-v-3b3e2f4a]{scrollbar-width:none;-ms-overflow-style:none}#table-left[data-v-3b3e2f4a]::-webkit-scrollbar{display:none}.plans-remaining[data-v-3b3e2f4a]{position:absolute;top:-30px;background-color:#fff;color:#333;font-weight:500;padding:6px 12px;border-radius:8px;font-size:14px;white-space:nowrap;box-shadow:0 4px 8px #00000026}.plans-remaining[data-v-3b3e2f4a]::after{content:'';position:absolute;top:100%;left:50%;transform:translateX(-50%);width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #fff;filter:drop-shadow(0 2px 2px rgba(0, 0, 0, .1))}.feature-group-header.plan-feature-name[data-v-3b3e2f4a]{font-size:0!important}.feature-group-header[data-v-3b3e2f4a]{font-size:14px;font-weight:600;background-color:#f5f5f5;color:#303030;max-height:30px;padding:5px!important;border-bottom:1px solid #e3e3e3;border-left:1px solid #e3e3e3}.feature-group-header.plan-feature[data-v-3b3e2f4a]{text-align:center;border-left:1px solid #e3e3e3}.last-slide .feature-group-header.plan-feature[data-v-3b3e2f4a]{border-right:1px solid #e3e3e3}@media (max-width:640px){.swiper-plan-navigation[data-v-3b3e2f4a]{display:none!important}.pricing-table[data-v-3b3e2f4a]{width:calc(100% + -2px)}}",map:void 0,media:void 0})}),Xp,"data-v-3b3e2f4a",false,undefined,!1,Ac,void 0,void 0),Jp=Qp,tf=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"block"},[n("div",{staticClass:"bundle-header"},[n("h3",[t._v(t._s(t.translateMe("Bundle")))]),t._v(" "),n("h2",[t._v("$"+t._s(t.plan.price-t.plan.discount))]),t._v(" "),n("span",{staticClass:"mo-label"},[t._v(t._s(t.translateMe("/mo")))]),t._v(" "),n("h4",[t._v("$"+t._s(t.plan.price))]),t._v(" "),n("span",{staticClass:"apps-count"},[t._v(t._s(t.allApps.length)+" "+t._s(t.translateMe("Apps")))])]),t._v(" "),n("div",{staticClass:"apps-list"},t._l(t.allApps,(function(e,a){return n("div",{key:e.id+"_"+a,staticClass:"app"},[a<=10?[n("img",{attrs:{src:e.app_logo_url,alt:e.app_name+" Logo",width:"24",height:"24"}}),t._v(" "),n("h5",[t._v(t._s(t.translateMe(e.app_name)))])]:11===a?[n("h5",{staticClass:"more-apps-label"},[t._v("+ "+t._s(t.allApps.length-11)+" "+t._s(t.translateMe("More Apps")))])]:t._e()],2)})),0),t._v(" "),n("VariantButton",{staticClass:"button",attrs:{variant:"primary"},on:{click:function(e){return t.handlePlanClick("bundle")}}},[t._v(t._s(t.translateMe("Start Saving Now")))])],1)},staticRenderFns:[]},(function(t){t&&t("data-v-204fc2b9_0",{source:".block[data-v-204fc2b9]{display:flex;flex-direction:column;justify-content:space-between;width:100%;gap:16px;padding:20px;background-color:#fff;border-radius:16px;box-shadow:0 4px 6px -1px #0000001a;border:1px solid #e5e5e5}.button[data-v-204fc2b9]{width:100%!important;display:flex!important;height:fit-content!important;justify-content:center!important}.bundle-header[data-v-204fc2b9]{display:flex;gap:8px;border-bottom:1px solid #e3e3e3;padding-bottom:12px}.bundle-header h3[data-v-204fc2b9]{font-size:18px;font-weight:700;color:#000}.bundle-header h2[data-v-204fc2b9]{font-size:30px;font-weight:700;color:#000}.bundle-header .mo-label[data-v-204fc2b9]{font-size:13px;font-weight:400;color:#00000080}.bundle-header h4[data-v-204fc2b9]{font-size:13.5px;font-weight:700;color:#616161;text-decoration:line-through}.bundle-header .apps-count[data-v-204fc2b9]{background-color:#91d0ff;border-radius:8px;padding:2px 8px;font-size:12px;line-height:16px;font-weight:550;color:#00527c}.apps-list[data-v-204fc2b9]{display:flex;flex-wrap:wrap;gap:8px}.apps-list .app[data-v-204fc2b9]{display:flex;flex-basis:calc(33% - 8px);align-items:center;gap:8px}.more-apps-label[data-v-204fc2b9]{font-size:13px;font-weight:700;color:#000}@media (max-width:767px){.apps-list .app[data-v-204fc2b9]{flex-basis:calc(50% - 8px)}}@media (max-width:540px){.apps-list .app[data-v-204fc2b9]{flex-basis:100%}}",map:void 0,media:void 0})}),{name:"BundlePlanCard",components:{VariantButton:Hh},props:{plan:{type:Object,required:!0},plan_details:{type:Array,required:!0}},methods:{handlePlanClick:function(t){this.$emit("plan-clicked","bundle")},translateMe:function(t){return this.$translations.hasOwnProperty(t)?this.$translations[t]:t}},computed:{allApps:function(){return this.plan_details.flatMap((function(t){return t.apps_relation}))},totalAppsCount:function(){return this.allApps.length}}},"data-v-204fc2b9",false,undefined,!1,Ac,void 0,void 0),ef=tf,nf={name:"CustomizationModal",components:{VariantButton:Hh},props:{visible:Boolean,title:{type:String,default:"Book A Call"}},data:function(){return{selectedIndex:null,items:[{title:"Options Block on Collection Page",price:199,description:"Lorem ipsum description for section",demo:"#"},{title:"Accordion Setup",price:79,description:"Lorem ipsum description for section",demo:"#"},{title:"Step-by-Step Product Form",price:129,description:"Lorem ipsum description for section",demo:"#"},{title:"Swatches with Drawer",price:199,description:"Lorem ipsum description for section",demo:"#"},{title:"Options Block Customization",price:79,description:"Lorem ipsum description for section",demo:"#"},{title:"Font Preview Block",price:99,description:"Lorem ipsum description for section",demo:"#"},{title:"Didn't Find What You're Looking For?",description:"Discuss with our experts!",icon:!0,buttonText:"Schedule a Call"}]}},computed:{total:function(){var t=this.items[this.selectedIndex];return t&&t.price?t.price:0}},methods:{selectItem:function(t){this.selectedIndex=t},onCancel:function(){this.$emit("cancel")},onSubmit:function(){this.$emit("submit",this.items[this.selectedIndex]||null)}}},af=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"modal-fade"}},[t.visible?n("div",{staticClass:"customization-modal modal-overlay",on:{click:function(e){return e.target!==e.currentTarget?null:t.onCancel.apply(null,arguments)}}},[n("div",{staticClass:"modal-container",attrs:{tabindex:"0"},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.onCancel.apply(null,arguments)}}},[n("div",{staticClass:"modal-header"},[n("h2",{staticClass:"modal-title"},[t._v(t._s(t.title))]),t._v(" "),n("button",{staticClass:"close-button",on:{click:t.onCancel}},[n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M12 4L4 12",stroke:"currentColor","stroke-width":"1"}}),t._v(" "),n("path",{attrs:{d:"M4 4L12 12",stroke:"currentColor","stroke-width":"1"}})])])]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"grid"},t._l(t.items,(function(e,a){return n("div",{key:a,staticClass:"card",class:{selected:t.selectedIndex===a},on:{click:function(e){return t.selectItem(a)}}},[e.icon?n("div",{staticClass:"icon"},[n("svg",{attrs:{width:"51",height:"52",viewBox:"0 0 51 52",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_840_1701)"}},[n("path",{attrs:{d:"M10.625 9H19.125L23.375 19.625L18.0625 22.8125C20.3383 27.427 24.073 31.1617 28.6875 33.4375L31.875 28.125L42.5 32.375V40.875C42.5 42.0022 42.0522 43.0832 41.2552 43.8802C40.4582 44.6772 39.3772 45.125 38.25 45.125C29.9609 44.6213 22.1428 41.1013 16.2708 35.2292C10.3987 29.3572 6.87873 21.5391 6.375 13.25C6.375 12.1228 6.82277 11.0418 7.6198 10.2448C8.41683 9.44777 9.49783 9 10.625 9Z",stroke:"#303030","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M31.875 15.375C33.0022 15.375 34.0832 15.8228 34.8802 16.6198C35.6772 17.4168 36.125 18.4978 36.125 19.625",stroke:"#303030","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M31.875 6.875C35.2565 6.875 38.4995 8.2183 40.8906 10.6094C43.2817 13.0005 44.625 16.2435 44.625 19.625",stroke:"#303030","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_840_1701"}},[n("rect",{attrs:{width:"51",height:"51",fill:"white",transform:"translate(0 0.5)"}})])])])]):t._e(),t._v(" "),n("strong",[t._v(t._s(e.title))]),t._v(" "),e.price?n("div",{staticClass:"price"},[t._v("$"+t._s(e.price))]):t._e(),t._v(" "),n("p",{staticClass:"description"},[t._v(t._s(e.description))]),t._v(" "),e.demo?n("a",{staticClass:"demo-link",attrs:{href:e.demo,target:"_blank"}},[t._v("View demo")]):t._e(),t._v(" "),n("VariantButton",{attrs:{variant:"secondary","full-width":!0}},[t._v("\n "+t._s(e.buttonText||(e.price?"Select":"Schedule a Call"))+"\n ")])],1)})),0)]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("span",{staticClass:"total"},[n("span",[t._v("Total:")]),t._v(" $"+t._s(t.total)+"\n ")]),t._v(" "),n("VariantButton",{attrs:{variant:"primary"}},[t._v("Submit")])],1)])]):t._e()])},staticRenderFns:[]},(function(t){t&&t("data-v-18fdf3dc_0",{source:".modal-fade-enter-active[data-v-18fdf3dc],.modal-fade-leave-active[data-v-18fdf3dc]{transition:opacity .2s ease}.modal-fade-enter[data-v-18fdf3dc],.modal-fade-leave-to[data-v-18fdf3dc]{opacity:0}.customization-modal.modal-overlay[data-v-18fdf3dc]{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:1000;display:flex;align-items:center;justify-content:center}.customization-modal .modal-container[data-v-18fdf3dc]{background:#fff;width:90%;max-width:960px;border-radius:10px;overflow:hidden;outline:0;max-height:90vh;display:flex;flex-direction:column}.customization-modal .modal-header[data-v-18fdf3dc]{padding:12px 16px;background:#f3f3f3;border-bottom:1px solid #e3e3e3;display:flex;justify-content:space-between;align-items:center;position:relative}.customization-modal .modal-title[data-v-18fdf3dc]{margin:0;font-size:13px;line-height:20px;font-weight:600}.customization-modal .close-button[data-v-18fdf3dc]{border:none;cursor:pointer;position:absolute;top:calc(50% + 2px);transform:translateY(-50%);right:10px;background:#f3f3f3}.customization-modal .modal-body[data-v-18fdf3dc]{padding:20px;overflow-y:auto;flex:1}.customization-modal .grid[data-v-18fdf3dc]{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:32px 44px}.customization-modal .card[data-v-18fdf3dc]{border:1px solid #dcdcdc;border-radius:12px;padding:16px;text-align:center;transition:border .2s;background:#fff;display:flex;flex-direction:column;justify-content:space-between;gap:6px}.card[data-v-18fdf3dc]:hover,.customization-modal .card.selected[data-v-18fdf3dc]{box-shadow:#e3e3e3 0 1px 0 0 inset,#e3e3e3 1px 0 0 0 inset,#e3e3e3 -1px 0 0 0 inset,#b5b5b5 0 -1px 0 0 inset}.customization-modal .card .price[data-v-18fdf3dc]{font-weight:500;font-size:20px;line-height:28px;letter-spacing:0}.customization-modal .card .description[data-v-18fdf3dc]{font-weight:400;font-size:13px;line-height:20px;letter-spacing:0;text-align:center}.customization-modal .card .demo-link[data-v-18fdf3dc]{font-weight:400;font-size:13px;line-height:20px;letter-spacing:0;text-align:center;color:#0094d5;text-decoration:none}.customization-modal .card .action-btn[data-v-18fdf3dc]{margin-top:auto;border:1px solid #dcdcdc;background:#fff;border-radius:6px;padding:8px;cursor:pointer}.customization-modal .icon img[data-v-18fdf3dc]{height:36px;margin-bottom:8px}.customization-modal .modal-footer[data-v-18fdf3dc]{border-top:1px solid #e3e3e3;padding:12px 16px;display:flex;gap:8px;justify-content:right;align-items:center}.customization-modal .total[data-v-18fdf3dc]{font-weight:500;font-size:13px;line-height:20px;letter-spacing:0;text-align:center;color:#00000080}.customization-modal .total span[data-v-18fdf3dc]{font-weight:700;color:#000}",map:void 0,media:void 0})}),nf,"data-v-18fdf3dc",false,undefined,!1,Ac,void 0,void 0),rf={name:"AppManagerSliderPlan",components:{PlanBanners:zc,CustomizationModal:af,PPage:zu,PStack:Nu,PStackItem:Ou,PButton:nt,PButtonGroup:ae,PHeading:at,PLayout:qu,PEmptyState:Ch,AppCard:Nh,PlanShowcaseBanner:Rh,CategoryHeading:Vh,BenefitsBanner:Ih,VariantButton:Hh,SelectButton:Fh,ToggleButton:$h,PlanCardsHighlights:Yp,GetCustomBlock:Kp,PlanTable:Jp,BundlePlanCard:ef},props:["shop_domain","host","discount_code","is_customizable","full_width"],data:function(){return{planLoading:!1,plan:{},plans:[],valid_annual_plans:[],promotional_discount:{},features:[],featureValues:[],shopify_plan:"",default_plan_id:null,onboard:!0,choose_later:!1,has_active_charge:!1,global_plan_charge:!1,subtitleContent:"",selectedPlan:"monthly",bundle_details:null,bundle_plan:null,showPlansFeatures:!1,showCustomizationModal:!1,additionalBenefitsHeading:{category_name:"Unlock Additional Benefits"}}},computed:{shop:function(){return{name:this.shop_domain,shopify_plan:this.shopify_plan,has_plan:!!this.plan,plan:this.plan,default_plan_id:this.default_plan_id}},monthlyPlan:function(){return this.plans.filter((function(t){return"EVERY_30_DAYS"===t.interval}))},yearlyPlan:function(){return this.plans.filter((function(t){return"ANNUAL"===t.interval}))}},methods:{translateMe:function(t){return this.$translations.hasOwnProperty(t)?this.$translations[t]:t},isCurrentPlanId:function(t){return this.shop.plan&&t.id===this.shop.plan.id},isActivePlanGlobal:function(){var t;return Boolean(null===(t=this.shop.plan)||void 0===t?void 0:t.is_global)},isActiveGlobalCharge:function(){return Boolean(this.global_plan_charge)},isSamePlanInOtherInterval:function(t){return this.shop.plan&&t.shopify_plans===this.shop.plan.shopify_plans},format:function(t){if(["double","integer"].includes(null==t?void 0:t.value_type))return"percentage"===t.format?"".concat(t.value,"%"):"count"===t.format?t.value<0?this.translateMe("Unlimited"):t.value:this.translateMe(t.value);if("array"===(null==t?void 0:t.value_type)){var e=JSON.parse(t.value),n=this;return(e=e.map((function(e){return n.translateMe(n.featureValues[t.feature_id][e])}))).join(", ")}return"string"===(null==t?void 0:t.value_type)?this.translateMe(t.value.replace('"',"").replace('"',"")):void 0},calculateDiscountedPrice:function(t){return Up(t,this.promotional_discount).price},handlePlanClicked:function(t){this.getPlanUrl(t)},getPlanUrl:function(t){var e=this;return s(regeneratorRuntime.mark((function n(){var a,r,o,i,s,l;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=e.shop.name,r=e.host,o=e.discount_code,i="shop=".concat(a),null!=r&&(i+="&host=".concat(r)),null!=o&&(i+="&discount_code=".concat(o)),n.next=8,_c.get("".concat(e.app_manager_config.baseUrl,"/api/app-manager/plan/process/").concat(t.id,"?").concat(i)).catch((function(t){console.error(t)}));case 8:"free_plan"===(s=n.sent).data.plan_type?e.$emit("handlePlanSelect",{free_plan:!0}):(l=s.data.redirect_url)&&(window.top.location.href=l);case 10:case"end":return n.stop()}}),n)})))()},activePlan:function(){var t=this;return s(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.activeWithoutPlan();case 2:!0===e.sent.data.status&&t.onboard&&(t.$emit("handlePlanSelect",{choose_later:!0}),t.onboard=!1);case 4:case"end":return e.stop()}}),e)})))()},activeWithoutPlan:function(){var t=this;return s(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_c.post("".concat(t.app_manager_config.baseUrl,"/api/app-manager/active-without-plan"),{shop_domain:t.shop.name,plan_id:t.shop.default_plan_id}).catch((function(t){console.error(t)}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))()},selectPlan:function(t){var e=this;return s(regeneratorRuntime.mark((function n(){var a,r,o,i,s,l;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:e.selectedPlan=t,null!==e.bundle_plan&&(a=document.querySelector(".custom-plan"),r=document.querySelector(".bundle-plan"),o=document.querySelector(".bill-cycle-back"),i=document.querySelector(".bill-cycle-select-group__inner-left"),s=document.querySelector(".promotional-banner"),l=document.querySelector(".bundle-plan-showcase-banner"),"bundle"==e.selectedPlan?(a.style.display="none",r.style.display="flex",o.style.display="flex",i.style.display="none",s&&(s.style.display="none"),l.style.display="flex"):(r.style.display="none",a.style.display="flex",o.style.display="none",i.style.display="flex",s&&(s.style.display="flex"),l.style.display="none"));case 2:case"end":return n.stop()}}),n)})))()},fetchFeatures:function(){var t=this;return s(regeneratorRuntime.mark((function e(){var n,a,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_c.get("".concat(t.app_manager_config.baseUrl,"/api/app-manager/plan-features")).catch((function(t){console.error(t)}));case 2:n=e.sent,(a=n.data).features.length&&(t.features=a.features,t.features=null===(r=t.features)||void 0===r?void 0:r.filter((function(t){return!0!==t.hidden_feature})),t.features=null===(o=t.features)||void 0===o?void 0:o.sort((function(t,e){return parseInt(t.display_order)-parseInt(e.display_order)})),t.features.forEach((function(e){"array"==e.value_type&&(t.featureValues[e.uuid]=e.values)})));case 5:case"end":return e.stop()}}),e)})))()},fetchPlans:function(){var t=this;return s(regeneratorRuntime.mark((function e(){var n,a,r,i,s,l,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={shop_domain:t.shop_domain},null!==t.discount_code&&(n.discount_code=t.discount_code),e.next=4,_c.get("".concat(t.app_manager_config.baseUrl,"/api/app-manager/plans"),{params:n}).catch((function(t){console.error(t)}));case 4:if(a=e.sent,(r=a.data).plans.length){for(c=0;c<r.plans.length;c++)"ANNUAL"===r.plans[c].interval&&t.valid_annual_plans.push(r.plans[c]);t.plans=r.plans,t.plans=null===(i=t.plans)||void 0===i?void 0:i.sort((function(t,e){return parseFloat(t.price)-parseFloat(e.price)})),t.plans[0].store_base_plan&&(t.subtitleContent=t.translateMe("App plans are based on your existing shopify plan")),t.plan=r.plan,"ANNUAL"===(null===(s=t.plan)||void 0===s?void 0:s.interval)&&(t.selectedPlan="annually"),null!==(l=t.plan)&&void 0!==l&&l.is_global&&(t.selectedPlan="bundle"),t.shopify_plan=r.shopify_plan,t.default_plan_id=r.default_plan_id,t.choose_later=r.choose_later,t.onboard=t.default_plan_id&&t.choose_later,t.has_active_charge=r.has_active_charge,t.global_plan_charge=r.global_plan_charge,t.promotional_discount=r.promotional_discount&&"object"===o(r.promotional_discount)&&Object.keys(r.promotional_discount).length>0?r.promotional_discount:{},r.bundle_plan&&(t.bundle_plan=r.bundle_plan),r.bundle_details&&(t.bundle_details=r.bundle_details)}case 7:case"end":return e.stop()}}),e)})))()},handlePlanBannerClose:function(t){this.$emit("handlePlanBannerClose",t),this.$emit("handle-plan-banner-close",t)},togglePlansFeatures:function(){this.showPlansFeatures=!this.showPlansFeatures},handleCustomizePlan:function(){this.showCustomizationModal=!0,this.$emit("handleCustomizePlan")},handleCustomizePlanClose:function(){this.showCustomizationModal=!1}},mounted:function(){var t=this;return s(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.planLoading=!0,e.next=3,t.fetchFeatures();case 3:return e.next=5,t.fetchPlans();case 5:t.planLoading=!1;case 6:case"end":return e.stop()}}),e)})))()}},of=y({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return this.planLoading||0!==this.plans.length?!this.planLoading&&this.plans.length>0?n("div",{staticClass:"app-manager-wrapper"},[n("PlanBanners",{staticClass:"app-manager-plan-banner",attrs:{position:"header"},on:{handlePlanBannerClose:t.handlePlanBannerClose}}),t._v(" "),n("div",{class:["bill-cycle-select-group",this.full_width?"full-width":""]},[n("a",{staticClass:"bill-cycle-back",on:{click:function(e){return t.selectPlan("monthly")}}},[n("svg",{attrs:{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M1 7H15H1Z",fill:"#006FBB"}}),t._v(" "),n("path",{attrs:{d:"M1 7H15",stroke:"#006FBB","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M1 7L7 13L1 7Z",fill:"#006FBB"}}),t._v(" "),n("path",{attrs:{d:"M1 7L7 13",stroke:"#006FBB","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),n("path",{attrs:{d:"M1 7L7 1L1 7Z",fill:"#006FBB"}}),t._v(" "),n("path",{attrs:{d:"M1 7L7 1",stroke:"#006FBB","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v("\n "+t._s(t.translateMe("Back to App pricing"))+"\n ")]),t._v(" "),n("div",{staticClass:"bill-cycle-select-group__inner-left"},[n("SelectButton",{attrs:{id:"pricing-tab",variant:"monthly"===t.selectedPlan?"primary":"secondary"},on:{click:function(e){return t.selectPlan("monthly")}}},[t._v("\n "+t._s(t.translateMe("Billed Monthly"))+"\n ")]),t._v(" "),t.valid_annual_plans.length>0?n("SelectButton",{attrs:{id:"pricing-tab",variant:"annually"===t.selectedPlan?"primary":"secondary"},on:{click:function(e){return t.selectPlan("annually")}}},[t._v("\n "+t._s(t.translateMe("Billed Yearly"))+"\n "),n("strong",{staticStyle:{"white-space":"pre"}},[t._v(t._s(t.translateMe(" 17% Off")))])]):t._e()],1),t._v(" "),null!==t.bundle_plan?n("ToggleButton",{attrs:{id:"pricing-tab",toggled:"bundle"===t.selectedPlan},on:{click:function(e){return t.selectPlan("bundle")}}},[t._v("\n "+t._s(t.translateMe("App Bundle Plan -"))+"\n "),n("strong",{staticStyle:{"white-space":"pre","font-weight":"900"}},[t._v(t._s(t.translateMe("70% Off")))])]):t._e()],1),t._v(" "),t.bundle_plan?n("PlanShowcaseBanner",{attrs:{useCardStyle:!0,fullWidth:this.full_width,showcaseData:t.bundle_plan,realPrice:parseFloat(t.calculateDiscountedPrice(t.bundle_plan)).toFixed(0),oldPrice:t.bundle_plan.price,isCurrentPlan:t.isCurrentPlanId(t.bundle_plan)},on:{"plan-clicked":function(e){return t.handlePlanClicked(t.bundle_plan)}}}):t._e(),t._v(" "),n("PPage",{staticClass:"app-manager-plan-page-slider custom-title",attrs:{"full-width":this.full_width}},[n("PLayout",{staticClass:"custom-plan"},[n("PlanCardsHighlights",{attrs:{plans:t.plans,features:t.features,currentPlan:t.plan,promotionalDiscount:t.promotional_discount,selectedInterval:t.selectedPlan},on:{"plan-clicked":t.handlePlanClicked}}),t._v(" "),n("div",{staticStyle:{display:"flex","flex-direction":"column","align-items":"center",gap:"16px"}},[n("a",{staticClass:"toggle-plans-features",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.togglePlansFeatures.apply(null,arguments)}}},[t._v("\n "+t._s(t.showPlansFeatures?t.translateMe("Hide all features"):t.translateMe("Show all features"))+"\n ")]),t._v(" "),n("PlanTable",{class:{"hide-all-features":!t.showPlansFeatures},attrs:{plans:t.plans,currentPlan:t.plan,promotionalDiscount:t.promotional_discount,selectedInterval:t.selectedPlan,features:t.features},on:{"plan-clicked":t.handlePlanClicked}})],1),t._v(" "),t.onboard?n("PStack",{staticClass:"choose-plan-btn",attrs:{alignment:"center",distribution:"center",vertical:""}},[n("PStackItem",{attrs:{fill:""}},[n("PButton",{attrs:{plain:""},on:{click:t.activePlan}},[t._v(t._s(t.translateMe("I will choose the plan later")))])],1)],1):t._e(),t._v(" "),n("div",{staticClass:"customization-bundle-section"},[n("BundlePlanCard",{attrs:{plan:t.bundle_plan,plan_details:t.bundle_details},on:{"plan-clicked":t.selectPlan}})],1),t._v(" "),n("CustomizationModal",{attrs:{visible:this.showCustomizationModal},on:{cancel:t.handleCustomizePlanClose,submit:function(t){}}})],1),t._v(" "),null!==t.bundle_plan?n("div",{staticClass:"bundle-plan"},[n("div",{staticClass:"light-divider"}),t._v(" "),t._l(t.bundle_details,(function(e){return n("div",{staticClass:"bundle-category"},[n("CategoryHeading",{attrs:{headingData:e}}),t._v(" "),n("div",{staticClass:"bundle-category-apps"},t._l(e.apps_relation,(function(t){return n("AppCard",{attrs:{appData:t}})})),1)],1)})),t._v(" "),n("CategoryHeading",{attrs:{headingData:t.additionalBenefitsHeading}}),t._v(" "),n("BenefitsBanner")],2):t._e(),t._v(" "),n("PlanBanners",{attrs:{position:"footer"},on:{handlePlanBannerClose:t.handlePlanBannerClose}})],1)],1):t._e():n("PEmptyState",{attrs:{heading:t.translateMe("No Plans"),image:"https://cdn.shopify.com/s/files/1/0262/4071/2726/files/emptystate-files.png"}})},staticRenderFns:[]},(function(t){t&&t("data-v-4f6e2000_0",{source:"@import url(https://fonts.googleapis.com/css2?family=Satisfy&display=swap);@import url(https://cdnjs.cloudflare.com/ajax/libs/Swiper/8.4.7/swiper-bundle.css);.app-manager .app-manager-wrapper{padding-top:16px}.app-manager .app-manager-plan-page-slider ul{list-style:none;margin:0;padding:0}.app-manager .Polaris-Page--fullWidth{max-width:calc(100% - 200px)!important}.app-manager .app-manager-plan-page-slider .Polaris-ResourceList__ResourceListWrapper.features li,.app-manager .app-manager-plan-page-slider .plan__price{padding:16px 16px 16px 20px}.app-manager .app-manager-plan-page-slider .Polaris-ResourceList__ResourceListWrapper.features li{border-top:1px solid #ddd;border-right:1px solid #ddd;background:#fff;border-right:none;border-left:1px solid #ddd}.app-manager .app-manager-plan-page-slider .Polaris-ResourceList__ResourceListWrapper.features li:last-child{border-bottom:1px solid #ddd}.app-manager .app-manager-plan-page-slider .Polaris-ResourceList__ResourceListWrapper.features li:first-child{border-top-left-radius:12px}.app-manager .app-manager-plan-page-slider .Polaris-ResourceList__ResourceListWrapper.features li:last-child{border-bottom-left-radius:12px}.app-manager .app-manager-plan-page-slider .plan__price{border-left:1px solid #ddd;box-shadow:none;border-top-left-radius:12px;overflow:hidden}.app-manager .app-manager-plan-page-slider .feature__list,.app-manager .app-manager-plan-page-slider .feature__type__array{display:flex;align-items:center;word-spacing:999px;justify-content:center}.app-manager .app-manager-plan-page-slider .feature__type__array.feature__class{justify-content:left}.app-manager .app-manager-plan-page-slider .plan-heading b{overflow-wrap:break-word;word-wrap:break-word;white-space:initial}.app-manager-plan-banner{margin-right:30px;margin-left:30px}.bundle-plan{display:none;flex-direction:column;gap:20px}.bundle-category{display:flex;flex-direction:column;gap:20px;margin-bottom:10px}.bundle-category-apps{display:flex;flex-direction:column;gap:10px}.light-divider{border-top:1px solid #e3e3e3;margin-top:10px;margin-bottom:10px}.app-manager .Polaris-Icon--colorSuccess svg{fill:#000!important}.button-group-new{display:flex;align-items:center;justify-content:center;gap:4px}.bill-cycle-select-group{display:flex;align-items:center;justify-content:space-between;gap:4px;max-width:998px;margin-left:auto;margin-right:auto;padding:0 32px}.bill-cycle-select-group.full-width{max-width:calc(100% - 200px)}.bill-cycle-select-group__inner-left{width:fit-content;display:flex;gap:4px;align-items:center;justify-content:center;border-radius:40px;padding:4px;border:1px solid #000}.bill-cycle-back{display:none;align-items:center;color:#006fbb;cursor:pointer;gap:4px;font-weight:450;font-size:14px}.promotional-banner{width:100%;height:100px;display:flex;align-items:center;justify-content:end;padding-right:36px;background-size:cover;background-repeat:no-repeat;background-position:center;border-radius:8px;margin-bottom:22px}.custom-plan{display:flex;flex-direction:column;align-items:center!important;gap:24px;margin-left:0!important;margin-right:0!important}.toggle-plans-features{font-size:13px;font-weight:500;color:#303030;text-decoration:none}.hide-all-features{visibility:hidden;overflow:hidden;height:0;margin-top:0!important}.customization-bundle-section{display:flex;flex-direction:row;gap:24px;width:100%}@media (max-width:1023px){.customization-bundle-section{flex-direction:column;gap:20px}}@media (max-width:992px){.app-manager .Polaris-Page--fullWidth,.bill-cycle-select-group.full-width{max-width:calc(100% - 64px)!important}}@media (max-width:767px){.app-manager .Polaris-Page--fullWidth,.bill-cycle-select-group.full-width{max-width:100%!important}.bill-cycle-select-group{flex-direction:column;gap:10px}}@media (max-width:700px){.Polaris-ButtonGroup__Item{width:auto!important}.app-manager .Polaris-Button{padding:7px 8px!important}}",map:void 0,media:void 0})}),rf,undefined,false,undefined,!1,Ac,void 0,void 0),sf=of,lf={name:"AppManagerPlan",components:{AppManagerSliderPlan:sf},props:{shop_domain:{type:String},group_plan:{type:Boolean,default:!1},base_url:{type:String,default:null},host:{type:String,default:null},discount_code:{type:String,default:null},is_customizable:{type:Boolean,default:!1},full_width:{type:Boolean,default:!1},translations:{type:Object,default:function(){return{hulkapps:"hulkapps"}}}},methods:{handlePlanSelect:function(t){this.$emit("handlePlanSelect",t),this.$emit("handle-plan-select",t)},handlePlanBannerClose:function(t){this.$emit("handlePlanBannerClose",t),this.$emit("handle-plan-banner-close",t)},handleCustomizePlan:function(){this.$emit("handleCustomizePlan")}},created:function(){if(n.default.prototype.$translations=Object.keys(this.translations).length>0?this.translations:{},null!=this.base_url){var t={baseUrl:this.base_url};hf(n.default,t)}}},cf=y({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("AppManagerSliderPlan",{attrs:{shop_domain:t.shop_domain,host:t.host,discount_code:t.discount_code,is_customizable:t.is_customizable,full_width:t.full_width},on:{handlePlanSelect:t.handlePlanSelect,handlePlanBannerClose:t.handlePlanBannerClose,handleCustomizePlan:t.handleCustomizePlan}})},staticRenderFns:[]},undefined,lf,"data-v-1a52e210",false,undefined,!1,void 0,void 0,void 0),uf=Object.freeze({__proto__:null,Banners:Mc,AppManagerGroupPlan:Dh,PlanBanners:zc,AppManagerSliderPlan:sf,AppManagerPlan:cf}),df={baseUrl:""},hf=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.entries(uf).forEach((function(e){var n=d(e,2),a=n[0],r=n[1];t.component(a,r)})),t.prototype.app_manager_config=r(r({},df),e)},pf=Object.freeze({__proto__:null,default:hf,Banners:Mc,AppManagerGroupPlan:Dh,PlanBanners:zc,AppManagerSliderPlan:sf,AppManagerPlan:cf});return Object.entries(pf).forEach((function(t){var e=d(t,2),n=e[0],a=e[1];"default"!==n&&(hf[n]=a)})),hf}(Vue);