PageSourceSearch

https://expansaoeventos.com.br/js/app.4872bc1b.js

js expansaoeventos.com.br collected 2026-10-08 06:29:08 UTC 905,258 bytes, 2 lines download raw bytes

1(function(t){function e(e){for(var i,o,s=e[0],c=e[1],l=e[2],d=0,u=[];d<s.length;d++)o=s[d],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&u.push(a[o][0]),a[o]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(t[i]=c[i]);h&&h(e);while(u.length)u.shift()();return r.push.apply(r,l||[]),n()}function n(){for(var t,e=0;e<r.length;e++){for(var n=r[e],i=!0,o=1;o<n.length;o++){var s=n[o];0!==a[s]&&(i=!1)}i&&(r.splice(e--,1),t=c(c.s=n[0]))}return t}var i={},o={app:0},a={app:0},r=[];function s(t){return c.p+"js/"+({}[t]||t)+"."+{"chunk-16ec2c16":"1e7f605b","chunk-2d0a3203":"0656ae9a","chunk-2d0dd430":"c26549c9","chunk-2d0e24f8":"44dfb314","chunk-2d0e4e8d":"eb25e0e6","chunk-2d230809":"86607487","chunk-2d230e94":"d21453bd","chunk-3ce2ff11":"bf7a3ff8","chunk-5c1de701":"b512407a","chunk-78b8b8e0":"a39c0999"}[t]+".js"}function c(e){if(i[e])return i[e].exports;var n=i[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,c),n.l=!0,n.exports}c.e=function(t){var e=[],n={"chunk-16ec2c16":1,"chunk-3ce2ff11":1,"chunk-5c1de701":1,"chunk-78b8b8e0":1};o[t]?e.push(o[t]):0!==o[t]&&n[t]&&e.push(o[t]=new Promise((function(e,n){for(var i="css/"+({}[t]||t)+"."+{"chunk-16ec2c16":"a30bfe8b","chunk-2d0a3203":"31d6cfe0","chunk-2d0dd430":"31d6cfe0","chunk-2d0e24f8":"31d6cfe0","chunk-2d0e4e8d":"31d6cfe0","chunk-2d230809":"31d6cfe0","chunk-2d230e94":"31d6cfe0","chunk-3ce2ff11":"3571136a","chunk-5c1de701":"1c48af42","chunk-78b8b8e0":"6e1b0dc8"}[t]+".css",a=c.p+i,r=document.getElementsByTagName("link"),s=0;s<r.length;s++){var l=r[s],d=l.getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(d===i||d===a))return e()}var u=document.getElementsByTagName("style");for(s=0;s<u.length;s++){l=u[s],d=l.getAttribute("data-href");if(d===i||d===a)return e()}var h=document.createElement("link");h.rel="stylesheet",h.type="text/css",h.onload=e,h.onerror=function(e){var i=e&&e.target&&e.target.src||a,r=new Error("Loading CSS chunk "+t+" failed.\n("+i+")");r.code="CSS_CHUNK_LOAD_FAILED",r.request=i,delete o[t],h.parentNode.removeChild(h),n(r)},h.href=a;var g=document.getElementsByTagName("head")[0];g.appendChild(h)})).then((function(){o[t]=0})));var i=a[t];if(0!==i)if(i)e.push(i[2]);else{var r=new Promise((function(e,n){i=a[t]=[e,n]}));e.push(i[2]=r);var l,d=document.createElement("script");d.charset="utf-8",d.timeout=120,c.nc&&d.setAttribute("nonce",c.nc),d.src=s(t);var u=new Error;l=function(e){d.onerror=d.onload=null,clearTimeout(h);var n=a[t];if(0!==n){if(n){var i=e&&("load"===e.type?"missing":e.type),o=e&&e.target&&e.target.src;u.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",u.name="ChunkLoadError",u.type=i,u.request=o,n[1](u)}a[t]=void 0}};var h=setTimeout((function(){l({type:"timeout",target:d})}),12e4);d.onerror=d.onload=l,document.head.appendChild(d)}return Promise.all(e)},c.m=t,c.c=i,c.d=function(t,e,n){c.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},c.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},c.t=function(t,e){if(1&e&&(t=c(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(c.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)c.d(n,i,function(e){return t[e]}.bind(null,i));return n},c.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return c.d(e,"a",e),e},c.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},c.p="/",c.oe=function(t){throw console.error(t),t};var l=window["webpackJsonp"]=window["webpackJsonp"]||[],d=l.push.bind(l);l.push=e,l=l.slice();for(var u=0;u<l.length;u++)e(l[u]);var h=d;r.push([0,"chunk-vendors"]),n()})({0:function(t,e,n){t.exports=n("56d7")},"0222":function(t,e,n){"use strict";n("0aa8")},"0226":function(t,e,n){"use strict";n("dc60")},"0273":function(t,e,n){},"0337":function(t,e,n){},"041e":function(t,e,n){},"04eb":function(t,e,n){},"05ae":function(t,e,n){"use strict";n("bc6b")},"0646":function(t,e,n){"use strict";n("716f")},"071c":function(t,e,n){"use strict";n("9830")},"0906":function(t,e,n){},"0aa8":function(t,e,n){},"0af7":function(t,e,n){},"0b5c":function(t,e,n){},"0cbe":function(t,e,n){},"0d98":function(t,e,n){},"0e2a":function(t,e,n){"use strict";n("7c93")},"0ea6":function(t,e,n){"use strict";n("1b21")},"0f47":function(t,e,n){"use strict";n("148d")},1144:function(t,e,n){"use strict";n("a9d9")},"125e":function(t,e,n){"use strict";n("2c0e")},"12a6":function(t,e,n){"use strict";n("c255")},1402:function(t,e,n){"use strict";n("30b4")},"148d":function(t,e,n){},"15e9":function(t){t.exports=JSON.parse('{"ct-save":"Opslaan","ct-logout":"Uitloggen","ct-name":"Naam","ct-email":"E-mail","ct-next":"volgende","ct-days":"Dagen","ct-hours":"Uren","ct-minutes":"Minuten","ct-seconds":"Seconden","ct-days-init":"D","ct-hours-init":"H","ct-minutes-init":"M","ct-seconds-init":"S","ct-days-init-2":"Dagen","ct-hours-init-2":"hrs","ct-minutes-init-2":"min","ct-seconds-init-2":"sec","ct-choose-creation-type":"Kies de optie","banner-free-first-text":"Deze website is ontwikkeld met","banner-free-second-text":"Cheetah Builder","banner-free-third-text":"Bouw vandaag nog uw website","banner-free-btn-text":"Begin nu","ct-members":"leden","ct-member-name":"Naam","ct-member-email":"E-mail","ct-member-edit":"Bewerk ledeninstellingen","ct-password-confirm":"Wachtwoord bevestigen","ct-register":"Registreren","ct-forgot-password":"Je wachtwoord vergeten?","ct-confirm":"Bevestigen","ct-sign-in":"Inloggen","ct-remember":"Onthouden","ct-login":"Log in","ct-restr
1ict-area-not-have-permission":"U hebt geen toegang tot dit ledengedeelte","ct-sign-in-account":"Inloggen account","ct-create-account":"Maak account","ct-token":"Token","ct-access-with-token":"Toegang met token","ct-sign-in-token":"Inloggen met token","ct-sign-in-email-password":"Inloggen met e-mailadres en wachtwoord","ct-please-check-the-required-fields":"Controleer de verplichte velden","ct-no-articles-on-your-blog":"No posts found","ct-gdpr-accept-chosen-config":"Accept chosen configuration","ct-password-updated-successfully":"Wachtwoord succesvol bijgewerkt!","ct-error-updating-password":"Fout bij updaten van wachtwoord!","ct-update-password":"Vernieuw wachtwoord","ct-new-password":"Nieuw paswoord","ct-new-password-confirm":"Nieuw wachtwoord bevestig","ct-tab-profile-edit":"Bewerk profiel","ct-tab-profile":"Profiel","ct-tab-areas":"Leden gebied","ct-tab-areas-title":"Leden gebied","ct-login-register":"Inloggen en registreren","ct-member-description":"Beschrijving","ct-member-enable":"Actief","ct-member-disable":"Inactief","ct-remember-true":"Herstel-e-mail is succesvol verzonden","ct-register-error":"Fout bij proberen te registreren","ct-login-error":"Fout bij inloggen","ct-member-disabled":"Niet actief","ct-profile-updated":"Profiel succesvol bijgewerkt!","ct-profile-update-error":"Fout bij updaten van profiel!","ct-member-go-to-area":"Ga naar de hoofdpagina van het ledengedeelte","ct-password-current":"Wachtwoord actueel","ct-password-new":"Nieuw paswoord","ct-failed":"Deze gegevens komen niet overeen met onze gegevens.","ct-password-current-wrong":"Het huidige wachtwoord komt niet overeen","ct-select-booking-calendar":"Select calendar","ct-member-expire":"Vervaldatum","ct-error-token-invalid":"Ongeldige Token","ct-error-token-invalid-helper":"Het is lang geleden dat u wachtwoordherstel heeft aangevraagd of er is een nieuw verzoek ingediend. Solliciteer opnieuw of gebruik uw laatst ingediende aanvraag.","ct-previous":"Previous","ct-last":"Last","ct-first":"First","ct-access-ba-credentials":"Log in met Builderall-inloggegevens","ct-already-exists-by-register":"Deze gebruiker heeft al een registratie via conventionele registratie","ct-launch-position":"Your ranking position","ct-launch-count":"Registered by your link","ct-launch-copy":"Copy","ct-site-not-available-for-this-version":"Deze site is niet beschikbaar voor deze versie","ct-office-magic-checkout":"We are creating your account and will soon redirect you to the checkout.","ct-home":"Startpagina"}')},1737:function(t,e,n){"use strict";n("353f")},"179f":function(t,e,n){"use strict";n("88ce")},"17b8":function(t,e,n){"use strict";n("f741")},"17fa":function(t,e,n){"use strict";n("d9f3")},1962:function(t,e,n){"use strict";n("931b")},"1b21":function(t,e,n){},"1bc6":function(t,e,n){"use strict";n("2289")},"1dcf":function(t,e,n){},"1df8":function(t,e,n){"use strict";n("4af4")},2024:function(t,e,n){},"210e":function(t,e,n){},2192:function(t,e,n){},2289:function(t,e,n){},"23bd":function(t,e,n){"use strict";n("9946")},2557:function(t,e,n){},"25fd":function(t,e,n){},"26fc":function(t,e,n){},"279f":function(t,e,n){"use strict";n("b390")},"2afe":function(t,e,n){"use strict";n("dfbc")},"2c0e":function(t,e,n){},"2cfc":function(t,e,n){"use strict";n("4060")},"2d8d":function(t,e,n){"use strict";n("0cbe")},"2e0b":function(t,e,n){"use strict";n("6b06")},"2e8a":function(t){t.exports=JSON.parse('{"ct-save":"Enregistrer","ct-logout":"Se déconnecter","ct-name":"Nom","ct-email":"E-mail","ct-next":"Suivant","ct-days":"Journées","ct-hours":"Heures","ct-minutes":"Minutes","ct-seconds":"Secondes","ct-days-init":"J","ct-hours-init":"H","ct-minutes-init":"M","ct-seconds-init":"S","ct-days-init-2":"Journées","ct-hours-init-2":"Heures","ct-minutes-init-2":"Min","ct-seconds-init-2":"Seconde 2","ct-choose-creation-type":"Choisissez l\'option","banner-free-first-text":"Ce site Web a été développé avec","banner-free-second-text":"Builderall Builder","banner-free-third-text":"Créez votre site Web dès aujourd\'hui","banner-free-btn-text":"Commencez maintenant","ct-members":"Membres","ct-member-name":"Nom","ct-member-email":"E-mail","ct-member-edit":"Modifier les paramètres des membres","ct-password-confirm":"Confirmer le mot de passe","ct-register":"S\'inscrire","ct-forgot-password":"Mot de passe oublié?","ct-confirm":"Confirmer","ct-sign-in":"Se connecter","ct-remember":"Mot de passe oublié","ct-login":"S\'identifier","ct-restr
1ict-area-not-have-permission":"Vous n\'avez pas accès à cet espace membre","ct-sign-in-account":"S\'identifier","ct-create-account":"Créer un compte","ct-token":"Jeton","ct-access-with-token":"Accès avec token","ct-sign-in-token":"Connectez-vous avec un jeton","ct-sign-in-email-password":"Identifiez-vous avec e-mail et mot de passe","ct-get-response-contact-added-successfully":"Contact ajouté avec succès","ct-get-response-contact-already-added":"Contact déjà ajouté","ct-get-response-validation-error":"Champs invalides","ct-please-check-the-required-fields":"S\'il vous plaît vérifier les champs obligatoires","ct-invalid-url":"URL non valide","ct-no-articles-on-your-blog":"Aucun article de blog trouvé","ct-gdpr-accept-chosen-config":"Accepter la configuration choisie","ct-password-updated-successfully":"Mot de passe mis à jour avec succès !","ct-error-updating-password":"Erreur de mise à jour du mot de passe !","ct-update-password":"Mise à jour du mot de passe","ct-confirm-email":"Confirmez votre e-mail","ct-new-password":"Nouveau mot de passe","ct-new-password-confirm":"Confirmer le nouveau mot de passe","ct-tab-profile-edit":"Modifier le profil","ct-tab-profile":"Profil","ct-tab-areas":"Espace membres","ct-tab-areas-title":"Espace membres","ct-login-register":"Connexion et enregistrement","ct-member-description":"Description","ct-member-status":"Statut","ct-member-enable":"Actif","ct-member-disable":"Inactif","ct-sucess":"Réussite !","ct-error":"Erreur !","ct-remember-true":"L\'e-mail de récupération a été envoyé avec succès","ct-remember-false":"Erreur lors de l\'envoi de l\'e-mail de récupération","ct-register-error":"Erreur lors de l\'enregistrement","ct-login-error":"Erreur lors de la tentative de connexion","ct-remember-error":"Erreur d\'envoi d\'un e-mail de récupération","ct-member-disabled":"Désactivé","ct-profile-updated":"Profil mis à jour avec succès !","ct-profile-update-error":"Erreur de mise à jour du profil !","ct-member-go-to-area":"Aller à la page principale de l\'espace membres","ct-password-current":"Mot de passe actuel","ct-password-new":"Nouveau mot de passe","ct-failed":"Ces références ne correspondent pas à nos dossiers.","ct-throttle":"Trop de tentatives de connexion. Veuillez réessayer dans quelques minutes.","ct-password-current-wrong":"Le mot de passe actuel ne correspond pas","ct-select-booking-calendar":"Sélectionnez un calendrier de réservation","ct-bn-status-denied":"Votre notification est désactivée, cherchez le cadenas ou les paramètres de votre navigateur pour activer","ct-bn-status-granted":"Votre notification est déjà activée","ct-member-expire":"Date d\'expiration","ct-error-token-invalid":"Jeton non valable","ct-error-token-invalid-helper":"Il y a longtemps que vous n\'avez pas demandé à récupérer votre mot de passe ou qu\'une nouvelle demande a été faite. Faites une nouvelle demande ou utilisez la dernière demande que vous avez soumise.","ct-error-token-home":"Retourner à la page d\'accueil","ct-previous":"Précédent","ct-last":"Dernier","ct-first":"Premier","ct-access-ba-credentials":"Connectez-vous avec les identifiants Builderall","ct-already-exists-by-register":"Cet utilisateur a déjà un enregistrement par le biais d\'un enregistrement classique","ct-user-invalid-by-ba":"Votre compte est invalidé par Builderall","ct-close-publication":"Fermer","ct-comments":"Commentaires","ct-add-comments":"Ajouter un commentaire","ct-comment":"Commentaire","ct-reply-comment":"Répondre au commentaire","ct-answering-comment":"Réponse au commentaire","ct-approve-comment":"Votre commentaire sera approuvé par l\'auteur","ct-more-comments":"Charger plus de commentaires","ct-cancel-publication":"Annuler","ct-delete-comments":"Effacer le commentaire","ct-comment-theme-title":"Connectez vous ou inscrivez vous pour laisser un commentaire","ct-sign-up":"S\'inscrire","ct-emails-dont-match-publication":" L\'email de vérification ne correspond pas","ct-launch-position":"Votre position dans le classement","ct-launch-count":"Inscrit par votre lien","ct-launch-copy":"Copie","ct-site-not-available-for-this-version":"Ce site n\'est pas disponible pour cette version","ct-select-one-quiz":"Sélectionner un quiz","ct-site-not-allow-members-area":"La zone des membres ne peut pas être affichée. Acceptez les cookies tiers de votre navigateur pour qu\'il fonctionne correctement.","ct-office-magic-checkout":"Nous sommes en train de créer votre compte et vous redirigerons bientôt vers l\'encaissement.","ct-select-video-panda":"Sélectionner la vidéo Panda","ct-home":"Page d\'accueil","ct_password_":"Mot de passe","ct-p-edit-site":"Personnaliser & Publier","ct-p-subscribe":"S’ABONNER","ct-p-subscribe-to-edit":"Abonnez-vous maintenant pour commencer à modifier !","ct-files-selected":"Fichiers","ct-captcha-validation":"Devi completare il CAPTCHA per procedere"}')},3098:function(t,e,n){"use strict";n("3a44")},"30b4":function(t,e,n){},3126:function(t,e,n){"use strict";n("c8c9")},3183:function(t,e,n){"use strict";n("661c")},"33a7":function(t,e,n){"use strict";n("ad0f")},"341f":function(t,e,n){},"353f":function(t,e,n){},3613:function(t,e,n){"use strict";n("4841")},3943:function(t,e,n){},"39cc":function(t,e,n){},"3a44":function(t,e,n){},"3bb3":function(t,e,n){"use strict";n("c327")},"3c9c":function(t,e,n){"use strict";n("25fd")},"3db5":function(t,e,n){},"3ed4":function(t,e,n){},"3f33":function(t,e,n){"use strict";n("9eeb")},4060:function(t,e,n){},4089:function(t,e,n){},4293:function(t,e,n){"use strict";n("e4f1")},"45c1":function(t,e,n){},4632:function(t,e,n){},4678:function(t,e,n){var i={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-ps":"4c98","./ar-ps.js":"4c98","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn-bd":"9686","./bn-bd.js":"9686","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"
10f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-in":"ec2e","./en-in.js":"ec2e","./en-nz":"6f50","./en-nz.js":"6f50","./en-sg":"b7e9","./en-sg.js":"b7e9","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-mx":"b5b7","./es-mx.js":"b5b7","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fil":"d69a","./fil.js":"d69a","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-deva":"aaf2","./gom-deva.js":"aaf2","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku-kmr":"7558","./ku-kmr.js":"7558","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./oc-lnc":"167b","./oc-lnc.js":"167b","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tk":"5aff","./tk.js":"5aff","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-mo":"3a6c","./zh-mo.js":"3a6c","./zh-tw":"90ea","./zh-tw.js":"90ea"};function o(t){var e=a(t);return n(e)}function a(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}o.keys=function(){return Object.keys(i)},o.resolve=a,t.exports=o,o.id="4678"},4841:function(t,e,n){},4858:function(t,e,n){"use strict";n("5a5d")},"4a82":function(t,e,n){},"4af4":function(t,e,n){},"4eab":function(t,e,n){},"4f99":function(t,e,n){},"4ffd":function(t,e,n){},"527a":function(t,e,n){"use strict";n("2192")},"528e":function(t,e,n){"use strict";n("4089")},"561e":function(t,e,n){"use strict";n("2024")},"566b":function(t,e,n){"use strict";n("3ed4")},5675:function(t,e,n){},"56c6":function(t,e,n){"use strict";n("939f")},"56d7":function(t,e,n){"use strict";n.r(e);var i=n("768b"),o=(n("14b9"),n("3b2b"),n("4917"),n("a481"),n("cadf"),n("551c"),n("f751"),n("097d"),n("2b0e")),a=(n("7f7f"),function(){var t=this,e=t._self._c;return e("div",{staticClass:"panel-constructor invisible",class:{"
1invisible-bg":t.hasRestrictArea&&!t.allowedRestrictArea||!t.isAuth&&t.actionLogin},attrs:{id:"app"}},["mobile"!==t.device||t.$isDeviceIOS()?t._e():e("div",{staticClass:"is-android-bg"}),t.isDownloadPage?[t._v("\n    "+t._s(t.$t("ct-site-not-available-for-this-version"))+"\n  ")]:t.notAllowMembersArea?e("p",{staticClass:"text-center py-5"},[t._v("\n    "+t._s(t.$t("ct-site-not-allow-members-area"))+"\n  ")]):[(t.hasRestrictArea&&!t.allowedRestrictArea&&!t.isAuth||!t.isAuth&&t.actionLogin)&&"page"===t.membersArea.open_by?[e("restrict-area",{ref:"restrictArea",attrs:{open_by:this.membersArea.open_by},on:{cleanMembersArea:t.cleanMembersArea}})]:t.hasRestrictArea&&!t.allowedRestrictArea&&t.isAuth?[e("restrict-area",{ref:"restrictArea",attrs:{open_by:this.membersArea.open_by,not_have_permission:!t.allowedRestrictArea,notHavePermission:"true"},on:{cleanMembersArea:t.cleanMembersArea}})]:!t.hasRestrictArea||t.hasRestrictArea&&t.allowedRestrictArea||t.hasRestrictArea&&"popup"===t.membersArea.open_by?e("div",{attrs:{id:"editor-content","data-device":t.device}},[e("div",{directives:[{name:"show",rawName:"v-show",value:"desktop"===t.device,expression:"device === 'desktop'"}],attrs:{hidden:"true",id:"page-mask"}}),t.isIaTest?e("div",{staticClass:"ai-generated-bar"},[e("button",{staticClass:"btn btn-primary",on:{click:t.editSite}},[e("svg",{attrs:{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M12 11.8172V14.9984H2V4.99844H9.18125C9.28125 4.99844 9.375 4.95781 9.44688 4.88906L10.6969 3.63906C10.9344 3.40156 10.7656 2.99844 10.4313 2.99844H1.5C0.671875 2.99844 0 3.67031 0 4.49844V15.4984C0 16.3266 0.671875 16.9984 1.5 16.9984H12.5C13.3281 16.9984 14 16.3266 14 15.4984V10.5672C14 10.2328 13.5969 10.0672 13.3594 10.3016L12.1094 11.5516C12.0406 11.6234 12 11.7172 12 11.8172Z",fill:"white"}}),e("path",{attrs:{d:"M12.5811 3.59839L15.3998 6.41714C15.5186 6.53589 15.5186 6.72964 15.3998 6.84839L8.57482 13.6734L5.67483 13.9953C5.28733 14.039 4.9592 13.7109 5.00295 13.3234L5.32482 10.4234L12.1498 3.59839C12.2686 3.47964 12.4623 3.47964 12.5811 3.59839ZM17.6436 2.88276L16.1186 1.35776C15.6436 0.882764 14.8717 0.882764 14.3936 1.35776L13.2873 2.46401C13.1686 2.58276 13.1686 2.77651 13.2873 2.89526L16.1061 5.71401C16.2248 5.83276 16.4186 5.83276 16.5373 5.71401L17.6436 4.60776C18.1186 4.12964 18.1186 3.35776 17.6436 2.88276Z",fill:"white"}})]),t._v("\n                "+t._s(t.$t("ct-p-edit-site"))+"\n            ")])]):t._e(),t.elementHeaderSecondaryActive[t.device]?e("div",{staticClass:"editor-content-header-modify-on-scroll"},[e("transition",{attrs:{"enter-active-class":"animated fadeIn","leave-active-class":"animated fadeOut",mode:"out-in"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:!t.showHeaderSecondary,expression:"!showHeaderSecondary"}]},[t._l(t.elementHeader[t.device].content,(function(n,i){return[n.config["show".concat(t.capitalizeFirstLetter(t.device))]?[e(n.name,{key:i+t.elementHeader[t.device]["header_id"],tag:"component",staticClass:"editor-content-layout-item is-showed",attrs:{config:n.config,device:t.device,is_popup:"false",is_footer:!1,"data-header-modify-on-scroll":"init",childs:n.childs}})]:t._e()]}))],2)]),e("transition",{attrs:{"enter-active-class":"animated fadeIn","leave-active-class":"animated fadeOut",mode:"out-in"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.showHeaderSecondary,expression:"showHeaderSecondary"}]},[t._l(t.elementHeaderSecondary[t.device].content,(function(n,i){return[n.config["show".concat(t.capitalizeFirstLetter(t.device))]?[e(n.name,{key:i+t.elementHeaderSecondary[t.device]["header_id"],tag:"component",staticClass:"editor-content-layout-item",attrs:{config:n.config,device:t.device,is_popup:"false",is_footer:!1,"data-header-modify-on-scroll":"on-scroll",childs:n.childs}})]:t._e()]}))],2)])],1):t._l(t.elementHeader[t.device].content,(function(n,i){return e(n.name,{key:i+n.id,tag:"component",staticClass:"editor-content-layout-item",attrs:{config:n.config,device:t.device,is_popup:"false",is_footer:!1,childs:n.childs}})})),t._l(t.elements,(function(n,i){return e(n.name,{key:i,tag:"component",attrs:{config:n.config,device:t.device,is_popup:"false",is_footer
1:!1,childs:n.childs}})})),t._l(t.elementFooter[t.device].content,(function(n,i){return t.elementFooter&&t.elementFooter[t.device].content?e(n.name,{key:i+n.id,tag:"component",staticClass:"editor-content-layout-item",attrs:{config:n.config,device:t.device,is_popup:"false",is_footer:!0,childs:n.childs}}):t._e()})),t._l(t.userPopups,(function(n,i){return e("sweet-modal",{key:"popup"+n.id,ref:"popup"+n.id,refInFor:!0,class:[n.classList,t.popupStyleIOS,{"max-width-unset":"100%"!=t.getPopupWidth(n)}],attrs:{id:"popup"+n.id,width:t.getPopupWidth(n)},on:{close:function(e){return t.yourHandlerForCloseUserPopup(n)},open:function(e){return t.yourHandlerForOpenUserPopup(n)}}},[1===n.active?e("div",t._l(JSON.parse(n.content),(function(n,i){return e(n.name,{key:i,tag:"component",attrs:{device:t.device,is_popup:!0,config:n.config,childs:n.childs}})})),1):t._e()])})),e("div",{ref:"videoModal",staticClass:"cheetah-modal-video modal fade",attrs:{tabindex:"-1",role:"dialog","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[e("div",{staticClass:"modal-dialog modal-lg",attrs:{role:"document"}},[e("div",{staticClass:"modal-content"},[e("div",{staticClass:"modal-body mb-0 p-0"},[e("div",{staticClass:"embed-responsive embed-responsive-16by9 z-depth-1-half"},[e("iframe",{ref:"videoModalIframe",staticClass:"embed-responsive-item",attrs:{frameborder:"0",allowfullscreen:""}})])]),e("div",{staticClass:"modal-footer justify-content-end"},[e("button",{staticClass:"btn btn-outline-primary rounded-pill",attrs:{type:"button","data-dismiss":"modal"},domProps:{textContent:t._s(t.$t("ct-close-publication"))},on:{click:t.yourHandlerForCloseHere}})])])])]),e("sweet-modal",{ref:"required_fields",staticClass:"padding-modal feedback-modal",attrs:{icon:"error",width:"350px"}},[e("div",{staticStyle:{"padding-top":"20px"}},t._l(t.errorMessage,(function(n){return e("p",[t._v(t._s(n))])})),0)]),(t.hasRestrictArea&&!t.allowedRestrictArea&&!t.isAuth||!t.isAuth&&t.actionLogin)&&"popup"===t.membersArea.open_by?[e("restrict-area",{ref:"restrictArea",attrs:{open_by:this.membersArea.open_by},on:{cleanMembersArea:t.cleanMembersArea}})]:t._e(),e("sweet-modal",{ref:"success_send",staticClass:"padding-modal feedback-modal",attrs:{icon:"success",width:"350px"}},[t._v("\n            "+t._s(""!=t.successSendMessage?t.successSendMessage:"Message sent successful")+"\n        ")])],2):t._e(),e("div",{staticClass:"modal-loading-overlay"},[e("div",{staticClass:"loader-spinna"}),e("p",{staticClass:"d-none"},[t._v(t._s(t.$t("ct-office-magic-checkout")))])]),e("sweet-modal",{ref:"members_area_elearning",staticClass:"padding-modal"},[e("div",{staticClass:"row align-items-center"},[e("div",{staticClass:"col-12 text-center"},[t.getMsg()?e("h5",{staticClass:"mb-0 clean-text-css px-2"},[t._v(t._s(t.getMsg()))]):e("h5",{staticClass:"mb-0 clean-text-css px-2"},[t._v(t._s(t.$t("ct-restrict-area-not-have-permission")))])])])]),t.galleryImage.overlay?e("div",{staticClass:"gallery-overlay",on:{click:function(e){t.galleryImage.overlay=!1}}},[e("img",{attrs:{src:t.galleryImage.image}}),t._m(0)]):t._e(),e("sweet-modal",{ref:"browser-notification-alert",attrs:{width:"50%"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{"min-height":"100px"}},[t.bnStatus&&"denied"===t.bnStatus?e("p",[t._v(t._s(t.$t("ct-bn-status-denied")))]):t._e(),t.bnStatus&&"granted"===t.bnStatus?e("p",[t._v(t._s(t.$t("ct-bn-status-granted")))]):t._e()])])]],2)}),r=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"gallery-icon"},[e("button",{staticClass:"close",attrs:{type:"button","aria-label":"Close"}},[e("i",{staticClass:"fa fa-times-circle text-white fa-lg"})])])}],s=(n("ac4d"),n("8a81"),n("8e6e"),n("aef6"),n("b54a"),n("6b54"),n("d225")),c=n("b0b4"),l=(n("456d"),n("28a5"),n("7618")),d=n("bd86"),u=(n("386d"),n("5df3"),n("1c4c"),n("ac6a"),n("96cf"),n("3b8d")),h=(n("6762"),n("2fdb"),n("7514"),function(){var t=this,e=t._self._c;return e("div",{staticClass:"row align-items-center px-2 py-3 shadow container-box"}
1,[t.config.access_denied.btn.enable&&["left","top"].includes(t.config.access_denied.btn.position)?e("div",{class:"".concat("left"===t.config.access_denied.btn.position?"col-4 text-left":"col-12 text-center mb-2")},[t.config.access_denied.btn.text?e("a",{staticClass:"btn btn-sm btn-primary align-items-center justify-content-center d-inline-flex",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.redirectLink.apply(null,arguments)}}},[t._v(t._s(t.config.access_denied.btn.text))]):e("a",{staticClass:"btn btn-sm btn-primary align-items-center justify-content-center d-inline-flex",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.redirectLink.apply(null,arguments)}}},[t._v(t._s(t.$t("ct-home")))])]):t._e(),e("div",{class:"".concat(t.config.access_denied.btn.enable&&["right","left"].includes(t.config.access_denied.btn.position)?"col-8":"col-12 text-center")},[t.config.access_denied.message?e("h5",{staticClass:"mb-0 clean-text-css"},[t._v(t._s(t.config.access_denied.message))]):e("h5",{staticClass:"mb-0 clean-text-css"},[t._v(t._s(t.$t("ct-restrict-area-not-have-permission")))])]),t.config.access_de
1nied.btn.enable&&["right","bottom"].includes(t.config.access_denied.btn.position)?e("div",{class:"".concat("right"===t.config.access_denied.btn.position?"col-4 text-right":"col-12 text-center mt-2"," ")},[t.config.access_denied.btn.text?e("a",{staticClass:"btn btn-sm btn-primary align-items-center justify-content-center d-inline-flex",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.redirectLink.apply(null,arguments)}}},[t._v(t._s(t.config.access_denied.btn.text))]):e("a",{staticClass:"btn btn-sm btn-primary align-items-center justify-content-center d-inline-flex",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.redirectLink.apply(null,arguments)}}},[t._v(t._s(t.$t("ct-home")))])]):t._e()])}),g=[],f=n("9ec6"),p={name:"NotHavePermission",mixins:[f["a"]]},m=p,b=n("2877"),y=Object(b["a"])(m,h,g,!1,null,null,null),v=y.exports,w=function(){var t=this,e=t._self._c;return e("div",{ref:"panel",class:"sitebuilder-element-panel"+t.hideControl(),attrs:{"data-fixed":t.fixedBanner(),"data-fixed-mobile":t.fixedBannerMobile(),"data-tag":t.dataTag(),"data-footer-fixed":t.fixedFooterBanner(),"data-footer-fixed-mobile":t.fixedFooterBannerMobile()}},[e("div",{ref:"elem",staticClass:"panel panel-primary draggable container-fluid",style:t.handlerCssProps,attrs:{element:"PanelComponent",id:this.internal_config.id,"data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile,"data-anchor-name":this.internal_config&&"undefined"!==typeof this.internal_config.anchorName&&""!==this.internal_config.anchorName?this.internal_config.anchorName:""}},[t.$isDeviceIOS()&&!t.internal_config.parallaxActive&&"fixed"===t.backgroundAttachment||"desktop"!==t.device&&"fixed"===t.backgroundAttachment?e("div",{staticClass:"panel-helper-ios"},[e("div",{staticClass:"panel-helper-ios-image",style:{"border-radius":t.radius,background:t.backgroundColor,backgroundImage:t.backgroundImage,backgroundSize:t.backgroundSize,backgroundPosition:t.backgroundPosition,backgroundOrigin:t.backgroundOrigin,backgroundRepeat:t.backgroundRepeat,backgroundAttachment:t.backgroundAttachment,border:t.border,"box-shadow":t.boxShadow}})]):t._e(),e("div",{directives:[{name:"show",rawName:"v-show",value:""!=t.internal_config.video&&0==t.internal_config.videoInternal,expression:"internal_config.video != '' && internal_config.videoInternal == false"}],staticClass:"panel-video-place"},[e("video",{staticClass:"panel-video",attrs:{playsinline:"",autoplay:t.internal_config.autoplay,loop:t.internal_config.loop,id:"myVideo"},domProps:{muted:t.internal_config.muted}},[e("source",{attrs:{src:t.srcVideo,type:t.typeVideo}})])]),e("div",{staticClass:"panel-body container",style:t.internalPanelBodyStyle},[e("div",{directives:[{name:"show",rawName:"v-show",value:""!=t.internal_config.video&&1==t.internal_config.videoInternal,expression:"internal_config.video != '' && internal_config.videoInternal == true"}],staticClass:"panel-video-place"},[e("video",{staticClass:"panel-video",attrs:{playsinline:"",autoplay:t.internal_config.autoplay,loop:t.internal_config.loop,id:"myVideoInternal"},domProps:{muted:t.internal_config.muted}},[e("source",{attrs:{src:t.srcVideo,type:t.typeVideo}})])]),t.props.columns&&"desktop"!==t.device?e("div",{staticClass:"row"},t._l(t.elements,(function(n,i){return e(n.name,{key:i,tag:"component",class:"col-".concat(12/t.props.columns_count),style:"width: ".concat(100/t.props.columns_count,"% !important"),attrs:{config:n.config,childs:n.childs,device:t.device,id:n.id,height_start:i,preview:t.preview},on:{setCallbackChangeDevice:t.setCallbackChangeDevice}})})),1):t._l(t.elements,(function(n,i){return e(n.name,{key:i,tag:"component",attrs:{config:n.config,childs:n.childs,device:t.device,is_popup:t.is_popup,id:n.id,height_start:i,preview:t.preview}})}))],2),e("div",{directives:[{name:"show",rawName:"v-show",value:t.internal_config.arrowActive,expression:"internal_config.arrowActive"}],staticClass:"arrow-panel-down",style:{width:t.widthArrow,left:t.leftArrow,"border-left":t.transparentArrowSide,"border-right":t.transparentArrowSide,"border-top":t.colorArrowSide}})]),e("separator-panel",{ref:"separatorData",attrs:{"data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile}}),e("div",{attrs:{"data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile},domProps:{innerHTML:t._s(this.internal_config.separatorHtml)}})],1)},x=[],k=(n("55dd"),n("d263"),{data:function(){return{props:{separatorActive:!1,separatorHtml:"",separatorEffect:"waves-floating",separatorColors:{first:"#ffffff",second:"#eff20a",third:"#2e3032",fourth:"#001bf4",custom:!1,value1:5,value2:8,value3:5,value4:5},tag:"",showMobile:!0,showDesktop:!0,height:"400px",minHeight:"50px","background-color":"#F0F0F0",backgroundColor:"#F0F0F0",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",backgroundImage:"none",backgroundPosition:"center",backgroundOrigin:"border-box",backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundAttachment:"scroll",borderRadius:"0 0 0 0",fixed:!1,infiniteSliderAnimation:!1,fixedMobile:!1,anchorActive:!1,parallaxActive:!1,parallaxEffect:"scroll",parallaxSpeed:20,anchorName:"",internalBackgroun
1dColor:"#F0F0F000",internalBackgroundImage:"none",internalBackgroundPosition:"center",internalBackgroundOrigin:"border-box",internalBackgroundRepeat:"no-repeat",internalBackgroundSize:"cover",internalBackgroundAttachment:"scroll",video:"",videoInternal:!1,autoplay:!1,muted:!1,loop:!1,arrowActive:!1,arrowWidth:33,arrowPanelWidth:0,arrowWidthMobile:100,arrowHeight:50,arrowColor:"#F0F0F0",hidePanel:!1,timeHidePanel:0,typeHidePanel:"time",unitsHidePanel:"seconds",nameHidePanel:"name-hide-panel",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},elements:[],internal_config:{fixed:!1,fixedMobile:!1,showMobile:!0,showDesktop:!0,height:"400px",minHeight:"50px",backgroundColor:"#F0F0F0",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",anchorActive:!1,anchorName:"",parallaxActive:!1,parallaxEffect:"scroll",parallaxSpeed:20,id:"",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px"}}}}),S=function(){var t=this,e=t._self._c;return e("div")},C=[],I={name:"SeparatorPanel",data:function(){return{props:{}}},methods:{wavesSeparator:function(t,e,n,i,o,a,r,s,c){var l=6*a,d=19*r,u=5*s,h=9*c;return o||(l=28,d=150,u=24,h=44),'<svg class="waves-separator"\n           xmlns="http://www.w3.org/2000/svg"\n           xmlns:xlink="http://www.w3.org/1999/xlink"\n           viewB
1ox="0 '+u+" "+d+" "+l+' "\n           preserveAspectRatio="none">\n        <defs>\n          <path id="gentle-wave"\n                d="M-160 '+h+'c30 0\n        58-18 88-18s\n        58 18 88 18\n        58-18 88-18\n        58 18 88 18\n        v44h-352z"/>\n        </defs>\n        <g class="parallax1">\n          <use xlink:href="#gentle-wave" x="50" y="3" fill="'+t+'"/>\n        </g>\n        <g class="parallax2">\n          <use xlink:href="#gentle-wave" x="50" y="0" fill="'+e+'"/>\n        </g>\n        <g class="parallax3">\n          <use xlink:href="#gentle-wave" x="50" y="9" fill="'+n+'"/>\n        </g>\n        <g class="parallax4">\n          <use xlink:href="#gentle-wave" x="50" y="6" fill="'+i+'"/>\n        </g>\n      </svg>'},dripColors:function(t,e,n,i,o,a,r,s){var c=100+~~a,l=160*r;return"down"!==i&&o||(c=100,l=1600),'<svg id="" preserveAspectRatio="xMidYMax meet" class="svg-separator sep1 '+i+'" viewBox="0 0 '+l+" "+c+'" style="" data-height="100">\n<path class="" style="opacity: 1;fill: '+t+'" d="M1040,56c0.5,0,1,0,1.6,0c-16.6-8.9-36.4-15.7-66.4-15.7c-56,0-76.8,23.7-106.9,41C881.1,89.3,895.6,96,920,96\nC979.5,96,980,56,1040,56z"></path>\n<path class="" style="opacity: 1;fill: '+t+'" d="M1699.8,96l0,10H1946l-0.3-6.9c0,0,0,0-88,0s-88.6-58.8-176.5-58.8c-51.4,0-73,20.1-99.6,36.8\nc14.5,9.6,29.6,18.9,58.4,18.9C1699.8,96,1699.8,96,1699.8,96z"></path>\n<path class="" style="opacity: 1;fill: '+t+'" d="M1400,96c19.5,0,32.7-4.3,43.7-10c-35.2-17.3-54.1-45.7-115.5-45.7c-32.3,0-52.8,7.9-70.2,17.8\nc6.4-1.3,13.6-2.1,22-2.1C1340.1,56,1340.3,96,1400,96z"></path>\n<path class="" style="opacity: 1;fill: '+t+'" d="M320,56c6.6,0,12.4,0.5,17.7,1.3c-17-9.6-37.3-17-68.5-17c-60.4,0-79.5,27.8-114,45.2\nc11.2,6,24.6,10.5,44.8,10.5C260,96,259.9,56,320,56z"></path>\n<path class="" style="opacity: 1;fill: '+t+'" d="M680,96c23.7,0,38.1-6.3,50.5-13.9C699.6,64.8,679,40.3,622.2,40.3c-30,0-49.8,6.8-66.3,15.8\nc1.3,0,2.7-0.1,4.1-0.1C619.7,56,620.2,96,680,96z"></path>\n<path class="" style="opacity: 1;fill: '+t+'" d="M-40,95.6c28.3,0,43.3-8.7,57.4-18C-9.6,60.8-31,40.2-83.2,40.2c-14.3,0-26.3,1.6-36.8,4.2V106h60V96L-40,95.6\nz"></path>\n<path class="" style="opacity: 1;fill: '+e+'" d="M504,73.4c-2.6-0.8-5.7-1.4-9.6-1.4c-19.4,0-19.6,13-39,13c-19.4,0-19.5-13-39-13c-14,0-18,6.7-26.3,10.4\nC402.4,89.9,416.7,96,440,96C472.5,96,487.5,84.2,504,73.4z"></path>\n<path class="" style="opacity: 1;fill: '+e+'" d="M1205.4,85c-0.2,0-0.4,0-0.6,0c-19.5,0-19.5-13-39-13s-19.4,12.9-39,12.9c0,0-5.9,0-12.3,0.1\nc11.4,6.3,24.9,11,45.5,11C1180.6,96,1194.1,91.2,1205.4,85z"></path>\n<path class="" style="opacity: 1;fill: '+e+'" d="M1447.4,83.9c-2.4,0.7-5.2,1.1-8.6,1.1c-19.3,0-19.6-13-39-13s-19.6,13-39,13c-3,0-5.5-0.3-7.7-0.8\nc11.6,6.6,25.4,11.8,46.9,11.8C1421.8,96,1435.7,90.7,1447.4,83.9z"></path>\n<path class="" style="opacity: 1;fill: '+e+'" d="M985.8,72c-17.6,0.8-18.3,13-37,13c-19.4,0-19.5-13-39-13c-18.2,0-19.6,11.4-35.5,12.8\nc11.4,6.3,25,11.2,45.7,11.2C953.7,96,968.5,83.2,985.8,72z"></path>\n<path class="" style="opacity: 1;fill: '+e+'" d="M743.8,73.5c-10.3,3.4-13.6,11.5-29,11.5c-19.4,0-19.5-13-39-13s-19.5,13-39,13c-0.9,0-1.7,0-2.5-0.1\nc11.4,6.3,25,11.1,45.7,11.1C712.4,96,727.3,84.2,743.8,73.5z"></path>\n<path class="" style="opacity: 1;fill: '+e+'" d="M265.5,72.3c-1.5-0.2-3.2-0.3-5.1-0.3c-19.4,0-19.6,13-39,13c-19.4,0-19.6-13-39-13\nc-15.9,0-18.9,8.7-30.1,11.9C164.1,90.6,178,96,200,96C233.7,96,248.4,83.4,265.5,72.3z"></path>\n<path class="" style="opacity: 1;fill: '+e+'" d="M1692.3,96V85c0,0,0,0-19.5,0s-19.6-13-39-13s-19.6,13-39,13c-0.1,0-0.2,0-0.4,0c11.4,6.2,24.9,11,45.6,11\nC1669.9,96,1684.8,96,1692.3,96z"></path>\n<path class="" style="opacity: 1;fill: '+e+'" d="M25.5,72C6,72,6.1,84.9-13.5,84.9L-20,85v8.9C0.7,90.1,12.6,80.6,25.9,72C25.8,72,25.7,72,25.5,72z"></path>\n<path class="" style="fill: '+n+'" d="M-40,95.6C20.3,95.6,20.1,56,80,56s60,40,120,40s59.9-40,120-40s60.3,40,120,40s60.3-40,120-40\ns60.2,40,120,40s60.1-40,120-40s60.5,40,120,40s60-40,120-40s60.4,40,120,40s59.9-40,120-40s60.3,40,120,40s60.2-40,120-40\ns60.2,40,120,40s59.8,0,59.8,0l0.2,143H-60V96L-40,95.6z"></path>\n</svg>'},midArrow:function(t,e,n,i,o,a,r){var s=40*o,c=200*a,l=37*r;
1return i||(s=200,c=1600,l=186),'<svg id="" preserveAspectRatio="xMidYMax meet" class="svg-separator sep2" viewBox="0 0 '+c+" "+s+'" style="display: block;" data-height="200">\n<polygon class="" style="fill: '+t+'" points="-4,0 '+c+","+s+" "+c+","+s+" -4,"+s+' \t"></polygon>\n<polygon class="" style="opacity: 1;fill: '+e+'" points="'+c+","+s+" "+c+","+l+' -4,0 -4,0 \t"></polygon>\n<polygon class="" style="opacity: 1;fill: '+n+'" points="'+c+","+l+" "+c+","+(l-15)+' -4,0 -4,0 \t"></polygon></svg>'},wavesFixed:function(t,e,n,i,o,a,r){return'<svg id="" preserveAspectRatio="xMidYMax meet" class="svg-separator sep3" viewBox="0 0 1600 100" style="display: block;" data-height="100">\n<path class="" style="opacity: 1;fill: '+t+'" d="M-40,71.627C20.307,71.627,20.058,32,80,32s60.003,40,120,40s59.948-40,120-40s60.313,40,120,40s60.258-40,120-40s60.202,40,120,40s60.147-40,120-40s60.513,40,120,40s60.036-40,120-40c59.964,0,60.402,40,120,40s59.925-40,120-40s60.291,40,120,40s60.235-40,120-40s60.18,40,120,40s59.82,0,59.82,0l0.18,26H-60V72L-40,71.627z"></path>\n<path class="" style="opacity: 1;fill: '+e+'" d="M-40,83.627C20.307,83.627,20.058,44,80,44s60.003,40,120,40s59.948-40,120-40s60.313,40,120,40s60.258-40,120-40s60.202,40,120,40s60.147-40,120-40s60.513,40,120,40s60.036-40,120-40c59.964,0,60.402,40,120,40s59.925-40,120-40s60.291,40,120,40s60.235-40,120-40s60.18,40,120,40s59.82,0,59.82,0l0.18,14H-60V84L-40,83.627z"></path>\n<path class="" style="fill: '+n+'" d="M-40,95.627C20.307,95.627,20.058,56,80,56s60.003,40,120,40s59.948-40,120-40s60.313,40,120,40s60.258-40,120-40s60.202,40,120,40s60.147-40,120-40s60.513,40,120,40s60.036-40,120-40c59.964,0,60.402,40,120,40s59.925-40,120-40s60.291,40,120,40s60.235-40,120-40s60.18,40,120,40s59.82,0,59.82,0l0.18,138H-60V96L-40,95.627z"></path></svg>'},polygonCraqued:function(t,e,n,i,o,a,r){var s=40*o,c=200*a;return i||(s=200,c=1600),'<svg id="" preserveAspectRatio="xMidYMax meet" class="svg-separator sep5" viewBox="0 0 '+c+" "+s+'" style="display: block;" data-height="200">\n<polygon class="" style="fill: '+t+'" points="1488,134 1304,100 1068,152 909.935,92.044 672,198 364,142 242,32 -4,95 -4,204 2004,204 1604,0 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+e+'" points="672,198 364,142 242,32 -4,95 -4,82.333 242,32 374,136 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+e+'" points="894,86 672,198 909.935,92.044 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+n+'" points="1068,152 1302,86 1486,126 1604,0 1488,134 1304,100 "></polygon></svg>'},polygonUp:function(t,e,n,i,o,a,r){var s=20*o,c=180*a;return i||(s=200,c=1600),'<svg id="" preserveAspectRatio="xMidYMax meet" class="svg-separator sep6" viewBox="0 0 '+c+" "+s+'" style="display: block;" data-height="200">\n<polygon class="" style="fill: '+t+'" points="-4,188.586 174,76 292,124 402,60 536,108 752,8 882,66 990,32 1210,116 1380,64 1536,150 1604,115.09 1804,204 -4,204 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+e+';" points="174,76 174,78 -4,198 -4,188.586 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+e+';" points="292,124 302,138 402,64 402,60 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+e+';" points="536,108 544,120 752,12 752,8 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+e+';" points="882,66 890,78 990,36 990,32 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+e+';" points="1210,116 1222,130 1380,68 1380,64 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+e+';" points="1536,150 1546,164 1604,124 1604,115.09 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+n+';" points="174,76 292,124 282,140 174,78 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+n+';" points="402,60 536,108 528,120 402,64 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+n+';" points="752,8 882,66 874,80 752,12 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+n+';" points="990,32 990,36 1192,130 1210,116 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+n+';" points="1380,64 1536,150 1526,168 1380,68 "></polygon></svg>'},bannerLateral:function(t,e,n,i,o,a,r){var s=20*o,c=180*a;
1return i||(s=200,c=1600),'<svg id="" preserveAspectRatio="xMidYMax meet" class="svg-separator sep7" viewBox="0 0 '+c+" "+s+'" style="display: block;" data-height="200">\n<polygon class="" style="fill: '+t+'" points="2011.912,205.954 -14.224,206 -9.912,2.046 1616.224,162.165 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+e+';" points="167.262,39.589 107.551,33.709 123.443,15.177 183.154,21.057 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+n+';" points="286.684,51.348 226.973,45.468 242.865,26.936 302.577,32.816 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+n+';" points="47.839,27.83 -11.872,21.95 4.021,3.418 63.732,9.298 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+e+';" points="406.107,63.107 346.395,57.227 362.288,38.695 421.999,44.575 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+n+';" points="525.529,74.866 465.818,68.986 481.71,50.454 541.422,56.334 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+e+';" points="644.952,86.625 585.24,80.745 601.133,62.213 660.844,68.093 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+n+';" points="764.374,98.384 704.663,92.504 720.555,73.973 780.267,79.852 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+e+';" points="883.797,110.143 824.085,104.263 839.978,85.732 899.689,91.611 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+n+';" points="1003.219,121.902 943.508,116.023 959.4,97.491 1019.111,103.37 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+e+';" points="1122.641,133.661 1062.93,127.782 1078.823,109.25 1138.534,115.129 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+n+';" points="1242.064,145.42 1182.353,139.541 1198.245,121.009 1257.956,126.888 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+e+';" points="1361.486,157.179 1301.775,151.3 1317.668,132.768 1377.379,138.647 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+n+';" points="1480.909,168.938 1421.198,163.059 1437.09,144.527 1496.801,150.406 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+e+';" points="1600.331,180.697 1540.62,174.818 1556.513,156.286 1616.224,162.165 "></polygon></svg>'},drops:function(t,e,n,i,o){return'<svg id="" preserveAspectRatio="xMidYMax meet" class="svg-separator sep9 bottom" viewBox="0 0 1600 200" style="display: block;" data-height="200">\n<circle class="" style="opacity: .8;fill: '+t+'" cx="8" cy="112" r="26"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="8" cy="64" r="14"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="8" cy="34" r="8"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="8" cy="16" r="2"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="96" cy="112" r="26"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="96" cy="64" r="14"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="96" cy="34" r="8"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="96" cy="16" r="2"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="184" cy="112" r="26"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="184" cy="64" r="14"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="184" cy="34" r="8"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="184" cy="16" r="2"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="272" cy="112" r="26"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="272" cy="64" r="14"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="272" cy="34" r="8"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="272" cy="16" r="2"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="360" cy="112" r="26"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="360" cy="64" r="14"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="360" cy="34" r="8"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="360" cy="16" r="2"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="448" cy="112" r="26"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="448" cy="64" r="14"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="448" cy="34" r="8"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="448" cy="16" r="2"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="536" cy="112" r="26"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="536" cy="64" r="14"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="536" cy="34" r="8"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="536" cy="16" r="2"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="624" cy="112" r="26"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="624" cy="64" r="14"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="624" cy="34" r="8"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="624" cy="16" r="2"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="712" cy="112" r="26"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="712" cy="64" r="14"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="712" cy="34" r="8"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="712" cy="16" r="2"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="800" cy="112" r="26"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="800" cy="64" r="14"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="800" cy="34" r="8"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="800" cy="16" r="2"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="888" cy="112" r="26"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="888" cy="64" r="14"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="888" cy="34" r="8"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="888" cy="16" r="2"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="976" cy="112" r="26"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="976" cy="64" r="14"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="976" cy="34" r="8"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="976" cy="16" r="2"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="1064" cy="112" r="26"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="1064" cy="64" r="14"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="1064" cy="34" r="8"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="1064" cy="16" r="2"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="1152" cy="112" r="26"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="1152" cy="64" r="14"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="1152" cy="34" r="8"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="1152" cy="16" r="2"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="1240" cy="112" r="26"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="1240" cy="64" r="14"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="1240" cy="34" r="8"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="1240" cy="16" r="2"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="1328" cy="112" r="26"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="1328" cy="64" r="14"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="1328" cy="34" r="8"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="1328" cy="16" r="2"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="1416" cy="112" r="26"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="1416" cy="64" r="14"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="1416" cy="34" r="8"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="1416" cy="16" r="2"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="1504" cy="112" r="26"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="1504" cy="64" r="14"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="1504" cy="34" r="8"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="1504" cy="16" r="2"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="1592" cy="112" r="26"></circle> \n<circle class="" style="opacity: .8;fill: '+t+'" cx="1592" cy="64" r="14"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="1592" cy="34" r="8"></circle> \n<circle class="" style="opacity: .6;fill: '+t+'" cx="1592" cy="16" r="2"></circle> \n<path class="" style="fill: '+e+'" d="M1638,192c0-25.405-20.595-46-46-46c-20.729,0-38.25,13.713-44,32.561 c-5.75-18.848-23.271-32.561-44-32.561s-38.25,13.713-44,32.561c-5.75-18.848-23.271-32.561-44-32.561s-38.25,13.713-44,32.561 c-5.75-18.848-23.271-32.561-44-32.561s-38.25,13.713-44,32.561c-5.75-18.848-23.271-32.561-44-32.561s-38.25,13.713-44,32.561 c-5.75-18.848-23.271-32.561-44-32.561s-38.25,13.713-44,32.561c-5.75-18.848-23.271-32.561-44-32.561s-38.25,13.713-44,32.561 C1014.25,159.713,996.729,146,976,146s-38.25,13.713-44,32.561C926.25,159.713,908.729,146,888,146s-38.25,13.713-44,32.561 C838.25,159.713,820.729,146,800,146s-38.25,13.713-44,32.561C750.25,159.713,732.729,146,712,146s-38.25,13.713-44,32.561 C662.25,159.713,644.729,146,624,146s-38.25,13.713-44,32.561C574.25,159.713,556.729,146,536,146s-38.25,13.713-44,32.561 C486.25,159.713,468.729,146,448,146s-38.25,13.713-44,32.561C398.25,159.713,380.729,146,360,146s-38.25,13.713-44,32.561 C310.25,159.713,292.729,146,272,146s-38.25,13.713-44,32.561C222.25,159.713,204.729,146,184,146s-38.25,13.713-44,32.561 C134.25,159.713,116.729,146,9
16,146s-38.25,13.713-44,32.561C46.25,159.713,28.729,146,8,146c-25.405,0-46,20.595-46,46 c0,24.056,18.469,43.787,42,45.816V238h1596v-0.708C1621.589,233.504,1638,214.675,1638,192z"></path></svg>'},wavesLateral:function(t,e,n,i,o,a,r){var s=20*a,c=180*o;return i||(s=200,c=1600),'<svg id="" preserveAspectRatio="xMidYMax meet" class="svg-separator sep10" viewBox="0 0 '+c+" "+s+'" style="display: block;" data-height="200">\n<path class="" style="opacity: 1;fill: '+t+'" d="M-16,129.803C28.268,129.803,43.874,86,74.839,86 c26.605,0,15.874,35.884-0.894,27.723c8.831,0,8.943-12.52,0.894-12.52c-12.967,0-9.167,38.455,26.829,38.455s1.409,0,1.409,0 v16.097H-16V129.803z"></path> \n<path class="" style="opacity: 1;fill: '+e+';" d="M-114,123.448C-17.538,133.448,16.468,38,83.943,38 c57.974,0,34.59,78.192-1.949,60.41c19.244,0,19.487-27.282,1.949-27.282c-28.256,0-19.974,83.795,58.462,83.795s3.071,0,3.071,0 V180H-114V123.448z"></path> \n<path class="" style="opacity: 1;fill: '+e+';" d="M158,172.749C238.596,172.749,267.01,93,323.386,93 c48.439,0,28.901,65.332-1.628,50.474c16.079,0,16.282-22.795,1.628-22.795c-23.609,0-16.689,70.013,48.846,70.013s2.566,0,2.566,0 L158,192V172.749z"></path> \n<path class="" style="opacity: 1;fill: '+t+'" d="M156,160.626c53.515,0,72.381-52.953,109.815-52.953 c32.163,0,19.19,43.38-1.081,33.514c10.676,0,10.811-15.136,1.081-15.136c-15.676,0-11.081,46.488,32.433,46.488s1.704,0,1.704,0 V192H156V160.626z"></path> \n<path class="" style="opacity: 1;fill: '+t+'" d="M-108.04,114.107c68.046,0,92.035-67.331,139.634-67.331 c40.897,0,24.4,55.159-1.375,42.615c13.575,0,13.747-19.245,1.375-19.245c-19.933,0-14.09,59.111,41.24,59.111s2.166,0,2.166,0V154 h-183.04V114.107z"></path> \n<path class="" style="fill: '+n+'" d="M-4,142.333C121.654,142.333,165.952,18,253.846,18 c75.519,0,45.058,101.856-2.538,78.692c25.067,0,25.385-35.538,2.538-35.538c-36.808,0-26.019,109.154,76.154,109.154 s1276,0,1876,0V216H-4V142.333z"></path></svg>'},zigzag:function(t,e,n,i,o,a,r){return'<svg id="" preserveAspectRatio="xMidYMax meet" class="svg-separator sep11" viewBox="0 0 1600 100" style="display: block;" data-height="100">\n<polygon class="" style="fill: '+t+'" points="-40,63.667 19.833,3.833 80,64 140,4 200,64 260,4 320,64 380,4 440,64 500,4 560,64 620,4 680,64 740,4 800,64 860,4 920,64 980,4 1040,64 1100,4 1160,64 1220,4 1280.333,64.333 1340.333,4.333 1400,64 1460,4 1520,64 1578,6 1636,64 1636,104 -40,104 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+e+';" points="-40,86 20,26 80,86 140,26 200,76 260,4 200,64 140,4 80,64 19.833,3.833 -40,63.667 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+n+';" points="1159,69 1220,8 1281,73 1340,14 1399,73 1460,12 1521,73 1578,16 1634,72 1636,73.333 1636,64 1578,6 1520,64 1460,4 1400,64 1340.333,4.333 1280.333,64.333 1220,4 1160,64 1100,4 1040,64 1100,10 "></polygon></svg>'},bigArrow:function(t,e,n,i,o,a,r){var s=20*a,c=180*o,l=1604;return parseInt(c)>1600&&(l=2004),i||(s=200,c=1600,l=1604),'<svg id="" preserveAspectRatio="xMidYMax meet" class="svg-separator sep12" viewBox="0 0 '+c+" "+s+'" style="display: block;" data-height="200">\n<polygon class="" style="fill: '+t+'" points="-4,24 800,198 '+l+",24 "+l+',204 -4,204 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+e+';" points="-4,0 800,198 '+l+",0 "+l+',11.833 800,198 -4,12 "></polygon> \n<polygon class="" style="opacity: 1;fill: '+n+';" points="-4,12 -4,24 800,198 '+l+",24 "+l+',11.833 800,198 "></polygon></svg>'},cloudsEffect:function(t,e,n){var i=20*n;return e||(i=100),'<svg id="clouds" class="svg-separator" xmlns="http://www.w3.org/2000/svg" version="1.1" width="100%" height="'+i+'" viewBox="0 0 100 '+i+'" preserveAspectRatio="none">\n    <path style="fill: '+t+'"       d="M-5 '+i+" Q 0 20 5 "+i+" Z\n         M0 "+i+" Q 5 0 10 "+i+"\n         M5 "+i+" Q 10 30 15 "+i+"\n         M10 "+i+" Q 15 10 20 "+i+"\n         M15 "+i+" Q 20 30 25 "+i+"\n         M20 "+i+" Q 25 -10 30 "+i+"\n         M25 "+i+" Q 30 10 35 "+i+"\n         M30 "+i+" Q 35 30 40 "+i+"\n         M35 "+i+" Q 40 10 45 "+i+"\n         M40 "+i+" Q 45 50 50 "+i+"\n         M45 "+i+" Q 50 20 55 "+i+"\
1n         M50 "+i+" Q 55 40 60 "+i+"\n         M55 "+i+" Q 60 60 65 "+i+"\n         M60 "+i+" Q 65 50 70 "+i+"\n         M65 "+i+" Q 70 20 75 "+i+"\n         M70 "+i+" Q 75 45 80 "+i+"\n         M75 "+i+" Q 80 30 85 "+i+"\n         M80 "+i+" Q 85 20 90 "+i+"\n         M85 "+i+" Q 90 50 95 "+i+"\n         M90 "+i+" Q 95 25 100 "+i+"\n         M95 "+i+" Q 100 15 105 "+i+' Z"></path>\n</svg>'},curveEffect:function(t,e,n,i,o,a,r){var s=15+5*~~o;i||(s=40);var c=this.$isDeviceIOS()?"0.2 0.2":"0.1 0.1";return'<svg class="separator svg-separator-new" style="background-color: '+t+';" width="100%" height="80" viewBox="'+c+" 180 "+s+'" preserveAspectRatio="none">\n            <g transform="translate(-18.298844,-77.973964)">\n                <path style="fill:'+e+';" d="M 31.615583,86.351641 H 192.16499 v 26.901969 c 0,0 -32.03411,-14.237983 -59.62682,-12.72484 -22.34188,1.2252 -54.779359,9.72634 -54.779359,9.72634 0,0 -22.029534,3.62882 -34.471238,-1.88988 -12.441702,-5.51871 -11.67199,-22.013589 -11.67199,-22.013589 z" />\n                <path style="fill:'+n+'" d="M 18.441597,78.106256 H 198.58126 v 39.288614 c 0,0 -43.10672,-27.825245 -73.47599,-19.687823 -30.369264,8.137423 -46.832208,12.548653 -46.832208,12.548653 0,0 -32.775418,8.05972 -46.735258,0 C 17.577964,102.19598 18.441597,78.106256 18.441597,78.106256 Z" />\n            </g>\n        </svg>'},arrowReverse:function(t,e,n,i,o,a,r){var s=19+5*~~o;return i||(s=44),'<svg class="separator svg-separator-new" style="background-color: '+t+';" xmlns="http://www.w3.org/2000/svg" width="100%" height="80" viewBox="0.4 0.2 200 '+s+'" preserveAspectRatio="none">\n                <g class="separator" transform="translate(-9.2218046,-83.494585)">\n                    <path style="fill:'+e+'" d="M 9.484815,89.716055 H 209.81018 V 126.90507 L 110.46368,93.705147 9.579391,127.39334 Z" />\n                    <path style="fill:'+n+'" d="M 9.3544335,83.626877 H 209.68181 V 120.29057 L 110.46368,93.705147 9.4490103,120.77195 Z" />\n                </g>\n            </svg>'},pixels:function(t,e,n,i,o,a,r){var s=10+5*~~a,c=138+5*~~o;return i||(s=178,c=30),'<svg class="separator svg-separator-new" style="background-color: '+t+';"  xmlns="http://www.w3.org/2000/svg" width="100%" height="80" viewBox="0.2 0 '+c+" "+s+'" preserveAspectRatio="none">\n            <g transform="translate(-14.514284,-115.36352)">\n                <path style="fill:'+e+';" d="m 14.74107,115.49581 h 178.02679 v 30.61607 h -29.10417 v -12.47321 h -10.58333 v -8.31548 h -13.98512 v 13.98512 h -20.41072 v -13.98512 h -8.31547 v 7.18155 h -7.18155 v 10.9613 H 85.422617 v -10.9613 H 68.791666 V 121.54343 H 51.40476 v 15.875 H 29.860117 v -9.82739 h -8.693452 v -7.55952 h -6.520089 v -4.53571 z" />\n                <path style="fill:'+n+';" d="M 14.741071,112.54762 H 192.76786 v 30.61607 H 163.66369 V 130.69048 H 153.08036 V 122.375 h -13.98512 v 13.98512 H 118.68452 V 122.375 h -8.31547 v 7.18155 h -7.18155 v 10.9613 H 85.422617 v -10.9613 H 68.791666 V 118.59524 H 51.40476 v 15.875 H 29.860118 v -9.82739 h -8.693452 v -7.55952 h -6.520089 v -4.53571 z"/>\n            </g>\n        </svg>'},bigRound:function(t,e,n,i,o){var a=20*o,r=5*~~i;return n||(a=200,r=19),'<svg class="separator svg-separator-new" style="background-color: '+t+';"   xmlns="http://www.w3.org/2000/svg" width="100%" height="80" viewBox="0.1 0.3 '+a+" "+r+'" preserveAspectRatio="none">\n                <g transform="translate(-0.21755166,-100.15454)">\n                    <path style="fill:'+e+';" d="M 0.2688579,100.29477 H 200.98548 c 0,0 -99.37375,39.84098 -200.7166221,0 z" />\n                </g>\n            </svg>'},breaker:function(t,e,n,i,o,a,r){var s=5*~~o;return i||(s=151),'<svg class="separator svg-separator-new" style="background-color: '+t+';"   xmlns="http://www.w3.org/2000/svg" width="100%" height="80" viewBox="0.2 0 '+s+' 27" preserveAspectRatio="none">\n            <g transform="translate(-18.766517,-159.24846)">\n                <path style="fill:'+e+';" d="m 18.898809,169.7732 h 11.150298 v -10.20536 l 10.016369,10.01637 10.016369,10.01637 v -9.82738 h 20.032738 v -10.20536 l 20.127232,20.12723 v -9.92187 h 19.938245 v -10.01637 l 19.93824,19.93824 v -9.92187 h 19.93824 v -10.20536 l 20.12723,20.12723 v 5.19718 H 18.898809 Z" />\n              <path style="fill:'+n+';" d="m 18.898809,171.88988 h 11.150298 v -10.20536 l 10.016368,10.01637 10.016368,10.01637 v -9.82738 h 20.032739 v -10.20536 l 20.127233,20.12723 v -9.92187 h 19.938245 v -10.01637 l 19.93824,19.93824 v -9.92187 h 19.93825 v -10.20536 l 20.12723,20.12723 v 5.19718 H 18.898809 Z"/>\n            </g>\n        </svg>'}}},T=I,P=(n("f701"),Object(b["a"])(T,S,C,!1,null,null,null)),O=P.exports,A=n("bc3a"),R=n.n(A),B={name:"PanelElement",components:{SeparatorPanel:O},props:["config","childs","height_start","device","id","preview","is_popup","is_footer"],data:function(){return k.data()},computed:{handlerCssProps:function(){var t={"border-radius":this.radius,background:this.backgroundColor,backgroundImage:this.backgroundImage,backgroundSize:this.backgroundSize,backgroundPosition:this.backgroundPosition,backgroundOrigin:this.backgroundOrigin,backgroundRepeat:this.backgroundRepeat,backgroundAttachment:this.backgroundAttachment,height:this.height,minHeight:this.minHeight,borderWidth:this.borderWidth,borderStyle:this.borderStyle(),borderColor:this.borderColor(),"box-shadow":this.boxShadow};return this.backgroundColor&&this.backgroundColor.includes("linear-gradient")&&delete t.backgroundImage,t},internalPanelBodyStyle:function(){var t={background:this.internalBackgroun
1dColor,backgroundImage:this.internalBackgroundImage,backgroundSize:this.internalBackgroundSize,backgroundPosition:this.internalBackgroundPosition,backgroundOrigin:this.internalBackgroundOrigin,backgroundRepeat:this.internalBackgroundRepeat,backgroundAttachment:this.internalBackgroundAttachment,minHeight:this.minHeight};return this.internalBackgroundColor&&this.internalBackgroundColor.includes("linear-gradient")&&delete t.backgroundImage,t},widthArrow:function(){return"desktop"==this.device?this.internal_config.arrowWidth+"%":this.internal_config.arrowWidthMobile+"%"},arrowWidth:function(){return"desktop"===this.device?parseInt(this.internal_config.arrowPanelWidth)/100*(this.internal_config.arrowWidth/2):parseInt(this.internal_config.arrowPanelWidth)/100*(this.internal_config.arrowWidthMobile/2)},leftArrow:function(){return this.device,"calc(50% - "+this.arrowWidth+"px)"},transparentArrowSide:function(){return this.device,this.arrowWidth+"px solid transparent"},colorArrowSide:function(){return this.internal_config.arrowHeight+"px solid "+this.internal_config.arrowColor},minHeight:function(){return this.internal_config.minHeight},border:function(){if("undefined"!==typeof this.internal_config.border){var t=this.internal_config.border.split(" ");"undefined"!==typeof t[2]&&this.$globalStoreHelpers.isValidHex(t[2])&&(t[2]=this.$globalStoreHelpers.hexToRGBA(t[2]),this.internal_config.border=t.join(" "))}return this.internal_config.border},borderWidth:function(){return this.internal_config.borderWidth},height:function(){return this.internal_config.height},boxShadow:function(){return this.internal_config.boxShadow},radius:function(){return this.internal_config.borderRadius},backgroundColor:function(){return this.$globalStoreHelpers.isValidHex(this.internal_config.backgroundColor)&&(this.internal_config.backgroundColor=this.$globalStoreHelpers.hexToRGBA(this.internal_config.backgroundColor)),this.internal_config.backgroundColor},backgroundImage:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?(null!==this.internal_config.backgroundImage&&(this.internal_config.backgroundImage=this.internal_config.backgroundImage.replace("omb11.com","storage.builderall.com")),'url("'+this.internal_config.backgroundImage+'")'):""},backgroundPosition:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?this.internal_config.backgroundPosition:""},backgroundOrigin:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?this.internal_config.backgroundOrigin:""},backgroundRepeat:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?this.internal_config.backgroundRepeat:""},backgroundSize:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?this.internal_config.backgroundSize:""},backgroundAttachment:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?this.internal_config.backgroundAttachment:""},internalBackgroundColor:function(){return this.$globalStoreHelpers.isValidHex(this.internal_config.internalBackgroundColor)&&(this.internal_config.internalBackgroundColor=this.$globalStoreHelpers.hexToRGBA(this.internal_config.internalBackgroundColor)),this.internal_config.internalBackgroundColor},internalBackgroundImage:function(){return this.internal_config.internalBackgroundImage&&"none"!==this.internal_config.internalBackgroundImage?(this.internal_config.internalBackgroundImage=this.internal_config.internalBackgroundImage.replace("omb11.com","storage.builderall.com"),'url("'+this.internal_config.internalBackgroundImage+'")'):""},internalBackgroundPosition:function(){return this.internal_config.internalBackgroundImage&&"none"!==this.internal_config.internalBackgroundImage?this.internal_config.internalBackgroundPosition:""},internalBackgroundOrigin:function(){return this.internal_config.internalBackgroundImage&&"none"!==this.internal_config.internalBackgroundImage?this.internal_config.internalBackgroun
1dOrigin:""},internalBackgroundRepeat:function(){return this.internal_config.internalBackgroundImage&&"none"!==this.internal_config.internalBackgroundImage?this.internal_config.internalBackgroundRepeat:""},internalBackgroundSize:function(){return this.internal_config.internalBackgroundImage&&"none"!==this.internal_config.internalBackgroundImage?this.internal_config.internalBackgroundSize:""},internalBackgroundAttachment:function(){return this.internal_config.internalBackgroundImage&&"none"!==this.internal_config.internalBackgroundImage?this.internal_config.internalBackgroundAttachment:""},typeVideo:function(){try{if("undefined"!=typeof this.internal_config.video&&""!=this.internal_config.video)return"video/"+this.internal_config.video.split(".").pop()}catch(t){return console.log(t),""}return""},srcVideo:function(){try{if("undefined"!=typeof this.internal_config.video&&""!==this.internal_config.video)return this.internal_config.video}catch(t){return console.log(t),""}return""}},methods:{borderColor:function(){var t=this.internal_config.border.split(" "),e=Object(i["a"])(t,3),n=(e[0],e[1],e[2]);return n},borderStyle:function(){var t=this.internal_config.border.split(" "),e=Object(i["a"])(t,3),n=(e[0],e[1]);e[2];return n},changeHeight:function(t,e,n,i,o,a){var r=arguments.length>6&&void 0!==arguments[6]&&arguments[6];if("desktop"==this.device)for(var s in this.internal_config.height=e?parseInt(this.$el.getBoundingClientRect().height)+t+"px":parseInt(this.$el.getBoundingClientRect().height)-parseInt(t)+"px",this.elements)if(this.elements[s].id!=n){var c=document.getElementById(this.elements[s].id);"SimpleFormComponent"===this.elements[s].name&&(c=document.querySelectorAll('[data-id="'.concat(this.elements[s].id,'"]'))[0]),"undefined"!=typeof $(c).offset()&&parseInt($(c).offset().left)>=o-5&&parseInt($(c).position().top)>=i-5&&parseInt($(c).offset().left)<=o+a&&(r||(c.style.top=e?parseInt($(c).position().top)+t+"px":parseInt($(c).position().top)-t+"px"))}},panelDividerEffect:function(){if(this.internal_config.separatorHtml="",this.internal_config.separatorActive){var t=this.internal_config.separatorColors;this.$globalStoreHelpers.isValidHex(t["first"])&&(t["first"]=this.$globalStoreHelpers.hexToRGBA(t["first"])),this.$globalStoreHelpers.isValidHex(t["second"])&&(t["second"]=this.$globalStoreHelpers.hexToRGBA(t["second"])),this.$globalStoreHelpers.isValidHex(t["third"])&&(t["third"]=this.$globalStoreHelpers.hexToRGBA(t["third"])),this.$globalStoreHelpers.isValidHex(t["fourth"])&&(t["fourth"]=this.$globalStoreHelpers.hexToRGBA(t["fourth"])),"waves-floating"===this.internal_config.separatorEffect&&(this.internal_config.separatorHtml=this.$refs.separatorData.wavesSeparator(t["first"],t["second"],t["third"],t["fourth"],t["custom"],t["value1"],t["value2"],t["value3"],t["value4"])),"drip-up"===this.internal_config.separatorEffect&&(this.internal_config.separatorHtml=this.$refs.separatorData.dripColors(t["first"],t["second"],t["third"],"up",t["custom"],t["value1"],t["value2"],t["value3"])),"drip-down"===this.internal_config.separatorEffect&&(this.internal_config.separatorHtml=this.$refs.separatorData.dripColors(t["first"],t["second"],t["third"],"down",t["custom"],t["value1"],t["value2"],t["value3"])),"mid-arrow"===this.internal_config.separatorEffect&&(this.internal_config.separatorHtml=this.$refs.separatorData.midArrow(t["first"],t["second"],t["third"],t["custom"],t["value1"],t["value2"],t["value3"])),"waves-fixed"===this.internal_config.separatorEffect&&(this.internal_config.separatorHtml=this.$refs.separatorData.wavesFixed(t["first"],t["second"],t["third"],t["custom"],t["value1"],t["value2"],t["value3"])),"polygon"===this.internal_config.separatorEffect&&(this.internal_config.separatorHtml=this.$refs.separatorData.polygonCraqued(t["first"],t["second"],t["third"],t["custom"],t["value1"],t["value2"],t["value3"])),"polygon-up"===this.internal_config.separatorEffect&&(this.internal_config.separatorHtml=this.$refs.separatorData.polygonUp(t["first"],t["second"],t["third"],t["custom"],t["value1"],t["value2"],t["value3"])),"banner-lateral"===this.internal_config.separatorEffect&&(this.internal_config.separatorHtml=this.$refs.separatorData.bannerLateral(t["first"],t["second"],t["third"],t["custom"],t["value1"],t["value2"],t["value3"])),"drops"===this.internal_config.separatorEffect&&(this.internal_config.separatorHtml=this.$refs.separatorData.drops(t["first"],t["second"],t["custom"],t["value1"],t["value2"])),"waves-lateral"===this.internal_config.separatorEffect&&(this.internal_config.separatorHtml=this.$refs.separatorData.wavesLateral(t["first"],t["second"],t["third"],t["custom"],t["value1"],t["value2"],t["value3"])),"zigzag"===this.internal_config.separatorEffect&&(this.internal_config.separatorHtml=this.$refs.separatorData.zigzag(t["first"],t["second"],t["third"],t["custom"],t["value1"],t["value2"],t["value3"])),"b
1ig-arrow"===this.internal_config.separatorEffect&&(this.internal_config.separatorHtml=this.$refs.separatorData.bigArrow(t["first"],t["second"],t["third"],t["custom"],t["value1"],t["value2"],t["value3"])),"clouds"===this.internal_config.separatorEffect&&(this.internal_config.separatorHtml=this.$refs.separatorData.cloudsEffect(t["first"],t["custom"],t["value1"])),"curve"===this.internal_config.separatorEffect&&(this.internal_config.separatorHtml=this.$refs.separatorData.curveEffect(t["first"],t["second"],t["third"],t["custom"],t["value1"],t["value2"],t["value3"])),"arrow-reverse"===this.internal_config.separatorEffect&&(this.internal_config.separatorHtml=this.$refs.separatorData.arrowReverse(t["first"],t["second"],t["third"],t["custom"],t["value1"],t["value2"],t["value3"])),"pixels"===this.internal_config.separatorEffect&&(this.internal_config.separatorHtml=this.$refs.separatorData.pixels(t["first"],t["second"],t["third"],t["custom"],t["value1"],t["value2"],t["value3"])),"big-round"===this.internal_config.separatorEffect&&(this.internal_config.separatorHtml=this.$refs.separatorData.bigRound(t["first"],t["second"],t["custom"],t["value1"],t["value2"])),"breaker"===this.internal_config.separatorEffect&&(this.internal_config.separatorHtml=this.$refs.separatorData.breaker(t["first"],t["second"],t["third"],t["custom"],t["value1"],t["value2"],t["value3"]))}},dataTag:function(){return this.internal_config.tag?this.internal_config.tag:""},fixedFooterBanner:function(){return!(!this.internal_config.fixed||!this.is_footer)},fixedFooterBannerMobile:function(){return!(!this.internal_config.fixedMobile||!this.is_footer)&&(this.$root.$emit("setPanelScrollFixedZIndex",this.$el),!0)},fixedBanner:function(){if(this.internal_config.fixed){var t=document.querySelectorAll(".sitebuilder-element-panel:not(.hide-on-desktop)"),e=Array.from(t).find((function(t){return t.querySelector("div.panel:not([data-hide-desktop=true])")})),n=document.body.classList.contains("free-website"),i=50;return this.$el===e&&this.$root.$emit("setFixedStartPanel",n?parseInt(this.internal_config.height)+i+"px":this.internal_config.height),this.$el===e}return!1},fixedBannerMobile:function(){if(this.internal_config.fixedMobile){var t=document.querySelectorAll(".sitebuilder-element-panel"),e=Array.from(t).find((function(t){return t&&t.querySelector("div.panel:not([data-hide-mobile=true])")}));if(this.$el===e){var n=$(e).height();this.$root.$emit("setFixedStartPanel",n>parseFloat(this.internal_config.minHeight)?n:this.internal_config.minHeight,"mobile")}return this.$el===e}return!1},hideControl:function(){var t="";return this.internal_config.showMobile||(t+=" hide-on-mobile"),this.internal_config.showDesktop||(t+=" hide-on-desktop"),"undefined"!==typeof this.internal_config.hidePanel&&this.internal_config.hidePanel&&(t+=" hiden-panel"),"painelhide"==this.config.tag&&(console.log("caiu no hide"),t+=" hiden-panel"),t},duplicatePanel:function(){this.$root.$emit("duplicatePanel",this.id)},togglePanel:function(){this.$root.$emit("toggleElement",this)},showResources:function(){},changeOrderPanel:function(t,e){var n=t.$el.id,i=1===e?document.getElementById(n).nextSibling:document.getElementById(n).previousSibling;if(null===i)return!0;var o=this,a=this.$parent.changeOrderElements(o.id,n,i.id,e);o.elements={},this.$nextTick((function(){o.elements=a.childs.sort((function(t,e){return t.config.order_mobile>e.config.order_mobile?1:e.config.order_mobile>t.config.order_mobile?-1:0}))}))},controlDisplayPanelMboss:function(){var t=this,e=JSON.parse(localStorage.getItem("mboss-data"));console.log(this.config.enabled_tags),this.config.enabled_tags.forEach((function(n){e&&"undefined"!==typeof e[n.column]&&("equal"===n.operator&&e[n.column]==n.value&&(t.$el.style.display="block"),"bigger"===n.operator&&e[n.column]>n.value&&(t.$el.style.display="block"),"smaller"===n.operator&&e[n.column]<n.value&&(t.$el.style.display="block"))}))}},created:function(){if("undefined"===typeof this.config.borderWidth&&"undefined"!==typeof this.$props.config.border){var t=this.$props.config.border.split(" "),e=Object(i["a"])(t,1),n=e[0];this.$props.config.borderWidth="".concat(n," ").concat(n," ").concat(n," ").concat(n)}},mounted:function(){var t,e,n,i,o=this,a=this.$props;t=a.device,e=a.childs,n=a.id,i=a.config;try{if(i.enable_tags){var r=atob(OPTIONS_INIT_SITE.options.w_code),s=localStorage.getItem("leadEmail");this.$el.style.display="none",null==localStorage.getItem("mboss-data")?R.a.get("/cheetah/search-mboss?website_id=".concat(r,"&email=").concat(s)).then((function(t){localStorage.setItem("mboss-data",JSON.stringify(t.data)),o.controlDisplayPanelMboss()})):this.controlDisplayPanelMboss()}}catch(l){this.$el.style.display="block",console.log(l)}try{"painelhide"===i.tag&&console.log(this.$el.style.display="none")}catch(l){console.log(l)}this.internal_config=i,this.device=t,this.elements=e.sort((function(t,e){return t.config.order_mobile>e.config.order_mobile?1:e.config.order_mobile>t.config.order_mobile?-1:0})),"undefined"!==typeof n&&(this.id=n),this.internal_config=window.mergeRecursive(this.props,this.$props.config);var c=this;setTimeout((function(){1==c.internal_config.parallaxActive&&$(c.$refs.elem).jarallax({type:c.internal_config.parallaxEffect,speed:c.internal_config.parallaxSpeed/10,imgSize:c.internal_config.backgroundSize,imgPosition:c.internal_config.backgroundPosition,imgRepeat:c.internal_config.backgroundRepeat})}),1e3),c.internal_config.infiniteSliderAnimation&&setTimeout((function(){var t=document.getElementById(c.internal_config.id),e=t.querySelector(".panel-body");e.classList.add("slide-track")}),10),c.internal_config.hidePanel&&"time"===c.internal_config.typeHidePanel&&setTimeout((function(){c.internal_config.hidePanel=!1;var t=document.getElementById(c.internal_config.id);$(t).addClass("fadein")}),c.internal_config.timeHidePanel*(1e3*("seconds"===c.internal_config.unitsHidePanel?1:60))),this.panelDividerEffect(),this.$nextTick((function(){"mobile"===o.device&&o.fixedBannerMobile(),o.$nextTick((function(){var t=parseInt($(".sitebuilder-element-panel").width());o.internal_config.arrowPanelWidth=t}))}))}},L=B,z=(n("d643"),Object(b["a"])(L,w,x,!1,null,"15127e9c",null)),M=z.exports,E=function(){var t=this,e=t._self._c;return e("div",{class:t.getClassMain(),style:t.getStyle()},["page"===t.open_by?["three-tabs"===t.form_theme.theme?e("three-tabs-page",{attrs:{type_active:t.type_active,auth_types:t.auth_types,areas_register:t.areas,active_page:t.active_page},on:{change:t.changeType}}):"two-tabs"===t.form_theme.theme?e("two-tabs-page",{attrs:{type_active:t.type_active,auth_types:t.auth_types,areas_register:t.areas,active_page:t.active_page},on:{change:t.changeType}}):"two-columns"===t.form_theme.theme?e("two-columns-page",{attrs:{type_active:t.type_active,auth_types:t.auth_types,areas_register:t.areas,active_page:t.active_page},on:{change:t.changeType}}):"in-block"===t.form_theme.theme?e("in-block-page",{attrs:{type_active:t.type_active,auth_types:t.auth_types,areas_register:t.areas,active_page:t.active_page},on:{change:t.changeType}}):e("default-page",{attrs:{type_active:t.type_active,areas_register:t.areas,active_page:t.active_page,auth_types:t.auth_types},on:{change:t.changeType}})]:e("section",{staticClass:"section section-shaped section-zero min-vh-100 d-flex justify-content-center align-items-center"},[e("sweet-modal",{ref:"success_send",staticClass:"modal-login",on:{close:function(e){return t.onCloseModal()}}},["three-tabs"===t.form_theme.theme?e("three-tabs-popup",{attrs:{type_active:t.type_active,auth_types:t.auth_types,areas_register:t.areas,active_page:t.active_page},on:{change:t.changeType}}):"two-tabs"===t.form_theme.theme?e("two-tabs-popup",{attrs:{type_active:t.type_active,auth_types:t.auth_types,areas_register:t.areas,active_page:t.active_page},on:{change:t.changeType}}):"two-columns"===t.form_theme.theme?e("two-columns-popup",{attrs:{type_active:t.type_active,auth_types:t.auth_types,areas_register:t.areas,active_page:t.active_page},on:{change:t.changeType}}):"in-block"===t.form_theme.theme?e("in-block-popup",{attrs:{type_active:t.type_active,auth_types:t.auth_types,areas_register:t.areas,active_page:t.active_page},on:{change:t.changeType}}):e("default-popup",{attrs:{type_active:t.type_active,areas_register:t.areas,active_page:t.active_page,auth_types:t.auth_types},on:{change:t.changeType}})],1)],1)],2)},N=[],D=(n("4f7f"),n("75fc")),j=n("b0ae"),H=(n("f559"),function(t){var e="";return e="publication.localhost"===location.hostname?"http://api.localhost":location.hostname.indexOf("sitebuilder-publication.kub.app.builderall.io")>-1?"https://api-sitebuilder.kub.app.builderall.io":location.hostname.indexOf("sitebuilder-publication.kub.app.builderall.info")>-1?"https://api-sitebuilder.kub.app.builderall.info":"https://cheetah-api.builderall.com","api"===t?e+"/api":e}),F=new function(){this.api=function(){var t=R.a.create({baseURL:H("api"),headers:{"Content-Type":"application/json",Accept:"application/json"}});return t.interceptors.request.use((function(t){var e="undefined"!==typeof OPTIONS_INIT_SITE&&"undefined"!==typeof OPTIONS_INIT_SITE.options&&"undefined"!==typeof OPTIONS_INIT_SITE.options.lang?OPTIONS_INIT_SITE.options.lang:"pt-BR";return t.headers["Accept-Language"]=e.split("_").join("-"),t}),(function(t){return Promise.reject(t)})),t},this.authApi=function(){var t=localStorage.getItem("login-user-token")?localStorage.getItem("login-user-token"):"",e=R.a.create({baseURL:H("api"),headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:"Bearer ".concat(t)}});return e.interceptors.request.use((function(t){var e="undefined"!==typeof OPTIONS_INIT_SITE&&"undefined"!==typeof OPTIONS_INIT_SITE.options&&"undefined"!==typeof OPTIONS_INIT_SITE.options.lang?OPTIONS_INIT_SITE.options.lang:"pt-BR";return t.headers["Accept-Language"]=e.split("_").join("-"),t}),(function(t){return Promise.reject(t)})),e}}
1,U=F,q="/website/user",V=function(t){return U.api().post("".concat(q,"/register"),t)},W=function(t){return U.api().post("".concat(q,"/login"),t)},G=function(t){return U.api().post("".concat(q,"/login/token"),t)},J=function(t){return U.api().post("".concat(q,"/login/builderall"),t)},Y=function(t){return U.api().post("".concat(q,"/password/forgot"),t)},K=function(t){return U.api().get("".concat(q,"/fields/all/").concat(t))},Z=function(t){return U.authApi().post("".concat(q,"/check"),t)},Q=function(t){return U.authApi().post("".concat(q,"/logout"),t)},X=function(t){return U.authApi().put("".concat(q,"/update"),t)},tt=function(){return U.authApi().get("".concat(q,"/get-info"))},et=function(t,e,n){var i=localStorage.getItem("login-user-token")?localStorage.getItem("login-user-token"):"",o=R.a.create({baseURL:"",headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:"Bearer ".concat(i)}});return o.post("/website/user/elearning/get-course/".concat(t,"/").concat(e,"/").concat(n))},nt=["c","s","a","page","blog-login","feed-news","author","t"];function it(t,e){if(null===t||"undefined"===typeof t||""===t)return null;var n=e||("undefined"!==typeof pagesConfig?pagesConfig:null);if(!n||!n.length)return null;var i=n.filter((function(e){return e&&e.id==t}));if(!i.length)return null;if(1===i.length)return i[0];var o=function(t){return nt.includes(String(t.url||"").toLowerCase())},a=function(t){return"undefined"!==typeof t.post_id&&null!==t.post_id&&""!==t.post_id},r=i.find((function(t){return!a(t)&&!o(t)}));if(r)return r;var s=i.find((function(t){return!a(t)}));return s||i[0]}function ot(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=at(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,r=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return r=t.done,t},e:function(t){s=!0,a=t},f:function(){try{r||null==n.return||n.return()}finally{if(s)throw a}}}}function at(t,e){if(t){if("string"==typeof t)return rt(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rt(t,e):void 0}}function rt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}var st={data:function(){return{currentPage:!1}},created:function(){},methods:{getCurrentPage:function(){var t;try{var e,n=window.location.pathname,o=document.cookie.split(";"),a=null,r=ot(o);try{for(r.s();!(e=r.n()).done;){var s=e.value;if(s=s.trim(),s.startsWith("splitTestPage")){var c=s.split("="),l=Object(i["a"])(c,2),d=(l[0],l[1]);a=d;break}}}catch(g){r.e(g)}finally{r.f()}if(a&&"/"==n&&(t=pagesConfig.find((function(t){return null!==t&&t.url.toLowerCase()===a.toLowerCase()}))),!t)if("/"===n)t=pagesConfig.find((function(t,e){return null!==t&&"1"===t.initial})),t||(t=pagesConfig.find((function(t,e){return null!==t&&"0"===t.initial&&0===e})));else{var u=n.replace("/","");-1!==u.indexOf("page/")&&(u="page");try{var h=u.split("/");h.length>1&&(u=h.length>=2&&"blog"===h[0]?h[1]:h[0])}catch(f){console.warn("mixinRestrictArea -> getCurrentPage Split",f)}u&&(t=pagesConfig.find((function(t){return null!==t&&t.url.toLowerCase()===u.toLowerCase()})))}t||pagesConfig.forEach((function(e){"404"==e.url&&(t=e)})),t||(t=pagesConfig.find((function(t,e){return null!==t&&"1"===t.initial})),t||(t=pagesConfig.find((function(t,e){return null!==t&&"0"===t.initial&&0===e})))),t&&(this.currentPage=t)}catch(f){"undefined"===typeof pagesConfig&&R.a.get(window.location.origin+"/cheetah/version").then((function(t){location.reload()})),console.warn("mixinRestrictArea -> getCurrentPage",f)}return t},getLogin:function(){return{user:JSON.Parse(localStorage.getItem("login-user")),all:JSON.Parse(localStorage.getItem("login-user-all")),token:localStorage.getItem("login-user-token")}},setLogin:function(t){t&&(localStorage.setItem("login-user",JSON.stringify(t.user)),localStorage.setItem("login-user-all",JSON.stringify(t)),localStorage.setItem("login-user-token",t.token),localStorage.setItem("login-user-token-md5",t.token_md5),localStorage.setItem("login-user-token-hash",t.token_hash),this.$store.dispatch("efetuarLogin",t),this.callRedirect())},setLogout:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];localStorage.removeItem("login-user"),localStorage.removeItem("login-user-all"),localStorage.removeItem("login-user-token"),localStorage.removeItem("login-user-token-md5"),localStorage.removeItem("login-user-token-hash"),this.$store.dispatch("efetuarLogout"),this.callRedirect(t)},callRedirectElearning:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];n&&(this.open_by=n);var i=t.filter((function(t){return t.redirect_config}));i.map(function(){var t=Object(u["a"])(regeneratorRuntime.mark((function t(n,i){var o,a,r,s,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if("undefined"!==typeof n.redirect_config||"page"!==e.open_by){t.next=2;break}return t.abrupt("return");case 2:o=e.$isJson(n.redirect_config)?JSON.parse(n.redirect_config):{},a=localStorage.getItem("login-user-token-md5"),r=localStorage.getItem("login-user"),r=!!e.$isJson(r)&&JSON.parse(r),"elearning-course"===o.elearning.type||"popup"===e.open_by?(s="blank"===o.elearning.target&&"page"===e.open_by?"blank":"same",c="undefined"!==typeof n.restrict_area_id?n.restrict_area_id:n.id,0===i?et(c,r.email,a).then((function(t){t.data.success?"blank"===s?(window.open(t.data.url_c
1ourse,"_blank"),window.location.reload()):window.location.href=t.data.url_course:e.$root.$emit("membersAreaElearningNotApproved")})):et(c,r.email,a).then((function(t){t.data.success&&("blank"===s?(window.open(t.data.url_course,"_blank"),window.location.reload()):window.location.href=t.data.url_course)}))):console.warn("ultimo else");case 7:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}())},callRedirect:function(){var t=Object(u["a"])(regeneratorRuntime.mark((function t(){var e,n,i,o=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=!(o.length>0&&void 0!==o[0])||o[0],n=localStorage.getItem("login-user-token-md5"),!this.redirect||"undefined"===typeof this.redirect.type){t.next=6;break}this.$root.$emit("linkAction",this.redirect),t.next=16;break;case 6:if(!(this.redirect||"popup"===this.open_by&&"undefined"!==typeof n&&null!==n&&this.redirect_elearning_course)){t.next=10;break}this.redirect_elearning_course&&"undefined"!==typeof n&&null!==n?this.callRedirectElearning(this.members_area_active):(i=it(this.redirect),i&&(window.location.href="/"+i.url)),t.next=16;break;case 10:if("page"!==this.open_by||"undefined"===typeof n||null===n||!this.redirect_elearning_course){t.next=15;break}return t.next=13,this.callRedirectElearning(this.active_page.restrict_areas);case 13:t.next=16;break;case 15:e&&window.location.reload();case 16:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),goToHomePage:function(){var t;try{t=pagesConfig.find((function(t,e){return null!==t&&"1"===t.initial&&"undefined"!==typeof t.is_member&&!parseInt(t.is_member)})),t||(t=pagesConfig.find((function(t,e){return null!==t&&"0"===t.initial&&0===e&&"undefined"!==typeof t.is_member&&!parseInt(t.is_member)}))),t&&parseInt(t.is_member)&&window.location.pathname!=="/"+t.url&&(window.location.href="".concat(window.origin,"/").concat(t.url))}catch(e){console.warn("gethomePage",e)}}}},ct={RELEASE_AUTOMATICALLY:1,WITH_CONFIRM_MAILINGBOSS:2,MANUAL_PAYMENT:3,ACCESS_BY_BA_CREDENTIALS:4,ACCESS_BY_BA_CREDENTIALS_PREMIUM:5},lt={name:"RestrictArea",props:["notHavePermission","open_by","not_have_permission"],mixins:[st],components:{SweetModal:j["a"],"default-popup":function(){return n.e("chunk-3ce2ff11").then(n.bind(null,"0c18"))},"three-tabs-popup":function(){return n.e("chunk-2d230809").then(n.bind(null,"ed0d"))},"two-tabs-popup":function(){return n.e("chunk-2d0dd430").then(n.bind(null,"8145"))},"two-columns-popup":function(){return n.e("chunk-5c1de701").then(n.bind(null,"7548"))},"in-block-popup":function(){return n.e("chunk-2d0e24f8").then(n.bind(null,"7dc8"))},"default-page":function(){return n.e("chunk-2d0e4e8d").then(n.bind(null,"91dc"))},"three-tabs-page":function(){return n.e("chunk-2d0a3203").then(n.bind(null,"019e"))},"two-tabs-page":function(){return n.e("chunk-2d230e94").then(n.bind(null,"edfe"))},"two-columns-page":function(){return n.e("chunk-78b8b8e0").then(n.bind(null,"97db"))},"in-block-page":function(){return n.e("chunk-16ec2c16").then(n.bind(null,"0a92"))}},data:function(){return{restricts_areas:[],type_active:"login",redirect:!1,areas:[],members_area_active:{},active_page:{},form_theme:{},auth_types:[],redirect_elearning_course:!1}},methods:{getStyle:function(){if((this.getBackground("color")||this.getBackground("image"))&&"page"===this.open_by){var t=this.getBackground("color")?this.getBackground("color"):"",e=this.getBackground("image")?"".concat(this.getBackground("image")):"",n=this.getBackground("repeat")?"".concat(this.getBackground("repeat")):"repeat",i=this.getBackground("size")?"".concat(this.getBackground("size")):"contain";return e?'background: url("'.concat(e,'") center center / ').concat(i," ").concat(n," border-box border-box ").concat(t):"background-color: ".concat(t)}return!1},getBackground:function(t){return!!(this.form_theme.config&&this.form_theme.config.background&&this.form_theme.config.background[t])&&this.form_theme.config.background[t]},getClassMain:function(){var t="restrict-container-main";return t+="dark"===this.form_theme.config.style?" container-appearance-dark":" container-appearance-light",t=t+" theme-"+this.form_theme.theme,"page"===this.open_by&&(t+=" type-page"),t},setAuths:function(){var t=this,e=this.getCurrentPage(),n=[];this.open_by&&"page"===this.open_by?n=e.restrict_areas:this.areas.length>0?(this.members_area_active=restrictsArea.filter((function(e){return t.areas.includes(parseInt(e.id))})),n=this.members_area_active):n=restrictsArea,this.auth_types=n.filter((function(t){return parseInt(t.type_id
1)!==ct.ACCESS_BY_BA_CREDENTIALS&&parseInt(t.type_id)!==ct.ACCESS_BY_BA_CREDENTIALS_PREMIUM})).map((function(t){return t["auth_type"]?t["auth_type"]:"register"}));var i=n.filter((function(t){return parseInt(t.type_id)===ct.ACCESS_BY_BA_CREDENTIALS||parseInt(t.type_id)===ct.ACCESS_BY_BA_CREDENTIALS_PREMIUM}));i.length&&!this.auth_types.includes("login-ba")&&this.auth_types.push("login-ba")},setAreas:function(t){this.setAuths(),this.members_area_active=restrictsArea.filter((function(e){return t.includes(parseInt(e.id))}));try{0===t.length&&(this.members_area_active=restrictsArea,t=restrictsArea.map((function(t){return parseInt(t.id)})))}catch(e){}this.members_area_active&&this.members_area_active.length>0&&(this.areas=t),this.auth_types=this.members_area_active.map((function(t){return t["auth_type"]?t["auth_type"]:"register"})),this.auth_types=Object(D["a"])(new Set(this.auth_types))},changeType:function(t){this.setAuths(),this.auth_types.length>0&&!this.auth_types.includes("both")&&!this.auth_types.includes("register")&&!this.auth_types.includes("login-ba")?this.type_active="login-token":1===this.auth_types.length&&this.auth_types.includes("login-ba")?this.type_active="login-ba":(this.type_active=t,this.$set(this.$data,"type_active",t))},setRedirect:function(t){this.redirect=t},setElearningRedirect:function(t){var e=this.members_area_active.filter((function(t){return t.elearning_course_id}));this.redirect_elearning_course=!("undefined"===typeof t.redirect_elearning_course||!parseInt(t.redirect_elearning_course)||!e)},getTheme:function(){this.active_page&&this.active_page.website_form&&this.active_page.website_form.length>0?this.form_theme=this.active_page.website_form[0]:this.form_theme={theme:"default",config:{style:"light"}}},callRedirectElearning:function(t){var e=this,n=t.filter((function(t){return t.redirect_config})),i=t.filter((function(t){return[ct.RELEASE_AUTOMATICALLY,ct.ACCESS_BY_BA_CREDENTIALS,ct.ACCESS_BY_BA_CREDENTIALS_PREMIUM].includes(parseInt(t.type_id))}));n.map(function(){var t=Object(u["a"])(regeneratorRuntime.mark((function t(n,o){var a,r,s,c,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if("undefined"!==typeof n.redirect_config||"page"!==e.open_by){t.next=2;break}return t.abrupt("return");case 2:a=e.$isJson(n.redirect_config)?JSON.parse(n.redirect_config):{},r=localStorage.getItem("login-user-token-md5"),localStorage.getItem("login-user-token-hash"),s=localStorage.getItem("login-user"),s=!!e.$isJson(s)&&JSON.parse(s),"elearning-course"===a.elearning.type||"popup"===e.open_by?(c="blank"===a.elearning.target&&"page"===e.open_by?"blank":"same",l="undefined"!==typeof n.restrict_area_id?n.restrict_area_id:n.id,0===o?et(l,s.email,r).then((function(t){t.data.success?"blank"===c?(window.open(t.data.url_course,"_blank"),window.location.reload()):window.location.href=t.data.url_course:0===i.length&&"popup"===e.open_by?e.$root.$emit("membersAreaElearningNotApproved"):window.location.reload()})):et(l,s.email,r).then((function(t){t.data.success?"blank"===c?(window.open(t.data.url_course,"_blank"),window.location.reload()):window.location.href=t.data.url_course:window.location.reload()}))):window.location.reload();case 8:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}())},callRedirect:function(){var t=Object(u["a"])(regeneratorRuntime.mark((function t(){var e,n,i,o=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=!(o.length>0&&void 0!==o[0])||o[0],n=localStorage.getItem("login-user-token-md5"),!(parseInt(this.redirect)||"popup"===this.open_by&&"undefined"!==typeof n&&null!==n&&this.redirect_elearning_course)){t.next=6;break}this.redirect_elearning_course&&this.members_area_active.filter((function(t){return t.elearning_course_id})).length>0&&"undefined"!==typeof n&&null!==n?this.callRedirectElearning(this.members_area_active):(i=it(this.redirect),i&&(window.location.href="/"+i.url)),t.next=12;break;case 6:if("page"!==this.open_by||"undefined"===typeof n||null===n||!this.redirect_elearning_course){t.next=11;break}return t.next=9,this.callRedirectElearning(this.active_page.restrict_areas);case 9:t.next=12;break;case 11:e&&window.location.reload();case 12:this.$loading.hide();case 13:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),getLogin:function(){return{user:JSON.Parse(localStorage.getItem("login-user")),all:JSON.Parse(localStorage.getItem("login-user-all")),token:localStorage.getItem("login-user-token")}},removeLogin:function(){this.setLogout()},back:function(){var t;try{t=pagesConfig.find((function(t,e){return null!==t&&"1"===t.initial})),t||(t=pagesConfig.find((function(t,e){return null!==t&&"0"===t.initial&&0===e}))),window.location.href="".concat(window.origin,"/").concat(t.url)}catch(e){console.warn("gethomePage",e)}},openModal:function(){this.$refs.success_send.open()},onCloseModal:function(){this.$emit("cleanMembersArea")}},created:function(){this.active_page=this.getCurrentPage(),this.getTheme(),"page"===this.open_by&&(this.setAuths(),this.changeType(this.type_active),this.active_page.restrict_areas&&(this.redirect_elearning_course=!!this.active_page.restrict_areas.find((function(t){return t.elearning_course_id}))))},beforeCreate:function(){this.restricts_areas=[]}
1,mounted:function(){"popup"===this.open_by&&this.$refs.success_send.open()}},dt=lt,ut=(n("edeb"),Object(b["a"])(dt,E,N,!1,null,null,null)),ht=ut.exports,gt=n("9029"),ft={data:function(){return{hostMap:{".sitebuilder-publication.kub.app.builderall.io":{mboss:"https://mb5app.kub.app.builderall.io"},".sitebuilder-publication.kub.app.builderall.info":{mboss:"https://mb5app.kub.app.builderall.info"},default:{mboss:"https://app.mailingboss.com"}}}},methods:{getMailingBossUrl:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(null!==t){var e=Object.keys(this.hostMap).find((function(e){return t.includes(e)})),n=this.hostMap[e]||this.hostMap["default"];return n.mboss}return"https://app.mailingboss.com"}}},pt={data:function(){return{hostMap:{".sitebuilder-publication.kub.app.builderall.io":{notify:"https://notify.kub.app.builderall.io"},".sitebuilder-publication.kub.app.builderall.info":{notify:"https://notify.kub.app.builderall.info"},default:{notify:"https://notify.builderall.com"}}}},methods:{getNotifyUrl:function(){var t=window.location.host,e=Object.keys(this.hostMap).find((function(e){return t.includes(e)})),n=this.hostMap[e]||this.hostMap["default"];return n.notify}}},mt={data:function(){return{hostMap:{".sitebuilder-publication.kub.app.builderall.io":{socialProof:"https://socialproof.kub.app.builderall.io"},".sitebuilder-publication.kub.app.builderall.info":{socialProof:"https://socialproof.kub.app.builderall.info"},default:{socialProof:"https://proof.builderall.com"}}}},methods:{getSocialProofUrl:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;if(null==e)throw new Error("the id parameter cannot be null");if(null!==t){var n=Object.keys(this.hostMap).find((function(e){return t.includes(e)})),i=this.hostMap[n]||this.hostMap["default"],o="";switch(i.socialProof){case"https://socialproof.kub.app.builderall.io":o="".concat(i.socialProof,"/js/show_notification.js?id=").concat(e,"&env=develop");break;case"https://socialproof.kub.app.builderall.info":o="".concat(i.socialProof,"/js/show_notification.js?id=").concat(e,"&env=homolog");break;default:o="".concat(i.socialProof,"/js/show_notification.js?id=").concat(e);break}return o}return"https://proof.builderall.com/js/show_notification.js?id=".concat(e)}}},bt={data:function(){return{hostMap:{".sitebuilder-publication.kub.app.builderall.io":{cheetah:"https://api-sitebuilder.kub.app.builderall.io"},".sitebuilder-publication.kub.app.builderall.info":{cheetah:"https://api-sitebuilder.kub.app.builderall.info"},default:{cheetah:"https://cheetah-api.builderall.com"}}}},methods:{getCheetahApiUrl:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(null!==t){var e=Object.keys(this.hostMap).find((function(e){return t.includes(e)})),n=this.hostMap[e]||this.hostMap["default"];return n.cheetah}return"https://cheetah-api.builderall.com"}}},_t=function(){var t=window.location.hostname,e=[{pattern:/builderall\.local$/,url:"https://s-checkout.builderall.local"},{pattern:/builderall\.io$/,url:"https://supercheckout.kub.app.builderall.io"},{pattern:/builderall\.info$/,url:"https://supercheckout.kub.app.builderall.info"},{pattern:/builderall\.(com|net)$/,url:"https://s-checkout.builderall.com"},{pattern:/builderallsite\.com$/,url:"https://s-checkout.builderall.com"}],n=e.find((function(e){var n=e.pattern;return n.test(t)}));return n?n.url:window.location.origin+"/sc-bridge"},yt=Object(c["a"])((function t(){Object(s["a"])(this,t),Object(d["a"])(this,"get",(function(){var t=!1;if("/"!==window.location.pathname){var e=window.location.pathname.replace("/","");-1!==e.indexOf("page/")&&(e="page");try{var n=e.split("/");n.length>1&&(e=n.length>=2&&"blog"===n[0]?n[1]:n[0])}catch(i){console.warn(i)}e&&"undefined"!==typeof pagesConfig&&(t=pagesConfig.find((function(t){return null!==t&&t.url.toLowerCase()===e.toLowerCase()})))}return t||"undefined"===typeof pagesConfig||(t=pagesConfig.find((function(t){return null!==t&&"1"===t.initial})),t||(t=pagesConfig.find((function(t,e){return null!==t&&"0"===t.initial&&0===e})))),t})),this.current_page=this.get()})),vt=yt,wt=function(t){var e="https://builderall.com",n={pt_BR:"https://builderall.com.br",fr_FR:"https://fr.builderall.com",nl_NL:"https://nl.builderall.com",es_ES:"https://es.builderall.com",it_IT:"https://it.builderall.com",vi_VI:"https://vi.builderall.com",pl_PL:"https://pl.builderall.com",de_DE:"https://builderall.de"};return"undefined"!==typeof n[t]?n[t]:e},xt=function(){var t=new URL(window.location.href),e=t.searchParams.get("irclickid");return!!e},kt=function(){return new URLSearchParams(window.location.search)};function St(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];
1if(!n){if(Array.isArray(t)||(n=Ct(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,r=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return r=t.done,t},e:function(t){s=!0,a=t},f:function(){try{r||null==n.return||n.return()}finally{if(s)throw a}}}}function Ct(t,e){if(t){if("string"==typeof t)return It(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?It(t,e):void 0}}function It(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function Tt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Pt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Tt(Object(n),!0).forEach((function(e){Object(d["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Tt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}n("ee8d");var Ot=[],At=new vt,Rt={name:"app",components:{PanelElement:M,SweetModal:j["a"],RestrictArea:ht,NotHavePermission:v},mixins:[st,ft,mt,bt,pt],data:function(){return{isDownloadPage:!1,notAllowMembersArea:!1,isOnlyNecessary:!1,isCreatedBtnReset:!1,isAuth:!1,actionLogin:!1,auth:!1,bnStatus:!1,membersArea:{redirect:"",open_by:"page"},galleryImage:{overlay:!1,image:""},hasRestrictArea:!1,allowedRestrictArea:!1,fixedStartPanel:0,fixedStartPanelMobile:0,device:gt["isTablet"]||gt["isMobile"]?"mobile":"desktop",errorMessage:[],elements:[],showHeaderSecondary:!1,elementHeader:{mobile:{},desktop:{}},elementHeaderSecondary:{mobile:{},desktop:{}},elementFooter:{mobile:{},desktop:{}},elementHeaderSecondaryActive:{mobile:!1,desktop:!1},userPopups:[],fontGroup:{},navigator:"",popupKeys:[],bgPropsPage:{},tagPage:{},popupSettings:{},popupStyle:"",popupStyleIOS:"",scrollPopup:!1,isMobile:gt["isMobile"],isTablet:gt["isTablet"],cookieTypes:{preferences:{type:"Site Preferences",value:"preferences",description:"These are cookies that are related to your site preferences, e.g. remembering your username, site colours, etc."},analytics:{type:"Analytics",value:"analytics",description:"Cookies related to site visits, browser types, etc."},marketing:{type:"Marketing",value:"marketing",description:"Cookies related to marketing, e.g. newsletters, social media, etc"}},successSendMessage:"",urlGfr:{id:"",url:"",secret:""},gfrToken:null}},watch:{fixedStartPanel:function(){this.fixedPanel()},fixedStartPanelMobile:function(){this.fixedPanel()},device:function(){this.fixedPanel(),this.headerScroll()}},computed:{isIaTest:function(){return"undefined"!==typeof OPTIONS_INIT_SITE&&"undefined"!==typeof OPTIONS_INIT_SITE.options&&"undefined"!==typeof OPTIONS_INIT_SITE.options.is_ia_test&&"1"===OPTIONS_INIT_SITE.options.is_ia_test},getHost:function(){return window.location.host},mailingBossUrl:function(){return this.getMailingBossUrl(this.getHost)},cheetahApiUrl:function(){return this.getCheetahApiUrl(this.getHost)},notifyUrl:function(){return this.getNotifyUrl()}},methods:{editSite:function(){"undefined"!==typeof websiteID&&""!==typeof websiteID?R.a.get("".concat(this.cheetahApiUrl,"/website/id/").concat(websiteID)).then((function(t){location.href="https://office.builderall.com/us/office/website-builder?redirect_url="+encodeURIComponent("/editor/"+t.data.data)})):location.href="https://office.builderall.com/us/office/website-builder"},loadSocialProof:function(){if("undefined"!==typeof socialProofSettings&&socialProofSettings&&this.$isJson(socialProofSettings)){var t=this.getCurrentPage(),e=JSON.parse(socialProofSettings);if(e=Array.isArray(e)?e:[e],e=e.find((function(e){return e.pages&&e.pages.includes(parseInt(t.id))}
1)),e){console.log("loading socialproof",e);var n=window.location.host,i=this.getSocialProofUrl(n,parseInt(e.id)),o=document.createElement("script");o.setAttribute("id","builderall_socialproof"),o.setAttribute("src",i),o.setAttribute("async",""),o.setAttribute("defer",""),document.body.appendChild(o)}}},getGfrToken:function(){var t=Object(u["a"])(regeneratorRuntime.mark((function t(){var e,n,i,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e={io:{id:2,url:"https://global-files.kub.app.builderall.io",secret:"L26LyhzWiuBYgGIsc6BYeLRHFNZNC7zCgEalgbKS"},info:{id:2,url:"https://global-files.kub.app.builderall.info",secret:"4r9CLewttW8F9KLNCIlMM3JQiuVLLqs1ObbSafbM"},com:{id:1,url:"https://global-files.builderall.com",secret:"A82YRH0Yq5YN54zghwaMCXWbQcid0MG2XI946wcW"}},n=window.location.host.includes(".io")?"kub.app.builderall.io":window.location.host.includes(".kub.app.builderall.info")?"info":"com",this.urlGfr=e[n],i=new FormData,i.append("grant_type","client_credentials"),i.append("client_id",this.urlGfr.id),i.append("client_secret",this.urlGfr.secret),t.prev=7,t.next=10,R.a.post("".concat(this.urlGfr.url,"/oauth/token"),i,{headers:{Accept:"application/json"}});case 10:o=t.sent,this.gfrToken=o.data.access_token,t.next=17;break;case 14:t.prev=14,t.t0=t["catch"](7),console.error("Error to get global file repository token:",t.t0);case 17:case"end":return t.stop()}}),t,this,[[7,14]])})));function e(){return t.apply(this,arguments)}return e}(),defineGfrUrl:function(){var t=Object(u["a"])(regeneratorRuntime.mark((function t(e){var n,i,o,a,r,s,c,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.value.src,i=n?"https://storage.builderall.com"+e.value.src:e.value,n){t.next=25;break}return t.next=5,this.getGfrToken();case 5:if(o=/\/([^\/]+)\.([a-z0-9]+)$/i,a=i.match(o),!(a&&this.urlGfr.url&&this.gfrToken)){t.next=24;break}return r=a[1],s=".".concat(a[2]),c=r+s,t.prev=11,t.next=14,R.a.get("".concat(this.urlGfr.url,"/v1/files/info?hash=").concat(c),{headers:{Accept:"application/json",Authorization:"Bearer ".concat(this.gfrToken)}});case 14:l=t.sent,i+="?download=".concat(l.data.data.download_name),t.next=22;break;case 18:t.prev=18,t.t0=t["catch"](11),i+="?download=file".concat(s),console.error("Error to get GFR file:",t.t0);case 22:t.next=25;break;case 24:i+="?download=file".concat(fileExt);case 25:return t.abrupt("return",i);case 26:case"end":return t.stop()}}),t,this,[[11,18]])})));function e(e){return t.apply(this,arguments)}return e}(),capitalizeFirstLetter:function(t){return t.charAt(0).toUpperCase()+t.slice(1)},setPopupIfIos:function(){var t=!!navigator.platform.toLowerCase().match(/iphone|ipod|ipad|macintel/),e=window.navigator.userAgent,n=e.indexOf("Version/");if(n>-1&&t&&"mobile"===this.device){var i=window.Number(e.substr(n+8,2));this.popupStyleIOS=i>=15?"sweet-modal-helper-ios-15":"sweet-modal-helper-ios"}},getPlan:function(){return Ot["get-plan"]||(Ot["get-plan"]=R.a.get("".concat(this.cheetahApiUrl,"/get-plan/").concat(OPTIONS_INIT_SITE.options.id_usuario_omb10))),Ot["get-plan"]},callFacebookPixel:function(t){console.log(t),R.a.get("/cheetah/pixel/get").then((function(e){var n=window.location.pathname.replace("/","");if(""!==n||t||(n=pagesConfig.filter((function(t){if("1"==t.initial)return!0})),n=n[0].url),t){if(console.log("pixel event:"+t),"undefined"!==typeof facebook_pixel_token_is_set&&"1"==facebook_pixel_token_is_set){var i="";""!==t.value&&(i=t.value),t.standard_event&&""!==t.standard_event&&(i=t.standard_event);var o="/cheetah/pixel/track?event_name=".concat(i,"&domain=").concat(location.host,"&id=").concat(facebook_pixel),a=new URL(window.location.href),r=a.searchParams.get("test_event_code");return null!==r&&(o+="&test_event_code=".concat(r)),t.standard_event&&"Purchase"==t.standard_event&&(o+="&currency=".concat(t.purchase_event_info.currency,"&value=").concat(t.purchase_event_info.value)),void R.a.get(o).then((function(t){console.log(t.data)}))}"undefined"!==typeof fbq&&(""!==t.value&&fbq("trackCustom",t.value),t.standard_event&&""!==t.standard_event&&("Purchase"==t.standard_event?fbq("track",t.standard_event,t.purchase_event_info):fbq("track",t.standard_event))),"undefined"!==typeof gtag&&gtag("event",t.value)}else e.data.forEach((function(e,i){if(e.url_origin.replace("/","")!=n);else{if("undefined"!==typeof facebook_pixel_token_is_set&&"1"==facebook_pixel_token_is_set){console.log("pixel event api:"+e.event);var o="";""!==e.event&&(o=e.event),e.standard_event&&""!==e.standard_event&&(o=e.standard_event);var a="/cheetah/pixel/track?event_name=".concat(o,"&domain=").concat(location.host,"&id=").concat(facebook_pixel),r=new URL(window.location.href),s=r.searchParams.get("test_event_code");return null!==s&&(a+="&test_event_code=".concat(s)),e.standard_event&&"Purchase"==e.standard_event&&(a+="&currency=".concat(e.purchase_event_info.currency,"&value=").concat(e.purchase_event_info.value)),void R.a.get(a).then((function(t){console.log(t.data)}))}setTimeout((function(){"undefined"!==typeof fbq&&(""!==e.event&&fbq("trackCustom",e.event),e.standard_event&&""!==e.standard_event&&("Purchase"==e.standard_event?fbq("track",e.standard_event,e.purchase_event_info):fbq("track",e.standard_event))),"undefined"!==typeof gtag&&gtag("event",t)}),2e3)}}))}))},closeActivePopup:function(){var t=this;this.userPopups.forEach((function(e){t.$refs["popup"+e.id][0].$el.className.indexOf("is-visible")&&t.$refs["popup"+e.id][0].close()}))},callLinkAction:function(t){console.log(t),this.$root.$emit("linkAction",t)},setPaddingFixedZIndex:function(){var t=this;
1this.$nextTick((function(){var e=$(".editor-content-layout-item[data-footer-fixed=true]"),n=$(".editor-content-layout-item[data-footer-fixed-mobile=true]");if("desktop"===t.device&&e.length>0){var i=$("#editor-content > .sitebuilder-element-panel:not(.hide-on-desktop):not([data-footer-fixed=true])").last(),o=e.length;e.length>1&&($(e).each((function(t,e){t+1!==o&&($(e).removeAttr("data-footer-fixed"),$(e).removeAttr("data-footer-fixed-mobile"))})),e=e.last());var a=document.querySelector("#app").scrollHeight,r=document.querySelector("#app").offsetHeight;a>r&&$(e).addClass("scroll-fixed-z-index");var s=e.height();i!==e&&$(i).css({marginBottom:s})}if("mobile"===t.device&&n.length>0){var c=n.length,l=$("#editor-content > .sitebuilder-element-panel:not(.hide-on-Mobile):not([data-footer-fixed-mobile=true])").last();e.length>1&&($(e).each((function(t,e){t+1!==c&&($(e).removeAttr("data-footer-fixed"),$(e).removeAttr("data-footer-fixed-mobile"))})),e=e.last());a=document.querySelector("#app").scrollHeight,r=document.querySelector("#app").offsetHeight;a>r&&$(e).addClass("scroll-fixed-z-index");s=e.height();l!==e&&$(l).css({marginBottom:s})}}))},headerScroll:function(){var t=this;this.elementHeaderSecondaryActive[this.device]&&this.$nextTick((function(){var e=$
1(".editor-content-header-modify-on-scroll"),n=$('[data-header-modify-on-scroll="init"]'),i=$('[data-header-modify-on-scroll="on-scroll"]');setTimeout((function(){e.addClass("active");var o=n.outerHeight(!0);$("#app").scrollTop()>o?(t.showHeaderSecondary=!0,n.removeClass("is-showed"),i.addClass("is-showed"),t.$root.$emit("setFixedStartPanel",i.height(),t.device)):(t.showHeaderSecondary=!1,i.removeClass("is-showed"),n.addClass("is-showed"),t.$root.$emit("setFixedStartPanel",n.height(),t.device))}),200)}))},fixedPanel:function(){var t=this;this.$nextTick((function(){var e=$(".sitebuilder-element-panel:not(.hide-on-desktop):not([data-header-modify-on-scroll])"),n=$(".sitebuilder-element-panel:not(.hide-on-mobile):not([data-header-modify-on-scroll])");e&&e.removeClass("remove-margin-top").css("margin-top",""),n&&n.removeClass("remove-margin-top").css("margin-top","");var i=document.querySelectorAll(".sitebuilder-element-panel");if(i){var o=document.body.classList.contains("free-website"),a=50,r=t.isIaTest,s=67;if("desktop"===t.device&&$('[data-fixed="true"]:not([data-header-modify-on-scroll])').length>0){var c=Array.from(i).find((function(t){return t.querySelector("div.panel:not([data-hide-desktop=true])")})),l=Array.from(i).find((function(t){return!t.hasAttribute("data-fixed")&&t.querySelector("div.panel:not([data-hide-desktop=true])")})),d=!!navigator.platform.toLowerCase().match(/iphone|ipod|ipad|macintel/),u=window.navigator.userAgent,h=u.indexOf("Intel Mac OS X 10_"),g=window.Number(u.substr(h+18,2)),f=document.querySelector("#app").scrollHeight,p=document.querySelector("#app").offsetHeight;f>p&&(d&&g&&g>=14||c.classList.add("scroll-fixed-z-index")),l!==c&&(l.style.marginTop=o?parseInt(t.fixedStartPanel)+a+"px":r?parseInt(t.fixedStartPanel)+s+"px":t.fixedStartPanel)}if("mobile"===t.device&&$('[data-fixed-mobile="true"]:not([data-hide-mobile=true]):not([data-header-modify-on-scroll])').length>0){var m=Array.from(i).find((function(t){return t&&t.querySelector("div.panel:not([data-hide-mobile=true])")})),b=Array.from(i).find((function(t){return!t.hasAttribute("data-fixed-mobile")&&t.querySelector("div.panel:not([data-hide-mobile=true])")}));b!==m&&(b.style.marginTop=(o?$(m).height()+a:$(m).height())+"px")}}}))},removeLogin:function(){if(this.setLogout(!1),this.membersArea.redirect&&parseInt(this.membersArea.redirect)){var t=it(this.membersArea.redirect);t&&(window.location.href="/"+t.url)}else window.location.reload();this.setAuth()},checkLogin:function(){var t=this,e=this.getCurrentPage(),n=!1;if(-1!==window.location.pathname.indexOf("blog-login")){this.hasRestrictArea=!0,n=!0,this.membersArea.open_by="page";var i=this;i.$nextTick((function(){"undefined"!==typeof restrictsArea&&restrictsArea.length>0&&restrictsArea.forEach((function(t){1==t.is_blog&&i.$refs.restrictArea.setAreas([parseInt(t.id)])}))})),this.$storageON()||(this.notAllowMembersArea=!0);var o=!(!localStorage.getItem("login-user")||!localStorage.getItem("login-user-token"));if(o){var a=window.location,r=a.origin,s=a.search,c=new URLSearchParams(s),l=c.get("post");window.location.href=l?"".concat(r,"/").concat(l):r}}else{if(!e)return;if("undefined"===typeof e.restrict_areas&&R.a.get(window.location.origin+"/cheetah/version").then((function(t){location.reload()})),!e.restrict_areas&&"undefined"!==typeof restrictsArea&&restrictsArea.length<=0)return}e.restrict_areas.length>0&&(this.hasRestrictArea=!0),this.hasRestrictArea&&!this.$storageON()&&(this.notAllowMembersArea=!0);o=!(!localStorage.getItem("login-user")||!localStorage.getItem("login-user-token"));if(o&&this.hasRestrictArea||o&&"undefined"!==typeof restrictsArea&&restrictsArea.length>0||o&&"undefined"!==typeof e.is_member&&parseInt(e.is_member)||o&&n){this.$loading.show();var d=Pt(Pt({},JSON.parse(localStorage.getItem("login-user"))),{token:localStorage.getItem("login-user-token")});e.restrict_areas.length>0&&(d.page_id=e.id,d.page_url=e.url),Z(d).then((function(n){n.data.success?n.data.valid&&(t.isAuth=!0,e.restrict_areas.length>0&&n.data.restrict_areas&&(t.allowedRestrictArea=!!n.data.restrict_areas.permission,!t.allowedRestrictArea&&t.$refs.restrictArea&&t.$refs.restrictArea.changeType("not-have-permission")),n.data.data&&t.$refs.restrictArea.setLogin(n.data.data)):(t.setLogout(!1),t.allowedRestrictArea=!1)})).finally((function(){t.$loading.hide(),t.setAuth(),t.headerScroll(),$(".panel-constructor").removeClass("invisible")}))}},checkRestrictArea:function(){return this.getCurrentPage().restrict_areas.length>0},setAuth:function(){this.$storageON()&&localStorage.getItem("login-user")?this.auth=Pt({},JSON.parse(localStorage.getItem("login-user"))):this.auth=!1},cleanMembersArea:function(){this.membersArea={redirect:"",open_by:"page"},this.actionLogin=!1,this.$nextTick((function(){$(".panel-constructor").removeClass("invisible")}))},getTheme:function(){var t=this.getCurrentPage();return t&&t.website_form&&t.website_form.length>0?t.website_form[0]:{theme:"default",config:{style:"light"}}},getMsg:function(){var t=this.getTheme();
1return!!(t.config&&t.config.access_denied&&t.config.access_denied.message)&&t.config.access_denied.message},getAccessDenied:function(t,e){var n=this.getTheme();return"enable"===e?n&&n.config&&n.config.access_denied&&n.config.access_denied[t]&&"undefined"!==typeof n.config.access_denied[t][e]?parseInt(n.config.access_denied[t][e]):"enable"===e:n&&n.config&&n.config.access_denied&&n.config.access_denied[t]&&"undefined"!==typeof n.config.access_denied[t][e]?n.config.access_denied[t][e]:"enable"===e},setHeaderFooter:function(){var t=this;function e(t){try{JSON.parse(t)}catch(e){return!1}return!0}function n(n,i){var o=headersConst.find((function(t){return parseInt(t.id)===parseInt(i)}));o&&o.content&&(t.elementHeader[n]=o,t.elementHeader[n]["header_id"]=+i,t.elementHeader[n].content=e(o.content)?JSON.parse(o.content):o.content)}function i(n,i){var o=headersConst.find((function(t){return parseInt(t.id)===parseInt(i)}));o&&o.content&&(t.elementHeaderSecondary[n]=o,t.elementHeaderSecondary[n]["header_id"]=+i,t.elementHeaderSecondary[n].content=e(o.content)?JSON.parse(o.content):o.content)}
1function o(n,i){var o=footersConst.find((function(t){return parseInt(t.id)===parseInt(i)}));o&&o.content&&(t.elementFooter[n]=o,t.elementFooter[n].content=e(o.content)?JSON.parse(o.content):o.content)}var a=this.getCurrentPage();if(a&&"undefined"!==typeof a.configs){if("undefined"!==typeof headersConst){var r=a.configs.find((function(t){return"headerSettings"===t.key}));if(r&&r.value){var s=JSON.parse(r.value);s&&(0!==s.desktop.header_id&&("undefined"!==typeof s.desktop.modify_on_scroll&&s.desktop.modify_on_scroll&&"undefined"!==typeof s.desktop.secondary_header_id&&0!==s.desktop.secondary_header_id&&(t.elementHeaderSecondaryActive["desktop"]=!0,i("desktop",s.desktop.secondary_header_id)),n("desktop",s.desktop.header_id)),0!==s.mobile.header_id&&("undefined"!==typeof s.mobile.modify_on_scroll&&s.mobile.modify_on_scroll&&"undefined"!==typeof s.mobile.secondary_header_id&&0!==s.mobile.secondary_header_id&&(t.elementHeaderSecondaryActive["mobile"]=!0,i("mobile",s.mobile.secondary_header_id)),n("mobile",s.mobile.header_id)))}}if("undefined"!==typeof footersConst){var c=a.configs.find((function(t){return"footerSettings"===t.key}));if(c&&c.value){var l=JSON.parse(c.value);l&&(0!==l.desktop.footer_id&&o("desktop",l.desktop.footer_id),0!==l.mobile.footer_id&&o("mobile",l.mobile.footer_id))}}}},yourHandlerForCloseHere:function(){this.$refs.videoModalIframe.src="",$(".cheetah-modal-video").modal("hide")},yourHandlerForCloseUserPopup:function(t){$(".sweet-modal-overlay").css("background","rgba(255, 255, 255, 0.9)");setTimeout((function(){var t=document.querySelectorAll('[element="TextComponent"] a[type]'),e=function(t){var e=t.target;"undefined"===typeof e.attributes.type&&(e=e.parentElement)};t.forEach((function(t){t.addEventListener("click",e,!1)}))}),2e3),$("#popup"+t.id+" iframe").each((function(t,e){$(e).attr("data-src",$(e).attr("src")),$(e).attr("src",null)})),t.active=0},popupOverlayStyle:function(t){try{$(".sweet-modal-overlay").css("background","rgba(255, 255, 255, 0.9)"),$(".sweet-modal-overlay:not(.feedback-modal) .sweet-modal").css("background","#fff"),$(".sweet-modal").css("box-shadow","0 8px 46px rgb(0 0 0 / 8%), 0 2px 6px rgb(0 0 0 / 3%)"),$(".sweet-modal").css("-webkit-box-shadow","0 8px 46px rgb(0 0 0 / 8%), 0 2px 6px rgb(0 0 0 / 3%)"),$(".sweet-modal-overlay:not(.feedback-modal) .sweet-action-close").css("background","none"),$(".sweet-modal-overlay:not(.feedback-modal) .sweet-action-close").css("color","#000");var e=JSON.parse(t.content);if("object"===Object(l["a"])(e)&&"object"===Object(l["a"])(e[0])&&(e=e[0],e.hasOwnProperty("config"))){if(e.config.hasOwnProperty("borderRadius")){var n=e.config.borderRadius;$(".sweet-modal-overlay:not(.feedback-modal) .sweet-modal").css("border-radius",n);var i=4===n.split(" ").length?n.split(" ")[1]:4;$(".sweet-modal-overlay:not(.feedback-modal) .sweet-modal .sweet-box-actions").css("top","calc(12px + ("+i+" / 4))").css("right","calc(12px + ("+i+" / 4))")}e.config.hasOwnProperty("overlayCustom")&&e.config.hasOwnProperty("overlayColor")&&e.config.overlayCustom&&($(".sweet-modal-overlay:not(.feedback-modal) .sweet-modal").css("background","none"),$(".sweet-modal").css("box-shadow","none"),$(".sweet-modal").css("-webkit-box-shadow","none"),$(".sweet-modal-overlay").css("background",e.config.overlayColor),$(".sweet-modal-overlay").css("background",e.config.overlayColor),$(".sweet-modal-overlay:not(.feedback-modal) .sweet-action-close").css("background",e.config.buttonColor),$(".sweet-modal-overlay:not(.feedback-modal) .sweet-action-close").css("color",e.config.buttonIcon))}}catch(o){console.log(o)}},getPopupWidth:function(t){if(this.isMobile)return"100%";try{return JSON.parse(t.content)[0].config.popupMaxWidth}catch(e){return"100%"}},yourHandlerForOpenUserPopup:function(t){this.popupOverlayStyle(t),t.active=1,urlParamParse.parse(500);this.$nextTick((function(){$("#popup"+t.id+" iframe").each((function(t,e){$(e).attr("src",$(e).attr("data-src"))})),$("#popup"+t.id+" .invisible").each((function(t,e){$(e).removeClass("invisible")}))})),urlParamParse.parse(500)},applyFontGroup:function(){var t=this;
1Object.keys(this.fontGroup).forEach((function(e){document.body.style.setProperty("--text-family-"+e,t.fontGroup[e].family),document.body.style.setProperty("--text-size-"+e,t.fontGroup[e].size),document.body.style.setProperty("--text-size-mobile-"+e,t.fontGroup[e].sizeMobile),document.body.style.setProperty("--text-color-"+e,t.fontGroup[e].color),document.body.style.setProperty("--text-line-height-"+e,t.fontGroup[e]["line-height"])}))},setMbossReference:function(t){try{if("undefined"!=typeof t.mboss_reference&&null!=t.mboss_reference){localStorage.setItem("MAILING_BOSS_TRACKING",!0),localStorage.setItem("MAILING_BOSS_REFERENCE",t.mboss_reference),localStorage.setItem("MAILING_BOSS_TOKEN",t.mboss_token);var e=document.createElement("script");e.type="text/javascript",e.src="".concat(this.mailingBossUrl,"/js/tracking.min.js"),$("head").append(e),setTimeout((function(){console.log("insert mboss");var t={leadEmail:localStorage.getItem("leadEmail"),reference:localStorage.getItem("MAILING_BOSS_REFERENCE")};MailingBossTracking.init(localStorage.getItem("MAILING_BOSS_TOKEN"),t)}),3e3)}else localStorage.removeItem("MAILING_BOSS_REFERENCE"),localStorage.removeItem("MAILING_BOSS_TOKEN"),localStorage.removeItem("MAILING_BOSS_TRACKING")}catch(n){console.log(n)}},applyBackground:function(){var t=this.bgPropsPage.backgroundColor;this.$globalStoreHelpers.isValidHex(this.bgPropsPage.backgroundColor)&&(this.bgPropsPage.backgroundColor=this.$globalStoreHelpers.hexToRGBA(this.bgPropsPage.backgroundColor)),"none"!==this.bgPropsPage.backgroundImage&&this.bgPropsPage.backgroundImage&&(t+=' url("'+this.bgPropsPage.backgroundImage+'")',t+=" "+this.bgPropsPage.backgroundPosition,t+=" / "+this.bgPropsPage.backgroundSize,t+=" "+this.bgPropsPage.backgroundRepeat,t+=" "+this.bgPropsPage.backgroundOrigin,"undefined"!==typeof this.bgPropsPage.backgroundAttachment&&(t+=" "+this.bgPropsPage.backgroundAttachment)),document.body.style.setProperty("--bg-page",t)},applyTags:function(){var t=this;Object.keys(this.tagPage).forEach((function(e){var n=t.tagPage[e],i=60*~~n.min*1e3+1e3*~~n.sec;setTimeout((function(){var t={email:localStorage.getItem("leadEmail"),list:n.list,tag_value:e,websiteID:websiteID};R()({method:"post",url:"/cheetah/tag",data:t}).then((function(t){console.log(t)}))}),i)}))},applyPopups:function(){var t=function(){function t(){Object(s["a"])(this,t),this.functionMap={}}return Object(c["a"])(t,[{key:"addEventListener",value:function(t,e){this.functionMap[t]=e,document.addEventListener(t.split(".")[0],this.functionMap[t])}},{key:"removeEventListener",value:function(t){document.removeEventListener(t.split(".")[0],this.functionMap[t]),delete this.functionMap[t]}}])}(),e=new t,n=this,i=this.isMobile?this.popupSettings.mobile:this.popupSettings.desktop;function o(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i="";if("undefined"===typeof t.overlay||parseInt(t.overlay)||(i+="overlay-none "),"undefined"!==typeof t.size&&"full-size"===t.size&&(i+="full-size ","undefined"!==typeof t.maxHeight&&t.maxHeight&&"undefined"!==typeof t.direction&&"center"!==t.direction&&(i=i+"max-height-"+t.maxHeight),"undefined"!==typeof t.direction&&t.direction&&(i=i+" direction-"+t.direction)),e)return i;n.popupStyle=i}this.userPopups.forEach((function(t){if(i.popup_id==t.id){if(t.classList=o(i,!0),"time"===i.type&&setTimeout((function(){n.$refs["popup"+t.id][0].open()}),1e3*(parseInt(60*i.min)+parseInt(i.sec))),"scroll"===i.type){var a=function(){function e(t){var e=t.parentNode,n=(t.scrollTop||e.scrollTop)/(e.scrollHeight-e.clientHeight)*100;return parseInt(n)}var o=e(document.getElementById("editor-content"));o>=i.scroll&&!n.scrollPopup&&(n.$refs["popup"+t.id][0].open(),n.scrollPopup=!0)};document.addEventListener("scroll",a,!0)}"exit"===i.type&&e.addEventListener("mouseout.popup",(function(i){null!==i.toElement&&"undefined"!==typeof i.toElement||null!==i.relatedTarget||"INPUT"===i.target.tagName||(n.$refs["popup"+t.id][0].open(),e.removeEventListener("mouseout.popup",(function(){})))}))}}))},printScripts:function(t){if(!this.isCreatedBtnReset&&"undefined"!==typeof gdprSettings&&gdprSettings.active&&gdprSettings.activeResetCookies){var e=this,n=$("<button>").text(gdprSettings.btnLabelResetCookies).off("click").attr({id:"gdpr-reset-cookie
1s",display:"block"}).on("click",(function(){e.delete_cookie("cookieControl"),e.delete_cookie("cookieControlPrefs"),window.location.reload()})).addClass("gdpr-reset-cookies").appendTo("#editor-content");"right"===gdprSettings.positionResetCookies&&n.css("right","12%"),this.isCreatedBtnReset=!0}try{if(t.indexOf("marketing")>-1){if(this.loadSocialProof(),"undefined"!==typeof layoutScriptsFb)try{$(layoutScriptsFb).appendTo($("head"))}catch(a){console.log("broken layoutScriptsFb")}if("undefined"!==typeof facebook_pixel&&""!==facebook_pixel)try{R.a.get("/cheetah/pixel/facebook?pixel-id=".concat(facebook_pixel)).then((function(t){$(t.data).appendTo($("head"))}))}catch(a){console.log("broken facebook pixel")}if("undefined"!==typeof google_analytics&&""!==google_analytics&&"undefined"===typeof window.ga_loaded){window.ga_loaded=!0;try{R.a.get("/cheetah/pixel/analytics?pixel-id=".concat(google_analytics)).then((function(t){$(t.data).appendTo($("head"))}))}catch(a){console.log("broken analytics pixel")}}if("undefined"!==typeof tag_manager&&""!==tag_manager&&"undefined"===typeof window.gtm_loaded){window.gtm_loaded=!0;try{R.a.get("/cheetah/pixel/tag-manager?pixel-id=".concat(tag_manager)).then((function(t){$(t.data).appendTo($("head"))}))}catch(a){console.log("broken tag manager pixel")}}}if(t.indexOf("analytics")>-1&&"undefined"!==typeof layoutScriptsGa)try{$(layoutScriptsGa).appendTo($("head"))}catch(a){console.log("broken layoutScriptsGa")}if(t.indexOf("necessary")>-1){if("undefined"!==typeof layoutScripts)try{$(layoutScripts).appendTo($("head"))}catch(a){console.log("broken layoutScripts")}if("undefined"!==typeof pageScripts)try{$(pageScripts).appendTo($("head"))}catch(a){console.log("broken pageScripts")}}}catch(a){console.log(a)}if("undefined"!==typeof OPTIONS_INIT_SITE&&"undefined"!==typeof OPTIONS_INIT_SITE.options&&"undefined"!==typeof OPTIONS_INIT_SITE.options.crmEnable&&"1"===OPTIONS_INIT_SITE.options.crmEnable){var i="https://crm-api.eb4us.com/js/tracking.min.js?v="+(new Date).getTime(),o=document.createElement("script");o.innerHTML="(function({d=document,s='script',id='bacrmtrk', cKey, oKey}){\n    let n, p = d.getElementsByTagName(s)[0];\n    if (d.getElementById(id)) {return;}\n    n = d.createElement(s); n.id = id;\n    n.src = \" "+i+' ";\n    n.onload = function(){__baCRMTracking.init({cKey, oKey})}\n    p.parentNode.insertBefore(n, p);\n  }({}));',document.head.appendChild(o)}},delete_cookie:function(t){document.cookie=t+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT;"},getCookie:function(t){for(var e=t+"=",n=decodeURIComponent(document.cookie),i=n.split(";"),o=0;o<i.length;o++){var a=i[o];while(" "==a.charAt(0))a=a.substring(1);if(0==a.indexOf(e))return a.substring(e.length,a.length)}return""},setLang:function(){},getInfoToSetWaterMark:function(t,e){var n=wt(t);"undefined"!==typeof OPTIONS_INIT_SITE&&"undefined"!==typeof OPTIONS_INIT_SITE.options&&"undefined"!==typeof OPTIONS_INIT_SITE.options.id_usuario_omb10?this.getPlan().then((function(t){$("<img>").attr("src","/static/powered_by.png").off("click").on("click",(function(){var e="";console.log("isImpact()",xt()),e=xt()?"2494737":"undefined"!==typeof OPTIONS_INIT_SITE.options.id_office_user?OPTIONS_INIT_SITE.options.id_office_user:"undefined"!==typeof aid_office?aid_office:"1"===t.data.data.is_free?t.data.data.aid:t.data.data.id_office_user;var i=kt();i.set("spec","watermark"),window.open("".concat(n,"?").concat(i.toString(),"#aid=").concat(e))})).addClass("img-watermark img-side-"+e).appendTo("#editor-content")})):$("<img>").attr("src","/static/powered_by.png").off("click").on("click",(function(){window.open(n+"?spec=watermark")})).addClass("img-watermark img-side-"+e).appendTo("#editor-content")},setWaterMark:function(){var t=this;"undefined"!==typeof websiteID&&""!==typeof websiteID&&R.a.get("".concat(this.cheetahApiUrl,"/get-watermark/").concat(websiteID)).then((function(e){"1"==e.data.data.watermark&&t.getInfoToSetWaterMark(e.data.data.watermark_lang,e.data.data.watermark_side)}))},setSplitTestData:function(){R.a.get("/cheetah/split-test").then((function(t){}))},setBannerFree:function(){var t=this;"undefined"===typeof OPTIONS_INIT_SITE||"undefined"===typeof OPTIONS_INIT_SITE.options||"undefined"===typeof OPTIONS_INIT_SITE.options.id_usuario_omb10||this.isIaTest||this.getPlan().then((function(e){if("1"==e.data.data.is_free||"181114"===OPTIONS_INIT_SITE.options.id_usuario_omb10){$("body").addClass("free-website");var n=$("<div>").addClass("banner-free w-100").appendTo("body");$("<small>").text(t.$t("banner-free-first-text")).addClass("banner-free-first-text").appendTo(n),$("<small>").text(t.$t("banner-free-second-text")).addClass("banner-free-second-text").appendTo(n),$("<img>").attr("src","https://builderall.com/franquias/2/73748/editor-html/3589641.png").addClass("banner-free-img").appendTo(n),$("<small>").text(t.$t("banner-free-third-text")).addClass("banner-free-third-text").appendTo(n),$("<button>").text(t.$t("banner-free-btn-text")).off("click").on("click",(function(){window.open("https://builderall.com/free?spec=free#aid="+e.data.data.aid)})).addClass("btn-banner-free").appendTo(n)}}))},redirectAid:function(t){console.log("entrou");var e=new URLSearchParams(window.location.search),n=e.size>0?"?"+e.toString():"";if("web"===t.type&&""!==t.value){var i=OPTIONS_INIT_SITE.options.id_office_user?"#aid=".concat(OPTIONS_INIT_SITE.options.id_office_user):window.aid_office;if("_blank"===t.target)return window.open(this.keepLocationQueryParams(t.value)+i,"_blank");
1window.location.href=this.keepLocationQueryParams(t.value)+i}else{var o=it(t.valueID);if(o){var a=window.aid_office?o.url+n+window.aid_office:o.url+n;if("_blank"===t.target)return window.open("/"+a,"_blank");window.location.href="/"+a}}},keepLocationQueryParams:function(t){try{var e=new URL(t),n=new URLSearchParams(location.search);return n.forEach((function(t,n){e.searchParams.append(n,t)})),e.href}catch(i){return console.error("error merging query params"),t}},getPosition:function(t){var e=t.getBoundingClientRect();return{left:e.left+document.body.scrollLeft,top:e.top+document.body.scrollTop}},scrollToElement:function(t){var e=this,n=10,i="undefined"!==typeof OPTIONS_INIT_SITE&&OPTIONS_INIT_SITE.options.id_usuario_omb10;try{t=decodeURI(t),n=document.querySelectorAll('[element="ImageComponent"]').length}catch(o){}setTimeout((function(){var n=document.querySelector('[data-anchor-name="'+t+'"]');if(n){var i=0;"desktop"===e.device&&e.fixedStartPanel&&0!==parseInt(e.fixedStartPanel)?i=parseInt(e.fixedStartPanel):e.fixedStartPanelMobile&&0!==parseInt(e.fixedStartPanelMobile)&&(i=parseInt(e.fixedStartPanelMobile));var o=document.querySelector('[data-anchor-name="'+t+'"]'),a=e.getPosition(o).top+-1*i+document.getElementById("app").scrollTop;$(document.getElementById("app")).animate({scrollTop:a},1e3)}}),n>40||["6664201"].includes(i)?800:200)},tagsAdvancedLink:function(){var t=Object(u["a"])(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(Ot["tags-advanced-link-".concat(e)]){t.next=4;break}return t.next=3,new Promise((function(t){var n=new XMLHttpRequest;n.open("POST","https://office.builderall.com/us/office/user/get-tags/"+e,!0),n.setRequestHeader("X-Requested-With","XMLHttpRequest"),n.onload=function(){if(4==n.readyState&&200==n.status){var e=JSON.parse(n.responseText);t(e)}},n.onerror=function(){t(!1)},n.withCredentials=!0,n.send()}));case 3:Ot["tags-advanced-link-".concat(e)]=t.sent;case 4:return t.abrupt("return",Ot["tags-advanced-link-".concat(e)]);case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),replaceLinkWithTags:function(){var t=document.querySelectorAll('[element="ButtonComponent"]'),e=!1;if(t.forEach((function(t){var n=t.querySelectorAll("a");n.forEach((function(t){var n=/\[([^}]*?)]/g;if(t.href){var i=n.exec(t.href);i&&(e=!0)}}))})),e&&"undefined"!==typeof OPTIONS_INIT_SITE&&OPTIONS_INIT_SITE.options.id_usuario_omb10){var n=document.querySelectorAll("a.bt-text-area");this.tagsAdvancedLink(OPTIONS_INIT_SITE.options.id_usuario_omb10).then((function(t){console.log("tagsAdvancedLink -> response",t),n.forEach((function(e){var n=/\[([^}]*?)]/g;if(e.href){var i=n.exec(e.href),o=!1;if(i){var a=e.href;-1===a.replace(window.location.origin+"/","").indexOf("https://")&&(o=!0),Object.keys(t).forEach((function(e){t[e]&&("string"===typeof t[e]?a=a.replace(/\[([^}]*?)]/g,(function(e,n,i,o){return n.toLowerCase()in t?encodeURI(t[n.toLowerCase()]):e})):"object"===Object(l["a"])(t[e])&&(a=a.replace(/\[([^}]*?)]/g,(function(n,i,o,a){return i.toLowerCase()in t[e]?encodeURI(t[e][i.toLowerCase()]):n}))))})),o&&(a=a.replace(window.location.origin+"/","")),e.setAttribute("href",a),e.classList.add("overwrite-click"),e.childNodes.forEach((function(t){return t.classList.add("overwrite-click")}))}}}))}))}}},created:function(){["https:","http:"].includes(window.location.protocol)?("undefined"!==typeof popupConst&&(this.userPopups=popupConst),this.fontGroup=fontConfig,this.setBannerFree(),this.setHeaderFooter()):this.isDownloadPage=!0},mounted:function(){var t=this;this.setPopupIfIos(),this.callFacebookPixel(!1);var e=new URL(window.location.href),n=e.searchParams.get("mbsubscriber_uid");try{if(null===n){var i=localStorage.getItem("mbsubscriber_uid");null!==i&&(n=i)}else localStorage.setItem("mbsubscriber_uid",n)}catch(H){console.log(H)}var o=window.innerWidth;function a(t){var e=768,n=!0,i=document.querySelector("meta[name=viewport]");if("undefined"!==typeof OPTIONS_INIT_SITE&&"undefined"!==typeof OPTIONS_INIT_SITE.options&&OPTIONS_INIT_SITE.options.hasOwnProperty("tablet_version")&&"false"==OPTIONS_INIT_SITE.options.tablet_version&&(n=!1),o!==window.innerWidth||t){o=window.innerWidth;var a=/Macintosh/.test(navigator.userAgent)&&"ontouchend"in document,s="ontouchend"in document&&o>=e;
1if(console.log(s),r.isMobile||r.isTablet||a||s){if((r.isTablet||a||s)&&!n)return i.setAttribute("content","width=1366"),$("#editor-content").attr("data-device","desktop"),void(r.device="desktop");i.setAttribute("content","width=device-width,initial-scale=1,user-scalable=no"),r.device="mobile"}else o<=e?(i.setAttribute("content","width=device-width,initial-scale=1,user-scalable=no"),r.device="mobile"):r.device="desktop";o!==window.innerWidth&&(r.fixedPanel(),r.setPaddingFixedZIndex())}navigator.userAgent.match(/Mac/)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2&&(r.device="mobile")}setTimeout((function(){a(!0)}),2e3),window.addEventListener("resize",(function(){a(!1)})),window.cheetahCallLinkAction=this.callLinkAction;try{this.checkLogin()}catch(H){console.log(H)}$(".seo-power-texts").css({display:"none"});var r=this;if("undefined"!==typeof gdprSettings&&!1!==gdprSettings&&gdprSettings.active){try{var s=document.referrer.includes("clickmap.builderall.com");if(s){var c=document.createElement("script");c.src="https://clickmap.builderall.com/js/display-clicks.js",document.body.appendChild(c)}}catch(H){console.error(H)}r.getCookie("cookieControl")&&(r.printScripts(["necessary"]),this.isOnlyNecessary||r.printScripts($.fn.ihavecookies.cookie())),this.$globalStoreHelpers.isValidHex(gdprSettings.backgroundColor)&&(gdprSettings.backgroundColor=this.$globalStoreHelpers.hexToRGBA(gdprSettings.backgroundColor)),this.$globalStoreHelpers.isValidHex(gdprSettings.colorTitle)&&(gdprSettings.colorTitle=this.$globalStoreHelpers.hexToRGBA(gdprSettings.colorTitle)),this.$globalStoreHelpers.isValidHex(gdprSettings.colorParagraph)&&(gdprSettings.colorParagraph=this.$globalStoreHelpers.hexToRGBA(gdprSettings.colorParagraph)),this.$globalStoreHelpers.isValidHex(gdprSettings.colorLink)&&(gdprSettings.colorLink=this.$globalStoreHelpers.hexToRGBA(gdprSettings.colorLink)),this.$globalStoreHelpers.isValidHex(gdprSettings.buttonBackground)&&(gdprSettings.buttonBackground=this.$globalStoreHelpers.hexToRGBA(gdprSettings.buttonBackground)),this.$globalStoreHelpers.isValidHex(gdprSettings.buttonColor)&&(gdprSettings.buttonColor=this.$globalStoreHelpers.hexToRGBA(gdprSettings.buttonColor)),this.$globalStoreHelpers.isValidHex(gdprSettings.onlyBtnLabel)&&(gdprSettings.onlyBtnLabel=this.$globalStoreHelpers.hexToRGBA(gdprSettings.onlyBtnLabel)),this.$globalStoreHelpers.isValidHex(gdprSettings.buttonAdvBackground)&&(gdprSettings.buttonAdvBackground=this.$globalStoreHelpers.hexToRGBA(gdprSettings.buttonAdvBackground)),this.$globalStoreHelpers.isValidHex(gdprSettings.buttonAdvColor)&&(gdprSettings.buttonAdvColor=this.$globalStoreHelpers.hexToRGBA(gdprSettings.buttonAdvColor)),this.$globalStoreHelpers.isValidHex(gdprSettings.buttonColorResetCookies)&&(gdprSettings.buttonColorResetCookies=this.$globalStoreHelpers.hexToRGBA(gdprSettings.buttonColorResetCookies)),this.$globalStoreHelpers.isValidHex(gdprSettings.buttonBackgroundResetCookies)&&(gdprSettings.buttonBackgroundResetCookies=this.$globalStoreHelpers.hexToRGBA(gdprSettings.buttonBackgroundResetCookies)),this.$globalStoreHelpers.isValidHex(gdprSettings.colorValuePickerResetCookies)&&(gdprSettings.colorValuePickerResetCookies=this.$globalStoreHelpers.hexToRGBA(gdprSettings.colorValuePickerResetCookies)),this.$globalStoreHelpers.isValidHex(gdprSettings.colorValuePickerResetCookies1)&&(gdprSettings.colorValuePickerResetCookie1=this.$globalStoreHelpers.hexToRGBA(gdprSettings.colorValuePickerResetCookies1)),this.$globalStoreHelpers.isValidHex(gdprSettings.colorValuePickerResetCookies2)&&(gdprSettings.colorValuePickerResetCookies2=this.$globalStoreHelpers.hexToRGBA(gdprSettings.colorValuePickerResetCookies2)),document.body.style.setProperty("--backgroundColor",gdprSettings.backgroundColor),document.body.style.setProperty("--colorTitle",gdprSettings.colorTitle),document.body.style.setProperty("--colorParagraph",gdprSettings.colorParagraph),document.body.style.setProperty("--colorLink",gdprSettings.colorLink),document.body.style.setProperty("--buttonBackground",gdprSettings.buttonBackground),document.body.style.setProperty("--buttonColor",gdprSettings.buttonColor),document.body.style.setProperty("--buttonAdvBackgroun
1d",gdprSettings.buttonAdvBackground),document.body.style.setProperty("--buttonAdvColor",gdprSettings.buttonAdvColor),document.body.style.setProperty("--buttonColorResetCookies",gdprSettings.buttonColorResetCookies),document.body.style.setProperty("--buttonBackgroundResetCookies",gdprSettings.buttonBackgroundResetCookies),document.body.style.setProperty("--btnLabelResetCookies",gdprSettings.btnLabelResetCookies),document.body.style.setProperty("--colorValuePickerResetCookies",gdprSettings.colorValuePickerResetCookies),document.body.style.setProperty("--colorValuePickerResetCookies1",gdprSettings.colorValuePickerResetCookies1),document.body.style.setProperty("--colorValuePickerResetCookies2",gdprSettings.colorValuePickerResetCookies2),document.body.style.setProperty("--positionResetCookies",gdprSettings.positionResetCookies),document.body.style.setProperty("--onlyBtnLabel",gdprSettings.onlyBtnLabel),gdprSettings.fonts&&(document.body.style.setProperty("--messageFontFamily",gdprSettings.fonts.message.fontFamily),document.body.style.setProperty("--messageFontSize","".concat(gdprSettings.fonts.message.fontSize,"px")),document.body.style.setProperty("--titleFontFamily",gdprSettings.fonts.title.fontFamily),document.body.style.setProperty("--titleFontSize","".concat(gdprSettings.fonts.title.fontSize,"px")),document.body.style.setProperty("--moreInfoLabelFontFamily",gdprSettings.fonts.moreInfoLabel.fontFamily),document.body.style.setProperty("--moreInfoLabelFontSize","".concat(gdprSettings.fonts.moreInfoLabel.fontSize,"px")),document.body.style.setProperty("--acceptBtnLabelFontFamily",gdprSettings.fonts.acceptBtnLabel.fontFamily),document.body.style.setProperty("--acceptBtnLabelFontSize","".concat(gdprSettings.fonts.acceptBtnLabel.fontSize,"px")),document.body.style.setProperty("--onlyBtnLabelFontFamily",gdprSettings.fonts.onlyBtnLabel.fontFamily),document.body.style.setProperty("--onlyBtnLabelFontSize","".concat(gdprSettings.fonts.onlyBtnLabel.fontSize,"px")),document.body.style.setProperty("--advancedBtnLabelFontFamily",gdprSettings.fonts.advancedBtnLabel.fontFamily),document.body.style.setProperty("--advancedBtnLabelFontSize","".concat(gdprSettings.fonts.advancedBtnLabel.fontSize,"px")),document.body.style.setProperty("--cookieTypesTitleFontFamily",gdprSettings.fonts.cookieTypesTitle.fontFamily),document.body.style.setProperty("--cookieTypesTitleFontSize","".concat(gdprSettings.fonts.cookieTypesTitle.fontSize,"px")));try{var d=gdprSettings.borderResetCookies.split(" "),h=parseInt(d[0])+"px "+d[1]+" "+d[2];d=gdprSettings.borderRadiusResetCookies.split(" ");var g=parseInt(d[0])+"px "+parseInt(d[1])+"px "+parseInt(d[2])+"px "+parseInt(d[3])+"px ";document.body.style.setProperty("--borderResetCookies",h),document.body.style.setProperty("--borderRadiusResetCookies",g)}catch(H){console.log("without config")}r.cookieTypes["preferences"].type=gdprSettings["cookieTypes.preferences.type"],r.cookieTypes["preferences"].description=gdprSettings["cookieTypes.preferences.description"],r.cookieTypes["analytics"].type=gdprSettings["cookieTypes.analytics.type"],r.cookieTypes["analytics"].description=gdprSettings["cookieTypes.analytics.description"],r.cookieTypes["marketing"].type=gdprSettings["cookieTypes.marketing.type"],r.cookieTypes["marketing"].description=gdprSettings["cookieTypes.marketing.description"],$(".panel-constructor").ihavecookies({title:gdprSettings.title,message:gdprSettings.message,expires:gdprSettings.expires,cookieTypes:r.cookieTypes,link:gdprSettings.link,moreInfoLabel:gdprSettings.moreInfoLabel,acceptBtnLabel:gdprSettings.acceptBtnLabel,advancedBtnLabel:gdprSettings.advancedBtnLabel,uncheckBoxes:!1,cookieTypesTitle:gdprSettings.cookieTypesTitle,fixedCookieTypeLabel:gdprSettings.fixedCookieTypeLabel,fixedCookieTypeDesc:gdprSettings.fixedCookieTypeDesc,onAccept:function(){r.getCookie("cookieControl")&&(($('[element="SimpleFormComponent"].recaptcha').length>0||$('[element="MailingBossFormComponent"].recaptcha').length>0)&&setTimeout((function(){console.log("reload 1"),window.dispatchEvent(new CustomEvent("gdprStatusChanged"))}),500),r.printScripts(["necessary"]),this.isOnlyNecessary||(r.printScripts($.fn.ihavecookies.cookie()),setTimeout((function(){console.log("reload 2"),window.dispatchEvent(new CustomEvent("gdprStatusChanged"))}),500))),setTimeout((function(){console.log("reload 3")}),500)}}),"undefined"!==typeof gdprSettings.position&&""!==gdprSettings.position||(gdprSettings.position="bottom-right"),"undefined"!==typeof gdprSettings.positionResetCookies&&""!==gdprSettings.positionResetCookies||(gdprSettings.positionResetCookies="right"),"undefined"!==typeof gdprSettings.onlyBtnLabel&&""!==gdprSettings.onlyBtnLabel||(gdprSettings.onlyBtnLabel="Only Necessary"),setTimeout((function(){var t=this;$("#gdpr-cookie-message").addClass(gdprSettings.position);
1var e=$("<button>").text(gdprSettings.onlyBtnLabel).off("click").on("click",(function(){t.isOnlyNecessary=!0,document.cookie="cookieControlPrefs = []",document.cookie="cookieControl = true",r.printScripts($.fn.ihavecookies.cookie()),$("#gdpr-cookie-message").hide()})).attr({id:"gdpr-cookie-only",type:"button"});$("#gdpr-cookie-advanced").after(e),e.show(),$("#gdpr-cookie-advanced").on("click",(function(){setTimeout((function(){$('[value="necessary"]').prop("disabled",!1),$("#gdpr-cookie-accept").text(r.$t("ct-gdpr-accept-chosen-config"))}),1e3)})),$("#gdpr-cookie-only").on("click",(function(){setTimeout((function(){$("#gdpr-cookietype-analytics").prop("checked",!1),$("#gdpr-cookietype-preferences").prop("checked",!1),$("#gdpr-cookietype-marketing").prop("checked",!1),$("#gdpr-cookie-only").attr("disabled",!0)}),1e3)}))}),3e3)}else r.printScripts(["necessary","marketing","preferences","analytics"]);var f=location.hash,p=!1,m=0;"undefined"!==typeof OPTIONS_INIT_SITE&&(p=!0,m=OPTIONS_INIT_SITE.options);var b=new URL(document.location).searchParams;if(null!==b.get("aid")&&(f="#aid=".concat(b.get("aid"))),""!=f&&f.indexOf("aid")>=0){var _=f.split("&")[0];window.aid_office=_;var y={options:{}};y.options.dominio_original=window.location.host.toLocaleLowerCase(),y.options.domain=window.location.host.toLocaleLowerCase(),p?y.options=m:y.options.lang="en_US",window.OPTIONS_INIT_SITE=y;var v=new Date,w=v.getTime();if("undefined"===typeof isFunnel){var x=document.createElement("script");x.setAttribute("src","https://office.builderall.com/scripts/pixel/pixel-bundle.js?v="+w),document.head.appendChild(x);var k=document.createElement("script");k.setAttribute("src","https://office.builderall.com/scripts/funis/complements.js?v="+w),document.head.appendChild(k)}}"undefined"!==typeof OPTIONS_INIT_SITE&&"undefined"!==typeof OPTIONS_INIT_SITE.options&&"undefined"!==typeof OPTIONS_INIT_SITE.options.id_office_user&&R.a.get("https://www.omb11.com/get/pixel-isolated?aid="+OPTIONS_INIT_SITE.options.id_office_user).then((function(t){$("#getfranchiseScript").empty(),$("#getfranchiseScript").css({display:"none"}).html(t.data)})),this.$root.$on("membersAreaElearningNotApproved",(function(){t.$refs["members_area_elearning"].open()})),this.$root.$on("linkAnchorForce",(function(){setTimeout((function(){var e=window.location.hash.substr(1);""!==e&&t.scrollToElement(e)}),30)})),this.$root.$on("logoutWebsiteUser",(function(){t.$loading.show();var e=Pt(Pt({},JSON.parse(localStorage.getItem("login-user"))),{token:localStorage.getItem("login-user-token")});if(!e.token)return t.$loading.hide(),void t.removeLogin();Q(e).then((function(e){e.data.success&&t.removeLogin()})).catch((function(t){console.warn(t)})).finally((function(){t.$loading.hide()}))})),this.$root.$on("loginWebsiteUser",(function(){t.actionLogin=!0,t.$nextTick((function(){t.$refs.restrictArea.changeType("login")}))})),this.$root.$on("openModalRestrictArea",(function(e){var n=e.redirect,i=e.areas,o=e.action;t.membersArea.redirect=n,t.membersArea.open_by="popup",t.auth||"logout"===o?t.auth&&"logout"===o?t.$root.$emit("logoutWebsiteUser"):n?t.$root.$emit("linkAction",n):window.location.reload():(t.actionLogin=!0,t.$nextTick((function(){t.$refs.restrictArea.setRedirect(n),t.$refs.restrictArea.setAreas(i),t.$refs.restrictArea.changeType(o),t.$refs.restrictArea.openModal()})))}
1)),this.$root.$on("setFixedStartPanel",(function(e,n){n&&"mobile"===n?t.fixedStartPanelMobile=e:t.fixedStartPanel=e})),this.$root.$on("linkAction",(function(e){if(e){try{if(e.pixel&&e.pixel.active&&e.pixel.facebook&&r.callFacebookPixel(e.pixel),e.vote&&e.vote.active){var n=!t.$storageON()||localStorage.getItem("vote-system-question-".concat(e.vote.question))&&"undefined"!==typeof e.vote.only_once&&e.vote.only_once;if("undefined"!==typeof e.vote.only_once&&e.vote.only_once&&n&&"undefined"!==typeof e.vote.url&&""!==e.vote.url)return r.$root.$emit("linkAction",{type:"web",value:e.vote.url,target:e.target});n||R.a.get("/cheetah/link/vote?question_code=".concat(e.vote.question,"&option=").concat(e.vote.option)).then((function(n){"undefined"!==typeof e.vote.only_once&&e.vote.only_once&&t.$storageON()&&localStorage.setItem("vote-system-question-".concat(e.vote.question),1)}))}}catch(H){console.log(H)}if("undefined"!==typeof event&&"undefined"!==typeof event.target&&"undefined"!==typeof event.target.parentElement&&!["popup"].includes(e.type)){var i=event.target.parentElement,o=event.target;if(o&&"A"===o.tagName&&o.hasAttribute("href")&&o.classList.contains("overwrite-click")&&(i=o),"undefined"!==typeof i&&i.classList.contains("overwrite-click")){var a=!0;if(OPTIONS_INIT_SITE.options.id_office_user,a){console.log("Overwirte click enable");var s=i.getAttribute("href");e.value=s,e.type="web","undefined"!==typeof e.secondaryLink&&e.secondaryLink&&(e.secondaryLink.type="none")}}}if(("undefined"!==typeof OPTIONS_INIT_SITE&&OPTIONS_INIT_SITE.options.id_office_user&&["page","web"].includes(e.type)||window.aid_office&&["page","web"].includes(e.type))&&"string"===typeof e.value&&e.value.indexOf("wpp")<0)return t.redirectAid(e);var c=new URLSearchParams(window.location.search),d=c.size>0?"?"+c.toString():"";switch(e.type){case"multiple":var h=e.value.code;R.a.get("/cheetah/link/multiple?code=".concat(h)).then((function(t){if(t.data.success){var e=JSON.parse(t.data.actions),n=parseInt(t.data.counter),i=e[e.length-1],o=!1;e.forEach((function(t){n<=parseInt(t.clicks)&&!o?(i=t,o=!0):n-=parseInt(t.clicks)})),window.open(i.action)||(location.href=i.action)}}));break;case"showHidePanel":var g=function(t,e){var n=document.querySelectorAll('[panel-reference-id="'.concat(t,'"]')),i=[];if(n.forEach((function(t){var e=t.querySelectorAll("span");e.forEach((function(t){i.push(t)}))})),i.length>0){var o=document.querySelector('[panel-reference-id="'.concat(t,'"]'));i.forEach((function(t){t.innerHTML="open"===e?o.getAttribute("text-show-panel"):o.getAttribute("text-hide-panel")}));var a=o.getAttribute("icon-name");if(a&&""!==a){var r=o.getAttribute("icon-position");"left"===r?($("<i>").addClass("mdi "+a).prependTo($(o).find(".sb-text").get(0)),$("<i>").addClass("mdi "+a).prependTo($(o).find(".sb-text").get(1))):"right"===r&&($("<i>").addClass("mdi "+a).appendTo($(o).find(".sb-text").get(0)),$("<i>").addClass("mdi "+a).appendTo($(o).find(".sb-text").get(1)))}}},f=function(t){var e=document.getElementById(t),n=e.parentElement;-1!==n.className.indexOf("hiden-panel")?($(n).removeClass("hiden-panel"),$(n).removeClass("fadeOut"),$(n).addClass("fadein"),$(n).addClass("showed-panel"),g(t,"open")):($(n).addClass("fadeOut"),$(n).removeClass("fadein"),$(n).removeClass("showed-panel"),g(t,"close"),setTimeout((function(){$(n).addClass("hiden-panel")}),1e3))},p=e.value.replace("cheetah-panel-show-hide-","");if("all"===p){var m=document.querySelectorAll(".hiden-panel");0==m.length?(m=document.querySelectorAll(".showed-panel"),g(p,"close")):g(p,"open"),m.forEach((function(t){var e=t.querySelectorAll('[element="PanelComponent"]')[0];f(e.getAttribute("id"))}))}else f(p);break;case"email":if(""!==e.value){"object"!==Object(l["a"])(e.value)&&(e.value=JSON.parse(e.value));var b=e.value.value,_=new URLSearchParams({}),y="";if(e.value.cc){var v=""!==e.value.cc?e.value.cc:" ";_.set("cc",v)}if(e.value.bcc){var w=""!==e.value.bcc?e.value.bcc:" ";_.set("bcc",w)}if(y+=_.toString(),e.value.subject){var x=y?"&":"",k=""!==e.value.subject?e.value.subject:" ";y+="".concat(x,"subject=").concat(k)}if(e.value.body){var S=y?"&":"",C=""!==e.value.body?e.value.body:" ";y+="".concat(S,"body=").concat(C)}window.open("mailto:".concat(b,"?").concat(y),"_blank")}break;case"web":if(""!==e.value){var I=/\[([^}]*?)]/g,T=I.exec(e.value),P=!1;if(null!==T&&(P=!0),e.value.indexOf("file_tag")&&(e.tagsAdvanced=!0),e.value.indexOf(e.value.indexOf("tag_"))&&P&&(e.tagsAdvanced=!0,e.value=e.value.replace("tag_","")),"undefined"!==typeof e.tagsAdvanced&&e.tagsAdvanced&&"undefined"!==typeof OPTIONS_INIT_SITE&&OPTIONS_INIT_SITE.options.id_usuario_omb10&&P)return void r.tagsAdvancedLink(OPTIONS_INIT_SITE.options.id_usuario_omb10).then((function(t){var n=e.value;Object.keys(t).forEach((function(e){t[e]&&("string"===typeof t[e]?n=n.replace(/\[([^}]*?)]/g,(function(e,n,i,o){return n.toLowerCase()in t?encodeURI(t[n.toLowerCase()]):e})):"object"===Object(l["a"])(t[e])&&(n=n.replace(/\[([^}]*?)]/g,(function(n,i,o,a){return i.toLowerCase()in t[e]?encodeURI(t[e][i.toLowerCase()]):n}))))})),r.$root.$emit("linkAction",Pt(Pt({},e),{},{tagsAdvanced:!1,value:encodeURI(n)}))}));var O=e.value;if(-1!==O.indexOf("url_param_")){var A=O.split("?").join("parameter");A=A.split("&").join("parameter");var B=A.split("parameter");if(B.length>1)for(var L=new URL(window.location.href),z=1;z<B.length;z++){var M=B[z].split("=")[1],E=L.searchParams.get(M.replace("url_param_",""));O=null!==E?O.replace(M,E):O.replace(M,"")}e.value=O}try{var N=new URL(window.location.href);if(N.search.length>0){var D,j=encodeURI(-1===e.value.indexOf("?")?"?":"&"),F=0,U=St(N.searchParams.entr
1ies());try{for(U.s();!(D=U.n()).done;){var q=D.value;F++,j="".concat(j).concat(q[0],"=").concat(encodeURIComponent(q[1]),"&")}}catch($t){U.e($t)}finally{U.f()}F&&(j.endsWith("&")&&(j=j.slice(0,-1)),e.value="".concat(e.value).concat(j))}}catch(H){console.log(H)}"_blank"===e.target?(window.open(e.value,"_blank"),It(e)):"_parent"===e.target?window.open(e.value,"_parent"):window.location.href=e.value}break;case"page":var V=it(e.valueID);V&&("_blank"===e.target?(window.open("/"+V.url+d,"_blank"),It(e)):"_parent"===e.target?window.open("/"+V.url+d,"_parent"):window.location.href="/"+V.url+d);break;case"anchor":var W={},G="";pagesConfig.forEach((function(t){"undefined"!==typeof t&&"undefined"!==typeof t.configs&&t.configs.forEach((function(n){if("anchors"===n.key){var i=JSON.parse(n.value);"undefined"!==typeof i[e.valueID]&&(W=t,G=i[e.valueID])}}))})),W.url!==window.location.pathname.substr(1)?""!==G&&(window.location.href="/"+W.url+"#"+G):(window.location.hash=G,r.scrollToElement(G)),t.closeActivePopup();break;case"newAnchor":var J={},Y="",K=e.valueID.split("-"),Z=At.current_page;if(pagesConfig.forEach((function(t){null!==t&&"1"===t.initial&&(Z=t),"undefined"!==typeof t&&t.id==K[0]&&"undefined"!==typeof t.configs&&t.configs.forEach((function(e){if("anchors"===e.key){var n=JSON.parse(e.value);"undefined"!==typeof n[K[1]]&&(J=t,Y=n[K[1]])}}))})),"undefined"!==typeof Z&&"/"===window.location.pathname&&Z.url===J.url)window.location.hash=Y,r.scrollToElement(Y);else{var Q="1"===J.is_blog&&J.is_blog===At.current_page.is_blog;Q||J.url===window.location.pathname.substr(1)?(window.location.hash=Y,r.scrollToElement(Y)):""!==Y&&(window.location.href="/"+J.url+"#"+Y)}t.closeActivePopup();break;case"popup":var X=function(t){var e=!!localStorage.getItem("login-user-token-md5"),n=!!localStorage.getItem("login-user")&&this.$isJson(localStorage.getItem("login-user"));if(e&&n){var i=JSON.parse(localStorage.getItem("login-user")),o=localStorage.getItem("login-user-token-md5"),a="undefined"!==typeof i.email&&i.email;return t+("/"!==t.slice(-1)?"/":"")+(t.indexOf("index")>0?"":"index")+"?login="+a+"&password="+o}return t},tt=function(t){try{var e=!!localStorage.getItem("login-user-token-md5"),n=!!localStorage.getItem("login-user")&&this.$isJson(localStorage.getItem("login-user")),i=t.match(/src="(.*?)"/);if(e&&n&&i&&"undefined"!==typeof i[1]){var o=i[1],a=X(o);return t.split(o).join(a)}return t}catch(H){console.log("error elearning iframe",H)}},et=function(t){try{var e=t.$el.querySelectorAll('[element="IframeComponent"]');e.forEach((function(t){var e=t.id,n=t.querySelector("iframe"),i=n.contentWindow.document.body.innerHTML,o=i.trim?i.trim():i.replace(/^\s+/,""),a=!!nt.$storageON()&&localStorage.getItem("iframe-content-"+e);if(0===o.length){var r=a?a.trim?a.trim():a.replace(/^\s+/,""):"";if(a&&r.length>0){var s=n.contentWindow.document;(a.indexOf('src="https://elearning.eb4us.com/course/')>0||a.indexOf('src="https://elearning.builderall.com/course/')>0)&&(a=tt(a)),s.open(),s.write(a),s.close()}else{var c;R.a.get("/get_iframe_content?iframe_id="+e).then((function(t){c=t.data.content,c&&nt.$storageON()&&localStorage.setItem("iframe-content-"+e,c),(c.indexOf('src="https://elearning.eb4us.com/course/')>0||a.indexOf('src="https://elearning.builderall.com/course/')>0)&&(c=tt(c));var i=n.contentWindow.document;i.open(),i.write(c),i.close()}))}}}))}catch(H){console.log("error reload iframe",H)}},nt=t;if("undefined"!==typeof OPTIONS_INIT_SITE&&"undefined"!==typeof OPTIONS_INIT_SITE.options&&"undefined"!==typeof OPTIONS_INIT_SITE.options.id_office_user){var ot=new Date,at=ot.getTime(),rt=document.createElement("script");rt.setAttribute("src","https://office.builderall.com/scripts/pixel/pixel-bundle.js?v="+at),document.head.appendChild(rt)}var st=document.querySelectorAll(".sweet-modal-overlay.is-visible");st.forEach((function(t){nt.$refs[t.getAttribute("id")][0].close()})),t.userPopups.forEach((function(n){parseInt(e.valueID)===parseInt(n.id)&&(t.popupOverlayStyle(n),nt.popupStyle="",et(nt.$refs["popup"+n.id][0]),nt.$refs["popup"+n.id][0].open())}));break;case"video":""!==e.value&&(t.$refs.videoModalIframe.src=e.value,$(t.$refs.videoModal).modal(),$(t.$refs.videoModal).click((function(e){var n=e.target;-1!==n.className.indexOf("cheetah-modal-video")&&t.yourHandlerForCloseHere()})));break;case"supercheckout":window.open(e.value,"_blank");break;case"slider":t.$root.$emit("showSlider",e.value);break;case"telefone":var ct=e.tel,lt=e.telOpenAs;if("call"!==lt&&"undefined"!==typeof lt||(document.location.href="tel:".concat(ct)),"sms"===lt&&(document.location.href="sms:".concat(ct)),"whatsapp"===lt){var dt="https://api.whatsapp.com/se
1nd?phone=".concat(ct);"_blank"===e.target?window.open(dt,"_blank"):"_parent"===e.target?window.open(dt,"_parent"):window.location.href=dt}break;case"download":""!==e.value&&Object(u["a"])(regeneratorRuntime.mark((function n(){var i,o;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.defineGfrUrl(e);case 2:i=n.sent,o=document.createElement("a"),o.download="file",o.href=i,document.body.appendChild(o),o.click(),console.log("Download",o),document.body.removeChild(o);case 10:case"end":return n.stop()}}),n)})))();break;case"restrict":if(t.setAuth(),t.membersArea.redirect=e.value.redirect,t.membersArea.open_by="popup",t.auth||"logout"===e.value.action)if(t.auth&&"logout"===e.value.action)t.$root.$emit("logoutWebsiteUser");else if(e.value.areas.length>0&&"undefined"!==typeof e.value.redirect_elearning_course&&parseInt(e.value.redirect_elearning_course)){var ut=restrictsArea.filter((function(t){return e.value.areas.includes(parseInt(t.id))})),ht=ut.filter((function(t){return t.elearning_course_id}));if(ht)t.callRedirectElearning(ht,"popup");else{var gt=it(e.value.redirect);gt&&(window.location.href="/"+gt.url)}}else if(e.value.redirect&&parseInt(e.value.redirect)){var ft=it(e.value.redirect);ft&&(window.location.href="/"+ft.url)}else window.location.reload();else t.actionLogin=!0,t.$nextTick((function(){t.$refs.restrictArea.setRedirect(e.value.redirect),t.$refs.restrictArea.setAreas(e.value.areas),t.$refs.restrictArea.setElearningRedirect(e.value),t.$refs.restrictArea.changeType(e.value.action),t.$refs.restrictArea.openModal()}));break;case"restrictIntegration":try{var pt=e.value.integration_id,mt=restrictsArea.map((function(t){return t.integrations.find((function(t){return t.id===String(pt)}))}
1)).find((function(t){return t.id===String(pt)})),bt=mt.url_checkout,_t=bt.match("^(?:http(s)?:\\/\\/)?[\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\._~:/?#[\\]@!\\$&'\\(\\)\\*\\+,;=.]+$");bt&&_t&&("_blank"===e.target?window.open(bt,"_blank"):"_parent"===e.target?window.open(bt,"_parent"):window.location.href=bt)}catch(H){console.warn(H)}break;case"browserNotification":try{var yt=Notification.permission;if(t.bnStatus=yt,"undefined"!==typeof bnSettings&&bnSettings){var vt=document.createElement("script");vt.setAttribute("id","notifyEb4usScript"),vt.setAttribute("src","".concat(t.notifyUrl,"/js/pushNotify.js")),vt.setAttribute("data-campaign",bnSettings.project_id),document.body.appendChild(vt)}t.bnStatus&&"default"!==t.bnStatus&&t.$refs["browser-notification-alert"].open()}catch(H){console.warn(H)}break;case"copy":if(""!==e.value)try{var wt=(new Date).getTime(),xt=document.getElementsByTagName("body"),kt=document.createElement("input");if(kt.setAttribute("type","text"),kt.setAttribute("id","link-copy-".concat(wt)),kt.setAttribute("value",e.value),xt[0].append(kt),kt.select(),!!document.execCommand("copy"),kt.setAttribute("type","hidden"),window.getSelection().removeAllRanges(),"undefined"!==typeof e.element_id){var Ct=$("#"+e.element_id).find(".sb-text");Ct.append('<i id="copy-link-check" class="fa fa-check ml-1"></i>'),Ct.find("#copy-link-check").fadeOut(500).fadeIn(500),setTimeout((function(){Ct.find("#copy-link-check").remove()}),1e3)}}catch($t){}break}}else console.info("Empty link");function It(t){"_blank"===t.target&&"undefined"!==typeof t.secondaryLink&&t.secondaryLink&&("page"===t.secondaryLink.type?r.$root.$emit("linkAction",{type:"page",valueID:t.secondaryLink.valueID,target:""}):"web"===t.secondaryLink.type&&r.$root.$emit("linkAction",{type:"web",value:t.secondaryLink.value,target:""}))}})),this.$root.$on("errorMessagePopup",(function(e){t.errorMessage=e,t.$refs.required_fields.open()})),this.$root.$on("successMessagePopup",(function(e){t.successSendMessage=e,t.$refs.success_send.open()})),this.$root.$on("galleryShowImageUrl",(function(e,n){t.galleryImage.overlay=e,t.galleryImage.image=n})),this.$root.$on("applySticky",(function(e){if("desktop"==t.device){var n=$(".panel-constructor"),i=($(".sticky-video-content"),$(".sticky-video-content .video"),document.getElementById("the-sticky-div").clientHeight),o=(document.getElementById("the-sticky-div").clientWidth,$(e.$el)),a=i+o.offset().top;n.on("scroll",(function(){var t=document.querySelector("#app").scrollTop;if(t>a)if("small"==e.internal_config.sizeSticky)switch(e.internal_config.positionSticky){case"top-left":o.addClass("stuckTLs");break;case"top-right":o.addClass("stuckTRs");break;case"bottom-left":o.addClass("stuckBLs");break;case"bottom-right":o.addClass("stuckBRs");break}else if("medium"==e.internal_config.sizeSticky)switch(e.internal_config.positionSticky){case"top-left":o.addClass("stuckTLm");break;case"top-right":o.addClass("stuckTRm");break;case"bottom-left":o.addClass("stuckBLm");break;case"bottom-right":o.addClass("stuckBRm");break}else switch(e.internal_config.positionSticky){case"top-left":o.addClass("stuckTLl");break;case"top-right":o.addClass("stuckTRl");break;case"bottom-left":o.addClass("stuckBLl");break;case"bottom-right":o.addClass("stuckBRl");break}else o.height("auto"),o.removeClass("stuckTRs"),o.removeClass("stuckTLs"),o.removeClass("stuckBRs"),o.removeClass("stuckBLs"),o.removeClass("stuckTRm"),o.removeClass("stuckTLm"),o.removeClass("stuckBRm"),o.removeClass("stuckBLm"),o.removeClass("stuckTRl"),o.removeClass("stuckTLl"),o.removeClass("stuckBRl"),o.removeClass("stuckBLl")}))}})),this.$root.$on("applyPin",(function(t){var e=t.$el;if(t.internal_config.pinConfig.manual)$(e).css({position:t.internal_config.pinConfig.position,top:t.internal_config.pinConfig.pTop,left:t.internal_config.pinConfig.pLeft,margin:0,width:0,height:0});else{var n=t.$el,i=document.getElementById("editor-content"),o=i.offsetWidth,a=window.innerHeight,r=($(i).offset().top,~~$(i).offset().left),s=($(n).offset().top,$(n).offset().left,$(n).children().width()),c=$(n).children().height();switch(t.internal_config.pinConfig.type){case"top-left":$(n).css({position:"fixed",left:"".concat(r,"px"),top:0,margin:0,width:0,height:0});break;case"top-mid":$(n).css({position:"fixed",top:0,left:"".concat(o/2-s/2,"px"),right:"",margin:0,width:0,height:0});break;case"top-right":$(n).css({position:"fixed",top:0,left:"".concat(o-s,"px"),right:"",margin:0,width:0,height:0});break;case"mid-mid":$(n).css({position:"fixed",top:a/2-c/2,left:"".concat(o/2-s/2,"px"),right:"",margin:0,width:0,height:0});break;case"mid-left":$(n).css({position:"fixed",top:a/2-c/2,left:r,right:"",margin:0,width:0,height:0});break;case"mid-right":$(n).css({position:"fixed",top:"".concat(a/2-c/2,"px"),left:"".concat(o-s,"px"),right:"",margin:0,width:0,height:0});break;case"bottom-left":$(n).css({position:"fixed",top:a-c,left:r,right:"",margin:0,width:0,height:0});break;case"bottom-mid":$(n).css({position:"fixed",top:a-c,left:"".concat(o/2-s/2,"px"),right:"",margin:0,width:0,height:0});break;case"bottom-right":$(n).css({position:"fixed",top:a-c,left:"".concat(o-s,"px"),right:"",margin:0,width:0,height:0});break}}})),this.$root.$on("applyAnimation",(function(t,e){t.$el.className="",$(t.$el).off(".animation"),$(t.$el).addClass(e);var n=t.internal_config.animation.in;if("none"!==n.effect){-1!==n.effect.indexOf("In")&&["time","scroll"].includes(n.action)&&t.$el.classList.add("invisible");var i=!0===n.infinite?t.$el.classList.add("infinite"):"";t.$el.classList.add(n.speed);var o=0;switch(n.speed){case"slow":o=1950;break;case"slower":o=2950;break;case"fast":o=750;break;case"faster":o=450;break}switch(n.action){case"time":setTimeout((function(){t.$el.classList.remove("invisible"),t.$el.classList.add(n.effect,"animated"),!0===n.infinite&&t.$el.classList.add("infinite")}),1e3*n.time);break;case"click":-1!=n.effect.indexOf("Out")?$(t.$el).on("click.animation",(function(){t.$el.classList.remove("invisible"),t.$el.classList.add(n.effect,"animated"),setTimeout((function(){t.$el.classList.add("displayClass"),$(".displayClass").css("display","none")}),o),i||t.$el.addEventListener("animationend",(function(){t.$root.$emit("applyAnimation",t,e)}))}
1)):$(t.$el).on("click.animation",(function(){t.$el.classList.remove("invisible"),t.$el.classList.add(n.effect,"animated"),i||t.$el.addEventListener("animationend",(function(){t.$root.$emit("applyAnimation",t,e)}))}));break;case"hover":-1!=n.effect.indexOf("Out")?$(t.$el).on("mouseover.animation",(function(){t.$el.classList.remove("invisible"),t.$el.classList.add(n.effect,"animated"),setTimeout((function(){t.$el.classList.add("displayClass"),$(".displayClass").css("display","none")}),o),i||t.$el.addEventListener("animationend",(function(){t.$root.$emit("applyAnimation",t,e)}))})):$(t.$el).on("mouseover.animation",(function(){t.$el.classList.remove("invisible"),t.$el.classList.add(n.effect,"animated"),i||t.$el.addEventListener("animationend",(function(){t.$root.$emit("applyAnimation",t,e)}))}));break;case"scroll":var a=function(t){return document.getElementById(t).getBoundingClientRect().top+document.getElementById("app").scrollTop},r=document.getElementById(t.$el.id);document.body.getBoundingClientRect(),r.getBoundingClientRect();window.innerHeight>=a(t.$el.id)&&window.addEventListener("load",(function(){t.$el.classList.remove("invisible"),t.$el.classList.add(n.effect,"animated")})),document.addEventListener("scroll",(function(){document.getElementById("app").scrollTop+window.innerHeight>=a(t.$el.id)&&(t.$el.classList.remove("invisible"),t.$el.classList.add(n.effect,"animated"))}),!0);break}}}));var S=window.location.search.substring(1);new URLSearchParams(S);"undefined"!==typeof config&&""!==config||R.a.get(window.location.origin="/cheetah/version").then((function(t){"published"===t.data&&location.reload()}));try{var C=window.location.hash.substr(1),I=""!==C,T=25;gt["isMobile"]&&!I&&config.length>T&&!["33782","6403426","6808149","6994162","41678","6343968","6495266","6976019","6836553","6664201","18801","6455334"].includes(window.OPTIONS_INIT_SITE.options.id_usuario_omb10)?(console.log("paineis timeout"),this.elements=config.slice(0,T),config.slice(T).forEach((function(e,n){setTimeout((function(){t.elements.push(e),urlParamParse.parse(500)}),500*n)}))):this.elements=config}catch(H){this.elements=config}if(this.applyFontGroup(),"/"===window.location.pathname){var P;try{pagesConfig.forEach((function(t){null!==t&&"1"===t.initial&&(P=t)}))}catch(H){}if("undefined"!==typeof P&&"undefined"!==typeof P.configs){this.setMbossReference(P);var O=P.configs;Object.keys(O).forEach((function(e){var n=O[e];"bgPropsPage"===n.key&&(t.bgPropsPage=JSON.parse(n.value),t.applyBackground()),"tagPage"===n.key&&(t.tagPage=JSON.parse(n.value),t.applyTags()),"popupSettings"===n.key&&(t.popupSettings=JSON.parse(n.value),t.applyPopups())}))}}else{var A=window.location.pathname.replace("/","");if("/"===A.slice(-1)&&(A=A.slice(0,-1)),-1!==A.indexOf("page/")&&(A="page"),-1!==A.indexOf("blog/")){var B=A.split("/");B.length>=2&&"blog"===B[0]&&(A=B[1])}var L=!1;try{pagesConfig.forEach((function(t){t.url.toLowerCase()==A.toLowerCase()&&(L=t)})),L||pagesConfig.forEach((function(t){"404"==t.url&&(L=t)})),L||pagesConfig.forEach((function(t){null!==t&&"1"===t.initial&&(L=t)}))}catch(H){}"undefined"!==typeof L&&!1!==L&&null!==L.configs&&(this.setMbossReference(L),L.configs.forEach((function(e){"bgPropsPage"===e.key&&(t.bgPropsPage=JSON.parse(e.value),t.applyBackground()),"tagPage"===e.key&&(t.tagPage=JSON.parse(e.value),t.applyTags()),"popupSettings"===e.key&&(t.popupSettings=JSON.parse(e.value),t.applyPopups())})))}this.applyBackground(),this.$nextTick((function(){try{for(var e=document.querySelectorAll("font"),n=0,i=e.length;n<i;n++)e[n].style["-webkit-text-fill-color"]=e[n].getAttribute("color");var o=document.querySelectorAll('[element="TextComponent"] span');for(n=0,i=o.length;n<i;n++)o[n].style["-webkit-text-fill-color"]=o[n].style.color;o.forEach((function(t){""!=t.style.lineHeight&&t.classList.add("line-height-aqui")})),/Edge/.test(navigator.userAgent)&&$("body").addClass("shit-ie")}catch(H){}$(".panel-constructor").removeClass("invisible"),t.setAuth(),t.setWaterMark(),t.replaceLinkWithTags(),t.setSplitTestData();var a=window.location.hash.substr(1);""!==a&&r.scrollToElement(a)}
1)),urlParamParse.parse(500),R.a.get("/cheetah/version").then((function(t){}));var z=b.get("sc-aid");if(z){var M=document.createElement("img"),E=_t();M.src=E+"/affiliates/pixel/"+z,M.style.display="none",document.body.appendChild(M)}this.setPaddingFixedZIndex();var N=$(".editor-content-header-modify-on-scroll"),D=$('[data-header-modify-on-scroll="init"]'),j=$('[data-header-modify-on-scroll="on-scroll"]');j.length>0&&$("#app").on("scroll touchmove",(function(){var t=this;setTimeout((function(){var e=D.outerHeight(!0),n=$('[data-header-modify-on-scroll="on-scroll"]');$(t).scrollTop()>e?(r.showHeaderSecondary=!0,$('[data-header-modify-on-scroll="init"]').removeClass("is-showed"),n.addClass("is-showed"),r.$root.$emit("setFixedStartPanel",n.height(),r.device)):(setTimeout((function(){n.removeClass("is-showed"),$('[data-header-modify-on-scroll="init"]').addClass("is-showed")}),200),r.$root.$emit("setFixedStartPanel",D.height(),r.device),r.showHeaderSecondary=!1)}),200)})),this.$nextTick((function(){N.addClass("active")}))}},Bt=Rt,Lt=(n("0222"),n("5ae3"),Object(b["a"])(Bt,a,r,!1,null,"9056c986",null)),zt=Lt.exports,Mt=n("ee98"),Et=n.n(Mt),Nt=n("caf9"),Dt=n("859b"),jt=n.n(Dt),Ht=function(){function t(){Object(s["a"])(this,t),this.body=document.getElementsByTagName("body")[0]}return Object(c["a"])(t,[{key:"hide",value:function(){this.body.classList.remove("loading")}},{key:"show",value:function(){this.body.classList.add("loading")}},{key:"disabledPaceJs",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t?this.body.classList.add("pace-force-disabled"):this.body.classList.remove("pace-force-disabled")}}])}(),Ft=Ht;n("4b3c"),n("d355");o["default"].directive("toggle",{inserted:function(t,e,n){t.addEventListener("click",(function(){var e=t.nextElementSibling;this.classList.toggle("active"),e.style.maxHeight?e.style.maxHeight=null:e.style.maxHeight=e.scrollHeight+"px"}))}});n("ef93");var Ut=function(){var t=this,e=t._self._c;return e("div",{ref:"elem",staticClass:"sitebuilder-element-container is-receiver",style:t.style(),attrs:{element:"BoxComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile,id:t.id,"data-tag":t.dataTag()}},[e("div",{ref:"boxElem",staticClass:"sitebuilder-element-receiver",style:t.handlerCssProperties,on:{click:t.linkAction}},["undefined"!==typeof t.internal_config.hotmart&&t.internal_config.hotmart.enabled?e("div",{attrs:{id:"box_hotmart"}}):t._e(),"undefined"!==typeof t.internal_config.eduzz&&t.internal_config.eduzz.enabled?e("div",{attrs:{id:"elements"}}):t._e(),t._l(t.elements,(function(n,i){return e(n.name,{key:i,tag:"component",attrs:{config:n.config,device:t.device,is_popup:t.is_popup,id:n.id,height_start:i,preview:t.preview,childs:n.childs}})}))],2)])},qt=[],Vt={data:function(){return{props:{tag:"",width:"300px",height:"300px",zIndex:"auto",maxWidth:"768px",border:"0 none #000000",boxShadow:"0 0 0 0 black initial","background-color":"#000000",backgroundImage:"none",backgroundPosition:"center",backgroundOrigin:"border-box",backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundAttachment:"scroll",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",parallaxActive:!1,parallaxEffect:"scroll",parallaxSpeed:20,animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}},hotmart:{enabled:!1,key:"",background:"#333333"},eduzz:{enabled:!1,code:1},pinConfig:{pin:!1,manual:!1,type:"mid-mid",pTop:"0",pBottom:"0",pLeft:"0",pRight:"0",position:""}},elements:[],internal_config:{width:"300px",height:"300px",background:"#FFFFFF",backgroundColor:"#FFFFFF",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",pinConfig:{pin:!1,manual:!1,type:"mid-mid",pTop:"0",pBottom:"0",pLeft:"0",pRight:"0",position:""},hotmart:{enabled:!1,key:"",background:"#333333"}}}}},Wt={name:"BoxComponent",components:{Model:Vt},props:["config","childs","height_start","device","id","preview","is_popup"],data:function(){return Vt.data()},computed:{handlerCssProperties:function(){var t={"border-radius":this.radius,background:this.backgroundColor,backgroundImage:this.backgroundImage,backgroundSize:this.backgroundSize,backgroundPosition:this.backgroundPosition,backgroundAttachment:this.backgroundAttachment,backgroundOrigin:this.backgroundOrigin,backgroundRepeat:this.backgroundRepeat,height:this.height,minHeight:this.minHeight,width:this.width,border:this.border,"box-shadow":this.boxShadow,cursor:this.cursor};return this.backgroundColor.includes("linear-gradient")&&delete t.backgroundImage,t},width:function(){return this.internal_config.width},height:function(){return this.internal_config.height},minHeight:function(){return this.internal_config.minHeight},border:function(){if("undefined"!==typeof this.internal_config.border){var t=this.internal_config.border.split(" ");"undefined"!==typeof t[2]&&this.$globalStoreHelpers.isValidHex(t[2])&&(t[2]=this.$globalStoreHelpers.hexToRGBA(t[2]),this.internal_config.border=t.join(" "))}return this.internal_config.border},boxShadow:function(){return this.internal_config.boxShadow},cursor:function(){var t=this.internal_config;return t&&t.link&&t.link.type&&("web"!=t.link.type||t.link.value)?"pointer":"initial"},radius:function(){return this.internal_config.borderRadius},backgroundColor:function(){return this.$globalStoreHelpers.isValidHex(this.internal_config.backgroundColor)&&(this.internal_config.backgroundColor=this.$globalStoreHelpers.hexToRGBA(this.internal_config.backgroundColor)),"undefined"!==typeof this.internal_config.hotmart&&this.internal_config.hotmart.enabled&&(this.internal_config.backgroundColor=this.internal_config.hotmart.background),this.internal_config.backgroundColor},backgroundImage:function(){return"none"!==this.internal_config.backgroundImage&&this.internal_config.backgroundImage?(this.internal_config.backgroundImage=this.internal_config.backgroundImage.replace("omb11.com","storage.builderall.com"),'url("'+this.internal_config.backgroundImage+'")'):""},backgroundPosition:function(){return"none"!==this.internal_config.backgroundImage&&this.internal_config.backgroundImage?this.internal_config.backgroundPosition:""},backgroundAttachment:function(){return"none"!==this.internal_config.backgroundImage&&this.internal_config.backgroundImage?this.internal_config.backgroundAttachment:""},backgroundOrigin:function(){return"none"!==this.internal_config.backgroundImage&&this.internal_config.backgroundImage?this.internal_config.backgroundOrigin:""},backgroundRepeat:function(){return"none"!==this.internal_config.backgroundImage&&this.internal_config.backgroundImage?this.internal_config.backgroundRepeat:""},backgroundSize:function(){return"none"!==this.internal_config.backgroundImage&&this.internal_config.backgroundImage?this.internal_config.backgroundSize:""}}
1,methods:{changeHeight:function(t,e){if("desktop"==this.device){var n=this.$el.getBoundingClientRect();this.internal_config.height=e?parseInt(n.height)+t+"px":parseInt(n.height)-parseInt(t)+"px","undefined"!==typeof this.$parent.changeHeight?this.$parent.changeHeight(t,e,this.id,$(this.$el).position().top,$(this.$el).offset().left,n.width):this.$parent.$parent.changeHeight(t,e,this.id,$(this.$el).position().top,$(this.$el).offset().left,n.width)}},dataTag:function(){return this.internal_config.tag?this.internal_config.tag:""},hideControl:function(){var t="";return this.internal_config.showMobile||(t+=" hide-on-mobile"),this.internal_config.showDesktop||(t+=" hide-on-desktop"),t},style:function(){var t="left:  ".concat(this.internal_config.left,";\n                     padding-top: ").concat(this.internal_config.paddingTop,";\n                     padding-left: ").concat(this.internal_config.paddingLeft,";\n                     z-index: ").concat(this.internal_config.zIndex,";max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n                     padding-right: ").concat(this.internal_config.paddingRight,";\n                     padding-bottom: ").concat(this.internal_config.paddingBottom,";\n\t\t\t\t\t\t\t\t\t\t top: ").concat(this.internal_config.top);return t},linkAction:function(t){var e=t.target.closest("[element]");(e&&"TextComponent"==e.getAttribute("element")||t.target===t.currentTarget)&&this.$root.$emit("linkAction",this.internal_config.link)}},mounted:function(){var t,e,n,i,o=this,a=this.$props;t=a.device,e=a.childs,n=a.id,i=a.config,"undefined"===typeof i.backgroundColor&&(i.backgroundColor="#FFFFFF"),this.internal_config=i,this.device=t,"undefined"===typeof e&&(e=[]),this.elements=e.sort((function(t,e){return t.config.order_mobile>e.config.order_mobile?1:e.config.order_mobile>t.config.order_mobile?-1:0})),"undefined"!==typeof n&&(this.id=n),this.internal_config=window.mergeRecursive(this.props,this.$props.config);var r=this;if(setTimeout((function(){1==r.internal_config.parallaxActive&&null==navigator.userAgent.match(/iPad/i)&&$(r.$refs.boxElem).jarallax({type:r.internal_config.parallaxEffect,speed:r.internal_config.parallaxSpeed/10,imgSize:r.internal_config.backgroundSize,imgPosition:r.internal_config.backgroundPosition,imgRepeat:r.internal_config.backgroundRepeat})}),1e3),this.internal_config.pinConfig.pin&&this.$root.$emit("applyPin",this),"undefined"!==typeof this.internal_config.eduzz&&this.internal_config.eduzz.enabled){var s=document.createElement("script");s.setAttribute("src","https://cdn.eduzzcdn.com/sun/bridge/bridge.js"),document.head.appendChild(s),setTimeout((function(){window.Eduzz.Checkout.init({contentId:o.internal_config.eduzz.code,target:"elements",errorCover:!1})}),1e3)}if("undefined"!==typeof this.internal_config.hotmart&&this.internal_config.hotmart.enabled){s=document.createElement("script");s.setAttribute("src","https://pay.hotmart.com/assets/js/hotmart.upsell_checkout.js"),document.head.appendChild(s),setTimeout((function(){var t={key:o.internal_config.hotmart.key,width:o.internal_config.width,height:o.internal_config.height};Upsell.Widget.show(t)}),2e3)}},updated:function(){this.$root.$emit("applyAnimation",this,"sitebuilder-element-container"),this.internal_config.pinConfig.pin&&this.$root.$emit("applyPin",this)}},Gt=Wt,Jt=(n("279f"),Object(b["a"])(Gt,Ut,qt,!1,null,"f317a2c8",null)),Yt=Jt.exports,Kt=function(){var t=this,e=t._self._c;return e("div",{ref:"elem",staticClass:"sitebuilder-element-container is-receiver",style:t.style(),attrs:{element:"BoxHoverComponent",id:t.id,"data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile,"config-properties":JSON.stringify(t.internal_config)}},[e("div",{ref:"box-hover",staticClass:"box-hover-wrapper box-hover-circle left_to_right scale_up",class:"effect".concat(t.internal_config.effect," ").concat(t.internal_config.direction)},[e("div",{staticClass:"box-hover-content box-hover-content-action",attrs:{href:"#"}},[e("div",{staticClass:"box-hover-content-img",style:t.styleBoxContainer("cover")}),e("div",{staticClass:"box-hover-content-info",style:t.styleBoxContainer("hover")},t._l(t.elements,(function(n,i){return e(n.name,{key:i,tag:"component",attrs:{config:n.config,id:n.id,height_start:i,preview:t.preview,childs:n.childs}})})),1)])])])},Zt=[],Qt={data:function(){return{tabActive:"normal",sidebar:"2",keyChange:0,props:{effect:"3",direction:"left_to_right",tag:"",width:"300px",zIndex:"auto",maxWidth:"500px",height:"300px",cover:{backgroundColor:"#FFFFFF",backgroundImage:"none",backgroundPosition:"center",backgroundOrigin:"padding-box",backgroundRepeat:"no-repeat",backgroundSize:"100% 100%"},hover:{backgroundColor:"#FFFFFF",backgroundImage:"none",backgroundPosition:"center",backgroundOrigin:"border-box",backgroundRepeat:"no-repeat",backgroundSize:"cover"},minHeight:"50px",border:"0 none #000000",borderRadius:"0 0 0 0",boxShadow:"0 0 0 0 black initial",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",parallaxActive:!1,parallaxEffect:"scroll",parallaxSpeed:20},elements:[],internal_config:{effect:"3",width:"300px",height:"300px",minHeight:"50px",zIndex:"auto",maxWidth:"500px",borderRadius:"0 0 0 0",parallaxActive:!1,parallaxEffect:"scroll",parallaxSpeed:20,paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px"}}}};function Xt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function te(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?Xt(Object(n),!0).forEach((function(e){Object(d["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Xt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ee={name:"BoxHoverComponent",components:{Model:Qt},props:["config","childs","height_start","device","id","preview"],data:function(){return Qt.data()},computed:{boxShadow:function(){return this.internal_config.boxShadow},radius:function(){return this.internal_config.borderRadius},styleBoxImg:function(){return{border:this.border(),"border-radius":this.radius,"box-shadow":this.boxShadow}}},methods:{styleBoxContainer:function(t){var e={background:this.background(t),border:this.border(),"border-radius":this.radius,"box-shadow":this.boxShadow,minHeight:this.minHeight()},n={minHeight:this.minHeight(),height:"auto"};return"desktop"!==this.device?te(te({},e),n):e},background:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"cover",e=this.internal_config[t].backgroundColor;return"none"!==this.internal_config[t].backgroundImage&&"undefined"!==typeof this.internal_config[t].backgroundImage&&(this.internal_config[t].backgroundImage=this.internal_config[t].backgroundImage.replace("omb11.com","storage.builderall.com"),e+=' url("'+this.internal_config[t].backgroundImage+'")',e+=" "+this.internal_config[t].backgroundPosition,e+=" / "+this.internal_config[t].backgroundSize,e+=" "+this.internal_config[t].backgroundRepeat,e+=" "+this.internal_config[t].backgroundOrigin),e},border:function(){return this.internal_config.border},width:function(){return this.internal_config.width},height:function(){return this.internal_config.height},minHeight:function(){return this.internal_config.minHeight},style:function(){return{top:this.internal_config.top,left:this.internal_config.left,"padding-top":this.internal_config.paddingTop,"padding-left":this.internal_config.paddingLeft,"z-index":this.internal_config.zIndex,"max-width":this.internal_config.maxWidth,"padding-right":this.internal_config.paddingRight,"padding-bottom":this.internal_config.paddingBottom,minHeight:this.minHeight(),width:this.width(),height:this.height(),margin:"0 auto"}},fixObjBackground:function(t){var e=JSON.parse(JSON.stringify(t));return"undefined"!==typeof t.src&&(e.cover.backgroundImage=t.src),"undefined"!==typeof t["backgroundImage"]&&(e.hover={backgroundColor:t["backgroundColor"],backgroundImage:t["backgroundImage"],backgroundPosition:t["backgroundPosition"],backgroundOrigin:t["backgroundOrigin"],backgroundRepeat:t["backgroundRepeat"],backgroundSize:t["backgroundSize"]}),e},build:function(t){var e=this;e.internal_config=_.merge(e.internal_config,t)}},created:function(){var t=this.$props,e=t.childs,n=t.config;this.build(n),this.elements=e.sort((function(t,e){return t.config.order_mobile>e.config.order_mobile?1:e.config.order_mobile>t.config.order_mobile?-1:0}));var i=window.mergeRecursive(this.props,n);this.internal_config=this.fixObjBackground(te(te({},i),this.internal_config))}},ne=ee,ie=Object(b["a"])(ne,Kt,Zt,!1,null,"497e02a0",null),oe=ie.exports,ae=function(){var t=this,e=t._self._c;return e("div",{key:t.$props.componentKey,class:"sitebuilder-element-container"+t.hideControl()+" behavior-"+t.internal_config.sizeBehavior,style:t.style(),attrs:{id:this.id,element:"ImageComponent","data-tag":t.dataTag(),"data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile},on:{click:function(e){return t.linkAction()}}},[t.internal_config.showNormal?t._e():e("lazy-component",{style:"transform: rotate(".concat("desktop"===t.device?t.internal_config.rotation:0,") scale(1);")},[e("div",{staticClass:"overflow",style:{opacity:t.opacity,"border-radius":t.radius,border:t.border,"box-shadow":t.boxShadow}},[e("img",{ref:"image",staticClass:"sitebuilder-element",attrs:{src:t.internal_config.src,alt:t.internal_config.alt,title:t.internal_config.title}})])]),this.internal_config.showNormal?e("div",{style:"transform: rotate(".concat("desktop"===this.$props.device?this.internal_config.rotation:0,") scale(1);")},[e("div",{staticClass:"overflow",style:{opacity:t.opacity,"border-radius":t.radius,border:t.border,"box-shadow":t.boxShadow,cursor:"".concat(t.internal_config.link.value||t.internal_config.link.valueID||t.internal_config.link.tel?"pointer":"default")}},[e("img",{ref:"image",staticClass:"sitebuilder-element normal-image-element",attrs:{src:this.internal_config.src,alt:this.internal_config.alt,title:this.internal_config.title}}
1)])]):t._e()],1)},re=[],se={data:function(){return{props:{tag:"",height:"150px",width:"150px",zIndex:"auto",maxWidth:"768px",rotation:"0deg",opacity:1,src:"https://omb11.com/franquias/2/181114/editor-html/2700563.jpeg",border:"0 none #000000",boxShadow:"1px 1px 1px 1px blue",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",marginLeft:"0",marginRight:"0",showNormal:!1,animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},componentKey:0,internal_config:{src:"",width:"150px",height:"150px",left:"0px",top:"0px",showDesktop:!0,showMobile:!0,opacity:1,boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",marginLeft:"0",marginRight:"0",rotation:"0deg"},name:"image",alt:String(),real_src:String()}}},ce={name:"ImageComponent",props:["config","src","id","preview","device"],computed:{opacity:function(){return this.internal_config.opacity},border:function(){if("undefined"!==typeof this.internal_config.border){var t=this.internal_config.border.split(" ");"undefined"!==typeof t[2]&&this.$globalStoreHelpers.isValidHex(t[2])&&(t[2]=this.$globalStoreHelpers.hexToRGBA(t[2]),this.internal_config.border=t.join(" "))}return this.internal_config.border},boxShadow:function(){return this.internal_config.boxShadow},radius:function(){return this.internal_config.borderRadius}},data:function(){return se.data()},methods:{forceRerender:function(){this.componentKey+=1},dataTag:function(){return this.internal_config.tag?this.internal_config.tag:""},hideControl:function(){var t="";return this.internal_config.showMobile||(t+=" hide-on-mobile"),this.internal_config.showDesktop||(t+=" hide-on-desktop"),t},build:function(t){this.internal_config=t},linkAction:function(){this.$root.$emit("linkAction",this.internal_config.link)},style:function(){var t="width: ".concat(this.internal_config.width,";\n                     padding-top: ").concat(this.internal_config.paddingTop,";\n                     padding-left: ").concat(this.internal_config.paddingLeft,";\n                     z-index: ").concat(this.internal_config.zIndex,";max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n                     padding-right: ").concat(this.internal_config.paddingRight,";\n                     padding-bottom: ").concat(this.internal_config.paddingBottom,";\n                     left:  ").concat(this.internal_config.left,";\n\t\t\t\t\t\t\t\t\t\t top: ").concat(this.internal_config.top,";");return"cover"==this.internal_config.sizeBehavior&&(t+="height: ".concat(this.internal_config.height)),t}},mounted:function(){var t=this;this.build(this.$props.config),Object.keys(this.props).forEach((function(e){"undefined"===typeof t.internal_config[e]&&(t.internal_config[e]=t.props[e])})),this.internal_config.src=this.internal_config.src.replace("omb11.com","storage.builderall.com"),"mobile"===this.$props.device||this.$el.getBoundingClientRect().top<2e3?this.internal_config.showNormal=!0:(this.internal_config.showNormal=!1,this.forceRerender());var e="sitebuilder-element-container",n=this.internal_config.link.value||this.internal_config.link.valueID||this.internal_config.link.tel;n&&(this.$el.classList.add("link-action"),e+=" link-action"),this.$root.$emit("applyAnimation",this,e)}},le=ce,de=(n("1962"),Object(b["a"])(le,ae,re,!1,null,"6f991334",null)),ue=de.exports,he=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:t.id,element:"TextComponent",dir:t.dir(),"data-tag":t.dataTag(),"data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile,"data-editing":this.editing}},[e("div",{style:"transform: rotate(".concat("desktop"===this.$props.device?this.internal_config.rotation:0,") scale(1)")},[e("span",{directives:[{name:"show",rawName:"v-show",value:!this.editing,expression:"!this.editing"}],staticClass:"sitebuilder-element desktop-element gradient-config",style:"font-size: "+t.internal_config.fontSize+" !important;font-weight: "+t.internal_config.weight,domProps:{innerHTML:t._s(this.internal_config.content)}}),e("span",{staticClass:"text-center-sb sitebuilder-element mobile-element gradient-config",style:"font-size: "+t.internal_config.fontSizeMobile+" !important;font-weight: "+t.internal_config.weight+";text-align: "+t.internal_config.alignMobile+" !important;",domProps:{innerHTML:t._s(t.mobileContent)}})])])},ge=[],fe={data:function(){return{props:Object(d["a"])(Object(d["a"])(Object(d["a"])(Object(d["a"])(Object(d["a"])(Object(d["a"])(Object(d["a"])(Object(d["a"])(Object(d["a"])(Object(d["a"])({tag:"",content:"Texto exemplo",width:"300px",checkBoxTextBackgroun
1dHover:!1,textBackgroundColorHover:"#ffffff",fontSizeMobile:"12px",alignMobile:"center"},"checkBoxTextBackgroundHover",!1),"textBackgroundColorHover","#ffffff"),"paddingTop","15px"),"paddingLeft","15px"),"paddingRight","15px"),"paddingBottom","15px"),"zIndex","auto"),"maxWidth","768px"),"rotation","0deg"),"animation",{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}),internal_config:{content:"Texto exemplo",checkBoxTextBackgroundHover:!1,textBackgroundColorHover:"#ffffff",fontSizeMobile:"12px",alignMobile:"left",width:"300px",left:"0px",top:"0px",showDesktop:!0,showMobile:!0,paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",rotation:"0deg"},editing:!1}}},pe={name:"TextComponent",props:["config","id","preview","device"],data:function(){return fe.data()},methods:{dataTag:function(){return this.internal_config.tag?this.internal_config.tag:""},fontSizeMobileChange:function(){var t=document.getElementById(this.$el.id).querySelectorAll(".mobile-element p,.mobile-element span,.mobile-element h1,.mobile-element h2,.mobile-element h3,.mobile-element h4,.mobile-element h5,.mobile-element h6,.mobile-element ul,.mobile-element em,.mobile-element ol,.mobile-element li,.mobile-element big,.mobile-element small");for(var e in t)$(t[e]).css({"font-size":parseInt(this.internal_config.fontSizeMobile)+"px"})},alignMobileChange:function(){var t=document.getElementById(this.$el.id).querySelectorAll(".mobile-element p,.mobile-element span,.mobile-element h1,.mobile-element h2,.mobile-element h3,.mobile-element h4,.mobile-element h5,.mobile-element h6,.mobile-element ul,.mobile-element em,.mobile-element ol,.mobile-element li,.mobile-element big,.mobile-element small");for(var e in t)$(t[e]).css({"text-align":this.internal_config.alignMobile})},linkAction:function(t){this.$root.$emit("linkAction",t.data.link)},setLinks:function(){var t=this,e=$("#".concat(t.id," a[type][value][tel]"));
10!==e.length&&e.each((function(){var e=$(this),n={type:e.attr("type"),value:e.attr("value"),valueID:e.attr("valueID"),target:e.attr("target"),tel:e.attr("tel"),telSelectedMask:e.attr("telSelectedMask"),telOpenAs:e.attr("telOpenAs"),secondaryLink:!!t.$isJson(e.attr("secondaryLink"))&&JSON.parse(e.attr("secondaryLink"))};["email","download","builderall"].includes(e.attr("type"))&&(t.$isJson(n.value)?n.value=JSON.parse(n.value):n.value={name:e.attr("name"),src:e.attr("src")}),e.css("cursor","pointer"),$(e).addClass("text-action-call"),$(e).off("click").on("click",(function(){document.getElementById("app").__vue__.callLinkAction(n)}))}))},build:function(t){if(this.internal_config=t,this.internal_config.content=this.internal_config.content.replace(/&nbsp;/g," "),-1!==this.internal_config.content.indexOf("clean-text-css")&&-1!==this.internal_config.content.indexOf("line-height")&&(this.internal_config.content=this.internal_config.content.replace(/display:block;/g,"")),-1!==this.internal_config.content.indexOf("data-tag")){try{null!==localStorage.getItem("leadName")?this.internal_config.content=this.internal_config.content.replace("[tag_name_lead]",localStorage.getItem("leadName")):this.internal_config.content=this.internal_config.content.replace("[tag_name_lead]","")}catch(n){console.log(n)}var e=!0;e&&setTimeout((function(){var t=document.createElement("script");t.type="text/javascript",t.src="/static/office/script.js",$("head").append(t),setTimeout((function(){$(".sitebuilder-element [data-tag]").css("display","initial")}),4e3)}),2e3)}setTimeout((function(){for(var t=document.querySelectorAll('[element="TextComponent"] span'),e=0,n=t.length;e<n;e++)t[e].style["-webkit-text-fill-color"]=t[e].style.color;t.forEach((function(t){""!=t.style.lineHeight&&t.classList.add("line-height-aqui")}))}),2e3)},style:function(){var t=this.internal_config.width,e=this.internal_config.left;return navigator.userAgent.indexOf("Firefox")>0&&(t=parseInt(t)+10+"px",e=parseInt(e)-5+"px"),"width: ".concat(t,";\n                left:  ").concat(e,";\n                padding-top: ").concat(this.internal_config.paddingTop,";\n                padding-left: ").concat(this.internal_config.paddingLeft,";\n                padding-right: ").concat(this.internal_config.paddingRight,";\n                     z-index: ").concat(this.internal_config.zIndex,";max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n                padding-bottom: ").concat(this.internal_config.paddingBottom,";\n\t\t\t\t\t\t\t\ttop: ").concat(this.internal_config.top,";")},dir:function(){return"undefined"!=typeof langUser&&("he"===langUser||"ja"===langUser||"ar"===langUser)&&"rtl"}},mounted:function(){var t=this;if(this.build(this.$props.config),Object.keys(this.props).forEach((function(e){"undefined"===typeof t.internal_config[e]&&(t.internal_config[e]=t.props[e])})),this.internal_config.isGradientText)for(var e=document.getElementById(this.$el.id).querySelectorAll(".gradient-config"),n=0;n<e.length;n++)e[n].classList.add("gradient-text"),e[n].style.backgroundImage=this.internal_config.textGradientColor;if(this.internal_config.checkBoxTextBackgroundHover){var i,o=this.internal_config.textBackgroundColorHover;setTimeout((function(){i=document.getElementById(t.$el.id)}),10),document.getElementById(this.$el.id).addEventListener("mouseenter",(function(){i.style.backgroundColor=o})),document.getElementById(this.$el.id).addEventListener("mouseleave",(function(){i.style.backgroundColor=""}))}this.fontSizeMobileChange(),this.alignMobileChange(),this.$root.$emit("applyAnimation",this,"sitebuilder-element-container"),this.$nextTick((function(){t.setLinks()}))},computed:{mobileContent:function(){return this.internal_config.content.replace(/text-align: left|text-align: right|text-align: center|text-align: justify/g,"text-align: inherit")}},watch:{"internal_config.content":function(t){t&&this.setLinks()}}},me=pe,be=(n("693f"),Object(b["a"])(me,he,ge,!1,null,"56eb36c4",null)),_e=be.exports,ye=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:this.id,element:"ButtonComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile,"data-tag":t.dataTag()}},[e("div",{staticClass:"bt-sb bt-hover desktop-element",style:t.styleButton()},[t.htmlLink()?e("a",{staticClass:"bt-text-area action0",style:{height:t.height,width:t.width,cursor:"".concat(t.internal_config.cursorType)},attrs:{href:t.hrefLink("href"),"data-action":t.internal_config.link.type,rel:"noreferrer","data-tag":t.dataTagBuilderall(),target:"http://"!=t.hrefLink("href")?t.hrefLink("target"):"_self"},on:{click:function(e){return e.preventDefault(),t.linkAction.apply(null,arguments)}}},[e("span",{staticClass:"btn sb-text",style:t.textStyle()},[t._v(t._s(t.internal_config.text))]),e("small",{directives:[{name:"show",rawName:"v-show",value:""!=this.internal_config.subtext,expression:"this.internal_config.subtext != ''"}],staticClass:"btn sb-sub-text",style:t.subTextStyle()},[t._v(t._s(t.internal_config.subtext))])]):t._e(),t.htmlLink()?t._e():e("a",{staticClass:"bt-text-area action1",style:{height:t.height,width:t.width,cursor:"".concat(t.internal_config.cursorType)},attrs:{"data-action":t.internal_config.link.type,"data-tag":t.dataTagBuilderall()},on:{click:function(e){return e.preventDefault(),t.linkAction.apply(null,arguments)}}},[e("span",{staticClass:"btn sb-text",style:t.textStyle()},[t._v(t._s(t.internal_config.text))]),e("small",{directives:[{name:"show",rawName:"v-show",value:""!=this.internal_config.subtext,expression:"this.internal_config.subtext != ''"}],staticClass:"btn sb-sub-text",style:t.subTextStyle()},[t._v(t._s(t.internal_config.subtext))])])]),e("div",{staticClass:"bt-sb bt-hover mobile-element",style:t.styleButton()},[t.htmlLink()?e("a",{staticClass:"bt-text-area action0",style:{height:t.height,width:t.width},attrs:{href:t.hrefLink("href"),"data-tag":t.dataTagBuilderall(),"data-action":t.internal_config.link.type,target:t.hrefLink("target")},on:{click:function(e){return e.preventDefault(),t.linkAction.apply(null,arguments)}}},[e("span",{staticClass:"btn sb-text",style:t.textStyleMobile()},[t._v(t._s(t.internal_config.text))]),e("small",{directives:[{name:"show",rawName:"v-show",value:""!=this.internal_config.subtext,expression:"this.internal_config.subtext != ''"}],staticClass:"btn sb-sub-text",style:t.subTextStyle()},[t._v(t._s(t.internal_config.subtext))])]):t._e(),t.htmlLink()?t._e():e("a",{staticClass:"bt-text-area action1",style:{height:t.height,width:this.internal_config.maxWidth},attrs:{"data-tag":t.dataTagBuilderall(),"data-action":t.internal_config.link.type},on:{click:function(e){return e.preventDefault(),t.linkAction.apply(null,arguments)}}},[e("span",{staticClass:"btn sb-text",style:t.textStyleMobile()},[t._v(t._s(t.internal_config.text))]),e("small",{directives:[{name:"show",rawName:"v-show",value:""!=this.internal_config.subtext,expression:"this.internal_config.subtext != ''"}],staticClass:"btn sb-sub-text",style:t.subTextStyle()},[t._v(t._s(t.internal_config.subtext))])])])])},ve=[],we={data:function(){return{props:{cursorType:"",tag:"",height:"50px",width:"150px",zIndex:"auto",maxWidth:"768px",rotation:"0deg",text:"My Button",subText:"",icon:"",iconPosition:"left",border:"0 none #000000",borderRadius:"0 0 0 0",backgroundColor:"#21309b",backgroundColorHover:"#21309b",backgroundImage:"none",backgroundPosition:"center",backgroundOrigin:"border-box",backgroundRepeat:"no-repeat",backgroundSize:"cover",boxShadow:"1px 1px 1px 1px blue",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",textStyle:{fam
1ily:"arial, helvetica, sans-serif",size:"15px",color:"White",align:"center",weight:"700",style:"initial",stroke:"none"},subTextStyle:{family:"arial, helvetica, sans-serif",size:"15px",color:"White",align:"center",weight:"400",style:"initial",stroke:"none"},link:{type:"web",value:"",target:"_blank"},animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},internal_config:{cursorType:"",width:"150px",height:"50px",left:"0px",top:"0px",showDesktop:!0,showMobile:!0,opacity:1,boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",rotation:"0deg",textStyle:{family:"Arial",size:"15px",color:"White",align:"center",weight:"700",style:"initial"},subTextStyle:{family:"Arial",size:"15px",color:"White",align:"center",weight:"400",style:"initial"},link:{type:"web",value:"",target:"_blank"}},name:"button"}}};function xe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function ke(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?xe(Object(n),!0).forEach((function(e){Object(d["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xe(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Se={name:"ButtonComponent",props:["config","id","preview","device"],computed:{width:function(){return this.internal_config.width},height:function(){return this.internal_config.height},border:function(){if("undefined"!==typeof this.internal_config.border){var t=this.internal_config.border.split(" ");"undefined"!==typeof t[2]&&this.$globalStoreHelpers.isValidHex(t[2])&&(t[2]=this.$globalStoreHelpers.hexToRGBA(t[2]),this.internal_config.border=t.join(" "))}return this.internal_config.border},boxShadow:function(){return this.internal_config.boxShadow},radius:function(){return this.internal_config.borderRadius},backgroundColor:function(){return this.$globalStoreHelpers.isValidHex(this.internal_config.backgroundColor)&&(this.internal_config.backgroundColor=this.$globalStoreHelpers.hexToRGBA(this.internal_config.backgroundColor)),this.internal_config.backgroundColor},backgroundImage:function(){return"none"!==this.internal_config.backgroundImage&&"undefined"!==typeof this.internal_config.backgroundImage?(this.internal_config.backgroundImage=this.internal_config.backgroundImage.replace("omb11.com","storage.builderall.com"),'url("'+this.internal_config.backgroundImage+'")'):""},backgroundPosition:function(){return"none"!==this.internal_config.backgroundImage&&"undefined"!==typeof this.internal_config.backgroundImage?this.internal_config.backgroundPosition:""},backgroundOrigin:function(){return"none"!==this.internal_config.backgroundImage&&"undefined"!==typeof this.internal_config.backgroundImage?this.internal_config.backgroundOrigin:""},backgroundRepeat:function(){return"none"!==this.internal_config.backgroundImage&&"undefined"!==typeof this.internal_config.backgroundImage?this.internal_config.backgroundRepeat:""},backgroundSize:function(){return"none"!==this.internal_config.backgroundImage&&"undefined"!==typeof this.internal_config.backgroundImage?this.internal_config.backgroundSize:""}},data:function(){return we.data()},methods:{htmlLink:function(){return"web"===this.internal_config.link.type||"page"===this.internal_config.link.type||"email"===this.internal_config.link.type||"popup"===this.internal_config.link.type},htmlVideo:function(){"video"===this.internal_config.link.type&&this.internal_config.link.value},getValidUrl:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{t=window.decodeURIComponent(e)}catch(i){t=e}var n=t;return-1!==n.indexOf("redir=")?e:/^(:\/\/)/.test(n)?"https".concat(n):/^(f|ht)tps?:\/\//i.test(n)||-1!==n.indexOf("https")?/^(f|ht)tps?
1:\/\//i.test(n)||-1===n.indexOf("https")?n:"".concat(n):"https://".concat(n)},dataTagBuilderall:function(){if("builderall"==this.internal_config.link.type){var t=!0;return t&&setTimeout((function(){var t=document.createElement("script");t.type="text/javascript",t.src="/static/office/script.js",$("head").append(t),setTimeout((function(){$(".sitebuilder-element [data-tag]").css("display","initial")}),4e3)}),2e3),this.internal_config.link.valueID}},hrefLink:function(t){var e={};if("email"===this.internal_config.link.type)return e.href=" ",this.internal_config.link.target="_self",e.href;if("web"===this.internal_config.link.type){if(e.href=this.getValidUrl(this.internal_config.link.value),-1!==e.href.indexOf("[")&&-1!==e.href.indexOf("]")){var n=e.href.replace("https://","");"["===n.slice(0,1)&&"]"===n.slice(n.length-1,n.length)&&(e.href=n)}}else if("page"===this.internal_config.link.type){var i=it(this.internal_config.link.valueID);i&&(e.href="/"+i.url)}else e.href="#";return"http://"==e.href&&(e.href="#"),e.target=this.internal_config.link.target,e[t]},linkAction:function(){var t=this,e=this;"undefined"!==typeof this.internal_config.multipleActions&&this.internal_config.multipleActions.length>0?R.a.get("/cheetah/link/action?btn_id=".concat(this.id)).then((function(n){var i=n.data;if("error"!==i){var o=!1,a=e.internal_config.multipleActions.sort((function(t,e){return t.limit-e.limit}));a.forEach((function(t){console.log(parseInt(t.limit)<=parseInt(i)),parseInt(i)<=parseInt(t.limit)&&!o&&(o=t)})),!o&&"undefined"!==typeof t.internal_config.multipleActionsRotator&&t.internal_config.multipleActionsRotator&&(t.clearClicks(),o=a[0]),o||(o=a[a.length-1]),e.$root.$emit("linkAction",o.link)}else e.$root.$emit("linkAction",t.internal_config.link)})):this.$root.$emit("linkAction",ke(ke({},this.internal_config.link),{},{element_id:this.id}))},clearClicks:function(){R.a.get("/cheetah/link/action?btn_id=".concat(this.id,"&clear=1")).then((function(t){console.log(t.data)}))},buildIcon:function(){$(this.$el).find("i").detach(),""!==this.internal_config.icon&&("left"===this.internal_config.iconPosition&&($("<i>").addClass(this.$addIconPrefix(this.internal_config.icon)).prependTo($(this.$el).find(".sb-text").get(0)),$("<i>").addClass(this.$addIconPrefix(this.internal_config.icon)).prependTo($(this.$el).find(".sb-text").get(1))),"right"===this.internal_config.iconPosition&&($("<i>").addClass(this.$addIconPrefix(this.internal_config.icon)).appendTo($(this.$el).find(".sb-text").get(0)),$("<i>").addClass(this.$addIconPrefix(this.internal_config.icon)).appendTo($(this.$el).find(".sb-text").get(1))))},build:function(t){if(this.internal_config=t,"showHidePanel"===this.internal_config.link.type&&"undefined"!==typeof this.internal_config.link.hiddenPanelName&&""!==this.internal_config.link.hiddenPanelName){var e="#"+this.$el.id;$(e).attr("text-show-panel",this.internal_config.link.hiddenPanelName),$(e).attr("text-hide-panel",this.internal_config.text),$(e).attr("panel-reference-id",this.internal_config.link.value.replace("cheetah-panel-show-hide-","")),""!==this.internal_config.icon&&($(e).attr("icon-name",this.internal_config.icon),$(e).attr("icon-position",this.internal_config.iconPosition))}this.buildIcon()},textStyle:function(){var t=this.internal_config.textStyle.color;return this.$globalStoreHelpers.isValidHex(t)&&(t=this.$globalStoreHelpers.hexToRGBA(t)),"font-family:  ".concat(this.internal_config.textStyle.family,";\n                 font-size: ").concat(this.internal_config.textStyle.size,";\n                 text-align: ").concat(this.internal_config.textStyle.align,";\n                 text-decoration: ").concat(this.internal_config.textStyle.stroke,";\n                 font-weight: ").concat(this.internal_config.textStyle.weight,";\n                 font-style: ").concat(this.internal_config.textStyle.style,";\n                 color: ").concat(t)},textStyleMobile:function(){var t=this.internal_config.textStyle.color;return this.$globalStoreHelpers.isValidHex(t)&&(t=this.$globalStoreHelpers.hexToRGBA(t)),"font-family:  ".concat(this.internal_config.textStyle.family,";\n                 font-size: ").concat(this.internal_config.textStyle.sizeMobile," !important;\n                 text-align: ").concat(this.internal_config.textStyle.align,";\n                 text-decoration: ").concat(this.internal_config.textStyle.stroke,";\n                 font-weight: ").concat(this.internal_config.textStyle.weight,";\n                 font-style: ").concat(this.internal_config.textStyle.style,";\n                 color: ").concat(t)},subTextStyle:function(){var t=this.internal_config.subTextStyle.color;return this.$globalStoreHelpers.isValidHex(t)&&(t=this.$globalStoreHelpers.hexToRGBA(t)),"font-family:  ".concat(this.internal_config.subTextStyle.family,";\n                 font-size: ").concat("desktop"===this.device?this.internal_config.subTextStyle.size:this.internal_config.subTextStyle.sizeMobile," !important;\n                 text-align: ").concat(this.internal_config.subTextStyle.align,";\n                 font-weight: ").concat(this.internal_config.subTextStyle.weight,";\n                 font-style: ").concat(this.internal_config.subTextStyle.style,";\n                 text-decoration: ").concat(this.internal_config.subTextStyle.stroke,";\n                 color: ").concat(t)},style:function(){return"left:  ".concat(this.internal_config.left,";\n\t\t\t\t        padding-top: ").concat(this.internal_config.paddingTop,";\n                     z-index: ").concat(this.internal_config.zIndex,";max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n                padding-left: ").concat(this.internal_config.paddingLeft,";\n                padding-right: ").concat(this.internal_config.paddingRight,";\n                padding-bottom: ").concat(this.internal_config.paddingBottom,";\n                top: ").concat(this.internal_config.top,";")},styleButton:function(){var t={height:this.height,width:this.width,border:this.border,borderRadius:this.radius,background:this.backgroundColor,backgroundImage:this.backgroundImage,backgroundSize:this.backgroundSize,backgroundPosition:this.backgroundPosition,backgroundOrigin:this.backgroundOrigin,backgroundRepeat:this.backgroundRepeat,boxShadow:this.boxShadow,transform:"rotate(".concat("desktop"===this.$props.device?this.internal_config.rotation:0,") scale(1)")};return this.backgroundColor&&this.backgroundColor.includes("linear-gradient")&&delete t.backgroundImage,t},styleResize:function(){return"{width: ".concat(this.internal_config.width,", height:  ").concat(this.internal_config.height,"}")},handler:function(t){this.$root.$emit("focusElement",this),this.$root.$emit("handlerElement",this),t.stopPropagation(),t.preventDefault()},dataTag:function(){return this.internal_config.tag?this.internal_config.tag:""}}
1,mounted:function(){var t=this;if(this.build(this.$props.config),this.internal_config=window.mergeRecursive(this.props,this.$props.config),!1===this.internal_config.hover)for(var e=this.$el.children,n=0;n<e.length;n++)e[n].classList.remove("bt-hover");else this.$nextTick((function(){var e=t.internal_config.backgroundColorHover,n=t.internal_config.textColorHover;t.$globalStoreHelpers.isValidHex(e)&&(e=t.$globalStoreHelpers.hexToRGBA(e)),t.$globalStoreHelpers.isValidHex(n)&&(n=t.$globalStoreHelpers.hexToRGBA(n)),t.$el.addEventListener("mouseover",(function(){document.body.style.setProperty("--button-background-color--hover",e),document.body.style.setProperty("--button-text-color--hover",n)}))}))},updated:function(){this.$root.$emit("applyAnimation",this,"sitebuilder-element-container")}},Ce=Se,Ie=(n("3c9c"),n("ca64"),Object(b["a"])(Ce,ye,ve,!1,null,"7bfe577f",null)),$e=Ie.exports,Te=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",class:t.internal_config.recaptchaSiteKey?"recaptcha":"",style:t.style(),attrs:{id:this.id,element:"MailingBossFormComponent","data-tag":t.dataTag(),"data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile}},[e("div",{style:"transform: rotate(".concat("desktop"===this.$props.device?this.internal_config.rotation:0,") scale(1);")},[t.gdprAllowed?e("form",{ref:"form",class:t.horizontal?"form-mboss horizontal-form":"form-mboss",attrs:{target:t.internal_config.target,method:"post",action:t.getAction,enctype:"multipart/form-data"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.originUid,expression:"originUid"}],attrs:{type:"hidden",name:"origin_uid"},domProps:{value:t.originUid},on:{input:function(e){e.target.composing||(t.originUid=e.target.value)}}}),t.formAlreadyHasMetacsumField?t._e():e("input",{staticStyle:{display:"none"},attrs:{type:"text",name:"METACSUM",autocomplete:"off",tabindex:"-1"}}),e("input",{attrs:{type:"hidden",name:"mb_source",value:"builder_mailingboss_form"}}),e("div",{key:"inputs",ref:"container",staticClass:"inputs-area"}),this.internal_config.recaptchaSiteKey?e("div",{key:"recaptcha",staticClass:"recaptcha-container"},[e("vue-recaptcha",{ref:"recaptcha",attrs:{sitekey:this.internal_config.recaptchaSiteKey},on:{verify:t.onVerify,expired:t.onExpired}})],1):t._e(),e("div",{staticClass:"place-btn",style:{margin:t.buttonMargin}},[e("div",{staticClass:"bt-sb",style:{width:t.buttonWidth,border:t.buttonBorder,"border-radius":t.buttonRadius,background:t.buttonBackground,"box-shadow":t.buttonBoxShadow}},[e("div",{staticClass:"bt-text-area d-flex align-items-center flex-wrap overflow-hidden",style:{minHeight:t.buttonHeight}},[e("a",{ref:"buttonClick",staticClass:"sb-text",style:t.textStyle(),on:{click:function(e){return t.submit(e)}}},[t._v(t._s(t.internal_config.button.text))]),e("small",{directives:[{name:"show",rawName:"v-show",value:""!=this.internal_config.button.subText,expression:"this.internal_config.button.subText != ''"}],staticClass:"sb-sub-text",style:t.subTextStyle(),on:{click:function(e){return t.$refs.buttonClick.click()}}},[t._v(t._s(t.internal_config.button.subText))])])])])]):t._e(),e("sweet-modal",{ref:"modal",attrs:{width:"30vw"}},[e("div",{staticClass:"list-group-mailing-boss list-group"}),e("button",{staticClass:"btn btn-outline-info",attrs:{slot:"button"},on:{click:t.close},slot:"button"},[t._v("Cancel")]),e("button",{staticClass:"btn btn-outline-success",attrs:{slot:"button"},on:{click:t.selectList},slot:"button"},[t._v("Select")])])],1)])},Pe=[],Oe={data:function(){return{originUid:"",gdprAllowed:!1,recaptchaResponse:null,props:{tag:"",zIndex:"auto",maxWidth:"768px",rotation:"0deg",selectionList:[],dataList:[],listUid:"",originUid:"",target:"_self",showLabel:!0,showPlaceholder:!0,recaptchaSiteKey:"",recaptchaSecretKey:"",socialproof_campaign_id:"0",socialproof_user_name_tag:"FNAME",left:"0",top:"0",width:"300px",height:"300px",border:"0 none #000000",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",inputHeight:"38px",textareaHeight:"",inputBgColor:"#FFFFFF",inputBorder:"1px solid #000000",inputRadius:"0 0 0 0",inputStyle:{fam
1ily:"Arial",size:"20px",color:"#000000",align:"left",weight:"400",style:"initial"},animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}},button:{height:"50px",width:"50%",text:"My Button",subText:"",icon:"",iconPosition:"left",border:"0 none #000000",borderRadius:"0 0 0 0",backgroundColor:"#21309b",backgroundColorHover:"#21309b",backgroundImage:"none",backgroundPosition:"center",backgroundOrigin:"border-box",backgroundRepeat:"no-repeat",backgroundSize:"cover",boxShadow:"1px 1px 1px 1px blue",textStyle:{family:"arial, helvetica, sans-serif",size:"15px",color:"White",align:"center",weight:"700",style:"initial"},subTextStyle:{family:"arial, helvetica, sans-serif",size:"15px",color:"White",align:"center",weight:"400",style:"initial"}}},internal_config:{zIndex:"auto",maxWidth:"768px",rotation:"0deg",dataList:[],listUid:"",showLabel:!0,showPlaceholder:!0,recaptchaSiteKey:"",recaptchaSecretKey:"",left:"0",top:"0",originUid:"",width:"300px",height:"300px",border:"0 none #000000",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",inputHeight:"38px",inputBgColor:"#FFFFFF",inputBorder:"1px solid #000000",inputRadius:"0 0 0 0",inputStyle:{family:"Arial",size:"20px",color:"#000000",align:"left",weight:"400",style:"initial"},animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}},button:{height:"50px",width:"50%",text:"My Button",subText:"",icon:"",iconPosition:"left",border:"0 none #000000",borderRadius:"0 0 0 0",backgroundColor:"#21309b",backgroundColorHover:"#21309b",backgroundImage:"none",backgroundPosition:"center",backgroundOrigin:"border-box",backgroundRepeat:"no-repeat",backgroundSize:"cover",boxShadow:"1px 1px 1px 1px blue",textStyle:{family:"arial, helvetica, sans-serif",size:"15px",color:"White",align:"center",weight:"700",style:"initial"},subTextStyle:{family:"arial, helvetica, sans-serif",size:"15px",color:"White",align:"center",weight:"400",style:"initial"}}}}}},Ae=n("e096"),Re=function(){var t=this,e=t._self._c;return e("div",{attrs:{"data-field-group-name":"hidden"!==t.data.visibility?t.data.tag:""}},[e("div",{directives:[{name:"show",rawName:"v-show",value:"hidden"!==this.data.visibility,expression:"this.data.visibility !== 'hidden'"}],staticClass:"form-group",attrs:{"data-check-required":"required"}},[e("label",{directives:[{name:"show",rawName:"v-show",value:this.showLabel,expression:"this.showLabel"}]},[t._v(" "+t._s(t.label)+" ")]),t._l(t.options,(function(n){return e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:t.type,"data-check-field":"true","data-required":"yes"===t.required,name:"checkbox"===t.type?t.data.tag+"[]":t.data.tag,placeholder:t.placeholder,id:"".concat(t.type,"-").concat(t.data.tag,"-").concat(n.value)},domProps:{value:n.value,checked:t.selected==n.value||-1!==t.item.selected.indexOf(n.value)},on:{click:function(e){return t.changeValue(n.value)}}}),e("label",{staticClass:"form-check-label",attrs:{for:"".concat(t.type,"-").concat(t.data.tag,"-").concat(n.value),value:n.value}},[t._v("\n        "+t._s(n.name)+"\n      ")])])})),e("small",{directives:[{name:"show",rawName:"v-show",value:""!=t.data.help_text,expression:"data.help_text != ''"}],staticClass:"form-text text-muted",staticStyle:{width:"100%"}},[t._v(t._s(t.data.help_text))])],2)])},Be=[],Le={name:"CheckFieldsMailingBoss",props:["type","options","label","selected","data","required","showPlaceholder","showLabel"],data:function(){return{item:{selected:[]}}},computed:{placeholder:function(){return this.showPlaceholder?this.label:""}},methods:{changeValue:function(t){"checkbox"===this.type?-1!==this.item.selected.indexOf(t)?this.item.selected.splice(this.item.selected.indexOf(t),1):this.item.selected.push(t):this.selected=t;var e=this,n=this.options;this.options={},this.$nextTick((function(){e.options=n}))}},created:function(){this.data.default_value&&this.changeValue(this.data.default_value)}},ze=Le,Me=Object(b["a"])(ze,Re,Be,!1,null,null,null),Ee=Me.exports,Ne=function(){var t=this,e=t._self._c;return e("div",{attrs:{"data-field-group-name":"hidden"!==t.data.visibility?t.data.tag:""}},[e("div",{directives:[{name:"show",rawName:"v-show",value:"hidden"!==this.data.visibility,expression:"this.data.visibility !== 'hidden'"}],staticClass:"form-group"},[e("label",{directives:[{name:"show",rawName:"v-show",value:this.showLabel,expression:"this.showLabel"}]},[t._v(" "+t._s(t.label)+" ")]),e("select",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"selected"}],staticClass:"form-control",attrs:{required:t.required,multiple:t.multiple,name:this.data.tag,placeholder:t.placeholder},on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,
1(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.selected=e.target.multiple?n:n[0]}}},[t.showLabel?t._e():e("option",{attrs:{value:"",disabled:""}},[t._v(t._s(t.label))]),e("option",{directives:[{name:"show",rawName:"v-show",value:"dropdown"===t.label,expression:"label === 'dropdown'"}],attrs:{value:"",disabled:""}},[t._v(" "+t._s(t.$t("ct-choose-creation-type"))+"...")]),t._l(t.options,(function(n){return e("option",{staticClass:"form-check",domProps:{value:n.value}},[t._v(t._s(n.name))])}))],2),e("small",{directives:[{name:"show",rawName:"v-show",value:""!=t.data.help_text,expression:"data.help_text != ''"}],staticClass:"form-text text-muted",staticStyle:{width:"100%"}},[t._v(t._s(t.data.help_text))])])])},De=[],je={name:"DropDownMailingBoss",props:["options","label","selected","data","multiple","showPlaceholder","showLabel"],data:function(){return{}},computed:{placeholder:function(){return this.showPlaceholder?this.label:""},required:function(){return"yes"===this.data.required}}},He=je,Fe=Object(b["a"])(He,Ne,De,!1,null,null,null),Ue=Fe.exports,qe=function(){var t=this,e=t._self._c;return e("div",{attrs:{"data-field-group-name":"hidden"!==t.data.visibility?t.data.tag:""}},[e("div",{directives:[{name:"show",rawName:"v-show",value:"hidden"!==this.data.visibility,expression:"this.data.visibility !== 'hidden'"}],class:[this.icon&&this.icon.selected?"input-group mb-3":"form-group"]},[e("label",{directives:[{name:"show",rawName:"v-show",value:this.showLabel,expression:"this.showLabel"}],class:{"d-block w-100":this.showLabel&&this.icon&&this.icon.selected}},[t._v(" "+t._s(t.label)+" ")]),this.icon&&this.icon.selected&&"left"===this.icon.position?e("div",{staticClass:"input-group-prepend"},[e("span",{staticClass:"input-group-text"},[e("i",{class:this.$addIconPrefix(this.icon.selected)})])]):t._e(),"checkbox"!==[1==this.pass?"password":"text"]||this.area?"radio"!==[1==this.pass?"password":"text"]||this.area?this.area?this.area?e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"form-control",attrs:{required:t.required,placeholder:t.placeholder,name:this.data.tag},domProps:{value:t.value},on:{input:function(e){e.target.composing||(t.value=e.target.value)}}}):t._e():e("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"form-control",attrs:{required:t.required,placeholder:t.placeholder,name:this.data.tag,validation:t.validation,type:[1==this.pass?"password":"text"]},domProps:{value:t.value},on:{input:function(e){e.target.composing||(t.value=e.target.value)}}}):e("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"form-control",attrs:{required:t.required,placeholder:t.placeholder,name:this.data.tag,validation:t.validation,type:"radio"},domProps:{checked:t._q(t.value,null)},on:{change:function(e){t.value=null}}}):e("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"form-control",attrs:{required:t.required,placeholder:t.placeholder,name:this.data.tag,validation:t.validation,type:"checkbox"},domProps:{checked:Array.isArray(t.value)?t._i(t.value,null)>-1:t.value},on:{change:function(e){var n=t.value,i=e.target,o=!!i.checked;if(Array.isArray(n)){var a=null,r=t._i(n,a);i.checked?r<0&&(t.value=n.concat([a])):r>-1&&(t.value=n.slice(0,r).concat(n.slice(r+1)))}else t.value=o}}}),this.icon&&this.icon.selected&&"right"===this.icon.position?e("div",{staticClass:"input-group-prepend"},[e("span",{staticClass:"input-group-text"},[e("i",{class:this.$addIconPrefix(this.icon.selected)})])]):t._e(),e("small",{directives:[{name:"show",rawName:"v-show",value:""!=t.data.help_text,expression:"data.help_text != ''"}],staticClass:"form-text text-muted",staticStyle:{width:"100%"}},[t._v(t._s(t.data.help_text))])])])},Ve=[],We={name:"InputFieldMailingBoss",props:["label","value","data","area","showPlaceholder","showLabel","pass","icon","validation"],data:function(){return{}},computed:{placeholder:function(){return this.showPlaceholder?this.label:""},required:function(){return"undefined"===typeof this.data.required||"yes"===this.data.required}},mounted:function(){if(null!==this.data.default_value&&"undefined"!==typeof this.$el.querySelector("input"))try{this.$el.querySelector("input").setAttribute("value",this.data.default_value),this.$el.querySelector("input").value=this.data.default_value}catch(t){console.log("mbooss textfield error")}}},Ge=We,Je=(n("3bb3"),Object(b["a"])(Ge,qe,Ve,!1,null,"dc0d296a",null)),Ye=Je.exports,Ke=function(){var t=this,e=t._self._c;return e("div",{attrs:{"data-field-group-name":"hidden"!==t.data.visibility?t.data.tag:""}},[e("div",{directives:[{name:"show",rawName:"v-show",value:"hidden"!==this.data.visibility,expression:"this.data.visibility !== 'hidden'"}],staticClass:"form-datetime",class:[this.icon&&this.icon.selected?"input-group mb-3":"form-group"]},[e("label",{directives:[{name:"show",rawName:"v-show",value:this.showLabel,expression:"this.showLabel"}],class:{"d-block w-100":this.showLabel&&this.icon&&this.icon.selected}},[t._v(" "+t._s(t.label)+" ")]),this.icon&&"left"===this.icon.position?e("div",{staticClass:"input-group-prepend"},[e("span",{staticClass:"input-group-text"},[e("i",{class:this.$addIconPrefix(this.icon.selected)})])]):t._e(),e("datetime",{ref:"item",attrs:{type:t.type,"input-class":"form-control",name:this.data.tag,"value-zone":"local",zone:"local",placeholder:t.placeholder},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}}),t.is_mailingboss?e("input",{directives:[{name:"model",rawName:"v-model",value:t.value_real,expression:"value_real"}],attrs:{type:"hidden",name:this.data.tag,placeholder:t.placeholder},domProps:{value:t.value_real},on:{input:function(e){e.target.composing||(t.value_real=e.target.value)}}}):t._e(),this.icon&&"right"===this.icon.position?e("div",{staticClass:"input-group-prepend"},[e("span",{staticClass:"input-group-text"},[e("i",{class:this.$addIconPrefix(this.icon.selected)})])]):t._e(),e("small",{directives:[{name:"show",rawName:"v-show",value:""!=t.data.help_text,expression:"data.help_text != ''"}],staticClass:"form-text text-muted",class:{"d-block w-100":this.showLabel&&this.icon&&this.icon.selected},staticStyle:{width:"100%"}},[t._v(t._s(t.data.help_text))])],1)])},Ze=[],Qe={props:["label","data","value","type","showPlaceholder","showLabel","icon","is_mailingboss"],components:{Datetime:Dt["Datetime"]},data:function(){return{value_real:""}},computed:{placeholder:function(){return this.showPlaceholder?this.label:""},getTimeZone:function(){try{return console.log("Intl.DateTimeFormat().resolvedOptions().timeZone",Intl.DateTimeFormat().resolvedOptions().timeZone),Intl.DateTimeFormat().resolvedOptions().timeZone}catch(t){return""}}},watch:{value:function(t){t&&(this.value_real=this.formatValue(t))}},methods:{formatValue:function(t){function e(t){return parseInt(t)>9?""+t:"0"+t}var n=new Date(t),i=[e(n.getHours()),e(n.getMinutes()),e(n.getSeconds())].join(":");return"".concat([n.getFullYear(),e(n.getMonth()+1),e(n.getDate())].join("-")," ").concat("datetime"===this.type?i:"")}}},Xe=Qe,tn=(n("23bd"),Object(b["a"])(Xe,Ke,Ze,!1,null,"d776de64",null)),en=tn.exports,nn={watch:{device:function(){if("undefined"!==typeof this.internal_config.horizontal_config){var t="undefined"!==typeof this.internal_config.horizontal_config_mobile&&this.internal_config.horizontal_config_mobile;this.testAlan(this.internal_config.horizontal_config,t)}}},computed:{buttonMargin:function(){var t=this.internal_config.horizontal,e=this.internal_config.button.margin;return t?"0px 0px 0px ".concat(e,"px"):"".concat(e,"px 0px 0px")}},methods:{setColumns:function(){var t=this;if("undefined"===typeof this.internal_config.columns)return!1;var e=this.$el.querySelector(".inputs-area");this.internal_config.columns<=1?(e.classList.remove("form-row"),e.querySelectorAll(".form-group").forEach((function(t){for(var e=1;e<=12;e++)t.parentElement.classList.remove("col-"+e)}))):(e.classList.add("form-row"),e.querySelectorAll(".form-group").forEach((function(e){for(var n=1;n<=12;n++)e.parentElement.classList.remove("col-"+n);e.parentElement.classList.add("col-".concat(12/t.internal_config.columns))})))},testAlan:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.internal_config.horizontal){this.internal_config.horizontal_config=t,n&&(this.internal_config.horizontal_config_mobile=n);var i=this.$el.querySelector(".inputs-area"),o=this.$el.querySelector(".place-btn"),a=this.$el.querySelector(".bt-sb"),r=this.$el.querySelector(".inputs-area"),s="mobile"===this.device&&n?n:t;if(!s.custom){var c=this.$el.querySelectorAll(".inputs-area [data-field-group-name]");
1return c.forEach((function(t){t.className=""})),i.style.width="100%",o.style.width="100%",a.style.bottom="15px",void r.classList.remove("form-row")}i.style.width=s.container.width+"%",o.style.width=s.btnPlace.width+"%",a.style.bottom=s.btnPlace.padding+"px",r.classList.add("form-row"),s.fields.forEach((function(t){var n=e.$el.querySelector('.inputs-area [data-field-group-name="'+t.name+'"]');n&&(n.className="",n.classList.add(t.size))}))}}}},on=nn,an=function(){var t=this,e=t._self._c;return e("div",{attrs:{"data-field-group-name":"hidden"!==t.data.visibility?t.data.tag:""}},[e("div",{directives:[{name:"show",rawName:"v-show",value:"hidden"!==this.data.visibility,expression:"this.data.visibility !== 'hidden'"}],staticClass:"form-group"},[e("label",{directives:[{name:"show",rawName:"v-show",value:this.showLabel,expression:"this.showLabel"}]},[t._v(" "+t._s(t.label)+" ")]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],attrs:{name:this.data.tag,type:"hidden"},domProps:{value:t.value},on:{input:function(e){e.target.composing||(t.value=e.target.value)}}}),t.value?e("button",{staticClass:"dropdown-toggle form-control",attrs:{type:"button"},on:{blur:t.onBlurToggle,click:function(e){return e.preventDefault(),t.toggleDropdown.apply(null,arguments)}}},[e("div",{staticClass:"vti__flag-wrapper"},[e("span",{class:["vti__flag",t.activeValueObject.iso2.toLowerCase()]})]),t._v("\n            "+t._s(t.activeValueObject.dialCode)+"\n        ")]):t._e(),t.isOpen?e("ul",{staticClass:"countries-dropdown"},t._l(t.countryOptions,(function(n){return e("li",{class:{selected:t.value==n.value},on:{click:function(e){return e.preventDefault(),t.select(n)}}},[e("div",{staticClass:"vti__flag-wrapper"},[e("span",{class:["vti__flag",n.iso2.toLowerCase()]})]),t._v("\n                "+t._s(n.name)+"\n            ")])})),0):t._e(),e("small",{directives:[{name:"show",rawName:"v-show",value:""!=t.data.help_text,expression:"data.help_text != ''"}],staticClass:"form-text text-muted",staticStyle:{width:"100%"}},[t._v("\n            "+t._s(t.data.help_text)+"\n        ")])])])},rn=[],sn=(n("f400"),[{name:"Algeria (+213)",value:"213ALGERIA",is_default:!1,iso2:"dz"},{name:"Andorra (+376)",value:"376ANDORRA",is_default:!1,iso2:"ad"},{name:"Angola (+244)",value:"244ANGOLA",is_default:!1,iso2:"ao"},{name:"Anguilla (+1264)",value:"1264ANGUILLA",is_default:!1,iso2:"ai"},{name:"Antigua & Barbuda (+1268)",value:"1268ANTIGUABARBUDA",is_default:!1,iso2:"ag"},{name:"Argentina (+54)",value:"54ARGENTINA",is_default:!1,iso2:"ar"},{name:"Armenia (+374)",value:"374ARMENIA",is_default:!1,iso2:"am"},{name:"Aruba (+297)",value:"297ARUBA",is_default:!1,iso2:"aw"},{name:"Australia (+61)",value:"61AUSTRALIA",is_default:!1,iso2:"au"},{name:"Austria (+43)",value:"43AUSTRIA",is_default:!1,iso2:"at"},{name:"Azerbaijan (+994)",value:"994AZERBAIJAN",is_default:!1,iso2:"az"},{name:"Bahamas (+1242)",value:"1242BAHAMAS",is_default:!1,iso2:"bs"},{name:"Bahrain (+973)",value:"973BAHRAIN",is_default:!1,iso2:"bh"},{name:"Bangladesh (+880)",value:"880BANGLADESH",is_default:!1,iso2:"bd"},{name:"Barbados (+1246)",value:"1246BARBADOS",is_default:!1,iso2:"bb"},{name:"Belarus (+375)",value:"375BELARUS",is_default:!1,iso2:"by"},{name:"Belgium (+32)",value:"32BELGIUM",is_default:!1,iso2:"be"},{name:"Belize (+501)",value:"501BELIZE",is_default:!1,iso2:"bz"},{name:"Benin (+229)",value:"229BENIN",is_default:!1,iso2:"bj"},{name:"Bermuda (+1441)",value:"1441BERMUDA",is_default:!1,iso2:"bm"},{name:"Bhutan (+975)",value:"975BHUTAN",is_default:!1,iso2:"bt"},{name:"Bolivia (+591)",value:"591BOLIVIA",is_default:!1,iso2:"bo"},{name:"Bosnia Herzegovina (+387)",value:"387BOSNIAHERZEGOVINA",is_default:!1,iso2:"ba"},{name:"Botswana (+267)",value:"267BOTSWANA",is_default:!1,iso2:"bw"},{name:"Brazil (+55)",value:"55BRAZIL",is_default:!1,iso2:"br"},{name:"Brunei (+673)",value:"673BRUNEI",is_default:!1,iso2:"bn"},{name:"Bulgaria (+359)",value:"359BULGARIA",is_default:!1,iso2:"bg"},{name:"Burkina Faso (+226)",value:"226BURKINAFASO",is_default:!1,iso2:"bf"},{name:"Burundi (+257)",value:"257BURUNDI",is_default:!1,iso2:"bi"},{name:"Cambodia (+855)",value:"855CAMBODIA",is_default:!1,iso2:"kh"},{name:"Cameroon (+237)",value:"237CAMEROON",is_default:!1,iso2:"cm"},{name:"Canada (+1)",value:"1CANADA",is_default:!1,iso2:"ca"},{name:"Cape Verde Islands (+238)",value:"238CAPEVERDEISLANDS",is_default:!1,iso2:"cv"},{name:"Cayman Islands (+1345)",value:"1345CAYMANISLANDS",is_default:!1,iso2:"ky"},{name:"Central African Republic (+236)",value:"236CENTRALAFRICANREPUBLIC",is_default:!1,iso2:"cf"},{name:"Chile (+56)",value:"56CHILE",is_default:!1,iso2:"cl"},{name:"China (+86)",value:"86CHINA",is_default:!1,iso2:"cn"}
1,{name:"Colombia (+57)",value:"57COLOMBIA",is_default:!1,iso2:"co"},{name:"Comoros (+269)",value:"269COMOROS",is_default:!1,iso2:"km"},{name:"Congo (+242)",value:"242CONGO",is_default:!1,iso2:"cd"},{name:"Cook Islands (+682)",value:"682COOKISLANDS",is_default:!1,iso2:"ck"},{name:"Costa Rica (+506)",value:"506COSTARICA",is_default:!1,iso2:"cr"},{name:"Croatia (+385)",value:"385CROATIA",is_default:!1,iso2:"hr"},{name:"Cuba (+53)",value:"53CUBA",is_default:!1,iso2:"cu"},{name:"Cyprus North (+90392)",value:"90392CYPRUSNORTH",is_default:!1,iso2:"cy"},{name:"Cyprus South (+357)",value:"357CYPRUSSOUTH",is_default:!1,iso2:"cy"},{name:"Czech Republic (+420)",value:"420CZECHREPUBLIC",is_default:!1,iso2:"cz"},{name:"Denmark (+45)",value:"45DENMARK",is_default:!1,iso2:"dk"},{name:"Djibouti (+253)",value:"253DJIBOUTI",is_default:!1,iso2:"dj"},{name:"Dominica (+1809)",value:"1809DOMINICA",is_default:!1,iso2:"dm"},{name:"Dominican Republic (+1809)",value:"1809DOMINICANREPUBLIC",is_default:!1,iso2:"dm"},{name:"Dominican Republic (+1829)",value:"1829DOMINICANREPUBLIC",is_default:!1,iso2:"dm"},{name:"Dominican Republic (+1849)",value:"1849DOMINICANREPUBLIC",is_default:!1,iso2:"dm"},{name:"Ecuador (+593)",value:"593ECUADOR",is_default:!1,iso2:"ec"},{name:"Egypt (+20)",value:"20EGYPT",is_default:!1,iso2:"eg"},{name:"El Salvador (+503)",value:"503ELSALVADOR",is_default:!1,iso2:"sv"},{name:"Equatorial Guinea (+240)",value:"240EQUATORIALGUINEA",is_default:!1,iso2:"gn"},{name:"Eritrea (+291)",value:"291ERITREA",is_default:!1,iso2:"er"},{name:"Estonia (+372)",value:"372ESTONIA",is_default:!1,iso2:"ee"},{name:"Ethiopia (+251)",value:"251ETHIOPIA",is_default:!1,iso2:"et"},{name:"Falkland Islands (+500)",value:"500FALKLANDISLANDS",is_default:!1,iso2:"fk"},{name:"Faroe Islands (+298)",value:"298FAROEISLANDS",is_default:!1,iso2:"fo"},{name:"Fiji (+679)",value:"679FIJI",is_default:!1,iso2:"fj"},{name:"Finland (+358)",value:"358FINLAND",is_default:!1,iso2:"fi"},{name:"France (+33)",value:"33FRANCE",is_default:!1,iso2:"fr"},{name:"French Guiana (+594)",value:"594FRENCHGUIANA",is_default:!1,iso2:"gf"},{name:"French Polynesia (+689)",value:"689FRENCHPOLYNESIA",is_default:!1,iso2:"pf"},{name:"Gabon (+241)",value:"241GABON",is_default:!1,iso2:"ga"},{name:"Gambia (+220)",value:"220GAMBIA",is_default:!1,iso2:"gm"},{name:"Georgia (+7880)",value:"7880GEORGIA",is_default:!1,iso2:"ge"},{name:"Germany (+49)",value:"49GERMANY",is_default:!1,iso2:"de"},{name:"Ghana (+233)",value:"233GHANA",is_default:!1,iso2:"gh"},{name:"Gibraltar (+350)",value:"350GIBRALTAR",is_default:!1,iso2:"gi"},{name:"Greece (+30)",value:"30GREECE",is_default:!1,iso2:"gr"},{name:"Greenland (+299)",value:"299GREENLAND",is_default:!1,iso2:"gl"},{name:"Grenada (+1473)",value:"1473GRENADA",is_default:!1,iso2:"gd"},{name:"Guadeloupe (+590)",value:"590GUADELOUPE",is_default:!1,iso2:"gp"},{name:"Guam (+671)",value:"671GUAM",is_default:!1,iso2:"gu"},{name:"Guatemala (+502)",value:"502GUATEMALA",is_default:!1,iso2:"gt"},{name:"Guinea (+224)",value:"224GUINEA",is_default:!1,iso2:"gn"},{name:"Guinea - Bissau (+245)",value:"245GUINEABISSAU",is_default:!1,iso2:"gn"},{name:"Guyana (+592)",value:"592GUYANA",is_default:!1,iso2:"gy"},{name:"Haiti (+509)",value:"509HAITI",is_default:!1,iso2:"ht"},{name:"Honduras (+504)",value:"504HONDURAS",is_default:!1,iso2:"hn"},{name:"Hong Kong (+852)",value:"852HONGKONG",is_default:!1,iso2:"hk"},{name:"Hungary (+36)",value:"36HUNGARY",is_default:!1,iso2:"hu"},{name:"Iceland (+354)",value:"354ICELAND",is_default:!1,iso2:"is"},{name:"India (+91)",value:"91INDIA",is_default:!1,iso2:"in"},{name:"Indonesia (+62)",value:"62INDONESIA",is_default:!1,iso2:"id"},{name:"Iran (+98)",value:"98IRAN",is_default:!1,iso2:"ir"},{name:"Iraq (+964)",value:"964IRAQ",is_default:!1,iso2:"iq"},{name:"Ireland (+353)",value:"353IRELAND",is_default:!1,iso2:"ie"},{name:"Israel (+972)",value:"972ISRAEL",is_default:!1,iso2:"il"},{name:"Italy (+39)",value:"39ITALY",is_default:!1,iso2:"it"},{name:"Jamaica (+1876)",value:"1876JAMAICA",is_default:!1,iso2:"jm"},{name:"Japan (+81)",value:"81JAPAN",is_default:!1,iso2:"jp"},{name:"Jordan (+962)",value:"962JORDAN",is_default:!1,iso2:"jo"},{name:"Kazakhstan (+7)",value:"7KAZAKHSTAN",is_default:!1,iso2:"kz"},{name:"Kenya (+254)",value:"254KENYA",is_default:!1,iso2:"ke"},{name:"Kiribati (+686)",value:"686KIRIBATI",is_default:!1,iso2:"ki"},{name:"Korea North (+850)",value:"850KOREANORTH",is_default:!1,iso2:"kp"},{name:"Korea South (+82)",value:"82KOREASOUTH",is_default:!1,iso2:"kr"},{name:"Kuwait (+965)",value:"965KUWAIT",is_default:!1,iso2:"kw"},{name:"Kyrgyzstan (+996)",value:"996KYRGYZSTAN",is_default:!1,iso2:"kg"},{name:"Laos (+856)",value:"856LAOS",is_default:!1,iso2:"la"},{name:"Latvia (+371)",value:"371LATVIA",is_default:!1,iso2:"lv"},{name:"Lebanon (+961)",value:"961LEBANON",is_default:!1,iso2:"lb"},{name:"Lesotho (+266)",value:"266LESOTHO",is_default:!1,iso2:"ls"},{name:"Liberia (+231)",value:"231LIBERIA",is_default:!1,iso2:"lr"},{name:"Libya (+218)",value:"218LIBYA",is_default:!1,iso2:"ly"},{name:"Liechtenstein (+417)",value:"417LIECHTENSTEIN",is_default:!1,iso2:"li"},{name:"Lithuania (+370)",value:"370LITHUANIA",is_default:!1,iso2:"lt"},{name:"Luxembourg (+352)",value:"352LUXEMBOURG",is_default:!1,iso2:"lu"},{name:"Macao (+853)",value:"853MACAO",is_default:!1,iso2:"mo"},{name:"Macedonia (+389)",value:"389MACEDONIA",is_default:!1,iso2:"mk"},{name:"Madagascar (+261)",value:"261MADAGASCAR",is_default:!1,iso2:"mg"},{name:"Malawi (+265)",value:"265MALAWI",is_default:!1,iso2:"mw"},{name:"Malaysia (+60)",value:"60MALAYSIA",is_default:!1,iso2:"my"},{name:"Maldives (+960)",value:"960MALDIVES",is_default:!1,iso2:"mv"},{name:"Mali (+223)",value:"223MALI",is_default:!1,iso2:"ml"},{name:"Malta (+356)",value:"356MALTA",is_default:!1,iso2:"mt"},{name:"Marshall Islands (+692)",value:"692MARSHALLISLANDS",is_default:!1,iso2:"mh"},{name:"Martinique (+596)",value:"596MARTINIQUE",is_default:!1,iso2:"mq"},{name:"Mauritania (+222)",value:"222MAURITANIA",is_default:!1,iso2:"mr"},{name:"Mayotte (+269)",value:"269MAYOTTE",is_default:!1,iso2:"yt"},{name:"Mexico (+52)",value:"52MEXICO",is_default:!1,iso2:"mx"},{name:"Micronesia (+691)",value:"691MICRONESIA",is_default:!1,iso2:"fm"},{name:"Moldova (+373)",value:"373MOLDOVA",is_default:!1,iso2:"md"},{name:"Monaco (+377)",value:"377MONACO",is_default:!1,iso2:"mc"},{name:"Mongolia (+976)",value:"976MONGOLIA",is_default:!1,iso2:"mn"},{name:"Montserrat (+1664)",value:"1664MONTSERRAT",is_default:!1,iso2:"ms"},{name:"Morocco (+212)",value:"212MOROCCO",is_default:!1,iso2:"ma"},{name:"Mozambique (+258)",value:"258MOZAMBIQUE",is_default:!1,iso2:"mz"},{name:"Myanmar (+95)",value:"95MYANMAR",is_default:!1,iso2:"mm"},{name:"Namibia (+264)",value:"264NAMIBIA",is_default:!1,iso2:"na"},{name:"Nauru (+674)",value:"674NAURU",is_default:!1,iso2:"nr"},{name:"Nepal (+977)",value:"977NEPAL",is_default:!1,iso2:"np"},{name:"Netherlands (+31)",value:"31NETHERLANDS",is_default:!1,iso2:"nl"},{name:"New Caledonia (+687)",value:"687NEWCALEDONIA",is_default:!1,iso2:"nc"},{name:"New Zealand (+64)",value:"64NEWZEALAND",is_default:!1,iso2:"nz"},{name:"Nicaragua (+505)",value:"505NICARAGUA",is_default:!1,iso2:"ni"},{name:"Niger (+227)",value:"227NIGER",is_default:!1,iso2:"ne"},{name:"Nigeria (+234)",value:"234NIGERIA",is_default:!1,iso2:"ne"},{name:"Niue (+683)",value:"683NIUE",is_default:!1,iso2:"nu"},{name:"Norfolk Islands (+672)",value:"672NORFOLKISLANDS",is_default:!1,iso2:"nf"},{name:"Northern Marianas (+670)",value:"670NORTHERNMARIANAS",is_default:!1,iso2:"mp"},{name:"Norway (+47)",value:"47NORWAY",is_default:!1,iso2:"no"},{name:"Oman (+968)",value:"968OMAN",is_default:!1,iso2:"om"}
1,{name:"Palau (+680)",value:"680PALAU",is_default:!1,iso2:"pw"},{name:"Panama (+507)",value:"507PANAMA",is_default:!1,iso2:"pa"},{name:"Papua New Guinea (+675)",value:"675PAPUANEWGUINEA",is_default:!1,iso2:"gn"},{name:"Paraguay (+595)",value:"595PARAGUAY",is_default:!1,iso2:"py"},{name:"Peru (+51)",value:"51PERU",is_default:!1,iso2:"pe"},{name:"Philippines (+63)",value:"63PHILIPPINES",is_default:!1,iso2:"ph"},{name:"Poland (+48)",value:"48POLAND",is_default:!1,iso2:"pl"},{name:"Portugal (+351)",value:"351PORTUGAL",is_default:!1,iso2:"pt"},{name:"Puerto Rico (+1787)",value:"1787PUERTORICO",is_default:!1,iso2:"pr"},{name:"Qatar (+974)",value:"974QATAR",is_default:!1,iso2:"qa"},{name:"Reunion (+262)",value:"262REUNION",is_default:!1,iso2:"re"},{name:"Romania (+40)",value:"40ROMANIA",is_default:!1,iso2:"ro"},{name:"Russia (+7)",value:"7RUSSIA",is_default:!1,iso2:"ru"},{name:"Rwanda (+250)",value:"250RWANDA",is_default:!1,iso2:"rw"},{name:"San Marino (+378)",value:"378SANMARINO",is_default:!1,iso2:"sm"},{name:"Sao Tome & Principe (+239)",value:"239SAOTOMEPRINCIPE",is_default:!1,iso2:"st"},{name:"Saudi Arabia (+966)",value:"966SAUDIARABIA",is_default:!1,iso2:"sa"},{name:"Senegal (+221)",value:"221SENEGAL",is_default:!1,iso2:"sn"},{name:"Serbia (+381)",value:"381SERBIA",is_default:!1,iso2:"rs"},{name:"Seychelles (+248)",value:"248SEYCHELLES",is_default:!1,iso2:"sc"},{name:"Sierra Leone (+232)",value:"232SIERRALEONE",is_default:!1,iso2:"sl"},{name:"Singapore (+65)",value:"65SINGAPORE",is_default:!1,iso2:"sg"},{name:"Slovak Republic (+421)",value:"421SLOVAKREPUBLIC",is_default:!1,iso2:"sk"},{name:"Slovenia (+386)",value:"386SLOVENIA",is_default:!1,iso2:"si"},{name:"Solomon Islands (+677)",value:"677SOLOMONISLANDS",is_default:!1,iso2:"sb"},{name:"Somalia (+252)",value:"252SOMALIA",is_default:!1,iso2:"ml"},{name:"South Africa (+27)",value:"27SOUTHAFRICA",is_default:!1,iso2:"za"},{name:"Spain (+34)",value:"34SPAIN",is_default:!1,iso2:"es"},{name:"Sri Lanka (+94)",value:"94SRILANKA",is_default:!1,iso2:"lk"},{name:"St. Helena (+290)",value:"290STHELENA",is_default:!1,iso2:"sh"},{name:"St. Kitts (+1869)",value:"1869STKITTS",is_default:!1,iso2:"kn"},{name:"St. Lucia (+1758)",value:"1758STLUCIA",is_default:!1,iso2:"lc"},{name:"Sudan (+249)",value:"249SUDAN",is_default:!1,iso2:"sd"},{name:"Suriname (+597)",value:"597SURINAME",is_default:!1,iso2:"sr"},{name:"Swaziland (+268)",value:"268SWAZILAND",is_default:!1,iso2:"sz"},{name:"Sweden (+46)",value:"46SWEDEN",is_default:!1,iso2:"se"},{name:"Switzerland (+41)",value:"41SWITZERLAND",is_default:!1,iso2:"ch"},{name:"Syria (+963)",value:"963SYRIA",is_default:!1,iso2:"sy"},{name:"Taiwan (+886)",value:"886TAIWAN",is_default:!1,iso2:"tw"},{name:"Tajikstan (+7)",value:"7TAJIKSTAN",is_default:!1,iso2:"tj"},{name:"Thailand (+66)",value:"66THAILAND",is_default:!1,iso2:"th"},{name:"Togo (+228)",value:"228TOGO",is_default:!1,iso2:"tg"},{name:"Tonga (+676)",value:"676TONGA",is_default:!1,iso2:"to"},{name:"Trinidad & Tobago (+1868)",value:"1868TRINIDADTOBAGO",is_default:!1,iso2:"tt"},{name:"Tunisia (+216)",value:"216TUNISIA",is_default:!1,iso2:"tn"},{name:"Turkey (+90)",value:"90TURKEY",is_default:!1,iso2:"tr"},{name:"Turkmenistan (+7)",value:"7TURKMENISTAN",is_default:!1,iso2:"tm"},{name:"Turkmenistan (+993)",value:"993TURKMENISTAN",is_default:!1,iso2:"tm"},{name:"Turks & Caicos Islands (+1649)",value:"1649TURKSCAICOSISLANDS",is_default:!1,iso2:"tc"},{name:"Tuvalu (+688)",value:"688TUVALU",is_default:!1,iso2:"tv"},{name:"Uganda (+256)",value:"256UGANDA",is_default:!1,iso2:"ug"},{name:"Ukraine (+380)",value:"380UKRAINE",is_default:!1,iso2:"ua"},{name:"UK (+44)",value:"44UK",is_default:!1,iso2:"ua"},{name:"United Arab Emirates (+971)",value:"971UNITEDARABEMIRATES",is_default:!1,iso2:"ae"},{name:"Uruguay (+598)",value:"598URUGUAY",is_default:!1,iso2:"uy"},{name:"USA (+1)",value:"1USA",is_default:!1,iso2:"us"},{name:"Uzbekistan (+7)",value:"7UZBEKISTAN",is_default:!1,iso2:"uz"},{name:"Vanuatu (+678)",value:"678VANUATU",is_default:!1,iso2:"vu"},{name:"Vatican City (+379)",value:"379VATICANCITY",is_default:!1,iso2:"va"},{name:"Venezuela (+58)",value:"58VENEZUELA",is_default:!1,iso2:"ve"},{name:"Vietnam (+84)",value:"84VIETNAM",is_default:!1,iso2:"vn"},{name:"Virgin Islands - British (+84)",value:"84VIRGINISLANDSBRITISH",is_default:!1,iso2:"vg"},{name:"Virgin Islands - US (+84)",value:"84VIRGINISLANDSUS",is_default:!1,iso2:"vi"},{name:"Wallis & Futuna (+681)",value:"681WALLISFUTUNA",is_default:!1,iso2:"wf"},{name:"Yemen (North) (+969)",value:"969YEMENNORTH",is_default:!1,iso2:"ye"},{name:"Yemen (South) (+967)",value:"967YEMENSOUTH",is_default:!1,iso2:"ye"},{name:"Zambia (+260)",value:"260ZAMBIA",is_default:!1,iso2:"zm"},{name:"Zimbabwe (+263)",value:"263ZIMBABWE",is_default:!1,iso2:"zw"}]),cn=sn.map((function(t){return{name:t.name,iso2:t.iso2.toUpperCase(),dialCode:/\((.*?)\)/.exec(t.name)[1],value:t.value}}));function ln(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function dn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?ln(Object(n),!0).forEach((function(e){Object(d["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ln(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var un={name:"PhonePrefixMailingboss",props:["options","label","selected","data","multiple","showPlaceholder","showLabel"],data:function(){return{countries:cn,value:this.selected,isOpen:!1}},mounted:function(){this.selected||(this.value=this.getDefaultValue())},methods:{toggleDropdown:function(){this.isOpen=!this.isOpen},select:function(t){this.value=t.value,this.isOpen=!1},onBlurToggle:function(t){var e=this;setTimeout((function(){e.isOpen=!1}),200)},getDefaultValue:function(){if(this.data.default_value)return this.data.default_value;var t=navigator.language||navigator.userLanguage,e=t.split("-");if(e.length>1){var n=e[e.length-1].toUpperCase(),i=this.countryOptions.find((function(t){return t.iso2==n}));if(i)return i.value}return this.countryOptions.length>0?this.countryOptions[0].value:"1USA"}},computed:{placeholder:function(){return this.showPlaceholder?this.label:""},required:function(){return"yes"===this.data.required},activeValueObject:function(){var t=this;return this.countries.find((function(e){return e.value==t.value}))},countryOptions:function(){var t=cn.reduce((function(t,e){return t.set(e.value,e.iso2),t}),new Map);return this.options.filter((function(e){return t.has(e.value)})).map((function(e){return dn(dn({},e),{},{iso2:t.get(e.value)})}))}}},hn=un,gn=(n("2e0b"),n("7a88"),Object(b["a"])(hn,an,rn,!1,null,"7a167ab4",null)),fn=gn.exports,pn=function(){var t=this,e=t._self._c;return e("div",{attrs:{"data-field-group-name":t.data.tag}},[e("div",{directives:[{name:"show",rawName:"v-show",value:"hidden"!==this.data.visibility,expression:"this.data.visibility !== 'hidden'"}],staticClass:"form-group"},[e("label",{directives:[{name:"show",rawName:"v-show",value:this.showLabel,expression:"this.showLabel"}]},[t._v(" "+t._s(t.label)+" ")]),e("div",{staticClass:"form-control upload-trigger",on:{click:function(e){return t.openFileSelector()}}},[e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"}},[e("path",{attrs:{d:"M12.3077 13.5385C12.3077 13.3718 12.2468 13.2276 12.125 13.1058C12.0032 12.984 11.859 12.9231 11.6923 12.9231C11.5256 12.9231 11.3814 12.984 11.2596 13.1058C11.1378 13.2276 11.0769 13.3718 11.0769 13.5385C11.0769 13.7051 11.1378 13.8494 11.2596 13.9712C11.3814 14.0929 11.5256 14.1538 11.6923 14.1538C11.859 14.1538 12.0032 14.0929 12.125 13.9712C12.2468 13.8494 12.3077 13.7051 12.3077 13.5385ZM14.7692 13.5385C14.7692 13.3718 14.7083 13.2276 14.5865 13.1058C14.4647 12.984 14.3205 12.9231 14.1538 12.9231C13.9872 12.9231 13.8429 12.984 13.7212 13.1058C13.5994 13.2276 13.5385 13.3718 13.5385 13.5385C13.5385 13.7051 13.5994 13.8494 13.7212 13.9712C13.8429 14.0929 13.9872 14.1538 14.1538 14.1538C14.3205 14.1538 14.4647 14.0929 14.5865 13.9712C14.7083 13.8494 14.7692 13.7051 14.7692 13.5385ZM16 11.3846V14.4615C16 14.7179 15.9103 14.9359 15.7308 15.1154C15.5513 15.2949 15.3333 15.3846 15.0769 15.3846H0.923077C0.666667 15.3846 0.448718 15.2949 0.269231 15.1154C0.0897436 14.9359 0 14.7179 0 14.4615V11.3846C0 11.1282 0.0897436 10.9103 0.269231 10.7308C0.448718 10.5513 0.666667 10.4615 0.923077 10.4615H5.02885C5.16346 10.8205 5.38942 11.1154 5.70673 11.3462C6.02404 11.5769 6.37821 11.6923 6.76923 11.6923H9.23077C9.6218 11.6923 9.97596 11.5769 10.2933 11.3462C10.6106 11.1154 10.8365 10.8205 10.9712 10.4615H15.0769C15.3333 10.4615 15.5513 10.5513 15.7308 10.7308C15.9103 10.9103 16 11.1282 16 11.3846ZM12.875 5.15385C12.766 5.41026 12.5769 5.53846 12.3077 5.53846H9.84615V9.84615C9.84615 10.0128 9.78526 10.1571 9.66346 10.2788C9.54167 10.4006 9.39744 10.4615 9.23077 10.4615H6.76923C6.60256 10.4615 6.45833 10.4006 6.33654 10.2788C6.21474 10.1571 6.15385 10.0128 6.15385 9.84615V5.53846H3.69231C3.42308 5.53846 3.23397 5.41026 3.125 5.15385C3.01603 4.90385 3.0609 4.68269 3.25962 4.49038L7.56731 0.182692C7.68269 0.0608974 7.82692 0 8 0C8.17308 0 8.31731 0.0608974 8.43269 0.182692L12.7404 4.49038C12.9391 4.68269 12.984 4.90385 12.875 5.15385Z",fill:"#4D6C8E"}})]),t._v("\n        "+t._s(t.inputFilesText)+"\n        "),t.files.length?e("span",{staticClass:"trash-button",attrs:{title:"Clear files"},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.clearFiles()}}},[e("svg",{attrs:{width:"6",height:"8",viewBox:"0 0 6 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M0.416667 6.66667C0.416667 7.125 0.791667 7.5 1.25 7.5H4.58333C5.04167 7.5 5.41667 7.125 5.41667 6.66667V1.66667H0.416667V6.66667ZM5.83333 0.416667H4.375L3.95833 0H1.875L1.45833 0.416667H0V1.25H5.83333V0.416667Z",fill:"#FA4B57"}})])]):t._e()]),e("input",{ref:"fileInput",staticStyle:{display:"none"},attrs:{type:"file",required:t.required,id:t.componentId+"file"+t.data.field_id,accept:t.data.accept,multiple:"yes"==t.data.multiple,name:"yes"==t.data.multiple?t.data.tag+"[]":t.data.tag},on:{change:t.handleChange}}),e("small",{directives:[{name:"show",rawName:"v-show",value:""!=t.data.help_text,expression:"data.help_text != ''"}],staticClass:"form-text text-muted",staticStyle:{width:"100%"}},[t._v(t._s(t.data.help_text))])])])},mn=[],bn={name:"FileMailingBoss",props:["label","selected","data","showPlaceholder","showLabel","componentId"],data:function(){return{files:[]}},methods:{openFileSelector:function(){this.$refs.fileInput.click()},handleChange:function(){this.files=Array.from(this.$refs.fileInput.files)},clearFiles:function(){this.$refs.fileInput.value=null,this.files=[]},truncateFileName:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20;if(t.length<=e)return t;var n="...",i=e-n.length,o=Math.ceil(i/2),a=Math.floor(i/2),r=t.slice(0,o),s=t.slice(-a);return r+n+s}},computed:{placeholder:function(){return this.showPlaceholder?this.label:""},required:function(){return"yes"===this.data.required},inputFilesText:function(){var t=this.files.length;return 0===t?"":1===t?this.truncateFileName(this.files[0].name):"".concat(t," ").concat($t("ct-files-selected"))}}},_n=bn,yn=(n("6195"),Object(b["a"])(_n,pn,mn,!1,null,null,null)),vn=yn.exports,wn={name:"MailingBossFormComponent",props:["config","id","preview","device"],mixins:[on,ft],components:{SweetModal:j["a"],VueRecaptcha:Ae["a"]},computed:{getAction:function(){var t=window.location.host,e=this.getMailingBossUrl(t);return"".concat(e,"/lists/").concat(this.internal_config.listUid,"/subscribe")},horizontal:function(){return this.internal_config.horizontal},buttonWidth:function(){return parseInt(this.internal_config.button.width)+"% !important"},buttonHeight:function(){return parseInt(this.internal_config.button.height)+"px"},buttonBorder:function(){return this.internal_config.button.border},buttonBoxShadow:function(){return this.internal_config.button.boxShadow},buttonRadius:function(){return this.internal_config.button.borderRadius}
1,buttonBackground:function(){var t=this.internal_config.button.backgroundColor;return this.$globalStoreHelpers.isValidHex(t)&&(t=this.$globalStoreHelpers.hexToRGBA(t)),this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage&&(t+=' url("'+this.internal_config.button.backgroundImage+'")',t+=" "+this.internal_config.button.backgroundPosition,t+=" / "+this.internal_config.button.backgroundSize,t+=" "+this.internal_config.button.backgroundRepeat,t+=" "+this.internal_config.button.backgroundOrigin),t},formAlreadyHasMetacsumField:function(){return this.internal_config.dataList.filter((function(t){return"METACSUM"===(t.tag||"").toUpperCase()})).length>0}},data:function(){return Oe.data()},methods:{onVerify:function(t){this.recaptchaResponse=t,console.log("verified",this.recaptchaResponse)},onExpired:function(){console.log("expired"),this.recaptchaResponse=null,this.$refs.recaptcha.reset()},dataTag:function(){return this.internal_config.tag?this.internal_config.tag:""},registerOnSocialProof:function(){var t=Object(u["a"])(regeneratorRuntime.mark((function t(){var e,n,i,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(t.prev=0,e=parseInt(this.internal_config.socialproof_campaign_id),n=this.internal_config.socialproof_user_name_tag,i=this.$refs.form.querySelector('[name="'.concat(n,'"]')),!(e&&n&&i)){t.next=9;break}return o=new FormData,o.set("user_name",i.value),t.next=9,R()({method:"post",url:"/cheetah/social-proof/register/"+e,data:o}).then((function(t){}));case 9:t.next=14;break;case 11:t.prev=11,t.t0=t["catch"](0),console.error(t.t0);case 14:case"end":return t.stop()}}),t,this,[[0,11]])})));function e(){return t.apply(this,arguments)}return e}(),submit:function(t){var e=this,n=this.$refs.container,i=n.getElementsByClassName("form-group"),o=!1;localStorage.removeItem("mboss-data");var a=n.querySelector('[name="EMAIL"]'),r=n.querySelector('[name="EMAIL_CONFIRM"]');if(a&&r){if(a.value!==r.value)return this.$root.$emit("errorMessagePopup",[this.$t("ct-emails-dont-match-publication")]),void(r.classList+=" is-invalid");r.classList.remove("is-invalid")}for(var s,c,l=function(){s=i[d].querySelector("input, select, textarea"),c=i[d].hasAttribute("data-check-required");try{-1!==s.name.toLowerCase().indexOf("email")&&""!==s.value&&localStorage.setItem("leadEmail",s.value),"fname"===s.name.toLowerCase()&&""!==s.value&&localStorage.setItem("leadName",s.value),"name"===s.name.toLowerCase()&&""!==s.value&&localStorage.setItem("leadName",s.value),"fnome"===s.name.toLowerCase()&&""!==s.value&&localStorage.setItem("leadName",s.value),"nome"===s.name.toLowerCase()&&""!==s.value&&localStorage.setItem("leadName",s.value),"cadastro_nome"===s.name.toLowerCase()&&""!==s.value&&localStorage.setItem("leadName",s.value)}catch(r){console.log(r)}if("none"===i[d].style.display)return 1;if(c)try{var e=i[d].querySelectorAll("[type=checkbox][data-required=true],[type=radio][data-required=true]"),n=0;e.length>0&&(e.forEach((function(t){t.checked&&n++})),0===n?(o=!0,e[0].style.outlineColor="red",e[0].style.outlineWidth="1px",e[0].style.outlineStyle="solid"):(e[0].style.outlineColor="transparent",e[0].style.outlineWidth="1px",e[0].style.outlineStyle="solid"))}catch(t){console.warn("Error",t)}else if("file"==s.type){var a=i[d].querySelector(".upload-trigger");s.required&&!s.files.length?(o=!0,a.style.outlineColor="red",a.style.outlineWidth="1px",a.style.outlineStyle="solid"):(a.style.outlineColor="transparent",a.style.outlineWidth="1px",a.style.outlineStyle="solid")}else s.required&&""===s.value?(o=!0,s.style.outlineColor="red",s.style.outlineWidth="1px",s.style.outlineStyle="solid"):(s.style.outlineColor="transparent",s.style.outlineWidth="1px",s.style.outlineStyle="solid")},d=0,h=i.length;d<h;d++)l();function g(){return f.apply(this,arguments)}function f(){return f=Object(u["a"])(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return"undefined"!==typeof __baCRMTracking&&__baCRMTracking.onSubmit(t),localStorage.getItem("MAILING_BOSS_TRACKING")&&null!=localStorage.getItem("leadEmail")&&"undefined"!=typeof MailingBossTracking&&(console.log("mboss lead register"),n={leadEmail:localStorage.getItem("leadEmail"),reference:localStorage.getItem("MAILING_BOSS_REFERENCE")},MailingBossTracking.init(localStorage.getItem("MAILING_BOSS_TOKEN"),n)),e.next=4,this.registerOnSocialProof();case 4:this.$refs.form.submit();case 5:case"end":return e.stop()}}),e,this)}))),f.apply(this,arguments)}if(!this.internal_config.recaptchaSiteKey||""!==this.recaptchaResponse&&null!==this.recaptchaResponse||(o=!0),o)this.$root.$emit("errorMessagePopup",[this.$t("ct-please-check-the-required-fields")]);else{var p=this;if(!this.internal_config.recaptchaSiteKey)return g.call(this);var m=new FormData;m.set("id",this.id),m.set("g-recaptcha-response",this.recaptchaResponse),R()({method:"post",url:"/cheetah/mailingboss_form_submit?id="+this.id,data:m}).then((function(t){if(1==t.data.success)return g.call(p);e.$root.$emit("errorMessagePopup",[t.data.msg])}))}},close:function(){this.internal_config.listUid,this.$refs.modal.close()},buildFields:function(t){var e=this;t.$refs.container.innerHTML="";var n=2==t.internal_config.dataList.filter((function(t){return["PHONE","PHONEPREFIX"].includes(t.tag)})).length;t.internal_config.dataList.forEach((function(i){var o,a=i.type.identifier;"PHONEPREFIX"==i.tag&&n||("PHONE"==i.tag&&n?o=t.createPhoneField():"textarea"===a?o=t.createTextField(i,!0):"text"===a?o=t.createTextField(i,!1):"multiselect"===a?o=t.createDropDown(i,!0):"dropdown"===a?o=t.createDropDown(i,!1):"datetime"===a?o=t.createDateTime(i,!0):"date"===a?o=t.createDateTime(i,!1):"checkbox"===a?o=t.createCheckField(i,"checkbox"):"radio"===a?o=t.createCheckField(i,"radio"):"file"===a&&(o=t.createFileField(i)),o&&e.$refs.container.appendChild(o))}))},selectList:function(){},textStyle:function(){var t=!("undefined"===typeof this.internal_config.button.textStyle.sizeMobile||!this.internal_config.button.textStyle.sizeMobile)&&this.internal_config.button.textStyle.sizeMobile;return"font-family:  ".concat(this.internal_config.button.textStyle.family,";\n                 font-size: ").concat("mobile"===this.device&&t?t:this.internal_config.button.textStyle.size,";\n                 text-align: ").concat(this.internal_config.button.textStyle.align,";\n                 font-weight: ").concat(this.internal_config.button.textStyle.weight,";\n                 font-style: ").concat(this.internal_config.button.textStyle.style,";\n                 color: ").concat(this.internal_config.button.textStyle.color)},subTextStyle:function(){var t=!("undefined"===typeof this.internal_config.button.subTextStyle.sizeMobile||!this.internal_config.button.subTextStyle.sizeMobile)&&this.internal_config.button.subTextStyle.sizeMobile;return"font-family:  ".concat(this.internal_config.button.subTextStyle.family,";\n                 font-size: ").concat("mobile"===this.device&&t?t:this.internal_config.button.subTextStyle.size,";\n                 text-align: ").concat(this.internal_config.button.subTextStyle.align,";\n                 font-weight: ").concat(this.internal_config.button.subTextStyle.weight,";\n                 font-style: ").concat(this.internal_config.button.subTextStyle.style,";\n                 color: ").concat(this.internal_config.button.subTextStyle.color)},buildIcon:function(){$(this.$el).find("i").detach(),""!==this.internal_config.button.icon&&("left"===this.internal_config.button.iconPosition&&$("<i>").addClass(this.$addIconPrefix(this.internal_config.button.icon)).prependTo($(this.$el).find(".sb-text").get(0)),"right"===this.internal_config.button.iconPosition&&$("<i>").addClass(this.$addIconPrefix(this.internal_config.button.icon)).appendTo($(this.$el).find(".sb-text").get(0)))},build:function(t){this.internal_config=t,this.buildIcon()},style:function(){return"left:  ".concat(this.internal_config.left,";\n            padding-top: ").concat(this.internal_config.paddingTop,";\n            width: ").concat(this.internal_config.width,";\n            z-index: ").concat("auto"==this.internal_config.zIndex||"0"==this.internal_config.zIndex?"6":this.internal_config.zIndex,";\n            max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n            padding-left: ").concat(this.internal_config.paddingLeft,";\n            padding-right: ").concat(this.internal_config.paddingRight,";\n            padding-bottom: ").concat(this.internal_config.paddingBottom,";\n            top: ").concat(this.internal_config.top,";")},createCheckField:function(t,e){var n=o["default"].extend(Ee),i=new n({propsData:{type:e,label:t.label,required:t.required,options:t.options,showLabel:this.internal_config.showLabel,showPlaceholder:this.internal_config.showPlaceholder,selected:[],data:t}});return i.$mount(),i.$el},createDropDown:function(t,e){var n=e?[]:"";t.default_value&&(e?n.push(t.default_value):n=t.default_value);var i=o["default"].extend(Ue),a=new i({propsData:{label:t.label,options:t.options,showLabel:this.internal_config.showLabel,showPlaceholder:this.internal_config.showPlaceholder,selected:n,data:t,multiple:e}});return a.$mount(),a.$el},createDateTime:function(t,e){var n=o["default"].extend(en),i=new n({propsData:{label:t.label,data:t,showLabel:this.internal_config.showLabel,showPlaceholder:this.internal_config.showPlaceholder,value:(new Date).toString(),type:e?"datetime":"date",is_mailingboss:!0}});return i.$mount(),i.$el},createFileField:function(t){var e=o["default"].extend(vn),n=new e({propsData:{label:t.label,value:"",showLabel:this.internal_config.showLabel,showPlaceholder:this.internal_config.showPlaceholder,data:t,componentId:this.id}});return n.$mount(),n.$el},createTextField:function(t,e){var n=o["default"].extend(Ye),i=new n({propsData:{label:t.label,showLabel:this.internal_config.showLabel,showPlaceholder:this.internal_config.showPlaceholder,value:"",data:t,area:e}});return i.$mount(),i.$el},createPhonePrefixField:function(t,e){var n=o["default"].extend(fn),i=new n({propsData:{label:t.label,options:t.options,showLabel:this.internal_config.showLabel,showPlaceholder:this.internal_config.showPlaceholder,value:"",data:t}});return i.$mount(),i.$el},createPhoneField:function(){var t=this.internal_config.dataList.find((function(t){return"PHONE"==t.tag})),e=this.internal_config.dataList.find((function(t){return"PHONEPREFIX"==t.tag})),n=this.createTextField(t),i=this.createPhonePrefixField(e),o=document.createElement("div");return o.classList.add("phone-field-wrapper"),o.appendChild(i),o.appendChild(n),o},inputStyle:function(){var t=this,e=this.$el.getElementsByClassName("form-control");[].forEach.call(e,(function(e){e.style.backgroundColor=t.internal_config.inputBgColor,e.style.border=t.internal_config.inputBorder,"TEXTAREA"===e.tagName&&t.internal_config.textareaHeight?(e.style.height=t.internal_config.textareaHeight,e.classList.add("form-control-textarea-has-height")):e.style.height=t.internal_config.inputHeight,e.style.borderRadius=t.
1internal_config.inputRadius,e.style.fontFamily=t.internal_config.inputStyle.family,e.style.fontSize=t.internal_config.inputStyle.size,e.style.textAlign=t.internal_config.inputStyle.align,e.style.fontStyle=t.internal_config.inputStyle.style,e.style.fontStyle=t.internal_config.inputStyle.style,e.style.color=t.internal_config.inputStyle.color})),t.$el.style.color=t.internal_config.labelStyle},getCookie:function(t){for(var e=t+"=",n=decodeURIComponent(document.cookie),i=n.split(";"),o=0;o<i.length;o++){var a=i[o];while(" "==a.charAt(0))a=a.substring(1);if(0==a.indexOf(e))return a.substring(e.length,a.length)}return!1},checkGdpr:function(){try{if(window.gdprSettings&&window.gdprSettings.active&&this.$props.config.recaptchaSiteKey)return this.getCookie("cookieControl")}catch(t){console.log(t)}return!0},init:function(){var t=this,e=this;this.build(this.$props.config),this.internal_config.button.subText=this.internal_config.button.subtext,Object.keys(this.props).forEach((function(e){"undefined"===typeof t.internal_config[e]&&(t.internal_config[e]=t.props[e])})),this.$root.$emit("applyAnimation",this,"sitebuilder-element-container"),this.$el.classList.add("preview"),this.$el.addEventListener("mouseover",(function(){e.$globalStoreHelpers.isValidHex(e.internal_config.button.backgroundColorHover)&&(e.internal_config.button.backgroundColorHover=e.$globalStoreHelpers.hexToRGBA(e.internal_config.button.backgroundColorHover)),e.$globalStoreHelpers.isValidHex(e.internal_config.button.textColorHover)&&(e.internal_config.button.textColorHover=e.$globalStoreHelpers.hexToRGBA(e.internal_config.button.textColorHover)),document.body.style.setProperty("--button-background-color--hover",e.internal_config.button.backgroundColorHover),document.body.style.setProperty("--button-text-color--hover",e.internal_config.button.textColorHover)}));var n=new URL(window.location.href),i=n.searchParams.get("origin_uid");if(null!==i&&(this.originUid=i),""===this.internal_config.listUid?this.listsOfUser():this.buildFields(this),this.$nextTick((function(){t.inputStyle()}
1)),this.setColumns(),$('input[name="PHONE"]').keyup((function(t){/\D/g.test(this.value)&&(this.value=this.value.replace(/\D/g,""))})),"undefined"!==typeof this.internal_config.horizontal_config){var o="undefined"!==typeof this.internal_config.horizontal_config_mobile&&this.internal_config.horizontal_config_mobile;this.testAlan(this.internal_config.horizontal_config,o)}}},mounted:function(){if(this.gdprAllowed=this.checkGdpr(),!this.gdprAllowed){console.log("form with recaptcha not allowed to load");var t=this;window.addEventListener("gdprStatusChanged",(function(){console.log("event received"),t.gdprAllowed=t.checkGdpr()}))}},watch:{gdprAllowed:function(t){var e=this;t&&this.$nextTick((function(){console.log("form loading allowed"),e.init()}))}}},xn=wn,kn=(n("b444"),n("2d8d"),Object(b["a"])(xn,Te,Pe,!1,null,"13d75371",null)),Sn=kn.exports,Cn=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:t.id,element:"LaunchAppComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile,"config-properties":JSON.stringify(t.internal_config)}},[e("div",{staticClass:"launch-app-container",staticStyle:{"padding-top":"30px"}},[e("div",{staticClass:"desktop-element"},[e("div",{staticClass:"form-row align-items-center"},[e("div",{staticClass:"form-group col-9"},[e("input",{staticClass:"form-control",style:t.styleInput(),attrs:{type:"text",readonly:""},domProps:{value:"".concat(t.internal_config.url)}})]),e("div",{staticClass:"form-group col-3",on:{click:function(e){return t.copyCLipBoard(t.internal_config.url)}}},[e("button",{staticClass:"btn btn-copy-launch",style:t.buttonTextStyle(),on:{click:function(e){return t.copyCLipBoard(t.internal_config.url)}}},[t._v(" "+t._s(t.$t("ct-launch-copy"))+" ")])])])]),e("div",{staticClass:"form-row align-items-center mobile-element"},[e("div",{staticClass:"input-group mb-3"},[e("input",{staticClass:"form-control",style:t.styleInput(!0),attrs:{type:"text",readonly:""},domProps:{value:"".concat(t.internal_config.url)}}),e("div",{staticClass:"input-group-append",on:{click:function(e){return t.copyCLipBoard(t.internal_config.url)}}},[e("span",{staticClass:"input-group-text btn-copy-launch",staticStyle:{cursor:"pointer"},style:t.buttonTextStyle(!0),on:{click:function(e){return t.copyCLipBoard(t.internal_config.url)}}},[e("i",{staticClass:"fa fa-copy"})])])])]),e("span",{staticClass:"share-bar",style:t.shareBarDivStyle()},[e("a",{directives:[{name:"show",rawName:"v-show",value:t.internal_config.show.share_email,expression:"internal_config.show.share_email"}],staticClass:"post-share-icon far fa-envelope",style:t.shareButtonStyle(),attrs:{href:"mailto:?body=".concat(t.internal_config.url),target:"_blank"}}),e("a",{directives:[{name:"show",rawName:"v-show",value:t.internal_config.show.share_facebook,expression:"internal_config.show.share_facebook"}],staticClass:"post-share-icon fab fa-facebook-f",style:t.shareButtonStyle(),attrs:{href:"https://www.facebook.com/sharer/sharer.php?u=".concat(t.internal_config.url),target:"_blank"}}),e("a",{directives:[{name:"show",rawName:"v-show",value:t.internal_config.show.share_twitter,expression:"internal_config.show.share_twitter"}],staticClass:"post-share-icon fab fa-twitter",style:t.shareButtonStyle(),attrs:{href:"https://www.twitter.com/share?url=".concat(t.internal_config.url),target:"_blank"}}),e("a",{directives:[{name:"show",rawName:"v-show",value:t.internal_config.show.share_linkedin,expression:"internal_config.show.share_linkedin"}],staticClass:"post-share-icon fab fa-linkedin-in",style:t.shareButtonStyle(),attrs:{href:"https://www.linkedin.com/cws/share?url=".concat(t.internal_config.url),target:"_blank"}}),e("a",{directives:[{name:"show",rawName:"v-show",value:t.internal_config.show.share_whatsapp,expression:"internal_config.show.share_whatsapp"}],staticClass:"post-share-icon fab fa-whatsapp",style:t.shareButtonStyle(),attrs:{href:"https://wa.me/?text=".concat(t.internal_config.url),target:"_blank"}}),e("a",{directives:[{name:"show",rawName:"v-show",value:t.internal_config.show.share_telegram,expression:"internal_config.show.share_telegram"}],staticClass:"post-share-icon fab fa-telegram",style:t.shareButtonStyle(),attrs:{href:"https://telegram.me/share/url?url=".concat(t.internal_config.url)}})]),e("div",{staticStyle:{"padding-top":"55px"},style:{"padding-left":t.internal_config.texts.padding.left,"padding-top":t.internal_config.texts.padding.top}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.internal_config.show.ranking,expression:"internal_config.show.ranking"}]},[e("p",{staticClass:"clean-text-css",style:t.titlePositionStyle()},[t._v(t._s(t.$t("ct-launch-position")))]),e("p",{staticClass:"clean-text-css launch-rank-position",style:t.resultPositionStyle()},[t._v(t._s(t.internal_config.rank_position))])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.internal_config.show.count,expression:"internal_config.show.count"}],staticClass:"form-group",style:{"margin-top":t.internal_config.texts.padding.between}},[e("p",{staticClass:"clean-text-css",style:t.titlePositionStyle()},[t._v(t._s(t.$t("ct-launch-count")))]),e("p",{staticClass:"clean-text-css launch-rank-total",style:t.resultPositionStyle()},[t._v(t._s(t.internal_config.rank_total))])])])])])},In=[],$n={data:function(){return{sidebar:"2",keyChange:0,props:{name:"LaunchAppComponent",zIndex:"auto",paddingTop:"0px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px"},internal_config:{width:"500px",height:"100px",zIndex:"auto",showDesktop:!0,showMobile:!0,paddingTop:"0px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",left:"0px",top:"0px",show:{ranking:!1,
1count:!1,share_theme:"circle",share_align:"center",share_copy:!0,share_email:!0,share_facebook:!0,share_twitter:!0,share_linkedin:!0,share_whatsapp:!0,share_telegram:!0},url:"page",rank_position:"-",rank_total:"-",input:{height:"30px",family:"Lato, sans-serif",size:"25px",sizeMobile:"15px",color:"black",align:"left",weight:"400",style:"initial",stroke:"none"},button:Object(d["a"])(Object(d["a"])(Object(d["a"])(Object(d["a"])(Object(d["a"])(Object(d["a"])(Object(d["a"])(Object(d["a"])({theme:"circle",background:"#fff",color:"#000",text:"copy",width:"60px",height:"60px",radius:"0%",family:"Lato, sans-serif",size:"25px",sizeMobile:"15px"},"color","black"),"align","left"),"weight","400"),"style","initial"),"stroke","none"),"verticalPadding","5px"),"horizontalPadding","5px"),"paddingLeft","5px"),texts:{padding:{left:"0px",top:"20px",between:"20px"},position_title:{family:"Lato, sans-serif",size:"25px",sizeMobile:"15px",color:"black",align:"left",weight:"400",style:"initial",stroke:"none"},position_result:{family:"Lato, sans-serif",size:"25px",sizeMobile:"15px",color:"black",align:"left",weight:"400",style:"initial",stroke:"none"},count_title:{},count_result:{}}}}}},Tn=n("2ef0"),Pn=n.n(Tn),On={name:"LaunchAppComponent",props:["config","id"],data:function(){return $n.data()},methods:{shareControl:function(t){},build:function(t){this.internal_config=Pn.a.merge(this.internal_config,t)},handler:function(t){this.$root.$emit("focusElement",this),this.$root.$emit("handlerElement",this,!0),t.stopPropagation(),t.preventDefault()},focusElement:function(t){this.$root.$emit("focusElement",this),this.$root.$emit("handlerElement",this),t.stopPropagation(),t.preventDefault()},onResize:function(t,e,n,i){this.internal_config.width=n+"px",this.internal_config.height=i+"px"},shareBarDivStyle:function(){return"display: flex; justify-content: ".concat(this.internal_config.show.share_align,"; flex-wrap: wrap;")},shareButtonStyle:function(){var t="circle"===this.internal_config.show.share_theme?"border-radius: 50%;":"";return t},style:function(){return"width: ".concat(this.internal_config.width,";\n               height:  ").concat(this.internal_config.height,";\n               z-index: ").concat(this.internal_config.zIndex,";\n               margin: 0 auto;\n               padding-top: ").concat(this.internal_config.paddingTop,";\n               padding-left: ").concat(this.internal_config.paddingLeft,";\n               padding-right: ").concat(this.internal_config.paddingRight,";\n               padding-bottom: ").concat(this.internal_config.paddingBottom,";\n               left:  ").concat(this.internal_config.left,";\n               top: ").concat(this.internal_config.top)},buttonTextStyle:function(){return"font-family:  ".concat(this.internal_config.button.family,";\n                  font-size: ").concat(this.internal_config.button.size,"px;\n                  text-align: ").concat(this.internal_config.button.align,";\n                  font-weight: ").concat(this.internal_config.button.weight,";\n                  font-style: ").concat(this.internal_config.button.style,";\n                  text-decoration: ").concat(this.internal_config.button.stroke,";\n                  color: ").concat(this.internal_config.button.color,";\n                  background: ").concat(this.internal_config.button.background,";  \n                  border-radius : ").concat(this.internal_config.button.radius,"; \n                \n                  padding-left: ").concat(this.internal_config.button.horizontalPadding,";\n                  padding-right: ").concat(this.internal_config.button.horizontalPadding,";\n                  padding-top: ").concat(this.internal_config.button.verticalPadding,";\n                  padding-bottom: ").concat(this.internal_config.button.verticalPadding,";\n                  margin-left: ").concat(this.internal_config.button.paddingLeft,";")},titlePositionStyle:function(){return"font-family:  ".concat(this.internal_config.texts.position_title.family,";\n                  font-size: ").concat(this.internal_config.texts.position_title.size,"px;\n                  text-align: ").concat(this.internal_config.texts.position_title.align,";\n                  font-weight: ").concat(this.internal_config.texts.position_title.weight,";\n                  font-style: ").concat(this.internal_config.texts.position_title.style,";\n                  text-decoration: ").concat(this.internal_config.texts.position_title.stroke,";\n                  color: ").concat(this.internal_config.texts.position_title.color)},resultPositionStyle:function(){return"font-family:  ".concat(this.internal_config.texts.position_result.family,";\n                  font-size: ").concat(this.internal_config.texts.position_result.size,"px;\n                  text-align: ").concat(this.internal_config.texts.position_result.align,";\n                  font-weight: ").concat(this.internal_config.texts.position_result.weight,";\n                  font-style: ").concat(this.internal_config.texts.position_result.style,";\n                  text-decoration: ").concat(this.internal_config.texts.position_result.stroke,";\n                  color: ").concat(this.internal_config.texts.position_result.color)},styleInput:function(){return"font-family:  ".concat(this.internal_config.input.family,";\n                  font-size: ").concat(this.internal_config.input.size,"px;\n                  text-align: ").concat(this.internal_config.input.align,";\n                  font-weight: ").concat(this.internal_config.input.weight,";\n                  font-style: ").concat(this.internal_config.input.style,";\n                  text-decoration: ").concat(this.internal_config.input.stroke,";\n                  color: ").concat(this.internal_config.input.color,";\n                  height: ").concat(this.internal_config.input.height)},copyCLipBoard:function(t){var e=document.createElement("input"),n=t;document.body.appendChild(e),e.value=n,e.select(),document.execCommand("copy"),document.body.removeChild(e),console.log("final"),$(".btn-copy-launch").html('<i class="fa fa-check"></i>'),$(".btn-copy-launch").fadeOut(500).fadeIn(500)}},mounted:function(){this.build(this.$props.config);var t=this,e=0;try{var n=function(t,e){var n=new RegExp("[?&]"+t+"=([^&#]*)").exec(e||decodeURIComponent(window.location.href));return n&&n.length?n[1]:0}
1,i=function(t){var e=document.cookie.match("(^|;) ?"+t+"=([^;]*)(;|$)");return e?e[2]:null},o=function(){var t=location.hash,e=!!t.length,n=null;return e&&(match=t.match(/aid=([0-9]+)/))&&(n=match[1]),n};e=n("aid")||i("IdPaiOffice")||o();var a=n("launch");0!==a&&(e=n("uid"))}catch(l){console.log(l)}var r=new URL(window.location.href),s=r.searchParams.get("mbsubscriber_uid");try{if(null===s){var c=localStorage.getItem("mbsubscriber_uid");null!==c&&(s=c)}else localStorage.setItem("mbsubscriber_uid",s)}catch(l){console.log(l)}null!==s&&(t.internal_config.url=0!==e&&null!==e?"".concat(window.location.origin,"/").concat(t.internal_config.url,"?aid=").concat(e,"&origin_uid="):"".concat(window.location.origin,"/").concat(t.internal_config.url,"?origin_uid="),t.internal_config.url=t.internal_config.url+s,R.a.get("/cheetah/pixel/ranking?subscriber_id=".concat(s)).then((function(e){console.log(e.data),t.internal_config.rank_position=e.data.rank_position,t.internal_config.rank_total=e.data.rank_total,$(".launch-rank-position").text(e.data.rank_position),$(".launch-rank-total").text(e.data.rank_total)})))}},An=On,Rn=(n("3126"),Object(b["a"])(An,Cn,In,!1,null,"75ba9451",null)),Bn=Rn.exports,Ln=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:this.id,"data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile,element:"GetResponseFormComponent"}},[e("div",{style:"transform: rotate(".concat("desktop"===this.$props.device?this.internal_config.rotation:0,") scale(1);")},[e("form",{ref:"form",staticClass:"form-getresponse",class:t.horizontal?"horizontal-form":"",attrs:{id:t.internal_config.listUid,method:"post"}},[e("div",{ref:"container",staticClass:"inputs-area"}),t.internal_config.recaptchaSiteKey?e("div",{staticClass:"recaptcha-container"},[e("vue-recaptcha",{attrs:{sitekey:t.internal_config.recaptchaSiteKey}})],1):t._e(),e("div",{staticClass:"place-btn",on:{click:function(e){return t.submit(e)}}},[e("div",{staticClass:"bt-sb",style:{width:t.buttonWidth,border:t.buttonBorder,"border-radius":t.buttonRadius,background:t.buttonBackground,"box-shadow":t.buttonBoxShadow}},[e("div",{staticClass:"btn-text-area",style:{minHeight:t.buttonHeight}},[e("div",{staticClass:"sb-text",style:t.textStyle()},[t._v(t._s(t.internal_config.button.text)+"\n            ")]),e("small",{directives:[{name:"show",rawName:"v-show",value:""!=t.internal_config.button.subText,expression:"internal_config.button.subText != ''"}],staticClass:"sb-sub-text",style:t.subTextStyle()},[t._v(t._s(t.internal_config.button.subText))])])])])])])])},zn=[],Mn={data:function(){return{props:{tag:"",zIndex:"auto",maxWidth:"768px",rotation:"0deg",selectionList:[],dataList:[],listUid:"",target:"_self",showLabel:!0,showPlaceholder:!0,left:"0",top:"0",width:"300px",height:"300px",border:"0 none #000000",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",inputHeight:"38px",textareaHeight:"",inputBgColor:"#FFFFFF",inputBorder:"1px solid #000000",inputRadius:"0 0 0 0",inputStyle:{family:"Arial",size:"20px",color:"#000000",align:"left",weight:"400",style:"initial"},animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}},button:{height:"50px",width:"50%",text:"My Button",subText:"",icon:"",iconPosition:"left",border:"0 none #000000",borderRadius:"0 0 0 0",backgroundColor:"#21309b",backgroundColorHover:"#21309b",backgroundImage:"none",backgroundPosition:"center",backgroundOrigin:"border-box",backgroundRepeat:"no-repeat",backgroundSize:"cover",boxShadow:"1px 1px 1px 1px blue",textStyle:{family:"arial, helvetica, sans-serif",size:"15px",color:"White",align:"center",weight:"700",style:"initial"},subTextStyle:{family:"arial, helvetica, sans-serif",size:"15px",color:"White",align:"center",weight:"400",style:"initial"}}},internal_config:{zIndex:"auto",maxWidth:"768px",rotation:"0deg",dataList:[],listUid:"",action:"message",redirectUrl:"",dayOfCycle:null,successMessage:"",showLabel:!0,showPlaceholder:!0,left:"0",top:"0",width:"300px",height:"300px",border:"0 none #000000",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",inputHeight:"38px",inputBgColor:"#FFFFFF",inputBorder:"1px solid #000000",inputRadius:"0 0 0 0",inputStyle:{fam
1ily:"Arial",size:"20px",color:"#000000",align:"left",weight:"400",style:"initial"},animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}},button:{height:"50px",width:"50%",text:"My Button",subText:"",icon:"",iconPosition:"left",border:"0 none #000000",borderRadius:"0 0 0 0",backgroundColor:"#21309b",backgroundColorHover:"#21309b",backgroundImage:"none",backgroundPosition:"center",backgroundOrigin:"border-box",backgroundRepeat:"no-repeat",backgroundSize:"cover",boxShadow:"1px 1px 1px 1px blue",textStyle:{family:"arial, helvetica, sans-serif",size:"15px",color:"White",align:"center",weight:"700",style:"initial"},subTextStyle:{family:"arial, helvetica, sans-serif",size:"15px",color:"White",align:"center",weight:"400",style:"initial"}}}}}},En={name:"GetResponseFormComponent",props:["config","id","preview","device"],components:{VueRecaptcha:Ae["a"]},computed:{horizontal:function(){return this.internal_config.horizontal},buttonWidth:function(){return parseInt(this.internal_config.button.width)+"%"},buttonHeight:function(){return parseInt(this.internal_config.button.height)+"px"},buttonBorder:function(){return this.internal_config.button.border},buttonBoxShadow:function(){return this.internal_config.button.boxShadow},buttonRadius:function(){return this.internal_config.button.borderRadius},buttonBackground:function(){var t=this.internal_config.button.backgroundColor;return this.$globalStoreHelpers.isValidHex(t)&&(t=this.$globalStoreHelpers.hexToRGBA(t)),this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage&&(t+=' url("'+this.internal_config.button.backgroundImage+'")',t+=" "+this.internal_config.button.backgroundPosition,t+=" / "+this.internal_config.button.backgroundSize,t+=" "+this.internal_config.button.backgroundRepeat,t+=" "+this.internal_config.button.backgroundOrigin),t}},data:function(){return Mn.data()},methods:{submit:function(t){var e=this;$("body").addClass("loading");for(var n,i=this.$refs.container,o=i.getElementsByClassName("form-group"),a=!1,r=function(){if(f=o[s].querySelector("input, select, textarea"),n=o[s].hasAttribute("data-check-required"),"none"===o[s].style.display)return 1;if(n)try{var e=o[s].querySelectorAll("[type=checkbox][data-required=true],[type=radio][data-required=true]"),i=0;e.length>0&&(e.forEach((function(t){t.checked&&i++})),0===i?(a=!0,e[0].style.outlineColor="red",e[0].style.outlineWidth="1px",e[0].style.outlineStyle="solid"):(e[0].style.outlineColor="transparent",e[0].style.outlineWidth="1px",e[0].style.outlineStyle="solid"))}catch(t){console.warn("Error",t)}else f.required&&""===f.value?(a=!0,f.style.outlineColor="red",f.style.outlineWidth="1px",f.style.outlineStyle="solid"):(f.style.outlineColor="transparent",f.style.outlineWidth="1px",f.style.outlineStyle="solid")},s=0,c=o.length;s<c;s++)r();var l=(document.getElementById("g-recaptcha-response")||{}).value;if(!this.internal_config.recaptchaSiteKey||""!==l&&null!==l||(a=!0),a)$("body").removeClass("loading"),this.$root.$emit("errorMessagePopup",[this.$t("ct-please-check-the-required-fields")]);else{var d=$(this.$refs.form).serializeArray(),u={};$(d).each((function(t,e){u[e.name]=e.value})),""==this.internal_config.dayOfCycle&&(this.internal_config.dayOfCycle=null);var h={email:u.email,dayOfCycle:this.internal_config.dayOfCycle,name:u.name,campaign:{campaignId:this.$refs.form.id},customFieldValues:[]};for(var g in delete u.email,delete u.name,u){var f={customFieldId:g.replace("[]",""),value:[u[g]]};h.customFieldValues.push(f)}R.a.post("/cheetah/get_response_form_submit?token="+this.internal_config.token+"&id="+this.id,h).then((function(t){U.api().get("/get-response/campaign/"+e.internal_config.token+"/"+e.$refs.form.id).then((function(t){var n=e.internal_config.successMessage;void 0!==n&&""!=n||(n=e.$t("ct-get-response-contact-added-successfully")),"message"==e.internal_config.action?($(e.$refs.form).trigger("reset"),e.$root.$emit("successMessagePopup",n)):"same"==e.internal_config.tab?window.location=e.internal_config.redirectUrl:(window.open(e.internal_config.redirectUrl,"_blank"),e.$root.$emit("successMessagePopup",n)),$("body").removeClass("loading")})).catch((function(t){$("body").removeClass("loading"),e.$root.$emit("errorMessagePopup",t.message)}))})).catch((function(n){$("body").removeClass("loading");try{var i=n.response.data,o=i.message,a=i.context,r=[],s=a.map((function(t){return t.errorDescription}));r="Contact already added"===o?[e.$t("ct-get-response-contact-already-added")]:[e.$t("ct-get-response-validation-error")],r.length&&(r=[].concat(Object(D["a"])(r),Object(D["a"])(s))),e.$root.$emit("errorMessagePopup",r)}catch(t){e.$root.$emit("errorMessagePopup",[e.$t("ct-get-response-validation-error")])}}))}},buildFields:function(t){this.$refs.container.innerHTML="",t.internal_config.fields.forEach((function(e){var n=e,i=e.field,o="undefined"!==typeof e.target_field_type?e.target_field_type:"",a=["textarea","text","multiselect","select","dropdown","datetime","date","checkbox","radio"];n.tag=e.target_field_id,a.includes(o)&&(i=o),["single_select","multi_select"].includes(o)&&("single_select"===o?i="select":"multi_select"===o&&(i="multiselect")),"undefined"===typeof i&&(i="text"),["email","name"].includes(n.tag)&&(n.required="yes",n.visibility="visible"),"textarea"===i&&t.createTextField(e,!0),"text"===i&&t.createTextField(e,!1),"multiselect"===i&&t.createDropDown(e,!0),"select"===i&&t.createDropDown(e,!1),"dropdown"===i&&t.createDropDown(e,!1),"datetime"===i&&t.createDateTime(e,!0),"date"===i&&t.createDateTime(e,!1),"checkbox"===i&&t.createCheckField(e,"checkbox"),"radio"===i&&t.createCheckField(e,"radio")}))},textStyle:function(){return"font-family:  ".concat(this.internal_config.button.textStyle.family,";\n                 font-size: ").concat(this.internal_config.button.textStyle.size,";\n                 text-align: ").concat(this.internal_config.button.textStyle.align,";\n                 font-weight: ").concat(this.internal_config.button.textStyle.weight,";\n                 font-style: ").concat(this.internal_config.button.textStyle.style,";\n                 color: ").concat(this.internal_config.button.textStyle.color)},subTextStyle:function(){return"font-family:  ".concat(this.internal_config.button.subTextStyle.family,";\n                 font-size: ").concat(this.internal_config.button.subTextStyle.size,";\n                 text-align: ").concat(this.internal_config.button.subTextStyle.align,";\n                 font-weight: ").concat(this.internal_config.button.subTextStyle.weight,";\n                 font-style: ").concat(this.internal_config.button.subTextStyle.style,";\n                 color: ").concat(this.internal_config.button.subTextStyle.color)},build:function(t){this.internal_config=t},style:function(){return"left:  ".concat(this.internal_config.left,";\n\t\t\t\t\t\tpadding-top: ").concat(this.internal_config.paddingTop,";\n\t\t\t\t\t\t  width: ").concat(this.internal_config.width,";\n                     z-index: ").concat(this.internal_config.zIndex,";max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n                padding-left: ").concat(this.internal_config.paddingLeft,";\n                padding-right: ").concat(this.internal_config.paddingRight,";\n                padding-bottom: ").concat(this.internal_config.paddingBottom,";\n\t\t\t\t\t\t\t\ttop: ").concat(this.internal_config.top,";")},createCheckField:function(t,e){var n=o["default"].extend(Ee),i=new n({propsData:{type:e,label:t.label,required:t.required,options:t.options,showLabel:!0,showPlaceholder:this.internal_config.showPlaceholder,selected:[],data:t}});i.$mount(),this.$refs.container.appendChild(i.$el)},createDropDown:function(t,e){var n=o["default"].extend(Ue),i=new n({propsData:{label:t.label,options:t.options,showLabel:this.internal_config.showLabel,showPlaceholder:this.internal_config.showPlaceholder,selected:[],data:t,multiple:e}});i.$mount(),this.$refs.container.appendChild(i.$el)},createDateTime:function(t,e){var n=o["default"].extend(en),i=new n({propsData:{label:t.label,data:t,showLabel:this.internal_config.showLabel,showPlaceholder:this.internal_config.showPlaceholder,value:(new Date).toString(),type:e?"datetime":"date"}});i.$mount(),this.$refs.container.appendChild(i.$el)},createTextField:function(t,e){var n=o["default"].extend(Ye),i=new n({propsData:{label:t.label,showLabel:this.internal_config.showLabel,showPlaceholder:this.internal_config.showPlaceholder,value:"",data:t,area:e}});i.$mount(),this.$refs.container.appendChild(i.$el)},inputStyle:function(){var t=this,e=this.$el.getElementsByClassName("form-control");[].forEach.call(e,(function(e){e.style.backgroundColor=t.internal_config.inputColor,e.style.border=t.internal_config.inputBorder,"TEXTAREA"===e.tagName&&t.internal_config.textareaHeight?(e.style.height=t.internal_config.textareaHeight,e.classList.add("form-control-textarea-has-height")):e.style.height=t.internal_config.inputHeight,e.style.borderRadius=t.
1internal_config.inputRadius,e.style.fontFamily=t.internal_config.inputStyle.family,e.style.fontSize=t.internal_config.inputStyle.size,e.style.textAlign=t.internal_config.inputStyle.align,e.style.fontStyle=t.internal_config.inputStyle.style,e.style.fontStyle=t.internal_config.inputStyle.style,e.style.color=t.internal_config.inputStyle.color})),t.$el.style.color=t.internal_config.labelStyle}},mounted:function(){var t=this,e=this;this.build(this.$props.config),this.internal_config.button.subText=this.internal_config.button.subtext,Object.keys(this.props).forEach((function(e){"undefined"===typeof t.internal_config[e]&&(t.internal_config[e]=t.props[e])})),this.$root.$emit("applyAnimation",this,"sitebuilder-element-container"),this.$el.classList.add("preview"),this.$el.addEventListener("mouseover",(function(){e.$globalStoreHelpers.isValidHex(e.internal_config.button.backgroundColorHover)&&(e.internal_config.button.backgroundColorHover=e.$globalStoreHelpers.hexToRGBA(e.internal_config.button.backgroundColorHover)),e.$globalStoreHelpers.isValidHex(e.internal_config.button.textColorHover)&&(e.internal_config.button.textColorHover=e.$globalStoreHelpers.hexToRGBA(e.internal_config.button.textColorHover)),document.body.style.setProperty("--button-background-color--hover",e.internal_config.button.backgroundColorHover),document.body.style.setProperty("--button-text-color--hover",e.internal_config.button.textColorHover)})),""!==this.internal_config.listUid&&this.buildFields(this),this.inputStyle()}},Nn=En,Dn=(n("9aaf"),n("e0a4"),Object(b["a"])(Nn,Ln,zn,!1,null,"77186556",null)),jn=Dn.exports,Hn=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",class:t.internal_config.recaptchaSiteKey?"recaptcha":"",style:t.style(),attrs:{id:this.idSimpleForm,"data-id":this.id,element:"SimpleFormComponent","data-tag":t.dataTag(),"data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile}},[e("div",{style:"transform: rotate(".concat("desktop"===this.$props.device?this.internal_config.rotation:0,") scale(1)")},[t.checkGdpr()?e("form",{ref:"form",class:t.horizontal?"form-mboss horizontal-form":"form-mboss",attrs:{method:"post",action:t.internal_config.action,receiver:t.internal_config.receiver,subject:t.internal_config.subject},on:{submit:function(e){return e.preventDefault(),t.submit(e,t.internal_config)}}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.originUid,expression:"originUid"}],attrs:{type:"hidden",name:"origin_uid"},domProps:{value:t.originUid},on:{input:function(e){e.target.composing||(t.originUid=e.target.value)}}}),e("div",{ref:"container",staticClass:"inputs-area"}),t.internal_config.recaptchaSiteKey?e("div",{staticClass:"recaptcha-container"},[e("vue-recaptcha",{attrs:{sitekey:t.internal_config.recaptchaSiteKey}})],1):e("altcha-widget",{staticClass:"altchaWidget",staticStyle:{"--altcha-border-radius":"5px","--altcha-max-width":"350px","--altcha-color-base":"#f0f0f088"},attrs:{id:"altchaWidget",challengejson:t.alcaptchaChallengeJson,hidefooter:"",auto:""},on:{statechange:t.onAltchaStateChange}}),e("div",{staticClass:"place-btn",style:{margin:t.buttonMargin}},[e("div",{staticClass:"bt-sb",style:{width:t.buttonWidth,border:t.buttonBorder,"border-radius":t.buttonRadius,background:t.buttonBackground,"box-shadow":t.buttonBoxShadow}},[e("div",{staticClass:"bt-text-area d-flex align-items-center flex-wrap overflow-hidden",style:{minHeight:t.buttonHeight}},[e("a",{ref:"buttonClick",staticClass:"sb-text",class:{disabled:t.iconLoading},style:t.textStyle(),on:{click:function(e){return t.submit(e,t.internal_config)}}},[t.iconLoading?e("span",{staticClass:"spinner-border spinner-border-sm mr-1",attrs:{role:"status","aria-hidden":"true"}}):t._e(),t._v(t._s(t.internal_config.button.text)+"\n                    ")]),e("small",{directives:[{name:"show",rawName:"v-show",value:""!=this.internal_config.button.subText,expression:"this.internal_config.button.subText != ''"}],staticClass:"sb-sub-text",style:t.subTextStyle(),on:{click:function(e){return t.$refs.buttonClick.click()}}}
1,[t._v(t._s(t.internal_config.button.subText))])])])])],1):t._e()])])},Fn=[],Un={data:function(){return{originUid:"",iconLoading:!1,alcaptchaResponse:"",alcaptchaChallengeJson:null,errorMessage:[],idSimpleForm:1+Math.floor(199999*Math.random()),props:{tag:"",originUid:"",zIndex:"auto",maxWidth:"768px",rotation:"0deg",socialproof_campaign_id:"0",socialproof_user_name_tag:"FNAME",horizontal_config:{custom:!1,container:{width:50},btnPlace:{width:50,padding:15},fields:[]},newField:{tag:"EMAIL",label:"Email",required:"yes",help_text:null,visibility:"visible",default_value:null,type:{name:"Text",identifier:"text",description:"Text"},options:[]},fields:[{tag:"EMAIL",label:"Email",required:"yes",help_text:null,visibility:"visible",default_value:null,type:{name:"Text",identifier:"text",description:"Text"},options:[]}],target:"_self",action:"",receiver:"",subject:"",showLabel:!0,showPlaceholder:!0,placeholderColor:"#5c5c5c",recaptchaSiteKey:"",recaptchaSecretKey:"",left:"0",top:"0",width:"300px",height:"300px",border:"0 none #000000",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",inputHeight:"38px",textareaHeight:"",inputBgColor:"#FFFFFF",inputBorder:"1px solid #000000",inputRadius:"0 0 0 0",inputStyle:{family:"Arial",size:"20px",color:"#000000",align:"left",weight:"400",style:"initial"},animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}},button:{height:"50px",width:"50%",text:"My Button",subText:"",icon:"",iconPosition:"left",border:"0 none #000000",borderRadius:"0 0 0 0",backgroundColor:"#21309b",backgroundColorHover:"#21309b",backgroundImage:"none",backgroundPosition:"center",backgroundOrigin:"border-box",backgroundRepeat:"no-repeat",backgroundSize:"cover",boxShadow:"1px 1px 1px 1px blue",margin:"15px",textStyle:{family:"arial, helvetica, sans-serif",size:"15px",color:"White",align:"center",weight:"700",style:"initial"},subTextStyle:{family:"arial, helvetica, sans-serif",size:"15px",color:"White",align:"center",weight:"400",style:"initial"}}},internal_config:{zIndex:"auto",maxWidth:"768px",rotation:"0deg",fields:[{tag:"EMAIL",label:"Email",required:"yes",help_text:null,visibility:"visible",default_value:null,type:{name:"Text",identifier:"text",description:"Text"},options:[]}],left:"0",top:"0",target:"_self",action:"",receiver:"",subject:"",showLabel:!0,showPlaceholder:!0,placeholderColor:"#5c5c5c",recaptchaSiteKey:"",recaptchaSecretKey:"",width:"300px",height:"300px",border:"0 none #000000",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",inputHeight:"38px",inputBgColor:"#FFFFFF",inputBorder:"1px solid #000000",inputRadius:"0 0 0 0",inputStyle:{family:"Arial",size:"20px",color:"#000000",align:"left",weight:"400",style:"initial"},animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}},newField:{tag:"EMAIL",label:"Email",required:"yes",help_text:null,visibility:"visible",default_value:null,type:{name:"Text",identifier:"text",description:"Text"},options:[]},button:{height:"50px",width:"50%",text:"My Button",subText:"",icon:"",iconPosition:"left",border:"0 none #000000",borderRadius:"0 0 0 0",backgroundColor:"#21309b",backgroundColorHover:"#21309b",backgroundImage:"none",backgroundPosition:"center",backgroundOrigin:"border-box",backgroundRepeat:"no-repeat",backgroundSize:"cover",boxShadow:"1px 1px 1px 1px blue",margin:"15px",textStyle:{family:"arial, helvetica, sans-serif",size:"15px",color:"White",align:"center",weight:"700",style:"initial"},subTextStyle:{family:"arial, helvetica, sans-serif",size:"15px",color:"White",align:"center",weight:"400",style:"initial"}}}}}},qn={".sitebuilder-publication.kub.app.builderall.io":{altcha:"https://captcha.kub.app.builderall.io"},".sitebuilder-publication.kub.app.builderall.info":{altcha:"https://captcha.kub.app.builderall.info"},default:{altcha:"https://captcha.services.builderall.com"}},Vn=function(){var t=window.location.host,e=Object.keys(qn).find((function(e){return"default"!==e&&t.includes(e)})),n=qn[e]||qn["default"];return n.altcha},Wn=function(t){var e={en:"en",pt:"pt-br",es:"es-es",de:"de",it:"it",fr:"fr-fr"},n=t.slice(0,2).toLowerCase();return e[n]||"en"},Gn=function(){if(!document.getElementById("altcha-lang-loader")){var t=document.documentElement.lang||navigator.language||navigator.userLanguage,e=Wn(t.toLowerCase()),n=document.createElement("script");n.id="altcha-lang-loader",n.src="https://cdn.jsdelivr.net/gh/altcha-org/altcha/dist_i18n/".concat(e,".min.js"),n.type="module",document.head.appendChild(n)}},Jn=function(){Gn();var t=Vn(),e=R.a.create({baseURL:t,timeout:3e5,headers:{Accept:"application/json"}});return e.get("/altcha")};function Yn(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];
1if(!n){if(Array.isArray(t)||(n=Kn(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,r=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return r=t.done,t},e:function(t){s=!0,a=t},f:function(){try{r||null==n.return||n.return()}finally{if(s)throw a}}}}function Kn(t,e){if(t){if("string"==typeof t)return Zn(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Zn(t,e):void 0}}function Zn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}var Qn={name:"SimpleFormComponent",props:["config","id","preview","device"],mixins:[on],components:{VueRecaptcha:Ae["a"]},computed:{horizontal:function(){return this.internal_config.horizontal},buttonWidth:function(){return parseInt(this.internal_config.button.width)+"% !important"},buttonHeight:function(){return parseInt(this.internal_config.button.height)+"px"},buttonBorder:function(){return this.internal_config.button.border},buttonBoxShadow:function(){return this.internal_config.button.boxShadow},buttonRadius:function(){return this.internal_config.button.borderRadius},buttonBackground:function(){var t=this.internal_config.button.backgroundColor;return this.$globalStoreHelpers.isValidHex(t)&&(t=this.$globalStoreHelpers.hexToRGBA(t)),this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage&&(t+=' url("'+this.internal_config.button.backgroundImage+'")',t+=" "+this.internal_config.button.backgroundPosition,t+=" / "+this.internal_config.button.backgroundSize,t+=" "+this.internal_config.button.backgroundRepeat,t+=" "+this.internal_config.button.backgroundOrigin),t}},data:function(){return Un.data()},methods:{registerOnSocialProof:function(){try{var t=parseInt(this.internal_config.socialproof_campaign_id),e=this.internal_config.socialproof_user_name_tag,n=this.$refs.form.querySelector('[name="'.concat(e,'"]'));if(t&&e&&n){var i=new FormData;i.set("user_name",n.value),R()({method:"post",url:"/cheetah/social-proof/register/"+t,data:i}).then((function(t){}))}}catch(o){console.error(o)}},generateId:function(){return 1+Math.floor(199999*Math.random())},dataTag:function(){return this.internal_config.tag?this.internal_config.tag:""},getValidUrl:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=t.trim().replace(/\s/g,"");return e=window.decodeURIComponent(e),/^(:\/\/)/.test(e)?"http".concat(e):/^(f|ht)tps?:\/\//i.test(e)?e:"http://".concat(e)},submit:function(t,e){var n=this;t.preventDefault();for(var i=[],o=document.getElementById(this.idSimpleForm).querySelector("form"),a=o.querySelectorAll(".form-group, .input-group"),r=!0,s=[],c=o.querySelectorAll("input"),l=0;l<c.length;l++){var d=c[l];if("fullname"===d.getAttribute("validation")){var u=/^[a-zA-Z]{2,}\s+[a-zA-Z]{2,}(?:\s+[a-zA-Z]{2,})*$/;u.test(d.value)||(r=!1,s.push(this.$t("ct-please-enter-valid-fullname")+"."))}}for(var h,g,f=function(){if(h=a[p].querySelector("input, select, textarea"),g=a[p].hasAttribute("data-check-required"),g){var t=a[p].querySelectorAll("[type=checkbox][data-check-field],[type=radio][data-check-field]"),n=0,o=[];if(t.length>0){t.forEach((function(t){t.checked&&(n++,o.push(t.value))}));var c=a[p].querySelectorAll("[type=checkbox][data-required=true],[type=radio][data-required=true]");c.length>0&&0===n&&e.fields.forEach((function(t){var i="checkbox"===t.field?t.tag+"[]":t.tag;if(i===h.name&&"yes"===t.required&&0===n&&("radio"===t.field||"checkbox"===t.field)){r=!1;var o=""!==e.isRequiredMessage?e.isRequiredMessage:"is required";s.push(t.label+" "+o+".")}})),o.length>0?o.forEach((function(t){i.push(encodeURIComponent(h.name)+"="+encodeURIComponent(t))})):i.push(encodeURIComponent(h.name)+"=")}}else e.fields.forEach((function(t){try{-1!==h.name.toLowerCase().indexOf("email")&&""!==h.value&&localStorage.setItem("leadEmail",h.value),"fname"===h.name.toLowerCase()&&""!==h.value&&localStorage.setItem("leadName",h.value),"name"===h.name.toLowerCase()&&""!==h.value&&localStorage.setItem("leadName",h.value),"fnome"===h.name.toLowerCase()&&""!==h.value&&localStorage.setItem("leadName",h.value),"nome"===h.name.toLowerCase()&&""!==h.value&&localStorage.setItem("leadName",h.value),"cadastro_nome"===h.name.toLowerCase()&&""!==h.value&&localStorage.setItem("leadName",h.value)}catch(i){console.log(i)}if(-1!==h.name.toLowerCase().indexOf("email")&&""!==h.value&&localStorage.setItem("leadEmail",h.value),t.tag===h.name&&"yes"===t.required&&""===h.value){r=!1;var n=""!=e.isRequiredMessage?e.isRequiredMessage:"is required";s.push(t.label+" "+n+".")}})),i.push(encodeURIComponent(h.name)+"="+encodeURIComponent(h.value))},p=0;p<a.length;p++)f();var m=i.join("&");if(r){var b=this.internal_config.action;if(b&&""!==b.trim()){if("undefined"!==typeof __baCRMTracking&&__baCRMTracking.onSubmit(t),localStorage.getItem("MAILING_BOSS_TRACKING")&&null!=localStorage.getItem("leadEmail")&&"undefined"!=typeof MailingBossTracking){console.log("mboss lead register");var _={leadEmail:localStorage.getItem("leadEmail"),reference:localStorage.getItem("MAILING_BOSS_REFERENCE")};MailingBossTracking.init(localStorage.getItem("MAILING_BOSS_TOKEN"),_)}var y=this;if(b.indexOf("app.mailingboss.com")>
10)"undefined"!==typeof e.redirect&&""!==e.redirect.trim()&&(-1!==b.indexOf("?")?this.internal_config.action=b+"&redir="+y.getValidUrl(e.redirect):this.internal_config.action=b+"?redir="+y.getValidUrl(e.redirect)),setTimeout((function(){y.registerOnSocialProof();var t=y.$refs.form.querySelector("input[name=altcha]");t&&(t.name="alcaptcha"),y.$refs.form.submit()}),2e3);else{var v=(document.getElementById("g-recaptcha-response")||{}).value;if(this.internal_config.recaptchaSiteKey?""!==v&&null!==v||(r=!1,s.push(this.$t("ct-captcha-validation"))):this.alcaptchaResponse||(r=!1,s.push(this.$t("ct-captcha-validation"))),!r)return void this.$root.$emit("errorMessagePopup",s);if(y.registerOnSocialProof(),y.internal_config.action.indexOf("https://office.builderall.com/br/office/create")>-1){y.iconLoading=!0;var w=document.getElementsByTagName("body")[0];w.classList.add("loading-office-checkout")}"undefined"!==typeof e.redirect&&""!==e.redirect.trim()?(R.a.post(y.internal_config.action,m).then((function(t){window.location.href=y.getValidUrl(e.redirect)})),setTimeout((function(){window.location.href=y.getValidUrl(e.redirect)}),2e3)):this.$refs.form.submit()}}else{""!==e.receiver&&null!==e.receiver||(r=!1,s.push("receiver not configured")),""!==e.subject&&null!==e.subject||(r=!1,s.push("subject not configured"));var x=(document.getElementById("g-recaptcha-response")||{}).value;if(this.internal_config.recaptchaSiteKey?""!==x&&null!==x||(r=!1,s.push(this.$t("ct-captcha-validation"))):this.alcaptchaResponse||(r=!1,s.push(this.$t("ct-captcha-validation"))),r){"undefined"!==typeof __baCRMTracking&&__baCRMTracking.onSubmit(t),m=this.internal_config.recaptchaSiteKey?m+"&g-recaptcha-response="+x+"&id="+this.id:m+"&alcaptcha="+this.alcaptchaResponse;var k=this;m=m+"&receiver="+e.receiver+"&subject="+e.subject,R.a.post("/cheetah/form_submit",m).then((function(t){k.registerOnSocialProof(),k.$root.$emit("successMessagePopup",e.successMessage),""!==e.redirect.trim()&&(window.location.href=n.getValidUrl(e.redirect))})).catch((function(t){var e=String(t.response&&t.response.data&&t.response.data.message||t);-1!==e.indexOf("Captcha is invalid")&&(k.alcaptchaResponse="",k.loadingAltcha()),k.$root.$emit("errorMessagePopup",[e])}))}}}r||(t.preventDefault(),this.$root.$emit("errorMessagePopup",s))},save:function(){this.buildFields(this),this.$refs.modal.close()},buildFields:function(t){this.$refs.container.innerHTML="",t.internal_config.fields.forEach((function(e){var n=e.field;"undefined"===typeof n&&(n="text"),"textarea"===n&&t.createTextField(e,!0),"text"===n&&t.createTextField(e,!1),"password"===n&&t.createTextField(e,!1,!0),"multiselect"===n&&t.createDropDown(e,!0),"select"===n&&t.createDropDown(e,!1),"dropdown"===n&&t.createDropDown(e,!1),"datetime"===n&&t.createDateTime(e,!0),"date"===n&&t.createDateTime(e,!1),"checkbox"===n&&t.createCheckField(e,"checkbox"),"radio"===n&&t.createCheckField(e,"radio")})),$("body").removeClass("loading")},textStyle:function(){var t=!("undefined"===typeof this.internal_config.button.textStyle.sizeMobile||!this.internal_config.button.textStyle.sizeMobile)&&this.internal_config.button.textStyle.sizeMobile;return"font-family:  ".concat(this.internal_config.button.textStyle.family,";\n                 font-size: ").concat("mobile"===this.device&&t?t:this.internal_config.button.textStyle.size,";\n                 text-align: ").concat(this.internal_config.button.textStyle.align,";\n                 font-weight: ").concat(this.internal_config.button.textStyle.weight,";\n                 font-style: ").concat(this.internal_config.button.textStyle.style,";\n                 color: ").concat(this.internal_config.button.textStyle.color)},subTextStyle:function(){var t=!("undefined"===typeof this.internal_config.button.subTextStyle.sizeMobile||!this.internal_config.button.subTextStyle.sizeMobile)&&this.internal_config.button.subTextStyle.sizeMobile;return"font-family:  ".concat(this.internal_config.button.subTextStyle.family,";\n                 font-size: ").concat("mobile"===this.device&&t?t:this.internal_config.button.subTextStyle.size,";\n                 text-align: ").concat(this.internal_config.button.subTextStyle.align,";\n                 font-weight: ").concat(this.internal_config.button.subTextStyle.weight,";\n                 font-style: ").concat(this.internal_config.button.subTextStyle.style,";\n                 color: ").concat(this.internal_config.button.subTextStyle.color)},buildIcon:function(){$(this.$el).find("i").detach(),""!==this.internal_config.button.icon&&("left"===this.internal_config.button.iconPosition&&$("<i>").addClass(this.$addIconPrefix(this.internal_config.button.icon)).prependTo($(this.$el).find(".sb-text").get(0)),"right"===this.internal_config.button.iconPosition&&$("<i>").addClass(this.$addIconPrefix(this.internal_config.button.icon)).appendTo($(this.$el).find(".sb-text").get(0)))},build:function(t){this.internal_config=t,this.buildIcon()},style:function(){return"left:  ".concat(this.internal_config.left,";\n\t\t\t\t        padding-top: ").concat(this.internal_config.paddingTop,";\n                     z-index: ").concat(this.internal_config.zIndex,";max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n                padding-left: ").concat(this.internal_config.paddingLeft,";\n                padding-right: ").concat(this.internal_config.paddingRight,";\n                padding-bottom: ").concat(this.internal_config.paddingBottom,";\n                width: ").concat(this.internal_config.width,";\n\t\t\t\t\t\t\t\ttop: ").concat(this.internal_config.top,";")},createCheckField:function(t,e){var n=o["default"].extend(Ee),i=new n({propsData:{type:e,showLabel:this.internal_config.showLabel,showPlaceholder:this.internal_config.showPlaceholder,label:t.label,options:t.options,required:t.required,selected:[],data:t}});i.$mount(),this.$refs.container.appendChild(i.$el)},createDropDown:function(t,e){var n=o["default"].extend(Ue),i=new n({propsData:{label:t.label,options:t.options,selected:t.default_value,showLabel:this.internal_config.showLabel,showPlaceholder:this.internal_config.showPlaceholder,data:t,multiple:e}});i.$mount(),this.$refs.container.appendChild(i.$el)},createDateTime:function(t,e){var n=o["default"].extend(en),i=new n({propsData:{label:t.label,data:t,showLabel:this.internal_config.showLabel,showPlaceholder:this.internal_config.showPlaceholder,value:(new Date).toString(),type:e?"datetime":"date",icon:t.icon}});i.$mount(),this.$refs.container.appendChild(i.$el)},createTextField:function(t,e,n){var i=o["default"].extend(Ye),a=new i({propsData:{label:t.label,pass:n,value:t.default_value,showLabel:this.internal_config.showLabel,showPlaceholder:this.internal_config.showPlaceholder,data:t,area:e,icon:t.icon,validation:t.validation}});a.$mount(),this.$refs.container.appendChild(a.$el)},placeholderStyle:function(){var t,e=this.$refs.container.getElementsByClassName("form-control"),n=Yn(e);try{for(n.s();!(t=n.n()).done;){var i=t.value;i.style.setProperty("--placeholder-color",this.internal_config.placeholderColor||"#5c5c5c")}}catch(o){n.e(o)}finally{n.f()}},inputStyle:function(){var t=this,e=this.$refs.container.getElementsByClassName("form-control");[].forEach.call(e,(function(e){e.style.backgroundColor=t.internal_config.inputBgColor,e.style.border=t.internal_config.inputBorder,"TEXTAREA"===e.tagName&&t.internal_config.textareaHeight?(e.style.height=t.internal_config.textareaHeight,e.classList.add("form-control-textarea-has-height")):e.style.height=t.internal_config.inputHeight,e.style.borderRadius=t.
1internal_config.inputRadius,e.style.fontFamily=t.internal_config.inputStyle.family,e.style.fontSize=t.internal_config.inputStyle.size,e.style.textAlign=t.internal_config.inputStyle.align,e.style.fontStyle=t.internal_config.inputStyle.style,e.style.fontStyle=t.internal_config.inputStyle.style,e.style.color=t.internal_config.inputStyle.color})),t.$el.style.color=t.internal_config.labelStyle},getCookie:function(t){for(var e=t+"=",n=decodeURIComponent(document.cookie),i=n.split(";"),o=0;o<i.length;o++){var a=i[o];while(" "==a.charAt(0))a=a.substring(1);if(0==a.indexOf(e))return a.substring(e.length,a.length)}return!1},checkGdpr:function(){try{if(window.gdprSettings&&window.gdprSettings.active&&this.internal_config.recaptchaSiteKey)return this.getCookie("cookieControl")}catch(t){console.log(t)}return!0},loadingAltcha:function(){var t=Object(u["a"])(regeneratorRuntime.mark((function t(){var e,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Jn();case 3:e=t.sent,n=e.data,this.alcaptchaChallengeJson=JSON.stringify(n),t.next=11;break;case 8:t.prev=8,t.t0=t["catch"](0),console.error("Falha ao carregar ALTCHA Captcha:",t.t0);case 11:case"end":return t.stop()}}),t,this,[[0,8]])})));function e(){return t.apply(this,arguments)}return e}(),onAltchaStateChange:function(t){var e=t.detail||{},n=e.payload,i=e.state;console.log("ALTCHA STATE: "+i,n),"verified"===i&&n?this.alcaptchaResponse=n:(this.alcaptchaResponse="","expired"===i&&this.loadingAltcha())}},mounted:function(){var t=this,e=this;this.build(this.$props.config),this.internal_config.button.subText=this.internal_config.button.subtext,Object.keys(this.props).forEach((function(e){"undefined"===typeof t.internal_config[e]&&(t.internal_config[e]=t.props[e])})),this.$root.$emit("applyAnimation",this,"sitebuilder-element-container"),this.$el.classList.add("preview"),this.$el.addEventListener("mouseover",(function(){e.$globalStoreHelpers.isValidHex(e.internal_config.button.backgroundColorHover)&&(e.internal_config.button.backgroundColorHover=e.$globalStoreHelpers.hexToRGBA(e.internal_config.button.backgroundColorHover)),e.$globalStoreHelpers.isValidHex(e.internal_config.button.textColorHover)&&(e.internal_config.button.textColorHover=e.$globalStoreHelpers.hexToRGBA(e.internal_config.button.textColorHover)),document.body.style.setProperty("--button-background-color--hover",e.internal_config.button.backgroundColorHover),document.body.style.setProperty("--button-text-color--hover",e.internal_config.button.textColorHover)}));var n=new URL(window.location.href),i=n.searchParams.get("origin_uid");if(null!==i&&(this.originUid=i),this.buildFields(this),this.inputStyle(),this.placeholderStyle(),this.setColumns(),console.log("internal_config -> ",this.internal_config),this.internal_config.recaptchaSiteKey?console.log("-> Não carregou o altcha"):(console.log("-> Carregou o altcha"),this.loadingAltcha()),"undefined"!==typeof this.internal_config.horizontal_config){var o="undefined"!==typeof this.internal_config.horizontal_config_mobile&&this.internal_config.horizontal_config_mobile;this.testAlan(this.internal_config.horizontal_config,o)}}},Xn=Qn,ti=(n("63d9"),n("f1d9"),Object(b["a"])(Xn,Hn,Fn,!1,null,"3bb1d973",null)),ei=ti.exports,ni=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:this.idSimpleForm,"data-id":this.id,element:"MultiStepFormComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile}},[e("div",{style:"transform: rotate(".concat("desktop"===this.$props.device?this.internal_config.rotation:0,") scale(1)")},[t.checkGdpr()?e("form",{ref:"form",class:t.horizontal?"form-simple horizontal-form":"form-simple",attrs:{target:t.internal_config.target,method:"post",action:t.internal_config.action,receiver:t.internal_config.receiver,subject:t.internal_config.subject},on:{submit:function(e){return e.preventDefault(),t.submit(e,t.internal_config)}}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.originUid,expression:"originUid"}],attrs:{type:"hidden",name:"origin_uid"},domProps:{value:t.originUid},on:{input:function(e){e.target.composing||(t.originUid=e.target.value)}}}),e("ul",{ref:"progressbar",attrs:{id:"progressbar"}}),e("div",{ref:"container",staticClass:"inputs-area"}),t.internal_config.recaptchaSiteKey?e("div",{staticClass:"recaptcha-container"},[e("vue-recaptcha",{attrs:{sitekey:t.internal_config.recaptchaSiteKey}})],1):t._e(),e("div",{staticClass:"place-btn",style:{margin:t.buttonMargin,display:"flex",justifyContent:"center",alignItems:"center"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.showPreviousButton,expression:"showPreviousButton"}],staticClass:"bt-sb bt-sb-previous mx-1",style:{width:t.buttonPreviousWidth,"box-shadow":t.buttonPreviousBoxShadow,border:t.buttonPreviousBorder,"border-radius":t.buttonPreviousRadius,background:t.buttonPreviousBackgroun
1d}},[e("div",{staticClass:"bt-text-area d-flex align-items-center flex-wrap overflow-hidden",style:{minHeight:t.buttonPreviousHeight}},[e("a",{ref:"buttonPreviousClick",staticClass:"sb-text button-previous-sb-button",style:t.textPreviousStyle(),on:{click:function(e){return t.previous(e)}}},[t._v(t._s(t.internal_config.buttonPrevious.text))]),t.internal_config.buttonPrevious.subText?e("small",{staticClass:"sb-sub-text",style:t.subTextPreviousStyle(),on:{click:function(e){return t.$refs.buttonPreviousClick.click()}}},[t._v(t._s(t.internal_config.buttonPrevious.subText))]):t._e()])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showSubmitButton,expression:"showSubmitButton"}],staticClass:"bt-sb bt-sb-submit mx-1",style:{width:t.buttonWidth,"box-shadow":t.buttonBoxShadow,border:t.buttonBorder,"border-radius":t.buttonRadius,background:t.buttonBackground}},[e("div",{staticClass:"bt-text-area d-flex align-items-center flex-wrap overflow-hidden",style:{minHeight:t.buttonHeight}},[e("a",{ref:"buttonClick",staticClass:"sb-text button-sb-button",style:t.textStyle(),on:{click:function(e){return t.submit(e,t.internal_config)}}},[t._v(t._s(t.internal_config.button.text))]),t.internal_config.button.subText?e("small",{staticClass:"sb-sub-text",style:t.subTextStyle(),on:{click:function(e){return t.$refs.buttonClick.click()}}},[t._v(t._s(t.internal_config.button.subText))]):t._e()])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showNextButton,expression:"showNextButton"}],staticClass:"bt-sb bt-sb-next mx-1",style:{width:t.buttonNextWidth,"box-shadow":t.buttonNextBoxShadow,border:t.buttonNextBorder,"border-radius":t.buttonNextRadius,background:t.buttonNextBackgroun
1d}},[e("div",{staticClass:"bt-text-area d-flex align-items-center flex-wrap overflow-hidden",style:{minHeight:t.buttonNextHeight}},[e("a",{ref:"buttonNextClick",staticClass:"sb-text button-next-sb-button",style:t.textNextStyle(),on:{click:function(e){return t.next(e)}}},[t._v(t._s(t.internal_config.buttonNext.text))]),t.internal_config.buttonNext.subText?e("small",{staticClass:"sb-sub-text",style:t.subTextNextStyle(),on:{click:function(e){return t.$refs.buttonNextClick.click()}}},[t._v(t._s(t.internal_config.buttonNext.subText))]):t._e()])])])]):t._e()])])},ii=[],oi={data:function(){return{originUid:"",iconLoading:!1,errorMessage:[],idSimpleForm:1+Math.floor(199999*Math.random()),props:{currentIndex:0,tag:"",horizontal:!1,zIndex:"auto",maxWidth:"500px",fieldAnimated:!1,socialproof_campaign_id:"0",socialproof_user_name_tag:"0",columns:1,navBar:{type:"number",showTitle:!0,backgroundColorActive:"#5B5B5BFF",backgroundColorInactive:"#FFFFFFFF",borderRadius:"60px 60px 60px 60px",border:"0 none #000000",activeTextColor:"#FFFFFFFF",inactiveTextColor:"#5B5B5BFF",titleTextColor:"#5B5B5BFF",size:"12px",titleSize:"9px"},form:{showTitle:!0,showSteps:!1,showDescription:!0,showPreviousButton:!0},horizontal_config:{custom:!1,container:{width:50},btnPlace:{width:50,padding:15},fields:[]},horizontal_config_mobile:{custom:!1,container:{width:50},btnPlace:{width:50,padding:15},fields:[]},newField:{tag:"EMAIL",label:"Email",required:"yes",help_text:null,visibility:"visible",default_value:null,type:{name:"Text",identifier:"text",description:"Text"},options:[],icon:{selected:null,position:null}},groups:[{name:"Personal details",description:"Tell us something more about you",icon:"",fields:[{tag:"firstname",label:"First Name",required:"yes",help_text:"",visibility:"visible",default_value:null,type:{name:"Text",identifier:"text",description:"Text"},options:[],status:"edit",field:"text"},{tag:"lastname",label:"Last Name",required:"yes",help_text:"",visibility:"visible",default_value:null,type:{name:"Text",identifier:"text",description:"Text"},options:[],status:"add",field:"text"},{tag:"phonenumber",label:"Phone Number",required:"no",help_text:"",visibility:"visible",default_value:null,type:{name:"Text",identifier:"text",description:"Text"},options:[],status:"add",field:"text"}]},{name:"Social Profiles",description:"Your presence on the social network",icon:"",fields:[{tag:"twitter",label:"Twitter",required:"no",help_text:"",visibility:"visible",default_value:null,type:{name:"Text",identifier:"text",description:"Text"},options:[],status:"edit",field:"text"},{tag:"facebook",label:"Facebook",required:"no",help_text:"",visibility:"visible",default_value:null,type:{name:"Text",identifier:"text",description:"Text"},options:[],status:"add",field:"text"},{tag:"google",label:"Google Plus",required:"no",help_text:"",visibility:"visible",default_value:null,type:{name:"Text",identifier:"text",description:"Text"},options:[],status:"add",field:"text"}]},{name:"Create your account",description:"Fill in your credentials",icon:"",fields:[{tag:"email",label:"Email",required:"yes",help_text:"",visibility:"visible",default_value:null,type:{name:"Text",identifier:"text",description:"Text"},options:[],status:"add",field:"text"},{tag:"password",label:"Password",required:"yes",help_text:"",visibility:"visible",default_value:null,type:{name:"Text",identifier:"text",description:"Text"},options:[],status:"add",field:"text"},{tag:"confirpassword",label:"Confirm Password",required:"yes",help_text:"",visibility:"visible",default_value:null,type:{name:"Text",identifier:"text",description:"Text"},options:[],status:"add",field:"text"}]}],target:"_self",action:"",redirect:"",successMessage:"",isRequiredMessage:"",receiver:"",subject:"",showLabel:!0,showPlaceholder:!0,placeholderColor:"#5c5c5c",recaptchaSiteKey:"",recaptchaSecretKey:"",left:"0",top:"0",rotation:"0deg",width:"300px",height:"300px",border:"0 none #000000",labelStyle:"#000000",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",inputHeight:"38px",textareaHeight:"",inputBgColor:"#FFFFFF",inputBorder:"1px solid #000000",inputRadius:"0 0 0 0",inputStyle:{fam
1ily:"Arial",size:"20px",color:"#000000",align:"left",weight:"400",style:"initial"},animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}},button:{height:"50px",width:"50%",text:"My Button",subText:"",icon:"",iconPosition:"left",border:"0 none #000000",borderRadius:"0 0 0 0",backgroundColor:"#21309b",backgroundColorHover:"#21309b",textColorHover:"#FFFFFF",backgroundImage:"none",backgroundPosition:"center",backgroundOrigin:"border-box",backgroundRepeat:"no-repeat",backgroundSize:"cover",boxShadow:"1px 1px 1px 1px blue",margin:"15px",textStyle:{family:"arial, helvetica, sans-serif",size:"15px",sizeMobile:"",color:"White",align:"center",weight:"700",style:"initial"},subTextStyle:{family:"arial, helvetica, sans-serif",size:"15px",sizeMobile:"",color:"White",align:"center",weight:"400",style:"initial"}},buttonPrevious:{height:"50px",width:"100%",text:"Previous",subText:"",icon:"",iconPosition:"left",border:"0 none #000000",borderRadius:"60px 60px 60px 60px",backgroundColor:"#aCbEd0",backgroundColorHover:"#81a5c8",backgroundImage:"none",backgroundPosition:"center",backgroundOrigin:"border-box",backgroundRepeat:"no-repeat",backgroundSize:"cover",boxShadow:"1px 1px 1px 1px #5B5B5B00 ",textStyle:{family:"Muli, sans-serif",size:"16px",color:"White",align:"center",weight:"700",style:"initial"},subTextStyle:{family:"arial, helvetica, sans-serif",size:"15px",color:"White",align:"center",weight:"400",style:"initial"},subtext:""},buttonNext:{height:"50px",width:"100%",text:"Next",subText:"",icon:"",iconPosition:"left",border:"0 none #000000",borderRadius:"60px 60px 60px 60px",backgroundColor:"#5B5B5BFF",backgroundColorHover:"#5B5B5BFF",backgroundImage:"none",backgroundPosition:"center",backgroundOrigin:"border-box",backgroundRepeat:"no-repeat",backgroundSize:"cover",boxShadow:"1px 1px 1px 1px #5B5B5B00 ",textStyle:{family:"Muli, sans-serif",size:"16px",color:"White",align:"center",weight:"700",style:"initial"},subTextStyle:{family:"arial, helvetica, sans-serif",size:"15px",color:"White",align:"center",weight:"400",style:"initial"},subtext:""}},internal_config:{navBar:{type:"number",showTitle:!0,backgroundColorActive:"#5B5B5BFF",backgroundColorInactive:"#FFFFFFFF",borderRadius:"60px 60px 60px 60px",border:"0 none #000000",activeTextColor:"#FFFFFFFF",inactiveTextColor:"#5B5B5BFF",titleTextColor:"#5B5B5BFF",size:"12px",titleSize:"9px"},form:{showTitle:!0,showSteps:!1,showDescription:!0,showPreviousButton:!0},currentIndex:0,zIndex:"auto",fieldAnimated:!1,groups:[{name:"Personal details",description:"Tell us something more about you",icon:"",fields:[{tag:"firstname",label:"First Name",required:"yes",help_text:"",visibility:"visible",default_value:null,type:{name:"Text",identifier:"text",description:"Text"},options:[],status:"edit",field:"text"},{tag:"lastname",label:"Last Name",required:"yes",help_text:"",visibility:"visible",default_value:null,type:{name:"Text",identifier:"text",description:"Text"},options:[],status:"add",field:"text"},{tag:"phonenumber",label:"Phone Number",required:"no",help_text:"",visibility:"visible",default_value:null,type:{name:"Text",identifier:"text",description:"Text"},options:[],status:"add",field:"text"}]},{name:"Social Profiles",description:"Your presence on the social network",icon:"",fields:[{tag:"twitter",label:"Twitter",required:"no",help_text:"",visibility:"visible",default_value:null,type:{name:"Text",identifier:"text",description:"Text"},options:[],status:"edit",field:"text"},{tag:"facebook",label:"Facebook",required:"no",help_text:"",visibility:"visible",default_value:null,type:{name:"Text",identifier:"text",description:"Text"},options:[],status:"add",field:"text"},{tag:"google",label:"Google Plus",required:"no",help_text:"",visibility:"visible",default_value:null,type:{name:"Text",identifier:"text",description:"Text"},options:[],status:"add",field:"text"}]},{name:"Create your account",description:"Fill in your credentials",icon:"",fields:[{tag:"email",label:"Email",required:"yes",help_text:"",visibility:"visible",default_value:null,type:{name:"Text",identifier:"text",description:"Text"},options:[],status:"add",field:"text"},{tag:"password",label:"Password",required:"yes",help_text:"",visibility:"visible",default_value:null,type:{name:"Text",identifier:"text",description:"Text"},options:[],status:"add",field:"text"},{tag:"confirpassword",label:"Confirm Password",required:"yes",help_text:"",visibility:"visible",default_value:null,type:{name:"Text",identifier:"text",description:"Text"},options:[],status:"add",field:"text"}]}],left:"0",top:"0",rotation:"0deg",target:"_self",action:"",receiver:"",subject:"",showLabel:!0,showPlaceholder:!0,placeholderColor:"#5c5c5c",recaptchaSiteKey:"",recaptchaSecretKey:"",width:"300px",height:"300px",border:"0 none #000000",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",inputHeight:"38px",inputBgColor:"#FFFFFF",inputBorder:"1px solid #000000",inputRadius:"0 0 0 0",inputStyle:{fam
1ily:"Arial",size:"20px",color:"#000000",align:"left",weight:"400",style:"initial"},animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}},newField:{tag:"EMAIL",label:"Email",required:"yes",help_text:null,visibility:"visible",default_value:null,type:{name:"Text",identifier:"text",description:"Text"},options:[],icon:{selected:null,position:null}},button:{height:"50px",width:"50%",text:"My Button",subText:"",icon:"",iconPosition:"left",border:"0 none #000000",borderRadius:"0 0 0 0",backgroundColor:"#21309b",backgroundColorHover:"#21309b",backgroundImage:"none",backgroundPosition:"center",backgroundOrigin:"border-box",backgroundRepeat:"no-repeat",backgroundSize:"cover",boxShadow:"1px 1px 1px 1px blue",margin:"15px",textStyle:{family:"arial, helvetica, sans-serif",size:"15px",sizeMobile:"",color:"White",align:"center",weight:"700",style:"initial"},subTextStyle:{family:"arial, helvetica, sans-serif",size:"15px",sizeMobile:"",color:"White",align:"center",weight:"400",style:"initial"}},buttonPrevious:{height:"50px",width:"100%",text:"Previous",subText:"",icon:"",iconPosition:"left",border:"0 none #000000",borderRadius:"60px 60px 60px 60px",backgroundColor:"#aCbEd0",backgroundColorHover:"#81a5c8",backgroundImage:"none",backgroundPosition:"center",backgroundOrigin:"border-box",backgroundRepeat:"no-repeat",backgroundSize:"cover",boxShadow:"1px 1px 1px 1px #5B5B5B00 ",textStyle:{family:"Muli, sans-serif",size:"16px",color:"White",align:"center",weight:"700",style:"initial"},subTextStyle:{family:"arial, helvetica, sans-serif",size:"15px",color:"White",align:"center",weight:"400",style:"initial"},subtext:""},buttonNext:{height:"50px",width:"100%",text:"Next",subText:"",icon:"",iconPosition:"left",border:"0 none #000000",borderRadius:"60px 60px 60px 60px",backgroundColor:"#5B5B5BFF",backgroundColorHover:"#5B5B5BFF",backgroundImage:"none",backgroundPosition:"center",backgroundOrigin:"border-box",backgroundRepeat:"no-repeat",backgroundSize:"cover",boxShadow:"1px 1px 1px 1px #5B5B5B00 ",textStyle:{family:"Muli, sans-serif",size:"16px",color:"White",align:"center",weight:"700",style:"initial"},subTextStyle:{family:"arial, helvetica, sans-serif",size:"15px",color:"White",align:"center",weight:"400",style:"initial"},subtext:""}}}}};function ai(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=ri(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,r=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return r=t.done,t},e:function(t){s=!0,a=t},f:function(){try{r||null==n.return||n.return()}finally{if(s)throw a}}}}function ri(t,e){if(t){if("string"==typeof t)return si(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?si(t,e):void 0}}function si(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}var ci={name:"MultiStepComponent",components:{VueRecaptcha:Ae["a"]},mixins:[on],props:["config","id","preview","device"],data:function(){return oi.data()},computed:{horizontal:function(){return this.internal_config.horizontal},buttonWidth:function(){return parseInt(this.internal_config.button.width)/2+"%"},buttonHeight:function(){return parseInt(this.internal_config.button.height)+"px"},buttonBorder:function(){return this.internal_config.button.border},buttonBoxShadow:function(){return this.internal_config.button.boxShadow},buttonRadius:function(){return this.internal_config.button.borderRadius},buttonBackground:function(){var t=this.internal_config.button.backgroundColor;return"none"!==this.internal_config.backgroundImage&&"undefined"!==typeof this.internal_config.backgroundImage&&(t+=' url("'+this.internal_config.button.backgroundImage+'")',t+=" "+this.internal_config.button.backgroundPosition,t+=" / "+this.internal_config.button.backgroundSize,t+=" "+this.internal_config.button.backgroundRepeat,t+=" "+this.internal_config.button.backgroundOrigin),t},buttonMargin:function(){var t=this.internal_config.horizontal,e=this.internal_config.button.margin;return t?"0px 0px 0px ".concat(e,"px"):"".concat(e,"px 0px 0px")},buttonNextWidth:function(){return parseInt(this.internal_config.buttonNext.width)/2+"%"},buttonNextHeight:function(){return parseInt(this.internal_config.buttonNext.height)+"px"},buttonNextBorder:function(){return this.internal_config.buttonNext.border},buttonNextBoxShadow:function(){return this.internal_config.buttonNext.boxShadow},buttonNextRadius:function(){return this.internal_config.buttonNext.borderRadius}
1,buttonNextBackground:function(){var t=this.internal_config.buttonNext.backgroundColor;return"none"!==this.internal_config.backgroundImage&&"undefined"!==typeof this.internal_config.backgroundImage&&(t+=' url("'+this.internal_config.buttonNext.backgroundImage+'")',t+=" "+this.internal_config.buttonNext.backgroundPosition,t+=" / "+this.internal_config.buttonNext.backgroundSize,t+=" "+this.internal_config.buttonNext.backgroundRepeat,t+=" "+this.internal_config.buttonNext.backgroundOrigin),t},buttonPreviousWidth:function(){return parseInt(this.internal_config.buttonPrevious.width)/2+"%"},buttonPreviousHeight:function(){return parseInt(this.internal_config.buttonPrevious.height)+"px"},buttonPreviousBorder:function(){return this.internal_config.buttonPrevious.border},buttonPreviousBoxShadow:function(){return this.internal_config.buttonPrevious.boxShadow},buttonPreviousRadius:function(){return this.internal_config.buttonPrevious.borderRadius},buttonPreviousBackground:function(){var t=this.internal_config.buttonPrevious.backgroundColor;return"none"!==this.internal_config.backgroundImage&&"undefined"!==typeof this.internal_config.backgroundImage&&(t+=' url("'+this.internal_config.buttonPrevious.backgroundImage+'")',t+=" "+this.internal_config.buttonPrevious.backgroundPosition,t+=" / "+this.internal_config.buttonPrevious.backgroundSize,t+=" "+this.internal_config.buttonPrevious.backgroundRepeat,t+=" "+this.internal_config.buttonPrevious.backgroundOrigin),t},showSubmitButton:function(){if(void 0!==Object(l["a"])(this.internal_config.currentIndex)&&this.internal_config.groups&&this.internal_config.currentIndex===this.internal_config.groups.length-1)return!0},showPreviousButton:function(){return!1!==this.internal_config.form.showPreviousButton&&(!!(void 0!==Object(l["a"])(this.internal_config.currentIndex)&&this.internal_config.groups&&this.internal_config.currentIndex>=1)||void 0)},showNextButton:function(){if(void 0!==Object(l["a"])(this.internal_config.currentIndex)&&this.internal_config.groups&&this.internal_config.currentIndex<this.internal_config.groups.length-1)return!0}},created:function(){"undefined"===typeof this.config.horizontal_config_mobile&&"undefined"!==typeof this.config.horizontal_config&&(this.$props.config.horizontal_config_mobile=Object.assign({},this.config.horizontal_config)),"undefined"!==typeof this.config.button.textStyle.sizeMobile&&""!==this.config.button.textStyle.sizeMobile||(this.$props.config.button.textStyle.sizeMobile=this.config.button.textStyle.size),"undefined"!==typeof this.config.button.subTextStyle.sizeMobile&&""!==this.config.button.subTextStyle.sizeMobile||(this.$props.config.button.subTextStyle.sizeMobile=this.config.button.subTextStyle.size)},mounted:function(){var t=this;this.build(this.$props.config),this.internal_config.button.subText=this.internal_config.button.subtext,this.$root.$emit("applyAnimation",this,"sitebuilder-element-container"),this.$el.classList.add("preview"),this.$el.addEventListener("mouseover",(function(){document.body.style.setProperty("--button-background-color--hover",t.internal_config.button.backgroundColorHover),document.body.style.setProperty("--button-text-color--hover",t.internal_config.button.textColorHover),document.body.style.setProperty("--button-background-color-next--hover",t.internal_config.buttonNext.backgroundColorHover),document.body.style.setProperty("--button-text-color-next--hover",t.internal_config.buttonNext.textColorHover),document.body.style.setProperty("--button-background-color-previous--hover",t.internal_config.buttonPrevious.backgroundColorHover),document.body.style.setProperty("--button-text-color-previous--hover",t.internal_config.buttonPrevious.textColorHover)}));var e=new URL(window.location.href),n=e.searchParams.get("origin_uid");null!==n&&(this.originUid=n),this.buildProgressBar(this),this.buildFields(this),this.hideGroups(),this.inputStyle(),this.placeholderStyle(),this.setColumns(),this.testAlan(this.internal_config.horizontal_config,this.internal_config.horizontal_config_mobile)},methods:{registerOnSocialProof:function(){try{var t=parseInt(this.internal_config.socialproof_campaign_id),e=this.internal_config.socialproof_user_name_tag,n=this.$refs.form.querySelector('[name="'.concat(e,'"]'));if(t&&e&&n){var i=new FormData;i.set("user_name",n.value),R()({method:"post",url:"/cheetah/social-proof/register/"+t,data:i}).then((function(t){}))}}catch(o){console.error(o)}},verifyRequired:function(){"no"==this.internal_config.newField.required?(this.$refs.visibilyField.style.display="block",this.$refs.visibilyFieldOption.style.display="block"):(this.$refs.visibilyField.style.display="none",this.$refs.visibilyFieldOption.style.display="none")},getValidUrl:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=t.trim().replace(/\s/g,"");return e=window.decodeURIComponent(e),/^(:\/\/)/.test(e)?"http".concat(e):/^(f|ht)tps?
1:\/\//i.test(e)?e:"http://".concat(e)},getCookie:function(t){for(var e=t+"=",n=decodeURIComponent(document.cookie),i=n.split(";"),o=0;o<i.length;o++){var a=i[o];while(" "==a.charAt(0))a=a.substring(1);if(0==a.indexOf(e))return a.substring(e.length,a.length)}return!1},checkGdpr:function(){try{if(window.gdprSettings&&window.gdprSettings.active&&this.internal_config.recaptchaSiteKey)return this.getCookie("cookieControl")}catch(t){console.log(t)}return!0},submit:function(t,e){var n=this;t.preventDefault();var i=[],o=document.getElementById(this.idSimpleForm).querySelector("form"),a=o.querySelectorAll(".form-group, .input-group"),r=!0,s=[],c=e.groups.map((function(t){return t.fields})),l=[];c.forEach((function(t){l.push.apply(l,Object(D["a"])(t))}));for(var d,u,h=function(){if(d=a[g].querySelector("input, select, textarea"),u=a[g].hasAttribute("data-check-required"),u){var t=a[g].querySelectorAll("[type=checkbox][data-check-field],[type=radio][data-check-field]"),n=0,o=[];if(t.length>0){t.forEach((function(t){t.checked&&(n++,o.push(t.value))}));var c=a[g].querySelectorAll("[type=checkbox][data-required=true],[type=radio][data-required=true]");c.length>0&&0===n&&l.forEach((function(t){var i="checkbox"===t.field?t.tag+"[]":t.tag;if(i===d.name&&"yes"===t.required&&0===n&&("radio"===t.field||"checkbox"===t.field)){r=!1;var o=""!==e.isRequiredMessage?e.isRequiredMessage:"is required";s.push(t.label+" "+o+".")}})),o.length>0?o.forEach((function(t){i.push(encodeURIComponent(d.name)+"="+encodeURIComponent(t))})):i.push(encodeURIComponent(d.name)+"=")}}else l.forEach((function(t){try{-1!==d.name.toLowerCase().indexOf("email")&&""!==d.value&&localStorage.setItem("leadEmail",d.value),"fname"===d.name.toLowerCase()&&""!==d.value&&localStorage.setItem("leadName",d.value),"name"===d.name.toLowerCase()&&""!==d.value&&localStorage.setItem("leadName",d.value),"fnome"===d.name.toLowerCase()&&""!==d.value&&localStorage.setItem("leadName",d.value),"nome"===d.name.toLowerCase()&&""!==d.value&&localStorage.setItem("leadName",d.value),"cadastro_nome"===d.name.toLowerCase()&&""!==d.value&&localStorage.setItem("leadName",d.value)}catch(i){console.log(i)}if(-1!==d.name.toLowerCase().indexOf("email")&&""!==d.value&&localStorage.setItem("leadEmail",d.value),t.tag===d.name&&"yes"===t.required&&""===d.value){r=!1;var n=""!=e.isRequiredMessage?e.isRequiredMessage:"is required";s.push(t.label+" "+n+".")}})),i.push(encodeURIComponent(d.name)+"="+encodeURIComponent(d.value))},g=0;g<a.length;g++)h();var f=i.join("&");if(r){var p=this.internal_config.action;if(""!==p){if("undefined"!==typeof __baCRMTracking&&__baCRMTracking.onSubmit(t),localStorage.getItem("MAILING_BOSS_TRACKING")&&null!=localStorage.getItem("leadEmail")&&"undefined"!=typeof MailingBossTracking){console.log("mboss lead register");var m={leadEmail:localStorage.getItem("leadEmail"),reference:localStorage.getItem("MAILING_BOSS_REFERENCE")};MailingBossTracking.init(localStorage.getItem("MAILING_BOSS_TOKEN"),m)}var b=this;if(p.indexOf("app.mailingboss.com")>
10)"undefined"!==typeof e.redirect&&""!==e.redirect&&(-1!==p.indexOf("?")?this.internal_config.action=p+"&redir="+b.getValidUrl(e.redirect):this.internal_config.action=p+"?redir="+b.getValidUrl(e.redirect)),setTimeout((function(){b.registerOnSocialProof(),b.$refs.form.submit()}),2e3);else{var _=(document.getElementById("g-recaptcha-response")||{}).value;if(!this.internal_config.recaptchaSiteKey||""!==_&&null!==_||(r=!1,s.push(this.$t("ct-captcha-validation"))),!r)return void this.$root.$emit("errorMessagePopup",s);if(b.registerOnSocialProof(),b.internal_config.action.indexOf("https://office.builderall.com/br/office/create")>-1){b.iconLoading=!0;var y=document.getElementsByTagName("body")[0];y.classList.add("loading-office-checkout")}"undefined"!==typeof e.redirect&&""!==e.redirect?(R.a.post(b.internal_config.action,f).then((function(t){window.location.href=b.getValidUrl(e.redirect)})),setTimeout((function(){window.location.href=b.getValidUrl(e.redirect)}),2e3)):this.$refs.form.submit()}}else{""!==e.receiver&&null!==e.receiver||(r=!1,s.push("receiver not configured")),""!==e.subject&&null!==e.subject||(r=!1,s.push("subject not configured"));var v=(document.getElementById("g-recaptcha-response")||{}).value;if(!this.internal_config.recaptchaSiteKey||""!==v&&null!==v||(r=!1,s.push(this.$t("ct-captcha-validation"))),r){"undefined"!==typeof __baCRMTracking&&__baCRMTracking.onSubmit(t),this.internal_config.recaptchaSiteKey&&(f=f+"&g-recaptcha-response="+v+"&id="+this.id);var w=this;f=f+"&receiver="+e.receiver+"&subject="+e.subject,R.a.post("/cheetah/form_submit",f).then((function(t){w.registerOnSocialProof(),w.$root.$emit("successMessagePopup",e.successMessage),""!==e.redirect&&(window.location.href=n.getValidUrl(e.redirect))}))}}}r||(t.preventDefault(),this.$root.$emit("errorMessagePopup",s))},next:function(t){t.preventDefault(),this.internal_config.currentIndex=this.internal_config.currentIndex+1,this.hideGroups()},previous:function(t){t.preventDefault(),this.internal_config.currentIndex=this.internal_config.currentIndex-1,this.hideGroups()},buildProgressBar:function(t){var e=this;this.$refs.progressbar.innerHTML="","none"!==t.internal_config.navBar.type&&(t.internal_config.groups.forEach((function(n,i){var o=$("<li>").css({color:t.internal_config.navBar.titleTextColor,"font-size":t.internal_config.navBar.titleSize,width:100/t.internal_config.groups.length+"%"}).addClass("progress-item "+(t.internal_config.currentIndex===i?"active":"")).text(t.internal_config.navBar.showTitle?n.name:"").appendTo($(e.$refs.progressbar).get(0));"icon"===t.internal_config.navBar.type?(document.body.style.setProperty("--progressbar-li-before-content","no-close-quote"),$("<i>").addClass(t.$addIconPrefix(n.icon)).appendTo(o)):document.body.style.setProperty("--progressbar-li-before-content","counter(step)")})),document.body.style.setProperty("--progressbar-li-before-font-size",this.internal_config.navBar.size),document.body.style.setProperty("--progressbar-li-before-color",this.internal_config.navBar.activeTextColor),document.body.style.setProperty("--progressbar-li-before-background",this.internal_config.navBar.backgroundColorActive),document.body.style.setProperty("--progressbar-li-before-radius",this.internal_config.navBar.borderRadius),document.body.style.setProperty("--progressbar-li-after-background",this.internal_config.navBar.backgroundColorInactive),document.body.style.setProperty("--progressbar-li-after-color",this.internal_config.navBar.inactiveTextColor))},buildFields:function(t){this.$refs.container.innerHTML="",t.internal_config.groups.forEach((function(e,n){var i=t.createGroupPlace(n);t.internal_config.form.showTitle&&t.createTitleMultiStep(e.name,i),t.internal_config.form.showDescription&&t.createDescriptionMultiStep(e.description,i),e.fields.forEach((function(e){var n=e.field;"undefined"===typeof n&&(n="text"),"textarea"===n&&t.createTextField(e,!0,!1,i),"text"===n&&t.createTextField(e,!1,!1,i),"password"===n&&t.createTextField(e,!1,!0,i),"select"===n&&t.createDropDown(e,!1,i),"multiselect"===n&&t.createDropDown(e,!0,i),"dropdown"===n&&t.createDropDown(e,!1,i),"datetime"===n&&t.createDateTime(e,!0,i),"date"===n&&t.createDateTime(e,!1,i),"checkbox"===n&&t.createCheckField(e,"checkbox",i),"radio"===n&&t.createCheckField(e,"radio",i)}))})),this.inputStyle(),this.$loading.hide()},textStyle:function(){var t=!("undefined"===typeof this.internal_config.button.textStyle.sizeMobile||!this.internal_config.button.textStyle.sizeMobile)&&this.internal_config.button.textStyle.sizeMobile;return"font-family:  ".concat(this.internal_config.button.textStyle.family,";\n                 font-size: ").concat("mobile"===this.device?t:this.internal_config.button.textStyle.size,";\n                 text-align: ").concat(this.internal_config.button.textStyle.align,";\n                 font-weight: ").concat(this.internal_config.button.textStyle.weight,";\n                 font-style: ").concat(this.internal_config.button.textStyle.style,";\n                 color: ").concat(this.internal_config.button.textStyle.color)},subTextStyle:function(){var t=!("undefined"===typeof this.internal_config.button.subTextStyle.sizeMobile||!this.internal_config.button.subTextStyle.sizeMobile)&&this.internal_config.button.subTextStyle.sizeMobile;return"font-family:  ".concat(this.internal_config.button.subTextStyle.family,";\n                 font-size: ").concat("mobile"===this.device?t:this.internal_config.button.subTextStyle.size,";\n                 text-align: ").concat(this.internal_config.button.subTextStyle.align,";\n                 font-weight: ").concat(this.internal_config.button.subTextStyle.weight,";\n                 font-style: ").concat(this.internal_config.button.subTextStyle.style,";\n                 color: ").concat(this.internal_config.button.subTextStyle.color)},textNextStyle:function(){var t=!("undefined"===typeof this.internal_config.buttonNext.textStyle.sizeMobile||!this.internal_config.buttonNext.textStyle.sizeMobile)&&this.internal_config.buttonNext.textStyle.sizeMobile;return"font-family:  ".concat(this.internal_config.buttonNext.textStyle.family,";\n                 font-size: ").concat("mobile"===this.device?t:this.internal_config.buttonNext.textStyle.size,";\n                 text-align: ").concat(this.internal_config.buttonNext.textStyle.align,";\n                 font-weight: ").concat(this.internal_config.buttonNext.textStyle.weight,";\n                 font-style: ").concat(this.internal_config.buttonNext.textStyle.style,";\n                 color: ").concat(this.internal_config.buttonNext.textStyle.color)},subTextNextStyle:function(){var t=!("undefined"===typeof this.internal_config.buttonNext.subTextStyle.sizeMobile||!this.internal_config.buttonNext.subTextStyle.sizeMobile)&&this.internal_config.buttonNext.subTextStyle.sizeMobile;return"font-family:  ".concat(this.internal_config.buttonNext.subTextStyle.family,";\n                 font-size: ").concat("mobile"===this.device?t:this.internal_config.buttonNext.subTextStyle.size,";\n                 text-align: ").concat(this.internal_config.buttonNext.subTextStyle.align,";\n                 font-weight: ").concat(this.internal_config.buttonNext.subTextStyle.weight,";\n                 font-style: ").concat(this.internal_config.buttonNext.subTextStyle.style,";\n                 color: ").concat(this.internal_config.buttonNext.subTextStyle.color)},textPreviousStyle:function(){var t=!("undefined"===typeof this.internal_config.buttonPrevious.textStyle.sizeMobile||!this.internal_config.buttonPrevious.textStyle.sizeMobile)&&this.internal_config.buttonPrevious.textStyle.sizeMobile;return"font-family:  ".concat(this.internal_config.buttonPrevious.textStyle.family,";\n                 font-size: ").concat("mobile"===this.device?t:this.internal_config.buttonPrevious.textStyle.size,";\n                 text-align: ").concat(this.internal_config.buttonPrevious.textStyle.align,";\n                 font-weight: ").concat(this.internal_config.buttonPrevious.textStyle.weight,";\n                 font-style: ").concat(this.internal_config.buttonPrevious.textStyle.style,";\n                 color: ").concat(this.internal_config.buttonPrevious.textStyle.color)},subTextPreviousStyle:function(){var t=!("undefined"===typeof this.internal_config.buttonPrevious.subTextStyle.sizeMobile||!this.internal_config.buttonPrevious.subTextStyle.sizeMobile)&&this.internal_config.buttonPrevious.subTextStyle.sizeMobile;return"font-family:  ".concat(this.internal_config.buttonPrevious.subTextStyle.family,";\n                 font-size: ").concat("mobile"===this.device?t:this.internal_config.buttonPrevious.subTextStyle.size,";\n                 text-align: ").concat(this.internal_config.buttonPrevious.subTextStyle.align,";\n                 font-weight: ").concat(this.internal_config.buttonPrevious.subTextStyle.weight,";\n                 font-style: ").concat(this.internal_config.buttonPrevious.subTextStyle.style,";\n                 color: ").concat(this.internal_config.buttonPrevious.subTextStyle.color)},buildIconInsideButton:function(t,e){""!==this.internal_config[t].icon&&("left"===this.internal_config[t].iconPosition&&$("<i>").addClass(this.$addIconPrefix(this.internal_config[t].icon)).prependTo($(this.$el).find("."+e+"-sb-button").get(0)),"right"===this.internal_config[t].iconPosition&&$("<i>").addClass(this.$addIconPrefix(this.internal_config[t].icon)).appendTo($(this.$el).find("."+e+"-sb-button").get(0)))},buildIcon:function(){$(this.$el).find("i").detach(),this.buildIconInsideButton("button","button"),this.buildIconInsideButton("buttonNext","button-next"),this.buildIconInsideButton("buttonPrevious","button-previous")},build:function(t){this.internal_config=t,this.internal_config.currentIndex=0,this.buildIcon()},style:function(){return"left:  ".concat(this.internal_config.left,";\n\t\t\t\t        padding-top: ").concat(this.internal_config.paddingTop,";\n                z-index: ").concat(this.internal_config.zIndex,";\n                max-width: ").concat(this.internal_config.maxWidth,";\n                margin: 0 auto;\n                padding-left: ").concat(this.internal_config.paddingLeft,";\n                padding-right: ").concat(this.internal_config.paddingRight,";\n                padding-bottom: ").concat(this.internal_config.paddingBottom,";\n                width: ").concat(this.internal_config.width,";\n                top: ").concat(this.internal_config.top)},createCheckField:function(t,e,n){var i=o["default"].extend(Ee),a=new i({propsData:{type:e,showLabel:this.internal_config.showLabel,showPlaceholder:this.internal_config.showPlaceholder,label:t.label,options:t.options,selected:[],data:t}});a.$mount(),$(n).append(a.$el)},createDropDown:function(t,e,n){var i=o["default"].extend(Ue),a=new i({propsData:{label:t.label,options:t.options,selected:t.default_value,showLabel:this.internal_config.showLabel,showPlaceholder:this.internal_config.showPlaceholder,data:t,multiple:e}});a.$mount(),$(n).append(a.$el)},createDateTime:function(t,e,n){var i=o["default"].extend(en),a=new i({propsData:{label:t.label,data:t,showLabel:this.internal_config.showLabel,showPlaceholder:this.internal_config.showPlaceholder,value:(new Date).toString(),type:e?"datetime":"date",icon:t.icon}});a.$mount(),$(n).append(a.$el)},createTextField:function(t,e,n,i){var a=o["default"].extend(Ye),r=new a({propsData:{label:t.label,value:t.default_value,pass:n,color:this.internal_config.inputStyle.color,showLabel:this.internal_config.showLabel,showPlaceholder:this.internal_config.showPlaceholder,icon:t.icon,data:t,area:e}});r.$mount(),$(i).append(r.$el)},createGroupPlace:function(t){return $("<div>").addClass("step-group multi-group-"+t).appendTo($(this.$refs.container).get(0))},createTitleMultiStep:function(t,e){var n=!("undefined"===typeof this.internal_config.button.subTextStyle.sizeMobile||!this.internal_config.titleFormStyle.sizeMobile)&&this.internal_config.titleFormStyle.sizeMobile;$("<div>").text(t).css({"margin-bottom":"5px","font-family":this.internal_config.titleFormStyle.family,"font-size":"mobile"===this.device?n:this.internal_config.titleFormStyle.size,"text-align":this.internal_config.titleFormStyle.align,"font-weight":this.internal_config.titleFormStyle.weight,"font-style":this.internal_config.titleFormStyle.style,color:this.internal_config.titleFormStyle.color}).addClass("title-multi-step").appendTo(e)},createDescriptionMultiStep:function(t,e){var n=!("undefined"===typeof this.internal_config.descriptionFormStyle.sizeMobile||!this.internal_config.descriptionFormStyle.sizeMobile)&&this.internal_config.descriptionFormStyle.sizeMobile;$("<div>").text(t).css({"margin-bottom":"5px","font-family":this.internal_config.descriptionFormStyle.family,"font-size":"mobile"===this.device?n:this.internal_config.descriptionFormStyle.size,"text-align":this.internal_config.descriptionFormStyle.align,"font-weight":this.internal_config.descriptionFormStyle.weight,"font-style":this.internal_config.descriptionFormStyle.style,color:this.internal_config.descriptionFormStyle.color}).addClass("description-multi-step").appendTo(e)},inputStyle:function(){var t=this,e=this.$refs.container.getElementsByClassName("form-control");[].forEach.call(e,(function(e){e.style.backgroundColor=t.internal_config.inputBgColor,e.style.border=t.internal_config.inputBorder,"TEXTAREA"===e.tagName&&t.internal_config.textareaHeight?(e.style.height=t.internal_config.textareaHeight,e.classList.add("form-control-textarea-has-height")):e.style.height=t.internal_config.inputHeight,e.style.borderRadius=t.
1internal_config.inputRadius,e.style.fontFamily=t.internal_config.inputStyle.family,e.style.fontSize=t.internal_config.inputStyle.size,e.style.textAlign=t.internal_config.inputStyle.align,e.style.fontStyle=t.internal_config.inputStyle.style,e.style.fontStyle=t.internal_config.inputStyle.style,e.style.color=t.internal_config.inputStyle.color})),t.$el.style.color=t.internal_config.labelStyle},hideGroups:function(){var t=this;this.internal_config.groups.forEach((function(e,n){if(n!==t.internal_config.currentIndex){var i=t.$refs.container.getElementsByClassName("multi-group-"+n);i[0].style.display="none"}var o=t.$refs.progressbar.getElementsByClassName("progress-item");[].forEach.call(o,(function(t,e){t.classList.remove("active")}))})),this.internal_config.groups.forEach((function(e,n){if(n===t.internal_config.currentIndex){var i=t.$refs.container.getElementsByClassName("multi-group-"+n);i[0].style.display="block"}var o=t.$refs.progressbar.getElementsByClassName("progress-item");[].forEach.call(o,(function(e,n){n<=t.internal_config.currentIndex&&e.classList.add("active")}))}))},placeholderStyle:function(){var t,e=this.$refs.container.getElementsByClassName("form-control"),n=ai(e);try{for(n.s();!(t=n.n()).done;){var i=t.value;i.style.setProperty("--placeholder-color",this.internal_config.placeholderColor||"#5c5c5c")}}catch(o){n.e(o)}finally{n.f()}}}},li=ci,di=(n("92ee"),n("a3ea"),Object(b["a"])(li,ni,ii,!1,null,"7ae9f19c",null)),ui=di.exports,hi=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{element:"YoutubeVideoComponent","data-tag":t.dataTag(),"data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile,id:t.id}},[e("div",{staticClass:"css",style:"transform: rotate(".concat("desktop"===this.$props.device?this.internal_config.rotation:0,") scale(1)")},[e("div",{staticClass:"embed-responsive embed-responsive-16by9",attrs:{id:"the-sticky-div"}},[e("div",{staticClass:"sticky-video-content"},[e("div",{staticClass:"video"},[e("iframe",{staticClass:"video embed-responsive-item",style:{"border-radius":t.radius,border:t.border},attrs:{width:t.internal_config.width,height:t.internal_config.height,src:t.url,"data-src":t.getDataUrl(),frameborder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""}})])])])])])},gi=[],fi={data:function(){return{url:"",props:{tag:"",width:"300px",height:"300px",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",zIndex:"auto",maxWidth:"768px",rotation:"0deg",StickyVideo:!1,positionSticky:"",btnClick:"",sizeSticky:"",src:"",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},elements:[],internal_config:{width:"300px",height:"300px",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",rotation:"0deg",src:"",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}}}}},pi={name:"YoutubeVideoComponent",components:{Model:fi},props:["config","height_start","device","id","preview","is_popup"],data:function(){return fi.data()},computed:{width:function(){return this.internal_config.width},height:function(){return this.internal_config.height},border:function(){if("undefined"!==typeof this.internal_config.border){var t=this.internal_config.border.split(" ");"undefined"!==typeof t[2]&&this.$globalStoreHelpers.isValidHex(t[2])&&(t[2]=this.$globalStoreHelpers.hexToRGBA(t[2]),this.internal_config.border=t.join(" "))}return this.internal_config.border},radius:function(){return this.internal_config.borderRadius}},methods:{dataTag:function(){return this.internal_config.tag?this.internal_config.tag:""},getDataUrl:function(){if(1==this.is_popup){var t=this.internal_config.src;return this.internal_config.checkBoxAutoPlay&&(t+="&autoplay=1"),this.internal_config.checkBoxLoop&&(t+="&loop=1"),this.internal_config.checkBoxControl&&(t+="&controls=0"),t=t+"&start="+this.internal_config.startYoutube+"&end="+this.internal_config.endYoutube,t}},getUrl:function(){if(1==this.is_popup)return null;var t=this.internal_config.src;if(this.internal_config.checkBoxLoop){var e=/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=|\?v=)([^#\&\?]*).*/,n=t.match(e);t=t+"&playlist="+n[2]+"&loop=1"}return this.internal_config.checkBoxAutoPlay&&(t+="&autoplay=1&mute=0"),this.internal_config.checkBoxControl&&(t+="&controls=0"),t=t+"&start="+this.internal_config.startYoutube+"&end="+this.internal_config.endYoutube,t},style:function(){var t="left:  ".concat(this.internal_config.left,";\n                     width: ").concat(this.internal_config.width,";\n                     height : ").concat(this.internal_config.height,";\n                     z-index: ").concat(this.internal_config.zIndex,";max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n                     padding-top: ").concat(this.internal_config.paddingTop,";\n                     padding-left: ").concat(this.internal_config.paddingLeft,";\n                     padding-right: ").concat(this.internal_config.paddingRight,";\n                     padding-bottom: ").concat(this.internal_config.paddingBottom,";\n                     top: ").concat(this.internal_config.top,";");return t}},updated:function(){this.internal_config.StickyVideo&&(this.$root.$emit("applySticky",this),this.internal_config.rotation=0)},mounted:function(){var t,e,n,i=this,o=this.$props;t=o.device,o.childs,e=o.id,n=o.config,this.internal_config=n,this.device=t,"undefined"!==typeof e&&(this.id=e),Object.keys(this.props).forEac
1h((function(t){"undefined"===typeof i.internal_config[t]&&(i.internal_config[t]=i.props[t])})),Object.keys(this.props).forEach((function(t){"undefined"===typeof i.internal_config[t]&&(i.internal_config[t]=i.props[t])}));var a=this.internal_config.src;if(this.internal_config.checkBoxLoop){var r=/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=|\?v=)([^#\&\?]*).*/,s=a.match(r);a=a+"&playlist="+s[2]+"&loop=1"}this.internal_config.checkBoxAutoPlay&&(a+="&autoplay=1&mute=0"),this.internal_config.checkBoxControl&&(a+="&controls=0"),a=a+"&start="+this.internal_config.startYoutube+"&end="+this.internal_config.endYoutube,this.url=a,1==this.is_popup&&(this.url=""),this.$root.$emit("applyAnimation",this,"sitebuilder-element-container")}},mi=pi,bi=(n("2afe"),Object(b["a"])(mi,hi,gi,!1,null,"51a8ca4c",null)),_i=bi.exports,yi=function(){var t=this,e=t._self._c;return e("div",{ref:"iframe_component_container",staticClass:"sitebuilder-element-container",style:t.style(),attrs:{element:"IframeComponent","data-tag":t.dataTag(),"data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile,id:t.id}},[e("div",{ref:"container_iframe",staticClass:"embed-responsive embed-responsive-16by9",class:{"auto-resize-height":t.autoResizeHeight},style:{height:t.height,width:t.width,minHeight:t.minHeight,transform:t.transform}},[t.internal_config.contentLoaded?[e("iframe",{ref:"iframe",staticClass:"embed-responsive-item iframe-full-height",style:{"border-radius":t.radius,border:t.border},attrs:{width:t.internal_config.width,height:t.internal_config.height,srcdoc:t.internal_config.contentLoaded,frameborder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""}})]:e("iframe",{ref:"iframe",staticClass:"embed-responsive-item iframe-full-height",style:{"border-radius":t.radius,border:t.border},attrs:{width:t.internal_config.width,height:t.internal_config.height,frameborder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""}})],2)])},vi=[],wi={data:function(){return{props:{tag:"",width:"300px",zIndex:"auto",maxWidth:"768px",rotation:"0deg",height:"300px",minHeight:"50px",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",src:"",content:"",fullWidth:!1,contentLoaded:!1,animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},elements:[],internal_config:{width:"300px",height:"300px",minHeight:"50px",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",rotation:"0deg",src:"",content:"",fullWidth:!1,animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}}}}};function xi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function ki(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?xi(Object(n),!0).forEach((function(e){Object(d["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xi(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Si={name:"IframeComponent",props:["config","height_start","device","id","preview"],data:function(){return ki(ki({},wi.data()),{},{autoResizeHeight:!1})},computed:{width:function(){return this.internal_config.width},height:function(){return this.internal_config.height},minHeight:function(){return this.internal_config.minHeight},border:function(){if("undefined"!==typeof this.internal_config.border){var t=this.internal_config.border.split(" ");"undefined"!==typeof t[2]&&this.$globalStoreHelpers.isValidHex(t[2])&&(t[2]=this.$globalStoreHelpers.hexToRGBA(t[2]),this.internal_config.border=t.join(" "))}return this.internal_config.border},radius:function(){return this.internal_config.borderRadius},transform:function(){return"rotate(".concat("desktop"===this.$props.device?this.internal_config.rotation:0,") scale(1)")}},methods:{dataTag:function(){return this.internal_config.tag?this.internal_config.tag:""},style:function(){var t="left:  ".concat(this.internal_config.left,";\n                    width: ").concat(this.internal_config.width,";\n                    z-index: ").concat(this.internal_config.zIndex,";\n                    max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n                    height: ").concat(this.internal_config.height,";\n                    padding-top: ").concat(this.internal_config.paddingTop,";\n                    padding-left: ").concat(this.internal_config.paddingLeft,";\n                    padding-right: ").concat(this.internal_config.paddingRight,";\n                    padding-bottom: ").concat(this.internal_config.paddingBottom,";\n                    top: ").concat(this.internal_config.top,";");return t},getUrlWithLogin:function(t){try{var e=!!localStorage.getItem("login-user-token-md5"),n=!!localStorage.getItem("login-user")&&this.$isJson(localStorage.getItem("login-user"));if(e&&n&&t.indexOf("purchased")<=0){var i=JSON.parse(localStorage.getItem("login-user")),o=localStorage.getItem("login-user-token-md5"),a="undefined"!==typeof i.email&&i.email;return t+("/"!==t.slice(-1)?"/":"")+(t.indexOf("index")>0?"":"index")+"?login="+a+"&password="+o}return t}catch(r){console.log(r)}},buildIframe:function(){var t=this;if(""!=this.internal_config.src){if(this.internal_config.src.indexOf("elearning.eb4us.com/course/")>0||this.internal_config.src.indexOf("elearning.builderall.com/course/")>0)try{var e=!!localStorage.getItem("login-user-token-md5"),n=!!localStorage.getItem("login-user")&&this.$isJson(localStorage.getItem("login-user"));e&&n&&(this.internal_config.src=this.getUrlWithLogin(this.internal_config.src))}catch(s){console.log("error elearning iframe",s)}this.$refs.iframe.src=this.internal_config.src;var i=this,o=parseInt(this.internal_config.height)-20+"px";"mobile"===this.$props.device&&(o=parseInt(this.internal_config.minHeight)-20+"px"),setTimeout((function(){$("#"+i.id).find("iframe").height=o}),2e3)}else{var a;
1R.a.get("/get_iframe_content?iframe_id="+this.id).then((function(e){if(a=e.data.content,a&&t.$storageON()&&localStorage.setItem("iframe-content-"+t.id,a),a.indexOf('src="https://elearning.eb4us.com/course/')>0||a.indexOf('src="https://elearning.builderall.com/course/')>0)try{var n=!!localStorage.getItem("login-user-token-md5"),i=!!localStorage.getItem("login-user")&&t.$isJson(localStorage.getItem("login-user")),o=a.match(/src="(.*?)"/);if(n&&i&&o&&"undefined"!==typeof o[1]){var r=o[1],c=t.getUrlWithLogin(r);a=a.split(r).join(c)}}catch(s){console.log("error elearning iframe",s)}var l=t.$refs.iframe.contentWindow.document;l.open(),l.write(a),l.close()}))}this.internal_config.fullWidth?this.$el.classList.add("full-width-element"):this.$el.classList.remove("full-width-element"),this.autoResizeHeight=!1;try{var r=new URL(this.internal_config.src).searchParams.get("disable_auto_height");"1"==r?this.autoResizeHeight=!1:window.addEventListener("message",this.handleAutoHeight,!1)}catch(s){console.log(s)}},handleAutoHeight:function(t){if(t.data&&t.data.frameHeight){this.autoResizeHeight=!0;var e=t.data.frameHeight+20,n=this.$refs.iframe;n&&(n.style.height=e+"px",n.height=e+"px");var i=this.$refs.container_iframe;i&&(i.style.height=e+"px");var o=this.$refs.iframe_component_container;if(o){o.style.height=e+"px";var a=o.parentElement;if(a){a.style.height=e+10+"px";var r=a.parentElement;r&&(r.style.height=e+10+"px")}}}}},mounted:function(){var t,e,n,i=this,o=this.$props;t=o.device,o.childs,e=o.id,n=o.config,this.internal_config=n,this.device=t,"undefined"!==typeof e&&(this.id=e),Object.keys(this.props).forEach((function(t){"undefined"===typeof i.internal_config[t]&&(i.internal_config[t]=i.props[t])})),this.internal_config.contentLoaded=!1,this.$root.$emit("applyAnimation",this,"sitebuilder-element-container"),this.buildIframe()}},Ci=Si,Ii=(n("8077"),Object(b["a"])(Ci,yi,vi,!1,null,"52a16908",null)),$i=Ii.exports,Ti=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",class:{"full-width-element":this.internal_config.fullWidth},style:t.style(),attrs:{id:this.id,element:"MenuComponent","data-tag":t.dataTag(),"data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile,dir:t.dir()},on:{mouseout:function(e){return t.hideDropDown(e)}}},[e("div",{style:"transform: rotate(".concat("desktop"===this.$props.device?this.internal_config.rotation:0,") scale(1)")},[e("nav",{staticClass:"navbar navbar-expand-lg desktop-menu-element",style:Object(d["a"])(Object(d["a"])({cursor:"pointer","border-radius":t.radius,background:t.backgroundColor,border:t.border},"cursor","pointer"),"box-shadow",t.boxShadow)},[e("div",{staticClass:"collapse navbar-collapse",class:[{"flex-column":"undefined"!=typeof this.internal_config.brand&&"undefined"!=typeof this.internal_config.brand.position&&"center"===this.internal_config.brand.posi3tion},{"justify-content-center":"center"===this.internal_config.align},{"justify-content-end":"right"===this.internal_config.align}]},[e("ul",{class:t.vertical?"navbar-nav flex-column":"navbar-nav"},t._l(t.internal_config.itemList,(function(n){return e("li",{directives:[{name:"show",rawName:"v-show",value:t.calcDrip(n),expression:"calcDrip(item)"}],staticClass:"nav-item item-menu-sb",style:t.itemMenuStyle(),on:{mouseenter:function(e){return t.showDropDown(n.name,!0)},mouseleave:function(e){return t.showDropDown(n.name,!1)}}},[e("a",{staticClass:"nav-link d-flex align-items-center",class:[n.children.length>0?"dropdown-toggle":"",t.itemMenuPositionClass,n.hasOwnProperty("active")?"item-active":""],style:[t.textStyle(),t.itemMenuDesktopStyle()],attrs:{href:t.hrefUrl(n),"data-action":n.link.type,"data-toggle":"dropdown",id:n.children.length>0?n.name:""},on:{click:function(e){return e.preventDefault(),t.linkAction(n)},mouseover:t.mouseover,mouseleave:t.mouseleave}},[e("span",{staticClass:"d-block text-truncate px-1"},[n.icon.selected?e("i",{directives:[{name:"show",rawName:"v-show",value:"left"===n.icon.position,expression:"item.icon.position === 'left'"}],staticClass:"mdi",class:n.icon.selected}):t._e(),t._v("\n                  "+t._s(n.name)+"\n                  "),n.icon.selected?e("i",{directives:[{name:"show",rawName:"v-show",value:"right"===n.icon.position,expression:"item.icon.position === 'right'"}],staticClass:"mdi",class:n.icon.selected}):t._e()])]),n.children.length>0?e("div",{ref:n.name,refInFor:!0,staticClass:"dropdown-menu",style:{background:t.backgroundColorSubItem}},t._l(n.children,(function(n){return e("a",{staticClass:"dropdown-item",class:[n.hasOwnProperty("active")?"item-active":""],style:[t.subTextStyle(),t.itemMenuDesktopStyle()],attrs:{href:t.hrefUrl(n),"data-action":n.link.type,target:n.link.target},on:{click:function(e){return e.preventDefault(),t.linkAction(n)},mouseover:t.mouseSubOver,mouseleave:t.mouseSubOut}},[e("span",{staticClass:"d-block px-1"},[n.icon.selected?e("i",{directives:[{name:"show",rawName:"v-show",value:"left"
1===n.icon.position,expression:"child.icon.position === 'left'"}],staticClass:"mdi",class:n.icon.selected}):t._e(),t._v("\n                  "+t._s(n.name)+"\n                  "),n.icon.selected?e("i",{directives:[{name:"show",rawName:"v-show",value:"right"===n.icon.position,expression:"child.icon.position === 'right'"}],staticClass:"mdi",class:n.icon.selected}):t._e()])])})),0):t._e()])})),0)])]),e("div",{staticClass:"mobile-menu-element"},[e("div",{staticClass:"topnav",style:{background:t.backgroundColor}},["undefined"!=typeof this.internal_config.brand&&"undefined"!=typeof this.internal_config.brand.image&&this.internal_config.brand.image?e("div",{staticClass:"navbar-brand w-100 py-1 px-3 m-0 position-absolute",class:[{"d-flex justify-content-start":"undefined"!=typeof this.internal_config.brand&&"undefined"!=typeof this.internal_config.brand.position&&"left"===this.internal_config.brand.position},{"d-flex justify-content-center":"undefined"!=typeof this.internal_config.brand&&"undefined"!=typeof this.internal_config.brand.position&&"center"===this.internal_config.brand.position},{"d-flex justify-content-end":"undefined"!=typeof this.internal_config.brand&&"undefined"!=typeof this.internal_config.brand.position&&"right"===this.internal_config.brand.position}],attrs:{href:"#"}},[t.internal_config.brand.image&&"none"!==t.internal_config.brand.image?e("img",{style:t.styleBrand(),attrs:{src:this.internal_config.brand.image,alt:"logo"}}):t._e()]):t._e(),e("a",{ref:"burguerMenu",staticClass:"icon",class:t.menuIconPositionClass,style:t.styleIconMenuBurgue,attrs:{href:"javascript:void(0);"},on:{click:t.myFunction}},[t.internal_config.burguerMenu.showCloseIcon?e("transition",{attrs:{name:"icon-change"}},[e("div",{staticClass:"mdi font-awesome-icon position-absolute",class:"undefined"!=typeof t.internal_config.burguerMenu.displayCloseIcon&&t.internal_config.burguerMenu.displayCloseIcon?"mdi-close":t.internal_config.burguerMenu.icon,staticStyle:{"font-size":"20px"}})]):e("div",{staticClass:"mdi font-awesome-icon position-absolute",class:t.internal_config.burguerMenu.icon,staticStyle:{"font-size":"20px"}})],1)]),e("div",{ref:"burguer",attrs:{id:"myLinks"}},t._l(t.internal_config.itemList,(function(n){return e("div",[e("item-menu-mobile",{directives:[{name:"show",rawName:"v-show",value:t.calcDrip(n),expression:"calcDrip(item)"}],attrs:{item:n,"text-style":t.textStyle(),"sub-text-style":t.subTextStyle()}})],1)})),0)])])])},Pi=[],Oi={data:function(){return{props:{tag:"",align:"left",zIndex:"auto",rotation:"0deg",maxWidth:"768px",vertical:!1,itemEdition:{name:"contact",icon:{},children:[],link:{type:"web",value:"",target:"_blank",targetID:""}},subitemEdition:{name:"",icon:{},link:{type:"web",value:"",target:"_blank",targetID:""}},height:"50px",width:"150px",fullWidth:!1,spacing:"0",itemMenuHeight:40,itemMenuWidth:80,itemMenuBorder:"0px solid black",itemMenuBorderRadius:"0 0 0 0",border:"0 none #000000",borderRadius:"0 0 0 0",backgroundColor:"#21309b",boxShadow:"1px 1px 1px 1px blue",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",itemMenuBoxShadow:"0 0 0 0 black initial",itemMenuBox3D:!1,btnStyle:{family:"arial, helvetica, sans-serif",size:"15px",color:"#FFFFFF",colorHover:"",align:"center",weight:"700",style:"initial",height:"50px",width:"50px",backgroundColor:"#21309b",backgroundColorActive:"#65a5c2",backgroundColorHover:"#21309b"},itemMenuSubBorder:"0px solid black",subStyle:{family:"arial, helvetica, sans-serif",size:"15px",color:"#FFFFFF",colorHover:"",align:"center",weight:"700",style:"initial",backgroundColor:"#21309b",backgroundColorActive:"#65a5c2",backgroundColorHover:"#21309b"},itemList:[{name:"home",icon:{},iconPosition:"left",children:[],link:{type:"web",value:"",target:"_blank",targetID:""}},{name:"contact",icon:{},iconPosition:"left",children:[],link:{type:"web",value:"",target:"_blank",targetID:""}},{name:"dropdown",icon:"",iconPosition:"left",children:[{name:"item-dropdown",icon:"",iconPosition:"left",link:{type:"web",value:"",target:"_blank",targetID:""}},{name:"item-dropdown-2",icon:"",iconPosition:"left",link:{type:"web",value:"",target:"_blank",targetID:""}}],link:{type:"web",value:"",target:"_blank",targetID:""}}],animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},internal_config:{zIndex:"auto",rotation:"0deg",maxWidth:"768px",width:"150px",height:"50px",left:"0px",top:"0px",align:"left",showDesktop:!0,showMobile:!0,fieldAnimated:!1,menuMobileEffect:"",fullWidth:!1,opacity:1,boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",burguerMenu:{position:"left",icon:"mdi-menu",showCloseIcon:!0,displayCloseIcon:!1,backgroundColor:"#000",color:"#fff"},brand:{image:null,position:"left",width:"100px"},itemMenuBorder:"0px solid black",itemMenuBorderRadius:"0 0 0 0",itemMenuBox3D:!1,itemMenuBoxShadow:"0 0 0 0 black initial",itemMenuHeight:40,itemMenuWidth:100,itemEdition:{name:"",icon:{},children:[]},subitemEdition:{name:"",icon:{},link:{type:"web",value:"",target:"_blank",targetID:""}}
1,textStyle:{family:"Arial",size:"15px",color:"White",align:"center",weight:"700",style:"initial"},itemMenuSubBorder:"0px solid black",subTextStyle:{family:"Arial",size:"15px",color:"White",align:"center",weight:"400",style:"initial"},link:{type:"web",value:"",target:"_blank"}},name:"menu"}}},Ai=function(){var t=this,e=t._self._c;return e("div",[t.item.children.length>0?e("a",{directives:[{name:"toggle",rawName:"v-toggle"}],staticClass:"nav-link text-wrap dropdown-toggle",style:t.textStyle},[t.item.icon.selected?e("i",{directives:[{name:"show",rawName:"v-show",value:"left"===t.item.icon.position,expression:"item.icon.position === 'left'"}],staticClass:"mdi",class:t.item.icon.selected}):t._e(),t._v("\n    "+t._s(t.item.name)+"\n    "),t.item.icon.selected?e("i",{directives:[{name:"show",rawName:"v-show",value:"right"===t.item.icon.position,expression:"item.icon.position === 'right'"}],staticClass:"mdi",class:t.item.icon.selected}):t._e()]):e("a",{staticClass:"nav-link text-wrap",style:t.textStyle,on:{click:function(e){return t.linkAction(t.item)}}},[t.item.icon.selected?e("i",{directives:[{name:"show",rawName:"v-show",value:"left"===t.item.icon.position,expression:"item.icon.position === 'left'"}],staticClass:"mdi",class:t.item.icon.selected}):t._e(),t._v("\n    "+t._s(t.item.name)+"\n    "),t.item.icon.selected?e("i",{directives:[{name:"show",rawName:"v-show",value:"right"===t.item.icon.position,expression:"item.icon.position === 'right'"}],staticClass:"mdi",class:t.item.icon.selected}):t._e()]),e("div",{staticClass:"toggle"},t._l(t.item.children,(function(n){return e("a",{staticClass:"burguer-sub-item dropdown-item d-block text-wrap",style:t.subTextStyle,on:{click:function(e){return t.linkAction(n)}}},[n.icon.selected?e("i",{directives:[{name:"show",rawName:"v-show",value:"left"===n.icon.position,expression:"child.icon.position === 'left'"}],staticClass:"mdi",class:n.icon.selected}):t._e(),t._v("\n      "+t._s(n.name)+"\n      "),n.icon.selected?e("i",{directives:[{name:"show",rawName:"v-show",value:"right"===n.icon.position,expression:"child.icon.position === 'right'"}],staticClass:"mdi",class:n.icon.selected}):t._e()])})),0)])},Ri=[],Bi={name:"itemMenuMobile",props:{item:{type:Object,required:!0},textStyle:{type:Object,required:!0},subTextStyle:{type:Object,required:!0}},methods:{linkAction:function(){var t=Object(u["a"])(regeneratorRuntime.mark((function t(e){var n=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$parent.myFunction();case 2:"newAnchor"===e.link.type?setTimeout((function(){n.$root.$emit("linkAction",e.link)}),800):this.$root.$emit("linkAction",e.link);case 3:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()}},Li=Bi,zi=(n("071c"),Object(b["a"])(Li,Ai,Ri,!1,null,"de3c7e1a",null)),Mi=zi.exports,Ei=n("c1df"),Ni=n.n(Ei),Di={name:"MenuComponent",props:["config","id","preview","device"],components:{ItemMenuMobile:Mi,Data:Oi},computed:{vertical:function(){return this.internal_config.vertical},border:function(){if("undefined"!==typeof this.internal_config.border){var t=this.internal_config.border.split(" ");"undefined"!==typeof t[2]&&this.$globalStoreHelpers.isValidHex(t[2])&&(t[2]=this.$globalStoreHelpers.hexToRGBA(t[2]),this.internal_config.border=t.join(" "))}return this.internal_config.border},boxShadow:function(){return this.internal_config.boxShadow},radius:function(){return this.internal_config.borderRadius},backgroundColor:function(){return this.$globalStoreHelpers.isValidHex(this.internal_config.backgroundColor)&&(this.internal_config.backgroundColor=this.$globalStoreHelpers.hexToRGBA(this.internal_config.backgroundColor)),this.internal_config.backgroundColor},backgroundColorItem:function(){return this.$globalStoreHelpers.isValidHex(this.internal_config.btnStyle.backgroundColor)&&(this.internal_config.btnStyle.backgroundColor=this.$globalStoreHelpers.hexToRGBA(this.internal_config.btnStyle.backgroundColor)),this.internal_config.btnStyle.backgroundColor},backgroundColorSubItem:function(){return this.$globalStoreHelpers.isValidHex(this.internal_config.subStyle.backgroundColor)&&(this.internal_config.subStyle.backgroundColor=this.$globalStoreHelpers.hexToRGBA(this.internal_config.subStyle.backgroundColor)),this.internal_config.subStyle.backgroundColor},menuIconPositionClass:function(){return{leftIconPosition:"left"===this.internal_config.burguerMenu.position,rightIconPosition:"right"===this.internal_config.burguerMenu.position,centerIconPosition:"center"===this.internal_config.burguerMenu.position}},itemMenuPositionClass:function(){return{"justify-content-end":"right"===this.internal_config.btnStyle.align,"justify-content-start":"left"===this.internal_config.btnStyle.align,"justify-content-center":"center"===this.internal_config.btnStyle.align}},styleIconMenuBurgue:function(){return"color: ".concat(this.internal_config.burguerMenu.color,";\n      background: ").concat(this.internal_config.burguerMenu.backgroundColor,";\n      width: 3.6em;\n      height: 3.4em;")}},data:function(){return Oi.data()},methods:{dataTag:function(){return this.internal_config.tag?this.internal_config.tag:""},animation:function(){return!1},myFunction:function(){var t=this.$refs.burguer,e=this.internal_config.menuMobileEffect,n={};"block"===t.style.display?this.internal_config.burguerMenu.displayCloseIcon=!1:this.internal_config.burguerMenu.displayCloseIcon=!0,"size"===e&&(n={to:{width:0,height:0}}),e?$(t).toggle(e,n,500):$(t).toggle()},mouseover:function(t){var e=t.toElement;this.$globalStoreHelpers.isValidHex(this.internal_config.btnStyle.backgroundColorHover)&&(this.internal_config.btnStyle.backgroundColorHover=this.$globalStoreHelpers.hexToRGBA(this.internal_config.btnStyle.backgroundColorHover)),e.classList.contains("nav-link")&&(e.style.backgroundColor=this.internal_config.btnStyle.backgroundColorHover)},mouseleave:function(t){var e=t.fromElement;this.$globalStoreHelpers.isValidHex(this.internal_config.btnStyle.backgroundColor)&&(this.internal_config.btnStyle.backgroundColor=this.$globalStoreHelpers.hexToRGBA(this.internal_config.btnStyle.backgroundColor)),e.classList.contains("nav-link")&&(-1!==e.getAttribute("class").indexOf("item-active")?e.style.backgroundColor=this.internal_config.btnStyle.backgroundColorActive:e.style.backgroundColor=this.internal_config.btnStyle.backgroundColor)},mouseSubOver:function(t){var e=t.toElement;this.$globalStoreHelpers.isValidHex(this.internal_config.subStyle.backgroundColorHover)&&(this.internal_config.subStyle.backgroundColorHover=this.$globalStoreHelpers.hexToRGBA(this.internal_config.subStyle.backgroundColorHover)),e.classList.contains("dropdown-item")&&(e.style.backgroundColor=this.internal_config.subStyle.backgroundColorHover)},mouseSubOut:function(t){var e=t.fromElement;this.$globalStoreHelpers.isValidHex(this.internal_config.subStyle.backgroundColor)&&(this.internal_config.subStyle.backgroundColor=this.$globalStoreHelpers.hexToRGBA(this.internal_config.subStyle.backgroundColor)),e.classList.contains("dropdown-item")&&(-1!==e.getAttribute("class").indexOf("item-active")?e.style.backgroundColor=this.internal_config.subStyle.backgroundColorActive:e.style.backgroundColor=this.internal_config.subStyle.backgroundColor)},clickDropDown:function(t,e){$(".dropdown-menu").hide(),"undefined"!==typeof this.$refs[t]&&(this.$refs[t][0].style.display="none"==this.$refs[t][0].style.display?"block":"none"),this.linkAction(e)},showDropDown:function(t,e){$(".dropdown-menu").hide(),"undefined"!==typeof this.$refs[t]&&($(this.$refs[t][0]).css("max-height",window.innerHeight),this.$refs[t][0].style.display="none"==this.$refs[t][0].style.display?"block":"none"),"undefined"!==typeof this.$refs[t]&&(this.$refs[t][0].style.display=e?"block":"none")},hideDropDown:function(t){"panel-body container"==t.toElement.className&&$(".dropdown-menu").hide()},linkAction:function(t){this.$root.$emit("linkAction",t.link)},hrefUrl:function(t){var e="";return"web"==t.link.type?(e=t.link.value,e):(e="#",e)},buildIcon:function(){$(this.$el).find("i").detach(),""!==this.internal_config.icon&&("left"===this.internal_config.iconPosition&&$("<i>").addClass("mdi "+this.internal_config.icon).prependTo($(this.$el).find(".sb-text").get(0)),"right"===this.internal_config.iconPosition&&$("<i>").addClass("mdi "+this.internal_config.icon).appendTo($(this.$el).find(".sb-text").get(0)))},build:function(t){this.internal_config=t,this.buildIcon()},itemMenuStyle:function(){return{marginLeft:parseInt(this.internal_config.spacing)/2+"px",marginRight:parseInt(this.internal_config.spacing)/2+"px",borderRadius:this.internal_config.itemMenuBorderRadius,background:this.internal_config.btnStyle.backgroundColor}},textStyle:function(){return{fontFamily:this.internal_config.btnStyle.family,fontSize:this.internal_config.btnStyle.size,textAlign:this.internal_config.btnStyle.align,fontWeight:this.internal_config.btnStyle.weight,fontStyle:this.internal_config.btnStyle.style,color:this.internal_config.btnStyle.color,border:this.internal_config.itemMenuBorder,boxShadow:this.internal_config.itemMenuBoxShadow,"--menu-item-background":this.internal_config.btnStyle.backgroundColor,"--menu-item-background--hover":this.internal_config.btnStyle.backgroundColorHover,"--menu-item-color--hover":this.internal_config.btnStyle.colorHover||this.internal_config.btnStyle.color,"--menu-item-background-active":this.internal_config.btnStyle.backgroundColorActive}},subTextStyle:function(){return{fontFamily:this.internal_config.subStyle.family,fontSize:this.internal_config.subStyle.size,textAlign:this.internal_config.subStyle.align,fontWeight:this.internal_config.subStyle.weight,fontStyle:this.internal_config.subStyle.style,color:this.internal_config.subStyle.color,border:this.internal_config.itemMenuSubBorder,display:"grid","--sub-item-background":this.internal_config.subStyle.backgroundColor,"--sub-item-background--hover":this.internal_config.subStyle.backgroundColorHover,"--sub-item-color--hover":this.internal_config.subStyle.colorHover||this.internal_config.subStyle.color,"--sub-item-background-active":this.internal_config.subStyle.backgroundColorActive}},itemMenuDesktopStyle:function(){return{paddingLeft:parseInt(this.internal_config.itemMenuWidth)/10+"px",paddingRight:parseInt(this.internal_config.itemMenuWidth)/10+"px",height:parseInt(this.internal_config.itemMenuHeight)+"px",paddingTop:0,paddingBottom:0,borderRadius:this.internal_config.itemMenuBorderRadius}},styleBrand:function(){return{maxWidth:parseInt(this.internal_config.brand.width)+"px",width:parseInt(this.internal_config.brand.width)+"px",maxHeight:"50px",padding:0}},style:function(){return"left:  ".concat(this.internal_config.left,";\n                     z-index: ").concat(this.internal_config.zIndex,";max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n\t\t\t\t        padding-top: ").concat(this.internal_config.paddingTop,";\n                padding-left: ").concat(this.internal_config.paddingLeft,";\n                padding-right: ").concat(this.internal_config.paddingRight,";\n                padding-bottom: ").concat(this.internal_config.paddingBottom,";\n                top: ").concat(this.internal_config.top,";")},dir:function(){return"undefined"!=typeof langUser&&("he"===langUser||"ja"===langUser||"ar"===langUser)&&"rtl"},styleResize:function(){return"{width: ".concat(this.internal_config.width,", height:  ").concat(this.internal_config.height,"}")},calcDrip:function(t){if(!this.internal_config.isDrip)return!0;
1if("undefined"===typeof t.typeOfPredefined||"none"===t.typeOfPredefined)return!0;if("date"===t.typeOfPredefined){if(Ni.a.utc()>Ni()(t.datePredefined))return!0}else{var e=Ni()(localStorage.getItem("timeFirstAccess-"+this.id),"x").format("DD MMM YYYY hh:mm a"),n=Ni()(e).add(t.timePredefinedDays,"days").add(t.timePredefinedHours,"hours").add(t.timePredefinedMinutes,"minutes").add(t.timePredefinedSeconds,"seconds");if(Ni()()>n)return!0}}},mounted:function(){var t=this,e=this.$props.config;try{var n="/"===window.location.pathname,i=!1;if(n)i=parseInt(pagesConfig.filter((function(t){return"1"===t.initial}))[0].id);else{var o=window.location.pathname.replace("/","").toLowerCase();i=parseInt(pagesConfig.filter((function(t){return t.url.toLowerCase()===o}))[0].id)}e.itemList.forEach((function(t){"page"===t.link.type&&parseInt(t.link.valueID)===i&&(t.active=!0),t.children.forEach((function(e){"page"===e.link.type&&parseInt(e.link.valueID)===i&&(e.active=!0,t.active=!0)}))}))}catch(r){console.log(r)}if(this.build(e),["undefined","string"].includes(Object(l["a"])(this.internal_config.burguerMenu))&&(this.internal_config.burguerMenu={position:"right",icon:"mdi-menu",showCloseIcon:!0,displayCloseIcon:!1,backgroundColor:"#000",color:"#fff"}),this.internal_config.burguerMenu.displayCloseIcon=!1,Object.keys(this.props).forEach((function(e){"undefined"===typeof t.internal_config[e]&&(t.internal_config[e]=t.props[e])})),this.$root.$emit("applyAnimation",this,"sitebuilder-element-container"),this.$el.classList.add("preview"),"auto"===this.internal_config.zIndex&&(this.internal_config.zIndex=1),"undefined"!==typeof this.internal_config.isDrip&&this.internal_config.isDrip){var a=localStorage.getItem("timeFirstAccess-"+this.id);null==a&&(a=Ni()().valueOf(),localStorage.setItem("timeFirstAccess-"+this.id,a))}}},ji=Di,Hi=(n("e351"),n("4293"),Object(b["a"])(ji,Ti,Pi,!1,null,"1e8cdca0",null)),Fi=Hi.exports,Ui=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{element:"VimeoVideoComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile,id:t.id}},[e("div",{staticClass:"css"},[e("div",{staticClass:"embed-responsive embed-responsive-16by9",attrs:{id:"the-sticky-div"}},[e("div",{staticClass:"sticky-video-content"},[e("div",{staticClass:"video"},[e("iframe",{staticClass:"embed-responsive-item",style:{"border-radius":t.radius,border:t.border},attrs:{width:t.internal_config.width,height:t.internal_config.height,src:t.getUrl(),"data-src":t.getDataUrl(),frameborder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""}})])])])])])},qi=[],Vi={data:function(){return{props:{tag:"",width:"300px",height:"300px",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",zIndex:"auto",maxWidth:"768px",rotation:"0deg",src:"",StickyVideo:!1,positionSticky:"",btnClick:"",sizeSticky:"",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},elements:[],internal_config:{width:"300px",height:"300px",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",src:"",rotation:"0deg",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}}}}},Wi={name:"VimeoVideoComponent",props:["config","height_start","device","id","preview","is_popup"],data:function(){return Vi.data()},computed:{width:function(){return this.internal_config.width},height:function(){return this.internal_config.height},border:function(){if("undefined"!==typeof this.internal_config.border){var t=this.internal_config.border.split(" ");"undefined"!==typeof t[2]&&this.$globalStoreHelpers.isValidHex(t[2])&&(t[2]=this.$globalStoreHelpers.hexToRGBA(t[2]),this.internal_config.border=t.join(" "))}return this.internal_config.border},radius:function(){return this.internal_config.borderRadius}},methods:{getUrlBase:function(){var t=this.internal_config.src,e=document.createElement("a");e.href=t;var n=""!==e.search;return t+=n?"&":"?",this.internal_config.checkBoxAutoPlay&&this.internal_config.checkBoxLoop?t+="autoplay=1&loop=1":this.internal_config.checkBoxLoop?t+="loop=1":this.internal_config.checkBoxAutoPlay&&(t+="autoplay=1"),t=t.replace("??","?"),t},getUrl:function(){return 1==this.is_popup?null:this.getUrlBase()},getDataUrl:function(){if(1==this.is_popup)return this.getUrlBase()},style:function(){var t="left:  ".concat(this.internal_config.left,";\n\t\t\t\t\t z-index: ").concat(this.internal_config.zIndex,";max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n\t\t\t\t\t width: ").concat(this.internal_config.width,";\n\t\t\t\t\t height: ").concat(this.internal_config.height,";\n\t\t\t\t\t padding-top: ").concat(this.internal_config.paddingTop,";\n\t\t\t\t\t padding-left: ").concat(this.internal_config.paddingLeft,";\n                     padding-right: ").concat(this.internal_config.paddingRight,";\n                     padding-bottom: ").concat(this.internal_config.paddingBottom,";\n\t\t\t\t\t top: ").concat(this.internal_config.top,";\n\t\t\t\t\t transform: rotate(").concat("desktop"==this.$props.device?this.internal_config.rotation:0,") scale(1)");return t}},created:function(){var t,e,n,i=this.$props;t=i.device,i.childs,e=i.id,n=i.config,this.internal_config=n,this.device=t,"undefined"!==typeof e&&(this.id=e),this.internal_config=window.mergeRecursive(this.props,this.$props.config)},mounted:function(){var t=this;this.$root.$emit("applyAnimation",this,"sitebuilder-element-container"),this.internal_config.StickyVideo&&this.$nextTick((function(){t.$root.$emit("applySticky",t),t.internal_config.rotation=0}))}},Gi=Wi,Ji=(n("5f28"),Object(b["a"])(Gi,Ui,qi,!1,null,"3f25f43e",null)),Yi=Ji.exports,Ki=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{element:"PandaVideoComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile,id:t.
1id}},[e("div",{staticClass:"css"},[e("div",{staticClass:"embed-responsive embed-responsive-16by9",attrs:{id:"the-sticky-div"}},[e("div",{staticClass:"sticky-video-content"},[e("div",{staticClass:"video"},[t.internal_config.videoConfigs?e("iframe",{staticClass:"embed-responsive-item",style:{"border-radius":t.radius,border:t.border},attrs:{id:t.internal_config.videoConfigs.id,src:t.getUrl(),width:t.internal_config.width,height:t.internal_config.height,frameborder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""}}):e("div",{staticClass:"embed-responsive-item"},[e("div",{staticStyle:{"background-color":"white",height:"200px",width:"100%",display:"flex","align-items":"center","justify-content":"center","flex-direction":"column"}},[e("h6",{staticClass:"text-center"},[t._v(t._s(t.$t("ct-select-video-panda")))])])])])])])])])},Zi=[],Qi={data:function(){return{props:{tag:"",width:"300px",height:"300px",zIndex:"auto",maxWidth:"500px",rotation:"0deg",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",video_player:"false",StickyVideo:!1,positionSticky:"",btnClick:"",sizeSticky:"",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},elements:[],internal_config:{width:"300px",height:"300px",zIndex:"auto",video_player:{},rotation:"0deg",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",src:"",checkBoxAutoPlay:"false",checkBoxLoop:"false"}}}},Xi={name:"PandaVideoComponent",components:{},props:["config","height_start","device","id","preview"],data:function(){return Qi.data()},computed:{width:function(){return this.internal_config.width},height:function(){return this.internal_config.height},border:function(){return this.internal_config.border},radius:function(){return this.internal_config.borderRadius}},methods:{getUrl:function(){var t=this.internal_config.videoConfigs.video_player,e=document.createElement("a");e.href=t;var n=""!==e.search;return t+=n?"&":"?",this.internal_config.checkBoxAutoPlay&&(t+="autoplay=true"),t},animation:function(){return!0},style:function(){var t="left:  ".concat(this.internal_config.left,";\n\t\t\t\t\t z-index: ").concat(this.internal_config.zIndex,";\n\t\t\t\t\t max-width: ").concat(this.internal_config.maxWidth,";\n\t\t\t\t\t margin: 0 auto;\n\t\t\t\t\t width: ").concat(this.internal_config.width,";\n\t\t\t\t\t height: ").concat(this.internal_config.height,";\n\t\t\t\t\t padding-top: ").concat(this.internal_config.paddingTop,";\n\t\t\t\t\t padding-left: ").concat(this.internal_config.paddingLeft,";\n           padding-right: ").concat(this.internal_config.paddingRight,";\n           padding-bottom: ").concat(this.internal_config.paddingBottom,";\n\t\t\t\t\t top: ").concat(this.internal_config.top,";\n\t\t\t\t\t transform: rotate(").concat("desktop"==this.$props.device?this.internal_config.rotation:0,") scale(1)");return t},addScriptOnHead:function(){if(!document.querySelector('script[src^="https://player.pandavideo.com.br/api.v2.js"]')){var t=document.createElement("script");t.src="https://player.pandavideo.com.br/api.v2.js?nowprocket&version=1665967882479",t.async=!0,document.head.appendChild(t)}}},created:function(){var t,e,n,i=this.$props;t=i.device,i.childs,e=i.id,n=i.config,this.internal_config=n,this.device=t,"undefined"!==typeof e&&(this.id=e),this.internal_config=window.mergeRecursive(this.props,this.$props.config)},mounted:function(){this.addScriptOnHead(),this.$root.$emit("applyAnimation",this,"sitebuilder-element-container")}},to=Xi,eo=(n("e754"),Object(b["a"])(to,Ki,Zi,!1,null,"f56cf816",null)),no=eo.exports,io=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{element:"WebinarVideoComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile,id:t.
1id},on:{contextmenu:function(e){return e.preventDefault(),t.handler(e)}}},[e("div",{staticClass:"vdr resizable",style:{width:t.width,height:t.height,transform:t.transform}},[e("div",{directives:[{name:"show",rawName:"v-show",value:!this.preview,expression:"!this.preview"}]}),e("div",{staticClass:"embed-responsive embed-responsive-16by9"},[e("iframe",{staticClass:"embed-responsive-item",style:{"border-radius":t.radius,border:t.border},attrs:{width:t.internal_config.width,height:t.internal_config.height,src:t.url,frameborder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""}})])])])},oo=[],ao={data:function(){return{url:"",props:{width:"300px",height:"300px",zIndex:"auto",maxWidth:"768px",rotation:"0deg",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",src:"https://webinar2.eb4us.com/",webinarId:"",webinarSecret:"",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},elements:[],internal_config:{width:"300px",height:"300px",zIndex:"auto",maxWidth:"768px",rotation:"0deg",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",src:"https://webinar2.eb4us.com/",id:"",secret:"",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}}}}},ro={name:"WebinarVideoComponent",components:{Model:ao},props:["config","height_start","device","id","preview"],data:function(){return ao.data()},computed:{width:function(){return this.internal_config.width},height:function(){return this.internal_config.height},transform:function(){return"rotate(".concat("desktop"===this.$props.device?this.internal_config.rotation:0,") scale(1)")},border:function(){if("undefined"!==typeof this.internal_config.border){var t=this.internal_config.border.split(" ");"undefined"!==typeof t[2]&&this.$globalStoreHelpers.isValidHex(t[2])&&(t[2]=this.$globalStoreHelpers.hexToRGBA(t[2]),this.internal_config.border=t.join(" "))}return this.internal_config.border},radius:function(){return this.internal_config.borderRadius}},methods:{debug:function(){},animation:function(){return!0},getUrl:function(){document.querySelectorAll(".panel-components-right").length;var t=this.internal_config.src;return t=t+"embed.php?id="+this.internal_config.webinarId+"&secret="+this.internal_config.webinarSecret,console.log(t),t},centerElement:function(){var t=document.getElementById(this.id),e=document.getElementById(this.id).parentNode,n=e.offsetWidth/2-parseInt(t.scrollWidth)/2+"px";this.$el.style.left=n,this.internal_config.left=n},onResize:function(t,e,n,i){this.internal_config.width=n+"px",this.internal_config.height=i+"px"},toggle:function(){this.$root.$emit("toggleElement",this)},deleteElement:function(){this.$root.$emit("deleteElement",this)},duplicateElement:function(){this.$root.$emit("duplicateElement",this,this.internal_config)},focusElement:function(t){this.$root.$emit("focusElement",this),this.$root.$emit("handlerElement",this),this.$el.getBoundingClientRect().top<75?this.$refs.defaultOptions.classList.add("top-option"):this.$refs.defaultOptions.classList.remove("top-option"),t.stopPropagation(),t.preventDefault()},showResources:function(){},callReorder:function(t){this.$parent.changeOrderPanel(this,t)},changeOrderPanel:function(t,e){var n=t.$el.id,i=1===e?document.getElementById(n).nextSibling:document.getElementById(n).previousSibling;if(null===i)return!0;var o=this;this.$root.$emit("changeOrderElementsInside",o.id,n,i.id,e)},handler:function(t){this.$root.$emit("focusElement",this),this.$root.$emit("handlerElement",this),t.stopPropagation(),t.preventDefault()},style:function(){var t="left:  ".concat(this.internal_config.left,";\n\t\t\t\t\t z-index: ").concat(this.internal_config.zIndex,";max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n\t\t\t\t\t width: ").concat(this.internal_config.width,";\n\t\t\t\t\t height: ").concat(this.internal_config.height,";\n\t\t\t\t\t padding-top: ").concat(this.internal_config.paddingTop,";\n\t\t\t\t\t padding-left: ").concat(this.internal_config.paddingLeft,";\n                     padding-right: ").concat(this.internal_config.paddingRight,";\n                     padding-bottom: ").concat(this.internal_config.paddingBottom,";\n                     top: ").concat(this.internal_config.top,";");return t}},created:function(){var t,e,n,i=this.$props;t=i.device,i.childs,e=i.id,n=i.config,this.internal_config=n,this.device=t,"undefined"!==typeof e&&(this.id=e),this.internal_config=window.mergeRecursive(this.props,this.$props.config)},mounted:function(){var t,e,n,i=this,o=this.$props;t=o.device,o.childs,e=o.id,n=o.config,this.internal_config=n,this.device=t,"undefined"!==typeof e&&(this.id=e);document.querySelectorAll(".panel-components-right").length;var a=this.internal_config.src;a=a+"embed.php?id="+this.internal_config.webinarId+"&secret="+this.internal_config.webinarSecret,this.url=a,Object.keys(this.props).forEac
1h((function(t){"undefined"===typeof i.internal_config[t]&&(i.internal_config[t]=i.props[t])})),this.$root.$emit("applyAnimation",this,"sitebuilder-element-container")}},so=ro,co=(n("7bc0"),Object(b["a"])(so,io,oo,!1,null,"2d44991c",null)),lo=co.exports,uo=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:this.id,element:"TimerComponent","data-tag":t.dataTag(),"data-hide-desktop":!this.config.showDesktop,"data-hide-mobile":!this.config.showMobile},on:{contextmenu:function(e){return e.preventDefault(),t.handler(e)}}},[e("div",{style:"transform: rotate(".concat("desktop"===this.$props.device?this.internal_config.rotation:0,") scale(1)")},["panels"===this.internal_config.theme?e("flip-clock",{attrs:{preview:t.preview,config:this.internal_config,device:t.$props.device},on:{updateData:t.updateData}}):"circles"===this.internal_config.theme?e("time-circles",{ref:"timecirlces",attrs:{device:t.$props.device,preview:t.preview,options:this.internal_config.options,config:this.internal_config},on:{updateData:t.updateData,setCallbackChangeDevice:t.setCallbackChangeDevice}}):e("time-show",{ref:"timeshow",attrs:{preview:t.preview,options:this.internal_config.options,config:this.internal_config},on:{updateData:t.updateData,setCallbackChangeDevice:t.setCallbackChangeDevice}})],1)])},ho=[],go=n("a2a9"),fo=n.n(go),po={data:function(){return{props:{tag:"",name:"timer",link:{type:"web",value:"",target:"self"},animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},internal_config:{id:"",width:"150px",height:"50px",left:"0px",top:"0px",zIndex:"auto",rotation:"0deg",link:{type:"web",value:"",target:"self"},theme:"panels",type:"decrease_sum_time",textDescription:"Promotion ends in ...",date_end:"",hours:"14",minutes:"30",seconds:"20",labelTextStyle:{family:"arial, helvetica, sans-serif",size:"15px",color:"#333",align:"center",weight:"700",style:"initial"},numberTextStyle:{family:"arial, helvetica, sans-serif",size:"15px",color:"#ccc",align:"center",weight:"700",style:"initial"},appearance:{panels:{fontColor:"#CCC",fontColorLabel:"#000",backgroundColor:"#000"},circles:{fontColor:"#2c3e50",backgroundColor:"#ff0f0f",backgroundColorEffect:"#9c9c9c"},pill:{fontColor:"#FFF",backgroundColor:"#b03b25"},text:{fontColor:"#2c3e50",fontColorLabel:"#000",fontDesc:{family:"arial, helvetica, sans-serif",size:"15px",color:"#ccc",align:"center",weight:"700",style:"initial"}},squares:{fontColor:"#2c3e50",backgroundColor:"#ff0f0f",backgroundColorEffect:"#9c9c9c"},simple:{fontColor:"#2c3e50",fontColorLabel:"#000"}},settings:{time:{},save_time:"",gtm_save:"",date_finish:(new fo.a).addDays(7).toString(),original_date_finish:"",original_hours_finish:"",original_minutes_finish:"",days_to_sum:"5",hours_to_sum:"4",minutes_to_sum:"30",seconds_to_sum:"20"}}}}},mo=n("f190"),bo=n.n(mo),_o=function(){function t(e){Object(s["a"])(this,t),this.timer=e,this.el=e.$el,this.id=this.el.id,this.config=e.internal_config?e.internal_config:e.config,this.settings={active:"false",counter:"",link:""},this.isEditor=document.querySelectorAll(".panel-components-right").length>0}return Object(c["a"])(t,[{key:"getLocalStorage",value:function(t){return localStorage.getItem(t+(this.isEditor?"-editor-":"")+this.id)}},{key:"getSumDate",value:function(t){return fo()().addDays(t.days).addHours(t.hours).addMinutes(t.minutes).addSeconds(t.seconds).toString()}},{key:"getStartUserEveryAccess",value:function(t){return fo()().addDays(t.days_to_sum).addHours(t.hours_to_sum).addMinutes(t.minutes_to_sum).addSeconds(t.seconds_to_sum).toString()}},{key:"getDecreaseSumTimeUserStart",value:function(t){this.isEditor&&this.setLocalStorage();var e,n,i=this.getLocalStorage("idTimer");if("decrease_sum_time_user_start"===this.config.type)return i||(this.setLocalStorage(),i=localStorage.getItem("idTimer"+(this.isEditor?"-editor-":"")+this.id)),-1===i.indexOf("GMT")?(e="undefined"===typeof this.config.settings.gmt_save?this.config.settings.date_finish.substr(this.config.settings.date_finish.indexOf("GMT"),8):this.config.settings.gmt_save,i+=" "+e,n=fo()(i,!0).diffSeconds(fo()(!0)),fo()().addSeconds(-1*n).toString("yyyy-MM-dd HH:mm:ss")):i}},{key:"getDefaultType",value:function(){var t=this.config.settings.original_date_finish,e=this.config.settings.gmt_save,n=fo()(),i=fo()(!0),o=n.toString().substr(n.toString().indexOf("GMT"),8),a=fo()(i).diffSeconds(fo()(n));if(o!==e&&this.config.settings.original_date_finish_gmt0){var r=this.config.settings.original_date_finish_gmt0.indexOf("GMT"),s=fo()(this.config.settings.original_date_finish_gmt0.substr(0,r)),c=t=s.addSeconds(a).toString();return a=fo()(c,!0).diffSeconds(fo()(!0)),fo()().addSeconds(-1*a)}return t}},{key:"treatment",value:function(){if("decrease_sum_time_user_start"!==this.config.type&&"decrease_sum_time"!==this.config.type&&"start_user_every_access"!==this.config.type||!this.isEditor||(this.config.settings.save_time=fo()().toString()),this.config.settings.original_minutes_finish=this.config.minutes,this.config.settings.original_hours_finish=this.config.hours,this.config.settings.minutes_to_sum=this.config.minutes,this.config.settings.days_to_sum=this.config.days,this.config.settings.hours_to_sum=this.config.hours,this.config.settings.seconds_to_sum=this.config.seconds,this.config.settings.original_minutes_finish=this.config.minutes,this.config.settings.original_hours_finish=this.config.hours,this.config.settings.minutes_to_sum=this.config.minutes,this.config.settings.days_to_sum=this.config.days,this.config.settings.hours_to_sum=this.config.hours,this.config.settings.seconds_to_sum=this.config.seconds,this.isEditor&&"circles"===this.config.theme&&("decrease_date_end"===this.config.type||"decrease_sum_time"===this.config.type?this.config.settings.date=this.getDefaultType().toString():"start_user_every_access"===this.config.type?this.config.settings.date=this.getStartUserEveryAccess(this.config.settings):"decrease_sum_time_user_start"===this.config.type?this.config.settings.date=this.getDecreaseSumTimeUserStart():this.config.settings.date=this.getDefaultType().toString()),"panels"===this.config.theme)switch(this.config.type){case"start_user_every_access":this.config.settings.finish=this.getStartUserEveryAccess(this.config.settings);break;case"decrease_sum_time_user_start":this.isEditor?this.config.settings.finish=this.getStartUserEveryAccess(this.config.settings):this.config.settings.finish=this.getDecreaseSumTimeUserStart();break;default:this.config.settings.date=this.config.settings.original_date_finish,this.config.settings.finish=this.getDefaultType();break}return this.config}},{key:"setStorageConfig",value:function(){var t=localStorage.getItem("idTimer-saveTime-config-"+(this.isEditor?"editor-":"")+this.id),e={days:+this.config.settings.days_to_sum,hours:+this.config.settings.hours_to_sum,minutes:+this.config.settings.minutes_to_sum,seconds:+this.config.settings.seconds_to_sum};t===JSON.stringify(e)&&"decrease_sum_time_user_start"===this.config.type||"decrease_sum_time_user_start"===this.config.type&&t!==JSON.stringify(e)&&localStorage.setItem("idTimer-saveTime-config-"+(this.isEditor?"editor-":"")+this.id,JSON.stringify(e))}},{key:"setLocalStorage",value:function(){if("decrease_sum_time_user_start"===this.config.type)if(null===localStorage.getItem("idTimer-saveTime-"+(this.isEditor?"editor-":"")+this.id)&&null===localStorage.getItem("idTimer"+(this.isEditor?"-editor-":"")+this.id)){var t=fo()().addDays(this.config.settings.days_to_sum).addHours(this.config.settings.hours_to_sum).addMinutes(this.config.settings.minutes_to_sum).addSeconds(this.config.settings.seconds_to_sum).toString();localStorage.setItem("idTimer"+(this.isEditor?"-editor-":"")+this.id,t),localStorage.setItem("idTimer-saveTime-"+(this.isEditor?"editor-":"")+this.id,this.config.settings.save_time),localStorage.setItem("idTimer-saveTime-start"+(this.isEditor?"editor-":"")+this.id,fo()().toString()),this.setStorageConfig()}else if(null!==this.getLocalStorage("idTimer")){this.setStorageConfig();var e=localStorage.getItem("idTimer-saveTime-"+(this.isEditor?"editor-":"")+this.id);if(this.config.settings.save_time!==e){var n=fo()().addDays(this.config.settings.days_to_sum).addHours(this.config.settings.hours_to_sum).addMinutes(this.config.settings.minutes_to_sum).addSeconds(this.config.settings.seconds_to_sum).toString();localStorage.setItem("idTimer"+(this.isEditor?"-editor-":"")+this.id,n),localStorage.setItem("idTimer-saveTime-"+(this.isEditor?"editor-":"")+this.id,this.config.settings.save_time),localStorage.setItem("idTimer-saveTime-start"+(this.isEditor?"editor-":"")+this.id,fo()().toString())}}}},{key:"build",value:function(){var t=this,e={};switch(this.setLocalStorage(),this.config.theme){case"circles":"decrease_date_end"===this.config.type||"decrease_sum_time"===this.config.type?e.date=this.getDefaultType().toString():"start_user_every_access"===this.config.type?e.date=this.getStartUserEveryAccess(this.config.settings):"decrease_sum_time_user_start"===this.config.type?e.date=this.getDecreaseSumTimeUserStart():e.date=this.getDefaultType().toString();break;case"panels":break;case"pill":case"text":case"simple":case"squares":var n=this.el.querySelector("[data-timer-element=days]"),i=this.el.querySelector("[data-timer-element=hours]"),o=this.el.querySelector("[data-timer-element=minutes]"),a=this.el.querySelector("[data-timer-element=seconds]");switch(this.config.type){case"start_user_every_access":e.finish=this.getStartUserEveryAccess(this.config.settings);break;case"decrease_sum_time_user_start":e.finish=this.getDecreaseSumTimeUserStart();break;case"decrease_date_end":e.finish=this.config.settings.original_date_finish;break;default:e.date=this.config.settings.original_date_finish,e.finish=this.getDefaultType();break}if(!this.isEditor&&!n)return setTimeout((function(){return t.build()}),500),e;this.interval(n,i,o,a,e);break}return e}},{key:"interval",value:function(t,e,n,i,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"",r=this;this.settings.link=a,this.settings.active=!0,fo()(o.finish,!0)>fo()(!0)?(this.settings.active=!0,r.setInterval(r,t,e,n,i,o,a),this.settings.counter=window.setInterval((function(){r.setInterval(r,t,e,n,i,o,a)}),1e3)):(r.execute(),t.textContent=0,e.textContent=0,n.textContent=0,i.textContent=0)}},{key:"setInterval",value:function(t,e,n,i,o,a,r){if(fo()(a.finish,!0)>fo()(!0)&&t.settings.active){var s=fo()(a.finish,!0).diffSeconds(fo()(!0));a.finish=fo()(!0).addSeconds(-1*s),e.textContent=bo()(a.finish,null,bo.a.DAYS|bo.a.HOURS|bo.a.MINUTES|bo.a.SECONDS).days,n.textContent=bo()(a.finish,null,bo.a.DAYS|bo.a.HOURS|bo.a.MINUTES|bo.a.SECONDS).hours,i.textContent=bo()(a.finish,null,bo.a.DAYS|bo.a.HOURS|bo.a.MINUTES|bo.a.SECONDS).minutes,o.textContent=bo()(a.finish,null,bo.a.DAYS|bo.a.HOURS|bo.a.MINUTES|bo.a.SECONDS).seconds,t.verify(fo()(a.finish,!0))}else t.execute(),e.textContent=0,n.textContent=0,i.textContent=0,o.textContent=0}},{key:"clear",value:function(){clearInterval(this.settings.counter)}},{key:"verify",value:function(t){t<=fo()(!0)&&this.settings.active&&clearInterval(this.settings.counter)}},{key:"execute",value:function(){this.clear(),this.settings.active&&(this.settings.active=!1,this.isEditor||this.config.callLink||(this.config.callLink=!0,this.timer.$root.$emit("linkAction",this.config.link)))}}])}(),yo=_o,vo=function(){var t=this,e=t._self._c;return e("div",{staticClass:"flip-clock",style:{width:t.width}},t._l(t.trackers,(function(n,i){return e("tracker-component",{key:i,ref:"trackers",refInFor:!0,attrs:{property:n,time:t.flipclock.values,height:t.config.height,width:t.config.width,appearance:t.config.appearance.panels,device:t.device}})}
1)),1)},wo=[],xo=function(){var t=this,e=t._self._c;return e("div",{staticClass:"flip",style:t.styles.container},[e("div",{staticClass:"flip-clock-slot",style:t.styles.label},[t._v(t._s(t.$t("ct-".concat(t.property))))]),e("div",{staticClass:"flip-clock-piece"},[e("div",{staticClass:"flip-clock-card flip-card",style:t.styles.card},[e("b",{staticClass:"flip-card-top",style:t.styles.number},[t._v(t._s(t.current))]),e("b",{staticClass:"flip-card-bottom",style:t.styles.number,attrs:{"data-value":t.current}}),e("b",{staticClass:"flip-card-back",style:t.styles.number,attrs:{"data-value":t.previous}}),e("b",{staticClass:"flip-card-back-bottom",style:t.styles.number,attrs:{"data-value":t.previous}})]),e("div",{directives:[{name:"show",rawName:"v-show",value:"seconds"!==t.property,expression:"property !== 'seconds'"}],staticClass:"flip-clock-divider",style:t.styles.dotContainer},[e("div",{staticClass:"flip-clock-dot top",style:t.styles.dotTop}),e("div",{staticClass:"flip-clock-dot bottom",style:t.styles.dotBottom})])])])},ko=[],So={name:"TrackerComponent",props:["property","time","appearance","width","height","config","device"],data:function(){return{current:0,previous:0,show:!1,styles:{card:{},dotTop:{},dotBottom:{},dotContainer:{},number:{},label:{},size:{},container:{}}}},watch:{time:{handler:function(t){this.changeTimer(t)},deep:!0},appearance:{handler:function(){this.applyStyle()},deep:!0},device:{handler:function(){this.applyStyle()},deep:!0}},methods:{applyStyle:function(){if(this.appearance.width&&this.appearance.width<550&&"desktop"===this.device){var t=this.appearance.width-10,e=t/4,n=.47*e,i=20,o=.75*e,a=8,r=(o-2*a)/2.8,s=.26*n;t<420&&(n=.45*e,s=.4*n,o=.6*e,r=(o-2*a)/3,i=12,a=6),this.styles={card:{fontSize:"".concat(n,"px")},label:{color:this.appearance.fontColorLabel,fontSize:"".concat(s,"px")},container:{minWidth:"".concat(e,"px"),fontSize:"".concat(n,"px")},dotTop:{background:this.appearance.backgroundColor,width:"".concat(a,"px"),height:"".concat(a,"px"),top:"".concat(r,"px")},dotBottom:{background:this.appearance.backgroundColor,width:"".concat(a,"px"),height:"".concat(a,"px"),bottom:"".concat(r,"px")},dotContainer:{width:"".concat(i,"px"),height:"".concat(o,"px")}}}else this.styles.container={},this.styles.card={},this.styles.label={color:this.appearance.fontColorLabel},this.styles.dotTop={background:this.appearance.backgroundColor},this.styles.dotBottom={background:this.appearance.backgroundColor},this.styles.dotContainer={};this.styles.number={background:this.appearance.backgroundColor,color:this.appearance.fontColor}},changeTimer:function(t){if(void 0!==t[this.property]){var e=t[this.property];this.show=!0,e=e<0?0:e,e!==this.current&&(this.previous=this.current,this.current=e,this.$el.classList.remove("flip"),this.$el.offsetWidth,this.$el.classList.add("flip"))}else this.show=!1}},created:function(){}},Co=So,Io=Object(b["a"])(Co,xo,ko,!1,null,"79210570",null),$o=Io.exports;function To(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Po(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?To(Object(n),!0).forEach((function(e){Object(d["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):To(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Oo={name:"FlipClockComponent",components:{TrackerComponent:$o},props:{preview:!1,config:{},device:!1},data:function(){return{width:"",height:"",settings:{active:"false",counter:"",link:""},trackers:["days","hours","minutes","seconds"],flipclock:{values:{days:1,hours:2,minutes:3,seconds:4,finish:"",date:""},settings:{active:"false",counter:"",link:""}}}},watch:{"config.settings":{handler:function(t){this.$emit("updateData"),this.clear(),this.getDate()},deep:!0},device:{handler:function(){this.width="desktop"===this.device&&this.config.appearance.panels.width?"".concat(this.config.appearance.panels.width,"px"):""},deep:!0}},methods:{setValue:function(t,e){this.flipclock.values[t]=e},getDate:function(){this.flipclock.values.finish=fo()(this.config.settings.finish),this.flipclock.values.date=fo()(this.config.settings.date);var t=fo()(),e=fo()(this.flipclock.values.date),n=t.diffSeconds(e);this.flipclock.values.days=Math.floor(n/86400),n%=86400,this.flipclock.values.hours=Math.floor(n/3600),n%=3600,this.flipclock.values.minutes=Math.floor(n/60),this.flipclock.values.seconds=Math.floor(n%60),this.interval(),this.width="desktop"===this.device&&"".concat(this.config.appearance.panels.width,"px")}
1,interval:function(t,e){var n=this;e=Po(Po({},this.flipclock.settings),this.flipclock.values);if(this.flipclock.settings.active=!0,fo()(e.finish,!0)>fo()(!0)){if(this.flipclock.settings.active=!0,fo()(e.finish,!0)>fo()(!0)&&n.flipclock.settings.active){var i=fo()(e.finish,!0).diffSeconds(fo()(!0));e.finish=fo()().addSeconds(-1*i),n.setValue("days",bo()(e.finish,null,bo.a.DAYS|bo.a.HOURS|bo.a.MINUTES|bo.a.SECONDS).days),n.setValue("hours",bo()(e.finish,null,bo.a.DAYS|bo.a.HOURS|bo.a.MINUTES|bo.a.SECONDS).hours),n.setValue("minutes",bo()(e.finish,null,bo.a.DAYS|bo.a.HOURS|bo.a.MINUTES|bo.a.SECONDS).minutes),n.setValue("seconds",bo()(e.finish,null,bo.a.DAYS|bo.a.HOURS|bo.a.MINUTES|bo.a.SECONDS).seconds),n.verify(fo()(e.finish,!0))}else n.execute(),n.setValue("days",0),n.setValue("hours",0),n.setValue("minutes",0),n.setValue("seconds",0);this.flipclock.settings.counter=window.setInterval((function(){if(fo()(e.finish,!0)>fo()(!0)&&n.flipclock.settings.active){var t=fo()(e.finish,!0).diffSeconds(fo()(!0));e.finish=fo()(!0).addSeconds(-1*t),n.setValue("days",bo()(e.finish,null,bo.a.DAYS|bo.a.HOURS|bo.a.MINUTES|bo.a.SECONDS).days),n.setValue("hours",bo()(e.finish,null,bo.a.DAYS|bo.a.HOURS|bo.a.MINUTES|bo.a.SECONDS).hours),n.setValue("minutes",bo()(e.finish,null,bo.a.DAYS|bo.a.HOURS|bo.a.MINUTES|bo.a.SECONDS).minutes),n.setValue("seconds",bo()(e.finish,null,bo.a.DAYS|bo.a.HOURS|bo.a.MINUTES|bo.a.SECONDS).seconds),n.verify(fo()(e.finish,!0))}else n.execute(),n.setValue("days",0),n.setValue("hours",0),n.setValue("minutes",0),n.setValue("seconds",0)}),1e3)}else n.execute(),n.setValue("days",0),n.setValue("hours",0),n.setValue("minutes",0),n.setValue("seconds",0)},clear:function(){clearInterval(this.flipclock.settings.counter)},verify:function(t){t<=fo()(!0)&&this.flipclock.settings.active&&clearInterval(this.flipclock.settings.counter)},execute:function(){this.clear(),this.flipclock.settings.active&&(this.flipclock.settings.active=!1,0===document.querySelectorAll(".panel-components-right").length&&(this.config.link.target="self",this.$root.$emit("linkAction",this.config.link)))}},mounted:function(){}},Ao=Oo,Ro=(n("a68c"),Object(b["a"])(Ao,vo,wo,!1,null,null,null)),Bo=Ro.exports,Lo=function(){var t=this,e=t._self._c;return e("div",{staticClass:"time-circle-container"},[e("div",{ref:"timecircles"})])},zo=[];n("c5f6");(function(t){var e=window;Object.keys||(Object.keys=function(){var t=Object.prototype.hasOwnProperty,e=!{toString:null}.propertyIsEnumerable("toString"),n=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],i=n.length;return function(o){if("object"!==Object(l["a"])(o)&&("function"!==typeof o||null===o))throw new TypeError("Object.keys called on non-object");var a,r,s=[];for(a in o)t.call(o,a)&&s.push(a);if(e)for(r=0;r<i;r++)t.call(o,n[r])&&s.push(n[r]);return s}}());var n=!1,i=200;location.hash;var o=["Days","Hours","Minutes","Seconds"],a={Seconds:"Minutes",Minutes:"Hours",Hours:"Days",Days:"Years"},r={Seconds:1,Minutes:60,Hours:3600,Days:86400,Months:2678400,Years:31536e3};function s(t){var e=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;t=t.replace(e,(function(t,e,n,i){return e+e+n+n+i+i}));var n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return n?{r:parseInt(n[1],16),g:parseInt(n[2],16),b:parseInt(n[3],16)}:null}function c(){var t=document.createElement("canvas");return!(!t.getContext||!t.getContext("2d"))}function d(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}function u(){return d()+d()+"-"+d()+"-"+d()+"-"+d()+"-"+d()+d()+d()}function h(t){var e=t.match(/^[0-9]{4}-[0-9]{2}-[0-9]{2}\s[0-9]{1,2}:[0-9]{2}:[0-9]{2}$/);if(null!==e&&e.length>0){var n=t.split(" "),i=n[0].split("-"),o=n[1].split(":");return new Date(i[0],i[1]-1,i[2],o[0],o[1],o[2])}var a=Date.parse(t);return isNaN(a)?(a=Date.parse(t.replace(/-/g,"/").replace("T"," ")),isNaN(a)?new Date:a):a}function g(t,e,n,i,o){for(var a={},s={},c={},l={},d={},u={},h=null,g=0;g<i.length;g++){var f,p=i[g];f=null===h?n/r[p]:r[h]/r[p];var m=t/r[p],b=e/r[p];o&&(m=m>0?Math.floor(m):Math.ceil(m),b=b>0?Math.floor(b):Math.ceil(b)),"Days"!==p&&(m%=f,b%=f),a[p]=m,c[p]=Math.abs(m),s[p]=b,u[p]=Math.abs(b),l[p]=Math.abs(m)/f,d[p]=Math.abs(b)/f,h=p}return{raw_time:a,raw_old_time:s,time:c,old_time:u,pct:l,old_pct:d}}Array.prototype.indexOf||(Array.prototype.indexOf=function(t){var e=this.length>>>0,n=Number(arguments[1])||0;for(n=n<0?Math.ceil(n):Math.floor(n),n<0&&(n+=e);n<e;n++)if(n in this&&this[n]===t)return n;return-1});var f={};function p(){"undefined"!==typeof e.TC_Instance_List?f=e.TC_Instance_List:e.TC_Instance_List=f,m(e)}function m(t){for(var e=["webkit","moz"],n=0;n<e.length&&!t.requestAnimationFrame;++n)t.requestAnimationFrame=t[e[n]+"RequestAnimationFrame"],t.cancelAnimationFrame=t[e[n]+"CancelAnimationFrame"];t.requestAnimationFrame&&t.cancelAnimationFrame||(t.requestAnimationFrame=function(e,n,i){"undefined"===typeof i&&(i={data:{last_frame:0}});var o=(new Date).getTime(),a=Math.max(0,16-(o-i.data.last_frame)),r=t.setTimeout((function(){e(o+a)}),a);return i.data.last_frame=o+a,r},t.cancelAnimationFrame=function(t){clearTimeout(t)})}var b=function(t,e){this.element=t,this.container,this.listeners=null,this.data={paused:!1,last_frame:0,animation_frame:null,interval_fallback:null,timer:!1,total_duration:null,prev_time:null,drawn_units:[],text_elements:{Days:null,Hours:null,Minutes:null,Seconds:null},attributes:{canvas:null,context:null,item_size:null,line_width:null,radius:null,outer_radius:null},state:{fading:{Days:!1,Hours:!1,Minutes:!1,Seconds:!1}}},this.config=null,this.setOptions(e),this.initialize()};b.prototype.clearListeners=function(){this.listeners={all:[],visible:[]}},b.prototype.addTime=function(t){if(this.data.attributes.ref_date instanceof Date){var e=this.data.attributes.ref_date;e.setSeconds(e.getSeconds()+t)}else isNaN(this.data.attributes.ref_date)||(this.data.attributes.ref_date+=1e3*t)},b.prototype.initialize=function(i){this.data.drawn_units=[];for(var o=0;o<Object.keys(this.config.time).length;o++){var a=Object.keys(this.config.time)[o];this.config.time[a].show&&this.data.drawn_units.push(a)}t(this.element).children("div.time_circles").remove(),"undefined"===typeof i&&(i=!0),(i||null===this.listeners)&&this.clearListeners(),this.container=t("<div>"),this.container.addClass("time_circles"),this.container.appendTo(this.element);var r=this.element.offsetHeight,s=this.element.offsetWidth;0===r&&(r=t(this.element).height()),0===s&&(s=t(this.element).width()),0===r&&s>0?r=s/this.data.drawn_units.length:0===s&&r>0&&(s=r*this.data.drawn_units.length);var l=document.createElement("canvas");l.width=s,l.height=r,this.data.attributes.canvas=t(l),this.data.attributes.canvas.appendTo(this.container);var d=c();d||"undefined"===typeof G_vmlCanvasManager||(G_vmlCanvasManager.initElement(l),n=!0,d=!0),d&&(this.data.attributes.context=l.getContext("2d")),this.data.attributes.item_size=Math.min(s/this.data.drawn_units.length,r),this.data.attributes.line_width=this.data.attributes.item_size*this.config.fg_width,this.data.attributes.radius=(.8*this.data.attributes.item_size-this.data.attributes.line_width)/2,this.data.attributes.outer_radius=this.data.attributes.radius+.5*Math.max(this.data.attributes.line_width,this.data.attributes.line_width*this.config.bg_width);o=0;for(var u in this.data.text_elements)if(this.config.time[u].show){var h=t("<div>");
1h.addClass("textDiv_"+u),h.css("top",Math.round(.35*this.data.attributes.item_size)),h.css("left",Math.round(o++*this.data.attributes.item_size)),h.css("width",this.data.attributes.item_size),h.appendTo(this.container);var g=t("<h4>");g.text(this.config.time[u].text),g.css("font-size",Math.round(this.config.text_size*this.data.attributes.item_size)),g.css("line-height",Math.round(this.config.text_size*this.data.attributes.item_size)+"px"),g.appendTo(h);var f=t("<span>");f.css("font-size",Math.round(3*this.config.text_size*this.data.attributes.item_size)),f.css("line-height",Math.round(this.config.text_size*this.data.attributes.item_size)+"px"),f.appendTo(h),this.data.text_elements[u]=f}this.start(),this.config.start||(this.data.paused=!0);var p=this;this.data.interval_fallback=e.setInterval((function(){p.update.call(p,!0)}),100)},b.prototype.update=function(t){if("undefined"===typeof t)t=!1;else if(t&&this.data.paused)return;var a,s;n&&this.data.attributes.context.clearRect(0,0,this.data.attributes.canvas[0].width,this.data.attributes.canvas[0].hright);var c=this.data.prev_time,l=new Date;if(this.data.prev_time=l,null===c&&(c=l),!this.config.count_past_zero&&l>this.data.attributes.ref_date){for(var d=0;d<this.data.drawn_units.length;d++){var u=this.data.drawn_units[d];this.data.text_elements[u].text("0");var h=d*this.data.attributes.item_size+this.data.attributes.item_size/2,f=this.data.attributes.item_size/2,p=this.config.time[u].color;this.drawArc(h,f,p,0)}this.stop()}else{a=(this.data.attributes.ref_date-l)/1e3,s=(this.data.attributes.ref_date-c)/1e3;var m="smooth"!==this.config.animation,b=g(a,s,this.data.total_duration,this.data.drawn_units,m),_=g(a,s,r["Years"],o,m),y=(d=0,0),v=null,w=this.data.drawn_units.slice();for(var d in o){u=o[d];if(Math.floor(_.raw_time[u])!==Math.floor(_.raw_old_time[u])&&this.notifyListeners(u,Math.floor(_.time[u]),Math.floor(a),"all"),!(w.indexOf(u)<0)){if(Math.floor(b.raw_time[u])!==Math.floor(b.raw_old_time[u])&&this.notifyListeners(u,Math.floor(b.time[u]),Math.floor(a),"visible"),!t){this.data.text_elements[u].text(Math.floor(Math.abs(b.time[u])));h=y*this.data.attributes.item_size+this.data.attributes.item_size/2,f=this.data.attributes.item_size/2,p=this.config.time[u].color;"smooth"===this.config.animation?(null===v||n||(Math.floor(b.time[v])>Math.floor(b.old_time[v])?(this.radialFade(h,f,p,1,u),this.data.state.fading[u]=!0):Math.floor(b.time[v])<Math.floor(b.old_time[v])&&(this.radialFade(h,f,p,0,u),this.data.state.fading[u]=!0)),this.data.state.fading[u]||this.drawArc(h,f,p,b.pct[u])):this.animateArc(h,f,p,b.pct[u],b.old_pct[u],(new Date).getTime()+i)}v=u,y++}}if(!this.data.paused&&!t){var x=this,k=function(){x.update.call(x)};if("smooth"===this.config.animation)this.data.animation_frame=e.requestAnimationFrame(k,x.element,x);else{var S=a%1*1e3;S<0&&(S=1e3+S),S+=50,x.data.animation_frame=e.setTimeout((function(){x.data.animation_frame=e.requestAnimationFrame(k,x.element,x)}),S)}}}},b.prototype.animateArc=function(t,n,o,a,r,s){if(null!==this.data.attributes.context){var c=r-a;if(Math.abs(c)>.5)0===a?this.radialFade(t,n,o,1):this.radialFade(t,n,o,0);else{var l=(i-(s-(new Date).getTime()))/i;l>1&&(l=1);var d=r*(1-l)+a*l;if(this.drawArc(t,n,o,d),l>=1)return;var u=this;e.requestAnimationFrame((function(){u.animateArc(t,n,o,a,r,s)}),this.element)}}},b.prototype.drawArc=function(t,e,i,o){if(null!==this.data.attributes.context){var a,r,s,c=Math.max(this.data.attributes.outer_radius,this.data.attributes.item_size/2);n||this.data.attributes.context.clearRect(t-c,e-c,2*c,2*c),this.config.use_background&&(this.data.attributes.context.beginPath(),this.data.attributes.context.arc(t,e,this.data.attributes.radius,0,2*Math.PI,!1),this.data.attributes.context.lineWidth=this.data.attributes.line_width*this.config.bg_width,this.data.attributes.context.strokeStyle=this.config.circle_bg_color,this.data.attributes.context.stroke());var l=-.5*Math.PI,d=2*Math.PI;a=l+this.config.start_angle/360*d;var u=2*o*Math.PI;"Both"===this.config.direction?(s=!1,a-=u/2,r=a+u):"Clockwise"===this.config.direction?(s=!1,r=a+u):(s=!0,r=a-u),this.data.attributes.context.beginPath(),this.data.attributes.context.arc(t,e,this.data.attributes.radius,a,r,s),this.data.attributes.context.lineWidth=this.data.attributes.line_width,this.data.attributes.context.strokeStyle=i,this.data.attributes.context.stroke()}},b.prototype.radialFade=function(t,n,i,o,a){var r,c=s(i),d=this,u=.2*(1===o?-1:1);for(r=0;o<=1&&o>=0;r++)(function(){var i=50*r,a="rgba("+c.r+", "+c.g+", "+c.b+", "+Math.round(10*o)
1/10+")";e.setTimeout((function(){d.drawArc(t,n,a,1)}),i)})(),o+=u;void 0!==Object(l["a"])(a)&&e.setTimeout((function(){d.data.state.fading[a]=!1}),50*r)},b.prototype.timeLeft=function(){if(this.data.paused&&"number"===typeof this.data.timer)return this.data.timer;var t=new Date;return(this.data.attributes.ref_date-t)/1e3},b.prototype.start=function(){e.cancelAnimationFrame(this.data.animation_frame),e.clearTimeout(this.data.animation_frame);var n=t(this.element).data("date");if("undefined"===typeof n&&(n=t(this.element).attr("data-date")),"string"===typeof n)this.data.attributes.ref_date=h(n);else if("number"===typeof this.data.timer)this.data.paused&&(this.data.attributes.ref_date=(new Date).getTime()+1e3*this.data.timer);else{var i=t(this.element).data("timer");"undefined"===typeof i&&(i=t(this.element).attr("data-timer")),"string"===typeof i&&(i=parseFloat(i)),"number"===typeof i?(this.data.timer=i,this.data.attributes.ref_date=(new Date).getTime()+1e3*i):this.data.attributes.ref_date=this.config.ref_date}this.data.paused=!1,this.update.call(this)},b.prototype.restart=function(){this.data.timer=!1,this.start()},b.prototype.stop=function(){"number"===typeof this.data.timer&&(this.data.timer=this.timeLeft(this)),this.data.paused=!0,e.cancelAnimationFrame(this.data.animation_frame)},b.prototype.destroy=function(){this.clearListeners(),this.stop(),e.clearInterval(this.data.interval_fallback),this.data.interval_fallback=null,this.container.remove(),t(this.element).removeAttr("data-tc-id"),t(this.element).removeData("tc-id")},b.prototype.setOptions=function(n){if(null===this.config&&(this.default_options.ref_date=new Date,this.config=t.extend(!0,{},this.default_options)),t.extend(!0,this.config,n),e=this.config.use_top_frame?window.top:window,p(),this.data.total_duration=this.config.total_duration,"string"===typeof this.data.total_duration)if("undefined"!==typeof r[this.data.total_duration])this.data.total_duration=r[this.data.total_duration];else if("Auto"===this.data.total_duration)for(var i=0;i<Object.keys(this.config.time).length;i++){var o=Object.keys(this.config.time)[i];if(this.config.time[o].show){this.data.total_duration=r[a[o]];break}}else this.data.total_duration=r["Years"],console.error("Valid values for TimeCircles config.total_duration are either numeric, or (string) Years, Months, Days, Hours, Minutes, Auto")},b.prototype.addListener=function(t,e,n){"function"===typeof t&&("undefined"===typeof n&&(n="visible"),this.listeners[n].push({func:t,scope:e}))},b.prototype.notifyListeners=function(t,e,n,i){for(var o=0;o<this.listeners[i].length;o++){var a=this.listeners[i][o];a.func.apply(a.scope,[t,e,n])}},b.prototype.default_options={ref_date:new Date,start:!0,animation:"smooth",count_past_zero:!0,circle_bg_color:"#60686F",use_background:!0,fg_width:.1,bg_width:1.2,text_size:.07,total_duration:"Auto",direction:"Clockwise",use_top_frame:!1,start_angle:0,time:{Days:{show:!0,text:"Days",color:"#FC6"},Hours:{show:!0,text:"Hours",color:"#9CF"},Minutes:{show:!0,text:"Minutes",color:"#BFB"},Seconds:{show:!0,text:"Seconds",color:"#F99"}}};var _=function(t,e){this.elements=t,this.options=e,this.foreach()};_.prototype.getInstance=function(e){var n,i=t(e).data("tc-id");if("undefined"===typeof i&&(i=u(),t(e).attr("data-tc-id",i)),"undefined"===typeof f[i]){var o=this.options,a=t(e).data("options");"string"===typeof a&&(a=JSON.parse(a)),"object"===Object(l["a"])(a)&&(o=t.extend(!0,{},this.options,a)),n=new b(e,o),f[i]=n}else n=f[i],"undefined"!==typeof this.options&&n.setOptions(this.options);return n},_.prototype.addTime=function(t){this.foreach((function(e){e.addTime(t)}))},_.prototype.foreach=function(t){var e=this;return this.elements.each((function(){var n=e.getInstance(this);"function"===typeof t&&t(n)})),this},_.prototype.start=function(){return this.foreach((function(t){t.start()})),this},_.prototype.stop=function(){return this.foreach((function(t){t.stop()})),this},_.prototype.restart=function(){return this.foreach((function(t){t.restart()})),this},_.prototype.rebuild=function(){return this.foreach((function(t){t.initialize(!1)})),this},_.prototype.getTime=function(){return this.getInstance(this.elements[0]).timeLeft()},_.prototype.addListener=function(t,e){"undefined"===typeof e&&(e="visible");var n=this;return this.foreach((function(i){i.addListener(t,n.elements,e)})),this},_.prototype.destroy=function(){return this.foreach((function(t){t.destroy()})),this},_.prototype.end=function(){return this.elements},t.fn.TimeCircles=function(t){return new _(this,t)}})(jQuery);var Mo={name:"TimeCirclesComponent",props:{device:"",preview:!1,config:{},options:{type:Object,default:function(){return{}}}},data:function(){return{timeCircles:null,appearance:{},callLink:!1,date:"",width:0,height:0}},watch:{config:{handler:function(t){var e=document.querySelectorAll(".panel-components-right").length>0;e&&this.$emit("updateData"),this.init(),this.style()},deep:!0},"config.width":function(t){this.width=t},"config.height":function(t){this.height=t},device:function(){this.style()}},methods:{getDate:function(){if("decrease_date_end"===this.config.type)return fo()(fo()(this.config.settings.date_end)).addHours(this.config.settings.original_hours_finish).addMinutes(this.config.settings.original_minutes_finish).toString();var t=fo()().addDays(this.config.settings.days_to_sum).addHours(this.config.settings.hours_to_sum).addMinutes(this.config.settings.minutes_to_sum).addSeconds(this.config.settings.seconds_to_sum);return t.toString()},treatment:function(){return{Days:{show:!0,color:this.appearance.backgroundColorEffect,text:this.$t("ct-days")},Hours:{show:!0,color:this.appearance.backgroundColorEffect,text:this.$t("ct-hours")},Minutes:{show:!0,color:this.appearance.backgroundColorEffect,text:this.$t("ct-minutes")},Seconds:{show:!0,color:this.appearance.backgroundColorEffect,text:this.$t("ct-seconds")}}},init:function(){var t=this,e=this.$parent.device;$(this.$refs.timecircles).find("div").remove();var n=document.createElement("div");function i(e,n,i){var o=document.querySelectorAll(".panel-components-right").length>0;i<=0&&!o&&(t.callLink||(t.callLink=!0,t.config.link.target="self",t.$root.$emit("linkAction",t.config.link)))}this.timeCircles=n,gt["isTablet"]||"mobile"===e?(n.style.maxHeight=this.height,n.style.maxWidth=this.width):(n.style.height=this.height,n.style.width=this.width),this.$refs.timecircles.appendChild(n),n.innerHTML="",n.removeAttribute("data-date"),n.removeAttribute("data-tc-id"),n.setAttribute("data-date",this.config.settings.date),$(n).TimeCircles({count_past_zero:!1,time:this.treatment(),circle_bg_color:this.appearance.backgroundColor}),$(n).TimeCircles().addListener(i),$(n).find("h4, span").css("color",this.appearance.fontColor),$(n).find("h4, span").addClass("not-editor-content"),$(n).TimeCircles().getTime()<0&&i(0,0,0)},style:function(){var t=this,e=this.$parent.device;"mobile"===e||gt["isTablet"]?window.innerWidth>=700||gt["isTablet"]?(t.width="310px",t.height="auto","undefined"!==typeof t.config.maxWidth&&(t.width=t.config.maxWidth)):(t.width="100%",t.height="auto"):(t.width=t.config.width,t.height=t.config.height),t.init()}},created:function(){var t=this;this.$nextTick((function(){var e=document.querySelectorAll(".panel-components-right").length>0;e&&t.$emit("updateData"),t.init(),t.style()}
1))},mounted:function(){var t=document.querySelectorAll(".panel-components-right").length>0;t&&this.$emit("setCallbackChangeDevice",this.style),this.date=this.getDate(),this.appearance=this.config.appearance.circles,this.style(),this.$props.preview&&$(this.$refs.timecircles).TimeCircles().start();var e=$('[data-header-modify-on-scroll="on-scroll"]');if(e.length)try{var n=function(){e.is(":visible")&&(a.init(),a.style(),i())},i=function(){clearInterval(o)},o=setInterval(n,500),a=this}catch(r){console.error(r)}},beforeMount:function(){var t=this;setTimeout((function(){t.init()}),600)}},Eo=Mo,No=(n("5cdd"),Object(b["a"])(Eo,Lo,zo,!1,null,null,null)),Do=No.exports,jo=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"timer-show-container",class:"timer-show-".concat(t.config.theme),attrs:{"data-item":"NewTimer"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:"text"===t.config.theme,expression:"config.theme === 'text'"}],staticClass:"timer-type-text-title-helper",style:t.timeshow.descTextStyle},[t._v(t._s(t.config.textDescription))]),e("div",{staticClass:"timer-show-content d-flex justify-content-center"},[e("div",{staticClass:"timer-show-block block-days",style:{"background-color":this.timeshow.backgroundContent}},[e("div",{staticClass:"timer-show-element-days timer-show-element"},[e("span",{staticClass:"timer-type-text-number",style:t.timeshow.numberTextStyle,attrs:{"data-timer-element":"days"}},[t._v(t._s(t.timeshow.values.days))]),e("div",{directives:[{name:"show",rawName:"v-show",value:!("text"===t.config.theme||"pill"===t.config.theme),expression:"!(config.theme === 'text' || config.theme === 'pill')"}],staticClass:"timer-type-text-title text-truncate",style:t.timeshow.labelTextStyle},[t._v(t._s(t.$t("ct-days")))]),e("div",{directives:[{name:"show",rawName:"v-show",value:"text"===t.config.theme,expression:"config.theme === 'text'"}],staticClass:"timer-type-text-title",style:t.timeshow.labelTextStyle},[t._v(t._s(t.$t("ct-days-init")))]),e("div",{directives:[{name:"show",rawName:"v-show",value:"pill"===t.config.theme,expression:"config.theme === 'pill'"}],staticClass:"timer-type-text-title",style:t.timeshow.labelTextStyle},[t._v(t._s(t.$t("ct-days-init-2")))])])]),e("div",{staticClass:"timer-show-block block-hours",style:{"background-color":this.timeshow.backgroundContent}},[e("div",{staticClass:"timer-show-element-hours timer-show-element"},[e("span",{staticClass:"timer-type-text-number",style:t.timeshow.numberTextStyle,attrs:{"data-timer-element":"hours"}},[t._v(t._s(t.timeshow.values.hours))]),e("div",{directives:[{name:"show",rawName:"v-show",value:!("text"===t.config.theme||"pill"===t.config.theme),expression:"!(config.theme === 'text' || config.theme === 'pill')"}],staticClass:"timer-type-text-title text-truncate",style:t.timeshow.labelTextStyle},[t._v(t._s(t.$t("ct-hours")))]),e("div",{directives:[{name:"show",rawName:"v-show",value:"text"===t.config.theme,expression:"config.theme === 'text'"}],staticClass:"timer-type-text-title",style:t.timeshow.labelTextStyle},[t._v(t._s(t.$t("ct-hours-init")))]),e("div",{directives:[{name:"show",rawName:"v-show",value:"pill"===t.config.theme,expression:"config.theme === 'pill'"}],staticClass:"timer-type-text-title",style:t.timeshow.labelTextStyle},[t._v(t._s(t.$t("ct-hours-init-2")))])])]),e("div",{staticClass:"timer-show-block block-minutes",style:{"background-color":this.timeshow.backgroundContent}},[e("div",{staticClass:"timer-show-element-minutes timer-show-element"},[e("span",{staticClass:"timer-type-text-number",style:t.timeshow.numberTextStyle,attrs:{"data-timer-element":"minutes"}},[t._v(t._s(t.timeshow.values.minutes))]),e("div",{directives:[{name:"show",rawName:"v-show",value:!("text"===t.config.theme||"pill"===t.config.theme),expression:"!(config.theme === 'text' || config.theme === 'pill')"}],staticClass:"timer-type-text-title text-truncate",style:t.timeshow.labelTextStyle},[t._v(" "+t._s(t.$t("ct-minutes")))]),e("div",{directives:[{name:"show",rawName:"v-show",value:"text"===t.config.theme,expression:"config.theme === 'text'"}],staticClass:"timer-type-text-title",style:t.timeshow.labelTextStyle},[t._v(" "+t._s(t.$t("ct-minutes-init")))]),e("div",{directives:[{name:"show",rawName:"v-show",value:"pill"===t.config.theme,expression:"config.theme === 'pill'"}],staticClass:"timer-type-text-title",style:t.timeshow.labelTextStyle},[t._v(" "+t._s(t.$t("ct-minutes-init-2")))])])]),e("div",{staticClass:"timer-show-block block-seconds",style:{"background-color":this.timeshow.backgroundContent}},[e("div",{staticClass:"timer-show-element-seconds timer-show-element"},[e("span",{staticClass:"timer-type-text-number",style:t.timeshow.numberTextStyle,attrs:{"data-timer-element":"seconds"}},[t._v(t._s(t.timeshow.values.seconds))]),e("div",{directives:[{name:"show",rawName:"v-show",value:!("text"===t.config.theme||"pill"===t.config.theme),expression:"!(config.theme === 'text' || config.theme === 'pill')"}],staticClass:"timer-type-text-title text-truncate",style:t.timeshow.labelTextStyle},[t._v(t._s(t.$t("ct-seconds")))]),e("div",{directives:[{name:"show",rawName:"v-show",value:"text"===t.config.theme,expression:"config.theme === 'text'"}],staticClass:"timer-type-text-title",style:t.timeshow.labelTextStyle},[t._v(t._s(t.$t("ct-seconds-init")))]),e("div",{directives:[{name:"show",rawName:"v-show",value:"pill"===t.config.theme,expression:"config.theme === 'pill'"}],staticClass:"timer-type-text-title",style:t.timeshow.labelTextStyle},[t._v(t._s(t.$t("ct-seconds-init-2")))])])])])])])},Ho=[],Fo={name:"TimeShow",props:{preview:!1,config:{}},data:function(){return{timeshow:{callLink:!1,values:{days:0,hours:0,minutes:0,seconds:0,finish:"",date:""},settings:{active:"false",counter:"",link:""},numberTextStyle:{},labelTextStyle:{},descTextStyle:{},backgroundContent:"",backgroundColor:"",appearance:{}}}},watch:{config:{handler:function(t){this.clear(),this.styleNumber()},deep:!0}},methods:{styleNumber:function(){this.appearance=this.config.appearance[this.config.theme],this.appearance.fontDesc&&(this.timeshow.descTextStyle={fontFamily:this.appearance.fontDesc.family,fontSize:this.appearance.fontDesc.size,fontStyle:this.appearance.fontDesc.size,fontWeight:this.appearance.fontDesc.weight,textAlign:this.appearance.fontDesc.align,color:this.appearance.fontDesc.color,backgroundColor:""}),this.appearance.backgroundColor||(this.timeshow.numberTextStyle["backgroundColor"]=""),this.appearance.backgroundColorEffect||(this.timeshow.backgroundContent=""),this.timeshow.numberTextStyle={fontFamily:this.config.numberTextStyle.family,fontStyle:this.config.numberTextStyle.style,fontSize:this.config.numberTextStyle.size,fontWeight:this.config.numberTextStyle.weight,textAlign:this.config.numberTextStyle.align,color:this.config.numberTextStyle.color},this.timeshow.labelTextStyle={fontFamily:this.config.labelTextStyle.family,fontStyle:this.config.labelTextStyle.style,fontSize:this.config.labelTextStyle.size,fontWeight:this.config.labelTextStyle.weight,textAlign:this.config.labelTextStyle.align,color:this.config.labelTextStyle.color},"squares"===this.config.theme&&(this.appearance.backgroundColorEffect&&(this.timeshow.backgroundContent="#FFF"),this.appearance.backgroundColor?this.timeshow.numberTextStyle["backgroundColor"]=this.appearance.backgroundColor:this.timeshow.numberTextStyle["backgroundColor"]="",this.appearance.backgroundColorEffect?this.timeshow.backgroundContent=this.appearance.backgroundColorEffect:this.timeshow.backgroundContent=""),"pill"===this.config.theme&&this.appearance.backgroundColor&&(this.timeshow.backgroundContent=this.appearance.backgroundColor)},setValue:function(t,e){this.timeshow.values[t]=e},getDate:function(){var t=this.config.settings;if("decrease_sum_time_user_start"!==this.config.type&&"start_user_every_access"!==this.config.type)this.timeshow.values.date=t.original_date_finish;else{var e=fo()().addDays(this.config.settings.days_to_sum).addHours(this.config.settings.hours_to_sum).addMinutes(this.config.settings.minutes_to_sum).addSeconds(this.config.settings.seconds_to_sum);this.timeshow.values.date=e}this.timeshow.values.finish=fo()(this.timeshow.values.date);var n=fo()(),i=fo()(this.timeshow.values.date),o=n.diffSeconds(i);this.timeshow.values.days=Math.floor(o/86400),o%=86400,this.timeshow.values.hours=Math.floor(o/3600),o%=3600,this.timeshow.values.minutes=Math.floor(o/60),this.timeshow.values.seconds=Math.floor(o%60),this.interval()},interval:function(t,e){},clear:function(){clearInterval(this.timeshow.settings.counter)},verify:function(t){t<=fo()(!0)&&this.timeshow.settings.active&&clearInterval(this.timeshow.settings.counter)},execute:function(){this.clear(),this.timeshow.settings.active&&(this.timeshow.settings.active=!1)}},mounted:function(){this.styleNumber(),this.appearance=this.config.appearance[this.config.theme]}},Uo=Fo,qo=(n("12a6"),Object(b["a"])(Uo,jo,Ho,!1,null,"2bd77a21",null)),V
1o=qo.exports;function Wo(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Go(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Wo(Object(n),!0).forEach((function(e){Object(d["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Wo(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Jo=!1,Yo={name:"TimerComponent",props:["config","id","preview","device"],components:{Data:po,FlipClock:Bo,TimeCircles:Do,TimeShow:Vo},computed:{},data:function(){return po.data()},methods:{animation:function(){return!0},dataTag:function(){return this.internal_config.tag?this.internal_config.tag:""},centerElement:function(){var t=document.getElementById(this.id),e=document.getElementById(this.id).parentNode,n=e.offsetWidth/2-parseInt(t.scrollWidth)/2+"px";this.$el.style.left=n,this.internal_config.left=n},linkElement:function(){this.$root.$emit("linkComponentShow",this)},onResize:function(t,e,n,i){this.internal_config.width=n+"px",this.internal_config.height=i+"px"},toggle:function(){this.$root.$emit("toggleElement",this)},deleteElement:function(){this.$root.$emit("deleteElement",this)},duplicateElement:function(){this.$root.$emit("duplicateElement",this,this.internal_config)},focusElement:function(t){this.$root.$emit("focusElement",this),this.$root.$emit("handlerElement",this),this.$el.getBoundingClientRect().top<75?this.$refs.defaultOptions.classList.add("top-option"):this.$refs.defaultOptions.classList.remove("top-option"),t.stopPropagation(),t.preventDefault()},showResources:function(){},callReorder:function(t){"undefined"!==typeof this.$parent.changeOrderPanel?this.$parent.changeOrderPanel(this,t):this.$parent.$parent.changeOrderPanel(this,t)},build:function(t){this.internal_config=Go(Go({},this.internal_config),t)},style:function(){return"left:  ".concat(this.internal_config.left,";\n              z-index: ").concat(this.internal_config.zIndex,";\n              max-width: ").concat(this.internal_config.maxWidth,";\n              margin: 0 auto;\n              top: ").concat(this.internal_config.top,";")},handler:function(t){this.$root.$emit("focusElement",this),this.$root.$emit("handlerElement",this),t.stopPropagation(),t.preventDefault()},saveElementDefault:function(){this.$root.$emit("saveElement",this)},setCallbackChangeDevice:function(t){this.$emit("setCallbackChangeDevice",t)},updateData:function(){if(!Jo){var t=new yo(this);this.internal_config=t.treatment(),Jo=!0}}},mounted:function(){var t=this;this.build(this.$props.config);var e=document.querySelectorAll(".panel-components-right").length>0,n=new yo(this);if(this.internal_config=n.treatment(),Jo=!0,!e){var i=n.build();this.internal_config.settings=Go(Go({},this.internal_config.settings),i)}Object.keys(this.props).forEach((function(e){"undefined"===typeof t.internal_config[e]&&(t.internal_config[e]=t.props[e])})),this.$nextTick((function(){t.$root.$emit("applyAnimation",t,"sitebuilder-element-container")}))}},Ko=Yo,Zo=(n("e476"),Object(b["a"])(Ko,uo,ho,!1,null,"bbd0cd16",null)),Qo=Zo.exports,Xo=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:this.id,element:"LineVComponent","data-tag":t.dataTag(),"data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile}},[e("div",{staticClass:"resizable vdr",style:{transform:t.transform}},[e("div",{staticClass:"container-line-ver"},[t.internal_config.arrowTop.active?e("div",{staticClass:"arrow arrow-top",style:t.styleArrowTop()}):t._e(),e("div",{staticClass:"sitebuilder-element",style:{"border-radius":t.radius,"border-left":t.border,"box-shadow":t.boxShadow}}),t.internal_config.arrowBottom.active?e("div",{staticClass:"arrow arrow-bottom",style:t.styleArrowBottom()}):t._e()])])])},ta=[],ea={data:function(){return{props:{tag:"",horizontal:!0,height:"150px",zIndex:"auto",maxWidth:"768px",rotation:"0deg",border:"1px solid #000000",boxShadow:"0 0 0 0 blue",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",arrowTop:{active:!1,color:"#000000",size:"5px"},arrowBottom:{active:!1,color:"#000000",size:"5px"},animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},internal_config:{horizontal:!0,height:"150px",zIndex:"auto",maxWidth:"768px",rotation:"0deg",border:"1px solid #000000",boxShadow:"0 0 0 0 blue",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",arrowTop:{active:!1,color:"#000000",size:"5px"},arrowBottom:{active:!1,color:"#000000",size:"5px"},animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},name:"line"}}},na={name:"LineVComponent",props:["config","src","id","preview","device"],computed:{border:function(){if("undefined"!==typeof this.internal_config.border){var t=this.internal_config.border.split(" ");"undefined"!==typeof t[2]&&this.$globalStoreHelpers.isValidHex(t[2])&&(t[2]=this.$globalStoreHelpers.hexToRGBA(t[2]),this.internal_config.border=t.join(" "))}return this.internal_config.border},boxShadow:function(){return this.internal_config.boxShadow},radius:function(){return this.internal_config.borderRadius},transform:function(){return"rotate(".concat("desktop"===this.$props.device?this.internal_config.rotation:0,") scale(1)")}},data:function(){return ea.data()},methods:{animation:function(){return!0},build:function(t){this.internal_config=t},style:function(){var t="height: ".concat(this.internal_config.height," !important;\n                     z-index: ").concat(this.internal_config.zIndex,";max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n                     padding-top: ").concat(this.internal_config.paddingTop,";\n                     padding-left: ").concat(this.internal_config.paddingLeft,";\n                     padding-right: ").concat(this.internal_config.paddingRight,";\n                     padding-bottom: ").concat(this.internal_config.paddingBottom,";\n                     left:  ").concat(this.internal_config.left,";\n\t\t\t\t\t\t\t\t\t\t top: ").concat(this.internal_config.top,";");return t},styleArrowTop:function(){var t="border-left-width: ".concat(this.internal_config.arrowTop.size,"px;\n                     border-right-width: ").concat(this.internal_config.arrowTop.size,"px;\n                     left: calc(50% - ").concat(this.internal_config.arrowTop.size,"px);\n                     border-bottom-width: ").concat(this.internal_config.arrowTop.size,"px;\n                     top: -").concat(this.internal_config.arrowTop.size,"px;\n                     border-bottom-color: ").concat(this.internal_config.arrowTop.color,";");return t},styleArrowBottom:function(){var t="border-left-width: ".concat(this.internal_config.arrowBottom.size,"px;\n                     border-right-width: ").concat(this.internal_config.arrowBottom.size,"px;\n                     left: calc(50% - ").concat(this.internal_config.arrowBottom.size,"px);\n                     border-top-width: ").concat(this.internal_config.arrowBottom.size,"px;\n                     border-top-color: ").concat(this.internal_config.arrowBottom.color,";");return t},dataTag:function(){return this.internal_config.tag?this.internal_config.tag:""}}
1,mounted:function(){this.build(this.$props.config),this.internal_config=window.mergeRecursive(this.props,this.$props.config),this.$root.$emit("applyAnimation",this,"sitebuilder-element-container")}},ia=na,oa=(n("d583"),n("0e2a"),Object(b["a"])(ia,Xo,ta,!1,null,"7accc8c0",null)),aa=oa.exports,ra=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:this.id,element:"LineComponent","data-tag":t.dataTag(),"data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile}},[e("div",{staticClass:"resizable vdr",style:{transform:t.transform}},[e("div",{staticClass:"container-line-hor"},[t.internal_config.arrowLeft.active?e("div",{staticClass:"arrow arrow-left",style:t.styleArrowLeft()}):t._e(),e("div",{staticClass:"sitebuilder-element",style:{"border-radius":t.radius,"border-bottom":t.border,"box-shadow":t.boxShadow,marginLeft:t.marginleft,marginRight:t.marginright}}),t.internal_config.arrowRight.active?e("div",{staticClass:"arrow arrow-right",style:t.styleArrowRight()}):t._e()])])])},sa=[],ca={data:function(){return{props:{tag:"",horizontal:!0,width:"150px",zIndex:"auto",maxWidth:"768px",rotation:"0deg",border:"1px solid #000000",boxShadow:"0 0 0 0 blue",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",arrowLeft:{active:!1,color:"#000000",size:"5px"},arrowRight:{active:!1,color:"#000000",size:"5px"},animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},internal_config:{horizontal:!0,width:"150px",zIndex:"auto",maxWidth:"768px",rotation:"0deg",border:"1px solid #000000",boxShadow:"0 0 0 0 blue",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",arrowLeft:{active:!1,color:"#000000",size:"5px"},arrowRight:{active:!1,color:"#000000",size:"5px"},animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},name:"line"}}},la={name:"LineComponent",props:["config","src","id","preview","device"],computed:{border:function(){if("undefined"!==typeof this.internal_config.border){var t=this.internal_config.border.split(" ");"undefined"!==typeof t[2]&&this.$globalStoreHelpers.isValidHex(t[2])&&(t[2]=this.$globalStoreHelpers.hexToRGBA(t[2]),this.internal_config.border=t.join(" "))}return this.internal_config.border},boxShadow:function(){return this.internal_config.boxShadow},radius:function(){return this.internal_config.borderRadius},marginleft:function(){return this.internal_config.arrowLeft.active?this.internal_config.arrowLeft.size+"px":""},marginright:function(){return this.internal_config.arrowRight.active?this.internal_config.arrowRight.size+"px":""},transform:function(){return"rotate(".concat("desktop"===this.$props.device?this.internal_config.rotation:0,") scale(1)")}},data:function(){return ca.data()},methods:{dataTag:function(){return this.internal_config.tag?this.internal_config.tag:""},build:function(t){this.internal_config=t},style:function(){var t="width: ".concat(this.internal_config.width,";\n                     z-index: ").concat(this.internal_config.zIndex,";max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n                     padding-top: ").concat(this.internal_config.paddingTop,";\n                     padding-left: ").concat(this.internal_config.paddingLeft,";\n                     padding-right: ").concat(this.internal_config.paddingRight,";\n                     padding-bottom: ").concat(this.internal_config.paddingBottom,";\n                     left:  ").concat(this.internal_config.left,";\n\t\t\t\t\t\t\t\t\t\t top: ").concat(this.internal_config.top,";");return t},styleArrowLeft:function(){var t="border-top-width: ".concat(this.internal_config.arrowLeft.size,"px;\n                     border-bottom-width: ").concat(this.internal_config.arrowLeft.size,"px;\n                     border-right-width: ").concat(this.internal_config.arrowLeft.size,"px;\n                     top: calc(50% - ").concat(this.internal_config.arrowLeft.size,"px);\n                     border-right-color: ").concat(this.internal_config.arrowLeft.color,";");return t},styleArrowRight:function(){var t="border-top-width: ".concat(this.internal_config.arrowRight.size,"px;\n                     border-bottom-width: ").concat(this.internal_config.arrowRight.size,"px;\n                     border-left-width: ").concat(this.internal_config.arrowRight.size,"px;\n                     top: calc(50% - ").concat(this.internal_config.arrowRight.size,"px);\n                     border-left-color: ").concat(this.internal_config.arrowRight.color,";");return t},styleResize:function(){return"{width: ".concat(this.internal_config.width,", height:  ").concat(this.internal_config.height,"}")}},mounted:function(){var t=this;
1this.build(this.$props.config),Object.keys(this.props).forEach((function(e){"undefined"===typeof t.internal_config[e]&&(t.internal_config[e]=t.props[e])})),this.$root.$emit("applyAnimation",this,"sitebuilder-element-container")}},da=la,ua=(n("cb14"),n("c582"),Object(b["a"])(da,ra,sa,!1,null,"7eb4f252",null)),ha=ua.exports,ga=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{element:"WistiaVideoComponent","data-tag":t.dataTag(),"data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile,id:t.id}},[e("div",{staticClass:"css",style:"transform: rotate(".concat("desktop"===this.$props.device?this.internal_config.rotation:0,") scale(1)")},[e("div",{staticClass:"the-sticky-div-content embed-responsive embed-responsive-16by9",attrs:{id:"the-sticky-div"}},[e("div",{staticClass:"sticky-video-content"},[e("div",{staticClass:"video"},["https://fast.wistia.net/embed/medias/3u83knod8u"!==t.internal_config.src?e("iframe",{staticClass:"embed-responsive-item",style:{"border-radius":t.radius,border:t.border},attrs:{width:t.internal_config.width,height:t.internal_config.height,src:t.internal_config.src,frameborder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""}}):t._e()])])])])])},fa=[],pa={data:function(){return{props:{width:"300px",height:"300px",zIndex:"auto",maxWidth:"768px",rotation:"0deg",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",src:"https://fast.wistia.net/embed/medias/3u83knod8u",StickyVideo:!1,positionSticky:"",btnClick:"",sizeSticky:"",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},elements:[],internal_config:{width:"300px",height:"300px",zIndex:"auto",maxWidth:"768px",rotation:"0deg",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",src:"https://fast.wistia.net/embed/medias/3u83knod8u",srcFinal:"",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}}}}},ma={computed:{width:function(){return this.internal_config.width},height:function(){return this.internal_config.height},radius:function(){return this.internal_config.borderRadius},boxShadow:function(){return this.internal_config.boxShadow},border:function(){if("undefined"!==typeof this.internal_config.border){var t=this.internal_config.border.split(" ");"undefined"!==typeof t[2]&&this.$globalStoreHelpers.isValidHex(t[2])&&(t[2]=this.$globalStoreHelpers.hexToRGBA(t[2]),this.internal_config.border=t.join(" "))}return this.internal_config.border}},methods:{dataTag:function(){return this.internal_config.tag?this.internal_config.tag:""}}
1},ba=ma,_a={name:"WistiaVideoComponent",props:["config","height_start","device","id","preview"],mixins:[ba],data:function(){return pa.data()},computed:{},methods:{style:function(){var t="left:  ".concat(this.internal_config.left,";\n                     width: ").concat(this.internal_config.width,";\n                     height: ").concat(this.internal_config.height,";\n                     z-index: ").concat(this.internal_config.zIndex,";max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n                     padding-top: ").concat(this.internal_config.paddingTop,";\n                     padding-left: ").concat(this.internal_config.paddingLeft,";\n                     padding-right: ").concat(this.internal_config.paddingRight,";\n                     padding-bottom: ").concat(this.internal_config.paddingBottom,";\n\t\t\t\t\t\t\t\t\t\t top: ").concat(this.internal_config.top,";");return t},getUrl:function(){var t=this.internal_config.src;return t}},updated:function(){this.internal_config.StickyVideo&&(this.$root.$emit("applySticky",this),this.internal_config.rotation=0)},created:function(){this.internal_config=window.mergeRecursive(this.props,this.$props.config)},mounted:function(){var t,e,n,i=this,o=this.$props;t=o.device,o.childs,e=o.id,n=o.config,this.internal_config=n,this.device=t,"undefined"!==typeof e&&(this.id=e),Object.keys(this.props).forEach((function(t){"undefined"===typeof i.internal_config[t]&&(i.internal_config[t]=i.props[t])})),this.$root.$emit("applyAnimation",this,"sitebuilder-element-container")}},ya=_a,va=Object(b["a"])(ya,ga,fa,!1,null,"74ad0a58",null),wa=va.exports,xa=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:this.id,element:"SliderGalleryComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile},on:{contextmenu:function(e){return e.preventDefault(),t.handler(e)}}},[t.$isDeviceIOS()?e("div",{staticClass:"slider-gallery-ios-helper"},[e("div",{staticClass:"slider-navigation-helper"},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.arrowOptions,expression:"arrowOptions"}],staticClass:"slider-navigation"},[e("div",{staticClass:"mdi mdi-arrow-left-circle",style:t.styleArrow(),on:{click:t.prevSlider}}),e("div",{staticClass:"mdi mdi-arrow-right-circle",style:t.styleArrow(),on:{click:t.nextSlider}})])]),e("div",{staticClass:"slider-gallery-helper"},[e("transition-group",{ref:"slider-gallery",staticClass:"slider-gallery-ios",style:{opacity:t.opacity,"border-radius":t.radius,border:t.border,"box-shadow":t.boxShadow,minHeight:t.minHeight,transform:t.transform},attrs:{tag:"div",name:"slider-gallery-ios",duration:{enter:1e3,leave:1e3}}},t._l(t.internal_config.images,(function(n,i){return e("div",{directives:[{name:"show",rawName:"v-show",value:t.internal_config.currentIndex===i,expression:"internal_config.currentIndex === index"}],key:i,class:"slider-image-".concat(i),style:{backgroundImage:"url('".concat(n,"')")}})})),0)],1)]):[e("div",{ref:"slider-gallery",staticClass:"slider-gallery",style:{opacity:t.opacity,"border-radius":t.radius,border:t.border,"box-shadow":t.boxShadow,minHeight:t.minHeight,transform:t.transform}},t._l(t.internal_config.images,(function(t,n){return e("div",{key:n,class:"slider-image-".concat(n),style:{backgroundImage:"url('".concat(t,"')")}})})),0),e("div",{directives:[{name:"show",rawName:"v-show",value:t.arrowOptions,expression:"arrowOptions"}],staticClass:"slider-navigation"},[e("div",{staticClass:"mdi mdi-arrow-left-circle",style:t.styleArrow(),on:{click:t.prevSlider}}),e("div",{staticClass:"mdi mdi-arrow-right-circle",style:t.styleArrow(),on:{click:t.nextSlider}})])]],2)},ka=[],Sa={data:function(){return{props:{height:"200px",width:"200px",minHeight:"50px",zIndex:"auto",rotation:"0deg",opacity:1,arrowOptions:!1,arrowSize:"25px",arrowColor:"#d1d1d1",images:["https://image.freepik.com/fotos-gratis/gotas-de-oleo-na-imagem-abstrata-padrao-psicodelico-de-agua_23-2148290141.jpg","https://cdn.pixabay.com/photo/2015/12/12/15/24/amsterdam-1089646_1280.jpg","https://cdn.pixabay.com/photo/2015/12/12/15/24/amsterdam-1089646_1280.jpg","https://cdn.pixabay.com/photo/2015/05/15/14/27/eiffel-tower-768501_1280.jpg","https://cdn.pixabay.com/photo/2015/12/12/15/24/amsterdam-1089646_1280.jpg"],timerSlider:3e3,currentIndex:0,autoPlaySlider:!0,overflow:"hidden",border:"0 none #000000",boxShadow:"1px 1px 1px 1px blue",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",marginLeft:"0",marginRight:"0",link:{type:"web",value:"",target:"_blank",targetID:0},animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},internal_config:{zIndex:"auto",rotation:"0deg",overflow:"hidden",arrowOptions:!0,arrowSize:"25px",arrowColor:"#d1d1d1",images:["https://image.freepik.com/fotos-gratis/gotas-de-oleo-na-imagem-abstrata-padrao-psicodelico-de-agua_23-2148290141.jpg","https://cdn.pixabay.com/photo/2015/12/12/15/24/amsterdam-1089646_1280.jpg","https://cdn.pixabay.com/photo/2015/12/12/15/24/amsterdam-1089646_1280.jpg","https://cdn.pixabay.com/photo/2015/05/15/14/27/eiffel-tower-768501_1280.jpg","https://cdn.pixabay.com/photo/2015/12/12/15/24/amsterdam-1089646_1280.jpg"],timerSlider:3e3,currentIndex:0,autoPlaySlider:!0,height:"200px",width:"200px",minHeight:"50px",left:"0px",top:"0px",showDesktop:!0,showMobile:!0,opacity:1,boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",marginLeft:"0",marginRight:"0",link:{type:"web",value:"",target:"_blank",targetID:0}},name:"slider-gallery"}}},Ca={name:"SliderGalleryComponent",props:["config","id","preview","device"],components:{},computed:{arrowOptions:function(){return this.internal_config.arrowOptions},timerSlider:function(){return this.internal_config.timerSlider},minHeight:function(){return this.internal_config.minHeight},opacity:function(){return this.internal_config.opacity},border:function(){if("undefined"!==typeof this.internal_config.border){var t=this.internal_config.border.split(" ");"undefined"!==typeof t[2]&&this.$globalStoreHelpers.isValidHex(t[2])&&(t[2]=this.$globalStoreHelpers.hexToRGBA(t[2]),this.internal_config.border=t.join(" "))}return this.internal_config.border},boxShadow:function(){return this.internal_config.boxShadow},radius:function(){return this.internal_config.borderRadius},transform:function(){return"rotate(".concat("desktop"===this.$props.device?this.internal_config.rotation:0,") scale(1)")}},data:function(){return Sa.data()},methods:{destroyAutoPlay:function(){clearTimeout(this.internal_config.autoPlaySlider)},buildSlider:function(){this.$isDeviceIOS()||(document.getElementById(this.id).getElementsByClassName("slider-image-".concat(this.internal_config.currentIndex))[0].style.left=0),this.autoPlaySlider()},prevSlider:function(){var t=this.internal_config,e=t.currentIndex,n=t.images,i=e?e-1:n.length-1,o=document.getElementById(this.id).getElementsByClassName("slider-image-".concat(i))[0],a=document.getElementById(this.id).getElementsByClassName("slider-image-".concat(e))[0];this.$isDeviceIOS()||(o.style.left="-100%",a.style.left=0),o.setAttribute("class","slider-image-".concat(i," slider-gallery-in-left")),a.setAttribute("class","slider-image-".concat(e," slider-gallery-out-right")),this.internal_config.currentIndex=i,this.destroyAutoPlay(),this.autoPlaySlider()},nextSlider:function(){var t=this.internal_config,e=t.currentIndex,n=t.images,i=e===n.length-1?0:e+1,o=document.getElementById(this.id).getElementsByClassName("slider-image-".concat(i))[0],a=document.getElementById(this.id).getElementsByClassName("slider-image-".concat(e))[0];this.$isDeviceIOS()||(o.style.left="100%",a.style.left=0),o.setAttribute("class","slider-image-".concat(i," slider-gallery-in-right")),a.setAttribute("class","slider-image-".concat(e," slider-gallery-out-left")),this.internal_config.currentIndex=i,this.destroyAutoPlay(),this.autoPlaySlider()},autoPlaySlider:function(){var t=this;if(!this.internal_config.autoPlaySlider)return this.destroyAutoPlay(),!1;this.internal_config.autoPlaySlider=setTimeout((function(){t.nextSlider()}),this.internal_config.timerSlider)},animation:function(){return!0},style:function(){var t="width: ".concat(this.internal_config.width,";\n                     height:  ").concat(this.internal_config.height,";\n                     z-index: ").concat(this.internal_config.zIndex,";max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n                     padding-top: ").concat(this.internal_config.paddingTop,";\n                     padding-left: ").concat(this.internal_config.paddingLeft,";\n                     padding-right: ").concat(this.internal_config.paddingRight,";\n                     padding-bottom: ").concat(this.internal_config.paddingBottom,";\n                     left:  ").concat(this.internal_config.left,";\n                     top: ").concat(this.internal_config.top,";");return t},styleArrow:function(){return"font-size: ".concat(this.internal_config.arrowSize,";\n                color: ").concat(this.internal_config.arrowColor)},styleResize:function(){return"{width: ".concat(this.internal_config.width,", height:  ").concat(this.internal_config.height,"}")},handler:function(t){this.$root.$emit("focusElement",this),this.$root.$emit("handlerElement",this),t.stopPropagation(),t.preventDefault()},hover:function(){this.$emit("highlightHover",{name:this.name,posicao:this.$refs.image.getBoundingClientRect()})}},created:function(){this.internal_config=window.mergeRecursive(this.props,this.$props.config),this.internal_config.currentIndex=0},mounted:function(){this.$root.$emit("applyAnimation",this,"sitebuilder-element-container"),this.buildSlider()}},Ia=Ca,$a=(n("0ea6"),Object(b["a"])(Ia,xa,ka,!1,null,"59f7216e",null)),Ta=$a.exports,Pa=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:this.id,element:"Image3DComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile},on:{click:function(e){return t.linkAction()}}},[e("div",{ref:"image",staticClass:"sitebuilder-element image3D-container",style:{"background-image":"url(".concat(t.internal_config.src,")"),opacity:t.opacity,"border-radius":t.radius,border:t.border},attrs:{role:"img","aria-label":t.internal_config.alt,"aria-title":t.internal_config.title},on:{mousemove:function(e){return e.target!==e.currentTarget?null:t.mouseMove.apply(null,arguments)},mouseout:function(e){return e.target!==e.currentTarget?null:t.mouseout.apply(null,arguments)},mousedown:function(e){return e.target!==e.currentTarget?null:t.mousedown.apply(null,arguments)},mouseup:function(e){return e.target!==e.currentTarget?null:t.mouseup.apply(null,arguments)}}},[e("img",{staticClass:"sitebuilder-element",attrs:{src:this.internal_config.src}})])])}
1,Oa=[],Aa={data:function(){return{props:{tag:"",height:"150px",width:"150px",zIndex:"auto",maxWidth:"768px",rotation:"0deg",opacity:1,src:"https://storage.builderall.com/franquias/2/181114/editor-html/2700563.jpeg",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",marginLeft:"0",marginRight:"0",alt:"",title:"",link:{type:"web",value:"",target:"_blank",targetID:0},animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},internal_config:{zIndex:"auto",maxWidth:"768px",rotation:"0deg",src:"",width:"150px",height:"150px",left:"0px",top:"0px",showDesktop:!0,showMobile:!0,opacity:1,paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",marginLeft:"0",marginRight:"0",link:{type:"web",value:"",target:"_blank",targetID:0}},name:"image",alt:String(),real_src:String()}}},Ra={name:"Image3DComponent",props:["config","src","id","preview","device"],mixins:[ba],computed:{opacity:function(){return this.internal_config.opacity}},data:function(){return Aa.data()},methods:{animation:function(){return!0},linkAction:function(){this.$root.$emit("linkAction",this.internal_config.link)},build:function(t){this.internal_config=t},mouseover:function(t){var e=this.$refs.image,n=e.clientHeight,i=e.clientWidth,o=t.layerX,a=t.layerY,r=(o-i/2)/i*20,s=(a-n/2)/n*-20,c="perspective(500px) scale(1.1) rotateX("+s+"deg) rotateY("+r+"deg)";e.style.transform=c},mouseout:function(){var t=this.$refs.image;t.style.transform="perspective(500px) scale(1) rotateX(0) rotateY(0)"},mousedown:function(){var t=this.$refs.image;t.style.transform="perspective(500px) scale(0.9) rotateX(0) rotateY(0)"},mouseup:function(){var t=this.$refs.image;t.style.transform="perspective(500px) scale(1.1) rotateX(0) rotateY(0)"},mouseMove:function(t){var e=this.$refs.image,n=e.clientHeight,i=e.clientWidth,o=t.layerX,a=t.layerY;o<0&&(o*=-1,o>200&&(o/=2)),a<0&&(a*=-1,a>200&&(a/=2));var r=(o-i/2)/i*20,s=(a-n/2)/n*-20,c="perspective(500px) scale(1.1) rotateX("+s+"deg) rotateY("+r+"deg)";e.style.transform=c},style:function(){var t="width: ".concat(this.internal_config.width,";\n                    max-width: ").concat(this.internal_config.maxWidth,";\n                     height: auto;\n                     z-index: ").concat(this.internal_config.zIndex,";\n                     max-width: ").concat(this.internal_config.maxWidth,";\n                     margin: 0 auto;\n                     padding-top: ").concat(this.internal_config.paddingTop,";\n                     padding-left: ").concat(this.internal_config.paddingLeft,";\n                     padding-right: ").concat(this.internal_config.paddingRight,";\n                     padding-bottom: ").concat(this.internal_config.paddingBottom,";\n                     left:  ").concat(this.internal_config.left,";\n                     top: ").concat(this.internal_config.top);return t}},mounted:function(){this.build(this.$props.config),this.internal_config=window.mergeRecursive(this.props,this.$props.config),this.internal_config.src=this.internal_config.src.replace("omb11.com","storage.builderall.com"),this.$root.$emit("applyAnimation",this,"sitebuilder-element-container")}},Ba=Ra,La=(n("561e"),Object(b["a"])(Ba,Pa,Oa,!1,null,"02efadfa",null)),za=La.exports,Ma=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:this.id,element:"CounterTextComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile}},[e("div",{staticClass:"vdr",style:{transform:t.transform}},[e("div",{staticClass:"text-area",style:{height:t.height,width:t.width,border:t.border,"border-radius":t.radius,background:t.background,"box-shadow":t.boxShadow}},[e("a",{ref:"obj",style:t.textStyle()},[t._v(t._s(t.internal_config.init))])])])])},Ea=[],Na={data:function(){return{props:{tag:"",height:"50px",width:"150px",zIndex:"auto",maxWidth:"768px",rotation:"0deg",init:0,finish:1e3,timer:2e3,border:"0 none #000000",borderRadius:"0 0 0 0",backgroundColor:"#21309b",backgroundColorHover:"#21309b",textColorHover:"#FFFFFF",backgroundImage:"none",backgroundPosition:"center",backgroundOrigin:"border-box",backgroundRepeat:"no-repeat",backgroundSize:"cover",boxShadow:"1px 1px 1px 1px blue",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",textStyle:{fam
1ily:"arial, helvetica, sans-serif",size:"15px",sizeMobile:"15px",color:"White",align:"center",weight:"700",style:"initial",stroke:"none"},animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},internal_config:{tag:"",height:"50px",width:"150px",zIndex:"auto",maxWidth:"768px",rotation:"0deg",init:0,finish:1e3,border:"0 none #000000",borderRadius:"0 0 0 0",backgroundColor:"#21309b",backgroundColorHover:"#21309b",textColorHover:"#FFFFFF",backgroundImage:"none",backgroundPosition:"center",backgroundOrigin:"border-box",backgroundRepeat:"no-repeat",backgroundSize:"cover",boxShadow:"1px 1px 1px 1px blue",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",textStyle:{family:"arial, helvetica, sans-serif",size:"15px",sizeMobile:"15px",color:"White",align:"center",weight:"700",style:"initial",stroke:"none"},animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},name:"countertext"}}},Da={name:"CounterTextComponent",props:["config","id","preview","device"],mixins:[ba],data:function(){return Na.data()},computed:{background:function(){var t=this.internal_config.backgroundColor;return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage&&(t+=' url("'+this.internal_config.backgroundImage+'")',t+=" "+this.internal_config.backgroundPosition,t+=" / "+this.internal_config.backgroundSize,t+=" "+this.internal_config.backgroundRepeat,t+=" "+this.internal_config.backgroundOrigin),t},transform:function(){return"rotate(".concat("desktop"===this.$props.device?this.internal_config.rotation:0,") scale(1)")}},methods:{build:function(t){this.internal_config=t},textStyle:function(){return" width: ".concat(this.internal_config.width,";\n                 height: ").concat(this.internal_config.height,";\n                 font-family: ").concat(this.internal_config.textStyle.family,";\n                 font-size: ").concat(this.internal_config.textStyle.size,";\n                 text-align: ").concat(this.internal_config.textStyle.align,";\n                 font-weight: ").concat(this.internal_config.textStyle.weight,";\n                 font-style: ").concat(this.internal_config.textStyle.style,";\n                 text-decoration: ").concat(this.internal_config.textStyle.stroke,";\n                 color: ").concat(this.internal_config.textStyle.color)},style:function(){return"left:  ".concat(this.internal_config.left,";\n\t\t\t\tpadding-top: ").concat(this.internal_config.paddingTop,";\n                padding-left: ").concat(this.internal_config.paddingLeft,";\n                z-index: ").concat(this.internal_config.zIndex,";max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n                padding-right: ").concat(this.internal_config.paddingRight,";\n                padding-bottom: ").concat(this.internal_config.paddingBottom,";\n\t\t\t\ttop: ").concat(this.internal_config.top,";")},animateValue:function(t,e,n,i){var o=n-e,a=e,r=n>e?1:-1,s=Math.abs(Math.floor(i/o)),c=setInterval((function(){a+=r,t.innerHTML=a,a==n&&clearInterval(c)}),s)}},mounted:function(){this.build(this.$props.config),this.internal_config=window.mergeRecursive(this.props,this.$props.config),this.$el.classList.add("preview");var t=this;this.$el.addEventListener("mouseover",(function(){document.body.style.setProperty("--button-background-color--hover",t.internal_config.backgroundColorHover),document.body.style.setProperty("--button-text-color--hover",t.internal_config.textColorHover)})),this.animateValue(this.$refs.obj,parseFloat(this.internal_config.init),parseFloat(this.internal_config.finish),parseInt(this.internal_config.timer))}},ja=Da,Ha=(n("3f33"),Object(b["a"])(ja,Ma,Ea,!1,null,null,null)),Fa=Ha.exports,Ua=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:this.id,element:"CounterBarComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile}},[e("div",{staticClass:"vdr"},[e("div",{staticClass:"progress",style:{height:t.height,width:t.width,border:t.border,"border-radius":t.radius,background:t.background,"box-shadow":t.boxShadow}},[e("div",{ref:"obj",staticClass:"progress-bar",style:{backgroundColor:t.internal_config.backgroundColorBar},attrs:{role:"progressbar","aria-valuenow":"75","aria-valuemin":"
10","aria-valuemax":"100"}})])])])},qa=[],Va={data:function(){return{props:{tag:"",height:"50px",width:"150px",zIndex:"auto",maxWidth:"768px",rotation:"0deg",init:0,finish:1e3,timer:2e3,border:"0 none #000000",borderRadius:"0 0 0 0",backgroundColor:"#21309b",backgroundColorBar:"#04ff00",boxShadow:"1px 1px 1px 1px blue",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",textStyle:{family:"arial, helvetica, sans-serif",size:"15px",sizeMobile:"15px",color:"White",align:"center",weight:"700",style:"initial",stroke:"none"},animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},internal_config:{tag:"",height:"50px",width:"150px",zIndex:"auto",maxWidth:"768px",rotation:"0deg",init:0,finish:1e3,border:"0 none #000000",borderRadius:"0 0 0 0",backgroundColor:"#21309b",backgroundColorHover:"#21309b",textColorHover:"#FFFFFF",backgroundImage:"none",backgroundPosition:"center",backgroundOrigin:"border-box",backgroundRepeat:"no-repeat",backgroundSize:"cover",boxShadow:"1px 1px 1px 1px blue",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",textStyle:{family:"arial, helvetica, sans-serif",size:"15px",sizeMobile:"15px",color:"White",align:"center",weight:"700",style:"initial",stroke:"none"},animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},name:"countertext"}}},Wa={name:"CounterBarComponent",props:["config","id","preview","device"],mixins:[ba],data:function(){return Va.data()},computed:{background:function(){var t=this.internal_config.backgroundColor;return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage&&(t+=' url("'+this.internal_config.backgroundImage+'")',t+=" "+this.internal_config.backgroundPosition,t+=" / "+this.internal_config.backgroundSize,t+=" "+this.internal_config.backgroundRepeat,t+=" "+this.internal_config.backgroundOrigin),t}},methods:{build:function(t){this.internal_config=t},style:function(){return"left:  ".concat(this.internal_config.left,";\n                padding-top: ").concat(this.internal_config.paddingTop,";\n                padding-left: ").concat(this.internal_config.paddingLeft,";\n                z-index: ").concat(this.internal_config.zIndex,";max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n                padding-right: ").concat(this.internal_config.paddingRight,";\n                padding-bottom: ").concat(this.internal_config.paddingBottom,";\n                top: ").concat(this.internal_config.top,";\n                transform: rotate(").concat("desktop"==this.$props.device?this.internal_config.rotation:"0deg",") scale(1)")},animateValue:function(t,e,n,i){var o=n-e,a=e,r=n>e?1:-1,s=Math.abs(Math.floor(i/o)),c=setInterval((function(){a+=r,t.style.width=parseInt(a)+"%",a==n&&clearInterval(c)}),s)}},mounted:function(){this.build(this.$props.config),this.internal_config=window.mergeRecursive(this.props,this.$props.config),this.animateValue(this.$refs.obj,parseInt(this.internal_config.init),parseInt(this.internal_config.finish),parseInt(this.internal_config.timer))}},Ga=Wa,Ja=(n("17b8"),Object(b["a"])(Ga,Ua,qa,!1,null,null,null)),Ya=Ja.exports,Ka=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:this.id,element:"ImageGalleryComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile,"config-properties":JSON.stringify(t.internal_config)}},[e("div",{ref:"image-gallery",staticClass:"image-gallery-container",class:{"paginate-with-min":parseInt(t.internal_config.height)<=300&&t.internal_config.allImages.length>parseInt(t.internal_config.imagesPerPage),"paginate-with-max":parseInt(t.internal_config.height)>500&&t.internal_config.allImages.length>parseInt(t.internal_config.imagesPerPage),"without-paginate":t.internal_config.allImages.length<=parseInt(t.internal_config.imagesPerPage)},style:{minHeight:t.minHeight,transform:t.transform}},["matriz"===t.internal_config.theme?e("matriz-gallery",{attrs:{internal_config:t.internal_config},on:{showPhoto:t.showPhoto}}):"alternating"===t.internal_config.theme?e("alternating-gallery",{attrs:{internal_config:t.internal_config},on:{showPhoto:t.showPhoto}}):"tiles"===t.internal_config.theme?e("tiles-gallery",{attrs:{internal_config:t.internal_config},on:{showPhoto:t.showPhoto}}):"mixed"===t.internal_config.theme?e("mixed-gallery",{attrs:{internal_config:t.internal_config},on:{showPhoto:t.showPhoto}}):"one-main"===t.internal_config.theme?e("one-main",{attrs:{internal_config:t.internal_config},on:{showPhoto:t.showPhoto}}):t._e(),t.internal_config.allImages.length>parseInt(t.internal_config.imagesPerPage)?e("div",{staticClass:"paginate"},[t.internal_config.navigationWithNumber?e("div",t._l(t.internal_config.lastPage,(function(n,i){return e("a",{key:i,staticClass:"number",class:{active:t.internal_config.currentPage+1==n},style:t.styleNavigation(),on:{click:function(e){return t.paginate(n-1)}}},[t._v(t._s(n))])})),0):e("div",t._l(t.internal_config.lastPage,(function(n,i){return e("a",{key:i,staticClass:"circle",class:{active:t.internal_config.currentPage+1==n},style:t.styleNavigation(),on:{click:function(e){return t.paginate(n-1)}}})})),0)]):t._e()],1)])},Za=[],Qa={data:function(){return{props:{height:"200px",width:"200px",minHeight:"50px",zIndex:"auto",rotation:"0deg",opacity:1,allImages:["https://cdn.pixabay.com/photo/2015/12/12/15/24/amsterdam-1089646_1280.jpg","https://cdn.pixabay.com/photo/2015/12/12/15/24/amsterdam-1089646_1280.jpg","https://cdn.pixabay.com/photo/2015/05/15/14/27/eiffel-tower-768501_1280.jpg","https://cdn.pixabay.com/photo/2015/12/12/15/24/amsterdam-1089646_1280.jpg","https://cdn.pixabay.com/photo/2015/12/12/15/24/amsterdam-1089646_1280.jpg","https://cdn.pixabay.com/photo/2015/12/12/15/24/amsterdam-1089646_1280.jpg","https://cdn.pixabay.com/photo/2015/12/12/15/24/amsterdam-1089646_1280.jpg"],images:[],columns:3,theme:"matriz",imagesPerPage:6,navigationWithNumber:!0,navigationBackgroun
1d:"#FFFFFF",navigationHover:"#C0C1C2",navigationActive:"#41A9FF",currentPage:0,currentImage:0,horizontalMargin:5,verticalMargin:5,lastPage:0,overflow:"hidden",border:"0 none #000000",boxShadow:"1px 1px 1px 1px blue",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",marginLeft:"0",marginRight:"0",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},internal_config:{zIndex:"auto",rotation:"0deg",overflow:"hidden",allImages:["https://cdn.pixabay.com/photo/2015/12/12/15/24/amsterdam-1089646_1280.jpg","https://cdn.pixabay.com/photo/2015/12/12/15/24/amsterdam-1089646_1280.jpg","https://cdn.pixabay.com/photo/2015/05/15/14/27/eiffel-tower-768501_1280.jpg","https://cdn.pixabay.com/photo/2015/12/12/15/24/amsterdam-1089646_1280.jpg"],columns:3,images:[],imagesPerPage:6,navigationWithNumber:!0,navigationBackground:"#FFFFFF",navigationHover:"#C0C1C2",navigationActive:"#41A9FF",currentPage:0,currentImage:0,lastPage:0,height:"200px",width:"200px",minHeight:"50px",left:"0px",top:"0px",showDesktop:!0,showMobile:!0,opacity:1,boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",marginLeft:"0",marginRight:"0"},name:"image-gallery"}}},Xa=function(){var t=this,e=t._self._c;return e("div",{staticClass:"image-gallery-photos-container",style:{gridTemplateColumns:"repeat(".concat(t.internal_config.columns,", auto)"),gridColumnGap:"".concat(t.internal_config.verticalMargin,"px"),gridRowGap:"".concat(t.internal_config.horizontalMargin,"px"),opacity:t.opacity}},t._l(t.internal_config.images,(function(n,i){return e("div",{key:n,staticClass:"image-gallery-photo",style:{backgroundImage:"url("+n+")",cursor:t.$props.preview?"pointer":"",borderRadius:t.radius,border:t.border},on:{click:function(e){return t.$emit("showPhoto",i)}}})})),0)},tr=[],er={name:"MatrizGallery",props:["internal_config"],computed:{minHeight:function(){return this.internal_config.minHeight},opacity:function(){return this.internal_config.opacity},border:function(){return this.internal_config.border},radius:function(){return this.internal_config.borderRadius}}},nr=er,ir=(n("5b37"),Object(b["a"])(nr,Xa,tr,!1,null,"c76ac3a0",null)),or=ir.exports,ar=function(){var t=this,e=t._self._c;return e("div",{staticClass:"image-gallery-alternating-container",class:{"tiles-grid-repeat":t.internal_config.imagesPerPage>=4},style:{gridColumnGap:"".concat(t.internal_config.verticalMargin,"px"),gridRowGap:"".concat(t.internal_config.horizontalMargin,"px"),opacity:t.opacity}},t._l(t.internal_config.images,(function(n,i){return e("div",{key:n,staticClass:"image-gallery-alternating--photo",style:{backgroundImage:"url("+n+")",cursor:t.$props.preview?"pointer":"",borderRadius:t.radius,border:t.border},on:{click:function(e){return t.$emit("showPhoto",i)}}})})),0)},rr=[],sr={name:"AlternatingGallery",props:["internal_config"],computed:{minHeight:function(){return this.internal_config.minHeight},opacity:function(){return this.internal_config.opacity},border:function(){return this.internal_config.border},radius:function(){return this.internal_config.borderRadius}}},cr=sr,lr=(n("f604"),Object(b["a"])(cr,ar,rr,!1,null,"71b6ad32",null)),dr=lr.exports,ur=function(){var t=this,e=t._self._c;return e("div",{staticClass:"image-gallery-tiles-container",style:{gridColumnGap:"".concat(t.internal_config.verticalMargin,"px"),gridRowGap:"".concat(t.internal_config.horizontalMargin,"px"),opacity:t.opacity}},t._l(t.images,(function(n,i){return e("div",{key:i,staticClass:"image-gallery-tiles-photo",class:"image-gallery-tiles-photo-align-".concat(n.align),style:{backgroundImage:"url("+n.src+")",cursor:t.$props.preview?"pointer":"",borderRadius:t.radius,border:t.border},on:{click:function(e){return t.$emit("showPhoto",i)}}})})),0)},hr=[],gr={name:"TilesGallery",props:["internal_config"],computed:{minHeight:function(){return this.internal_config.minHeight},border:function(){return this.internal_config.border},opacity:function(){return this.internal_config.opacity},radius:function(){return this.internal_config.borderRadius}},data:function(){return{images:[]}},watch:{"internal_config.images":function(t){this.build()},"internal_config.imagesPerPage":function(t){this.build()}},methods:{build:function(){this.images=[];for(var t="min",e=0;e<this.internal_config.images.length;e++){var n=e+1,i="min"===t?"max":"min";n%2!==0&&(i=t),t=i,this.images.push({src:this.internal_config.images[e],align:i})}}},created:function(){this.build()}},fr=gr,pr=(n("0226"),Object(b["a"])(fr,ur,hr,!1,null,"863b8074",null)),mr=pr.exports,br=function(){var t=this,e=t._self._c;return e("div",{staticClass:"image-gallery-mixed-container",style:{gridTemplateColumns:"repeat(".concat(t.internal_config.columns,", auto)"),gridColumnGap:"".concat(t.internal_config.verticalMargin,"px"),gridRowGap:"".concat(t.internal_config.horizontalMargin,"px"),opacity:t.opacity}},t._l(this.images,(function(n,i){return e("div",{key:i,staticClass:"image-gallery-mixed-photo",class:{"
1image-gallery-photo-principal":n.principal},style:{backgroundImage:"url("+n.src+")",cursor:t.$props.preview?"pointer":"",borderRadius:t.radius,border:t.border},on:{click:function(e){return t.$emit("showPhoto",i)}}})})),0)},_r=[],yr={name:"MixedGallery",props:["internal_config"],computed:{minHeight:function(){return this.internal_config.minHeight},opacity:function(){return this.internal_config.opacity},border:function(){return this.internal_config.border},radius:function(){return this.internal_config.borderRadius}},data:function(){return{images:[]}},watch:{"internal_config.images":function(t){this.build()},"internal_config.columns":function(t){this.build()},"internal_config.imagesPerPage":function(t){this.build()}},methods:{build:function(){this.images=[];for(var t=this.internal_config.columns,e=this.internal_config.images.length,n=0,i=0;i<e;i++){var o=!1;n===i&&(o=!0,n+=parseInt(t)+1),this.images.push({src:this.internal_config.images[i],principal:o})}}},created:function(){this.build()}},vr=yr,wr=(n("1402"),Object(b["a"])(vr,br,_r,!1,null,"3f689406",null)),xr=wr.exports,kr=function(){var t=this,e=t._self._c;return e("div",{staticClass:"image-gallery-one-main-container",style:{gridTemplateColumns:"repeat(".concat(t.internal_config.columns,", auto)"),gridColumnGap:"".concat(t.internal_config.verticalMargin,"px"),gridRowGap:"".concat(t.internal_config.horizontalMargin,"px"),opacity:t.opacity}},t._l(t.internal_config.images,(function(n,i){return e("div",{key:i,staticClass:"image-gallery-one-main-photo",style:{backgroundImage:"url("+n+")",cursor:t.$props.preview?"pointer":"",borderRadius:t.radius,border:t.border},on:{click:function(e){return t.$emit("showPhoto",i)}}})})),0)},Sr=[],Cr={name:"OneMainGallery",props:["internal_config"],computed:{minHeight:function(){return this.internal_config.minHeight},opacity:function(){return this.internal_config.opacity},border:function(){return this.internal_config.border},radius:function(){return this.internal_config.borderRadius}},data:function(){return{images:[]}},watch:{"internal_config.images":function(t){this.build()},"internal_config.columns":function(t){this.build()},"internal_config.imagesPerPage":function(t){this.build()}},methods:{build:function(){}},created:function(){this.build()}},Ir=Cr,$r=(n("05ae"),Object(b["a"])(Ir,kr,Sr,!1,null,"2918b844",null)),Tr=$r.exports,Pr={name:"ImageGalleryComponent",props:["config","id","preview","device"],components:{OneMain:Tr,MixedGallery:xr,TilesGallery:mr,AlternatingGallery:dr,MatrizGallery:or},computed:{minHeight:function(){return this.internal_config.minHeight},opacity:function(){return this.internal_config.opacity},border:function(){return this.internal_config.border},boxShadow:function(){return this.internal_config.boxShadow},radius:function(){return this.internal_config.borderRadius},transform:function(){return"rotate(".concat("desktop"===this.$props.device?this.internal_config.rotation:0,") scale(1)")}},data:function(){return Qa.data()},methods:{paginate:function(t){var e=this.internal_config,n=e.images,i=e.allImages,o=e.imagesPerPage,a=i.length;this.internal_config.currentPage=t;var r=Math.floor(t*o),s=r+ +o>a?a:r+ +o;n.splice(0,n.length);for(var c=r;c<s;c++)n.push(i[c])},showPhoto:function(t){var e=this.internal_config.images;this.$root.$emit("galleryShowImageUrl",!0,e[t])},build:function(){var t=this.internal_config,e=t.allImages,n=t.imagesPerPage;this.internal_config.lastPage=Math.ceil(e.length/n),this.paginate(0)},styleNavigation:function(){var t=this.internal_config,e=t.navigationBackground,n=t.navigationHover,i=t.navigationActive;return"--background-color: ".concat(e,";\n              --background-color--hover: ").concat(n,";\n              --background-color-active: ").concat(i,";")},style:function(){var t="width: ".concat(this.internal_config.width,";\n                     height:  ").concat(this.internal_config.height,";\n                     z-index: ").concat(this.internal_config.zIndex,";max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n                     padding-top: ").concat(this.internal_config.paddingTop,";\n                     padding-left: ").concat(this.internal_config.paddingLeft,";\n                     padding-right: ").concat(this.internal_config.paddingRight,";\n                     padding-bottom: ").concat(this.internal_config.paddingBottom,";\n                     left:  ").concat(this.internal_config.left,";\n                     top: ").concat(this.internal_config.top,";");return t},hover:function(){this.$emit("highlightHover",{name:this.name,posicao:this.$refs.image.getBoundingClientRect()})}},mounted:function(){this.internal_config=window.mergeRecursive(this.props,this.$props.config),this.$root.$emit("applyAnimation",this,"sitebuilder-element-container"),this.build()}},Or=Pr,Ar=(n("6329"),Object(b["a"])(Or,Ka,Za,!1,null,"7ae0ef00",null)),Rr=Ar.exp
1orts,Br=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{element:"SocialBarComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile,id:t.id}},[e("div",{style:"transform: rotate(".concat("desktop"===this.$props.device?this.internal_config.rotation:0,") scale(1)")},[e("div",{style:{"border-radius":t.radius,border:t.border}},[e("div",{staticClass:"embed-responsive embed-responsive-16by9 socialbar-parent",style:t.getOrientation(),attrs:{id:"socialId"}},[this.internal_config.checkFacebook?e("a",{staticClass:"socialbar-div",attrs:{href:t.getUrl("Facebook"),target:t.target,rel:"noreferrer"},on:{click:t.linkAnchorForce}},[e("img",{staticClass:"socialbar-icon",attrs:{src:t.getSrc("Facebook")}})]):t._e(),this.internal_config.checkTwitter?e("a",{staticClass:"socialbar-div",attrs:{href:t.getUrl("Twitter"),target:t.target},on:{click:t.linkAnchorForce}},[e("img",{staticClass:"socialbar-icon",attrs:{src:t.getSrc("Twitter")}})]):t._e(),this.internal_config.checkInstagram?e("a",{staticClass:"socialbar-div",attrs:{href:t.getUrl("Instagram"),target:t.target,rel:"noreferrer"},on:{click:t.linkAnchorForce}},[e("img",{staticClass:"socialbar-icon",attrs:{src:t.getSrc("Instagram")}})]):t._e(),this.internal_config.checkLinkedin?e("a",{staticClass:"socialbar-div",attrs:{href:t.getUrl("Linkedin"),target:t.target,rel:"noreferrer"},on:{click:t.linkAnchorForce}},[e("img",{staticClass:"socialbar-icon",attrs:{src:t.getSrc("Linkedin")}})]):t._e()])])])])},Lr=[],zr={data:function(){return{props:{name:"SocialBar",width:"50px",height:"50px",zIndex:"auto",maxWidth:"768px",rotation:"0deg",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"0px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",orientation:!0,imageFacebook:"https://storage.builderall.com//public-image/new/Icons/Social_Network/social_00037.png",imageTwitter:"https://storage.builderall.com//public-image/new/Icons/Social_Network/social_00065.png",imageInstagram:"https://storage.builderall.com//public-image/new/Icons/Social_Network/social_00045.png",imageLinkedin:"https://storage.builderall.com//public-image/new/Icons/Social_Network/social_00049.png",spaceBetween:0,sbNewAba:"",sbFacebook:"",checkFacebook:!0,sbTwitter:"",checkTwitter:!0,sbInstagram:"",checkInstagram:!0,sbLinkedin:"",checkLinkedin:"",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},elements:[],internal_config:{width:"50px",height:"50px",zIndex:"auto",maxWidth:"768px",rotation:"0deg",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",imageFacebook:"https://storage.builderall.com//public-image/new/Icons/Social_Network/social_00037.png",imageTwitter:"https://storage.builderall.com//public-image/new/Icons/Social_Network/social_00065.png",imageInstagram:"https://storage.builderall.com//public-image/new/Icons/Social_Network/social_00045.png",imageLinkedin:"https://storage.builderall.com//public-image/new/Icons/Social_Network/social_00049.png",sbNewAba:"",sbFacebook:"",checkFacebook:!0,sbTwitter:"",checkTwitter:!0,sbInstagram:"",checkInstagram:!0,sbLinkedin:"",checkLinkedin:"",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}}}}},Mr={name:"SocialBarComponent",props:["config","height_start","device","id","preview"],data:function(){return zr.data()},computed:{width:function(){return this.internal_config.width},height:function(){return this.internal_config.height},border:function(){return this.internal_config.border},radius:function(){return this.internal_config.borderRadius},target:function(){return this.internal_config.sbNewAba?"_blank":""}},methods:{animation:function(){return!0},getUrl:function(t){return"Facebook"==t?this.internal_config.sbFacebook:"Twitter"==t?this.internal_config.sbTwitter:"Instagram"==t?this.internal_config.sbInstagram:"Linkedin"==t?this.internal_config.sbLinkedin:void 0},getOrientation:function(){var t=this.internal_config,e=t.orientation,n=t.spaceBetween;
1return e=e?"block":"inline-flex","display: ".concat(e,"; gap: ").concat(n,"px")},getSrc:function(t){return this.internal_config["image".concat(t)]?this.internal_config["image".concat(t)]:"vazio"},style:function(){var t=this.internal_config,e=t.width,n=t.left,i=t.zIndex,o=t.paddingTop,a=t.paddingLeft,r=t.paddingRight,s=t.paddingBottom,c=t.top,l=t.rotation,d="  width: ".concat(e,";\n                     left:  ").concat(n,";\n                     z-index: ").concat(i,";max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n                     padding-top: ").concat(o,";\n                     padding-left: ").concat(a,";\n                     padding-right: ").concat(r,";\n                     padding-bottom: ").concat(s,";\n           top: ").concat(c,";\n           transform: rotate(").concat("desktop"==this.$props.device?l:0,") scale(1)");return d},linkAnchorForce:function(){this.$root.$emit("linkAnchorForce")}},created:function(){var t=this.$props,e=t.device,n=t.id,i=t.config;this.internal_config=i,this.device=e,"undefined"!==typeof n&&(this.id=n),this.internal_config=Object.assign({},this.internal_config,window.mergeRecursive(this.props,this.$props.config))},mounted:function(){this.$root.$emit("applyAnimation",this,"sitebuilder-element-container")}},Er=Mr,Nr=(n("566b"),Object(b["a"])(Er,Br,Lr,!1,null,"6666231d",null)),Dr=Nr.exports,jr=function(){var t=this,e=t._self._c;return t.visible?e("div",{class:t.rootAnimationClass,style:t.style(),attrs:{element:"InstagramFeedComponent","data-hide-desktop":!t.internal_config.showDesktop,"data-hide-mobile":!t.internal_config.showMobile,id:t.id}},[e("div",{staticClass:"instagram-feed",style:t.feedWrapperStyle},[t.loading&&!t.posts.length?e("div",{staticClass:"instagram-feed__loading"},[t._v("\n      Loading…\n    ")]):t.connected?e("div",{staticClass:"instagram-feed__content",style:t.contentScrollStyle},[t.internal_config.showHeader&&t.profile?e("div",{staticClass:"instagram-feed__header",class:"instagram-feed__header--"+(t.internal_config.headerType||"header1"),style:t.headerStyle},[e("div",{staticClass:"instagram-feed__profile"},[t.profile.profilePictureUrl?e("img",{staticClass:"instagram-feed__avatar",attrs:{src:t.profile.profilePictureUrl,alt:t.profile.username}}):e("div",{staticClass:"instagram-feed__avatar instagram-feed__avatar--placeholder"}),e("div",{staticClass:"instagram-feed__meta"},[e("div",{staticClass:"instagram-feed__username"},[t._v("@"+t._s(t.profile.username))]),e("div",{staticClass:"instagram-feed__stats"},[t._v("\n              "+t._s(t.formatCount(t.profile.mediaCount))+" posts · "+t._s(t.formatCount(t.profile.followersCount))+" followers\n            ")])])]),e("a",{staticClass:"instagram-feed__follow",class:[{"instagram-feed__follow--hoverable":t.internal_config.followButtonHoverEnabled},"instagram-feed__follow--icon-"+(t.internal_config.followButtonIconPosition||"left")],style:t.followButtonStyle,attrs:{href:t.profile.profileUrl,target:t.linkTarget,rel:"noopener noreferrer"}},[t.followButtonIconClass?e("i",{class:t.followButtonIconClass}):t._e(),e("span",[t._v(t._s(t.followButtonLabel))])])]):t._e(),t.displayPosts.length?"single-featured"===t.feedLayout?e("div",{staticClass:"instagram-feed__featured"},[e("feed-post-tile",{attrs:{post:t.displayPosts[0],config:t.internal_config,"tile-class":"instagram-feed__tile--featured","tile-style":t.featuredTileStyle,"engagement-style":t.engagementStyle,"likes-icon-style":t.likesIconStyle,"comments-icon-style":t.commentsIconStyle},on:{open:t.onPostClick}})],1):"slider"===t.feedLayout?e("div",{staticClass:"instagram-feed__slider-wrap"},[e("button",{staticClass:"instagram-feed__slider-nav instagram-feed__slider-nav--prev",attrs:{type:"button"},on:{click:t.slidePrev}},[t._v("‹")]),e("div",{ref:"sliderTrack",staticClass:"instagram-feed__slider"},t._l(t.displayPosts,(function(n){return e("feed-post-tile",{key:n.id,attrs:{post:n,config:t.internal_config,"tile-class":"instagram-feed__tile--slider","tile-style":t.sliderTileStyle,"engagement-style":t.engagementStyle,"likes-icon-style":t.likesIconStyle,"comments-icon-style":t.commentsIconStyle},on:{open:t.onPostClick}})})),1),e("button",{staticClass:"instagram-feed__slider-nav instagram-feed__slider-nav--next",attrs:{type:"button"},on:{click:t.slideNext}},[t._v("›")])]):"masonry"===t.feedLayout?e("div",{staticClass:"instagram-feed__masonry",style:t.masonryStyle},t._l(t.displayPosts,(function(n,i){return e("feed-post-tile",{key:n.id,attrs:{post:n,config:t.internal_config,"tile-class":"instagram-feed__tile--masonry","tile-style":t.masonryTileStyle(i),"engagement-style":t.engagementStyle,"likes-icon-style":t.likesIconStyle,"comments-icon-style":t.commentsIconStyle},on:{open:t.onPostClick}})})),1):e("div",{staticClass:"instagram-feed__grid",style:t.gridStyle},t._l(t.displayPosts,(function(n){return e("feed-post-tile",{key:n.id,attrs:{post:n,config:t.internal_config,"tile-style":t.postTileStyle,"engagement-style":t.engagementStyle,"likes-icon-style":t.likesIconStyle,"comments-icon-style":t.commentsIconStyle},on:{open:t.onPostClick}})})),1):e("div",{staticClass:"instagram-feed__empty-posts"},[t._v("No posts yet")]),!1!==t.internal_config.showLoadMore&&t.hasMore&&"single-featured"!==t.feedLayout?e("div",{staticClass:"instagram-feed__footer"},[e("button",{staticClass:"instagram-feed__load-more",class:[{"instagram-feed__load-more--hoverable":t.internal_config.loadMoreHoverEnabled},"instagram-feed__load-more--icon-"+(t.internal_config.loadMoreIconPosition||"left")],style:t.loadMoreButtonStyle,attrs:{type:"button",disabled:t.loadingMore},on:{click:t.loadMore}},[t.loadMoreIconClass?e("i",{class:t.loadMoreIconClass}):t._e(),e("span",[t._v(t._s(t.loadingMore?"Loading…":t.loadMoreLabel))])])]):t._e(),!1!==t.internal_config.showBranding?e("p",{staticClass:"instagram-feed__branding"},[t._v("Instagram")]):t._e()]):t._e()]),e("post-lightbox",{ref:"postLightbox"})],1):t._e()},Hr=[];n("ee1d");function Fr(t){return Object.assign({family:"Arial, Helvetica, sans-serif",size:"14px",color:"#FFFFFF",align:"center",weight:"600",style:"initial",stroke:"none"},t||{})}function Ur(){return{name:"InstagramFeed",width:"900px",height:"800px",maxWidth:"900px",minHeight:"200px",feedHeaderHeight:"80px",postHeight:"180px",zIndex:"auto",rotation:"0deg",border:"0 none #000000",boxShadow:"0 0 0 0 transparent",borderRadius:"0 0 0 0",backgroundColor:"#FFFFFF",backgroundImage:"none",backgroundPosition:"center",backgroundOrigin:"border-box",backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundAttachment:"scroll",paddingTop:"20px",paddingLeft:"20px",paddingRight:"20px",paddingBottom:"20px",showDesktop:!0,showMobile:!0,hideDesktopOrder:0,hideMobileOrder:0,tag:"",showHeader:!0,headerType:"header1",feedLayout:"grid",sliderVisibleCount:4,postOrder:"newest",autoplayVideos:!0,showMediaIcon:!0,hoverEffectsEnabled:!0,showInstagramLogo:!0,showCaption:!0,showBranding:!0,openLinksInNewTab:!0,showEngagement:!0,showLikes:!0,showComments:!0,likesIconColor:"#FFFFFF",commentsIconColor:"#FFFFFF",engagementIconSize:14,columns:3,postsPerPage:9,gap:12,imageBorderRadius:8,followButtonText:"Follow on Instagram",followButtonBackgroun
1d:"#0095F6",followButtonColor:"#FFFFFF",followButtonWidth:"160px",followButtonHeight:"40px",followButtonBorderRadius:"8px 8px 8px 8px",followButtonTextStyle:Fr({size:"14px",color:"#FFFFFF",weight:"600"}),followButtonIcon:"",followButtonIconPosition:"left",followButtonBackgroundImage:"none",followButtonBackgroundPosition:"center",followButtonBackgroundOrigin:"border-box",followButtonBackgroundRepeat:"no-repeat",followButtonBackgroundSize:"cover",followButtonHoverEnabled:!0,followButtonHoverBackground:"#1877F2",followButtonHoverColor:"#FFFFFF",showLoadMore:!0,loadMoreText:"Load More Posts",loadMoreBackground:"#EFEFEF",loadMoreColor:"#262626",loadMoreButtonWidth:"420px",loadMoreButtonHeight:"44px",loadMoreBorderRadius:"8px 8px 8px 8px",loadMoreTextStyle:Fr({size:"14px",color:"#262626",weight:"600"}),loadMoreIcon:"",loadMoreIconPosition:"left",loadMoreBackgroundImage:"none",loadMoreBackgroundPosition:"center",loadMoreBackgroundOrigin:"border-box",loadMoreBackgroundRepeat:"no-repeat",loadMoreBackgroundSize:"cover",loadMoreHoverEnabled:!1,loadMoreHoverBackground:"#E0E0E0",loadMoreHoverColor:"#262626",filterIncludeHashtags:[],filterExcludeHashtags:[],customPostOrder:[],hiddenPostIds:[],animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}}}var qr={data:function(){var t=Ur();return{props:Object.assign({},t),internal_config:Object.assign({},t)}}};function Vr(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.limit,n=void 0===e?9:e,i=t.cursor,o=void 0===i?null:i,a=window.OPTIONS_INIT_SITE&&window.OPTIONS_INIT_SITE.options&&window.OPTIONS_INIT_SITE.options.w_code?window.OPTIONS_INIT_SITE.options.w_code:"",r={website_id:a,limit:n};return o&&(r.cursor=o),R.a.get("/cheetah/instagram/feed",{params:r})}var Wr={GRID:"grid",SLIDER:"slider",LIST:"list",MASONRY:"masonry",GRID_2X2:"grid-2x2",GRID_3X3:"grid-3x3",GRID_4X2:"grid-4x2",SINGLE_FEATURED:"single-featured"},Gr={RANDOM:"random",NEWEST:"newest",OLDEST:"oldest"};function Jr(t){return t||Wr.GRID}function Yr(t){var e=Jr(t);return e===Wr.SLIDER?Wr.SLIDER:e===Wr.MASONRY?Wr.MASONRY:e===Wr.LIST||e===Wr.SINGLE_FEATURED?Wr.LIST:Wr.GRID}function Kr(t,e,n){var i=(t||[]).slice(),o=e||Gr.NEWEST;return o===Gr.RANDOM?es(i,n):(i.sort((function(t,e){return ts(t)-ts(e)})),o===Gr.OLDEST?i:i.reverse())}function Zr(t,e){var n=(t||[]).slice(),i=e||[];if(!i.length)return n;var o={};n.forEach((function(t){t&&t.id&&(o[String(t.id)]=t)}));var a=[],r={};return i.forEach((function(t){var e=String(t);o[e]&&(a.push(o[e]),r[e]=!0)})),n.forEach((function(t){t&&t.id&&!r[String(t.id)]&&a.push(t)})),a}function Qr(t,e){var n={};return(e||[]).forEach((function(t){n[String(t)]=!0})),Object.keys(n).length?(t||[]).filter((function(t){return t&&t.id&&!n[String(t.id)]})):t||[]}function Xr(t,e,n){return Qr(Zr(t,e),n)}function ts(t){if(!t||!t.timestamp)return 0;var e=Date.parse(t.timestamp);return Number.isNaN(e)?0:e}function es(t,e){var n=t.slice(),i=Math.abs(parseInt(e,10)||1)%2147483647;i||(i=1);for(var o=n.length-1;o>0;o-=1){i=16807*i%2147483647;var a=i%(o+1),r=n[o];n[o]=n[a],n[a]=r}return n}var ns=function(){var t=this,e=t._self._c;return e("div",{staticClass:"instagram-feed-lightbox-root"},[t.visible&&t.post?e("div",{staticClass:"instagram-feed-lightbox",on:{click:function(e){return e.target!==e.currentTarget?null:t.close.apply(null,arguments)}}},[e("div",{staticClass:"instagram-feed-lightbox__dialog",attrs:{role:"dialog","aria-modal":"true"}},[e("button",{staticClass:"instagram-feed-lightbox__close",attrs:{type:"button","aria-label":"Close"},on:{click:function(e){return e.stopPropagation(),t.close.apply(null,arguments)}}},[t._v("\n        ×\n      ")]),t.videoSrc?e("video",{ref:"lightboxVideo",staticClass:"instagram-feed-lightbox__video",attrs:{src:t.videoSrc,poster:t.imageSrc,controls:"",playsinline:"",preload:"metadata"},on:{click:function(t){t.stopPropagation()}}}):e("img",{staticClass:"instagram-feed-lightbox__image",attrs:{src:t.imageSrc,alt:t.post.caption||"Instagram post"}}),t.showEngagement?e("div",{staticClass:"instagram-feed-lightbox__engagement",class:{"
1instagram-feed-lightbox__engagement--below":!!t.videoSrc},style:t.engagementStyle},[t.showLikes?e("span",{style:t.likesIconStyle},[t._v("♥ "+t._s(t.formatCount(t.post.likeCount)))]):t._e(),t.showComments?e("span",{style:t.commentsIconStyle},[t._v("💬 "+t._s(t.formatCount(t.post.commentsCount)))]):t._e()]):t._e()])]):t._e()])},is=[],os={name:"InstagramFeedPostLightbox",data:function(){return{visible:!1,post:null,imageSrc:"",showEngagement:!0,showLikes:!0,showComments:!0,engagementStyle:{},likesIconStyle:{},commentsIconStyle:{},videoSrc:"",onKeydown:null}},mounted:function(){this.$el&&this.$el.parentNode!==document.body&&document.body.appendChild(this.$el)},beforeDestroy:function(){this.unbindEscape(),this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},methods:{open:function(t,e){var n=e||{};this.post=t||null,this.imageSrc=n.imageSrc||"",this.showEngagement=!1!==n.showEngagement,this.showLikes=!1!==n.showLikes,this.showComments=!1!==n.showComments,this.engagementStyle=n.engagementStyle||{},this.likesIconStyle=n.likesIconStyle||{color:"#FFFFFF"},this.commentsIconStyle=n.commentsIconStyle||{color:"#FFFFFF"},this.videoSrc=this.resolveVideoSrc(this.post),this.visible=!!this.post&&(!!this.imageSrc||!!this.videoSrc),this.visible&&(this.bindEscape(),document.body.style.overflow="hidden")},resolveVideoSrc:function(t){var e=t&&t.mediaType;return"VIDEO"!==e&&"REELS"!==e?"":t.mediaUrl||""},pauseVideo:function(){var t=this.$refs.lightboxVideo;t&&"function"===typeof t.pause&&t.pause()},close:function(){this.pauseVideo(),this.visible=!1,this.post=null,this.videoSrc="",this.unbindEscape(),document.body.style.overflow=""},bindEscape:function(){var t=this;this.unbindEscape(),this.onKeydown=function(e){"Escape"!==e.key&&27!==e.keyCode||t.close()},document.addEventListener("keydown",this.onKeydown)},unbindEscape:function(){this.onKeydown&&(document.removeEventListener("keydown",this.onKeydown),this.onKeydown=null)},formatCount:function(t){var e=Number(t)||0;return e>=1e6?(e/1e6).toFixed(1).replace(/\.0$/,"")+"M":e>=1e3?(e/1e3).toFixed(1).replace(/\.0$/,"")+"K":String(e)}}},as=os,rs=(n("17fa"),Object(b["a"])(as,ns,is,!1,null,null,null)),ss=rs.exports,cs=function(){var t=this,e=t._self._c;return e("button",{staticClass:"instagram-feed__tile",class:[t.tileClass,{"instagram-feed__tile--hoverable":t.hoverEnabled}],style:t.tileStyle,attrs:{type:"button"},on:{click:function(e){return t.$emit("open",t.post)}}},[t.playVideo?e("video",{staticClass:"instagram-feed__image",attrs:{src:t.post.mediaUrl,poster:t.imageSrc,autoplay:"",muted:"",loop:"",playsinline:""},domProps:{muted:!0}}):e("img",{staticClass:"instagram-feed__image",attrs:{src:t.imageSrc,alt:t.post.caption||"Instagram post",loading:"lazy"}}),t.mediaIconKind?e("span",{staticClass:"instagram-feed__media-icon",attrs:{"aria-hidden":"true"}},["video"===t.mediaIconKind?e("svg",{attrs:{viewBox:"0 0 24 24",width:"14",height:"14"}},[e("path",{attrs:{fill:"currentColor",d:"M8 5v14l11-7z"}})]):e("svg",{attrs:{viewBox:"0 0 24 24",width:"14",height:"14"}},[e("rect",{attrs:{x:"3",y:"5",width:"12",height:"12",rx:"2",fill:"none",stroke:"currentColor","stroke-width":"2"}}),e("rect",{attrs:{x:"9",y:"7",width:"12",height:"12",rx:"2",fill:"currentColor",opacity:"0.9"}})])]):t._e(),t.showOverlay?e("div",{staticClass:"instagram-feed__engagement",style:t.engagementStyle},[t.showHoverLogo?e("span",{staticClass:"instagram-feed__overlay-logo",attrs:{"aria-hidden":"true"}},[e("svg",{attrs:{viewBox:"0 0 24 24",width:"16",height:"16"}},[e("rect",{attrs:{x:"3",y:"3",width:"18",height:"18",rx:"5",fill:"none",stroke:"currentColor","stroke-width":"2"}}),e("circle",{attrs:{cx:"12",cy:"12",r:"4",fill:"none",stroke:"currentColor","stroke-width":"2"}}),e("circle",{attrs:{cx:"17.5",cy:"6.5",r:"1.2",fill:"currentColor"}})])]):t._e(),t.showLikes?e("span",{style:t.likesIconStyle},[t._v("♥ "+t._s(t.formatCount(t.post.likeCount)))]):t._e(),t.showComments?e("span",{style:t.commentsIconStyle},[t._v("💬 "+t._s(t.formatCount(t.post.commentsCount)))]):t._e(),t.showHoverCaption?e("p",{staticClass:"instagram-feed__caption"},[t._v(t._s(t.post.caption))]):t._e()]):t._e()])},ls=[],ds={name:"InstagramFeedPostTile",props:{post:{type:Object,required:!0},config:{type:Object,default:function(){return{}}},tileStyle:{type:Object,default:function(){return{}}},tileClass:{type:String,default:""},engagementStyle:{type:Object,default:function(){return{}}},likesIconStyle:{type:Object,default:function(){return{}}},commentsIconStyle:{type:Object,default:function(){return{}}}},computed:{hoverEnabled:function(){var t=this.config||{};return"undefined"!==typeof t.hoverEffectsEnabled?!!t.hoverEffectsEnabled:!1!==t.showEngagement},showLogo:function(){return!1!==this.config.showInstagramLogo},showLikes:function(){return!1!==this.config.showLikes},showComments:function(){return!1!==this.config.showComments},showCaption:function(){return!1!==this.config.showCaption},showHoverLogo:function(){return this.hoverEnabled&&this.showLogo},showHoverCaption:function(){return this.hoverEnabled&&this.showCaption&&!(!this.post||!this.post.caption)},showOverlay:function(){return this.showHoverLogo||this.showLikes||this.showComments||this.showHoverCaption},isVideo:function(){var t=this.post&&this.post.mediaType;return"VIDEO"===t||"REELS"===t},isCarousel:function(){return this.post&&"CAROUSEL_ALBUM"===this.post.mediaType}
1,playVideo:function(){return!1!==this.config.autoplayVideos&&this.isVideo&&!(!this.post||!this.post.mediaUrl)},mediaIconKind:function(){return!1===this.config.showMediaIcon?"":this.isVideo?"video":this.isCarousel?"carousel":""},imageSrc:function(){var t=this.post||{};return this.isVideo?t.thumbnailUrl||t.mediaUrl:t.mediaUrl||t.thumbnailUrl}},methods:{formatCount:function(t){var e=Number(t)||0;return e>=1e6?(e/1e6).toFixed(1).replace(/\.0$/,"")+"M":e>=1e3?(e/1e3).toFixed(1).replace(/\.0$/,"")+"K":String(e)}}},us=ds,hs=(n("179f"),Object(b["a"])(us,cs,ls,!1,null,"009b6f5d",null)),gs=hs.exports;function fs(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function ps(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?fs(Object(n),!0).forEach((function(e){Object(d["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):fs(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ms={name:"InstagramFeedComponent",components:{PostLightbox:ss,FeedPostTile:gs},props:["config","height_start","device","id","preview"],data:function(){return ps(ps({},qr.data()),{},{visible:!0,connected:!1,loading:!1,loadingMore:!1,profile:null,posts:[],nextCursor:null,hasMore:!1,postOrderSeed:Math.floor(2147483646*Math.random())+1,rootAnimationClass:"sitebuilder-element-container"})},computed:{followButtonLabel:function(){var t=this.internal_config.followButtonText;return t&&String(t).trim()?String(t).trim():"Follow on Instagram"},loadMoreLabel:function(){var t=this.internal_config.loadMoreText;return t&&String(t).trim()?String(t).trim():"Load More Posts"},filteredPosts:function(){return this.filterPosts(this.posts)},feedLayout:function(){return Jr(this.internal_config.feedLayout)},linkTarget:function(){return!1===this.internal_config.openLinksInNewTab?"_self":"_blank"},displayPosts:function(){var t=Xr(Kr(this.filteredPosts,this.internal_config.postOrder,this.postOrderSeed),this.internal_config.customPostOrder,this.internal_config.hiddenPostIds);return"single-featured"===this.feedLayout?t.slice(0,1):t},headerStyle:function(){return{minHeight:this.internal_config.feedHeaderHeight||"80px"}},followButtonStyle:function(){var t=this.internal_config,e=this.buildTextStyle(t.followButtonTextStyle,t.followButtonColor||"#FFFFFF");return Object.assign({},e,{background:this.buildButtonBackground(t,"followButton"),width:t.followButtonWidth||"auto",minHeight:t.followButtonHeight||"40px",borderRadius:t.followButtonBorderRadius||"8px",gap:"8px",textDecoration:"none","--ig-follow-hover-bg":t.followButtonHoverBackground||t.followButtonBackground||"#1877F2","--ig-follow-hover-color":t.followButtonHoverColor||e.color||"#FFFFFF"})},loadMoreButtonStyle:function(){var t=this.internal_config,e=this.buildTextStyle(t.loadMoreTextStyle,t.loadMoreColor||"#262626");return Object.assign({},e,{background:this.buildButtonBackground(t,"loadMore"),width:t.loadMoreButtonWidth||"100%",maxWidth:t.loadMoreButtonWidth||"420px",minHeight:t.loadMoreButtonHeight||"44px",borderRadius:t.loadMoreBorderRadius||"8px",gap:"8px","--ig-load-more-hover-bg":t.loadMoreHoverBackground||t.loadMoreBackground||"#E0E0E0","--ig-load-more-hover-color":t.loadMoreHoverColor||e.color||"#262626"})},followButtonIconClass:function(){var t=this.internal_config.followButtonIcon;return t?this.$addIconPrefix?this.$addIconPrefix(t):t:""},loadMoreIconClass:function(){var t=this.internal_config.loadMoreIcon;return t?this.$addIconPrefix?this.$addIconPrefix(t):t:""},postTileStyle:function(){var t=parseInt(this.internal_config.postHeight,10);return{borderRadius:this.imageRadius,minHeight:Number.isNaN(t)?void 0:"".concat(t,"px"),height:Number.isNaN(t)?void 0:"".concat(t,"px")}},featuredTileStyle:function(){var t=parseInt(this.internal_config.postHeight,10),e=Number.isNaN(t)?420:Math.max(t,320);return{borderRadius:this.imageRadius,minHeight:"".concat(e,"px"),height:"".concat(e,"px")}},sliderTileStyle:function(){var t=this.sliderVisibleCount,e=parseInt(this.internal_config.gap,10)||12,n="calc((100% - ".concat((t-1)*e,"px) / ").concat(t,")"),i=parseInt(this.internal_config.postHeight,10)||180;return{borderRadius:this.imageRadius,flex:"0 0 ".concat(n),maxWidth:n,minHeight:"".concat(i,"px"),height:"".concat(i,"px")}},sliderVisibleCount:function(){return"slider"===Yr(this.internal_config.feedLayout)?parseInt(this.internal_config.columns,10)||parseInt(this.internal_config.sliderVisibleCount,10)||4:parseInt(this.internal_config.sliderVisibleCount,10)||4},masonryStyle:function(){var t=this.layoutColumnCount,e=parseInt(this.internal_config.gap,10)||12;return{columnCount:t,columnGap:"".concat(e,"px")}},engagementStyle:function(){return{fontSize:"".concat(parseInt(this.internal_config.engagementIconSize,10)||14,"px")}},likesIconStyle:function(){return{color:this.internal_config.likesIconColor||"#FFFFFF"}},commentsIconStyle:function(){return{color:this.internal_config.commentsIconColor||"#FFFFFF"}},contentScrollStyle:function(){var t=parseInt(this.internal_config.height,10);return Number.isNaN(t)||t<=0?{}:{maxHeight:"".concat(t,"px"),overflowY:"auto",overflowX:"hidden"}},feedWrapperStyle:function(){var t=this.internal_config;return{width:"100%",maxWidth:t.maxWidth||"900px",margin:"0 auto",backgroundColor:t.backgroundColor||"#FFFFFF",backgroundImage:t.backgroundImage&&"none"!==t.backgroundImage?"url('".concat(t.backgroundImage,"')"):"none",backgroundPosition:t.backgroundPosition||"center",backgroundRepeat:t.backgroundRepeat||"no-repeat",backgroundSize:t.backgroundSize||"cover",backgroundAttachment:t.backgroundAttachment||"scroll",border:t.border||"0 none #000000",boxShadow:t.boxShadow||"none",borderRadius:t.borderRadius||"0"}},gridStyle:function(){var t=this.layoutColumnCount,e=parseInt(this.internal_config.gap,10)||12;return{display:"grid",gridTemplateColumns:"repeat(".concat(t,", 1fr)"),gap:"".concat(e,"px")}},layoutColumnCount:function(){return"list"===Yr(this.internal_config.feedLayout)?1:parseInt(this.internal_config.columns,10)||3},imageRadius:function(){var t=this.internal_config.imageBorderRadius;return"number"===typeof t?"".concat(t,"px"):t||"8px"}}
1,mounted:function(){var t=this;this.internal_config=window.mergeRecursive?window.mergeRecursive(this.props,this.$props.config||{}):Object.assign({},this.props,this.$props.config||{}),this.loadFeed(!0),this.$nextTick((function(){t.applyFeedAnimation()}))},methods:{applyFeedAnimation:function(){var t=this;if(this.$el){var e=this.internal_config.animation&&this.internal_config.animation.in;if(e&&e.effect&&"none"!==e.effect&&(this.$root.$emit("applyAnimation",this,"sitebuilder-element-container"),this.syncAnimationClass(),"time"===e.action)){var n=1e3*(parseFloat(e.time)||0)+80;setTimeout((function(){t.syncAnimationClass()}),n)}}},syncAnimationClass:function(){this.$el&&this.$el.className&&(this.rootAnimationClass=this.$el.className)},style:function(){var t=this.internal_config;return"\n        left: ".concat(t.left||"0",";\n        top: ").concat(t.top||"0",";\n        z-index: ").concat(t.zIndex||"auto",";\n        max-width: ").concat(t.maxWidth||"900px",";\n        width: ").concat(t.width||"720px",";\n        margin: 0 auto;\n        padding-top: ").concat(t.paddingTop||"20px",";\n        padding-left: ").concat(t.paddingLeft||"20px",";\n        padding-right: ").concat(t.paddingRight||"20px",";\n        padding-bottom: ").concat(t.paddingBottom||"20px",";\n      ")},buildTextStyle:function(t,e){var n=t||{};return{fontFamily:n.family||"Arial, Helvetica, sans-serif",fontSize:n.size||"14px",color:n.color||e||"#FFFFFF",textAlign:n.align||"center",fontWeight:n.weight||"600",fontStyle:n.style||"initial",textDecoration:n.stroke||"none"}},buildButtonBackground:function(t,e){var n="followButton"===e?"followButtonBackground":"loadMoreBackground",i=t[n]||("followButton"===e?"#0095F6":"#EFEFEF"),o="".concat(e,"BackgroundImage");return t[o]&&"none"!==t[o]&&(i+=' url("'.concat(t[o],'")'),i+=" ".concat(t["".concat(e,"BackgroundPosition")]||"center"),i+=" / ".concat(t["".concat(e,"BackgroundSize")]||"cover"),i+=" ".concat(t["".concat(e,"BackgroundRepeat")]||"no-repeat"),i+=" ".concat(t["".concat(e,"BackgroundOrigin")]||"border-box")),i},masonryTileStyle:function(t){var e=parseInt(this.internal_config.postHeight,10)||180,n=t%3===0,i=n?e+100:e;return{borderRadius:this.imageRadius,display:"inline-block",width:"100%",marginBottom:"".concat(parseInt(this.internal_config.gap,10)||12,"px"),minHeight:"".concat(i,"px"),height:"".concat(i,"px")}},openPostLightbox:function(t){t&&this.$refs.postLightbox&&this.$refs.postLightbox.open(t,{imageSrc:this.postImage(t),showEngagement:!1!==this.internal_config.showEngagement,showLikes:!1!==this.internal_config.showLikes,showComments:!1!==this.internal_config.showComments,engagementStyle:Object.assign({},this.engagementStyle,{fontSize:"28px"}),likesIconStyle:this.likesIconStyle,commentsIconStyle:this.commentsIconStyle})},onPostClick:function(t){var e=t&&("VIDEO"===t.mediaType||"REELS"===t.mediaType);!e&&!1!==this.internal_config.openLinksInNewTab&&t&&t.permalink?window.open(t.permalink,"_blank","noopener,noreferrer"):this.openPostLightbox(t)},slidePrev:function(){var t=this.$refs.sliderTrack;t&&t.scrollBy({left:-.75*t.clientWidth,behavior:"smooth"})},slideNext:function(){var t=this.$refs.sliderTrack;t&&t.scrollBy({left:.75*t.clientWidth,behavior:"smooth"})},filterPosts:function(t){var e=Array.isArray(t)?t:[],n=(this.internal_config.filterIncludeHashtags||[]).map((function(t){return String(t).replace(/^#/,"").toLowerCase()})).filter(Boolean),i=(this.internal_config.filterExcludeHashtags||[]).map((function(t){return String(t).replace(/^#/,"").toLowerCase()})).filter(Boolean);return e.filter((function(t){var e=String(t.caption||"").toLowerCase();return(!i.length||!i.some((function(t){return-1!==e.indexOf("#".concat(t))||-1!==e.indexOf(t)})))&&(!n.length||n.some((function(t){return-1!==e.indexOf("#".concat(t))||-1!==e.indexOf(t)})))}))},formatCount:function(t){var e=Number(t)||0;return e>=1e6?(e/1e6).toFixed(1).replace(/\.0$/,"")+"M":e>=1e3?(e/1e3).toFixed(1).replace(/\.0$/,"")+"K":String(e)},postImage:function(t){return"VIDEO"===t.mediaType||"REELS"===t.mediaType?t.thumbnailUrl||t.mediaUrl:t.mediaUrl||t.thumbnailUrl},loadFeed:function(t){var e=this;t&&(this.loading=!0,this.posts=[],this.nextCursor=null);var n=parseInt(this.internal_config.postsPerPage,10)||9;return Vr({limit:n,cursor:t?null:this.nextCursor}).then((function(n){var i=n.data&&n.data.data||n.data||{};e.connected=!!i.connected,e.visible=e.connected,e.profile=i.profile||null;var o=i.posts||[];e.posts=t?o:e.posts.concat(o),e.nextCursor=i.paging&&i.paging.nextCursor?i.paging.nextCursor:null,e.hasMore=!(!i.paging||!i.paging.hasMore),e.loading=!1,e.loadingMore=!1})).catch((function(){e.loading=!1,e.loadingMore=!1,e.connected=!1,e.visible=!1}))}
1,loadMore:function(){this.hasMore&&!this.loadingMore&&(this.loadingMore=!0,this.loadFeed(!1))}}},bs=ms,_s=(n("eb85"),Object(b["a"])(bs,jr,Hr,!1,null,"0480dba7",null)),ys=_s.exports,vs=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container card",style:t.style(),attrs:{id:this.id,element:"AccordionComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile}},[e("div",{staticClass:"card-header",style:t.handlerCssProps,attrs:{id:"heading"+this.id},on:{click:function(e){return t.collapseThis(e)}}},[e("h5",{staticClass:"mb-0 clean-text-css h-100"},[e("button",{staticClass:"btn btn-link w-100 h-100 icon-place desktop-element",style:t.textStyle(),attrs:{"data-toggle":"collapse","data-target":"#collapse"+this.id,"aria-expanded":"false","aria-controls":"collapse"+this.id}},[t._v("\n        "+t._s(t.internal_config.text)+"\n      ")]),e("button",{staticClass:"btn btn-link w-100 h-100 icon-place mobile-element",style:t.textStyleMobile(),attrs:{"data-toggle":"collapse","data-target":"#collapse"+this.id,"aria-expanded":"false","aria-controls":"collapse"+this.id}},[t._v("\n        "+t._s(t.internal_config.text)+"\n      ")])])]),e("div",{staticClass:"collapse",style:{border:t.borderContainer},attrs:{id:"collapse"+this.id,"aria-labelledby":"heading"+this.id}},[e("div",{staticClass:"sitebuilder-element-receiver big-is-receiver card-body",style:{borderRadius:t.radiusContainer,background:t.backgroundContainer,height:t.heightContainer}},t._l(t.elements,(function(n,i){return e(n.name,{key:i,tag:"component",attrs:{config:n.config,device:t.device,is_popup:t.is_popup,id:n.id,height_start:i,preview:t.preview,childs:n.childs}})})),1)])])},ws=[],xs={data:function(){return{props:{tag:"",width:"550px",zIndex:"auto",maxWidth:"500px",height:"50px",heightContainer:"300px",text:"title acordion",heightHeader:"60px",heightBody:"90px",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",showDesktop:!0,showMobile:!0,border:"0 none #000000",backgroundColor:"#F0F0F0",borderRadius:"0 0 0 0",borderContainer:"0 none #000000",borderRadiusContainer:"0 0 0 0",backgroundColorContainer:"#FFFFFF",textStyle:{family:"arial, helvetica, sans-serif",size:"15px",sizeMobile:"15px",color:"White",align:"center",weight:"700",style:"initial",stroke:"none"},icon:"",iconPosition:"left",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}},pinConfig:{pin:!1,pTop:"0",pBottom:"0",pLeft:"0",pRight:"0",position:""}},elements:[],internal_config:{tag:"",height:"50px",width:"550px",zIndex:"auto",maxWidth:"500px",showDesktop:!0,showMobile:!0,paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}},pinConfig:{pin:!1,pTop:"0",pBottom:"0",pLeft:"0",pRight:"0",position:""}},name:"accordion"}}};function ks(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Ss(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ks(Object(n),!0).forEach((function(e){Object(d["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ks(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Cs={name:"AccordionComponent",props:["config","childs","height_start","device","id","preview","is_popup"],computed:{handlerCssProps:function(){var t={borderRadius:this.radius,background:this.backgroundColor,backgroundImage:this.backgroundImage,backgroundSize:this.backgroundSize,backgroundPosition:this.backgroundPosition,backgroundOrigin:this.backgroundOrigin,backgroundRepeat:this.backgroundRepeat,border:this.border+" !important",height:this.height};return this.backgroundColor&&this.backgroundColor.includes("linear-gradient")&&delete t.backgroundImage,t},height:function(){return this.internal_config.height},border:function(){if("undefined"!==typeof this.internal_config.border){var t=this.internal_config.border.split(" ");"undefined"!==typeof t[2]&&this.$globalStoreHelpers.isValidHex(t[2])&&(t[2]=this.$globalStoreHelpers.hexToRGBA(t[2]),this.internal_config.border=t.join(" "))}return this.internal_config.border},radius:function(){return this.internal_config.borderRadius},backgroundColor:function(){return this.$globalStoreHelpers.isValidHex(this.internal_config.backgroundColor)&&(this.internal_config.backgroundColor=this.$globalStoreHelpers.hexToRGBA(this.internal_config.backgroundColor)),this.internal_config.backgroundColor},backgroundImage:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?(this.internal_config.backgroundImage=this.internal_config.backgroundImage.replace("omb11.com","storage.builderall.com"),'url("'+this.internal_config.backgroundImage+'")'):""},backgroundPosition:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?this.internal_config.backgroundPosition:""},backgroundOrigin:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?this.internal_config.backgroundOrigin:""},backgroundRepeat:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?this.internal_config.backgroundRepeat:""},backgroundSize:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?this.internal_config.backgroundSize:""},heightContainer:function(){return this.internal_config.heightContainer},borderContainer:function(){return this.internal_config.borderContainer},radiusContainer:function(){return this.internal_config.borderRadiusContainer},backgroundContainer:function(){return this.internal_config.backgroundColorContainer}}
1,data:function(){return xs.data()},methods:{animation:function(){return!1},adjustHeight:function(){var t=this,e=t.$parent.$el.getBoundingClientRect(),n=$(t.$parent.$el).position().top,i=$(t.$parent.$el).offset().left,o=e.width,a=parseInt(t.internal_config.height)+parseInt(t.internal_config.heightContainer)-parseInt(t.internal_config.height);$("#collapse"+this.id).on("hide.bs.collapse",(function(){"undefined"!==typeof t.$parent.$parent.changeHeight?t.$parent.$parent.changeHeight(a,!1,t.$parent.id,n,i,o):t.$parent.$parent.$parent.changeHeight(a,!1,t.$parent.id,n,i,o)})).on("show.bs.collapse",(function(){t.internal_config.accordion_force=1,"undefined"!==typeof t.$parent.$parent.changeHeight?t.$parent.$parent.changeHeight(a,!0,t.$parent.id,n,i,o):t.$parent.$parent.$parent.changeHeight(a,!0,t.$parent.id,n,i,o)}))},collapseThis:function(t){t.stopPropagation(),t.preventDefault(),this.internal_config.accordion_force||this.adjustHeight(),$("#collapse"+this.id).collapse("toggle")},style:function(){return"  left:  ".concat(this.internal_config.left,";\n                top: ").concat(this.internal_config.top,";\n                padding-top: ").concat(this.internal_config.paddingTop,";\n                padding-left: ").concat(this.internal_config.paddingLeft,";\n                padding-right: ").concat(this.internal_config.paddingRight,";\n                padding-bottom: ").concat(this.internal_config.paddingBottom,";\n                z-index: ").concat(this.internal_config.zIndex,";\n                width: ").concat(this.internal_config.width,";\n                max-width: ").concat(this.internal_config.maxWidth,";\n                margin: 0 auto;")},build:function(){this.adjustHeight(),this.buildIcon()},textStyle:function(){return"undefined"==typeof this.internal_config.textStyle&&(this.internal_config.textStyle={family:"arial, helvetica, sans-serif",size:"15px",sizeMobile:"15px",color:"White",align:"center",weight:"700",style:"initial",stroke:"none"}),"font-family:  ".concat(this.internal_config.textStyle.family,";\n             font-size: ").concat(this.internal_config.textStyle.size,";\n             text-align: ").concat(this.internal_config.textStyle.align,";\n             font-weight: ").concat(this.internal_config.textStyle.weight,";\n             font-style: ").concat(this.internal_config.textStyle.style,";\n             text-decoration: ").concat(this.internal_config.textStyle.stroke,";\n             -webkit-text-fill-color: ").concat(this.internal_config.textStyle.color,";\n             color: ").concat(this.internal_config.textStyle.color)},textStyleMobile:function(){return"undefined"==typeof this.internal_config.textStyle&&(this.internal_config.textStyle={family:"arial, helvetica, sans-serif",size:"15px",sizeMobile:"15px",color:"White",align:"center",weight:"700",style:"initial",stroke:"none"}),"font-family:  ".concat(this.internal_config.textStyle.family,";\n                 font-size: ").concat(this.internal_config.textStyle.sizeMobile,";\n                 text-align: ").concat(this.internal_config.textStyle.align,";\n                 font-weight: ").concat(this.internal_config.textStyle.weight,";\n                 font-style: ").concat(this.internal_config.textStyle.style,";\n                 text-decoration: ").concat(this.internal_config.textStyle.stroke,";\n                 -webkit-text-fill-color: ").concat(this.internal_config.textStyle.color,";\n                 color: ").concat(this.internal_config.textStyle.color)},buildIcon:function(){$(this.$el).find("i").detach(),""!==this.internal_config.icon&&("left"===this.internal_config.iconPosition&&($("<i>").addClass(this.$addIconPrefix(this.internal_config.icon)).prependTo($(this.$el).find(".icon-place").get(0)),$("<i>").addClass(this.$addIconPrefix(this.internal_config.icon)).prependTo($(this.$el).find(".icon-place").get(1))),"right"===this.internal_config.iconPosition&&($("<i>").addClass(this.$addIconPrefix(this.internal_config.icon)).appendTo($(this.$el).find(".icon-place").get(0)),$("<i>").addClass(this.$addIconPrefix(this.internal_config.icon)).appendTo($(this.$el).find(".icon-place").get(1))
1))}},mounted:function(){var t,e,n,i,o=this.$props;t=o.device,e=o.childs,n=o.id,i=o.config,"undefined"===typeof i.backgroundColor&&(i.backgroundColor="#FFFFFF"),this.internal_config=i,this.device=t,"undefined"===typeof e&&(e=[],this.internal_config.childs=[]),"undefined"!==typeof n&&(this.id=n),this.elements=e.sort((function(t,e){return t.config.order_mobile>e.config.order_mobile?1:e.config.order_mobile>t.config.order_mobile?-1:0}));var a=window.mergeRecursive(this.props,this.$props.config);this.internal_config=Ss(Ss({},a),this.internal_config),this.build()}},Is=Cs,$s=(n("1144"),Object(b["a"])(Is,vs,ws,!1,null,"2891e25f",null)),Ts=$s.exports,Ps=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:this.id,element:"AccordionGroupComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile}},[e("div",{staticClass:"vdr"},[e("div",{staticClass:"container-accordion-group",style:t.handlerCssProps},t._l(t.elements,(function(n,i){return e(n.name,{key:i,tag:"component",attrs:{config:n.config,device:t.device,is_popup:t.is_popup,id:n.id,height_start:i,preview:t.preview,childs:n.childs}})})),1)])])},Os=[],As={data:function(){return{props:{tag:"",height:"150px",width:"550px",zIndex:"auto",maxWidth:"500px",paddingTop:"5px",paddingLeft:"5px",paddingRight:"5px",paddingBottom:"5px",paddingTopContainer:"5px",paddingLeftContainer:"5px",paddingRightContainer:"5px",paddingBottomContainer:"5px",border:"0 none #000000",boxShadow:"0 0 0 0 black initial","background-color":"#000000",backgroundImage:"none",backgroundPosition:"center",backgroundOrigin:"border-box",backgroundRepeat:"no-repeat",backgroundSize:"cover",borderRadius:"0 0 0 0",showDesktop:!0,showMobile:!0,animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}},pinConfig:{pin:!1,pTop:"0",pBottom:"0",pLeft:"0",pRight:"0",position:""}},elements:[],internal_config:{tag:"",height:"50px",width:"550px",zIndex:"auto",maxWidth:"500px",showDesktop:!0,showMobile:!0,paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}},pinConfig:{pin:!1,pTop:"0",pBottom:"0",pLeft:"0",pRight:"0",position:""}},name:"accordion"}}};function Rs(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Bs(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Rs(Object(n),!0).forEach((function(e){Object(d["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Rs(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Ls={name:"AccordionGroupComponent",props:["config","childs","height_start","device","id","preview","is_popup"],components:{Data:As},computed:{handlerCssProps:function(){var t={borderRadius:this.radius,background:this.backgroundColor,backgroundImage:this.backgroundImage,backgroundSize:this.backgroundSize,backgroundPosition:this.backgroundPosition,backgroundOrigin:this.backgroundOrigin,backgroundRepeat:this.backgroundRepeat,border:this.border,boxShadow:this.boxShadow,paddingTop:this.paddingTop,paddingLeft:this.paddingLeft,paddingRight:this.paddingRight,paddingBottom:this.paddingBottom};return this.backgroundColor&&this.backgroundColor.includes("linear-gradient")&&delete t.backgroundImage,t},paddingTop:function(){return this.internal_config.paddingTopContainer},paddingLeft:function(){return this.internal_config.paddingLeftContainer},paddingRight:function(){return this.internal_config.paddingRightContainer},paddingBottom:function(){return this.internal_config.paddingBottomContainer},boxShadow:function(){return this.internal_config.boxShadow},border:function(){if("undefined"!==typeof this.internal_config.border){var t=this.internal_config.border.split(" ");"undefined"!==typeof t[2]&&this.$globalStoreHelpers.isValidHex(t[2])&&(t[2]=this.$globalStoreHelpers.hexToRGBA(t[2]),this.internal_config.border=t.join(" "))}return this.internal_config.border},backgroundColor:function(){return this.$globalStoreHelpers.isValidHex(this.internal_config.backgroundColor)&&(this.internal_config.backgroundColor=this.$globalStoreHelpers.hexToRGBA(this.internal_config.backgroundColor)),this.internal_config.backgroundColor},backgroundImage:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?(this.internal_config.backgroundImage=this.internal_config.backgroundImage.replace("omb11.com","storage.builderall.com"),'url("'+this.internal_config.backgroundImage+'")'):""},backgroundPosition:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?this.internal_config.backgroundPosition:""},backgroundOrigin:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?this.internal_config.backgroundOrigin:""},backgroundRepeat:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?this.internal_config.backgroundRepeat:""},backgroundSize:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?this.internal_config.backgroundSize:""},radius:function(){return this.internal_config.borderRadius},background:function(){var t=this.internal_config.backgroundColor;return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage&&(this.internal_config.backgroundImage=this.internal_config.backgroundImage.replace("omb11.com","storage.builderall.com"),t+=' url("'+this.internal_config.backgroundImage+'")',t+=" "+this.internal_config.backgroundPosition,t+=" / "+this.internal_config.backgroundSize,t+=" "+this.internal_config.backgroundRepeat,t+=" "+this.internal_config.backgroundOrigin),t}},data:function(){return As.data()},methods:{animation:function(){return!1},style:function(){return"left:  ".concat(this.internal_config.left,";\n                        top: ").concat(this.internal_config.top,";\n                        padding-top: ").concat(this.internal_config.paddingTop,";\n                        padding-left: ").concat(this.internal_config.paddingLeft,";\n                        padding-right: ").concat(this.internal_config.paddingRight,";\n                        padding-bottom: ").concat(this.internal_config.paddingBottom,";\n                        z-index: ").concat(this.internal_config.zIndex,";\n                        width: ").concat(this.internal_config.width,";\n                        max-width: ").concat(this.internal_config.maxWidth,";\n\t\t\t\t\t\t\t\t\t\t\t\tmargin: 0 auto")},build:function(){}},mounted:function(){var t,e,n,i=this.$props;t=i.device,e=i.childs,i.id,n=i.config,"undefined"===typeof n.backgroundColor&&(n.backgroundColor="#FFFFFF"),this.internal_config=n,this.device=t,"undefined"===typeof e&&(e=[],this.internal_config.childs=[]),this.elements=e.sort((function(t,e){return t.config.order_mobile>e.config.order_mobile?1:e.config.order_mobile>t.config.order_mobile?-1:0}));var o=window.mergeRecursive(this.props,this.$props.config);this.internal_config=Bs(Bs({},o),this.internal_config)}},zs=Ls,Ms=(n("79c0"),Object(b["a"])(zs,Ps,Os,!1,null,"1fc0e990",null)),Es=Ms.exports,Ns=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:this.id,element:"SliderGroupComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile}},[e("div",{staticClass:"vdr page-gallery minHeightUnsetDesk",class:{"page-gallery-padding":"side-padding"===t.internal_config.effectSlide},style:t.styleGallery(),attrs:{"data-preview":"true"}},[t._l(t.elements,(function(n,i){return e("div",{staticClass:"slider-page-content height-100 minHeightUnsetDesk",class:["slider-page-".concat(i),"".concat("side-padding"===t.internal_config.effectSlide?"side-padding-page side-padding-page-".concat(i):"")],style:{border:t.border,borderRadius:t.radius,background:t.background,backgroundAttachment:t.backgroundAttachment,paddingTop:t.paddingTop,paddingLeft:t.paddingLeft,paddingRight:t.paddingRight,paddingBottom:t.paddingBottom,minHeight:t.minHeight}},[e(n.name,{key:i,tag:"component",attrs:{config:n.config,device:t.device,is_popup:t.is_popup,id:n.id,height_start:i,preview:t.preview,childs:n.childs}})],1)})),e("a",{directives:[{name:"show",rawName:"v-show",value:t.arrowOptions,expression:"arrowOptions"}],staticClass:"carousel-control-prev",attrs:{href:"#SliderGroupComponent"+this.id}},[e("div",{staticClass:"mdi mdi-arrow-left-circle",style:t.styleArrow(),on:{click:t.prevSlider}})]),e("a",{directives:[{name:"show",rawName:"v-show",value:t.arrowOptions,expression:"arrowOptions"}],staticClass:"carousel-control-next",attrs:{href:"#SliderGroupComponent"+this.id}},[e("div",{staticClass:"mdi mdi-arrow-right-circle",style:t.styleArrow(),on:{click:t.nextSlider}})])],2)])}
1,Ds=[],js={data:function(){return{props:{tag:"",height:"150px",width:"550px",zIndex:"auto",maxWidth:"500px",paddingTop:"5px",paddingLeft:"5px",paddingRight:"5px",paddingBottom:"5px",marginBetween:80,gapBetween:50,arrowOptions:!1,timerSlider:3e3,currentIndex:0,autoPlaySlider:!0,slider:null,overflow:"hidden",effectSlide:"slide",arrowSize:"25px",arrowColor:"#d1d1d1",paddingTopContainer:"5px",paddingLeftContainer:"5px",paddingRightContainer:"5px",paddingBottomContainer:"5px",border:"0 none #000000",boxShadow:"0 0 0 0 black initial","background-color":"#000000",backgroundImage:"none",backgroundPosition:"center",backgroundOrigin:"border-box",backgroundRepeat:"no-repeat",backgroundSize:"cover",borderRadius:"0 0 0 0",showDesktop:!0,showMobile:!0,animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},elements:[],internal_config:{tag:"",height:"50px",width:"550px",zIndex:"auto",maxWidth:"500px",showDesktop:!0,showMobile:!0,effectSlide:"slide",arrowSize:"25px",arrowColor:"#d1d1d1",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},name:"slidergroup"}}};function Hs(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Fs(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Hs(Object(n),!0).forEach((function(e){Object(d["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Hs(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Us={name:"SliderGroupComponent",props:["config","childs","height_start","device","id","preview","is_popup"],computed:{backgroundColor:function(){return this.$globalStoreHelpers.isValidHex(this.internal_config.backgroundColor)&&(this.internal_config.backgroundColor=this.$globalStoreHelpers.hexToRGBA(this.internal_config.backgroundColor)),this.internal_config.backgroundColor},backgroundImage:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?(null!==this.internal_config.backgroundImage&&(this.internal_config.backgroundImage=this.internal_config.backgroundImage.replace("omb11.com","storage.builderall.com")),'url("'+this.internal_config.backgroundImage+'")'):""},backgroundPosition:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?this.internal_config.backgroundPosition:""},backgroundOrigin:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?this.internal_config.backgroundOrigin:""},backgroundRepeat:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?this.internal_config.backgroundRepeat:""},backgroundSize:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?this.internal_config.backgroundSize:""},backgroundAttachment:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?this.internal_config.backgroundAttachment:""},arrowOptions:function(){return this.internal_config.arrowOptions},timerSlider:function(){return this.internal_config.timerSlider},minHeight:function(){return this.internal_config.minHeight},border:function(){return this.internal_config.border+"!important"},boxShadow:function(){return this.internal_config.boxShadow},radius:function(){return this.internal_config.borderRadius},paddingTop:function(){return this.internal_config.paddingTopContainer},paddingLeft:function(){return this.internal_config.paddingLeftContainer},paddingRight:function(){return this.internal_config.paddingRightContainer},paddingBottom:function(){return this.internal_config.paddingBottomContainer},background:function(){var t=this.internal_config.backgroundColor;return"none"!==this.internal_config.backgroundImage&&"undefined"!==typeof this.internal_config.backgroundImage&&(this.internal_config.backgroundImage=this.internal_config.backgroundImage.replace("omb11.com","storage.builderall.com"),t+=' url("'+this.internal_config.backgroundImage+'")',t+=" "+this.internal_config.backgroundPosition,t+=" / "+this.internal_config.backgroundSize,t+=" "+this.internal_config.backgroundRepeat,t+=" "+this.internal_config.backgroundOrigin),t}},data:function(){return js.data()},methods:{tagsAdvancedLink:function(){var t=Object(u["a"])(regeneratorRuntime.mark((function t(e){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,new Promise((function(t){var n=new XMLHttpRequest;n.open("POST","https://office.builderall.com/us/office/user/get-tags/"+e,!0),n.setRequestHeader("X-Requested-With","XMLHttpRequest"),n.onload=function(){if(4==n.readyState&&200==n.status){var e=JSON.parse(n.responseText);t(e)}},n.onerror=function(){t(!1)},n.withCredentials=!0,n.send()}));case 2:return n=t.sent,t.abrupt("return",n);case 4:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),replaceLinkWithTags:function(){var t=document.querySelectorAll('[element="ButtonComponent"]'),e=!1;if(t.forEach((function(t){var n=t.querySelectorAll("a");
1n.forEach((function(t){var n=/\[([^}]*?)]/g;if(t.href){var i=n.exec(t.href);i&&(e=!0)}}))})),e&&"undefined"!==typeof OPTIONS_INIT_SITE&&OPTIONS_INIT_SITE.options.id_usuario_omb10){var n=document.querySelectorAll("a.bt-text-area");this.tagsAdvancedLink(OPTIONS_INIT_SITE.options.id_usuario_omb10).then((function(t){n.forEach((function(e){var n=/\[([^}]*?)]/g;if(e.href){var i=n.exec(e.href);if(i){var o=e.href;Object.keys(t).forEach((function(e){t[e]&&("string"===typeof t[e]?o=o.replace(/\[([^}]*?)]/g,(function(e,n,i,o){return n.toLowerCase()in t?encodeURI(t[n.toLowerCase()]):e})):"object"===Object(l["a"])(t[e])&&(o=o.replace(/\[([^}]*?)]/g,(function(n,i,o,a){return i.toLowerCase()in t[e]?encodeURI(t[e][i.toLowerCase()]):n}))))})),e.setAttribute("href",o),e.classList.add("overwrite-click"),e.childNodes.forEach((function(t){return t.classList.add("overwrite-click")}))}}}))}))}},changeHeight:function(t,e){if("desktop"==this.device){var n=this.$el.getBoundingClientRect();this.internal_config.height=e?parseInt(n.height)+t+"px":parseInt(n.height)-parseInt(t)+"px","undefined"!==typeof this.$parent.changeHeight?this.$parent.changeHeight(t,e,this.id,$(this.$el).position().top,$(this.$el).offset().left,n.width):this.$parent.$parent.changeHeight(t,e,this.id,$(this.$el).position().top,$(this.$el).offset().left,n.width)}},destroyAutoPlay:function(){clearTimeout(this.internal_config.slider)},checkExists:function(t){var e=document.getElementById(t.id).getElementsByClassName("slider-page-".concat(t.internal_config.currentIndex));if("undefined"===typeof e[0])t.buildSlider();else{if(t.internal_config.currentIndex=0,e[0].style.left=0,e[0].style.position="relative","side-padding"===this.internal_config.effectSlide){var n=document.getElementById(this.id).getElementsByClassName("side-padding-page");n.length>=3&&t.buildSidePaddingSlider()}t.autoPlaySlider()}},buildSidePaddingSlider:function(){var t=document.getElementById(this.id).getElementsByClassName("side-padding-page"),e=this.internal_config.marginBetween||80,n=this.internal_config.gapBetween||50;t[0].style.setProperty("width","calc(100% - ".concat(2*e,"px)"),"important"),t[0].style.setProperty("overflow","hidden"),t[0].style.setProperty("margin","0 auto"),t[1].style.setProperty("margin-left","-".concat(e-n,"px")),t[t.length-1].style.setProperty("left","calc(-100% + ".concat(e-n,"px)"))},buildSlider:function(){var t=this;this.internal_config.currentIndex=0;var e=this;setTimeout((function(){t.checkExists(e)}),100)},prevSlider:function(){var t=this.internal_config.currentIndex,e=t?t-1:this.$el.querySelectorAll('[element="SliderPageComponent"]').length-1,n=document.getElementById(this.id).getElementsByClassName("slider-page-".concat(e))[0],i=document.getElementById(this.id).getElementsByClassName("slider-page-".concat(t))[0];switch(n.style.position="relative",i.style.position="absolute",this.internal_config.effectSlide){case"slide":n.style.left="-100%",i.style.left=0,n.setAttribute("class","slider-page-".concat(e," slider-in-left slider-active")),i.setAttribute("class","slider-page-".concat(t," slider-out-right")),i.classList.remove("slider-active");break;case"side-padding":var o=this.internal_config.marginBetween||80,a=this.internal_config.gapBetween||50,r=document.getElementById(this.id).getElementsByClassName("side-padding-page");if(r.length<3)n.style.left="-100%",i.style.left=0,n.setAttribute("class","slider-page-".concat(e," slider-active")),i.setAttribute("class","slider-page-".concat(t)),i.classList.remove("slider-active");else{for(var s=0;s<r.length;s++)r[s].style.setProperty("z-index","0");var c=e+1===r.length?0:e+1,l=0===e?r.length-1:e-1;r[e].style.setProperty("width","calc(100% - ".concat(2*o,"px)"),"important"),r[e].style.setProperty("overflow","hidden"),r[e].style.setProperty("margin","0 auto"),r[e].style.setProperty("left","0"),r[e].style.setProperty("z-index","1"),r[c].style.setProperty("margin-left","-".concat(o-a,"px")),r[c].style.setProperty("left","100%"),r[c].style.setProperty("z-index","1"),r[l].style.setProperty("left","calc(-100% + ".concat(o-a,"px)")),r[l].style.setProperty("width","100%"),r[l].style.setProperty("margin","0")}break;case"fade":for(var d=document.getElementById(this.id).getElementsByClassName("slider-page-content"),u=0;u<d.length;u++)d[u].style.setProperty("display","none");n.style.left=0,i.style.left=0,n.setAttribute("class","slider-page-".concat(e," slider-active")),$(n).fadeIn(),i.setAttribute("class","slider-page-".concat(t)),i.classList.remove("slider-active"),$(i).fadeOut();break;default:n.style.left="-100%",i.style.left=0,n.setAttribute("class","slider-page-".concat(e," slider-active")),i.setAttribute("class","slider-page-".concat(t)),i.classList.remove("slider-active")}this.internal_config.currentIndex=e,this.autoPlaySlider()},nextSlider:function(){var t=this.internal_config.currentIndex,e=t===this.$el.querySelectorAll('[element="SliderPageComponent"]').length-1?0:t+1,n=document.getElementById(this.id).getElementsByClassName("slider-page-".concat(e))[0],i=document.getElementById(this.id).getElementsByClassName("slider-page-".concat(t))[0];switch(n.style.position="relative",i.style.position="absolute",this.internal_config.effectSlide){case"slide":n.style.left="100%",i.style.left=0,n.setAttribute("class","slider-page-".concat(e," slider-in-right slider-active")),i.setAttribute("class","slider-page-".concat(t," slider-out-left")),i.classList.remove("slider-active");break;case"side-padding":var o=this.internal_config.marginBetween||80,a=this.internal_config.gapBetween||50,r=document.getElementById(this.id).getElementsByClassName("side-padding-page");if(r.length<3)n.style.left="100%",i.style.left=0,n.setAttribute("class","slider-page-".concat(e," slider-active")),i.setAttribute("class","slider-page-".concat(t)),i.classList.remove("slider-active");else{for(var s=0;s<r.length;s++)r[s].style.setProperty("z-index","0");r[e].style.setProperty("width","calc(100% - ".concat(2*o,"px)"),"important"),r[e].style.setProperty("overflow","hidden"),r[e].style.setProperty("margin","0 auto"),r[e].style.setProperty("left","0"),r[e].style.setProperty("z-index","1");var c=e+1===r.length?0:e+1;r[c].style.setProperty("margin-left","-".concat(o-a,"px")),r[c].style.setProperty("left","100%");var l=0===e?r.length-1:e-1;r[l].style.setProperty("left","calc(-100% + ".concat(o-a,"px)")),r[l].style.setProperty("z-index","1"),r[l].style.setProperty("width","100%")}break;case"fade":for(var d=document.getElementById(this.id).getElementsByClassName("slider-page-content"),u=0;u<d.length;u++)d[u].style.setProperty("display","none");n.style.left=0,i.style.left=0,n.setAttribute("class","slider-page-".concat(e," slider-active")),$(n).fadeIn(),i.setAttribute("class","slider-page-".concat(t)),i.classList.remove("slider-active"),$(i).fadeOut();break;
1default:n.style.left=0,i.style.left="100%",n.setAttribute("class","slider-page-".concat(e," slider-active")),i.setAttribute("class","slider-page-".concat(t)),i.classList.remove("slider-active")}this.internal_config.currentIndex=e,this.autoPlaySlider()},autoPlaySlider:function(){var t=this;if(this.destroyAutoPlay(),!this.internal_config.autoPlaySlider)return!1;this.$el.querySelectorAll('[element="SliderPageComponent"]').length>1&&(this.internal_config.slider=setTimeout((function(){t.nextSlider()}),this.internal_config.timerSlider))},animation:function(){return!1},styleGallery:function(){if("side-padding"===this.internal_config.effectSlide){var t=this.internal_config.marginBetween||80;return"margin-left: ".concat(t,"px;\n                minHeight : ").concat(this.minHeight,";\n                overflow: hidden")}return"minHeight : ".concat(this.minHeight)},style:function(){return"width: ".concat(this.internal_config.width,";\n                 height:  ").concat(this.internal_config.height,";\n                 z-index: ").concat(this.internal_config.zIndex,";max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n                 padding-top: ").concat(this.internal_config.paddingTop,";\n                 padding-left: ").concat(this.internal_config.paddingLeft,";\n                 padding-right: ").concat(this.internal_config.paddingRight,";\n                 padding-bottom: ").concat(this.internal_config.paddingBottom,";\n                 left:  ").concat(this.internal_config.left,";\n                 top: ").concat(this.internal_config.top)},styleArrow:function(){return"font-size: ".concat(this.internal_config.arrowSize,";\n                color: ").concat(this.internal_config.arrowColor)},styleResize:function(){return"{width: ".concat(this.internal_config.width,", height:  ").concat(this.internal_config.height,"}")}},mounted:function(){var t,e,n,i,o=this,a=this;setInterval((function(){a.replaceLinkWithTags()}),1e3);var r=this.$props;t=r.device,e=r.childs,n=r.id,i=r.config,"undefined"===typeof i.backgroundColor&&(i.backgroundColor="#FFFFFF"),this.internal_config=i,this.device=t,"undefined"===typeof e&&(e=[],this.internal_config.childs=[]),"undefined"!==typeof n&&(this.id=n);var s=[];if($("[id]").each((function(){var t=$('[id="'+this.id+'"]');t.length>1&&t[0]==this&&parseInt(this.id)&&s.push(this.id)})),s.includes(this.id)){var c=Date.now()+parseInt(1e4*Math.random());this.id=c,e.forEach((function(t,n){try{e[n].config.parent_id=c}catch(i){}})),this.$refs.elem.id=c}this.elements=e.sort((function(t,e){return t.config.order_mobile>e.config.order_mobile?1:e.config.order_mobile>t.config.order_mobile?-1:0}));var l=window.mergeRecursive(this.props,this.$props.config);this.internal_config=Fs(Fs({},l),this.internal_config),this.buildSlider(),this.$root.$on("showSlider",(function(t){for(var e=o.$el.querySelectorAll('[element="SliderPageComponent"]'),n=!1,i=0,a=0;a<e.length;a++)if(e[a].id==t){n=!0,i=a;break}var r=o.internal_config.currentIndex;if(r!==i&&n){var s=document.getElementById(o.id).getElementsByClassName("slider-page-".concat(i))[0],c=document.getElementById(o.id).getElementsByClassName("slider-page-".concat(r))[0];switch(s.style.position="relative",c.style.position="absolute",o.internal_config.effectSlide){case"slide":s.style.left="100%",c.style.left=0,s.setAttribute("class","slider-page-".concat(i," slider-in-right slider-active")),c.setAttribute("class","slider-page-".concat(r," slider-out-left")),c.classList.remove("slider-active");break;case"fade":for(var l=document.getElementById(o.id).getElementsByClassName("slider-page-content"),d=0;d<l.length;d++)l[d].style.setProperty("display","none");s.style.left=0,c.style.left=0,s.setAttribute("class","slider-page-".concat(i," slider-active")),$(s).fadeIn(),c.setAttribute("class","slider-page-".concat(r)),c.classList.remove("slider-active"),$(c).fadeOut();break;default:s.style.left=0,c.style.left="100%",s.setAttribute("class","slider-page-".concat(i," slider-active")),c.setAttribute("class","slider-page-".concat(r)),c.classList.remove("slider-active")}o.internal_config.currentIndex=i,o.autoPlaySlider()}}))}},qs=Us,Vs=(n("33a7"),n("1df8"),Object(b["a"])(qs,Ns,Ds,!1,null,"9d60ce20",null)),Ws=Vs.exports,Gs=function(){var t=this,e=t._self._c;return e("div",{ref:"elem",staticClass:"sitebuilder-element-container page height-100",style:t.style(),attrs:{id:this.id,element:"SliderPageComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile}},[e("div",{staticClass:"height-100",attrs:{id:this.id}},[e("div",{staticClass:"sitebuilder-element-receiver height-100",style:{borderRadius:t.radius,border:t.border,background:t.backgroundColor,backgroundImage:t.backgroundImage,backgroundSize:t.backgroundSize,backgroundPosition:t.backgroundPosition,backgroundOrigin:t.backgroundOrigin,backgroundRepeat:t.backgroundRepeat,backgroundAttachment:t.backgroundAttachment,minHeight:"50px"}},t._l(t.elements,(function(n,i){return e(n.name,{key:i,tag:"component",attrs:{config:n.config,device:t.device,is_popup:t.is_popup,id:n.id,height_start:i,preview:t.preview,childs:n.childs}})})),1)])])},Js=[],Ys={data:function(){return{props:{tag:"",width:"550px",zIndex:"auto",maxWidth:"500px",height:"50px",heightContainer:"300px",heightBody:"90px",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",showDesktop:!0,showMobile:!0,border:"0 none #000000",backgroundColor:"#F0F0F0",borderRadius:"0 0 0 0",borderContainer:"0 none #000000",borderRadiusContainer:"0 0 0 0",backgroundColorContainer:"#F0F0F0",textStyle:{fam
1ily:"arial, helvetica, sans-serif",size:"15px",sizeMobile:"15px",color:"#000000",align:"center",weight:"700",style:"initial",stroke:"none"},icon:"",iconPosition:"left",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},elements:[],internal_config:{tag:"",height:"50px",width:"550px",zIndex:"auto",maxWidth:"500px",showDesktop:!0,showMobile:!0,paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},name:"accordion"}}};function Ks(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Zs(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ks(Object(n),!0).forEach((function(e){Object(d["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ks(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Qs={name:"SliderPageComponent",props:["config","childs","height_start","device","id","preview","is_popup"],components:{Data:Ys},computed:{border:function(){return this.internal_config.border},radius:function(){return this.internal_config.borderRadius},backgroundColor:function(){return this.$globalStoreHelpers.isValidHex(this.internal_config.backgroundColor)&&(this.internal_config.backgroundColor=this.$globalStoreHelpers.hexToRGBA(this.internal_config.backgroundColor)),this.internal_config.backgroundColor},backgroundImage:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?(null!==this.internal_config.backgroundImage&&(this.internal_config.backgroundImage=this.internal_config.backgroundImage.replace("omb11.com","storage.builderall.com")),'url("'+this.internal_config.backgroundImage+'")'):""},backgroundPosition:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?this.internal_config.backgroundPosition:""},backgroundOrigin:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?this.internal_config.backgroundOrigin:""},backgroundRepeat:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?this.internal_config.backgroundRepeat:""},backgroundSize:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?this.internal_config.backgroundSize:""},backgroundAttachment:function(){return this.internal_config.backgroundImage&&"none"!==this.internal_config.backgroundImage?this.internal_config.backgroundAttachment:""}},data:function(){return Ys.data()},methods:{changeHeight:function(t,e){if("desktop"==this.device){var n=this.$el.getBoundingClientRect();this.internal_config.height=e?parseInt(n.height)+t+"px":parseInt(n.height)-parseInt(t)+"px","undefined"!==typeof this.$parent.changeHeight?this.$parent.changeHeight(t,e,this.id,$(this.$el).position().top,$(this.$el).offset().left,n.width):this.$parent.$parent.changeHeight(t,e,this.id,$(this.$el).position().top,$(this.$el).offset().left,n.width)}},animation:function(){return!1},style:function(){return"left:  ".concat(this.internal_config.left,";\n                top: ").concat(this.internal_config.top,";\n\t\t\t\t        padding-top: ").concat(this.internal_config.paddingTop,";\n                padding-left: ").concat(this.internal_config.paddingLeft,";\n                padding-right: ").concat(this.internal_config.paddingRight,";\n                padding-bottom: ").concat(this.internal_config.paddingBottom,";\n                z-index: ").concat(this.internal_config.zIndex,";\n                width: ").concat(this.internal_config.width,";\n                max-width: ").concat(this.internal_config.maxWidth,";\n                margin: 0 auto;")},build:function(){}},mounted:function(){var t,e,n,i,o=this.$props;t=o.device,e=o.childs,n=o.id,i=o.config,"undefined"===typeof i.backgroundColor&&(i.backgroundColor="#FFFFFF"),this.internal_config=i,this.device=t,"undefined"===typeof e&&(e=[],this.internal_config.childs=[]),"undefined"!==typeof n&&(this.id=n),this.elements=e.sort((function(t,e){return t.config.order_mobile>e.config.order_mobile?1:e.config.order_mobile>t.config.order_mobile?-1:0}));var a=window.mergeRecursive(this.props,this.$props.config);this.internal_config=Zs(Zs({},a),this.internal_config),this.build()}},Xs=Qs,tc=(n("f395"),Object(b["a"])(Xs,Gs,Js,!1,null,"9ad209d8",null)),ec=tc.exports,nc=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container big-is-receiver",style:t.style(),attrs:{id:this.id,element:"GroupMenuComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile}},[e("div",{staticClass:"vdr"},[e("div",{staticClass:"container-menu-group",style:{borderRadius:t.radius,background:t.background,border:t.border,boxShadow:t.boxShadow,paddingTop:t.paddingTop,paddingLeft:t.paddingLeft,paddingRight:t.paddingRight,paddingBottom:t.paddingBottom,gap:"".concat(t.horizontalMargin,"px")}},t._l(t.elements,(function(n,i){return e(n.name,{key:i,tag:"component",attrs:{config:n.config,device:t.device,is_popup:t.is_popup,id:n.id,height_start:i,preview:t.preview,childs:n.childs}})})),1)])])}
1,ic=[],oc={data:function(){return{props:{tag:"",height:"150px",width:"550px",zIndex:"auto",maxWidth:"500px",paddingTop:"5px",paddingLeft:"5px",paddingRight:"5px",paddingBottom:"5px",paddingTopContainer:"5px",paddingLeftContainer:"5px",paddingRightContainer:"5px",paddingBottomContainer:"5px",border:"0 none #000000",boxShadow:"0 0 0 0 black initial","background-color":"#000000",backgroundImage:"none",backgroundPosition:"center",backgroundOrigin:"border-box",backgroundRepeat:"no-repeat",backgroundSize:"cover",borderRadius:"0 0 0 0",showDesktop:!0,showMobile:!0,backDrop:!1,animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},elements:[],internal_config:{tag:"",height:"50px",width:"550px",zIndex:"auto",maxWidth:"500px",showDesktop:!0,showMobile:!0,paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},name:"slidergroup"}}};function ac(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function rc(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ac(Object(n),!0).forEach((function(e){Object(d["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ac(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var sc={name:"GroupMenuComponent",props:["config","childs","device","id","preview","is_popup"],components:{Data:oc},computed:{paddingTop:function(){return this.internal_config.paddingTopContainer},paddingLeft:function(){return this.internal_config.paddingLeftContainer},paddingRight:function(){return this.internal_config.paddingRightContainer},paddingBottom:function(){return this.internal_config.paddingBottomContainer},boxShadow:function(){return this.internal_config.boxShadow},horizontalMargin:function(){return"undefined"!==typeof this.internal_config.horizontalMargin?this.internal_config.horizontalMargin:0},border:function(){return this.internal_config.border},radius:function(){return this.internal_config.borderRadius},background:function(){var t=this.internal_config.backgroundColor;return"none"!==this.internal_config.backgroundImage&&"undefined"!==typeof this.internal_config.backgroundImage&&(this.internal_config.backgroundImage=this.internal_config.backgroundImage.replace("omb11.com","storage.builderall.com"),t+=' url("'+this.internal_config.backgroundImage+'")',t+=" "+this.internal_config.backgroundPosition,t+=" / "+this.internal_config.backgroundSize,t+=" "+this.internal_config.backgroundRepeat,t+=" "+this.internal_config.backgroundOrigin),t}},data:function(){return oc.data()},methods:{style:function(){return"left:  ".concat(this.internal_config.left,";\n                top: ").concat(this.internal_config.top,";\n\t\t\t\t        padding-top: ").concat(this.internal_config.paddingTop,";\n                padding-left: ").concat(this.internal_config.paddingLeft,";\n                padding-right: ").concat(this.internal_config.paddingRight,";\n                padding-bottom: ").concat(this.internal_config.paddingBottom,";\n                z-index: ").concat(this.internal_config.zIndex,";\n                width: ").concat(this.internal_config.width,";\n                max-width: ").concat(this.internal_config.maxWidth,";\n                margin: 0 auto;")},build:function(){var t=this;setTimeout((function(){0===t.$el.querySelectorAll("[element]").length&&t.addMenu()}),3e3)}},mounted:function(){var t,e,n,i,o=this.$props;t=o.device,e=o.childs,n=o.id,i=o.config,"undefined"===typeof i.backgroundColor&&(i.backgroundColor="#FFFFFF"),this.internal_config=i,this.device=t,this.internal_config.backDrop&&(document.getElementById("page-mask").className="page-mask-active"),"undefined"===typeof e&&(e=[],this.internal_config.childs=[]),"undefined"!==typeof n&&(this.id=n);var a=[];if($("[id]").each((function(){var t=$('[id="'+this.id+'"]');t.length>
11&&t[0]==this&&parseInt(this.id)&&a.push(this.id)})),a.includes(this.id)){var r=Date.now()+parseInt(1e4*Math.random());this.id=r,e.forEach((function(t,n){try{e[n].config.parent_id=r}catch(i){}})),this.$refs.elem.id=r}this.elements=e.sort((function(t,e){return t.config.order_mobile>e.config.order_mobile?1:e.config.order_mobile>t.config.order_mobile?-1:0}));var s=window.mergeRecursive(this.props,this.$props.config);this.internal_config=rc(rc({},s),this.internal_config),this.build()}},cc=sc,lc=(n("3183"),n("f3e4"),Object(b["a"])(cc,nc,ic,!1,null,"3b1a019c",null)),dc=lc.exports;function uc(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function hc(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?uc(Object(n),!0).forEach((function(e){Object(d["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):uc(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var gc=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container card big-is-receiver",class:{"place-menu-collapse-show-on-hover":t.isOpenContainerByHover},style:t.style(),attrs:{id:this.id,element:"PlaceMenuComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile}},[e("div",{staticClass:"card-header",style:{background:t.background,borderRadius:t.radius,height:t.height,border:"0 !important"},attrs:{id:"heading"+this.id},on:{click:function(e){return t.collapseThis(e)},mouseover:function(e){return t.handleMouseover(e)},mouseleave:function(e){return t.handleMouseleave(e)}}},[e("h5",{staticClass:"mb-0 clean-text-css h-100"},[t.internal_config.enableOnlyLink&&"web"==t.internal_config.link.type?[e("a",{staticClass:"btn btn-link w-100 h-100 icon-place desktop-element big-menu-text",style:hc(hc({},t.textStyle()),{lineHeight:"calc(".concat(t.height," - 0.75rem)")}),attrs:{href:t.internal_config.link.value,target:t.internal_config.link.target}},[t._v("\n          "+t._s(t.internal_config.text)+"\n        ")]),e("a",{staticClass:"btn btn-link w-100 h-100 icon-place mobile-element big-menu-text",style:t.textStyleMobile(),attrs:{href:t.internal_config.link.value,target:t.internal_config.link.target}},[t._v("\n          "+t._s(t.internal_config.text)+"\n        ")])]:[e("button",{staticClass:"btn btn-link w-100 h-100 icon-place desktop-element big-menu-text",style:t.textStyle()},[t._v("\n          "+t._s(t.internal_config.text)+"\n        ")]),e("button",{staticClass:"btn btn-link w-100 h-100 icon-place mobile-element big-menu-text",style:t.textStyleMobile()},[t._v("\n          "+t._s(t.internal_config.text)+"\n        ")])]],2)]),t.isOpenContainerByHover?e("div",{staticClass:"place-menu-collapse-divisor",style:{height:"".concat(t.bottomMargin,"px"),top:"".concat(parseInt(this.height),"px")}}):t._e(),e("div",{staticClass:"place-menu-collapse card-body big-menu-place-childs",style:t.getStyle(),attrs:{id:"place-menu-"+this.id}},[e("div",{class:"sitebuilder-element-receiver real-place big-is-receiver "+("width-full"===this.internal_config.positionContainer?"container":"")},t._l(t.elements,(function(n,i){return e(n.name,{key:i,tag:"component",attrs:{config:n.config,device:t.device,is_popup:t.is_popup,id:n.id,height_start:i,preview:t.preview,childs:n.childs}})})),1)])])},fc=[],pc={data:function(){return{props:{tag:"",width:"550px",zIndex:"auto",maxWidth:"500px",height:"50px",heightContainer:"200px",widthContainer:"300px",leftContainer:"0px",text:"title menu",heightHeader:"60px",heightBody:"90px",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",showDesktop:!0,showMobile:!0,widthContainerFull:!1,border:"0 none #000000",backgroundColor:"#F0F0F0",backgroundColorHover:"#F0F0F0",textColorHover:"#000000",backgroundColorSelected:"#F0F0F0",textColorSelected:"#000000",borderRadius:"0 0 0 0",borderContainer:"0 none #000000",borderRadiusContainer:"0 0 0 0",backgroundColorContainer:"#FFFFFF",textStyle:{fam
1ily:"arial, helvetica, sans-serif",size:"15px",sizeMobile:"15px",color:"#000000",align:"center",weight:"700",style:"initial",stroke:"none"},icon:"",iconPosition:"left",bottomMargin:0,leftMargin:0,positionContainer:"start-menu",typeOpenContainer:"by-click",enableOnlyLink:!1,enableLineBreak:!0,link:{type:"web",value:"",target:"_blank"}},elements:[],internal_config:{tag:"",height:"50px",width:"550px",zIndex:"auto",maxWidth:"500px",showDesktop:!0,showMobile:!0,widthContainerFull:!1,paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px"},name:"accordion"}}};function mc(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function bc(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?mc(Object(n),!0).forEach((function(e){Object(d["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):mc(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var _c={name:"PlaceMenuComponent",props:["config","childs","height_start","device","id","preview","is_popup"],computed:{height:function(){return this.internal_config.height},bottomMargin:function(){return"undefined"!==typeof this.internal_config.bottomMargin?this.internal_config.bottomMargin:0},border:function(){return this.internal_config.border},radius:function(){return this.internal_config.borderRadius},background:function(){return this.internal_config.backgroundColor},isOpenContainerByHover:function(){return!this.internal_config.enableOnlyLink&&"by-hover"===this.internal_config.typeOpenContainer},heightContainer:function(){return this.internal_config.heightContainer},widthContainer:function(){if("width-full"===this.internal_config.positionContainer)return document.getElementById("editor-content").getBoundingClientRect().width+"px";var t=parseInt(this.internal_config.widthContainer)+parseInt(this.internal_config.leftMargin);return"".concat(t,"px")},borderContainer:function(){return this.internal_config.borderContainer},topContainer:function(){return"".concat(parseInt(this.height)+parseInt(this.bottomMargin),"px")},leftMarginContainer:function(){return"-".concat(this.internal_config.leftMargin,"px")},leftContainer:function(){if("width-full"===this.internal_config.positionContainer){var t=document.getElementById(this.id).getBoundingClientRect(),e=document.documentElement;return-1*(t.left+(window.pageXOffset||e.scrollLeft||0))+"px"}return"start-menu-item"===this.internal_config.positionContainer?"0px":this.internal_config.leftContainer},radiusContainer:function(){return this.internal_config.borderRadiusContainer},backgroundContainer:function(){return this.internal_config.backgroundColorContainer}},data:function(){return pc.data()},methods:{getLeftContainer:function(){if(console.log(this.internal_config.positionContainer),"width-full"===this.internal_config.positionContainer){var t=document.getElementById(this.id).getBoundingClientRect(),e=document.documentElement;return-1*(t.left+(window.pageXOffset||e.scrollLeft||0))+"px"}return"start-menu-item"===this.internal_config.positionContainer?"0px":this.internal_config.leftContainer},getStyle:function(){return{borderRadius:this.radiusContainer,background:this.backgroundContainer,marginLeft:this.leftMarginContainer,left:this.leftContainer,top:this.topContainer,height:this.heightContainer,width:this.widthContainer,border:this.borderContainer}},handleMouseover:function(){"by-hover"===this.internal_config.typeOpenContainer&&($(".place-menu-collapse:not(#place-menu-"+this.id).hide(),$(".big-menu-text").removeClass("selected"),$(".zindexBig").removeClass("zindexBig"))},handleMouseleave:function(){this.internal_config.typeOpenContainer},collapseThis:function(t){if(t.stopPropagation(),t.preventDefault(),$(".place-menu-collapse:not(#place-menu-"+this.id).hide(),$(".big-menu-text").removeClass("selected"),$(".zindexBig").removeClass("zindexBig"),this.internal_config.enableO
1nlyLink)this.$root.$emit("linkAction",this.internal_config.link);else{var e=$("#place-menu-"+this.id);e.is(":visible")?(e.hide(),document.getElementById("page-mask").hidden=!0):(document.getElementById("page-mask").hidden=!1,e.show().parents(".big-is-receiver.card").find(".big-menu-text").addClass("selected"),e.show().parents('[element="GroupMenuComponent"]').addClass("zindexBig"),this.internal_config.leftContainer=-1*document.getElementById(this.id).offsetLeft+"px",e.css({left:this.getLeftContainer()}),document.body.style.setProperty("--big-menu-item-background--selected",this.internal_config.backgroundColorSelected),document.body.style.setProperty("--big-menu-item-color--selected",this.internal_config.textColorSelected))}},style:function(){return"left:  ".concat(this.internal_config.left,";\n                top: ").concat(this.internal_config.top,";\n                padding-top: ").concat(this.internal_config.paddingTop,";\n                padding-left: ").concat(this.internal_config.paddingLeft,";\n                padding-right: ").concat(this.internal_config.paddingRight,";\n                padding-bottom: ").concat(this.internal_config.paddingBottom,";\n                z-index: ").concat(this.internal_config.zIndex,";\n                width: ").concat(this.internal_config.width,";\n                max-width: ").concat(this.internal_config.maxWidth,";\n                border: 0 !important;\n                margin: 0 auto;")},build:function(){this.buildIcon(),$(".place-menu-collapse").hide(),this.internal_config.leftContainer=-1*document.getElementById(this.id).offsetLeft+"px";var t=this;this.$el.addEventListener("mouseover",(function(){document.body.style.setProperty("--big-menu-item-background--hover",t.internal_config.backgroundColorHover),document.body.style.setProperty("--big-menu-item-color--hover",t.internal_config.textColorHover)}))},textStyle:function(){return"undefined"==typeof this.internal_config.textStyle&&(this.internal_config.textStyle={family:"arial, helvetica, sans-serif",size:"15px",sizeMobile:"15px",color:"White",align:"center",weight:"700",style:"initial",stroke:"none"}),{fontFamily:this.internal_config.textStyle.family,fontSize:this.internal_config.textStyle.size+" !important",textAlign:this.internal_config.textStyle.align,fontWeight:this.internal_config.textStyle.weight,fontStyle:this.internal_config.textStyle.style,textDecoration:this.internal_config.textStyle.stroke,color:this.internal_config.textStyle.color,border:this.internal_config.border+" !important",borderRadius:this.internal_config.borderRadius}},textStyleMobile:function(){return"undefined"==typeof this.internal_config.textStyle&&(this.internal_config.textStyle={family:"arial, helvetica, sans-serif",size:"15px",sizeMobile:"15px",color:"White",align:"center",weight:"700",style:"initial",stroke:"none"}),{fontFamily:this.internal_config.textStyle.family,fontSize:this.internal_config.textStyle.sizeMobile+" !important",textAlign:this.internal_config.textStyle.align,fontWeight:this.internal_config.textStyle.weight,fontStyle:this.internal_config.textStyle.style,textDecoration:this.internal_config.textStyle.stroke,color:this.internal_config.textStyle.color,border:this.internal_config.border+" !important",borderRadius:this.internal_config.borderRadius}},buildIcon:function(){$(this.$el).find(".icon-place.big-menu-text i").detach(),""!==this.internal_config.icon&&("left"===this.internal_config.iconPosition&&($("<i>").addClass(this.$addIconPrefix(this.internal_config.icon)).prependTo($(this.$el).find(".icon-place").get(0)),$("<i>").addClass(this.$addIconPrefix(this.internal_config.icon)).prependTo($(this.$el).find(".icon-place").get(1))),"right"===this.internal_config.iconPosition&&($("<i>").addClass(this.$addIconPrefix(this.internal_config.icon)).appendTo($(this.$el).find(".icon-place").get(0)),$("<i>").addClass(this.$addIconPrefix(this.internal_config.icon)).appendTo($(this.$el).find(".icon-place").get(1))))}},mounted:function(){var t,e,n,i=this,o=this.$props;t=o.device,e=o.childs,o.id,n=o.config,this.internal_config=n,this.device=t,"undefined"===typeof e&&(e=[],this.internal_config.childs=[]),this.elements=e.sort((function(t,e){return t.config.order_mobile>e.config.order_mobile?1:e.config.order_mobile>t.config.order_mobile?-1:0})),this.$nextTick((function(){var t=window.mergeRecursive(i.props,i.$props.config);i.internal_config=bc(bc({},t),i.internal_config),i.build(),i.internal_config.widthContainerFull&&(i.internal_config.positionContainer="width-full")}))}},yc=_c,vc=(n("7375"),Object(b["a"])(yc,gc,fc,!1,null,"fc8d745c",null)),wc=vc.exports,xc=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{element:"VidelloVideoComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile,id:t.
1id}},[e("div",{style:"transform: rotate(".concat("desktop"===this.$props.device?this.internal_config.rotation:0,") scale(1)")},[e("div",{staticClass:"the-sticky-div-content embed-responsive embed-responsive-16by9",attrs:{id:"the-sticky-div"}},[e("div",{staticClass:"sticky-video-content"},[e("div",{staticClass:"video"},[e("iframe",{staticClass:"embed-responsive-item",style:{"border-radius":t.radius,border:t.border},attrs:{width:t.internal_config.width,height:t.internal_config.height,src:t.internal_config.src,frameborder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""}})])])])])])},kc=[],Sc={data:function(){return{props:{width:"300px",height:"300px",zIndex:"auto",maxWidth:"500px",rotation:"0deg",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",src:"https://embed.vidello.com/1319/nzuk1m6bmyd895bt/player.html",StickyVideo:!1,positionSticky:"",btnClick:"",sizeSticky:"",sizeBtn:null,ative:!1,animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},elements:[],internal_config:{width:"300px",height:"300px",zIndex:"auto",rotation:"0deg",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",src:"https://embed.vidello.com/1319/nzuk1m6bmyd895bt/player.html",srcFinal:"",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}}}}},Cc={name:"VidelloVideoComponent",props:["config","height_start","device","id","preview"],mixins:[ba],data:function(){return Sc.data()},computed:{border:function(){return this.internal_config.border}},methods:{style:function(){var t="left:  ".concat(this.internal_config.left,";\n                    width: ").concat(this.internal_config.width,";\n                     z-index: ").concat(this.internal_config.zIndex,";max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n                     padding-top: ").concat(this.internal_config.paddingTop,";\n                     padding-left: ").concat(this.internal_config.paddingLeft,";\n                     padding-right: ").concat(this.internal_config.paddingRight,";\n                     padding-bottom: ").concat(this.internal_config.paddingBottom,";\n                     top: ").concat(this.internal_config.top);return t}},created:function(){var t,e,n,i=this.$props;t=i.device,i.childs,e=i.id,n=i.config,this.internal_config=n,this.device=t,"undefined"!==typeof e&&(this.id=e),this.internal_config=window.mergeRecursive(this.props,this.$props.config)},mounted:function(){var t=this;"desktop"==this.device&&this.internal_config.StickyVideo&&this.$root.$emit("applySticky",this),this.$root.$emit("applyAnimation",this,"sitebuilder-element-container");var e=[];$("[id]").each((function(){var t=$('[id="'+this.id+'"]');t.length>1&&t[0]==this&&parseInt(this.id)&&e.push(this.id)})),e.includes(this.id)&&(this.id=Date.now()+parseInt(1e4*Math.random())),this.$root.$on("setConfigElement",(function(e,n){t.id==e&&(t.config=n,t.internal_config=n)})),this.$forceUpdate()}},Ic=Cc,$c=(n("56c6"),Object(b["a"])(Ic,xc,kc,!1,null,"3c552d24",null)),Tc=$c.exports,Pc=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container big-is-receiver",style:t.style(),attrs:{id:this.id,element:"VideoGalleryGroupComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile}},[e("div",{staticClass:"vdr",attrs:{id:"video-galery-vdr"}},t._l(t.internal_config.tree,(function(n,i){return e("div",{key:i,class:"container-fluid carrousel-"+i,style:{background:t.background,paddingTop:t.paddingTop+"!important",paddingLeft:t.paddingLeft+"!important",paddingRight:t.paddingRight+"!important",paddingBottom:t.paddingBottom+"!important",borderRadius:t.radius,border:t.border,boxShadow:t.boxShadow}},[e("p",{staticClass:"clean-text-css",style:t.textStyle()},[t._v(t._s(n.name))]),e("div",{staticClass:"carousel",attrs:{id:"myCarousel","data-ride":"carousel","data-interval":"9000"}},[e("div",{staticClass:"carousel-inner",style:{height:t.heightTop},attrs:{role:"listbox"}},t._l(n.childs,(function(n,i){return e("div",{key:i,class:"item "+(0==i?"active":""),attrs:{url:n.url}},[e("div",{staticClass:"element-item",attrs:{"data-id":n.id}},[e("a",{style:{height:t.heightTop},attrs:{href:"#"}},[e("img",{staticClass:"place-img",style:{maxHeight:t.heightTopImg},attrs:{src:n.thumbnail}})])])])})),0),e("a",{directives:[{name:"show",rawName:"v-show",value:t.showArrow(n.childs),expression:"showArrow(category.childs)"}],staticClass:"left carousel-control",style:{height:t.heightTop}
1,attrs:{href:"#myCarousel",role:"button","data-slide":"prev"},on:{click:function(e){return t.prev(i)}}},[e("span",{staticClass:"mdi mdi-chevron-left",style:{color:t.arrowColor,fontSize:t.arrowSize},attrs:{"aria-hidden":"true"}})]),e("a",{directives:[{name:"show",rawName:"v-show",value:t.showArrow(n.childs),expression:"showArrow(category.childs)"}],staticClass:"right carousel-control",style:{height:t.heightTop},attrs:{href:"#myCarousel",role:"button","data-slide":"next"},on:{click:function(e){return t.next(i)}}},[e("span",{staticClass:"mdi mdi-chevron-right",style:{color:t.arrowColor,fontSize:t.arrowSize},attrs:{"aria-hidden":"true"}})]),e("div",{staticClass:"container-gallery-video",style:{height:t.height},attrs:{"data-id":t.dataId}},t._l(n.childs,(function(n,i){return e("div",{key:i,staticClass:"h-100 gallery-container"},t._l(t.elements,(function(i,o){return n.id==i.id?e(i.name,{key:o,tag:"component",style:t.styleApp(),attrs:{config:i.config,id:i.id,height_start:o,preview:t.preview,childs:i.childs}}):t._e()})),1)})),0)])])})),0)])},Oc=[],Ac={data:function(){return{props:{tag:"",height:"150px",heightTop:"150px",width:"550px",zIndex:"auto",maxWidth:"500px",paddingTop:"5px",paddingLeft:"5px",paddingRight:"5px",paddingBottom:"5px",amountOfNews:"5",textStyle:{family:"arial, helvetica, sans-serif",size:"15px",sizeMobile:"15px",color:"White",align:"center",weight:"700",style:"initial",stroke:"none"},paddingTopContainer:"5px",paddingLeftContainer:"5px",paddingRightContainer:"5px",paddingBottomContainer:"5px",arrowSize:"20px",arrowColor:"#ffffff",tree:{0:{name:"category1",childs:{0:{url:"https://player.vimeo.com/video/384459672",thumbnail:"http://placehold.it/200/f4f4f4&text=1",id:"",label:"video 1"},1:{url:"https://www.youtube.com/watch?v=1sfGOrN33Q4",thumbnail:"http://placehold.it/200/000000&text=2",id:"",label:"video 2"},2:{url:"https://www.youtube.com/watch?v=1sfGOrN33Q4",thumbnail:"http://placehold.it/200/d1d1d1&text=3",id:"",label:"video 3"},3:{url:"https://www.youtube.com/watch?v=1sfGOrN33Q4",thumbnail:"http://placehold.it/200/f2f2f2&text=4",id:"",label:"video 4"},4:{url:"https://www.youtube.com/watch?v=1sfGOrN33Q4",thumbnail:"http://placehold.it/200/b1b1b1&text=5",id:"",label:"video 5"},5:{url:"https://www.youtube.com/watch?v=1sfGOrN33Q4",thumbnail:"http://placehold.it/200/b9b99b&text=6",id:"",label:"video 6"}}},1:{name:"category2",childs:{0:{url:"https://player.vimeo.com/video/384459672",thumbnail:"http://placehold.it/200/f4f4f4&text=1",id:"",label:"video 1"},1:{url:"https://www.youtube.com/watch?v=1sfGOrN33Q4",thumbnail:"http://placehold.it/200/000000&text=2",id:"",label:"video 2"},2:{url:"https://www.youtube.com/watch?v=1sfGOrN33Q4",thumbnail:"http://placehold.it/200/d1d1d1&text=3",id:"",label:"video 3"},3:{url:"https://www.youtube.com/watch?v=1sfGOrN33Q4",thumbnail:"http://placehold.it/200/f2f2f2&text=4",id:"",label:"video 4"}}}},border:"0 none #000000",borderCategory:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0","background-color":"#000000",backgroundImage:"none",backgroundPosition:"center",backgroundOrigin:"border-box",backgroundRepeat:"no-repeat",backgroundSize:"cover",showDesktop:!0,showMobile:!0,animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},elements:[],internal_config:{tag:"",height:"50px",width:"550px",zIndex:"auto",maxWidth:"500px",showDesktop:!0,showMobile:!0,amountOfNews:"5",arrowSize:"20px",arrowColor:"#ffffff",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},name:"slidergroup"}}};function Rc(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Bc(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?Rc(Object(n),!0).forEach((function(e){Object(d["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Rc(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Lc={name:"VideoGalleryGroupComponent",props:["config","childs","device","id","preview"],computed:{arrowColor:function(){return this.internal_config.arrowColor},arrowSize:function(){return parseInt(this.internal_config.arrowSize)+"px"},dataId:function(){return this.id},paddingTop:function(){return this.internal_config.paddingTopContainer},paddingLeft:function(){return this.internal_config.paddingLeftContainer},paddingRight:function(){return this.internal_config.paddingRightContainer},paddingBottom:function(){return this.internal_config.paddingBottomContainer},boxShadow:function(){return this.internal_config.boxShadow},border:function(){return this.internal_config.border},height:function(){return parseInt(this.internal_config.height)-parseInt(this.internal_config.heightTop)+"px"},heightTop:function(){return this.internal_config.heightTop},heightTopImg:function(){return parseInt(this.internal_config.heightTop)-5+"px"},radius:function(){return this.internal_config.borderRadius},background:function(){var t=this.internal_config.backgroundColor;return"none"!==this.internal_config.backgroundImage&&"undefined"!==typeof this.internal_config.backgroundImage&&(this.internal_config.backgroundImage=this.internal_config.backgroundImage.replace("omb11.com","storage.builderall.com"),t+=' url("'+this.internal_config.backgroundImage+'")',t+=" "+this.internal_config.backgroundPosition,t+=" / "+this.internal_config.backgroundSize,t+=" "+this.internal_config.backgroundRepeat,t+=" "+this.internal_config.backgroundOrigin),t}},data:function(){return Ac.data()},methods:{textStyle:function(){return"font-family:  ".concat(this.internal_config.textStyle.family,";\n                 font-size: ").concat(this.internal_config.textStyle.size,";\n                 text-align: ").concat(this.internal_config.textStyle.align,";\n                 font-weight: ").concat(this.internal_config.textStyle.weight,";\n                 font-style: ").concat(this.internal_config.textStyle.style,";\n                 text-decoration: ").concat(this.internal_config.textStyle.stroke,";\n                 -webkit-text-fill-color: ").concat(this.internal_config.textStyle.color,";\n                 border-bottom: ").concat(this.internal_config.borderCategory,";\n                 margin-bottom: 10px;\n                 color: ").concat(this.internal_config.textStyle.color)},widthItem:function(t){if(!this.showArrow(t))return parseInt(this.internal_config.width)/Object.keys(t).length+"px";var e=this.internal_config.amountOfNews;return parseInt(this.internal_config.width)/e+"px"},showArrow:function(t){return"desktop"!==this.$props.device||parseInt(this.internal_config.amountOfNews)<=Object.keys(t).length-1},prev:function(t){var e=$(this.$el).find(".carrousel-"+t).find(".item.active"),n=$(e).prev();n.length||(n=$(e).siblings(":last")),e.removeClass("active"),n.addClass("active")},next:function(t){var e=$(this.$el).find(".carrousel-"+t).find(".item.active"),n=$(e).next();n.length||(n=$(e).siblings(":first")),e.removeClass("active"),n.addClass("active")},showVideo:function(t){$('[element="VideoGalleryComponent"]').find("iframe").each((function(){var t=$(this).attr("src");$(this).attr("src",t)})),$('[element="VideoGalleryComponent"]').hide();var e=$("#"+t),n=document.querySelectorAll(".h-100");$.each(n,(function(t,e){$(n).addClass("gallery-container")})),e.show(),$(e).parent().removeClass("gallery-container"),e.parent().parent().show(),this.alterHeight()},alterHeight:function(){var t=this,e=t.$el.getBoundingClientRect(),n=$(t.$el).position().top,i=$(t.$el).offset().left,o=e.width,a=t.internal_config.realHeight;setTimeout((function(){t.internal_config.realHeight=e.height;var r=parseInt(a-e.height);"undefined"!==typeof t.$parent.changeHeight?t.$parent.changeHeight(r,!1,t.id,n,i,o):t.$parent.$parent.changeHeight(r,!1,t.id,n,i,o)}),300)},getDataVideo:function(t){var e=this.internal_config.tree;for(var n in e){var i=e[n]["childs"];for(var o in i)if(i[o]["id"]==t)return i[o]}},style:function(){return"left:  ".concat(this.internal_config.left,";\n                top: ").concat(this.internal_config.top,";\n\t\t\t\t        padding-top: ").concat(this.internal_config.paddingTop,";\n                padding-left: ").concat(this.internal_config.paddingLeft,";\n                padding-right: ").concat(this.internal_config.paddingRight,";\n                padding-bottom: ").concat(this.internal_config.paddingBottom,";\n                z-index: ").concat(this.internal_config.zIndex,";\n                width: ").concat(this.internal_config.width,";\n                max-width: ").concat(this.internal_config.maxWidth,";\n                margin: 0 auto;")},styleApp:function(){return"left:  ".concat(this.internal_config.paddingLeftContainer,";\n                top: ").concat(this.internal_config.paddingTopContainer,";\n                display:none;\n                width: calc(100% - ").concat(2*parseInt(this.internal_config.paddingRightContainer),"px !important;\n                height: calc(100% - ").concat(2*parseInt(this.internal_config.paddingBottomContainer),"px !important;")},checkVideoApp:function(){var t=this,e=this,n=this.internal_config.tree,i=function(i){var o=n[i]["childs"],a=function(n){""===o[n]["id"]&&t.$root.$emit("createBaseElement","VideoGalleryComponent",{},t.id,(function(t){e.internal_config.tree[i]["childs"][n]["id"]=t}))};for(var r in o)a(r)};for(var o in n)i(o)},build:function(){this.checkVideoApp();var t=this.internal_config.amountOfNews,e=this;setTimeout((function(){$(e.$el).find(".carousel-inner").each((function(e,n){var i=$(n).find(".item").length;t<i&&$(n).parent().carousel({interval:1e4});var o=t;$(n).find(".item").length<t&&(o=$(n).find(".item").length),$(n).find(".item").each((function(t,e){var n=$(e).next();n.length||(n=$(e).siblings(":first")),n.children(":first-child").clone().appendTo($(e));for(var i=0;i<o-2;i++)n=n.next(),n.length||(n=$(e).siblings(":first")),n.children(":first-child").clone().appendTo($(e))}))})),$(e.$el).find(".container-gallery-video").hide(),$(".element-item").on("click",(function(t){$(e.$el).find(".container-gallery-video").hide(),e.showVideo(t.currentTarget.getAttribute("data-id"))})),e.internal_config.realHeight=e.$el.getBoundingClientRect().height}),3e3)}},mounted:function(){var t,e,n,i,o=this.$props;t=o.device,e=o.childs,n=o.id,i=o.config,"undefined"===typeof i.backgroundColor&&(i.backgroundColor="#FFFFFF"),this.internal_config=i,this.device=t,"undefined"===typeof e&&(e=[],this.internal_config.childs=[]),"undefined"!==typeof n&&(this.id=n),this.elements=e.sort((function(t,e){return t.config.order_mobile>e.config.order_mobile?1:e.config.order_mobile>t.config.order_mobile?-1:0}));var a=window.mergeRecursive(this.props,this.$props.config);this.internal_config=Bc(Bc({},a),this.internal_config),this.build()}},zc=Lc,Mc=(n("a655"),Object(b["a"])(zc,Pc,Oc,!1,null,"6078b2de",null)),Ec=Mc.exports,Nc=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container card big-is-receiver",style:t.style(),attrs:{id:this.id,element:"VideoGalleryComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile}},[e("div",{staticClass:"row-gallery",style:{border:t.border,background:t.background,borderRadius:t.radius}},[e("div",{staticClass:"col-gallery",style:{width:t.width}},[e("iframe",{staticClass:"embed-responsive-item video-margin",attrs:{src:t.srcVideo,frameborder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""}})]),e("div",{staticClass:"sitebuilder-element-receiver col-gallery",style:{width:t.widthPlace}},t._l(t.elements,(function(n,i){return e(n.name,{key:i,tag:"component",attrs:{config:n.config,id:n.id,height_start:i,preview:t.preview,childs:n.childs},on:{setCallbackChangeDevice:t.setCallbackChangeDevice}})}
1)),1),e("i",{class:"mdi close-icon "+t.internal_config.icon,style:{fontSize:t.fontSize,color:t.color},on:{click:t.closeThis}})])])},Dc=[],jc={data:function(){return{props:{tag:"",width:"550px",zIndex:"auto",maxWidth:"500px",height:"50px",heightContainer:"300px",heightHeader:"60px",heightBody:"90px",videoData:{},icon:"mdi-close-circle-outline",fontSize:"15px",color:"#0f0f0f",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",showDesktop:!0,showMobile:!0,border:"0 none #000000",backgroundColor:"#F0F0F0",borderRadius:"0 0 0 0",borderContainer:"0 none #000000",borderRadiusContainer:"0 0 0 0",backgroundColorContainer:"#FFFFFF",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},elements:[],internal_config:{tag:"",height:"50px",width:"550px",zIndex:"auto",maxWidth:"500px",showDesktop:!0,showMobile:!0,paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",icon:"mdi-close-circle-outline",fontSize:"15px",color:"#0f0f0f",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},name:"accordion"}}};function Hc(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Fc(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Hc(Object(n),!0).forEach((function(e){Object(d["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Hc(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Uc={name:"VideoGalleryComponent",props:["config","childs","height_start","device","id","preview","url","thumbnail"],components:{Data:jc},computed:{border:function(){return this.internal_config.border},width:function(){return this.internal_config.width},widthPlace:function(){return 100-parseInt(this.internal_config.width)+"%"},radius:function(){return this.internal_config.borderRadius},fontSize:function(){return this.internal_config.fontSize},color:function(){return this.internal_config.color},background:function(){return this.internal_config.backgroundColor},heightContainer:function(){return this.internal_config.heightContainer},srcVideo:function(){try{var t=this.internal_config.videoData.url||"";if(void 0!==Object(l["a"])(t)||""!==t){if(-1!==t.indexOf("vidello"))return t;var e=t.match(/(videos|video|channels|\.com)\/([\d]+)/);if(e)return"https://player.vimeo.com/video/"+e[2]+"?";var n=t.match(/https?:\/\/(.+)?(wistia\.com|wi\.st)\/(medias|embed)\/(.*)/);if(n)return"https://fast.wistia.com/embed/medias/"+n[4];var i=t.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=|\?v=)([^#\&\?]*).*/);return i&&11==i[2].length?"https://www.youtube.com/embed/"+i[2]+"?":t}}catch(o){}}},data:function(){return jc.data()},methods:{style:function(){return"left:  ".concat(this.internal_config.left,";\n                top: ").concat(this.internal_config.top,";\n\t\t\t\t        padding-top: ").concat(this.internal_config.paddingTop,";\n                padding-left: ").concat(this.internal_config.paddingLeft,";\n                padding-right: ").concat(this.internal_config.paddingRight,";\n                padding-bottom: ").concat(this.internal_config.paddingBottom,";\n                z-index: ").concat(this.internal_config.zIndex,";\n                margin: 0 auto;")},closeThis:function(){$("iframe").each((function(){var t=$(this).attr("src");$(this).attr("src",t)})),$(this.$el).hide(),$(".container-gallery-video").hide(),this.$parent.alterHeight()},setCallbackChangeDevice:function(t){this.$emit("setCallbackChangeDevice",t)}},mounted:function(){var t,e,n,i,o=this.$props;t=o.device,e=o.childs,n=o.id,i=o.config,"undefined"===typeof i.backgroundColor&&(i.backgroundColor="#FFFFFF"),this.internal_config=i,this.device=t,"undefined"===typeof e&&(e=[],this.internal_config.childs=[]),"undefined"!==typeof n&&(this.id=n),this.elements=e.sort((function(t,e){return t.config.order_mobile>e.config.order_mobile?1:e.config.order_mobile>t.config.order_mobile?-1:0}));var a=window.mergeRecursive(this.props,this.$props.config);this.internal_config=Fc(Fc({},a),this.internal_config);var r=this.$parent.getDataVideo(this.id);"undefined"===typeof r&&document.getElementById(this.id).parentNode.removeChild(document.getElementById(this.id)),this.internal_config.videoData=r}},qc=Uc,Vc=(n("71b2"),Object(b["a"])(qc,Nc,Dc,!1,null,"283a9e25",null)),Wc=Vc.exports,Gc=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:t.id,element:"VideoComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile,"config-properties":JSON.stringify(t.internal_config)},on:{click:function(e){return t.focusElement(e)}}},[t.internal_config.secret?e("iframe",{attrs:{width:"100%",height:t.getHeight,src:t.getSecret,frameborder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",controls:"1",countdown:"1",allowfullscreen:""}}):t._e()])},Jc=[],Yc={data:function(){return{sidebar:"2",props:{name:"VideoComponent",zIndex:"auto",paddingTop:"0px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",width:"100px",height:"100px",minHeight:"0px",maxWidth:"100px",secret:"",autoplay:!1,countdown:!1,loop:!1},elements:[],internal_config:{theme:"01",width:"100px",maxWidth:"100px",height:"100px",minHeight:"0px",zIndex:"auto",showDesktop:!0,showMobile:!0,paddingTop:"0px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",left:"0px",top:"0px",secret:"",autoplay:!1,countdown:!1,loop:!1}}}},Kc={name:"VideoComponent",props:["config","id"],data:function(){return Yc.data()},computed:{getSecret:function(){var t="https://videomng.builderall.com/embed/".concat(this.internal_config.secret,"?allowpause=1");
1return this.internal_config.autoplay&&(t+="&autoplay=1"),this.internal_config.countdown&&(t+="&countdown=1"),this.internal_config.loop&&(t+="&loop=1"),this.internal_config.controls&&(t+="&controls=1"),t},getHeight:function(){var t="desktop"===document.querySelector("[data-device]").getAttribute("data-device")?this.internal_config.height:this.internal_config.minHeight;return"0px"===t&&(t="100%"),t}},methods:{build:function(t){this.internal_config=Pn.a.merge(this.internal_config,t)},animation:function(){return!0},style:function(){return"width: ".concat(this.internal_config.width,";\n               height:  ").concat(this.internal_config.height,";\n               z-index: ").concat(this.internal_config.zIndex,";\n               margin: 0 auto;\n               padding-top: ").concat(this.internal_config.paddingTop,";\n               padding-left: ").concat(this.internal_config.paddingLeft,";\n               padding-right: ").concat(this.internal_config.paddingRight,";\n               padding-bottom: ").concat(this.internal_config.paddingBottom,";\n               left:  ").concat(this.internal_config.left,";\n               top: ").concat(this.internal_config.top)}},mounted:function(){var t=this;this.build(this.$props.config),this.$root.$on("setConfigElement",(function(e,n){t.id===e&&(t.config=n,t.internal_config=n)})),this.$root.$emit("applyAnimation",this,"sitebuilder-element-container")}},Zc=Kc,Qc=Object(b["a"])(Zc,Gc,Jc,!1,null,null,null),Xc=Qc.exports,tl=function(){var t=this,e=t._self._c;return e("div",{class:"sitebuilder-element-container ".concat(t.internal_config.fullWidth?"full-width-element":""),style:t.style(),attrs:{id:t.id,element:"BookingCalendarComponent","data-hide-desktop":!t.internal_config.showDesktop,"data-hide-mobile":!t.internal_config.showMobile,"config-properties":JSON.stringify(t.internal_config)}},[t.internal_config.calendar.src?e("div",{staticClass:"embed-responsive embed-responsive-16by9",style:{width:t.width,height:t.internal_config.fullHeight?"100%":t.height,minHeight:t.minHeight}},[e("iframe",{staticClass:"embed-responsive-item",style:{borderRadius:t.radius,border:t.border},attrs:{width:t.internal_config.width,height:t.internal_config.height,src:t.internal_config.calendar.src,frameborder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""}})]):e("div",[e("div",{staticStyle:{"background-color":"white",height:"300px",width:"100%",display:"flex","align-items":"center","justify-content":"center","flex-direction":"column"}},[e("h6",{staticClass:"text-center"},[t._v(t._s(t.$t("ct-select-booking-calendar")))])])])])},el=[],nl={data:function(){return{props:{tag:"",width:"700px",maxWidth:"850px",height:"500px",minHeight:"950px",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",zIndex:"auto",rotation:"0deg",calendar:{src:"",showInfo:!1,showGroup:!1,forceRedir:"",typeRedir:"page",group:0},fullWidth:!1,fullHeight:!1,animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},internal_config:{width:"700px",height:"500px",maxWidth:"850px",minHeight:"950px",zIndex:"auto",rotation:"0deg",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",calendar:{src:"",showInfo:!1,showGroup:!1,forceRedir:"",typeRedir:"page",group:0},fullWidth:!1,fullHeight:!1,animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}}}}},il={name:"BookingCalendarComponent",props:["config","device","id","preview"],data:function(){return nl.data()},computed:{width:function(){return this.internal_config.width},minHeight:function(){return this.internal_config.minHeight},height:function(){return this.internal_config.height},border:function(){return this.internal_config.border},radius:function(){return this.internal_config.borderRadius}},methods:{style:function(){var t="left:  ".concat(this.internal_config.left,";\n                     padding-top: ").concat(this.internal_config.paddingTop,";\n                     padding-left: ").concat(this.internal_config.paddingLeft,";\n                     z-index: ").concat(this.internal_config.zIndex,";max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n                     padding-right: ").concat(this.internal_config.paddingRight,";\n                     padding-bottom: ").concat(this.internal_config.paddingBottom,";\n                     top: ").concat(this.internal_config.top);return t}},mounted:function(){var t,e,n,i=this,o=this.$props;t=o.device,o.childs,e=o.id,n=o.config,this.internal_config=n,this.device=t,"undefined"!==typeof e&&(this.id=e),this.internal_config=window.mergeRecursive(this.props,this.$props.config),this.$root.$on("setConfigElement",(function(t,e){i.id==t&&(i.config=e,i.internal_config=e)}));var a=[];$("[id]").each((function(){var t=$('[id="'+this.id+'"]');t.length>
11&&t[0]==this&&parseInt(this.id)&&a.push(this.id)})),a.includes(this.id)&&(this.id=Date.now()+parseInt(1e4*Math.random()));var r=this.internal_config.calendar.src.match(/force_redir=([^&]*)/);if("page"==this.internal_config.calendar.typeRedir&&r&&""!==r[1]){var s=it(this.internal_config.calendar.forceRedir);s&&(this.internal_config.calendar.src=this.internal_config.calendar.src.replace(/(force_redir=)[^&]+/,"$1".concat(window.location.protocol+"//"+window.location.hostname+"/"+s.url)))}}},ol=il,al=(n("0646"),Object(b["a"])(ol,tl,el,!1,null,"241fabfc",null)),rl=al.exports,sl=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style,attrs:{id:t.id,element:"CheckoutComponent","data-hide-desktop":!t.internal_config.showDesktop,"data-hide-mobile":!t.internal_config.showMobile,"data-tag":t.dataTag}},[e("div",{ref:"mountingPoint",staticClass:"s-checkout-widget pt-2",attrs:{dir:t.dir()}})])},cl=[],ll={data:function(){return{props:{width:"410",height:"615"},internal_config:{type:"",sellableHash:"",baloon_text:"",buy_button_text:"",pay_button_text:"",bottom_info:"",buy_button_subtext:"",language:"",showDesktop:!0,showMobile:!0,zIndex:1,width:"410",height:"615"},name:"checkout"}}};function dl(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function ul(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?dl(Object(n),!0).forEach((function(e){Object(d["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):dl(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var hl={name:"CheckoutComponent",props:["config","id","preview","device"],data:function(){return ll.data()},computed:{dataTag:function(){return this.internal_config.tag?this.internal_config.tag:""},style:function(){var t="".concat(this.internal_config.width);t.match(/px$/)||(t+="px");var e="".concat(3===this.internal_config.steps?768:450);return e.match(/px$/)||(e+="px"),"left:  ".concat(this.internal_config.left,";\n              z-index: ").concat(this.internal_config.zIndex,";\n              width:  ").concat(t,";\n              max-width:  ").concat(e,";\n              margin: 0 auto;\n              top: ").concat(this.internal_config.top)}},methods:{dir:function(){var t=void 0!==navigator.browserLanguage?navigator.browserLanguage:navigator.language;return!!("undefined"!=typeof langUser&&["he","ja","ar"].includes(langUser)||"undefined"!=typeof t&&["he","ja","ar"].includes(t.substring(0,2)))&&"rtl"},build:function(t){this.internal_config=ul(ul({},this.internal_config),t)},updateHeightParent:function(){var t=$("#"+this.id),e=parseInt(t.css("height"))+parseInt(t.css("top"));parseInt(this.$parent.height)<e&&(this.$parent.internal_config.height=e+"px")},apiUrl:_t,loadAssets:function(){var t=this;window.checkoutConfigs||(window.checkoutConfigs={baseURL:_t(),sellable:{}}),window.checkoutConfigs.sellable[this.internal_config.sellableHash]=ul({},this.internal_config),this.$refs.mountingPoint.innerHTML="";var e=document.createElement("div");e.classList.add("sc-widget"),e.setAttribute("data-version",this.internal_config.version),e.setAttribute("data-hash",this.internal_config.sellableHash),this.$refs.mountingPoint.appendChild(e),this.$nextTick((function(){var e=document.createElement("script");e.src=" ".concat(window.checkoutConfigs.baseURL,"/lang/").concat(t.internal_config.language,"?scope=checkoutTranslations"),e.onload=function(){var e=document.createElement("script");e.src="".concat(window.checkoutConfigs.baseURL,"/widget/app.js?v=").concat(t.internal_config.version),document.body.appendChild(e)},document.body.appendChild(e)}))}},mounted:function(){setInterval(this.updateHeightParent,500),this.build(this.$props.config),this.loadAssets()}},gl=hl,fl=Object(b["a"])(gl,sl,cl,!1,null,null,null),pl=fl.exports,ml=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{element:"BlogComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile}},[t._m(0),t._m(1)])},bl=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"blog-card"},[e("div",{staticClass:"meta"},[e("div",{staticClass:"photo",staticStyle:{"background-image":"url(https://storage.googleapis.com/chydlx/codepen/blog-cards/image-1.jpg)"}}),e("ul",{staticClass:"details"},[e("li",{staticClass:"author"},[e("a",{attrs:{href:"#"}},[t._v("John Doe")])]),e("li",{staticClass:"date"},[t._v("Aug. 24, 2015")]),e("li",{staticClass:"tags"},[e("ul",[e("li",[e("a",{attrs:{href:"#"}},[t._v("Learn")])]),e("li",[e("a",{attrs:{href:"#"}},[t._v("Code")])]),e("li",[e("a",{attrs:{href:"#"}},[t._v("HTML")])]),e("li",[e("a",{attrs:{href:"#"}},[t._v("CSS")])])])])])]),e("div",{staticClass:"description"},[e("h1",[t._v("Learning to Code")]),e("h2",[t._v("Opening a door to the future")]),e("p",[t._v(" Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ad eum dolorum architecto obcaecati enim dicta praesentium, quam nobis! Neque ad aliquam facilis numquam. Veritatis, sit.")]),e("p",{staticClass:"read-more"},[e("a",{attrs:{href:"#"}},[t._v("Read More")])])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"blog-card alt"},[e("div",{staticClass:"meta"},[e("div",{staticClass:"photo",staticStyle:{"background-image":"url(https://storage.googleapis.com/chydlx/codepen/blog-cards/image-2.jpg)"}}),e("ul",{staticClass:"details"},[e("li",{staticClass:"author"},[e("a",{attrs:{href:"#"}},[t._v("Jane Doe")])]),e("li",{staticClass:"date"},[t._v("July. 15, 2015")]),e("li",{staticClass:"tags"},[e("ul",[e("li",[e("a",{attrs:{href:"#"}},[t._v("Learn")])]),e("li",[e("a",{attrs:{href:"#"}},[t._v("Code")])]),e("li",[e("a",{attrs:{href:"#"}},[t._v("JavaScript")])])])])])]),e("div",{staticClass:"description"},[e("h1",[t._v("Mastering the Language")]),e("h2",[t._v("Java is not the same as JavaScript")]),e("p",[t._v("Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ad eum dolorum architecto obcaecati enim dicta praesentium, quam nobis! Neque ad aliquam facilis numquam. Veritatis, sit.")]),e("p",{staticClass:"read-more"},[e("a",{attrs:{href:"#"}},[t._v("Read More")])])])])}],_l={data:function(){return{props:{name:"BlogComponent",width:"50px",height:"50px",zIndex:"auto",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"0px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",maxWidth:"500px",themeBlog:"feed",showDesktop:!0,showMobile:!0,animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},valueChanged:0,posts:[],elements:[],internal_config:{width:"50px",height:"50px",zIndex:"auto",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}}}}},yl=function(){var t=this,e=t._self._c;return e("div")},vl=[],wl={data:function(){var t=this;return{element:null,resources:{zIndex:{name:"zIndex",defaultValue:"",labelDesc:"zIndex",callback:function(){t.resources.zIndex.defaultValue=this.value,t.element.internal_config.zIndex=this.value}},maxWidth:{name:"maxWidth",defaultValue:"500",min:"200",max:"768",labelDesc:"max-width-tablet",callback:function(){t.resources.maxWidth.defaultValue=this.value,t.element.internal_config.maxWidth=this.value+"px"}},themeBlog:{name:"themeBlog",defaultValue:"",labelDesc:"themeBlog",options:[{name:t.$t("ct-blog-feed"),value:"feed",selected:"selected",disabled:!1},{name:t.$t("ct-blog-category"),value:"category",selected:!1,disabled:!1}],callback:function(){t.resources.theme.defaultValue=this.value,t.element.internal_config.theme=this.value,t.applyChange(t.element.internal_config),t.element.rebuild()}},width:{name:"width",defaultValue:"300",min:"50",max:"1000",labelDesc:"width",callback:function(){t.resources.width.defaultValue=this.value,t.element.internal_config.width=this.value+"px"}},border:{name:"border",defaultValue:"1px solid black",min:"0",max:"50",labelDesc:"border",callback:function(){var e=this.value+"px "+this.value2+" "+this.value3;t.resources.border.defaultValue=e,t.element.internal_config.border=e}},borderRadius:{name:"borderRadius",defaultValue:"0 0 0 0",min:"0",max:"360",labelDesc:"borderRadius",callback:function(){var e=this.v1+"px "+this.v2+"px "+this.v3+"px "+this.v4+"px";t.resources.borderRadius.defaultValue=e,t.element.internal_config.borderRadius=e}},padding:{name:"padding",defaultLeft:"15",defaultTop:"15",defaultRight:"15",defaultBottom:"15",min:"0",max:"50",labelDesc:"padding",callback:function(){t.resources.padding.defaultLeft=this.l,t.element.internal_config.paddingLeft=this.l+"px",t.resources.padding.defaultTop=this.t,t.element.internal_config.paddingTop=this.t+"px",t.resources.padding.defaultRight=this.r,t.element.internal_config.paddingRight=this.r+"px",t.resources.padding.defaultBottom=this.b,t.element.internal_config.paddingBottom=this.b+"px"}}}}},methods:{setMinValuesData:function(t,e){this.resources[t].min=parseInt(e)},setValuesData:function(t){this.element=t,this.resources.maxWidth.defaultValue=parseInt(t.internal_config.maxWidth),this.resources.themeBlog.defaultValue=t.internal_config.themeBlog,this.resources.width.defaultValue=parseInt(t.internal_config.width),this.resources.border.defaultValue=t.internal_config.border,this.resources.borderRadius.defaultValue=t.internal_config.borderRadius,this.resources.padding.defaultLeft=parseInt(t.internal_config.paddingLeft),this.resources.padding.defaultTop=parseInt(t.internal_config.paddingTop),this.resources.padding.defaultRight=parseInt(t.internal_config.paddingRight),this.resources.padding.defaultBottom=parseInt(t.internal_config.paddingBottom)},getValuesData:function(){return this.resources}}},xl=wl,kl=Object(b["a"])(xl,yl,vl,!1,null,null,null),Sl=kl.exports,Cl={data:function(){return{hostMap:{".sitebuilder-publication.kub.app.builderall.io":{blog:"https://blog.kub.app.builderall.io"},".sitebuilder-publication.kub.app.builderall.info":{blog:"https://blog.kub.app.builderall.info"},default:{blog:"https://blog.builderall.com"}}}},computed:{blogUrl:function(){return this.getBlogUrl()}},methods:{getBlogUrl:function(){var t=window.location.host,e=Object.keys(this.hostMap).find((function(e){return t.includes(e)})),n=this.hostMap[e]||this.hostMap["default"];return n.blog}}},Il={name:"BlogComponent",components:{Model:_l,Resources:Sl},props:["config","height_start","device","id","preview"],mixins:[Cl],data:function(){return _l.data()},computed:{width:function(){return this.internal_config.width},height:function(){return this.internal_config.height},border:function(){return this.internal_config.border},radius:function(){return this.internal_config.borderRadius}},methods:{animation:function(){return!0},rebuild:function(){var t=this,e=this,n=this.internal_config;this.internal_config={},this.$nextTick((function(){e.internal_config=n,t.$root.$emit("rSidebarEdition",e)}))},onResize:function(t,e,n,i){this.internal_config.width=n+"px",this.internal_config.height=i+"px",this.$refs.resourcesData.setValuesData(this)},focusElement:function(t){this.$root.$emit("focusElement",this),this.$root.$emit("handlerElement",this),t.stopPropagation(),t.preventDefault()},showResources:function(){return this.$refs.resourcesData.getValuesData()},changeOrderPanel:function(t,e){var n=t.$el.id,i=1===e?document.getElementById(n).nextSibling:d
1ocument.getElementById(n).previousSibling;if(null===i)return!0;var o=this;this.$root.$emit("changeOrderElementsInside",o.id,n,i.id,e)},handler:function(t){this.$root.$emit("focusElement",this),this.$root.$emit("handlerElement",this),t.stopPropagation(),t.preventDefault()},style:function(){var t=this.internal_config,e=t.left,n=t.zIndex,i=t.paddingTop,o=t.paddingLeft,a=t.paddingRight,r=t.paddingBottom,s=t.top,c="\n                     left:  ".concat(e,";\n                     z-index: ").concat(n,";max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n                     padding-top: ").concat(i,";\n                     padding-left: ").concat(o,";\n                     padding-right: ").concat(a,";\n                     padding-bottom: ").concat(r,";\n\t\t\t\t\t top: ").concat(s);return c}},created:function(){var t,e,n,i=this.$props;t=i.device,i.childs,e=i.id,n=i.config,this.internal_config=n,this.device=t,"undefined"!==typeof e&&(this.id=e),this.internal_config=window.mergeRecursive(this.props,this.$props.config)},mounted:function(){var t=this;R.a.get("".concat(this.blogUrl,"/get-news")).then((function(e){console.log(e.data),t.posts=e.data})),this.$props.preview&&this.$root.$emit("applyAnimation",this,"sitebuilder-element-container");var e=[];$("[id]").each((function(){var t=$('[id="'+this.id+'"]');t.length>1&&t[0]==this&&parseInt(this.id)&&e.push(this.id)})),e.includes(this.id)&&(this.id=Date.now()+parseInt(1e4*Math.random()))}},$l=Il,Tl=(n("978a"),Object(b["a"])($l,ml,bl,!1,null,"1478b138",null)),Pl=Tl.exports,Ol=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{element:"PostBlogComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile,id:t.id,"config-properties":JSON.stringify(t.internal_config)},on:{click:function(e){return t.focusElement(e)},contextmenu:function(e){return e.preventDefault(),t.handler(e)}}},[e("div",{style:{"border-radius":t.radius,border:t.border}},[e("div",{staticClass:"card card-1"},[e("div",{staticClass:"title"},[e("h2",{staticStyle:{"font-family":"'Times New Roman', Times, serif !important"}},[t._v(t._s(t.post.title))])]),t._m(0),t._m(1),e("hr"),e("div",{staticClass:"card-body"},[e("div",{domProps:{innerHTML:t._s(t.post.content)}})]),e("hr"),e("div",{staticClass:"tags small",staticStyle:{margin:"15px"}},[e("p",t._l(t.post.categories,(function(n){return e("a",{key:n.id,staticClass:"color5",attrs:{title:"",href:""}},[t._v(t._s(n.name))])})),0)]),e("hr"),t._m(2),t._m(3)])])])},Al=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-img-block"},[e("img",{staticClass:"card-img-top",attrs:{src:"https://neilpatel.com/wp-content/uploads/2018/09/blog-neil-patel-700x475-min-700x475.jpg",alt:"Card image cap"}})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"avatar"},[e("img",{staticClass:"rounded-circle mr-3",attrs:{src:"https://abrilexame.files.wordpress.com/2018/10/capaprofile.jpg?quality=70&strip=info&w=720",height:"50px",width:"50px",alt:"avatar"}}),e("small",{staticClass:"card-subtitle mb-2 text-muted",attrs:{href:"#"}},[t._v("BuilderAll ")]),e("small",{staticClass:"card-subtitle mb-2 text-muted"},[t._v("1/1/2000 12:30")])])},function(){var t=this,e=t._self._c;return e("div",[e("h5",{staticClass:"Coment",staticStyle:{margin:"15px"}},[t._v("Comentários")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-md-8 bootstrap snippets"},[e("div",{staticClass:"panel"},[e("div",{staticClass:"panel-body"},[e("textarea",{staticClass:"form-control",staticStyle:{width:"500px"},attrs:{rows:"2",placeholder:"What are you thinking?"}}),e("div",{staticClass:"mar-top clearfix"},[e("button",{staticClass:"btn btn-sm btn-primary pull-right",attrs:{type:"submit"}},[e("i",{staticClass:"fa fa-pencil fa-fw"}),t._v(" Share\n                ")]),e("a",{staticClass:"btn btn-trans btn-icon fa fa-video-camera add-tooltip",attrs:{href:"#"}}),e("a",{staticClass:"btn btn-trans btn-icon fa fa-camera add-tooltip",attrs:{href:"#"}}),e("a",{staticClass:"btn btn-trans btn-icon fa fa-file add-tooltip",attrs:{href:"#"}})])])])])}],Rl={data:function(){return{props:{name:"PostBlogComponent",width:"650px",height:"50px",zIndex:"auto",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"0px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",maxWidth:"500px",themeBlog:"feed",showDesktop:!0,showMobile:!0,animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},elements:[],post:{title:"",content:"",categories:[],author:{}},internal_config:{width:"50px",height:"50px",zIndex:"auto",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}}}}},Bl=function(){var t=this,e=t._self._c;return e("div")},Ll=[],zl={data:function(){var t=this;return{element:null,resources:{zIndex:{name:"zIndex",defaultValue:"",labelDesc:"zIndex",callback:function(){t.resources.zIndex.defaultValue=this.value,t.element.internal_config.zIndex=this.value}},maxWidth:{name:"maxWidth",defaultValue:"500",min:"200",max:"768",labelDesc:"max-width-tablet",callback:function(){t.resources.maxWidth.defaultValue=this.value,t.element.internal_config.maxWidth=this.value+"px"}},themeBlog:{name:"themeBlog",defaultValue:"",labelDesc:"themeBlog",options:[{name:t.$t("ct-blog-feed"),value:"feed",selected:"selected",disabled:!1},{name:t.$t("ct-blog-category"),value:"category",selected:!1,disabled:!1}],callback:function(){t.resources.theme.defaultValue=this.value,t.element.internal_config.theme=this.value,t.applyChange(t.element.internal_config),t.element.rebuild()}},width:{name:"width",defaultValue:"300",min:"50",max:"1000",labelDesc:"width",callback:function(){t.resources.width.defaultValue=this.value,t.element.internal_config.width=this.value+"px"}},border:{name:"border",defaultValue:"1px solid black",min:"0",max:"50",labelDesc:"border",callback:function(){var e=this.value+"px "+this.value2+" "+this.value3;t.resources.border.defaultValue=e,t.element.internal_config.border=e}},borderRadius:{name:"borderRadius",defaultValue:"0 0 0 0",min:"0",max:"360",labelDesc:"borderRadius",callback:function(){var e=this.v1+"px "+this.v2+"px "+this.v3+"px "+this.v4+"px";t.resources.borderRadius.defaultValue=e,t.element.internal_config.borderRadius=e}},padding:{name:"padding",defaultLeft:"15",defaultTop:"15",defaultRight:"15",defaultBottom:"15",min:"0",max:"50",labelDesc:"padding",callback:function(){t.resources.padding.defaultLeft=this.l,t.element.internal_config.paddingLeft=this.l+"px",t.resources.padding.defaultTop=this.t,t.element.internal_config.paddingTop=this.t+"px",t.resources.padding.defaultRight=this.r,t.element.internal_config.paddingRight=this.r+"px",t.resources.padding.defaultBottom=this.b,t.element.internal_config.paddingBottom=this.b+"px"}}}}},methods:{setMinValuesData:function(t,e){this.resources[t].min=parseInt(e)},setValuesData:function(t){this.element=t,this.resources.maxWidth.defaultValue=parseInt(t.internal_config.maxWidth),this.resources.themeBlog.defaultValue=t.internal_config.themeBlog,this.resources.width.defaultValue=parseInt(t.internal_config.width),this.resources.border.defaultValue=t.internal_config.border,this.resources.borderRadius.defaultValue=t.internal_config.borderRadius,this.resources.padding.defaultLeft=parseInt(t.internal_config.paddingLeft),this.resources.padding.defaultTop=parseInt(t.internal_config.paddingTop),this.resources.padding.defaultRight=parseInt(t.internal_config.paddingRight),this.resources.padding.defaultBottom=parseInt(t.internal_config.paddingBottom)},getValuesData:function(){return this.resources}}},Ml=zl,El=Object(b["a"])(Ml,Bl,Ll,!1,null,null,null),Nl=El.exports,Dl={name:"PostBlogComponent",components:{Model:Rl,Resources:Nl},props:["config","height_start","device","id","preview"],mixins:[Cl],data:function(){return Rl.data()},computed:{width:function(){return this.internal_config.width},height:function(){return this.internal_config.height},border:function(){return this.internal_config.border},radius:function(){return this.internal_config.borderRadius}},methods:{animation:function(){return!0},rebuild:function(){var t=this,e=this,n=this.internal_config;this.internal_config={},this.$nextTick((function(){e.internal_config=n,t.$root.$emit("rSidebarEdition",e)}))},onResize:function(t,e,n,i){this.internal_config.width=n+"px",this.internal_config.height=i+"px",this.$refs.resourcesData.setValuesData(this)},focusElement:function(t){this.$root.$emit("focusElement",this),this.$root.$emit("handlerElement",this),t.stopPropagation(),t.preventDefault()},showResources:function(){return this.$refs.resourcesData.getValuesData()},changeOrderPanel:function(t,e){var n=t.$el.id,i=1===e?document.getElementById(n).nextSibling:d
1ocument.getElementById(n).previousSibling;if(null===i)return!0;var o=this;this.$root.$emit("changeOrderElementsInside",o.id,n,i.id,e)},handler:function(t){this.$root.$emit("focusElement",this),this.$root.$emit("handlerElement",this),t.stopPropagation(),t.preventDefault()},style:function(){var t=this.internal_config,e=t.left,n=t.width,i=t.zIndex,o=t.paddingTop,a=t.paddingLeft,r=t.paddingRight,s=t.paddingBottom,c=t.top,l="  width: ".concat(n," !important;\n                     left:  ").concat(e,";\n                     z-index: ").concat(i,";max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n                     padding-top: ").concat(o,";\n                     padding-left: ").concat(a,";\n                     padding-right: ").concat(r,";\n                     padding-bottom: ").concat(s,";\n\t\t\t\t\t top: ").concat(c);return l}},created:function(){var t,e,n,i=this.$props;t=i.device,i.childs,e=i.id,n=i.config,this.internal_config=n,this.device=t,"undefined"!==typeof e&&(this.id=e),this.internal_config=window.mergeRecursive(this.props,this.$props.config)},mounted:function(){var t=this,e=window.location.search,n=new URLSearchParams(e),i=n.get("id");R.a.get("".concat(this.blogUrl,"/get-new/").concat(i)).then((function(e){t.post=e.data})),this.$props.preview&&this.$root.$emit("applyAnimation",this,"sitebuilder-element-container");var o=[];$("[id]").each((function(){var t=$('[id="'+this.id+'"]');t.length>1&&t[0]==this&&parseInt(this.id)&&o.push(this.id)})),o.includes(this.id)&&(this.id=Date.now()+parseInt(1e4*Math.random()))}},jl=Dl,Hl=(n("a46f"),Object(b["a"])(jl,Ol,Al,!1,null,"43b438a4",null)),Fl=Hl.exports,Ul=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:t.id,element:"BlogFeedNewsComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile,"config-properties":JSON.stringify(t.internal_config)}},[1==t.internal_config.theme||2==t.internal_config.theme||3==t.internal_config.theme?e("div",[e("theme-1",{attrs:{options:t.allOptions}})],1):t._e(),4==t.internal_config.theme?e("div",[e("theme-grid",{attrs:{options:t.allOptions}})],1):t._e(),5==t.internal_config.theme?e("div",[e("theme-grid-simple",{attrs:{options:t.allOptions}})],1):t._e(),6==t.internal_config.theme?e("div",[e("theme-hexagon",{attrs:{options:t.allOptions}})],1):t._e(),t.paginator.show?e("div",{staticClass:"row"},[e("div",{staticClass:"col-12"},[e("p",{staticClass:"float-right"},[t._v("page: "+t._s(t.paginator.actual_page))])]),e("div",{staticClass:"col-12"},[e("div",{staticClass:"float-right"},[e("nav",{attrs:{"aria-label":"Page navigation example"}},[e("ul",{staticClass:"pagination"},[t.paginator.actual_page>3?e("li",{staticClass:"page-item",on:{click:function(e){return t.changePage("first")}}},[e("a",{staticClass:"page-link",style:{color:t.internal_config.colorReadMore},attrs:{href:"#"}},[t._v("First")])]):t._e(),t.paginator.actual_page>1?e("li",{staticClass:"page-item",on:{click:function(e){return t.changePage("previous")}}},[e("a",{staticClass:"page-link",style:{color:t.internal_config.colorReadMore},attrs:{href:"#"}},[t._v("Previous")])]):t._e(),t._l(t.paginator.pages,(function(n){return e("li",{key:n,staticClass:"page-item",on:{click:function(e){return t.changePage(n)}}},[e("a",{staticClass:"page-link",style:{color:t.internal_config.colorReadMore},attrs:{href:"#"}},[t._v(" "+t._s(n)+" ")])])})),t.paginator.actual_page<t.paginator.last_page?e("li",{staticClass:"page-item",on:{click:function(e){return t.changePage("next")}}},[e("a",{staticClass:"page-link",style:{color:t.internal_config.colorReadMore},attrs:{href:"#"}},[t._v("Next")])]):t._e(),t.paginator.actual_page<t.paginator.last_page?e("li",{staticClass:"page-item",on:{click:function(e){return t.changePage("last")}}},[e("a",{staticClass:"page-link",style:{color:t.internal_config.colorReadMore},attrs:{href:"#"}},[t._v("Last")])]):t._e()],2)])])])]):t._e()])},ql=[],Vl={data:function(){return{props:{name:"BlogFeedNewsComponent",width:"920px",height:"50px",zIndex:"auto",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"0px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",maxWidth:"500px",themeBlog:"feed",showDesktop:!0,showMobile:!0,animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},valueChanged:0,elements:[],posts:[],viewConfig:{key:"",pre_show_dripping:0,pre_block_dripping_url:0,pre_show_scheduled:0,pre_block_scheduled_url:0,date_format_preview_news:"YYYY-MM-DD"},postSearch:"",page:34,perPage:3,paginator:{pages:[],actual_page:1,last_page:100,show:!1},internal_config:{width:"50px",height:"50px",zIndex:"auto",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",colorDetails:"#5AD67D",colorReadMore:"#5AD67D",colorTitle:"#000",colorSubTitle:"#ddd",theme:1,dateFormat:"YYYY-MM-DD",textReadMore:"Read More",titleStyle:{fam
1ily:"Lato, sans-serif",size:"25px",sizeMobile:"15px",color:"black",align:"left",weight:"400",style:"initial",stroke:"none"},contentStyle:{family:"Lato, sans-serif",size:"15px",sizeMobile:"15px",color:"#4F4F4F",align:"left",weight:"400",style:"initial",stroke:"none"},cardBgColor:"white",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}}}}},Wl=function(){var t=this,e=t._self._c;return e("div",t._l(t.options.posts,(function(n){return e("div",{key:n.number,staticClass:"blog-card",class:{alt:3==t.options.theme&&n.number%2==0||2==t.options.theme},style:{"background-color":t.options.cardBgColor}},[e("div",{staticClass:"meta",style:{"background-color":t.options.cardBgColor}},[e("div",{staticClass:"photo",class:{"gray-scale":!n.readEnable},style:{"background-image":"url("+n.thumbnail+")","background-color":t.options.cardBgColor}}),e("ul",{staticClass:"details"},[e("li",{staticClass:"author"},[e("a",{attrs:{href:"/a/"+n.author.slug}},[t._v(t._s(n.author.name))])]),e("li",{staticClass:"date"},[t._v(" "+t._s(n.date_show))]),e("li",{staticClass:"tags"},[e("ul",t._l(n.categories,(function(n){return e("li",{key:n.id},[e("a",{attrs:{href:"/c/"+n.slug}},[t._v(t._s(n.name))])])})),0)])])]),e("div",{staticClass:"description",style:{"background-color":t.options.cardBgColor}},[e("h1",{staticClass:"clean-text-css desktop-element",style:t.options.titleStyle},[t._v(" "+t._s(n.title))]),e("h1",{staticClass:"clean-text-css mobile-element",style:t.options.titleStyleMobile},[t._v(" "+t._s(n.title))]),e("p",{staticClass:"clean-text-css desktop-element",style:t.options.contentStyle,domProps:{innerHTML:t._s(n.content.substr(0,250).toLowerCase())}},[t._v("\n        Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ad eum dolorum architecto obcaecati enim dicta\n        praesentium, quam nobis! Neque ad aliquam facilis numquam. Veritatis, sit.\n      ")]),e("p",{staticClass:"clean-text-css mobile-element",style:t.options.contentStyleMobile,domProps:{innerHTML:t._s(n.content.substr(0,250).toLowerCase())}},[t._v("\n          Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ad eum dolorum architecto obcaecati enim dicta\n          praesentium, quam nobis! Neque ad aliquam facilis numquam. Veritatis, sit.\n      ")]),n.readEnable?e("p",{staticClass:"read-more"},[e("a",{style:{color:t.options.colorReadMore},attrs:{href:"/"+n.url}},[t._v(t._s(t.options.textReadMore))])]):t._e()])])})),0)},Gl=[],Jl={name:"FeedNewsTheme1",props:["options"],methods:{altMethod:function(){return 2==this.options.theme||3==this.options.theme&&"undefined"!==typeof data&&data.number%2==0}},created:function(){var t=document.documentElement;t.style.setProperty("--deailt-color",this.colorDetails),t.style.setProperty("--btn-theme-grid-color-readmorehover",this.options.colorReadMoreHover)},watch:{options:function(){var t=document.documentElement;t.style.setProperty("--deailt-color",this.options.colorDetails),t.style.setProperty("--btn-theme-grid-color-readmorehover",this.options.colorReadMoreHover)}}},Yl=Jl,Kl=(n("d72c"),Object(b["a"])(Yl,Wl,Gl,!1,null,"1f01974a",null)),Zl=Kl.exports,Ql=function(){var t=this,e=t._self._c;return e("div",[e("div",[e("div",{staticClass:"container my-5"},[e("div",{staticClass:"row"},t._l(t.options.posts,(function(n){return e("div",{key:n.number,staticClass:"col-blog"},[e("div",{staticClass:"component-card"},[e("div",{staticClass:"component-card_image"},[e("div",{staticClass:"component-card_image-inside"},[e("img",{attrs:{src:"https://omb11.com"+n.thumbnail,alt:"",title:""}})])]),e("div",{staticClass:"blog-detail"},[e("h3",{staticClass:"clean-text-css",style:t.options.titleStyle},[t._v(t._s(n.title))]),e("h3",{staticClass:"clean-text-css mobile-element",style:t.options.titleStyleMobile},[t._v(t._s(n.title))]),e("label",[t._v(t._s(n.date_create))]),e("p",{staticClass:"content-preview",style:t.options.contentStyle,domProps:{innerHTML:t._s(n.content.substr(0,500).toLowerCase())}}),e("p",{staticClass:"content-preview mobile-element",style:t.options.contentStyleMobile,domProps:{innerHTML:t._s(n.content.substr(0,500).toLowerCase())}}),n.readEnable?e("a",{staticClass:"btn btn-read-more",style:{color:t.options.colorReadMore},attrs:{href:"#"},on:{click:function(e){return t.redir(n.url)}}},[t._v(t._s(t.options.textReadMore)+" ")]):t._e()])])])})),0)])])])},Xl=[],td={name:"FeedNewsThemeGrid",props:["options"],created:function(){var t=document.documentElement;t.style.setProperty("--btn-theme-grid-color-readmore",this.options.colorReadMore),t.style.setProperty("--btn-theme-grid-color-details",this.options.colorDetails),t.style.setProperty("--btn-theme-grid-color-border","2px solid "+this.options.colorReadMore),t.style.setProperty("--btn-theme-grid-hover-color",this.options.colorReadMore),t.style.setProperty("--btn-theme-grid-color",this.options.colorDetails)},watch:{options:function(){var t=document.documentElement;t.style.setProperty("--btn-theme-grid-color-readmore",this.options.colorReadMore),t.style.setProperty("--btn-theme-grid-color-details",this.options.colorDetails),t.style.setProperty("--btn-theme-grid-color-border","2px solid "+this.options.colorReadMore),t.style.setProperty("--btn-theme-grid-hover-color",this.options.colorReadMore),t.style.setProperty("--btn-theme-grid-color",this.options.colorDetails)}},methods:{redir:function(t){window.location.href=t}}},ed=td,nd=(n("3613"),Object(b["a"])(ed,Ql,Xl,!1,null,"47dd9810",null)),id=nd.exports,od=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"container"},[e("div",{staticClass:"row"},t._l(t.options.posts,(function(n){return e("div",{key:n.number,staticClass:"col-md-4 col-blog"},[e("div",{staticClass:"inner"},[e("p",{staticClass:"category"},[t._l(n.categories,(function(n){return e("a",{key:n.id,style:{color:t.options.colorReadMore},attrs:{href:"/c/"+n.slug}},[t._v("\n                        "+t._s(n.name)+"  "),e("br")])})),e("br"),e("span",{staticClass:"date",style:{color:t.options.colorReadMore,"margin-top":"15px"}},[e("i",{staticClass:"fa fa-clock-o"}),t._v(" "+t._s(n.date_show))])],2),e("h2",{staticClass:"clean-text-css desktop-element",style:t.options.titleStyle},[t._v(t._s(n.title))]),e("h2",{staticClass:"clean-text-css mobile-element",style:t.options.titleStyleMobile},[t._v(t._s(n.title))]),e("p",{staticClass:"clean-text-css desktop-element",style:t.options.contentStyle,domProps:{innerHTML:t._s(n.content.substr(0,500).toLowerCase())}},[t._v("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec suscipit justo ex, vel scelerisque magna volutpat ut. Nunc ultrices facilisis orci, pulvinar gravida orci mattis quis.")]),e("p",{staticClass:"clean-text-css mobile-element",style:t.options.contentStyleMobile,domProps:{innerHTML:t._s(n.content.substr(0,500).toLowerCase())}},[t._v("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec suscipit justo ex, vel scelerisque magna volutpat ut. Nunc ultrices facilisis orci, pulvinar gravida orci mattis quis.")]),n.readEnable?e("a",{staticClass:"read-more",style:{color:t.options.colorReadMore},attrs:{href:"/"+n.url},on:{click:function(e){return t.redir(n.url)}}},[t._v(t._s(t.options.textReadMore)+" ")]):t._e()])])})),0)])])},ad=[],rd={props:["options"],name:"ThemeGridSimple",created:function(){var t=document.documentElement;t.style.setProperty("--btn-theme-grid-color",this.options.cardBgColor),t.style.setProperty("--btn-theme-grid-color-hover",this.options.colorDetails),t.style.setProperty("--btn-theme-grid-color-readmorehover",this.options.colorReadMoreHover)},methods:{redir:function(t){window.location.href=t}},watch:{options:function(){var t=document.documentElement;t.style.setProperty("--btn-theme-grid-color",this.options.cardBgColor),t.style.setProperty("--btn-theme-grid-color-hover",this.options.colorDetails),t.style.setProperty("--btn-theme-grid-color-readmorehover",this.options.colorReadMoreHover)}}},sd=rd,cd=(n("4858"),Object(b["a"])(sd,od,ad,!1,null,"5adab759",null)),ld=cd.exports,dd=function(){var t=this,e=t._self._c;return e("div",[e("section",t._l(t.options.posts,(function(n){return e("div",{key:n.number,staticClass:"blog-card web",style:{"background-image":"url(https://
1omb11.com"+n.thumbnail+")"}},[e("div",{staticClass:"content-mask"},[t._l(n.categories_list,(function(n){return e("span",{key:n.id,staticClass:"category",style:{background:t.options.colorDetails}},[t._v(t._s(n))])})),e("h1",{staticClass:"clean-text-css",style:t.options.titleStyle},[t._v("Improving Website Performance")]),e("p",{staticClass:"clean-text-css",style:t.options.contentStyle,domProps:{innerHTML:t._s(n.content.substr(0,300).toLowerCase())}},[t._v("A practical guide to speeding up your website loading-times")]),e("div",{staticClass:"post-detail"},[e("span",{staticClass:"icon"},[e("svg",{staticClass:"svg-inline--fa fa-calendar-alt fa-w-14",attrs:{"aria-hidden":"true","data-prefix":"far","data-icon":"calendar-alt",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512","data-fa-i2svg":""}},[e("path",{attrs:{fill:"currentColor",d:"M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"}})])]),e("span",{staticClass:"date"},[t._v(" "+t._s(n.date_show)+"  ")])])],2),e("div",{staticClass:"horizontal"})])})),0)])},ud=[],hd={props:["options"],name:"ThemeHxagon",watch:{options:function(){var t=document.documentElement;t.style.setProperty("--bg-color-blog",this.options.cardBgColor),t.style.setProperty("--bg-color-blog-gradient","linear-gradient(to top right, "+this.options.cardBgColor+" 50%, transparent 0)")}}
1,methods:{calcDate:function(t){return t.dripping_total_seconds>0?Ni()(t.created_at).add(t.dripping_total_seconds,"seconds").calendar():t.date_show}},computed:{showDate:function(){return Ni()().add(1,"days").calendar()}}},gd=hd,fd=(n("be74"),Object(b["a"])(gd,dd,ud,!1,null,"49fe23de",null)),pd=fd.exports,md={name:"BlogFeedNewsComponent",props:["config","id"],mixins:[Cl],components:{Theme1:Zl,ThemeGrid:id,ThemeGridSimple:ld,ThemeHexagon:pd},data:function(){return Vl.data()},methods:{focusElement:function(t){this.$root.$emit("focusElement",this),this.$root.$emit("handlerElement",this),t.stopPropagation(),t.preventDefault()},build:function(t){this.internal_config=t},animation:function(){return!1},style:function(){var t=this.internal_config,e=t.left,n=t.zIndex,i=t.paddingTop,o=t.paddingLeft,a=t.paddingRight,r=t.paddingBottom,s=t.top,c="\n                     left:  ".concat(e,";\n                     z-index: ").concat(n,";\n                     max-width: ").concat(this.internal_config.maxWidth,";\n                     width: ").concat(this.internal_config.width,";\n                     margin: 0 auto;\n                     padding-top: ").concat(i,";\n                     padding-left: ").concat(o,";\n                     padding-right: ").concat(a,";\n                     padding-bottom: ").concat(r,";\n\t\t\t\t\t top: ").concat(s);return c},getkey:function(){var t=this,e=this,n="".concat(this.blogUrl,"/get-key?website_id=").concat(window.OPTIONS_INIT_SITE.options.w_code);R.a.get(n).then((function(n){t.viewConfig=n.data,null==localStorage.getItem("utc_time_"+t.viewConfig.key)&&localStorage.setItem("utc_time_"+t.viewConfig.key,Ni()().utc().unix()),e.getPosts(t.viewConfig.key)}))},getPosts:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this;("previous"==this.paginator.actual_page||this.paginator.actual_page<1)&&(this.paginator.actual_page=1),this.paginator.actual_page>this.paginator.last_page&&(this.paginator.actual_page=this.paginator.last_page);var i="undefined"!=typeof this.internal_config.perPage?this.internal_config.perPage:8,o="".concat(this.blogUrl,"/get-news?perpage=").concat(i,"&page=").concat(this.paginator.actual_page,"&website_id=").concat(window.OPTIONS_INIT_SITE.options.w_code);if("/s"===window.location.pathname){var a=window.location.search,r=new 
1URLSearchParams(a),s=r.get("query");null!==s&&(o=o+"&search="+s)}if(-1!==window.location.pathname.indexOf("/c/")){var c=window.location.pathname.replace("/c/","");null!==c&&(o=o+"&category="+c)}if(-1!==window.location.pathname.indexOf("/a/")){var l=window.location.pathname.replace("/a/","");null!==l&&(o=o+"&author="+l)}e&&(o=o+"&utc_time="+localStorage.getItem("utc_time_"+e)),console.log(o);var d=n.$parent.$el.getBoundingClientRect();$(n.$parent.$el).position().top,$(n.$parent.$el).offset().left,d.width,$(n.$el).height();R.a.get(o).then((function(e){var i=e.data.data;i.length>0&&(t.paginator.show=!0),t.paginator.last_page=e.data.last_page;var o=t.paginator.actual_page>=3?t.paginator.actual_page-2:1,a=t.paginator.actual_page<=3?5:t.paginator.actual_page+2;for(a>t.paginator.last_page&&(a=t.paginator.last_page,o=t.paginator.last_page-5),o<1&&(o=1),1==a&&(t.paginator.show=!1),t.paginator.pages=[];o<=a;o++)t.paginator.pages.push(o);n.posts=i}))},changePage:function(t){switch(t){case"previous":this.paginator.actual_page--;break;case"next":this.paginator.actual_page++;break;case"first":this.paginator.actual_page=1;break;case"last":this.paginator.actual_page=this.paginator.last_page;break;default:this.paginator.actual_page=t;break}this.getkey()}},created:function(){var t,e,n,i=this.$props;t=i.device,i.childs,e=i.id,n=i.config,this.internal_config=n,this.device=t,"undefined"!==typeof e&&(this.id=e),this.internal_config=window.mergeRecursive(this.props,this.$props.config)},mounted:function(){var t=this;this.getkey(),this.build(this.$props.config),this.$root.$on("setConfigElement",(function(e,n){t.id==e&&(t.config=n,t.internal_config=n)}));var e=[];$("[id]").each((function(){var t=$('[id="'+this.id+'"]');t.length>1&&t[0]==this&&parseInt(this.id)&&e.push(this.id)})),e.includes(this.id)&&(this.id=Date.now()+parseInt(1e4*Math.random()))},computed:{allOptions:function(){var t=this,e=0,n=[];this.posts.forEach((function(i){i.readEnable=!0,i.number=e,i.date_show=Ni()(String(i.scheduled_date)).add(Ni()().utcOffset(),"minutes").format(t.internal_config.dateFormat),"Dripping"==i.date_cycle&&(i.date_show=Ni()().add(i.dripping_total_seconds,"seconds").format(t.viewConfig.date_format_preview_news),i.readEnable=!1),"Scheduled"==i.date_cycle&&(i.date_show=Ni()(String(i.scheduled_date)).add(Ni()().utcOffset(),"minutes").format(t.viewConfig.date_format_preview_news),i.readEnable=!1),null!=i.thumbnail&&"null"!=i.thumbnail||(i.thumbnail="https://loremflickr.com/320/240"),e++,n.push(i)}));var i="font-family:  ".concat(this.internal_config.titleStyle.family,";\n                  font-size: ").concat(this.internal_config.titleStyle.size,";\n                  text-align: ").concat(this.internal_config.titleStyle.align,";\n                  font-weight: ").concat(this.internal_config.titleStyle.weight,";\n                  font-style: ").concat(this.internal_config.titleStyle.style,";\n                  text-decoration: ").concat(this.internal_config.titleStyle.stroke,";\n                  color: ").concat(this.internal_config.titleStyle.color),o="font-family:  ".concat(this.internal_config.titleStyle.family,";\n                 font-size: ").concat(this.internal_config.titleStyle.sizeMobile," !important;\n                 line-height: ").concat(this.internal_config.titleStyle.sizeMobile," !important;\n                 text-align: ").concat(this.internal_config.titleStyle.align,";\n                 text-decoration: ").concat(this.internal_config.titleStyle.stroke,";\n                 font-weight: ").concat(this.internal_config.titleStyle.weight,";\n                 font-style: ").concat(this.internal_config.titleStyle.style,";\n                 color:").concat(this.internal_config.titleStyle.color),a="font-family:  ".concat(this.internal_config.contentStyle.family,";\n                  font-size: ").concat(this.internal_config.contentStyle.size,";\n                  text-align: ").concat(this.internal_config.contentStyle.align,";\n                  font-weight: ").concat(this.internal_config.contentStyle.weight,";\n                  font-style: ").concat(this.internal_config.contentStyle.style,";\n                  text-decoration: ").concat(this.internal_config.contentStyle.stroke,";\n                  height: ").concat(this.internal_config.contentStyle.height,";\n                  overflow: hidden;\n                  margin-top: 15px;\n                  color: ").concat(this.internal_config.contentStyle.color),r="font-family:  ".concat(this.internal_config.contentStyle.family,";\n                 font-size: ").concat(this.internal_config.contentStyle.sizeMobile," !important;\n                 line-height: ").concat(this.internal_config.contentStyle.sizeMobile," !important;\n                 text-align: ").concat(this.internal_config.contentStyle.align,";\n                 text-decoration: ").concat(this.internal_config.contentStyle.stroke,";\n                 font-weight: ").concat(this.internal_config.contentStyle.weight,";\n                 font-style: ").concat(this.internal_config.contentStyle.style,";\n                 color:").concat(this.internal_config.contentStyle.color);return{posts:n,theme:this.internal_config.theme,titleStyle:i,titleStyleMobile:o,contentStyle:a,contentStyleMobile:r,cardBgColor:this.internal_config.cardBgColor,colorReadMore:this.internal_config.colorReadMore,textReadMore:this.internal_config.textReadMore,colorDetails:this.internal_config.colorDetails}},filteredposts:function(){var t=this,e=0,n=[];
1return this.posts.forEach((function(i){i.number=e,i.date_show=Ni()(String(i.created_at)).format(t.internal_config.dateFormat),e++,n.push(i)})),n}}},bd=md,_d=Object(b["a"])(bd,Ul,ql,!1,null,null,null),yd=_d.exports,vd=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:t.id,element:"BlogPostComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile,"config-properties":JSON.stringify(t.internal_config)}},[e("simple-theme",{key:t.internal_config.key,attrs:{article:t.article,display_date:t.displayDate,show:t.internal_config.show,colors:t.internal_config.colors,styles:t.internal_config.styles,capture:t.capture_settings,is_logged:t.isLoggedRestrictArea()}})],1)},wd=[],xd={data:function(){return{key:0,heightLoad:0,heightNow:0,is_capture:0,capture_settings:{theme:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center"},login_button_settings:{text:"Login",style:{fontFamily:"Courier New",fontSize:"14px",background:"#4396E6",color:"#E0E0E0",borderRadius:"50px",padding:"37px",margin:"23px"}},register_button_settings:{text:"Register",style:{fontFamily:"Courier New",fontSize:"14px",background:"#4396E6",color:"#E0E0E0",borderRadius:"50px",padding:"37px",margin:"23px"}}},article:{title:"",scheduled_date:"2020-01-01",display_date:"",content:"",author:{name:"",thumbnail:"",slug:"#",email:!1,facebook_url:!1,instagram_url:!1,twitter_url:!1,linkedin_url:!1,youtube_url:!1,medium_url:!1},categories:[]},props:{name:"BlogPostComponent",zIndex:"auto",paddingTop:"0px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px"},elements:[],internal_config:{width:"1000px",height:"500px",zIndex:"auto",showDesktop:!0,showMobile:!0,paddingTop:"0px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",left:"0px",top:"0px",show:{display:!1,categories:!0,author:!0,date:!0,formatDate:"YYYY-MM-DD",shareBar:{display:!0,email:!0,copy:!0,facebook:!0,instagram:!0,twitter:!0,linkedin:!0,youtube:!0,medium:!0,pinterest:!0,whatsapp:!0,telegram:!0,align:"left",theme:"circle"}},colors:{color_1:"white",color_2:"#000",color_3:"#fff",color_4:"#000",color_5:"#000"},styles:{title:{family:"Lato, sans-serif",size:"25px",sizeMobile:"15px",color:"black",align:"left",weight:"400",style:"initial",stroke:"none"},author:{family:"Lato, sans-serif",size:"25px",sizeMobile:"15px",color:"black",align:"left",weight:"400",style:"initial",stroke:"none"},categories:{family:"Lato, sans-serif",size:"25px",sizeMobile:"15px",color:"black",align:"left",weight:"400",style:"initial",stroke:"none"}}}}}},kd=function(){var t=this,e=t._self._c;return e("article",{staticClass:"card w-100",style:t.cardStyle()},[e("h1",{staticClass:"clean-text-css desktop-element",style:t.titleStyle(),domProps:{innerHTML:t._s(t.article.title)}}),e("h1",{staticClass:"clean-text-css mobile-element",style:t.titleStyle(!1),domProps:{innerHTML:t._s(t.article.title)}}),e("div",{class:"post-info ".concat(!t.show.author&&"only-social-bar")},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.show.author,expression:"show.author"}],staticClass:"author-content"},[e("img",{attrs:{src:t.article.author.thumbnail,width:"70px",height:"70px"}}),e("div",{staticClass:"author-content-info"},[e("a",{staticClass:"author-name clean-text-css desktop-element",style:t.authorStyle(),attrs:{href:"/a/".concat(t.article.author.slug)}},[t._v("\n        "+t._s(t.article.author.name)+"\n        ")]),e("a",{staticClass:"author-name clean-text-css mobile-element",style:t.authorStyle(!1),attrs:{href:"/a/".concat(t.article.author.slug)}},[t._v("\n          "+t._s(t.article.author.name)+"\n        ")]),t.show.date?e("span",{staticClass:"post-date desktop-element",style:t.authorStyle()}):t._e(),t.show.date?e("span",{staticClass:"post-date mobile-element",style:t.authorStyle(!1)}):t._e()])]),e("social-bar",{directives:[{name:"show",rawName:"v-show",value:t.show.author,expression:"show.author"}],attrs:{icons:t.article.author}})],1),!+t.article.is_capture||t.is_logged?e("div",{staticClass:"post-content content-post ql-editor",domProps:{innerHTML:t._s(t.article.content)}}):e("div",[e("div",[e("div",{staticClass:"post-content content-post ql-editor",domProps:{innerHTML:t._s(t.article.message_capture)}}),e("div",{staticClass:"post-content content-post ql-editor",domProps:{innerHTML:t._s(t.capture.content)}}),e("div",{style:t.captureDivStyle()},[e("a",{style:t.captureRegisterButton(),attrs:{href:"/blog-login?post=".concat(t.article.url)}},[t._v(t._s(t.capture.register_button_settings.text))]),e("a",{style:t.captureLoginButton(),attrs:{href:"/blog-login?post=".concat(t.article.url)}},[t._v(t._s(t.capture.login_button_settings.text)+" ")])])])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.show.shareBar.display,expression:"show.shareBar.display"}],staticClass:"share-bar",style:t.shareBarDivStyle()},[e("span",{directives:[{name:"show",rawName:"v-show",value:t.show.shareBar.copy,expression:"show.shareBar.copy"}],staticClass:"post-share-icon fas fa-link",style:t.shareButtonStyle(),on:{click:t.copyCLipBoard}}),e("a",{directives:[{name:"show",rawName:"v-show",value:t.show.shareBar.email,expression:"show.shareBar.email"}],staticClass:"post-share-icon far fa-envelope",style:t.shareButtonStyle(),attrs:{href:t.showUrl("email"),target:"_blank"}}),e("a",{directives:[{name:"show",rawName:"v-show",value:t.show.shareBar.facebook,expression:"show.shareBar.facebook"}
1],staticClass:"post-share-icon fab fa-facebook-f",style:t.shareButtonStyle(),attrs:{href:t.showUrl("facebook"),target:"_blank"}}),e("a",{directives:[{name:"show",rawName:"v-show",value:t.show.shareBar.twitter,expression:"show.shareBar.twitter"}],staticClass:"post-share-icon icon-x",style:t.shareButtonStyle(),attrs:{href:t.showUrl("twitter"),target:"_blank"}},[e("svg",{staticStyle:{fill:"#fff",width:"22px",height:"22px"},attrs:{width:"30",height:"30",viewBox:"0 0 30 30",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M20.75 3h3.065l-6.699 10.167L24.998 27h-6.17l-4.832-8.39-5.531 8.388h-3.07l7.166-10.873L5 3h6.328l4.368 7.668L20.75 3Zm-1.078 21.564h1.7L10.405 5.31H8.58l11.092 19.254Z"}})])]),e("a",{directives:[{name:"show",rawName:"v-show",value:t.show.shareBar.pinterest,expression:"show.shareBar.pinterest"}],staticClass:"post-share-icon fab fa-pinterest",style:t.shareButtonStyle(),attrs:{href:t.showUrl("pinterest"),target:"_blank"}}),e("a",{directives:[{name:"show",rawName:"v-show",value:t.show.shareBar.linkedin,expression:"show.shareBar.linkedin"}],staticClass:"post-share-icon fab fa-linkedin-in",style:t.shareButtonStyle(),attrs:{href:t.showUrl("linkedin"),target:"_blank"}}),e("span",{staticClass:"mobile-element"},[e("a",{directives:[{name:"show",rawName:"v-show",value:t.show.shareBar.whatsapp,expression:"show.shareBar.whatsapp"}],staticClass:"post-share-icon fab fa-whatsapp",style:t.shareButtonStyle(),attrs:{href:t.showUrl("whatsapp"),target:"_blank"}}),e("a",{directives:[{name:"show",rawName:"v-show",value:t.show.shareBar.telegram,expression:"show.shareBar.telegram"}],staticClass:"post-share-icon fab fa-telegram",style:t.shareButtonStyle(),attrs:{href:t.showUrl("telegram"),target:"_blank"}})])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.show.categories,expression:"show.categories"}],staticClass:"categories-info",style:t.categoryDivStyle()},t._l(t.article.categories,(function(n){return e("a",{key:n.url,style:t.categoryStyle(),attrs:{href:"/c/".concat(n.url)}},[t._v(t._s(n.name))])})),0),e("div",{directives:[{name:"show",rawName:"v-show",value:t.show.author,expression:"show.author"}],staticClass:"post-info"},[e("div",{staticClass:"author-content"},[e("img",{attrs:{src:t.article.author.thumbnail,width:"70px",height:"70px"}}),e("div",{staticClass:"author-info"},[e("a",{staticClass:"author-name clean-text-css desktop-element",style:t.authorStyle(),attrs:{href:"/a/".concat(t.article.author.slug)}},[t._v("\n       "+t._s(t.article.author.name)+"\n        ")]),e("a",{staticClass:"author-name clean-text-css mobile-element",style:t.authorStyle(!1),attrs:{href:"/a/".concat(t.article.author.slug)}},[t._v("\n       "+t._s(t.article.author.name)+"\n        ")])])])]),t.article.enabled_comments?e("comments",{attrs:{is_logged:t.is_logged,article:t.article}}):t._e()],1)},Sd=[],Cd=function(){var t=this,e=t._self._c;return e("div",{staticClass:"icons"},[t.icons.email?e("a",{style:{color:t.iconsColor.email},attrs:{href:"mailto:".concat(t.icons.email),target:"_blank"}},[e("i",{staticClass:"fa fa-envelope"})]):t._e(),t.icons.facebook_url?e("a",{style:{color:t.iconsColor.facebook},attrs:{href:t.icons.facebook_url,target:"_blank"}},[e("i",{staticClass:"fab fa-facebook-f"})]):t._e(),t.icons.twitter_url?e("a",{style:{color:t.iconsColor.twitter},attrs:{href:t.icons.twitter_url,target:"_blank"}},[e("i",{staticClass:"fab fa-twitter"})]):t._e(),t.icons.instagram_url?e("a",{style:{color:t.iconsColor.instagram},attrs:{href:t.icons.instagram_url,target:"_blank"}},[e("i",{staticClass:"fab fa-instagram"})]):t._e(),t.icons.linkedin_url?e("a",{style:{color:t.iconsColor.linkedin},attrs:{href:t.icons.linkedin_url,target:"_blank"}},[e("i",{staticClass:"fab fa-linkedin-in"})]):t._e(),t.icons.youtube_url?e("a",{style:{color:t.iconsColor.youtube},attrs:{href:t.icons.youtube_url,target:"_blank"}},[e("i",{staticClass:"fab fa-youtube"})]):t._e(),t.icons.medium_url?e("a",{style:{color:t.iconsColor.medium},attrs:{href:t.icons.medium_url,target:"_blank"}},[e("i",{staticClass:"fab fa-medium-m"})]):t._e()])},Id=[],$d={name:"SocialBarSimple",props:["icons"],data:function(){return{iconsColor:{email:"#363636",facebook:"#1877f2",instagram:"#d00174",twitter:"#1da1f2",linkedin:"#2867b2",youtube:"#ff0000",medium:"#12100e"}}},mounted:function(){console.log(this.icons)}},Td=$d,Pd=(n("c76e"),Object(b["a"])(Td,Cd,Id,!1,null,"129983ef",null)),Od=Pd.exports,Ad=function(){var t=this,e=t._self._c;return e("div",{staticClass:"wrapper-comments"},[e("h5",{domProps:{textContent:t._s(t.$t("ct-comments"))}}),t.is_logged?e("div",{staticClass:"wrapper-comments__textarea"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.comment,expression:"comment"}],attrs:{placeholder:"".concat(t.$t("ct-add-comments"),"...")},domProps:{value:t.comment},on:{input:function(e){e.target.composing||(t.comment=e.target.value)}}}),e("div",{staticClass:"wrapper-comments__textarea-options"},[t.SelectedComment.id?e("small",{domProps:{textContent:t._s("".concat(t.$t("ct-answering-comment")," ").concat(t.SelectedComment.name))}}):t._e(),e("div",{staticClass:"wrapper-comments__textarea-buttons"},[e("button",{directives:[{name:"show",rawName:"v-show",value:t.SelectedComment.id,expression:"SelectedComment.id"}],on:{click:t.cancelReply}},[t._v("\n        "+t._s(t.$t("ct-cancel-publication"))+"\n        ")]),e("button",{class:"wrapper-comments__textarea-buttons__theme-".concat(t.theme),domProps:{textContent:t._s(t.$t("ct-comment"))},on:{click:t.handleComment}})])])]):e("div",[1===t.theme?e("simple-theme",{attrs:{url:t.article.url}}):t._e(),2===t.theme?e("dark-green-theme",{attrs:{url:t.article.url}}):t._e(),3===t.theme?e("gradient-theme",{attrs:{url:t.article.url}}):t._e()],1),t.approval?e("div",{staticClass:"alert alert-light alert-dismissible fade show mt-3 wrapper-comments__alert",attrs:{role:"alert"}},[t._v("\n    "+t._s(t.$t("ct-approve-comment"))+"\n    "),e("button",{staticClass:"close",attrs:{type:"button"},on:{click:function(e){t.approval=!1}}},[e("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])])]):t._e(),e("ul",{staticClass:"wrapper-comments__list"},t._l(t.comments,(function(n,i){return e("li",{key:i},[e("div",{staticClass:"wrapper-comments__main"},[t._m(0,!0),e("div",{staticClass:"wrapper-comments__box"},[e("div",{staticClass:"wrapper-comments__box-head"},[e("div",{staticClass:"wrapper-comments__box-head__info"},[e("h6",{class:n.is_author?"by-author":"",domProps:{textContent:t._s(n.name)}}),e("span",{domProps:{textContent:t._s(t.handleDate(n.created_at))}})]),e("div",{staticClass:"wrapper-comments__box-head__options"},[t._v("\n              "+t._s(n.likes.length&&!n.deleted_by_author?n.likes.length:"")+"\n              "),n.deleted_by_author?t._e():e("i",{staticClass:"fa fa-heart",style:n.liked?"color: #ed4957":"",on:{click:function(e){return t.handleLike(n)}}}),t.is_logged&&!n.deleted_by_author?e("i",{staticClass:"fa fa-reply",attrs:{"data-toggle":"tooltip","data-
1placement":"top",title:"",disabled:!1},on:{click:function(e){return t.handleReply(n)}}}):t._e(),e("div",{staticClass:"modal wrapper-comments__box-head__options__delete",attrs:{id:"delete-comment-".concat(n.id)}},[e("span",[t._v(t._s(t.$t("ct-delete-comments")))]),e("div",{staticClass:"mt-4"},[e("button",{staticClass:"btn btn-light",attrs:{"data-dismiss":"modal"}},[t._v(t._s(t.$t("ct-cancel-publication")))]),e("button",{staticClass:"btn btn-outline-danger ml-2",on:{click:function(e){return t.handleDelete(n.id)}}},[t._v(t._s(t.$t("ct-confirm")))])])]),n.email===t.config.email&&t.is_logged&&!n.deleted_by_author?e("i",{staticClass:"fas fa-trash",attrs:{"data-toggle":"modal","data-target":"#delete-comment-".concat(n.id)}}):t._e()])]),n.deleted_by_author?e("div",{staticClass:"wrapper-comments__box-content",domProps:{textContent:t._s("deleted by author")}}):t._e(),n.deleted_by_owner?e("div",{staticClass:"wrapper-comments__box-content",domProps:{textContent:t._s("deleted by owner")}}):t._e(),n.deleted_by_author||n.deleted_by_owner?t._e():e("div",{staticClass:"wrapper-comments__box-content",domProps:{textContent:t._s(n.comment)}})])]),e("ul",{staticClass:"wrapper-comments__list wrapper-comments__reply"},t._l(n.replys,(function(n,i){return e("li",{key:i},[t._m(1,!0),e("div",{staticClass:"wrapper-comments__box"},[e("div",{staticClass:"wrapper-comments__box-head"},[e("div",{staticClass:"wrapper-comments__box-head__info"},[e("h6",{class:n.is_author?"by-author":"",domProps:{textContent:t._s(n.name)}}),e("span",{domProps:{textContent:t._s(t.handleDate(n.created_at))}})]),e("div",{staticClass:"wrapper-comments__box-head__options"},[t._v("\n                "+t._s(n.likes.length&&!n.deleted_by_author?n.likes.length:"")+"\n                "),n.deleted_by_author?t._e():e("i",{staticClass:"fa fa-heart",style:n.liked?"color: red":"",on:{click:function(e){return t.handleLike(n)}}}),e("div",{staticClass:"modal wrapper-comments__box-head__options__delete",attrs:{id:"delete-comment-".concat(n.id)}},[e("span",{domProps:{textContent:t._s(t.$t("ct-delete-comments"))}}),e("div",{staticClass:"mt-4"},[e("button",{staticClass:"btn btn-light",attrs:{"data-dismiss":"modal"},domProps:{textContent:t._s(t.$t("ct-cancel-publication"))}}),e("button",{staticClass:"btn btn-outline-danger ml-2",domProps:{textContent:t._s(t.$t("ct-confirm"))},on:{click:function(e){return t.handleDelete(n.id)}}})])]),n.email===t.config.email&&!n.deleted_by_author&&t.is_logged?e("i",{staticClass:"fas fa-trash",attrs:{"data-toggle":"modal","data-target":"#delete-comment-".concat(n.id)}}):t._e()])]),n.deleted_by_author?e("div",{staticClass:"wrapper-comments__box-content",domProps:{textContent:t._s("deleted by author")}}):t._e(),n.deleted_by_owner?e("div",{staticClass:"wrapper-comments__box-content",domProps:{textContent:t._s(n.comment)}}):t._e(),n.deleted_by_author||n.deleted_by_owner?t._e():e("div",{staticClass:"wrapper-comments__box-content",domProps:{textContent:t._s(n.comment)}})])])})),0)])})),0),e("button",{directives:[{name:"show",rawName:"v-show",value:t.showMore,expression:"showMore"}],staticClass:"wrapper-comments__more-comments",domProps:{textContent:t._s(t.$t("ct-more-comments"))},on:{click:function(e){return t.moreComments()}}})])},Rd=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"wrapper-comments__avatar"},[e("img",{attrs:{src:"/static/user-avatar.png",alt:""}})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"wrapper-comments__reply-avatar"},[e("img",{attrs:{src:"/static/user-avatar.png",alt:""}})])}],Bd=function(){var t=this,e=t._self._c;return e("div",{staticClass:"wrapper-login"},[e("span",{domProps:{textContent:t._s(t.$t("ct-comment-theme-title"))}}),e("div",[e("a",{attrs:{href:"/blog-login?post=".concat(t.url)},domProps:{textContent:t._s(t.$t("ct-sign-up"))}}),e("a",{attrs:{href:"/blog-login?post=".concat(t.url)},domProps:{textContent:t._s(t.$t("ct-sign-in"))}})])])},Ld=[],zd={name:"SimpleTheme",props:["url"]},Md=zd,Ed=(n("fa8c"),Object(b["a"])(Md,Bd,Ld,!1,null,"5ee78996",null)),Nd=Ed.exports,Dd=function(){var t=this,e=t._self._c;return e("div",{staticClass:"wrapper-login"},[e("span",{domProps:{textContent:t._s(t.$t("ct-comment-theme-title"))}}),e("div",[e("a",{attrs:{href:"/blog-login?post=".concat(t.url)},domProps:{textContent:t._s(t.$t("ct-sign-up"))}}),e("a",{attrs:{href:"/blog-login?post=".concat(t.url)},domProps:{textContent:t._s(t.$t("ct-sign-in"))}})])])},jd=[],Hd={name:"DarkGreenTheme",props:["url"]},Fd=Hd,Ud=(n("3098"),Object(b["a"])(Fd,Dd,jd,!1,null,"032b6c6b",null)),qd=Ud.exports,Vd=function(){var t=this,e=t._self._c;return e("div",{staticClass:"wrapper-login"},[e("span",{domProps:{textContent:t._s(t.$t("ct-comment-theme-title"))}}),e("div",[e("a",{attrs:{href:"/blog-login?post=".concat(t.url)},domProps:{textContent:t._s(t.$t("ct-sign-up"))}}),e("a",{attrs:{href:"/blog-login?post=".concat(t.url)},domProps:{textContent:t._s(t.$t("ct-sign-in"))}})])])},Wd=[],Gd={name:"SimpleTheme",props:["url"]},Jd=Gd,Yd=(n("c8c1"),Object(b["a"])(Jd,Vd,Wd,!1,null,"7c065632",null)),Kd=Yd.exports,Zd={props:["is_logged","article"],mixins:[Cl],components:{SimpleTheme:Nd,DarkGreenTheme:qd,GradientTheme:Kd},data:function(){return{comments:[],user:{id:1,name:"John Doe",email:"[email protected]"},comment:"",SelectedComment:{},approval:!1,theme:0,reply_mode:!1,count:10,showMore:!1,config:{url:window.location.pathname.replace("/",""),website_id:"NjMwNDIw",name:"Autor",email:"[email protected]"}}},methods:{getComments:function(){var t=this;R.a.get("".concat(this.blogUrl,"/comments/get?website_id=").concat(this.config.website_id,"&url=").concat(this.config.url.
1split("blog/").join(""),"&email=").concat(this.config.email,"&count=").concat(this.count)).then((function(e){t.comments=e.data.comments,t.showMore=e.data.more,t.theme=e.data.theme}))},moreComments:function(){this.count=this.count+10,this.getComments()},cancelReply:function(){this.SelectedComment={}},handleDelete:function(t){if(!this.is_logged)return!1;var e=this,n={id:t,type:"delete",email:JSON.parse(localStorage.getItem("login-user")).email};$("#delete-comment-".concat(t)).modal("hide"),R.a.post("".concat(this.blogUrl,"/comments/update"),n).then((function(t){e.getComments()}))},handleLike:function(t){var e=t.id;if(!this.is_logged||t.deleted_by_author||t.deleted_by_owner)return!1;var n=this,i={id:e,type:"like",name:JSON.parse(localStorage.getItem("login-user")).name,email:JSON.parse(localStorage.getItem("login-user")).email};R.a.post("".concat(this.blogUrl,"/comments/update"),i).then((function(t){n.getComments()}))},handleReply:function(t){if(!this.is_logged)return!1;var e=$(".wrapper-comments__textarea"),n=Object(i["a"])(e,1),o=n[0];o.scrollIntoView({block:"end",behavior:"smooth"}),this.SelectedComment=t,this.reply_mode=!0},handleComment:function(){var t=this;if(!this.is_logged)return!1;var e=this,n={user:{email:JSON.parse(localStorage.getItem("login-user")).email,name:JSON.parse(localStorage.getItem("login-user")).name},comment:this.comment,like:0,replys:[],url:this.config.url,website_id:this.config.website_id};this.reply_mode&&(n.reply_id=this.SelectedComment.id),R.a.post("".concat(this.blogUrl,"/comments/store"),n).then((function(n){n.data.allowed||(t.approval=!0),e.comment="",e.getComments()}))},handleDate:function(t){var e=window.navigator.userLanguage||window.navigator.language;new Date;return Ni.a.locale(e),Ni()(t).add(Ni()(t).utcOffset(),"minutes").fromNow()}},mounted:function(){this.is_logged?(this.config.name=JSON.parse(localStorage.getItem("login-user")).name,this.config.email=JSON.parse(localStorage.getItem("login-user")).email):(this.config.name="not-logged",this.config.email="not-logged"),this.config.website_id=OPTIONS_INIT_SITE.options.w_code,this.getComments()}},Qd=Zd,Xd=(n("528e"),Object(b["a"])(Qd,Ad,Rd,!1,null,"77a47854",null)),tu=Xd.exports,eu={name:"Simple",props:["article","show","colors","styles","capture","is_logged","display_date"],components:{SocialBar:Od,Comments:tu},data:function(){return{title:""}},methods:{captureDivStyle:function(){return"display:  ".concat(this.capture.theme.display,";\n                  flex-direction: ").concat(this.capture.theme.flexDirection,";\n                  align-items: ").concat(this.capture.theme.alignItems,";\n                  justify-content: ").concat(this.capture.theme.justifyContent,";")},captureLoginButton:function(){return"font-family: ".concat(this.capture.login_button_settings.style.fontFamily,";\n                  font-size: ").concat(this.capture.login_button_settings.style.fontSize,";\n                    background-color: ").concat(this.capture.login_button_settings.style.background,";\n                  color: ").concat(this.capture.login_button_settings.style.color,";\n                  border-radius: ").concat(this.capture.login_button_settings.style.borderRadius,";\n                  padding: ").concat(this.capture.login_button_settings.style.padding,";\n                  margin: ").concat(this.capture.login_button_settings.style.margin,";\n                  ")},captureRegisterButton:function(){return"font-family: ".concat(this.capture.register_button_settings.style.fontFamily,";\n                  font-size: ").concat(this.capture.register_button_settings.style.fontSize,";\n                  background-color: ").concat(this.capture.register_button_settings.style.background,";\n                  color: ").concat(this.capture.register_button_settings.style.color,";\n                  border-radius: ").concat(this.capture.register_button_settings.style.borderRadius,";\n                  padding: ").concat(this.capture.register_button_settings.style.padding,";\n                  margin: ").concat(this.capture.register_button_settings.style.margin,";\n                  ")},showUrl:function(t){var e=this;return"undefined"===typeof e.article.date_cycle||-1!==window.location.hash.indexOf("#/editor/")?"#":"facebook"===t?"https://www.facebook.com/sharer/sharer.php?u=".concat(encodeURI(window.location.href)):"twitter"===t?"https://twitter.com/intent/tweet?text=".concat(this.article.title,"&url=").concat(encodeURI(window.location.href)):"linkedin"===t?"https://www.linkedin.com/shareArticle?mini=true&url=".concat(encodeURI(window.location.href)):"pinterest"===t?"https://pinterest.com/pin/create/button/?url=".concat(encodeURI(window.location.href)):"whatsapp"===t?"whatsapp://send?text=".concat(this.article.title," - ").concat(encodeURI(window.location.href)):"email"===t?"mailto:?subject=".concat(this.article.title,"&body=").concat(encodeURI(window.location.href)):"telegram"===t?"tg
1://msg?text=".concat(this.article.title):void 0},copyCLipBoard:function(){var t=document.createElement("input"),e=window.location.href;document.body.appendChild(t),t.value=e,t.select(),document.execCommand("copy"),document.body.removeChild(t)},formatDate:function(t,e){var n=window.navigator.userLanguage||window.navigator.language;return Ni.a.locale(n),Ni.a.utc(String(t)).local().format(e)},cardStyle:function(){return"background-color: ".concat(this.colors.color_1,"; padding: 15px")},shareBarDivStyle:function(){var t="left"===this.show.shareBar.align?"flex-start":"right"===this.show.shareBar.align?"flex-end":"center";return"display: flex; justify-content: ".concat(t,"; flex-wrap: wrap;")},shareButtonStyle:function(){var t="circle"===this.show.shareBar.theme?"border-radius: 50%;":"";return t},categoryDivStyle:function(){var t="left"===this.styles.categories.align?"flex-start":"right"===this.styles.categories.align?"flex-end":"center";return"margin-top: 10px; display: flex; justify-content: ".concat(t,"; flex-wrap: wrap")},titleStyle:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return"font-family:  ".concat(this.styles.title.family,";\n                  font-size: ").concat(t?this.styles.title.size:this.styles.title.sizeMobile," !important;\n                  text-align: ").concat(this.styles.title.align,";\n                  font-weight: ").concat(this.styles.title.weight,";\n                  font-style: ").concat(this.styles.title.style,";\n                  text-decoration: ").concat(this.styles.title.stroke,";\n                  color: ").concat(this.styles.title.color)},authorStyle:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return"font-family:  ".concat(this.styles.author.family,";\n                  font-size: ").concat(t?this.styles.author.size:this.styles.author.sizeMobile," !important;\n                  text-align: ").concat(this.styles.author.align,";\n                  font-weight: ").concat(this.styles.author.weight,";\n                  font-style: ").concat(this.styles.author.style,";\n                  text-decoration: ").concat(this.styles.author.stroke,";\n                  color: ").concat(this.styles.author.color)},categoryStyle:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return"font-family:  ".concat(this.styles.categories.family,";\n                  font-size: ").concat(t?this.styles.categories.size:this.styles.categories.sizeMobile," !important;\n                  text-align: ").concat(this.styles.categories.align,";\n                  font-weight: ").concat(this.styles.categories.weight,";\n                  font-style: ").concat(this.styles.categories.style,";\n                  text-decoration: ").concat(this.styles.categories.stroke,";\n                  color: ").concat(this.styles.categories.color,";\n                  background-color: ").concat(this.colors.color_3,";\n                  margin-top: 5px")}},mounted:function(){this.title=this.article.title},watch:{display_date:function(){this.title=this.article.title}}},nu=eu,iu=(n("aad5"),n("d975"),Object(b["a"])(nu,kd,Sd,!1,null,"6ea10610",null)),ou=iu.exports;n("d832");function au(){var t=window.location.host,e={".localhost:":{blogUrl:"http://blog.localhost",apiUrl:"http://api.localhost"},".localhost":{blogUrl:"http://blog.localhost",apiUrl:"http://api.localhost+"},".sitebuilder-publication.kub.app.builderall.io":{blogUrl:"https://blog.kub.app.builderall.io",apiUrl:"https://api-sitebuilder.kub.app.builderall.io"},".sitebuilder-publication.kub.app.builderall.info":{blogUrl:"https://blog.kub.app.builderall.info",apiUrl:"https://api-sitebuilder.kub.app.builderall.info"},default:{blogUrl:"https://blog.builderall.com",apiUrl:"https://cheetah-api.builderall.com"}},n=Object.keys(e).find((function(e){return t.includes(e)})),i=e[n]||e["default"];return i}function ru(){var t="";return t=-1!==window.location.host.indexOf("localhost:")?"https://gesundundfitbleiben.com/cheetah/blog/get-new?post=viren-kann-man-nicht-bekampfen-man-muss-mit-ihnen-leben":"".concat(t,"/cheetah/blog/get-new?post=").concat(window.location.pathname.replace("/","")),t}function su(){var t="";return t=-1!==window.location.host.indexOf("localhost:")?"http://publication.localhost/cheetah/blog/get-capture-config":"".concat(t,"/cheetah/blog/get-capture-config"),t}function cu(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=au();return"".concat(e.blogUrl).concat(t)}function lu(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=au();return console.log("URL API","".concat(e.apiUrl).concat(t)),"".concat(e.apiUrl).concat(t)}function du(){var t="";return t=-1!==window.location.host.indexOf("localhost:")||-1!==window.location.host.indexOf("localhost")?"website_id=MQ==":"website_id=".concat(OPTIONS_INIT_SITE.options.w_code),t}var uu=function(){return R.a.get(ru())}
1,hu=function(t){return R.a.get(lu(t))},gu=function(){return R.a.get(su())},fu=function(t){return R.a.get(cu("/news/get-by-id/".concat(t)+"?"+du()))},pu=function(t){var e="/news/get-filtered-news?category=".concat(t.filters.category,"&author=").concat(t.filters.author,"&featured=").concat(t.filters.featured,"&most_accessed=").concat(t.filters.mostAccessed,"&amount=").concat(t.filters.amount,"&type=").concat(t.type);return R.a.get(cu(e+"&"+du()))},mu=function(){var t="/get-key?".concat(du());return R.a.get(cu(t))},bu=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];-1!==t.filters.category.indexOf("/")&&(t.filters.category=t.filters.category.split("/")[0]),-1!==t.filters.author.indexOf("/")&&(t.filters.author=t.filters.author.split("/")[0]);var i="/get-news?category=".concat(t.filters.category,"&author=").concat(t.filters.author,"&featured=").concat(t.filters.featured,"&most_accessed=").concat(t.filters.mostAccessed,"&amount=").concat(t.filters.amount,"&page=").concat(e.current_page);return t.filters.search&&(i="".concat(i,"&search=").concat(t.filters.search)),n&&(i="".concat(i,"&utc_time=").concat(n)),R.a.get(cu(i+"&"+du()))},_u={name:"BlogPostComponent",props:["config","id"],components:{SimpleTheme:ou},mixins:[Cl],data:function(){return xd.data()},methods:{build:function(t){this.internal_config=Pn.a.merge(this.internal_config,t)},isLoggedRestrictArea:function(){return!(!localStorage.getItem("login-user")||!localStorage.getItem("login-user-token"))},animation:function(){return!1},getTitle:function(){return this.article.title},style:function(){return"width: ".concat(this.internal_config.width,";\n               height:  ").concat(this.internal_config.width,";\n               z-index: ").concat(this.internal_config.zIndex,";\n               margin: 0 auto;\n               padding-top: ").concat(this.internal_config.paddingTop,";\n               padding-left: ").concat(this.internal_config.paddingLeft,";\n               padding-right: ").concat(this.internal_config.paddingRight,";\n               padding-bottom: ").concat(this.internal_config.paddingBottom,";\n               left:  ").concat(this.internal_config.left,";\n               top: ").concat(this.internal_config.top)},formatDate:function(t,e){var n=window.navigator.userLanguage||window.navigator.language;return Ni.a.locale(n),Ni.a.utc(String(t)).local().format(e)}},mounted:function(){var t=this;this.build(this.$props.config);var e=this;if(uu().then((function(n){var i=n.data;e.article=i,console.log(e.article),console.log(e.internal_config.show.formatDate),e.article.scheduled_date=e.formatDate(e.article.scheduled_date,e.internal_config.show.formatDate),$(".post-date.desktop-element").text(e.article.scheduled_date),$(".post-date.mobile-element").text(e.article.scheduled_date),"1"==e.article.is_capture?e.article.is_capture=!0:e.article.is_capture=!1,e.article.is_capture&&!t.isLoggedRestrictArea()&&e.article.is_capture&&gu().then((function(t){e.capture_settings=t.data,e.capture_settings.theme=JSON.parse(e.capture_settings.theme),e.capture_settings.login_button_settings=JSON.parse(e.capture_settings.login_button_settings),e.capture_settings.register_button_settings=JSON.parse(e.capture_settings.register_button_settings)})),"1"==e.article.enabled_comments?e.article.enabled_comments=!0:e.article.enabled_comments=!1,"undefined"!==typeof e.article.enabled_comments&&"1"==e.article.enabled_comments?e.article.enabled_comments=!0:e.article.enabled_comments=!1;var o="".concat(t.blogUrl,"/register-view/"),a=window.location.pathname.replace("/blog/","");a=a.replace("/",""),o=o+a+"?website_id="+window.OPTIONS_INIT_SITE.options.w_code,null==localStorage.getItem("url_view_"+e.article.url)&&(localStorage.setItem("url_view_"+e.article.url,!0),o+="&first=true"),R.a.get(o).then((function(t){return console.log(t)}))})),this.isLoggedRestrictArea&&null!==localStorage.getItem("login-user")){var n=0;restrictsArea.forEach((function(t){1==t.is_blog&&(n=t.id)}));var i=JSON.parse(localStorage.getItem("login-user")).email;0!==n&&hu("/set-blog-area?user_email=".concat(i,"&restrict_id=").concat(n))}$("p>img").each((function(t,e){var n=$(e).parent();0==n.height()&&$(n).css("height",e.height)})),setTimeout((function(){$("p>img").each((function(t,e){var n=$(e).parent();0==n.height()&&$(n).css("height",e.height)})),$("p>img").css("max-width","100%"),$(".ql-video").css("max-width","100%"),$(".ql-video").css("pointer-events","visible"),$("a").removeAttr("rel"),$(".content-post > iframe").css("max-width","100%"),$(".content-post > p > iframe").css("max-width","100%")}),1e3),this.$nextTick((function(){$(".content-post > p > img").each((function(t,e){var n=$(e).parent();0==n.height()&&$(n).css("height",e.height)})),$(".content-post > a").removeAttr("rel"),e.heightLoad=e.$el.getBoundingClientRect().height,e.heightLoad>400&&(e.heightLoad=620),setInterval((function(){var t=$("#"+e.$el.id).height();if(e.heightNow>0?e.heightNow=t-e.heightNow:e.heightNow=t,e.heightNow>e.heightLoad){var n=e.$el.getBoundingClientRect(),i=$(e.$el).position().top,o=$(e.$el).offset().left,a=n.width,r=e.heightNow-e.heightLoad;e.heightLoad=e.heightNow,"undefined"!==typeof e.$parent.changeHeight&&"function"===typeof e.$parent.changeHeight&&e.$parent.changeHeight(r,!0,e.$el.id,i,o-100,a),e.heightLoad=e.heightNow}}),1e3)})),setTimeout((function(){e.internal_config.key=e.internal_config.key+1}),2e3),setInterval((function(){$(".content-post > p > img").each((function(t,e){var n=$(e).parent();0==n.height()&&$(n).css("height",e.height)})),$(".content-post > a").removeAttr("rel")}),2e3)},computed:{displayDate:function(){return this.article.scheduled_date}}},yu=_u,vu=(n("125e"),n("7eda"),Object(b["a"])(yu,vd,wd,!1,null,null,null)),wu=vu.exports,xu=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:t.id,element:"BlogCategoriesListComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile,"config-properties":JSON.stringify(t.internal_config)}},[t._l(t.categories,(function(n){return e("div",{key:n.id,staticClass:"desktop-element",style:t.titleStyle()},[e("a",{staticClass:"category-list",style:t.titleStyle(),attrs:{href:t.redir(n.slug)}},[t._v(t._s(n.name)+"  ")]),e("br")])})),t._l(t.categories,(function(n){return e("div",{key:n.id,staticClass:"mobile-element",style:t.titleStyleMobile()},[e("a",{staticClass:"category-list",style:t.titleStyleMobile(),attrs:{href:t.redir(n.slug)}},[t._v(t._s(n.name)+" ")]),e("br")])}))],2)},ku=[],Su={data:function(){return{props:{name:"BlogCategoriesListComponent",width:"920px",height:"50px",zIndex:"auto",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"0px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",maxWidth:"500px",themeBlog:"feed",showDesktop:!0,showMobile:!0,animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},elements:[],post:{content:"",categories:[],author:{}},postSearch:"",page:34,perPage:8,paginator:{pages:[],actual_page:1,last_page:100,show:!1},categories:[],internal_config:{width:"50px",height:"50px",lbltext:"search",btnText:"search",zIndex:"auto",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",colorDetails:"#5AD67D",colorReadMore:"#5AD67D",colorTitle:"#000",colorSubTitle:"#ddd",theme:1,dateFormat:"YYYY-MM-DD",textReadMore:"Read More",titleStyle:{fam
1ily:"Lato, sans-serif",size:"25px",sizeMobile:"15px",color:"black",align:"left",weight:"400",style:"initial",stroke:"none"},contentStyle:{family:"Lato, sans-serif",size:"15px",sizeMobile:"15px",color:"#4F4F4F",align:"left",weight:"400",style:"initial",stroke:"none"},cardBgColor:"white",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}}}}},Cu={name:"BlogCategoriesListComponent",props:["config","id"],mixins:[Cl],components:{},data:function(){return Su.data()},methods:{redir:function(t){var e="";return"categories"===this.internal_config.type&&(e+="/c/"),"authors"===this.internal_config.type&&(e+="/a/"),e+t},build:function(t){this.internal_config=t},animation:function(){return!1},showResources:function(){},titleStyle:function(){return"font-family:  ".concat(this.internal_config.titleStyle.family,";\n                    font-size: ").concat(this.internal_config.titleStyle.size,";\n                    text-align: ").concat(this.internal_config.titleStyle.align,";\n                    font-weight: ").concat(this.internal_config.titleStyle.weight,";\n                    font-style: ").concat(this.internal_config.titleStyle.style,";\n                    text-decoration: ").concat(this.internal_config.titleStyle.stroke,";\n                    cursor: pointer;\n                    line-height: unset;\n                    height: auto;\n                    color: ").concat(this.internal_config.titleStyle.color)},titleStyleMobile:function(){return"font-family:  ".concat(this.internal_config.titleStyle.family,";\n                    font-size: ").concat(this.internal_config.titleStyle.sizeMobile," !important;\n                    text-align: ").concat(this.internal_config.titleStyle.align,";\n                    font-weight: ").concat(this.internal_config.titleStyle.weight,";\n                    font-style: ").concat(this.internal_config.titleStyle.style,";\n                    text-decoration: ").concat(this.internal_config.titleStyle.stroke,";\n                    cursor: pointer;\n                    line-height: unset;\n                    height: auto;\n                    color: ").concat(this.internal_config.titleStyle.color)},style:function(){var t=this.internal_config,e=t.left,n=t.zIndex,i=t.paddingTop,o=t.paddingLeft,a=t.paddingRight,r=t.paddingBottom,s=t.top,c="\n                     left:  ".concat(e,";\n                     z-index: ").concat(n,";max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n                     padding-top: ").concat(i,";\n                     padding-left: ").concat(o,";\n                     padding-right: ").concat(a,";\n                     padding-bottom: ").concat(r,";\n                     top: ").concat(s);return document.documentElement.style.setProperty("--color-hover",this.internal_config.colorReadMore),c}},created:function(){var t,e,n,i=this.$props;t=i.device,i.childs,e=i.id,n=i.config,this.internal_config=n,this.device=t,"undefined"!==typeof e&&(this.id=e),this.internal_config=window.mergeRecursive(this.props,this.$props.config)},mounted:function(){var t=this;this.build(this.$props.config),document.documentElement.style.setProperty("--color-hover",this.internal_config.colorReadMore),"undefined"===typeof this.internal_config.type&&(this.internal_config.type="categories");var e="".concat(this.blogUrl,"/get-childs?website_id=").concat(window.OPTIONS_INIT_SITE.options.w_code);R.a.get(e+"&type="+this.internal_config.type).then((function(e){t.categories=e.data}));var n=[];$("[id]").each((function(){var t=$('[id="'+this.id+'"]');t.length>1&&t[0]==this&&parseInt(this.id)&&n.push(this.id)})),n.includes(this.id)&&(this.id=Date.now()+parseInt(1e4*Math.random()))}},Iu=Cu,$u=(n("c75c"),Object(b["a"])(Iu,xu,ku,!1,null,"17f2c514",null)),Tu=$u.exports,Pu=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:t.id,element:"BlogDatesListComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile,"config-properties":JSON.stringify(t.internal_config)},on:{contextmenu:function(e){return e.preventDefault(),t.handler(e)},click:function(e){return t.focusElement(e)}}},[e("div",{style:t.titleStyle()},[e("span",[t._v("2020")]),e("br"),e("span",[t._v("2019")]),e("br"),e("span",[t._v("2018")]),e("br"),e("span",[t._v("2017")])])])},Ou=[],Au={data:function(){return{props:{name:"BlogDatesListComponent",width:"920px",height:"50px",zIndex:"auto",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"0px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",maxWidth:"500px",themeBlog:"feed",showDesktop:!0,showMobile:!0,animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},elements:[],post:{content:"",categories:[],author:{}},postSearch:"",page:34,perPage:8,paginator:{pages:[],actual_page:1,last_page:100,show:!1},internal_config:{dates:[],width:"50px",height:"50px",lbltext:"search",btnText:"search",zIndex:"auto",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",colorDetails:"#5AD67D",colorReadMore:"#5AD67D",colorTitle:"#000",colorSubTitle:"#ddd",theme:1,dateFormat:"YYYY-MM-DD",textReadMore:"Read More",titleStyle:{fam
1ily:"Lato, sans-serif",size:"25px",sizeMobile:"15px",color:"black",align:"left",weight:"400",style:"initial",stroke:"none"},contentStyle:{family:"Lato, sans-serif",size:"15px",sizeMobile:"15px",color:"#4F4F4F",align:"left",weight:"400",style:"initial",stroke:"none"},cardBgColor:"white",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}}}}},Ru={name:"BlogDatesListComponent",props:["config","id"],components:{},data:function(){return Au.data()},methods:{focusElement:function(t){this.$root.$emit("focusElement",this),this.$root.$emit("handlerElement",this),t.stopPropagation(),t.preventDefault()},onResize:function(t,e,n,i){this.internal_config.width=n+"px",this.internal_config.height=i+"px"},build:function(t){this.internal_config=t},animation:function(){return!1},showResources:function(){},titleStyle:function(){return"font-family:  ".concat(this.internal_config.titleStyle.family,";\n                  font-size: ").concat(this.internal_config.titleStyle.size,";\n                  text-align: ").concat(this.internal_config.titleStyle.align,";\n                  font-weight: ").concat(this.internal_config.titleStyle.weight,";\n                  font-style: ").concat(this.internal_config.titleStyle.style,";\n                  width: ").concat(this.internal_config.width,";\n                  text-decoration: ").concat(this.internal_config.titleStyle.stroke,";\n                  color: ").concat(this.internal_config.titleStyle.color)},style:function(){var t=this.internal_config,e=t.left,n=t.zIndex,i=t.paddingTop,o=t.paddingLeft,a=t.paddingRight,r=t.paddingBottom,s=t.top,c="\n                     left:  ".concat(e,";\n                     z-index: ").concat(n,";max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n                     padding-top: ").concat(i,";\n                     padding-left: ").concat(o,";\n                     padding-right: ").concat(a,";\n                     padding-bottom: ").concat(r,";\n\t\t\t\t\t top: ").concat(s);return c}},created:function(){var t,e,n,i=this.$props;t=i.device,i.childs,e=i.id,n=i.config,this.internal_config=n,this.device=t,"undefined"!==typeof e&&(this.id=e),this.internal_config=window.mergeRecursive(this.props,this.$props.config)},mounted:function(){var t=this;this.build(this.$props.config),this.$root.$on("setConfigElement",(function(e,n){t.id==e&&(t.config=n,t.internal_config=n)}));var e=[];$("[id]").each((function(){var t=$('[id="'+this.id+'"]');t.length>1&&t[0]==this&&parseInt(this.id)&&e.push(this.id)})),e.includes(this.id)&&(this.id=Date.now()+parseInt(1e4*Math.random()))}},Bu=Ru,Lu=Object(b["a"])(Bu,Pu,Ou,!1,null,null,null),zu=Lu.exports,Mu=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:t.id,element:"BlogSearchComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile,"config-properties":JSON.stringify(t.internal_config)}},[e("form",{on:{submit:function(e){return e.preventDefault(),t.submitSearch.apply(null,arguments)}}},[e("div",{ref:"BlogSearchComponent",staticClass:"input-group mb-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.searchTerm,expression:"searchTerm"}],staticClass:"form-control",attrs:{type:"text",placeholder:t.placeholder()},domProps:{value:t.searchTerm},on:{input:function(e){e.target.composing||(t.searchTerm=e.target.value)}}}),e("div",{staticClass:"input-group-append"},[e("button",{staticClass:"btn btn-outline-secondary button-search",style:t.buttonStyle(),attrs:{type:"submit"}},[e("i",{staticClass:"fas fa-search",style:t.iconStyle()})])])])])])},Eu=[],Nu={data:function(){return{props:{name:"BlogSearchComponent",width:"920px",height:"50px",zIndex:"auto",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"0px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",maxWidth:"500px",backgroundColor:"#d0d0d0",backgroundColorHover:"#dfdfdf",themeBlog:"feed",showDesktop:!0,showMobile:!0,animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},searchTerm:"",elements:[],post:{content:"",categories:[],author:{}},postSearch:"",page:34,perPage:8,paginator:{pages:[],actual_page:1,last_page:100,show:!1},internal_config:{width:"50px",height:"50px",lbltext:"search",btnText:"search",zIndex:"auto",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",colorDetails:"#5AD67D",colorReadMore:"#5AD67D",colorTitle:"#000",colorSubTitle:"#ddd",theme:1,dateFormat:"YYYY-MM-DD",textReadMore:"Read More",titleStyle:{fam
1ily:"Lato, sans-serif",size:"25px",sizeMobile:"15px",color:"black",align:"left",weight:"400",style:"initial",stroke:"none"},contentStyle:{family:"Lato, sans-serif",size:"15px",sizeMobile:"15px",color:"#4F4F4F",align:"left",weight:"400",style:"initial",stroke:"none"},cardBgColor:"white",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}}}}},Du={name:"BlogSearchComponent",props:["config","id"],components:{},data:function(){return Nu.data()},methods:{placeholder:function(){return this.internal_config.showPlaceholder?this.internal_config.lbltext:""},submitSearch:function(){window.location.href="/s?query="+this.searchTerm},build:function(t){this.internal_config=t},animation:function(){return!1},titleStyle:function(){return"font-family:  ".concat(this.internal_config.titleStyle.family,";\n                  font-size: ").concat(this.internal_config.titleStyle.size,";\n                  text-align: ").concat(this.internal_config.titleStyle.align,";\n                  font-weight: ").concat(this.internal_config.titleStyle.weight,";\n                  font-style: ").concat(this.internal_config.titleStyle.style,";\n                  text-decoration: ").concat(this.internal_config.titleStyle.stroke,";\n                  color: ").concat(this.internal_config.titleStyle.color)},iconStyle:function(){return"color: ".concat(this.internal_config.titleStyle.color,";")},buttonStyle:function(){if(this.$refs.BlogSearchComponent){var t=this.$refs.BlogSearchComponent.getElementsByClassName("button-search"),e=Object(i["a"])(t,1),n=e[0];n.style.setProperty("--color-hover",this.internal_config.backgroundColorHover)}return"font-family:  ".concat(this.internal_config.contentStyle.family,";\n                  background-color: ").concat(this.internal_config.backgroundColor,";\n                  font-size: ").concat(this.internal_config.contentStyle.size,";\n                  text-align: ").concat(this.internal_config.contentStyle.align,";\n                  font-weight: ").concat(this.internal_config.contentStyle.weight,";\n                  font-style: ").concat(this.internal_config.contentStyle.style,";\n                  text-decoration: ").concat(this.internal_config.contentStyle.stroke,";\n                  color: ").concat(this.internal_config.contentStyle.color,";\n                  min-height: auto;\n                  border-top-left-radius: 0;\n                  border-bottom-left-radius: 0;\n                  padding: 4px 30px;\n                  border-radius: 5px;\n                  border: 0")},style:function(){var t=this.internal_config,e=t.left,n=t.zIndex,i=t.paddingTop,o=t.paddingLeft,a=t.paddingRight,r=t.paddingBottom,s=t.top,c="\n                     left:  ".concat(e,";\n                     z-index: ").concat(n,";\n                     width: ").concat(this.internal_config.width,";\n                     margin: 0 auto;\n                     padding-top: ").concat(i,";\n                     padding-left: ").concat(o,";\n                     padding-right: ").concat(a,";\n                     padding-bottom: ").concat(r,";\n\t\t\t\t\t top: ").concat(s);return c}},created:function(){var t,e,n,i=this.$props;t=i.device,i.childs,e=i.id,n=i.config,this.internal_config=n,this.device=t,"undefined"!==typeof e&&(this.id=e),this.internal_config=window.mergeRecursive(this.props,this.$props.config)},mounted:function(){if(this.build(this.$props.config),this.internal_config=window.mergeRecursive(this.props,this.$props.config),"/s"===window.location.pathname||-1!==window.location.pathname.indexOf("/s/")){var t=window.location.search,e=new URLSearchParams(t),n=e.get("query");this.searchTerm=n}var i=[];$("[id]").each((function(){var t=$('[id="'+this.id+'"]');t.length>1&&t[0]==this&&parseInt(this.id)&&i.push(this.id)})),i.includes(this.id)&&(this.id=Date.now()+parseInt(1e4*Math.random()))}},ju=Du,Hu=(n("b6d0"),Object(b["a"])(ju,Mu,Eu,!1,null,"7778c5f2",null)),Fu=Hu.exports,Uu=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:t.id,element:"BlogRssComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile,"config-properties":JSON.stringify(t.internal_config)}},[e("a",{attrs:{href:"/rss",target:"_blank"}},[e("img",{staticStyle:{width:"100%",height:"100%",cursor:"pointer"},attrs:{src:"".concat(this.blogUrl,"/images/rss/rss-feed-").concat(t.internal_config.theme,".svg"),alt:""}})])])},qu=[],Vu={data:function(){return{props:{name:"BlogRssComponent",zIndex:"auto",paddingTop:"0px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px"},elements:[],internal_config:{theme:"01",width:"100px",height:"100px",zIndex:"auto",showDesktop:!0,showMobile:!0,paddingTop:"0px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",left:"0px",top:"0px"}}}};function Wu(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Gu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?Wu(Object(n),!0).forEach((function(e){Object(d["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Wu(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Ju={name:"BlogRssComponent",props:["config","id"],mixins:[Cl],data:function(){return Vu.data()},methods:{build:function(t){this.internal_config=Gu(Gu({},this.internal_config),t)},animation:function(){return!1},style:function(){return"width: ".concat(this.internal_config.width,";\n               height:  ").concat(this.internal_config.width,";\n               z-index: ").concat(this.internal_config.zIndex,";\n               margin: 0 auto;\n               padding-top: ").concat(this.internal_config.paddingTop,";\n               padding-left: ").concat(this.internal_config.paddingLeft,";\n               padding-right: ").concat(this.internal_config.paddingRight,";\n               padding-bottom: ").concat(this.internal_config.paddingBottom,";\n               left:  ").concat(this.internal_config.left,";\n               top: ").concat(this.internal_config.top)}},mounted:function(){this.build(this.$props.config)}},Yu=Ju,Ku=Object(b["a"])(Yu,Uu,qu,!1,null,null,null),Zu=Ku.exports,Qu=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:t.id,element:"BlogArticleListComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile,type:t.internal_config.type,"config-properties":JSON.stringify(t.internal_config)}},[t.checkCondition()?e("div",[e("div",{staticClass:"container"},["simple"===t.internal_config.theme?e("div",{staticClass:"card-container"},t._l(t.articles,(function(n,i){return e("card-post-simple",{key:n.id,class:t.getClasses(i),style:t.getCardStyle(i),attrs:{config:t.internal_config.card.config,styles:t.internal_config.card.styles,colors:t.internal_config.card.colors,show:t.internal_config.card.show,sizes:t.internal_config.card.sizes,article:n}})})),1):t._e(),"clean"===t.internal_config.theme?e("div",t._l(t.articles,(function(n){return e("card-clean",{key:n.id,staticClass:"mt-3",attrs:{config:t.internal_config.card.config,styles:t.internal_config.card.styles,colors:t.internal_config.card.colors,show:t.internal_config.card.show,sizes:t.internal_config.card.sizes,article:n}})})),1):t._e(),"hover"===t.internal_config.theme?e("div",{staticClass:"card-container"},t._l(t.articles,(function(n,i){return e("card-hover",{key:n.id,class:t.getClasses(i),style:t.getCardStyle(i),attrs:{config:t.internal_config.card.config,styles:t.internal_config.card.styles,colors:t.internal_config.card.colors,show:t.internal_config.card.show,sizes:t.internal_config.card.sizes,article:n}})})),1):t._e(),"list"===t.internal_config.theme?e("div",t._l(t.articles,(function(n,i){return e("card-list",{key:n.id,staticClass:"mt-3",attrs:{position:i,config:t.internal_config.card.config,styles:t.internal_config.card.styles,colors:t.internal_config.card.colors,show:t.internal_config.card.show,sizes:t.internal_config.card.sizes,article:n}})})),1):t._e(),"feed"===t.internal_config.type&&t.pagination.show?e("div",[e("div",{staticStyle:{display:"flex","flex-wrap":"wrap","justify-content":"center"}},[e("nav",{attrs:{"aria-label":"Page navigation example"}},[e("ul",{staticClass:"pagination"},[e("li",{directives:[{name:"show",rawName:"v-show",value:t.pagination.first,expression:"pagination.first"}],staticClass:"page-item"},[e("a",{staticClass:"page-link",style:"background-color: ".concat(t.internal_config.card.colors.color_4,"; color:  ").concat(t.internal_config.card.colors.color_5,"; border: 1px solid transparent;   margin-right: 2px"),attrs:{href:"".concat(t.getPaginationUrl(1))}},[t._v(t._s(t.$t("ct-first")))])]),e("li",{directives:[{name:"show",rawName:"v-show",value:t.pagination.previous,expression:"pagination.previous"}],staticClass:"page-item"},[e("a",{staticClass:"page-link",style:"background-color: ".concat(t.internal_config.card.colors.color_4,"; color:  ").concat(t.internal_config.card.colors.color_5,"; border: 1px solid transparent;   margin-right: 2px"),attrs:{href:"".concat(t.getPaginationUrl(t.pagination.current_page-1))}},[t._v(t._s(t.$t("ct-previous")))])]),t._l(t.pagination.pages,(function(n){return e("li",{key:"key-page-".concat(n),staticClass:"page-item"},[e("a",{staticClass:"page-link",style:"background-color: ".concat(t.internal_config.card.colors.color_4,"; color:  ").concat(t.internal_config.card.colors.color_5,"; border: 1px solid transparent;   margin-right: 2px"),attrs:{href:"".concat(t.getPaginationUrl(n))}},[t._v(" "+t._s(n)+" ")])])})),e("li",{directives:[{name:"show",rawName:"v-show",value:t.pagination.next,expression:"pagination.next"}],staticClass:"page-item"},[e("a",{staticClass:"page-link",style:"background-color: ".concat(t.internal_config.card.colors.color_4,"; color:  ").concat(t.internal_config.card.colors.color_5,"; border: 1px solid transparent;   margin-right: 2px"),attrs:{href:"".concat(t.getPaginationUrl(t.pagination.current_page+1))}},[t._v(t._s(t.$t("ct-next")))])]),e("li",{directives:[{name:"show",rawName:"v-show",value:t.pagination.last,expression:"pagination.last"}],staticClass:"page-item"},[e("a",{staticClass:"page-link",style:"background-color: ".concat(t.internal_config.card.colors.color_4,"; color:  ").concat(t.internal_config.card.colors.color_5,"; border: 1px solid transparent;   margin-right: 2px"),attrs:{href:"".concat(t.getPaginationUrl(t.pagination.last_page))}},[t._v(t._s(t.$t("ct-last")))])])],2)])])]):t._e()])]):e("div",[t.internal_config.newsNotFound?e("div",{staticStyle:{"background-color":"white",height:"300px",width:"100%",display:"flex","align-items":"center","justify-content":"center","flex-direction":"column"}},[e("h3",[t._v(t._s(t.$t("ct-no-articles-on-your-blog")))])]):e("div",{staticClass:"icon-loading",staticStyle:{"background-color":"white",height:"300px",width:"100%",display:"flex","align-items":"center","justify-content":"center","flex-direction":"column"}},[e("i",{staticClass:"fas fa-circle-notch fa-spin fa-4x"})])])])},Xu=[],th={data:function(){return{newLines:0,props:{name:"BlogFeaturedGroupComponent",zIndex:"auto",paddingTop:"0px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px"},articles:[],pagination:{show:!0,previous:!1,next:!1,first:!1,last:!1,actual_page:1,path:"",pages:[],first_page_url:"/?page=1",from:1,last_page_url:"/?page=5",next_page_url:"/?page=2",per_page:10},internal_config:{version:1,width:"900px",height:"500px",zIndex:"auto",showDesktop:!0,showMobile:!0,paddingTop:"0px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",left:"0px",top:"0px",theme:"simple",type:"featured",columns:3,headline:"none",filters:{category:"all",author:"all",featured:!1,mostAccessed:!1,amount:6,search:!1},selectedArticle:0,articles:[],card:{sizes:{thumbnail:{height:"0px",width:"0px",borderRadius:"0 0 0 0"},title:{height:"0px",width:"0px"},content:{height:"50px",width:"0px"},buttonDiv:{height:"0px",width:"0px"},button:{height:"0px",width:"0px",borderRadius:"0 0 0 0"},categories:{height:"0px",width:"0px"},card:{height:"0px",width:"0px",borderRadius:"0 0 0 0"}},config:{dateFormat:"YYYY-MM-DD",readMoreText:"Read More",buttonPosition:"left"},colors:{color_1:"white",color_2:"#000",color_3:"#fff",color_4:"#000",color_5:"#000"},show:{author:!0,categories:!0,thumbnail:!0,date:!0,content:!1,button:!0},styles:{title:{family:"Lato, sans-serif",size:"25px",sizeMobile:"15px",color:"black",align:"left",weight:"400",style:"initial",stroke:"none"},content:{family:"Lato, sans-serif",size:"25px",sizeMobile:"15px",color:"black",align:"left",weight:"400",style:"initial",stroke:"none",height:"200px"},button:{family:"Lato, sans-serif",size:"25px",sizeMobile:"15px",color:"white",align:"left",weight:"400",style:"initial",stroke:"none"},author:{family:"Lato, sans-serif",size:"25px",sizeMobile:"15px",color:"black",align:"left",weight:"400",style:"initial",stroke:"none"},categories:{family:"Lato, sans-serif",size:"25px",sizeMobile:"15px",color:"black",align:"left",weight:"400",style:"initial",stroke:"none"}}}}}}},eh=function(){var t=this,e=t._self._c;return e("div",{staticClass:"card mtf",style:t.cardStyle()},[e("a",{attrs:{href:t.showUrl("/blog/".concat(t.article.url))}},[t.show.thumbnail?e("img",{staticClass:"card-img-top desktop-element",style:t.thumbnailStyle(),attrs:{src:t.article.thumbnail,alt:"".concat(t.article.title," thumbnail")}}):t._e(),t.show.thumbnail?e("img",{staticClass:"card-img-top mobile-element",attrs:{src:t.article.thumbnail,alt:"".concat(t.article.title," thumbnail")}}):t._e()]),e("div",{staticClass:"card-body"},[e("a",{staticClass:"card-title clean-text-css desktop-element",style:t.titleStyle(),attrs:{href:t.showUrl("/blog/".concat(t.article.url))}},[t._v("\n      "+t._s(t.article.title)+"\n    ")]),e("button",{staticClass:"card-title clean-text-css mobile-element free-size no-btn",style:t.titleStyle(!1),on:{click:function(e){return e.stopPropagation(),t.goTo("/blog/".concat(t.article.url))}}},[t._v("\n      "+t._s(t.article.title)+"\n    ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.show.content,expression:"show.content"}],staticClass:"card-text clean-text-css article-content"},[e("p",{staticClass:"article-content clean-text-css desktop-element",style:t.contentStyle(),attrs:{id:"summaryArticle"},domProps:{innerHTML:t._s(t.article.content)}}),e("p",{staticClass:"article-content clean-text-css mobile-element free-size",style:t.contentStyle(!1),attrs:{id:"summaryArticleMobile"},domProps:{innerHTML:t._s(t.article.content)}})]),e("div",{style:t.buttonDivStyle()},[e("button",{directives:[{name:"show",rawName:"v-show",value:t.show.button,expression:"show.button"}],class:"btn no-btn",style:t.buttonStyle(),on:{click:function(e){return e.stopPropagation(),t.goTo("/blog/".concat(t.article.url))}}},[t._v("\n        "+t._s(t.config.readMoreText)+"\n      ")])])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.show.categories,expression:"show.categories"}],style:t.categoryStyleDiv()},t._l(t.article.categories,(function(n){return e("button",{key:"desktop-category-".concat(n.id),staticClass:"badge mr-1 mt-1 no-btn",style:t.categoryStyle(),on:{click:function(e){return e.stopPropagation(),t.goTo("/c/".concat(n.slug))}}},[t._v("\n      "+t._s(n.name)+"\n    ")])})),0),e("div",{directives:[{name:"show",rawName:"v-show",value:t.show.date||t.show.author,expression:"show.date || show.author"}],staticClass:"card-footer mt-3 desktop-element",staticStyle:{background:"none"},style:t.authorDivStyle()},[e("span",{directives:[{name:"show",rawName:"v-show",value:t.show.date,expression:"show.date"}],style:t.authorStyle()},[t._v("\n      "+t._s(t.formatDate(t.article.scheduled_date,t.config.dateFormat))+"\n    ")]),e("button",{directives:[{name:"show",rawName:"v-show",value:t.show.author,expression:"show.author"}],staticClass:"no-btn",style:t.authorStyle(),on:{click:function(e){return e.stopPropagation(),t.goTo("/a/".concat(t.article.author.slug))}}},[t._v("\n      "+t._s(t.article.author.name)+"\n    ")])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.show.date||t.show.author,expression:"show.date || show.author"}],staticClass:"card-footer mt-3 mobile-element",staticStyle:{background:"none"},style:t.authorDivStyle()},[e("span",{directives:[{name:"show",rawName:"v-show",value:t.show.date,expression:"show.date"}],style:t.authorStyle(!1)},[t._v("\n      "+t._s(t.formatDate(t.article.scheduled_date,t.config.dateFormat))+"\n    ")]),e("button",{directives:[{name:"show",rawName:"v-show",value:t.show.author,expression:"show.author"}],staticClass:"mobile-element no-btn",style:t.authorStyle(!1),on:{click:function(e){return e.stopPropagation(),t.goTo("/a/".concat(t.article.author.slug))}}},[t._v("\n      "+t._s(t.article.author.name)+"\n    ")])])])},nh=[],ih={methods:{showUrl:function(t){var e=this;return"Scheduled"===e.article.date_cycle&&Ni()(new Date(e.article.scheduled_date)).diff(new Date)>0?"#":"undefined"!==typeof e.article.date_cycle&&"Instantaneous"===e.article.date_cycle||-1===window.location.hash.indexOf("#/editor/")?"".concat(t):"#"},formatDate:function(t,e){var n=window.navigator.userLanguage||window.navigator.language;return Ni.a.locale(n),Ni.a.utc(String(t)).local().format(e)}}},oh={name:"CardPostSimple",props:["article","config","colors","show","styles","sizes"],mixins:[ih],methods:{goTo:function(t){window.location.href=this.showUrl(t)},cardStyle:function(){return"background-color: ".concat(this.colors.color_1,";\n              height: ").concat("0px"!==this.sizes.card.height?this.sizes.card.height:"auto",";\n              border-radius: ").concat(this.sizes.card.borderRadius,";")},categoryStyleDiv:function(){var t="left"===this.styles.categories.align?"flex-start":"right"===this.styles.categories.align?"flex-end":"center";return"height: auto;\n              display: flex;\n              align-items: center;\n              flex-wrap: wrap;\n              justify-content: ".concat(t)},thumbnailStyle:function(){return"height: ".concat("0px"!==this.sizes.thumbnail.height?this.sizes.thumbnail.height:"auto",";\n              border-radius: ").concat(this.sizes.thumbnail.borderRadius,";")},buttonDivStyle:function(){var t="left"===this.styles.button.align?"flex-start":"right"===this.styles.button.align?"flex-end":"center";
1return"height: ".concat("0px"!==this.sizes.buttonDiv.height?this.sizes.buttonDiv.height:"auto",";\n              display: flex;\n              align-items: center;\n              justify-content: ").concat(t)},buttonStyle:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return"background-color: ".concat(this.colors.color_2,";\n              box-shadow: none;\n              border-radius: ").concat(this.sizes.button.borderRadius,";\n              font-family: ").concat(this.styles.button.family,";\n              font-size: ").concat(t?this.styles.button.size:this.styles.button.sizeMobile," !important;\n              text-align: center;\n              font-weight: ").concat(this.styles.button.weight,";\n              font-style: ").concat(this.styles.button.style,";\n              text-decoration: ").concat(this.styles.button.stroke,";\n              color: ").concat(this.styles.button.color,";\n              height: ").concat("0px"!==this.sizes.button.height?this.sizes.button.height:"auto",";\n              width: ").concat("0px"!==this.sizes.button.width?this.sizes.button.width:"auto",";\n              overflow: hidden;\n              display: inline-flex;\n              justify-content: center;\n              align-items: center")},categoryStyle:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return"background-color: ".concat(this.colors.color_3,";\n              box-shadow: none;\n              border-radius: ").concat(this.styles.categories.borderRadius,";\n              font-family: ").concat(this.styles.categories.family,";\n              font-size: ").concat(t?this.styles.categories.size:this.styles.categories.sizeMobile," !important;\n              text-align: ").concat(this.styles.categories.align,";\n              font-weight: ").concat(this.styles.categories.weight,";\n              font-style: ").concat(this.styles.categories.style,";\n              text-decoration: ").concat(this.styles.categories.stroke,";\n              color: ").concat(this.styles.categories.color,";\n              height: ").concat(this.styles.categories.height,";\n              overflow: hidden;\n              cursor: pointer;")},titleStyle:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return"font-family: ".concat(this.styles.title.family,";\n              font-size: ").concat(t?this.styles.title.size:this.styles.title.sizeMobile," !important;\n              text-align: ").concat(this.styles.title.align,";\n              font-weight: ").concat(this.styles.title.weight,";\n              font-style: ").concat(this.styles.title.style,";\n              text-decoration: ").concat(this.styles.title.stroke,";\n              height: ").concat("0px"!==this.sizes.title.height&&t?this.sizes.title.height:"auto",";\n              color: ").concat(this.styles.title.color,";\n              -webkit-text-fill-color: ").concat(this.styles.title.color,";\n              cursor: pointer")},contentStyle:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return"font-family: ".concat(this.styles.content.family,";\n              font-size: ").concat(t?this.styles.content.size:this.styles.content.sizeMobile," !important;\n              text-align: ").concat(this.styles.content.align,";\n              font-weight: ").concat(this.styles.content.weight,";\n              font-style: ").concat(this.styles.content.style,";\n              text-decoration: ").concat(this.styles.content.stroke,";\n              color: ").concat(this.styles.content.color,";\n              -webkit-text-fill-color: ").concat(this.styles.content.color,";\n              height: ").concat("0px"!==this.sizes.content.height?this.sizes.content.height:"auto",";\n              overflow: hidden")},authorDivStyle:function(){return"text-align: ".concat(this.styles.author.align,";")},authorStyle:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return"font-family: ".concat(this.styles.author.family,";\n              font-size: ").concat(t?this.styles.author.size:this.styles.author.sizeMobile," !important;\n              text-align: ").concat(this.styles.author.align,";\n              font-weight: ").concat(this.styles.author.weight,";\n              font-style: ").concat(this.styles.author.style,";\n              text-decoration: ").concat(this.styles.author.stroke,";\n              margin-right: 3px;\n              color: ").concat(this.styles.author.color)}},mounted:function(){$("#summaryArticle h1, #summaryArticle h2, #summaryArticle h3, #summaryArticle h4, #summaryArticle h5, #summaryArticle h6, #
1summaryArticle p").addClass("clean-text-css"),$("#summaryArticleMobile h1, #summaryArticleMobile h2, #summaryArticleMobile h3, #summaryArticleMobile h4, #summaryArticleMobile h5, #summaryArticleMobile h6, #summaryArticleMobile p").addClass("clean-text-css"),$("#summaryArticle img").css("display","none"),$("#summaryArticleMobile img").css("display","none"),$("#summaryArticle > iframe").css("display","none"),$("#summaryArticleMobile > iframe").css("display","none")},watch:{styles:function(){$("#summaryArticle h1, #summaryArticle h2, #summaryArticle h3, #summaryArticle h4, #summaryArticle h5, #summaryArticle h6, #summaryArticle p").addClass("clean-text-css"),$("#summaryArticleMobile h1, #summaryArticleMobile h2, #summaryArticleMobile h3, #summaryArticleMobile h4, #summaryArticleMobile h5, #summaryArticleMobile h6, #summaryArticleMobile p").addClass("clean-text-css"),$("#summaryArticle img").css("display","none"),$("#summaryArticleMobile img").css("display","none"),$("#summaryArticle > iframe").css("display","none"),$("#summaryArticleMobile > iframe").css("display","none")}}},ah=oh,rh=(n("a090"),Object(b["a"])(ah,eh,nh,!1,null,"1a58ed9e",null)),sh=rh.exports,ch=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"card-clean desktop-element clean-theme-desktop mtf",style:t.cardStyle()},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.show.thumbnail,expression:"show.thumbnail"}],staticClass:"card-clean__thumbnail",style:t.thumbnailStyle(),on:{click:function(e){t.openUrl(t.showUrl("/blog/".concat(t.article.url)))}}}),e("div",{staticClass:"card-clean__content"},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.show.categories,expression:"show.categories"}],staticClass:"card-clean__content-categories"},t._l(t.article.categories,(function(n){return e("a",{key:n.id,staticClass:"badge ml-1",style:t.categoryStyle(),attrs:{href:t.showUrl("/c/".concat(n.slug))}},[t._v("\n          "+t._s(n.name)+"\n        ")])})),0),e("div",{staticClass:"card-clean__content-preview",attrs:{id:"summaryArticle"}},[e("a",{staticClass:"clean-text-css",style:t.titleStyle(),attrs:{href:t.showUrl("/blog/".concat(t.article.url))}},[t._v("\n          "+t._s(t.article.title)+"\n        ")]),e("p",{directives:[{name:"show",rawName:"v-show",value:t.show.content,expression:"show.content"}],staticClass:"clean-text-css",style:t.contentStyle(),domProps:{innerHTML:t._s(t.article.content)}})]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.show.button,expression:"show.button"}],style:t.buttonDivStyle()},[e("a",{class:"btn float-".concat(t.config.buttonPosition),style:t.buttonStyle(),attrs:{href:t.showUrl("/blog/".concat(t.article.url))}},[t._v(t._s(t.config.readMoreText))])]),e("div",{staticClass:"card-clean__content-info",style:t.authorStyle()},[e("a",{directives:[{name:"show",rawName:"v-show",value:t.show.author,expression:"show.author"}],staticClass:"clean-text-css",style:t.authorStyle(),attrs:{href:t.showUrl("/a/".concat(t.article.author.slug))}},[t._v(t._s(t.article.author.name))]),e("span",{directives:[{name:"show",rawName:"v-show",value:t.show.date,expression:"show.date"}],staticClass:"clean-text-css"},[t._v(t._s(t.formatDate(t.article.scheduled_date,t.config.dateFormat)))])])])]),e("div",{staticClass:"card-clean mobile-element clean-theme-mobile",style:t.cardStyle(!1)},[e("img",{directives:[{name:"show",rawName:"v-show",value:t.show.thumbnail,expression:"show.thumbnail"}],staticClass:"card-img-top",attrs:{src:t.article.thumbnail,alt:"".concat(t.article.title," thumbnail")},on:{click:function(e){t.openUrl(t.showUrl("/blog/".concat(t.article.url)))}}}),e("div",{staticClass:"card-clean__content"},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.show.categories,expression:"show.categories"}]},t._l(t.article.categories,(function(n){return e("a",{key:"desktop-category-".concat(n.id),staticClass:"badge ml-1",style:t.categoryStyle(!1),attrs:{href:t.showUrl("/c/".concat(n.slug))}},[t._v("\n          "+t._s(n.name)+"\n        ")])})),0),e("div",{staticClass:"card-clean__content-preview",attrs:{id:"summaryArticleMobile"}},[e("a",{staticClass:"clean-text-css",style:t.titleStyle(!1),attrs:{href:t.showUrl("/blog/".concat(t.article.url))}},[t._v("\n          "+t._s(t.article.title)+"\n        ")]),e("p",{directives:[{name:"show",rawName:"v-show",value:t.show.content,expression:"show.content"}],staticClass:"clean-text-css",style:t.contentStyle(!1),domProps:{innerHTML:t._s(t.article.content)}})]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.show.button,expression:"show.button"}],style:t.buttonDivStyle()},[e("a",{class:"btn float-".concat(t.config.buttonPosition),style:t.buttonStyle(),attrs:{href:t.showUrl("/blog/".concat(t.article.url))}},[t._v(t._s(t.config.readMoreText))])]),e("div",{staticClass:"card-clean__content-info",style:t.authorStyle(!1)},[e("a",{directives:[{name:"show",rawName:"v-show",value:t.show.author,expression:"show.author"}],staticClass:"clean-text-css",style:t.authorStyle(),attrs:{href:t.showUrl("/a/".concat(t.article.author.slug))}},[t._v(t._s(t.article.author.name))]),e("span",{directives:[{name:"show",rawName:"v-show",value:t.show.date,expression:"show.date"}],staticClass:"clean-text-css"},[t._v(t._s(t.formatDate(t.article.scheduled_date,t.config.dateFormat)))])])])])])},lh=[],dh={name:"CardPostClean",props:["article","config","colors","show","styles","sizes"],mixins:[ih],methods:{openUrl:function(t){"#"!==t&&window.open(t,"_self")},cardStyle:function(){return"\n          background-color: ".concat(this.colors.color_1,";\n          display: flex ").concat("",";\n          border-radius: ").concat(this.sizes.card.borderRadius,";")},thumbnailStyle:function(){return"\n          background: url(".concat(this.article.thumbnail,");\n          width: ").concat(this.sizes.thumbnail.width,";\n          cursor: pointer;\n          height: ").concat("0px"!==this.sizes.thumbnail.height?this.sizes.thumbnail.height:"auto",";\n          border-radius: ").concat(this.sizes.thumbnail.borderRadius,";")},buttonDivStyle:function(){var t="left"===this.styles.button.align?"flex-start":"right"===this.styles.button.align?"flex-end":"center";
1return"height: ".concat("0px"!==this.sizes.buttonDiv.height?this.sizes.buttonDiv.height:"auto",";\n               display: flex;\n               align-items: center;\n               justify-content: ").concat(t)},buttonStyle:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return"background-color: ".concat(this.colors.color_2,";\n              box-shadow: none;\n              border-radius: ").concat(this.sizes.button.borderRadius,";              font-family:  ").concat(this.styles.button.family,";\n              font-size: ").concat(t?this.styles.button.size:this.styles.button.sizeMobile," !important;\n              text-align: center;\n              font-weight: ").concat(this.styles.button.weight,";\n              font-style: ").concat(this.styles.button.style,";\n              text-decoration: ").concat(this.styles.button.stroke,";\n              color: ").concat(this.styles.button.color,";\n              height: ").concat("0px"!==this.sizes.button.height?this.sizes.button.height:"auto",";\n              width: ").concat("0px"!==this.sizes.button.width?this.sizes.button.width:"auto",";\n              overflow: hidden")},categoryStyle:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return"background-color: ".concat(this.colors.color_3,";\n              box-shadow: none;\n              border-radius: ").concat(this.styles.categories.borderRadius,";\n              font-family:  ").concat(this.styles.categories.family,";\n              font-size: ").concat(t?this.styles.categories.size:this.styles.categories.sizeMobile," !important;\n              text-align: ").concat(this.styles.categories.align,";\n              font-weight: ").concat(this.styles.categories.weight,";\n              font-style: ").concat(this.styles.categories.style,";\n              text-decoration: ").concat(this.styles.categories.stroke,";\n              color: ").concat(this.styles.categories.color,";\n               cursor: pointer;\n              height: ").concat(this.styles.categories.height,";\n              overflow: hidden")},titleStyle:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return"font-family:  ".concat(this.styles.title.family,";\n                  font-size: ").concat(t?this.styles.title.size:this.styles.title.sizeMobile," !important;\n                  text-align: ").concat(this.styles.title.align,";\n                  font-weight: ").concat(this.styles.title.weight,";\n                  font-style: ").concat(this.styles.title.style,";\n                  text-decoration: ").concat(this.styles.title.stroke,";\n                  cursor: pointer;\n                  height: ").concat("0px"!==this.sizes.title.height?this.sizes.title.height:"auto",";\n                  color: ").concat(this.styles.title.color,";\n                  -webkit-text-fill-color: ").concat(this.styles.title.color,";\n")},contentStyle:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return"font-family:  ".concat(this.styles.content.family,";\n                  font-size: ").concat(t?this.styles.content.size:this.styles.content.sizeMobile," !important;\n                  text-align: ").concat(this.styles.content.align,";\n                  font-weight: ").concat(this.styles.content.weight,";\n                  font-style: ").concat(this.styles.content.style,";\n                  text-decoration: ").concat(this.styles.content.stroke,";\n                  color: ").concat(this.styles.content.color,";\n                  -webkit-text-fill-color: ").concat(this.styles.content.color,";\n                  height: ").concat("0px"!==this.sizes.content.height?this.sizes.content.height:"auto",";\n                  overflow: hidden")},authorStyle:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return"font-family:  ".concat(this.styles.author.family,";\n                  font-size: ").concat(t?this.styles.author.size:this.styles.author.sizeMobile," !important;\n                  text-align: ").concat(this.styles.author.align,";\n                  font-weight: ").concat(this.styles.author.weight,";\n                  font-style: ").concat(this.styles.author.style,";\n                  text-decoration: ").concat(this.styles.author.stroke,";\n                   cursor: pointer;\n                  color: ").concat(this.styles.author.color)}},mounted:function(){$("#summaryArticle h1, #summaryArticle h2, #summaryArticle h3, #summaryArticle h4, #summaryArticle h5, #summaryArticle h6, #
1summaryArticle p").addClass("clean-text-css"),$("#summaryArticleMobile h1, #summaryArticle h2, #summaryArticle h3, #summaryArticle h4, #summaryArticle h5, #summaryArticle h6, #summaryArticle p").addClass("clean-text-css"),$("#summaryArticle img").css("display","none"),$("#summaryArticleMobile img").css("display","none"),$("#summaryArticle > iframe").css("display","none"),$("#summaryArticleMobile > iframe").css("display","none")},watch:{styles:function(){$("#summaryArticle h1, #summaryArticle h2, #summaryArticle h3, #summaryArticle h4, #summaryArticle h5, #summaryArticle h6, #summaryArticle p").addClass("clean-text-css"),$("#summaryArticleMobile h1, #summaryArticle h2, #summaryArticle h3, #summaryArticle h4, #summaryArticle h5, #summaryArticle h6, #summaryArticle p").addClass("clean-text-css"),$("#summaryArticle img").css("display","none"),$("#summaryArticleMobile img").css("display","none"),$("#summaryArticle > iframe").css("display","none"),$("#summaryArticleMobile > iframe").css("display","none")},article:function(t){}}},uh=dh,hh=(n("2cfc"),Object(b["a"])(uh,ch,lh,!1,null,"3f437532",null)),gh=hh.exports,fh=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"card-hover desktop-element hover-theme-desktop mtf",style:t.cardStyle(),on:{click:function(e){t.openUrl(t.showUrl("/blog/".concat(t.article.url)))}}},[e("div",{staticClass:"card-hover__content-info"},[e("h3",{staticClass:"clean-text-css",style:t.titleStyle()},[t._v("\n        "+t._s(t.article.title)+"\n      ")]),e("hr",{style:{background:t.colors.color_1}}),t.show.author?e("div",{style:t.authorStyle()},[e("span",[t._v(" "+t._s(t.article.author.name)+" ")])]):t._e()]),e("div",{staticClass:"card-hover__content-preview",style:t.contentStyle()}),e("div",{staticClass:"card-hover__footer"},[t._m(0),e("div",{directives:[{name:"show",rawName:"v-show",value:t.show.date,expression:"show.date"}],staticClass:"icon-holder",style:t.authorStyle()},[e("span",[e("i",{staticClass:"fa fa-calendar",style:{color:t.colors.color_2}}),t._v("\n          "+t._s(t.formatDate(t.article.scheduled_date,t.config.dateFormat))+"\n        ")])])]),e("div",{staticClass:"color-overlay"})]),e("div",{staticClass:"card-hover mobile-element hover-theme-mobile",style:t.cardStyle(!1),on:{click:function(e){t.openUrl(t.showUrl("/blog/".concat(t.article.url)))}}},[e("div",{staticClass:"card-hover__content-info"},[e("h3",{staticClass:"clean-text-css",style:t.titleStyle(!1)},[t._v("\n        "+t._s(t.article.title)+"\n      ")]),e("hr",{style:{background:t.colors.color_1}}),t.show.author?e("div",{style:t.authorStyle(!1)},[e("span",[t._v(" "+t._s(t.article.author.name)+" ")])]):t._e()]),e("div",{staticClass:"card-hover__content-preview",style:t.contentStyle(!1)}),e("div",{staticClass:"card-hover__footer"},[t._m(1),e("div",{directives:[{name:"show",rawName:"v-show",value:t.show.date,expression:"show.date"}],staticClass:"icon-holder",style:t.authorStyle(!1)},[e("span",[e("i",{staticClass:"fa fa-calendar",style:{color:t.colors.color_2}}),t._v("\n          "+t._s(t.formatDate(t.article.scheduled_date,t.config.dateFormat))+"\n        ")])])]),e("div",{staticClass:"color-overlay"})])])},ph=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-hover__footer-categories"},[e("span")])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-hover__footer-categories"},[e("span")])}],mh={props:["article","config","colors","show","styles","sizes"],name:"ArticleCardHover",mixins:[ih],methods:{openUrl:function(t){"#"!==t&&window.open(t,"_self")},cardStyle:function(){return"\n        background: url(".concat(this.article.thumbnail,");\n        background-size: cover;\n        background-position: center;\n        display: flex;\n        cursor: pointer;\n        align-items: center;\n        height: ").concat("0px"!==this.sizes.card.height?this.sizes.card.height:"400px",";")},contentStyle:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return"font-family:  ".concat(this.styles.content.family,";\n                  font-size: ").concat(t?this.styles.content.size:this.styles.content.sizeMobile," !important;\n                  text-align: ").concat(this.styles.content.align,";\n                  font-weight: ").concat(this.styles.content.weight,";\n                  font-style: ").concat(this.styles.content.style,";\n                  text-decoration: ").concat(this.styles.content.stroke,";\n                  color: ").concat(this.styles.content.color,";\n                  -webkit-text-fill-color: ").concat(this.styles.content.color,";\n                  height: ").concat("0px"!==this.sizes.content.height?this.sizes.content.height:"auto",";\n                  overflow: hidden")},titleStyle:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return"font-family:  ".concat(this.styles.title.family,";\n                  font-size: ").concat(t?this.styles.title.size:this.styles.title.sizeMobile," !important;\n                  text-align: ").concat(this.styles.title.align,";\n                  font-weight: ").concat(this.styles.title.weight,";\n                  font-style: ").concat(this.styles.title.style,";\n                  text-decoration: ").concat(this.styles.title.stroke,";\n                  height: ").concat("0px"!==this.sizes.title.height&&t?this.sizes.title.height:"auto",";\n                  color: ").concat(this.styles.title.color,";\n                  -webkit-text-fill-color: ").concat(this.styles.title.color,";\n                  margin-bottom: ").concat(!t&&"30px",";\n                  padding-left: 10px;\n                  padding-right: 10px;\n                  ")},authorStyle:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return"font-family:  ".concat(this.styles.author.family,";\n                  font-size: ").concat(t?this.styles.author.size:this.styles.author.sizeMobile," !important;\n                  text-align: ").concat(this.styles.author.align,";\n                  font-weight: ").concat(this.styles.author.weight,";\n                  font-style: ").concat(this.styles.author.style,";\n                  text-decoration: ").concat(this.styles.author.stroke,";\n                  margin-left: 10px;\n                  margin-right: 10px;\n                  color: ").concat(this.styles.author.color)},categoryStyle:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return"background-color: ".concat(this.colors.color_3,";\n              box-shadow: none;\n              border-radius: ").concat(this.styles.categories.borderRadius,";\n              font-family:  ").concat(this.styles.categories.family,";\n              font-size: ").concat(t?this.styles.categories.size:this.styles.categories.sizeMobile," !important;\n              text-align: ").concat(this.styles.categories.align,";\n              font-weight: ").concat(this.styles.categories.weight,";\n              font-style: ").concat(this.styles.categories.style,";\n              text-decoration: ").concat(this.styles.categories.stroke,";\n              color: ").concat(this.styles.categories.color,";\n              height: ").concat(this.styles.categories.height,";\n              overflow: hidden")}},mounted:function(){}},bh=mh,_h=(n("fd7d"),Object(b["a"])(bh,fh,ph,!1,null,"ca0ea7da",null)),yh=_h.exports,vh=function(){var t=this,e=t._self._c;return e("div",[e("div",{class:"mtf card-list desktop-element clean-theme-desktop ".concat(1&t.position?"alt":""),style:t.cardStyle()},[e("div",{staticClass:"card-list__content-info"},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.show.thumbnail,expression:"show.thumbnail"}],staticClass:"card-list__thumbnail",style:t.thumbnailStyle()}),e("ul",{staticClass:"details"},[e("li",{staticClass:"author"},[e("a",{directives:[{name:"show",rawName:"v-show",value:t.show.author,expression:"show.author"}],style:t.authorStyle(),attrs:{href:t.showUrl("/a/".concat(t.article.author.slug))},domProps:{textContent:t._s(t.article.author.name)}})]),e("li",{directives:[{name:"show",rawName:"v-show",value:t.show.date,expression:"show.date"}],staticClass:"date",style:t.authorStyle(),domProps:{textContent:t._s(t.formatDate(t.article.scheduled_date,t.config.dateFormat))}}),t._l(t.article.categories,(function(n){var i=n.id,o=n.name,a=n.slug;return e("li",{directives:[{name:"show",rawName:"v-show",value:t.show.categories,expression:"show.categories"}],key:i,staticClass:"categories"},[e("a",{style:t.categoryStyle(),attrs:{href:t.showUrl("/c/".concat(a))},domProps:{textContent:t._s(o)}})])}))],2)]),e("div",{staticClass:"card-list__content-preview",style:{backgroundColor:t.colors.color_2}},[e("a",{staticClass:"clean-text-css",style:t.titleStyle(),attrs:{href:t.showUrl("/blog/".concat(t.article.url))},domProps:{textContent:t._s(t.article.title)}}),e("p",{directives:[{name:"show",rawName:"v-show",value:t.show.content,expression:"show.content"}],staticClass:"clean-text-css",style:t.contentStyle(),domProps:{innerHTML:t._s(t.article.content.substr(0,300))}}),e("p",{directives:[{name:"show",rawName:"v-show",value:t.show.button,expression:"show.button"}],staticClass:"read-more",style:t.alignButton()},[e("a",{staticClass:"clean-text-css",style:t.buttonStyle(),attrs:{href:t.showUrl("/blog/".concat(t.article.url))},domProps:{textContent:t._s(t.config.readMoreText)}})])])]),e("div",{class:"card-list mobile-element clean-theme-mobile ".concat(!!(1&t.position)&&"alt"),style:t.cardStyle()},[e("div",{staticClass:"card-list__content-info",style:t.contentInfo()},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.show.thumbnail,expression:"show.thumbnail"}],staticClass:"card-list__thumbnail",style:t.thumbnailStyle(!1)}),e("ul",{staticClass:"details"},[e("li",{staticClass:"author"},[e("a",{directives:[{name:"show",rawName:"v-show",value:t.show.author,expression:"show.author"}],style:t.authorStyle(!1),attrs:{href:t.showUrl("/a/".concat(t.article.author.slug))},domProps:{textContent:t._s(t.article.author.name)}})]),e("li",{directives:[{name:"show",rawName:"v-show",value:t.show.date,expression:"show.date"}],staticClass:"date",style:t.authorStyle(!1),domProps:{textContent:t._s(t.formatDate(t.article.scheduled_date,t.config.dateFormat))}}),t._l(t.article.categories,(function(n){var i=n.id,o=n.name,a=n.slug;return e("li",{directives:[{name:"show",rawName:"v-show",value:t.show.categories,expression:"show.categories"}],key:i,staticClass:"categories"},[e("a",{style:t.categoryStyle(!1),attrs:{href:t.showUrl("/c/".concat(a))},domProps:{textContent:t._s(o)}})])}))],2)]),e("div",{staticClass:"card-list__content-preview",style:{backgroundColor:t.colors.color_2}},[e("a",{staticClass:"clean-text-css",style:t.titleStyle(!1),attrs:{href:t.showUrl("/blog/".concat(t.article.url))},domProps:{textContent:t._s(t.article.title)}}),e("p",{directives:[{name:"show",rawName:"v-show",value:t.show.content,expression:"show.content"}],staticClass:"clean-text-css",style:t.contentStyle(!1),domProps:{innerHTML:t._s(t.article.content.substr(0,300))}}),e("p",{directives:[{name:"show",rawName:"v-show",value:t.show.button,expression:"show.button"}],staticClass:"read-more",style:t.alignButton()},[e("a",{style:t.buttonStyle(!1),attrs:{href:t.showUrl("/blog/".concat(t.article.url))},domProps:{textContent:t._s(t.config.readMoreText)}})])])])])},wh=[],xh={name:"List",props:["article","position","config","colors","show","styles","sizes"],mixins:[ih],methods:{cardStyle:function(){var t=document.documentElement;return t.style.setProperty("--detail-color-theme-1",this.colors.color_1),"border-radius: ".concat(this.sizes.card.borderRadius,";")}
1,contentInfo:function(){return"\n        width: 100%;\n        height: 150px;\n        "},thumbnailStyle:function(){return"\n        background-image: url(".concat(this.article.thumbnail,");\n        border-radius: ").concat(this.sizes.thumbnail.borderRadius,";\n      ")},authorStyle:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return"font-family:  ".concat(this.styles.author.family,";\n                  font-size: ").concat(t?this.styles.author.size:this.styles.author.sizeMobile," !important;\n                  text-align: ").concat(this.styles.author.align,";\n                  font-weight: ").concat(this.styles.author.weight,";\n                  font-style: ").concat(this.styles.author.style,";\n                  text-decoration: ").concat(this.styles.author.stroke,";\n                  color: ").concat(this.styles.author.color)},categoryStyle:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return"background-color: ".concat(this.colors.color_3,";\n              box-shadow: none;\n              border-radius: ").concat(this.styles.categories.borderRadius,";\n              font-family:  ").concat(this.styles.categories.family,";\n              font-size: ").concat(t?this.styles.categories.size:this.styles.categories.sizeMobile," !important;\n              text-align: ").concat(this.styles.categories.align,";\n              font-weight: ").concat(this.styles.categories.weight,";\n              font-style: ").concat(this.styles.categories.style,";\n              text-decoration: ").concat(this.styles.categories.stroke,";\n              color: ").concat(this.styles.categories.color,";\n              height: ").concat(this.styles.categories.height,";\n              overflow: hidden")},titleStyle:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return"font-family:  ".concat(this.styles.title.family,";\n                  font-size: ").concat(t?this.styles.title.size:this.styles.title.sizeMobile," !important;\n                  text-align: ").concat(this.styles.title.align,";\n                  font-weight: ").concat(this.styles.title.weight,";\n                  font-style: ").concat(this.styles.title.style,";\n                  text-decoration: ").concat(this.styles.title.stroke,";\n                  height: ").concat("0px"!==this.sizes.title.height?this.sizes.title.height:"auto",";\n                  color: ").concat(this.styles.title.color,";\n                  -webkit-text-fill-color: ").concat(this.styles.title.color,";\n                ")},contentStyle:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return"font-family:  ".concat(this.styles.content.family,";\n                  font-size: ").concat(t?this.styles.content.size:this.styles.content.sizeMobile," !important;\n                  text-align: ").concat(this.styles.content.align,";\n                  font-weight: ").concat(this.styles.content.weight,";\n                  font-style: ").concat(this.styles.content.style,";\n                  text-decoration: ").concat(this.styles.content.stroke,";\n                  color: ").concat(this.styles.content.color,";\n                  -webkit-text-fill-color: ").concat(this.styles.content.color,";\n                  height: ").concat("0px"!==this.sizes.content.height?this.sizes.content.height:"auto",";\n                  overflow: hidden")},alignButton:function(){var t="left"===this.styles.button.align?"flex-start":"right"===this.styles.button.align?"flex-end":"center";return"height: ".concat("0px"!==this.sizes.buttonDiv.height?this.sizes.buttonDiv.height:"auto",";\n               display: flex;\n               align-items: center;\n               justify-content: ").concat(t)},buttonStyle:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=document.documentElement;return e.style.setProperty("--btn-theme-grid-color-readmorehover",this.colors.color_4),"\n              display: flex;\n              justify-content: center;\n              align-items: center;\n              background-color: ".concat(this.colors.color_5,";\n              box-shadow: none;\n              border-radius: ").concat(this.sizes.button.borderRadius,";\n              font-family:  ").concat(this.styles.button.family,";\n              font-size: ").concat(t?this.styles.button.size:this.styles.button.sizeMobile," !important;\n              text-align: ").concat(this.styles.button.align,";\n              font-weight: ").concat(this.styles.button.weight,";\n              font-style: ").concat(this.styles.button.style,";\n              text-decoration: ").concat(this.styles.button.stroke,";\n              color: ").concat(this.styles.button.color,";\n              height: ").concat("0px"!==this.sizes.button.height?this.sizes.button.height:"auto",";\n              width: ").concat("0px"!==this.sizes.button.width?this.sizes.button.width:"auto",";\n              overflow: hidden;\n              cursor: pointer;")},altMethod:function(){return 2==this.options.theme||3==this.options.theme&&"undefined"!==typeof data&&data.number%2==0}}},kh=xh,Sh=(n("7f5e"),Object(b["a"])(kh,vh,wh,!1,null,"8fdf7280",null)),Ch=S
1h.exports,Ih={name:"BlogArticleListComponent",props:["config","id"],components:{CardPostSimple:sh,CardHover:yh,CardClean:gh,CardList:Ch},data:function(){return th.data()},methods:{getPaginationUrl:function(t){var e="".concat(this.pagination.path,"/page/").concat(t);return-1!==this.pagination.path.indexOf("?")&&(e="/s/page/".concat(t).concat(this.pagination.path)),e=e.replace("page/".concat(this.pagination.current_page,"/"),""),e},build:function(t){this.internal_config=Pn.a.merge(this.internal_config,t),this.internal_config=Pn.a.merge(this.internal_config,{newsNotFound:!1})},animation:function(){return!1},checkCondition:function(){return("featured"!==this.internal_config.type||0!==this.internal_config.selectedArticle)&&(!!("group"!==this.internal_config.type||this.articles&&0!==this.articles.length)&&!!("feed"!==this.internal_config.type||this.articles&&0!==this.articles.length))},getClasses:function(t){return"mt-1 mb-1 card-article"},getCardStyle:function(t){if("featured"===this.internal_config.type)return"width: 100%";if("group"===this.internal_config.type&&this.articles&&1===this.articles.length)return"width: 100%";function e(t){var e=parseInt(100/t-1),n=(100-e*t)/t;return"width: ".concat(e,"%; margin-left: ").concat(n,"%")}if("none"!==this.internal_config.headline)switch(this.internal_config.headline){case"1-100":var n=e(0===t?1:this.internal_config.columns);return n;case"2-50":var i=e(t<=1?2:this.internal_config.columns);return i;case"3-33":var o=e(t<=2?3:this.internal_config.columns);return o;case"4-25":var a=e(t<=3?4:this.internal_config.columns);return a;case"last-column":var r=0===t?"width:  ".concat(100/this.internal_config.columns-1,"%; margin-left: ").concat(100-(100/this.internal_config.columns-1),"%;"):e(this.internal_config.columns);return r}return e(this.internal_config.columns)},getfeedArticles:function(){},getNews:function(){var t=this;if("featured"===t.internal_config.type&&fu(this.internal_config.selectedArticle).then((function(e){var n=e.data;t.articles.push(n.data)})),"group"===t.internal_config.type&&pu(this.internal_config).then((function(e){var n=e.data;t.articles=n.data})),"feed"===t.internal_config.type){var e=function(t){1===t.pagination.current_page?t.pagination.previous=!1:(t.pagination.previous=!0,t.pagination.first=!0),t.pagination.current_page===t.pagination.last_page&&1!==t.pagination.current_page?t.pagination.next=!1:(t.pagination.next=!0,t.pagination.last=!0),1===t.pagination.current_page&&(t.pagination.pages=[1,2,3]),t.pagination.current_page>1&&t.pagination.current_page<t.pagination.last_page&&(t.pagination.pages=[t.pagination.current_page-1,t.pagination.current_page,t.pagination.current_page+1]),t.pagination.current_page===t.pagination.last_page&&1!==t.pagination.current_page&&(t.pagination.pages=[t.pagination.last_page-2,t.pagination.last_page-1,t.pagination.last_page]),1===t.pagination.last_page&&(t.pagination.show=!1)};if("/s"===window.location.pathname||-1!==window.location.pathname.indexOf("/s/")){var n=window.location.search,i=new URLSearchParams(n),o=i.get("query");t.internal_config.filters.search=o,t.pagination.path="?query=".concat(o)}if(-1!==window.location.pathname.indexOf("/c/")){var a=window.location.pathname.replace("/c/","");t.internal_config.filters.category=a,t.pagination.path=window.location.pathname}if(-1!==window.location.pathname.indexOf("/a/")){var r=window.location.pathname.replace("/a/","");t.internal_config.filters.author=r,t.pagination.path=window.location.pathname}if(-1!==window.location.pathname.indexOf("/page/"))if(console.log(window.location.pathname.indexOf(t.pagination.path)),-1!==window.location.pathname.indexOf(t.pagination.path)){var s=window.location.pathname.split("/").pop();t.pagination.current_page=s}else{var c=window.location.pathname.replace("/page/","");-1!==c.indexOf("s")&&(c=window.location.pathname.split("/").pop()),t.pagination.current_page=c}else t.pagination.current_page=parseInt(1);mu().then((function(n){var i=n.data;null==localStorage.getItem("utc_time_"+i.key)&&localStorage.setItem("utc_time_"+i.key,Ni()().utc().unix()),bu(t.internal_config,t.pagination,localStorage.getItem("utc_time_"+i.key)).then((function(n){var i=n.data;t.articles=i.data,t.pagination.last_page=i.last_page,t.pagination.current_page=i.current_page,e(t),l(t),t.internal_config.filters.search&&(t.internal_config.newsNotFound=!(t.articles&&t.articles.length))}))}))}function l(t){var e=t.internal_config,n=t.articles&&t.articles.length?t.articles.length:0;if(e.filters.amount<n){var i=0;"1-100"===e.headline&&(i=1),"2-50"===e.headline&&(i=2),"3-33"===e.headline&&(i=3),"last-column"===e.headline&&(i=1),"n
1one"===e.headline&&(i=0);var o=e.columns,a=(e.filters.amount-i)/o;i>0&&(a+=1);var r=(n-i)/o;i>0&&(r+=1),r>a&&(t.newLines=r-a,setTimeout((function(){var e=$(".mtf")[0],n=t.$el.getBoundingClientRect(),i=$(t.$el).position().top,o=$(t.$el).offset().left,a=n.width;"undefined"!==typeof t.$parent.changeHeight&&"function"===typeof t.$parent.changeHeight&&t.$parent.changeHeight($(e).height()*t.newLines+100,!0,t.$el.id,i,o-100,a)}),2e3))}}},article:function(){return this.internal_config.article},style:function(){return"width: ".concat(this.internal_config.width,";\n               height:  ").concat(this.internal_config.height,";\n               z-index: ").concat(this.internal_config.zIndex,";\n               margin: 0 auto;\n               left:  ").concat(this.internal_config.left,";\n               top: ").concat(this.internal_config.top)},styleCard:function(){return"background-color: ".concat(this.internal_config.backgroundColor)}},mounted:function(){this.build(this.$props.config),this.getNews()}},$h=Ih,Th=(n("1737"),Object(b["a"])($h,Qu,Xu,!1,null,null,null)),Ph=Th.exports,Oh=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:t.id,element:"blogNewsSliderComponent","data-hide-desktop":!t.internal_config.showDesktop,"data-hide-mobile":!t.internal_config.showMobile,"config-properties":JSON.stringify(t.internal_config)}},[e("div",{ref:"blogNewsSlider",staticClass:"blog-news-slider",style:{opacity:t.opacity,borderRadius:t.radius,border:t.border,boxShadow:t.boxShadow,minHeight:t.minHeight}},t._l(t.news,(function(n,i){return e("div",{key:i,class:"news-slider-".concat(i),style:{backgroundImage:"url('".concat(n.thumbnail,"')"),cursor:t.internal_config.optionNews.redirectUrl?"pointer":""},on:{click:function(e){return t.redirectPost(n.url)}}},[t.showTitle||t.showDescription?e("div",{staticClass:"news-info-slider",style:t.infoContentStyle()},[e("p",{directives:[{name:"show",rawName:"v-show",value:t.showTitle,expression:"showTitle"}],staticClass:"clean-text-css desktop-element",style:t.titleTextStyle(),domProps:{innerHTML:t._s(n.title)}}),e("p",{directives:[{name:"show",rawName:"v-show",value:t.showTitle,expression:"showTitle"}],staticClass:"clean-text-css mobile-element news-info-slider-content",style:t.titleTextStyle(!1),domProps:{innerHTML:t._s(n.title)}}),e("p",{directives:[{name:"show",rawName:"v-show",value:t.showDescription,expression:"showDescription"}],staticClass:"clean-text-css desktop-element",style:t.subTextStyle(),domProps:{innerHTML:t._s(n.content)}}),e("p",{directives:[{name:"show",rawName:"v-show",value:t.showDescription,expression:"showDescription"}],staticClass:"clean-text-css mobile-element",style:t.subTextStyle(!1),domProps:{innerHTML:t._s(n.content)}})]):t._e()])})),0),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showArrows,expression:"showArrows"}],staticClass:"mdi mdi-chevron-left arrow-left",style:t.styleArrow(),on:{click:t.prevSlider}}),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showArrows,expression:"showArrows"}],staticClass:"mdi mdi-chevron-right arrow-right",style:t.styleArrow(),on:{click:t.nextSlider}})])},Ah=[],Rh={data:function(){return{props:{name:"BlogNewsSliderComponent",height:"200px",width:"200px",minHeight:"50px",zIndex:"auto",rotation:"0deg",opacity:1,news:[{thumbnail:"https://cdn.pixabay.com/photo/2014/05/02/21/50/home-office-336378_960_720.jpg",title:"My post title",content:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."},{thumbnail:"https://cdn.pixabay.com/photo/2014/12/27/15/40/office-581131_960_720.jpg",title:"My post title",content:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."}],optionNews:{totalNews:4,featuredNews:!1,showTitle:!0,showDescription:!0,redirectUrl:!0},arrowOptions:!0,arrowSize:"25px",arrowColor:"#d1d1d1",timerSlider:3e3,currentIndex:0,autoPlaySlider:!1,slider:null,titleTextContent:{family:"arial, helvetica, sans-serif",size:"15px",sizeMobile:"15px",color:"#434343",align:"center",weight:"700",style:"initial",stroke:"none"}
1,subTextStyle:{family:"arial, helvetica, sans-serif",size:"15px",sizeMobile:"15px",color:"#434343",align:"center",weight:"400",style:"initial",stroke:"none"},infoContentPadding:{paddingTop:"5px",paddingLeft:"5px",paddingRight:"5px",paddingBottom:"5px"},infoContentHeight:"90px",infoContentColor:"white",overflow:"hidden",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},internal_config:{zIndex:"auto",overflow:"hidden",news:[{thumbnail:"https://cdn.pixabay.com/photo/2014/05/02/21/50/home-office-336378_960_720.jpg",title:"Meu primeiro texto",content:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."},{thumbnail:"https://cdn.pixabay.com/photo/2014/12/27/15/40/office-581131_960_720.jpg",title:"Dripping teste",content:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."}],optionNews:{totalNews:4,featuredNews:!1,showTitle:!0,showDescription:!0,redirectUrl:!0},arrowOptions:!0,arrowSize:"25px",arrowColor:"#d1d1d1",timerSlider:3e3,currentIndex:0,autoPlaySlider:!1,slider:null,titleTextContent:{family:"arial, helvetica, sans-serif",size:"15px",sizeMobile:"15px",color:"#434343",align:"center",weight:"700",style:"initial",stroke:"none"},subTextStyle:{family:"arial, helvetica, sans-serif",size:"15px",sizeMobile:"15px",color:"#434343",align:"center",weight:"400",style:"initial",stroke:"none"},infoContentHeight:"90px",infoContentColor:"white",infoContentPadding:{paddingTop:"5px",paddingLeft:"5px",paddingRight:"5px",paddingBottom:"5px"},height:"200px",width:"200px",minHeight:"50px",left:"0px",top:"0px",showDesktop:!0,showMobile:!0,rotation:"0deg",opacity:1,boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0"}}}},Bh={name:"BlogNewsSliderComponent",props:["config","id"],computed:{showTitle:function(){return this.internal_config.optionNews.showTitle},showDescription:function(){return this.internal_config.optionNews.showDescription},showArrows:function(){return this.internal_config.arrowOptions},timerSlider:function(){return this.internal_config.timerSlider},minHeight:function(){return this.internal_config.minHeight},opacity:function(){return this.internal_config.opacity},border:function(){return this.internal_config.border},boxShadow:function(){return this.internal_config.boxShadow},radius:function(){return this.internal_config.borderRadius}},data:function(){return Rh.data()},methods:{buildSlider:function(){var t=this,e=this;pu({type:"group",filters:{category:"all",author:"all",featured:this.internal_config.optionNews.featuredNews,mostAccessed:!1,amount:this.internal_config.optionNews.totalNews}}).then((function(n){var i=n.data;i.data.length&&(e.internal_config.news=[],e.news=i.data,t.autoPlaySlider())}))},autoPlaySlider:function(){var t=this;this.destroyAutoPlay();var e=this.internal_config,n=e.autoPlaySlider,i=e.timerSlider;if(!n)return this.internal_config.slider=null,!1;this.internal_config.slider=setTimeout((function(){t.nextSlider()}),i)},destroyAutoPlay:function(){clearTimeout(this.internal_config.slider)},prevSlider:function(){var t=this.internal_config.currentIndex,e=this.news,n=t?t-1:e.length-1,i=this.$refs.blogNewsSlider.children[n],o=this.$refs.blogNewsSlider.children[t];i.style.left="-100%",o.style.left=0,i.setAttribute("class","news-sli
1der-".concat(n," slider-in-left")),o.setAttribute("class","news-slider-".concat(t," slider-out-right")),this.internal_config.currentIndex=n,this.autoPlaySlider()},nextSlider:function(){var t=this.internal_config.currentIndex,e=this.news,n=t===e.length-1?0:t+1,i=this.$refs.blogNewsSlider.children[n],o=this.$refs.blogNewsSlider.children[t];i.style.left="100%",o.style.left=0,i.setAttribute("class","news-slider-".concat(n," slider-in-right")),o.setAttribute("class","news-slider-".concat(t," slider-out-left")),this.internal_config.currentIndex=n,this.autoPlaySlider()},redirectPost:function(t){this.internal_config.optionNews.redirectUrl&&t&&(window.location="/blog/"+t)},style:function(){return"width: ".concat(this.internal_config.width,";\n                     height:  ").concat(this.internal_config.height,";\n                     z-index: ").concat(this.internal_config.zIndex,";\n                     max-width: ").concat(this.internal_config.maxWidth,";\n                     margin: 0 auto;\n                     left:  ").concat(this.internal_config.left,";\n                     top: ").concat(this.internal_config.top)},titleTextStyle:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return"font-family:  ".concat(this.internal_config.titleTextContent.family,";\n                font-size: ").concat(t?this.internal_config.titleTextContent.size:this.internal_config.titleTextContent.sizeMobile," !important;\n                text-align: ").concat(this.internal_config.titleTextContent.align,";\n                font-weight: ").concat(this.internal_config.titleTextContent.weight,";\n                font-style: ").concat(this.internal_config.titleTextContent.style,";\n                text-decoration: ").concat(this.internal_config.titleTextContent.stroke,";\n                color: ").concat(this.internal_config.titleTextContent.color)},subTextStyle:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return"font-family:  ".concat(this.internal_config.subTextStyle.family," !important;\n                font-size: ").concat(t?this.internal_config.subTextStyle.size:this.internal_config.subTextStyle.sizeMobile," !important;\n                text-align: ").concat(this.internal_config.subTextStyle.align,";\n                font-weight: ").concat(this.internal_config.subTextStyle.weight,";\n                font-style: ").concat(this.internal_config.subTextStyle.style,";\n                text-decoration: ").concat(this.internal_config.subTextStyle.stroke,";\n                color: ").concat(this.internal_config.subTextStyle.color)},infoContentStyle:function(){return"\n          height: ".concat(this.internal_config.infoContentHeight,";\n          background-color: ").concat(this.internal_config.infoContentColor,";\n\n          padding-top: ").concat(this.internal_config.infoContentPadding.paddingTop,";\n          padding-right: ").concat(this.internal_config.infoContentPadding.paddingRight,";\n          padding-bottom: ").concat(this.internal_config.infoContentPadding.paddingBottom,";\n          padding-left: ").concat(this.internal_config.infoContentPadding.paddingLeft,";\n          ")},styleArrow:function(){return"\n          font-size: ".concat(this.internal_config.arrowSize,";\n          width: ").concat(this.internal_config.arrowSize,";\n          height: ").concat(this.internal_config.arrowSize,";\n          background-color: ").concat(this.internal_config.arrowBackground,";\n          color: ").concat(this.internal_config.arrowColor,";\n          ")}},mounted:function(){var t=this;this.internal_config=window.mergeRecursive(this.props,this.$props.config),this.buildSlider();var e=[];$("[id]").each((function(){var t=$('[id="'+this.id+'"]');t.length>1&&t[0]==this&&parseInt(this.id)&&e.push(this.id)})),e.includes(this.id)&&(this.id=Date.now()+parseInt(1e4*Math.random())),this.$root.$on("setConfigElement",(function(e,n){t.id==e&&(t.config=n,t.internal_config=n)}))}},Lh=Bh,zh=(n("b560"),Object(b["a"])(Lh,Oh,Ah,!1,null,"7942b71e",null)),Mh=zh.exports,Eh=function(){var t=this,e=t._self._c;return e("form",{ref:"form-register",staticClass:"restrict-area-form-register",attrs:{method:"POST",autocomplete:"off"},on:{submit:function(e){return e.preventDefault(),t.register.apply(null,arguments)}}},[t.errors.has("alert")?e("div",{staticClass:"alert alert-danger"},[e("p",{staticClass:"mb-0 clean-text-css"},[t._v(t._s(t.errors.get("alert")))])]):t._e(),t.loading?[t._m(0)]:t._e(),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.loading,expression:"!loading"}]},[e("div",{staticClass:"form-group"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.user.name,expression:"user.name"}
1],staticClass:"form-control form-control-alternative",class:{"is-invalid":t.errors.has("name")},attrs:{type:"text",id:"name",placeholder:t.$t("ct-name"),required:""},domProps:{value:t.user.name},on:{keydown:function(e){return t.errors.clear("name")},input:function(e){e.target.composing||t.$set(t.user,"name",e.target.value)}}}),t.errors.has("name")?e("span",{staticClass:"invalid-feedback",domProps:{textContent:t._s(t.errors.get("name"))}}):t._e()]),e("div",{staticClass:"form-group"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.user.email,expression:"user.email"}],staticClass:"form-control form-control-alternative",class:{"is-invalid":t.errors.has("email")},attrs:{type:"email",id:"email",placeholder:t.$t("ct-email"),required:""},domProps:{value:t.user.email},on:{keydown:function(e){return t.errors.clear("email")},input:function(e){e.target.composing||t.$set(t.user,"email",e.target.value)}}}),t.errors.has("email")?e("span",{staticClass:"invalid-feedback",domProps:{textContent:t._s(t.errors.get("email"))}}):t._e()]),t.hidden_password?t._e():e("div",{staticClass:"form-group"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.user.password,expression:"user.password"}],staticClass:"form-control form-control-alternative",class:{"is-invalid":t.errors.has("password")},attrs:{type:"password",id:"password",placeholder:t.$t("ct_password_"),required:""},domProps:{value:t.user.password},on:{keydown:function(e){return t.errors.clear("password")},input:function(e){e.target.composing||t.$set(t.user,"password",e.target.value)}}}),t.errors.has("password")?e("span",{staticClass:"invalid-feedback",domProps:{textContent:t._s(t.errors.get("password"))}}):t._e()]),t.hidden_password?t._e():e("div",{staticClass:"form-group"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.user.password_confirmation,expression:"user.password_confirmation"}],staticClass:"form-control form-control-alternative",class:{"is-invalid":t.errors.has("password_confirmation")},attrs:{type:"password",id:"password-confirmation",name:"password_confirmation",placeholder:t.$t("ct-password-confirm"),required:""},domProps:{value:t.user.password_confirmation},on:{keydown:function(e){return t.errors.clear("password_confirmation")},input:function(e){e.target.composing||t.$set(t.user,"password_confirmation",e.target.value)}}}),t.errors.has("password_confirmation")?e("span",{staticClass:"invalid-feedback",domProps:{textContent:t._s(t.errors.get("password_confirmation"))}}):t._e()]),t._l(t.fields_custom,(function(n,i){return e("div",{key:n.order,staticClass:"form-group",class:{"form-input-check":["checkbox","radio"].includes(n.type)}},[["checkbox","radio","select","textarea","datetime"].includes(n.type)?"select"===n.type?[e("label",{attrs:{for:n.label}},[t._v(t._s(n.label))]),e("select",{directives:[{name:"model",rawName:"v-model",value:t.user.fields_custom[n.tag],expression:"user.fields_custom[field.tag]"}],staticClass:"form-control form-control-alternative",attrs:{id:n.label,name:n.tag,required:1===n.required},on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(t.user.fields_custom,n.tag,e.target.multiple?i:i[0])}}}
1,t._l(n.options,(function(i,o){return n.options?e("option",{domProps:{value:i.value}},[t._v(t._s(i.name)+"\n                        ")]):t._e()})),0),n.help_text&&n.help_text.length>0?e("small",{staticClass:"form-text text-muted"},[t._v(t._s(n.help_text))]):t._e()]:"textarea"===n.type?[e("label",{attrs:{for:n.label}},[t._v(t._s(n.label))]),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.user.fields_custom[n.tag],expression:"user.fields_custom[field.tag]"}],staticClass:"form-control form-control-alternative",attrs:{id:n.label,name:n.tag,rows:"3",required:1===n.required},domProps:{value:t.user.fields_custom[n.tag]},on:{input:function(e){e.target.composing||t.$set(t.user.fields_custom,n.tag,e.target.value)}}},[t._v(t._s(n.default_value))]),n.help_text&&n.help_text.length>0?e("small",{staticClass:"form-text text-muted"},[t._v(t._s(n.help_text))]):t._e()]:["checkbox","radio"].includes(n.type)?[e("label",[t._v(t._s(n.label))]),t._l(n.options,(function(i,o){return n.options?e("div",{key:o,staticClass:"form-check"},["checkbox"===n.type?e("input",{directives:[{name:"model",rawName:"v-model",value:t.user.fields_custom[n.tag],expression:"user.fields_custom[field.tag]"}],ref:n.tag,refInFor:!0,staticClass:"form-check-input",attrs:{name:n.tag,id:i.value,required:1===n.required,type:"checkbox"},domProps:{value:i.value,checked:Array.isArray(t.user.fields_custom[n.tag])?t._i(t.user.fields_custom[n.tag],i.value)>-1:t.user.fields_custom[n.tag]},on:{change:[function(e){var o=t.user.fields_custom[n.tag],a=e.target,r=!!a.checked;if(Array.isArray(o)){var s=i.value,c=t._i(o,s);a.checked?c<0&&t.$set(t.user.fields_custom,n.tag,o.concat([s])):c>-1&&t.$set(t.user.fields_custom,n.tag,o.slice(0,c).concat(o.slice(c+1)))}else t.$set(t.user.fields_custom,n.tag,r)},function(e){return t.changeRequired(n)}]}}):"radio"===n.type?e("input",{directives:[{name:"model",rawName:"v-model",value:t.user.fields_custom[n.tag],expression:"user.fields_custom[field.tag]"}],ref:n.tag,refInFor:!0,staticClass:"form-check-input",attrs:{name:n.tag,id:i.value,required:1===n.required,type:"radio"},domProps:{value:i.value,checked:t._q(t.user.fields_custom[n.tag],i.value)},on:{change:[function(e){return t.$set(t.user.fields_custom,n.tag,i.value)},function(e){return t.changeRequired(n)}]}}):e("input",{directives:[{name:"model",rawName:"v-model",value:t.user.fields_custom[n.tag],expression:"user.fields_custom[field.tag]"}],ref:n.tag,refInFor:!0,staticClass:"form-check-input",attrs:{name:n.tag,id:i.value,required:1===n.required,type:n.type},domProps:Object(d["a"])({value:i.value},"value",t.user.fields_custom[n.tag]),on:{change:function(e){return t.changeRequired(n)},input:function(e){e.target.composing||t.$set(t.user.fields_custom,n.tag,e.target.value)}}}),e("label",{staticClass:"form-check-label",attrs:{for:i.value}},[t._v("\n                            "+t._s(i.name)+"\n                        ")])]):t._e()})),n.help_text&&n.help_text.length>0?e("small",{staticClass:"form-text text-muted"},[t._v(t._s(n.help_text))]):t._e()]:t._e():[e("label",{attrs:{for:n.label}},[t._v(t._s(n.label))]),"checkbox"===n.type?e("input",{directives:[{name:"model",rawName:"v-model",value:t.user.fields_custom[n.tag],expression:"user.fields_custom[field.tag]"}],staticClass:"form-control form-control-alternative",attrs:{id:n.label,name:n.tag,required:1===n.required,type:"checkbox"},domProps:{checked:Array.isArray(t.user.fields_custom[n.tag])?t._i(t.user.fields_custom[n.tag],null)>-1:t.user.fields_custom[n.tag]},on:{change:function(e){var i=t.user.fields_custom[n.tag],o=e.target,a=!!o.checked;if(Array.isArray(i)){var r=null,s=t._i(i,r);o.checked?s<0&&t.$set(t.user.fields_custom,n.tag,i.concat([r])):s>-1&&t.$set(t.user.fields_custom,n.tag,i.slice(0,s).concat(i.slice(s+1)))}else t.$set(t.user.fields_custom,n.tag,a)}}}):"radio"===n.type?e("input",{directives:[{name:"model",rawName:"v-model",value:t.user.fields_custom[n.tag],expression:"user.fields_custom[field.tag]"}],staticClass:"form-control form-control-alternative",attrs:{id:n.label,name:n.tag,required:1===n.required,type:"radio"},domProps:{checked:t._q(t.user.fields_custom[n.tag],null)}
1,on:{change:function(e){return t.$set(t.user.fields_custom,n.tag,null)}}}):e("input",{directives:[{name:"model",rawName:"v-model",value:t.user.fields_custom[n.tag],expression:"user.fields_custom[field.tag]"}],staticClass:"form-control form-control-alternative",attrs:{id:n.label,name:n.tag,required:1===n.required,type:n.type},domProps:{value:t.user.fields_custom[n.tag]},on:{input:function(e){e.target.composing||t.$set(t.user.fields_custom,n.tag,e.target.value)}}}),n.help_text&&n.help_text.length>0?e("small",{staticClass:"form-text text-muted"},[t._v(t._s(n.help_text))]):t._e()]],2)})),e("div",{staticClass:"form-group text-center"},[e("button",{staticClass:"btn btn-success text-center",attrs:{type:"submit"}},[t._v(" "+t._s(t.$t("ct-confirm")))])])],2)],2)},Nh=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"d-flex justify-content-center mb-4 mt-2"},[e("div",{staticClass:"spinner-border",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])])])}],Dh=function(){function t(){Object(s["a"])(this,t),this.errors={}}return Object(c["a"])(t,[{key:"has",value:function(t){var e=function t(e,n){return n.includes(".")?!!e.hasOwnProperty(n.split(".")[0])&&t(e[n.split(".")[0]],n.split(".").slice(1).join(".")):e.hasOwnProperty(n)};return t.includes(".")?e(this.errors,t):this.errors.hasOwnProperty(t)}},{key:"any",value:function(){return this.reload(this.errors),Object.keys(this.errors).length>0}},{key:"get",value:function(t){var e=function t(e,n){return n.includes(".")?!!e.hasOwnProperty(n.split(".")[0])&&t(e[n.split(".")[0]],n.split(".").slice(1).join(".")):window.$t(e.hasOwnProperty(n)?Array.isArray(e[n])?e[n][0]:e[n]:"")};return e(this.errors,t)}},{key:"record",value:function(t){this.errors=t}},{key:"add",value:function(t,e,n){"undefined"!==typeof n?(this.errors[n]||(this.errors[n]={}),this.errors[n][t]=[],this.errors[n][t].push(e)):(this.errors[t]=[],this.errors[t].push(e)),this.reload(this.errors)}},{key:"validateFormat",value:function(t,e){var n=t.querySelectorAll("input,select,textarea"),i=[];function o(t,e,n){"undefined"!==typeof n?(i[n]||(i[n]={}),i[n][t]={},i[n][t][0]=e):(i[t]=[],i[t].push([e]))}return Array.prototype.forEach.call(n,(function(t){t.hasAttribute("required")&&!t.value&&o(t.name,"The ".concat(t.name," field is required."),e),t.hasAttribute("maxlength")&&t.value&&t.value.length>t.getAttribute("maxlength")&&o(t.name,"The ".concat(t.name," maxlength."),e),t.hasAttribute("minlength")&&t.value&&t.value.length<t.getAttribute("minlength")&&o(t.name,"The ".concat(t.name," minlength."),e),t.hasAttribute("max")&&t.value&&t.value>t.getAttribute("max")&&o(t.name,"The ".concat(t.name," max."),e),t.hasAttribute("min")&&t.value&&t.value<t.getAttribute("min")&&o(t.name,"The ".concat(t.name," min."),e)})),this.record(i),this.any()}},{key:"clear",value:function(t){if(t){var e=function t(e,n){return n.includes(".")?!!e.hasOwnProperty(n.split(".")[0])&&t(e[n.split(".")[0]],n.split(".").slice(1).join(".")):!!e.hasOwnProperty(n)&&delete e[n]};return e(this.errors,t)}this.errors={}}},{key:"reload",value:function(t){var e=t;Object.keys(e).forEach((function(t){0===Object.keys(e[t]).length&&e[t].constructor===Object&&delete e[t]})),this.errors={},this.errors=e}}])}(),jh=Dh,Hh={name:"Register",props:["areas_register","open_by"],mixins:[st],data:function(){return{loading:!0,errors:new jh,user:{name:"",email:"",password:"",password_confirmation:"",fields_custom:{}},fields_custom:{},auth_types:"",hidden_password:!1}},methods:{changeType:function(t){this.$emit("change",t)},changeRequired:function(t){this.user.fields_custom[t.tag].length>0&&t.required?this.$refs[t.tag].map((function(t){t.required=!1})):t.required&&this.$refs[t.tag].map((function(t){t.required=!0}))},registerOnSocialProof:function(){var t=Object(u["a"])(regeneratorRuntime.mark((function t(e,n){var i,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(t.prev=0,i=parseInt(e),!i||!n){t.next=7;break}return o=new FormData,o.set("user_name",n),t.next=7,R()({method:"post",url:"/cheetah/social-proof/register/"+i,data:o}).then((function(t){}));case 7:t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](0),console.error(t.t0);case 12:case"end":return t.stop()}}),t,null,[[0,9]])})));function e(e,n){return t.apply(this,arguments)}return e}(),register:function(){var t=this;this.user.fields_custom_config=this.fields_custom,this.user.areas_register=this.areas_register,this.user.n
1ame&&this.user.email&&(this.hidden_password||this.user.password&&this.user.password_confirmation)&&(this.errors.clear(),this.$loading.show(),this.loading=!0,V(this.user).then((function(e){var n=e.data;if(n.success){t.$loading.show(),n.data.socialproof_campaign_id&&t.registerOnSocialProof(n.data.socialproof_campaign_id,n.data.user.name);var i="function"===typeof t.$parent.$parent.setLogin?t.$parent.$parent:t.$parent.$parent.$parent;i.setLogin(n.data)}else t.loading=!1,n.data.validator&&t.errors.record(n.data.errors)})).catch((function(e){console.warn(e),t.loading=!1,t.errors.record({alert:[t.$t("ct-register-error")]})})).finally((function(){return t.$loading.hide()})))}},created:function(){var t=this,e="function"===typeof this.$parent.$parent.setLogin?this.$parent.$parent:this.$parent.$parent.$parent;"undefined"!==typeof e.form_theme.hidden_password&&parseInt(e.form_theme.hidden_password)&&(this.hidden_password=parseInt(e.form_theme.hidden_password));var n=this.getCurrentPage();this.user.layout_id=n.layout_id,this.user.page_id=n.id,this.user.page_url=n.url,K(n.layout_id).then((function(e){e.data.success&&(t.fields_custom=e.data.data,t.fields_custom.map((function(e){"checkbox"===e.type||"radio"===e.type?t.user.fields_custom[e.tag]=[]:t.user.fields_custom[e.tag]=""})))})).finally((function(){t.loading=!1}))}},Fh=Hh,Uh=(n("0f47"),Object(b["a"])(Fh,Eh,Nh,!1,null,"583b8261",null)),qh=Uh.exports,Vh=function(){var t=this,e=t._self._c;return e("form",{ref:"form-login",attrs:{method:"POST"},on:{submit:function(e){return e.preventDefault(),t.submitLogin.apply(null,arguments)}}},[t.errors.has("alert")?e("div",{staticClass:"alert alert-danger"},[e("p",{staticClass:"mb-0 clean-text-css"},[t._v(t._s(t.errors.get("alert")))])]):t._e(),t.errors.has("failed")?e("div",{staticClass:"alert alert-danger"},[e("p",{staticClass:"mb-0 clean-text-css"},[t._v(t._s(t.errors.get("failed")))])]):t._e(),t.errors.has("throttle")?e("div",{staticClass:"alert alert-warning"},[e("p",{staticClass:"mb-0 clean-text-css"},[t._v(t._s(t.errors.get("throttle")))])]):t._e(),t.hasAuthBoth()&&!t.login_token||this.auth_types.includes("register")&&!t.login_token||t.blog_login?[e("div",{staticClass:"form-group"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.user.email,expression:"user.email"}],staticClass:"form-control form-control-alternative",class:{"is-invalid":t.errors.has("email")},attrs:{type:"email",id:"email",placeholder:t.$t("ct-email"),required:""},domProps:{value:t.user.email},on:{keydown:function(e){return t.errors.clear("email")},input:function(e){e.target.composing||t.$set(t.user,"email",e.target.value)}}}),t.errors.has("email")?e("span",{staticClass:"invalid-feedback",domProps:{textContent:t._s(t.errors.get("email"))}}):t._e()]),e("div",{staticClass:"form-group"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.user.password,expression:"user.password"}],staticClass:"form-control form-control-alternative",class:{"is-invalid":t.errors.has("password")},attrs:{type:"password",id:"password",placeholder:t.$t("ct_password_"),required:""},domProps:{value:t.user.password},on:{keydown:function(e){return t.errors.clear("password")},input:function(e){e.target.composing||t.$set(t.user,"password",e.target.value)}}}),t.errors.has("password")?e("span",{staticClass:"invalid-feedback",domProps:{textContent:t._s(t.errors.get("password"))}}):t._e()])]:t.hasAuthBoth()?[e("div",{staticClass:"form-group"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.user.token,expression:"user.token"}],staticClass:"form-control form-control-alternative",class:{"is-invalid":t.errors.has("token")},attrs:{type:"text",id:"token",placeholder:t.$t("ct-token"),required:""},domProps:{value:t.user.token},on:{keydown:function(e){return t.errors.clear("token")},input:function(e){e.target.composing||t.$set(t.user,"token",e.target.value)}}}),t.errors.has("token")?e("span",{staticClass:"invalid-feedback",domProps:{textContent:t._s(t.errors.get("token"))}}):t._e()])]:t._e(),e("div",{staticClass:"form-group text-center d-flex align-items-center justify-content-center flex-column"},[t.hasAuthBoth()&&!t.login_token||this.auth_types.includes("register")&&!t.login_token||t.blog_login?e("button",{staticClass:"btn btn-success text-center",attrs:{type:"submit"}},[t._v(t._s(t.$t("ct-sign-in"))+"\n        ")]):t._e(),t.hasAuthBoth()&&t.login_token?e("button",{staticClass:"btn btn-success text-center mt-2",attrs:{type:"submit"}},[t._v(t._s(t.$t("ct-sign-in"))+"\n        ")]):t._e(),t.hasAuthBoth()&&t.login_token?e("button",{staticClass:"btn btn-success text-center mt-2",on:{click:function(e){e.preventDefault(),t.login_token=!1}}},[t._v(t._s(t.$t("ct-sign-in-email-password"))+"\n        ")]):t._e(),t.hasAuthBoth()&&!t.login_token?e("button",{staticClass:"btn btn-success text-center mt-2",on:{click:function(e){e.preventDefault(),t.login_token=!0}}},[t._v(t._s(t.$t("ct-sign-in-token"))+"\n        ")]):t._e(),t.login_ba?e("button",{staticClass:"btn btn-success text-center mt-2",on:{click:function(e){return e.preventDefault(),t.changeType("login-ba")}}},[t._v(t._s(t.$t("ct-access-ba-credentials")))]):t._e()])],2)},Wh=[],Gh={name:"Login",mixins:[st],data:function(){return{errors:new jh,user:{email:"",password:""},auth_types:"register",login_token:!1,login_ba:!1,blog_login:!1}},methods:{changeType:function(t){this.$emit("change",t)},hasAuthBoth:function(){var t="function"===typeof this.$parent.$parent.setLogin?this.$parent.$parent:this.$parent.$parent.$parent;return this.auth_types=t.auth_types,!this.auth_types.includes("register")||this.auth_types.includes("token")||this.auth_types.includes("both")||(this.login_token=!1),-1!==window.location.pathname.indexOf("blog-login")&&(this.blog_login=!0),this.auth_types.includes("login-ba")&&(this.login_ba=!0),this.auth_types.includes("both")||this.auth_types.includes("token")&&this.auth_types.includes("register")},successThen:function(t){var e="function"===typeof this.$parent.$parent.setLogin?this.$parent.$parent:this.$parent.$parent.$parent;t.success?e.setLogin(t.data):t.validator&&this.errors.record(t.errors)},errorCatch:function(t){t&&t.validator?this.errors.record(t.errors):this.errors.record({alert:[this.$t("ct-login-error")]})},loginToken:function(){var t=this;G(this.user).then((function(e){t.successThen(e.data)})).catch((function(e){t.errorCatch(e.data)})).finally((function(){return t.$loading.hide()}))},loginRegister:function(){var t=this;W(this.user).then((function(e){t.successThen(e.data)})).catch((function(e){t.errorCatch(e.response.data)})).finally((function(){return t.$loading.hide()}))},submitLogin:function(){this.user.layout_id=this.getCurrentPage().layout_id,this.errors.clear(),this.$loading.show(),this.login_token?this.loginToken():this.loginRegister()}}},Jh=Gh,Yh=Object(b["a"])(Jh,Vh,Wh,!1,null,null,null),Kh=Yh.exports,Zh=function(){var t=this,e=t._self._c;return e("form",{attrs:{method:"POST",autocomplete:"off"},on:{submit:function(e){return e.preventDefault(),t.loginToken.apply(null,arguments)}}},[t.errors.has("alert_success")?e("div",{staticClass:"alert alert-success"},[e("p",{staticClass:"mb-0 clean-text-css"},[t._v(t._s(t.errors.get("alert_success")))])]):t._e(),t.errors.has("alert")?e("div",{staticClass:"alert alert-danger"},[e("p",{staticClass:"mb-0 clean-text-css"},[t._v(t._s(t.errors.get("alert")))])]):t._e(),e("div",{staticClass:"form-group"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.user.token,expression:"user.token"}
1],staticClass:"form-control form-control-alternative",class:{"is-invalid":t.errors.has("token")},attrs:{type:"token",id:"token",placeholder:t.$t("ct-token"),required:""},domProps:{value:t.user.token},on:{keydown:function(e){return t.errors.clear("token")},input:function(e){e.target.composing||t.$set(t.user,"token",e.target.value)}}}),t.errors.has("token")?e("span",{staticClass:"invalid-feedback",domProps:{textContent:t._s(t.errors.get("token"))}}):t._e()]),e("div",{staticClass:"form-group text-center"},[e("button",{staticClass:"btn btn-success text-center",attrs:{type:"submit"}},[t._v(t._s(t.$t("ct-login")))])])])},Qh=[],Xh={name:"LoginToken",mixins:[st],data:function(){return{errors:new jh,user:{token:""}}},methods:{changeType:function(t){this.$emit("change",t)},loginToken:function(){var t=this;this.$loading.show(),this.user.layout_id=this.getCurrentPage().layout_id,this.errors.clear(),G(this.user).then((function(e){if(e.data.success){var n="function"===typeof t.$parent.$parent.setLogin?t.$parent.$parent:t.$parent.$parent.$parent;n.setLogin(e.data.data)}else e.data.validator&&t.errors.record(e.data.errors)})).catch((function(e){t.errors.record({alert:[t.$t("ct-login-error")]})})).finally((function(){return t.$loading.hide()}))}}},tg=Xh,eg=Object(b["a"])(tg,Zh,Qh,!1,null,null,null),ng=eg.exports,ig=function(){var t=this,e=t._self._c;return e("form",{attrs:{method:"POST",autocomplete:"off"},on:{submit:function(e){return e.preventDefault(),t.loginBA.apply(null,arguments)}}},[t.errors.has("alert")?e("div",{staticClass:"alert alert-danger"},[e("p",{staticClass:"mb-0 clean-text-css"},[t._v(t._s(t.errors.get("alert")))])]):t._e(),t.errors.has("failed")?e("div",{staticClass:"alert alert-danger"},[e("p",{staticClass:"mb-0 clean-text-css"},[t._v(t._s(t.errors.get("failed")))])]):t._e(),t.errors.has("throttle")?e("div",{staticClass:"alert alert-warning"},[e("p",{staticClass:"mb-0 clean-text-css"},[t._v(t._s(t.errors.get("throttle")))])]):t._e(),e("div",{staticClass:"form-group"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.user.email,expression:"user.email"}],staticClass:"form-control form-control-alternative",class:{"is-invalid":t.errors.has("email")},attrs:{type:"email",id:"email",placeholder:t.$t("ct-email"),required:""},domProps:{value:t.user.email},on:{keydown:function(e){return t.errors.clear("email")},input:function(e){e.target.composing||t.$set(t.user,"email",e.target.value)}}}),t.errors.has("email")?e("span",{staticClass:"invalid-feedback",domProps:{textContent:t._s(t.errors.get("email"))}}):t._e()]),e("div",{staticClass:"form-group"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.user.password,expression:"user.password"}],staticClass:"form-control form-control-alternative",class:{"is-invalid":t.errors.has("password")},attrs:{type:"password",id:"password",placeholder:t.$t("ct_password_"),required:""},domProps:{value:t.user.password},on:{keydown:function(e){return t.errors.clear("password")},input:function(e){e.target.composing||t.$set(t.user,"password",e.target.value)}}}),t.errors.has("password")?e("span",{staticClass:"invalid-feedback",domProps:{textContent:t._s(t.errors.get("password"))}}):t._e()]),e("div",{staticClass:"form-group text-center d-flex align-items-center justify-content-center flex-column"},[e("button",{staticClass:"btn btn-success text-center",attrs:{type:"submit"}},[t._v(t._s(t.$t("ct-login")))]),t.login_register?e("button",{staticClass:"btn btn-success text-center mt-2",on:{click:function(e){return e.preventDefault(),t.changeType("login")}}},[t._v(t._s(t.$t("ct-sign-in-email-password"))+"\n        ")]):t._e(),t.login_token?e("button",{staticClass:"btn btn-success text-center mt-2",on:{click:function(e){return e.preventDefault(),t.changeType("login-token")}}},[t._v(t._s(t.$t("ct-sign-in-token"))+"\n        ")]):t._e()])])},og=[],ag={name:"LoginBA",mixins:[st],data:function(){return{errors:new jh,user:{email:null,password:null},auth_types:"register",login_register:!1,login_token:!1,blog_login:!1,login_ba:!1}},methods:{changeType:function(t){this.$emit("change",t)},hasAuthBoth:function(){var t="function"===typeof this.$parent.$parent.setLogin?this.$parent.$parent:this.$parent.$parent.$parent;this.auth_types=t.auth_types,this.auth_types.includes("register")&&(this.login_token=!0),!this.auth_types.includes("register")||this.auth_types.includes("token")||this.auth_types.includes("both")||(this.login_token=!1),-1!==window.location.pathname.indexOf("blog-login")&&(this.blog_login=!0),this.auth_types.includes("register")&&(this.login_register=!0),this.auth_types.includes("login-ba")&&(this.login_ba=!0)},loginBA:function(){var t=this;this.$loading.show(),this.user.layout_id=this.getCurrentPage().layout_id,this.user.page_id=this.getCurrentPage().id,this.errors.clear(),J(this.user).then((function(e){if(e.data.success){var n="function"===typeof t.$parent.$parent.setLogin?t.$parent.$parent:t.$parent.$parent.$parent;n.setLogin(e.data.data)}else e.data.validator&&t.errors.record(e.data.errors)})).catch((function(e){var n=e.response;n.data.errors&&n.data.errors?t.errors.record(n.data.errors):t.errors.record({alert:[t.$t("ct-login-error")]})})).finally((function(){return t.$loading.hide()}))}},created:function(){this.hasAuthBoth()}},rg=ag,sg=Object(b["a"])(rg,ig,og,!1,null,null,null),cg=sg.exports,lg=function(){var t=this,e=t._self._c;return e("form",{attrs:{method:"POST",autocomplete:"off"},on:{submit:function(e){return e.preventDefault(),t.rememberPassword.apply(null,arguments)}}},[t.errors.has("alert_success")?e("div",{staticClass:"alert alert-success"},[e("p",{staticClass:"mb-0 clean-text-css"},[t._v(t._s(t.errors.get("alert_success")))])]):t._e(),t.errors.has("alert")?e("div",{staticClass:"alert alert-danger"},[e("p",{staticClass:"mb-0 clean-text-css"},[t._v(t._s(t.errors.get("alert")))])]):t._e(),e("div",{staticClass:"form-group"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.user.email,expression:"user.email"}
1],staticClass:"form-control form-control-alternative",class:{"is-invalid":t.errors.has("email")},attrs:{type:"email",id:"email",placeholder:t.$t("ct-email"),required:""},domProps:{value:t.user.email},on:{keydown:function(e){return t.errors.clear("email")},input:function(e){e.target.composing||t.$set(t.user,"email",e.target.value)}}}),t.errors.has("email")?e("span",{staticClass:"invalid-feedback",domProps:{textContent:t._s(t.errors.get("email"))}}):t._e()]),e("div",{staticClass:"form-group text-center"},[e("button",{staticClass:"btn btn-success text-center",attrs:{type:"submit"}},[t._v(t._s(t.$t("ct-confirm")))])])])},dg=[],ug={name:"RememberPassword",mixins:[st],data:function(){return{errors:new jh,user:{email:""}}},methods:{changeType:function(t){this.$emit("change",t)},rememberPassword:function(){var t=this;this.$loading.show(),this.user.layout_id=this.getCurrentPage().layout_id,this.user.url="".concat(window.origin),Y(this.user).then((function(e){if(t.$loading.hide(),e.data.success){t.user={email:""},t.errors.record({alert_success:[t.$t("ct-remember-true")]}),t.$loading.hide();var n="function"===typeof t.$parent.$parent.$parent.callRedirect?t.$parent.$parent.$parent.callRedirect:t.$parent.$parent.callRedirect;n(!1)}else e.data.validator&&t.errors.record(e.data.errors)})).catch((function(e){console.warn(e),t.errors.record({alert:[t.$t("ct-remember-error")]})})).finally((function(){return t.$loading.hide()}))}}},hg=ug,gg=Object(b["a"])(hg,lg,dg,!1,null,null,null),fg=gg.exports,pg=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:this.id,element:"ContentNavUserComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile}},[t.isAuthenticated&&t.typeAuth&&"login"===t.typeAuth?e("div",{staticClass:"sitebuilder-element-container container-nav-user",style:{height:t.height,width:t.width,border:t.border,"border-radius":t.radius,background:t.background,"box-shadow":t.boxShadow}},[e("ul",{staticClass:"nav nav-pills mb-3",attrs:{id:"pills-tab",role:"tablist"}},t._l(t.internal_config.visibleTabs,(function(n,i){return e("li",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link",class:{active:t.internal_config.activeTab===n},style:t.getStyleNav(t.internal_config.activeTab===n),attrs:{id:"pills-".concat(n,"-tab"),"data-toggle":"pill",href:"#pills-".concat(n),role:"tab","aria-controls":"pills-profile","aria-selected":"false"},on:{click:function(e){return e.preventDefault(),t.changeTab(n)}}},[parseInt(t.internal_config.iconsEnable)&&"profile"===n?[e("i",{staticClass:"mdi mdi-account"})]:t._e(),parseInt(t.internal_config.iconsEnable)&&"areas"===n?[e("i",{staticClass:"mdi mdi-folder-lock"})]:t._e(),t._v("\n                    "+t._s(t.$t("ct-tab-".concat(n)))+"\n                ")],2)])})),0),e("div",{staticClass:"tab-content",style:t.getStyleNavContent(),attrs:{id:"pills-tabContent"}},t._l(t.internal_config.visibleTabs,(function(n,i){return e("div",{staticClass:"tab-pane fade",class:{"show active":t.internal_config.activeTab===n},attrs:{id:"pills-".concat(n),"aria-labelledby":"pills-".concat(n,"-tab")}},[e("keep-alive",[e("".concat(n,"-tab-component"),{tag:"component",attrs:{buttonStyle:t.getStyleNav("active")}})],1)],1)})),0)]):t._e()])},mg=[],bg={data:function(){return{name:"ContentNavUser",typeAuth:!1,props:{activeTab:!1,tag:"",height:"50px",width:"150px",zIndex:"auto",maxWidth:"500px",showDesktop:!0,showMobile:!0,visibleTabs:["profile","areas"],htmlTabHome:"",iconsEnable:"0",tabNav:{border:"0 none #000000",borderRadius:"3px 3px 3px 3px",boxShadow:"0 0 0 0 black initial",backgroundTabColor:"transparent",backgroundTabActiveColor:"#007bff",backgroundTabHoverColor:"#dedede",textColorTabActive:"#FFFFFF",textColorHover:"#FFFFFF",textStyle:{family:"arial, helvetica, sans-serif",size:"15px",sizeMobile:"15px",color:"#007bff",align:"center",weight:"700",style:"initial",stroke:"none"}},tabContent:{border:"0 none #000000",borderRadius:"0 0 0 0",boxShadow:"0 0 0 0 black initial",backgroundColor:"#F5F5F5",textStyle:{family:"arial, helvetica, sans-serif",size:"15px",sizeMobile:"15px",color:"black",align:"center",weight:"700",style:"initial",stroke:"none"}},paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},internal_config:{width:"150px",height:"50px",left:"0px",top:"0px",opacity:1}}}},_g=function(){var t=this,e=t._self._c;return e("form",{staticClass:"mx-sm-5 mt-sm-3",attrs:{autoComplete:"off"},on:{submit:function(e){return e.preventDefault(),t.save.apply(null,arguments)}}},[e("p",{staticClass:"clean-text-css"},[t._v(t._s(t.$t("ct-tab-profile-edit")))]),t.loading?[t._m(0)]:[e("div",{staticClass:"row"},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.successU
1pdate,expression:"successUpdate"}],staticClass:"alert alert-success col-12",attrs:{role:"alert"}},[t._v("\n                "+t._s(t.successUpdate)+"\n            ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.errors.has("alert"),expression:"errors.has('alert')"}],staticClass:"alert alert-danger col-12",attrs:{role:"alert"}},[t._v("\n                "+t._s(t.errors.get("alert"))+"\n            ")])]),e("div",{staticClass:"form-row"},[e("div",{staticClass:"form-group col-md-5",class:{"has-error":t.errors.has("name")}},[e("label",{attrs:{for:"member-area-name"}},[t._v(t._s(t.$t("ct-name")))]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.user.name,expression:"user.name"}],staticClass:"form-control",class:{"is-invalid":t.errors.has("name")},attrs:{type:"text",autoComplete:"off",id:"member-area-name",name:"name",placeholder:t.$t("ct-name")},domProps:{value:t.user.name},on:{keydown:function(e){return t.errors.clear("name")},input:function(e){e.target.composing||t.$set(t.user,"name",e.target.value)}}}),t.errors.has("name")?e("span",{staticClass:"invalid-feedback",domProps:{textContent:t._s(t.errors.get("name"))}}):t._e()]),e("div",{staticClass:"form-group col-md-7",class:{"has-error":t.errors.has("name")}},[e("label",{attrs:{for:"member-area-email"}},[t._v(t._s(t.$t("ct-email")))]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.user.email,expression:"user.email"}],staticClass:"form-control",class:{"is-invalid":t.errors.has("email")},attrs:{type:"email",autoComplete:"off",id:"member-area-email",placeholder:t.$t("ct-email"),disabled:""},domProps:{value:t.user.email},on:{keydown:function(e){return t.errors.clear("email")},input:function(e){e.target.composing||t.$set(t.user,"email",e.target.value)}}}),t.errors.has("email")?e("span",{staticClass:"invalid-feedback",domProps:{textContent:t._s(t.errors.get("email"))}}):t._e()])]),e("div",{staticClass:"form-row"},[e("div",{staticClass:"form-group col-md-4",class:{"has-error":t.errors.has("password")}},[e("label",{attrs:{for:"member-area-password"}},[t._v(t._s(t.$t("ct-password-new")))]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.user.password,expression:"user.password"}],staticClass:"form-control",class:{"is-invalid":t.errors.has("password")},attrs:{type:"password",id:"member-area-password",name:"password",placeholder:t.$t("ct-password-new"),autoComplete:"off"},domProps:{value:t.user.password},on:{keydown:function(e){return t.errors.clear("password")},input:function(e){e.target.composing||t.$set(t.user,"password",e.target.value)}}}),t.errors.has("password")?e("span",{staticClass:"invalid-feedback",domProps:{textContent:t._s(t.errors.get("password"))}}):t._e()]),t.user.password?e("div",{staticClass:"form-group col-md-4",class:{"has-error":t.errors.has("password_confirmation")}},[e("label",{attrs:{for:"member-area-password-confirmation"}},[t._v(t._s(t.$t("ct-password-confirm")))]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.user.password_confirmation,expression:"user.password_confirmation"}],staticClass:"form-control",class:{"is-invalid":t.errors.has("password_confirmation")},attrs:{type:"password",autoComplete:"off",id:"member-area-password-confirmation",name:"password_confirmation",placeholder:t.$t("ct-password-confirm"),required:""},domProps:{value:t.user.password_confirmation},on:{keydown:function(e){return t.errors.clear("password_confirmation")},input:function(e){e.target.composing||t.$set(t.user,"password_confirmation",e.target.value)}}}),t.errors.has("password_confirmation")?e("span",{staticClass:"invalid-feedback",domProps:{textContent:t._s(t.errors.get("password_confirmation"))}}):t._e()]):t._e(),t.user.password?e("div",{staticClass:"form-group col-md-4",class:{"has-error":t.errors.has("password_current")}},[e("label",{attrs:{for:"member-area-password-current"}},[t._v(t._s(t.$t("ct-password-current")))]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.user.password_current,expression:"user.password_current"}],staticClass:"form-control",class:{"is-invalid":t.errors.has("password_current")},attrs:{type:"password",autoComplete:"off",id:"member-area-password-current",name:"password_current",placeholder:t.$t("ct-password-current"),required:""},domProps:{value:t.user.password_current},on:{keydown:function(e){return t.errors.clear("password_current")}
1,input:function(e){e.target.composing||t.$set(t.user,"password_current",e.target.value)}}}),t.errors.has("password_current")?e("span",{staticClass:"invalid-feedback",domProps:{textContent:t._s(t.errors.get("password_current"))}}):t._e()]):t._e()]),e("div",{staticClass:"text-center"},[e("button",{staticClass:"btn",style:t.buttonStyle,attrs:{type:"submit"}},[t._v(t._s(t.$t("ct-save")))])])]],2)},yg=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"d-flex justify-content-center mb-4 mt-2"},[e("div",{staticClass:"spinner-border",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])])])}],vg=n("2f62");function wg(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function xg(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?wg(Object(n),!0).forEach((function(e){Object(d["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wg(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var kg={name:"Profile",props:["buttonStyle"],data:function(){return{loading:!1,successUpdate:!1,errors:new jh,user:{name:"",email:"",password:!1,password_confirmation:!1,password_current:!1}}},computed:xg({},Object(vg["b"])(["userWebsite"])),methods:{save:function(){var t=this;this.errors.any()||(this.loading=!0,this.successUpdate=!1,X(this.user).then((function(e){e.data.success?(t.successUpdate=t.$t("ct-profile-updated"),setTimeout((function(){t.successUpdate=!1,window.location.reload()}),3e3),t.$store.dispatch("setUser",e.data.data),t.user=t.userWebsite.user):e.data.validator&&t.errors.record(e.data.errors)})).catch((function(e){t.errors.record({alert:[t.$t("ct-profile-update-error")]})})).finally((function(){return t.loading=!1})))}},created:function(){this.user=this.userWebsite.user}},Sg=kg,Cg=(n("accb"),Object(b["a"])(Sg,_g,yg,!1,null,"2217ef7a",null)),Ig=Cg.exports,$g=function(){var t=this,e=t._self._c;return e("div",{staticClass:"mx-sm-5 mt-sm-3"},[e("div",{staticClass:"table-members-area-title"},[e("p",{staticClass:"clean-text-css"},[t._v(t._s(t.$t("ct-tab-areas-title")))])]),t.loading?[t._m(0)]:[e("div",{staticClass:"table-members-area"},[e("div",{staticClass:"table-members-area-row table-th row d-sm-flex d-none"},[e("div",{staticClass:"table-members-area-col col-12",class:t.hasExpireDate?"col-sm-3":"col-sm-4"},[t._v(t._s(t.$t("ct-member-name")))]),e("div",{staticClass:"table-members-area-col",class:t.hasExpireDate?"col-sm-3":"col-sm-4"},[t._v(t._s(t.$t("ct-member-description")))]),t.hasExpireDate?e("div",{staticClass:"table-members-area-col col-sm-2"},[t._v(t._s(t.$t("ct-member-expire")))]):t._e(),e("div",{staticClass:"table-members-area-col col-sm-2"},[t._v(t._s(t.$t("ct-member-status")))]),e("div",{staticClass:"table-members-area-col col-sm-2"})]),t._l(t.members_areas,(function(n,i){return e("div",{key:i,staticClass:"table-members-area-row row"},[e("div",{staticClass:"table-members-area-col col-12",class:t.hasExpireDate?"col-sm-3":"col-sm-4"},[e("p",{staticClass:"d-block d-sm-none clean-text-css p-0"},[t._v(t._s(t.$t("ct-member-name")))]),e("span",[t._v(t._s(n.name))])]),e("div",{staticClass:"table-members-area-col",class:t.hasExpireDate?"col-sm-3":"col-sm-4"},[e("p",{staticClass:"d-block d-sm-none clean-text-css"},[t._v(t._s(t.$t("ct-member-description")))]),e("span",[t._v(t._s(n.description))])]),t.hasExpireDate?e("div",{staticClass:"table-members-area-col col-12 col-sm-2"},[e("p",{staticClass:"d-block d-sm-none clean-text-css"},[t._v(t._s(t.$t("ct-member-expire")))]),n.user_permission&&n.user_permission.expire?e("span",[t._v(t._s(t.getDate(n.user_permission.expire)))]):e("span",[t._v("-")])]):t._e(),e("div",{staticClass:"table-members-area-col col-sm-2"},[e("p",{staticClass:"d-block d-sm-none clean-text-css"},[t._v(t._s(t.$t("ct-member-status")))]),n.user_permission?[n.user_permission.active?e("span",[t._v(t._s(t.$t("ct-member-enable")))]):t._e(),n.user_permission.active?t._e():e("span",[t._v(t._s(t.$t("ct-member-disabled")))])]:1===parseInt(n.type_id)?[e("span",[t._v(t._s(t.$t("ct-member-enable")))])]:[e("span",[t._v(t._s(t.$t("ct-member-disabled")))])]],2),"blog"!==n.name?e("div",{staticClass:"table-members-area-col col-sm-2"},[e("p",{staticClass:"d-block d-sm-none clean-text-css"},[t._v(t._s(t.$t("ct-member-go-to-area")))]),e("a",{staticClass:"clean-text-css",attrs:{href:"#",title:t.$t("ct-member-go-to-area")},on:{click:function(e){return e.preventDefault(),t.goToHomePageRestrict(n)}}},[e("i",{staticClass:"mdi mdi-account-arrow-right"})])]):e("div",{staticClass:"table-members-area-col col-sm-2"},[e("p",{staticClass:"d-block d-sm-none clean-text-css"},[t._v(t._s(t.$t("ct-member-go-to-area")))]),e("a",{staticClass:"clean-text-css",staticStyle:{color:"black","text-decoration":"inherit"},attrs:{href:"/feed",title:t.$t("ct-member-go-to-area")}},[e("i",{staticClass:"mdi mdi-account-arrow-right"})])]),t._m(1,!0)])}))],2)]],2)},Tg=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"d-flex justify-content-center mb-4 mt-2"},[e("div",{staticClass:"spinner-border",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"table-members-area-col col-12 d-block d-sm-none"},[e("div",{staticClass:"divisor-mobile"})])}];function Pg(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Og(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?Pg(Object(n),!0).forEach((function(e){Object(d["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Pg(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Ag={name:"Areas",mixins:[st],data:function(){return{errors:new jh,loading:!0,members_areas:!1,hasExpireDate:!1}},methods:{getDate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"date",n=new Date(t);function i(t){return parseInt(t)>9?""+t:"0"+t}var o=[n.getHours(),n.getMinutes()].join(":");return"undefined"!==typeof OPTIONS_INIT_SITE&&"undefined"!==typeof OPTIONS_INIT_SITE.options&&"undefined"!==typeof OPTIONS_INIT_SITE.options.lang&&"pt_BR"===OPTIONS_INIT_SITE.options.lang?"".concat([i(n.getDate()),i(n.getMonth()+1),n.getFullYear()].join("/")," ").concat("datetime"===e?i(o):""):"".concat([i(n.getMonth()+1),i(n.getDate()),n.getFullYear()].join("/")," ").concat("datetime"===e?i(o):"")},goToHomePageRestrict:function(){var t=Object(u["a"])(regeneratorRuntime.mark((function t(e){var n,i,o,a,r,s,c=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=!(!e.redirect_config||!this.$isJson(e.redirect_config))&&JSON.parse(e.redirect_config),!(parseInt(e.elearning_course_id)&&n&&n.elearning&&"elearning-course"===n.elearning.type)){t.next=11;break}return i=localStorage.getItem("login-user-token-md5"),o=localStorage.getItem("login-user"),o=!!this.$isJson(o)&&JSON.parse(o),a="blank"===n.elearning.target?"blank":"same",r=e.id,t.next=9,R.a.post("/website/user/elearning/get-course/"+r+"/"+o.email+"/"+i).then((function(t){t.data.success&&("blank"===a?window.open(t.data.url_course,"_blank"):window.location.href=t.data.url_course)})).finally((function(){return c.loading=!1}));case 9:t.next=13;break;case 11:s=pagesConfig.find((function(t){return null!==t&&parseInt(t.id)===parseInt(e.home_page_id)})),s&&(window.location.href="".concat(window.origin,"/").concat(s.url));case 13:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},computed:Og({},Object(vg["b"])(["userWebsite"])),created:function(){var t=this;this.members_areas=restrictsArea||!1,this.userWebsite.members_area?this.loading=!1:tt().then((function(e){var n=e.data;if(n.success){var i=n.data;if(i.restrict_permissions&&i.restrict_permissions.length>0){t.$store.dispatch("setPermissions",i.restrict_permissions);var o=t;i.restrict_permissions.map((function(t){var e=o.members_areas.find((function(e){return parseInt(e.id)===parseInt(t.restrict_area_code)}));e["user_permission"]=t,e.user_permission&&e.user_permission.expire&&(o.hasExpireDate=!0)})),t.members_areas=Object.assign({},t.members_areas,o.members_areas),t.$store.dispatch("setMembersAreas",t.members_areas)}}})).catch((function(t){return console.error(t)})).finally((function(){return t.loading=!1}))}},Rg=Ag,Bg=(n("6ebb"),Object(b["a"])(Rg,$g,Tg,!1,null,"327d7c1e",null)),Lg=Bg.exports;function zg(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Mg(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?zg(Object(n),!0).forEach((function(e){Object(d["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):zg(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Eg={name:"ContentNavUserComponent",props:["config","id","device"],mixins:[st],components:{ProfileTabComponent:Ig,AreasTabComponent:Lg},computed:Mg(Mg({},Object(vg["b"])(["isAuthenticated","typeAuthentication"])),{},{width:function(){return this.internal_config.width},height:function(){return this.internal_config.height},border:function(){return this.internal_config.tabContent.border},boxShadow:function(){return this.internal_config.tabContent.boxShadow},radius:function(){return this.internal_config.tabContent.borderRadius},background:function(){return this.internal_config.tabContent.backgroundColor}}),data:function(){return bg.data()},watch:{typeAuthentication:function(t){this.typeAuth=t}},methods:{changeTab:function(t){this.internal_config.activeTab=t},animation:function(){return!0},formatText:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{fontFamily:t.family,fontSize:"mobile"!==this.device?t.size:t.sizeMobile,"text-align":t.align,"font-weight":t.weight,"font-style":t.style,"text-decoration":t.stroke,color:e?this.internal_config.tabNav.textColorTabActive:t.color}},style:function(){return"\n                    left: ".concat(this.internal_config.left,";\n                    paddingTop: ").concat(this.internal_config.paddingTop,";\n                    padding-left: ").concat(this.internal_config.paddingLeft,";\n                    z-index: ").concat(this.internal_config.zIndex,";\n                    max-width: ").concat(this.internal_config.maxWidth,";\n                    margin: 0 auto;\n                    padding-right: ").concat(this.internal_config.paddingRight,";\n                    padding-bottom: ").concat(this.internal_config.paddingBottom,";\n                    top: ").concat(this.internal_config.top)},getStyleNav:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.formatText(this.internal_config.tabNav.textStyle,t);return Mg({backgroundColor:t?this.internal_config.tabNav.backgroundTabActiveColor:this.internal_config.tabNav.backgroundTabColor,border:this.internal_config.tabNav.border,borderRadius:this.internal_config.tabNav.borderRadius,boxSh
1adow:this.internal_config.tabNav.boxShadow},Mg({},e))},getStyleNavContent:function(){return this.formatText(this.internal_config.tabContent.textStyle)}},created:function(){this.isAuthenticated||this.goToHomePage(),this.internal_config=Object.assign({},this.internal_config,window.mergeRecursive(this.props,this.$props.config)),this.typeAuth=this.typeAuthentication,document.body.style.setProperty("--tab-user-bg-color--hover",this.internal_config.tabNav.backgroundTabHoverColor),!this.internal_config.activeTab&&this.internal_config.visibleTabs&&(this.internal_config.activeTab=this.internal_config.visibleTabs[0])},mounted:function(){this.$root.$emit("applyAnimation",this,"sitebuilder-element-container")}},Ng=Eg,Dg=(n("c4f6"),Object(b["a"])(Ng,pg,mg,!1,null,"a2d39d56",null)),jg=Dg.exports,Hg=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:this.id,element:"ButtonUserComponent","data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile}},[e("div",{staticClass:"container-button-members-area"},[e("div",{staticClass:"btn-members-area",class:[t.internal_config.actionsformat,t.isAuthenticated?"is-auth":""],style:{height:t.height,width:t.width,border:t.getButtonStyle("border"),"border-radius":t.getButtonStyle("borderRadius"),background:t.getButtonStyle("backgroundColor"),"box-shadow":t.getButtonStyle("boxShadow")}},[t.isAuthenticated?[parseInt(t.internal_config.withDropdown)?e("div",{staticClass:"btn-members-area-text",class:{"btn-member-dropdown":parseInt(t.internal_config.withDropdown)},style:t.textButtonStyle(),on:{click:function(e){return e.preventDefault(),t.toggleDropdown()}}},[e("span",{on:{click:function(e){return e.preventDefault(),t.goToMemberPage()}}},[t.internal_config.iconRegards&&t.internal_config.iconRegards.icon&&"left"===t.internal_config.iconRegards.position?[e("i",{class:this.$addIconPrefix(t.internal_config.iconRegards.icon)})]:t._e(),t.typeAuthentication&&"token"===t.typeAuthentication?[t._v("\n                           "+t._s(t.internal_config.textRegards||t.$t("ct-hello"))+"\n                       ")]:[t._v("\n                           "+t._s(parseInt(t.internal_config.withRegards)?t.internal_config.textRegards||t.$t("ct-hello"):"")+" "+t._s(t.website_user.name)+"\n                       ")],t.internal_config.iconRegards&&t.internal_config.iconRegards.icon&&"right"===t.internal_config.iconRegards.position?[e("i",{class:this.$addIconPrefix(t.internal_config.iconRegards.icon)})]:t._e()],2),e("i",{staticClass:"mdi mdi-chevron-down float-right icon-member-dropdown"})]):[e("div",{staticClass:"btn-members-area-text",style:t.textButtonStyle(),on:{click:function(e){return e.preventDefault(),t.goToMemberPage()}}},[e("span",[t.internal_config.iconRegards.icon&&"left"===t.internal_config.iconRegards.position?[e("i",{class:this.$addIconPrefix(t.internal_config.iconRegards.icon)})]:t._e(),t._v(t._s(parseInt(t.internal_config.withRegards)?t.internal_config.textRegards||t.$t("ct-hello"):"")+" "+t._s(t.website_user.name)),t.internal_config.iconRegards.icon&&"right"===t.internal_config.iconRegards.position?[e("i",{class:this.$addIconPrefix(t.internal_config.iconRegards.icon)})]:t._e()],2)]),e("div",{staticClass:"btn-members-area-text",style:t.textButtonStyle(),on:{click:function(e){return e.preventDefault(),t.logout()}}},[e("span",[t.internal_config.iconLogout.icon&&"left"===t.internal_config.iconLogout.position?[e("i",{class:this.$addIconPrefix(t.internal_config.iconLogout.icon)})]:t._e(),t._v(t._s(t.internal_config.textLogout||this.$t("ct-logout"))),t.internal_config.iconLogout.icon&&"right"===t.internal_config.iconLogout.position?[e("i",{class:this.$addIconPrefix(t.internal_config.iconLogout.icon)})]:t._e()],2)])]]:[e("div",{directives:[{name:"show",rawName:"v-show",value:["login-register","login"].includes(t.internal_config.actionsformat),expression:"['login-register', 'login'].includes(internal_config.actionsformat)"}],staticClass:"btn-members-area-text",style:t.textButtonStyle(),on:{click:function(e){return e.preventDefault(),t.login()}}},[e("span",[t.internal_config.iconLogin.icon&&"left"===t.internal_config.iconLogin.position?[e("i",{class:this.$addIconPrefix(t.internal_config.iconLogin.icon)})]:t._e(),t._v(t._s(t.internal_config.textLogin||this.$t("ct-login"))),t.internal_config.iconLogin.icon&&"right"===t.internal_config.iconLogin.position?[e("i",{class:this.$addIconPrefix(t.internal_config.iconLogin.icon)})]:t._e()],2)]),e("div",{directives:[{name:"show",rawName:"v-show",value:["login-register","register"].includes(t.internal_config.actionsformat),expression:"['login-register', 'register'].includes(internal_config.actionsformat)"}],staticClass:"btn-members-area-text",style:t.textButtonStyle(),on:{click:function(e){return e.preventDefault(),t.register()}}},[e("span",[t.internal_config.iconRegister.icon&&"left"===t.internal_config.iconRegister.position?[e("i",{class:this.$addIconPrefix(t.internal_config.iconRegister.icon)})]:t._e(),t._v(t._s(t.internal_config.textRegister&&t.internal_config.textRegister.length>0?t.internal_config.textRegister:this.$t("ct-register"))),t.internal_config.iconRegister.icon&&"right"===t.internal_config.iconRegister.position?[e("i",{class:this.$addIconPrefix(t.internal_config.iconRegister.icon)})]:t._e()],2)])]],2),e("div",{directives:[{name:"show",rawName:"v-show",value:t.internal_config.menuDropdown,expression:"internal_config.menuDropdown"}],staticClass:"ma-menu-dropdown",style:{width:t.width,border:t.getDropdownStyle("border"),"box-shadow":t.getDropdownStyle("boxShadow"),"border-radius":t.getDropdownStyle("borderRadius"),backgroundColor:t.getDropdownStyle("backgroundColor")}},[e("nav",[e("a",{staticClass:"ma-dropdown-item",style:t.textDropdownStyle(),attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.logout.apply(null,arguments)}}},[t._v(t._s(t.internal_config.textLogout||this.$t("ct-logout")))])])])])])},Fg=[],Ug={data:function(){return{name:"ButtonUser",typeAuth:!1,website_user:{name:"",email:""},props:{tag:"",width:"150px",height:"50px",left:"20px",top:"20px",zIndex:"auto",maxWidth:"500px",actionsformat:"login-register",showDesktop:!0,showMobile:!0,areas:[],withDropdown:"1",
1withRegards:"0",textLogin:"",textRegister:"",textLogout:"",textRegards:"",iconLogin:{icon:"",position:"left"},iconLogout:{icon:"",position:"left"},iconRegister:{icon:"",position:"left"},iconRegards:{icon:"",position:"left"},links:{linkLogin:{type:"restrict",value:{action:"login",redirect:"0",areas:[],redirect_elearning_course:!1}},linkRegister:{type:"restrict",value:{action:"register",redirect:"0",areas:[],redirect_elearning_course:!1}},linkLogout:{type:"restrict",value:{action:"logout",redirect:"0",areas:[],redirect_elearning_course:!1}}},buttonStyle:{border:"0 none #000000",borderRadius:"3px 3px 3px 3px",backgroundColor:"#007bff",backgroundColorHover:"#007bff",boxShadow:"0 0 0 0 #000000",textColorHover:"#FFFFFF",textStyle:{family:"arial, helvetica, sans-serif",size:"15px",sizeMobile:"15px",color:"White",align:"center",weight:"700",style:"initial",stroke:"none"}},dropdownStyle:{border:"0 none #000000",borderRadius:"0 0 3px 3px",backgroundColor:"#007bff",backgroundColorHover:"#007bff",boxShadow:"0 0 0 0 #000000",textColorHover:"#FFFFFF",textStyle:{family:"arial, helvetica, sans-serif",size:"15px",sizeMobile:"15px",color:"White",align:"center",weight:"700",style:"initial",stroke:"none"}},paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},internal_config:{width:"150px",height:"50px",left:"20px",top:"20px",zIndex:"auto",showDesktop:!0,showMobile:!0,opacity:1}}}};function qg(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Vg(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?qg(Object(n),!0).forEach((function(e){Object(d["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qg(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Wg={name:"ButtonUserComponent",props:["config","id","device"],data:function(){return Ug.data()},computed:Vg(Vg({},Object(vg["b"])(["isAuthenticated","typeAuthentication","userWebsite","userWebsiteName"])),{},{width:function(){return this.internal_config.width},height:function(){return this.internal_config.height},border:function(){return this.internal_config.border},boxShadow:function(){return this.internal_config.boxShadow},radius:function(){return this.internal_config.borderRadius},background:function(){return this.internal_config.backgroundColor}}),watch:{device:function(){},"userWebsite.user":function(t){this.website_user=Object.assign({},this.website_user,t)},typeAuthentication:function(t){this.typeAuth=t}},methods:{getButtonStyle:function(t){return this.internal_config.buttonStyle[t]},getDropdownStyle:function(t){return this.internal_config.dropdownStyle[t]},formatText:function(t){return{fontFamily:t.family,fontSize:"mobile"!==this.device?t.size:t.sizeMobile,"text-align":t.align,"font-weight":t.weight,"font-style":t.style,"text-decoration":t.stroke,color:t.color}},textDropdownStyle:function(){var t=this.formatText(this.internal_config.dropdownStyle.textStyle);return Vg({borderRadius:this.internal_config.dropdownStyle.borderRadius},Vg({},t))},textButtonStyle:function(){var t=this.formatText(this.internal_config.buttonStyle.textStyle);return Vg({borderRadius:this.internal_config.buttonStyle.borderRadius},Vg({},t))},style:function(){return"\n                    left: ".concat(this.internal_config.left,";\n                    paddingTop: ").concat(this.internal_config.paddingTop,";\n                    padding-left: ").concat(this.internal_config.paddingLeft,";\n                    z-index: ").concat(this.internal_config.zIndex,";\n                    max-width: ").concat(this.internal_config.maxWidth,";\n                    margin: 0 auto;\n                    padding-right: ").concat(this.internal_config.paddingRight,";\n                    padding-bottom: ").concat(this.internal_config.paddingBottom,";\n                    top: ").concat(this.internal_config.top)},styleResize:function(){return"{width: ".concat(this.internal_config.width,", height:  ").concat(this.internal_config.height,"}")},toggleDropdown:function(){var t=!this.internal_config.menuDropdown;this.internal_config=Object.assign({},this.internal_config,{menuDropdown:t})},goToMemberPage:function(){var t=pagesConfig.find((function(t,e){return null!==t&&"undefined"!==typeof t.is_member&&parseInt(t.is_member)}));t&&(window.location.href="".concat(window.origin,"/").concat(t.url))},login:function(){this.$root.$emit("linkAction",this.internal_config.links.linkLogin)},register:function(){this.$root.$emit("linkAction",this.internal_config.links.linkRegister)},logout:function(){this.$root.$emit("linkAction",this.internal_config.links.linkLogout)}},created:function(){this.internal_config=Object.assign({},this.internal_config,window.mergeRecursive(this.props,this.$props.config)),this.internal_config.menuDropdown=!1,this.website_user.name=this.userWebsiteName,this.typeAuth=this.typeAuthentication},mounted:function(){var t=this,e=this;this.$root.$emit("applyAnimation",this,"sitebuilder-element-container"),this.$nextTick((function(){t.$el.querySelectorAll(".btn-members-area-text").forEach((function(t){t.addEventListener("mouseover",(function(){document.body.style.setProperty("--button-user-background-color--hover",e.internal_config.buttonStyle.backgroundColorHover),document.body.style.setProperty("--button-user-text-color--hover",e.internal_config.buttonStyle.textColorHover)}))})),t.$el.querySelectorAll(".ma-dropdown-item").forEach((function(t){t.addEventListener("mouseover",(function(){document.body.style.setProperty("--dropdown-user-background-color--hover",e.internal_config.dropdownStyle.backgroundColorHover),document.body.style.setProperty("--dropdown-user-text-color--hover",e.internal_config.dropdownStyle.textColorHover)}))}))}))}},Gg=Wg,Jg=(n("1bc6"),Object(b["a"])(Gg,Hg,Fg,!1,null,"539561d0",null)),Yg=Jg.exports,Kg=function(){var t=this,e=t._self._c;return e("div",{key:t.keyChange,ref:"elem",staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:t.id,"config-properties":JSON.stringify(t.internal_config),"data-hide-desktop":!t.internal_config.showDesktop,"data-hide-mobile":!t.internal_config.showMobile,element:"LottieFileComponent"}},[e("div",{staticClass:"sitebuilder-element-lottie-file-content",class:{"sitebuilder-element-lottie-file-content-with-controls":t.internal_config.controls},style:{background:t.internal_config.backgroundColor}},[e("lottie-vue-player",{key:"lottie-player-".concat(t.keyPlayer),style:t.styleLottieContent(),attrs:{autoplay:t.internal_config.auto
1play,backgroundColor:t.internal_config.backgroundColor,loop:t.internal_config.loop,"player-controls":t.internal_config.controls,speed:t.internal_config.speed,src:t.internal_config.code?"".concat(t.cheetahApiUrl,"/api/get-lottie-files/").concat(t.internal_config.code,".json"):t.internal_config.url}})],1)])},Zg=[],Qg={data:function(){return{sidebar:"2",keyChange:0,props:{tag:"",width:"300px",zIndex:"auto",maxWidth:"500px",height:"300px",minHeight:"50px",border:"0 none #000000",boxShadow:"0 0 0 0 black initial","background-color":"#000000",backgroundImage:"none",backgroundPosition:"center",backgroundOrigin:"border-box",backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundAttachment:"scroll",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",parallaxActive:!1,parallaxEffect:"scroll",parallaxSpeed:20,showDesktop:!0,showMobile:!0,animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},elements:[],internal_config:{width:"300px",height:"300px",minHeight:"50px",zIndex:"auto",maxWidth:"500px",background:"#FFFFFF",backgroundColor:"#FFFFFF",borderRadius:"0 0 0 0",parallaxActive:!1,parallaxEffect:"scroll",parallaxSpeed:20,paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",url:"",speed:1,autoplay:!1,loop:!1,controls:!1,code:""}}}};function Xg(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function tf(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Xg(Object(n),!0).forEach((function(e){Object(d["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Xg(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ef,nf={name:"LottieFileComponent",components:{},mixins:[bt],props:["config","childs","height_start","device","id","preview"],data:function(){return tf(tf({},Qg.data()),{},{keyPlayer:1,loading:!1})},computed:{getHost:function(){return window.location.host},cheetahApiUrl:function(){return this.getCheetahApiUrl(this.getHost)}},created:function(){},mounted:function(){var t=this,e=this;this.$root.$on("setLottieFileObj",(function(n){+t.id===+n&&(e.keyPlayer+=1)})),this.build(this.$props.config)},methods:{reloadElement:function(){var t=this;this.loading||(this.loading=!0,this.keyPlayer+=1,setTimeout((function(){t.loading=!1}),200))},width:function(){return this.internal_config.width},height:function(){return this.internal_config.height},minHeight:function(){return this.internal_config.minHeight},animation:function(){return!1},onResize:function(t,e,n,i){this.internal_config.width=n+"px",this.internal_config.height=i+"px"},focusElement:function(t){this.$root.$emit("focusElement",this),t.stopPropagation(),t.preventDefault()},showResources:function(){},handler:function(t){this.$root.$emit("focusElement",this),this.$root.$emit("handlerElement",this,!0),t.stopPropagation(),t.preventDefault()},style:function(){var t={width:this.internal_config.width,"max-width":this.internal_config.maxWidth,height:this.internal_config.height,"min-height":this.internal_config.minHeight,left:this.internal_config.left,"z-index":this.internal_config.zIndex,margin:"0 auto","padding-top":this.internal_config.paddingTop,"padding-left":this.internal_config.paddingLeft,"padding-right":this.internal_config.paddingRight,"padding-bottom":this.internal_config.paddingBottom,top:this.internal_config.top};return"mobile"===this.device?Object(Tn["merge"])(t,{height:this.internal_config.minHeight}):t},styleLottieContent:function(){return"mobile"===this.device?{width:"100%",height:this.minHeight()}:{width:"100%",height:this.internal_config.height}},build:function(t){delete t.animation,this.internal_config=Object(Tn["merge"])(this.internal_config,t),this.$forceUpdate(),this.reloadElement()}}},of=nf,af=(n("527a"),Object(b["a"])(of,Kg,Zg,!1,null,null,null)),rf=af.exports,sf=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sitebuilder-element-container",style:t.style(),attrs:{id:this.id,element:"FloatingButtonComponent","config-properties":JSON.stringify(t.internal_config),"data-hide-desktop":!this.internal_config.showDesktop,"data-hide-mobile":!this.internal_config.showMobile}},[e("div",{staticClass:"floating-button"},[e("a",{attrs:{href:"email"==t.internal_config.type?"mailto:"+t.internal_config.href:t.internal_config.href,target:"_blank",rel:"noreferrer"},on:{click:t.linkAnchorForce,mouseover:t.hover}},[e("img",{ref:"image",staticClass:"floating-button-image",style:{opacity:t.opacity,width:t.width,height:t.width,"border-radius":"100%","box-shadow":t.internal_config.boxShadow},attrs:{src:"/images/floating-button/".concat(t.internal_config.type,".png")}})]),1==t.internal_config.callToAction.enable?e("a",{staticClass:"call-to-action call-to-action-animation",class:!1===t.internal_config.right?"left":"right",attrs:{rel:"noreferrer",href:t.internal_config.href},on:{click:t.linkAnchorForce}},[e("div",{staticClass:"call-to-action-text"},[t._v(t._s(t.internal_config.callToAction.text))])]):t._e()])])},cf=[],lf={data:function(){return{sidebar:"2",keyChange:0,props:{tag:"",height:"100px",width:"100px",opacity:1,boxShadow:"0 0 0 0 black initial",type:"",href:"",marginLeft:"0",marginRight:"0",callToAction:{enable:!1,text:""},right:!1,animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},internal_config:{type:"whatsapp",href:"",callToAction:{enable:!1,text:""},right:!1,showDesktop:!0,showMobile:!0,boxShadow:"0 0 0 0 black initial",width:"100px",height:"100px",opacity:1,marginLeft:"0",marginRight:"0"}}}},df={name:"FloatingButtonComponent",props:["config","id","preview"],mixins:[ba],data:function(){return lf.data()},methods:{animation:function(){return!0},build:function(t){this.internal_config=t},style:function(){var t="width: ".concat(this.internal_config.width," !important;\n                     height:  ").concat(this.internal_config.height," !important;\n                     z-index: 9999;\n                      ").concat(!0===this.internal_config.right?"right":"left",":  0 !important;\n                     bottom: 20px !important;\n                     border-radius: 100% !important;\n                     position: fixed !important;\n                     margin-left: 20px !important;\n                     margin-right: 40px !important;\n                     ");return t},hover:function(){this.internal_config.callToAction.enable=!1},linkAnchorForce:function(){this.$root.$emit("linkAnchorForce")}},computed:{opacity:function(){return this.internal_config.opacity},width:function(){return this.internal_config.width}},mounted:function(){this.build(this.$props.config),this.internal_config=window.mergeRecursive(this.props,this.$props.config),this.$root.$emit("applyAnimation",this,"sitebuilder-element-container")}},uf=df,hf=(n("eb8b"),Object(b["a"])(uf,sf,cf,!1,null,"09f56307",null)),gf=hf.exports,ff=(n("11d6"),n("de4f"),function(){var t=this,e=t._self._c;return e("div",{class:"sitebuilder-element-container ".concat(t.internal_config.fullWidth?"full-width-element":"","  ").concat(t.internal_config.fullHeight?"full-height-calendar":""),style:t.style(),attrs:{id:t.id,element:"QuizComponent","data-hide-desktop":!t.internal_config.showDesktop,"data-hide-mobile":!t.internal_config.showMobile,"config-properties":JSON.stringify(t.internal_config)}},[t.internal_config.quiz.id?e("div",{staticClass:"embed-responsive embed-responsive-16by9",style:{width:t.width,height:t.internal_config.fullHeight?"100%":t.height,minHeight:t.minHeight}},[e("iframe",{staticClass:"embed-responsive-item",style:{borderRadius:t.radius,border:t.border},attrs:{width:t.internal_config.width,height:t.internal_config.height,src:"".concat(t.getUrl,"/view-by/cheetah/").concat(t.internal_config.quiz.id),frameborder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""}})]):e("div",{staticClass:"quiz-is-empty"},[e("h6",{staticClass:"text-center"},[t._v(t._s(t.$t("ct-select-one-quiz")))])])])}),pf=[],mf={data:function(){return{props:{tag:"",width:"700px",maxWidth:"850px",height:"500px",minHeight:"950px",border:"0 none #000000",boxShadow:"0 0 0 0 black initial",borderRadius:"0 0 0 0",paddingTop:"15px",paddingLeft:"15px",paddingRight:"15px",paddingBottom:"15px",zIndex:"auto",rotation:"0deg",fullWidth:!0,fullHeight:!0,quiz:{id:""},animation:{in:{action:"time",time:0,scroll:0,effect:"none",speed:"slow",infinite:!1},out:{action:"time",time:0,scroll:0,effect:"none",delay:"1",speed:"1",infinite:!1}}},internal_config:{width:"700px",height:"500px",maxWidth:"850px",minHeight:"950px"}}}},bf={data:function(){return{hostMap:{".sitebuilder-publication.kub.app.builderall.io":{quiz:"https://quiz.kub.app.builderall.io"},".sitebuilder-publication.kub.app.builderall.info":{quiz:"https://quiz.kub.app.builderall.info"},default:{quiz:"https://quiz.builderall.com"}}}},methods:{getQuizUrl:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(null!==t){var e=Object.keys(this.hostMap).find((function(e){return t.includes(e)})),n=this.hostMap[e]||this.hostMap["default"];return n.quiz}return"https://quiz.builderall.com"}}},_f={name:"QuizComponent",props:["config","device","id","preview"],mixins:[bf],data:function(){return mf.data()},computed:{width:function(){return this.internal_config.width},minHeight:function(){return this.internal_config.minHeight},height:function(){return this.internal_config.height},border:function(){return this.internal_config.border},radius:function(){return this.internal_config.borderRadius},getUrl:function(){var t=window.location.host;return this.getQuizUrl(t)}},methods:{build:function(t){this.internal_config.quiz=t},animation:function(){return!0},style:function(){var t="left:  ".concat(this.internal_config.left,";\n                     padding-top: ").concat(this.internal_config.paddingTop,";\n                     padding-left: ").concat(this.internal_config.paddingLeft,";\n                     z-index: ").concat(this.internal_config.zIndex,";max-width: ").concat(this.internal_config.maxWidth,";margin: 0 auto;\n                     padding-right: ").concat(this.internal_config.paddingRight,";\n                     padding-bottom: ").concat(this.internal_config.paddingBottom,";\n                     top: ").concat(this.internal_config.top);return t}},created:function(){this.internal_config=Object.assign({},this.internal_config,window.mergeRecursive(this.props,this.$props.config))},mounted:function(){this.internal_config=window.mergeRecursive(this.props,this.$props.config);var t="sitebuilder-element-container";this.internal_config.fullWidth&&(t+=" full-width-element"),this.internal_config.fullHeight&&(t+=" full-height-quiz"),this.$root.$emit("applyAnimation",this,t)}},yf=_f,vf=(n("9cf9"),Object(b["a"])(yf,ff,pf,!1,null,"3141771e",null)),wf=vf.exports,xf=n("9515"),kf=n.n(xf),Sf=n("da5c"),Cf=n("9d67"),If=n("2e8a"),$f=n("fce0"),Tf=n("f179"),Pf=n("8b9c"),Of=n("867d"),Af=n("15e9"),Rf={pt_BR:Sf,en_US:Cf,fr_FR:If,de_DE:$f,es_ES:Tf,it_IT:Pf,pt_PT:Of,nl_NL:Af},Bf=function(){function t(){Object(s["a"])(this,t),this.translations={},this.lang=""}return Object(c["a"])(t,[{key:"init",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en_US";this.lang=t,Rf[t]?ef=Rf[t]:Rf["en_US"]&&(ef=Rf["en_US"])}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"undefined"!==typeof ef&&"undefined"!==typeof ef[t]?ef[t]:Rf["en_US"]&&Rf["en_US"][t]?Rf["en_US"][t]:e||t}}])}(),Lf=Bf;function zf(){var t="/api/",e=location.hostname,n="website.localhost"===e||"127.0.0.1"===e;if(n)return"http://127.0.0.1:8000".concat(t);switch(!0){case e.includes("sitebuilder-publication.kub.app.builderall.io"):return"https://api-sitebuilder.kub.app.builderall.io".concat(t);case e.includes("sitebuilder-publication.kub.app.builderall.info"):return"https://api-sitebuilder.kub.app.builderall.info".concat(t)}}var Mf=zf(),Ef=(R.a.create({baseURL:Mf,headers:{Accept:"application/json",Content:"application/json"}}),function(t){try{return JSON.parse(t)}catch(e){return!1}}),Nf=function(t){if(Ef(t)){var e=JSON.parse(t);return"undefined"!==typeof e.type&&"token"===e.type?"token":"login"}return!1},Df=function(){try{localStorage.setItem("__test","data")}catch(t){return!1}return!0},jf={website_user:{user:Df()&&Ef(localStorage.getItem("login-user"))||!1,token:Df()&&localStorage.getItem("login-user-token")||"",token_md5:Df()&&localStorage.getItem("login-user-token-md5")||"",expire:"",type:Df()&&Nf(localStorage.getItem("login-user"))||!1,restrict_permissions:{},members_area:!1}},Hf={DEFINIR_USUARIO_LOGADO:function(t,e){var n=e.token,i=e.token_md5,o=e.expire,a=e.user;t.website_user={user:a,token:n,token_md5:i,expire:o}},DEFINIR_USUARIO:function(t,e){var n=e.name,i=e.email,o=e.token_md5;t.website_user.user={name:n,email:i},localStorage.setItem("login-user",JSON.stringify(t.website_user.user)),localStorage.setItem("login-user-all",JSON.stringify(t.website_user)),o&&localStorage.setItem("login-user-token-md5",o)},DEFINIR_USUARIO_PERMISSIONS:function(t,e){t.website_user.restrict_permissions=e},DEFINIR_USUARIO_MEMBERSAREA:function(t,e){t.website_user.members_area=e},DESLOGAR_USUARIO:function(t){t.website_user={user:!1,type:!1,token:"",token_md5:"",expire:""}}},Ff={efetuarLogin:function(t,e){var n=t.commit;n("DEFINIR_USUARIO_LOGADO",e)},setUser:function(t,e){var n=t.commit;n("DEFINIR_USUARIO",e)},setPermissions:function(t,e){var n=t.commit;n("DEFINIR_USUARIO_PERMISSIONS",e)},setMembersAreas:function(t,e){var n=t.commit;n("DEFINIR_USUARIO_MEMBERSAREA",e)},efetuarLogout:function(t){var e=t.commit;localStorage.removeItem("login-user"),localStorage.removeItem("login-user-all"),localStorage.removeItem("login-user-token"),localStorage.removeItem("login-user-token-md5"),e("DESLOGAR_USUARIO")}}
1,Uf={isAuthenticated:function(t){return!!t.website_user.token},typeAuthentication:function(t){return t.website_user.type},userWebsite:function(t){return t.website_user},userWebsiteName:function(t){return t.website_user.user.name},usuarioEstaLogado:function(t){return t}},qf={state:jf,mutations:Hf,actions:Ff,getters:Uf};n("5abe"),IntersectionObserver.prototype.POLL_INTERVAL=100,o["default"].use(Et.a),o["default"].use(Nt["a"],{preLoad:1.75,lazyComponent:!0,observer:!0,attempt:1,listenEvents:["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove","touchend"]}),o["default"].use(jt.a),o["default"].component("QuizComponent",wf),o["default"].component("BookingCalendarComponent",rl),o["default"].component("BoxComponent",Yt),o["default"].component("BoxHoverComponent",oe),o["default"].component("ImageComponent",ue),o["default"].component("TextComponent",_e),o["default"].component("ButtonComponent",$e),o["default"].component("MailingBossFormComponent",Sn),o["default"].component("LaunchAppComponent",Bn),o["default"].component("GetResponseFormComponent",jn),o["default"].component("SimpleFormComponent",ei),o["default"].component("MultiStepFormComponent",ui),o["default"].component("YoutubeVideoComponent",_i),o["default"].component("IframeComponent",$i),o["default"].component("MenuComponent",Fi),o["default"].component("CheckoutComponent",pl),o["default"].component("VimeoVideoComponent",Yi),o["default"].component("PandaVideoComponent",no),o["default"].component("WebinarVideoComponent",lo),o["default"].component("TimerComponent",Qo),o["default"].component("LineVComponent",aa),o["default"].component("LineComponent",ha),o["default"].component("WistiaVideoComponent",wa),o["default"].component("SliderGalleryComponent",Ta),o["default"].component("Image3DComponent",za),o["default"].component("CounterTextComponent",Fa),o["default"].component("CounterBarComponent",Ya),o["default"].component("ImageGalleryComponent",Rr),o["default"].component("SocialBarComponent",Dr),o["default"].component("InstagramFeedComponent",ys),o["default"].component("AccordionGroupComponent",Es),o["default"].component("AccordionComponent",Ts),o["default"].component("SliderGroupComponent",Ws),o["default"].component("SliderPageComponent",ec),o["default"].component("BlogComponent",Pl),o["default"].component("PostBlogComponent",Fl),o["default"].component("BlogFeedNewsComponent",yd),o["default"].component("BlogPostComponent",wu),o["default"].component("BlogDatesListComponent",zu),o["default"].component("BlogCategoriesListComponent",Tu),o["default"].component("BlogSearchComponent",Fu),o["default"].component("GroupMenuComponent",dc),o["default"].component("PlaceMenuComponent",wc),o["default"].component("VideoGalleryComponent",Wc),o["default"].component("VideoGalleryGroupComponent",Ec),o["default"].component("VidelloVideoComponent",Tc),o["default"].component("BlogRssComponent",Zu),o["default"].component("BlogArticleListComponent",Ph),o["default"].component("BlogNewsSliderComponent",Mh),o["default"].component("VideoComponent",Xc),o["default"].component("ButtonUserComponent",Yg),o["default"].component("ContentNavUserComponent",jg),o["default"].component("Register",qh),o["default"].component("Login",Kh),o["default"].component("LoginToken",ng),o["default"].component("LoginBuilderall",cg),o["default"].component("RememberPassword",fg),o["default"].component("NotHavePermission",v),o["default"].component("LottieFileComponent",rf),o["default"].component("FloatingButtonComponent",gf),o["default"].use(kf.a);var Vf=(window.navigator.userLanguage||window.navigator.language).replace("-","_");2==Vf.length&&(Vf+="_"+Vf.toUpperCase()),"undefined"!==typeof OPTIONS_INIT_SITE&&"undefined"!==typeof OPTIONS_INIT_SITE.options&&"undefined"!==typeof OPTIONS_INIT_SITE.options.lang&&(Vf=OPTIONS_INIT_SITE.options.lang),o["default"].prototype.$translate=new Lf,o["default"].prototype.$translate.init(Vf),o["default"].prototype.$t=o["default"].prototype.$translate.get,o["default"].config.productionTip=!1,o["default"].prototype.$loading=new Ft,window.$t=o["default"].prototype.$translate.get;var Wf=function(t){return(0===t.indexOf("mdi-")?"mdi":"")+" "+t};o["default"].prototype.$addIconPrefix=Wf;var Gf=function(t){try{return JSON.parse(t),!0}catch(e){return!1}},Jf=function(){try{localStorage.setItem("__test","data")}catch(t){return!1}return!0},Yf=function(){try{var t=!!navigator.platform.toLowerCase().match(/iphone|ipod|ipad|macintel/),e=window.navigator.userAgent,n=e.indexOf("Version/");if(n>-1&&t){var i=window.Number(e.substr(n+8,2));if(i>=13)return t}return!1}catch(o){return!1}};o["default"].prototype.$isJson=Gf,o["default"].prototype.$storageON=Jf,o["default"].prototype.$isDeviceIOS=Yf,o["default"].prototype.$globalStoreHelpers=new o["default"]({data:{isValidHex:function(t){return/^#([A-Fa-f0-9]{3,4}){1,2}$/.test(t)},hexToRGBA:function(t,e){function n(t){return/^#([A-Fa-f0-9]{3,4}){1,2}$/.test(t)}function o(t,e){return t.match(new RegExp(".{".concat(e,"}"),"g"))}function a(t){return parseInt(t.repeat(2/t.length),16)}function r(t,e){if("undefined"!==typeof t)return t/256;
1if("undefined"!==typeof e){if(1<e&&e<=100)return e/100;if(0<=e&&e<=1)return e}return 1}if(!n(t))throw new Error("Invalid HEX");var s=Math.floor((t.length-1)/3),c=o(t.slice(1),s),l=c.map(a),d=Object(i["a"])(l,4),u=d[0],h=d[1],g=d[2],f=d[3];return"rgba(".concat(u,", ").concat(h,", ").concat(g,", ").concat(r(f,e),")")}}}),window.mergeRecursive=function(t,e){for(var n in e)try{e[n].constructor==Object?t[n]=window.mergeRecursive(t[n],e[n]):t[n]=e[n]}catch(i){t[n]=e[n]}return t},window.addScript=function(t,e,n){var i=document.createElement("script");i.setAttribute("src",t),i.setAttribute("timeout",e),n?document.body.appendChild(i):document.head.appendChild(i)},o["default"].use(vg["a"]),o["default"].config.ignoredElements=["altcha-widget"],new o["default"]({store:new vg["a"].Store(qf),render:function(t){return t(zt)}}).$mount("#app")},"56e4":function(t,e,n){},"5a5d":function(t,e,n){},"5ae3":function(t,e,n){"use strict";n("6ab1")},"5b37":function(t,e,n){"use strict";n("7d58")},"5cdd":function(t,e,n){"use strict";n("c817")},"5f28":function(t,e,n){"use strict";n("5675")},"60e7":function(t,e,n){},6195:function(t,e,n){"use strict";n("97dd")},6329:function(t,e,n){"use strict";n("9a8a")},"63d9":function(t,e,n){"use strict";n("ce48")},"661c":function(t,e,n){},6934:function(t,e,n){},"693f":function(t,e,n){"use strict";n("d7c5")},"6ab1":function(t,e,n){},"6b06":function(t,e,n){},"6ebb":function(t,e,n){"use strict";n("961f")},"716f":function(t,e,n){},"71b2":function(t,e,n){"use strict";n("0af7")},7375:function(t,e,n){"use strict";n("3db5")},7650:function(t,e,n){},"77dd":function(t,e,n){},"79c0":function(t,e,n){"use strict";n("8059")},"7a88":function(t,e,n){"use strict";n("39cc")},"7bc0":function(t,e,n){"use strict";n("d0c4")},"7c93":function(t,e,n){},"7d58":function(t,e,n){},"7eda":function(t,e,n){"use strict";n("041e")},"7f5e":function(t,e,n){"use strict";n("905f")},8059:function(t,e,n){},8077:function(t,e,n){"use strict";n("bc92")},"867d":function(t){t.exports=JSON.parse('{"ct-save":"Salve","ct-logout":"Sair","ct-name":"Nome","ct-email":"O email","ct-next":"Próximo","ct-days":"Dias","ct-hours":"Horas","ct-minutes":"Minutos","ct-seconds":"Segundos","ct-days-init":"D","ct-hours-init":"H","ct-minutes-init":"M","ct-seconds-init":"S","ct-days-init-2":"Dias","ct-hours-init-2":"Horas","ct-minutes-init-2":"Mín.","ct-seconds-init-2":"Sec","ct-choose-creation-type":"Escolha a opção","banner-free-first-text":"Este site foi desenvolvido com","banner-free-second-text":"Cheetah Builder","banner-free-third-text":"Crie seu site hoje","banner-free-btn-text":"Comece agora","ct-members":"Membros","ct-member-name":"Nome","ct-member-email":"O email","ct-member-edit":"Editar configurações de membro","ct-password-confirm":"Confirmação de senha","ct-register":"Cadastro","ct-forgot-password":"Esqueceu sua senha?","ct-confirm":"confirme","ct-sign-in":"Login","ct-remember":"Lembrar","ct-login":"Conecte-se","ct-restrict-area-not-have-permission":"Você não tem acesso a esta área de membros","ct-sign-in-account":"Entrar na conta","ct-create-account":"Criar Conta","ct-no-articles-on-your-blog":"No posts found","ct-sucess":"Sucesso!","ct-select-booking-calendar":"Select calendar","ct-previous":"Previous","ct-last":"Last","ct-first":"First","ct-launch-position":"Your ranking position","ct-launch-count":"Registered by your link","ct-launch-copy":"Copy"}')},"88ce":function(t,e,n){},"8b9c":function(t){t.exports=JSON.parse('{"ct-save":"Salva","ct-logout":"Disconnettersi","ct-name":"Nome","ct-email":"Email","ct-next":"Successivo","ct-days":"Giorni","ct-hours":"Ore","ct-minutes":"Minuti","ct-seconds":"Secondi","ct-days-init":"G","ct-hours-init":"O","ct-minutes-init":"M","ct-seconds-init":"S","ct-days-init-2":"Giorni","ct-hours-init-2":"Ore","ct-minutes-init-2":"Min","ct-seconds-init-2":"Sec","ct-choose-creation-type":"Scegli l\'opzione","banner-free-first-text":"Questo sito è stato creato con","banner-free-second-text":"Builderall Builder","banner-free-third-text":"Realizza subito il tuo sito web","banner-free-btn-text":"Inizia Ora","ct-members":"Membri","ct-member-name":"Nome","ct-member-email":"E-mail","ct-member-edit":"Modifica impostazioni membro","ct-password-confirm":"Conferma Password","ct-register":"Registrazione","ct-forgot-password":"Password dimenticata?","ct-confirm":"Conferma","ct-sign-in":"Accedi","ct-remember":"Recupera Password","ct-login":"Accedi","ct-restr
1ict-area-not-have-permission":"Non hai accesso all\'area riservata","ct-sign-in-account":"Accedi all\'Account","ct-create-account":"Crea Account","ct-token":"Token","ct-access-with-token":"Accedi con un token","ct-sign-in-token":"Accedi con un token","ct-sign-in-email-password":"Accedi con email e password","ct-get-response-contact-added-successfully":"Contatto aggiunto con successo","ct-get-response-contact-already-added":"Contatto già esistente","ct-get-response-validation-error":"Campi Invalidi","ct-please-check-the-required-fields":"Per favore verificare i campi obbligatori","ct-invalid-url":"URL non valido","ct-no-articles-on-your-blog":"Nessun articolo trovato","ct-gdpr-accept-chosen-config":"Salva la configurazione scelta","ct-password-updated-successfully":"Password modificata con successo!","ct-error-updating-password":"Errore modifica password!","ct-update-password":"Modifica password","ct-confirm-email":"Conferma email","ct-new-password":"Nuova Password","ct-new-password-confirm":"Conferma Nuova Password","ct-tab-profile-edit":"Modifica Profilo","ct-tab-profile":"Profilo","ct-tab-areas":"Area Membri","ct-tab-areas-title":"Area Membri","ct-login-register":"Login e Registrati","ct-member-description":"Descrizione","ct-member-status":"Stato","ct-member-enable":"Attivo","ct-member-disable":"Inattivo","ct-sucess":"Successo!","ct-error":"Errore!","ct-remember-true":"Email di recupero inviata correttamente","ct-remember-false":"Errore nell\'invio della email di recupero ","ct-register-error":"Errore durante la registrazione ","ct-login-error":"Errore durante il Login","ct-remember-error":"Errore nell\'invio della email di recupero ","ct-member-disabled":"Disabilitato","ct-profile-updated":"Profilo modificato correttamente ","ct-profile-update-error":"Errore durante la modifica del profilo ","ct-member-go-to-area":"Vai alla pagina principale dell\'area membri\\n","ct-password-current":"Password attuale\\n","ct-password-new":"Nuova password","ct-failed":"Queste credenziali non corrispondono ai nostri record.\\n","ct-throttle":"Troppi tentativi di accesso. Riprova tra qualche minuto.\\n","ct-password-current-wrong":"La password corrente non corrisponde\\n","ct-select-booking-calendar":"Select calendar","ct-bn-status-denied":"La tua notifica è disabilitata, cerca il lucchetto o le impostazioni del tuo browser per abilitare","ct-bn-status-granted":"La tua notifica è già abilitata","ct-member-expire":"Data di scadenza ","ct-error-token-invalid":"Token non valido!","ct-error-token-invalid-helper":"È passato molto tempo da quando hai richiesto il recupero della password o è stata effettuata una nuova richiesta. Riapplica o utilizza l\'ultima richiesta inviata.","ct-error-token-home":"Vai alla home page","ct-previous":"Precedente","ct-last":"Ultimo","ct-first":"Primo","ct-access-ba-credentials":"Accedi con le credenziali Builderall","ct-already-exists-by-register":"Questo utente è già registrato tramite registrazione convenzionale","ct-user-invalid-by-ba":"Il tuo account non è valido da Builderall","ct-close-publication":"Chiudi","ct-comments":"Commenti","ct-add-comments":"Aggiungi commento","ct-comment":"Commento","ct-reply-comment":"Rispondi al commento","ct-answering-comment":"Risposta al commento","ct-approve-comment":"Il tuo commento sarà approvato dall\'autore","ct-more-comments":"Carica più commenti","ct-cancel-publication":"Cancella","ct-delete-comments":"Cancella commento","ct-comment-theme-title":"Accedi o registrati per lasciare un commento","ct-sign-up":"Iscriviti","ct-emails-dont-match-publication":"L\'email di verifica non corrisponde","ct-launch-position":"La tua posizione in classifica","ct-launch-count":"Persone registrate tramite il tuo Link","ct-launch-copy":"Copia","ct-site-not-available-for-this-version":"Il sito non è disponibile per questa versione","ct-select-one-quiz":"Seleziona un quiz","ct-site-not-allow-members-area":"L\'Area Membri non può essere caricata. Accetta i cookie di terze parti dal tuo browser in modo che funzioni correttamente.","ct-office-magic-checkout":"Stiamo creando il tuo account e presto ti reindirizzeremo alla cassa.","ct-select-video-panda":"Seleziona il video di Panda","ct-home":"Home Page ","ct_password_":"Password","ct-please-enter-valid-fullname":"Inserire un nome completo valido","ct-p-edit-site":"Personalizza & Pubblica","ct-p-subscribe":"ISCRIVITI","ct-p-subscribe-to-edit":"Iscriviti ora per iniziare a modificare!","ct-files-selected":"File"}')},"905f":function(t,e,n){},"92ee":function(t,e,n){"use strict";
1n("d5f4")},"931b":function(t,e,n){},"939f":function(t,e,n){},"961f":function(t,e,n){},"978a":function(t,e,n){"use strict";n("f4a2")},"97dd":function(t,e,n){},"981c":function(t,e,n){},9830:function(t,e,n){},9946:function(t,e,n){},"9a8a":function(t,e,n){},"9aaf":function(t,e,n){"use strict";n("0337")},"9cf9":function(t,e,n){"use strict";n("1dcf")},"9d3b":function(t,e,n){},"9d67":function(t){t.exports=JSON.parse('{"ct-save":"Save","ct-logout":"Logout","ct-name":"Name","ct-email":"Email","ct-next":"Next","ct-days":"Day(s)","ct-hours":"Hour(s)","ct-minutes":"Minute(s)","ct-seconds":"Second(s)","ct-days-init":"D","ct-hours-init":"H","ct-minutes-init":"M","ct-seconds-init":"S","ct-days-init-2":"Days","ct-hours-init-2":"Hrs","ct-minutes-init-2":"Min","ct-seconds-init-2":"Sec","ct-choose-creation-type":"Choose the option","banner-free-first-text":"This website was developed with","banner-free-second-text":"Builderall Builder","banner-free-third-text":"Build your website today","banner-free-btn-text":"Start Now","ct-members":"Members","ct-member-name":"Name","ct-member-email":"E-mail","ct-member-edit":"Edit member settings","ct-password-confirm":"Password confirm","ct-register":"Register","ct-forgot-password":"Forgot your password?","ct-confirm":"Confirm","ct-sign-in":"Sign in","ct-remember":"Password recovery","ct-login":"Login","ct-restrict-area-not-have-permission":"You do not have access to this members area","ct-sign-in-account":"Sign in account","ct-create-account":"Create account","ct-token":"Token","ct-access-with-token":"Access with token","ct-sign-in-token":"Login with token","ct-sign-in-email-password":"Login with email and password","ct-get-response-contact-added-successfully":"Contact added successfully","ct-get-response-contact-already-added":"Contact already added","ct-get-response-validation-error":"Invalid fields","ct-please-check-the-required-fields":"Please, check the required fields","ct-invalid-url":"Invalid URL","ct-no-articles-on-your-blog":"No posts found","ct-gdpr-accept-chosen-config":"Accept chosen configuration","ct-password-updated-successfully":"Password updated successfully!","ct-error-updating-password":"Error updating password!","ct-update-password":"Update password","ct-confirm-email":"Confirm email","ct-new-password":"New Password","ct-new-password-confirm":"New password Confirm","ct-tab-profile-edit":"Edit Profile","ct-tab-profile":"Profile","ct-tab-areas":"Members Area","ct-tab-areas-title":"Members Area","ct-login-register":"Login e register","ct-member-description":"Description","ct-member-status":"Status","ct-member-enable":"Active","ct-member-disable":"Inactive","ct-sucess":"Success!","ct-error":"Erro!","ct-remember-true":"Recovery email was sent successfully","ct-remember-false":"Error sending recovery email","ct-register-error":"Error trying to register","ct-login-error":"Error trying to login","ct-remember-error":"Error sending recovery email","ct-member-disabled":"Desactivado","ct-profile-updated":"Profile updated successfully!","ct-profile-update-error":"Error updating profile!","ct-member-go-to-area":"Go to the members area main page","ct-password-current":"Password current","ct-password-new":"New password","ct-failed":"These credentials do not match our records.","ct-throttle":"Too many login attempts. Please try again in minutes.","ct-password-current-wrong":"Current password does not match","ct-select-booking-calendar":"Select a booking calendar","ct-bn-status-denied":"Your notification is disabled, look for the padlock or your browser settings to enable","ct-bn-status-granted":"Your notification is already enabled","ct-member-expire":"Expire date","ct-error-token-invalid":"Invalid Token","ct-error-token-invalid-helper":"It has been a long time since you requested password recovery or a new request has been made. Re-apply or use your last submitted request.","ct-error-token-home":"Go to home page","ct-previous":"Previous","ct-last":"Last","ct-first":"First","ct-access-ba-credentials":"Login with Builderall credentials","ct-already-exists-by-register":"This user already has registration through conventional registration","ct-user-invalid-by-ba":"Your account is invali
1d by Builderall","ct-close-publication":"Close","ct-comments":"Comments","ct-add-comments":"Add comment","ct-comment":"Comment","ct-reply-comment":"Replay comment","ct-answering-comment":"Answering comment","ct-approve-comment":"Your comment will be approved by the author","ct-more-comments":"Load more comments","ct-cancel-publication":"Cancel","ct-delete-comments":"Delete comment","ct-comment-theme-title":"Log in or sign up to leave a comment","ct-sign-up":"Sign up","ct-emails-dont-match-publication":" Verification email does not match ","ct-launch-position":"Your ranking position","ct-launch-count":"Registered by your link","ct-launch-copy":"Copy","ct-site-not-available-for-this-version":"This site is not available for this version","ct-select-one-quiz":"Select a quiz","ct-site-not-allow-members-area":"Members Area cannot be loaded. Accept third-party cookies from your browser so that it works correctly.","ct-office-magic-checkout":"We are creating your account and will soon redirect you to the checkout.","ct-select-video-panda":"Select Panda Video","ct-home":"Home page","ct_password_":"Password","ct-please-enter-valid-fullname":"Please enter a valid full name","ct-p-edit-site":"Customize & Publish","ct-p-subscribe":"SUBSCRIBE","ct-p-subscribe-to-edit":"Subscribe Now to Start Editing!","ct-redirect-fallback-pre":"f you weren’t redirected automatically,","ct-click-here":"click here","ct-files-selected":"Files","ct-captcha-validation":"You must complete the CAPTCHA to proceed"}')},"9ec6":function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o}));n("ac6a"),n("456d"),n("7514"),n("b54a");var i={data:function(){return{config:{hide_register_btn:0,style:"light",access_denied:{message:this.$t("ct-restrict-area-not-have-permission"),btn:{enable:1,text:this.$t("ct-home"),position:"right"},link:{type:"home",value:null,page_id:null}},background:{image:"",color:"",repeat:"repeat",size:"contain"}}}},methods:{redirectLink:function(){var t=this,e=this.config.access_de
1nied.link.type;switch(e){case"page":var n=pagesConfig.find((function(e){return+e.id===+t.config.access_denied.link.page_id}));n&&(window.location.href="".concat(window.origin,"/").concat(n.url));break;case"web":this.config.access_denied.link.value&&(window.location.href=this.config.access_denied.link.value);break;default:try{var i;i=pagesConfig.find((function(t){return null!==t&&"1"===t.initial})),i||(i=pagesConfig.find((function(t,e){return null!==t&&"0"===t.initial&&0===e}))),window.location.href="".concat(window.origin,"/").concat(i.url)}catch(o){console.warn("gethomePage",o)}}}},created:function(){var t=function t(e,n){for(var i=0,o=Object.keys(n);i<o.length;i++){var a=o[i];n[a]instanceof Object&&Object.assign(n[a],t(e[a],n[a]))}return Object.assign(e||{},n),e},e="function"===typeof this.$parent.$parent.setLogin?this.$parent.$parent:this.$parent.$parent.$parent;"undefined"===typeof e.form_theme&&(e=this.$parent),e.form_theme&&e.form_theme.config&&(this.config=t(this.config,e.form_theme.config))}},o={props:["type_active","areas_register","active_page","auth_types"],data:function(){return{componentKey:0}},methods:{forceRerender:function(){this.componentKey+=1},changeType:function(t){this.$emit("change",t),this.forceRerender()},getActualPage:function(){return this.active_page}}}},"9eeb":function(t,e,n){},a090:function(t,e,n){"use strict";n("9d3b")},a34c:function(t,e,n){},a3ea:function(t,e,n){"use strict";n("3943")},a46f:function(t,e,n){"use strict";n("c4ff")},a655:function(t,e,n){"use strict";n("26fc")},a68c:function(t,e,n){"use strict";n("6934")},a9d9:function(t,e,n){},aad5:function(t,e,n){"use strict";n("77dd")},accb:function(t,e,n){"use strict";n("60e7")},ad0f:function(t,e,n){},b390:function(t,e,n){},b444:function(t,e,n){"use strict";n("4ffd")},b560:function(t,e,n){"use strict";n("341f")},b6d0:function(t,e,n){"use strict";n("c28e")},b7c7:function(t,e,n){},bc6b:function(t,e,n){},bc92:function(t,e,n){},be74:function(t,e,n){"use strict";n("e61f")},c255:function(t,e,n){},c28e:function(t,e,n){},c327:function(t,e,n){},c4f6:function(t,e,n){"use strict";n("e691")},c4ff:function(t,e,n){},c582:function(t,e,n){"use strict";n("b7c7")},c633:function(t,e,n){},c655:function(t,e,n){},c75c:function(t,e,n){"use strict";n("4a82")},c76e:function(t,e,n){"use strict";n("56e4")},c817:function(t,e,n){},c8c1:function(t,e,n){"use strict";n("4eab")},c8c9:function(t,e,n){},ca64:function(t,e,n){"use strict";n("0906")},cb14:function(t,e,n){"use strict";n("04eb")},ce48:function(t,e,n){},d0c4:function(t,e,n){},d1e1:function(t,e,n){},d583:function(t,e,n){"use strict";n("7650")},d5f4:function(t,e,n){},d643:function(t,e,n){"use strict";n("f146")},d72c:function(t,e,n){"use strict";n("d9c8")},d7c5:function(t,e,n){},d975:function(t,e,n){"use strict";n("981c")},d9c8:function(t,e,n){},d9f3:function(t,e,n){},da5c:function(t){t.exports=JSON.parse('{"ct-save":"Salvar","ct-logout":"Sair","ct-name":"Nome","ct-email":"E-mail","ct-next":"Próximo","ct-days":"Dia(s)","ct-hours":"Hora(s)","ct-minutes":"Minuto(s)","ct-seconds":"Segundo(s)","ct-days-init":"D","ct-hours-init":"H","ct-minutes-init":"M","ct-seconds-init":"S","ct-days-init-2":"Dias","ct-hours-init-2":"Horas","ct-minutes-init-2":"Mín.","ct-seconds-init-2":"Sec","ct-choose-creation-type":"Escolha a opção","banner-free-first-text":"Este site foi desenvolvido com","banner-free-second-text":"Builderall Builder","banner-free-third-text":"Crie seu site hoje","banner-free-btn-text":"Comece agora","ct-members":"Membros","ct-member-name":"Nome","ct-member-email":"O email","ct-member-edit":"Editar configurações de membro","ct-password-confirm":"Confirmação de senha","ct-register":"Cadastrar-se","ct-forgot-password":"Esqueceu sua senha?","ct-confirm":"Confirmar","ct-sign-in":"Entrar","ct-remember":"Lembrar","ct-login":"Entrar","ct-restrict-area-not-have-permission":"Você não tem acesso a esta área de membros","ct-sign-in-account":"Entrar na conta","ct-create-account":"Criar Conta","ct-token":"Token","ct-access-with-token":"Acesso com token","ct-sign-in-token":"Login com token","ct-sign-in-email-password":"Login com email e senha","ct-get-response-contact-added-successfully":"Contato adicionado com sucesso","ct-get-response-contact-already-added":"Contato já adicionado","ct-get-response-validation-error":"Campos inválidos","ct-please-check-the-required-fields":"Por favor, verifique os campos obrigatórios","ct-invalid-url":"URL inválida","ct-no-articles-on-your-blog":"Não foram encontrados artigos","ct-gdpr-accept-chosen-config":"Aceitar a configuração escolhida","ct-password-updated-successfully":"Senha atualizada com sucesso!","ct-error-updating-password":"Ocorreu um erro ao atualizar sua senha.","ct-update-password":"Atualizar senha","ct-confirm-email":"Confirmar e-mail","ct-new-password":"Nova senha","ct-new-password-confirm":"Confirme a nova senha","ct-tab-profile-edit":"Editar Perfil","ct-tab-profile":"Perfil","ct-tab-areas":"Área de membros","ct-tab-areas-title":"Áreas do membro","ct-login-register":"Login e cadastro","ct-member-description":"Descrição","ct-member-status":"Status","ct-member-enable":"Ativo","ct-member-disable":"Inativo","ct-sucess":"Sucesso!","ct-error":"Erro!","ct-remember-true":"Seu e-mail de recuperação foi enviado com sucesso!","ct-remember-false":"Erro ao enviar e-mail de recuperação","ct-register-error":"Erro ao tentar cadastrar!","ct-login-error":"Error trying to login","ct-remember-error":"Erro ao enviar e-mail de recuperação","ct-member-disabled":"Desabilitado","ct-profile-updated":"Perfil atualizado com sucesso!","ct-profile-update-error":"Erro ao atualizar o perfil!","ct-member-go-to-area":"Ir para a página principal da área de membros","ct-password-current":"Senha atual","ct-password-new":"Nova senha","ct-failed":"Essas credenciais não correspondem aos nossos registros.","ct-throttle":"Muitas tentativas de login. Tente novamente em minutos.","ct-password-current-wrong":"Senha atual não coincide","ct-select-booking-calendar":"Selecione um calendário","ct-bn-status-denied":"Sua notificação está desativada, procure o cadeado ou as configurações do navegador para ativar","ct-bn-status-granted":"Sua notificação já está ativada","ct-member-expire":"Data de expiração","ct-error-token-invalid":"Token inválido!","ct-error-token-invalid-helper":"Já se passou muito tempo desde que você solicitou a recuperação da senha ou uma nova solicitação foi feita. Inscreva-se novamente ou use sua última solicitação enviada.","ct-error-token-home":"Ir para página principal","ct-previous":"Anterior","ct-last":"Último","ct-first":"Primeiro","ct-access-ba-credentials":"Logar com credenciais da Builderall","ct-already-exists-by-register":"Esse usuário já possui registro através do cadastro convencional","ct-user-invalid-by-ba":"Sua conta está inválida pela Builderall","ct-close-publication":"Fechar","ct-comments":"Comentários","ct-add-comments":"Adicionar comentário","ct-comment":"Comentar","ct-answering-comment":"Respondendo a comentário","ct-approve-comment":"Seu comentário passará pela aprovação do autor","ct-more-comments":"Carregar mais comentários","ct-cancel-publication":"Cancelar","ct-delete-comments":"Deletar comentário","ct-comment-theme-title":"Entre ou cadastre-se para deixar um comentário","ct-sign-up":"Inscrever","ct-emails-dont-match-publication":" Email de verificação não corresponde ","ct-launch-position":"Sua posição no ranking","ct-launch-count":"Cadastrados pelo seu link","ct-launch-copy":"Copiar","ct-office-magic-checkout":"Estamos criando a sua conta e logo redirecionamos você para o checkout.","ct-select-video-panda":"Selecionar panda vídeo","ct-home":"Página Inicial","ct_password_":"Senha","ct-please-enter-valid-fullname":"Por favor, insira um nome completo válido","ct-p-edit-site":"Personalizar & Publicar","ct-p-subscribe":"INSCREVER","ct-p-subscribe-to-edit":"Assine agora para começar a editar!","ct-files-selected":"Arquivos","ct-captcha-validation":"Você deve completar o CAPTCHA para continuar"}')},dc60:function(t,e,n){},dfbc:function(t,e,n){},e0a4:function(t,e,n){"use strict";n("0b5c")},e23e:function(t,e,n){},e351:function(t,e,n){"use strict";n("c655")},e476:function(t,e,n){"use strict";n("210e")},e4f1:function(t,e,n){},e61f:function(t,e,n){},e691:function(t,e,n){},e754:function(t,e,n){"use strict";n("a34c")},eb85:function(t,e,n){"use strict";n("4f99")},eb8b:function(t,e,n){"use strict";n("fb26")},edeb:function(t,e,n){"use strict";n("c633")},ee8d:function(t,e,n){},f146:function(t,e,n){},f179:function(t){t.exports=JSON.parse('{"ct-save":"Guardar","ct-logout":"Salir","ct-name":"Nombre","ct-email":"correo electrónico","ct-next":"Siguiente","ct-days":"Días","ct-hours":"Horas","ct-minutes":"Minutos","ct-seconds":"Segundos","ct-days-init":"D","ct-hours-init":"H","ct-minutes-init":"M","ct-seconds-init":"S","ct-days-init-2":"Días","ct-hours-init-2":"Hrs","ct-minutes-init-2":"Min","ct-seconds-init-2":"Seg","ct-choose-creation-type":"Elija una opción","banner-free-first-text":"Este website fue desarrollado con","banner-free-second-text":"Builderall Builder","banner-free-third-text":"Construye tu website hoy","banner-free-btn-text":"Comienza Ahora","ct-members":"Miembros","ct-member-name":"Nombre","ct-member-email":"Email","ct-member-edit":"Editar configuraciones de miembros","ct-password-confirm":"Confirmar Contraseña","ct-register":"Registro","ct-forgot-password":"¿Olvidó su contraseña?","ct-confirm":"Confirmar","ct-sign-in":"Ingresar","ct-remember":"Recuerde","ct-login":"Inicio sesión","ct-restr
1ict-area-not-have-permission":"No tiene acceso a esta área de miembros","ct-sign-in-account":"Iniciar sesión cuenta","ct-create-account":"Crear una cuenta","ct-access-with-token":"Ingresa el token","ct-sign-in-token":"Iniciar sesión con Token","ct-sign-in-email-password":"Inicie sesión con un email y una contraseña","ct-get-response-contact-added-successfully":"Contacto agregado correctamente","ct-get-response-contact-already-added":"Contacto ya añadido","ct-get-response-validation-error":"Campos inválidos","ct-please-check-the-required-fields":"Por favor, revise los campos requeridos.","ct-no-articles-on-your-blog":"Publicaciones no encontradas","ct-gdpr-accept-chosen-config":"Aceptar la configuración elegida","ct-password-updated-successfully":"¡Contraseña actualizada correctamente!","ct-update-password":"Actualizar Contraseña","ct-new-password":"Nueva contraseña","ct-new-password-confirm":"Confirmar la nueva contraseña","ct-tab-profile-edit":"Editar perfil","ct-tab-profile":"Perfil","ct-tab-areas-title":"Área de miembros","ct-member-description":"Descripción","ct-member-status":"Estado","ct-member-enable":"Activo","ct-member-disable":"Inactivo","ct-profile-updated":"¡Perfil actualizado correctamente!","ct-profile-update-error":"Error al actualizar el perfil","ct-member-go-to-area":"Ir a la página de miembros","ct-password-new":"Nueva contraseña","ct-failed":"Email/Contraseña incorrectos","ct-select-booking-calendar":"Select calendar","ct-member-expire":"Fecha de caducidad","ct-previous":"Anterior","ct-last":"Último","ct-first":"Primero","ct-access-ba-credentials":"Acceder con tus credenciales de Builderall.","ct-comments":"Comentarios","ct-add-comments":"Agregar Comentarios","ct-more-comments":"Cargar mas Comentarios","ct-delete-comments":"Borrar Comentarios","ct-comment-theme-title":"Acceda o regístrate para dejar un comentario","ct-sign-up":"Registrate","ct-launch-position":"Your ranking position","ct-launch-count":"Registered by your link","ct-launch-copy":"Copy","ct-select-one-quiz":"Seleccione un quiz","ct-select-video-panda":"Seleccione Panda Video","ct-home":"Página de inicio","ct_password_":"Contraseña","ct-p-edit-site":"Personaliza y Publica","ct-p-subscribe":"SUSCRÍBASE","ct-p-subscribe-to-edit":"¡Suscríbase ahora para empezar la edición!","ct-files-selected":"Archivos","ct-captcha-validation":"Debes completar el CAPTCHA para continuar"}')},f1d9:function(t,e,n){"use strict";n("4632")},f395:function(t,e,n){"use strict";n("0273")},f3e4:function(t,e,n){"use strict";n("d1e1")},f4a2:function(t,e,n){},f604:function(t,e,n){"use strict";n("45c1")},f701:function(t,e,n){"use strict";n("0d98")},f741:function(t,e,n){},fa8c:function(t,e,n){"use strict";n("2557")},fb26:function(t,e,n){},fce0:function(t){t.exports=JSON.parse('{"ct-save":"Speichern","ct-logout":"Ausloggen","ct-name":"Name","ct-email":"E-Mail","ct-next":"Weiter","ct-days":"Tage","ct-hours":"Stunden","ct-minutes":"Minuten","ct-seconds":"Sekunden","ct-days-init":"T","ct-hours-init":"Std","ct-minutes-init":"M","ct-seconds-init":"S","ct-days-init-2":"Tage","ct-hours-init-2":"Std","ct-minutes-init-2":"Min","ct-seconds-init-2":"Sek","ct-choose-creation-type":"Option auswählen","banner-free-first-text":"Diese Website wurde erstellt mit","banner-free-second-text":"Builderall Builder","banner-free-third-text":"Erstelle jetzt kostenlos Deine Eigene!","banner-free-btn-text":"Jetzt starten","ct-members":"Mitglieder","ct-member-name":"Name","ct-member-email":"E-Mail","ct-member-edit":"Memberbereich Einstellungen bearbeiten","ct-password-confirm":"Passwort bestätigen","ct-register":"Registrieren","ct-forgot-password":"Passwort vergessen?","ct-confirm":"Bestätigen","ct-sign-in":"Einloggen","ct-remember":"Passwort Wiederherstellung","ct-login":"Login","ct-restrict-area-not-have-permission":"Du hast keinen Zugang zu diesem Mitgliederbereich","ct-sign-in-account":"Einloggen","ct-create-account":"Account erstellen","ct-token":"Token","ct-access-with-token":"Zugriff via Token","ct-sign-in-token":"Mit Token (Eine Art Passwort) einloggen","ct-sign-in-email-password":"Login mit E-Mail und Passwort","ct-get-response-contact-added-successfully":"Kontakt erfolgreich hinzugefügt","ct-get-response-contact-already-added":"Kontakt bereits hinzugefügt","ct-get-response-validation-error":"Ungültige Felder","ct-please-check-the-required-fields":"Bitte, überprüfe die erforderlichen Felder","ct-invalid-url":"Ungültige URL","ct-no-articles-on-your-blog":"No posts found","ct-gdpr-accept-chosen-config":"Auswahl speichern","ct-password-updated-successfully":"Passwort erfolgreich aktualisiert!","ct-error-updating-password":"Fehler beim Aktualisieren des Passworts!","ct-update-password":"Passwort aktualisieren","ct-confirm-email":"E-Mail bestätigen","ct-new-password":"Neues Passwort","ct-new-password-confirm":"Neues Passwort Bestätigen","ct-tab-profile-edit":"Profil bearbeiten","ct-tab-profile":"Profil","ct-tab-areas":"Memberbereich","ct-tab-areas-title":"Memberbereich","ct-login-register":"Anmelden und registrieren","ct-member-description":"Beschreibung","ct-member-status":"Status","ct-member-enable":"Aktiv","ct-member-disable":"Inaktiv","ct-sucess":"Erfolgreich ausgeführt!","ct-error":"Fehler!","ct-remember-true":"Wiederherstellungs-E-Mail wurde erfolgreich gesendet","ct-remember-false":"Fehler beim Senden der Wiederherstellungs-E-Mail","ct-register-error":"Fehler bei der Registrierung","ct-login-error":"Fehler bei der Anmeldung","ct-remember-error":"Fehler beim Senden der Wiederherstellungs-E-Mail","ct-member-disabled":"Nicht aktiv","ct-profile-updated":"Profil erfolgreich geupdated!","ct-profile-update-error":"Oups, da hat etwas nicht geklappt!","ct-member-go-to-area":"Mitgliederbereich aufrufen","ct-password-current":"Aktuelles Passwort","ct-password-new":"Neues Passwort","ct-failed":"Diese Anmeldedaten stimmen nicht mit unseren Daten überein.","ct-throttle":"Zu viele Login-Versuche. Bitte versuche es in wenigen Minuten erneut.","ct-password-current-wrong":"Aktuelles Passwort stimmt nicht überein","ct-select-booking-calendar":"Wähle einen Kalender","ct-bn-status-denied":"Deine Benachrichtigungen sind deaktiviert, schaue nach dem Vorhängeschloss oder deinen Browsereinstellungen, um sie zu aktivieren","ct-bn-status-granted":"Deine Benachrichtigungen sind bereits aktiviert","ct-member-expire":"Verfallsdatum","ct-error-token-invalid":"Ungültiges Token","ct-error-token-invalid-helper":"It has been a long time since you requested password recovery or a new request has been made. Re-appl
1y or use your last submitted request.","ct-error-token-home":"Gehe zur Startseite","ct-previous":"Früher","ct-last":"Letzte","ct-first":"Erste","ct-access-ba-credentials":"Login mit Builderall Zugangsdaten","ct-already-exists-by-register":"Dieser User hat sich bereits über die konventionelle Registrierung angemeldet","ct-user-invalid-by-ba":"Dein Konto bei Builderall ist ungültig","ct-close-publication":"Schließen","ct-comments":"Kommentare","ct-add-comments":"Kommentar hinzufügen","ct-comment":"Kommentar","ct-reply-comment":"Kommentar beantworten","ct-answering-comment":"Kommentar beantworten","ct-approve-comment":"Dein Kommentar wird vom Autor freigegeben","ct-more-comments":"Mehr Kommentare laden","ct-cancel-publication":"Abbrechen","ct-delete-comments":"Kommentar löschen","ct-comment-theme-title":"Einloggen oder anmelden, um einen Kommentar zu hinterlassen","ct-sign-up":"Anmelden","ct-emails-dont-match-publication":" Verifizierungsmail stimmt nicht überein ","ct-launch-position":"Deine Ranking Position","ct-launch-count":"Durch Deinen Link registriert","ct-launch-copy":"Kopieren","ct-site-not-available-for-this-version":"Diese Seite ist für diese Version nicht verfügbar","ct-select-one-quiz":"Wähle ein Quiz","ct-site-not-allow-members-area":"Mitgliederbereich kann nicht geladen werden. Akzeptiere Cookies von Drittanbietern in  deinem Browser, damit er korrekt funktioniert.","ct-office-magic-checkout":"Wir erstellen gerade dein Konto und werden dich bald zur Kaufabwicklung weiterleiten.","ct-select-video-panda":"Wähle Panda Video","ct-home":"Startseite","ct_password_":"Passwort","ct-p-edit-site":"Anpassen & Veröffentlichen","ct-p-subscribe":"ABONNIEREN","ct-p-subscribe-to-edit":"Jetzt abonnieren, um mit dem Bearbeiten zu beginnen!","ct-files-selected":"Dateien","ct-captcha-validation":"Sie müssen das CAPTCHA ausfüllen, um fortzufahren"}')},fd7d:function(t,e,n){"use strict";n("e23e")}});
2//# sourceMappingURL=app.4872bc1b.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.