@innovastudio/contentbuilder 1.4.79 → 1.4.80

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbuilder",
3
3
  "type": "module",
4
- "version": "1.4.79",
4
+ "version": "1.4.80",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "files": [
@@ -84166,7 +84166,7 @@ class Dictation {
84166
84166
  <span style="margin-left:5px">${this.util.out('Abort')}</span>
84167
84167
  `;
84168
84168
  const ovl = this.builderStuff.querySelector('.page-command-overlay');
84169
- ovl.style.display = 'flex';
84169
+ if (ovl) ovl.style.display = 'flex';
84170
84170
  this.builder.isInProgress = true;
84171
84171
  }
84172
84172
  finish() {
@@ -84174,7 +84174,7 @@ class Dictation {
84174
84174
  const btnSend = this.modalCommand.querySelector('.cmd-send-command');
84175
84175
  btnSend.innerText = this.util.out('Send');
84176
84176
  const ovl = this.builderStuff.querySelector('.page-command-overlay');
84177
- ovl.style.display = 'none';
84177
+ if (ovl) ovl.style.display = 'none';
84178
84178
  }
84179
84179
  }
84180
84180
 
@@ -417,4 +417,4 @@ function B(t,e){var i,n,o;function s(){return new ReadableStream({start:function
417
417
  * @throws Will throw an error if "new" keyword is not used to initiate "RecordRTCPromisesHandler". Also throws error if first argument "MediaStream" is missing.
418
418
  * @requires {@link RecordRTC}
419
419
  */
420
- function(t,e){if(!this)throw'Use "new RecordRTCPromisesHandler()"';if(void 0===t)throw'First argument "MediaStream" is required.';var n=this;n.recordRTC=new i(t,e),this.startRecording=function(){return new Promise((function(t,e){try{n.recordRTC.startRecording(),t()}catch(t){e(t)}}))},this.stopRecording=function(){return new Promise((function(t,e){try{n.recordRTC.stopRecording((function(i){n.blob=n.recordRTC.getBlob(),n.blob&&n.blob.size?t(i):e("Empty blob.",n.blob)}))}catch(t){e(t)}}))},this.pauseRecording=function(){return new Promise((function(t,e){try{n.recordRTC.pauseRecording(),t()}catch(t){e(t)}}))},this.resumeRecording=function(){return new Promise((function(t,e){try{n.recordRTC.resumeRecording(),t()}catch(t){e(t)}}))},this.getDataURL=function(t){return new Promise((function(t,e){try{n.recordRTC.getDataURL((function(e){t(e)}))}catch(t){e(t)}}))},this.getBlob=function(){return new Promise((function(t,e){try{t(n.recordRTC.getBlob())}catch(t){e(t)}}))},this.getInternalRecorder=function(){return new Promise((function(t,e){try{t(n.recordRTC.getInternalRecorder())}catch(t){e(t)}}))},this.reset=function(){return new Promise((function(t,e){try{t(n.recordRTC.reset())}catch(t){e(t)}}))},this.destroy=function(){return new Promise((function(t,e){try{t(n.recordRTC.destroy())}catch(t){e(t)}}))},this.getState=function(){return new Promise((function(t,e){try{t(n.recordRTC.getState())}catch(t){e(t)}}))},this.blob=null,this.version="5.6.2"}),void 0!==i&&(i.WebAssemblyRecorder=B)}(lf);var af=lf.exports;const df=new o;class cf{constructor(t={},e){this.opts=Object.assign(this,{send:()=>{},abort:()=>{}},t),this.builder=e;const i=this.builder.util;this.util=i;const n=this.builder.builderStuff;this.builderStuff=n,null===localStorage.getItem("_mic")&&localStorage.setItem("_mic","0"),this.builder.isInProgress=!1;const o=this.builder.commandInfo;let s="";for(const t in o)if(Object.prototype.hasOwnProperty.call(o,t)){const{title:e,list:i,width:n}=o[t];if(this.builder.enableShortCommands){s+=`<h2>${e}</h2>`;for(const t of i)s+=n?`<div role="button" tabindex="0" class="command-item" style="width:${n}">${t}</div>`:`<div role="button" tabindex="0" class="command-item">${t}</div>`}else if("general"===t){s+=`<h2>${e}</h2>`;for(const t of i)s+=n?`<div role="button" tabindex="0" class="command-item" style="width:${n}">${t}</div>`:`<div role="button" tabindex="0" class="command-item">${t}</div>`}}let r=`\n <style>\n .is-modal.commandlist {\n z-index: 10005 !important\n }\n .is-modal.commandlist .is-modal-content {\n max-width:calc(100% - 150px);\n height:calc(100% - 150px);\n padding:0 !important;\n }\n .is-modal.commandlist .is-modal-close {\n position: absolute !important;\n top: 5px;\n right: 15px;\n box-shadow: none !important;\n }\n .is-modal.commandlist .is-modal-close {\n background: transparent !important;\n }\n .is-modal.commandlist .is-modal-close svg {\n width:50px;height:50px;\n }\n .is-modal.commandlist .is-modal-content > div {\n display: flex;\n flex-flow: wrap;\n align-items: flex-start;\n /*align-items: inherits;*/\n justify-content: flex-start;\n padding: 2.2rem;\n box-sizing: border-box;\n overflow-y: auto;\n overflow-x: hidden;\n width: 100%;\n height: 100%;\n }\n .is-modal.commandlist .is-modal-content > div > h2 {\n display: block;\n width: 100%;\n flex: none;\n font-family: "Open Sans", sans-serif;\n font-weight: 300;\n margin-bottom: 30px;\n font-size: 28px;\n }\n .is-modal.commandlist .is-modal-content > div > div {\n margin-right: 2.2rem;\n margin-bottom: 2.2rem;\n display: flex;\n flex: none;\n width: 350px;\n height: auto;\n flex-direction: column;\n justify-content: space-between;\n border-radius: 0.25rem;\n border: 1px solid rgb(156 163 175/.75);\n padding: 1.5rem 2rem;\n box-sizing: border-box;\n letter-spacing: .025em;\n box-shadow: 5px 5px 0px rgb(0 0 0 / 3%);\n font-size: 19px;\n font-weight: 300;\n font-family: sans-serif;\n line-height: 1.3;\n cursor:pointer;\n transition: all 0.3s ease;\n }\n .is-modal.commandlist .is-modal-content > div > div:hover {\n background: rgba(0, 0, 0, 0.03);\n }\n .dark .is-modal.commandlist .is-modal-content > div > div:hover {\n background: rgba(255, 255, 255, 0.05);\n }\n .is-modal.page-command {\n width: 340px !important; \n height: 200px !important; \n top: auto !important; \n bottom: 30px !important; \n left: auto !important; \n right: 30px !important; \n z-index: 10005 !important;\n font-size: 12px;\n }\n .page-command-overlay {\n position: fixed;\n background: rgb(148 148 148 / 22%);\n display: none;\n z-index: 10004;\n justify-content: center;\n align-items:center;\n }\n\n .spinner {\n -webkit-animation: rotator 1.4s linear infinite;\n animation: rotator 1.4s linear infinite;\n }\n @-webkit-keyframes rotator {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(270deg);\n }\n }\n @keyframes rotator {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(270deg);\n }\n }\n .path {\n stroke: #232323; /* #b7b7b7; */\n stroke-dasharray: 187;\n stroke-dashoffset: 0;\n transform-origin: center;\n -webkit-animation: dash 1.4s ease-in-out infinite;\n animation: dash 1.4s ease-in-out infinite;\n }\n @-webkit-keyframes dash {\n 0% {\n stroke-dashoffset: 187;\n }\n 50% {\n stroke-dashoffset: 46.75;\n transform: rotate(135deg);\n }\n 100% {\n stroke-dashoffset: 187;\n transform: rotate(450deg);\n }\n }\n @keyframes dash {\n 0% {\n stroke-dashoffset: 187;\n }\n 50% {\n stroke-dashoffset: 46.75;\n transform: rotate(135deg);\n }\n 100% {\n stroke-dashoffset: 187;\n transform: rotate(450deg);\n }\n }\n </style>\n <div class="is-overlay page-command-overlay">\n <svg class="spinner" width="40px" height="40px" viewBox="0 0 66 66" xmlns="http://www.w3.org/2000/svg">\n <circle class="path" fill="none" stroke-width="6" stroke-linecap="round" cx="33" cy="33" r="30"></circle>\n </svg>\n </div>\n <div class="is-modal is-modal-content page-command" tabindex="-1" role="dialog" aria-modal="true" aria-hidden="true">\n <div class="is-modal-bar is-draggable" draggable=""> \n <span style="display: flex;\n justify-content: center;\n align-items: center;">\n ${i.out("AI Assistant")}</span>\n <button class="is-modal-close" tabindex="-1" title="${i.out("Close")}">\n <svg class="is-icon-flex"style="width:20px;height:20px"><use xlink:href="#ion-ios-close-empty"></use></svg>\n </button>\n </div>\n <div style="display:flex;flex-direction:column;justify-content:space-between;position:absolute;box-sizing:border-box;top:0;left:0;width:100%;height:100%;border-top:transparent 35px solid;overflow-y:hidden;overflow-x:auto;">\n \n <textarea class="inp-command" style="resize:none;width:100%;height:121px;border:none;outline:none;background:transparent;line-height: 1.2;\n font-family: sans-serif;font-weight: 300;font-size: 17px;"></textarea>\n <div style="display:flex">\n <button title="${i.out("Mic")}" class="cmd-enable-dictation classic-secondary" style="width:40px;height:43px;flex:none;padding:0;outline-offset:-2px;">\n <svg class="is-icon-flex" style="width: 18px; height: 18px;"><use xlink:href="#icon-microphone"></use></svg> \n </button>\n <button title="${i.out("Commands")}" class="cmd-command-list classic-secondary" style="width:40px;height:43px;flex:none;padding:0;outline-offset:-2px;">\n <svg class="is-icon-flex" style="width: 18px; height: 18px;"><use xlink:href="#icon-message-search"></use></svg> \n </button>\n <button title="${i.out("Clear")}" class="cmd-clear-command classic-secondary" style="width:40px;height:43px;flex:none;padding:0;outline-offset:-2px;">\n <svg class="is-icon-flex" style="width: 18px; height: 18px;"><use xlink:href="#icon-eraser"></use></svg> \n </button>\n <label for="chkAutoSendCommand" style="margin:0;display:flex;padding-left:10px;padding-right:10px;white-space:nowrap;width:100%;align-items:center;letter-spacing:0"><input id="chkAutoSendCommand" type="checkbox"> <span style="margin-left:3px">${i.out("Auto Send")}</span></label>\n <button title="${i.out("Send")}" class="cmd-send-command classic-primary" style="width:100%;padding-left:5px;padding-right:5px;height:43px;outline-offset:-2px;">Send</button>\n </div>\n </div>\n </div>\n\n <div class="is-modal commandlist" tabindex="-1" role="dialog" aria-modal="true" aria-hidden="false">\n <div class="is-modal-overlay"></div>\n\n <div class="is-modal-content scroll-darker"">\n <button class="is-modal-close" tabindex="-1" title="${i.out("Close")}">\n <svg class="is-icon-flex"><use xlink:href="#ion-ios-close-empty"></use></svg>\n </button>\n <div>\n\n ${s}\n\n </div>\n </div>\n </div>\n `;df.appendHtml(n,r);const l=n.querySelector(".page-command");this.modalCommand=l;const a=n.querySelector(".commandlist");this.modalCommandList=a;const d=n.querySelector(".cmd-enable-dictation"),c=n.querySelector(".cmd-clear-command"),u=n.querySelector("#chkAutoSendCommand"),h=n.querySelector(".cmd-command-list"),p=this.builderStuff.querySelector(".inp-command");null===localStorage.getItem("_sampleshown")&&(p.setAttribute("placeholder",this.builder.commandPlaceholderText),localStorage.setItem("_sampleshown",!0)),this.builder.commandText="",this.builder.autoSendCommand=!1,null!==localStorage.getItem("_dictation")&&"1"===localStorage.getItem("_dictation")&&(this.modalCommand.classList.add("active"),null!==localStorage.getItem("_mic")?"1"===localStorage.getItem("_mic")&&this.startDictation():this.startDictation()),null!==localStorage.getItem("_mic")&&"0"===localStorage.getItem("_mic")&&(d.innerHTML='<svg class="is-icon-flex" style="width:18px; height:18px;"><use xlink:href="#icon-microphone-off"></use></svg>',u.parentNode.style.display="none",c.style.marginRight="6px"),null!==localStorage.getItem("_autosendcommand")&&"1"===localStorage.getItem("_autosendcommand")&&(u.checked=!0,this.builder.autoSendCommand=!0,localStorage.setItem("_autosendcommand","1")),this.modalCommand.addEventListener("focus",(()=>{i.saveSelection()})),h.addEventListener("click",(()=>{i.showModal(this.modalCommandList,!1,(()=>{h.removeAttribute("data-focus"),h.focus()}),!1),h.setAttribute("data-focus",!0)}));const g=t=>{this.builderStuff.querySelector(".inp-command").value=t,i.hideModal(this.modalCommandList)};a.querySelectorAll(".command-item").forEach((t=>{t.addEventListener("click",(()=>{g(t.innerText),p.focus()})),t.addEventListener("keydown",(e=>{13!==e.which||e.shiftKey||(e.preventDefault(),e.stopImmediatePropagation(),g(t.innerText),setTimeout((()=>{p.focus()}),300))}))})),d.addEventListener("click",(()=>{this.checkMic()?(this.stopDictation(),d.innerHTML='<svg class="is-icon-flex" style="width:18px; height:18px;"><use xlink:href="#icon-microphone-off"></use></svg>',localStorage.setItem("_mic","0"),u.parentNode.style.display="none",c.style.marginRight="6px"):(this.startDictation(),d.innerHTML='<svg class="is-icon-flex" style="width:18px; height:18px;"><use xlink:href="#icon-microphone"></use></svg>',localStorage.setItem("_mic","1"),u.parentNode.style.display="flex",c.style.marginRight="")})),u.addEventListener("change",(()=>{u.checked?(this.builder.autoSendCommand=!0,localStorage.setItem("_autosendcommand","1")):(this.builder.autoSendCommand=!1,localStorage.setItem("_autosendcommand","0"))})),c.addEventListener("click",(()=>{const t=this.builderStuff.querySelector(".inp-command");this.builder.commandText="",t.value="",t.focus()}));const m=n.querySelector(".cmd-send-command");m.addEventListener("click",(async()=>{if(this.builder.isInProgress)return void this.opts.abort();let t=this.modalCommand.querySelector(".inp-command").value;t=t.trim(),""!==t&&this.opts.send(t)})),p.addEventListener("keydown",(t=>{13!==t.keyCode||t.shiftKey||t.preventDefault()})),p.addEventListener("keyup",(t=>{if(13===t.keyCode&&!t.shiftKey)return m.click(),void t.preventDefault();this.builder.commandText=p.value}));this.modalCommand.querySelector(".is-modal-close").addEventListener("click",(()=>{this.modalCommand.classList.remove("active"),this.stopDictation(),localStorage.setItem("_dictation","0")})),this.initialStart=!1}checkMic(){return null===localStorage.getItem("_mic")||"0"!==localStorage.getItem("_mic")}openDictation(){const t=this.modalCommand.querySelector(".inp-command");if(this.modalCommand.classList.contains("active"))return void setTimeout((()=>{t.focus()}),600);this.modalCommand.classList.add("active"),t.focus(),localStorage.setItem("_dictation","1");const e=this.builderStuff.querySelector("#chkAutoSendCommand"),i=this.builderStuff.querySelector(".cmd-clear-command");if(!this.checkMic()){return this.builderStuff.querySelector(".cmd-enable-dictation").innerHTML='<svg class="is-icon-flex" style="width:18px; height:18px;"><use xlink:href="#icon-microphone-off"></use></svg>',e.parentNode.style.display="none",void(i.style.marginRight="6px")}e.parentNode.style.display="flex",i.style.marginRight="",this.startDictation()}stopDictation(){this.recognition&&this.recognition.abort(),this.aborted=!0,this.recorder&&this.recorder.stopRecording(),this.localStream&&this.localStream.getAudioTracks().forEach((t=>{t.stop()}))}async startDictation(){const t=this.modalCommand.querySelector(".inp-command");if(this.builder.onlineDemo)return setTimeout((()=>{const t=this.builderStuff.querySelector(".cmd-enable-dictation"),e=this.builderStuff.querySelector(".cmd-clear-command"),i=this.builderStuff.querySelector("#chkAutoSendCommand");this.stopDictation(),t.innerHTML='<svg class="is-icon-flex" style="width:18px; height:18px;"><use xlink:href="#icon-microphone-off"></use></svg>',localStorage.setItem("_mic","0"),i.parentNode.style.display="none",e.style.marginRight="6px"}),1),void this.util.showMessage(this.util.out("Speech recognition is disabled in this online demo. You can type your command/prompt in the textbox."),!0,(()=>{t.focus()}));if(this.builder.speechTranscribeUrl){this.websocket=new WebSocket(this.builder.speechTranscribeUrl);try{this.localStream=await navigator.mediaDevices.getUserMedia({audio:!0})}catch(t){return setTimeout((()=>{const t=this.builderStuff.querySelector(".cmd-enable-dictation"),e=this.builderStuff.querySelector(".cmd-clear-command"),i=this.builderStuff.querySelector("#chkAutoSendCommand");this.stopDictation(),t.innerHTML='<svg class="is-icon-flex" style="width:18px; height:18px;"><use xlink:href="#icon-microphone-off"></use></svg>',localStorage.setItem("_mic","0"),i.parentNode.style.display="none",e.style.marginRight="6px"}),1),void this.util.showMessage(this.util.out("No microphone found. Please activate your microphone and refresh the page."))}const e=16e3;this.recorder=new af(this.localStream,{type:"audio",desiredSampRate:e,numberOfAudioChannels:1,timeSlice:1e3,ondataavailable:t=>{this.websocket.send(t)}});(/constructor/i.test(window.HTMLElement)||"[object SafariRemoteNotification]"===(!window.safari||"undefined"!=typeof safari&&window.safari.pushNotification).toString())&&!this.initialStart&&(this.recorder.stopRecording(),this.initialStart=!0,this.startDictation());let i="";this.websocket.onmessage=e=>{const n=JSON.parse(e.data);if("can-open-mic"===n.event&&(this.recorder.startRecording(),this.aborted=!1),"transcript-result"===n.event){const e=n.data;if(this.builder.isInProgress||this.aborted)return;i+=" "+e,t.value=i,clearTimeout(this.speechTimeout),this.speechTimeout=setTimeout((()=>{if(this.builder.commandText="",i="",this.builder.autoSendCommand){if(""===t.value.trim())return;this.modalCommand.querySelector(".cmd-send-command").click()}}),this.builder.autoSendDelay)}}}else if("SpeechRecognition"in window||"webkitSpeechRecognition"in window||"mozSpeechRecognition"in window){const e=window.SpeechRecognition||window.webkitSpeechRecognition||window.mozSpeechRecognition;this.recognition=new e,this.recognition.continuous=!0,this.recognition.interimResults=!0;let i=this.builder.speechRecognitionLang;this.recognition.lang=i,this.recognition.start(),this.speechTimeout,this.builder.commandText="",this.recognition.onresult=e=>{if(this.builder.isInProgress)return;let i="",n="";for(var o=e.resultIndex;o<e.results.length;++o)e.results[o].isFinal?n+=e.results[o][0].transcript:i+=e.results[o][0].transcript;if(-1===i.indexOf("send")&&-1===n.indexOf("send"))this.builder.commandText+=n,t.value=this.builder.commandText,clearTimeout(this.speechTimeout),this.speechTimeout=setTimeout((()=>{if(this.builder.commandText="",this.builder.autoSendCommand){if(""===t.value.trim())return;this.modalCommand.querySelector(".cmd-send-command").click()}}),this.builder.autoSendDelay);else{this.modalCommand.querySelector(".cmd-send-command").click()}},this.recognition.onend=()=>{this.aborted||this.startDictation()},this.recognition.onstart=()=>{this.aborted=!1},this.recognition.onerror=t=>{console.log(t.message)}}else setTimeout((()=>{const t=this.builderStuff.querySelector(".cmd-enable-dictation"),e=this.builderStuff.querySelector(".cmd-clear-command"),i=this.builderStuff.querySelector("#chkAutoSendCommand");this.stopDictation(),t.innerHTML='<svg class="is-icon-flex" style="width:18px; height:18px;"><use xlink:href="#icon-microphone-off"></use></svg>',localStorage.setItem("_mic","0"),i.parentNode.style.display="none",e.style.marginRight="6px"}),1),this.util.showMessage(this.util.out("Speech recognition not supported in this browser."))}startSending(){this.modalCommand.querySelector(".cmd-send-command").innerHTML=`\n <svg class="spinner" width="14px" height="14px" viewBox="0 0 66 66" xmlns="http://www.w3.org/2000/svg">\n <circle class="path" fill="none" stroke-width="6" stroke-linecap="round" cx="33" cy="33" r="30"></circle>\n </svg>\n <span style="margin-left:5px">${this.util.out("Abort")}</span>\n `;this.builderStuff.querySelector(".page-command-overlay").style.display="flex",this.builder.isInProgress=!0}finish(){this.builder.isInProgress=!1;this.modalCommand.querySelector(".cmd-send-command").innerText=this.util.out("Send");this.builderStuff.querySelector(".page-command-overlay").style.display="none"}}var uf={compareTwoStrings:hf,findBestMatch:function(t,e){if(!function(t,e){return"string"==typeof t&&(!!Array.isArray(e)&&(!!e.length&&!e.find((function(t){return"string"!=typeof t}))))}(t,e))throw new Error("Bad arguments: First argument should be a string, second should be an array of strings");const i=[];let n=0;for(let o=0;o<e.length;o++){const s=e[o],r=hf(t,s);i.push({target:s,rating:r}),r>i[n].rating&&(n=o)}const o=i[n];return{ratings:i,bestMatch:o,bestMatchIndex:n}}};function hf(t,e){if((t=t.replace(/\s+/g,""))===(e=e.replace(/\s+/g,"")))return 1;if(t.length<2||e.length<2)return 0;let i=new Map;for(let e=0;e<t.length-1;e++){const n=t.substring(e,e+2),o=i.has(n)?i.get(n)+1:1;i.set(n,o)}let n=0;for(let t=0;t<e.length-1;t++){const o=e.substring(t,t+2),s=i.has(o)?i.get(o):0;s>0&&(i.set(o,s-1),n++)}return 2*n/(t.length+e.length-2)}class pf{constructor(t){this.builder=t}check(t){const{commandList:e}=this.builder.settings;let i=0,n="";for(const[o,s]of Object.entries(e)){const e=this.calculate(t,s);e>i&&(i=e,n=o)}return i>=this.builder.similarityThreshold&&n}calculate(t,e){const i=t.toLowerCase();let n=0;for(const t of e){const e=uf.compareTwoStrings(i,t);e>n&&(n=e)}return n}}class gf{constructor(t={}){let e,i,s={page:"",container:".container",row:"",cols:[],colequal:[],colsizes:[],imageQuality:.92,elementSelection:!0,paste:"text",snippetJSON:{snippets:[]},onPreviewOpen:()=>{let t=this.html();localStorage.setItem("preview-html",t)},previewStyle:"top:auto;bottom:50px;left:50px;right:auto;",livePreviewOpen:!1,livePreviewAlwaysReload:!1,livePreviewReloadEvery:30,scriptPath:"",plugins:[],pluginPath:"contentbuilder/",disableConfig:!1,modulePath:"assets/modules/",assetPath:"assets/",fontAssetPath:"assets/fonts/",snippetData:"assets/minimalist-blocks/snippetlist.html",snippetUrl:"assets/minimalist-blocks/content.js",snippetPath:"assets/minimalist-blocks/",snippetPathReplace:[],snippetCategories:[[120,"Basic"],[118,"Article"],[101,"Headline"],[119,"Buttons"],[102,"Photos"],[103,"Profile"],[116,"Contact"],[104,"Products, Services"],[105,"Features"],[108,"Skills"],[109,"Achievements"],[106,"Process"],[107,"Pricing"],[110,"Quotes"],[111,"Partners"],[112,"As Featured On"],[113,"Page Not Found"],[114,"Coming Soon"],[115,"Help, FAQ"]],defaultSnippetCategory:120,snippetHandle:!0,sidePanel:"right",snippetList:"#divSnippetList",onRender:function(){},onChange:function(){},largerImageHandler:"",imageHandler:"",fileHandler:"",mediaHandler:"",videoHandler:"",audioHandler:"",colors:["#ff8f00","#ef6c00","#d84315","#c62828","#58362f","#37474f","#353535","#f9a825","#9e9d24","#558b2f","#ad1457","#6a1b9a","#4527a0","#616161","#00b8c9","#009666","#2e7d32","#0277bd","#1565c0","#283593","#9e9e9e"],builderMode:"",rowTool:"right",rowcolOutline:!0,columnTool:!0,outlineMode:"",toolStyle:"",outlineStyle:"",snippetAddTool:!0,elementTool:!0,elementHighlight:!0,columnHtmlEditor:!0,rowHtmlEditor:!0,htmlSyntaxHighlighting:!0,snippetOpen:!1,toolbar:"top",toolbarDisplay:"auto",shortenHTML:!0,resizeHeight:!1,snippetsSidebarDisplay:"auto",imageEmbed:!0,imageselect:"",fileselect:"",imageSelect:"",fileSelect:"",videoSelect:"",audioSelect:"",mediaSelect:"",selectIcon:'<svg class="is-icon-flex" style="width:16px;height:16px;"><use xlink:href="#icon-folder"></use></svg>',otherSelect:"",otherSelectCaption:"Select Document",otherSelectIcon:'<svg class="is-icon-flex" style="width:16px;height:16px;"><use xlink:href="#icon-list-search"></use></svg>',imageSelectWidth:"1024px",imageSelectHeight:"80vh",fileSelectWidth:"1024px",fileSelectHeight:"80vh",videoSelectWidth:"1024px",videoSelectHeight:"80vh",audioSelectWidth:"1024px",audioSelectHeight:"80vh",mediaSelectWidth:"1024px",mediaSelectHeight:"80vh",otherSelectWidth:"1024px",otherSelectHeight:"80vh",assetRefresh:!1,customTags:[],buttons:["bold","italic","underline","formatting","color","align","textsettings","createLink","tags","|","undo","redo","zoom","livepreview","more"],buttonsMore:["icon","image","|","list","font","formatPara","|","html","preferences"],elementButtons:["left","center","right","full","undo","redo","zoom","livepreview","more"],elementButtonsMore:["|","html","preferences"],iconButtons:["icon","color","textsettings","createLink","|","undo","redo","zoom","livepreview","more"],iconButtonsMore:["|","html","preferences"],lang:[],checkLang:!1,clearPreferences:!1,toolbarAddSnippetButton:!1,animateModal:!0,defaultFontSizes:[16,17,18,19,24,32,48,76,96,120,200,300],fontSizeClassValues:[12,14,15,16,17,18,19,21,24,28,32,35,38,42,46,48,50,54,60,64,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276,280,284,288,292,296,300,304,308,312,316,320,324,328,332,336,340,344,348,352,356,360,364,368,372,376,380,384,388,392,396,400],gradientcolors:[["linear-gradient(0deg, rgb(255, 57, 25), rgb(249, 168, 37))"],["linear-gradient(0deg, rgb(255, 57, 25), rgb(255, 104, 15))"],["linear-gradient(0deg, #FF5722, #FF9800)"],["linear-gradient(0deg, #613ca2, rgb(110, 123, 217))"],["linear-gradient(0deg, rgb(65, 70, 206), rgb(236, 78, 130))"],["linear-gradient(0deg, rgb(0, 150, 102), rgb(90, 103, 197))"],["linear-gradient(30deg, rgb(249, 119, 148), rgb(98, 58, 162))"],["linear-gradient(0deg, rgb(223, 70, 137), rgb(90, 103, 197))"],["linear-gradient(0deg, rgb(40, 53, 147), rgb(90, 103, 197))"],["linear-gradient(0deg, rgb(21, 101, 192), rgb(52, 169, 239))"],["linear-gradient(0deg, rgb(32, 149, 219), rgb(139, 109, 230))"],["linear-gradient(0deg, rgb(90, 103, 197), rgb(0, 184, 201))"],["linear-gradient(0deg, rgb(0, 184, 201), rgb(253, 187, 45))"],["linear-gradient(0deg, rgb(255, 208, 100), rgb(239, 98, 159))"],["linear-gradient(0deg, rgb(0, 214, 223), rgb(130, 162, 253))"],["linear-gradient(0deg, rgb(50, 234, 251), rgb(248, 247, 126))"],["linear-gradient(0deg, rgb(141, 221, 255), rgb(255, 227, 255))"],["linear-gradient(0deg, rgb(255, 170, 170), rgb(255, 255, 200))"],["linear-gradient(0deg, rgb(239, 239, 239), rgb(252, 252, 252))"]],elementEditor:!0,customval:"",moduleConfig:[],elementAnimate:!1,framework:"",cellFormat:"",rowFormat:"",emailMode:!1,absolutePath:!1,emailSnippetCategories:[[1,"Logo"],[14,"Call to Action"],[2,"Title"],[3,"Title, Subtitle"],[4,"Info, Title"],[7,"Paragraph"],[6,"Heading"],[8,"Buttons"],[9,"Callouts"],[10,"Images + Caption"],[12,"Images"],[13,"List"],[15,"Pricing"],[16,"Quotes"],[17,"Profile"],[18,"Contact Info"],[19,"Footer"],[20,"Separator"]],defaultEmailSnippetCategory:14,undoRedoStyles:!1,maxEmbedImageWidth:1600,zoom:1,useLightbox:!1,lightboxArrow:!0,imageRenameOnEdit:!0,disableAutoEmbedVideo:!1,deleteConfirm:!1,sectionTemplate:'\n <div class="is-section is-box is-section-100 type-opensans">\n <div class="is-overlay"></div>\n <div class="is-boxes">\n <div class="is-box-centered">\n <div class="is-container is-content-1100 v2 size-17 leading-13">\n [%CONTENT%]\n </div>\n </div>\n </div>\n </div>\n ',colHeight:[300,350,400,450,500,550,600,650,700],maxColumns:6,leadingPreset:[1,1.2,1.4,1.6,1.8,2,2.2],cssClasses:{fontWeight:{thin:"font-thin",extralight:"font-extralight",light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",extrabold:"font-extrabold",black:"font-black",defaultBold:"font-semibold",defaultNormal:"font-light"},fontStyle:{italic:"italic",normal:"not-italic"},textDecoration:{underline:"underline",linethrough:"line-through",normal:"no-underline"},textTransform:{uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize",normal:"normal-case"},tracking:{tracking__100:"tracking--100",tracking__075:"tracking--75",tracking__050:"tracking-tighter",tracking__025:"tracking-tight",tracking_000:"tracking-normal",tracking_025:"tracking-wide",tracking_050:"tracking-wider",tracking_075:"tracking-75",tracking_100:"tracking-widest",tracking_125:"tracking-125",tracking_150:"tracking-150",tracking_175:"tracking-175",tracking_200:"tracking-200",tracking_225:"tracking-225",tracking_250:"tracking-250",tracking_275:"tracking-275",tracking_300:"tracking-300",tracking_325:"tracking-325",tracking_350:"tracking-350",tracking_375:"tracking-375",tracking_400:"tracking-400",tracking_425:"tracking-425",tracking_450:"tracking-450",tracking_475:"tracking-475",tracking_500:"tracking-500"},leading:{leading_5:"leading-05",leading_6:"leading-06",leading_7:"leading-07",leading_8:"leading-08",leading_9:"leading-09",leading_10:"leading-none",leading_11:"leading-11",leading_12:"leading-12",leading_125:"leading-tight",leading_13:"leading-13",leading_1375:"leading-snug",leading_14:"leading-14",leading_15:"leading-normal",leading_16:"leading-16",leading_1625:"leading-relaxed",leading_17:"leading-17",leading_18:"leading-18",leading_19:"leading-19",leading_20:"leading-loose",leading_21:"leading-21",leading_22:"leading-22",leading_23:"leading-23",leading_24:"leading-24",leading_25:"leading-25",leading_26:"leading-26",leading_27:"leading-27",leading_28:"leading-28",leading_29:"leading-29",leading_30:"leading-30"},opacity:{opacity_0:"opacity-0",opacity_2:"opacity-2",opacity_4:"opacity-4",opacity_5:"opacity-5",opacity_6:"opacity-6",opacity_8:"opacity-8",opacity_10:"opacity-10",opacity_12:"opacity-12",opacity_15:"opacity-15",opacity_20:"opacity-20",opacity_25:"opacity-25",opacity_30:"opacity-30",opacity_35:"opacity-35",opacity_40:"opacity-40",opacity_45:"opacity-45",opacity_50:"opacity-50",opacity_55:"opacity-55",opacity_60:"opacity-60",opacity_65:"opacity-65",opacity_70:"opacity-70",opacity_75:"opacity-75",opacity_80:"opacity-80",opacity_85:"opacity-85",opacity_90:"opacity-90",opacity_95:"opacity-95",opacity_100:"opacity-100"},padding:{all:{p_0:"p-0",p_1:"p-1",p_2:"p-2",p_3:"p-3",p_4:"p-4",p_5:"p-5",p_6:"p-6",p_7:"p-7",p_8:"p-8",p_9:"p-9",p_10:"p-10",p_11:"p-11",p_12:"p-12",p_14:"p-14",p_16:"p-16",p_20:"p-20"},x:{px_0:"px-0",px_1:"px-1",px_2:"px-2",px_3:"px-3",px_4:"px-4",px_5:"px-5",px_6:"px-6",px_7:"px-7",px_8:"px-8",px_9:"px-9",px_10:"px-10",px_11:"px-11",px_12:"px-12",px_14:"px-14",px_16:"px-16",px_20:"px-20"},y:{py_0:"py-0",py_1:"py-1",py_2:"py-2",py_3:"py-3",py_4:"py-4",py_5:"py-5",py_6:"py-6",py_7:"py-7",py_8:"py-8",py_9:"py-9",py_10:"py-10",py_11:"py-11",py_12:"py-12",py_14:"py-14",py_16:"py-16",py_20:"py-20"},top:{pt_0:"pt-0",pt_1:"pt-1",pt_2:"pt-2",pt_3:"pt-3",pt_4:"pt-4",pt_5:"pt-5",pt_6:"pt-6",pt_7:"pt-7",pt_8:"pt-8",pt_9:"pt-9",pt_10:"pt-10",pt_11:"pt-11",pt_12:"pt-12",pt_14:"pt-14",pt_16:"pt-16",pt_20:"pt-20"},right:{pr_0:"pr-0",pr_1:"pr-1",pr_2:"pr-2",pr_3:"pr-3",pr_4:"pr-4",pr_5:"pr-5",pr_6:"pr-6",pr_7:"pr-7",pr_8:"pr-8",pr_9:"pr-9",pr_10:"pr-10",pr_11:"pr-11",pr_12:"pr-12",pr_14:"pr-14",pr_16:"pr-16",pr_20:"pr-20"},bottom:{pb_0:"pb-0",pb_1:"pb-1",pb_2:"pb-2",pb_3:"pb-3",pb_4:"pb-4",pb_5:"pb-5",pb_6:"pb-6",pb_7:"pb-7",pb_8:"pb-8",pb_9:"pb-9",pb_10:"pb-10",pb_11:"pb-11",pb_12:"pb-12",pb_14:"pb-14",pb_16:"pb-16",pb_20:"pb-20"},left:{pl_0:"pl-0",pl_1:"pl-1",pl_2:"pl-2",pl_3:"pl-3",pl_4:"pl-4",pl_5:"pl-5",pl_6:"pl-6",pl_7:"pl-7",pl_8:"pl-8",pl_9:"pl-9",pl_10:"pl-10",pl_11:"pl-11",pl_12:"pl-12",pl_14:"pl-14",pl_16:"pl-16",pl_20:"pl-20"}},extend:{superscript:"sup",subscript:"sub"},textAlign:{left:"text-left",center:"text-center",right:"text-right",justify:"text-justify"},display:{flex:"flex",block:"block",inline:"inline",inline_block:"inline-block"},flexDirection:{row:"flex-row",column:"flex-col",row_reverse:"flex-row-reverse",column_reverse:"flex-col-reverse"},flexWrap:{wrap:"flex-wrap",nowrap:"flex-nowrap",wrap_reverse:"flex-wrap-reverse"},justifyContent:{start:"justify-start",end:"justify-end",center:"justify-center",between:"justify-between",around:"justify-around",evenly:"justify-evenly"},alignItems:{start:"items-start",end:"items-end",center:"items-center",baseline:"items-baseline",stretch:"items-stretch"}},useCssClasses:!0,useButtonPlugin:!1,enableDragResize:!0,simpleTextSettings:!1,enableColumnsPerLine:!0,isContentBox:!1,sendCommandUrl:"http://localhost:8081/answer",onlineDemo:!1,autoSendDelay:3e3,commandPlaceholderText:"",enableShortCommands:!0,speechRecognitionLang:"en-US",headlineList:["We create simple and effective designs.","Ultimate Experiences With Story, Emotion, And Purpose.","Build Anything Beautifully","With Less Stuff and More Compassion","We're [CompanyName]. Full stack development with a spark of creativity.","Transforming your digital experience with [CompanyName]. Achieve your online goals with our customized solutions.","Revolutionizing web development with [CompanyName]. Unleash your digital potential with our high-performance solutions.","Creative and Inspiring"],shortCommandList:{undo:["undo"],redo:["undo"],increase:["increase","bigger","larger","enlarge"],decrease:["decrease","smaller"],bold:["bold"],italic:["italic"],underline:["underline"],strikethrough:["strikethrough"],superscript:["superscript"],subscript:["subscript"],uppercase:["uppercase"],lowercase:["lowercase"],capitalize:["capitalize"],clean:["clean"]},similarityThreshold:.65,commandList:{select:["select","select first"],select_next:["select next","select after"],select_previous:["select previous","select before"],select_last:["select last"],select_headline:["select headline"],select_paragraph:["select paragraph"],select_button:["select button"],select_space:["select space"],select_image:["select image"],change_font:["change font","change typography","change style"],fade_in:["fade in"],fade_in_slow:["fade in slow"],fade_in_up:["fade in up"],fade_in_up_slow:["fade in up slow"],slide_up:["slide up"],slide_up_slow:["slide up slow"],zoom_in:["zoom in"],zoom_out:["zoom out"],animate_once:["animate once"],always_animate:["always animate"],remove_animation:["remove animation","clear animation","remove fade in","clear fade in","remove slide up","clear slide up","remove zoom in","clear zoom in","remove zoom out","clear zoom out"],add_bg_color:["add background color"],add_bg_image:["add background image","add background"],change_bg_color:["change background color"],change_bg_image:["change background image","change background"],remove_bg_color:["remove background color","clear background color"],remove_bg:["remove background","remove background image","clear background","clear background image"],increase_content_width:["increase content width","enlarge content width"],decrease_content_width:["decrease content width","reduce content width"],clear_content_width:["clear content width","remove content width","make content full","full width content"],make_content_light:["make content white","make content light","make text white","make text light","change content white","change content light","change text white","change text light","change to white content","change to light content","change to white text","change to light text"],make_content_dark:["make content black","make content dark","make text black","make text dark","change content black","change content dark","change text black","change text dark","change to black content","change to dark content","change to black text","change to dark text"],make_section_height_10:["make section height 10"],make_section_height_15:["make section height 15"],make_section_height_20:["make section height 20"],make_section_height_25:["make section height 25"],make_section_height_30:["make section height 30"],make_section_height_40:["make section height 40"],make_section_height_50:["make section height 50"],make_section_height_60:["make section height 60"],make_section_height_70:["make section height 70"],make_section_height_75:["make section height 75"],make_section_height_80:["make section height 80"],make_section_height_85:["make section height 85"],make_section_height_90:["make section height 90"],make_section_height_100:["make section height 100"],make_section_height_auto:["make section height auto"],suggest_headline:["suggest headline","suggest header","suggest title","write headline","write header","write title"],suggest_tagline:["suggest tagline","write tagline"],add_headline:["add headline","add header","add title"],add_paragraph:["add paragraph"],add_image:["add image"],add_youtube:["add youtube"],add_video:["add video"],remove_video:["remove video","clear video"],add_bg_video:["add background video"],remove_bg_video:["remove background video","clear background video"],add_slider:["add slider"],remove_slider:["remove slider","clear slider"],add_bg_slider:["add background slider"],remove_bg_slider:["remove background slider","clear background slider"],add_audio:["add audio","add music","add mp3"],add_map:["add map","add google map"],add_table:["add table"],add_social:["add social"],add_icon:["add icon"],add_button:["add button"],add_2buttons:["add 2 button","add 2 buttons"],add_space:["add space"],position_before:["above","before"],increase_line_height:["increase line height","increase line spacing","increase text spacing","enlarge line height","enlarge line spacing","enlarge text spacing","bigger line height","bigger line spacing","bigger text spacing","make line height bigger","make line spacing bigger","make text spacing bigger"],increase_default_line_height:["increase default line height","increase default line spacing","increase default text spacing","enlarge default line height","enlarge default line spacing","enlarge default text spacing","bigger default line height","bigger default line spacing","bigger default text spacing","make default line height bigger","make default line spacing bigger","make default text spacing bigger"],decrease_line_height:["decrease line height","decrease line spacing","decrease text spacing","reduce line height","reduce line spacing","reduce text spacing","smaller line height","smaller line spacing","smaller text spacing","make line height smaller","make line spacing smaller","make text spacing smaller"],decrease_default_line_height:["decrease default line height","decrease default line spacing","decrease default text spacing","reduce default line height","reduce default line spacing","reduce default text spacing","smaller default line height","smaller default line spacing","smaller default text spacing","make default line height smaller","make default line spacing smaller","make default text spacing smaller"],increase_font_size:["increase font","increase size","increase font size","increase text","increase size","increase text size","enlarge font","enlarge size","enlarge font size","enlarge text","enlarge size","enlarge text size","text bigger","font bigger","size bigger"],decrease_font_size:["decrease font","decrease size","decrease font size","decrease text","decrease size","decrease text size","reduce font","reduce size","reduce font size","reduce text","reduce size","reduce text size","text smaller","font smaller","size smaller"],increase_default_font_size:["increase default font","increase default size","increase default font size","increase default text","increase default size","increase default text size","enlarge default font","enlarge default size","enlarge default font size","enlarge default text","enlarge default text size","default text bigger","default font bigger","default size bigger","increase default content","increase default content size","enlarge default content","enlarge default content size"],decrease_default_font_size:["decrease default font","decrease default size","decrease default font size","decrease default text","decrease default size","decrease default text size","reduce default font","reduce default size","reduce default font size","reduce default text","reduce default text size","default text smaller","default font smaller","default size smaller","decrease default content","decrease default content size","reduce default content","reduce default content size"],clear_font_size:["clear font size","remove font size","clear text size","remove text size","use default font size"],align_left:["align left","align text left","left aligned"],align_center:["align center","align text center","center aligned"],align_right:["align right","align text right","right aligned"],align_full:["align full","align justify","justify","justify text","justify full"],clear_alignment:["clear alignment","remove alignment","clear text alignment","remove text alignment"],make_content_centered:["make content center"],move_content_left:["move content left","place content left"],move_content_center:["move content center","place content center"],move_content_right:["move content right","place content right"],move_content_top:["move content top","place content top"],move_content_middle:["move content middle","place content middle"],move_content_bottom:["move content bottom","place content bottom"],increase_space:["more space","increase space","enlarge space"],decrease_space:["less space","decrease space","reduce space"],move_up:["move up"],move_down:["move down"],move_row_up:["move row up"],move_row_down:["move row down"],duplicate_row:["duplicate row","copy row"],remove_row:["remove row","delete row"],move_col_left:["move left","move column left"],move_col_right:["move right","move column right"],duplicate_col:["duplicate column","copy column"],remove_col:["remove column","delete column"],move_column_up:["move column up"],move_column_down:["move column down"],move_section_up:["move section up"],move_section_down:["move section down"],move_section_top:["move section top"],move_section_bottom:["move section bottom"],duplicate_section:["duplicate section","copy section"],remove_section:["remove section","delete section"],remove_content:["remove content","remove all text","remove all content","delete content","delete all text","delete all content","clear content","clear all text","clear all content"],add_content:["add content","add text"]},commandInfo:{general:{title:"General",list:["Let's redesign the layout to enhance its visual appeal and user experience.","Rewrite all the text to improve the overall copywriting quality.","Can you come up with another rendition of the content or offer an alternative wording?","Can you suggest a captivating headline for us?","Undo","Redo"]},selection:{title:"Selection",list:["Select the headline","Select the next block","Move up","Move down","Duplicate row","Remove row","Move column left","Move column right","Duplicate column","Remove column"]},element:{title:"Element",list:["Add a paragraph","Add an image","Add a youtube","Add a button","Add two buttons","Add a space","Increase the space","Reduce the space"]},text:{title:"Text Formatting",list:["Increase font size","Clear font size","Align center","Align right","Align justify","Clear alignment","Bold","Italic","Underline","Strikethrough","Uppercase","Clean"]}}};if(this.opts=Object.assign(this,s,t),window.data_basic&&(this.opts.snippetJSON=window.data_basic,""===this.opts.snippetPath&&(this.opts.snippetPath=window._snippets_path)),this.opts.snippetDisplay&&("auto"===this.opts.snippetDisplay?this.opts.snippetsSidebarDisplay="auto":this.opts.snippetsSidebarDisplay="always"),""===this.opts.scriptPath&&(this.opts.scriptPath=this.currentScriptPath()),window._txt&&(this.opts.lang=window._txt),this.settings=this.opts,""!==this.opts.imageSelect?this.opts.imageselect=this.opts.imageSelect:""!==this.opts.imageselect&&(this.opts.imageSelect=this.opts.imageselect),""!==this.opts.fileSelect?this.opts.fileselect=this.opts.fileSelect:""!==this.opts.fileselect&&(this.opts.fileSelect=this.opts.fileselect),""!==this.opts.videoSelect?this.opts.videoselect=this.opts.videoSelect:""!==this.opts.videoselect&&(this.opts.videoSelect=this.opts.videoselect),this.opts.onImageUpload||this.opts.onLargerImageUpload||(this.opts.onImageUpload=this.opts.onMediaUpload),this.opts.imageHandler||this.opts.largerImageHandler||(this.opts.imageHandler=this.opts.mediaHandler),""!==this.opts.imageHandler&&(this.opts.largerImageHandler=this.opts.imageHandler),this.opts.onImageUpload&&(this.opts.onLargerImageUpload=this.opts.onImageUpload),this.opts.emailMode&&(this.useButtonPlugin=!0),!this.useButtonPlugin){let t=this.plugins.filter((t=>"buttoneditor"!==t.name));this.plugins=[...t]}if("bootstrap"===this.opts.framework?(this.opts.row="row",this.opts.cols=["col-md-1","col-md-2","col-md-3","col-md-4","col-md-5","col-md-6","col-md-7","col-md-8","col-md-9","col-md-10","col-md-11","col-md-12"],this.opts.colequal=[],this.opts.colsizes=[]):"tailwind"===this.opts.framework?(this.opts.row="flex flex-col md:flex-row",this.opts.cols=["w-full md:w-1/12 px-4","w-full md:w-2/12 px-4","w-full md:w-3/12 px-4","w-full md:w-4/12 px-4","w-full md:w-5/12 px-4","w-full md:w-6/12 px-4","w-full md:w-7/12 px-4","w-full md:w-8/12 px-4","w-full md:w-9/12 px-4","w-full md:w-10/12 px-4","w-full md:w-11/12 px-4","w-full px-4"],this.opts.colequal=[],this.opts.colsizes=[]):"foundation"===this.opts.framework?(this.opts.row="row",this.opts.cols=["large-1 columns","large-2 columns","large-3 columns","large-4 columns","large-5 columns","large-6 columns","large-7 columns","large-8 columns","large-9 columns","large-10 columns","large-11 columns","large-12 columns"],this.opts.colequal=[],this.opts.colsizes=[]):"material"===this.opts.framework?(this.opts.row="mdl-grid",this.opts.cols=["mdl-cell mdl-cell--1-col","mdl-cell mdl-cell--2-col","mdl-cell mdl-cell--3-col","mdl-cell mdl-cell--4-col","mdl-cell mdl-cell--5-col","mdl-cell mdl-cell--6-col","mdl-cell mdl-cell--7-col","mdl-cell mdl-cell--8-col","mdl-cell mdl-cell--9-col","mdl-cell mdl-cell--10-col","mdl-cell mdl-cell--11-col","mdl-cell mdl-cell--12-col"],this.opts.colequal=[],this.opts.colsizes=[]):"uikit"===this.opts.framework?(this.opts.row="",this.opts.cols=[],this.opts.colequal=[],this.opts.colsizes=[],this.opts.cellFormat='<div class="uk-width-1-1"></div>',this.opts.rowFormat='<div class="uk-grid"></div>'):""!==this.opts.row&&this.opts.cols.length>0||""===this.opts.cellFormat&&""===this.opts.rowFormat&&(this.useDefaultGrid=!0,this.opts.row="row",this.opts.cols=["column twelfth","column eleventh","column tenth","column ninth","column eighth","column seventh","column sixth","column fifth","column fourth","column third","column half","column two-third","column two-fourth","column two-fifth","column two-sixth","column"],this.opts.colequal=[["column twelfth","column twelfth","column twelfth","column twelfth","column twelfth","column twelfth","column twelfth","column twelfth","column twelfth","column twelfth","column twelfth","column twelfth"],["column eleventh","column eleventh","column eleventh","column eleventh","column eleventh","column eleventh","column eleventh","column eleventh","column eleventh","column eleventh","column eleventh"],["column tenth","column tenth","column tenth","column tenth","column tenth","column tenth","column tenth","column tenth","column tenth","column tenth"],["column ninth","column ninth","column ninth","column ninth","column ninth","column ninth","column ninth","column ninth","column ninth"],["column eighth","column eighth","column eighth","column eighth","column eighth","column eighth","column eighth","column eighth"],["column seventh","column seventh","column seventh","column seventh","column seventh","column seventh","column seventh"],["column sixth","column sixth","column sixth","column sixth","column sixth","column sixth"],["column fifth","column fifth","column fifth","column fifth","column fifth"],["column fourth","column fourth","column fourth","column fourth"],["column third","column third","column third"],["column half","column half"]],this.opts.colsizes=[[["column third","column third","column third"],["column half","column fourth","column fourth"]],[["column sixth","column two-sixth"],["column fifth","column two-fifth"],["column fourth","column two-fourth"],["column third","column two-third"],["column half","column half"],["column two-third","column third"],["column two-fourth","column fourth"],["column two-fifth","column fifth"],["column two-sixth","column sixth"]]]),this.sortableObjects=[],this.iframe){e=this.iframe.contentWindow;let t=this.iframe.contentDocument||this.iframe.contentWindow.document;i=t,this.iframeDocument=t}else e=window,i=document;this.win=e,this.doc=i,this.doc.body.classList.add("data-editor");const r=new o(this);this.dom=r;const l=new n(this);this.util=l,this.pageTemplate||(this.pageTemplate=l.getPageTemplate(this.framework));const a=new of(this);if(this.responsive=a,this.iframe){let t=i.querySelector(".content-stuff");t||(t=document.createElement("div"),t.className="content-stuff is-ui",t.id="_cbhtml",i.body.appendChild(t)),this.contentStuff=t,this.stuff=new ef(this)}this.isTouchSupport=l.isTouchSupport(),this.isIE=l.detectIE(),this.opts.clearPreferences&&l.clearPreferences(),this.uoTm=null,this.uo=new Ai(this),this.cbDom=r,this.autoclean=!1,this.filesAdded="",this.opts.emailMode&&this.applyStyle("emailmode",".is-builder > div {display: block}");let d=document.querySelector("#_cbhtml");var c;d||(d=this.dom.createElement("div"),d.id="_cbhtml",d.className="is-ui",this.dom.appendChild(document.body,d)),this.builderStuff=d,(c=this).dom.appendHtml(c.builderStuff,'<svg width="0" height="0" style="position:absolute;display:none;">\n <defs>\n <symbol viewBox="0 0 512 512" id="ion-ios-arrow-left"><path d="M352 115.4L331.3 96 160 256l171.3 160 20.7-19.3L201.5 256z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-arrow-right"><path d="M160 115.4L180.7 96 352 256 180.7 416 160 396.7 310.5 256z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-plus-outline"><path d="M256 48C141.1 48 48 141.1 48 256s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48zm0 398.7c-105.1 0-190.7-85.5-190.7-190.7S150.9 65.3 256 65.3 446.7 150.9 446.7 256 361.1 446.7 256 446.7z"></path><path d="M264.1 128h-16.8v119.9H128v16.8h119.3V384h16.8V264.7H384v-16.8H264.1z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-image"><path d="M368 224c26.5 0 48-21.5 48-48s-21.5-48-48-48-48 21.5-48 48 21.5 48 48 48z"></path><path d="M452 64H60c-15.6 0-28 12.7-28 28.3v327.4c0 15.6 12.4 28.3 28 28.3h392c15.6 0 28-12.7 28-28.3V92.3c0-15.6-12.4-28.3-28-28.3zM348.9 261.7c-3-3.5-7.6-6.2-12.8-6.2-5.1 0-8.7 2.4-12.8 5.7L304.6 277c-3.9 2.8-7 4.7-11.5 4.7-4.3 0-8.2-1.6-11-4.1-1-.9-2.8-2.6-4.3-4.1L224 215.3c-4-4.6-10-7.5-16.7-7.5-6.7 0-12.9 3.3-16.8 7.8L64 368.2V107.7c1-6.8 6.3-11.7 13.1-11.7h357.7c6.9 0 12.5 5.1 12.9 12l.3 260.4-99.1-106.7z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-photos-outline"><path d="M96 128v320h384V128H96zm368 304H112V144h352v288z"></path><path d="M32 64v320h48v-16H48V80h352v32h16V64z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-settings-strong"><path d="M32 376h283.35c6.186-14.112 20.281-24 36.65-24s30.465 9.888 36.65 24H480v32h-91.35c-6.186 14.112-20.281 24-36.65 24s-30.465-9.888-36.65-24H32M32 240h91.35c6.186-14.112 20.281-24 36.65-24s30.465 9.888 36.65 24H480v32H196.65c-6.186 14.112-20.281 24-36.65 24s-30.465-9.888-36.65-24H32M32 104h283.35c6.186-14.112 20.281-24 36.65-24s30.465 9.888 36.65 24H480v32h-91.35c-6.186 14.112-20.281 24-36.65 24s-30.465-9.888-36.65-24H32"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-settings"><path d="M352 104c8.837 0 16 7.163 16 16s-7.163 16-16 16-16-7.163-16-16 7.163-16 16-16m0-16c-17.645 0-32 14.355-32 32s14.355 32 32 32 32-14.355 32-32-14.355-32-32-32zM352 376c8.837 0 16 7.163 16 16s-7.163 16-16 16-16-7.163-16-16 7.163-16 16-16m0-16c-17.645 0-32 14.355-32 32s14.355 32 32 32 32-14.355 32-32-14.355-32-32-32zM160 240c8.837 0 16 7.163 16 16s-7.163 16-16 16-16-7.163-16-16 7.163-16 16-16m0-16c-17.645 0-32 14.355-32 32s14.355 32 32 32 32-14.355 32-32-14.355-32-32-32zM207.32 248H480v16H207.32c.439-2.604.68-5.273.68-8s-.24-5.396-.68-8zM112 256c0 2.727.24 5.396.68 8H32v-16h80.68a47.955 47.955 0 0 0-.68 8zM399.32 384H480v16h-80.68c.439-2.604.68-5.273.68-8s-.24-5.396-.68-8zM304 392c0 2.727.24 5.396.68 8H32v-16h272.68a47.955 47.955 0 0 0-.68 8zM399.32 112H480v16h-80.68c.439-2.604.68-5.273.68-8s-.24-5.396-.68-8zM304.68 112c-.439 2.604-.68 5.273-.68 8s.24 5.396.68 8H32v-16h272.68z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-android-options"><path d="M32 384h272v32H32zM400 384h80v32h-80zM384 447.5c0 17.949-14.327 32.5-32 32.5-17.673 0-32-14.551-32-32.5v-95c0-17.949 14.327-32.5 32-32.5 17.673 0 32 14.551 32 32.5v95z"></path><g><path d="M32 240h80v32H32zM208 240h272v32H208zM192 303.5c0 17.949-14.327 32.5-32 32.5-17.673 0-32-14.551-32-32.5v-95c0-17.949 14.327-32.5 32-32.5 17.673 0 32 14.551 32 32.5v95z"></path></g><g><path d="M32 96h272v32H32zM400 96h80v32h-80zM384 159.5c0 17.949-14.327 32.5-32 32.5-17.673 0-32-14.551-32-32.5v-95c0-17.949 14.327-32.5 32-32.5 17.673 0 32 14.551 32 32.5v95z"></path></g></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-list-number"><rect x="0" y="0" width="2048.00" height="2048.00" fill="none" /><g transform="matrix(1,0,0,1,1024.0,1024.0)"><path d="M-1043.45,1024 C-1039.25,946.283 -1023.18,878.648 -995.249,821.096 C-967.313,763.544 -912.806,711.242 -831.728,664.192 L-710.742,594.247 C-656.55,562.74 -618.532,535.854 -596.687,513.589 C-562.24,478.722 -545.016,438.813 -545.016,393.863 C-545.016,341.352 -560.769,299.658 -592.276,268.781 C-623.783,237.904 -665.792,222.466 -718.304,222.466 C-796.02,222.466 -849.792,251.873 -879.619,310.685 C-895.582,342.192 -904.404,385.882 -906.084,441.754 L-1021.4,441.754 C-1020.14,363.197 -1005.65,299.133 -977.92,249.562 C-928.769,162.183 -842.02,118.494 -717.673,118.494 C-614.331,118.494 -538.82,146.43 -491.139,202.302 C-443.459,258.174 -419.619,320.347 -419.619,388.822 C-419.619,461.078 -445.034,522.831 -495.865,574.082 C-525.272,603.909 -577.993,640.037 -654.03,682.466 L-740.358,730.356 C-781.527,753.041 -813.874,774.676 -837.399,795.26 C-879.408,831.808 -905.874,872.347 -916.797,916.877 L-424.03,916.877 L-424.03,1024 L-1043.45,1024 Z " /><path d="M-922.391,-764.384 L-922.391,-851.343 C-840.474,-859.324 -783.341,-872.662 -750.994,-891.356 C-718.647,-910.05 -694.492,-954.265 -678.529,-1024 L-589.049,-1024 L-589.049,-125.425 L-710.035,-125.425 L-710.035,-764.384 L-922.391,-764.384 Z " /><path d="M-198.618,-510.942 L-198.618,-667.156 L1004.57,-667.156 L1004.57,-510.942 L-198.618,-510.942 Z " /><path d="M-198.618,78.1071 L-198.618,-78.1071 L1004.57,-78.1071 L1004.57,78.1071 L-198.618,78.1071 Z " /><path d="M-179.185,649.354 L-179.185,493.14 L1024,493.14 L1024,649.354 L-179.185,649.354 Z " /></g></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-list-bullet"><rect x="0" y="0" width="2048.00" height="2048.00" fill="none" /><g transform="matrix(1,0,0,1,1024.0,1024.0)"><path d="M-379.801,-514.33 L-379.801,-670.545 L914.662,-670.545 L914.662,-514.33 L-379.801,-514.33 Z " /><path d="M-379.801,78.1071 L-379.801,-78.1071 L914.662,-78.1071 L914.662,78.1071 L-379.801,78.1071 Z " /><path d="M-379.801,670.545 L-379.801,514.33 L914.662,514.33 L914.662,670.545 L-379.801,670.545 Z " /><path d="M-929.642,-469.441 L-929.642,-715.434 L-669.092,-715.434 L-669.092,-469.441 L-929.642,-469.441 Z " /><path d="M-929.642,127.109 L-929.642,-118.885 L-669.092,-118.885 L-669.092,127.109 L-929.642,127.109 Z " /><path d="M-929.642,715.434 L-929.642,469.441 L-669.092,469.441 L-669.092,715.434 L-929.642,715.434 Z " /></g></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-clean">\n <g transform="matrix(1,0,0,1,1024.0,1024.0)">\n <path d="M75.0013,893.849 L-1030.73,900.993 L-32.1518,-880.838 L1009.54,-880.838 L75.0013,893.849 Z " fill="currentColor" />\n <path d="M-30.8571,780.685 L-845.2,787.828 L-508.893,193.749 L305.26,194.963 L-30.8571,780.685 Z " fill="#ffffff" fill-opacity="1.00" />\n </g>\n </symbol>\n <symbol viewBox="0 0 512 512" id="ion-location"><path d="M256 64c-65.9 0-119.3 53.7-119.3 120 0 114.6 119.3 264 119.3 264s119.3-149.4 119.3-264c0-66.3-53.4-120-119.3-120zm0 178.2c-31.2 0-56.4-25.4-56.4-56.7 0-31.3 25.3-56.8 56.4-56.8 31.2 0 56.4 25.4 56.4 56.8 0 31.3-25.2 56.7-56.4 56.7z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-film-outline"><path d="M0 360h400v-336h-400v336zM72 40v48h-56v-48h56zM72 104v48h-56v-48h56zM72 168v48h-56v-48h56zM72 232v48h-56v-48h56zM72 296v48h-56v-48h56zM312 40v144h-224v-144h224zM312 200v144h-224v-144h224zM384 40v48h-56v-48h56zM384 104v48h-56v-48h56zM384 168v48h-56v-48\n h56zM384 232v48h-56v-48h56zM384 296v48h-56v-48h56z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-social-youtube-outline"><path d="M265 96c65.3 0 118.7 1.1 168.1 3.3h1.4c23.1 0 42 22 42 49.1v1.1l.1 1.1c2.3 34 3.4 69.3 3.4 104.9.1 35.6-1.1 70.9-3.4 104.9l-.1 1.1v1.1c0 13.8-4.7 26.6-13.4 36.1-7.8 8.6-18 13.4-28.6 13.4h-1.6c-52.9 2.5-108.8 3.8-166.4 3.8h-10.6.1-10.9c-57.8 0-113.7-1.3-166.2-3.7h-1.6c-10.6 0-20.7-4.8-28.5-13.4-8.6-9.5-13.4-22.3-13.4-36.1v-1.1l-.1-1.1c-2.4-34.1-3.5-69.4-3.3-104.7v-.2c-.1-35.3 1-70.5 3.3-104.6l.1-1.1v-1.1c0-27.2 18.8-49.3 41.9-49.3h1.4c49.5-2.3 102.9-3.3 168.2-3.3H265m0-32.2h-18c-57.6 0-114.2.8-169.6 3.3-40.8 0-73.9 36.3-73.9 81.3C1 184.4-.1 220 0 255.7c-.1 35.7.9 71.3 3.4 107 0 45 33.1 81.6 73.9 81.6 54.8 2.6 110.7 3.8 167.8 3.8h21.6c57.1 0 113-1.2 167.9-3.8 40.9 0 74-36.6 74-81.6 2.4-35.7 3.5-71.4 3.4-107.1.1-35.7-1-71.3-3.4-107.1 0-45-33.1-81.1-74-81.1C379.2 64.8 322.7 64 265 64z"></path><path d="M207 353.8V157.4l145 98.2-145 98.2z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-play"><path d="M128 96v320l256-160L128 96z"></path></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-align-full"><rect x="0" y="0" width="2048.00" height="2048.00" fill="none" /><g transform="matrix(1,0,0,1,1024.0,1024.0)"><path d="M-770.727,738.299 L-770.727,582.085 L769.712,582.085 L769.712,738.299 L-770.727,738.299 Z " /><path d="M-770.727,-534.628 L-770.727,-690.842 L769.712,-690.842 L769.712,-534.628 L-770.727,-534.628 Z " /><path d="M-770.219,-115.563 L-770.219,-271.777 L770.219,-271.777 L770.219,-115.563 L-770.219,-115.563 Z " /><path d="M-770.219,303.503 L-770.219,147.288 L770.219,147.288 L770.219,303.503 L-770.219,303.503 Z " /></g></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-align-center"><rect x="0" y="0" width="2048.00" height="2048.00" fill="none" /><g transform="matrix(1,0,0,1,1024.0,1024.0)"><path d="M-770.727,738.299 L-770.727,582.085 L769.712,582.085 L769.712,738.299 L-770.727,738.299 Z " /><path d="M-552.286,-107.697 L-552.286,-263.911 L552.286,-263.911 L552.286,-107.697 L-552.286,-107.697 Z " /><path d="M-467.355,319.234 L-467.355,163.02 L466.34,163.02 L466.34,319.234 L-467.355,319.234 Z " /><path d="M-770.727,-534.628 L-770.727,-690.842 L769.712,-690.842 L769.712,-534.628 L-770.727,-534.628 Z " /></g></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-align-left"><rect x="0" y="0" width="2048.00" height="2048.00" fill="none" /><g transform="matrix(1,0,0,1,1024.0,1024.0)"><path d="M-770.727,738.299 L-770.727,582.085 L769.712,582.085 L769.712,738.299 L-770.727,738.299 Z " /><path d="M-770.727,-534.628 L-770.727,-690.842 L769.712,-690.842 L769.712,-534.628 L-770.727,-534.628 Z " /><path d="M-770.219,-115.563 L-770.219,-271.777 L482.839,-271.777 L482.839,-115.563 L-770.219,-115.563 Z " /><path d="M-770.219,303.503 L-770.219,147.288 L122.787,147.288 L122.787,303.503 L-770.219,303.503 Z " /></g></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-align-right"><rect x="0" y="0" width="2048.00" height="2048.00" fill="none" /><g transform="matrix(1,0,0,1,1024.0,1024.0)"><path d="M-770.727,738.299 L-770.727,582.085 L769.712,582.085 L769.712,738.299 L-770.727,738.299 Z " /><path d="M-770.727,-534.628 L-770.727,-690.842 L769.712,-690.842 L769.712,-534.628 L-770.727,-534.628 Z " /><path d="M-483.346,-118.081 L-483.346,-274.295 L769.712,-274.295 L769.712,-118.081 L-483.346,-118.081 Z " /><path d="M-123.871,303.503 L-123.871,147.288 L769.136,147.288 L769.136,303.503 L-123.871,303.503 Z " /></g></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-indent"><rect x="0" y="0" width="2048.00" height="2048.00" fill="none" /><g transform="matrix(1,0,0,1,1024.0,1024.0)"><path d="M-829.04,-514.33 L-829.04,-670.545 L808.959,-670.545 L808.959,-514.33 L-829.04,-514.33 Z " /><path d="M-829.04,670.545 L-829.04,514.33 L808.959,514.33 L808.959,670.545 L-829.04,670.545 Z " /><path d="M-254.279,-110.244 L-254.279,-266.458 L808.959,-266.458 L808.959,-110.244 L-254.279,-110.244 Z " /><path d="M-254.279,266.458 L-254.279,110.244 L808.959,110.244 L808.959,266.458 L-254.279,266.458 Z " /><path d="M-829.04,-195.117 L-490.958,-1.03508e-14 L-829.04,195.117 L-829.04,-195.117 Z " /></g></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-outdent"><rect x="0" y="0" width="2048.00" height="2048.00" fill="none" /><g transform="matrix(1,0,0,1,1024.0,1024.0)"><path d="M-829.04,-514.33 L-829.04,-670.545 L808.959,-670.545 L808.959,-514.33 L-829.04,-514.33 Z " /><path d="M-829.04,670.545 L-829.04,514.33 L808.959,514.33 L808.959,670.545 L-829.04,670.545 Z " /><path d="M-829.04,-110.244 L-829.04,-266.458 L234.198,-266.458 L234.198,-110.244 L-829.04,-110.244 Z " /><path d="M-829.04,266.458 L-829.04,110.244 L234.198,110.244 L234.198,266.458 L-829.04,266.458 Z " /><path d="M808.959,-195.117 L470.877,-1.03508e-14 L808.959,195.117 L808.959,-195.117 Z " /></g></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-table"><rect x="0" y="0" width="2048.00" height="2048.00" fill="none" /><g transform="matrix(1,0,0,1,1024.0,1024.0)"><path d="M-660.783,660.783 L660.783,660.783 L660.783,-660.783 L-660.783,-660.783 L-660.783,660.783 Z " fill="none" stroke-width="75.82" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" /><path d="M-37.9645,698.933 L37.9645,698.933 L37.9645,-698.569 L-37.9645,-698.569 L-37.9645,698.933 Z " fill="currentColor" fill-opacity="1.00" stroke-width="0.25" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" /><path d="M-698.933,-37.7825 L-698.933,38.1465 L698.569,38.1465 L698.569,-37.7825 L-698.933,-37.7825 Z " fill="currentColor" fill-opacity="1.00" stroke-width="0.25" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" /></g></symbol>\n <symbol viewBox="0 0 512 512" id="ion-android-happy"><path d="M256 48C140.563 48 48 141.6 48 256s92.563 208 208 208 208-93.6 208-208S370.401 48 256 48zm0 374.4c-91.518 0-166.404-74.883-166.404-166.4 0-91.518 74.887-166.4 166.404-166.4S422.404 164.482 422.404 256 347.518 422.4 256 422.4zm72.8-187.2c17.683 0 31.201-13.518 31.201-31.2s-13.519-31.2-31.201-31.2c-17.682 0-31.2 13.518-31.2 31.2s13.518 31.2 31.2 31.2zm-145.6 0c17.682 0 31.2-13.518 31.2-31.2s-13.519-31.2-31.2-31.2c-17.683 0-31.201 13.518-31.201 31.2s13.519 31.2 31.201 31.2zM256 370.4c48.883 0 89.436-30.164 106.081-72.801H149.919C166.564 340.236 207.117 370.4 256 370.4z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-android-create"><path d="M64 368v80h80l235.727-235.729-79.999-79.998L64 368zm377.602-217.602c8.531-8.531 8.531-21.334 0-29.865l-50.135-50.135c-8.531-8.531-21.334-8.531-29.865 0l-39.468 39.469 79.999 79.998 39.469-39.467z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-minus-empty"><path d="M384 265H128v-17h256v17z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-eye"><path d="M256 128c-81.9 0-145.7 48.8-224 128 67.4 67.7 124 128 224 128 99.9 0 173.4-76.4 224-126.6C428.2 198.6 354.8 128 256 128zm0 219.3c-49.4 0-89.6-41-89.6-91.3 0-50.4 40.2-91.3 89.6-91.3s89.6 41 89.6 91.3c0 50.4-40.2 91.3-89.6 91.3z"></path><path d="M256 224c0-7.9 2.9-15.1 7.6-20.7-2.5-.4-5-.6-7.6-.6-28.8 0-52.3 23.9-52.3 53.3s23.5 53.3 52.3 53.3 52.3-23.9 52.3-53.3c0-2.3-.2-4.6-.4-6.9-5.5 4.3-12.3 6.9-19.8 6.9-17.8 0-32.1-14.3-32.1-32z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-reply"><path d="M448 400s-36.8-208-224-208v-80L64 256l160 134.4v-92.3c101.6 0 171 8.9 224 101.9z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-folder-outline">\n <path d="M457 96H215c-2.791 0-4.271-.585-6.094-2.408l-22.501-22.501-.168-.162C181.365 66.333 177.361 64 169 64H57c-13.785 0-25 10.317-25 23v336c0 13.317 11.683 25 25 25h400c12.683 0 23-11.215 23-25V119c0-13.327-9.673-23-23-23zM57 80h112c3.497 0 3.737.189 6.175 2.488l22.417 22.418c4.84 4.84 10.372 7.094 17.408 7.094h242c4.448 0 7 2.552 7 7v42.376a23.885 23.885 0 0 0-8-1.376H56c-2.805 0-5.496.488-8 1.376V87c0-4.323 4.672-7 9-7zm407 343c0 4.328-2.677 9-7 9H57c-4.458 0-9-4.542-9-9V184c0-4.411 3.589-8 8-8h400c4.411 0 8 3.589 8 8v239z"/>\n </symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-cloud-outline">\n <path d="M399.3 232.8c0-1.2.2-2.4.2-3.6 0-64.3-52.8-117.2-116.8-117.2-46.1 0-85.8 27.9-104.4 67-8.1-4.1-17.1-6.4-26.8-6.4-29.6 0-54.1 23.7-58.9 52C57.4 236.8 32 268.8 32 308.4c0 49.8 40.1 91.6 89.6 91.6H398c45 0 82-38.9 82-84.3 0-45.6-35.4-82.8-80.7-82.9zm-1.8 150.8l-3.2.4H122.4c-40.9 0-74.2-34.9-74.2-76.1 0-31.9 20.2-58.4 50.2-68.8l8.4-3 1.5-8.8c3.6-21.6 22.1-39.3 43.9-39.3 6.9 0 13.7 1.6 19.9 4.8l13.5 6.8 6.5-13.7c16.6-34.9 52.1-58.2 90.4-58.2 55.3 0 100.9 44.1 100.9 99.7 0 13.3-.2 20.3-.2 20.3l15.2.1c36.7.5 65.6 30.5 65.6 67.4 0 36.9-29.8 68.2-66.5 68.4z"/>\n </symbol>\n <symbol viewBox="0 0 512 512" id="ion-wrench"><path d="M461.9 114.9l-56.5 56.7-55.1-10-9.9-55.1 56.5-56.7c-12.7-12.7-30.8-18.5-44.2-17.8-13.5.7-42.3 8.3-64.6 32-21.6 22.8-44.3 65.3-24.2 112.5 2.4 5.7 5.1 13.2-2.9 21.2-8.1 8-215 202.8-215 202.8-19.4 16.7-18 47.6-.1 65.6 18.2 17.9 48.9 19 65.6-.3 0 0 193.2-205.8 202.7-215.1 8.5-8.3 16.1-5.5 21.2-2.9 35.6 18.4 86.3 2.4 112.6-23.9 26.3-26.3 31.1-51.7 31.9-64.7.8-12.9-3.7-30-18-44.3zM91.3 443.2c-6.3 6.2-16.5 6.2-22.7 0-6.2-6.3-6.2-16.5 0-22.7 6.3-6.2 16.5-6.2 22.7 0 6.2 6.3 6.2 16.5 0 22.7z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-more"><path d="M113.7 304C86.2 304 64 282.6 64 256c0-26.5 22.2-48 49.7-48 27.6 0 49.8 21.5 49.8 48 0 26.6-22.2 48-49.8 48zM256 304c-27.5 0-49.8-21.4-49.8-48 0-26.5 22.3-48 49.8-48 27.5 0 49.7 21.5 49.7 48 0 26.6-22.2 48-49.7 48zM398.2 304c-27.5 0-49.8-21.4-49.8-48 0-26.5 22.2-48 49.8-48 27.5 0 49.8 21.5 49.8 48 0 26.6-22.2 48-49.8 48z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-code-working"><circle cx="184.166" cy="256.166" r="24"></circle><circle cx="256.166" cy="256.166" r="24"></circle><circle cx="328.166" cy="256.166" r="24"></circle><g><path d="M168 392a23.929 23.929 0 0 1-16.971-7.029l-112-112c-9.373-9.373-9.373-24.569 0-33.941l112-112c9.373-9.372 24.568-9.372 33.941 0 9.371 9.372 9.371 24.568 0 33.941L89.941 256l95.029 95.029c9.371 9.372 9.371 24.568 0 33.941A23.925 23.925 0 0 1 168 392zM344 392a23.929 23.929 0 0 0 16.971-7.029l112-112c9.373-9.373 9.373-24.569 0-33.941l-112-112c-9.373-9.372-24.568-9.372-33.941 0-9.371 9.372-9.371 24.568 0 33.941L422.059 256l-95.029 95.029c-9.371 9.372-9.371 24.568 0 33.941A23.925 23.925 0 0 0 344 392z"></path></g></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-gear"><path d="M416.349 256.046c-.001-21.013 13.143-38.948 31.651-46.062a196.302 196.302 0 0 0-23.664-57.139 49.423 49.423 0 0 1-20.082 4.254c-12.621 0-25.238-4.811-34.871-14.442-14.863-14.863-18.248-36.846-10.18-54.97A196.274 196.274 0 0 0 302.074 64C294.971 82.529 277.027 95.69 256 95.69c-21.025 0-38.969-13.161-46.073-31.69a196.243 196.243 0 0 0-57.128 23.688c8.068 18.122 4.683 40.104-10.181 54.97-9.631 9.631-22.25 14.443-34.871 14.443a49.429 49.429 0 0 1-20.083-4.255A196.273 196.273 0 0 0 64 209.984c18.509 7.112 31.652 25.049 31.652 46.062 0 21.008-13.132 38.936-31.63 46.054a196.318 196.318 0 0 0 23.692 57.128 49.428 49.428 0 0 1 20.032-4.232c12.622 0 25.239 4.812 34.871 14.443 14.841 14.841 18.239 36.781 10.215 54.889a196.257 196.257 0 0 0 57.13 23.673c7.128-18.479 25.046-31.596 46.038-31.596 20.992 0 38.91 13.115 46.037 31.596a196.234 196.234 0 0 0 57.132-23.675c-8.023-18.106-4.626-40.046 10.216-54.887 9.629-9.632 22.248-14.444 34.868-14.444 6.836 0 13.67 1.411 20.033 4.233a196.318 196.318 0 0 0 23.692-57.128c-18.498-7.119-31.629-25.048-31.629-46.054zM256.9 335.9c-44.3 0-80-35.9-80-80 0-44.101 35.7-80 80-80 44.299 0 80 35.899 80 80 0 44.1-35.701 80-80 80z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-arrow-expand"><path d="M274 209.7l63.9-63.8L288 96h128v128l-49.9-49.9-63.8 63.9zM274 302.3l63.9 63.8L288 416h128V288l-49.9 49.9-63.8-63.9zM238 302.3l-63.9 63.8L224 416H96V288l49.9 49.9 63.8-63.9zM238 209.7l-63.9-63.8L224 96H96v128l49.9-49.9 63.8 63.9z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-android-expand"><path d="M396.795 396.8H320V448h128V320h-51.205zM396.8 115.205V192H448V64H320v51.205zM115.205 115.2H192V64H64v128h51.205zM115.2 396.795V320H64v128h128v-51.205z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-arrow-move"><path d="M480 256l-96-96v76H276V128h76l-96-96-96 96h76v108H128v-76l-96 96 96 96v-76h108v108h-76l96 96 96-96h-76.2l-.4-108.5 108.6.3V352z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-drag"><path d="M0 144h512v32H0zM0 240h512v32H0zM0 336h512v32H0z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-link"><path d="M74.6 256c0-38.3 31.1-69.4 69.4-69.4h88V144h-88c-61.8 0-112 50.2-112 112s50.2 112 112 112h88v-42.6h-88c-38.3 0-69.4-31.1-69.4-69.4zm85.4 22h192v-44H160v44zm208-134h-88v42.6h88c38.3 0 69.4 31.1 69.4 69.4s-31.1 69.4-69.4 69.4h-88V368h88c61.8 0 112-50.2 112-112s-50.2-112-112-112z"/></symbol>\n <symbol viewBox="0 0 512 512" id="ion-contrast"><path d="M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm135.8 359.8C355.5 428 307 448 256 448V64c51 0 99.5 20 135.8 56.2C428 156.5 448 204.7 448 256c0 51.3-20 99.5-56.2 135.8z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-plus-empty"><path d="M384 265H264v119h-17V265H128v-17h119V128h17v120h120v17z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-arrow-thin-up"><path d="M349.7 189.8c-3.1 3.1-8 3-11.3 0L264 123.4V408c0 4.4-3.6 8-8 8s-8-3.6-8-8V123.4l-74.4 66.3c-3.4 2.9-8.1 3.2-11.2.1-3.1-3.1-3.3-8.5-.1-11.4 0 0 87-79.2 88-80s2.8-2.4 5.7-2.4 4.9 1.6 5.7 2.4 88 80 88 80c1.5 1.5 2.3 3.6 2.3 5.7s-.8 4.1-2.3 5.7z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-arrow-thin-down"><path d="M349.7 322.2c-3.1-3.1-8-3-11.3 0L264 388.6V104c0-4.4-3.6-8-8-8s-8 3.6-8 8v284.6l-74.4-66.3c-3.4-2.9-8.1-3.2-11.2-.1-3.1 3.1-3.3 8.5-.1 11.4 0 0 87 79.2 88 80s2.8 2.4 5.7 2.4 4.9-1.6 5.7-2.4 88-80 88-80c1.5-1.5 2.3-3.6 2.3-5.7s-.8-4.1-2.3-5.7z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-arrow-thin-left"><path d="M189.8 349.7c3.1-3.1 3-8 0-11.3L123.4 264H408c4.4 0 8-3.6 8-8s-3.6-8-8-8H123.4l66.3-74.4c2.9-3.4 3.2-8.1.1-11.2-3.1-3.1-8.5-3.3-11.4-.1 0 0-79.2 87-80 88S96 253.1 96 256s1.6 4.9 2.4 5.7 80 88 80 88c1.5 1.5 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-arrow-thin-right"><path d="M322.2 349.7c-3.1-3.1-3-8 0-11.3l66.4-74.4H104c-4.4 0-8-3.6-8-8s3.6-8 8-8h284.6l-66.3-74.4c-2.9-3.4-3.2-8.1-.1-11.2 3.1-3.1 8.5-3.3 11.4-.1 0 0 79.2 87 80 88s2.4 2.8 2.4 5.7-1.6 4.9-2.4 5.7-80 88-80 88c-1.5 1.5-3.6 2.3-5.7 2.3s-4.1-.8-5.7-2.3z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-close-empty"><path d="M340.2 160l-84.4 84.3-84-83.9-11.8 11.8 84 83.8-84 83.9 11.8 11.7 84-83.8 84.4 84.2 11.8-11.7-84.4-84.3 84.4-84.2z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-android-more-vertical"><path d="M296 136c0-22.002-17.998-40-40-40s-40 17.998-40 40 17.998 40 40 40 40-17.998 40-40zm0 240c0-22.002-17.998-40-40-40s-40 17.998-40 40 17.998 40 40 40 40-17.998 40-40zm0-120c0-22.002-17.998-40-40-40s-40 17.998-40 40 17.998 40 40 40 40-17.998 40-40z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-quote"><path d="M192 64c-40.646 0-72.483 11.229-94.627 33.373C75.229 119.517 64 151.354 64 192v256h160V192h-96c0-23.056 4.922-39.666 14.627-49.373C152.334 132.922 168.944 128 192 128M416 64c-40.646 0-72.483 11.229-94.627 33.373C299.229 119.517 288 151.354 288 192v256h160V192h-96c0-23.056 4.922-39.666 14.627-49.373C376.334 132.922 392.944 128 416 128"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-code"><path d="M168 392a23.929 23.929 0 0 1-16.971-7.029l-112-112c-9.373-9.373-9.373-24.569 0-33.941l112-112c9.373-9.372 24.568-9.372 33.941 0 9.371 9.372 9.371 24.568 0 33.941L89.941 256l95.029 95.029c9.371 9.373 9.371 24.568 0 33.941A23.925 23.925 0 0 1 168 392zM344 392a23.929 23.929 0 0 0 16.971-7.029l112-112c9.373-9.373 9.373-24.569 0-33.941l-112-112c-9.373-9.372-24.568-9.372-33.941 0-9.371 9.372-9.371 24.568 0 33.941L422.059 256l-95.029 95.029c-9.371 9.373-9.371 24.568 0 33.941A23.925 23.925 0 0 0 344 392z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-camera"><path d="M430.4 147h-67.5l-40.4-40.8s-.2-.2-.3-.2l-.2-.2c-6-6-14.1-9.8-23.3-9.8h-84c-9.8 0-18.5 4.2-24.6 10.9v.1l-39.5 40h-69C63 147 48 161.6 48 180.2v202.1c0 18.6 15 33.7 33.6 33.7h348.8c18.5 0 33.6-15.1 33.6-33.7V180.2c0-18.6-15.1-33.2-33.6-33.2zM256 365.5c-50.9 0-92.4-41.6-92.4-92.6 0-51.1 41.5-92.6 92.4-92.6 51 0 92.4 41.5 92.4 92.6 0 51-41.4 92.6-92.4 92.6zm168.1-165c-7.7 0-14-6.3-14-14.1s6.3-14.1 14-14.1 14 6.3 14 14.1-6.3 14.1-14 14.1z"></path><path d="M256 202.9c-38.6 0-69.8 31.3-69.8 70 0 38.6 31.2 70 69.8 70 38.5 0 69.8-31.3 69.8-70s-31.3-70-69.8-70z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-move"><path d="M475.9 246.2l-79.4-79.4c-5.4-5.4-14.2-5.4-19.6 0l-.2.2c-5.4 5.4-5.4 14.2 0 19.6l54.9 54.9-161.8.5.5-161.8 54.9 54.9c5.4 5.4 14.2 5.4 19.6 0l.2-.2c5.4-5.4 5.4-14.2 0-19.6l-79.4-79.4c-5.4-5.4-14.2-5.4-19.6 0l-79.4 79.4c-5.4 5.4-5.4 14.2 0 19.6l.2.2c5.4 5.4 14.2 5.4 19.6 0l54.9-54.9.5 161.8-161.8-.5 54.9-54.9c5.4-5.4 5.4-14.2 0-19.6l-.2-.2c-5.4-5.4-14.2-5.4-19.6 0l-79.4 79.4c-5.4 5.4-5.4 14.2 0 19.6l79.4 79.4c5.4 5.4 14.2 5.4 19.6 0l.2-.2c5.4-5.4 5.4-14.2 0-19.6L80 270.5l161.8-.5-.5 161.8-54.9-54.9c-5.4-5.4-14.2-5.4-19.6 0l-.2.2c-5.4 5.4-5.4 14.2 0 19.6l79.4 79.4c5.4 5.4 14.2 5.4 19.6 0l79.4-79.4c5.4-5.4 5.4-14.2 0-19.6l-.2-.2c-5.4-5.4-14.2-5.4-19.6 0l-54.9 54.9-.5-161.8 161.8.5-54.9 54.9c-5.4 5.4-5.4 14.2 0 19.6l.2.2c5.4 5.4 14.2 5.4 19.6 0l79.4-79.4c5.5-5.4 5.5-14.2 0-19.6z"/></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-ok">\n <rect x="0" y="0" width="2048.00" height="2048.00" fill="none" />\n <g transform="matrix(1,0,0,1,1024.0,1024.0)">\n <path d="M330.323,493.628 L330.323,398.406 L-330.323,398.406 L-330.323,493.628 L330.323,493.628 Z " fill="currentColor" fill-opacity="1.00" />\n <path d="M230.718,468.568 L328.59,468.568 L328.59,-599.718 L230.718,-599.718 L230.718,468.568 Z " fill="currentColor" fill-opacity="1.00" />\n <path d="M-300.714,376.053 L-373.748,449.088 L-68.5805,754.255 L4.45387,681.221 L-300.714,376.053 Z " fill="currentColor" fill-opacity="1.00" />\n <path d="M-9.9476e-14,216.241 L-73.0344,143.207 L-378.202,448.375 L-305.168,521.409 L-9.9476e-14,216.241 Z " fill="currentColor" fill-opacity="1.00" />\n </g>\n </symbol>\n <symbol viewBox="0 0 512 512" id="ion-grid"><path d="M160 153.3c0 3.7-3 6.7-6.7 6.7h-50.5c-3.7 0-6.7-3-6.7-6.7v-50.5c0-3.7 3-6.7 6.7-6.7h50.5c3.7 0 6.7 3 6.7 6.7v50.5zM288 153.3c0 3.7-3 6.7-6.7 6.7h-50.5c-3.7 0-6.7-3-6.7-6.7v-50.5c0-3.7 3-6.7 6.7-6.7h50.5c3.7 0 6.7 3 6.7 6.7v50.5zM416 153.3c0 3.7-3 6.7-6.7 6.7h-50.5c-3.7 0-6.7-3-6.7-6.7v-50.5c0-3.7 3-6.7 6.7-6.7h50.5c3.7 0 6.7 3 6.7 6.7v50.5z"></path><g><path d="M160 281.3c0 3.7-3 6.7-6.7 6.7h-50.5c-3.7 0-6.7-3-6.7-6.7v-50.5c0-3.7 3-6.7 6.7-6.7h50.5c3.7 0 6.7 3 6.7 6.7v50.5zM288 281.3c0 3.7-3 6.7-6.7 6.7h-50.5c-3.7 0-6.7-3-6.7-6.7v-50.5c0-3.7 3-6.7 6.7-6.7h50.5c3.7 0 6.7 3 6.7 6.7v50.5zM416 281.3c0 3.7-3 6.7-6.7 6.7h-50.5c-3.7 0-6.7-3-6.7-6.7v-50.5c0-3.7 3-6.7 6.7-6.7h50.5c3.7 0 6.7 3 6.7 6.7v50.5z"></path></g><g><path d="M160 409.3c0 3.7-3 6.7-6.7 6.7h-50.5c-3.7 0-6.7-3-6.7-6.7v-50.5c0-3.7 3-6.7 6.7-6.7h50.5c3.7 0 6.7 3 6.7 6.7v50.5zM288 409.3c0 3.7-3 6.7-6.7 6.7h-50.5c-3.7 0-6.7-3-6.7-6.7v-50.5c0-3.7 3-6.7 6.7-6.7h50.5c3.7 0 6.7 3 6.7 6.7v50.5zM416 409.3c0 3.7-3 6.7-6.7 6.7h-50.5c-3.7 0-6.7-3-6.7-6.7v-50.5c0-3.7 3-6.7 6.7-6.7h50.5c3.7 0 6.7 3 6.7 6.7v50.5z"></path></g></symbol>\n <symbol viewBox="0 0 512 512" id="ion-gear-b"><path d="M448 294.4v-76.8h-42.8c-3.4-14.4-8.9-28-16.1-40.5l29.8-29.7-54.3-54.3-29.1 29.1c-12.6-7.7-26.4-13.5-41.1-17.3V64h-76.8v40.9c-14.7 3.8-28.5 9.7-41.1 17.3l-29.1-29.1-54.3 54.3 29.8 29.7c-7.2 12.5-12.6 26.1-16.1 40.5H64v76.8h44.1c3.8 13.7 9.5 26.6 16.7 38.6l-31.7 31.7 54.3 54.3 32.3-32.3c11.7 6.8 24.5 11.9 37.9 15.4v46h76.8v-46c13.5-3.5 26.2-8.6 37.9-15.4l32.3 32.3 54.3-54.3-31.6-31.7c7.2-11.9 12.9-24.8 16.7-38.6h44zm-192 15.4c-29.7 0-53.7-24.1-53.7-53.8s24-53.8 53.7-53.8 53.8 24.1 53.8 53.8-24.1 53.8-53.8 53.8z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-grid-view-outline"><path d="M448 192v-16H336V64h-16v112H192V64h-16v112H64v16h112v128H64v16h112v112h16V336h128v112h16V336h112v-16H336V192h112zM320 320H192V192h128v128z"></path></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-increase"><g transform="matrix(1,0,0,1,1024.0,1024.0)"><path d="M852.574,595.004 L852.574,507.837 L-852.574,507.837 L-852.574,595.004 L852.574,595.004 Z " /><path d="M852.574,224.232 L852.574,137.066 L-852.574,137.066 L-852.574,224.232 L852.574,224.232 Z " /><path d="M852.574,-134.971 L852.574,-222.138 L-852.574,-222.138 L-852.574,-134.971 L852.574,-134.971 Z " /><path d="M852.574,-505.743 L852.574,-592.909 L-852.574,-592.909 L-852.574,-505.743 L852.574,-505.743 Z " /></g></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-decrease"><g transform="matrix(1,0,0,1,1024.0,1024.0)"><path d="M509.832,595.004 L509.832,507.837 L-509.832,507.837 L-509.832,595.004 L509.832,595.004 Z " /><path d="M509.832,224.232 L509.832,137.066 L-509.832,137.066 L-509.832,224.232 L509.832,224.232 Z " /><path d="M509.832,-136.947 L509.832,-224.113 L-509.832,-224.113 L-509.832,-136.947 L509.832,-136.947 Z " /><path d="M509.832,-505.743 L509.832,-592.909 L-509.832,-592.909 L-509.832,-505.743 L509.832,-505.743 Z " /></g></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-strike">\n <g transform="matrix(1,0,0,1,1024.0,1024.0)">\n <path d="M298.298,-653.766 C292.151,-624.873 284.005,-605.663 273.862,-596.135 C263.719,-586.607 250.656,-581.842 234.673,-581.842 C220.535,-581.842 196.253,-589.526 161.828,-604.895 C87.4454,-637.475 17.0588,-653.766 -49.3321,-653.766 C-155.68,-653.766 -243.28,-621.339 -312.129,-556.485 C-380.979,-491.631 -415.404,-414.328 -415.404,-324.578 C-415.404,-272.94 -403.724,-225.606 -380.364,-182.575 C-357.005,-139.544 -322.733,-100.201 -277.551,-64.5467 C-232.368,-28.8923 -156.295,18.903 -49.3321,78.8392 C57.631,138.775 123.1,177.964 147.074,196.406 C182.729,223.455 209.008,252.654 225.913,284.005 C242.819,315.357 251.271,346.401 251.271,377.137 C251.271,432.463 228.987,480.412 184.419,520.984 C139.851,561.556 79.1465,581.842 2.30524,581.842 C-64.0856,581.842 -125.098,567.089 -180.731,537.582 C-236.364,508.075 -277.704,471.037 -304.753,426.469 C-331.801,381.901 -353.316,314.742 -369.299,224.991 L-403.417,224.991 L-403.417,653.766 L-369.299,653.766 C-364.996,624.873 -358.388,605.817 -349.474,596.596 C-340.561,587.375 -328.42,582.764 -313.051,582.764 C-297.068,582.764 -259.109,592.446 -199.173,611.81 C-139.236,631.174 -99.74,642.393 -80.6834,645.467 C-48.7174,651 -14.5998,653.766 21.6692,653.766 C137.239,653.766 231.753,619.495 305.214,550.952 C378.674,482.41 415.404,400.804 415.404,306.136 C415.404,256.343 403.878,208.701 380.826,163.211 C357.773,117.721 324.885,78.2244 282.161,44.7216 C239.438,11.2188 159.676,-36.8838 42.8774,-99.5863 C-100.355,-176.428 -191.027,-237.901 -229.141,-284.005 C-255.574,-315.357 -268.791,-350.089 -268.791,-388.202 C-268.791,-437.995 -247.89,-482.41 -206.088,-521.445 C-164.287,-560.48 -111.42,-579.998 -47.4879,-579.998 C9.06727,-579.998 63.7783,-565.552 116.645,-536.66 C169.512,-507.767 210.238,-468.732 238.823,-419.554 C267.408,-370.375 287.233,-304.292 298.298,-221.303 L332.415,-221.303 L332.415,-653.766 L298.298,-653.766 Z " fill="currentColor" fill-opacity="1.00" /><path d="M-530.954,-41.4477 L-530.954,41.4477 L530.954,41.4477 L530.954,-41.4477 L-530.954,-41.4477 Z " fill="currentColor" fill-opacity="1.00" /></g></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-undo"><path d="M447.9 368.2c0-16.8 3.6-83.1-48.7-135.7-35.2-35.4-80.3-53.4-143.3-56.2V96L64 224l192 128v-79.8c40 1.1 62.4 9.1 86.7 20 30.9 13.8 55.3 44 75.8 76.6l19.2 31.2H448c0-10.1-.1-22.9-.1-31.8z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-redo"><path d="M64 400h10.3l19.2-31.2c20.5-32.7 44.9-62.8 75.8-76.6 24.4-10.9 46.7-18.9 86.7-20V352l192-128L256 96v80.3c-63 2.8-108.1 20.7-143.3 56.2C60.4 285.2 64 351.5 64 368.2c.1 8.9 0 21.7 0 31.8z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-android-arrow-dropdown"><path d="M128 192l128 128 128-128z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-social-twitter"><path d="M492 109.5c-17.4 7.7-36 12.9-55.6 15.3 20-12 35.4-31 42.6-53.6-18.7 11.1-39.4 19.2-61.5 23.5C399.8 75.8 374.6 64 346.8 64c-53.5 0-96.8 43.4-96.8 96.9 0 7.6.8 15 2.5 22.1-80.5-4-151.9-42.6-199.6-101.3-8.3 14.3-13.1 31-13.1 48.7 0 33.6 17.2 63.3 43.2 80.7-16-.4-31-4.8-44-12.1v1.2c0 47 33.4 86.1 77.7 95-8.1 2.2-16.7 3.4-25.5 3.4-6.2 0-12.3-.6-18.2-1.8 12.3 38.5 48.1 66.5 90.5 67.3-33.1 26-74.9 41.5-120.3 41.5-7.8 0-15.5-.5-23.1-1.4C62.8 432 113.7 448 168.3 448 346.6 448 444 300.3 444 172.2c0-4.2-.1-8.4-.3-12.5C462.6 146 479 129 492 109.5z"></path></symbol>\n <symbol viewBox="0 0 24 24" id="icon-zoom-in" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <circle cx="10" cy="10" r="7"></circle>\n <line x1="7" y1="10" x2="13" y2="10"></line>\n <line x1="10" y1="7" x2="10" y2="13"></line>\n <line x1="21" y1="21" x2="15" y2="15"></line>\n </symbol>\n <symbol viewBox="0 0 512 512" id="ion-android-contract"><path d="M64 371.2h76.795V448H192V320H64v51.2zm76.795-230.4H64V192h128V64h-51.205v76.8zM320 448h51.2v-76.8H448V320H320v128zm51.2-307.2V64H320v128h128v-51.2h-76.8z"></path></symbol>\n \n <symbol viewBox="0 0 24 24" id="icon-lock-off" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"/>\n <line x1="3" y1="3" x2="21" y2="21" />\n <path d="M19 19a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-6a2 2 0 0 1 2 -2h4m4 0h2a2 2 0 0 1 2 2v2" />\n <circle cx="12" cy="16" r="1" />\n <path d="M8 11v-3m.712 -3.278a4 4 0 0 1 7.288 2.278v4" />\n </symbol>\n <symbol viewBox="0 0 24 24" id="icon-lock" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"/>\n <rect x="5" y="11" width="14" height="10" rx="2" />\n <circle cx="12" cy="16" r="1" />\n <path d="M8 11v-4a4 4 0 0 1 8 0v4" />\n </symbol>\n <symbol viewBox="0 0 24 24" id="icon-code" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z"/>\n <polyline points="7 8 3 12 7 16" />\n <polyline points="17 8 21 12 17 16" />\n <line x1="14" y1="4" x2="10" y2="20" />\n </symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-cloud-upload-outline">\n <path d="M193.3 260.4l-11.6-11.6 74.5-74.3 74.5 74.3-11.7 11.6-54.6-54.6v241.8h-16.5V205.8z"/>\n <path d="M399.3 183.6c0-1.2.2-2.4.2-3.6 0-64.3-52.8-116.4-116.8-116.4-46.1 0-85.8 27.1-104.4 66.3-8.1-4.1-17.1-6.4-26.8-6.4-29.6 0-54.1 23.6-58.9 52C57.4 187.6 32 222.2 32 261.8c0 49.7 40.1 90.2 89.6 90.2H213v-16h-90.6c-40.9 0-74.2-33.5-74.2-74.6 0-31.8 20.2-61.2 50.2-71.6l8.4-2.9 1.5-8.8c3.6-21.6 22.1-39.3 43.9-39.3 6.9 0 13.7 1.6 19.9 4.8l13.5 6.8 6.5-13.7c16.6-34.9 52.1-57.4 90.4-57.4 55.3 0 100.9 43.3 100.9 98.9 0 13.3-.2 20.3-.2 20.3l15.2.1c36.6.5 65.6 33.4 65.6 70.3 0 36.8-29.8 66.9-66.5 67.1H297v16h101c45 0 82-37.3 82-82.8s-35.5-85.5-80.7-85.6z"/>\n </symbol>\n <symbol viewBox="0 0 512 512" id="ion-volume-medium">\n <path d="M270 407.7V104.4L175.3 192H71v128h104.3zm56.3-52.1c20.5-27.8 32.8-62.3 32.8-99.6 0-37.4-12.3-71.8-32.8-99.6l-20.4 15.3c17.4 23.6 27.8 52.7 27.8 84.3 0 31.6-10.4 60.7-27.8 84.3l20.4 15.3zm66.5 46c30-40.7 48-91 48-145.6s-18-104.9-48-145.6l-20.4 15.3c26.9 36.4 43 81.4 43 130.3 0 48.9-16.1 93.8-43 130.3l20.4 15.3z"/>\n </symbol>\n\n <symbol id="icon-list-search" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <path d="M15 15m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"></path>\n <path d="M18.5 18.5l2.5 2.5"></path>\n <path d="M4 6h16"></path>\n <path d="M4 12h4"></path>\n <path d="M4 18h4"></path>\n </symbol>\n <symbol id="icon-folder" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <path d="M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2"></path>\n </symbol>\n <symbol id="icon-folder-media" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <path d="M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2"></path>\n\n <path d="M12 20h-5a3 3 0 0 1 -3 -3v-10a3 3 0 0 1 3 -3h10a3 3 0 0 1 3 3v5"></path>\n <path d="M4 15l4 -4c.928 -.893 2.072 -.893 3 0l4 4"></path>\n <path d="M14 14l1 -1c.617 -.593 1.328 -.793 2.009 -.598"></path>\n </symbol>\n\n <symbol id="icon-reload" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <path d="M19.933 13.041a8 8 0 1 1 -9.925 -8.788c3.899 -1.002 7.935 1.007 9.425 4.747"></path>\n <path d="M20 4v5h-5"></path>\n </symbol>\n <symbol id="icon-devices" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <rect x="13" y="8" width="8" height="12" rx="1"></rect>\n <path d="M18 8v-3a1 1 0 0 0 -1 -1h-13a1 1 0 0 0 -1 1v12a1 1 0 0 0 1 1h9"></path>\n <line x1="16" y1="9" x2="18" y2="9"></line>\n </symbol> \n <symbol id="icon-device-desktop" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <rect x="3" y="4" width="18" height="12" rx="1"></rect>\n <line x1="7" y1="20" x2="17" y2="20"></line>\n <line x1="9" y1="16" x2="9" y2="20"></line>\n <line x1="15" y1="16" x2="15" y2="20"></line>\n </symbol>\n <symbol id="icon-device-mobile" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <rect x="6" y="3" width="12" height="18" rx="2"></rect>\n <line x1="11" y1="4" x2="13" y2="4"></line>\n <line x1="12" y1="17" x2="12" y2="17.01"></line>\n </symbol>\n <symbol id="icon-device-laptop" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <line x1="3" y1="19" x2="21" y2="19"></line>\n <rect x="5" y="6" width="14" height="10" rx="1"></rect>\n </symbol>\n <symbol id="icon-device-tablet" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <rect x="5" y="3" width="14" height="18" rx="1"></rect>\n <circle cx="12" cy="17" r="1"></circle>\n </symbol>\n\n <symbol id="icon-eye" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <path d="M12 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0m13 0c-2.667 4.667 -6 7 -10 7s-7.333 -2.333 -10 -7c2.667 -4.667 6 -7 10 -7s7.333 2.333 10 7"></path>\n </symbol>\n <symbol id="icon-eye-off" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <path d="M9.88 9.878a3 3 0 1 0 4.243 4.242m.581 -3.42a3.012 3.012 0 0 0 -1.45 -1.426m-3.877 -3.913a9.469 9.469 0 0 1 2.623 -.361c4 0 7.333 2.333 10 7c-.778 1.362 -1.613 2.524 -2.504 3.489m-2.138 1.859c-1.629 1.101 -3.415 1.652 -5.358 1.652c-4 0 -7.333 -2.333 -10 -7c1.374 -2.404 2.924 -4.189 4.652 -5.354m-3.652 -3.646l18 18"></path>\n </symbol>\n\n <symbol id="icon-download" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <path d="M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2"></path>\n <path d="M7 11l5 5l5 -5"></path>\n <path d="M12 4l0 12"></path>\n </symbol>\n\n <symbol id="icon-message-search" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <path d="M8 9h8"></path>\n <path d="M8 13h5"></path>\n <path d="M12 21l-.5 -.5l-2.5 -2.5h-3a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v4.5"></path>\n <path d="M18 18m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"></path>\n <path d="M20.2 20.2l1.8 1.8"></path>\n </symbol>\n \n </defs>\n </svg>'),this.preferences=new Hm(this),(t=>{const e=t.util,i=t.builderStuff,n=new Ti(t),o=new Ei(t),s=t.dom;let r="";t.opts.rowHtmlEditor&&(r=`<button tabindex="-1" title="${e.out("HTML")}" class="row-html">\n <svg class="is-icon-flex" style="margin-right:-3px;width:12px;height:12px;"><use xlink:href="#ion-ios-arrow-left"></use></svg><svg class="is-icon-flex" style="margin-left:-2px;width:12px;height:12px;"><use xlink:href="#ion-ios-arrow-right"></use></svg>\n </button>`);let l="";t.opts.columnHtmlEditor&&(l=`<button tabindex="-1" title="${e.out("HTML")}" class="cell-html">\n <svg class="is-icon-flex" style="margin-right:-3px;width:12px;height:12px;"><use xlink:href="#ion-ios-arrow-left"></use></svg><svg class="is-icon-flex" style="margin-left:-2px;width:12px;height:12px;"><use xlink:href="#ion-ios-arrow-right"></use></svg>\n </button>`);const a=`<div class="is-modal is-modal-content grideditor" tabindex="-1" role="dialog" aria-modal="true" aria-hidden="true">\n <div class="is-modal-bar is-draggable">\n <button class="is-modal-close" tabindex="-1" title="${e.out("Close")}">&#10005;</button>\n </div>\n <div style="padding:13px 0 5px 18px;font-size:10px;text-transform:uppercase;letter-spacing:1px;">${e.out("Row")}</div>\n <div style="display:flex;flex-flow:wrap;">\n <button tabindex="-1" title="${e.out("Add")}" class="row-add"><svg class="is-icon-flex" style="width:19px;height:19px;"><use xlink:href="#ion-ios-plus-empty"></use></svg></button>\n <button tabindex="-1" title="${e.out("Duplicate")}" class="row-duplicate" style="display: block;"><svg class="is-icon-flex" style="width:12px;height:12px;"><use xlink:href="#ion-ios-photos-outline"></use></svg></button>\n <button tabindex="-1" title="${e.out("Move Up")}" class="row-up" style="display: block;"><svg class="is-icon-flex" style="width:15px;height:15px;"><use xlink:href="#ion-ios-arrow-thin-up"></use></svg></button>\n <button tabindex="-1" title="${e.out("Move Down")}" class="row-down" style="display: block;"><svg class="is-icon-flex" style="width:15px;height:15px;"><use xlink:href="#ion-ios-arrow-thin-down"></use></svg></button>\n ${r}\n <button tabindex="-1" title="${e.out("Delete")}" class="row-remove"><svg class="is-icon-flex" style="width:20px;height:20px;"><use xlink:href="#ion-ios-close-empty"></use></svg></button>\n </div>\n <div style="padding:8px 0 5px 18px;font-size:11px;text-transform:uppercase;letter-spacing:1px;">${e.out("Column")}</div>\n <div style="display:flex;flex-flow:wrap;">\n <button tabindex="-1" title="${e.out("Add")}" class="cell-add"><svg class="is-icon-flex" style="width:19px;height:19px;"><use xlink:href="#ion-ios-plus-empty"></use></svg></button>\n <button tabindex="-1" title="${e.out("Duplicate")}" class="cell-duplicate"><svg class="is-icon-flex" style="width:12px;height:12px;"><use xlink:href="#ion-ios-photos-outline"></use></svg></button>\n <button tabindex="-1" title="${e.out("Move Up")}" class="cell-up"><svg class="is-icon-flex" style="width:15px;height:15px;"><use xlink:href="#ion-ios-arrow-thin-up"></use></svg></button>\n <button tabindex="-1" title="${e.out("Move Down")}" class="cell-down"><svg class="is-icon-flex" style="width:15px;height:15px;"><use xlink:href="#ion-ios-arrow-thin-down"></use></svg></button>\n <button tabindex="-1" title="${e.out("Move Left")}" class="cell-prev"><svg class="is-icon-flex" style="width:15px;height:15px;"><use xlink:href="#ion-ios-arrow-thin-left"></use></svg></button>\n <button tabindex="-1" title="${e.out("Move Right")}" class="cell-next"><svg class="is-icon-flex" style="width:15px;height:15px;"><use xlink:href="#ion-ios-arrow-thin-right"></use></svg></button>\n <button tabindex="-1" title="${e.out("Increase")}" class="cell-increase"><svg class="is-icon-flex" style="width:13px;height:13px;"><use xlink:href="#icon-increase"></use></svg></button>\n <button tabindex="-1" title="${e.out("Decrease")}" class="cell-decrease"><svg class="is-icon-flex" style="width:13px;height:13px;"><use xlink:href="#icon-decrease"></use></svg></button>\n ${l}\n <button tabindex="-1" title="${e.out("Delete")}" class="cell-remove"><svg class="is-icon-flex" style="width:20px;height:20px;"><use xlink:href="#ion-ios-close-empty"></use></svg></button>\n <button tabindex="-1" title="${e.out("Lock")}" class="cell-locking"><svg class="is-icon-flex" style="width:12px;height:12px;"><use xlink:href="#icon-lock"></use></svg></button>\n <button tabindex="-1" title="${e.out("Column Settings")}" class="cell-settings"><svg class="is-icon-flex" style="width:12px;height:12px;"><use xlink:href="#ion-ios-gear"></use></svg></button>\n \n <div class="is-separator">\n <button tabindex="-1" title="${e.out("Outline")}" class="grid-outline"><svg class="is-icon-flex" style="width:12px;height:12px;"><use xlink:href="#ion-ios-grid-view-outline"></use></svg></button>\n \x3c!--<button tabindex="-1" title="${e.out("Element Tool")}" class="cell-elmtool"><svg class="is-icon-flex" style="width:12px;height:12px;"><use xlink:href="#ion-ios-gear"></use></svg></button>--\x3e\n </div>\n </div>\n </div>`;s.appendHtml(i,a),new Pi({selector:".is-draggable"});const d=document.querySelector(".grideditor");document.addEventListener("click",(t=>{var e=(t=t||window.event).target||t.srcElement;if(s.hasClass(d,"active")){let t=s.parentsHasClass(e,"is-builder"),i=s.parentsHasClass(e,"grideditor"),n=s.parentsHasClass(e,"is-modal"),o=s.parentsHasClass(e,"is-pop"),r=s.parentsHasClass(e,"rte-grideditor")||s.hasClass(e,"rte-grideditor");if(t||i||n||o||r)return void(d.style.display="");d.style.display="none"}}),!1);let c=d.querySelector(".is-modal-close");s.addEventListener(c,"click",(()=>{s.removeClass(d,"active");const e=t.doc.querySelectorAll(t.opts.container);Array.prototype.forEach.call(e,(t=>{t.removeAttribute("grideditor")}))}));const u=d.querySelector(".grid-outline");s.addEventListener(u,"click",(()=>{const e=t.doc.querySelectorAll(t.opts.container);Array.prototype.forEach.call(e,(t=>{t.hasAttribute("gridoutline")?(t.removeAttribute("gridoutline"),s.removeClass(u,"on")):(t.setAttribute("gridoutline",""),s.addClass(u,"on"))}))}));const h=qi(t),p=d.querySelector(".cell-add");s.addEventListener(p,"click",(()=>{h.querySelector(".is-pop-tabs").style.display="flex";const t=p.getBoundingClientRect().top+window.pageYOffset,i=p.getBoundingClientRect().left+window.pageXOffset;e.showPop(h,!1,p);const n=h.offsetWidth;h.style.top=t+"px",h.style.left=i-n-8+"px",s.removeClass(h,"arrow-bottom"),s.removeClass(h,"arrow-left"),s.removeClass(h,"arrow-top"),s.removeClass(h,"center"),s.removeClass(h,"left"),s.addClass(h,"arrow-right"),s.addClass(h,"right"),"left"===h.querySelector(".active").getAttribute("data-value")?h.setAttribute("data-mode","cell-left"):h.setAttribute("data-mode","cell-right")})),c=d.querySelector(".cell-prev"),s.addEventListener(c,"click",(()=>{n.moveColumnPrevious(),e.clearControls()})),c=d.querySelector(".cell-next"),s.addEventListener(c,"click",(()=>{n.moveColumnNext(),e.clearControls()})),c=d.querySelector(".cell-increase"),s.addEventListener(c,"click",(()=>{n.increaseColumn(),e.clearControls()})),c=d.querySelector(".cell-decrease"),s.addEventListener(c,"click",(()=>{n.decreaseColumn(),e.clearControls()})),c=d.querySelector(".cell-up"),s.addEventListener(c,"click",(()=>{n.moveColumnUp(),e.clearControls()})),c=d.querySelector(".cell-down"),s.addEventListener(c,"click",(()=>{n.moveColumnDown(),e.clearControls()})),c=d.querySelector(".cell-duplicate"),s.addEventListener(c,"click",(()=>{n.duplicateColumn(),e.clearControls()})),c=d.querySelector(".cell-remove"),s.addEventListener(c,"click",(()=>{n.removeColumn(),e.clearControls()}));const g=d.querySelector(".cell-html");g&&s.addEventListener(g,"click",(()=>{e.cellSelected()&&o.view("cell",!1,g)}));const m=d.querySelector(".cell-settings");m&&s.addEventListener(m,"click",(()=>{const i=e.cellSelected();if(!i)return;t.colTool.readCellStyles(i),e.saveSelection();const n=document.querySelector(".is-modal.columnsettings");e.showModal(n,!1,(()=>{"flex"===t.builderStuff.querySelector(".is-rte-tool").style.display&&(e.restoreSelection(),m.removeAttribute("data-focus"),m.focus())})),m.setAttribute("data-focus",!0)}));const f=d.querySelector(".cell-locking");f&&s.addEventListener(f,"click",(i=>{let n=e.cellSelected();n&&(n.hasAttribute("data-noedit")?(n.removeAttribute("data-noedit"),n.contentEditable=!0,s.removeClass(f,"on")):(n.setAttribute("data-noedit",""),n.contentEditable=!1,s.addClass(f,"on"),e.clearActiveElement(!0)),t.colTool.showHideLockIndicator(n),t.element.applyBehavior(n),i.preventDefault())}));const b=d.querySelector(".row-add");s.addEventListener(b,"click",(()=>{h.querySelector(".is-pop-tabs").style.display="none";const t=b.getBoundingClientRect().top+window.pageYOffset,i=b.getBoundingClientRect().left+window.pageXOffset;e.showPop(h,!1,b);const n=h.offsetWidth;h.style.top=t+"px",h.style.left=i-n-8+"px",s.removeClass(h,"arrow-bottom"),s.removeClass(h,"arrow-left"),s.removeClass(h,"arrow-top"),s.removeClass(h,"center"),s.removeClass(h,"left"),s.addClass(h,"arrow-right"),s.addClass(h,"right"),h.setAttribute("data-mode","row")})),c=d.querySelector(".row-up"),s.addEventListener(c,"click",(()=>{n.moveRowUp(),e.clearControls()})),c=d.querySelector(".row-down"),s.addEventListener(c,"click",(()=>{n.moveRowDown(),e.clearControls()})),c=d.querySelector(".row-duplicate"),s.addEventListener(c,"click",(()=>{n.duplicateRow(),e.clearControls()})),c=d.querySelector(".row-remove"),s.addEventListener(c,"click",(()=>{n.removeRow(),e.clearControls()}));const v=d.querySelector(".row-html");v&&s.addEventListener(v,"click",(()=>{e.cellSelected()&&o.view("row",!1,v)}))})(this),this.preview=!1;const u=this.doc.querySelectorAll(this.opts.container);Array.prototype.forEach.call(u,(t=>{this.dom.hasClass(t,"preview")&&(this.preview=!0)})),this.preview||this.opts.snippetJSON.snippets.length>0&&Vo(this),this.colTool=new am(this),this._rowTool=new rm(this),this.livePreview=new sf(this),this.mediaPicker=new nf(this);var h=this.opts.onChange;if(this.opts.onChange=()=>{var t=h.apply(this,arguments);return this.activeCol&&this.util.repositionColumnTool(),this.elmTool.repositionElementTool(!0),this.element.image.imageTool.style.display="",this.element.module.moduleTool.style.display="",this.colTool.lockIndicator.style.display="",t},this.elmTool=new Pm(this),this.element=new Pg(this),this.rte=new jm(this),this.tooltip=new Vm(this),this.lightbox=new Xm(this),this.preview||this.applyBehavior(),!this.preview)if(this.opts.plugins.length>0)this.loadPlugins();else if(void 0===this.opts.scriptPath&&""===this.opts.pluginPath);else if(!this.opts.disableConfig){let t=this.opts.scriptPath+"config.js";""!==this.opts.pluginPath&&(t=this.opts.pluginPath+"config.js"),this.loadScript(t).then((()=>{this.opts.plugins.length>0&&this.loadPlugins()}),(()=>{console.log("Fail to load config")}))}this.tabs=new Qm,this.colorPicker=new Fg({lang:this.opts.lang,colors:this.opts.colors}),this.colorClassPicker=new Um({lang:this.opts.lang}),this.ShortcutInfo=new Zm(this),this.opts.isContentBox||null!==localStorage.getItem("_dictation")&&localStorage.removeItem("_dictation"),this.dictation=new cf({},this),this.lib=new rf(this),this.similarity=new pf(this),this.iframe&&(this.win.addEventListener("scroll",this.doWindowScroll=()=>{this.util.hidePops()}),this.win.addEventListener("resize",this.doWindowResize=()=>{this.util.clearActiveCell(),this.util.clearControls()})),document.addEventListener("click",this.doDocumentClick=t=>{let e,i=(t=t||window.event).target||t.srcElement;if(!i)return;i.parentNode&&(e=this.dom.hasClass(i.parentNode,"is-builder"));let n=this.dom.hasClass(i,"is-builder"),o=!1,s=!1,r=!1,a=!1,d=!1,c=!1,u=!1,h=!1,p=!1,g=!1,m=!1,f=!1,b=!1,v=!1,y=!1,x=i;for(;x&&x.tagName&&"BODY"!==x.tagName&&"HTML"!==x.tagName;){if(this.dom.hasClass(x,"is-builder")&&(o=!0),this.dom.hasClass(x,"is-subblock")&&(v=!0),this.dom.hasClass(x,"is-modal")&&(s=!0),(this.dom.hasClass(x,"is-side")||this.dom.hasClass(x,"is-sidebar"))&&(r=!0),this.dom.hasClass(x,"is-pop")&&(a=!0),this.dom.hasClass(x,"is-tool")&&(d=!0),(this.dom.hasClass(x,"is-rte-tool")||this.dom.hasClass(x,"is-elementrte-tool"))&&(c=!0),this.dom.hasClass(x,"is-rte-pop")&&(u=!0),this.dom.hasClass(x,"row-add-initial")&&(h=!0),(this.dom.hasClass(x,"sl-wrapper")||this.dom.hasClass(x,"sl-overlay")||this.dom.hasClass(x,"sl-close"))&&(p=!0),(this.dom.hasClass(x,"is-selectbox")||this.dom.hasClass(x,"is-selectbox-options"))&&(g=!0),this.opts.specialElementClasses)for(let t=0;t<this.opts.specialElementClasses.length;t++)this.dom.hasClass(x,this.opts.specialElementClasses[t])&&(y=!0);"divImageTool"===x.id&&(m=!0),"divImageResizer"===x.id&&(f=!0),this.preserveSelection&&(b=!0),x=x.parentNode}if(!g){let t=document.querySelectorAll(".is-selectbox-options");Array.prototype.forEach.call(t,(t=>{t.style.display="none"}))}let w=!1,S=document.querySelector("#divImageResizer");if(S&&"1"===S.getAttribute("data-resized")&&(w=!0),!w){if(!(s||p||m||f||"img"===i.tagName.toLowerCase())){document.querySelector("#divImageTool").style.display="";let t=document.querySelector("#divImageResizer");t.style.display="none",t.style.top="-10px",t.style.left="-10px",t.style.width="1px",t.style.height="1px",this.moveable&&(this.moveable.updateRect(),document.querySelector(".moveable-control-box").style.display="none")}if(!(o||v||s||r||a||d||c||u||h||p||b||y)||e&&!h||n){if(!this.dom.getSelected()){document.querySelector(".is-modal.active:not(.is-modal-content)")||(l.clearActiveCell(),l.clearControls(),"auto"!==this.toolbarDisplay&&this.rte.showDefaultToolbar())}this.element.hyperlink.buttonEditor.hide()}if(this.activeLinkButton||this.activeButton||i.closest(".buttoneditor")||i.closest(".link-button-edit")||i.closest(".is-modal")||this.element.hyperlink.buttonEditor.hide(),!a&&!this.dom.parentsHasId(i,"_cbhtml")){const t=document.querySelectorAll(".is-pop");Array.prototype.forEach.call(t,(t=>{this.dom.parentsHasId(t,"_cbhtml")||(t.style.display="")}))}}}),this.iframe&&this.doc.addEventListener("click",this.doDocumentClick),this.doc.addEventListener("mousedown",this.doDocumentMousedown=t=>{var e=(t=t||window.event).target||t.srcElement;this.dom.parentsHasClass(e,"row-handle")&&l.clearControls()}),document.addEventListener("keydown",this.doDocumentKeydown=t=>{90===t.which&&(t.ctrlKey||t.metaKey)&&(t.shiftKey?this.uo.doRedo():t.altKey||this.uo.doUndo()),89===t.which&&t.ctrlKey&&(t.altKey||this.uo.doRedo());(t.ctrlKey||t.metaKey)&&191===t.which&&this.ShortcutInfo.open()}),this.iframe&&this.doc.addEventListener("keydown",this.doDocumentKeydown),document.body.addEventListener("mscontrolselect",(function(t){t.preventDefault()})),window._cb=this,window.applyLargerImage=this.applyLargerImage.bind(this),window.returnUrl=this.returnUrl.bind(this),window.selectFile=this.selectFile.bind(this),window.selectImage=this.selectImage.bind(this),window.selectVideo=this.selectVideo.bind(this),window.selectAsset=this.selectAsset.bind(this),window.assetType=this.assetType.bind(this),window.hideModal=this.hideModal.bind(this),setTimeout((()=>{(null!=localStorage.getItem("_livepreview")||this.opts.livePreviewOpen)&&this.openPreview()}),300)}static run(t={}){return new gf(t)}setZoom(){if(""!==this.opts.page){const t=this.doc.querySelector(this.opts.page);t.style.transform=`scale(${this.opts.zoom})`,this.setZoomOnControl(t)}else{this.doc.querySelectorAll(this.opts.container).forEach((t=>{let e=!1;t.style.transform||(e=!0),e&&(t.style.transition="none"),t.style.transform=`scale(${this.opts.zoom})`,e&&setTimeout((()=>{t.style.transition=""}),300),this.setZoomOnControl(t)}))}}backwardCompatible(){this.builderStuff.querySelector('style[data-rel="css-new"]')||this.builderStuff.insertAdjacentHTML("afterbegin",'\n <style data-rel="css-new">\n \n .row-active .is-col-tool {\n display: flex;\n }\n .is-builder[rowoutline] .row-active .is-col-tool {\n display: none;\n }\n .is-builder[hidecolumntool] .row-active .is-col-tool {\n display: none;\n }\n\n .is-tool.is-col-tool {\n flex-direction: row;\n margin-top: 0px;\n margin-left: -1px;\n }\n .is-tool.is-col-tool button {\n width: 25px;\n height: 25px;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .is-tool.is-col-tool .cell-add {\n background: #0fcc52;\n }\n .is-tool.is-col-tool .cell-more {\n background: rgba(216, 200, 6, 0.9);\n }\n .is-tool.is-col-tool .cell-remove {\n background: rgba(255, 85, 4, 0.9);\n }\n .is-tool.is-col-tool svg {\n width: 23px;\n height: 23px;\n fill: #fff !important;\n }\n .is-tool.is-col-tool .cell-more svg {\n width: 14px;\n height: 14px;\n }\n\n\n .is-builder[gray] .is-tool.is-col-tool {\n background: rgba(243, 243, 243, 0.9);\n flex-direction: row;\n top:-3px;\n margin-top: 0px;\n margin-left: -1px;\n }\n .is-builder[gray] .is-tool.is-col-tool button {\n width: 27px;\n height: 27px;\n }\n .is-builder[gray] .is-tool.is-col-tool .cell-add {\n background: transparent;\n }\n .is-builder[gray] .is-tool.is-col-tool .cell-more {\n background: transparent;\n }\n .is-builder[gray] .is-tool.is-col-tool .cell-remove {\n background: transparent;\n }\n .is-builder[gray] .is-tool.is-col-tool svg {\n width: 18px;\n height: 18px;\n fill: #000 !important;\n }\n .is-builder[gray] .is-tool.is-col-tool .cell-more svg {\n width: 12px;\n height: 12px;\n }\n\n\n .is-col-tool svg {\n display: initial !important;\n }\n \n \n </style>\n ')}setZoomOnControl(t){t.querySelectorAll(".is-row-tool").forEach((t=>{t.style.transform=`scale(${1/this.opts.zoom})`,t.style.transformOrigin="top"}));t.querySelectorAll(".is-col-tool").forEach((t=>{t.style.transform=`scale(${1/this.opts.zoom})`,t.style.transformOrigin="top left",t.style.marginTop=-27/this.opts.zoom+"px"}));t.querySelectorAll(".is-rowadd-tool button").forEach((t=>{t.style.transform=`scale(${1/this.opts.zoom})`}))}setZoomOnArea(){if(""!==this.opts.page){this.doc.querySelector(this.opts.page).style.transform=`scale(${this.opts.zoom})`}else{this.doc.querySelectorAll(this.opts.container).forEach((t=>{let e=!1;t.style.transform||(e=!0),e&&(t.style.transition="none"),t.style.transform=`scale(${this.opts.zoom})`,e&&setTimeout((()=>{t.style.transition=""}),300)}))}}applyBehavior(){null!==localStorage.getItem("_zoom")&&(this.opts.zoom=localStorage.getItem("_zoom")),this.rte.rteZoomSlider.value=100*this.opts.zoom;const t=this.doc.querySelectorAll(this.opts.container);Array.prototype.forEach.call(t,(t=>{this.applyBehaviorOn(t),this.contentReformatOn(t)})),this.opts.onRender(),this.setZoomOnArea()}contentReformatOn(t){this.opts.useCssClasses&&this.dom.contentReformat(t,this.opts.cssClasses)}applyBehaviorOn(t){const e=this.util;if(this.opts.absolutePath){let e=t.querySelectorAll("a");Array.prototype.forEach.call(e,(t=>{let e=t.href;t.setAttribute("href",e)}));let i=t.querySelectorAll("img");Array.prototype.forEach.call(i,(t=>{let e=t.src;t.setAttribute("src",e)}))}this.dom.addClass(t,"is-builder"),this.preferences.initBuilder(t);if(this.dom.elementChildren(t).forEach((t=>{if(this.dom.hasClass(t,"row-add-initial"))return;(t.style.marginLeft||t.style.marginRight)&&(t.style.border="none"),this._rowTool.render(t);new lm(this).render(t);this.dom.elementChildren(t).forEach((t=>{if(this.dom.hasClass(t,"is-row-tool")||this.dom.hasClass(t,"is-col-tool")||this.dom.hasClass(t,"is-rowadd-tool"))return;"readonly"===t.getAttribute("data-mode")&&(t.setAttribute("data-noedit",""),t.removeAttribute("data-mode")),"readonly-protected"===t.getAttribute("data-mode")&&(t.setAttribute("data-protected",""),t.removeAttribute("data-mode"));let e=!1;t.hasAttribute("data-noedit")&&(e=!0);let i=!1;t.hasAttribute("data-protected")&&(i=!0);let n=!1;if(t.hasAttribute("data-html")&&(n=!0),!n&&!e&&!i){const e=t.innerText.trim();(t.querySelectorAll("p,h1,h2,h3,h4,h5,h6,table,ul,ol,pre,blockquote,code,figcaption,label,legend,button,a,span").length>0||""!==e)&&(t.contentEditable=!0)}this.element.applyBehavior(t),t.getAttribute("data-click")||(t.addEventListener("click",this.handleCellClick.bind(this,t)),t.addEventListener("keydown",this.handleCellKeypress.bind(this)),t.addEventListener("keydown",this.handleCellKeydown.bind(this,t)),t.addEventListener("keyup",this.handleCellKeyup.bind(this,t)),t.addEventListener("paste",this.handleCellPaste.bind(this)),t.setAttribute("data-click",!0))}))})),!t.getAttribute("data-sort")&&!t.hasAttribute("nogrid")){let i=new Co(t,{scroll:!0,group:"shared",animation:300,handle:".row-handle",sort:!0,onChoose:()=>{let t;if(""!==this.opts.page){const e=this.doc.querySelector(this.opts.page);t=this.dom.getScale(e)}else{const e=this.doc.querySelector(".is-builder");t=this.dom.getScale(e)}const e=`\n <style id="css-scale">\n .sortable-drag::before {\n transform: scale(${t});\n }\n </style>\n `;if(this.iframe){const t=this.contentStuff.querySelector("#css-scale");t&&t.parentNode.removeChild(t),this.contentStuff.insertAdjacentHTML("afterbegin",e)}else{const t=this.builderStuff.querySelector("#css-scale");t&&t.parentNode.removeChild(t),this.builderStuff.insertAdjacentHTML("afterbegin",e)}this.sectionDropSetup()},onStart:()=>{this.uo.saveForUndo(),this.elmTool.hide()},onEnd:()=>{this.util.checkEmpty(),this.sortableOnPage&&this.sortableOnPage.destroy()},onAdd:i=>{var n=i.item;if(n.getAttribute("data-id")){let i=n.getAttribute("data-id");const g=this.opts.snippetJSON.snippets.filter((t=>t.id+""===i&&t));var o,s=g[0].html,r=g[0].noedit;o=-1===s.indexOf('"row'),this.opts.emailMode&&(o=!1);var l=this.opts.row,a=this.opts.cols;if(""!==l&&12===a.length&&(s=(s=(s=(s=(s=(s=(s=(s=(s=(s=(s=(s=s.replace(new RegExp("row clearfix","g"),"row")).replace(new RegExp('"row',"g"),'"'+l)).replace(new RegExp("column full","g"),a[11])).replace(new RegExp("column half","g"),a[5])).replace(new RegExp("column third","g"),a[3])).replace(new RegExp("column fourth","g"),a[2])).replace(new RegExp("column fifth","g"),a[1])).replace(new RegExp("column sixth","g"),a[1])).replace(new RegExp("column two-third","g"),a[7])).replace(new RegExp("column two-fourth","g"),a[8])).replace(new RegExp("column two-fifth","g"),a[9])).replace(new RegExp("column two-sixth","g"),a[9])),s=s.replace(/{id}/g,e.makeId()),this.opts.onAdd&&(s=this.opts.onAdd(s)),this.opts.snippetPathReplace.length>0&&""!==this.opts.snippetPathReplace[0]){var d=new RegExp(this.opts.snippetPathReplace[0],"g");s=s.replace(d,this.opts.snippetPathReplace[1]);var c=this.opts.snippetPathReplace[0].replace(/\//g,"%2F"),u=this.opts.snippetPathReplace[1].replace(/\//g,"%2F"),h=new RegExp(c,"g");s=s.replace(h,u)}if(o)s=`<div class="${this.opts.row}"><div class="${this.opts.cols[this.opts.cols.length-1]}"${r?" data-noedit":""}>${s}</div></div>`,n.removeAttribute("draggable"),this.dom.removeClass(n,"snippet-item"),n.outerHTML=s;else{let t=this.dom.createElement("div");t.innerHTML=s;let i=t.querySelectorAll("[data-html]");Array.prototype.forEach.call(i,(t=>{s=(s=(s=decodeURIComponent(t.getAttribute("data-html"))).replace(/{id}/g,e.makeId())).replace(/<script>/g,""+(this.nonce?`<script nonce="${this.nonce}">`:"<script>"));for(var i=1;i<=20;i++)s=s.replace("[%HTML"+i+"%]",void 0===t.getAttribute("data-html-"+i)?"":decodeURIComponent(t.getAttribute("data-html-"+i)));t.innerHTML=s})),s=t.innerHTML,n.removeAttribute("draggable"),this.dom.removeClass(n,"snippet-item"),n.innerHTML="";var p=document.createRange();p.setStart(n,0),n.appendChild(p.createContextualFragment(s)),n.outerHTML=n.innerHTML}this.applyBehaviorOn(t),this.opts.onChange(),this.opts.onRender(),this.elmTool.hide()}}});this.sortableObjects.push(i),t.setAttribute("data-sort",!0)}const i=t.querySelectorAll('a[role="button"]');Array.prototype.forEach.call(i,(e=>{e.parentNode&&e.parentNode.parentNode&&e.parentNode.parentNode.parentNode===t&&(e.outerHTML=`\n <div style="white-space: nowrap;">\n ${e.outerHTML}\n </div>\n `)}));const n=t.querySelectorAll(".is-subblock");Array.prototype.forEach.call(n,(t=>{t.contentEditable=!0})),this.util.checkEmptyOn(t),this.setZoomOnControl(t)}html(t){const e=this.util,i=new Ei(this);if(t);else{const i=this.doc.querySelectorAll(this.opts.container);if(i.length>1){const n=e.cellSelected();t=n?n.parentNode.parentNode:i[0]}else t=i[0];if(""!==this.opts.page){const e=this.doc.querySelector(this.opts.page);e&&(t=e)}}this.cleanHtmlFormatting=!0;let n=i.readHtml(t);return this.cleanHtmlFormatting=!1,n}viewHtmlNormal(){new Ei(this).viewHtmlExternal()}readHtml(t,e,i,n){return new Ei(this).readHtml(t,e,i,n)}fromViewToActual(t){return new Ei(this).fromViewToActual(t)}colorpicker(t,e){return new Fg({onPick:t,color:e,colors:this.opts.colors,animateModal:this.opts.animateModal,elementToAnimate:this.opts.container,lang:this.opts.lang})}gradientpicker(){return new em({gradientcolors:this.opts.gradientcolors,colors:this.opts.colors,animateModal:this.opts.animateModal,elementToAnimate:this.opts.container,lang:this.opts.lang})}simpleColorPicker(t,e){return this.colorClassPicker.open(t,e)}destroy(){if(this.doc.body.classList.remove("data-editor"),document.removeEventListener("click",this.doDocumentClick,!1),document.removeEventListener("keydown",this.doDocumentKeydown,!1),document.removeEventListener("mousedown",this.doDocumentMousedown,!1),document.removeEventListener("click",this.doRteClick,!1),this.doc.removeEventListener("click",this.doHideSnippetHandler,!1),this.iframe&&(this.doc.removeEventListener("click",this.doDocumentClick,!1),this.doc.removeEventListener("keydown",this.doDocumentKeydown,!1),this.doc.removeEventListener("mousedown",this.doDocumentMousedown,!1),this.doc.removeEventListener("click",this.doRteClick,!1),this.win.removeEventListener("scroll",this.doWindowScroll,!1),this.win.removeEventListener("resize",this.doWindowResize,!1)),this.util.clearControls(),!this.util.builderStuff())return;const t=new Ei(this);if(""!==this.opts.page){const t=this.doc.querySelector(this.opts.page);t&&(t.style.transform="")}else{this.doc.querySelectorAll(this.opts.container).forEach((t=>{t.style.transform=""}))}const e=this.doc.querySelectorAll(this.opts.container);Array.prototype.forEach.call(e,(e=>{let i=t.readHtml(e,!1),n=this.doc.createRange();e.innerHTML="",e.appendChild(n.createContextualFragment(i))})),Array.prototype.forEach.call(e,(t=>{t.removeAttribute("data-sort"),this.dom.removeClass(t,"is-builder")})),Array.prototype.forEach.call(this.sortableObjects,(t=>{try{t.destroy()}catch(t){}})),this.moveable.destroy(),this.builderStuff.parentNode.removeChild(this.builderStuff),this.builderStuff=null,this.iframe&&(this.contentStuff.parentNode.removeChild(this.contentStuff),this.contentStuff=null)}saveImages(t,e,i){new Wm({page:this.opts.page,container:this.opts.container,customval:this.opts.customval,handler:t,onComplete:e,onBase64Upload:i||null},this).save()}clearFont(){this.rte.clearFont()}applyFont(t,e,i){this.rte.applyFont(t,e,i)}setFont(t,e,i,n){this.rte.setFont(t,e,i,n)}addIcon(t){this.rte.addIcon(t)}applyLargerImage(t){let e=document.querySelectorAll(".form-upload-larger");Array.prototype.forEach.call(e,(e=>{this.dom.hasClass(e,"please-wait")&&(this.dom.removeClass(e,"please-wait"),e.parentNode.parentNode.querySelector('input[type="text"]').value=t,e.parentNode.parentNode.querySelector('input[type="file"]').value="")}))}returnUrl(t){let e=document.querySelectorAll(".form-upload-larger");Array.prototype.forEach.call(e,(e=>{this.dom.hasClass(e,"please-wait")&&(this.dom.removeClass(e,"please-wait"),e.parentNode.parentNode.querySelector('input[type="text"]').value=t,e.parentNode.parentNode.querySelector('input[type="file"]').value="")})),this.opts.assetRefresh=!0}openMediaPicker(t,e="media",i,n){this.mediaPicker.openMediaPicker(t,e,i,n)}openImagePicker(t,e,i){this.colTool.openImagePicker(t,e,i)}openImageAdjust(t,e,i){2===this.opts.imageAdjust?this.colTool.openImageAdjust2(t,e):this.colTool.openImageAdjust(t,e,i)}selectFile(t){this.selectAsset(t)}selectImage(t){this.selectAsset(t)}selectVideo(t){this.selectAsset(t)}selectAsset(t){let e=t.split(".").pop().split("?")[0].split("#")[0];e=e.toLowerCase();let i=!1;if("all"===this.targetAssetType?i=!0:"media"===this.targetAssetType?"jpg"===e||"jpeg"===e||"png"===e||"gif"===e||"webm"===e||"webp"===e||"mp4"===e?i=!0:alert(this.util.out("Please select an image or video file.")):"image"===this.targetAssetType?"jpg"===e||"jpeg"===e||"png"===e||"gif"===e||"webm"===e||"webp"===e?i=!0:alert(this.util.out("Please select an image file.")):"video"===this.targetAssetType?"mp4"===e?i=!0:alert(this.util.out("Please select an mp4 file.")):"audio"===this.targetAssetType&&("mp3"===e?i=!0:alert(this.util.out("Please select an mp3 file."))),i){this.targetInput.value=t,"inpCellLinkSource"===this.targetInput.id&&this.targetCallback();let e=document.querySelector(".is-modal.videoselect.active");e&&this.hideModal(e),e=document.querySelector(".is-modal.imageselect.active"),e&&this.hideModal(e),e=document.querySelector(".is-modal.fileselect.active"),e&&this.hideModal(e),e=document.querySelector(".is-modal.audioselect.active"),e&&this.hideModal(e),e=document.querySelector(".is-modal.mediaselect.active"),e&&this.hideModal(e),e=document.querySelector(".is-modal.otherselect.active"),e&&this.hideModal(e)}}assetType(){return this.targetAssetType}renderSelectAsset(t,e,i){const n="inp_"+this.util.makeId();t.insertAdjacentHTML("afterend",`<input type="hidden" id="${n}">`);const o=t.parentNode.querySelector(`#${n}`);t.addEventListener("click",(()=>{this.openAsset(o,e,t)}));let s=t=>this.util.out(t);const r=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value");Object.defineProperty(o,"value",{get:r.get,set:function(t){let n=t.substring(t.lastIndexOf("/")+1).split(".").pop();n=n.toLowerCase();let o=!1;"all"===e?o=!0:"media"===e?"jpg"===n||"jpeg"===n||"png"===n||"gif"===n||"webm"===n||"webp"===n||"mp4"===n?o=!0:alert(s("Please select an image or video file.")):"video"===e?"mp4"===n?o=!0:alert(s("Please select an mp4 file.")):"image"===e?"jpg"===n||"jpeg"===n||"png"===n||"gif"===n||"webm"===n||"webp"===n?o=!0:alert(s("Please select an image file.")):"audio"===e&&("mp3"===n?o=!0:alert(s("Please select an mp3 file."))),o&&i&&i(t),r.set.call(this,t)}})}openOther(t,e,i){if(this.opts.onOtherSelectClick)this.opts.onOtherSelectClick({targetInput:t,theTrigger:i});else{let i,n=this.builderStuff.querySelector(".is-modal.otherselect");i=n.querySelector("iframe"),"about:blank"===i.src&&(i.src=this.opts.otherSelect),this.util.showModal(n),this.targetInput=t,this.targetCallback=null,this.targetAssetType=e}}openAsset(t,e,i){if("media"===e&&(this.opts.onMediaSelectClick||this.opts.onImageSelectClick))this.opts.onMediaSelectClick?this.opts.onMediaSelectClick({targetInput:t,theTrigger:i}):this.opts.onImageSelectClick({targetInput:t,theTrigger:i});else if("video"===e&&this.opts.onVideoSelectClick)this.opts.onVideoSelectClick({targetInput:t,theTrigger:i});else if("image"===e&&this.opts.onImageSelectClick)this.opts.onImageSelectClick({targetInput:t,theTrigger:i});else if("audio"===e&&this.opts.onAudioSelectClick)this.opts.onAudioSelectClick({targetInput:t,theTrigger:i});else if("all"===e&&this.opts.onFileSelectClick)this.opts.onFileSelectClick({targetInput:t,theTrigger:i});else{let i,n;"media"===e?(n=this.builderStuff.querySelector(".is-modal.mediaselect"),i=n.querySelector("iframe"),"about:blank"===i.src&&(this.opts.mediaSelect?i.src=this.opts.mediaSelect:this.opts.imageSelect&&(i.src=this.opts.imageSelect))):"video"===e?(n=this.builderStuff.querySelector(".is-modal.videoselect"),i=n.querySelector("iframe"),"about:blank"===i.src&&(i.src=this.opts.videoSelect)):"image"===e?(n=this.builderStuff.querySelector(".is-modal.imageselect"),i=n.querySelector("iframe"),"about:blank"===i.src&&(i.src=this.opts.imageSelect)):"audio"===e?(n=this.builderStuff.querySelector(".is-modal.audioselect"),i=n.querySelector("iframe"),"about:blank"===i.src&&(i.src=this.opts.audioSelect)):"all"===e&&(n=this.builderStuff.querySelector(".is-modal.fileselect"),i=n.querySelector("iframe"),"about:blank"===i.src&&(i.src=this.opts.fileSelect)),this.util.showModal(n),this.targetInput=t,this.targetCallback=null,this.targetAssetType=e}}moveRowUp(){this._rowTool.moveRowUp()}moveRowDown(){this._rowTool.moveRowDown()}duplicateRow(){this._rowTool.duplicateRow()}removeRow(){this._rowTool.removeRow()}moveColumnLeft(){this.colTool.moveColumnLeft()}moveColumnRight(){this.colTool.moveColumnRight()}duplicateColumn(){this.colTool.duplicateColumn()}removeColumn(){this.colTool.removeColumn()}moveColumnUp(){this.colTool.moveColumnUp()}moveColumnDown(){this.colTool.moveColumnDown()}formatText(t){this.rte.formatText(t)}formatTextNonToggle(t){this.rte.formatTextNonToggle(t)}LightenDarkenColor(t,e){return this.util.LightenDarkenColor(t,e)}pickColor(t,e){new Fg({colors:this.opts.colors,animateModal:!1,lang:this.opts.lang}).open(t,e)}addSnippet(t,e,i){this.util.addSnippet(t,e,i)}viewSnippets(){this.rte.viewSnippets()}saveForUndo(t){this.uo.saveForUndo(t)}download(t={}){this.export(t,!0)}export(t={},e=!1){let i=this.pageTemplate,n="";this.makeAbsolute=!0,this.shortenOutput=e;let o=this.html();if(this.makeAbsolute=!1,this.shortenOutput=!1,n=i.replace("[%CONTENT%]",o),t.replace&&t.replace.forEach((t=>{n=n.replaceAll(`${t[0]}`,t[1])})),t.path)n=n.replaceAll("[%PATH%]",t.path);else{let t;t=location.href.substring(0,location.href.lastIndexOf("/")),n=n.replaceAll("[%PATH%]",t)}n=this.beautify(n);const s=document.createElement("a");s.href=window.URL.createObjectURL(new Blob([n],{type:"text/plain"})),s.download="page.html",s.click()}beautify(t){return new Ei(this).beautify(t)}openPreview(){this.livePreview.openPreview()}closePreview(){this.livePreview.closePreview()}getActiveModule(){return document.querySelector("[data-module-active]")}getModuleSettings(){let t=document.querySelector("[data-module-active]");return decodeURIComponent(t.getAttribute("data-settings"))}setModuleHtml(t){document.querySelector("#hidContentModuleCode").value=t}setModuleSettings(t){document.querySelector("#hidContentModuleSettings").value=t}makeId(){return this.util.makeId()}setTooltip(t){this.tooltip.setAll(t)}loadPlugins(){if(!this.builderStuff)return;if(void 0===this.opts.scriptPath&&""===this.opts.pluginPath)return;if(this.numOfPlugins=0,"string"==typeof this.opts.plugins[0])return void this.loadPluginsOldWay();const t=this.builderStuff.querySelector(".is-rte-tool"),e=this.builderStuff.querySelector(".rte-more-options"),i=this.builderStuff.querySelector(".is-elementrte-tool"),n=this.builderStuff.querySelector(".elementrte-more-options");let o;for(o=this.opts.plugins.length-1;o>=0;o--){const s=this.opts.plugins[o].name,r=this.opts.plugins[o].showInMainToolbar,l=this.opts.plugins[o].showInElementToolbar;let a=!1;(t.querySelector('[data-plugin="'+s+'"]')||e.querySelector('[data-plugin="'+s+'"]'))&&(a=!0);let d=!1;if((i.querySelector('[data-plugin="'+s+'"]')||n.querySelector('[data-plugin="'+s+'"]'))&&(d=!0),r&&!a){e.querySelectorAll("div:not(.rte-separator)").forEach((t=>{t.insertAdjacentHTML("afterbegin",'<button style="width:46px;" title="button not found" data-plugin="'+s+'"></button>')}))}l&&!d&&n.querySelector("div").insertAdjacentHTML("afterbegin",'<button style="width:46px;" title="button not found" data-plugin="'+s+'"></button>')}for(o=0;o<this.opts.plugins.length;o++){const t=this.opts.plugins[o].name;let e=this.opts.scriptPath+"plugins/"+t+"/plugin.js";""!==this.opts.pluginPath&&(e=this.opts.pluginPath+"plugins/"+t+"/plugin.js"),this.loadScript(e).then((()=>{this.numOfPlugins++,this.numOfPlugins===this.opts.plugins.length&&(this.opts.onPluginsLoaded&&this.opts.onPluginsLoaded(),this.tooltip.setAll(),new Pi({selector:".is-draggable"}))}))}}loadPluginsOldWay(){const t=this.builderStuff.querySelector(".is-rte-tool"),e=this.builderStuff.querySelector(".rte-more-options"),i=this.builderStuff.querySelector(".is-elementrte-tool"),n=this.builderStuff.querySelector(".elementrte-more-options");let o;for(o=this.opts.plugins.length-1;o>=0;o--){const s=this.opts.plugins[o];let r=!1;(t.querySelector('[data-plugin="'+s+'"]')||e.querySelector('[data-plugin="'+s+'"]'))&&(r=!0);let l=!1;(i.querySelector('[data-plugin="'+s+'"]')||n.querySelector('[data-plugin="'+s+'"]'))&&(l=!0),r||e.querySelector("div").insertAdjacentHTML("afterbegin",'<button style="width:46px;" title="button not found" data-plugin="'+this.opts.plugins[o]+'"></button>'),l||n.querySelector("div").insertAdjacentHTML("afterbegin",'<button style="width:46px;" title="button not found" data-plugin="'+this.opts.plugins[o]+'"></button>')}for(o=0;o<this.opts.plugins.length;o++){let t=this.opts.scriptPath+"plugins/"+this.opts.plugins[o]+"/plugin.js";""!==this.opts.pluginPath&&(t=this.opts.pluginPath+"plugins/"+this.opts.plugins[o]+"/plugin.js"),this.loadScript(t).then((()=>{if(this.numOfPlugins++,this.numOfPlugins===this.opts.plugins.length){let t=e.querySelectorAll("[data-plugin]");Array.prototype.forEach.call(t,(t=>{t.outerHTML=""})),t=n.querySelectorAll("[data-plugin]"),Array.prototype.forEach.call(t,(t=>{t.outerHTML=""})),this.opts.onPluginsLoaded&&this.opts.onPluginsLoaded(),this.tooltip.setAll(),new Pi({selector:".is-draggable"})}}))}}addHtml(t){this.dom.appendHtml(this.builderStuff,t)}addCss(t){this.dom.appendHtml(document.head,t)}addButton_OLD(t,e,i,n){if(!this.builderStuff)return;const o=this.builderStuff.querySelector(".is-rte-tool"),s=this.builderStuff.querySelector(".rte-more-options");var r=!1;if(o.querySelector('[data-plugin="'+t+'"]')?o.querySelector('[data-plugin="'+t+'"]').outerHTML=e:s.querySelector('[data-plugin="'+t+'"]')&&(s.querySelector('[data-plugin="'+t+'"]').outerHTML=e,r=!0),!o.querySelector(".rte-more")&&r){o.insertAdjacentHTML("beforeend",`<button title="${this.util.out("More")}" class="rte-more"><svg class="is-icon-flex" style="width:13px;height:13px;"><use xlink:href="#ion-more"></use></svg></button>`);let t=this.rteTool.querySelector("button.rte-more");t&&this.dom.addEventListener(t,"click",(()=>{this.rte.showRteMore()}))}let l=o.querySelector(i);l=l||s.querySelector(i),l&&(l.setAttribute("data-title",l.getAttribute("title")),this.dom.addEventListener(l,"click",(t=>{n(t)})))}addButton(t,e,i,n){if(!this.builderStuff)return;const o=this.builderStuff.querySelector(".is-rte-tool"),s=this.builderStuff.querySelector(".rte-more-options");var r=!1;s.querySelector('[data-plugin="'+t+'"]')&&(r=!0);if(this.builderStuff.querySelectorAll('[data-plugin="'+t+'"]').forEach((t=>{t.outerHTML=e})),!o.querySelector(".rte-more")&&r){o.insertAdjacentHTML("beforeend",`<button title="${this.util.out("More")}" class="rte-more"><svg class="is-icon-flex" style="width:13px;height:13px;"><use xlink:href="#ion-more"></use></svg></button>`);let t=this.rteTool.querySelector("button.rte-more");t&&this.dom.addEventListener(t,"click",(()=>{this.rte.showRteMore()}))}let l=o.querySelectorAll(i);l.forEach((t=>{t.setAttribute("data-title",t.getAttribute("title")),this.dom.addEventListener(t,"click",(t=>{n(t)}))})),l=s.querySelectorAll(i),l.forEach((t=>{t.setAttribute("data-title",t.getAttribute("title")),this.dom.addEventListener(t,"click",(t=>{n(t)}))}))}addButton2(t,e,i,n){if(!this.builderStuff)return;const o=this.builderStuff.querySelector(".is-elementrte-tool"),s=this.builderStuff.querySelector(".elementrte-more-options");var r=!1;if(o.querySelector('[data-plugin="'+t+'"]')?o.querySelector('[data-plugin="'+t+'"]').outerHTML=e:s.querySelector('[data-plugin="'+t+'"]')&&(s.querySelector('[data-plugin="'+t+'"]').outerHTML=e,r=!0),!o.querySelector(".rte-more")&&r){o.insertAdjacentHTML("beforeend",`<button title="${this.util.out("More")}" class="rte-more"><svg class="is-icon-flex" style="width:13px;height:13px;"><use xlink:href="#ion-more"></use></svg></button>`);let t=this.elementRteTool.querySelector("button.rte-more");t&&this.dom.addEventListener(t,"click",(()=>{this.rte.showElementRteMore()}))}let l=o.querySelector(i);l=l||s.querySelector(i),l&&(l.setAttribute("data-title",l.getAttribute("title")),this.dom.addEventListener(l,"click",(t=>{n(t)})))}showModal(t,e,i,n){this.util.showModal(t,e,i,n)}hideModal(t){this.util._hideModal(t)}draggable(t){new Pi({selector:t})}createModal(t,e,i,n,o){let s=this.builderStuff.querySelector(e);return s||(this.builderStuff.appendChild(t),s=this.builderStuff.querySelector(e)),this.showModal(s,i,n,o),new Pi({selector:".is-draggable"}),s}getIcons(){return this.rte.getIcons()}showSidePanel(t){let e=this.builderStuff.querySelectorAll(".is-side");Array.prototype.forEach.call(e,(t=>{this.dom.removeClass(t,"active")})),this.dom.addClass(t,"active")}hideSidePanel(t){this.dom.removeClass(t,"active")}getScriptPath(){return this.opts.scriptPath}getSnippetPath(){return this.opts.snippetPath}out(t){return this.util.out(t)}undo(){this.uo.doUndo()}redo(){this.uo.doRedo()}getScope(){let t;const e=this.doc.querySelectorAll(this.opts.container);if(e.length>1){const i=this.util.cellSelected();t=i?i.parentNode.parentNode:e[0]}else t=e[0];if(""!==this.opts.page){const e=this.doc.querySelector(this.opts.page);e&&(t=e)}return t}saveSelection(){this.util.saveSelection()}restoreSelection(){this.util.restoreSelection()}pasteHtmlAtCaret(t,e){this.util.pasteHtmlAtCaret(t,e)}getScript(t,e){this.loadScript(t).then((()=>{e&&e()}),(()=>{console.log("Fail to load config")}))}getScripts(t,e){let i=0;this.loadScript(t[i]).then((()=>{i=this._helper1(i,t,e)}))}_helper1(t,e,i){if(++t<e.length){return this.loadScript(e[t]).then((()=>{t=this._helper1(t,e,i)})),t}i&&i()}includeJs(t,e){-1===this.filesAdded.indexOf("["+t+"]")?(this.getScript(t,e),this.filesAdded+="["+t+"]"):e&&e()}includeCss(t){if(-1===this.filesAdded.indexOf("["+t+"]")){var e=document.createElement("link");e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),document.getElementsByTagName("head")[0].appendChild(e),this.filesAdded+="["+t+"]"}}applyStyle(t,e){if(-1===this.filesAdded.indexOf("["+t+"]")){var i=document.createElement("style");i.innerHTML=e,document.getElementsByTagName("head")[0].appendChild(i),this.filesAdded+="["+t+"]"}}viewHtml(t){new Ei(this).view("full",t)}viewPreferences(){this.preferences.view()}viewConfig(){this.preferences.view()}viewZoom(){this.rte.viewZoom()}loadSnippets(t){if(this.preview)return;if(document.querySelector(this.opts.snippetList))return;if(this.isScriptAlreadyIncluded(t))return;const e=document.createElement("script");e.src=t,e.async=!0,e.onload=()=>{this.opts.snippetJSON=window.data_basic,""===this.opts.snippetPath&&(this.opts.snippetPath=window._snippets_path),this.opts.snippetJSON.snippets.length>0&&Vo(this)},document.body.appendChild(e)}isScriptAlreadyIncluded(t){const e=document.getElementsByTagName("script");for(let i=0;i<e.length;i++)if(e[i].getAttribute("src")===t)return!0;return!1}loadHtml(t,e){const i=this.util;if(e);else{const t=this.doc.querySelectorAll(this.opts.container);if(t.length>1){const n=i.cellSelected();e=n?n.parentNode.parentNode:t[0]}else e=t[0];if(""!==this.opts.page){const t=this.doc.querySelector(this.opts.page);t&&(e=t)}}let n=this.doc.createRange();e.innerHTML="",e.appendChild(n.createContextualFragment(t)),this.applyBehavior(),this.opts.onChange(),this.opts.onRender(),null!=localStorage.getItem("_livepreview")&&this.livePreview.openPreview()}loadHTML(t){this.loadHtml(t)}setUIColor(t,e){let i=document.querySelector("[data-cb-color]");if(i&&i.setAttribute("data-cb-del",""),e){var n=document.createElement("link");n.rel="stylesheet",n.href=e,n.setAttribute("data-cb-color",""),n.addEventListener("load",(()=>{i=document.querySelector("[data-cb-del]"),i&&i.parentNode.removeChild(i),"dark"===t&&(this.dom.removeClass(document.body,"colored"),this.dom.removeClass(document.body,"colored-dark"),this.dom.removeClass(document.body,"light"),this.dom.addClass(document.body,"dark")),"colored"===t&&(this.dom.removeClass(document.body,"dark"),this.dom.removeClass(document.body,"colored-dark"),this.dom.removeClass(document.body,"light"),this.dom.addClass(document.body,"colored")),"colored-dark"===t&&(this.dom.removeClass(document.body,"dark"),this.dom.removeClass(document.body,"colored"),this.dom.removeClass(document.body,"light"),this.dom.addClass(document.body,"colored-dark")),""===t&&(this.dom.removeClass(document.body,"dark"),this.dom.removeClass(document.body,"colored-dark"),this.dom.removeClass(document.body,"colored"),this.dom.removeClass(document.body,"light")),"light"===t&&(this.dom.removeClass(document.body,"dark"),this.dom.removeClass(document.body,"colored-dark"),this.dom.removeClass(document.body,"colored"),this.dom.addClass(document.body,"light"));const e=this.util;setTimeout((()=>{e.getUIStyles(),this.setUIColorRefresh(),this.opts.onThemeChange&&this.opts.onThemeChange()}),300)})),document.head.appendChild(n)}else{i=document.querySelector("[data-cb-del]"),i&&i.parentNode.removeChild(i),""===t&&(this.dom.removeClass(document.body,"dark"),this.dom.removeClass(document.body,"colored-dark"),this.dom.removeClass(document.body,"colored"),this.dom.removeClass(document.body,"light"));const e=this.util;setTimeout((()=>{e.getUIStyles(),this.setUIColorRefresh(),this.opts.onThemeChange&&this.opts.onThemeChange()}),1e3)}}setUIColorRefresh(){const t=this.util;if(!this.rte||!this.element)return void setTimeout((()=>{this.setUIColorRefresh()}),600);let e=this.rte.rteFontFamilyOptions.querySelector("iframe").contentWindow.document;let i=this.builderStuff.querySelector(".is-modal.pickfontfamily").querySelector("iframe").contentWindow.document,n=this.rte.rteIconOptions.querySelector("iframe").contentWindow.document;""===e.body.innerHTML?(e.open(),this.opts.emailMode?e.write(t.getFontFamilyEmail()):e.write(t.getFontFamilyHTML()),e.close()):this.util.refreshFontFamilyStyle1(),""===i.body.innerHTML?(i.open(),this.opts.emailMode?i.write(t.getFontFamilyEmail(!0)):i.write(t.getFontFamilyHTML(!0)),i.close()):this.util.refreshFontFamilyStyle2(),""===n.body.innerHTML?(n.open(),n.write(this.rte.getIconsHTML()),n.close()):this.rte.refreshIconsStyle(),this.builderStuff.querySelector(".snippets").querySelector("iframe").src="about:blank";let o=document.querySelector(".is-modal.videoselect"),s=document.querySelector(".is-modal.imageselect"),r=document.querySelector(".is-modal.fileselect"),l=document.querySelector(".is-modal.otherselect"),a=o.querySelector("iframe"),d=s.querySelector("iframe"),c=r.querySelector("iframe"),u=l.querySelector("iframe");a.contentWindow.applyParentStyles&&a.contentWindow.applyParentStyles(),d.contentWindow.applyParentStyles&&d.contentWindow.applyParentStyles(),c.contentWindow.applyParentStyles&&c.contentWindow.applyParentStyles(),u.contentWindow.applyParentStyles&&u.contentWindow.applyParentStyles()}openMedia(t){let e="",i=t.getAttribute("data-modal-theme");i||(i="light");const n=t.getAttribute("data-modal-color");if(t.getAttribute("data-modal-url")){e=t.getAttribute("data-modal-url");let o=e.split(".").pop().split("?")[0].split("#")[0];if("jpg"===o||"jpeg"===o||"png"===o||"gif"===o||"webm"===o||"webp"===o)this.lightbox.openImage(e,i,n);else if("mp4"===o)this.lightbox.openVideo(e,"dark",n);else if(-1!==e.toLowerCase().indexOf("youtube.com")||-1!==e.toLowerCase().indexOf("youtube-nocookie.com")||-1!==e.toLowerCase().indexOf("vimeo.com"))this.lightbox.openExternalVideo(e,"dark",n);else{if(0===e.indexOf("#"));else{if(!window.confirm(this.util.out("Do you really want to leave?")))return!1}window.location.href=e}}else t.getAttribute("data-modal-image")&&(e=t.getAttribute("data-modal-image"),this.lightbox.openImage(e,i,n)),t.getAttribute("data-modal-video")&&(e=t.getAttribute("data-modal-video"),this.lightbox.openVideo(e,"dark",n)),t.getAttribute("data-modal-externalvideo")&&(e=t.getAttribute("data-modal-externalvideo"),this.lightbox.openExternalVideo(e,"dark",n))}lightboxOpen(t){this.useLightbox&&(t.hasAttribute("data-noedit")||t.hasAttribute("data-protected"))&&this.dom.hasClass(t,"block-click")&&this.openMedia(t)}handleCellClick(t,e){this.cleanEditing&&(t.parentNode.querySelector(".is-row-tool").style.display="",t.parentNode.querySelector(".is-col-tool").style.display=""),this.lightboxOpen(t);this.util.clearActiveCell(),this.activeCol=t;let i=e.target;this.dom.addClass(t,"cell-active");let n=t.parentNode;this.dom.addClass(n,"row-active");const o=this.doc.querySelectorAll(this.opts.container);Array.prototype.forEach.call(o,(t=>{this.dom.removeClass(t,"builder-active")})),this.dom.addClass(n.parentNode,"builder-active"),this.dom.addClass(this.doc.body,"content-edit"),n.childElementCount-2==1||this.dom.addClass(n,"row-outline"),this.opts.onContentClick&&this.opts.onContentClick(e),this.element.click(t,e),this.colTool.click(t),this.elmTool.click(t,e),this.rte.click(t,e);const s=document.querySelector(".grideditor.active");if(s){const e=s.querySelector(".cell-locking");t.hasAttribute("data-noedit")?this.dom.addClass(e,"on"):this.dom.removeClass(e,"on")}let r=this.dom.getParentElement(i,"a");if(("a"===i.tagName.toLowerCase()||r)&&(t.hasAttribute("data-noedit")||t.hasAttribute("data-protected"))){if("true"===t.getAttribute("contenteditable"))return e.preventDefault(),!1;if("a"===i.tagName.toLowerCase()&&(r=i),this.useLightbox&&this.dom.hasClass(r,"is-lightbox")){let t=r.getAttribute("href");if(!t)return e.preventDefault(),!1;let n=t.split(".").pop().split("?")[0].split("#")[0],o=r.getAttribute("data-modal-theme");o||(o="light");const s=i.getAttribute("data-modal-color");if("jpg"===n||"jpeg"===n||"png"===n||"gif"===n||"webm"===n||"webp"===n)return this.lightbox.openImage(t,o,s),e.preventDefault(),!1;if("mp4"===n)return this.lightbox.openVideo(t,"dark",s),e.preventDefault(),!1;if(-1!==t.toLowerCase().indexOf("youtube.com")||-1!==t.toLowerCase().indexOf("youtube-nocookie.com")||-1!==t.toLowerCase().indexOf("vimeo.com"))return this.lightbox.openExternalVideo(t,"dark",s),e.preventDefault(),!1;if(0===t.indexOf("#"));else{if(!window.confirm(this.util.out("Do you really want to leave?")))return e.preventDefault(),!1}}else{let t=r.getAttribute("href");if(!t)return e.preventDefault(),!1;if(0===t.indexOf("#"));else{if(!window.confirm(this.util.out("Do you really want to leave?")))return e.preventDefault(),!1}}}if(1===t.childElementCount){let e=t.children[0];e&&this.dom.hasClass(e,"spacer")&&(t.contentEditable=!1)}this.colTool.showHideLockIndicator(t);const l=n.querySelector(".is-rowadd-tool").querySelector("button");l.style.marginTop="";const a=Array.from(n.parentNode.children).filter((t=>"div"===t.nodeName.toLowerCase()));if(a&&a.length>0){if(n===a[a.length-1]){const t=n.closest(".is-section");if(t){const e=this.dom.getElementOffset(t);let i=e.top+e.height;const o=this.dom.getElementOffset(n);i-(o.top+o.height)<19&&(l.style.marginTop="-14px")}}}this.opts.enableDragResize&&(this.resize&&this.resize.destroy(),t.classList.contains("noresize")||(this.resize=new tf(t,this),this.resize.enable()))}handleCellKeypress(t){t.ctrlKey||t.metaKey||(null===this.uoTm?(this.uo.saveForUndo(),this.uoTm=setTimeout((()=>{this.uoTm=null}),1e3)):(clearTimeout(this.uoTm),this.uoTm=setTimeout((()=>{this.uoTm=null}),1e3)))}handleCellKeydown(t,e){this.oriLen=t.textContent.length;let i=t.querySelectorAll("span");if(Array.prototype.forEach.call(i,(t=>{t.setAttribute("data-keep","")})),(e.ctrlKey||e.metaKey)&&86===e.which&&this.handleCellPaste(),this.opts.elementSelection&&!this.emailMode&&(e.ctrlKey||e.metaKey)&&65===e.which){let t;try{this.win.getSelection?t=this.win.getSelection().getRangeAt(0).commonAncestorContainer.parentNode:this.doc.selection&&(t=this.doc.selection.createRange().parentElement()),this.dom.hasClass(t.parentNode.parentNode,"is-builder")||this.dom.selectElementContents(t),e.preventDefault()}catch(e){}}if(46===e.keyCode){let t;try{if(window.getSelection?t=window.getSelection().getRangeAt(0).commonAncestorContainer:document.selection&&(t=document.selection.createRange()),"<br>"===t.innerHTML){t.nextElementSibling&&(t.parentNode.removeChild(t),e.preventDefault())}}catch(e){}}if(8===e.keyCode){let t;try{if(window.getSelection?t=window.getSelection().getRangeAt(0).commonAncestorContainer:document.selection&&(t=document.selection.createRange()),""===t.textContent){t.previousElementSibling||e.preventDefault()}}catch(e){}}if(9===e.which&&!e.shiftKey){const t=this.activeCol;if(t)if(t.nextElementSibling&&t.nextElementSibling.hasAttribute("data-click")){const i=t.nextElementSibling;i&&i.click();let n=window.getSelection(),o=this.createRange(i,{count:0});o&&(o.collapse(!1),n.removeAllRanges(),n.addRange(o)),i.firstElementChild&&setTimeout((()=>{i.firstElementChild.click()}),200),e.preventDefault()}else if(t.parentNode.nextElementSibling){const i=t.parentNode.nextElementSibling;if(i){const t=i.firstElementChild;t&&t.click();let n=window.getSelection(),o=this.createRange(t,{count:0});o&&(o.collapse(!1),n.removeAllRanges(),n.addRange(o)),t.firstElementChild&&setTimeout((()=>{t.firstElementChild.click()}),200),e.preventDefault()}}}if(9===e.which&&e.shiftKey){const t=this.activeCol;if(t)if(t.previousElementSibling&&t.previousElementSibling.hasAttribute("data-click")){const i=t.previousElementSibling;i&&i.click(),i.firstElementChild&&i.firstElementChild.click();let n=window.getSelection(),o=this.createRange(i,{count:0});o&&(o.collapse(!1),n.removeAllRanges(),n.addRange(o)),i.firstElementChild&&setTimeout((()=>{i.firstElementChild.click()}),200),e.preventDefault()}else if(t.parentNode.previousElementSibling){const i=t.parentNode.previousElementSibling.querySelectorAll("[data-click]");if(i.length>0){const t=i[i.length-1];t&&t.click(),t.firstElementChild&&t.firstElementChild.click();let n=window.getSelection(),o=this.createRange(t,{count:0});o&&(o.collapse(!1),n.removeAllRanges(),n.addRange(o)),t.firstElementChild&&setTimeout((()=>{t.firstElementChild.click()}),200),e.preventDefault()}}}const n=()=>{let e=t.querySelectorAll("span");Array.prototype.forEach.call(e,(t=>{t.setAttribute("data-keep","")}))},o=e.ctrlKey||e.metaKey;if(o&&66===e.which&&this.opts.useCssClasses&&(this.dom.execCommandToggle("fontWeight","",this.opts.cssClasses),this.opts.onChange(),e.preventDefault(),n()),o&&73===e.which&&this.opts.useCssClasses&&(this.dom.execCommandToggle("fontStyle","",this.opts.cssClasses),this.opts.onChange(),e.preventDefault(),n()),o&&85===e.which&&this.opts.useCssClasses&&(this.dom.execCommandToggle("textUnderline","",this.opts.cssClasses),this.opts.onChange(),e.preventDefault(),n()),o&&83===e.which&&this.opts.useCssClasses&&(this.dom.execCommandToggle("textLinethrough","",this.opts.cssClasses),this.opts.onChange(),e.preventDefault(),n()),o&&221===e.which&&(e.preventDefault(),document.execCommand("indent",!1,null),this.opts.onChange(),e.preventDefault(),n()),o&&219===e.which&&(e.preventDefault(),document.execCommand("outdent",!1,null),this.opts.onChange(),e.preventDefault(),n()),o&&75===e.which&&(this.element.hyperlink.createLink(),e.preventDefault()),o&&80===e.which&&(e.preventDefault(),this.rte.insertImage()),(46===e.which||8===e.which)&&this.activeIcon){if("a"===this.activeIcon.parentNode.tagName.toLowerCase()&&1===this.activeIcon.parentNode.children.length||1===this.activeIcon.parentNode.children.length){let t=this.activeIcon.parentNode,e=t.parentNode;t.parentNode.removeChild(t);this.builderStuff.querySelector("#divLinkTool").style.display="";this.builderStuff.querySelector(".is-element-tool").style.display="",e&&""===e.innerHTML.trim()&&e.parentNode.removeChild(e)}else this.activeIcon.parentNode.removeChild(this.activeIcon);e.preventDefault()}this.cleanEditing&&(this.colTool.columnTool.classList.remove("active"),t.parentNode.querySelector(".is-row-tool").style.display="none",t.parentNode.querySelector(".is-col-tool").style.display="none")}createRange(t,e,i){if(i||((i=document.createRange()).selectNode(t),i.setStart(t,0)),0===e.count)i.setEnd(t,e.count);else if(t&&e.count>0)if(t.nodeType===Node.TEXT_NODE)t.textContent.length<e.count?e.count-=t.textContent.length:(i.setEnd(t,e.count),e.count=0);else for(var n=0;n<t.childNodes.length&&(i=this.createRange(t.childNodes[n],e,i),0!==e.count);n++);return i}handleCellFocus(t){const e=this.activeCol;e?t!==e&&(t.firstElementChild?t.firstElementChild.click():t.click()):t.firstElementChild?t.firstElementChild.click():t.click()}handleCellKeyup(t,e){this.dom.textSelection()&&("38"===e.keyCode||"40"===e.keyCode||"37"===e.keyCode||"39"===e.keyCode)&&this.util.saveSelection();let i=t.querySelectorAll("span");var n;Array.prototype.forEach.call(i,(t=>{t.hasAttribute("data-keep")||(t.outerHTML=t.innerHTML)}));try{this.win.getSelection?n=this.win.getSelection().getRangeAt(0).commonAncestorContainer.parentNode:this.doc.selection&&(n=this.doc.selection.createRange().parentElement())}catch(e){return}if(13===e.keyCode&&!e.shiftKey){"p"!==n.tagName.toLowerCase()&&"div"!==n.tagName.toLowerCase()||this.doc.execCommand("formatBlock",!1,"<p>");let e=t.querySelectorAll("[data-keep]");Array.prototype.forEach.call(e,(t=>{t.removeAttribute("data-keep")}))}this.oriLen!==t.textContent.length&&this.typing(),this.elmTool.hide()}typing(){this.timeoutId&&clearTimeout(this.timeoutId),this.timeoutId=setTimeout((()=>{this.opts.onChange()}),2e3)}handleCellPaste(){this.uo.saveForUndo();const t=this.util;t.saveSelection();let e=this.doc.querySelector("#idContentWord");var i,n;e&&e.parentNode.removeChild(e),this.win.getSelection?i=3===(n=this.win.getSelection().getRangeAt(0).commonAncestorContainer).nodeType?n.parentNode:n:this.doc.selection&&(n=this.doc.selection.createRange(),i=this.doc.selection.createRange().parentElement());const o='<div style="position:absolute;z-index:-1000;top:'+(i.getBoundingClientRect().top+this.win.pageYOffset)+'px;left:-1000px;width:100px;height:100px;overflow:auto;" name="idContentWord" id="idContentWord" contenteditable="true"></div>';this.iframe?this.dom.appendHtml(this.contentStuff,o):this.dom.appendHtml(this.builderStuff,o),e=this.doc.querySelector("#idContentWord"),e.focus(),setTimeout((()=>{try{var e="";let u=this.doc.querySelector("#idContentWord");var i=!1,n=u.innerText;if(!this.opts.disableAutoEmbedVideo){var o=/^http[s]?:\/\/(((www.youtube.com\/watch\?(feature=player_detailpage&)?)v=)|(youtu.be\/))([^#&?]*)/.exec(n),s=/^.*(vimeo\.com\/)((channels\/[A-z]+\/)|(groups\/[A-z]+\/videos\/)|(video\/))?([0-9]+)\/?/.exec(n);if(null!==o||null!==s){if(null!==o&&o.length>=7)n="https://www.youtube.com/embed/"+o[6]+"?rel=0";if(null!==s&&s.length>=7)n="https://player.vimeo.com/video/"+s[6];e='<div class="embed-responsive embed-responsive-16by9"><iframe tabindex="0" width="560" height="315" src="'+n+'" frameborder="0" allowfullscreen=""></iframe></div>',i=!0}}if(!i)if("text"===this.opts.paste){let t=u.querySelectorAll("p,h1,h2,h3,h4,h5,h6");Array.prototype.forEach.call(t,(t=>{t.innerHTML=t.innerHTML+" "})),0===(e=(e=(e=u.innerHTML).replace(/(<([^>]+)>)/gi,"<br>")).replace(/(<br\s*\/?>){3,}/gi,"<br>")).indexOf("<br>")&&(e=e.substring(4)),"<br>"===e.substring(e.length-4)&&(e=e.substring(0,e.length-4)),e=e.trim()}else{e=u.innerHTML,e="html"===this.opts.paste?t.cleanHTML(e,!1):t.cleanHTML(e,!0),u.innerHTML=e;let i=u.querySelectorAll("li");Array.prototype.forEach.call(i,(t=>{t.style.whiteSpace="";const e=t.childNodes;let i=e.length;for(;i--;)"P"===e[i].tagName&&(e[i].outerHTML=e[i].innerHTML)})),e=u.innerHTML}u=this.doc.querySelector("#idContentWord"),u&&u.parentNode.removeChild(u),t.restoreSelection();var r=this.win.getSelection(),l=r.getRangeAt(0);l.extractContents(),l.collapse(!0);var a=l.createContextualFragment(e),d=a.lastChild;if(l.insertNode(a),this.activeCol){this.activeCol.querySelectorAll("h1:empty,h2:empty,h3:empty,h4:empty,h5:empty,h6:empty,p:empty").forEach((t=>{t.remove()}));let t=this.activeCol.querySelector("p.elm-active,h1.elm-active,h2.elm-active,h3.elm-active,h4.elm-active,h5.elm-active,h6.elm-active");if(t){if(t.querySelectorAll("p,h1,h2,h3,h4,h5,h6").length>0){let e=t.nextElementSibling;if(Array.from(t.childNodes).filter((t=>3===t.nodeType&&t.textContent.trim().length>1)).forEach((t=>{const e=document.createElement("p");t.after(e),e.appendChild(t)})),t.firstElementChild&&1===t.childNodes.length&&"SPAN"===t.firstElementChild.tagName){t.outerHTML=t.firstElementChild.innerHTML,this.activeCol.querySelectorAll("*:empty").forEach((t=>{t.remove()})),e?this.dom.moveCursorToElement(e.previousElementSibling):this.dom.moveCursorToElement(this.activeCol);let i=this.doc.querySelector(".builder-active");return i&&this.applyBehaviorOn(i),this.opts.onChange(),void this.opts.onRender()}t.outerHTML=t.innerHTML,this.activeCol.find("h1:empty,h2:empty,h3:empty,h4:empty,h5:empty,h6:empty,p:empty").remove(),e?this.dom.moveCursorToElement(e.previousElementSibling):this.dom.moveCursorToElement(this.activeCol);let i=this.doc.querySelector(".builder-active");return i&&this.applyBehaviorOn(i),this.opts.onChange(),void this.opts.onRender()}}}l.setStartAfter(d),l.setEndAfter(d),l.collapse(!1);var c=l.commonAncestorContainer;if(c&&c.parentNode)try{c.parentNode.normalize()}catch(t){}r.removeAllRanges(),r.addRange(l);let h=this.doc.querySelector(".builder-active");h&&this.applyBehaviorOn(h),this.opts.onChange(),this.opts.onRender()}catch(t){let e=this.doc.querySelector("#idContentWord");e&&e.parentNode.removeChild(e)}}),800)}cellSelected(){return this.util.cellSelected()}loadScript(t,e,i=!0,n=!0){return new Promise(((o,s)=>{let r=document.createElement("script");const l=e||document.getElementsByTagName("script")[0];function a(t,e){(e||!r.readyState||/loaded|complete/.test(r.readyState))&&(r.onload=null,r.onreadystatechange=null,r=void 0,e?s():o())}r.async=i,r.defer=n,r.onload=a,r.onreadystatechange=a,r.src=t,l.parentNode.insertBefore(r,l)}))}currentScriptPath(){let t,e;for(var i=document.getElementsByTagName("script"),n=0;n<i.length;n++){var o=i[n].src;t="contentbuilder.js",o.indexOf(t)>-1&&(e=o.substring(0,o.indexOf(t))),t="contentbuilder.min.js",o.indexOf(t)>-1&&(e=o.substring(0,o.indexOf(t)))}return e}sectionDropSetup(){if(this.page){if(".is-wrapper"!==this.page)return;const t=this.doc.querySelector(this.page);this.sortableOnPage=new Co(t,{scroll:!0,group:"shared",direction:"vertical",animation:150,sort:!0,onAdd:t=>{var e=t.item;if(e.querySelector(".is-col-tool")){let t=e.querySelector(".is-row-tool"),i=e.querySelector(".is-col-tool"),n=e.querySelector(".is-rowadd-tool");e.removeChild(t),e.removeChild(i),e.removeChild(n);let o=e.querySelectorAll("[data-click]");return o.forEach((t=>{t.removeAttribute("data-click")})),e.removeAttribute("draggable"),e.classList.remove("row-active"),e.classList.remove("row-outline"),o=e.querySelectorAll(".cell-active"),o.forEach((t=>{t.classList.remove("cell-active")})),o=e.querySelectorAll("*"),o.forEach((t=>{t.style.cursor=""})),e.outerHTML=this.settings.sectionTemplate.replace("[%CONTENT%]",e.outerHTML),void(this.opts.onSectionAdd&&this.opts.onSectionAdd())}if(e.getAttribute("data-id")){let t=e.getAttribute("data-id");const h=this.opts.snippetJSON.snippets.filter((e=>e.id+""===t&&e));var i,n=h[0].html,o=h[0].noedit;i=-1===n.indexOf('"row'),this.opts.emailMode&&(i=!1);var s=this.opts.row,r=this.opts.cols;if(""!==s&&12===r.length&&(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=n.replace(new RegExp("row clearfix","g"),"row")).replace(new RegExp('"row',"g"),'"'+s)).replace(new RegExp("column full","g"),r[11])).replace(new RegExp("column half","g"),r[5])).replace(new RegExp("column third","g"),r[3])).replace(new RegExp("column fourth","g"),r[2])).replace(new RegExp("column fifth","g"),r[1])).replace(new RegExp("column sixth","g"),r[1])).replace(new RegExp("column two-third","g"),r[7])).replace(new RegExp("column two-fourth","g"),r[8])).replace(new RegExp("column two-fifth","g"),r[9])).replace(new RegExp("column two-sixth","g"),r[9])),n=n.replace(/{id}/g,this.util.makeId()),this.opts.onAdd&&(n=this.opts.onAdd(n)),this.opts.snippetPathReplace.length>0&&""!==this.opts.snippetPathReplace[0]){var l=new RegExp(this.opts.snippetPathReplace[0],"g");n=n.replace(l,this.opts.snippetPathReplace[1]);var a=this.opts.snippetPathReplace[0].replace(/\//g,"%2F"),d=this.opts.snippetPathReplace[1].replace(/\//g,"%2F"),c=new RegExp(a,"g");n=n.replace(c,d)}if(i)n=`<div class="${this.opts.row}"><div class="${this.opts.cols[this.opts.cols.length-1]}"${o?" data-noedit":""}>${n}</div></div>`,e.removeAttribute("draggable"),this.dom.removeClass(e,"snippet-item"),e.outerHTML=this.settings.sectionTemplate.replace("[%CONTENT%]",n);else{let t=this.dom.createElement("div");t.innerHTML=n;let i=t.querySelectorAll("[data-html]");Array.prototype.forEach.call(i,(t=>{n=(n=(n=decodeURIComponent(t.getAttribute("data-html"))).replace(/{id}/g,this.util.makeId())).replace(/<script>/g,""+(this.nonce?`<script nonce="${this.nonce}">`:"<script>"));for(var e=1;e<=20;e++)n=n.replace("[%HTML"+e+"%]",void 0===t.getAttribute("data-html-"+e)?"":decodeURIComponent(t.getAttribute("data-html-"+e)));t.innerHTML=n})),n=t.innerHTML,e.removeAttribute("draggable"),this.dom.removeClass(e,"snippet-item"),e.innerHTML="";var u=document.createRange();u.setStart(e,0),e.appendChild(u.createContextualFragment(n)),e.outerHTML=this.settings.sectionTemplate.replace("[%CONTENT%]",e.innerHTML)}this.opts.onSectionAdd&&this.opts.onSectionAdd(),this.opts.onChange(),this.opts.onRender()}this.sortableOnPage.destroy()}})}}}return gf}();
420
+ function(t,e){if(!this)throw'Use "new RecordRTCPromisesHandler()"';if(void 0===t)throw'First argument "MediaStream" is required.';var n=this;n.recordRTC=new i(t,e),this.startRecording=function(){return new Promise((function(t,e){try{n.recordRTC.startRecording(),t()}catch(t){e(t)}}))},this.stopRecording=function(){return new Promise((function(t,e){try{n.recordRTC.stopRecording((function(i){n.blob=n.recordRTC.getBlob(),n.blob&&n.blob.size?t(i):e("Empty blob.",n.blob)}))}catch(t){e(t)}}))},this.pauseRecording=function(){return new Promise((function(t,e){try{n.recordRTC.pauseRecording(),t()}catch(t){e(t)}}))},this.resumeRecording=function(){return new Promise((function(t,e){try{n.recordRTC.resumeRecording(),t()}catch(t){e(t)}}))},this.getDataURL=function(t){return new Promise((function(t,e){try{n.recordRTC.getDataURL((function(e){t(e)}))}catch(t){e(t)}}))},this.getBlob=function(){return new Promise((function(t,e){try{t(n.recordRTC.getBlob())}catch(t){e(t)}}))},this.getInternalRecorder=function(){return new Promise((function(t,e){try{t(n.recordRTC.getInternalRecorder())}catch(t){e(t)}}))},this.reset=function(){return new Promise((function(t,e){try{t(n.recordRTC.reset())}catch(t){e(t)}}))},this.destroy=function(){return new Promise((function(t,e){try{t(n.recordRTC.destroy())}catch(t){e(t)}}))},this.getState=function(){return new Promise((function(t,e){try{t(n.recordRTC.getState())}catch(t){e(t)}}))},this.blob=null,this.version="5.6.2"}),void 0!==i&&(i.WebAssemblyRecorder=B)}(lf);var af=lf.exports;const df=new o;class cf{constructor(t={},e){this.opts=Object.assign(this,{send:()=>{},abort:()=>{}},t),this.builder=e;const i=this.builder.util;this.util=i;const n=this.builder.builderStuff;this.builderStuff=n,null===localStorage.getItem("_mic")&&localStorage.setItem("_mic","0"),this.builder.isInProgress=!1;const o=this.builder.commandInfo;let s="";for(const t in o)if(Object.prototype.hasOwnProperty.call(o,t)){const{title:e,list:i,width:n}=o[t];if(this.builder.enableShortCommands){s+=`<h2>${e}</h2>`;for(const t of i)s+=n?`<div role="button" tabindex="0" class="command-item" style="width:${n}">${t}</div>`:`<div role="button" tabindex="0" class="command-item">${t}</div>`}else if("general"===t){s+=`<h2>${e}</h2>`;for(const t of i)s+=n?`<div role="button" tabindex="0" class="command-item" style="width:${n}">${t}</div>`:`<div role="button" tabindex="0" class="command-item">${t}</div>`}}let r=`\n <style>\n .is-modal.commandlist {\n z-index: 10005 !important\n }\n .is-modal.commandlist .is-modal-content {\n max-width:calc(100% - 150px);\n height:calc(100% - 150px);\n padding:0 !important;\n }\n .is-modal.commandlist .is-modal-close {\n position: absolute !important;\n top: 5px;\n right: 15px;\n box-shadow: none !important;\n }\n .is-modal.commandlist .is-modal-close {\n background: transparent !important;\n }\n .is-modal.commandlist .is-modal-close svg {\n width:50px;height:50px;\n }\n .is-modal.commandlist .is-modal-content > div {\n display: flex;\n flex-flow: wrap;\n align-items: flex-start;\n /*align-items: inherits;*/\n justify-content: flex-start;\n padding: 2.2rem;\n box-sizing: border-box;\n overflow-y: auto;\n overflow-x: hidden;\n width: 100%;\n height: 100%;\n }\n .is-modal.commandlist .is-modal-content > div > h2 {\n display: block;\n width: 100%;\n flex: none;\n font-family: "Open Sans", sans-serif;\n font-weight: 300;\n margin-bottom: 30px;\n font-size: 28px;\n }\n .is-modal.commandlist .is-modal-content > div > div {\n margin-right: 2.2rem;\n margin-bottom: 2.2rem;\n display: flex;\n flex: none;\n width: 350px;\n height: auto;\n flex-direction: column;\n justify-content: space-between;\n border-radius: 0.25rem;\n border: 1px solid rgb(156 163 175/.75);\n padding: 1.5rem 2rem;\n box-sizing: border-box;\n letter-spacing: .025em;\n box-shadow: 5px 5px 0px rgb(0 0 0 / 3%);\n font-size: 19px;\n font-weight: 300;\n font-family: sans-serif;\n line-height: 1.3;\n cursor:pointer;\n transition: all 0.3s ease;\n }\n .is-modal.commandlist .is-modal-content > div > div:hover {\n background: rgba(0, 0, 0, 0.03);\n }\n .dark .is-modal.commandlist .is-modal-content > div > div:hover {\n background: rgba(255, 255, 255, 0.05);\n }\n .is-modal.page-command {\n width: 340px !important; \n height: 200px !important; \n top: auto !important; \n bottom: 30px !important; \n left: auto !important; \n right: 30px !important; \n z-index: 10005 !important;\n font-size: 12px;\n }\n .page-command-overlay {\n position: fixed;\n background: rgb(148 148 148 / 22%);\n display: none;\n z-index: 10004;\n justify-content: center;\n align-items:center;\n }\n\n .spinner {\n -webkit-animation: rotator 1.4s linear infinite;\n animation: rotator 1.4s linear infinite;\n }\n @-webkit-keyframes rotator {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(270deg);\n }\n }\n @keyframes rotator {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(270deg);\n }\n }\n .path {\n stroke: #232323; /* #b7b7b7; */\n stroke-dasharray: 187;\n stroke-dashoffset: 0;\n transform-origin: center;\n -webkit-animation: dash 1.4s ease-in-out infinite;\n animation: dash 1.4s ease-in-out infinite;\n }\n @-webkit-keyframes dash {\n 0% {\n stroke-dashoffset: 187;\n }\n 50% {\n stroke-dashoffset: 46.75;\n transform: rotate(135deg);\n }\n 100% {\n stroke-dashoffset: 187;\n transform: rotate(450deg);\n }\n }\n @keyframes dash {\n 0% {\n stroke-dashoffset: 187;\n }\n 50% {\n stroke-dashoffset: 46.75;\n transform: rotate(135deg);\n }\n 100% {\n stroke-dashoffset: 187;\n transform: rotate(450deg);\n }\n }\n </style>\n <div class="is-overlay page-command-overlay">\n <svg class="spinner" width="40px" height="40px" viewBox="0 0 66 66" xmlns="http://www.w3.org/2000/svg">\n <circle class="path" fill="none" stroke-width="6" stroke-linecap="round" cx="33" cy="33" r="30"></circle>\n </svg>\n </div>\n <div class="is-modal is-modal-content page-command" tabindex="-1" role="dialog" aria-modal="true" aria-hidden="true">\n <div class="is-modal-bar is-draggable" draggable=""> \n <span style="display: flex;\n justify-content: center;\n align-items: center;">\n ${i.out("AI Assistant")}</span>\n <button class="is-modal-close" tabindex="-1" title="${i.out("Close")}">\n <svg class="is-icon-flex"style="width:20px;height:20px"><use xlink:href="#ion-ios-close-empty"></use></svg>\n </button>\n </div>\n <div style="display:flex;flex-direction:column;justify-content:space-between;position:absolute;box-sizing:border-box;top:0;left:0;width:100%;height:100%;border-top:transparent 35px solid;overflow-y:hidden;overflow-x:auto;">\n \n <textarea class="inp-command" style="resize:none;width:100%;height:121px;border:none;outline:none;background:transparent;line-height: 1.2;\n font-family: sans-serif;font-weight: 300;font-size: 17px;"></textarea>\n <div style="display:flex">\n <button title="${i.out("Mic")}" class="cmd-enable-dictation classic-secondary" style="width:40px;height:43px;flex:none;padding:0;outline-offset:-2px;">\n <svg class="is-icon-flex" style="width: 18px; height: 18px;"><use xlink:href="#icon-microphone"></use></svg> \n </button>\n <button title="${i.out("Commands")}" class="cmd-command-list classic-secondary" style="width:40px;height:43px;flex:none;padding:0;outline-offset:-2px;">\n <svg class="is-icon-flex" style="width: 18px; height: 18px;"><use xlink:href="#icon-message-search"></use></svg> \n </button>\n <button title="${i.out("Clear")}" class="cmd-clear-command classic-secondary" style="width:40px;height:43px;flex:none;padding:0;outline-offset:-2px;">\n <svg class="is-icon-flex" style="width: 18px; height: 18px;"><use xlink:href="#icon-eraser"></use></svg> \n </button>\n <label for="chkAutoSendCommand" style="margin:0;display:flex;padding-left:10px;padding-right:10px;white-space:nowrap;width:100%;align-items:center;letter-spacing:0"><input id="chkAutoSendCommand" type="checkbox"> <span style="margin-left:3px">${i.out("Auto Send")}</span></label>\n <button title="${i.out("Send")}" class="cmd-send-command classic-primary" style="width:100%;padding-left:5px;padding-right:5px;height:43px;outline-offset:-2px;">Send</button>\n </div>\n </div>\n </div>\n\n <div class="is-modal commandlist" tabindex="-1" role="dialog" aria-modal="true" aria-hidden="false">\n <div class="is-modal-overlay"></div>\n\n <div class="is-modal-content scroll-darker"">\n <button class="is-modal-close" tabindex="-1" title="${i.out("Close")}">\n <svg class="is-icon-flex"><use xlink:href="#ion-ios-close-empty"></use></svg>\n </button>\n <div>\n\n ${s}\n\n </div>\n </div>\n </div>\n `;df.appendHtml(n,r);const l=n.querySelector(".page-command");this.modalCommand=l;const a=n.querySelector(".commandlist");this.modalCommandList=a;const d=n.querySelector(".cmd-enable-dictation"),c=n.querySelector(".cmd-clear-command"),u=n.querySelector("#chkAutoSendCommand"),h=n.querySelector(".cmd-command-list"),p=this.builderStuff.querySelector(".inp-command");null===localStorage.getItem("_sampleshown")&&(p.setAttribute("placeholder",this.builder.commandPlaceholderText),localStorage.setItem("_sampleshown",!0)),this.builder.commandText="",this.builder.autoSendCommand=!1,null!==localStorage.getItem("_dictation")&&"1"===localStorage.getItem("_dictation")&&(this.modalCommand.classList.add("active"),null!==localStorage.getItem("_mic")?"1"===localStorage.getItem("_mic")&&this.startDictation():this.startDictation()),null!==localStorage.getItem("_mic")&&"0"===localStorage.getItem("_mic")&&(d.innerHTML='<svg class="is-icon-flex" style="width:18px; height:18px;"><use xlink:href="#icon-microphone-off"></use></svg>',u.parentNode.style.display="none",c.style.marginRight="6px"),null!==localStorage.getItem("_autosendcommand")&&"1"===localStorage.getItem("_autosendcommand")&&(u.checked=!0,this.builder.autoSendCommand=!0,localStorage.setItem("_autosendcommand","1")),this.modalCommand.addEventListener("focus",(()=>{i.saveSelection()})),h.addEventListener("click",(()=>{i.showModal(this.modalCommandList,!1,(()=>{h.removeAttribute("data-focus"),h.focus()}),!1),h.setAttribute("data-focus",!0)}));const g=t=>{this.builderStuff.querySelector(".inp-command").value=t,i.hideModal(this.modalCommandList)};a.querySelectorAll(".command-item").forEach((t=>{t.addEventListener("click",(()=>{g(t.innerText),p.focus()})),t.addEventListener("keydown",(e=>{13!==e.which||e.shiftKey||(e.preventDefault(),e.stopImmediatePropagation(),g(t.innerText),setTimeout((()=>{p.focus()}),300))}))})),d.addEventListener("click",(()=>{this.checkMic()?(this.stopDictation(),d.innerHTML='<svg class="is-icon-flex" style="width:18px; height:18px;"><use xlink:href="#icon-microphone-off"></use></svg>',localStorage.setItem("_mic","0"),u.parentNode.style.display="none",c.style.marginRight="6px"):(this.startDictation(),d.innerHTML='<svg class="is-icon-flex" style="width:18px; height:18px;"><use xlink:href="#icon-microphone"></use></svg>',localStorage.setItem("_mic","1"),u.parentNode.style.display="flex",c.style.marginRight="")})),u.addEventListener("change",(()=>{u.checked?(this.builder.autoSendCommand=!0,localStorage.setItem("_autosendcommand","1")):(this.builder.autoSendCommand=!1,localStorage.setItem("_autosendcommand","0"))})),c.addEventListener("click",(()=>{const t=this.builderStuff.querySelector(".inp-command");this.builder.commandText="",t.value="",t.focus()}));const m=n.querySelector(".cmd-send-command");m.addEventListener("click",(async()=>{if(this.builder.isInProgress)return void this.opts.abort();let t=this.modalCommand.querySelector(".inp-command").value;t=t.trim(),""!==t&&this.opts.send(t)})),p.addEventListener("keydown",(t=>{13!==t.keyCode||t.shiftKey||t.preventDefault()})),p.addEventListener("keyup",(t=>{if(13===t.keyCode&&!t.shiftKey)return m.click(),void t.preventDefault();this.builder.commandText=p.value}));this.modalCommand.querySelector(".is-modal-close").addEventListener("click",(()=>{this.modalCommand.classList.remove("active"),this.stopDictation(),localStorage.setItem("_dictation","0")})),this.initialStart=!1}checkMic(){return null===localStorage.getItem("_mic")||"0"!==localStorage.getItem("_mic")}openDictation(){const t=this.modalCommand.querySelector(".inp-command");if(this.modalCommand.classList.contains("active"))return void setTimeout((()=>{t.focus()}),600);this.modalCommand.classList.add("active"),t.focus(),localStorage.setItem("_dictation","1");const e=this.builderStuff.querySelector("#chkAutoSendCommand"),i=this.builderStuff.querySelector(".cmd-clear-command");if(!this.checkMic()){return this.builderStuff.querySelector(".cmd-enable-dictation").innerHTML='<svg class="is-icon-flex" style="width:18px; height:18px;"><use xlink:href="#icon-microphone-off"></use></svg>',e.parentNode.style.display="none",void(i.style.marginRight="6px")}e.parentNode.style.display="flex",i.style.marginRight="",this.startDictation()}stopDictation(){this.recognition&&this.recognition.abort(),this.aborted=!0,this.recorder&&this.recorder.stopRecording(),this.localStream&&this.localStream.getAudioTracks().forEach((t=>{t.stop()}))}async startDictation(){const t=this.modalCommand.querySelector(".inp-command");if(this.builder.onlineDemo)return setTimeout((()=>{const t=this.builderStuff.querySelector(".cmd-enable-dictation"),e=this.builderStuff.querySelector(".cmd-clear-command"),i=this.builderStuff.querySelector("#chkAutoSendCommand");this.stopDictation(),t.innerHTML='<svg class="is-icon-flex" style="width:18px; height:18px;"><use xlink:href="#icon-microphone-off"></use></svg>',localStorage.setItem("_mic","0"),i.parentNode.style.display="none",e.style.marginRight="6px"}),1),void this.util.showMessage(this.util.out("Speech recognition is disabled in this online demo. You can type your command/prompt in the textbox."),!0,(()=>{t.focus()}));if(this.builder.speechTranscribeUrl){this.websocket=new WebSocket(this.builder.speechTranscribeUrl);try{this.localStream=await navigator.mediaDevices.getUserMedia({audio:!0})}catch(t){return setTimeout((()=>{const t=this.builderStuff.querySelector(".cmd-enable-dictation"),e=this.builderStuff.querySelector(".cmd-clear-command"),i=this.builderStuff.querySelector("#chkAutoSendCommand");this.stopDictation(),t.innerHTML='<svg class="is-icon-flex" style="width:18px; height:18px;"><use xlink:href="#icon-microphone-off"></use></svg>',localStorage.setItem("_mic","0"),i.parentNode.style.display="none",e.style.marginRight="6px"}),1),void this.util.showMessage(this.util.out("No microphone found. Please activate your microphone and refresh the page."))}const e=16e3;this.recorder=new af(this.localStream,{type:"audio",desiredSampRate:e,numberOfAudioChannels:1,timeSlice:1e3,ondataavailable:t=>{this.websocket.send(t)}});(/constructor/i.test(window.HTMLElement)||"[object SafariRemoteNotification]"===(!window.safari||"undefined"!=typeof safari&&window.safari.pushNotification).toString())&&!this.initialStart&&(this.recorder.stopRecording(),this.initialStart=!0,this.startDictation());let i="";this.websocket.onmessage=e=>{const n=JSON.parse(e.data);if("can-open-mic"===n.event&&(this.recorder.startRecording(),this.aborted=!1),"transcript-result"===n.event){const e=n.data;if(this.builder.isInProgress||this.aborted)return;i+=" "+e,t.value=i,clearTimeout(this.speechTimeout),this.speechTimeout=setTimeout((()=>{if(this.builder.commandText="",i="",this.builder.autoSendCommand){if(""===t.value.trim())return;this.modalCommand.querySelector(".cmd-send-command").click()}}),this.builder.autoSendDelay)}}}else if("SpeechRecognition"in window||"webkitSpeechRecognition"in window||"mozSpeechRecognition"in window){const e=window.SpeechRecognition||window.webkitSpeechRecognition||window.mozSpeechRecognition;this.recognition=new e,this.recognition.continuous=!0,this.recognition.interimResults=!0;let i=this.builder.speechRecognitionLang;this.recognition.lang=i,this.recognition.start(),this.speechTimeout,this.builder.commandText="",this.recognition.onresult=e=>{if(this.builder.isInProgress)return;let i="",n="";for(var o=e.resultIndex;o<e.results.length;++o)e.results[o].isFinal?n+=e.results[o][0].transcript:i+=e.results[o][0].transcript;if(-1===i.indexOf("send")&&-1===n.indexOf("send"))this.builder.commandText+=n,t.value=this.builder.commandText,clearTimeout(this.speechTimeout),this.speechTimeout=setTimeout((()=>{if(this.builder.commandText="",this.builder.autoSendCommand){if(""===t.value.trim())return;this.modalCommand.querySelector(".cmd-send-command").click()}}),this.builder.autoSendDelay);else{this.modalCommand.querySelector(".cmd-send-command").click()}},this.recognition.onend=()=>{this.aborted||this.startDictation()},this.recognition.onstart=()=>{this.aborted=!1},this.recognition.onerror=t=>{console.log(t.message)}}else setTimeout((()=>{const t=this.builderStuff.querySelector(".cmd-enable-dictation"),e=this.builderStuff.querySelector(".cmd-clear-command"),i=this.builderStuff.querySelector("#chkAutoSendCommand");this.stopDictation(),t.innerHTML='<svg class="is-icon-flex" style="width:18px; height:18px;"><use xlink:href="#icon-microphone-off"></use></svg>',localStorage.setItem("_mic","0"),i.parentNode.style.display="none",e.style.marginRight="6px"}),1),this.util.showMessage(this.util.out("Speech recognition not supported in this browser."))}startSending(){this.modalCommand.querySelector(".cmd-send-command").innerHTML=`\n <svg class="spinner" width="14px" height="14px" viewBox="0 0 66 66" xmlns="http://www.w3.org/2000/svg">\n <circle class="path" fill="none" stroke-width="6" stroke-linecap="round" cx="33" cy="33" r="30"></circle>\n </svg>\n <span style="margin-left:5px">${this.util.out("Abort")}</span>\n `;const t=this.builderStuff.querySelector(".page-command-overlay");t&&(t.style.display="flex"),this.builder.isInProgress=!0}finish(){this.builder.isInProgress=!1;this.modalCommand.querySelector(".cmd-send-command").innerText=this.util.out("Send");const t=this.builderStuff.querySelector(".page-command-overlay");t&&(t.style.display="none")}}var uf={compareTwoStrings:hf,findBestMatch:function(t,e){if(!function(t,e){return"string"==typeof t&&(!!Array.isArray(e)&&(!!e.length&&!e.find((function(t){return"string"!=typeof t}))))}(t,e))throw new Error("Bad arguments: First argument should be a string, second should be an array of strings");const i=[];let n=0;for(let o=0;o<e.length;o++){const s=e[o],r=hf(t,s);i.push({target:s,rating:r}),r>i[n].rating&&(n=o)}const o=i[n];return{ratings:i,bestMatch:o,bestMatchIndex:n}}};function hf(t,e){if((t=t.replace(/\s+/g,""))===(e=e.replace(/\s+/g,"")))return 1;if(t.length<2||e.length<2)return 0;let i=new Map;for(let e=0;e<t.length-1;e++){const n=t.substring(e,e+2),o=i.has(n)?i.get(n)+1:1;i.set(n,o)}let n=0;for(let t=0;t<e.length-1;t++){const o=e.substring(t,t+2),s=i.has(o)?i.get(o):0;s>0&&(i.set(o,s-1),n++)}return 2*n/(t.length+e.length-2)}class pf{constructor(t){this.builder=t}check(t){const{commandList:e}=this.builder.settings;let i=0,n="";for(const[o,s]of Object.entries(e)){const e=this.calculate(t,s);e>i&&(i=e,n=o)}return i>=this.builder.similarityThreshold&&n}calculate(t,e){const i=t.toLowerCase();let n=0;for(const t of e){const e=uf.compareTwoStrings(i,t);e>n&&(n=e)}return n}}class gf{constructor(t={}){let e,i,s={page:"",container:".container",row:"",cols:[],colequal:[],colsizes:[],imageQuality:.92,elementSelection:!0,paste:"text",snippetJSON:{snippets:[]},onPreviewOpen:()=>{let t=this.html();localStorage.setItem("preview-html",t)},previewStyle:"top:auto;bottom:50px;left:50px;right:auto;",livePreviewOpen:!1,livePreviewAlwaysReload:!1,livePreviewReloadEvery:30,scriptPath:"",plugins:[],pluginPath:"contentbuilder/",disableConfig:!1,modulePath:"assets/modules/",assetPath:"assets/",fontAssetPath:"assets/fonts/",snippetData:"assets/minimalist-blocks/snippetlist.html",snippetUrl:"assets/minimalist-blocks/content.js",snippetPath:"assets/minimalist-blocks/",snippetPathReplace:[],snippetCategories:[[120,"Basic"],[118,"Article"],[101,"Headline"],[119,"Buttons"],[102,"Photos"],[103,"Profile"],[116,"Contact"],[104,"Products, Services"],[105,"Features"],[108,"Skills"],[109,"Achievements"],[106,"Process"],[107,"Pricing"],[110,"Quotes"],[111,"Partners"],[112,"As Featured On"],[113,"Page Not Found"],[114,"Coming Soon"],[115,"Help, FAQ"]],defaultSnippetCategory:120,snippetHandle:!0,sidePanel:"right",snippetList:"#divSnippetList",onRender:function(){},onChange:function(){},largerImageHandler:"",imageHandler:"",fileHandler:"",mediaHandler:"",videoHandler:"",audioHandler:"",colors:["#ff8f00","#ef6c00","#d84315","#c62828","#58362f","#37474f","#353535","#f9a825","#9e9d24","#558b2f","#ad1457","#6a1b9a","#4527a0","#616161","#00b8c9","#009666","#2e7d32","#0277bd","#1565c0","#283593","#9e9e9e"],builderMode:"",rowTool:"right",rowcolOutline:!0,columnTool:!0,outlineMode:"",toolStyle:"",outlineStyle:"",snippetAddTool:!0,elementTool:!0,elementHighlight:!0,columnHtmlEditor:!0,rowHtmlEditor:!0,htmlSyntaxHighlighting:!0,snippetOpen:!1,toolbar:"top",toolbarDisplay:"auto",shortenHTML:!0,resizeHeight:!1,snippetsSidebarDisplay:"auto",imageEmbed:!0,imageselect:"",fileselect:"",imageSelect:"",fileSelect:"",videoSelect:"",audioSelect:"",mediaSelect:"",selectIcon:'<svg class="is-icon-flex" style="width:16px;height:16px;"><use xlink:href="#icon-folder"></use></svg>',otherSelect:"",otherSelectCaption:"Select Document",otherSelectIcon:'<svg class="is-icon-flex" style="width:16px;height:16px;"><use xlink:href="#icon-list-search"></use></svg>',imageSelectWidth:"1024px",imageSelectHeight:"80vh",fileSelectWidth:"1024px",fileSelectHeight:"80vh",videoSelectWidth:"1024px",videoSelectHeight:"80vh",audioSelectWidth:"1024px",audioSelectHeight:"80vh",mediaSelectWidth:"1024px",mediaSelectHeight:"80vh",otherSelectWidth:"1024px",otherSelectHeight:"80vh",assetRefresh:!1,customTags:[],buttons:["bold","italic","underline","formatting","color","align","textsettings","createLink","tags","|","undo","redo","zoom","livepreview","more"],buttonsMore:["icon","image","|","list","font","formatPara","|","html","preferences"],elementButtons:["left","center","right","full","undo","redo","zoom","livepreview","more"],elementButtonsMore:["|","html","preferences"],iconButtons:["icon","color","textsettings","createLink","|","undo","redo","zoom","livepreview","more"],iconButtonsMore:["|","html","preferences"],lang:[],checkLang:!1,clearPreferences:!1,toolbarAddSnippetButton:!1,animateModal:!0,defaultFontSizes:[16,17,18,19,24,32,48,76,96,120,200,300],fontSizeClassValues:[12,14,15,16,17,18,19,21,24,28,32,35,38,42,46,48,50,54,60,64,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276,280,284,288,292,296,300,304,308,312,316,320,324,328,332,336,340,344,348,352,356,360,364,368,372,376,380,384,388,392,396,400],gradientcolors:[["linear-gradient(0deg, rgb(255, 57, 25), rgb(249, 168, 37))"],["linear-gradient(0deg, rgb(255, 57, 25), rgb(255, 104, 15))"],["linear-gradient(0deg, #FF5722, #FF9800)"],["linear-gradient(0deg, #613ca2, rgb(110, 123, 217))"],["linear-gradient(0deg, rgb(65, 70, 206), rgb(236, 78, 130))"],["linear-gradient(0deg, rgb(0, 150, 102), rgb(90, 103, 197))"],["linear-gradient(30deg, rgb(249, 119, 148), rgb(98, 58, 162))"],["linear-gradient(0deg, rgb(223, 70, 137), rgb(90, 103, 197))"],["linear-gradient(0deg, rgb(40, 53, 147), rgb(90, 103, 197))"],["linear-gradient(0deg, rgb(21, 101, 192), rgb(52, 169, 239))"],["linear-gradient(0deg, rgb(32, 149, 219), rgb(139, 109, 230))"],["linear-gradient(0deg, rgb(90, 103, 197), rgb(0, 184, 201))"],["linear-gradient(0deg, rgb(0, 184, 201), rgb(253, 187, 45))"],["linear-gradient(0deg, rgb(255, 208, 100), rgb(239, 98, 159))"],["linear-gradient(0deg, rgb(0, 214, 223), rgb(130, 162, 253))"],["linear-gradient(0deg, rgb(50, 234, 251), rgb(248, 247, 126))"],["linear-gradient(0deg, rgb(141, 221, 255), rgb(255, 227, 255))"],["linear-gradient(0deg, rgb(255, 170, 170), rgb(255, 255, 200))"],["linear-gradient(0deg, rgb(239, 239, 239), rgb(252, 252, 252))"]],elementEditor:!0,customval:"",moduleConfig:[],elementAnimate:!1,framework:"",cellFormat:"",rowFormat:"",emailMode:!1,absolutePath:!1,emailSnippetCategories:[[1,"Logo"],[14,"Call to Action"],[2,"Title"],[3,"Title, Subtitle"],[4,"Info, Title"],[7,"Paragraph"],[6,"Heading"],[8,"Buttons"],[9,"Callouts"],[10,"Images + Caption"],[12,"Images"],[13,"List"],[15,"Pricing"],[16,"Quotes"],[17,"Profile"],[18,"Contact Info"],[19,"Footer"],[20,"Separator"]],defaultEmailSnippetCategory:14,undoRedoStyles:!1,maxEmbedImageWidth:1600,zoom:1,useLightbox:!1,lightboxArrow:!0,imageRenameOnEdit:!0,disableAutoEmbedVideo:!1,deleteConfirm:!1,sectionTemplate:'\n <div class="is-section is-box is-section-100 type-opensans">\n <div class="is-overlay"></div>\n <div class="is-boxes">\n <div class="is-box-centered">\n <div class="is-container is-content-1100 v2 size-17 leading-13">\n [%CONTENT%]\n </div>\n </div>\n </div>\n </div>\n ',colHeight:[300,350,400,450,500,550,600,650,700],maxColumns:6,leadingPreset:[1,1.2,1.4,1.6,1.8,2,2.2],cssClasses:{fontWeight:{thin:"font-thin",extralight:"font-extralight",light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",extrabold:"font-extrabold",black:"font-black",defaultBold:"font-semibold",defaultNormal:"font-light"},fontStyle:{italic:"italic",normal:"not-italic"},textDecoration:{underline:"underline",linethrough:"line-through",normal:"no-underline"},textTransform:{uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize",normal:"normal-case"},tracking:{tracking__100:"tracking--100",tracking__075:"tracking--75",tracking__050:"tracking-tighter",tracking__025:"tracking-tight",tracking_000:"tracking-normal",tracking_025:"tracking-wide",tracking_050:"tracking-wider",tracking_075:"tracking-75",tracking_100:"tracking-widest",tracking_125:"tracking-125",tracking_150:"tracking-150",tracking_175:"tracking-175",tracking_200:"tracking-200",tracking_225:"tracking-225",tracking_250:"tracking-250",tracking_275:"tracking-275",tracking_300:"tracking-300",tracking_325:"tracking-325",tracking_350:"tracking-350",tracking_375:"tracking-375",tracking_400:"tracking-400",tracking_425:"tracking-425",tracking_450:"tracking-450",tracking_475:"tracking-475",tracking_500:"tracking-500"},leading:{leading_5:"leading-05",leading_6:"leading-06",leading_7:"leading-07",leading_8:"leading-08",leading_9:"leading-09",leading_10:"leading-none",leading_11:"leading-11",leading_12:"leading-12",leading_125:"leading-tight",leading_13:"leading-13",leading_1375:"leading-snug",leading_14:"leading-14",leading_15:"leading-normal",leading_16:"leading-16",leading_1625:"leading-relaxed",leading_17:"leading-17",leading_18:"leading-18",leading_19:"leading-19",leading_20:"leading-loose",leading_21:"leading-21",leading_22:"leading-22",leading_23:"leading-23",leading_24:"leading-24",leading_25:"leading-25",leading_26:"leading-26",leading_27:"leading-27",leading_28:"leading-28",leading_29:"leading-29",leading_30:"leading-30"},opacity:{opacity_0:"opacity-0",opacity_2:"opacity-2",opacity_4:"opacity-4",opacity_5:"opacity-5",opacity_6:"opacity-6",opacity_8:"opacity-8",opacity_10:"opacity-10",opacity_12:"opacity-12",opacity_15:"opacity-15",opacity_20:"opacity-20",opacity_25:"opacity-25",opacity_30:"opacity-30",opacity_35:"opacity-35",opacity_40:"opacity-40",opacity_45:"opacity-45",opacity_50:"opacity-50",opacity_55:"opacity-55",opacity_60:"opacity-60",opacity_65:"opacity-65",opacity_70:"opacity-70",opacity_75:"opacity-75",opacity_80:"opacity-80",opacity_85:"opacity-85",opacity_90:"opacity-90",opacity_95:"opacity-95",opacity_100:"opacity-100"},padding:{all:{p_0:"p-0",p_1:"p-1",p_2:"p-2",p_3:"p-3",p_4:"p-4",p_5:"p-5",p_6:"p-6",p_7:"p-7",p_8:"p-8",p_9:"p-9",p_10:"p-10",p_11:"p-11",p_12:"p-12",p_14:"p-14",p_16:"p-16",p_20:"p-20"},x:{px_0:"px-0",px_1:"px-1",px_2:"px-2",px_3:"px-3",px_4:"px-4",px_5:"px-5",px_6:"px-6",px_7:"px-7",px_8:"px-8",px_9:"px-9",px_10:"px-10",px_11:"px-11",px_12:"px-12",px_14:"px-14",px_16:"px-16",px_20:"px-20"},y:{py_0:"py-0",py_1:"py-1",py_2:"py-2",py_3:"py-3",py_4:"py-4",py_5:"py-5",py_6:"py-6",py_7:"py-7",py_8:"py-8",py_9:"py-9",py_10:"py-10",py_11:"py-11",py_12:"py-12",py_14:"py-14",py_16:"py-16",py_20:"py-20"},top:{pt_0:"pt-0",pt_1:"pt-1",pt_2:"pt-2",pt_3:"pt-3",pt_4:"pt-4",pt_5:"pt-5",pt_6:"pt-6",pt_7:"pt-7",pt_8:"pt-8",pt_9:"pt-9",pt_10:"pt-10",pt_11:"pt-11",pt_12:"pt-12",pt_14:"pt-14",pt_16:"pt-16",pt_20:"pt-20"},right:{pr_0:"pr-0",pr_1:"pr-1",pr_2:"pr-2",pr_3:"pr-3",pr_4:"pr-4",pr_5:"pr-5",pr_6:"pr-6",pr_7:"pr-7",pr_8:"pr-8",pr_9:"pr-9",pr_10:"pr-10",pr_11:"pr-11",pr_12:"pr-12",pr_14:"pr-14",pr_16:"pr-16",pr_20:"pr-20"},bottom:{pb_0:"pb-0",pb_1:"pb-1",pb_2:"pb-2",pb_3:"pb-3",pb_4:"pb-4",pb_5:"pb-5",pb_6:"pb-6",pb_7:"pb-7",pb_8:"pb-8",pb_9:"pb-9",pb_10:"pb-10",pb_11:"pb-11",pb_12:"pb-12",pb_14:"pb-14",pb_16:"pb-16",pb_20:"pb-20"},left:{pl_0:"pl-0",pl_1:"pl-1",pl_2:"pl-2",pl_3:"pl-3",pl_4:"pl-4",pl_5:"pl-5",pl_6:"pl-6",pl_7:"pl-7",pl_8:"pl-8",pl_9:"pl-9",pl_10:"pl-10",pl_11:"pl-11",pl_12:"pl-12",pl_14:"pl-14",pl_16:"pl-16",pl_20:"pl-20"}},extend:{superscript:"sup",subscript:"sub"},textAlign:{left:"text-left",center:"text-center",right:"text-right",justify:"text-justify"},display:{flex:"flex",block:"block",inline:"inline",inline_block:"inline-block"},flexDirection:{row:"flex-row",column:"flex-col",row_reverse:"flex-row-reverse",column_reverse:"flex-col-reverse"},flexWrap:{wrap:"flex-wrap",nowrap:"flex-nowrap",wrap_reverse:"flex-wrap-reverse"},justifyContent:{start:"justify-start",end:"justify-end",center:"justify-center",between:"justify-between",around:"justify-around",evenly:"justify-evenly"},alignItems:{start:"items-start",end:"items-end",center:"items-center",baseline:"items-baseline",stretch:"items-stretch"}},useCssClasses:!0,useButtonPlugin:!1,enableDragResize:!0,simpleTextSettings:!1,enableColumnsPerLine:!0,isContentBox:!1,sendCommandUrl:"http://localhost:8081/answer",onlineDemo:!1,autoSendDelay:3e3,commandPlaceholderText:"",enableShortCommands:!0,speechRecognitionLang:"en-US",headlineList:["We create simple and effective designs.","Ultimate Experiences With Story, Emotion, And Purpose.","Build Anything Beautifully","With Less Stuff and More Compassion","We're [CompanyName]. Full stack development with a spark of creativity.","Transforming your digital experience with [CompanyName]. Achieve your online goals with our customized solutions.","Revolutionizing web development with [CompanyName]. Unleash your digital potential with our high-performance solutions.","Creative and Inspiring"],shortCommandList:{undo:["undo"],redo:["undo"],increase:["increase","bigger","larger","enlarge"],decrease:["decrease","smaller"],bold:["bold"],italic:["italic"],underline:["underline"],strikethrough:["strikethrough"],superscript:["superscript"],subscript:["subscript"],uppercase:["uppercase"],lowercase:["lowercase"],capitalize:["capitalize"],clean:["clean"]},similarityThreshold:.65,commandList:{select:["select","select first"],select_next:["select next","select after"],select_previous:["select previous","select before"],select_last:["select last"],select_headline:["select headline"],select_paragraph:["select paragraph"],select_button:["select button"],select_space:["select space"],select_image:["select image"],change_font:["change font","change typography","change style"],fade_in:["fade in"],fade_in_slow:["fade in slow"],fade_in_up:["fade in up"],fade_in_up_slow:["fade in up slow"],slide_up:["slide up"],slide_up_slow:["slide up slow"],zoom_in:["zoom in"],zoom_out:["zoom out"],animate_once:["animate once"],always_animate:["always animate"],remove_animation:["remove animation","clear animation","remove fade in","clear fade in","remove slide up","clear slide up","remove zoom in","clear zoom in","remove zoom out","clear zoom out"],add_bg_color:["add background color"],add_bg_image:["add background image","add background"],change_bg_color:["change background color"],change_bg_image:["change background image","change background"],remove_bg_color:["remove background color","clear background color"],remove_bg:["remove background","remove background image","clear background","clear background image"],increase_content_width:["increase content width","enlarge content width"],decrease_content_width:["decrease content width","reduce content width"],clear_content_width:["clear content width","remove content width","make content full","full width content"],make_content_light:["make content white","make content light","make text white","make text light","change content white","change content light","change text white","change text light","change to white content","change to light content","change to white text","change to light text"],make_content_dark:["make content black","make content dark","make text black","make text dark","change content black","change content dark","change text black","change text dark","change to black content","change to dark content","change to black text","change to dark text"],make_section_height_10:["make section height 10"],make_section_height_15:["make section height 15"],make_section_height_20:["make section height 20"],make_section_height_25:["make section height 25"],make_section_height_30:["make section height 30"],make_section_height_40:["make section height 40"],make_section_height_50:["make section height 50"],make_section_height_60:["make section height 60"],make_section_height_70:["make section height 70"],make_section_height_75:["make section height 75"],make_section_height_80:["make section height 80"],make_section_height_85:["make section height 85"],make_section_height_90:["make section height 90"],make_section_height_100:["make section height 100"],make_section_height_auto:["make section height auto"],suggest_headline:["suggest headline","suggest header","suggest title","write headline","write header","write title"],suggest_tagline:["suggest tagline","write tagline"],add_headline:["add headline","add header","add title"],add_paragraph:["add paragraph"],add_image:["add image"],add_youtube:["add youtube"],add_video:["add video"],remove_video:["remove video","clear video"],add_bg_video:["add background video"],remove_bg_video:["remove background video","clear background video"],add_slider:["add slider"],remove_slider:["remove slider","clear slider"],add_bg_slider:["add background slider"],remove_bg_slider:["remove background slider","clear background slider"],add_audio:["add audio","add music","add mp3"],add_map:["add map","add google map"],add_table:["add table"],add_social:["add social"],add_icon:["add icon"],add_button:["add button"],add_2buttons:["add 2 button","add 2 buttons"],add_space:["add space"],position_before:["above","before"],increase_line_height:["increase line height","increase line spacing","increase text spacing","enlarge line height","enlarge line spacing","enlarge text spacing","bigger line height","bigger line spacing","bigger text spacing","make line height bigger","make line spacing bigger","make text spacing bigger"],increase_default_line_height:["increase default line height","increase default line spacing","increase default text spacing","enlarge default line height","enlarge default line spacing","enlarge default text spacing","bigger default line height","bigger default line spacing","bigger default text spacing","make default line height bigger","make default line spacing bigger","make default text spacing bigger"],decrease_line_height:["decrease line height","decrease line spacing","decrease text spacing","reduce line height","reduce line spacing","reduce text spacing","smaller line height","smaller line spacing","smaller text spacing","make line height smaller","make line spacing smaller","make text spacing smaller"],decrease_default_line_height:["decrease default line height","decrease default line spacing","decrease default text spacing","reduce default line height","reduce default line spacing","reduce default text spacing","smaller default line height","smaller default line spacing","smaller default text spacing","make default line height smaller","make default line spacing smaller","make default text spacing smaller"],increase_font_size:["increase font","increase size","increase font size","increase text","increase size","increase text size","enlarge font","enlarge size","enlarge font size","enlarge text","enlarge size","enlarge text size","text bigger","font bigger","size bigger"],decrease_font_size:["decrease font","decrease size","decrease font size","decrease text","decrease size","decrease text size","reduce font","reduce size","reduce font size","reduce text","reduce size","reduce text size","text smaller","font smaller","size smaller"],increase_default_font_size:["increase default font","increase default size","increase default font size","increase default text","increase default size","increase default text size","enlarge default font","enlarge default size","enlarge default font size","enlarge default text","enlarge default text size","default text bigger","default font bigger","default size bigger","increase default content","increase default content size","enlarge default content","enlarge default content size"],decrease_default_font_size:["decrease default font","decrease default size","decrease default font size","decrease default text","decrease default size","decrease default text size","reduce default font","reduce default size","reduce default font size","reduce default text","reduce default text size","default text smaller","default font smaller","default size smaller","decrease default content","decrease default content size","reduce default content","reduce default content size"],clear_font_size:["clear font size","remove font size","clear text size","remove text size","use default font size"],align_left:["align left","align text left","left aligned"],align_center:["align center","align text center","center aligned"],align_right:["align right","align text right","right aligned"],align_full:["align full","align justify","justify","justify text","justify full"],clear_alignment:["clear alignment","remove alignment","clear text alignment","remove text alignment"],make_content_centered:["make content center"],move_content_left:["move content left","place content left"],move_content_center:["move content center","place content center"],move_content_right:["move content right","place content right"],move_content_top:["move content top","place content top"],move_content_middle:["move content middle","place content middle"],move_content_bottom:["move content bottom","place content bottom"],increase_space:["more space","increase space","enlarge space"],decrease_space:["less space","decrease space","reduce space"],move_up:["move up"],move_down:["move down"],move_row_up:["move row up"],move_row_down:["move row down"],duplicate_row:["duplicate row","copy row"],remove_row:["remove row","delete row"],move_col_left:["move left","move column left"],move_col_right:["move right","move column right"],duplicate_col:["duplicate column","copy column"],remove_col:["remove column","delete column"],move_column_up:["move column up"],move_column_down:["move column down"],move_section_up:["move section up"],move_section_down:["move section down"],move_section_top:["move section top"],move_section_bottom:["move section bottom"],duplicate_section:["duplicate section","copy section"],remove_section:["remove section","delete section"],remove_content:["remove content","remove all text","remove all content","delete content","delete all text","delete all content","clear content","clear all text","clear all content"],add_content:["add content","add text"]},commandInfo:{general:{title:"General",list:["Let's redesign the layout to enhance its visual appeal and user experience.","Rewrite all the text to improve the overall copywriting quality.","Can you come up with another rendition of the content or offer an alternative wording?","Can you suggest a captivating headline for us?","Undo","Redo"]},selection:{title:"Selection",list:["Select the headline","Select the next block","Move up","Move down","Duplicate row","Remove row","Move column left","Move column right","Duplicate column","Remove column"]},element:{title:"Element",list:["Add a paragraph","Add an image","Add a youtube","Add a button","Add two buttons","Add a space","Increase the space","Reduce the space"]},text:{title:"Text Formatting",list:["Increase font size","Clear font size","Align center","Align right","Align justify","Clear alignment","Bold","Italic","Underline","Strikethrough","Uppercase","Clean"]}}};if(this.opts=Object.assign(this,s,t),window.data_basic&&(this.opts.snippetJSON=window.data_basic,""===this.opts.snippetPath&&(this.opts.snippetPath=window._snippets_path)),this.opts.snippetDisplay&&("auto"===this.opts.snippetDisplay?this.opts.snippetsSidebarDisplay="auto":this.opts.snippetsSidebarDisplay="always"),""===this.opts.scriptPath&&(this.opts.scriptPath=this.currentScriptPath()),window._txt&&(this.opts.lang=window._txt),this.settings=this.opts,""!==this.opts.imageSelect?this.opts.imageselect=this.opts.imageSelect:""!==this.opts.imageselect&&(this.opts.imageSelect=this.opts.imageselect),""!==this.opts.fileSelect?this.opts.fileselect=this.opts.fileSelect:""!==this.opts.fileselect&&(this.opts.fileSelect=this.opts.fileselect),""!==this.opts.videoSelect?this.opts.videoselect=this.opts.videoSelect:""!==this.opts.videoselect&&(this.opts.videoSelect=this.opts.videoselect),this.opts.onImageUpload||this.opts.onLargerImageUpload||(this.opts.onImageUpload=this.opts.onMediaUpload),this.opts.imageHandler||this.opts.largerImageHandler||(this.opts.imageHandler=this.opts.mediaHandler),""!==this.opts.imageHandler&&(this.opts.largerImageHandler=this.opts.imageHandler),this.opts.onImageUpload&&(this.opts.onLargerImageUpload=this.opts.onImageUpload),this.opts.emailMode&&(this.useButtonPlugin=!0),!this.useButtonPlugin){let t=this.plugins.filter((t=>"buttoneditor"!==t.name));this.plugins=[...t]}if("bootstrap"===this.opts.framework?(this.opts.row="row",this.opts.cols=["col-md-1","col-md-2","col-md-3","col-md-4","col-md-5","col-md-6","col-md-7","col-md-8","col-md-9","col-md-10","col-md-11","col-md-12"],this.opts.colequal=[],this.opts.colsizes=[]):"tailwind"===this.opts.framework?(this.opts.row="flex flex-col md:flex-row",this.opts.cols=["w-full md:w-1/12 px-4","w-full md:w-2/12 px-4","w-full md:w-3/12 px-4","w-full md:w-4/12 px-4","w-full md:w-5/12 px-4","w-full md:w-6/12 px-4","w-full md:w-7/12 px-4","w-full md:w-8/12 px-4","w-full md:w-9/12 px-4","w-full md:w-10/12 px-4","w-full md:w-11/12 px-4","w-full px-4"],this.opts.colequal=[],this.opts.colsizes=[]):"foundation"===this.opts.framework?(this.opts.row="row",this.opts.cols=["large-1 columns","large-2 columns","large-3 columns","large-4 columns","large-5 columns","large-6 columns","large-7 columns","large-8 columns","large-9 columns","large-10 columns","large-11 columns","large-12 columns"],this.opts.colequal=[],this.opts.colsizes=[]):"material"===this.opts.framework?(this.opts.row="mdl-grid",this.opts.cols=["mdl-cell mdl-cell--1-col","mdl-cell mdl-cell--2-col","mdl-cell mdl-cell--3-col","mdl-cell mdl-cell--4-col","mdl-cell mdl-cell--5-col","mdl-cell mdl-cell--6-col","mdl-cell mdl-cell--7-col","mdl-cell mdl-cell--8-col","mdl-cell mdl-cell--9-col","mdl-cell mdl-cell--10-col","mdl-cell mdl-cell--11-col","mdl-cell mdl-cell--12-col"],this.opts.colequal=[],this.opts.colsizes=[]):"uikit"===this.opts.framework?(this.opts.row="",this.opts.cols=[],this.opts.colequal=[],this.opts.colsizes=[],this.opts.cellFormat='<div class="uk-width-1-1"></div>',this.opts.rowFormat='<div class="uk-grid"></div>'):""!==this.opts.row&&this.opts.cols.length>0||""===this.opts.cellFormat&&""===this.opts.rowFormat&&(this.useDefaultGrid=!0,this.opts.row="row",this.opts.cols=["column twelfth","column eleventh","column tenth","column ninth","column eighth","column seventh","column sixth","column fifth","column fourth","column third","column half","column two-third","column two-fourth","column two-fifth","column two-sixth","column"],this.opts.colequal=[["column twelfth","column twelfth","column twelfth","column twelfth","column twelfth","column twelfth","column twelfth","column twelfth","column twelfth","column twelfth","column twelfth","column twelfth"],["column eleventh","column eleventh","column eleventh","column eleventh","column eleventh","column eleventh","column eleventh","column eleventh","column eleventh","column eleventh","column eleventh"],["column tenth","column tenth","column tenth","column tenth","column tenth","column tenth","column tenth","column tenth","column tenth","column tenth"],["column ninth","column ninth","column ninth","column ninth","column ninth","column ninth","column ninth","column ninth","column ninth"],["column eighth","column eighth","column eighth","column eighth","column eighth","column eighth","column eighth","column eighth"],["column seventh","column seventh","column seventh","column seventh","column seventh","column seventh","column seventh"],["column sixth","column sixth","column sixth","column sixth","column sixth","column sixth"],["column fifth","column fifth","column fifth","column fifth","column fifth"],["column fourth","column fourth","column fourth","column fourth"],["column third","column third","column third"],["column half","column half"]],this.opts.colsizes=[[["column third","column third","column third"],["column half","column fourth","column fourth"]],[["column sixth","column two-sixth"],["column fifth","column two-fifth"],["column fourth","column two-fourth"],["column third","column two-third"],["column half","column half"],["column two-third","column third"],["column two-fourth","column fourth"],["column two-fifth","column fifth"],["column two-sixth","column sixth"]]]),this.sortableObjects=[],this.iframe){e=this.iframe.contentWindow;let t=this.iframe.contentDocument||this.iframe.contentWindow.document;i=t,this.iframeDocument=t}else e=window,i=document;this.win=e,this.doc=i,this.doc.body.classList.add("data-editor");const r=new o(this);this.dom=r;const l=new n(this);this.util=l,this.pageTemplate||(this.pageTemplate=l.getPageTemplate(this.framework));const a=new of(this);if(this.responsive=a,this.iframe){let t=i.querySelector(".content-stuff");t||(t=document.createElement("div"),t.className="content-stuff is-ui",t.id="_cbhtml",i.body.appendChild(t)),this.contentStuff=t,this.stuff=new ef(this)}this.isTouchSupport=l.isTouchSupport(),this.isIE=l.detectIE(),this.opts.clearPreferences&&l.clearPreferences(),this.uoTm=null,this.uo=new Ai(this),this.cbDom=r,this.autoclean=!1,this.filesAdded="",this.opts.emailMode&&this.applyStyle("emailmode",".is-builder > div {display: block}");let d=document.querySelector("#_cbhtml");var c;d||(d=this.dom.createElement("div"),d.id="_cbhtml",d.className="is-ui",this.dom.appendChild(document.body,d)),this.builderStuff=d,(c=this).dom.appendHtml(c.builderStuff,'<svg width="0" height="0" style="position:absolute;display:none;">\n <defs>\n <symbol viewBox="0 0 512 512" id="ion-ios-arrow-left"><path d="M352 115.4L331.3 96 160 256l171.3 160 20.7-19.3L201.5 256z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-arrow-right"><path d="M160 115.4L180.7 96 352 256 180.7 416 160 396.7 310.5 256z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-plus-outline"><path d="M256 48C141.1 48 48 141.1 48 256s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48zm0 398.7c-105.1 0-190.7-85.5-190.7-190.7S150.9 65.3 256 65.3 446.7 150.9 446.7 256 361.1 446.7 256 446.7z"></path><path d="M264.1 128h-16.8v119.9H128v16.8h119.3V384h16.8V264.7H384v-16.8H264.1z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-image"><path d="M368 224c26.5 0 48-21.5 48-48s-21.5-48-48-48-48 21.5-48 48 21.5 48 48 48z"></path><path d="M452 64H60c-15.6 0-28 12.7-28 28.3v327.4c0 15.6 12.4 28.3 28 28.3h392c15.6 0 28-12.7 28-28.3V92.3c0-15.6-12.4-28.3-28-28.3zM348.9 261.7c-3-3.5-7.6-6.2-12.8-6.2-5.1 0-8.7 2.4-12.8 5.7L304.6 277c-3.9 2.8-7 4.7-11.5 4.7-4.3 0-8.2-1.6-11-4.1-1-.9-2.8-2.6-4.3-4.1L224 215.3c-4-4.6-10-7.5-16.7-7.5-6.7 0-12.9 3.3-16.8 7.8L64 368.2V107.7c1-6.8 6.3-11.7 13.1-11.7h357.7c6.9 0 12.5 5.1 12.9 12l.3 260.4-99.1-106.7z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-photos-outline"><path d="M96 128v320h384V128H96zm368 304H112V144h352v288z"></path><path d="M32 64v320h48v-16H48V80h352v32h16V64z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-settings-strong"><path d="M32 376h283.35c6.186-14.112 20.281-24 36.65-24s30.465 9.888 36.65 24H480v32h-91.35c-6.186 14.112-20.281 24-36.65 24s-30.465-9.888-36.65-24H32M32 240h91.35c6.186-14.112 20.281-24 36.65-24s30.465 9.888 36.65 24H480v32H196.65c-6.186 14.112-20.281 24-36.65 24s-30.465-9.888-36.65-24H32M32 104h283.35c6.186-14.112 20.281-24 36.65-24s30.465 9.888 36.65 24H480v32h-91.35c-6.186 14.112-20.281 24-36.65 24s-30.465-9.888-36.65-24H32"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-settings"><path d="M352 104c8.837 0 16 7.163 16 16s-7.163 16-16 16-16-7.163-16-16 7.163-16 16-16m0-16c-17.645 0-32 14.355-32 32s14.355 32 32 32 32-14.355 32-32-14.355-32-32-32zM352 376c8.837 0 16 7.163 16 16s-7.163 16-16 16-16-7.163-16-16 7.163-16 16-16m0-16c-17.645 0-32 14.355-32 32s14.355 32 32 32 32-14.355 32-32-14.355-32-32-32zM160 240c8.837 0 16 7.163 16 16s-7.163 16-16 16-16-7.163-16-16 7.163-16 16-16m0-16c-17.645 0-32 14.355-32 32s14.355 32 32 32 32-14.355 32-32-14.355-32-32-32zM207.32 248H480v16H207.32c.439-2.604.68-5.273.68-8s-.24-5.396-.68-8zM112 256c0 2.727.24 5.396.68 8H32v-16h80.68a47.955 47.955 0 0 0-.68 8zM399.32 384H480v16h-80.68c.439-2.604.68-5.273.68-8s-.24-5.396-.68-8zM304 392c0 2.727.24 5.396.68 8H32v-16h272.68a47.955 47.955 0 0 0-.68 8zM399.32 112H480v16h-80.68c.439-2.604.68-5.273.68-8s-.24-5.396-.68-8zM304.68 112c-.439 2.604-.68 5.273-.68 8s.24 5.396.68 8H32v-16h272.68z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-android-options"><path d="M32 384h272v32H32zM400 384h80v32h-80zM384 447.5c0 17.949-14.327 32.5-32 32.5-17.673 0-32-14.551-32-32.5v-95c0-17.949 14.327-32.5 32-32.5 17.673 0 32 14.551 32 32.5v95z"></path><g><path d="M32 240h80v32H32zM208 240h272v32H208zM192 303.5c0 17.949-14.327 32.5-32 32.5-17.673 0-32-14.551-32-32.5v-95c0-17.949 14.327-32.5 32-32.5 17.673 0 32 14.551 32 32.5v95z"></path></g><g><path d="M32 96h272v32H32zM400 96h80v32h-80zM384 159.5c0 17.949-14.327 32.5-32 32.5-17.673 0-32-14.551-32-32.5v-95c0-17.949 14.327-32.5 32-32.5 17.673 0 32 14.551 32 32.5v95z"></path></g></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-list-number"><rect x="0" y="0" width="2048.00" height="2048.00" fill="none" /><g transform="matrix(1,0,0,1,1024.0,1024.0)"><path d="M-1043.45,1024 C-1039.25,946.283 -1023.18,878.648 -995.249,821.096 C-967.313,763.544 -912.806,711.242 -831.728,664.192 L-710.742,594.247 C-656.55,562.74 -618.532,535.854 -596.687,513.589 C-562.24,478.722 -545.016,438.813 -545.016,393.863 C-545.016,341.352 -560.769,299.658 -592.276,268.781 C-623.783,237.904 -665.792,222.466 -718.304,222.466 C-796.02,222.466 -849.792,251.873 -879.619,310.685 C-895.582,342.192 -904.404,385.882 -906.084,441.754 L-1021.4,441.754 C-1020.14,363.197 -1005.65,299.133 -977.92,249.562 C-928.769,162.183 -842.02,118.494 -717.673,118.494 C-614.331,118.494 -538.82,146.43 -491.139,202.302 C-443.459,258.174 -419.619,320.347 -419.619,388.822 C-419.619,461.078 -445.034,522.831 -495.865,574.082 C-525.272,603.909 -577.993,640.037 -654.03,682.466 L-740.358,730.356 C-781.527,753.041 -813.874,774.676 -837.399,795.26 C-879.408,831.808 -905.874,872.347 -916.797,916.877 L-424.03,916.877 L-424.03,1024 L-1043.45,1024 Z " /><path d="M-922.391,-764.384 L-922.391,-851.343 C-840.474,-859.324 -783.341,-872.662 -750.994,-891.356 C-718.647,-910.05 -694.492,-954.265 -678.529,-1024 L-589.049,-1024 L-589.049,-125.425 L-710.035,-125.425 L-710.035,-764.384 L-922.391,-764.384 Z " /><path d="M-198.618,-510.942 L-198.618,-667.156 L1004.57,-667.156 L1004.57,-510.942 L-198.618,-510.942 Z " /><path d="M-198.618,78.1071 L-198.618,-78.1071 L1004.57,-78.1071 L1004.57,78.1071 L-198.618,78.1071 Z " /><path d="M-179.185,649.354 L-179.185,493.14 L1024,493.14 L1024,649.354 L-179.185,649.354 Z " /></g></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-list-bullet"><rect x="0" y="0" width="2048.00" height="2048.00" fill="none" /><g transform="matrix(1,0,0,1,1024.0,1024.0)"><path d="M-379.801,-514.33 L-379.801,-670.545 L914.662,-670.545 L914.662,-514.33 L-379.801,-514.33 Z " /><path d="M-379.801,78.1071 L-379.801,-78.1071 L914.662,-78.1071 L914.662,78.1071 L-379.801,78.1071 Z " /><path d="M-379.801,670.545 L-379.801,514.33 L914.662,514.33 L914.662,670.545 L-379.801,670.545 Z " /><path d="M-929.642,-469.441 L-929.642,-715.434 L-669.092,-715.434 L-669.092,-469.441 L-929.642,-469.441 Z " /><path d="M-929.642,127.109 L-929.642,-118.885 L-669.092,-118.885 L-669.092,127.109 L-929.642,127.109 Z " /><path d="M-929.642,715.434 L-929.642,469.441 L-669.092,469.441 L-669.092,715.434 L-929.642,715.434 Z " /></g></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-clean">\n <g transform="matrix(1,0,0,1,1024.0,1024.0)">\n <path d="M75.0013,893.849 L-1030.73,900.993 L-32.1518,-880.838 L1009.54,-880.838 L75.0013,893.849 Z " fill="currentColor" />\n <path d="M-30.8571,780.685 L-845.2,787.828 L-508.893,193.749 L305.26,194.963 L-30.8571,780.685 Z " fill="#ffffff" fill-opacity="1.00" />\n </g>\n </symbol>\n <symbol viewBox="0 0 512 512" id="ion-location"><path d="M256 64c-65.9 0-119.3 53.7-119.3 120 0 114.6 119.3 264 119.3 264s119.3-149.4 119.3-264c0-66.3-53.4-120-119.3-120zm0 178.2c-31.2 0-56.4-25.4-56.4-56.7 0-31.3 25.3-56.8 56.4-56.8 31.2 0 56.4 25.4 56.4 56.8 0 31.3-25.2 56.7-56.4 56.7z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-film-outline"><path d="M0 360h400v-336h-400v336zM72 40v48h-56v-48h56zM72 104v48h-56v-48h56zM72 168v48h-56v-48h56zM72 232v48h-56v-48h56zM72 296v48h-56v-48h56zM312 40v144h-224v-144h224zM312 200v144h-224v-144h224zM384 40v48h-56v-48h56zM384 104v48h-56v-48h56zM384 168v48h-56v-48\n h56zM384 232v48h-56v-48h56zM384 296v48h-56v-48h56z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-social-youtube-outline"><path d="M265 96c65.3 0 118.7 1.1 168.1 3.3h1.4c23.1 0 42 22 42 49.1v1.1l.1 1.1c2.3 34 3.4 69.3 3.4 104.9.1 35.6-1.1 70.9-3.4 104.9l-.1 1.1v1.1c0 13.8-4.7 26.6-13.4 36.1-7.8 8.6-18 13.4-28.6 13.4h-1.6c-52.9 2.5-108.8 3.8-166.4 3.8h-10.6.1-10.9c-57.8 0-113.7-1.3-166.2-3.7h-1.6c-10.6 0-20.7-4.8-28.5-13.4-8.6-9.5-13.4-22.3-13.4-36.1v-1.1l-.1-1.1c-2.4-34.1-3.5-69.4-3.3-104.7v-.2c-.1-35.3 1-70.5 3.3-104.6l.1-1.1v-1.1c0-27.2 18.8-49.3 41.9-49.3h1.4c49.5-2.3 102.9-3.3 168.2-3.3H265m0-32.2h-18c-57.6 0-114.2.8-169.6 3.3-40.8 0-73.9 36.3-73.9 81.3C1 184.4-.1 220 0 255.7c-.1 35.7.9 71.3 3.4 107 0 45 33.1 81.6 73.9 81.6 54.8 2.6 110.7 3.8 167.8 3.8h21.6c57.1 0 113-1.2 167.9-3.8 40.9 0 74-36.6 74-81.6 2.4-35.7 3.5-71.4 3.4-107.1.1-35.7-1-71.3-3.4-107.1 0-45-33.1-81.1-74-81.1C379.2 64.8 322.7 64 265 64z"></path><path d="M207 353.8V157.4l145 98.2-145 98.2z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-play"><path d="M128 96v320l256-160L128 96z"></path></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-align-full"><rect x="0" y="0" width="2048.00" height="2048.00" fill="none" /><g transform="matrix(1,0,0,1,1024.0,1024.0)"><path d="M-770.727,738.299 L-770.727,582.085 L769.712,582.085 L769.712,738.299 L-770.727,738.299 Z " /><path d="M-770.727,-534.628 L-770.727,-690.842 L769.712,-690.842 L769.712,-534.628 L-770.727,-534.628 Z " /><path d="M-770.219,-115.563 L-770.219,-271.777 L770.219,-271.777 L770.219,-115.563 L-770.219,-115.563 Z " /><path d="M-770.219,303.503 L-770.219,147.288 L770.219,147.288 L770.219,303.503 L-770.219,303.503 Z " /></g></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-align-center"><rect x="0" y="0" width="2048.00" height="2048.00" fill="none" /><g transform="matrix(1,0,0,1,1024.0,1024.0)"><path d="M-770.727,738.299 L-770.727,582.085 L769.712,582.085 L769.712,738.299 L-770.727,738.299 Z " /><path d="M-552.286,-107.697 L-552.286,-263.911 L552.286,-263.911 L552.286,-107.697 L-552.286,-107.697 Z " /><path d="M-467.355,319.234 L-467.355,163.02 L466.34,163.02 L466.34,319.234 L-467.355,319.234 Z " /><path d="M-770.727,-534.628 L-770.727,-690.842 L769.712,-690.842 L769.712,-534.628 L-770.727,-534.628 Z " /></g></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-align-left"><rect x="0" y="0" width="2048.00" height="2048.00" fill="none" /><g transform="matrix(1,0,0,1,1024.0,1024.0)"><path d="M-770.727,738.299 L-770.727,582.085 L769.712,582.085 L769.712,738.299 L-770.727,738.299 Z " /><path d="M-770.727,-534.628 L-770.727,-690.842 L769.712,-690.842 L769.712,-534.628 L-770.727,-534.628 Z " /><path d="M-770.219,-115.563 L-770.219,-271.777 L482.839,-271.777 L482.839,-115.563 L-770.219,-115.563 Z " /><path d="M-770.219,303.503 L-770.219,147.288 L122.787,147.288 L122.787,303.503 L-770.219,303.503 Z " /></g></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-align-right"><rect x="0" y="0" width="2048.00" height="2048.00" fill="none" /><g transform="matrix(1,0,0,1,1024.0,1024.0)"><path d="M-770.727,738.299 L-770.727,582.085 L769.712,582.085 L769.712,738.299 L-770.727,738.299 Z " /><path d="M-770.727,-534.628 L-770.727,-690.842 L769.712,-690.842 L769.712,-534.628 L-770.727,-534.628 Z " /><path d="M-483.346,-118.081 L-483.346,-274.295 L769.712,-274.295 L769.712,-118.081 L-483.346,-118.081 Z " /><path d="M-123.871,303.503 L-123.871,147.288 L769.136,147.288 L769.136,303.503 L-123.871,303.503 Z " /></g></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-indent"><rect x="0" y="0" width="2048.00" height="2048.00" fill="none" /><g transform="matrix(1,0,0,1,1024.0,1024.0)"><path d="M-829.04,-514.33 L-829.04,-670.545 L808.959,-670.545 L808.959,-514.33 L-829.04,-514.33 Z " /><path d="M-829.04,670.545 L-829.04,514.33 L808.959,514.33 L808.959,670.545 L-829.04,670.545 Z " /><path d="M-254.279,-110.244 L-254.279,-266.458 L808.959,-266.458 L808.959,-110.244 L-254.279,-110.244 Z " /><path d="M-254.279,266.458 L-254.279,110.244 L808.959,110.244 L808.959,266.458 L-254.279,266.458 Z " /><path d="M-829.04,-195.117 L-490.958,-1.03508e-14 L-829.04,195.117 L-829.04,-195.117 Z " /></g></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-outdent"><rect x="0" y="0" width="2048.00" height="2048.00" fill="none" /><g transform="matrix(1,0,0,1,1024.0,1024.0)"><path d="M-829.04,-514.33 L-829.04,-670.545 L808.959,-670.545 L808.959,-514.33 L-829.04,-514.33 Z " /><path d="M-829.04,670.545 L-829.04,514.33 L808.959,514.33 L808.959,670.545 L-829.04,670.545 Z " /><path d="M-829.04,-110.244 L-829.04,-266.458 L234.198,-266.458 L234.198,-110.244 L-829.04,-110.244 Z " /><path d="M-829.04,266.458 L-829.04,110.244 L234.198,110.244 L234.198,266.458 L-829.04,266.458 Z " /><path d="M808.959,-195.117 L470.877,-1.03508e-14 L808.959,195.117 L808.959,-195.117 Z " /></g></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-table"><rect x="0" y="0" width="2048.00" height="2048.00" fill="none" /><g transform="matrix(1,0,0,1,1024.0,1024.0)"><path d="M-660.783,660.783 L660.783,660.783 L660.783,-660.783 L-660.783,-660.783 L-660.783,660.783 Z " fill="none" stroke-width="75.82" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" /><path d="M-37.9645,698.933 L37.9645,698.933 L37.9645,-698.569 L-37.9645,-698.569 L-37.9645,698.933 Z " fill="currentColor" fill-opacity="1.00" stroke-width="0.25" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" /><path d="M-698.933,-37.7825 L-698.933,38.1465 L698.569,38.1465 L698.569,-37.7825 L-698.933,-37.7825 Z " fill="currentColor" fill-opacity="1.00" stroke-width="0.25" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" /></g></symbol>\n <symbol viewBox="0 0 512 512" id="ion-android-happy"><path d="M256 48C140.563 48 48 141.6 48 256s92.563 208 208 208 208-93.6 208-208S370.401 48 256 48zm0 374.4c-91.518 0-166.404-74.883-166.404-166.4 0-91.518 74.887-166.4 166.404-166.4S422.404 164.482 422.404 256 347.518 422.4 256 422.4zm72.8-187.2c17.683 0 31.201-13.518 31.201-31.2s-13.519-31.2-31.201-31.2c-17.682 0-31.2 13.518-31.2 31.2s13.518 31.2 31.2 31.2zm-145.6 0c17.682 0 31.2-13.518 31.2-31.2s-13.519-31.2-31.2-31.2c-17.683 0-31.201 13.518-31.201 31.2s13.519 31.2 31.201 31.2zM256 370.4c48.883 0 89.436-30.164 106.081-72.801H149.919C166.564 340.236 207.117 370.4 256 370.4z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-android-create"><path d="M64 368v80h80l235.727-235.729-79.999-79.998L64 368zm377.602-217.602c8.531-8.531 8.531-21.334 0-29.865l-50.135-50.135c-8.531-8.531-21.334-8.531-29.865 0l-39.468 39.469 79.999 79.998 39.469-39.467z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-minus-empty"><path d="M384 265H128v-17h256v17z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-eye"><path d="M256 128c-81.9 0-145.7 48.8-224 128 67.4 67.7 124 128 224 128 99.9 0 173.4-76.4 224-126.6C428.2 198.6 354.8 128 256 128zm0 219.3c-49.4 0-89.6-41-89.6-91.3 0-50.4 40.2-91.3 89.6-91.3s89.6 41 89.6 91.3c0 50.4-40.2 91.3-89.6 91.3z"></path><path d="M256 224c0-7.9 2.9-15.1 7.6-20.7-2.5-.4-5-.6-7.6-.6-28.8 0-52.3 23.9-52.3 53.3s23.5 53.3 52.3 53.3 52.3-23.9 52.3-53.3c0-2.3-.2-4.6-.4-6.9-5.5 4.3-12.3 6.9-19.8 6.9-17.8 0-32.1-14.3-32.1-32z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-reply"><path d="M448 400s-36.8-208-224-208v-80L64 256l160 134.4v-92.3c101.6 0 171 8.9 224 101.9z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-folder-outline">\n <path d="M457 96H215c-2.791 0-4.271-.585-6.094-2.408l-22.501-22.501-.168-.162C181.365 66.333 177.361 64 169 64H57c-13.785 0-25 10.317-25 23v336c0 13.317 11.683 25 25 25h400c12.683 0 23-11.215 23-25V119c0-13.327-9.673-23-23-23zM57 80h112c3.497 0 3.737.189 6.175 2.488l22.417 22.418c4.84 4.84 10.372 7.094 17.408 7.094h242c4.448 0 7 2.552 7 7v42.376a23.885 23.885 0 0 0-8-1.376H56c-2.805 0-5.496.488-8 1.376V87c0-4.323 4.672-7 9-7zm407 343c0 4.328-2.677 9-7 9H57c-4.458 0-9-4.542-9-9V184c0-4.411 3.589-8 8-8h400c4.411 0 8 3.589 8 8v239z"/>\n </symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-cloud-outline">\n <path d="M399.3 232.8c0-1.2.2-2.4.2-3.6 0-64.3-52.8-117.2-116.8-117.2-46.1 0-85.8 27.9-104.4 67-8.1-4.1-17.1-6.4-26.8-6.4-29.6 0-54.1 23.7-58.9 52C57.4 236.8 32 268.8 32 308.4c0 49.8 40.1 91.6 89.6 91.6H398c45 0 82-38.9 82-84.3 0-45.6-35.4-82.8-80.7-82.9zm-1.8 150.8l-3.2.4H122.4c-40.9 0-74.2-34.9-74.2-76.1 0-31.9 20.2-58.4 50.2-68.8l8.4-3 1.5-8.8c3.6-21.6 22.1-39.3 43.9-39.3 6.9 0 13.7 1.6 19.9 4.8l13.5 6.8 6.5-13.7c16.6-34.9 52.1-58.2 90.4-58.2 55.3 0 100.9 44.1 100.9 99.7 0 13.3-.2 20.3-.2 20.3l15.2.1c36.7.5 65.6 30.5 65.6 67.4 0 36.9-29.8 68.2-66.5 68.4z"/>\n </symbol>\n <symbol viewBox="0 0 512 512" id="ion-wrench"><path d="M461.9 114.9l-56.5 56.7-55.1-10-9.9-55.1 56.5-56.7c-12.7-12.7-30.8-18.5-44.2-17.8-13.5.7-42.3 8.3-64.6 32-21.6 22.8-44.3 65.3-24.2 112.5 2.4 5.7 5.1 13.2-2.9 21.2-8.1 8-215 202.8-215 202.8-19.4 16.7-18 47.6-.1 65.6 18.2 17.9 48.9 19 65.6-.3 0 0 193.2-205.8 202.7-215.1 8.5-8.3 16.1-5.5 21.2-2.9 35.6 18.4 86.3 2.4 112.6-23.9 26.3-26.3 31.1-51.7 31.9-64.7.8-12.9-3.7-30-18-44.3zM91.3 443.2c-6.3 6.2-16.5 6.2-22.7 0-6.2-6.3-6.2-16.5 0-22.7 6.3-6.2 16.5-6.2 22.7 0 6.2 6.3 6.2 16.5 0 22.7z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-more"><path d="M113.7 304C86.2 304 64 282.6 64 256c0-26.5 22.2-48 49.7-48 27.6 0 49.8 21.5 49.8 48 0 26.6-22.2 48-49.8 48zM256 304c-27.5 0-49.8-21.4-49.8-48 0-26.5 22.3-48 49.8-48 27.5 0 49.7 21.5 49.7 48 0 26.6-22.2 48-49.7 48zM398.2 304c-27.5 0-49.8-21.4-49.8-48 0-26.5 22.2-48 49.8-48 27.5 0 49.8 21.5 49.8 48 0 26.6-22.2 48-49.8 48z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-code-working"><circle cx="184.166" cy="256.166" r="24"></circle><circle cx="256.166" cy="256.166" r="24"></circle><circle cx="328.166" cy="256.166" r="24"></circle><g><path d="M168 392a23.929 23.929 0 0 1-16.971-7.029l-112-112c-9.373-9.373-9.373-24.569 0-33.941l112-112c9.373-9.372 24.568-9.372 33.941 0 9.371 9.372 9.371 24.568 0 33.941L89.941 256l95.029 95.029c9.371 9.372 9.371 24.568 0 33.941A23.925 23.925 0 0 1 168 392zM344 392a23.929 23.929 0 0 0 16.971-7.029l112-112c9.373-9.373 9.373-24.569 0-33.941l-112-112c-9.373-9.372-24.568-9.372-33.941 0-9.371 9.372-9.371 24.568 0 33.941L422.059 256l-95.029 95.029c-9.371 9.372-9.371 24.568 0 33.941A23.925 23.925 0 0 0 344 392z"></path></g></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-gear"><path d="M416.349 256.046c-.001-21.013 13.143-38.948 31.651-46.062a196.302 196.302 0 0 0-23.664-57.139 49.423 49.423 0 0 1-20.082 4.254c-12.621 0-25.238-4.811-34.871-14.442-14.863-14.863-18.248-36.846-10.18-54.97A196.274 196.274 0 0 0 302.074 64C294.971 82.529 277.027 95.69 256 95.69c-21.025 0-38.969-13.161-46.073-31.69a196.243 196.243 0 0 0-57.128 23.688c8.068 18.122 4.683 40.104-10.181 54.97-9.631 9.631-22.25 14.443-34.871 14.443a49.429 49.429 0 0 1-20.083-4.255A196.273 196.273 0 0 0 64 209.984c18.509 7.112 31.652 25.049 31.652 46.062 0 21.008-13.132 38.936-31.63 46.054a196.318 196.318 0 0 0 23.692 57.128 49.428 49.428 0 0 1 20.032-4.232c12.622 0 25.239 4.812 34.871 14.443 14.841 14.841 18.239 36.781 10.215 54.889a196.257 196.257 0 0 0 57.13 23.673c7.128-18.479 25.046-31.596 46.038-31.596 20.992 0 38.91 13.115 46.037 31.596a196.234 196.234 0 0 0 57.132-23.675c-8.023-18.106-4.626-40.046 10.216-54.887 9.629-9.632 22.248-14.444 34.868-14.444 6.836 0 13.67 1.411 20.033 4.233a196.318 196.318 0 0 0 23.692-57.128c-18.498-7.119-31.629-25.048-31.629-46.054zM256.9 335.9c-44.3 0-80-35.9-80-80 0-44.101 35.7-80 80-80 44.299 0 80 35.899 80 80 0 44.1-35.701 80-80 80z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-arrow-expand"><path d="M274 209.7l63.9-63.8L288 96h128v128l-49.9-49.9-63.8 63.9zM274 302.3l63.9 63.8L288 416h128V288l-49.9 49.9-63.8-63.9zM238 302.3l-63.9 63.8L224 416H96V288l49.9 49.9 63.8-63.9zM238 209.7l-63.9-63.8L224 96H96v128l49.9-49.9 63.8 63.9z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-android-expand"><path d="M396.795 396.8H320V448h128V320h-51.205zM396.8 115.205V192H448V64H320v51.205zM115.205 115.2H192V64H64v128h51.205zM115.2 396.795V320H64v128h128v-51.205z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-arrow-move"><path d="M480 256l-96-96v76H276V128h76l-96-96-96 96h76v108H128v-76l-96 96 96 96v-76h108v108h-76l96 96 96-96h-76.2l-.4-108.5 108.6.3V352z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-drag"><path d="M0 144h512v32H0zM0 240h512v32H0zM0 336h512v32H0z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-link"><path d="M74.6 256c0-38.3 31.1-69.4 69.4-69.4h88V144h-88c-61.8 0-112 50.2-112 112s50.2 112 112 112h88v-42.6h-88c-38.3 0-69.4-31.1-69.4-69.4zm85.4 22h192v-44H160v44zm208-134h-88v42.6h88c38.3 0 69.4 31.1 69.4 69.4s-31.1 69.4-69.4 69.4h-88V368h88c61.8 0 112-50.2 112-112s-50.2-112-112-112z"/></symbol>\n <symbol viewBox="0 0 512 512" id="ion-contrast"><path d="M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm135.8 359.8C355.5 428 307 448 256 448V64c51 0 99.5 20 135.8 56.2C428 156.5 448 204.7 448 256c0 51.3-20 99.5-56.2 135.8z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-plus-empty"><path d="M384 265H264v119h-17V265H128v-17h119V128h17v120h120v17z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-arrow-thin-up"><path d="M349.7 189.8c-3.1 3.1-8 3-11.3 0L264 123.4V408c0 4.4-3.6 8-8 8s-8-3.6-8-8V123.4l-74.4 66.3c-3.4 2.9-8.1 3.2-11.2.1-3.1-3.1-3.3-8.5-.1-11.4 0 0 87-79.2 88-80s2.8-2.4 5.7-2.4 4.9 1.6 5.7 2.4 88 80 88 80c1.5 1.5 2.3 3.6 2.3 5.7s-.8 4.1-2.3 5.7z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-arrow-thin-down"><path d="M349.7 322.2c-3.1-3.1-8-3-11.3 0L264 388.6V104c0-4.4-3.6-8-8-8s-8 3.6-8 8v284.6l-74.4-66.3c-3.4-2.9-8.1-3.2-11.2-.1-3.1 3.1-3.3 8.5-.1 11.4 0 0 87 79.2 88 80s2.8 2.4 5.7 2.4 4.9-1.6 5.7-2.4 88-80 88-80c1.5-1.5 2.3-3.6 2.3-5.7s-.8-4.1-2.3-5.7z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-arrow-thin-left"><path d="M189.8 349.7c3.1-3.1 3-8 0-11.3L123.4 264H408c4.4 0 8-3.6 8-8s-3.6-8-8-8H123.4l66.3-74.4c2.9-3.4 3.2-8.1.1-11.2-3.1-3.1-8.5-3.3-11.4-.1 0 0-79.2 87-80 88S96 253.1 96 256s1.6 4.9 2.4 5.7 80 88 80 88c1.5 1.5 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-arrow-thin-right"><path d="M322.2 349.7c-3.1-3.1-3-8 0-11.3l66.4-74.4H104c-4.4 0-8-3.6-8-8s3.6-8 8-8h284.6l-66.3-74.4c-2.9-3.4-3.2-8.1-.1-11.2 3.1-3.1 8.5-3.3 11.4-.1 0 0 79.2 87 80 88s2.4 2.8 2.4 5.7-1.6 4.9-2.4 5.7-80 88-80 88c-1.5 1.5-3.6 2.3-5.7 2.3s-4.1-.8-5.7-2.3z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-close-empty"><path d="M340.2 160l-84.4 84.3-84-83.9-11.8 11.8 84 83.8-84 83.9 11.8 11.7 84-83.8 84.4 84.2 11.8-11.7-84.4-84.3 84.4-84.2z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-android-more-vertical"><path d="M296 136c0-22.002-17.998-40-40-40s-40 17.998-40 40 17.998 40 40 40 40-17.998 40-40zm0 240c0-22.002-17.998-40-40-40s-40 17.998-40 40 17.998 40 40 40 40-17.998 40-40zm0-120c0-22.002-17.998-40-40-40s-40 17.998-40 40 17.998 40 40 40 40-17.998 40-40z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-quote"><path d="M192 64c-40.646 0-72.483 11.229-94.627 33.373C75.229 119.517 64 151.354 64 192v256h160V192h-96c0-23.056 4.922-39.666 14.627-49.373C152.334 132.922 168.944 128 192 128M416 64c-40.646 0-72.483 11.229-94.627 33.373C299.229 119.517 288 151.354 288 192v256h160V192h-96c0-23.056 4.922-39.666 14.627-49.373C376.334 132.922 392.944 128 416 128"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-code"><path d="M168 392a23.929 23.929 0 0 1-16.971-7.029l-112-112c-9.373-9.373-9.373-24.569 0-33.941l112-112c9.373-9.372 24.568-9.372 33.941 0 9.371 9.372 9.371 24.568 0 33.941L89.941 256l95.029 95.029c9.371 9.373 9.371 24.568 0 33.941A23.925 23.925 0 0 1 168 392zM344 392a23.929 23.929 0 0 0 16.971-7.029l112-112c9.373-9.373 9.373-24.569 0-33.941l-112-112c-9.373-9.372-24.568-9.372-33.941 0-9.371 9.372-9.371 24.568 0 33.941L422.059 256l-95.029 95.029c-9.371 9.373-9.371 24.568 0 33.941A23.925 23.925 0 0 0 344 392z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-camera"><path d="M430.4 147h-67.5l-40.4-40.8s-.2-.2-.3-.2l-.2-.2c-6-6-14.1-9.8-23.3-9.8h-84c-9.8 0-18.5 4.2-24.6 10.9v.1l-39.5 40h-69C63 147 48 161.6 48 180.2v202.1c0 18.6 15 33.7 33.6 33.7h348.8c18.5 0 33.6-15.1 33.6-33.7V180.2c0-18.6-15.1-33.2-33.6-33.2zM256 365.5c-50.9 0-92.4-41.6-92.4-92.6 0-51.1 41.5-92.6 92.4-92.6 51 0 92.4 41.5 92.4 92.6 0 51-41.4 92.6-92.4 92.6zm168.1-165c-7.7 0-14-6.3-14-14.1s6.3-14.1 14-14.1 14 6.3 14 14.1-6.3 14.1-14 14.1z"></path><path d="M256 202.9c-38.6 0-69.8 31.3-69.8 70 0 38.6 31.2 70 69.8 70 38.5 0 69.8-31.3 69.8-70s-31.3-70-69.8-70z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-move"><path d="M475.9 246.2l-79.4-79.4c-5.4-5.4-14.2-5.4-19.6 0l-.2.2c-5.4 5.4-5.4 14.2 0 19.6l54.9 54.9-161.8.5.5-161.8 54.9 54.9c5.4 5.4 14.2 5.4 19.6 0l.2-.2c5.4-5.4 5.4-14.2 0-19.6l-79.4-79.4c-5.4-5.4-14.2-5.4-19.6 0l-79.4 79.4c-5.4 5.4-5.4 14.2 0 19.6l.2.2c5.4 5.4 14.2 5.4 19.6 0l54.9-54.9.5 161.8-161.8-.5 54.9-54.9c5.4-5.4 5.4-14.2 0-19.6l-.2-.2c-5.4-5.4-14.2-5.4-19.6 0l-79.4 79.4c-5.4 5.4-5.4 14.2 0 19.6l79.4 79.4c5.4 5.4 14.2 5.4 19.6 0l.2-.2c5.4-5.4 5.4-14.2 0-19.6L80 270.5l161.8-.5-.5 161.8-54.9-54.9c-5.4-5.4-14.2-5.4-19.6 0l-.2.2c-5.4 5.4-5.4 14.2 0 19.6l79.4 79.4c5.4 5.4 14.2 5.4 19.6 0l79.4-79.4c5.4-5.4 5.4-14.2 0-19.6l-.2-.2c-5.4-5.4-14.2-5.4-19.6 0l-54.9 54.9-.5-161.8 161.8.5-54.9 54.9c-5.4 5.4-5.4 14.2 0 19.6l.2.2c5.4 5.4 14.2 5.4 19.6 0l79.4-79.4c5.5-5.4 5.5-14.2 0-19.6z"/></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-ok">\n <rect x="0" y="0" width="2048.00" height="2048.00" fill="none" />\n <g transform="matrix(1,0,0,1,1024.0,1024.0)">\n <path d="M330.323,493.628 L330.323,398.406 L-330.323,398.406 L-330.323,493.628 L330.323,493.628 Z " fill="currentColor" fill-opacity="1.00" />\n <path d="M230.718,468.568 L328.59,468.568 L328.59,-599.718 L230.718,-599.718 L230.718,468.568 Z " fill="currentColor" fill-opacity="1.00" />\n <path d="M-300.714,376.053 L-373.748,449.088 L-68.5805,754.255 L4.45387,681.221 L-300.714,376.053 Z " fill="currentColor" fill-opacity="1.00" />\n <path d="M-9.9476e-14,216.241 L-73.0344,143.207 L-378.202,448.375 L-305.168,521.409 L-9.9476e-14,216.241 Z " fill="currentColor" fill-opacity="1.00" />\n </g>\n </symbol>\n <symbol viewBox="0 0 512 512" id="ion-grid"><path d="M160 153.3c0 3.7-3 6.7-6.7 6.7h-50.5c-3.7 0-6.7-3-6.7-6.7v-50.5c0-3.7 3-6.7 6.7-6.7h50.5c3.7 0 6.7 3 6.7 6.7v50.5zM288 153.3c0 3.7-3 6.7-6.7 6.7h-50.5c-3.7 0-6.7-3-6.7-6.7v-50.5c0-3.7 3-6.7 6.7-6.7h50.5c3.7 0 6.7 3 6.7 6.7v50.5zM416 153.3c0 3.7-3 6.7-6.7 6.7h-50.5c-3.7 0-6.7-3-6.7-6.7v-50.5c0-3.7 3-6.7 6.7-6.7h50.5c3.7 0 6.7 3 6.7 6.7v50.5z"></path><g><path d="M160 281.3c0 3.7-3 6.7-6.7 6.7h-50.5c-3.7 0-6.7-3-6.7-6.7v-50.5c0-3.7 3-6.7 6.7-6.7h50.5c3.7 0 6.7 3 6.7 6.7v50.5zM288 281.3c0 3.7-3 6.7-6.7 6.7h-50.5c-3.7 0-6.7-3-6.7-6.7v-50.5c0-3.7 3-6.7 6.7-6.7h50.5c3.7 0 6.7 3 6.7 6.7v50.5zM416 281.3c0 3.7-3 6.7-6.7 6.7h-50.5c-3.7 0-6.7-3-6.7-6.7v-50.5c0-3.7 3-6.7 6.7-6.7h50.5c3.7 0 6.7 3 6.7 6.7v50.5z"></path></g><g><path d="M160 409.3c0 3.7-3 6.7-6.7 6.7h-50.5c-3.7 0-6.7-3-6.7-6.7v-50.5c0-3.7 3-6.7 6.7-6.7h50.5c3.7 0 6.7 3 6.7 6.7v50.5zM288 409.3c0 3.7-3 6.7-6.7 6.7h-50.5c-3.7 0-6.7-3-6.7-6.7v-50.5c0-3.7 3-6.7 6.7-6.7h50.5c3.7 0 6.7 3 6.7 6.7v50.5zM416 409.3c0 3.7-3 6.7-6.7 6.7h-50.5c-3.7 0-6.7-3-6.7-6.7v-50.5c0-3.7 3-6.7 6.7-6.7h50.5c3.7 0 6.7 3 6.7 6.7v50.5z"></path></g></symbol>\n <symbol viewBox="0 0 512 512" id="ion-gear-b"><path d="M448 294.4v-76.8h-42.8c-3.4-14.4-8.9-28-16.1-40.5l29.8-29.7-54.3-54.3-29.1 29.1c-12.6-7.7-26.4-13.5-41.1-17.3V64h-76.8v40.9c-14.7 3.8-28.5 9.7-41.1 17.3l-29.1-29.1-54.3 54.3 29.8 29.7c-7.2 12.5-12.6 26.1-16.1 40.5H64v76.8h44.1c3.8 13.7 9.5 26.6 16.7 38.6l-31.7 31.7 54.3 54.3 32.3-32.3c11.7 6.8 24.5 11.9 37.9 15.4v46h76.8v-46c13.5-3.5 26.2-8.6 37.9-15.4l32.3 32.3 54.3-54.3-31.6-31.7c7.2-11.9 12.9-24.8 16.7-38.6h44zm-192 15.4c-29.7 0-53.7-24.1-53.7-53.8s24-53.8 53.7-53.8 53.8 24.1 53.8 53.8-24.1 53.8-53.8 53.8z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-grid-view-outline"><path d="M448 192v-16H336V64h-16v112H192V64h-16v112H64v16h112v128H64v16h112v112h16V336h128v112h16V336h112v-16H336V192h112zM320 320H192V192h128v128z"></path></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-increase"><g transform="matrix(1,0,0,1,1024.0,1024.0)"><path d="M852.574,595.004 L852.574,507.837 L-852.574,507.837 L-852.574,595.004 L852.574,595.004 Z " /><path d="M852.574,224.232 L852.574,137.066 L-852.574,137.066 L-852.574,224.232 L852.574,224.232 Z " /><path d="M852.574,-134.971 L852.574,-222.138 L-852.574,-222.138 L-852.574,-134.971 L852.574,-134.971 Z " /><path d="M852.574,-505.743 L852.574,-592.909 L-852.574,-592.909 L-852.574,-505.743 L852.574,-505.743 Z " /></g></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-decrease"><g transform="matrix(1,0,0,1,1024.0,1024.0)"><path d="M509.832,595.004 L509.832,507.837 L-509.832,507.837 L-509.832,595.004 L509.832,595.004 Z " /><path d="M509.832,224.232 L509.832,137.066 L-509.832,137.066 L-509.832,224.232 L509.832,224.232 Z " /><path d="M509.832,-136.947 L509.832,-224.113 L-509.832,-224.113 L-509.832,-136.947 L509.832,-136.947 Z " /><path d="M509.832,-505.743 L509.832,-592.909 L-509.832,-592.909 L-509.832,-505.743 L509.832,-505.743 Z " /></g></symbol>\n <symbol viewBox="0 0 2048.0 2048.0" id="icon-strike">\n <g transform="matrix(1,0,0,1,1024.0,1024.0)">\n <path d="M298.298,-653.766 C292.151,-624.873 284.005,-605.663 273.862,-596.135 C263.719,-586.607 250.656,-581.842 234.673,-581.842 C220.535,-581.842 196.253,-589.526 161.828,-604.895 C87.4454,-637.475 17.0588,-653.766 -49.3321,-653.766 C-155.68,-653.766 -243.28,-621.339 -312.129,-556.485 C-380.979,-491.631 -415.404,-414.328 -415.404,-324.578 C-415.404,-272.94 -403.724,-225.606 -380.364,-182.575 C-357.005,-139.544 -322.733,-100.201 -277.551,-64.5467 C-232.368,-28.8923 -156.295,18.903 -49.3321,78.8392 C57.631,138.775 123.1,177.964 147.074,196.406 C182.729,223.455 209.008,252.654 225.913,284.005 C242.819,315.357 251.271,346.401 251.271,377.137 C251.271,432.463 228.987,480.412 184.419,520.984 C139.851,561.556 79.1465,581.842 2.30524,581.842 C-64.0856,581.842 -125.098,567.089 -180.731,537.582 C-236.364,508.075 -277.704,471.037 -304.753,426.469 C-331.801,381.901 -353.316,314.742 -369.299,224.991 L-403.417,224.991 L-403.417,653.766 L-369.299,653.766 C-364.996,624.873 -358.388,605.817 -349.474,596.596 C-340.561,587.375 -328.42,582.764 -313.051,582.764 C-297.068,582.764 -259.109,592.446 -199.173,611.81 C-139.236,631.174 -99.74,642.393 -80.6834,645.467 C-48.7174,651 -14.5998,653.766 21.6692,653.766 C137.239,653.766 231.753,619.495 305.214,550.952 C378.674,482.41 415.404,400.804 415.404,306.136 C415.404,256.343 403.878,208.701 380.826,163.211 C357.773,117.721 324.885,78.2244 282.161,44.7216 C239.438,11.2188 159.676,-36.8838 42.8774,-99.5863 C-100.355,-176.428 -191.027,-237.901 -229.141,-284.005 C-255.574,-315.357 -268.791,-350.089 -268.791,-388.202 C-268.791,-437.995 -247.89,-482.41 -206.088,-521.445 C-164.287,-560.48 -111.42,-579.998 -47.4879,-579.998 C9.06727,-579.998 63.7783,-565.552 116.645,-536.66 C169.512,-507.767 210.238,-468.732 238.823,-419.554 C267.408,-370.375 287.233,-304.292 298.298,-221.303 L332.415,-221.303 L332.415,-653.766 L298.298,-653.766 Z " fill="currentColor" fill-opacity="1.00" /><path d="M-530.954,-41.4477 L-530.954,41.4477 L530.954,41.4477 L530.954,-41.4477 L-530.954,-41.4477 Z " fill="currentColor" fill-opacity="1.00" /></g></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-undo"><path d="M447.9 368.2c0-16.8 3.6-83.1-48.7-135.7-35.2-35.4-80.3-53.4-143.3-56.2V96L64 224l192 128v-79.8c40 1.1 62.4 9.1 86.7 20 30.9 13.8 55.3 44 75.8 76.6l19.2 31.2H448c0-10.1-.1-22.9-.1-31.8z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-redo"><path d="M64 400h10.3l19.2-31.2c20.5-32.7 44.9-62.8 75.8-76.6 24.4-10.9 46.7-18.9 86.7-20V352l192-128L256 96v80.3c-63 2.8-108.1 20.7-143.3 56.2C60.4 285.2 64 351.5 64 368.2c.1 8.9 0 21.7 0 31.8z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-android-arrow-dropdown"><path d="M128 192l128 128 128-128z"></path></symbol>\n <symbol viewBox="0 0 512 512" id="ion-social-twitter"><path d="M492 109.5c-17.4 7.7-36 12.9-55.6 15.3 20-12 35.4-31 42.6-53.6-18.7 11.1-39.4 19.2-61.5 23.5C399.8 75.8 374.6 64 346.8 64c-53.5 0-96.8 43.4-96.8 96.9 0 7.6.8 15 2.5 22.1-80.5-4-151.9-42.6-199.6-101.3-8.3 14.3-13.1 31-13.1 48.7 0 33.6 17.2 63.3 43.2 80.7-16-.4-31-4.8-44-12.1v1.2c0 47 33.4 86.1 77.7 95-8.1 2.2-16.7 3.4-25.5 3.4-6.2 0-12.3-.6-18.2-1.8 12.3 38.5 48.1 66.5 90.5 67.3-33.1 26-74.9 41.5-120.3 41.5-7.8 0-15.5-.5-23.1-1.4C62.8 432 113.7 448 168.3 448 346.6 448 444 300.3 444 172.2c0-4.2-.1-8.4-.3-12.5C462.6 146 479 129 492 109.5z"></path></symbol>\n <symbol viewBox="0 0 24 24" id="icon-zoom-in" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <circle cx="10" cy="10" r="7"></circle>\n <line x1="7" y1="10" x2="13" y2="10"></line>\n <line x1="10" y1="7" x2="10" y2="13"></line>\n <line x1="21" y1="21" x2="15" y2="15"></line>\n </symbol>\n <symbol viewBox="0 0 512 512" id="ion-android-contract"><path d="M64 371.2h76.795V448H192V320H64v51.2zm76.795-230.4H64V192h128V64h-51.205v76.8zM320 448h51.2v-76.8H448V320H320v128zm51.2-307.2V64H320v128h128v-51.2h-76.8z"></path></symbol>\n \n <symbol viewBox="0 0 24 24" id="icon-lock-off" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"/>\n <line x1="3" y1="3" x2="21" y2="21" />\n <path d="M19 19a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-6a2 2 0 0 1 2 -2h4m4 0h2a2 2 0 0 1 2 2v2" />\n <circle cx="12" cy="16" r="1" />\n <path d="M8 11v-3m.712 -3.278a4 4 0 0 1 7.288 2.278v4" />\n </symbol>\n <symbol viewBox="0 0 24 24" id="icon-lock" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"/>\n <rect x="5" y="11" width="14" height="10" rx="2" />\n <circle cx="12" cy="16" r="1" />\n <path d="M8 11v-4a4 4 0 0 1 8 0v4" />\n </symbol>\n <symbol viewBox="0 0 24 24" id="icon-code" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z"/>\n <polyline points="7 8 3 12 7 16" />\n <polyline points="17 8 21 12 17 16" />\n <line x1="14" y1="4" x2="10" y2="20" />\n </symbol>\n <symbol viewBox="0 0 512 512" id="ion-ios-cloud-upload-outline">\n <path d="M193.3 260.4l-11.6-11.6 74.5-74.3 74.5 74.3-11.7 11.6-54.6-54.6v241.8h-16.5V205.8z"/>\n <path d="M399.3 183.6c0-1.2.2-2.4.2-3.6 0-64.3-52.8-116.4-116.8-116.4-46.1 0-85.8 27.1-104.4 66.3-8.1-4.1-17.1-6.4-26.8-6.4-29.6 0-54.1 23.6-58.9 52C57.4 187.6 32 222.2 32 261.8c0 49.7 40.1 90.2 89.6 90.2H213v-16h-90.6c-40.9 0-74.2-33.5-74.2-74.6 0-31.8 20.2-61.2 50.2-71.6l8.4-2.9 1.5-8.8c3.6-21.6 22.1-39.3 43.9-39.3 6.9 0 13.7 1.6 19.9 4.8l13.5 6.8 6.5-13.7c16.6-34.9 52.1-57.4 90.4-57.4 55.3 0 100.9 43.3 100.9 98.9 0 13.3-.2 20.3-.2 20.3l15.2.1c36.6.5 65.6 33.4 65.6 70.3 0 36.8-29.8 66.9-66.5 67.1H297v16h101c45 0 82-37.3 82-82.8s-35.5-85.5-80.7-85.6z"/>\n </symbol>\n <symbol viewBox="0 0 512 512" id="ion-volume-medium">\n <path d="M270 407.7V104.4L175.3 192H71v128h104.3zm56.3-52.1c20.5-27.8 32.8-62.3 32.8-99.6 0-37.4-12.3-71.8-32.8-99.6l-20.4 15.3c17.4 23.6 27.8 52.7 27.8 84.3 0 31.6-10.4 60.7-27.8 84.3l20.4 15.3zm66.5 46c30-40.7 48-91 48-145.6s-18-104.9-48-145.6l-20.4 15.3c26.9 36.4 43 81.4 43 130.3 0 48.9-16.1 93.8-43 130.3l20.4 15.3z"/>\n </symbol>\n\n <symbol id="icon-list-search" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <path d="M15 15m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"></path>\n <path d="M18.5 18.5l2.5 2.5"></path>\n <path d="M4 6h16"></path>\n <path d="M4 12h4"></path>\n <path d="M4 18h4"></path>\n </symbol>\n <symbol id="icon-folder" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <path d="M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2"></path>\n </symbol>\n <symbol id="icon-folder-media" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <path d="M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2"></path>\n\n <path d="M12 20h-5a3 3 0 0 1 -3 -3v-10a3 3 0 0 1 3 -3h10a3 3 0 0 1 3 3v5"></path>\n <path d="M4 15l4 -4c.928 -.893 2.072 -.893 3 0l4 4"></path>\n <path d="M14 14l1 -1c.617 -.593 1.328 -.793 2.009 -.598"></path>\n </symbol>\n\n <symbol id="icon-reload" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <path d="M19.933 13.041a8 8 0 1 1 -9.925 -8.788c3.899 -1.002 7.935 1.007 9.425 4.747"></path>\n <path d="M20 4v5h-5"></path>\n </symbol>\n <symbol id="icon-devices" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <rect x="13" y="8" width="8" height="12" rx="1"></rect>\n <path d="M18 8v-3a1 1 0 0 0 -1 -1h-13a1 1 0 0 0 -1 1v12a1 1 0 0 0 1 1h9"></path>\n <line x1="16" y1="9" x2="18" y2="9"></line>\n </symbol> \n <symbol id="icon-device-desktop" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <rect x="3" y="4" width="18" height="12" rx="1"></rect>\n <line x1="7" y1="20" x2="17" y2="20"></line>\n <line x1="9" y1="16" x2="9" y2="20"></line>\n <line x1="15" y1="16" x2="15" y2="20"></line>\n </symbol>\n <symbol id="icon-device-mobile" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <rect x="6" y="3" width="12" height="18" rx="2"></rect>\n <line x1="11" y1="4" x2="13" y2="4"></line>\n <line x1="12" y1="17" x2="12" y2="17.01"></line>\n </symbol>\n <symbol id="icon-device-laptop" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <line x1="3" y1="19" x2="21" y2="19"></line>\n <rect x="5" y="6" width="14" height="10" rx="1"></rect>\n </symbol>\n <symbol id="icon-device-tablet" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <rect x="5" y="3" width="14" height="18" rx="1"></rect>\n <circle cx="12" cy="17" r="1"></circle>\n </symbol>\n\n <symbol id="icon-eye" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <path d="M12 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0m13 0c-2.667 4.667 -6 7 -10 7s-7.333 -2.333 -10 -7c2.667 -4.667 6 -7 10 -7s7.333 2.333 10 7"></path>\n </symbol>\n <symbol id="icon-eye-off" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <path d="M9.88 9.878a3 3 0 1 0 4.243 4.242m.581 -3.42a3.012 3.012 0 0 0 -1.45 -1.426m-3.877 -3.913a9.469 9.469 0 0 1 2.623 -.361c4 0 7.333 2.333 10 7c-.778 1.362 -1.613 2.524 -2.504 3.489m-2.138 1.859c-1.629 1.101 -3.415 1.652 -5.358 1.652c-4 0 -7.333 -2.333 -10 -7c1.374 -2.404 2.924 -4.189 4.652 -5.354m-3.652 -3.646l18 18"></path>\n </symbol>\n\n <symbol id="icon-download" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <path d="M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2"></path>\n <path d="M7 11l5 5l5 -5"></path>\n <path d="M12 4l0 12"></path>\n </symbol>\n\n <symbol id="icon-message-search" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">\n <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>\n <path d="M8 9h8"></path>\n <path d="M8 13h5"></path>\n <path d="M12 21l-.5 -.5l-2.5 -2.5h-3a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v4.5"></path>\n <path d="M18 18m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"></path>\n <path d="M20.2 20.2l1.8 1.8"></path>\n </symbol>\n \n </defs>\n </svg>'),this.preferences=new Hm(this),(t=>{const e=t.util,i=t.builderStuff,n=new Ti(t),o=new Ei(t),s=t.dom;let r="";t.opts.rowHtmlEditor&&(r=`<button tabindex="-1" title="${e.out("HTML")}" class="row-html">\n <svg class="is-icon-flex" style="margin-right:-3px;width:12px;height:12px;"><use xlink:href="#ion-ios-arrow-left"></use></svg><svg class="is-icon-flex" style="margin-left:-2px;width:12px;height:12px;"><use xlink:href="#ion-ios-arrow-right"></use></svg>\n </button>`);let l="";t.opts.columnHtmlEditor&&(l=`<button tabindex="-1" title="${e.out("HTML")}" class="cell-html">\n <svg class="is-icon-flex" style="margin-right:-3px;width:12px;height:12px;"><use xlink:href="#ion-ios-arrow-left"></use></svg><svg class="is-icon-flex" style="margin-left:-2px;width:12px;height:12px;"><use xlink:href="#ion-ios-arrow-right"></use></svg>\n </button>`);const a=`<div class="is-modal is-modal-content grideditor" tabindex="-1" role="dialog" aria-modal="true" aria-hidden="true">\n <div class="is-modal-bar is-draggable">\n <button class="is-modal-close" tabindex="-1" title="${e.out("Close")}">&#10005;</button>\n </div>\n <div style="padding:13px 0 5px 18px;font-size:10px;text-transform:uppercase;letter-spacing:1px;">${e.out("Row")}</div>\n <div style="display:flex;flex-flow:wrap;">\n <button tabindex="-1" title="${e.out("Add")}" class="row-add"><svg class="is-icon-flex" style="width:19px;height:19px;"><use xlink:href="#ion-ios-plus-empty"></use></svg></button>\n <button tabindex="-1" title="${e.out("Duplicate")}" class="row-duplicate" style="display: block;"><svg class="is-icon-flex" style="width:12px;height:12px;"><use xlink:href="#ion-ios-photos-outline"></use></svg></button>\n <button tabindex="-1" title="${e.out("Move Up")}" class="row-up" style="display: block;"><svg class="is-icon-flex" style="width:15px;height:15px;"><use xlink:href="#ion-ios-arrow-thin-up"></use></svg></button>\n <button tabindex="-1" title="${e.out("Move Down")}" class="row-down" style="display: block;"><svg class="is-icon-flex" style="width:15px;height:15px;"><use xlink:href="#ion-ios-arrow-thin-down"></use></svg></button>\n ${r}\n <button tabindex="-1" title="${e.out("Delete")}" class="row-remove"><svg class="is-icon-flex" style="width:20px;height:20px;"><use xlink:href="#ion-ios-close-empty"></use></svg></button>\n </div>\n <div style="padding:8px 0 5px 18px;font-size:11px;text-transform:uppercase;letter-spacing:1px;">${e.out("Column")}</div>\n <div style="display:flex;flex-flow:wrap;">\n <button tabindex="-1" title="${e.out("Add")}" class="cell-add"><svg class="is-icon-flex" style="width:19px;height:19px;"><use xlink:href="#ion-ios-plus-empty"></use></svg></button>\n <button tabindex="-1" title="${e.out("Duplicate")}" class="cell-duplicate"><svg class="is-icon-flex" style="width:12px;height:12px;"><use xlink:href="#ion-ios-photos-outline"></use></svg></button>\n <button tabindex="-1" title="${e.out("Move Up")}" class="cell-up"><svg class="is-icon-flex" style="width:15px;height:15px;"><use xlink:href="#ion-ios-arrow-thin-up"></use></svg></button>\n <button tabindex="-1" title="${e.out("Move Down")}" class="cell-down"><svg class="is-icon-flex" style="width:15px;height:15px;"><use xlink:href="#ion-ios-arrow-thin-down"></use></svg></button>\n <button tabindex="-1" title="${e.out("Move Left")}" class="cell-prev"><svg class="is-icon-flex" style="width:15px;height:15px;"><use xlink:href="#ion-ios-arrow-thin-left"></use></svg></button>\n <button tabindex="-1" title="${e.out("Move Right")}" class="cell-next"><svg class="is-icon-flex" style="width:15px;height:15px;"><use xlink:href="#ion-ios-arrow-thin-right"></use></svg></button>\n <button tabindex="-1" title="${e.out("Increase")}" class="cell-increase"><svg class="is-icon-flex" style="width:13px;height:13px;"><use xlink:href="#icon-increase"></use></svg></button>\n <button tabindex="-1" title="${e.out("Decrease")}" class="cell-decrease"><svg class="is-icon-flex" style="width:13px;height:13px;"><use xlink:href="#icon-decrease"></use></svg></button>\n ${l}\n <button tabindex="-1" title="${e.out("Delete")}" class="cell-remove"><svg class="is-icon-flex" style="width:20px;height:20px;"><use xlink:href="#ion-ios-close-empty"></use></svg></button>\n <button tabindex="-1" title="${e.out("Lock")}" class="cell-locking"><svg class="is-icon-flex" style="width:12px;height:12px;"><use xlink:href="#icon-lock"></use></svg></button>\n <button tabindex="-1" title="${e.out("Column Settings")}" class="cell-settings"><svg class="is-icon-flex" style="width:12px;height:12px;"><use xlink:href="#ion-ios-gear"></use></svg></button>\n \n <div class="is-separator">\n <button tabindex="-1" title="${e.out("Outline")}" class="grid-outline"><svg class="is-icon-flex" style="width:12px;height:12px;"><use xlink:href="#ion-ios-grid-view-outline"></use></svg></button>\n \x3c!--<button tabindex="-1" title="${e.out("Element Tool")}" class="cell-elmtool"><svg class="is-icon-flex" style="width:12px;height:12px;"><use xlink:href="#ion-ios-gear"></use></svg></button>--\x3e\n </div>\n </div>\n </div>`;s.appendHtml(i,a),new Pi({selector:".is-draggable"});const d=document.querySelector(".grideditor");document.addEventListener("click",(t=>{var e=(t=t||window.event).target||t.srcElement;if(s.hasClass(d,"active")){let t=s.parentsHasClass(e,"is-builder"),i=s.parentsHasClass(e,"grideditor"),n=s.parentsHasClass(e,"is-modal"),o=s.parentsHasClass(e,"is-pop"),r=s.parentsHasClass(e,"rte-grideditor")||s.hasClass(e,"rte-grideditor");if(t||i||n||o||r)return void(d.style.display="");d.style.display="none"}}),!1);let c=d.querySelector(".is-modal-close");s.addEventListener(c,"click",(()=>{s.removeClass(d,"active");const e=t.doc.querySelectorAll(t.opts.container);Array.prototype.forEach.call(e,(t=>{t.removeAttribute("grideditor")}))}));const u=d.querySelector(".grid-outline");s.addEventListener(u,"click",(()=>{const e=t.doc.querySelectorAll(t.opts.container);Array.prototype.forEach.call(e,(t=>{t.hasAttribute("gridoutline")?(t.removeAttribute("gridoutline"),s.removeClass(u,"on")):(t.setAttribute("gridoutline",""),s.addClass(u,"on"))}))}));const h=qi(t),p=d.querySelector(".cell-add");s.addEventListener(p,"click",(()=>{h.querySelector(".is-pop-tabs").style.display="flex";const t=p.getBoundingClientRect().top+window.pageYOffset,i=p.getBoundingClientRect().left+window.pageXOffset;e.showPop(h,!1,p);const n=h.offsetWidth;h.style.top=t+"px",h.style.left=i-n-8+"px",s.removeClass(h,"arrow-bottom"),s.removeClass(h,"arrow-left"),s.removeClass(h,"arrow-top"),s.removeClass(h,"center"),s.removeClass(h,"left"),s.addClass(h,"arrow-right"),s.addClass(h,"right"),"left"===h.querySelector(".active").getAttribute("data-value")?h.setAttribute("data-mode","cell-left"):h.setAttribute("data-mode","cell-right")})),c=d.querySelector(".cell-prev"),s.addEventListener(c,"click",(()=>{n.moveColumnPrevious(),e.clearControls()})),c=d.querySelector(".cell-next"),s.addEventListener(c,"click",(()=>{n.moveColumnNext(),e.clearControls()})),c=d.querySelector(".cell-increase"),s.addEventListener(c,"click",(()=>{n.increaseColumn(),e.clearControls()})),c=d.querySelector(".cell-decrease"),s.addEventListener(c,"click",(()=>{n.decreaseColumn(),e.clearControls()})),c=d.querySelector(".cell-up"),s.addEventListener(c,"click",(()=>{n.moveColumnUp(),e.clearControls()})),c=d.querySelector(".cell-down"),s.addEventListener(c,"click",(()=>{n.moveColumnDown(),e.clearControls()})),c=d.querySelector(".cell-duplicate"),s.addEventListener(c,"click",(()=>{n.duplicateColumn(),e.clearControls()})),c=d.querySelector(".cell-remove"),s.addEventListener(c,"click",(()=>{n.removeColumn(),e.clearControls()}));const g=d.querySelector(".cell-html");g&&s.addEventListener(g,"click",(()=>{e.cellSelected()&&o.view("cell",!1,g)}));const m=d.querySelector(".cell-settings");m&&s.addEventListener(m,"click",(()=>{const i=e.cellSelected();if(!i)return;t.colTool.readCellStyles(i),e.saveSelection();const n=document.querySelector(".is-modal.columnsettings");e.showModal(n,!1,(()=>{"flex"===t.builderStuff.querySelector(".is-rte-tool").style.display&&(e.restoreSelection(),m.removeAttribute("data-focus"),m.focus())})),m.setAttribute("data-focus",!0)}));const f=d.querySelector(".cell-locking");f&&s.addEventListener(f,"click",(i=>{let n=e.cellSelected();n&&(n.hasAttribute("data-noedit")?(n.removeAttribute("data-noedit"),n.contentEditable=!0,s.removeClass(f,"on")):(n.setAttribute("data-noedit",""),n.contentEditable=!1,s.addClass(f,"on"),e.clearActiveElement(!0)),t.colTool.showHideLockIndicator(n),t.element.applyBehavior(n),i.preventDefault())}));const b=d.querySelector(".row-add");s.addEventListener(b,"click",(()=>{h.querySelector(".is-pop-tabs").style.display="none";const t=b.getBoundingClientRect().top+window.pageYOffset,i=b.getBoundingClientRect().left+window.pageXOffset;e.showPop(h,!1,b);const n=h.offsetWidth;h.style.top=t+"px",h.style.left=i-n-8+"px",s.removeClass(h,"arrow-bottom"),s.removeClass(h,"arrow-left"),s.removeClass(h,"arrow-top"),s.removeClass(h,"center"),s.removeClass(h,"left"),s.addClass(h,"arrow-right"),s.addClass(h,"right"),h.setAttribute("data-mode","row")})),c=d.querySelector(".row-up"),s.addEventListener(c,"click",(()=>{n.moveRowUp(),e.clearControls()})),c=d.querySelector(".row-down"),s.addEventListener(c,"click",(()=>{n.moveRowDown(),e.clearControls()})),c=d.querySelector(".row-duplicate"),s.addEventListener(c,"click",(()=>{n.duplicateRow(),e.clearControls()})),c=d.querySelector(".row-remove"),s.addEventListener(c,"click",(()=>{n.removeRow(),e.clearControls()}));const v=d.querySelector(".row-html");v&&s.addEventListener(v,"click",(()=>{e.cellSelected()&&o.view("row",!1,v)}))})(this),this.preview=!1;const u=this.doc.querySelectorAll(this.opts.container);Array.prototype.forEach.call(u,(t=>{this.dom.hasClass(t,"preview")&&(this.preview=!0)})),this.preview||this.opts.snippetJSON.snippets.length>0&&Vo(this),this.colTool=new am(this),this._rowTool=new rm(this),this.livePreview=new sf(this),this.mediaPicker=new nf(this);var h=this.opts.onChange;if(this.opts.onChange=()=>{var t=h.apply(this,arguments);return this.activeCol&&this.util.repositionColumnTool(),this.elmTool.repositionElementTool(!0),this.element.image.imageTool.style.display="",this.element.module.moduleTool.style.display="",this.colTool.lockIndicator.style.display="",t},this.elmTool=new Pm(this),this.element=new Pg(this),this.rte=new jm(this),this.tooltip=new Vm(this),this.lightbox=new Xm(this),this.preview||this.applyBehavior(),!this.preview)if(this.opts.plugins.length>0)this.loadPlugins();else if(void 0===this.opts.scriptPath&&""===this.opts.pluginPath);else if(!this.opts.disableConfig){let t=this.opts.scriptPath+"config.js";""!==this.opts.pluginPath&&(t=this.opts.pluginPath+"config.js"),this.loadScript(t).then((()=>{this.opts.plugins.length>0&&this.loadPlugins()}),(()=>{console.log("Fail to load config")}))}this.tabs=new Qm,this.colorPicker=new Fg({lang:this.opts.lang,colors:this.opts.colors}),this.colorClassPicker=new Um({lang:this.opts.lang}),this.ShortcutInfo=new Zm(this),this.opts.isContentBox||null!==localStorage.getItem("_dictation")&&localStorage.removeItem("_dictation"),this.dictation=new cf({},this),this.lib=new rf(this),this.similarity=new pf(this),this.iframe&&(this.win.addEventListener("scroll",this.doWindowScroll=()=>{this.util.hidePops()}),this.win.addEventListener("resize",this.doWindowResize=()=>{this.util.clearActiveCell(),this.util.clearControls()})),document.addEventListener("click",this.doDocumentClick=t=>{let e,i=(t=t||window.event).target||t.srcElement;if(!i)return;i.parentNode&&(e=this.dom.hasClass(i.parentNode,"is-builder"));let n=this.dom.hasClass(i,"is-builder"),o=!1,s=!1,r=!1,a=!1,d=!1,c=!1,u=!1,h=!1,p=!1,g=!1,m=!1,f=!1,b=!1,v=!1,y=!1,x=i;for(;x&&x.tagName&&"BODY"!==x.tagName&&"HTML"!==x.tagName;){if(this.dom.hasClass(x,"is-builder")&&(o=!0),this.dom.hasClass(x,"is-subblock")&&(v=!0),this.dom.hasClass(x,"is-modal")&&(s=!0),(this.dom.hasClass(x,"is-side")||this.dom.hasClass(x,"is-sidebar"))&&(r=!0),this.dom.hasClass(x,"is-pop")&&(a=!0),this.dom.hasClass(x,"is-tool")&&(d=!0),(this.dom.hasClass(x,"is-rte-tool")||this.dom.hasClass(x,"is-elementrte-tool"))&&(c=!0),this.dom.hasClass(x,"is-rte-pop")&&(u=!0),this.dom.hasClass(x,"row-add-initial")&&(h=!0),(this.dom.hasClass(x,"sl-wrapper")||this.dom.hasClass(x,"sl-overlay")||this.dom.hasClass(x,"sl-close"))&&(p=!0),(this.dom.hasClass(x,"is-selectbox")||this.dom.hasClass(x,"is-selectbox-options"))&&(g=!0),this.opts.specialElementClasses)for(let t=0;t<this.opts.specialElementClasses.length;t++)this.dom.hasClass(x,this.opts.specialElementClasses[t])&&(y=!0);"divImageTool"===x.id&&(m=!0),"divImageResizer"===x.id&&(f=!0),this.preserveSelection&&(b=!0),x=x.parentNode}if(!g){let t=document.querySelectorAll(".is-selectbox-options");Array.prototype.forEach.call(t,(t=>{t.style.display="none"}))}let w=!1,S=document.querySelector("#divImageResizer");if(S&&"1"===S.getAttribute("data-resized")&&(w=!0),!w){if(!(s||p||m||f||"img"===i.tagName.toLowerCase())){document.querySelector("#divImageTool").style.display="";let t=document.querySelector("#divImageResizer");t.style.display="none",t.style.top="-10px",t.style.left="-10px",t.style.width="1px",t.style.height="1px",this.moveable&&(this.moveable.updateRect(),document.querySelector(".moveable-control-box").style.display="none")}if(!(o||v||s||r||a||d||c||u||h||p||b||y)||e&&!h||n){if(!this.dom.getSelected()){document.querySelector(".is-modal.active:not(.is-modal-content)")||(l.clearActiveCell(),l.clearControls(),"auto"!==this.toolbarDisplay&&this.rte.showDefaultToolbar())}this.element.hyperlink.buttonEditor.hide()}if(this.activeLinkButton||this.activeButton||i.closest(".buttoneditor")||i.closest(".link-button-edit")||i.closest(".is-modal")||this.element.hyperlink.buttonEditor.hide(),!a&&!this.dom.parentsHasId(i,"_cbhtml")){const t=document.querySelectorAll(".is-pop");Array.prototype.forEach.call(t,(t=>{this.dom.parentsHasId(t,"_cbhtml")||(t.style.display="")}))}}}),this.iframe&&this.doc.addEventListener("click",this.doDocumentClick),this.doc.addEventListener("mousedown",this.doDocumentMousedown=t=>{var e=(t=t||window.event).target||t.srcElement;this.dom.parentsHasClass(e,"row-handle")&&l.clearControls()}),document.addEventListener("keydown",this.doDocumentKeydown=t=>{90===t.which&&(t.ctrlKey||t.metaKey)&&(t.shiftKey?this.uo.doRedo():t.altKey||this.uo.doUndo()),89===t.which&&t.ctrlKey&&(t.altKey||this.uo.doRedo());(t.ctrlKey||t.metaKey)&&191===t.which&&this.ShortcutInfo.open()}),this.iframe&&this.doc.addEventListener("keydown",this.doDocumentKeydown),document.body.addEventListener("mscontrolselect",(function(t){t.preventDefault()})),window._cb=this,window.applyLargerImage=this.applyLargerImage.bind(this),window.returnUrl=this.returnUrl.bind(this),window.selectFile=this.selectFile.bind(this),window.selectImage=this.selectImage.bind(this),window.selectVideo=this.selectVideo.bind(this),window.selectAsset=this.selectAsset.bind(this),window.assetType=this.assetType.bind(this),window.hideModal=this.hideModal.bind(this),setTimeout((()=>{(null!=localStorage.getItem("_livepreview")||this.opts.livePreviewOpen)&&this.openPreview()}),300)}static run(t={}){return new gf(t)}setZoom(){if(""!==this.opts.page){const t=this.doc.querySelector(this.opts.page);t.style.transform=`scale(${this.opts.zoom})`,this.setZoomOnControl(t)}else{this.doc.querySelectorAll(this.opts.container).forEach((t=>{let e=!1;t.style.transform||(e=!0),e&&(t.style.transition="none"),t.style.transform=`scale(${this.opts.zoom})`,e&&setTimeout((()=>{t.style.transition=""}),300),this.setZoomOnControl(t)}))}}backwardCompatible(){this.builderStuff.querySelector('style[data-rel="css-new"]')||this.builderStuff.insertAdjacentHTML("afterbegin",'\n <style data-rel="css-new">\n \n .row-active .is-col-tool {\n display: flex;\n }\n .is-builder[rowoutline] .row-active .is-col-tool {\n display: none;\n }\n .is-builder[hidecolumntool] .row-active .is-col-tool {\n display: none;\n }\n\n .is-tool.is-col-tool {\n flex-direction: row;\n margin-top: 0px;\n margin-left: -1px;\n }\n .is-tool.is-col-tool button {\n width: 25px;\n height: 25px;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .is-tool.is-col-tool .cell-add {\n background: #0fcc52;\n }\n .is-tool.is-col-tool .cell-more {\n background: rgba(216, 200, 6, 0.9);\n }\n .is-tool.is-col-tool .cell-remove {\n background: rgba(255, 85, 4, 0.9);\n }\n .is-tool.is-col-tool svg {\n width: 23px;\n height: 23px;\n fill: #fff !important;\n }\n .is-tool.is-col-tool .cell-more svg {\n width: 14px;\n height: 14px;\n }\n\n\n .is-builder[gray] .is-tool.is-col-tool {\n background: rgba(243, 243, 243, 0.9);\n flex-direction: row;\n top:-3px;\n margin-top: 0px;\n margin-left: -1px;\n }\n .is-builder[gray] .is-tool.is-col-tool button {\n width: 27px;\n height: 27px;\n }\n .is-builder[gray] .is-tool.is-col-tool .cell-add {\n background: transparent;\n }\n .is-builder[gray] .is-tool.is-col-tool .cell-more {\n background: transparent;\n }\n .is-builder[gray] .is-tool.is-col-tool .cell-remove {\n background: transparent;\n }\n .is-builder[gray] .is-tool.is-col-tool svg {\n width: 18px;\n height: 18px;\n fill: #000 !important;\n }\n .is-builder[gray] .is-tool.is-col-tool .cell-more svg {\n width: 12px;\n height: 12px;\n }\n\n\n .is-col-tool svg {\n display: initial !important;\n }\n \n \n </style>\n ')}setZoomOnControl(t){t.querySelectorAll(".is-row-tool").forEach((t=>{t.style.transform=`scale(${1/this.opts.zoom})`,t.style.transformOrigin="top"}));t.querySelectorAll(".is-col-tool").forEach((t=>{t.style.transform=`scale(${1/this.opts.zoom})`,t.style.transformOrigin="top left",t.style.marginTop=-27/this.opts.zoom+"px"}));t.querySelectorAll(".is-rowadd-tool button").forEach((t=>{t.style.transform=`scale(${1/this.opts.zoom})`}))}setZoomOnArea(){if(""!==this.opts.page){this.doc.querySelector(this.opts.page).style.transform=`scale(${this.opts.zoom})`}else{this.doc.querySelectorAll(this.opts.container).forEach((t=>{let e=!1;t.style.transform||(e=!0),e&&(t.style.transition="none"),t.style.transform=`scale(${this.opts.zoom})`,e&&setTimeout((()=>{t.style.transition=""}),300)}))}}applyBehavior(){null!==localStorage.getItem("_zoom")&&(this.opts.zoom=localStorage.getItem("_zoom")),this.rte.rteZoomSlider.value=100*this.opts.zoom;const t=this.doc.querySelectorAll(this.opts.container);Array.prototype.forEach.call(t,(t=>{this.applyBehaviorOn(t),this.contentReformatOn(t)})),this.opts.onRender(),this.setZoomOnArea()}contentReformatOn(t){this.opts.useCssClasses&&this.dom.contentReformat(t,this.opts.cssClasses)}applyBehaviorOn(t){const e=this.util;if(this.opts.absolutePath){let e=t.querySelectorAll("a");Array.prototype.forEach.call(e,(t=>{let e=t.href;t.setAttribute("href",e)}));let i=t.querySelectorAll("img");Array.prototype.forEach.call(i,(t=>{let e=t.src;t.setAttribute("src",e)}))}this.dom.addClass(t,"is-builder"),this.preferences.initBuilder(t);if(this.dom.elementChildren(t).forEach((t=>{if(this.dom.hasClass(t,"row-add-initial"))return;(t.style.marginLeft||t.style.marginRight)&&(t.style.border="none"),this._rowTool.render(t);new lm(this).render(t);this.dom.elementChildren(t).forEach((t=>{if(this.dom.hasClass(t,"is-row-tool")||this.dom.hasClass(t,"is-col-tool")||this.dom.hasClass(t,"is-rowadd-tool"))return;"readonly"===t.getAttribute("data-mode")&&(t.setAttribute("data-noedit",""),t.removeAttribute("data-mode")),"readonly-protected"===t.getAttribute("data-mode")&&(t.setAttribute("data-protected",""),t.removeAttribute("data-mode"));let e=!1;t.hasAttribute("data-noedit")&&(e=!0);let i=!1;t.hasAttribute("data-protected")&&(i=!0);let n=!1;if(t.hasAttribute("data-html")&&(n=!0),!n&&!e&&!i){const e=t.innerText.trim();(t.querySelectorAll("p,h1,h2,h3,h4,h5,h6,table,ul,ol,pre,blockquote,code,figcaption,label,legend,button,a,span").length>0||""!==e)&&(t.contentEditable=!0)}this.element.applyBehavior(t),t.getAttribute("data-click")||(t.addEventListener("click",this.handleCellClick.bind(this,t)),t.addEventListener("keydown",this.handleCellKeypress.bind(this)),t.addEventListener("keydown",this.handleCellKeydown.bind(this,t)),t.addEventListener("keyup",this.handleCellKeyup.bind(this,t)),t.addEventListener("paste",this.handleCellPaste.bind(this)),t.setAttribute("data-click",!0))}))})),!t.getAttribute("data-sort")&&!t.hasAttribute("nogrid")){let i=new Co(t,{scroll:!0,group:"shared",animation:300,handle:".row-handle",sort:!0,onChoose:()=>{let t;if(""!==this.opts.page){const e=this.doc.querySelector(this.opts.page);t=this.dom.getScale(e)}else{const e=this.doc.querySelector(".is-builder");t=this.dom.getScale(e)}const e=`\n <style id="css-scale">\n .sortable-drag::before {\n transform: scale(${t});\n }\n </style>\n `;if(this.iframe){const t=this.contentStuff.querySelector("#css-scale");t&&t.parentNode.removeChild(t),this.contentStuff.insertAdjacentHTML("afterbegin",e)}else{const t=this.builderStuff.querySelector("#css-scale");t&&t.parentNode.removeChild(t),this.builderStuff.insertAdjacentHTML("afterbegin",e)}this.sectionDropSetup()},onStart:()=>{this.uo.saveForUndo(),this.elmTool.hide()},onEnd:()=>{this.util.checkEmpty(),this.sortableOnPage&&this.sortableOnPage.destroy()},onAdd:i=>{var n=i.item;if(n.getAttribute("data-id")){let i=n.getAttribute("data-id");const g=this.opts.snippetJSON.snippets.filter((t=>t.id+""===i&&t));var o,s=g[0].html,r=g[0].noedit;o=-1===s.indexOf('"row'),this.opts.emailMode&&(o=!1);var l=this.opts.row,a=this.opts.cols;if(""!==l&&12===a.length&&(s=(s=(s=(s=(s=(s=(s=(s=(s=(s=(s=(s=s.replace(new RegExp("row clearfix","g"),"row")).replace(new RegExp('"row',"g"),'"'+l)).replace(new RegExp("column full","g"),a[11])).replace(new RegExp("column half","g"),a[5])).replace(new RegExp("column third","g"),a[3])).replace(new RegExp("column fourth","g"),a[2])).replace(new RegExp("column fifth","g"),a[1])).replace(new RegExp("column sixth","g"),a[1])).replace(new RegExp("column two-third","g"),a[7])).replace(new RegExp("column two-fourth","g"),a[8])).replace(new RegExp("column two-fifth","g"),a[9])).replace(new RegExp("column two-sixth","g"),a[9])),s=s.replace(/{id}/g,e.makeId()),this.opts.onAdd&&(s=this.opts.onAdd(s)),this.opts.snippetPathReplace.length>0&&""!==this.opts.snippetPathReplace[0]){var d=new RegExp(this.opts.snippetPathReplace[0],"g");s=s.replace(d,this.opts.snippetPathReplace[1]);var c=this.opts.snippetPathReplace[0].replace(/\//g,"%2F"),u=this.opts.snippetPathReplace[1].replace(/\//g,"%2F"),h=new RegExp(c,"g");s=s.replace(h,u)}if(o)s=`<div class="${this.opts.row}"><div class="${this.opts.cols[this.opts.cols.length-1]}"${r?" data-noedit":""}>${s}</div></div>`,n.removeAttribute("draggable"),this.dom.removeClass(n,"snippet-item"),n.outerHTML=s;else{let t=this.dom.createElement("div");t.innerHTML=s;let i=t.querySelectorAll("[data-html]");Array.prototype.forEach.call(i,(t=>{s=(s=(s=decodeURIComponent(t.getAttribute("data-html"))).replace(/{id}/g,e.makeId())).replace(/<script>/g,""+(this.nonce?`<script nonce="${this.nonce}">`:"<script>"));for(var i=1;i<=20;i++)s=s.replace("[%HTML"+i+"%]",void 0===t.getAttribute("data-html-"+i)?"":decodeURIComponent(t.getAttribute("data-html-"+i)));t.innerHTML=s})),s=t.innerHTML,n.removeAttribute("draggable"),this.dom.removeClass(n,"snippet-item"),n.innerHTML="";var p=document.createRange();p.setStart(n,0),n.appendChild(p.createContextualFragment(s)),n.outerHTML=n.innerHTML}this.applyBehaviorOn(t),this.opts.onChange(),this.opts.onRender(),this.elmTool.hide()}}});this.sortableObjects.push(i),t.setAttribute("data-sort",!0)}const i=t.querySelectorAll('a[role="button"]');Array.prototype.forEach.call(i,(e=>{e.parentNode&&e.parentNode.parentNode&&e.parentNode.parentNode.parentNode===t&&(e.outerHTML=`\n <div style="white-space: nowrap;">\n ${e.outerHTML}\n </div>\n `)}));const n=t.querySelectorAll(".is-subblock");Array.prototype.forEach.call(n,(t=>{t.contentEditable=!0})),this.util.checkEmptyOn(t),this.setZoomOnControl(t)}html(t){const e=this.util,i=new Ei(this);if(t);else{const i=this.doc.querySelectorAll(this.opts.container);if(i.length>1){const n=e.cellSelected();t=n?n.parentNode.parentNode:i[0]}else t=i[0];if(""!==this.opts.page){const e=this.doc.querySelector(this.opts.page);e&&(t=e)}}this.cleanHtmlFormatting=!0;let n=i.readHtml(t);return this.cleanHtmlFormatting=!1,n}viewHtmlNormal(){new Ei(this).viewHtmlExternal()}readHtml(t,e,i,n){return new Ei(this).readHtml(t,e,i,n)}fromViewToActual(t){return new Ei(this).fromViewToActual(t)}colorpicker(t,e){return new Fg({onPick:t,color:e,colors:this.opts.colors,animateModal:this.opts.animateModal,elementToAnimate:this.opts.container,lang:this.opts.lang})}gradientpicker(){return new em({gradientcolors:this.opts.gradientcolors,colors:this.opts.colors,animateModal:this.opts.animateModal,elementToAnimate:this.opts.container,lang:this.opts.lang})}simpleColorPicker(t,e){return this.colorClassPicker.open(t,e)}destroy(){if(this.doc.body.classList.remove("data-editor"),document.removeEventListener("click",this.doDocumentClick,!1),document.removeEventListener("keydown",this.doDocumentKeydown,!1),document.removeEventListener("mousedown",this.doDocumentMousedown,!1),document.removeEventListener("click",this.doRteClick,!1),this.doc.removeEventListener("click",this.doHideSnippetHandler,!1),this.iframe&&(this.doc.removeEventListener("click",this.doDocumentClick,!1),this.doc.removeEventListener("keydown",this.doDocumentKeydown,!1),this.doc.removeEventListener("mousedown",this.doDocumentMousedown,!1),this.doc.removeEventListener("click",this.doRteClick,!1),this.win.removeEventListener("scroll",this.doWindowScroll,!1),this.win.removeEventListener("resize",this.doWindowResize,!1)),this.util.clearControls(),!this.util.builderStuff())return;const t=new Ei(this);if(""!==this.opts.page){const t=this.doc.querySelector(this.opts.page);t&&(t.style.transform="")}else{this.doc.querySelectorAll(this.opts.container).forEach((t=>{t.style.transform=""}))}const e=this.doc.querySelectorAll(this.opts.container);Array.prototype.forEach.call(e,(e=>{let i=t.readHtml(e,!1),n=this.doc.createRange();e.innerHTML="",e.appendChild(n.createContextualFragment(i))})),Array.prototype.forEach.call(e,(t=>{t.removeAttribute("data-sort"),this.dom.removeClass(t,"is-builder")})),Array.prototype.forEach.call(this.sortableObjects,(t=>{try{t.destroy()}catch(t){}})),this.moveable.destroy(),this.builderStuff.parentNode.removeChild(this.builderStuff),this.builderStuff=null,this.iframe&&(this.contentStuff.parentNode.removeChild(this.contentStuff),this.contentStuff=null)}saveImages(t,e,i){new Wm({page:this.opts.page,container:this.opts.container,customval:this.opts.customval,handler:t,onComplete:e,onBase64Upload:i||null},this).save()}clearFont(){this.rte.clearFont()}applyFont(t,e,i){this.rte.applyFont(t,e,i)}setFont(t,e,i,n){this.rte.setFont(t,e,i,n)}addIcon(t){this.rte.addIcon(t)}applyLargerImage(t){let e=document.querySelectorAll(".form-upload-larger");Array.prototype.forEach.call(e,(e=>{this.dom.hasClass(e,"please-wait")&&(this.dom.removeClass(e,"please-wait"),e.parentNode.parentNode.querySelector('input[type="text"]').value=t,e.parentNode.parentNode.querySelector('input[type="file"]').value="")}))}returnUrl(t){let e=document.querySelectorAll(".form-upload-larger");Array.prototype.forEach.call(e,(e=>{this.dom.hasClass(e,"please-wait")&&(this.dom.removeClass(e,"please-wait"),e.parentNode.parentNode.querySelector('input[type="text"]').value=t,e.parentNode.parentNode.querySelector('input[type="file"]').value="")})),this.opts.assetRefresh=!0}openMediaPicker(t,e="media",i,n){this.mediaPicker.openMediaPicker(t,e,i,n)}openImagePicker(t,e,i){this.colTool.openImagePicker(t,e,i)}openImageAdjust(t,e,i){2===this.opts.imageAdjust?this.colTool.openImageAdjust2(t,e):this.colTool.openImageAdjust(t,e,i)}selectFile(t){this.selectAsset(t)}selectImage(t){this.selectAsset(t)}selectVideo(t){this.selectAsset(t)}selectAsset(t){let e=t.split(".").pop().split("?")[0].split("#")[0];e=e.toLowerCase();let i=!1;if("all"===this.targetAssetType?i=!0:"media"===this.targetAssetType?"jpg"===e||"jpeg"===e||"png"===e||"gif"===e||"webm"===e||"webp"===e||"mp4"===e?i=!0:alert(this.util.out("Please select an image or video file.")):"image"===this.targetAssetType?"jpg"===e||"jpeg"===e||"png"===e||"gif"===e||"webm"===e||"webp"===e?i=!0:alert(this.util.out("Please select an image file.")):"video"===this.targetAssetType?"mp4"===e?i=!0:alert(this.util.out("Please select an mp4 file.")):"audio"===this.targetAssetType&&("mp3"===e?i=!0:alert(this.util.out("Please select an mp3 file."))),i){this.targetInput.value=t,"inpCellLinkSource"===this.targetInput.id&&this.targetCallback();let e=document.querySelector(".is-modal.videoselect.active");e&&this.hideModal(e),e=document.querySelector(".is-modal.imageselect.active"),e&&this.hideModal(e),e=document.querySelector(".is-modal.fileselect.active"),e&&this.hideModal(e),e=document.querySelector(".is-modal.audioselect.active"),e&&this.hideModal(e),e=document.querySelector(".is-modal.mediaselect.active"),e&&this.hideModal(e),e=document.querySelector(".is-modal.otherselect.active"),e&&this.hideModal(e)}}assetType(){return this.targetAssetType}renderSelectAsset(t,e,i){const n="inp_"+this.util.makeId();t.insertAdjacentHTML("afterend",`<input type="hidden" id="${n}">`);const o=t.parentNode.querySelector(`#${n}`);t.addEventListener("click",(()=>{this.openAsset(o,e,t)}));let s=t=>this.util.out(t);const r=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value");Object.defineProperty(o,"value",{get:r.get,set:function(t){let n=t.substring(t.lastIndexOf("/")+1).split(".").pop();n=n.toLowerCase();let o=!1;"all"===e?o=!0:"media"===e?"jpg"===n||"jpeg"===n||"png"===n||"gif"===n||"webm"===n||"webp"===n||"mp4"===n?o=!0:alert(s("Please select an image or video file.")):"video"===e?"mp4"===n?o=!0:alert(s("Please select an mp4 file.")):"image"===e?"jpg"===n||"jpeg"===n||"png"===n||"gif"===n||"webm"===n||"webp"===n?o=!0:alert(s("Please select an image file.")):"audio"===e&&("mp3"===n?o=!0:alert(s("Please select an mp3 file."))),o&&i&&i(t),r.set.call(this,t)}})}openOther(t,e,i){if(this.opts.onOtherSelectClick)this.opts.onOtherSelectClick({targetInput:t,theTrigger:i});else{let i,n=this.builderStuff.querySelector(".is-modal.otherselect");i=n.querySelector("iframe"),"about:blank"===i.src&&(i.src=this.opts.otherSelect),this.util.showModal(n),this.targetInput=t,this.targetCallback=null,this.targetAssetType=e}}openAsset(t,e,i){if("media"===e&&(this.opts.onMediaSelectClick||this.opts.onImageSelectClick))this.opts.onMediaSelectClick?this.opts.onMediaSelectClick({targetInput:t,theTrigger:i}):this.opts.onImageSelectClick({targetInput:t,theTrigger:i});else if("video"===e&&this.opts.onVideoSelectClick)this.opts.onVideoSelectClick({targetInput:t,theTrigger:i});else if("image"===e&&this.opts.onImageSelectClick)this.opts.onImageSelectClick({targetInput:t,theTrigger:i});else if("audio"===e&&this.opts.onAudioSelectClick)this.opts.onAudioSelectClick({targetInput:t,theTrigger:i});else if("all"===e&&this.opts.onFileSelectClick)this.opts.onFileSelectClick({targetInput:t,theTrigger:i});else{let i,n;"media"===e?(n=this.builderStuff.querySelector(".is-modal.mediaselect"),i=n.querySelector("iframe"),"about:blank"===i.src&&(this.opts.mediaSelect?i.src=this.opts.mediaSelect:this.opts.imageSelect&&(i.src=this.opts.imageSelect))):"video"===e?(n=this.builderStuff.querySelector(".is-modal.videoselect"),i=n.querySelector("iframe"),"about:blank"===i.src&&(i.src=this.opts.videoSelect)):"image"===e?(n=this.builderStuff.querySelector(".is-modal.imageselect"),i=n.querySelector("iframe"),"about:blank"===i.src&&(i.src=this.opts.imageSelect)):"audio"===e?(n=this.builderStuff.querySelector(".is-modal.audioselect"),i=n.querySelector("iframe"),"about:blank"===i.src&&(i.src=this.opts.audioSelect)):"all"===e&&(n=this.builderStuff.querySelector(".is-modal.fileselect"),i=n.querySelector("iframe"),"about:blank"===i.src&&(i.src=this.opts.fileSelect)),this.util.showModal(n),this.targetInput=t,this.targetCallback=null,this.targetAssetType=e}}moveRowUp(){this._rowTool.moveRowUp()}moveRowDown(){this._rowTool.moveRowDown()}duplicateRow(){this._rowTool.duplicateRow()}removeRow(){this._rowTool.removeRow()}moveColumnLeft(){this.colTool.moveColumnLeft()}moveColumnRight(){this.colTool.moveColumnRight()}duplicateColumn(){this.colTool.duplicateColumn()}removeColumn(){this.colTool.removeColumn()}moveColumnUp(){this.colTool.moveColumnUp()}moveColumnDown(){this.colTool.moveColumnDown()}formatText(t){this.rte.formatText(t)}formatTextNonToggle(t){this.rte.formatTextNonToggle(t)}LightenDarkenColor(t,e){return this.util.LightenDarkenColor(t,e)}pickColor(t,e){new Fg({colors:this.opts.colors,animateModal:!1,lang:this.opts.lang}).open(t,e)}addSnippet(t,e,i){this.util.addSnippet(t,e,i)}viewSnippets(){this.rte.viewSnippets()}saveForUndo(t){this.uo.saveForUndo(t)}download(t={}){this.export(t,!0)}export(t={},e=!1){let i=this.pageTemplate,n="";this.makeAbsolute=!0,this.shortenOutput=e;let o=this.html();if(this.makeAbsolute=!1,this.shortenOutput=!1,n=i.replace("[%CONTENT%]",o),t.replace&&t.replace.forEach((t=>{n=n.replaceAll(`${t[0]}`,t[1])})),t.path)n=n.replaceAll("[%PATH%]",t.path);else{let t;t=location.href.substring(0,location.href.lastIndexOf("/")),n=n.replaceAll("[%PATH%]",t)}n=this.beautify(n);const s=document.createElement("a");s.href=window.URL.createObjectURL(new Blob([n],{type:"text/plain"})),s.download="page.html",s.click()}beautify(t){return new Ei(this).beautify(t)}openPreview(){this.livePreview.openPreview()}closePreview(){this.livePreview.closePreview()}getActiveModule(){return document.querySelector("[data-module-active]")}getModuleSettings(){let t=document.querySelector("[data-module-active]");return decodeURIComponent(t.getAttribute("data-settings"))}setModuleHtml(t){document.querySelector("#hidContentModuleCode").value=t}setModuleSettings(t){document.querySelector("#hidContentModuleSettings").value=t}makeId(){return this.util.makeId()}setTooltip(t){this.tooltip.setAll(t)}loadPlugins(){if(!this.builderStuff)return;if(void 0===this.opts.scriptPath&&""===this.opts.pluginPath)return;if(this.numOfPlugins=0,"string"==typeof this.opts.plugins[0])return void this.loadPluginsOldWay();const t=this.builderStuff.querySelector(".is-rte-tool"),e=this.builderStuff.querySelector(".rte-more-options"),i=this.builderStuff.querySelector(".is-elementrte-tool"),n=this.builderStuff.querySelector(".elementrte-more-options");let o;for(o=this.opts.plugins.length-1;o>=0;o--){const s=this.opts.plugins[o].name,r=this.opts.plugins[o].showInMainToolbar,l=this.opts.plugins[o].showInElementToolbar;let a=!1;(t.querySelector('[data-plugin="'+s+'"]')||e.querySelector('[data-plugin="'+s+'"]'))&&(a=!0);let d=!1;if((i.querySelector('[data-plugin="'+s+'"]')||n.querySelector('[data-plugin="'+s+'"]'))&&(d=!0),r&&!a){e.querySelectorAll("div:not(.rte-separator)").forEach((t=>{t.insertAdjacentHTML("afterbegin",'<button style="width:46px;" title="button not found" data-plugin="'+s+'"></button>')}))}l&&!d&&n.querySelector("div").insertAdjacentHTML("afterbegin",'<button style="width:46px;" title="button not found" data-plugin="'+s+'"></button>')}for(o=0;o<this.opts.plugins.length;o++){const t=this.opts.plugins[o].name;let e=this.opts.scriptPath+"plugins/"+t+"/plugin.js";""!==this.opts.pluginPath&&(e=this.opts.pluginPath+"plugins/"+t+"/plugin.js"),this.loadScript(e).then((()=>{this.numOfPlugins++,this.numOfPlugins===this.opts.plugins.length&&(this.opts.onPluginsLoaded&&this.opts.onPluginsLoaded(),this.tooltip.setAll(),new Pi({selector:".is-draggable"}))}))}}loadPluginsOldWay(){const t=this.builderStuff.querySelector(".is-rte-tool"),e=this.builderStuff.querySelector(".rte-more-options"),i=this.builderStuff.querySelector(".is-elementrte-tool"),n=this.builderStuff.querySelector(".elementrte-more-options");let o;for(o=this.opts.plugins.length-1;o>=0;o--){const s=this.opts.plugins[o];let r=!1;(t.querySelector('[data-plugin="'+s+'"]')||e.querySelector('[data-plugin="'+s+'"]'))&&(r=!0);let l=!1;(i.querySelector('[data-plugin="'+s+'"]')||n.querySelector('[data-plugin="'+s+'"]'))&&(l=!0),r||e.querySelector("div").insertAdjacentHTML("afterbegin",'<button style="width:46px;" title="button not found" data-plugin="'+this.opts.plugins[o]+'"></button>'),l||n.querySelector("div").insertAdjacentHTML("afterbegin",'<button style="width:46px;" title="button not found" data-plugin="'+this.opts.plugins[o]+'"></button>')}for(o=0;o<this.opts.plugins.length;o++){let t=this.opts.scriptPath+"plugins/"+this.opts.plugins[o]+"/plugin.js";""!==this.opts.pluginPath&&(t=this.opts.pluginPath+"plugins/"+this.opts.plugins[o]+"/plugin.js"),this.loadScript(t).then((()=>{if(this.numOfPlugins++,this.numOfPlugins===this.opts.plugins.length){let t=e.querySelectorAll("[data-plugin]");Array.prototype.forEach.call(t,(t=>{t.outerHTML=""})),t=n.querySelectorAll("[data-plugin]"),Array.prototype.forEach.call(t,(t=>{t.outerHTML=""})),this.opts.onPluginsLoaded&&this.opts.onPluginsLoaded(),this.tooltip.setAll(),new Pi({selector:".is-draggable"})}}))}}addHtml(t){this.dom.appendHtml(this.builderStuff,t)}addCss(t){this.dom.appendHtml(document.head,t)}addButton_OLD(t,e,i,n){if(!this.builderStuff)return;const o=this.builderStuff.querySelector(".is-rte-tool"),s=this.builderStuff.querySelector(".rte-more-options");var r=!1;if(o.querySelector('[data-plugin="'+t+'"]')?o.querySelector('[data-plugin="'+t+'"]').outerHTML=e:s.querySelector('[data-plugin="'+t+'"]')&&(s.querySelector('[data-plugin="'+t+'"]').outerHTML=e,r=!0),!o.querySelector(".rte-more")&&r){o.insertAdjacentHTML("beforeend",`<button title="${this.util.out("More")}" class="rte-more"><svg class="is-icon-flex" style="width:13px;height:13px;"><use xlink:href="#ion-more"></use></svg></button>`);let t=this.rteTool.querySelector("button.rte-more");t&&this.dom.addEventListener(t,"click",(()=>{this.rte.showRteMore()}))}let l=o.querySelector(i);l=l||s.querySelector(i),l&&(l.setAttribute("data-title",l.getAttribute("title")),this.dom.addEventListener(l,"click",(t=>{n(t)})))}addButton(t,e,i,n){if(!this.builderStuff)return;const o=this.builderStuff.querySelector(".is-rte-tool"),s=this.builderStuff.querySelector(".rte-more-options");var r=!1;s.querySelector('[data-plugin="'+t+'"]')&&(r=!0);if(this.builderStuff.querySelectorAll('[data-plugin="'+t+'"]').forEach((t=>{t.outerHTML=e})),!o.querySelector(".rte-more")&&r){o.insertAdjacentHTML("beforeend",`<button title="${this.util.out("More")}" class="rte-more"><svg class="is-icon-flex" style="width:13px;height:13px;"><use xlink:href="#ion-more"></use></svg></button>`);let t=this.rteTool.querySelector("button.rte-more");t&&this.dom.addEventListener(t,"click",(()=>{this.rte.showRteMore()}))}let l=o.querySelectorAll(i);l.forEach((t=>{t.setAttribute("data-title",t.getAttribute("title")),this.dom.addEventListener(t,"click",(t=>{n(t)}))})),l=s.querySelectorAll(i),l.forEach((t=>{t.setAttribute("data-title",t.getAttribute("title")),this.dom.addEventListener(t,"click",(t=>{n(t)}))}))}addButton2(t,e,i,n){if(!this.builderStuff)return;const o=this.builderStuff.querySelector(".is-elementrte-tool"),s=this.builderStuff.querySelector(".elementrte-more-options");var r=!1;if(o.querySelector('[data-plugin="'+t+'"]')?o.querySelector('[data-plugin="'+t+'"]').outerHTML=e:s.querySelector('[data-plugin="'+t+'"]')&&(s.querySelector('[data-plugin="'+t+'"]').outerHTML=e,r=!0),!o.querySelector(".rte-more")&&r){o.insertAdjacentHTML("beforeend",`<button title="${this.util.out("More")}" class="rte-more"><svg class="is-icon-flex" style="width:13px;height:13px;"><use xlink:href="#ion-more"></use></svg></button>`);let t=this.elementRteTool.querySelector("button.rte-more");t&&this.dom.addEventListener(t,"click",(()=>{this.rte.showElementRteMore()}))}let l=o.querySelector(i);l=l||s.querySelector(i),l&&(l.setAttribute("data-title",l.getAttribute("title")),this.dom.addEventListener(l,"click",(t=>{n(t)})))}showModal(t,e,i,n){this.util.showModal(t,e,i,n)}hideModal(t){this.util._hideModal(t)}draggable(t){new Pi({selector:t})}createModal(t,e,i,n,o){let s=this.builderStuff.querySelector(e);return s||(this.builderStuff.appendChild(t),s=this.builderStuff.querySelector(e)),this.showModal(s,i,n,o),new Pi({selector:".is-draggable"}),s}getIcons(){return this.rte.getIcons()}showSidePanel(t){let e=this.builderStuff.querySelectorAll(".is-side");Array.prototype.forEach.call(e,(t=>{this.dom.removeClass(t,"active")})),this.dom.addClass(t,"active")}hideSidePanel(t){this.dom.removeClass(t,"active")}getScriptPath(){return this.opts.scriptPath}getSnippetPath(){return this.opts.snippetPath}out(t){return this.util.out(t)}undo(){this.uo.doUndo()}redo(){this.uo.doRedo()}getScope(){let t;const e=this.doc.querySelectorAll(this.opts.container);if(e.length>1){const i=this.util.cellSelected();t=i?i.parentNode.parentNode:e[0]}else t=e[0];if(""!==this.opts.page){const e=this.doc.querySelector(this.opts.page);e&&(t=e)}return t}saveSelection(){this.util.saveSelection()}restoreSelection(){this.util.restoreSelection()}pasteHtmlAtCaret(t,e){this.util.pasteHtmlAtCaret(t,e)}getScript(t,e){this.loadScript(t).then((()=>{e&&e()}),(()=>{console.log("Fail to load config")}))}getScripts(t,e){let i=0;this.loadScript(t[i]).then((()=>{i=this._helper1(i,t,e)}))}_helper1(t,e,i){if(++t<e.length){return this.loadScript(e[t]).then((()=>{t=this._helper1(t,e,i)})),t}i&&i()}includeJs(t,e){-1===this.filesAdded.indexOf("["+t+"]")?(this.getScript(t,e),this.filesAdded+="["+t+"]"):e&&e()}includeCss(t){if(-1===this.filesAdded.indexOf("["+t+"]")){var e=document.createElement("link");e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),document.getElementsByTagName("head")[0].appendChild(e),this.filesAdded+="["+t+"]"}}applyStyle(t,e){if(-1===this.filesAdded.indexOf("["+t+"]")){var i=document.createElement("style");i.innerHTML=e,document.getElementsByTagName("head")[0].appendChild(i),this.filesAdded+="["+t+"]"}}viewHtml(t){new Ei(this).view("full",t)}viewPreferences(){this.preferences.view()}viewConfig(){this.preferences.view()}viewZoom(){this.rte.viewZoom()}loadSnippets(t){if(this.preview)return;if(document.querySelector(this.opts.snippetList))return;if(this.isScriptAlreadyIncluded(t))return;const e=document.createElement("script");e.src=t,e.async=!0,e.onload=()=>{this.opts.snippetJSON=window.data_basic,""===this.opts.snippetPath&&(this.opts.snippetPath=window._snippets_path),this.opts.snippetJSON.snippets.length>0&&Vo(this)},document.body.appendChild(e)}isScriptAlreadyIncluded(t){const e=document.getElementsByTagName("script");for(let i=0;i<e.length;i++)if(e[i].getAttribute("src")===t)return!0;return!1}loadHtml(t,e){const i=this.util;if(e);else{const t=this.doc.querySelectorAll(this.opts.container);if(t.length>1){const n=i.cellSelected();e=n?n.parentNode.parentNode:t[0]}else e=t[0];if(""!==this.opts.page){const t=this.doc.querySelector(this.opts.page);t&&(e=t)}}let n=this.doc.createRange();e.innerHTML="",e.appendChild(n.createContextualFragment(t)),this.applyBehavior(),this.opts.onChange(),this.opts.onRender(),null!=localStorage.getItem("_livepreview")&&this.livePreview.openPreview()}loadHTML(t){this.loadHtml(t)}setUIColor(t,e){let i=document.querySelector("[data-cb-color]");if(i&&i.setAttribute("data-cb-del",""),e){var n=document.createElement("link");n.rel="stylesheet",n.href=e,n.setAttribute("data-cb-color",""),n.addEventListener("load",(()=>{i=document.querySelector("[data-cb-del]"),i&&i.parentNode.removeChild(i),"dark"===t&&(this.dom.removeClass(document.body,"colored"),this.dom.removeClass(document.body,"colored-dark"),this.dom.removeClass(document.body,"light"),this.dom.addClass(document.body,"dark")),"colored"===t&&(this.dom.removeClass(document.body,"dark"),this.dom.removeClass(document.body,"colored-dark"),this.dom.removeClass(document.body,"light"),this.dom.addClass(document.body,"colored")),"colored-dark"===t&&(this.dom.removeClass(document.body,"dark"),this.dom.removeClass(document.body,"colored"),this.dom.removeClass(document.body,"light"),this.dom.addClass(document.body,"colored-dark")),""===t&&(this.dom.removeClass(document.body,"dark"),this.dom.removeClass(document.body,"colored-dark"),this.dom.removeClass(document.body,"colored"),this.dom.removeClass(document.body,"light")),"light"===t&&(this.dom.removeClass(document.body,"dark"),this.dom.removeClass(document.body,"colored-dark"),this.dom.removeClass(document.body,"colored"),this.dom.addClass(document.body,"light"));const e=this.util;setTimeout((()=>{e.getUIStyles(),this.setUIColorRefresh(),this.opts.onThemeChange&&this.opts.onThemeChange()}),300)})),document.head.appendChild(n)}else{i=document.querySelector("[data-cb-del]"),i&&i.parentNode.removeChild(i),""===t&&(this.dom.removeClass(document.body,"dark"),this.dom.removeClass(document.body,"colored-dark"),this.dom.removeClass(document.body,"colored"),this.dom.removeClass(document.body,"light"));const e=this.util;setTimeout((()=>{e.getUIStyles(),this.setUIColorRefresh(),this.opts.onThemeChange&&this.opts.onThemeChange()}),1e3)}}setUIColorRefresh(){const t=this.util;if(!this.rte||!this.element)return void setTimeout((()=>{this.setUIColorRefresh()}),600);let e=this.rte.rteFontFamilyOptions.querySelector("iframe").contentWindow.document;let i=this.builderStuff.querySelector(".is-modal.pickfontfamily").querySelector("iframe").contentWindow.document,n=this.rte.rteIconOptions.querySelector("iframe").contentWindow.document;""===e.body.innerHTML?(e.open(),this.opts.emailMode?e.write(t.getFontFamilyEmail()):e.write(t.getFontFamilyHTML()),e.close()):this.util.refreshFontFamilyStyle1(),""===i.body.innerHTML?(i.open(),this.opts.emailMode?i.write(t.getFontFamilyEmail(!0)):i.write(t.getFontFamilyHTML(!0)),i.close()):this.util.refreshFontFamilyStyle2(),""===n.body.innerHTML?(n.open(),n.write(this.rte.getIconsHTML()),n.close()):this.rte.refreshIconsStyle(),this.builderStuff.querySelector(".snippets").querySelector("iframe").src="about:blank";let o=document.querySelector(".is-modal.videoselect"),s=document.querySelector(".is-modal.imageselect"),r=document.querySelector(".is-modal.fileselect"),l=document.querySelector(".is-modal.otherselect"),a=o.querySelector("iframe"),d=s.querySelector("iframe"),c=r.querySelector("iframe"),u=l.querySelector("iframe");a.contentWindow.applyParentStyles&&a.contentWindow.applyParentStyles(),d.contentWindow.applyParentStyles&&d.contentWindow.applyParentStyles(),c.contentWindow.applyParentStyles&&c.contentWindow.applyParentStyles(),u.contentWindow.applyParentStyles&&u.contentWindow.applyParentStyles()}openMedia(t){let e="",i=t.getAttribute("data-modal-theme");i||(i="light");const n=t.getAttribute("data-modal-color");if(t.getAttribute("data-modal-url")){e=t.getAttribute("data-modal-url");let o=e.split(".").pop().split("?")[0].split("#")[0];if("jpg"===o||"jpeg"===o||"png"===o||"gif"===o||"webm"===o||"webp"===o)this.lightbox.openImage(e,i,n);else if("mp4"===o)this.lightbox.openVideo(e,"dark",n);else if(-1!==e.toLowerCase().indexOf("youtube.com")||-1!==e.toLowerCase().indexOf("youtube-nocookie.com")||-1!==e.toLowerCase().indexOf("vimeo.com"))this.lightbox.openExternalVideo(e,"dark",n);else{if(0===e.indexOf("#"));else{if(!window.confirm(this.util.out("Do you really want to leave?")))return!1}window.location.href=e}}else t.getAttribute("data-modal-image")&&(e=t.getAttribute("data-modal-image"),this.lightbox.openImage(e,i,n)),t.getAttribute("data-modal-video")&&(e=t.getAttribute("data-modal-video"),this.lightbox.openVideo(e,"dark",n)),t.getAttribute("data-modal-externalvideo")&&(e=t.getAttribute("data-modal-externalvideo"),this.lightbox.openExternalVideo(e,"dark",n))}lightboxOpen(t){this.useLightbox&&(t.hasAttribute("data-noedit")||t.hasAttribute("data-protected"))&&this.dom.hasClass(t,"block-click")&&this.openMedia(t)}handleCellClick(t,e){this.cleanEditing&&(t.parentNode.querySelector(".is-row-tool").style.display="",t.parentNode.querySelector(".is-col-tool").style.display=""),this.lightboxOpen(t);this.util.clearActiveCell(),this.activeCol=t;let i=e.target;this.dom.addClass(t,"cell-active");let n=t.parentNode;this.dom.addClass(n,"row-active");const o=this.doc.querySelectorAll(this.opts.container);Array.prototype.forEach.call(o,(t=>{this.dom.removeClass(t,"builder-active")})),this.dom.addClass(n.parentNode,"builder-active"),this.dom.addClass(this.doc.body,"content-edit"),n.childElementCount-2==1||this.dom.addClass(n,"row-outline"),this.opts.onContentClick&&this.opts.onContentClick(e),this.element.click(t,e),this.colTool.click(t),this.elmTool.click(t,e),this.rte.click(t,e);const s=document.querySelector(".grideditor.active");if(s){const e=s.querySelector(".cell-locking");t.hasAttribute("data-noedit")?this.dom.addClass(e,"on"):this.dom.removeClass(e,"on")}let r=this.dom.getParentElement(i,"a");if(("a"===i.tagName.toLowerCase()||r)&&(t.hasAttribute("data-noedit")||t.hasAttribute("data-protected"))){if("true"===t.getAttribute("contenteditable"))return e.preventDefault(),!1;if("a"===i.tagName.toLowerCase()&&(r=i),this.useLightbox&&this.dom.hasClass(r,"is-lightbox")){let t=r.getAttribute("href");if(!t)return e.preventDefault(),!1;let n=t.split(".").pop().split("?")[0].split("#")[0],o=r.getAttribute("data-modal-theme");o||(o="light");const s=i.getAttribute("data-modal-color");if("jpg"===n||"jpeg"===n||"png"===n||"gif"===n||"webm"===n||"webp"===n)return this.lightbox.openImage(t,o,s),e.preventDefault(),!1;if("mp4"===n)return this.lightbox.openVideo(t,"dark",s),e.preventDefault(),!1;if(-1!==t.toLowerCase().indexOf("youtube.com")||-1!==t.toLowerCase().indexOf("youtube-nocookie.com")||-1!==t.toLowerCase().indexOf("vimeo.com"))return this.lightbox.openExternalVideo(t,"dark",s),e.preventDefault(),!1;if(0===t.indexOf("#"));else{if(!window.confirm(this.util.out("Do you really want to leave?")))return e.preventDefault(),!1}}else{let t=r.getAttribute("href");if(!t)return e.preventDefault(),!1;if(0===t.indexOf("#"));else{if(!window.confirm(this.util.out("Do you really want to leave?")))return e.preventDefault(),!1}}}if(1===t.childElementCount){let e=t.children[0];e&&this.dom.hasClass(e,"spacer")&&(t.contentEditable=!1)}this.colTool.showHideLockIndicator(t);const l=n.querySelector(".is-rowadd-tool").querySelector("button");l.style.marginTop="";const a=Array.from(n.parentNode.children).filter((t=>"div"===t.nodeName.toLowerCase()));if(a&&a.length>0){if(n===a[a.length-1]){const t=n.closest(".is-section");if(t){const e=this.dom.getElementOffset(t);let i=e.top+e.height;const o=this.dom.getElementOffset(n);i-(o.top+o.height)<19&&(l.style.marginTop="-14px")}}}this.opts.enableDragResize&&(this.resize&&this.resize.destroy(),t.classList.contains("noresize")||(this.resize=new tf(t,this),this.resize.enable()))}handleCellKeypress(t){t.ctrlKey||t.metaKey||(null===this.uoTm?(this.uo.saveForUndo(),this.uoTm=setTimeout((()=>{this.uoTm=null}),1e3)):(clearTimeout(this.uoTm),this.uoTm=setTimeout((()=>{this.uoTm=null}),1e3)))}handleCellKeydown(t,e){this.oriLen=t.textContent.length;let i=t.querySelectorAll("span");if(Array.prototype.forEach.call(i,(t=>{t.setAttribute("data-keep","")})),(e.ctrlKey||e.metaKey)&&86===e.which&&this.handleCellPaste(),this.opts.elementSelection&&!this.emailMode&&(e.ctrlKey||e.metaKey)&&65===e.which){let t;try{this.win.getSelection?t=this.win.getSelection().getRangeAt(0).commonAncestorContainer.parentNode:this.doc.selection&&(t=this.doc.selection.createRange().parentElement()),this.dom.hasClass(t.parentNode.parentNode,"is-builder")||this.dom.selectElementContents(t),e.preventDefault()}catch(e){}}if(46===e.keyCode){let t;try{if(window.getSelection?t=window.getSelection().getRangeAt(0).commonAncestorContainer:document.selection&&(t=document.selection.createRange()),"<br>"===t.innerHTML){t.nextElementSibling&&(t.parentNode.removeChild(t),e.preventDefault())}}catch(e){}}if(8===e.keyCode){let t;try{if(window.getSelection?t=window.getSelection().getRangeAt(0).commonAncestorContainer:document.selection&&(t=document.selection.createRange()),""===t.textContent){t.previousElementSibling||e.preventDefault()}}catch(e){}}if(9===e.which&&!e.shiftKey){const t=this.activeCol;if(t)if(t.nextElementSibling&&t.nextElementSibling.hasAttribute("data-click")){const i=t.nextElementSibling;i&&i.click();let n=window.getSelection(),o=this.createRange(i,{count:0});o&&(o.collapse(!1),n.removeAllRanges(),n.addRange(o)),i.firstElementChild&&setTimeout((()=>{i.firstElementChild.click()}),200),e.preventDefault()}else if(t.parentNode.nextElementSibling){const i=t.parentNode.nextElementSibling;if(i){const t=i.firstElementChild;t&&t.click();let n=window.getSelection(),o=this.createRange(t,{count:0});o&&(o.collapse(!1),n.removeAllRanges(),n.addRange(o)),t.firstElementChild&&setTimeout((()=>{t.firstElementChild.click()}),200),e.preventDefault()}}}if(9===e.which&&e.shiftKey){const t=this.activeCol;if(t)if(t.previousElementSibling&&t.previousElementSibling.hasAttribute("data-click")){const i=t.previousElementSibling;i&&i.click(),i.firstElementChild&&i.firstElementChild.click();let n=window.getSelection(),o=this.createRange(i,{count:0});o&&(o.collapse(!1),n.removeAllRanges(),n.addRange(o)),i.firstElementChild&&setTimeout((()=>{i.firstElementChild.click()}),200),e.preventDefault()}else if(t.parentNode.previousElementSibling){const i=t.parentNode.previousElementSibling.querySelectorAll("[data-click]");if(i.length>0){const t=i[i.length-1];t&&t.click(),t.firstElementChild&&t.firstElementChild.click();let n=window.getSelection(),o=this.createRange(t,{count:0});o&&(o.collapse(!1),n.removeAllRanges(),n.addRange(o)),t.firstElementChild&&setTimeout((()=>{t.firstElementChild.click()}),200),e.preventDefault()}}}const n=()=>{let e=t.querySelectorAll("span");Array.prototype.forEach.call(e,(t=>{t.setAttribute("data-keep","")}))},o=e.ctrlKey||e.metaKey;if(o&&66===e.which&&this.opts.useCssClasses&&(this.dom.execCommandToggle("fontWeight","",this.opts.cssClasses),this.opts.onChange(),e.preventDefault(),n()),o&&73===e.which&&this.opts.useCssClasses&&(this.dom.execCommandToggle("fontStyle","",this.opts.cssClasses),this.opts.onChange(),e.preventDefault(),n()),o&&85===e.which&&this.opts.useCssClasses&&(this.dom.execCommandToggle("textUnderline","",this.opts.cssClasses),this.opts.onChange(),e.preventDefault(),n()),o&&83===e.which&&this.opts.useCssClasses&&(this.dom.execCommandToggle("textLinethrough","",this.opts.cssClasses),this.opts.onChange(),e.preventDefault(),n()),o&&221===e.which&&(e.preventDefault(),document.execCommand("indent",!1,null),this.opts.onChange(),e.preventDefault(),n()),o&&219===e.which&&(e.preventDefault(),document.execCommand("outdent",!1,null),this.opts.onChange(),e.preventDefault(),n()),o&&75===e.which&&(this.element.hyperlink.createLink(),e.preventDefault()),o&&80===e.which&&(e.preventDefault(),this.rte.insertImage()),(46===e.which||8===e.which)&&this.activeIcon){if("a"===this.activeIcon.parentNode.tagName.toLowerCase()&&1===this.activeIcon.parentNode.children.length||1===this.activeIcon.parentNode.children.length){let t=this.activeIcon.parentNode,e=t.parentNode;t.parentNode.removeChild(t);this.builderStuff.querySelector("#divLinkTool").style.display="";this.builderStuff.querySelector(".is-element-tool").style.display="",e&&""===e.innerHTML.trim()&&e.parentNode.removeChild(e)}else this.activeIcon.parentNode.removeChild(this.activeIcon);e.preventDefault()}this.cleanEditing&&(this.colTool.columnTool.classList.remove("active"),t.parentNode.querySelector(".is-row-tool").style.display="none",t.parentNode.querySelector(".is-col-tool").style.display="none")}createRange(t,e,i){if(i||((i=document.createRange()).selectNode(t),i.setStart(t,0)),0===e.count)i.setEnd(t,e.count);else if(t&&e.count>0)if(t.nodeType===Node.TEXT_NODE)t.textContent.length<e.count?e.count-=t.textContent.length:(i.setEnd(t,e.count),e.count=0);else for(var n=0;n<t.childNodes.length&&(i=this.createRange(t.childNodes[n],e,i),0!==e.count);n++);return i}handleCellFocus(t){const e=this.activeCol;e?t!==e&&(t.firstElementChild?t.firstElementChild.click():t.click()):t.firstElementChild?t.firstElementChild.click():t.click()}handleCellKeyup(t,e){this.dom.textSelection()&&("38"===e.keyCode||"40"===e.keyCode||"37"===e.keyCode||"39"===e.keyCode)&&this.util.saveSelection();let i=t.querySelectorAll("span");var n;Array.prototype.forEach.call(i,(t=>{t.hasAttribute("data-keep")||(t.outerHTML=t.innerHTML)}));try{this.win.getSelection?n=this.win.getSelection().getRangeAt(0).commonAncestorContainer.parentNode:this.doc.selection&&(n=this.doc.selection.createRange().parentElement())}catch(e){return}if(13===e.keyCode&&!e.shiftKey){"p"!==n.tagName.toLowerCase()&&"div"!==n.tagName.toLowerCase()||this.doc.execCommand("formatBlock",!1,"<p>");let e=t.querySelectorAll("[data-keep]");Array.prototype.forEach.call(e,(t=>{t.removeAttribute("data-keep")}))}this.oriLen!==t.textContent.length&&this.typing(),this.elmTool.hide()}typing(){this.timeoutId&&clearTimeout(this.timeoutId),this.timeoutId=setTimeout((()=>{this.opts.onChange()}),2e3)}handleCellPaste(){this.uo.saveForUndo();const t=this.util;t.saveSelection();let e=this.doc.querySelector("#idContentWord");var i,n;e&&e.parentNode.removeChild(e),this.win.getSelection?i=3===(n=this.win.getSelection().getRangeAt(0).commonAncestorContainer).nodeType?n.parentNode:n:this.doc.selection&&(n=this.doc.selection.createRange(),i=this.doc.selection.createRange().parentElement());const o='<div style="position:absolute;z-index:-1000;top:'+(i.getBoundingClientRect().top+this.win.pageYOffset)+'px;left:-1000px;width:100px;height:100px;overflow:auto;" name="idContentWord" id="idContentWord" contenteditable="true"></div>';this.iframe?this.dom.appendHtml(this.contentStuff,o):this.dom.appendHtml(this.builderStuff,o),e=this.doc.querySelector("#idContentWord"),e.focus(),setTimeout((()=>{try{var e="";let u=this.doc.querySelector("#idContentWord");var i=!1,n=u.innerText;if(!this.opts.disableAutoEmbedVideo){var o=/^http[s]?:\/\/(((www.youtube.com\/watch\?(feature=player_detailpage&)?)v=)|(youtu.be\/))([^#&?]*)/.exec(n),s=/^.*(vimeo\.com\/)((channels\/[A-z]+\/)|(groups\/[A-z]+\/videos\/)|(video\/))?([0-9]+)\/?/.exec(n);if(null!==o||null!==s){if(null!==o&&o.length>=7)n="https://www.youtube.com/embed/"+o[6]+"?rel=0";if(null!==s&&s.length>=7)n="https://player.vimeo.com/video/"+s[6];e='<div class="embed-responsive embed-responsive-16by9"><iframe tabindex="0" width="560" height="315" src="'+n+'" frameborder="0" allowfullscreen=""></iframe></div>',i=!0}}if(!i)if("text"===this.opts.paste){let t=u.querySelectorAll("p,h1,h2,h3,h4,h5,h6");Array.prototype.forEach.call(t,(t=>{t.innerHTML=t.innerHTML+" "})),0===(e=(e=(e=u.innerHTML).replace(/(<([^>]+)>)/gi,"<br>")).replace(/(<br\s*\/?>){3,}/gi,"<br>")).indexOf("<br>")&&(e=e.substring(4)),"<br>"===e.substring(e.length-4)&&(e=e.substring(0,e.length-4)),e=e.trim()}else{e=u.innerHTML,e="html"===this.opts.paste?t.cleanHTML(e,!1):t.cleanHTML(e,!0),u.innerHTML=e;let i=u.querySelectorAll("li");Array.prototype.forEach.call(i,(t=>{t.style.whiteSpace="";const e=t.childNodes;let i=e.length;for(;i--;)"P"===e[i].tagName&&(e[i].outerHTML=e[i].innerHTML)})),e=u.innerHTML}u=this.doc.querySelector("#idContentWord"),u&&u.parentNode.removeChild(u),t.restoreSelection();var r=this.win.getSelection(),l=r.getRangeAt(0);l.extractContents(),l.collapse(!0);var a=l.createContextualFragment(e),d=a.lastChild;if(l.insertNode(a),this.activeCol){this.activeCol.querySelectorAll("h1:empty,h2:empty,h3:empty,h4:empty,h5:empty,h6:empty,p:empty").forEach((t=>{t.remove()}));let t=this.activeCol.querySelector("p.elm-active,h1.elm-active,h2.elm-active,h3.elm-active,h4.elm-active,h5.elm-active,h6.elm-active");if(t){if(t.querySelectorAll("p,h1,h2,h3,h4,h5,h6").length>0){let e=t.nextElementSibling;if(Array.from(t.childNodes).filter((t=>3===t.nodeType&&t.textContent.trim().length>1)).forEach((t=>{const e=document.createElement("p");t.after(e),e.appendChild(t)})),t.firstElementChild&&1===t.childNodes.length&&"SPAN"===t.firstElementChild.tagName){t.outerHTML=t.firstElementChild.innerHTML,this.activeCol.querySelectorAll("*:empty").forEach((t=>{t.remove()})),e?this.dom.moveCursorToElement(e.previousElementSibling):this.dom.moveCursorToElement(this.activeCol);let i=this.doc.querySelector(".builder-active");return i&&this.applyBehaviorOn(i),this.opts.onChange(),void this.opts.onRender()}t.outerHTML=t.innerHTML,this.activeCol.find("h1:empty,h2:empty,h3:empty,h4:empty,h5:empty,h6:empty,p:empty").remove(),e?this.dom.moveCursorToElement(e.previousElementSibling):this.dom.moveCursorToElement(this.activeCol);let i=this.doc.querySelector(".builder-active");return i&&this.applyBehaviorOn(i),this.opts.onChange(),void this.opts.onRender()}}}l.setStartAfter(d),l.setEndAfter(d),l.collapse(!1);var c=l.commonAncestorContainer;if(c&&c.parentNode)try{c.parentNode.normalize()}catch(t){}r.removeAllRanges(),r.addRange(l);let h=this.doc.querySelector(".builder-active");h&&this.applyBehaviorOn(h),this.opts.onChange(),this.opts.onRender()}catch(t){let e=this.doc.querySelector("#idContentWord");e&&e.parentNode.removeChild(e)}}),800)}cellSelected(){return this.util.cellSelected()}loadScript(t,e,i=!0,n=!0){return new Promise(((o,s)=>{let r=document.createElement("script");const l=e||document.getElementsByTagName("script")[0];function a(t,e){(e||!r.readyState||/loaded|complete/.test(r.readyState))&&(r.onload=null,r.onreadystatechange=null,r=void 0,e?s():o())}r.async=i,r.defer=n,r.onload=a,r.onreadystatechange=a,r.src=t,l.parentNode.insertBefore(r,l)}))}currentScriptPath(){let t,e;for(var i=document.getElementsByTagName("script"),n=0;n<i.length;n++){var o=i[n].src;t="contentbuilder.js",o.indexOf(t)>-1&&(e=o.substring(0,o.indexOf(t))),t="contentbuilder.min.js",o.indexOf(t)>-1&&(e=o.substring(0,o.indexOf(t)))}return e}sectionDropSetup(){if(this.page){if(".is-wrapper"!==this.page)return;const t=this.doc.querySelector(this.page);this.sortableOnPage=new Co(t,{scroll:!0,group:"shared",direction:"vertical",animation:150,sort:!0,onAdd:t=>{var e=t.item;if(e.querySelector(".is-col-tool")){let t=e.querySelector(".is-row-tool"),i=e.querySelector(".is-col-tool"),n=e.querySelector(".is-rowadd-tool");e.removeChild(t),e.removeChild(i),e.removeChild(n);let o=e.querySelectorAll("[data-click]");return o.forEach((t=>{t.removeAttribute("data-click")})),e.removeAttribute("draggable"),e.classList.remove("row-active"),e.classList.remove("row-outline"),o=e.querySelectorAll(".cell-active"),o.forEach((t=>{t.classList.remove("cell-active")})),o=e.querySelectorAll("*"),o.forEach((t=>{t.style.cursor=""})),e.outerHTML=this.settings.sectionTemplate.replace("[%CONTENT%]",e.outerHTML),void(this.opts.onSectionAdd&&this.opts.onSectionAdd())}if(e.getAttribute("data-id")){let t=e.getAttribute("data-id");const h=this.opts.snippetJSON.snippets.filter((e=>e.id+""===t&&e));var i,n=h[0].html,o=h[0].noedit;i=-1===n.indexOf('"row'),this.opts.emailMode&&(i=!1);var s=this.opts.row,r=this.opts.cols;if(""!==s&&12===r.length&&(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=n.replace(new RegExp("row clearfix","g"),"row")).replace(new RegExp('"row',"g"),'"'+s)).replace(new RegExp("column full","g"),r[11])).replace(new RegExp("column half","g"),r[5])).replace(new RegExp("column third","g"),r[3])).replace(new RegExp("column fourth","g"),r[2])).replace(new RegExp("column fifth","g"),r[1])).replace(new RegExp("column sixth","g"),r[1])).replace(new RegExp("column two-third","g"),r[7])).replace(new RegExp("column two-fourth","g"),r[8])).replace(new RegExp("column two-fifth","g"),r[9])).replace(new RegExp("column two-sixth","g"),r[9])),n=n.replace(/{id}/g,this.util.makeId()),this.opts.onAdd&&(n=this.opts.onAdd(n)),this.opts.snippetPathReplace.length>0&&""!==this.opts.snippetPathReplace[0]){var l=new RegExp(this.opts.snippetPathReplace[0],"g");n=n.replace(l,this.opts.snippetPathReplace[1]);var a=this.opts.snippetPathReplace[0].replace(/\//g,"%2F"),d=this.opts.snippetPathReplace[1].replace(/\//g,"%2F"),c=new RegExp(a,"g");n=n.replace(c,d)}if(i)n=`<div class="${this.opts.row}"><div class="${this.opts.cols[this.opts.cols.length-1]}"${o?" data-noedit":""}>${n}</div></div>`,e.removeAttribute("draggable"),this.dom.removeClass(e,"snippet-item"),e.outerHTML=this.settings.sectionTemplate.replace("[%CONTENT%]",n);else{let t=this.dom.createElement("div");t.innerHTML=n;let i=t.querySelectorAll("[data-html]");Array.prototype.forEach.call(i,(t=>{n=(n=(n=decodeURIComponent(t.getAttribute("data-html"))).replace(/{id}/g,this.util.makeId())).replace(/<script>/g,""+(this.nonce?`<script nonce="${this.nonce}">`:"<script>"));for(var e=1;e<=20;e++)n=n.replace("[%HTML"+e+"%]",void 0===t.getAttribute("data-html-"+e)?"":decodeURIComponent(t.getAttribute("data-html-"+e)));t.innerHTML=n})),n=t.innerHTML,e.removeAttribute("draggable"),this.dom.removeClass(e,"snippet-item"),e.innerHTML="";var u=document.createRange();u.setStart(e,0),e.appendChild(u.createContextualFragment(n)),e.outerHTML=this.settings.sectionTemplate.replace("[%CONTENT%]",e.innerHTML)}this.opts.onSectionAdd&&this.opts.onSectionAdd(),this.opts.onChange(),this.opts.onRender()}this.sortableOnPage.destroy()}})}}}return gf}();