@holaluz/kalimotxo
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -1,2 +0,2 @@ | ||
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["kalimotxo"]=t():e["kalimotxo"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"0475":function(e,t,n){},"06cf":function(e,t,n){var r=n("83ab"),o=n("d1e7"),i=n("5c6c"),a=n("fc6a"),s=n("c04e"),c=n("5135"),l=n("0cfb"),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=a(e),t=s(t,!0),l)try{return u(e,t)}catch(n){}if(c(e,t))return i(!o.f.call(e,t),e[t])}},"0a06":function(e,t,n){"use strict";var r=n("c532"),o=n("30b5"),i=n("f6b4"),a=n("5270"),s=n("4a7b");function c(e){this.defaults=e,this.interceptors={request:new i,response:new i}}c.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=s(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[a,void 0],n=Promise.resolve(e);this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));while(t.length)n=n.then(t.shift(),t.shift());return n},c.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}})),e.exports=c},"0cfb":function(e,t,n){var r=n("83ab"),o=n("d039"),i=n("cc12");e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},"0df6":function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"14c3":function(e,t,n){var r=n("c6b6"),o=n("9263");e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var i=n.call(e,t);if("object"!==typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},"1c6d":function(e,t,n){"use strict";var r=n("9ab6"),o=n.n(r);t["default"]=o.a},"1d2b":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},"1d80":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"23cb":function(e,t,n){var r=n("a691"),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},"23e7":function(e,t,n){var r=n("da84"),o=n("06cf").f,i=n("9112"),a=n("6eeb"),s=n("ce4e"),c=n("e893"),l=n("94ca");e.exports=function(e,t){var n,u,f,p,d,h,m=e.target,g=e.global,v=e.stat;if(u=g?r:v?r[m]||s(m,{}):(r[m]||{}).prototype,u)for(f in t){if(d=t[f],e.noTargetGet?(h=o(u,f),p=h&&h.value):p=u[f],n=l(g?f:m+(v?".":"#")+f,e.forced),!n&&void 0!==p){if(typeof d===typeof p)continue;c(d,p)}(e.sham||p&&p.sham)&&i(d,"sham",!0),a(u,f,d,e)}}},"241c":function(e,t,n){var r=n("ca84"),o=n("7839"),i=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},2444:function(e,t,n){"use strict";(function(t){var r=n("c532"),o=n("c8af"),i={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function s(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n("b50d")),e}var c={adapter:s(),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){c.headers[e]=r.merge(i)})),e.exports=c}).call(this,n("4362"))},"2d83":function(e,t,n){"use strict";var r=n("387f");e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},"2e67":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"30b5":function(e,t,n){"use strict";var r=n("c532");function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},"387f":function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},3934:function(e,t,n){"use strict";var r=n("c532");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},"399f":function(e,t){e.exports=function(e){e.options.__i18n=e.options.__i18n||[],e.options.__i18n.push('{"es":{"title":"Información básica sobre Protección de Datos","table":[{"title":"Responsable:","description":"HOLALUZ-CLIDOM, S.A."},{"title":"Finalidad:","description":"Envío de información comercial."},{"title":"Legitimación:","description":"Consentimiento expreso."},{"title":"Destinatarios:","description":"No serán cedidos a terceros ajenos a los servicios prestados, salvo filiales, en su caso."},{"title":"Derechos:","description":"Acceder, rectificar y suprimir los datos, así como otros derechos, como se explica en la información adicional."},{"title":"Información adicional:","description":"Puede consultar la información addicional detallada sobre <a target=\'_blank\' class=\'hl-link\' href=\'https://www.holaluz.com/documentos-legales/politica-privacidad/\'>Protección de datos en nuestra web.</a>"}],"ok":"Entendido"},"ca":{"title":"Informació bàsica sobre la Protecció de Dades","table":[{"title":"Responsable:","description":"HOLALUZ-CLIDOM, S.A."},{"title":"Destinataris:","description":"No seran cedides a tercers aliens als serveis prestats, excepte filials, en el seu cas."},{"title":"Finalitat:","description":"Enviament d\'informació comercial"},{"title":"Legitimació:","description":" Consentiment exprés."},{"title":"Drets:","description":"Accedir, rectificar i suprimir les dades, així com altres drets, com s\'explica en la informació addicional."},{"title":"Informació addicional:","description":"Pot consultar la informació adicional detallada sobre <a target=\'_blank\' class=\'hl-link\' href=\'https://www.holaluz.com/ca/documents-legals/politica-privacitat/\'> Protecció de dades en la nostra web.</a>"}],"ok":"Entesos"},"en":{"title":"Basic information about Data Protection","table":[{"title":"Data controller:","description":"HOLALUZ-CLIDOM, S.A."},{"title":"Purpose:","description":"Sending commercial information."},{"title":"Legitimation:","description":"Express consent."},{"title":"Recipients:","description":"Personal data will not be transferred to third parties outside the scope of the services provided, except for affiliated companies, if applicable."},{"title":"Rights:","description":"Access, rectification and erasure of the data, as well as other rights, as explained in the additional information."},{"title":"Additional information:","description":"You can check the additional information about <a target=\'blank\' class=\'hl-link\' rel=\'nofollow noopener\' href=\'https://www.holaluz.com/en/legal-documents/privacy-policy/\'>Data Protection on our web.</a>"}],"ok":"Close and continue"}}'),delete e.options._Ctor}},"3d63":function(e,t,n){},"3e84":function(e,t){e.exports=function(e){e.options.__i18n=e.options.__i18n||[],e.options.__i18n.push('{"es":{"skipToContent":"Ir al contenido","logo":{"label":"Logo Holaluz","alt":"Holaluz, la compañía de luz que te ofrece energía 100% verde","link":"https://www.holaluz.com/"},"callMeBack":"¿Te llamamos gratis?","modalTitle":"¿Hablamos?","greenEnergy":{"href":"https://www.holaluz.com/energia-verde/","label":"100% luz verde"},"callNow":"Llámanos gratis al 900 67 07 07"},"ca":{"skipToContent":"Anar al contingut","logo":{"label":"Logo Holaluz","alt":"Holaluz, la companyia de llum que t\'ofereix energia 100% verda","link":"https://www.holaluz.com/ca"},"callMeBack":"Et truquem gratis?","modalTitle":"Parlem?","greenEnergy":{"href":"https://www.holaluz.com/ca/energia-verda/","label":"100% llum verda"},"callNow":"Truca\'ns gratis al 900 67 07 07"}}'),delete e.options._Ctor}},"3ef7":function(e,t,n){},"428f":function(e,t,n){var r=n("da84");e.exports=r},4362:function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("df7c")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"44ad":function(e,t,n){var r=n("d039"),o=n("c6b6"),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},"467f":function(e,t,n){"use strict";var r=n("2d83");e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},4930:function(e,t,n){var r=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},"4a7b":function(e,t,n){"use strict";var r=n("c532");e.exports=function(e,t){t=t||{};var n={},o=["url","method","data"],i=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function l(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=c(void 0,e[o])):n[o]=c(e[o],t[o])}r.forEach(o,(function(e){r.isUndefined(t[e])||(n[e]=c(void 0,t[e]))})),r.forEach(i,l),r.forEach(a,(function(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=c(void 0,e[o])):n[o]=c(void 0,t[o])})),r.forEach(s,(function(r){r in t?n[r]=c(e[r],t[r]):r in e&&(n[r]=c(void 0,e[r]))}));var u=o.concat(i).concat(a).concat(s),f=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===u.indexOf(e)}));return r.forEach(f,l),n}},"4a9e":function(e,t,n){},"4bce":function(e,t,n){"use strict";n("4a9e")},"4d64":function(e,t,n){var r=n("fc6a"),o=n("50c4"),i=n("23cb"),a=function(e){return function(t,n,a){var s,c=r(t),l=o(c.length),u=i(a,l);if(e&&n!=n){while(l>u)if(s=c[u++],s!=s)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"50c4":function(e,t,n){var r=n("a691"),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},5135:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},5270:function(e,t,n){"use strict";var r=n("c532"),o=n("c401"),i=n("2e67"),a=n("2444");function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){s(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||a.adapter;return t(e).then((function(t){return s(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(s(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},5319:function(e,t,n){"use strict";var r=n("d784"),o=n("825a"),i=n("7b0b"),a=n("50c4"),s=n("a691"),c=n("1d80"),l=n("8aa5"),u=n("14c3"),f=Math.max,p=Math.min,d=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g,g=function(e){return void 0===e?e:String(e)};r("replace",2,(function(e,t,n,r){var v=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,b=r.REPLACE_KEEPS_$0,y=v?"$":"$0";return[function(n,r){var o=c(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!v&&b||"string"===typeof r&&-1===r.indexOf(y)){var i=n(t,e,this,r);if(i.done)return i.value}var c=o(e),d=String(this),h="function"===typeof r;h||(r=String(r));var m=c.global;if(m){var w=c.unicode;c.lastIndex=0}var C=[];while(1){var S=u(c,d);if(null===S)break;if(C.push(S),!m)break;var E=String(S[0]);""===E&&(c.lastIndex=l(d,a(c.lastIndex),w))}for(var k="",_=0,O=0;O<C.length;O++){S=C[O];for(var T=String(S[0]),P=f(p(s(S.index),d.length),0),L=[],A=1;A<S.length;A++)L.push(g(S[A]));var j=S.groups;if(h){var M=[T].concat(L,P,d);void 0!==j&&M.push(j);var $=String(r.apply(void 0,M))}else $=x(T,d,P,L,j,r);P>=_&&(k+=d.slice(_,P)+$,_=P+T.length)}return k+d.slice(_)}];function x(e,n,r,o,a,s){var c=r+e.length,l=o.length,u=m;return void 0!==a&&(a=i(a),u=h),t.call(s,u,(function(t,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(c);case"<":s=a[i.slice(1,-1)];break;default:var u=+i;if(0===u)return t;if(u>l){var f=d(u/10);return 0===f?t:f<=l?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):t}s=o[u-1]}return void 0===s?"":s}))}}))},5692:function(e,t,n){var r=n("c430"),o=n("c6cd");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,n){var r=n("d066"),o=n("241c"),i=n("7418"),a=n("825a");e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5f02":function(e,t,n){"use strict";e.exports=function(e){return"object"===typeof e&&!0===e.isAxiosError}},6547:function(e,t,n){var r=n("a691"),o=n("1d80"),i=function(e){return function(t,n){var i,a,s=String(o(t)),c=r(n),l=s.length;return c<0||c>=l?e?"":void 0:(i=s.charCodeAt(c),i<55296||i>56319||c+1===l||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):i:e?s.slice(c,c+2):a-56320+(i-55296<<10)+65536)}};e.exports={codeAt:i(!1),charAt:i(!0)}},"69f3":function(e,t,n){var r,o,i,a=n("7f9a"),s=n("da84"),c=n("861d"),l=n("9112"),u=n("5135"),f=n("f772"),p=n("d012"),d=s.WeakMap,h=function(e){return i(e)?o(e):r(e,{})},m=function(e){return function(t){var n;if(!c(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(a){var g=new d,v=g.get,b=g.has,y=g.set;r=function(e,t){return y.call(g,e,t),t},o=function(e){return v.call(g,e)||{}},i=function(e){return b.call(g,e)}}else{var x=f("state");p[x]=!0,r=function(e,t){return l(e,x,t),t},o=function(e){return u(e,x)?e[x]:{}},i=function(e){return u(e,x)}}e.exports={set:r,get:o,has:i,enforce:h,getterFor:m}},"6eeb":function(e,t,n){var r=n("da84"),o=n("9112"),i=n("5135"),a=n("ce4e"),s=n("8925"),c=n("69f3"),l=c.get,u=c.enforce,f=String(String).split("String");(e.exports=function(e,t,n,s){var c=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),u(n).source=f.join("string"==typeof t?t:"")),e!==r?(c?!p&&e[t]&&(l=!0):delete e[t],l?e[t]=n:o(e,t,n)):l?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s(this)}))},"73c4":function(e,t){e.exports=function(e){e.options.__i18n=e.options.__i18n||[],e.options.__i18n.push('{"es":{"textButton":"Llamadme","pattern":"Sólo números y espacios","placeholder":"Escribe tu número de teléfono","label":"Si lo prefieres, te llamamos gratis","imageAlt":"Teléfono","successMessage":"¡Recibido! Ahora mismo te llamamos","policyPrivacy":{"text":"Acepto recibir {link}. ","linkText":"comunicaciones comerciales"}},"ca":{"textButton":"Truqueu-me","pattern":"Només s\'accepten dígits i espais","placeholder":"Escriu el teu número de telèfon","label":"Si ho prefereixes, et truquem","imageAlt":"Telèfon","successMessage":"Rebut! De seguida et truquem","policyPrivacy":{"text":"Accepto rebre {link}.","linkText":"comunicacions comercials"}},"en":{"textButton":"Call me","pattern":"Only number and spaces","placeholder":"Your phone number is...","label":"Or let us call you for free","imageAlt":"Phone","successMessage":"Copy that! We\'ll call you right away","policyPrivacy":{"text":"I agree to receive {link}.","linkText":"commercial information"}}}'),delete e.options._Ctor}},7418:function(e,t){t.f=Object.getOwnPropertySymbols},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7a77":function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},"7a8d":function(e,t){e.exports=function(e){e.options.__i18n=e.options.__i18n||[],e.options.__i18n.push('{"es":{"description":"O llámanos al {link}. Es gratis 😉","contact":{"informate":{"href":"tel:900670707","text":"900 67 07 07"},"at-cliente":{"href":"tel:900649292","text":"900 64 92 92"},"self-consumption":{"href":"tel:900670170","text":"900 67 01 70"}}},"ca":{"description":"O truca\'ns al {link}. És gratis 😉","contact":{"informate":{"href":"tel:900670707","text":"900 67 07 07"},"at-cliente":{"href":"tel:900649292","text":"900 64 92 92"},"self-consumption":{"href":"tel:900670170","text":"900 67 01 70"}}},"en":{"description":"Or call us on {link}. It\'s free 😉","contact":{"informate":{"href":"tel:900670707","text":"900 67 07 07"},"at-cliente":{"href":"tel:900649292","text":"900 64 92 92"},"self-consumption":{"href":"tel:900670170","text":"900 67 01 70"}}}}'),delete e.options._Ctor}},"7aac":function(e,t,n){"use strict";var r=n("c532");e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"7b0b":function(e,t,n){var r=n("1d80");e.exports=function(e){return Object(r(e))}},"7b4f":function(e,t,n){"use strict";var r=n("73c4"),o=n.n(r);t["default"]=o.a},"7f9a":function(e,t,n){var r=n("da84"),o=n("8925"),i=r.WeakMap;e.exports="function"===typeof i&&/native code/.test(o(i))},"812c":function(e,t,n){},"825a":function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},"83ab":function(e,t,n){var r=n("d039");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"83b9":function(e,t,n){"use strict";var r=n("d925"),o=n("e683");e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},8486:function(e,t,n){},"861d":function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},8925:function(e,t,n){var r=n("c6cd"),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},"8aa5":function(e,t,n){"use strict";var r=n("6547").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},"8df4":function(e,t,n){"use strict";var r=n("7a77");function o(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e,t=new o((function(t){e=t}));return{token:t,cancel:e}},e.exports=o},"8f18":function(e,t,n){"use strict";n("3d63")},"8f9d":function(e,t,n){},"90e3":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},9112:function(e,t,n){var r=n("83ab"),o=n("9bf2"),i=n("5c6c");e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},9263:function(e,t,n){"use strict";var r=n("ad6d"),o=n("9f7f"),i=RegExp.prototype.exec,a=String.prototype.replace,s=i,c=function(){var e=/a/,t=/b*/g;return i.call(e,"a"),i.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),l=o.UNSUPPORTED_Y||o.BROKEN_CARET,u=void 0!==/()??/.exec("")[1],f=c||u||l;f&&(s=function(e){var t,n,o,s,f=this,p=l&&f.sticky,d=r.call(f),h=f.source,m=0,g=e;return p&&(d=d.replace("y",""),-1===d.indexOf("g")&&(d+="g"),g=String(e).slice(f.lastIndex),f.lastIndex>0&&(!f.multiline||f.multiline&&"\n"!==e[f.lastIndex-1])&&(h="(?: "+h+")",g=" "+g,m++),n=new RegExp("^(?:"+h+")",d)),u&&(n=new RegExp("^"+h+"$(?!\\s)",d)),c&&(t=f.lastIndex),o=i.call(p?n:f,g),p?o?(o.input=o.input.slice(m),o[0]=o[0].slice(m),o.index=f.lastIndex,f.lastIndex+=o[0].length):f.lastIndex=0:c&&o&&(f.lastIndex=f.global?o.index+o[0].length:t),u&&o&&o.length>1&&a.call(o[0],n,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(o[s]=void 0)})),o}),e.exports=s},"94ca":function(e,t,n){var r=n("d039"),o=/#|\.prototype\./,i=function(e,t){var n=s[a(e)];return n==l||n!=c&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=i.data={},c=i.NATIVE="N",l=i.POLYFILL="P";e.exports=i},"9ab6":function(e,t){e.exports=function(e){e.options.__i18n=e.options.__i18n||[],e.options.__i18n.push('{"es":{"title":{"callMeNow":"Te llamamos ahora","callMeBack":"¿Cuándo te llamamos?"},"subtitle":{"callMeBack":"Elige cuándo prefieres hablar con nosotros."}},"ca":{"title":{"callMeNow":"Et truquem ara","callMeBack":"Quan et truquem?"},"subtitle":{"callMeBack":"Escull quan prefereixes parlar amb nosaltres."}},"en":{"title":{"callMeNow":"We\'ll call you now","callMeBack":"Schedule your call"},"subtitle":{"callMeBack":"Choose when you prefer to talk to us."}}}'),delete e.options._Ctor}},"9bf2":function(e,t,n){var r=n("83ab"),o=n("0cfb"),i=n("825a"),a=n("c04e"),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return s(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"9d68":function(e,t,n){"use strict";n("3ef7")},"9f7f":function(e,t,n){"use strict";var r=n("d039");function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},a33f:function(e,t,n){"use strict";n("8486")},a691:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},a7dd:function(e,t,n){"use strict";var r=n("399f"),o=n.n(r);t["default"]=o.a},ac1f:function(e,t,n){"use strict";var r=n("23e7"),o=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},ad6d:function(e,t,n){"use strict";var r=n("825a");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},b50d:function(e,t,n){"use strict";var r=n("c532"),o=n("467f"),i=n("7aac"),a=n("30b5"),s=n("83b9"),c=n("c345"),l=n("3934"),u=n("2d83");e.exports=function(e){return new Promise((function(t,n){var f=e.data,p=e.headers;r.isFormData(f)&&delete p["Content-Type"];var d=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";p.Authorization="Basic "+btoa(h+":"+m)}var g=s(e.baseURL,e.url);if(d.open(e.method.toUpperCase(),a(g,e.params,e.paramsSerializer),!0),d.timeout=e.timeout,d.onreadystatechange=function(){if(d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in d?c(d.getAllResponseHeaders()):null,i=e.responseType&&"text"!==e.responseType?d.response:d.responseText,a={data:i,status:d.status,statusText:d.statusText,headers:r,config:e,request:d};o(t,n,a),d=null}},d.onabort=function(){d&&(n(u("Request aborted",e,"ECONNABORTED",d)),d=null)},d.onerror=function(){n(u("Network Error",e,null,d)),d=null},d.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var v=(e.withCredentials||l(g))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;v&&(p[e.xsrfHeaderName]=v)}if("setRequestHeader"in d&&r.forEach(p,(function(e,t){"undefined"===typeof f&&"content-type"===t.toLowerCase()?delete p[t]:d.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),e.responseType)try{d.responseType=e.responseType}catch(b){if("json"!==e.responseType)throw b}"function"===typeof e.onDownloadProgress&&d.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){d&&(d.abort(),n(e),d=null)})),f||(f=null),d.send(f)}))}},b622:function(e,t,n){var r=n("da84"),o=n("5692"),i=n("5135"),a=n("90e3"),s=n("4930"),c=n("fdbf"),l=o("wks"),u=r.Symbol,f=c?u:u&&u.withoutSetter||a;e.exports=function(e){return i(l,e)||(s&&i(u,e)?l[e]=u[e]:l[e]=f("Symbol."+e)),l[e]}},bc3a:function(e,t,n){e.exports=n("cee4")},c04e:function(e,t,n){var r=n("861d");e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},c13a:function(e,t,n){"use strict";n("8f9d")},c345:function(e,t,n){"use strict";var r=n("c532"),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},c401:function(e,t,n){"use strict";var r=n("c532");e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},c430:function(e,t){e.exports=!1},c4fe:function(e,t,n){"use strict";n("812c")},c532:function(e,t,n){"use strict";var r=n("1d2b"),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return"undefined"===typeof e}function s(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function c(e){return"[object ArrayBuffer]"===o.call(e)}function l(e){return"undefined"!==typeof FormData&&e instanceof FormData}function u(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function f(e){return"string"===typeof e}function p(e){return"number"===typeof e}function d(e){return null!==e&&"object"===typeof e}function h(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function m(e){return"[object Date]"===o.call(e)}function g(e){return"[object File]"===o.call(e)}function v(e){return"[object Blob]"===o.call(e)}function b(e){return"[object Function]"===o.call(e)}function y(e){return d(e)&&b(e.pipe)}function x(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams}function w(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function C(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function S(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}function E(){var e={};function t(t,n){h(e[n])&&h(t)?e[n]=E(e[n],t):h(t)?e[n]=E({},t):i(t)?e[n]=t.slice():e[n]=t}for(var n=0,r=arguments.length;n<r;n++)S(arguments[n],t);return e}function k(e,t,n){return S(t,(function(t,o){e[o]=n&&"function"===typeof t?r(t,n):t})),e}function _(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}e.exports={isArray:i,isArrayBuffer:c,isBuffer:s,isFormData:l,isArrayBufferView:u,isString:f,isNumber:p,isObject:d,isPlainObject:h,isUndefined:a,isDate:m,isFile:g,isBlob:v,isFunction:b,isStream:y,isURLSearchParams:x,isStandardBrowserEnv:C,forEach:S,merge:E,extend:k,trim:w,stripBOM:_}},c6b6:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},c6cd:function(e,t,n){var r=n("da84"),o=n("ce4e"),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},c8af:function(e,t,n){"use strict";var r=n("c532");e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},ca84:function(e,t,n){var r=n("5135"),o=n("fc6a"),i=n("4d64").indexOf,a=n("d012");e.exports=function(e,t){var n,s=o(e),c=0,l=[];for(n in s)!r(a,n)&&r(s,n)&&l.push(n);while(t.length>c)r(s,n=t[c++])&&(~i(l,n)||l.push(n));return l}},cc12:function(e,t,n){var r=n("da84"),o=n("861d"),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},cd5a:function(e,t,n){},ce4e:function(e,t,n){var r=n("da84"),o=n("9112");e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},cee4:function(e,t,n){"use strict";var r=n("c532"),o=n("1d2b"),i=n("0a06"),a=n("4a7b"),s=n("2444");function c(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var l=c(s);l.Axios=i,l.create=function(e){return c(a(l.defaults,e))},l.Cancel=n("7a77"),l.CancelToken=n("8df4"),l.isCancel=n("2e67"),l.all=function(e){return Promise.all(e)},l.spread=n("0df6"),l.isAxiosError=n("5f02"),e.exports=l,e.exports.default=l},d012:function(e,t){e.exports={}},d02c:function(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.sorted,o=t.skipIndex,i=t.ignorenull,a=t.skipBracket,s=t.useDot,c=t.whitespace,l=void 0===c?"+":c,u=function(e){return String(e).replace(/(?:[\0-\x1F"-&\+-\}\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,encodeURIComponent).replace(/ /g,l).replace(/[!'()~*]/g,(function(e){return"%".concat(e.charCodeAt().toString(16).slice(-2).toUpperCase())}))},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object.keys(e);return n?t.sort():t},p=function(e){return e.filter((function(e){return e})).join("&")},d=function(e,t){return p(f(t).map((function(n){return g(s?"".concat(e,".").concat(n):"".concat(e,"[").concat(n,"]"),t[n])})))},h=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a?"":"[]";return t.length?p(t.map((function(t,r){return g(o?e+n:e+"["+r+"]",t)}))):u(e+n)},m=function(e,t){return p(Array.from(t).map((function(t){return g(e,t)})))},g=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r(t),o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return t===o?o=i?o:u(e)+"="+o:/string|number|boolean/.test(n)?o=u(e)+"="+u(t):Array.isArray(t)?o=h(e,t):t instanceof Set?o=m(e,t):"object"===n&&(o=d(e,t)),o};return e&&p(f(e).map((function(t){return g(t,e[t])})))};t["default"]=o},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},d066:function(e,t,n){var r=n("428f"),o=n("da84"),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},d1e7:function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},d4ff:function(e,t,n){"use strict";n("ff4e")},d784:function(e,t,n){"use strict";n("ac1f");var r=n("6eeb"),o=n("d039"),i=n("b622"),a=n("9263"),s=n("9112"),c=i("species"),l=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),u=function(){return"$0"==="a".replace(/./,"$0")}(),f=i("replace"),p=function(){return!!/./[f]&&""===/./[f]("a","$0")}(),d=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,f){var h=i(e),m=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),g=m&&!o((function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[c]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return t=!0,null},n[h](""),!t}));if(!m||!g||"replace"===e&&(!l||!u||p)||"split"===e&&!d){var v=/./[h],b=n(h,""[e],(function(e,t,n,r,o){return t.exec===a?m&&!o?{done:!0,value:v.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),y=b[0],x=b[1];r(String.prototype,e,y),r(RegExp.prototype,h,2==t?function(e,t){return x.call(e,this,t)}:function(e){return x.call(e,this)})}f&&s(RegExp.prototype[h],"sham",!0)}},d925:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},da84:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n("c8ba"))},df7c:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){n=t+1;break}}else-1===r&&(o=!1,r=t+1);return-1===r?"":e.slice(n,r)}function o(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",r=!1,i=arguments.length-1;i>=-1&&!r;i--){var a=i>=0?arguments[i]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,r="/"===a.charAt(0))}return t=n(o(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),a="/"===i(e,-1);return e=n(o(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&a&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(o(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var n=e.length-1;n>=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=r(e.split("/")),i=r(n.split("/")),a=Math.min(o.length,i.length),s=a,c=0;c<a;c++)if(o[c]!==i[c]){s=c;break}var l=[];for(c=s;c<o.length;c++)l.push("..");return l=l.concat(i.slice(s)),l.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,o=!0,i=e.length-1;i>=1;--i)if(t=e.charCodeAt(i),47===t){if(!o){r=i;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,o=!0,i=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===r&&(o=!1,r=a+1),46===s?-1===t?t=a:1!==i&&(i=1):-1!==t&&(i=-1);else if(!o){n=a+1;break}}return-1===t||-1===r||0===i||1===i&&t===r-1&&t===n+1?"":e.slice(t,r)};var i="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("4362"))},e347:function(e,t,n){e.exports=n.p+"img/logo.4c0cafad.svg"},e683:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},e893:function(e,t,n){var r=n("5135"),o=n("56ef"),i=n("06cf"),a=n("9bf2");e.exports=function(e,t){for(var n=o(t),s=a.f,c=i.f,l=0;l<n.length;l++){var u=n[l];r(e,u)||s(e,u,c(t,u))}}},ebc7:function(e,t,n){"use strict";var r=n("7a8d"),o=n.n(r);t["default"]=o.a},f0cd:function(e,t,n){"use strict";var r=n("3e84"),o=n.n(r);t["default"]=o.a},f63b:function(e,t,n){"use strict";n("cd5a")},f6b4:function(e,t,n){"use strict";var r=n("c532");function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},f772:function(e,t,n){var r=n("5692"),o=n("90e3"),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},f95d:function(e,t,n){},fb15:function(e,t,n){"use strict";n.r(t),n.d(t,"plugins",(function(){return r})),n.d(t,"CallMe",(function(){return P})),n.d(t,"FloatingCallMe",(function(){return se})),n.d(t,"FloatingCallMeOnScroll",(function(){return me})),n.d(t,"FloatingCallMeTimeout",(function(){return ke})),n.d(t,"Navbar",(function(){return Me})),n.d(t,"PrivacyModal",(function(){return v}));var r={};if(n.r(r),n.d(r,"isWorkTime",(function(){return ze})),n.d(r,"callMe",(function(){return Ge})),"undefined"!==typeof window){var o=window.document.currentScript,i=o&&o.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(n.p=i[1])}n("f95d");var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"call-me",class:{hasLightTheme:e.hasLightTheme,"shake-horizontal":e.hasPhoneError||e.hasLegalError},attrs:{role:"form"}},[n("ma-stack",{attrs:{space:"xsmall"}},[n("ma-text-field",{staticClass:"call-me-input",attrs:{title:e.$t("pattern"),placeholder:e.placeholder||e.$t("placeholder"),label:e.computedLabel,"aria-label":!e.computedLabel&&e.$t("label"),"has-error":e.hasPhoneError,tone:e.hasLightTheme?"white":"gray-dark","error-message":"",type:"tel"},scopedSlots:e._u([{key:"inputSibling",fn:function(){return[n("ma-button",{staticClass:"btn",attrs:{loading:e.isLoading,"aria-label":e.$t("textButton"),role:"button",tabindex:"0"},on:{click:e.onClickCallMe}},[e.buttonText?n("span",{domProps:{textContent:e._s(e.buttonText)}}):[e.isLoading?e._e():n("ma-icon",{attrs:{icon:"Phone","icon-alt":e.$t("imageAlt"),width:14,height:14}})]],2)]},proxy:!0}]),model:{value:e.phoneNumber,callback:function(t){e.phoneNumber=t},expression:"phoneNumber"}}),e.isSuccessful?e._e():n("ma-option",{class:{"error-checkbox":e.hasLegalError},attrs:{type:"checkbox","data-testid":"legalCheckbox"},model:{value:e.hasAcceptedLegal,callback:function(t){e.hasAcceptedLegal=t},expression:"hasAcceptedLegal"}},[n("ma-text",{attrs:{tone:e.hasLightTheme?"white":"gray",size:"xsmall"}},[n("privacy-modal",{scopedSlots:e._u([{key:"default",fn:function(t){var r=t.openModal;return[n("i18n",{staticClass:"description",attrs:{tag:"span",path:"policyPrivacy.text"}},[n("a",{staticClass:"hl-link",attrs:{slot:"link"},domProps:{textContent:e._s(e.$t("policyPrivacy.linkText"))},on:{click:function(e){return e.preventDefault(),r(e)}},slot:"link"})])]}}],null,!1,1861119829)}),e.hasLegalError?n("error-icon",{attrs:{"has-light-theme":e.hasLightTheme}}):e._e()],1)],1),e.isSuccessful?n("ma-alert",{staticClass:"success",attrs:{type:"success"}},[e._v(" "+e._s(e.$t("successMessage"))+" ")]):e._e()],1)],1)},s=[];n("5319");const c=(e="")=>/^([6,7,8,9]{1})+([0-9]{8})$/.test(e)||!1,l=(e="")=>9===e.length,u={cmb:"CMB",cmn:"CMN",workTime:"workTime"};var f=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ma-modal",{attrs:{title:e.$t("title"),width:"large","header-type":"white"},scopedSlots:e._u([{key:"trigger",fn:function(t){var n=t.openModal;return[e._t("default",null,{openModal:n})]}},{key:"content",fn:function(t){var r=t.closeModal;return[n("ma-stack",{attrs:{space:"large"}},[n("table",{staticClass:"table"},e._l(e.$t("table"),(function(t){return n("tr",{key:t.title,staticClass:"row"},[n("th",{staticClass:"table-title",domProps:{textContent:e._s(t.title)}}),n("td",{staticClass:"table-description",domProps:{innerHTML:e._s(t.description)}})])})),0),n("ma-button",{staticClass:"button",on:{click:r}},[e._v(e._s(e.$t("ok")))])],1)]}}],null,!0)})},p=[];n("d4ff");function d(e,t,n,r,o,i,a,s){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):o&&(c=s?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:l}}var h=n("a7dd"),m={},g=d(m,f,p,!1,null,"22cef790",null);"function"===typeof h["default"]&&Object(h["default"])(g);var v=g.exports,b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{staticClass:"error-icon",attrs:{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16 0C7.168 0 0 7.168 0 16C0 24.832 7.168 32 16 32C24.832 32 32 24.832 32 16C32 7.168 24.832 0 16 0ZM17.5998 24.0001H14.3998V20.8001H17.5998V24.0001ZM14.3998 17.6H17.5998V8H14.3998V17.6Z",fill:e.hasLightTheme?"white":"#CB1010"}})])},y=[],x={props:{hasLightTheme:{type:Boolean,default:!1}}},w=x,C=(n("c4fe"),d(w,b,y,!1,null,"60a74c08",null)),S=C.exports;function E(e){window.dataLayer=window.dataLayer||[],window.Didomi?(window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(t=>{const n=t.getUserConsentStatusForVendor("google");n&&window.dataLayer.push(e)})):window.dataLayer.push(e)}var k={name:"CallMe",components:{ErrorIcon:S,PrivacyModal:v},props:{apiKey:{type:String,default:"f5212e8e-dc7c-11ea-a838-37d701ee25ee"},behaviour:{type:String,default:"workTime",validator:e=>Object.values(u).includes(e)},source:{type:String,default:"web"},businessUnit:{type:String,default:"electricity"},eventCategory:{type:String,required:!0},eventLabel:{type:String,required:!0},buttonText:{type:String,default:""},hasLightTheme:{type:Boolean,default:!1},label:{type:String,default:"default"},owner:{type:String,default:"17838303"},calendarId:{type:String,default:""},queue:{type:String,default:""},placeholder:{type:String,default:""}},data(){return{phoneNumber:"",hasPhoneError:!1,isLoading:!1,isSuccessful:!1,hasAcceptedLegal:!1,hasLegalError:!1}},computed:{computedPhoneNumber(){return this.phoneNumber.replace(/\s/g,"")},computedLabel(){return"default"===this.label?this.$t("label"):this.label}},watch:{phoneNumber(){this.hasPhoneError=this.hasLegalError=!1}},methods:{onClickCallMe(){this.hasLegalError=!this.hasAcceptedLegal,this.validatePhone(),this.hasPhoneError||this.hasLegalError?E({event:"gaEvent",eventAction:this.hasPhoneError?"Error num":"Error check",eventCategory:this.eventCategory,eventLabel:this.eventLabel}):this.createPhoneLead()},async isCallMeBack(){return this.behaviour===u.workTime?!await this.$isWorkTime:this.behaviour===u.cmb},async createPhoneLead(){this.isLoading=!0;const e=await this.isCallMeBack();try{await this.$createPhoneLead({apiKey:this.apiKey,businessUnit:this.businessUnit,calendarId:this.calendarId,eventCategory:this.eventCategory,eventLabel:this.eventLabel,isCallMeBack:e,owner:this.owner,phone:this.computedPhoneNumber,source:this.source,queue:this.queue||null,url:`${location.protocol}//${location.host}${location.pathname}`,tags:[e?"call-me-back":"call-me-now"]}),this.onPhoneLeadCreated()}catch(t){this.hasPhoneError=!0}this.isLoading=!1},onPhoneLeadCreated(){const e=3e3;this.hasLegalError=this.hasAcceptedLegal=!1,this.isSuccessful=!0,this.phoneNumber="",setTimeout(()=>{this.isSuccessful=!1},e)},validatePhone(){this.hasPhoneError=!l(this.computedPhoneNumber)||!c(this.computedPhoneNumber)}}},_=k,O=(n("9d68"),n("7b4f")),T=d(_,a,s,!1,null,"3270363b",null);"function"===typeof O["default"]&&Object(O["default"])(T);var P=T.exports,L=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"floating-call-me"},[n("transition",{attrs:{name:"floating-close-menu"}},[e.isOpen?e._e():n("floating-closed",{attrs:{title:e.floatingTitle},on:{"toggle-is-open":e.toggleIsOpen}})],1),n("transition",{attrs:{name:"floating-open-menu"}},[e.isOpen?n("floating-opened",{attrs:{title:e.floatingTitle,subtitle:e.floatingSubtitle,"contact-phone-key":e.contactPhoneKey},on:{"toggle-is-open":e.toggleIsOpen}},[n("call-me",{attrs:{behaviour:e.behaviour,source:e.source,"business-unit":e.businessUnit,"event-category":e.eventCategory,"event-label":e.eventLabel,owner:e.owner,"calendar-id":e.calendarId,placeholder:e.placeholder,label:"","data-testid":"call-me"}})],1):e._e()],1)],1)},A=[],j=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"floating-closed"},[n("div",{staticClass:"container",attrs:{role:"button","data-testid":"cmn-open-button"},on:{click:function(t){return e.$emit("toggle-is-open")}}},[n("toggle-button",{staticClass:"toggle-button"}),n("span",{staticClass:"title",domProps:{textContent:e._s(e.title)}})],1)])},M=[],$=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"toggle-button"},[n("ma-icon",{staticClass:"button-icon",attrs:{title:e.isOpen?e.$t("open"):e.$t("close"),icon:e.isOpen?"Close":"Arrow",width:"8",height:"8"}})],1)},R=[],N={props:{isOpen:{type:Boolean,default:!1}},i18n:{messages:{es:{open:"Desplegar formulario",close:"Cerrar formulario"},ca:{open:"Obrir formulari",close:"Tancar formulari"},en:{open:"Open form",close:"Close form"}}}},U=N,B=(n("ffce"),d(U,$,R,!1,null,"a974d154",null)),F=B.exports,I={name:"FloatingClosed",components:{ToggleButton:F},props:{title:{type:String,required:!0}}},D=I,q=(n("c13a"),d(D,j,M,!1,null,"bf4a5bbc",null)),z=q.exports,K=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"floating-opened"},[n("div",{staticClass:"title-box",attrs:{role:"button"},on:{click:function(t){return e.$emit("toggle-is-open")}}},[n("span",{staticClass:"title",domProps:{textContent:e._s(e.title)}}),n("toggle-button",{attrs:{"is-open":""}})],1),n("div",{staticClass:"form-content"},[n("floating-form",{attrs:{subtitle:e.subtitle,"contact-phone-key":e.contactPhoneKey}},[e._t("default")],2)],1)])},H=[],W=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.subtitle?n("span",{staticClass:"subtitle",domProps:{textContent:e._s(e.subtitle)}}):e._e(),e._t("default"),n("i18n",{staticClass:"description",attrs:{tag:"p",path:"description"}},[n("a",{staticClass:"hl-link gtm_c2c-flotante",attrs:{slot:"link",href:e.$t("contact."+e.contactPhoneKey+".href")},domProps:{textContent:e._s(e.$t("contact."+e.contactPhoneKey+".text"))},slot:"link"})])],2)},V=[],X={name:"FloatingForm",props:{subtitle:{type:String,required:!0},contactPhoneKey:{type:String,required:!0}}},G=X,Y=(n("a33f"),n("ebc7")),Z=d(G,W,V,!1,null,"7c731a84",null);"function"===typeof Y["default"]&&Object(Y["default"])(Z);var J=Z.exports,Q={name:"FloatingOpened",components:{FloatingForm:J,ToggleButton:F},props:{title:{type:String,required:!0},subtitle:{type:String,required:!0},contactPhoneKey:{type:String,required:!0}}},ee=Q,te=(n("f63b"),d(ee,K,H,!1,null,"5dd25b74",null)),ne=te.exports,re={name:"FloatingCallMe",components:{FloatingClosed:z,FloatingOpened:ne,CallMe:P},props:{behaviour:{type:String,default:"workTime",validator:e=>Object.values(u).includes(e)},title:{type:String,default:""},subtitle:{type:String,default:""},contactPhoneKey:{type:String,default:"informate",validator:e=>["informate","at-cliente","self-consumption"].includes(e)},source:{type:String,default:"web"},businessUnit:{type:String,default:"electricity"},eventCategory:{type:String,required:!0},eventLabel:{type:String,required:!0},owner:{type:String,default:"17838303"},calendarId:{type:String,default:""},queue:{type:String,default:""},placeholder:{type:String,default:""}},data(){return{isOpen:!1,hasUserInteracted:!1,floatingTitle:"",floatingSubtitle:""}},watch:{behaviour(){this.updateDynamicTitles()}},mounted(){this.updateDynamicTitles()},methods:{toggleIsOpen(){E({event:"gaEvent",eventAction:"Flotante",eventCategory:this.eventCategory,eventLabel:(this.isOpen?"Cerrar":"Abrir")+" flotante"}),this.isOpen=!this.isOpen,this.hasUserInteracted=!0},async updateTitle(){if(this.title)this.floatingTitle=this.title;else if(this.behaviour===u.workTime){const e=!await this.$isWorkTime;this.floatingTitle=e?this.$t("title.callMeBack"):this.$t("title.callMeNow")}else this.behaviour===u.cmb?this.floatingTitle=this.$t("title.callMeBack"):this.floatingTitle=this.$t("title.callMeNow")},async updateSubtitle(){if(this.subtitle)this.floatingSubtitle=this.subtitle;else if(this.behaviour===u.workTime){const e=!await this.$isWorkTime;this.floatingSubtitle=e?this.$t("subtitle.callMeBack"):""}else this.behaviour===u.cmb?this.floatingSubtitle=this.$t("subtitle.callMeBack"):this.floatingSubtitle=""},updateDynamicTitles(){this.updateTitle(),this.updateSubtitle()}}},oe=re,ie=(n("8f18"),n("1c6d")),ae=d(oe,L,A,!1,null,"3d74fd5e",null);"function"===typeof ie["default"]&&Object(ie["default"])(ae);var se=ae.exports;function ce(e,t,n){let r;return function(){const o=this,i=arguments,a=function(){r=null,n||e.apply(o,i)},s=n&&!r;clearTimeout(r),r=setTimeout(a,t),s&&e.apply(o,i)}}const le=300;var ue,fe,pe={name:"FloatingCallMeOnScroll",extends:se,watch:{hasUserInteracted(){window.removeEventListener("scroll",this.handleScroll),this.unwatchOpenWithScroll()}},mounted(){window.addEventListener("scroll",this.handleScroll),this.unwatchOpenWithScroll=this.$watch("isOpen",e=>{e&&(E({event:"GtmAbrirScroll"}),this.unwatchOpenWithScroll())})},destroyed(){window.removeEventListener("scroll",this.handleScroll)},methods:{handleScroll:ce((function(){this.isOpen=window.pageYOffset>=le}),50)}},de=pe,he=d(de,ue,fe,!1,null,null,null),me=he.exports;const ge=768,ve=()=>window.innerWidth<ge,be=2e3,ye=70;var xe,we,Ce={name:"FloatingCallMeTimeout",extends:se,data(){return{timeout:be}},destroyed(){this.removeScrollListener()},mounted(){ve()?window.addEventListener("scroll",this.handleScroll):setTimeout(()=>{this.hasUserInteracted||(E({event:"GtmAbrirSegundos"}),this.toggleIsOpen())},this.timeout)},methods:{handleScroll(){window.pageYOffset<ye||(this.hasUserInteracted||(E({event:"GtmAbrirScroll"}),this.toggleIsOpen()),this.removeScrollListener())},removeScrollListener(){window.removeEventListener("scroll",this.handleScroll)}}},Se=Ce,Ee=d(Se,xe,we,!1,null,null,null),ke=Ee.exports,_e=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("header",{staticClass:"navbar"},[r("a",{attrs:{id:"skip-content",href:"#content"},domProps:{textContent:e._s(e.$t("skipToContent"))}}),r("a",{staticClass:"holaluz-logo",attrs:{href:e.$t("logo.link"),"aria-label":e.$t("logo.label")},on:{click:function(t){return e.$emit("click-logo")}}},[r("img",{attrs:{alt:e.$t("logo.alt"),width:"100",height:"30",src:n("e347")}})]),r("ma-hidden",{attrs:{below:"tablet"}},[r("ma-modal",{attrs:{title:e.$t("modalTitle"),width:"small","header-type":"gradient"},scopedSlots:e._u([{key:"trigger",fn:function(t){var n=t.openModal;return[r("ma-button",{attrs:{category:"no-background"},domProps:{textContent:e._s(e.$t("callMeBack"))},on:{click:n}})]}},{key:"content",fn:function(){return[r("call-me",{attrs:{"is-pop-up":"","event-label":"the-header","event-category":"bar"}})]},proxy:!0}])})],1),r("ma-hidden",{attrs:{below:"tablet"}},[r("a",{staticClass:"green-energy",attrs:{href:e.$t("greenEnergy.href"),"aria-label":e.$t("greenEnergy.label")},on:{click:function(t){return e.$emit("click-green-energy")}}})]),r("ma-hidden",{attrs:{above:"mobile"}},[r("ma-button",{staticClass:"call-now",attrs:{category:"gradient",href:"tel:900670707",tag:"a"},domProps:{textContent:e._s(e.$t("callNow"))},on:{click:function(t){return e.$emit("click-call-now")}}})],1)],1)},Oe=[],Te={name:"Navbar",components:{CallMe:P},props:{eventCategory:{type:String,required:!0}}},Pe=Te,Le=(n("4bce"),n("f0cd")),Ae=d(Pe,_e,Oe,!1,null,"7d8417af",null);"function"===typeof Le["default"]&&Object(Le["default"])(Ae);var je=Ae.exports,Me=je,$e={env:"development"},Re=n("bc3a"),Ne=n.n(Re);const Ue={production:"https://core.holaluz.com/api/",development:"https://core-staging.holaluz.com/api/"},Be={production:"https://sharer.holaluz.com/",development:"https://sharer-staging.holaluz.com/"},Fe=e=>Ne.a.create({baseURL:e[$e.env||"development"],timeout:3e4}),Ie=()=>Fe(Ue),De=()=>Fe(Be);var qe=()=>De().get("is-work-time").then(({data:e})=>e).catch(()=>!1),ze={install(e){e.prototype.$isWorkTime=qe()}},Ke=n("d02c"),He=n.n(Ke),We={create({businessUnit:e,phone:t,source:n,tags:r,url:o}){return Ie().post("/leads/phone/"+t,He()({businessUnit:e,phone:t,source:n,tags:r,url:o},{ignorenull:!0}))}},Ve={create({apiKey:e,businessUnit:t,phone:n,source:r,tags:o,queue:i,url:a}){return Ie().post("/support/call-me-now",He()({businessUnit:t,phone:n,source:r,tags:o,queue:i,url:a},{ignorenull:!0}),{headers:{"X-PARTNER-APIKEY":e}})}};function Xe({respondWithSuccess:e}){return{execute:t};async function t({isCallMeBack:t,apiKey:n,businessUnit:r,phone:o,source:i,queue:a,tags:s,url:c}){const l=t?We:Ve,{data:{lead:u}}=await l.create({apiKey:n,businessUnit:r,phone:o,source:i,queue:a,tags:s,url:c});e({lead:u})}}var Ge={install(e){e.prototype.$createPhoneLead=function({apiKey:e,isCallMeBack:t,phone:n,source:r,businessUnit:o,queue:i,tags:a,owner:s,calendarId:c,eventCategory:l,eventLabel:u,url:f}){const p=Xe({respondWithSuccess:d});return p.execute({apiKey:e,isCallMeBack:t,businessUnit:o,phone:n,source:r,queue:i,tags:a,url:f});function d({lead:e}){if(E({event:"gaEvent",eventAction:t?"Llamadme(CMB)":"Llamadme(CMN)",eventCategory:l,eventLabel:u,url:f,lead:{id:e.id},trigger:"submit"}),t){let e=`https://app.acuityscheduling.com/schedule.php?owner=${s}&phone=${n}`;c&&(e+="&calendarID="+c),window.open(e,"Schedule_Call","location=no,scrollbars=no,resizable=no")}}}}};function Ye(e,{environment:t="development"}){$e.env=t,e.component("CallMe",P),e.component("FloatingCallMe",se),e.component("FloatingCallMeOnScroll",me),e.component("FloatingCallMeTimeout",ke),e.component("Navbar",Me),e.component("PrivacyModal",v),Object.values(r).forEach(t=>{e.use(t)})}var Ze={install:Ye};t["default"]=Ze},fc6a:function(e,t,n){var r=n("44ad"),o=n("1d80");e.exports=function(e){return r(o(e))}},fdbf:function(e,t,n){var r=n("4930");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},ff4e:function(e,t,n){},ffce:function(e,t,n){"use strict";n("0475")}})})); | ||
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["kalimotxo"]=t():e["kalimotxo"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"0475":function(e,t,n){},"06cf":function(e,t,n){var r=n("83ab"),o=n("d1e7"),i=n("5c6c"),a=n("fc6a"),s=n("c04e"),c=n("5135"),l=n("0cfb"),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=a(e),t=s(t,!0),l)try{return u(e,t)}catch(n){}if(c(e,t))return i(!o.f.call(e,t),e[t])}},"0a06":function(e,t,n){"use strict";var r=n("c532"),o=n("30b5"),i=n("f6b4"),a=n("5270"),s=n("4a7b");function c(e){this.defaults=e,this.interceptors={request:new i,response:new i}}c.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=s(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[a,void 0],n=Promise.resolve(e);this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));while(t.length)n=n.then(t.shift(),t.shift());return n},c.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}})),e.exports=c},"0cfb":function(e,t,n){var r=n("83ab"),o=n("d039"),i=n("cc12");e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},"0df6":function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"14c3":function(e,t,n){var r=n("c6b6"),o=n("9263");e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var i=n.call(e,t);if("object"!==typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},1729:function(e,t,n){"use strict";n("3481")},"1c6d":function(e,t,n){"use strict";var r=n("9ab6"),o=n.n(r);t["default"]=o.a},"1d2b":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},"1d80":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"23cb":function(e,t,n){var r=n("a691"),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},"23e7":function(e,t,n){var r=n("da84"),o=n("06cf").f,i=n("9112"),a=n("6eeb"),s=n("ce4e"),c=n("e893"),l=n("94ca");e.exports=function(e,t){var n,u,f,p,d,h,m=e.target,g=e.global,v=e.stat;if(u=g?r:v?r[m]||s(m,{}):(r[m]||{}).prototype,u)for(f in t){if(d=t[f],e.noTargetGet?(h=o(u,f),p=h&&h.value):p=u[f],n=l(g?f:m+(v?".":"#")+f,e.forced),!n&&void 0!==p){if(typeof d===typeof p)continue;c(d,p)}(e.sham||p&&p.sham)&&i(d,"sham",!0),a(u,f,d,e)}}},"241c":function(e,t,n){var r=n("ca84"),o=n("7839"),i=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},2444:function(e,t,n){"use strict";(function(t){var r=n("c532"),o=n("c8af"),i={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function s(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n("b50d")),e}var c={adapter:s(),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){c.headers[e]=r.merge(i)})),e.exports=c}).call(this,n("4362"))},"2d83":function(e,t,n){"use strict";var r=n("387f");e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},"2e67":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"30b5":function(e,t,n){"use strict";var r=n("c532");function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},3481:function(e,t,n){},"387f":function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},3934:function(e,t,n){"use strict";var r=n("c532");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},"399f":function(e,t){e.exports=function(e){e.options.__i18n=e.options.__i18n||[],e.options.__i18n.push('{"es":{"title":"Información básica sobre Protección de Datos","table":[{"title":"Responsable:","description":"HOLALUZ-CLIDOM, S.A."},{"title":"Finalidad:","description":"Envío de información comercial."},{"title":"Legitimación:","description":"Consentimiento expreso."},{"title":"Destinatarios:","description":"No serán cedidos a terceros ajenos a los servicios prestados, salvo filiales, en su caso."},{"title":"Derechos:","description":"Acceder, rectificar y suprimir los datos, así como otros derechos, como se explica en la información adicional."},{"title":"Información adicional:","description":"Puede consultar la información addicional detallada sobre <a target=\'_blank\' class=\'hl-link\' href=\'https://www.holaluz.com/documentos-legales/politica-privacidad/\'>Protección de datos en nuestra web.</a>"}],"ok":"Entendido"},"ca":{"title":"Informació bàsica sobre la Protecció de Dades","table":[{"title":"Responsable:","description":"HOLALUZ-CLIDOM, S.A."},{"title":"Destinataris:","description":"No seran cedides a tercers aliens als serveis prestats, excepte filials, en el seu cas."},{"title":"Finalitat:","description":"Enviament d\'informació comercial"},{"title":"Legitimació:","description":" Consentiment exprés."},{"title":"Drets:","description":"Accedir, rectificar i suprimir les dades, així com altres drets, com s\'explica en la informació addicional."},{"title":"Informació addicional:","description":"Pot consultar la informació adicional detallada sobre <a target=\'_blank\' class=\'hl-link\' href=\'https://www.holaluz.com/ca/documents-legals/politica-privacitat/\'> Protecció de dades en la nostra web.</a>"}],"ok":"Entesos"},"en":{"title":"Basic information about Data Protection","table":[{"title":"Data controller:","description":"HOLALUZ-CLIDOM, S.A."},{"title":"Purpose:","description":"Sending commercial information."},{"title":"Legitimation:","description":"Express consent."},{"title":"Recipients:","description":"Personal data will not be transferred to third parties outside the scope of the services provided, except for affiliated companies, if applicable."},{"title":"Rights:","description":"Access, rectification and erasure of the data, as well as other rights, as explained in the additional information."},{"title":"Additional information:","description":"You can check the additional information about <a target=\'blank\' class=\'hl-link\' rel=\'nofollow noopener\' href=\'https://www.holaluz.com/en/legal-documents/privacy-policy/\'>Data Protection on our web.</a>"}],"ok":"Close and continue"}}'),delete e.options._Ctor}},"3d63":function(e,t,n){},"3e84":function(e,t){e.exports=function(e){e.options.__i18n=e.options.__i18n||[],e.options.__i18n.push('{"es":{"skipToContent":"Ir al contenido","logo":{"label":"Logo Holaluz","alt":"Holaluz, la compañía de luz que te ofrece energía 100% verde","link":"https://www.holaluz.com/"},"callMeBack":"¿Te llamamos gratis?","modalTitle":"¿Hablamos?","greenEnergy":{"href":"https://www.holaluz.com/energia-verde/","label":"100% luz verde"},"callNow":"Llámanos gratis al 900 67 07 07"},"ca":{"skipToContent":"Anar al contingut","logo":{"label":"Logo Holaluz","alt":"Holaluz, la companyia de llum que t\'ofereix energia 100% verda","link":"https://www.holaluz.com/ca"},"callMeBack":"Et truquem gratis?","modalTitle":"Parlem?","greenEnergy":{"href":"https://www.holaluz.com/ca/energia-verda/","label":"100% llum verda"},"callNow":"Truca\'ns gratis al 900 67 07 07"}}'),delete e.options._Ctor}},"428f":function(e,t,n){var r=n("da84");e.exports=r},4362:function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("df7c")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"44ad":function(e,t,n){var r=n("d039"),o=n("c6b6"),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},"467f":function(e,t,n){"use strict";var r=n("2d83");e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},4930:function(e,t,n){var r=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},"4a7b":function(e,t,n){"use strict";var r=n("c532");e.exports=function(e,t){t=t||{};var n={},o=["url","method","data"],i=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function l(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=c(void 0,e[o])):n[o]=c(e[o],t[o])}r.forEach(o,(function(e){r.isUndefined(t[e])||(n[e]=c(void 0,t[e]))})),r.forEach(i,l),r.forEach(a,(function(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=c(void 0,e[o])):n[o]=c(void 0,t[o])})),r.forEach(s,(function(r){r in t?n[r]=c(e[r],t[r]):r in e&&(n[r]=c(void 0,e[r]))}));var u=o.concat(i).concat(a).concat(s),f=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===u.indexOf(e)}));return r.forEach(f,l),n}},"4a9e":function(e,t,n){},"4bce":function(e,t,n){"use strict";n("4a9e")},"4d64":function(e,t,n){var r=n("fc6a"),o=n("50c4"),i=n("23cb"),a=function(e){return function(t,n,a){var s,c=r(t),l=o(c.length),u=i(a,l);if(e&&n!=n){while(l>u)if(s=c[u++],s!=s)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"50c4":function(e,t,n){var r=n("a691"),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},5135:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},5270:function(e,t,n){"use strict";var r=n("c532"),o=n("c401"),i=n("2e67"),a=n("2444");function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){s(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||a.adapter;return t(e).then((function(t){return s(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(s(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},5319:function(e,t,n){"use strict";var r=n("d784"),o=n("825a"),i=n("7b0b"),a=n("50c4"),s=n("a691"),c=n("1d80"),l=n("8aa5"),u=n("14c3"),f=Math.max,p=Math.min,d=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g,g=function(e){return void 0===e?e:String(e)};r("replace",2,(function(e,t,n,r){var v=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,b=r.REPLACE_KEEPS_$0,y=v?"$":"$0";return[function(n,r){var o=c(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!v&&b||"string"===typeof r&&-1===r.indexOf(y)){var i=n(t,e,this,r);if(i.done)return i.value}var c=o(e),d=String(this),h="function"===typeof r;h||(r=String(r));var m=c.global;if(m){var w=c.unicode;c.lastIndex=0}var C=[];while(1){var S=u(c,d);if(null===S)break;if(C.push(S),!m)break;var E=String(S[0]);""===E&&(c.lastIndex=l(d,a(c.lastIndex),w))}for(var k="",_=0,O=0;O<C.length;O++){S=C[O];for(var T=String(S[0]),P=f(p(s(S.index),d.length),0),L=[],A=1;A<S.length;A++)L.push(g(S[A]));var j=S.groups;if(h){var M=[T].concat(L,P,d);void 0!==j&&M.push(j);var $=String(r.apply(void 0,M))}else $=x(T,d,P,L,j,r);P>=_&&(k+=d.slice(_,P)+$,_=P+T.length)}return k+d.slice(_)}];function x(e,n,r,o,a,s){var c=r+e.length,l=o.length,u=m;return void 0!==a&&(a=i(a),u=h),t.call(s,u,(function(t,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(c);case"<":s=a[i.slice(1,-1)];break;default:var u=+i;if(0===u)return t;if(u>l){var f=d(u/10);return 0===f?t:f<=l?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):t}s=o[u-1]}return void 0===s?"":s}))}}))},5692:function(e,t,n){var r=n("c430"),o=n("c6cd");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,n){var r=n("d066"),o=n("241c"),i=n("7418"),a=n("825a");e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5f02":function(e,t,n){"use strict";e.exports=function(e){return"object"===typeof e&&!0===e.isAxiosError}},6547:function(e,t,n){var r=n("a691"),o=n("1d80"),i=function(e){return function(t,n){var i,a,s=String(o(t)),c=r(n),l=s.length;return c<0||c>=l?e?"":void 0:(i=s.charCodeAt(c),i<55296||i>56319||c+1===l||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):i:e?s.slice(c,c+2):a-56320+(i-55296<<10)+65536)}};e.exports={codeAt:i(!1),charAt:i(!0)}},"69f3":function(e,t,n){var r,o,i,a=n("7f9a"),s=n("da84"),c=n("861d"),l=n("9112"),u=n("5135"),f=n("f772"),p=n("d012"),d=s.WeakMap,h=function(e){return i(e)?o(e):r(e,{})},m=function(e){return function(t){var n;if(!c(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(a){var g=new d,v=g.get,b=g.has,y=g.set;r=function(e,t){return y.call(g,e,t),t},o=function(e){return v.call(g,e)||{}},i=function(e){return b.call(g,e)}}else{var x=f("state");p[x]=!0,r=function(e,t){return l(e,x,t),t},o=function(e){return u(e,x)?e[x]:{}},i=function(e){return u(e,x)}}e.exports={set:r,get:o,has:i,enforce:h,getterFor:m}},"6eeb":function(e,t,n){var r=n("da84"),o=n("9112"),i=n("5135"),a=n("ce4e"),s=n("8925"),c=n("69f3"),l=c.get,u=c.enforce,f=String(String).split("String");(e.exports=function(e,t,n,s){var c=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),u(n).source=f.join("string"==typeof t?t:"")),e!==r?(c?!p&&e[t]&&(l=!0):delete e[t],l?e[t]=n:o(e,t,n)):l?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s(this)}))},"73c4":function(e,t){e.exports=function(e){e.options.__i18n=e.options.__i18n||[],e.options.__i18n.push('{"es":{"textButton":"Llamadme","pattern":"Sólo números y espacios","placeholder":"Escribe tu número de teléfono","label":"Si lo prefieres, te llamamos gratis","imageAlt":"Teléfono","successMessage":"¡Recibido! Ahora mismo te llamamos","policyPrivacy":{"text":"Acepto recibir {link}. ","linkText":"comunicaciones comerciales"}},"ca":{"textButton":"Truqueu-me","pattern":"Només s\'accepten dígits i espais","placeholder":"Escriu el teu número de telèfon","label":"Si ho prefereixes, et truquem","imageAlt":"Telèfon","successMessage":"Rebut! De seguida et truquem","policyPrivacy":{"text":"Accepto rebre {link}.","linkText":"comunicacions comercials"}},"en":{"textButton":"Call me","pattern":"Only number and spaces","placeholder":"Your phone number is...","label":"Or let us call you for free","imageAlt":"Phone","successMessage":"Copy that! We\'ll call you right away","policyPrivacy":{"text":"I agree to receive {link}.","linkText":"commercial information"}}}'),delete e.options._Ctor}},7418:function(e,t){t.f=Object.getOwnPropertySymbols},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7a77":function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},"7a8d":function(e,t){e.exports=function(e){e.options.__i18n=e.options.__i18n||[],e.options.__i18n.push('{"es":{"description":"O llámanos al {link}. Es gratis 😉","contact":{"informate":{"href":"tel:900670707","text":"900 67 07 07"},"at-cliente":{"href":"tel:900649292","text":"900 64 92 92"},"self-consumption":{"href":"tel:900670170","text":"900 67 01 70"}}},"ca":{"description":"O truca\'ns al {link}. És gratis 😉","contact":{"informate":{"href":"tel:900670707","text":"900 67 07 07"},"at-cliente":{"href":"tel:900649292","text":"900 64 92 92"},"self-consumption":{"href":"tel:900670170","text":"900 67 01 70"}}},"en":{"description":"Or call us on {link}. It\'s free 😉","contact":{"informate":{"href":"tel:900670707","text":"900 67 07 07"},"at-cliente":{"href":"tel:900649292","text":"900 64 92 92"},"self-consumption":{"href":"tel:900670170","text":"900 67 01 70"}}}}'),delete e.options._Ctor}},"7aac":function(e,t,n){"use strict";var r=n("c532");e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"7b0b":function(e,t,n){var r=n("1d80");e.exports=function(e){return Object(r(e))}},"7b4f":function(e,t,n){"use strict";var r=n("73c4"),o=n.n(r);t["default"]=o.a},"7f9a":function(e,t,n){var r=n("da84"),o=n("8925"),i=r.WeakMap;e.exports="function"===typeof i&&/native code/.test(o(i))},"812c":function(e,t,n){},"825a":function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},"83ab":function(e,t,n){var r=n("d039");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"83b9":function(e,t,n){"use strict";var r=n("d925"),o=n("e683");e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},8486:function(e,t,n){},"861d":function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},8925:function(e,t,n){var r=n("c6cd"),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},"8aa5":function(e,t,n){"use strict";var r=n("6547").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},"8df4":function(e,t,n){"use strict";var r=n("7a77");function o(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e,t=new o((function(t){e=t}));return{token:t,cancel:e}},e.exports=o},"8f18":function(e,t,n){"use strict";n("3d63")},"8f9d":function(e,t,n){},"90e3":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},9112:function(e,t,n){var r=n("83ab"),o=n("9bf2"),i=n("5c6c");e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},9263:function(e,t,n){"use strict";var r=n("ad6d"),o=n("9f7f"),i=RegExp.prototype.exec,a=String.prototype.replace,s=i,c=function(){var e=/a/,t=/b*/g;return i.call(e,"a"),i.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),l=o.UNSUPPORTED_Y||o.BROKEN_CARET,u=void 0!==/()??/.exec("")[1],f=c||u||l;f&&(s=function(e){var t,n,o,s,f=this,p=l&&f.sticky,d=r.call(f),h=f.source,m=0,g=e;return p&&(d=d.replace("y",""),-1===d.indexOf("g")&&(d+="g"),g=String(e).slice(f.lastIndex),f.lastIndex>0&&(!f.multiline||f.multiline&&"\n"!==e[f.lastIndex-1])&&(h="(?: "+h+")",g=" "+g,m++),n=new RegExp("^(?:"+h+")",d)),u&&(n=new RegExp("^"+h+"$(?!\\s)",d)),c&&(t=f.lastIndex),o=i.call(p?n:f,g),p?o?(o.input=o.input.slice(m),o[0]=o[0].slice(m),o.index=f.lastIndex,f.lastIndex+=o[0].length):f.lastIndex=0:c&&o&&(f.lastIndex=f.global?o.index+o[0].length:t),u&&o&&o.length>1&&a.call(o[0],n,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(o[s]=void 0)})),o}),e.exports=s},"94ca":function(e,t,n){var r=n("d039"),o=/#|\.prototype\./,i=function(e,t){var n=s[a(e)];return n==l||n!=c&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=i.data={},c=i.NATIVE="N",l=i.POLYFILL="P";e.exports=i},"9ab6":function(e,t){e.exports=function(e){e.options.__i18n=e.options.__i18n||[],e.options.__i18n.push('{"es":{"title":{"callMeNow":"Te llamamos ahora","callMeBack":"¿Cuándo te llamamos?"},"subtitle":{"callMeBack":"Elige cuándo prefieres hablar con nosotros."}},"ca":{"title":{"callMeNow":"Et truquem ara","callMeBack":"Quan et truquem?"},"subtitle":{"callMeBack":"Escull quan prefereixes parlar amb nosaltres."}},"en":{"title":{"callMeNow":"We\'ll call you now","callMeBack":"Schedule your call"},"subtitle":{"callMeBack":"Choose when you prefer to talk to us."}}}'),delete e.options._Ctor}},"9bf2":function(e,t,n){var r=n("83ab"),o=n("0cfb"),i=n("825a"),a=n("c04e"),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return s(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"9f7f":function(e,t,n){"use strict";var r=n("d039");function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},a33f:function(e,t,n){"use strict";n("8486")},a691:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},a7dd:function(e,t,n){"use strict";var r=n("399f"),o=n.n(r);t["default"]=o.a},ac1f:function(e,t,n){"use strict";var r=n("23e7"),o=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},ad6d:function(e,t,n){"use strict";var r=n("825a");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},b50d:function(e,t,n){"use strict";var r=n("c532"),o=n("467f"),i=n("7aac"),a=n("30b5"),s=n("83b9"),c=n("c345"),l=n("3934"),u=n("2d83");e.exports=function(e){return new Promise((function(t,n){var f=e.data,p=e.headers;r.isFormData(f)&&delete p["Content-Type"];var d=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";p.Authorization="Basic "+btoa(h+":"+m)}var g=s(e.baseURL,e.url);if(d.open(e.method.toUpperCase(),a(g,e.params,e.paramsSerializer),!0),d.timeout=e.timeout,d.onreadystatechange=function(){if(d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in d?c(d.getAllResponseHeaders()):null,i=e.responseType&&"text"!==e.responseType?d.response:d.responseText,a={data:i,status:d.status,statusText:d.statusText,headers:r,config:e,request:d};o(t,n,a),d=null}},d.onabort=function(){d&&(n(u("Request aborted",e,"ECONNABORTED",d)),d=null)},d.onerror=function(){n(u("Network Error",e,null,d)),d=null},d.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var v=(e.withCredentials||l(g))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;v&&(p[e.xsrfHeaderName]=v)}if("setRequestHeader"in d&&r.forEach(p,(function(e,t){"undefined"===typeof f&&"content-type"===t.toLowerCase()?delete p[t]:d.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),e.responseType)try{d.responseType=e.responseType}catch(b){if("json"!==e.responseType)throw b}"function"===typeof e.onDownloadProgress&&d.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){d&&(d.abort(),n(e),d=null)})),f||(f=null),d.send(f)}))}},b622:function(e,t,n){var r=n("da84"),o=n("5692"),i=n("5135"),a=n("90e3"),s=n("4930"),c=n("fdbf"),l=o("wks"),u=r.Symbol,f=c?u:u&&u.withoutSetter||a;e.exports=function(e){return i(l,e)||(s&&i(u,e)?l[e]=u[e]:l[e]=f("Symbol."+e)),l[e]}},bc3a:function(e,t,n){e.exports=n("cee4")},c04e:function(e,t,n){var r=n("861d");e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},c13a:function(e,t,n){"use strict";n("8f9d")},c345:function(e,t,n){"use strict";var r=n("c532"),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},c401:function(e,t,n){"use strict";var r=n("c532");e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},c430:function(e,t){e.exports=!1},c4fe:function(e,t,n){"use strict";n("812c")},c532:function(e,t,n){"use strict";var r=n("1d2b"),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return"undefined"===typeof e}function s(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function c(e){return"[object ArrayBuffer]"===o.call(e)}function l(e){return"undefined"!==typeof FormData&&e instanceof FormData}function u(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function f(e){return"string"===typeof e}function p(e){return"number"===typeof e}function d(e){return null!==e&&"object"===typeof e}function h(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function m(e){return"[object Date]"===o.call(e)}function g(e){return"[object File]"===o.call(e)}function v(e){return"[object Blob]"===o.call(e)}function b(e){return"[object Function]"===o.call(e)}function y(e){return d(e)&&b(e.pipe)}function x(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams}function w(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function C(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function S(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}function E(){var e={};function t(t,n){h(e[n])&&h(t)?e[n]=E(e[n],t):h(t)?e[n]=E({},t):i(t)?e[n]=t.slice():e[n]=t}for(var n=0,r=arguments.length;n<r;n++)S(arguments[n],t);return e}function k(e,t,n){return S(t,(function(t,o){e[o]=n&&"function"===typeof t?r(t,n):t})),e}function _(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}e.exports={isArray:i,isArrayBuffer:c,isBuffer:s,isFormData:l,isArrayBufferView:u,isString:f,isNumber:p,isObject:d,isPlainObject:h,isUndefined:a,isDate:m,isFile:g,isBlob:v,isFunction:b,isStream:y,isURLSearchParams:x,isStandardBrowserEnv:C,forEach:S,merge:E,extend:k,trim:w,stripBOM:_}},c6b6:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},c6cd:function(e,t,n){var r=n("da84"),o=n("ce4e"),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},c8af:function(e,t,n){"use strict";var r=n("c532");e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},ca84:function(e,t,n){var r=n("5135"),o=n("fc6a"),i=n("4d64").indexOf,a=n("d012");e.exports=function(e,t){var n,s=o(e),c=0,l=[];for(n in s)!r(a,n)&&r(s,n)&&l.push(n);while(t.length>c)r(s,n=t[c++])&&(~i(l,n)||l.push(n));return l}},cc12:function(e,t,n){var r=n("da84"),o=n("861d"),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},cd5a:function(e,t,n){},ce4e:function(e,t,n){var r=n("da84"),o=n("9112");e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},cee4:function(e,t,n){"use strict";var r=n("c532"),o=n("1d2b"),i=n("0a06"),a=n("4a7b"),s=n("2444");function c(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var l=c(s);l.Axios=i,l.create=function(e){return c(a(l.defaults,e))},l.Cancel=n("7a77"),l.CancelToken=n("8df4"),l.isCancel=n("2e67"),l.all=function(e){return Promise.all(e)},l.spread=n("0df6"),l.isAxiosError=n("5f02"),e.exports=l,e.exports.default=l},d012:function(e,t){e.exports={}},d02c:function(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.sorted,o=t.skipIndex,i=t.ignorenull,a=t.skipBracket,s=t.useDot,c=t.whitespace,l=void 0===c?"+":c,u=function(e){return String(e).replace(/(?:[\0-\x1F"-&\+-\}\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,encodeURIComponent).replace(/ /g,l).replace(/[!'()~*]/g,(function(e){return"%".concat(e.charCodeAt().toString(16).slice(-2).toUpperCase())}))},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object.keys(e);return n?t.sort():t},p=function(e){return e.filter((function(e){return e})).join("&")},d=function(e,t){return p(f(t).map((function(n){return g(s?"".concat(e,".").concat(n):"".concat(e,"[").concat(n,"]"),t[n])})))},h=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a?"":"[]";return t.length?p(t.map((function(t,r){return g(o?e+n:e+"["+r+"]",t)}))):u(e+n)},m=function(e,t){return p(Array.from(t).map((function(t){return g(e,t)})))},g=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r(t),o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return t===o?o=i?o:u(e)+"="+o:/string|number|boolean/.test(n)?o=u(e)+"="+u(t):Array.isArray(t)?o=h(e,t):t instanceof Set?o=m(e,t):"object"===n&&(o=d(e,t)),o};return e&&p(f(e).map((function(t){return g(t,e[t])})))};t["default"]=o},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},d066:function(e,t,n){var r=n("428f"),o=n("da84"),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},d1e7:function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},d4ff:function(e,t,n){"use strict";n("ff4e")},d784:function(e,t,n){"use strict";n("ac1f");var r=n("6eeb"),o=n("d039"),i=n("b622"),a=n("9263"),s=n("9112"),c=i("species"),l=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),u=function(){return"$0"==="a".replace(/./,"$0")}(),f=i("replace"),p=function(){return!!/./[f]&&""===/./[f]("a","$0")}(),d=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,f){var h=i(e),m=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),g=m&&!o((function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[c]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return t=!0,null},n[h](""),!t}));if(!m||!g||"replace"===e&&(!l||!u||p)||"split"===e&&!d){var v=/./[h],b=n(h,""[e],(function(e,t,n,r,o){return t.exec===a?m&&!o?{done:!0,value:v.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),y=b[0],x=b[1];r(String.prototype,e,y),r(RegExp.prototype,h,2==t?function(e,t){return x.call(e,this,t)}:function(e){return x.call(e,this)})}f&&s(RegExp.prototype[h],"sham",!0)}},d925:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},da84:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n("c8ba"))},df7c:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){n=t+1;break}}else-1===r&&(o=!1,r=t+1);return-1===r?"":e.slice(n,r)}function o(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",r=!1,i=arguments.length-1;i>=-1&&!r;i--){var a=i>=0?arguments[i]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,r="/"===a.charAt(0))}return t=n(o(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),a="/"===i(e,-1);return e=n(o(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&a&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(o(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var n=e.length-1;n>=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=r(e.split("/")),i=r(n.split("/")),a=Math.min(o.length,i.length),s=a,c=0;c<a;c++)if(o[c]!==i[c]){s=c;break}var l=[];for(c=s;c<o.length;c++)l.push("..");return l=l.concat(i.slice(s)),l.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,o=!0,i=e.length-1;i>=1;--i)if(t=e.charCodeAt(i),47===t){if(!o){r=i;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,o=!0,i=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===r&&(o=!1,r=a+1),46===s?-1===t?t=a:1!==i&&(i=1):-1!==t&&(i=-1);else if(!o){n=a+1;break}}return-1===t||-1===r||0===i||1===i&&t===r-1&&t===n+1?"":e.slice(t,r)};var i="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("4362"))},e347:function(e,t,n){e.exports=n.p+"img/logo.4c0cafad.svg"},e683:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},e893:function(e,t,n){var r=n("5135"),o=n("56ef"),i=n("06cf"),a=n("9bf2");e.exports=function(e,t){for(var n=o(t),s=a.f,c=i.f,l=0;l<n.length;l++){var u=n[l];r(e,u)||s(e,u,c(t,u))}}},ebc7:function(e,t,n){"use strict";var r=n("7a8d"),o=n.n(r);t["default"]=o.a},f0cd:function(e,t,n){"use strict";var r=n("3e84"),o=n.n(r);t["default"]=o.a},f63b:function(e,t,n){"use strict";n("cd5a")},f6b4:function(e,t,n){"use strict";var r=n("c532");function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},f772:function(e,t,n){var r=n("5692"),o=n("90e3"),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},f95d:function(e,t,n){},fb15:function(e,t,n){"use strict";n.r(t),n.d(t,"plugins",(function(){return r})),n.d(t,"CallMe",(function(){return P})),n.d(t,"FloatingCallMe",(function(){return se})),n.d(t,"FloatingCallMeOnScroll",(function(){return me})),n.d(t,"FloatingCallMeTimeout",(function(){return ke})),n.d(t,"Navbar",(function(){return Me})),n.d(t,"PrivacyModal",(function(){return v}));var r={};if(n.r(r),n.d(r,"isWorkTime",(function(){return ze})),n.d(r,"callMe",(function(){return Ge})),"undefined"!==typeof window){var o=window.document.currentScript,i=o&&o.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(n.p=i[1])}n("f95d");var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"call-me",class:{hasLightTheme:e.hasLightTheme,"shake-horizontal":e.hasPhoneError||e.hasLegalError},attrs:{role:"form"}},[n("ma-stack",{attrs:{space:"xsmall"}},[n("ma-text-field",{staticClass:"call-me-input",attrs:{title:e.$t("pattern"),placeholder:e.placeholder||e.$t("placeholder"),label:e.computedLabel,"aria-label":!e.computedLabel&&e.$t("label"),"has-error":e.hasPhoneError,tone:e.hasLightTheme?"white":"gray-dark","error-message":"",type:"tel"},scopedSlots:e._u([{key:"inputSibling",fn:function(){return[n("ma-button",{staticClass:"btn",attrs:{loading:e.isLoading,"aria-label":e.$t("textButton"),role:"button",tabindex:"0"},on:{click:e.onClickCallMe}},[e.buttonText?n("span",{domProps:{textContent:e._s(e.buttonText)}}):[e.isLoading?e._e():n("ma-icon",{attrs:{icon:"Phone","icon-alt":e.$t("imageAlt"),width:14,height:14}})]],2)]},proxy:!0}]),model:{value:e.phoneNumber,callback:function(t){e.phoneNumber=t},expression:"phoneNumber"}}),e.isSuccessful?e._e():n("ma-option",{class:{"error-checkbox":e.hasLegalError},attrs:{type:"checkbox","data-testid":"legalCheckbox",tone:e.hasLightTheme?"white":"gray",size:"xsmall"},model:{value:e.hasAcceptedLegal,callback:function(t){e.hasAcceptedLegal=t},expression:"hasAcceptedLegal"}},[n("privacy-modal",{scopedSlots:e._u([{key:"default",fn:function(t){var r=t.openModal;return[n("i18n",{staticClass:"description",attrs:{tag:"span",path:"policyPrivacy.text"}},[n("a",{staticClass:"hl-link",attrs:{slot:"link"},domProps:{textContent:e._s(e.$t("policyPrivacy.linkText"))},on:{click:function(e){return e.preventDefault(),r(e)}},slot:"link"})])]}}],null,!1,1861119829)}),e.hasLegalError?n("error-icon",{attrs:{"has-light-theme":e.hasLightTheme}}):e._e()],1),e.isSuccessful?n("ma-alert",{staticClass:"success",attrs:{type:"success"}},[e._v(" "+e._s(e.$t("successMessage"))+" ")]):e._e()],1)],1)},s=[];n("5319");const c=(e="")=>/^([6,7,8,9]{1})+([0-9]{8})$/.test(e)||!1,l=(e="")=>9===e.length,u={cmb:"CMB",cmn:"CMN",workTime:"workTime"};var f=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ma-modal",{attrs:{title:e.$t("title"),width:"large","header-type":"white"},scopedSlots:e._u([{key:"trigger",fn:function(t){var n=t.openModal;return[e._t("default",null,{openModal:n})]}},{key:"content",fn:function(t){var r=t.closeModal;return[n("ma-stack",{attrs:{space:"large"}},[n("table",{staticClass:"table"},e._l(e.$t("table"),(function(t){return n("tr",{key:t.title,staticClass:"row"},[n("th",{staticClass:"table-title",domProps:{textContent:e._s(t.title)}}),n("td",{staticClass:"table-description",domProps:{innerHTML:e._s(t.description)}})])})),0),n("ma-button",{staticClass:"button",on:{click:r}},[e._v(e._s(e.$t("ok")))])],1)]}}],null,!0)})},p=[];n("d4ff");function d(e,t,n,r,o,i,a,s){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):o&&(c=s?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:l}}var h=n("a7dd"),m={},g=d(m,f,p,!1,null,"22cef790",null);"function"===typeof h["default"]&&Object(h["default"])(g);var v=g.exports,b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{staticClass:"error-icon",attrs:{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16 0C7.168 0 0 7.168 0 16C0 24.832 7.168 32 16 32C24.832 32 32 24.832 32 16C32 7.168 24.832 0 16 0ZM17.5998 24.0001H14.3998V20.8001H17.5998V24.0001ZM14.3998 17.6H17.5998V8H14.3998V17.6Z",fill:e.hasLightTheme?"white":"#CB1010"}})])},y=[],x={props:{hasLightTheme:{type:Boolean,default:!1}}},w=x,C=(n("c4fe"),d(w,b,y,!1,null,"60a74c08",null)),S=C.exports;function E(e){window.dataLayer=window.dataLayer||[],window.Didomi?(window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(t=>{const n=t.getUserConsentStatusForVendor("google");n&&window.dataLayer.push(e)})):window.dataLayer.push(e)}var k={name:"CallMe",components:{ErrorIcon:S,PrivacyModal:v},props:{apiKey:{type:String,default:"f5212e8e-dc7c-11ea-a838-37d701ee25ee"},behaviour:{type:String,default:"workTime",validator:e=>Object.values(u).includes(e)},source:{type:String,default:"web"},businessUnit:{type:String,default:"electricity"},eventCategory:{type:String,required:!0},eventLabel:{type:String,required:!0},buttonText:{type:String,default:""},hasLightTheme:{type:Boolean,default:!1},label:{type:String,default:"default"},owner:{type:String,default:"17838303"},calendarId:{type:String,default:""},queue:{type:String,default:""},placeholder:{type:String,default:""}},data(){return{phoneNumber:"",hasPhoneError:!1,isLoading:!1,isSuccessful:!1,hasAcceptedLegal:!1,hasLegalError:!1}},computed:{computedPhoneNumber(){return this.phoneNumber.replace(/\s/g,"")},computedLabel(){return"default"===this.label?this.$t("label"):this.label}},watch:{phoneNumber(){this.hasPhoneError=this.hasLegalError=!1}},methods:{onClickCallMe(){this.hasLegalError=!this.hasAcceptedLegal,this.validatePhone(),this.hasPhoneError||this.hasLegalError?E({event:"gaEvent",eventAction:this.hasPhoneError?"Error num":"Error check",eventCategory:this.eventCategory,eventLabel:this.eventLabel}):this.createPhoneLead()},async isCallMeBack(){return this.behaviour===u.workTime?!await this.$isWorkTime:this.behaviour===u.cmb},async createPhoneLead(){this.isLoading=!0;const e=await this.isCallMeBack();try{await this.$createPhoneLead({apiKey:this.apiKey,businessUnit:this.businessUnit,calendarId:this.calendarId,eventCategory:this.eventCategory,eventLabel:this.eventLabel,isCallMeBack:e,owner:this.owner,phone:this.computedPhoneNumber,source:this.source,queue:this.queue||null,url:`${location.protocol}//${location.host}${location.pathname}`,tags:[e?"call-me-back":"call-me-now"]}),this.onPhoneLeadCreated()}catch(t){this.hasPhoneError=!0}this.isLoading=!1},onPhoneLeadCreated(){const e=3e3;this.hasLegalError=this.hasAcceptedLegal=!1,this.isSuccessful=!0,this.phoneNumber="",setTimeout(()=>{this.isSuccessful=!1},e)},validatePhone(){this.hasPhoneError=!l(this.computedPhoneNumber)||!c(this.computedPhoneNumber)}}},_=k,O=(n("1729"),n("7b4f")),T=d(_,a,s,!1,null,"35900832",null);"function"===typeof O["default"]&&Object(O["default"])(T);var P=T.exports,L=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"floating-call-me"},[n("transition",{attrs:{name:"floating-close-menu"}},[e.isOpen?e._e():n("floating-closed",{attrs:{title:e.floatingTitle},on:{"toggle-is-open":e.toggleIsOpen}})],1),n("transition",{attrs:{name:"floating-open-menu"}},[e.isOpen?n("floating-opened",{attrs:{title:e.floatingTitle,subtitle:e.floatingSubtitle,"contact-phone-key":e.contactPhoneKey},on:{"toggle-is-open":e.toggleIsOpen}},[n("call-me",{attrs:{behaviour:e.behaviour,source:e.source,"business-unit":e.businessUnit,"event-category":e.eventCategory,"event-label":e.eventLabel,owner:e.owner,"calendar-id":e.calendarId,placeholder:e.placeholder,label:"","data-testid":"call-me"}})],1):e._e()],1)],1)},A=[],j=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"floating-closed"},[n("div",{staticClass:"container",attrs:{role:"button","data-testid":"cmn-open-button"},on:{click:function(t){return e.$emit("toggle-is-open")}}},[n("toggle-button",{staticClass:"toggle-button"}),n("span",{staticClass:"title",domProps:{textContent:e._s(e.title)}})],1)])},M=[],$=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"toggle-button"},[n("ma-icon",{staticClass:"button-icon",attrs:{title:e.isOpen?e.$t("open"):e.$t("close"),icon:e.isOpen?"Close":"Arrow",width:"8",height:"8"}})],1)},R=[],N={props:{isOpen:{type:Boolean,default:!1}},i18n:{messages:{es:{open:"Desplegar formulario",close:"Cerrar formulario"},ca:{open:"Obrir formulari",close:"Tancar formulari"},en:{open:"Open form",close:"Close form"}}}},U=N,B=(n("ffce"),d(U,$,R,!1,null,"a974d154",null)),F=B.exports,I={name:"FloatingClosed",components:{ToggleButton:F},props:{title:{type:String,required:!0}}},D=I,q=(n("c13a"),d(D,j,M,!1,null,"bf4a5bbc",null)),z=q.exports,K=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"floating-opened"},[n("div",{staticClass:"title-box",attrs:{role:"button"},on:{click:function(t){return e.$emit("toggle-is-open")}}},[n("span",{staticClass:"title",domProps:{textContent:e._s(e.title)}}),n("toggle-button",{attrs:{"is-open":""}})],1),n("div",{staticClass:"form-content"},[n("floating-form",{attrs:{subtitle:e.subtitle,"contact-phone-key":e.contactPhoneKey}},[e._t("default")],2)],1)])},H=[],W=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.subtitle?n("span",{staticClass:"subtitle",domProps:{textContent:e._s(e.subtitle)}}):e._e(),e._t("default"),n("i18n",{staticClass:"description",attrs:{tag:"p",path:"description"}},[n("a",{staticClass:"hl-link gtm_c2c-flotante",attrs:{slot:"link",href:e.$t("contact."+e.contactPhoneKey+".href")},domProps:{textContent:e._s(e.$t("contact."+e.contactPhoneKey+".text"))},slot:"link"})])],2)},V=[],X={name:"FloatingForm",props:{subtitle:{type:String,required:!0},contactPhoneKey:{type:String,required:!0}}},G=X,Y=(n("a33f"),n("ebc7")),Z=d(G,W,V,!1,null,"7c731a84",null);"function"===typeof Y["default"]&&Object(Y["default"])(Z);var J=Z.exports,Q={name:"FloatingOpened",components:{FloatingForm:J,ToggleButton:F},props:{title:{type:String,required:!0},subtitle:{type:String,required:!0},contactPhoneKey:{type:String,required:!0}}},ee=Q,te=(n("f63b"),d(ee,K,H,!1,null,"5dd25b74",null)),ne=te.exports,re={name:"FloatingCallMe",components:{FloatingClosed:z,FloatingOpened:ne,CallMe:P},props:{behaviour:{type:String,default:"workTime",validator:e=>Object.values(u).includes(e)},title:{type:String,default:""},subtitle:{type:String,default:""},contactPhoneKey:{type:String,default:"informate",validator:e=>["informate","at-cliente","self-consumption"].includes(e)},source:{type:String,default:"web"},businessUnit:{type:String,default:"electricity"},eventCategory:{type:String,required:!0},eventLabel:{type:String,required:!0},owner:{type:String,default:"17838303"},calendarId:{type:String,default:""},queue:{type:String,default:""},placeholder:{type:String,default:""}},data(){return{isOpen:!1,hasUserInteracted:!1,floatingTitle:"",floatingSubtitle:""}},watch:{behaviour(){this.updateDynamicTitles()}},mounted(){this.updateDynamicTitles()},methods:{toggleIsOpen(){E({event:"gaEvent",eventAction:"Flotante",eventCategory:this.eventCategory,eventLabel:(this.isOpen?"Cerrar":"Abrir")+" flotante"}),this.isOpen=!this.isOpen,this.hasUserInteracted=!0},async updateTitle(){if(this.title)this.floatingTitle=this.title;else if(this.behaviour===u.workTime){const e=!await this.$isWorkTime;this.floatingTitle=e?this.$t("title.callMeBack"):this.$t("title.callMeNow")}else this.behaviour===u.cmb?this.floatingTitle=this.$t("title.callMeBack"):this.floatingTitle=this.$t("title.callMeNow")},async updateSubtitle(){if(this.subtitle)this.floatingSubtitle=this.subtitle;else if(this.behaviour===u.workTime){const e=!await this.$isWorkTime;this.floatingSubtitle=e?this.$t("subtitle.callMeBack"):""}else this.behaviour===u.cmb?this.floatingSubtitle=this.$t("subtitle.callMeBack"):this.floatingSubtitle=""},updateDynamicTitles(){this.updateTitle(),this.updateSubtitle()}}},oe=re,ie=(n("8f18"),n("1c6d")),ae=d(oe,L,A,!1,null,"3d74fd5e",null);"function"===typeof ie["default"]&&Object(ie["default"])(ae);var se=ae.exports;function ce(e,t,n){let r;return function(){const o=this,i=arguments,a=function(){r=null,n||e.apply(o,i)},s=n&&!r;clearTimeout(r),r=setTimeout(a,t),s&&e.apply(o,i)}}const le=300;var ue,fe,pe={name:"FloatingCallMeOnScroll",extends:se,watch:{hasUserInteracted(){window.removeEventListener("scroll",this.handleScroll),this.unwatchOpenWithScroll()}},mounted(){window.addEventListener("scroll",this.handleScroll),this.unwatchOpenWithScroll=this.$watch("isOpen",e=>{e&&(E({event:"GtmAbrirScroll"}),this.unwatchOpenWithScroll())})},destroyed(){window.removeEventListener("scroll",this.handleScroll)},methods:{handleScroll:ce((function(){this.isOpen=window.pageYOffset>=le}),50)}},de=pe,he=d(de,ue,fe,!1,null,null,null),me=he.exports;const ge=768,ve=()=>window.innerWidth<ge,be=2e3,ye=70;var xe,we,Ce={name:"FloatingCallMeTimeout",extends:se,data(){return{timeout:be}},destroyed(){this.removeScrollListener()},mounted(){ve()?window.addEventListener("scroll",this.handleScroll):setTimeout(()=>{this.hasUserInteracted||(E({event:"GtmAbrirSegundos"}),this.toggleIsOpen())},this.timeout)},methods:{handleScroll(){window.pageYOffset<ye||(this.hasUserInteracted||(E({event:"GtmAbrirScroll"}),this.toggleIsOpen()),this.removeScrollListener())},removeScrollListener(){window.removeEventListener("scroll",this.handleScroll)}}},Se=Ce,Ee=d(Se,xe,we,!1,null,null,null),ke=Ee.exports,_e=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("header",{staticClass:"navbar"},[r("a",{attrs:{id:"skip-content",href:"#content"},domProps:{textContent:e._s(e.$t("skipToContent"))}}),r("a",{staticClass:"holaluz-logo",attrs:{href:e.$t("logo.link"),"aria-label":e.$t("logo.label")},on:{click:function(t){return e.$emit("click-logo")}}},[r("img",{attrs:{alt:e.$t("logo.alt"),width:"100",height:"30",src:n("e347")}})]),r("ma-hidden",{attrs:{below:"tablet"}},[r("ma-modal",{attrs:{title:e.$t("modalTitle"),width:"small","header-type":"gradient"},scopedSlots:e._u([{key:"trigger",fn:function(t){var n=t.openModal;return[r("ma-button",{attrs:{category:"no-background"},domProps:{textContent:e._s(e.$t("callMeBack"))},on:{click:n}})]}},{key:"content",fn:function(){return[r("call-me",{attrs:{"is-pop-up":"","event-label":"the-header","event-category":"bar"}})]},proxy:!0}])})],1),r("ma-hidden",{attrs:{below:"tablet"}},[r("a",{staticClass:"green-energy",attrs:{href:e.$t("greenEnergy.href"),"aria-label":e.$t("greenEnergy.label")},on:{click:function(t){return e.$emit("click-green-energy")}}})]),r("ma-hidden",{attrs:{above:"mobile"}},[r("ma-button",{staticClass:"call-now",attrs:{category:"gradient",href:"tel:900670707",tag:"a"},domProps:{textContent:e._s(e.$t("callNow"))},on:{click:function(t){return e.$emit("click-call-now")}}})],1)],1)},Oe=[],Te={name:"Navbar",components:{CallMe:P},props:{eventCategory:{type:String,required:!0}}},Pe=Te,Le=(n("4bce"),n("f0cd")),Ae=d(Pe,_e,Oe,!1,null,"7d8417af",null);"function"===typeof Le["default"]&&Object(Le["default"])(Ae);var je=Ae.exports,Me=je,$e={env:"development"},Re=n("bc3a"),Ne=n.n(Re);const Ue={production:"https://core.holaluz.com/api/",development:"https://core-staging.holaluz.com/api/"},Be={production:"https://sharer.holaluz.com/",development:"https://sharer-staging.holaluz.com/"},Fe=e=>Ne.a.create({baseURL:e[$e.env||"development"],timeout:3e4}),Ie=()=>Fe(Ue),De=()=>Fe(Be);var qe=()=>De().get("is-work-time").then(({data:e})=>e).catch(()=>!1),ze={install(e){e.prototype.$isWorkTime=qe()}},Ke=n("d02c"),He=n.n(Ke),We={create({businessUnit:e,phone:t,source:n,tags:r,url:o}){return Ie().post("/leads/phone/"+t,He()({businessUnit:e,phone:t,source:n,tags:r,url:o},{ignorenull:!0}))}},Ve={create({apiKey:e,businessUnit:t,phone:n,source:r,tags:o,queue:i,url:a}){return Ie().post("/support/call-me-now",He()({businessUnit:t,phone:n,source:r,tags:o,queue:i,url:a},{ignorenull:!0}),{headers:{"X-PARTNER-APIKEY":e}})}};function Xe({respondWithSuccess:e}){return{execute:t};async function t({isCallMeBack:t,apiKey:n,businessUnit:r,phone:o,source:i,queue:a,tags:s,url:c}){const l=t?We:Ve,{data:{lead:u}}=await l.create({apiKey:n,businessUnit:r,phone:o,source:i,queue:a,tags:s,url:c});e({lead:u})}}var Ge={install(e){e.prototype.$createPhoneLead=function({apiKey:e,isCallMeBack:t,phone:n,source:r,businessUnit:o,queue:i,tags:a,owner:s,calendarId:c,eventCategory:l,eventLabel:u,url:f}){const p=Xe({respondWithSuccess:d});return p.execute({apiKey:e,isCallMeBack:t,businessUnit:o,phone:n,source:r,queue:i,tags:a,url:f});function d({lead:e}){if(E({event:"gaEvent",eventAction:t?"Llamadme(CMB)":"Llamadme(CMN)",eventCategory:l,eventLabel:u,url:f,lead:{id:e.id},trigger:"submit"}),t){let e=`https://app.acuityscheduling.com/schedule.php?owner=${s}&phone=${n}`;c&&(e+="&calendarID="+c),window.open(e,"Schedule_Call","location=no,scrollbars=no,resizable=no")}}}}};function Ye(e,{environment:t="development"}){$e.env=t,e.component("CallMe",P),e.component("FloatingCallMe",se),e.component("FloatingCallMeOnScroll",me),e.component("FloatingCallMeTimeout",ke),e.component("Navbar",Me),e.component("PrivacyModal",v),Object.values(r).forEach(t=>{e.use(t)})}var Ze={install:Ye};t["default"]=Ze},fc6a:function(e,t,n){var r=n("44ad"),o=n("1d80");e.exports=function(e){return r(o(e))}},fdbf:function(e,t,n){var r=n("4930");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},ff4e:function(e,t,n){},ffce:function(e,t,n){"use strict";n("0475")}})})); | ||
//# sourceMappingURL=kalimotxo.umd.min.js.map |
{ | ||
"name": "@holaluz/kalimotxo", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"scripts": { | ||
@@ -28,3 +28,3 @@ "build": "vue-cli-service --mode ${MODE-production} --dest ${DEST-dist} build --target lib --name kalimotxo src/index.js", | ||
"dependencies": { | ||
"@holaluz/margarita": "^8.12.0", | ||
"@holaluz/margarita": "^8.14.0", | ||
"axios": "^0.21.1", | ||
@@ -31,0 +31,0 @@ "form-urlencoded": "^4.2.1", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
2612523
19360
Updated@holaluz/margarita@^8.14.0