(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-01fa0652"],{"0921":function(e,t,o){"use strict";o("704f")},5724:function(e){e.exports=JSON.parse('{"counters":{"u_column":4,"u_row":3,"u_content_text":3,"u_content_image":5,"u_content_button":3},"body":{"rows":[{"cells":[1],"columns":[{"contents":[{"type":"text","values":{"containerPadding":"10px","_meta":{"htmlID":"u_content_text_2","htmlClassNames":"u_content_text"},"selectable":true,"draggable":true,"duplicatable":true,"deletable":true,"color":"#000","textAlign":"left","lineHeight":"140%","linkStyle":{"inherit":true,"linkColor":"#0000ee","linkHoverColor":"#0000ee","linkUnderline":true,"linkHoverUnderline":true},"hideDesktop":false,"hideMobile":false,"text":"<p style=\\"font-size: 14px; line-height: 140%; text-align: center;\\"><span style=\\"font-size: 20px; line-height: 28px;\\"><strong>Vamos Transformar o Seu Neg&oacute;cio!</strong></span></p>"}}],"values":{"_meta":{"htmlID":"u_column_1","htmlClassNames":"u_column"}}}],"values":{"displayCondition":null,"columns":false,"backgroundColor":"","columnsBackgroundColor":"","backgroundImage":{"url":"","fullWidth":true,"repeat":false,"center":true,"cover":false},"padding":"10px","hideDesktop":false,"hideMobile":false,"noStackMobile":false,"_meta":{"htmlID":"u_row_1","htmlClassNames":"u_row"},"selectable":true,"draggable":true,"duplicatable":true,"deletable":true}},{"cells":[1],"columns":[{"contents":[{"type":"text","values":{"containerPadding":"10px","_meta":{"htmlID":"u_content_text_3","htmlClassNames":"u_content_text"},"selectable":true,"draggable":true,"duplicatable":true,"deletable":true,"color":"#000","textAlign":"left","lineHeight":"140%","linkStyle":{"inherit":true,"linkColor":"#0000ee","linkHoverColor":"#0000ee","linkUnderline":true,"linkHoverUnderline":true},"hideDesktop":false,"hideMobile":false,"text":"<p style=\\"font-size: 14px; line-height: 140%;\\"><span style=\\"font-size: 14px; line-height: 19.6px;\\"><strong>Ol&aacute; {{nome}} tudo bem.</strong></span></p>\\n<p style=\\"font-size: 14px; line-height: 140%;\\"><span style=\\"font-size: 14px; line-height: 19.6px;\\">allan-godoy aqui da Teste SparkPost, quero convidar voc&ecirc; para nosso webin&aacute;rio que acontece hoje.</span></p>"}},{"type":"image","values":{"containerPadding":"0px","_meta":{"htmlID":"u_content_image_2","htmlClassNames":"u_content_image"},"selectable":true,"draggable":true,"duplicatable":true,"deletable":true,"src":{"url":"https://unroll-images-production.s3.amazonaws.com/projects/959/1528382727254-Launching_Your_Business.jpg","width":745,"height":311,"maxWidth":"100%"},"textAlign":"center","altText":"Image","action":{"name":"web","values":{"href":"","target":"_blank"},"url":"","target":""},"hideDesktop":false,"hideMobile":false}},{"type":"button","values":{"containerPadding":"10px","_meta":{"htmlID":"u_content_button_3","htmlClassNames":"u_content_button"},"selectable":true,"draggable":true,"duplicatable":true,"deletable":true,"href":"","buttonColors":{"color":"#FFFFFF","backgroundColor":"#3AAEE0","hoverColor":"#2A92BF","hoverBackgroundColor":"#3AAEE0"},"size":{"autoWidth":true,"width":"100%"},"textAlign":"center","lineHeight":"120%","border":[],"borderRadius":"4px","padding":"10px 20px","hideDesktop":false,"hideMobile":false,"calculatedHeight":36,"calculatedWidth":156,"text":"Clique aqui Agora"}}],"values":{"_meta":{"htmlID":"u_column_2","htmlClassNames":"u_column"}}}],"values":{"displayCondition":null,"columns":false,"backgroundColor":"","columnsBackgroundColor":"","backgroundImage":{"url":"","fullWidth":true,"repeat":false,"center":true,"cover":false},"padding":"5px","hideDesktop":false,"hideMobile":false,"noStackMobile":false,"_meta":{"htmlID":"u_row_2","htmlClassNames":"u_row"},"selectable":true,"draggable":true,"duplicatable":true,"deletable":true}}],"values":{"backgroundColor":"#ffffff","backgroundImage":{"url":"","fullWidth":true,"repeat":false,"center":true,"cover":false},"contentWidth":"700px","fontFamily":{"label":"Open Sans","value":"\'Open Sans\',sans-serif","type":"google","weights":"400,700"},"preheaderText":"","linkStyle":{"body":true,"linkColor":"#0000ee","linkHoverColor":"#0000ee","linkUnderline":true,"linkHoverUnderline":true},"_meta":{"htmlID":"u_body","htmlClassNames":"u_body"}}},"schemaVersion":5}')},"704f":function(e,t,o){},"8b4e":function(e,t,o){"use strict";o.r(t);var a=function(){var e=this,t=e._self._c;return t("Layout",[t("div",{staticClass:"container-grid2"},[t("Assinatura")],1)])},i=[],s=o("d54e"),n=(o("a4d3"),o("e01a"),function(){var e=this,t=e._self._c;return t("div",{staticClass:"signature"},[t("div",{staticClass:"signature-header"},[t("div",{staticClass:"signature-header-boxLeft"},[t("div",{staticClass:"signature-header-boxLeft__title"},[t("TitlePage",{attrs:{title:e.$t("combos.texts.title")}},[t("IconSax",{attrs:{name:"box-tick"}})],1)],1),t("div",{staticClass:"signature-header-boxLeft__description"},[e._v(" "+e._s(e.$t("combos.texts.txt1"))+" ")])]),t("div",{staticClass:"signature-header-boxRight"},[t("ButtonPlay",{attrs:{type:"normal",size:"lg","min-width":"177px"},on:{click:e.openModalNew}},[e._v(" "+e._s(e.$t("combos.texts.txt2"))+" ")])],1)]),t("div",{staticClass:"signature-body"},[t("b-table",{staticClass:"signature-body-table",attrs:{fields:e.fields,"show-empty":"",small:"",stacked:"md",items:e.allCombos,"thead-tr-class":"signature-body-table-header","tbody-tr-class":"signature-body-table-row","filter-included-fields":e.filterOn},scopedSlots:e._u([{key:"empty",fn:function(){return[t("p",{staticClass:"title text-center-empty"},[e._v(e._s(e.emptyText))])]},proxy:!0},{key:"emptyfiltered",fn:function(){return[t("p",{staticClass:"title text-center-empty"},[e._v(e._s(e.emptyText))])]},proxy:!0},{key:"cell(id)",fn:function(o){return[t("div",{staticClass:"signature-body-table-row__info"},[e._v(e._s(o.item.id))])]}},{key:"cell(title)",fn:function(o){return[t("div",{staticClass:"signature-body-table-row__info"},[e._v(e._s(o.item.title))])]}},{key:"cell(created_at)",fn:function(o){return[t("div",{staticClass:"signature-body-table-row__info"},[e._v(" "+e._s(e._f("moment")(o.item.created_at,"DD/MM/YYYY HH:mm"))+" ")])]}},{key:"cell(updated_at)",fn:function(o){return[t("div",{staticClass:"signature-body-table-row__info"},[e._v(" "+e._s(e._f("moment")(o.item.updated_at,"DD/MM/YYYY HH:mm"))+" ")])]}},{key:"cell(action)",fn:function(o){return[t("div",{staticClass:"signature-body-table-row__actions"},[t("div",{staticClass:"signature-body-table-row__actions--manager",on:{click:function(t){return e.editAssinatura(o.item)}}},[e._v(" "+e._s(e.$t("combos.texts.txt3"))+" ")]),t("div",{staticClass:"signature-body-table-row__actions--delete",on:{click:function(t){return e.openModalDeleteCombo(o.item.id)}}},[e._v(" "+e._s(e.$t("combos.texts.txt4"))+" ")])])]}}])}),t("div",{staticClass:"signature-body-paginate"},[t("div",{staticClass:"text",on:{click:function(t){return e.toPage("prev")}}},[t("svg",{attrs:{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M11 6H1M1 6L6 11M1 6L6 1",stroke:"#333333","stroke-width":"1.2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "+e._s(e.$t("combos.texts.prev"))+" ")]),t("div",{staticClass:"text",on:{click:function(t){return e.toPage("next")}}},[e._v(" "+e._s(e.$t("combos.texts.next"))+" "),t("svg",{attrs:{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M1 6L11 6M11 6L6 1M11 6L6 11",stroke:"#333333","stroke-width":"1.2","stroke-linecap":"round","stroke-linejoin":"round"}})])])])],1),t("div",{staticClass:"signature-modal"},[t("b-modal",{attrs:{id:"modal-new-signature",title:this.editMode?e.$t("combos.texts.txt5"):e.$t("combos.texts.txt6"),"hide-footer":"",size:"lg"}},[t("div",{staticClass:"spaceModal"},[t("div",{staticClass:"spaceSelectPainel"},[t("div",{staticClass:"spacePainels"},[t("div",{staticClass:"spaceInputs"},[t("b-form-group",{attrs:{label:e.$t("combos.texts.txt7"),"label-for":"name"}},[t("div",{staticClass:"d-flex align-items-center gap-1"},[t("b-form-input",{attrs:{placeholder:e.$t("combos.texts.txt7")},model:{value:e.nameSignature,callback:function(t){e.nameSignature=t},expression:"nameSignature"}})],1)])],1),t("div",{staticClass:"spaceInputs2"},[t("b-form-group",[t("div",{staticClass:"d-flex justify-content-between"},[t("label",{staticClass:"d-block",attrs:{for:"name",id:"__BVID__69__BV_label_"}},[e._v(e._s(e.$t("combos.texts.txt8")))]),t("button",{staticClass:"select-all",on:{click:function(t){return e.selectAllCourses()}}},[e._v(" "+e._s(e.getTextLabel())+" ")])]),t("multiselect",{attrs:{placeholder:e.$t("combos.texts.txt9"),selectedLabel:"",deselectLabel:e.$t("combos.texts.txt10"),tagPlaceholder:"","close-on-select":!1,selectLabel:e.$t("combos.texts.txt10"),"track-by":"id",multiple:!0,taggable:!1,"custom-label":e.customLabelActionMail,options:e.allCourses},model:{value:e.actionCoursesSelected,callback:function(t){e.actionCoursesSelected=t},expression:"actionCoursesSelected"}},[t("template",{slot:"afterList"},[t("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:e.reachedEndOfList,expression:"reachedEndOfList"}]})])],2)],1)],1)]),t("div",{staticClass:"saveSignature d-flex justify-content-end"},[t("ButtonPlay",{attrs:{type:"normal",size:"lg","min-width":"177px"},on:{click:e.saveSignature}},[e._v(" "+e._s(this.editMode?this.$t("combos.texts.txt11"):this.$t("combos.texts.txt12"))+" ")])],1)])])]),t("b-modal",{attrs:{id:"signature_delete_confirmation_modal",title:e.modals.signatureDeleteConfirmation.title,"hide-footer":"",size:"md",noCloseOnEsc:"",noCloseOnBackdrop:""}},[t("div",{staticClass:"description"},[e._v(" "+e._s(e.modals.signatureDeleteConfirmation.description)+" ")]),t("div",{staticClass:"mt-4"},[t("div",{staticClass:"d-flex flex-column align-items-center w-100"},[t("ButtonPlay",{attrs:{type:"feedback-error",w:"100%",icon:"trash",size:"lg"},on:{click:function(t){return e.deleteCombo()}}},[e._v(" "+e._s(this.$t("combos.modals.delete_confirmation.btn_delete_text"))+" ")])],1),t("div",{staticClass:"d-flex flex-column align-items-center w-100 mt-3"},[t("ButtonPlay",{attrs:{w:"100%",type:"normal",size:"lg"},on:{click:function(t){return e.closeModalDeleteCombo()}}},[e._v(" "+e._s(this.$t("combos.modals.delete_confirmation.btn_cancel_text"))+" ")])],1)])])],1)])}),l=[],r=o("2909"),d=o("c7eb"),c=o("1da1"),u=o("5530"),m=(o("e9c4"),o("ac1f"),o("841c"),o("b64b"),o("d3b7"),o("d81d"),o("4de4"),o("caad"),o("2532"),o("14d9"),o("f26f")),b=o("3888"),p=o("2ddd"),g=o("2f62"),_=o("7756"),h=o("8e5f"),f=o.n(h),v=(o("e607"),o("5724")),x=o("d5ec"),C=o("418a"),w=b["a"].build(),k=p["a"].build(),y=m["a"].build(),A={components:{Multiselect:f.a,TitlePage:C["a"]},data:function(){return{selectedSignatureId:null,editMode:!1,loading:!1,moderation:!0,rowClass:"signature-body-table-row",emptyText:this.$t("combos.texts.txt13"),filterOn:[],fields:[{key:"title",label:this.$t("combos.texts.txt14")},{key:"created_at",label:this.$t("combos.texts.txt15")},{key:"updated_at",label:this.$t("combos.texts.txt16")},{key:"action",label:this.$t("combos.texts.txt17")}],pageActual:1,lastPage:1,firstPage:1,searchComment:"",nameSignature:"",client:{width:0},idToEdit:null,allCombos:[],allCourses:[],actionCoursesSelected:[],pageCourse:1,lastPageCourse:1,selectedStatus:"published",optionsStatus:[{value:"published",text:this.$t("combos.texts.txt18")},{value:"draft",text:this.$t("combos.texts.txt19")}],designTags:{business_name:"G Digital",current_user_name:"G Digital",link_botao:"https://google.com.br"},options_unlayer:{mergeTags:[{name:this.$t("combos.texts.txt20"),value:"{{nome}}"},{name:this.$t("combos.texts.txt21"),value:"{{primeiro_nome}}"},{name:this.$t("combos.texts.txt22"),value:"{{lead}}"}],features:{textEditor:{cleanPaste:!1}},designTags:{business_name:"",current_user_name:"",link_botao:"https://google.com.br"}},traducaoUnlayer:x,modals:{signatureDeleteConfirmation:{title:this.$t("combos.modals.delete_confirmation.title"),description:this.$t("combos.modals.delete_confirmation.description"),btn_delete_text:this.$t("combos.modals.delete_confirmation.btn_delete_text"),btn_cancel_text:this.$t("combos.modals.delete_confirmation.btn_cancel_text"),successTitle:this.$t("combos.modals.delete_confirmation.notification_messages.success.title"),successDescription:this.$t("combos.modals.delete_confirmation.notification_messages.success.description"),errorTitle:this.$t("combos.modals.delete_confirmation.notification_messages.error.title"),errorDescription:this.$t("combos.modals.delete_confirmation.notification_messages.error.description")}}}},computed:Object(u["a"])({},Object(g["c"])({getIsMobile:"layout/getIsMobile"})),methods:Object(u["a"])(Object(u["a"])({},Object(g["b"])({actionShowModal:"app/actionShowModal",actionDeleteSignature:"combos/actionDeleteSignature"})),{},{selectAllCourses:function(){this.actionCoursesSelected.length!=this.allCourses.length?this.actionCoursesSelected=this.allCourses:this.actionCoursesSelected=[]},getTextLabel:function(){return this.actionCoursesSelected.length!==this.allCourses.length||0==this.actionCoursesSelected.length?this.$t("combos.texts.txt23"):this.$t("combos.texts.txt24")},salvarEmail:function(){var e=this;this.$refs.emailEditor2.editor.exportHtml((function(t){var o="welcomeSignatureEmailDesign",a="welcomeSignatureEmailHtml",i={id:o,value:JSON.stringify(t.design)};e.loading=!0,w.postID(i).then((function(){e.loading=!1})).catch((function(){e.loading=!1}));var s={id:a,value:t.html};e.loading=!0,w.postID(s).then((function(){e.$root.$emit("bv::hide::modal","modal-mailass","#btnShow"),e.loading=!1})).catch((function(){e.loading=!1}))}))},cancelaEmail:function(){this.$root.$emit("bv::hide::modal","modal-mailass","#btnShow")},openConfigMail:function(){var e=this;this.$root.$emit("bv::show::modal","modal-mailass","#btnShow"),this.loading=!0;var t="keys[]=welcomeSignatureEmailDesign";w.search(t).then((function(t){e.$refs.emailEditor2.editor.loadDesign(JSON.parse(t.welcomeSignatureEmailDesign)),e.loading=!1})).catch((function(){e.loading=!1}))},designUpdated:function(){this.$refs.emailEditor2.editor.exportHtml((function(e){}))},addTemplateInitial:function(){this.template_selected=v},editorLoaded:function(){var e=this.template_selected;this.$refs.emailEditor2.editor.loadDesign(e)},exportHtml:function(){this.$refs.emailEditor2.editor.exportHtml((function(e){}))},reachedEndOfList:function(e){e&&this.addNextPageCourse()},addNextPageCourse:function(){this.lastPageCourse>=this.pageCourse&&(this.pageCourse=this.pageCourse+1,this.getAllCourses("push"))},openModalDeleteCombo:function(e){this.selectedSignatureId=e,this.$root.$emit("bv::show::modal","signature_delete_confirmation_modal","#btnShow")},closeModalDeleteCombo:function(){this.$root.$emit("bv::hide::modal","signature_delete_confirmation_modal","#btnShow")},deleteCombo:function(){var e=this;return Object(c["a"])(Object(d["a"])().mark((function t(){return Object(d["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.actionDeleteSignature(e.selectedSignatureId);case 3:e.$root.$bvToast.toast(e.modals.signatureDeleteConfirmation.successDescription,{title:e.modals.signatureDeleteConfirmation.successTitle,variant:"success",autoHideDelay:5e3,appendToast:!0}),t.next=9;break;case 6:t.prev=6,t.t0=t["catch"](0),e.$root.$bvToast.toast(e.modals.signatureDeleteConfirmation.errorDescription,{title:e.modals.signatureDeleteConfirmation.errorTitle,variant:"danger",autoHideDelay:5e3,appendToast:!0});case 9:return t.prev=9,e.getAllCombos(),e.$root.$emit("bv::hide::modal","signature_delete_confirmation_modal","#btnShow"),t.finish(9);case 13:case"end":return t.stop()}}),t,null,[[0,6,9,13]])})))()},saveSignature:function(){var e=this;return Object(c["a"])(Object(d["a"])().mark((function t(){return Object(d["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.editMode){t.next=5;break}return t.next=3,k.create({title:e.nameSignature}).then((function(t){setTimeout(Object(c["a"])(Object(d["a"])().mark((function o(){return Object(d["a"])().wrap((function(o){while(1)switch(o.prev=o.next){case 0:return e.pageCourse=1,o.next=3,e.removeCourse(t.id);case 3:return o.next=5,e.addCourse(t.id);case 5:return o.next=7,e.getAllCombos();case 7:return o.next=9,e.getAllCourses();case 9:e.$root.$emit("bv::hide::modal","modal-new-signature","#btnShow");case 10:case"end":return o.stop()}}),o)}))),2e3)})).catch((function(t){console.log(t),e.loading=!1;var o=JSON.parse(t.response.data),a="";for(var i in o)a+=o[i][0]+"<br>";""!==a&&Object(_["a"])("erro",a)})).finally((function(){e.loading=!1}));case 3:t.next=7;break;case 5:return t.next=7,k.postID({id:e.idToEdit,title:e.nameSignature,status:e.selectedStatus}).then(Object(c["a"])(Object(d["a"])().mark((function t(){var o;return Object(d["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return o=e.idToEdit,e.pageCourse=1,t.next=4,e.removeCourse(o);case 4:return t.next=6,e.addCourse(o);case 6:return t.next=8,e.getAllCombos();case 8:return t.next=10,e.getAllCourses();case 10:e.$root.$emit("bv::hide::modal","modal-new-signature","#btnShow"),Object(_["a"])("sucesso",e.$t("combos.texts.txt25"));case 12:case"end":return t.stop()}}),t)}))));case 7:case"end":return t.stop()}}),t)})))()},addCourse:function(e){var t=this;return Object(c["a"])(Object(d["a"])().mark((function o(){var a,i;return Object(d["a"])().wrap((function(o){while(1)switch(o.prev=o.next){case 0:if(a=t.actionCoursesSelected.map((function(e){return e.id})),i={id:e+"/course/",course_ids:Object(r["a"])(a)},!(a.length>0)){o.next=5;break}return o.next=5,k.update(i).then((function(e){t.loading=!1})).catch((function(){t.loading=!1}));case 5:case"end":return o.stop()}}),o)})))()},removeCourse:function(e){var t=this;return Object(c["a"])(Object(d["a"])().mark((function o(){var a,i,s,n,l;return Object(d["a"])().wrap((function(o){while(1)switch(o.prev=o.next){case 0:if(s=function(e,t){return t.filter((function(t){return!e.includes(t)}))},t.loading=!0,a=t.actionCoursesSelected.map((function(e){return e.id})),i=t.allCourses.map((function(e){return e.id})),n=s(a,i),l={id:e+"/course/delete",course_ids:Object(r["a"])(i)},!(n.length>0)){o.next=9;break}return o.next=9,k.postID(l).then((function(){t.loading=!1})).catch((function(){Object(_["a"])("erro",t.$t("combos.texts.txt26")),t.loading=!1}));case 9:case"end":return o.stop()}}),o)})))()},customLabelActionMail:function(e){var t=e.title;return"".concat(t)},editAssinatura:function(e){this.editMode=!0,this.idToEdit=e.id,this.nameSignature=e.title,this.getCoursesToAssing(e.id),this.selectedStatus=e.status,this.$root.$emit("bv::show::modal","modal-new-signature","#btnShow")},getCoursesToAssing:function(e){var t=this;return Object(c["a"])(Object(d["a"])().mark((function o(){return Object(d["a"])().wrap((function(o){while(1)switch(o.prev=o.next){case 0:return o.next=2,k.read(e+"/course").then((function(e){t.actionCoursesSelected=e,t.loading=!1})).catch((function(){t.loading=!1}));case 2:case"end":return o.stop()}}),o)})))()},openModalNew:function(){this.editMode=!1,this.nameSignature="",this.idToEdit=null,this.actionCoursesSelected=[],this.$root.$emit("bv::show::modal","modal-new-signature","#btnShow")},handleResize:function(){this.client.width=window.innerWidth},toPage:function(e){"prev"===e?1!==this.pageActual&&(this.pageActual=this.pageActual-1):this.lastPage>this.pageActual&&(this.pageActual=this.pageActual+1),this.getAllCombos()},deleteSignature:function(e){var t=this;this.loading=!0,k.destroy(e).then((function(){t.getAllCombos(),Object(_["a"])("sucesso",t.$t("combos.texts.txt27")),t.loading=!1})).catch((function(){Object(_["a"])("erro",t.$t("combos.texts.txt28")),t.loading=!1}))},getAllCourses:function(e){var t=this;return Object(c["a"])(Object(d["a"])().mark((function o(){return Object(d["a"])().wrap((function(o){while(1)switch(o.prev=o.next){case 0:return o.next=2,y.search("page="+t.pageCourse).then((function(o){if("push"===e)for(var a=o.data,i=0;i<a.length;i++){var s=a[i];t.allCourses.push(s)}else t.allCourses=o.data;t.pageCourse=o.current_page,t.lastPageCourse=o.last_page,t.loading=!1})).catch((function(){t.loading=!1}));case 2:case"end":return o.stop()}}),o)})))()},getAllCombos:function(){var e=this;return Object(c["a"])(Object(d["a"])().mark((function t(){var o;return Object(d["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,null===e.pageActual&&(e.pageActual=1),o="",o=""===e.searchComment||null===e.searchComment?"page="+e.pageActual:"page="+e.pageActual+"&search_string="+e.searchComment,t.next=6,k.search(o).then((function(t){var o=t.data;e.pageActual=t.current_page,e.lastPage=t.last_page,e.allCombos=o,e.loading=!1})).catch((function(){e.loading=!1}));case 6:case"end":return t.stop()}}),t)})))()}}),mounted:function(){this.getAllCombos(),this.getAllCourses()}},S=A,$=(o("0921"),o("2877")),O=Object($["a"])(S,n,l,!1,null,"d8602584",null),T=O.exports,D=o("ac48"),M={components:{Layout:D["default"],Slidebar:s["a"],Assinatura:T},data:function(){return{client:{width:0}}},computed:{isMobile:function(){return this.client.width<=576}},created:function(){window.addEventListener("resize",this.handleResize),this.handleResize()},beforeDestroy:function(){window.removeEventListener("resize",this.handleResize)},methods:{handleResize:function(){this.client.width=window.innerWidth}},mounted:function(){}},z=M,j=(o("9d23"),Object($["a"])(z,a,i,!1,null,"1d69fffa",null));t["default"]=j.exports},"9d23":function(e,t,o){"use strict";o("f08b")},d54e:function(e,t,o){"use strict";var a,i,s=o("2877"),n={},l=Object(s["a"])(n,a,i,!1,null,null,null);t["a"]=l.exports},d5ec:function(e){e.exports=JSON.parse('{"buttons.add_column":"Adicionar Coluna","buttons.add_content":"Adicionar conteúdo","buttons.add_display_condition":"Adicionar condição de exibição","buttons.add_field":"Adicionar campo","buttons.add_new_field":"Adicionar Novo Campo","buttons.add_new_item":"Adicionar novo item","buttons.add_row":"Adicionar linha","buttons.add_text":"Adicionar texto","buttons.apply":"Aplicar","buttons.apply_effects":"Aplicar efeitos e mais","buttons.back":"Voltar","buttons.background":"Fundo","buttons.cancel":"Cancelar","buttons.change":"Mudar","buttons.change_image":"Trocar Imagem","buttons.close":"Fechar","buttons.corners":"Cantos","buttons.crop":"Cortar","buttons.delete":"Apagar","buttons.deselect":"Desmarcar","buttons.desktop":"Área de Trabalho","buttons.done":"Feito","buttons.draw":"Desenhar","buttons.drawing":"Desenho","buttons.duplicate":"Duplicado","buttons.filter":"Filtro","buttons.frame":"Moldura","buttons.history":"Histórico","buttons.merge":"Fundir","buttons.mobile":"Móvel","buttons.more_options":"Mais Opções","buttons.open":"Abrir","buttons.remove_column":"Remover Coluna","buttons.resize":"Redimensionar","buttons.save":"Salvar","buttons.select":"Selecionar","buttons.shape":"Forma","buttons.shapes":"Formas","buttons.show_fewer_options":"Exibir Menos Opções","buttons.show_more_options":"Exibir Mais Opções","buttons.sticker":"Adesivo","buttons.stickers":"Adesivos","buttons.transform":"Transformar","buttons.update_field":"Atualizar campo","buttons.upload":"Enviar","buttons.upload_image":"Enviar Imagem","buttons.zoom":"Aproximar","colors.black":"Preto","colors.ruby":"Rubi","colors.white":"Branco","content_tools.button":"Botão","content_tools.columns":"Colunas","content_tools.divider":"Divisor","content_tools.form":"Formulario","content_tools.html":"HTML","content_tools.image":"Imagem","content_tools.menu":"Menu","content_tools.social":"Social","content_tools.text":"Texto","content_tools.timer":"Timer","content_tools.video":"Vídeo","editor.action_type.label":"Tipo de ação","editor.align.label":"Alinhar","editor.alignment.label":"Alinhamento","editor.all_sides.label":"Todos os Lados","editor.alternate_text.label":"Texto alternativo","editor.background_color.label":"Cor de Fundo","editor.background_image.center":"Centralizar","editor.background_image.cover_mode":"Modo de Cobertura","editor.background_image.full_width":"100% de Largura","editor.background_image.label":"Imagem de Fundo","editor.background_image.repeat":"Repetir","editor.border.dashed":"Tracejada","editor.border.dotted":"Pontuada","editor.border.label":"Borda","editor.border.solid":"Sólida","editor.bottom.label":"Rodapé","editor.button_link.label":"Link do Botão","editor.color.label":"Cor","editor.colors.label":"Cores","editor.columns_background.label":"Fundo das Colunas","editor.container_padding.label":"Espaçamento do Container","editor.content_background_color.label":"Cor de fundo do conteúdo","editor.content_width.label":"Largura do Conteúdo","editor.digits_color.label":"Cor dos dígitos","editor.digits_font.label":"Fonte dos dígitos","editor.digits_font_size.label":"Tamanho da fonte dos dígitos","editor.do_not_stack_on_mobile.label":"Não empilhe no celular","editor.end_time.label":"Hora final","editor.fields.label":"Campos","editor.font_family.label":"Familia Fonte","editor.font_size.label":"Font Size","editor.form.custom":"Personalizar","editor.form.method":"Método","editor.form_alignment.label":"Alinhamento do Formulário","editor.form_width.label":"Largura do Formulário","editor.full_width.label":"100% de Largura","editor.height.label":"Altura","editor.hide_on_desktop.label":"Ocultar na Área de trabalho","editor.hide_on_mobile.label":"Ocultar em dispositivos móveis","editor.hover_background.label":"Pairar no plano de fundo","editor.hover_color.label":"Cor de Passagem","editor.hover_text.label":"Pairar no texto","editor.hover_underline.label":"Pairar no sublinhado","editor.icon_spacing.label":"Espaçamento de ícone","editor.icon_type.label":"Tipo de ícone","editor.image.added_drawing":"Adicionado: desenho","editor.image.added_frame":"Adicionado: moldura","editor.image.added_overlay_image":"Adicionado: imagem de sobreposição","editor.image.added_shape":"Adicionado: forma","editor.image.added_sticker":"Adicionado: adesivo","editor.image.added_text":"Adicionado: texto","editor.image.applied_crop":"Aplicado: cortar","editor.image.applied_filter":"Aplicado: filtro","editor.image.applied_resize":"Aplicado: redimensionar","editor.image.applied_rounded_corners":"Aplicado: cantos arredondados","editor.image.applied_transform":"Aplicado: transformar","editor.image.auto":"Automático","editor.image.auto_width":"Largura automática","editor.image.auto_width_switch_off":"Desativar a largura automática para redimensionar a imagem manualmente","editor.image.brush_color":"Cor do pincel","editor.image.brush_size":"Tamanho do pincel","editor.image.brush_type":"Tipo do pincel","editor.image.canvas_background":"Fundo da tela","editor.image.changed_background":"Alterado: fundo","editor.image.changed_background_image":"Alterado: imagem de fundo","editor.image.changed_style":"Alterado: estilo","editor.image.drop_upload":"Arraste uma nova imagem aqui, ou clique para selecionar os arquivos para enviar.","editor.image.full_width_mobile":"Largura total em dispositivos móveis","editor.image.image_options":"Opções da Imagem","editor.image.image_url":"URL da Imagem","editor.image.initial":"Inicial","editor.image.label":"Imagem","editor.image.loaded_state":"Carregado: estado","editor.image.maintain_aspect_ratio":"Manter a proporção","editor.image.main_image":"Imagem principal","editor.image.objects_merged":"Objetos: fundidos","editor.image.offset_x":"Offset X","editor.image.offset_y":"Offset Y","editor.image.outline_width":"Largura do contorno","editor.image.uploading":"Enviando","editor.image.upload_error":"Ocorreu um erro ao enviar sua imagem. Confirme se é um arquivo de imagem válido com o tamanho menhor {mbSize} MB.","editor.image.use_percentages":"Usar porcentagens","editor.image_link.label":"Link da Imagem","editor.inherit_body_styles.label":"Herdar estilos de corpo","editor.labels_color.label":"Cor dos rótulos","editor.labels_font.label":"Fonte dos rótulos","editor.labels_font_size.label":"Tamanho da fonte dos rótulos","editor.layout.label":"Layout","editor.left.label":"Esquerda","editor.line.label":"Linha","editor.line_height.label":"Altura da Linha","editor.link.body":"Corpo","editor.link.call_phone":"Ligar para número de telefone","editor.link.mailto":"Enviar para","editor.link.new_tab":"Nova Aba","editor.link.open_website":"Abrir site","editor.link.phone":"Telefone","editor.link.same_tab":"Mesma Aba","editor.link.send_email":"Enviar e-mail","editor.link.send_sms":"Enviar SMS","editor.link.subject":"Assunto","editor.link.target":"Alvo","editor.link.url":"URL","editor.link_color.label":"Cor do link","editor.margin.label":"Margem","editor.mobile.description":"No momento, você está editando para dispositivos móveis. Troque para a versão desktop para acessar todas as opções de estilo.","editor.padding.label":"Espaçamento","editor.placeholder.text":"Nenhum conteúdo aqui. Arraste o conteúdo da direita.","editor.play_icon_color.label":"Cor do ícone de reprodução","editor.play_icon_size.label":"Tamanho do ícone de reprodução","editor.play_icon_type.label":"Tipo de ícone de reprodução","editor.preheader_text.description":"O pré-cabeçalho é o texto resumido logo depois da linha de assunto quando se visualiza um e-mail na caixa de entrada.","editor.preheader_text.label":"Texto do Pré-cabeçalho","editor.right.label":"Direita","editor.rounded_border.label":"Bordar arrendodada","editor.separator.label":"Separador","editor.social_links.label":"Links sociais","editor.space_between_fields.label":"Espaço Entre os Campos","editor.submit_action.label":"Enviar ação","editor.text.label":"Texto","editor.text_align.label":"Alinhamento do Texto","editor.text_color.label":"Cor do Texto","editor.top.label":"Topo","editor.underline.label":"Sublinhado","editor.video.arrow_only":"Somente seta","editor.video.video_camera":"Câmera de vídeo","editor.video_url.description":"Adicione uma URL do YouTube ou do Vimeo para gerar automaticamente uma imagem de previsão. A imagem será interligada à URL fornecida.","editor.video_url.label":"URL de vídeo","editor.width.label":"Largura","editors_panel.title.content":"Conteúdo","editors_panel.title.contents":"Conteúdo","editors_panel.title.rows":"Linha","fields.birthday":"Aniversário","fields.company":"Empresa","fields.name":"Nome","fields.phone_number":"Número de telefone","fields.website":"Site","fields.zip_code":"Código postal","labels.align_text":"Alinhar Texto","labels.blur":"Desfocar","labels.category":"Categoria","labels.color_picker":"Seletor de Cor","labels.desktop_preview":"Visualização de Área de Trabalho","labels.display_conditions":"Condições de exibição","labels.editor":"Editor","labels.font":"Fonte","labels.format_text":"Formatar Texto","labels.google_fonts":"Google Fonts","labels.gradient":"Gradiente","labels.horizontal":"Horizontal","labels.language":"Idioma","labels.loading":"Carregando","labels.loading_images":"Carregando imagens","labels.load_more":"Carregar mais","labels.merge_tags":"Mesclar Marcadores","labels.mobile_preview":"Visualização Móvel","labels.no_images":"Sem imagens","labels.no_results":"Sem Resultados","labels.objects":"Objetos","labels.outline":"Contorno","labels.page":"Página","labels.radius":"Raio","labels.redo":"Refazer","labels.search":"Pesquisar","labels.search_images":"Pesquise milhões de imagens","labels.shadow":"Sombra","labels.size":"Tamanho","labels.special_links":"Links especiais","labels.stock_photos_by":"Desenvolvido por Unsplash, Pexels, Pixabay.","labels.stock_photos_license":"Todas as imagens licenciadas sob a Creative Commons Zero.","labels.tags":"Etiquetas","labels.texture":"Textura","labels.text_style":"Estilo do Texto","labels.timezone":"Fuso horário","labels.undo":"Desfazer","labels.vertical":"Vertical","modals.category.invalid":"Este é um nome de categoria inválido","modals.category.placeholder":"Nome de Categoria","modals.delete.columns":"Você perderá {columns, number} {columns, plural, one {coluna} other {colunas}}. Você tem certeza?","modals.delete.confirmation":"Você tem certeza que deseja apagar este item? Esta ação não poderá ser desfeita.","modals.delete.title":"Apagar","modals.display_conditions.title":"Selecione uma condição de exibição","modals.preview.title":"Visualização","modals.save_block.title":"Salve o bloco","modals.tags.description":"Etiquetas são usadas para pesquisar. Várias etiquetas podem ser separadas por uma vírgula.","modals.tags.placeholder":"etiqueta1, etiqueta2","option_groups.action.title":"Ação","option_groups.all.title":"Tudo","option_groups.blank.title":"Branco","option_groups.button.title":"Botões","option_groups.colors.title":"Cores","option_groups.columns.title":"Colunas","option_groups.column_number.title":"Coluna {columnNumber}","option_groups.column_properties.title":"Propriedades da coluna","option_groups.countdown.title":"Contagem regressiva","option_groups.default.title":"Geral","option_groups.display_condition.title":"Condição de exibição","option_groups.email_settings.title":"Definições de E-mail","option_groups.fields.title":"Campos","option_groups.form.title":"Formulário","option_groups.html.title":"HTML","option_groups.icons.title":"Ícones","option_groups.image.title":"Imagem","option_groups.labels.title":"Labels","option_groups.last_saved.title":"Salvo pela Última Vez","option_groups.layout.title":"Layout","option_groups.line.title":"Linha","option_groups.link.title":"Link","option_groups.links.title":"Links","option_groups.menu_items.title":"Itens do menu","option_groups.mobile.title":"Móvel","option_groups.responsive_design.title":"Design receptivo","option_groups.row_properties.title":"Propriedades da linha","option_groups.size.title":"Tamanho","option_groups.spacing.title":"Espaçamento","option_groups.styles.title":"Estilos","option_groups.text.title":"Texto","shapes.circle":"Círculo","shapes.rectangle":"Retângulo","shapes.round":"Redondo","shapes.square":"Quadrado","sizes.large":"Grande","sizes.largest":"Maior","sizes.medium":"Médio","sizes.small":"Pequeno","sizes.smallest":"Menor","tools.form.field_label":"Etiqueta do campo","tools.form.field_name":"Nome do campo","tools.form.field_type":"Tipo de campo","tools.form.field_value":"Valor do campo","tools.form.new_field":"Novo campo","tools.form.options_one_per_line":"Opções (uma por linha)","tools.form.placeholder_text":"Texto de marcador de posição","tools.form.required_field":"Campo necessário","tools.form.show_label":"Exibir etiqueta","tools.form.update_field":"Atualizar campo","tools.social.click_icons_to_add":"Clique nos ícones para adicionar","tools.tabs.blocks":"Blocos","tools.tabs.body":"Corpo","tools.tabs.content":"Conteúdo","tools.tabs.images":"Imagens","tools.tabs.row":"Linha","tools.tabs.uploads":"Uploads","tools.text.personalize":"Personalizar"}')},e607:function(e,t,o){},f08b:function(e,t,o){}}]);
//# sourceMappingURL=chunk-01fa0652.ef3762e3.js.map