window.skpBus=window.skpBus||function(){var p=[];Array.prototype.push.apply(p,arguments);return (window.skpBus.p=window.skpBus.p||[]).push(p);};/*! For license information please see 2a841d76-97b0-4ad9-bd05-94944ebf5922.js.LICENSE.txt */ var SkeepersBrandWidget;(()=>{var t={538:(t,e)=>{"use strict";e.byteLength=function(t){var e=a(t),n=e[0],r=e[1];return 3*(n+r)/4-r},e.toByteArray=function(t){var e,n,o=a(t),s=o[0],h=o[1],f=new i(function(t,e,n){return 3*(e+n)/4-n}(0,s,h)),l=0,u=h>0?s-4:s;for(n=0;n>16&255,f[l++]=e>>8&255,f[l++]=255&e;return 2===h&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,f[l++]=255&e),1===h&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,f[l++]=e>>8&255,f[l++]=255&e),f},e.fromByteArray=function(t){for(var e,r=t.length,i=r%3,o=[],s=16383,a=0,f=r-i;af?f:a+s));return 1===i?(e=t[r-1],o.push(n[e>>2]+n[e<<4&63]+"==")):2===i&&(e=(t[r-2]<<8)+t[r-1],o.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"=")),o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0;s<64;++s)n[s]=o[s],r[o.charCodeAt(s)]=s;function a(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function h(t,e,r){for(var i,o,s=[],a=e;a>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return s.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},104:(t,e,n)=>{"use strict";var r=n(538),i=n(494),o=n(2);function s(){return h.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(t,e){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|t}function C(t,e){if(h.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return D(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return V(t).length;default:if(r)return D(t).length;e=(""+e).toLowerCase(),r=!0}}function d(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return T(this,e,n);case"utf8":case"utf-8":return F(this,e,n);case"ascii":return B(this,e,n);case"latin1":case"binary":return x(this,e,n);case"base64":return b(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Z(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function p(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function A(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=h.from(e,r)),h.isBuffer(e))return 0===e.length?-1:w(t,e,n,r,i);if("number"==typeof e)return e&=255,h.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):w(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function w(t,e,n,r,i){var o,s=1,a=t.length,h=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;s=2,a/=2,h/=2,n/=2}function f(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){var l=-1;for(o=n;oa&&(n=a-h),o=n;o>=0;o--){for(var u=!0,g=0;gi&&(r=i):r=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var s=0;s>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function b(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function F(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i239?4:f>223?3:f>191?2:1;if(i+u<=n)switch(u){case 1:f<128&&(l=f);break;case 2:128==(192&(o=t[i+1]))&&(h=(31&f)<<6|63&o)>127&&(l=h);break;case 3:o=t[i+1],s=t[i+2],128==(192&o)&&128==(192&s)&&(h=(15&f)<<12|(63&o)<<6|63&s)>2047&&(h<55296||h>57343)&&(l=h);break;case 4:o=t[i+1],s=t[i+2],a=t[i+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&(h=(15&f)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&h<1114112&&(l=h)}null===l?(l=65533,u=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=u}return function(t){var e=t.length;if(e<=M)return String.fromCharCode.apply(String,t);for(var n="",r=0;r0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},h.prototype.compare=function(t,e,n,r,i){if(!h.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(r>>>=0),s=(n>>>=0)-(e>>>=0),a=Math.min(o,s),f=this.slice(r,i),l=t.slice(e,n),u=0;ui)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return L(this,t,e,n);case"utf8":case"utf-8":return v(this,t,e,n);case"ascii":return y(this,t,e,n);case"latin1":case"binary":return m(this,t,e,n);case"base64":return E(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var M=4096;function B(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;ii)&&(n=i);for(var o="",s=e;sn)throw new RangeError("Trying to access beyond buffer length")}function S(t,e,n,r,i,o){if(!h.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function I(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i>>8*(r?i:1-i)}function O(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i>>8*(r?i:3-i)&255}function k(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Y(t,e,n,r,o){return o||k(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function G(t,e,n,r,o){return o||k(t,0,n,8),i.write(t,e,n,r,52,8),n+8}h.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e0&&(i*=256);)r+=this[t+--e]*i;return r},h.prototype.readUInt8=function(t,e){return e||P(t,1,this.length),this[t]},h.prototype.readUInt16LE=function(t,e){return e||P(t,2,this.length),this[t]|this[t+1]<<8},h.prototype.readUInt16BE=function(t,e){return e||P(t,2,this.length),this[t]<<8|this[t+1]},h.prototype.readUInt32LE=function(t,e){return e||P(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},h.prototype.readUInt32BE=function(t,e){return e||P(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},h.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||P(t,e,this.length);for(var r=this[t],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*e)),r},h.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||P(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},h.prototype.readInt8=function(t,e){return e||P(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},h.prototype.readInt16LE=function(t,e){e||P(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},h.prototype.readInt16BE=function(t,e){e||P(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},h.prototype.readInt32LE=function(t,e){return e||P(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},h.prototype.readInt32BE=function(t,e){return e||P(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},h.prototype.readFloatLE=function(t,e){return e||P(t,4,this.length),i.read(this,t,!0,23,4)},h.prototype.readFloatBE=function(t,e){return e||P(t,4,this.length),i.read(this,t,!1,23,4)},h.prototype.readDoubleLE=function(t,e){return e||P(t,8,this.length),i.read(this,t,!0,52,8)},h.prototype.readDoubleBE=function(t,e){return e||P(t,8,this.length),i.read(this,t,!1,52,8)},h.prototype.writeUIntLE=function(t,e,n,r){t=+t,e|=0,n|=0,r||S(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o=0&&(o*=256);)this[e+i]=t/o&255;return e+n},h.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,1,255,0),h.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},h.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,2,65535,0),h.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):I(this,t,e,!0),e+2},h.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,2,65535,0),h.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):I(this,t,e,!1),e+2},h.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,4,4294967295,0),h.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):O(this,t,e,!0),e+4},h.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,4,4294967295,0),h.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):O(this,t,e,!1),e+4},h.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);S(this,t,e,n,i-1,-i)}var o=0,s=1,a=0;for(this[e]=255&t;++o>0)-a&255;return e+n},h.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);S(this,t,e,n,i-1,-i)}var o=n-1,s=1,a=0;for(this[e+o]=255&t;--o>=0&&(s*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},h.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,1,127,-128),h.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},h.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,2,32767,-32768),h.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):I(this,t,e,!0),e+2},h.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,2,32767,-32768),h.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):I(this,t,e,!1),e+2},h.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,4,2147483647,-2147483648),h.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):O(this,t,e,!0),e+4},h.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),h.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):O(this,t,e,!1),e+4},h.prototype.writeFloatLE=function(t,e,n){return Y(this,t,e,!0,n)},h.prototype.writeFloatBE=function(t,e,n){return Y(this,t,e,!1,n)},h.prototype.writeDoubleLE=function(t,e,n){return G(this,t,e,!0,n)},h.prototype.writeDoubleBE=function(t,e,n){return G(this,t,e,!1,n)},h.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e=0;--i)t[i+e]=this[i+n];else if(o<1e3||!h.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=e;o55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function V(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(H,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function W(t,e,n,r){for(var i=0;i=e.length||i>=t.length);++i)e[i+n]=t[i];return i}},494:(t,e)=>{e.read=function(t,e,n,r,i){var o,s,a=8*i-r-1,h=(1<>1,l=-7,u=n?i-1:0,g=n?-1:1,c=t[e+u];for(u+=g,o=c&(1<<-l)-1,c>>=-l,l+=a;l>0;o=256*o+t[e+u],u+=g,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=r;l>0;s=256*s+t[e+u],u+=g,l-=8);if(0===o)o=1-f;else{if(o===h)return s?NaN:1/0*(c?-1:1);s+=Math.pow(2,r),o-=f}return(c?-1:1)*s*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var s,a,h,f=8*o-i-1,l=(1<>1,g=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,c=r?0:o-1,C=r?1:-1,d=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=l):(s=Math.floor(Math.log(e)/Math.LN2),e*(h=Math.pow(2,-s))<1&&(s--,h*=2),(e+=s+u>=1?g/h:g*Math.pow(2,1-u))*h>=2&&(s++,h/=2),s+u>=l?(a=0,s=l):s+u>=1?(a=(e*h-1)*Math.pow(2,i),s+=u):(a=e*Math.pow(2,u-1)*Math.pow(2,i),s=0));i>=8;t[n+c]=255&a,c+=C,a/=256,i-=8);for(s=s<0;t[n+c]=255&s,c+=C,s/=256,f-=8);t[n+c-C]|=128*d}},2:t=>{var e={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==e.call(t)}},745:(t,e,n)=>{"use strict";n.d(e,{Gh:()=>i,YX:()=>a,lf:()=>o,s3:()=>r,sr:()=>f,vS:()=>h});const r="skeepers-widget-wrapper",i=768;var o,s;!function(t){t.WHITE="white",t.ORANGE="orange",t.BLACK="black"}(o||(o={})),function(t){t.GB="en_GB",t.US="en_US",t.DE="de_DE",t.ES="es_ES",t.FR="fr_FR",t.IT="it_IT",t.BR="pt_BR",t.PT="pt_PT",t.NL="nl_NL",t.CZ="cz_CZ",t.PL="pl_PL",t.TH="th_TH",t.VN="vi_VN",t.CS="cs_CZ",t.HU="hu_HU",t.MX="es_MX",t.SK="sk_SK",t.MY="en_MY",t.TW="zh_TW",t.JP="ja_JP",t.KR="ko_KR"}(s||(s={}));const a={__FILL__:"#2F3237",__STROKE__:"#2F3237","__LOGO1-FILL__":"white","__LOGO2-FILL__":"white","__TEXT-FILL__":"white","__RECT-FILL__":"white","__SVG-RECT-FILL__":"#C7DEFF","__SVG-MASK1-FILL__":"#006FF5"},h={__FILL__:"#006FF5",__STROKE__:"#006FF5","__LOGO1-FILL__":"white","__LOGO2-FILL__":"white","__TEXT-FILL__":"white","__RECT-FILL__":"white","__SVG-RECT-FILL__":"#C7DEFF","__SVG-MASK1-FILL__":"#006FF5"},f={__FILL__:"#fff",__STROKE__:"#CFCFCF","__LOGO1-FILL__":"#006FF5","__LOGO2-FILL__":"#03030A","__TEXT-FILL__":"#006FF5","__RECT-FILL__":"#C7DEFF","__SVG-RECT-FILL__":"white","__SVG-MASK1-FILL__":""}},77:(t,e,n)=>{"use strict";var r,i,o,s,a,h;n.d(e,{dl:()=>h,gO:()=>i,xr:()=>r,yN:()=>o}),function(t){t[t.JS=0]="JS",t[t.SVG=1]="SVG"}(r||(r={})),function(t){t[t.None=0]="None",t[t.TopLeft=1]="TopLeft",t[t.TopRight=2]="TopRight",t[t.BottomLeft=3]="BottomLeft",t[t.BottomRight=4]="BottomRight"}(i||(i={})),function(t){t[t.Float=0]="Float",t[t.Relative=1]="Relative"}(o||(o={})),function(t){t[t.Badge=0]="Badge",t[t.MiniBadge=1]="MiniBadge"}(s||(s={})),function(t){t[t.Rectangular=0]="Rectangular",t[t.Circular=1]="Circular"}(a||(a={})),function(t){t[t.White=0]="White",t[t.Orange=1]="Orange",t[t.Black=2]="Black"}(h||(h={}))},136:(t,e,n)=>{"use strict";n.r(e),n.d(e,{buildRectangularBadge:()=>a});var r=n(272),i=n(745);function o(t,e,n=!1){return parseFloat(Number(t).toFixed(e)).toLocaleString("en-GB",n?{minimumFractionDigits:e}:{})}var s=n(104).lW;const a=(t,e,n,a)=>{let h="";const f=(0,r._1)({note:t.note});let l={};switch(e){case i.lf.BLACK:l=i.YX;break;case i.lf.ORANGE:l=i.vS;break;default:l=i.sr}h=((t,e,n,r,i)=>`\n \n \n \n \n \n \n \n \n \n ${i}\n \n ${o(t,1,!0)}\n /5\n \n \n \n \n ${n?`\n \n \n `:""}\n \n \n \n \n \n \n ${n?"":`\n \n \n \n \n `}\n \n \n \n \n \n ${n?`\n \n \n `:""}\n \n \n \n \n \n \n \n \n ${n?"":` \n \n \n \n \n `}\n \n \n \n \n \n ${n?`\n \n \n `:""}\n \n \n \n \n \n \n \n \n ${n?"":`\n \n \n \n \n `}\n \n \n \n \n ${n?`\n \n \n `:""}\n \n \n \n \n \n \n \n \n ${n?"":`\n \n \n \n \n `}\n \n \n \n \n ${n?`\n \n \n `:""}\n \n \n \n \n \n \n \n \n ${n?"":`\n \n \n \n \n `}\n \n \n \n\n`)(t.note,f,e===i.lf.WHITE,0,a);const u=new RegExp(Object.keys(l).join("|"),"gi");return h=h.replace(u,(t=>l[t])),`Avis Vérifiés; ${o(t.note,1,!0)} sur 5;\n${t.historyReviewsCount.toFixed(0)} avis client`}},272:(t,e,n)=>{"use strict";n.d(e,{Tv:()=>o,_1:()=>s,iI:()=>i});var r=n(77);const i=t=>{let e;switch(t){case r.dl.Black:e="black";break;case r.dl.Orange:e="orange";break;case r.dl.White:default:e="white"}return e},o=({anchor:t,style:e})=>{switch(t){case r.gO.TopLeft:return e.concat("position: fixed; top: 1vh; left:1vh;");case r.gO.TopRight:return e.concat("position: fixed; top: 1vh; right:1vh;");case r.gO.BottomRight:return e.concat("position: fixed; bottom: 1vh; right:1vh;");case r.gO.BottomLeft:return e.concat("position: fixed; bottom: 1vh; left:1vh;");default:return e}},s=({note:t})=>{const e=[];let n=t;for(let t=0;t<5;++t)n>=1?(e.push(100),n-=1):(e.push(Math.round(100*n)),n=0);return e}}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{generate:()=>u});var t=n(77),e=n(272),i=n(745);const o=n=>{if(t.xr.JS===n.brandWidget.template.format){window.performance.mark("Skeepers Widget empty : start");const i=(r=n.brandWidget.anchorPoint,`
\n
\n
`);if(n.brandWidget.position===t.yN.Float)document.body.insertBefore(document.createRange().createContextualFragment(i),document.body.firstElementChild);else{const t=document.getElementById(`${n.brandWidget.guid}`);t?t.appendChild(document.createRange().createContextualFragment(i)):console.warn(`\n Verified Reviews: You are using a widget that needs a container, \n but the element with ID: ${n.brandWidget.guid} could not be found. \n Please add the element
to display the widget.\n `)}window.performance.mark("Skeepers Widget : done")}var r};let s;var a;!function(t){t[t.Float=0]="Float",t[t.Relative=1]="Relative"}(a||(a={}));const h=async(r,o,h)=>{const f=(0,e.iI)(r.brandWidget.template.color);var l;let u;l=r.langCode,s=l.replace("_","-");const g=document.getElementById(r.brandWidget.guid);if(g&&(g.innerHTML=""),r.brandWidget.position===a.Relative){const t=document.getElementById(r.brandWidget.guid);if(!t)return void console.error("No container found for relative position");u=t}else u=document.createElement("div"),u.id=r.brandWidget.guid;let c=null;!o.isBlocked&&h?(c=document.createElement("a"),c.href=h,c.target="_blank",c.rel="author"):c=document.createElement("span"),c.classList.add(`${i.s3}-${r.brandWidget.guid}`),c.style.display="block";const C=`height: ${r.brandWidget.computerHeight};display: block; max-width:100%; text-decoration: none;`,d=r.brandWidget.position===a.Float?(e=>{const n="position: fixed; z-index: 999999;";switch(e){case t.gO.TopLeft:return`${n}top: 1vh; left:1vh;`;case t.gO.TopRight:return`${n}top: 1vh; right:1vh;`;case t.gO.BottomRight:return`${n}bottom: 1vh; right:1vh;`;case t.gO.BottomLeft:return`${n}bottom: 1vh; left:1vh`;default:return""}})(r.brandWidget.anchorPoint):"";c.style.cssText=C+d;{let t;await Promise.resolve().then(n.bind(n,136)).then((async e=>{t=e.buildRectangularBadge(o,f,r.langCode,r.brandWidget.logo_svg)})),c.insertAdjacentHTML("afterbegin",t)}c.insertAdjacentHTML("afterbegin",(t=>``)(r)),r.brandWidget.position===a.Float&&document.body.appendChild(u),u.appendChild(c),((t,e)=>{const n=document.createElement("script"),r=`\nwindow.skpBus=window.skpBus||function(){\nvar p=[];\nArray.prototype.push.apply(p,arguments);\nreturn (window.skpBus.p=window.skpBus.p||[]).push(p);\n}\n if(typeof sendVisibleEventSent === 'undefined') {\n let sendVisibleEventSent = false;\n const observer = new IntersectionObserver((entries, observer) => {\n if(entries[0].isIntersecting && !sendVisibleEventSent) {\n skpBus('emit', 'rr:brand_review_widget_visible',\n {widget_id:"${t}", rating:${e.note} , review_count: ${e.reviewCount} });\n sendVisibleEventSent = true;\n }\n });\n const badgeElem = document.getElementById("${t}")\n observer.observe(badgeElem);\n badgeElem.onclick = function() { skpBus('emit', 'rr:brand_review_widget_click',\n {widget_id:"${t}", rating:${e.note} , review_count: ${e.reviewCount} }) }\n }\n `,i=document.createTextNode(r);n.appendChild(i),document.body.appendChild(n)})(r.brandWidget.guid,o)},f={};var l;async function u(t){const e=JSON.parse('{"langCode":"es_MX","brandWidget":{"template":{"langCode":"es_MX","shape":0,"color":0,"format":0,"type":0,"version":1},"id":7283,"guid":"2a841d76-97b0-4ad9-bd05-94944ebf5922","websiteId":"a354733b-20d4-2de4-215d-01c4461d8e16","name":"Homepage widget","disabled":false,"certifiedLink":"https://www.opiniones-verificadas.com.mx/opiniones-clientes/supernaturista.com","position":1,"anchorPoint":1,"isDisplayedOnComputer":true,"isDisplayedOnMobile":true,"computerWidth":140,"computerHeight":"auto","mobileWidth":140,"mobileHeight":"auto","logo_svg":"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n","allShopsCertificate":"[]"}}'),n=await async function(t,e){const n=e?`${t}/a354733b-20d4-2de4-215d-01c4461d8e16/${e}/stats.json`:`${t}/a354733b-20d4-2de4-215d-01c4461d8e16/stats.json`,r=await fetch(n);if(!r.ok)return null;const i=await r.json();return{note:i.ratingMean,reviewCount:i.currentCount,historyReviewsCount:i.historyReviewsCount,isBlocked:i.isBlocked}}("https://cl-pbr.cxr.skeepers.io",t),r=n&&(n.historyReviewsCount??n.reviewCount);let i=null;if(!n.isBlocked){const e=await async function(t){const e=`a354733b-20d4-2de4-215d-01c4461d8e16${t??""}`;try{if(!f[e]){let n="https://cl-pbr.cxr.skeepers.io/a354733b-20d4-2de4-215d-01c4461d8e16";t&&(n+=`/${t}`);const r=await fetch(`${n}/links.json`);if(403===r.status)return console.warn(`403 Forbidden: ${n}/links.json`),null;f[e]=await r.json()}return f[e]}catch(t){return console.warn(t),null}}(t);i=e?.certifiedLink??null}if(!r||r<1||e.brandWidget.disabled)return o(e);h(e,n,i)}!function(t){t[t.Rectangular=0]="Rectangular",t[t.Circular=1]="Circular"}(l||(l={}));const g=document.currentScript?.dataset?.shopId;"loading"!==document.readyState?u(g).then():document.addEventListener("DOMContentLoaded",(()=>{u(g).then()}))})(),SkeepersBrandWidget=r})();