ui.shipaid.com 0.3.2 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/widget.es.js +56 -16
- package/dist/widget.iife.js +63 -23
- package/dist/widget.umd.js +65 -25
- package/dist-types/widget/src/components/learn-more-popup.d.ts +1 -1
- package/package.json +1 -1
package/dist/widget.es.js
CHANGED
|
@@ -997,7 +997,7 @@ const styles$1 = i$2`
|
|
|
997
997
|
right: 0;
|
|
998
998
|
margin: auto;
|
|
999
999
|
max-width: 500px;
|
|
1000
|
-
max-height:
|
|
1000
|
+
max-height: 70vh;
|
|
1001
1001
|
height: fit-content;
|
|
1002
1002
|
border: var(--shipaid-popup-border, var(--shipaid-primary)) 6px solid;
|
|
1003
1003
|
background-color: var(--shipaid-popup-background, #fff);
|
|
@@ -1093,6 +1093,12 @@ const styles$1 = i$2`
|
|
|
1093
1093
|
margin: 0;
|
|
1094
1094
|
}
|
|
1095
1095
|
|
|
1096
|
+
@media (max-width: 600px) {
|
|
1097
|
+
.shipaid-popup p {
|
|
1098
|
+
font-size: 10px;
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1096
1102
|
.shipaid-popup .popup-disclaimer {
|
|
1097
1103
|
font-size: 10px;
|
|
1098
1104
|
color: var(--shipaid-light-blue);
|
|
@@ -1134,6 +1140,27 @@ const styles$1 = i$2`
|
|
|
1134
1140
|
color: var(--shipaid-text);
|
|
1135
1141
|
margin-left: 2rem;
|
|
1136
1142
|
}
|
|
1143
|
+
|
|
1144
|
+
@media (max-width: 600px) {
|
|
1145
|
+
.shipaid-popup .popup-footer .footer-links a {
|
|
1146
|
+
font-size: 8px;
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
.shipaid-popup .popup-footer .footer-date p {
|
|
1150
|
+
font-size: 8px;
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
.blocker {
|
|
1155
|
+
position: fixed;
|
|
1156
|
+
top: 0;
|
|
1157
|
+
left: 0;
|
|
1158
|
+
bottom: 0;
|
|
1159
|
+
right: 0;
|
|
1160
|
+
content: " ";
|
|
1161
|
+
background: transparent;
|
|
1162
|
+
z-index: -1;
|
|
1163
|
+
}
|
|
1137
1164
|
`;
|
|
1138
1165
|
const CheckmarkIcon = y`
|
|
1139
1166
|
<svg
|
|
@@ -1333,17 +1360,28 @@ const BoxIcon = y`
|
|
|
1333
1360
|
</svg>
|
|
1334
1361
|
`;
|
|
1335
1362
|
const BellIcon = y`
|
|
1336
|
-
<svg
|
|
1363
|
+
<svg
|
|
1364
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1365
|
+
version="1.0"
|
|
1366
|
+
viewBox="0 0 500.000000 500.000000"
|
|
1367
|
+
preserveAspectRatio="xMidYMid meet"
|
|
1368
|
+
>
|
|
1337
1369
|
<g
|
|
1338
|
-
transform="translate(
|
|
1370
|
+
transform="translate(0.000000,500.000000) scale(0.100000,-0.100000)"
|
|
1339
1371
|
fill="#0056d6"
|
|
1340
1372
|
stroke="none"
|
|
1341
1373
|
>
|
|
1342
1374
|
<path
|
|
1343
|
-
d="
|
|
1375
|
+
d="M2445 4021 c-72 -18 -132 -68 -159 -133 -10 -23 -16 -67 -16 -113 0 -52 -4 -77 -12 -80 -7 -2 -55 -19 -105 -38 -301 -111 -532 -363 -616 -672 -31 -113 -37 -229 -37 -665 l0 -435 -150 -150 -150 -150 0 -77 0 -78 1300 0 1300 0 0 73 0 72 -155 155 -155 155 0 456 c0 374 -3 472 -16 550 -57 329 -262 596 -568 740 -44 20 -102 43 -127 49 l-46 12 -6 83 c-4 54 -13 98 -26 123 -29 58 -94 109 -153 121 -54 12 -60 12 -103 2z"
|
|
1344
1376
|
/>
|
|
1345
1377
|
<path
|
|
1346
|
-
d="
|
|
1378
|
+
d="M1371 3863 c-182 -183 -274 -321 -366 -549 -48 -118 -93 -308 -101 -420 l-7 -94 150 0 150 0 12 89 c30 232 116 443 255 626 55 70 181 198 246 248 l35 27 -105 105 c-57 58 -111 105 -118 105 -8 0 -76 -62 -151 -137z"
|
|
1379
|
+
/>
|
|
1380
|
+
<path
|
|
1381
|
+
d="M3358 3893 l-108 -108 37 -25 c20 -13 75 -63 122 -110 194 -193 326 -452 368 -724 8 -56 17 -107 19 -113 4 -15 289 -19 298 -5 8 13 -20 208 -43 303 -56 238 -184 484 -349 673 -61 70 -218 216 -232 216 -3 0 -54 -48 -112 -107z"
|
|
1382
|
+
/>
|
|
1383
|
+
<path
|
|
1384
|
+
d="M2194 1267 c-17 -46 48 -180 112 -231 182 -144 464 -33 491 194 l6 50 -302 0 c-242 0 -303 -3 -307 -13z"
|
|
1347
1385
|
/>
|
|
1348
1386
|
</g>
|
|
1349
1387
|
</svg>
|
|
@@ -1370,12 +1408,13 @@ let LearnMorePopup = class extends s$1 {
|
|
|
1370
1408
|
}
|
|
1371
1409
|
render() {
|
|
1372
1410
|
return y`
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1411
|
+
<div class=${`shipaid-popup ${this.active && "active"}`}>
|
|
1412
|
+
<div class="blocker" @click=${this.handleClosePopup}></div>
|
|
1413
|
+
<button
|
|
1414
|
+
type="button"
|
|
1415
|
+
class="popup-close"
|
|
1416
|
+
@click=${this.handleClosePopup}
|
|
1417
|
+
>
|
|
1379
1418
|
${translate("learn-more-popup.close")}
|
|
1380
1419
|
</button>
|
|
1381
1420
|
<div class="popup-logo">${ShipAidLogoText}</div>
|
|
@@ -1389,11 +1428,11 @@ let LearnMorePopup = class extends s$1 {
|
|
|
1389
1428
|
<p>${translate("learn-more-popup.disclaimer.subtitle-monitor")}</p>
|
|
1390
1429
|
</div>
|
|
1391
1430
|
<div class="popup-disclaimer-subtitle">
|
|
1392
|
-
<div class="popup-icon-b">${
|
|
1431
|
+
<div class="popup-icon-b">${BellIcon}</div>
|
|
1393
1432
|
<p>${translate("learn-more-popup.disclaimer.subtitle-notify")}</p>
|
|
1394
1433
|
</div>
|
|
1395
1434
|
<div class="popup-disclaimer-subtitle">
|
|
1396
|
-
<div class="popup-icon-bell">${
|
|
1435
|
+
<div class="popup-icon-bell">${BoxIcon}</div>
|
|
1397
1436
|
<p>
|
|
1398
1437
|
${translate("learn-more-popup.disclaimer.subtitle-resolution")}
|
|
1399
1438
|
</p>
|
|
@@ -1522,7 +1561,7 @@ const styles = i$2`
|
|
|
1522
1561
|
max-width: 100%;
|
|
1523
1562
|
display: flex;
|
|
1524
1563
|
flex-direction: column;
|
|
1525
|
-
gap:
|
|
1564
|
+
gap: 0.5rem;
|
|
1526
1565
|
margin: var(--shipaid-prompt-margin, 2rem 0px 4rem auto);
|
|
1527
1566
|
}
|
|
1528
1567
|
|
|
@@ -1545,7 +1584,7 @@ const styles = i$2`
|
|
|
1545
1584
|
.shipaid-prompt .prompt-product {
|
|
1546
1585
|
display: flex;
|
|
1547
1586
|
flex-direction: row;
|
|
1548
|
-
gap:
|
|
1587
|
+
gap: 0.5rem;
|
|
1549
1588
|
margin-top: 1rem;
|
|
1550
1589
|
}
|
|
1551
1590
|
.shipaid-prompt .prompt-product .prompt-product-image {
|
|
@@ -1620,7 +1659,7 @@ const styles = i$2`
|
|
|
1620
1659
|
var(--shipaid-prompt-badge)
|
|
1621
1660
|
);
|
|
1622
1661
|
color: var(--shipaid-prompt-badge-text-color, var(--shipaid-text));
|
|
1623
|
-
padding: 0.
|
|
1662
|
+
padding: 0.2rem 1rem;
|
|
1624
1663
|
border-radius: 30px;
|
|
1625
1664
|
cursor: pointer;
|
|
1626
1665
|
text-decoration: none;
|
|
@@ -1628,6 +1667,7 @@ const styles = i$2`
|
|
|
1628
1667
|
display: inline-flex;
|
|
1629
1668
|
align-items: center;
|
|
1630
1669
|
gap: 0.8rem;
|
|
1670
|
+
white-space: nowrap;
|
|
1631
1671
|
}
|
|
1632
1672
|
.shipaid-prompt .prompt-footer .prompt-footer-badge svg {
|
|
1633
1673
|
height: 9px;
|
package/dist/widget.iife.js
CHANGED
|
@@ -24,23 +24,23 @@ var ShipAidWidget=function(t){"use strict";const e={calculateProtectionTotal:fun
|
|
|
24
24
|
* Copyright 2019 Google LLC
|
|
25
25
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
26
26
|
*/
|
|
27
|
-
const a=window,d=a.ShadowRoot&&(void 0===a.ShadyCSS||a.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,
|
|
27
|
+
const a=window,d=a.ShadowRoot&&(void 0===a.ShadyCSS||a.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,p=Symbol(),l=new WeakMap;let c=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==p)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(d&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=l.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&l.set(e,t))}return t}toString(){return this.cssText}};const h=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new c(i,t,p)},u=d?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new c("string"==typeof t?t:t+"",void 0,p))(e)})(t):t
|
|
28
28
|
/**
|
|
29
29
|
* @license
|
|
30
30
|
* Copyright 2017 Google LLC
|
|
31
31
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
32
|
-
*/;var f;const v=window,m=v.trustedTypes,g=m?m.emptyScript:"",_=v.reactiveElementPolyfillSupport,y={toAttribute(t,e){switch(e){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(o){i=null}}return i}},b=(t,e)=>e!==t&&(e==e||t==t)
|
|
32
|
+
*/;var f;const v=window,m=v.trustedTypes,g=m?m.emptyScript:"",_=v.reactiveElementPolyfillSupport,y={toAttribute(t,e){switch(e){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(o){i=null}}return i}},b=(t,e)=>e!==t&&(e==e||t==t),w={attribute:!0,type:String,converter:y,reflect:!1,hasChanged:b};let $=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=w){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const r=this[t];this[e]=o,this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||w}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(u(t))}else void 0!==t&&e.push(u(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{d?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=a.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))})(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=w){var o;const r=this.constructor._$Ep(t,i);if(void 0!==r&&!0===i.reflect){const s=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:y).toAttribute(e,i.type);this._$El=t,null==s?this.removeAttribute(r):this.setAttribute(r,s),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,r=o._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=o.getPropertyOptions(r),s="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:y;this._$El=r,this[r]=s.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||b)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(o){throw e=!1,this._$Ek(),o}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
|
|
33
33
|
/**
|
|
34
34
|
* @license
|
|
35
35
|
* Copyright 2017 Google LLC
|
|
36
36
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
37
37
|
*/
|
|
38
|
-
var C
|
|
38
|
+
var C;$.finalized=!0,$.elementProperties=new Map,$.elementStyles=[],$.shadowRootOptions={mode:"open"},null==_||_({ReactiveElement:$}),(null!==(f=v.reactiveElementVersions)&&void 0!==f?f:v.reactiveElementVersions=[]).push("1.6.1");const A=window,S=A.trustedTypes,x=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,E=`lit$${(Math.random()+"").slice(9)}$`,L="?"+E,P=`<${L}>`,z=document,M=(t="")=>z.createComment(t),k=t=>null===t||"object"!=typeof t&&"function"!=typeof t,T=Array.isArray,O=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,U=/-->/g,N=/>/g,R=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),j=/'/g,q=/"/g,I=/^(?:script|style|textarea|title)$/i,W=(F=1,(t,...e)=>({_$litType$:F,strings:t,values:e})),H=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),V=new WeakMap,B=z.createTreeWalker(z,129,null,!1);var F;class Z{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let r=0,s=0;const n=t.length-1,a=this.parts,[d,p]=((t,e)=>{const i=t.length-1,o=[];let r,s=2===e?"<svg>":"",n=O;for(let d=0;d<i;d++){const e=t[d];let i,a,p=-1,l=0;for(;l<e.length&&(n.lastIndex=l,a=n.exec(e),null!==a);)l=n.lastIndex,n===O?"!--"===a[1]?n=U:void 0!==a[1]?n=N:void 0!==a[2]?(I.test(a[2])&&(r=RegExp("</"+a[2],"g")),n=R):void 0!==a[3]&&(n=R):n===R?">"===a[0]?(n=null!=r?r:O,p=-1):void 0===a[1]?p=-2:(p=n.lastIndex-a[2].length,i=a[1],n=void 0===a[3]?R:'"'===a[3]?q:j):n===q||n===j?n=R:n===U||n===N?n=O:(n=R,r=void 0);const c=n===R&&t[d+1].startsWith("/>")?" ":"";s+=n===O?e+P:p>=0?(o.push(i),e.slice(0,p)+"$lit$"+e.slice(p)+E+c):e+E+(-2===p?(o.push(void 0),d):c)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==x?x.createHTML(a):a,o]})(t,e);if(this.el=Z.createElement(d,i),B.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=B.nextNode())&&a.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(E)){const i=p[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(E),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?Q:"?"===e[1]?tt:"@"===e[1]?et:K})}else a.push({type:6,index:r})}for(const e of t)o.removeAttribute(e)}if(I.test(o.tagName)){const t=o.textContent.split(E),e=t.length-1;if(e>0){o.textContent=S?S.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],M()),B.nextNode(),a.push({type:2,index:++r});o.append(t[e],M())}}}else if(8===o.nodeType)if(o.data===L)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(E,t+1));)a.push({type:7,index:r}),t+=E.length-1}r++}}static createElement(t,e){const i=z.createElement("template");return i.innerHTML=t,i}}function Y(t,e,i=t,o){var r,s,n,a;if(e===H)return e;let d=void 0!==o?null===(r=i._$Co)||void 0===r?void 0:r[o]:i._$Cl;const p=k(e)?void 0:e._$litDirective$;return(null==d?void 0:d.constructor)!==p&&(null===(s=null==d?void 0:d._$AO)||void 0===s||s.call(d,!1),void 0===p?d=void 0:(d=new p(t),d._$AT(t,i,o)),void 0!==o?(null!==(n=(a=i)._$Co)&&void 0!==n?n:a._$Co=[])[o]=d:i._$Cl=d),void 0!==d&&(e=Y(t,d._$AS(t,e.values),d,o)),e}class G{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:o}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:z).importNode(i,!0);B.currentNode=r;let s=B.nextNode(),n=0,a=0,d=o[0];for(;void 0!==d;){if(n===d.index){let e;2===d.type?e=new J(s,s.nextSibling,this,t):1===d.type?e=new d.ctor(s,d.name,d.strings,this,t):6===d.type&&(e=new it(s,this,t)),this.u.push(e),d=o[++a]}n!==(null==d?void 0:d.index)&&(s=B.nextNode(),n++)}return r}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class J{constructor(t,e,i,o){var r;this.type=2,this._$AH=D,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=null===(r=null==o?void 0:o.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Y(this,t,e),k(t)?t===D||null==t||""===t?(this._$AH!==D&&this._$AR(),this._$AH=D):t!==this._$AH&&t!==H&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>T(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==D&&k(this._$AH)?this._$AA.nextSibling.data=t:this.T(z.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Z.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.p(i);else{const t=new G(r,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=V.get(t.strings);return void 0===e&&V.set(t.strings,e=new Z(t)),e}k(t){T(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const r of t)o===e.length?e.push(i=new J(this.O(M()),this.O(M()),this,this.options)):i=e[o],i._$AI(r),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class K{constructor(t,e,i,o,r){this.type=1,this._$AH=D,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=D}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const r=this.strings;let s=!1;if(void 0===r)t=Y(this,t,e,0),s=!k(t)||t!==this._$AH&&t!==H,s&&(this._$AH=t);else{const o=t;let n,a;for(t=r[0],n=0;n<r.length-1;n++)a=Y(this,o[i+n],e,n),a===H&&(a=this._$AH[n]),s||(s=!k(a)||a!==this._$AH[n]),a===D?t=D:t!==D&&(t+=(null!=a?a:"")+r[n+1]),this._$AH[n]=a}s&&!o&&this.j(t)}j(t){t===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Q extends K{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===D?void 0:t}}const X=S?S.emptyScript:"";class tt extends K{constructor(){super(...arguments),this.type=4}j(t){t&&t!==D?this.element.setAttribute(this.name,X):this.element.removeAttribute(this.name)}}class et extends K{constructor(t,e,i,o,r){super(t,e,i,o,r),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=Y(this,t,e,0))&&void 0!==i?i:D)===H)return;const o=this._$AH,r=t===D&&o!==D||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==D&&(o===D||r);r&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class it{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Y(this,t)}}const ot=A.litHtmlPolyfillSupport;null==ot||ot(Z,J),(null!==(C=A.litHtmlVersions)&&void 0!==C?C:A.litHtmlVersions=[]).push("2.6.1");const rt=(t,e,i)=>{var o,r;const s=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let n=s._$litPart$;if(void 0===n){const t=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:null;s._$litPart$=n=new J(e.insertBefore(M(),t),t,void 0,null!=i?i:{})}return n._$AI(t),n};
|
|
39
39
|
/**
|
|
40
40
|
* @license
|
|
41
41
|
* Copyright 2017 Google LLC
|
|
42
42
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
43
|
-
*/var st,nt;let at=class extends
|
|
43
|
+
*/var st,nt;let at=class extends ${constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=rt(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return H}};at.finalized=!0,at._$litElement$=!0,null===(st=globalThis.litElementHydrateSupport)||void 0===st||st.call(globalThis,{LitElement:at});const dt=globalThis.litElementPolyfillSupport;null==dt||dt({LitElement:at}),(null!==(nt=globalThis.litElementVersions)&&void 0!==nt?nt:globalThis.litElementVersions=[]).push("3.2.0");const pt="langChanged";function lt(t,e,i){return Object.entries(ht(e||{})).reduce(((t,[e,i])=>t.replace(new RegExp(`{{[ ]*${e}[ ]*}}`,"gm"),String(ht(i)))),t)}function ct(t,e){const i=t.split(".");let o=e.strings;for(;null!=o&&i.length>0;)o=o[i.shift()];return null!=o?o.toString():null}function ht(t){return"function"==typeof t?t():t}let ut={loader:()=>Promise.resolve({}),empty:t=>`[${t}]`,lookup:ct,interpolate:lt,translationCache:{}};function ft(t,e,i=ut){var o;o={previousStrings:i.strings,previousLang:i.lang,lang:i.lang=t,strings:i.strings=e},window.dispatchEvent(new CustomEvent(pt,{detail:o}))}
|
|
44
44
|
/**
|
|
45
45
|
* @license
|
|
46
46
|
* Copyright 2017 Google LLC
|
|
@@ -51,12 +51,12 @@ const vt=2;class mt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
|
|
|
51
51
|
* @license
|
|
52
52
|
* Copyright 2020 Google LLC
|
|
53
53
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
54
|
-
*/const gt=(t,e)=>{var i,o;const r=t._$AN;if(void 0===r)return!1;for(const s of r)null===(o=(i=s)._$AO)||void 0===o||o.call(i,e,!1),gt(s,e);return!0},_t=t=>{let e,i;do{if(void 0===(e=t._$AM))break;i=e._$AN,i.delete(t),t=e}while(0===(null==i?void 0:i.size))},yt=t=>{for(let e;e=t._$AM;t=e){let i=e._$AN;if(void 0===i)e._$AN=i=new Set;else if(i.has(t))break;i.add(t)
|
|
54
|
+
*/const gt=(t,e)=>{var i,o;const r=t._$AN;if(void 0===r)return!1;for(const s of r)null===(o=(i=s)._$AO)||void 0===o||o.call(i,e,!1),gt(s,e);return!0},_t=t=>{let e,i;do{if(void 0===(e=t._$AM))break;i=e._$AN,i.delete(t),t=e}while(0===(null==i?void 0:i.size))},yt=t=>{for(let e;e=t._$AM;t=e){let i=e._$AN;if(void 0===i)e._$AN=i=new Set;else if(i.has(t))break;i.add(t),$t(e)}};
|
|
55
55
|
/**
|
|
56
56
|
* @license
|
|
57
57
|
* Copyright 2017 Google LLC
|
|
58
58
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
59
|
-
*/function bt(t){void 0!==this._$AN?(_t(this),this._$AM=t,yt(this)):this._$AM=t}function
|
|
59
|
+
*/function bt(t){void 0!==this._$AN?(_t(this),this._$AM=t,yt(this)):this._$AM=t}function wt(t,e=!1,i=0){const o=this._$AH,r=this._$AN;if(void 0!==r&&0!==r.size)if(e)if(Array.isArray(o))for(let s=i;s<o.length;s++)gt(o[s],!1),_t(o[s]);else null!=o&&(gt(o,!1),_t(o));else gt(this,t)}const $t=t=>{var e,i,o,r;t.type==vt&&(null!==(e=(o=t)._$AP)&&void 0!==e||(o._$AP=wt),null!==(i=(r=t)._$AQ)&&void 0!==i||(r._$AQ=bt))};class Ct extends mt{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,i){super._$AT(t,e,i),yt(this),this.isConnected=t._$AU}_$AO(t,e=!0){var i,o;t!==this.isConnected&&(this.isConnected=t,t?null===(i=this.reconnected)||void 0===i||i.call(this):null===(o=this.disconnected)||void 0===o||o.call(this)),e&&(gt(this,t),_t(this))}setValue(t){if(void 0===this._$Ct.strings)this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}class At extends Ct{constructor(){super(...arguments),this.langChangedSubscription=null,this.getValue=()=>""}renderValue(t){return this.getValue=t,this.subscribe(),this.getValue()}langChanged(t){this.setValue(this.getValue(t))}subscribe(){null==this.langChangedSubscription&&(this.langChangedSubscription=function(t,e){const i=e=>t(e.detail);return window.addEventListener(pt,i,e),()=>window.removeEventListener(pt,i)}(this.langChanged.bind(this)))}unsubscribe(){null!=this.langChangedSubscription&&this.langChangedSubscription()}disconnected(){this.unsubscribe()}reconnected(){this.subscribe()}}const St=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends At{render(t,e,i){return this.renderValue((()=>function(t,e,i=ut){let o=i.translationCache[t]||(i.translationCache[t]=i.lookup(t,i)||i.empty(t,i));return null!=(e=null!=e?ht(e):null)?i.interpolate(o,e,i):o}(t,e,i)))}});
|
|
60
60
|
/**
|
|
61
61
|
* @license
|
|
62
62
|
* Copyright 2017 Google LLC
|
|
@@ -103,7 +103,7 @@ function zt(t,e,i){return t?e():null==i?void 0:i()}const Mt=h`
|
|
|
103
103
|
right: 0;
|
|
104
104
|
margin: auto;
|
|
105
105
|
max-width: 500px;
|
|
106
|
-
max-height:
|
|
106
|
+
max-height: 70vh;
|
|
107
107
|
height: fit-content;
|
|
108
108
|
border: var(--shipaid-popup-border, var(--shipaid-primary)) 6px solid;
|
|
109
109
|
background-color: var(--shipaid-popup-background, #fff);
|
|
@@ -199,6 +199,12 @@ function zt(t,e,i){return t?e():null==i?void 0:i()}const Mt=h`
|
|
|
199
199
|
margin: 0;
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
+
@media (max-width: 600px) {
|
|
203
|
+
.shipaid-popup p {
|
|
204
|
+
font-size: 10px;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
202
208
|
.shipaid-popup .popup-disclaimer {
|
|
203
209
|
font-size: 10px;
|
|
204
210
|
color: var(--shipaid-light-blue);
|
|
@@ -240,6 +246,27 @@ function zt(t,e,i){return t?e():null==i?void 0:i()}const Mt=h`
|
|
|
240
246
|
color: var(--shipaid-text);
|
|
241
247
|
margin-left: 2rem;
|
|
242
248
|
}
|
|
249
|
+
|
|
250
|
+
@media (max-width: 600px) {
|
|
251
|
+
.shipaid-popup .popup-footer .footer-links a {
|
|
252
|
+
font-size: 8px;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.shipaid-popup .popup-footer .footer-date p {
|
|
256
|
+
font-size: 8px;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.blocker {
|
|
261
|
+
position: fixed;
|
|
262
|
+
top: 0;
|
|
263
|
+
left: 0;
|
|
264
|
+
bottom: 0;
|
|
265
|
+
right: 0;
|
|
266
|
+
content: " ";
|
|
267
|
+
background: transparent;
|
|
268
|
+
z-index: -1;
|
|
269
|
+
}
|
|
243
270
|
`,kt=W`
|
|
244
271
|
<svg
|
|
245
272
|
version="1.0"
|
|
@@ -432,27 +459,39 @@ function zt(t,e,i){return t?e():null==i?void 0:i()}const Mt=h`
|
|
|
432
459
|
</g>
|
|
433
460
|
</svg>
|
|
434
461
|
`,jt=W`
|
|
435
|
-
<svg
|
|
462
|
+
<svg
|
|
463
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
464
|
+
version="1.0"
|
|
465
|
+
viewBox="0 0 500.000000 500.000000"
|
|
466
|
+
preserveAspectRatio="xMidYMid meet"
|
|
467
|
+
>
|
|
436
468
|
<g
|
|
437
|
-
transform="translate(
|
|
469
|
+
transform="translate(0.000000,500.000000) scale(0.100000,-0.100000)"
|
|
438
470
|
fill="#0056d6"
|
|
439
471
|
stroke="none"
|
|
440
472
|
>
|
|
441
473
|
<path
|
|
442
|
-
d="
|
|
474
|
+
d="M2445 4021 c-72 -18 -132 -68 -159 -133 -10 -23 -16 -67 -16 -113 0 -52 -4 -77 -12 -80 -7 -2 -55 -19 -105 -38 -301 -111 -532 -363 -616 -672 -31 -113 -37 -229 -37 -665 l0 -435 -150 -150 -150 -150 0 -77 0 -78 1300 0 1300 0 0 73 0 72 -155 155 -155 155 0 456 c0 374 -3 472 -16 550 -57 329 -262 596 -568 740 -44 20 -102 43 -127 49 l-46 12 -6 83 c-4 54 -13 98 -26 123 -29 58 -94 109 -153 121 -54 12 -60 12 -103 2z"
|
|
443
475
|
/>
|
|
444
476
|
<path
|
|
445
|
-
d="
|
|
477
|
+
d="M1371 3863 c-182 -183 -274 -321 -366 -549 -48 -118 -93 -308 -101 -420 l-7 -94 150 0 150 0 12 89 c30 232 116 443 255 626 55 70 181 198 246 248 l35 27 -105 105 c-57 58 -111 105 -118 105 -8 0 -76 -62 -151 -137z"
|
|
478
|
+
/>
|
|
479
|
+
<path
|
|
480
|
+
d="M3358 3893 l-108 -108 37 -25 c20 -13 75 -63 122 -110 194 -193 326 -452 368 -724 8 -56 17 -107 19 -113 4 -15 289 -19 298 -5 8 13 -20 208 -43 303 -56 238 -184 484 -349 673 -61 70 -218 216 -232 216 -3 0 -54 -48 -112 -107z"
|
|
481
|
+
/>
|
|
482
|
+
<path
|
|
483
|
+
d="M2194 1267 c-17 -46 48 -180 112 -231 182 -144 464 -33 491 194 l6 50 -302 0 c-242 0 -303 -3 -307 -13z"
|
|
446
484
|
/>
|
|
447
485
|
</g>
|
|
448
486
|
</svg>
|
|
449
487
|
`;var qt=Object.defineProperty,It=Object.getOwnPropertyDescriptor,Wt=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?It(e,i):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&qt(e,i,s),s};let Ht=class extends at{constructor(){super(...arguments),this.active=!1}handleClosePopup(){const t=new Event("close");this.dispatchEvent(t)}render(){return W`
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
488
|
+
<div class=${`shipaid-popup ${this.active&&"active"}`}>
|
|
489
|
+
<div class="blocker" @click=${this.handleClosePopup}></div>
|
|
490
|
+
<button
|
|
491
|
+
type="button"
|
|
492
|
+
class="popup-close"
|
|
493
|
+
@click=${this.handleClosePopup}
|
|
494
|
+
>
|
|
456
495
|
${St("learn-more-popup.close")}
|
|
457
496
|
</button>
|
|
458
497
|
<div class="popup-logo">${Ot}</div>
|
|
@@ -466,11 +505,11 @@ function zt(t,e,i){return t?e():null==i?void 0:i()}const Mt=h`
|
|
|
466
505
|
<p>${St("learn-more-popup.disclaimer.subtitle-monitor")}</p>
|
|
467
506
|
</div>
|
|
468
507
|
<div class="popup-disclaimer-subtitle">
|
|
469
|
-
<div class="popup-icon-b">${
|
|
508
|
+
<div class="popup-icon-b">${jt}</div>
|
|
470
509
|
<p>${St("learn-more-popup.disclaimer.subtitle-notify")}</p>
|
|
471
510
|
</div>
|
|
472
511
|
<div class="popup-disclaimer-subtitle">
|
|
473
|
-
<div class="popup-icon-bell">${
|
|
512
|
+
<div class="popup-icon-bell">${Rt}</div>
|
|
474
513
|
<p>
|
|
475
514
|
${St("learn-more-popup.disclaimer.subtitle-resolution")}
|
|
476
515
|
</p>
|
|
@@ -547,7 +586,7 @@ function zt(t,e,i){return t?e():null==i?void 0:i()}const Mt=h`
|
|
|
547
586
|
max-width: 100%;
|
|
548
587
|
display: flex;
|
|
549
588
|
flex-direction: column;
|
|
550
|
-
gap:
|
|
589
|
+
gap: 0.5rem;
|
|
551
590
|
margin: var(--shipaid-prompt-margin, 2rem 0px 4rem auto);
|
|
552
591
|
}
|
|
553
592
|
|
|
@@ -570,7 +609,7 @@ function zt(t,e,i){return t?e():null==i?void 0:i()}const Mt=h`
|
|
|
570
609
|
.shipaid-prompt .prompt-product {
|
|
571
610
|
display: flex;
|
|
572
611
|
flex-direction: row;
|
|
573
|
-
gap:
|
|
612
|
+
gap: 0.5rem;
|
|
574
613
|
margin-top: 1rem;
|
|
575
614
|
}
|
|
576
615
|
.shipaid-prompt .prompt-product .prompt-product-image {
|
|
@@ -645,7 +684,7 @@ function zt(t,e,i){return t?e():null==i?void 0:i()}const Mt=h`
|
|
|
645
684
|
var(--shipaid-prompt-badge)
|
|
646
685
|
);
|
|
647
686
|
color: var(--shipaid-prompt-badge-text-color, var(--shipaid-text));
|
|
648
|
-
padding: 0.
|
|
687
|
+
padding: 0.2rem 1rem;
|
|
649
688
|
border-radius: 30px;
|
|
650
689
|
cursor: pointer;
|
|
651
690
|
text-decoration: none;
|
|
@@ -653,6 +692,7 @@ function zt(t,e,i){return t?e():null==i?void 0:i()}const Mt=h`
|
|
|
653
692
|
display: inline-flex;
|
|
654
693
|
align-items: center;
|
|
655
694
|
gap: 0.8rem;
|
|
695
|
+
white-space: nowrap;
|
|
656
696
|
}
|
|
657
697
|
.shipaid-prompt .prompt-footer .prompt-footer-badge svg {
|
|
658
698
|
height: 9px;
|
|
@@ -714,4 +754,4 @@ function zt(t,e,i){return t?e():null==i?void 0:i()}const Mt=h`
|
|
|
714
754
|
<slot name="loading" default>${St("loading")}</slot>
|
|
715
755
|
</p>`))}
|
|
716
756
|
</div>
|
|
717
|
-
`}},t.ShipAidWidget.styles=Jt,te([r({type:Boolean,attribute:!0})],t.ShipAidWidget.prototype,"disablePolling",2),te([r({type:Boolean,attribute:!0})],t.ShipAidWidget.prototype,"disableActions",2),te([r({type:Number,attribute:!0})],t.ShipAidWidget.prototype,"pollingInterval",2),te([r({type:Boolean,attribute:!0})],t.ShipAidWidget.prototype,"disableRefresh",2),te([r({type:String,attribute:!0})],t.ShipAidWidget.prototype,"lang",2),te([r({type:String,attribute:!0})],t.ShipAidWidget.prototype,"currency",2),te([s()],t.ShipAidWidget.prototype,"_storeDomain",2),te([s()],t.ShipAidWidget.prototype,"_store",2),te([s()],t.ShipAidWidget.prototype,"_cart",2),te([s()],t.ShipAidWidget.prototype,"_protectionProduct",2),te([s()],t.ShipAidWidget.prototype,"_cartLastUpdated",2),te([s()],t.ShipAidWidget.prototype,"_hasFinishedSetup",2),te([s()],t.ShipAidWidget.prototype,"_shouldShowWidget",2),te([s()],t.ShipAidWidget.prototype,"_hasProtectionInCart",2),te([s()],t.ShipAidWidget.prototype,"_protectionCartItem",2),te([s()],t.ShipAidWidget.prototype,"_protectionVariant",2),te([s()],t.ShipAidWidget.prototype,"hasLoadedStrings",2),te([s()],t.ShipAidWidget.prototype,"_state",2),te([s()],t.ShipAidWidget.prototype,"_popup",2),t.ShipAidWidget=te([i("shipaid-widget")],t.ShipAidWidget);const ae="Caricamento del widget ShipAid...",de="Garanzia di consegna",
|
|
757
|
+
`}},t.ShipAidWidget.styles=Jt,te([r({type:Boolean,attribute:!0})],t.ShipAidWidget.prototype,"disablePolling",2),te([r({type:Boolean,attribute:!0})],t.ShipAidWidget.prototype,"disableActions",2),te([r({type:Number,attribute:!0})],t.ShipAidWidget.prototype,"pollingInterval",2),te([r({type:Boolean,attribute:!0})],t.ShipAidWidget.prototype,"disableRefresh",2),te([r({type:String,attribute:!0})],t.ShipAidWidget.prototype,"lang",2),te([r({type:String,attribute:!0})],t.ShipAidWidget.prototype,"currency",2),te([s()],t.ShipAidWidget.prototype,"_storeDomain",2),te([s()],t.ShipAidWidget.prototype,"_store",2),te([s()],t.ShipAidWidget.prototype,"_cart",2),te([s()],t.ShipAidWidget.prototype,"_protectionProduct",2),te([s()],t.ShipAidWidget.prototype,"_cartLastUpdated",2),te([s()],t.ShipAidWidget.prototype,"_hasFinishedSetup",2),te([s()],t.ShipAidWidget.prototype,"_shouldShowWidget",2),te([s()],t.ShipAidWidget.prototype,"_hasProtectionInCart",2),te([s()],t.ShipAidWidget.prototype,"_protectionCartItem",2),te([s()],t.ShipAidWidget.prototype,"_protectionVariant",2),te([s()],t.ShipAidWidget.prototype,"hasLoadedStrings",2),te([s()],t.ShipAidWidget.prototype,"_state",2),te([s()],t.ShipAidWidget.prototype,"_popup",2),t.ShipAidWidget=te([i("shipaid-widget")],t.ShipAidWidget);const ae="Caricamento del widget ShipAid...",de="Garanzia di consegna",pe="in caso di Perdita, Danno o Furto",le={button:"Offerto da"},ce={add:"Aggiungere",remove:"Rimuovere",loading:"Caricamento ..."},he={loading:ae,title:de,description:pe,footer:le,actions:ce,"learn-more-popup":{close:"Vicina",title:"Garanzia di consegna",subtitle:"Consentiamo ai tuoi marchi preferiti di offrire una garanzia di consegna perché ogni ordine è prezioso!",disclaimer:{"subtitle-enable":"Consentiamo ai tuoi marchi preferiti di fornire una garanzia di consegna perché sappiamo che ogni ordine è prezioso e le cose accadono!","subtitle-monitor":"Monitoriamo continuamente il tuo pacco e ti offriamo un comodo portale per monitorare lo stato di avanzamento del tuo ordine in qualsiasi momento!","subtitle-notify":"Riceverai una notifica durante l'intero processo di spedizione, assicurandoti di rimanere aggiornato in ogni fase del processo.","subtitle-resolution":"Você será notificado durante todo o processo de envio, garantindo que você fique atualizado a cada passo do caminho.",text:"Acquistando questa garanzia di consegna, accetti i nostri Termini di servizio e l'Informativa sulla privacy. Non sei obbligato ad acquistare questa garanzia. Questa garanzia NON è un'assicurazione e non fornisce un indennizzo contro perdite, danni o responsabilità derivanti da un evento contingente o sconosciuto, ma piuttosto, attraverso ShipAid i marchi forniscono una garanzia di consegna in base alla quale se il prodotto ordinato non viene consegnato in condizioni soddisfacenti, il marchio da cui hai ordinato il prodotto può sostituire il prodotto gratuitamente. ShipAid non fornisce alcun prodotto o servizio direttamente ai consumatori, ma fornisce invece un servizio che consente ai marchi di facilitare la sostituzione del prodotto ai propri clienti. L'acquisto di questa garanzia non significa che verrai automaticamente rimborsato per qualsiasi prodotto o costo di spedizione perché il processo di risoluzione e la decisione per il risarcimento sono rigorosamente decisi dal marchio da cui stai acquistando. Il marchio richiederà la prova del danno o del prodotto non consegnato."},links:{terms:"Termini di servizio",privacy:"Politica sulla riservatezza"}}},ue=Object.freeze(Object.defineProperty({__proto__:null,actions:ce,default:he,description:pe,footer:le,loading:ae,title:de},Symbol.toStringTag,{value:"Module"})),fe="Carregando o widget ShipAid...",ve="Garantia de entrega",me="em caso de Perda, Danos ou Roubo",ge={button:"Distribuído por"},_e={add:"Adicionar",remove:"Remover",loading:"Carregando..."},ye={loading:fe,title:ve,description:me,footer:ge,actions:_e,"learn-more-popup":{close:"Fechar",title:"Garantia de entrega",subtitle:"Capacitamos suas marcas favoritas para oferecer uma garantia de entrega porque cada pedido é precioso!",disclaimer:{"subtitle-enable":"Permitimos que suas marcas favoritas forneçam uma garantia de entrega porque sabemos que cada pedido é precioso e as coisas acontecem!","subtitle-monitor":"Monitoramos continuamente o seu pacote e oferecemos um portal conveniente para você acompanhar o andamento do seu pedido a qualquer momento!","subtitle-notify":"Você será notificado durante todo o processo de envio, garantindo que você fique atualizado a cada passo do caminho.","subtitle-resolution":"Você será notificado durante todo o processo de envio, garantindo que você fique atualizado a cada passo do caminho.",text:"Ao adquirir esta garantia de entrega, você concorda com nossos Termos de Serviço e Política de Privacidade. Esta garantia não é obrigatória, NÃO é um seguro e não fornece indenização contra perdas, danos ou responsabilidade decorrentes de um contingente ou desconhecido. Caso o produto não seja entregue em condições satisfatórias, a marca da qual você comprou pode substituí-lo gratuitamente. A ShipAid não fornece nenhum produto ou serviço diretamente aos consumidores, mas sim presta um serviço que permite às marcas facilitar a substituição do produto aos seus clientes. Adquirir esta garantia não significa que você será automaticamente reembolsado por qualquer produto ou custos de envio porque o processo de resolução e decisão de compensação é estritamente decidido pela marca que você está comprando. A marca exigirá prova de danos ou produto não entregue."},links:{terms:"Termos de serviço",privacy:"Política de Privacidade"}}},be=Object.freeze(Object.defineProperty({__proto__:null,actions:_e,default:ye,description:me,footer:ge,loading:fe,title:ve},Symbol.toStringTag,{value:"Module"}));return Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t}({});
|
package/dist/widget.umd.js
CHANGED
|
@@ -24,44 +24,44 @@
|
|
|
24
24
|
* Copyright 2019 Google LLC
|
|
25
25
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
26
26
|
*/
|
|
27
|
-
const a=window,d=a.ShadowRoot&&(void 0===a.ShadyCSS||a.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,
|
|
27
|
+
const a=window,d=a.ShadowRoot&&(void 0===a.ShadyCSS||a.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,p=Symbol(),l=new WeakMap;let c=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==p)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(d&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=l.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&l.set(e,t))}return t}toString(){return this.cssText}};const h=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new c(i,t,p)},u=d?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new c("string"==typeof t?t:t+"",void 0,p))(e)})(t):t
|
|
28
28
|
/**
|
|
29
29
|
* @license
|
|
30
30
|
* Copyright 2017 Google LLC
|
|
31
31
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
32
|
-
*/;var f;const m=window,
|
|
32
|
+
*/;var f;const m=window,g=m.trustedTypes,v=g?g.emptyScript:"",_=m.reactiveElementPolyfillSupport,y={toAttribute(t,e){switch(e){case Boolean:t=t?v:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(o){i=null}}return i}},b=(t,e)=>e!==t&&(e==e||t==t),w={attribute:!0,type:String,converter:y,reflect:!1,hasChanged:b};let $=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=w){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const r=this[t];this[e]=o,this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||w}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(u(t))}else void 0!==t&&e.push(u(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{d?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=a.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))})(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=w){var o;const r=this.constructor._$Ep(t,i);if(void 0!==r&&!0===i.reflect){const s=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:y).toAttribute(e,i.type);this._$El=t,null==s?this.removeAttribute(r):this.setAttribute(r,s),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,r=o._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=o.getPropertyOptions(r),s="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:y;this._$El=r,this[r]=s.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||b)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(o){throw e=!1,this._$Ek(),o}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
|
|
33
33
|
/**
|
|
34
34
|
* @license
|
|
35
35
|
* Copyright 2017 Google LLC
|
|
36
36
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
37
37
|
*/
|
|
38
|
-
var C
|
|
38
|
+
var C;$.finalized=!0,$.elementProperties=new Map,$.elementStyles=[],$.shadowRootOptions={mode:"open"},null==_||_({ReactiveElement:$}),(null!==(f=m.reactiveElementVersions)&&void 0!==f?f:m.reactiveElementVersions=[]).push("1.6.1");const A=window,S=A.trustedTypes,x=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,E=`lit$${(Math.random()+"").slice(9)}$`,L="?"+E,P=`<${L}>`,z=document,M=(t="")=>z.createComment(t),k=t=>null===t||"object"!=typeof t&&"function"!=typeof t,T=Array.isArray,O=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,U=/-->/g,N=/>/g,R=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),j=/'/g,q=/"/g,I=/^(?:script|style|textarea|title)$/i,W=(F=1,(t,...e)=>({_$litType$:F,strings:t,values:e})),H=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),V=new WeakMap,B=z.createTreeWalker(z,129,null,!1);var F;class Z{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let r=0,s=0;const n=t.length-1,a=this.parts,[d,p]=((t,e)=>{const i=t.length-1,o=[];let r,s=2===e?"<svg>":"",n=O;for(let d=0;d<i;d++){const e=t[d];let i,a,p=-1,l=0;for(;l<e.length&&(n.lastIndex=l,a=n.exec(e),null!==a);)l=n.lastIndex,n===O?"!--"===a[1]?n=U:void 0!==a[1]?n=N:void 0!==a[2]?(I.test(a[2])&&(r=RegExp("</"+a[2],"g")),n=R):void 0!==a[3]&&(n=R):n===R?">"===a[0]?(n=null!=r?r:O,p=-1):void 0===a[1]?p=-2:(p=n.lastIndex-a[2].length,i=a[1],n=void 0===a[3]?R:'"'===a[3]?q:j):n===q||n===j?n=R:n===U||n===N?n=O:(n=R,r=void 0);const c=n===R&&t[d+1].startsWith("/>")?" ":"";s+=n===O?e+P:p>=0?(o.push(i),e.slice(0,p)+"$lit$"+e.slice(p)+E+c):e+E+(-2===p?(o.push(void 0),d):c)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==x?x.createHTML(a):a,o]})(t,e);if(this.el=Z.createElement(d,i),B.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=B.nextNode())&&a.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(E)){const i=p[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(E),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?Q:"?"===e[1]?tt:"@"===e[1]?et:K})}else a.push({type:6,index:r})}for(const e of t)o.removeAttribute(e)}if(I.test(o.tagName)){const t=o.textContent.split(E),e=t.length-1;if(e>0){o.textContent=S?S.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],M()),B.nextNode(),a.push({type:2,index:++r});o.append(t[e],M())}}}else if(8===o.nodeType)if(o.data===L)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(E,t+1));)a.push({type:7,index:r}),t+=E.length-1}r++}}static createElement(t,e){const i=z.createElement("template");return i.innerHTML=t,i}}function Y(t,e,i=t,o){var r,s,n,a;if(e===H)return e;let d=void 0!==o?null===(r=i._$Co)||void 0===r?void 0:r[o]:i._$Cl;const p=k(e)?void 0:e._$litDirective$;return(null==d?void 0:d.constructor)!==p&&(null===(s=null==d?void 0:d._$AO)||void 0===s||s.call(d,!1),void 0===p?d=void 0:(d=new p(t),d._$AT(t,i,o)),void 0!==o?(null!==(n=(a=i)._$Co)&&void 0!==n?n:a._$Co=[])[o]=d:i._$Cl=d),void 0!==d&&(e=Y(t,d._$AS(t,e.values),d,o)),e}class G{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:o}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:z).importNode(i,!0);B.currentNode=r;let s=B.nextNode(),n=0,a=0,d=o[0];for(;void 0!==d;){if(n===d.index){let e;2===d.type?e=new J(s,s.nextSibling,this,t):1===d.type?e=new d.ctor(s,d.name,d.strings,this,t):6===d.type&&(e=new it(s,this,t)),this.u.push(e),d=o[++a]}n!==(null==d?void 0:d.index)&&(s=B.nextNode(),n++)}return r}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class J{constructor(t,e,i,o){var r;this.type=2,this._$AH=D,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=null===(r=null==o?void 0:o.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Y(this,t,e),k(t)?t===D||null==t||""===t?(this._$AH!==D&&this._$AR(),this._$AH=D):t!==this._$AH&&t!==H&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>T(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==D&&k(this._$AH)?this._$AA.nextSibling.data=t:this.T(z.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Z.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.p(i);else{const t=new G(r,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=V.get(t.strings);return void 0===e&&V.set(t.strings,e=new Z(t)),e}k(t){T(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const r of t)o===e.length?e.push(i=new J(this.O(M()),this.O(M()),this,this.options)):i=e[o],i._$AI(r),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class K{constructor(t,e,i,o,r){this.type=1,this._$AH=D,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=D}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const r=this.strings;let s=!1;if(void 0===r)t=Y(this,t,e,0),s=!k(t)||t!==this._$AH&&t!==H,s&&(this._$AH=t);else{const o=t;let n,a;for(t=r[0],n=0;n<r.length-1;n++)a=Y(this,o[i+n],e,n),a===H&&(a=this._$AH[n]),s||(s=!k(a)||a!==this._$AH[n]),a===D?t=D:t!==D&&(t+=(null!=a?a:"")+r[n+1]),this._$AH[n]=a}s&&!o&&this.j(t)}j(t){t===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Q extends K{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===D?void 0:t}}const X=S?S.emptyScript:"";class tt extends K{constructor(){super(...arguments),this.type=4}j(t){t&&t!==D?this.element.setAttribute(this.name,X):this.element.removeAttribute(this.name)}}class et extends K{constructor(t,e,i,o,r){super(t,e,i,o,r),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=Y(this,t,e,0))&&void 0!==i?i:D)===H)return;const o=this._$AH,r=t===D&&o!==D||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==D&&(o===D||r);r&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class it{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Y(this,t)}}const ot=A.litHtmlPolyfillSupport;null==ot||ot(Z,J),(null!==(C=A.litHtmlVersions)&&void 0!==C?C:A.litHtmlVersions=[]).push("2.6.1");const rt=(t,e,i)=>{var o,r;const s=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let n=s._$litPart$;if(void 0===n){const t=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:null;s._$litPart$=n=new J(e.insertBefore(M(),t),t,void 0,null!=i?i:{})}return n._$AI(t),n};
|
|
39
39
|
/**
|
|
40
40
|
* @license
|
|
41
41
|
* Copyright 2017 Google LLC
|
|
42
42
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
43
|
-
*/var st,nt;let at=class extends
|
|
43
|
+
*/var st,nt;let at=class extends ${constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=rt(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return H}};at.finalized=!0,at._$litElement$=!0,null===(st=globalThis.litElementHydrateSupport)||void 0===st||st.call(globalThis,{LitElement:at});const dt=globalThis.litElementPolyfillSupport;null==dt||dt({LitElement:at}),(null!==(nt=globalThis.litElementVersions)&&void 0!==nt?nt:globalThis.litElementVersions=[]).push("3.2.0");const pt="langChanged";function lt(t,e,i){return Object.entries(ht(e||{})).reduce(((t,[e,i])=>t.replace(new RegExp(`{{[ ]*${e}[ ]*}}`,"gm"),String(ht(i)))),t)}function ct(t,e){const i=t.split(".");let o=e.strings;for(;null!=o&&i.length>0;)o=o[i.shift()];return null!=o?o.toString():null}function ht(t){return"function"==typeof t?t():t}let ut={loader:()=>Promise.resolve({}),empty:t=>`[${t}]`,lookup:ct,interpolate:lt,translationCache:{}};function ft(t,e,i=ut){var o;o={previousStrings:i.strings,previousLang:i.lang,lang:i.lang=t,strings:i.strings=e},window.dispatchEvent(new CustomEvent(pt,{detail:o}))}
|
|
44
44
|
/**
|
|
45
45
|
* @license
|
|
46
46
|
* Copyright 2017 Google LLC
|
|
47
47
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
48
48
|
*/
|
|
49
|
-
const mt=2;class
|
|
49
|
+
const mt=2;class gt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
|
|
50
50
|
/**
|
|
51
51
|
* @license
|
|
52
52
|
* Copyright 2020 Google LLC
|
|
53
53
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
54
|
-
*/const
|
|
54
|
+
*/const vt=(t,e)=>{var i,o;const r=t._$AN;if(void 0===r)return!1;for(const s of r)null===(o=(i=s)._$AO)||void 0===o||o.call(i,e,!1),vt(s,e);return!0},_t=t=>{let e,i;do{if(void 0===(e=t._$AM))break;i=e._$AN,i.delete(t),t=e}while(0===(null==i?void 0:i.size))},yt=t=>{for(let e;e=t._$AM;t=e){let i=e._$AN;if(void 0===i)e._$AN=i=new Set;else if(i.has(t))break;i.add(t),$t(e)}};
|
|
55
55
|
/**
|
|
56
56
|
* @license
|
|
57
57
|
* Copyright 2017 Google LLC
|
|
58
58
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
59
|
-
*/function bt(t){void 0!==this._$AN?(_t(this),this._$AM=t,yt(this)):this._$AM=t}function
|
|
59
|
+
*/function bt(t){void 0!==this._$AN?(_t(this),this._$AM=t,yt(this)):this._$AM=t}function wt(t,e=!1,i=0){const o=this._$AH,r=this._$AN;if(void 0!==r&&0!==r.size)if(e)if(Array.isArray(o))for(let s=i;s<o.length;s++)vt(o[s],!1),_t(o[s]);else null!=o&&(vt(o,!1),_t(o));else vt(this,t)}const $t=t=>{var e,i,o,r;t.type==mt&&(null!==(e=(o=t)._$AP)&&void 0!==e||(o._$AP=wt),null!==(i=(r=t)._$AQ)&&void 0!==i||(r._$AQ=bt))};class Ct extends gt{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,i){super._$AT(t,e,i),yt(this),this.isConnected=t._$AU}_$AO(t,e=!0){var i,o;t!==this.isConnected&&(this.isConnected=t,t?null===(i=this.reconnected)||void 0===i||i.call(this):null===(o=this.disconnected)||void 0===o||o.call(this)),e&&(vt(this,t),_t(this))}setValue(t){if(void 0===this._$Ct.strings)this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}class At extends Ct{constructor(){super(...arguments),this.langChangedSubscription=null,this.getValue=()=>""}renderValue(t){return this.getValue=t,this.subscribe(),this.getValue()}langChanged(t){this.setValue(this.getValue(t))}subscribe(){null==this.langChangedSubscription&&(this.langChangedSubscription=function(t,e){const i=e=>t(e.detail);return window.addEventListener(pt,i,e),()=>window.removeEventListener(pt,i)}(this.langChanged.bind(this)))}unsubscribe(){null!=this.langChangedSubscription&&this.langChangedSubscription()}disconnected(){this.unsubscribe()}reconnected(){this.subscribe()}}const St=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends At{render(t,e,i){return this.renderValue((()=>function(t,e,i=ut){let o=i.translationCache[t]||(i.translationCache[t]=i.lookup(t,i)||i.empty(t,i));return null!=(e=null!=e?ht(e):null)?i.interpolate(o,e,i):o}(t,e,i)))}});
|
|
60
60
|
/**
|
|
61
61
|
* @license
|
|
62
62
|
* Copyright 2017 Google LLC
|
|
63
63
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
64
|
-
*/class xt extends
|
|
64
|
+
*/class xt extends gt{constructor(t){if(super(t),this.it=D,t.type!==mt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===D||null==t)return this._t=void 0,this.it=t;if(t===H)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}xt.directiveName="unsafeHTML",xt.resultType=1;const Et="__registered_effects";function Lt(t){const e=t;if(e[Et])return e;const i=function(t){if(!t.dispatchEvent||!t.requestUpdate)throw new Error("Element missing required functions (dispatchEvent/requestUpdate)");return t}(t),o=i.updated;return e[Et]={index:0,count:0,effects:[]},i.updated=t=>(e[Et].index=0,o(t)),e}function Pt(t,e,i){const o=function(t,e){const i=Lt(t),{index:o,count:r}=i[Et];return o===r?(i[Et].index++,i[Et].count++,i[Et].effects.push(e),e):(i[Et].index++,i[Et].effects[o])}(t,{on:e,observe:["__initial__dirty"]});o.observe.some(((t,e)=>i[e]!==t))&&o.on(),o.observe=i}
|
|
65
65
|
/**
|
|
66
66
|
* @license
|
|
67
67
|
* Copyright 2021 Google LLC
|
|
@@ -103,7 +103,7 @@ function zt(t,e,i){return t?e():null==i?void 0:i()}const Mt=h`
|
|
|
103
103
|
right: 0;
|
|
104
104
|
margin: auto;
|
|
105
105
|
max-width: 500px;
|
|
106
|
-
max-height:
|
|
106
|
+
max-height: 70vh;
|
|
107
107
|
height: fit-content;
|
|
108
108
|
border: var(--shipaid-popup-border, var(--shipaid-primary)) 6px solid;
|
|
109
109
|
background-color: var(--shipaid-popup-background, #fff);
|
|
@@ -199,6 +199,12 @@ function zt(t,e,i){return t?e():null==i?void 0:i()}const Mt=h`
|
|
|
199
199
|
margin: 0;
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
+
@media (max-width: 600px) {
|
|
203
|
+
.shipaid-popup p {
|
|
204
|
+
font-size: 10px;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
202
208
|
.shipaid-popup .popup-disclaimer {
|
|
203
209
|
font-size: 10px;
|
|
204
210
|
color: var(--shipaid-light-blue);
|
|
@@ -240,6 +246,27 @@ function zt(t,e,i){return t?e():null==i?void 0:i()}const Mt=h`
|
|
|
240
246
|
color: var(--shipaid-text);
|
|
241
247
|
margin-left: 2rem;
|
|
242
248
|
}
|
|
249
|
+
|
|
250
|
+
@media (max-width: 600px) {
|
|
251
|
+
.shipaid-popup .popup-footer .footer-links a {
|
|
252
|
+
font-size: 8px;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.shipaid-popup .popup-footer .footer-date p {
|
|
256
|
+
font-size: 8px;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.blocker {
|
|
261
|
+
position: fixed;
|
|
262
|
+
top: 0;
|
|
263
|
+
left: 0;
|
|
264
|
+
bottom: 0;
|
|
265
|
+
right: 0;
|
|
266
|
+
content: " ";
|
|
267
|
+
background: transparent;
|
|
268
|
+
z-index: -1;
|
|
269
|
+
}
|
|
243
270
|
`,kt=W`
|
|
244
271
|
<svg
|
|
245
272
|
version="1.0"
|
|
@@ -432,27 +459,39 @@ function zt(t,e,i){return t?e():null==i?void 0:i()}const Mt=h`
|
|
|
432
459
|
</g>
|
|
433
460
|
</svg>
|
|
434
461
|
`,jt=W`
|
|
435
|
-
<svg
|
|
462
|
+
<svg
|
|
463
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
464
|
+
version="1.0"
|
|
465
|
+
viewBox="0 0 500.000000 500.000000"
|
|
466
|
+
preserveAspectRatio="xMidYMid meet"
|
|
467
|
+
>
|
|
436
468
|
<g
|
|
437
|
-
transform="translate(
|
|
469
|
+
transform="translate(0.000000,500.000000) scale(0.100000,-0.100000)"
|
|
438
470
|
fill="#0056d6"
|
|
439
471
|
stroke="none"
|
|
440
472
|
>
|
|
441
473
|
<path
|
|
442
|
-
d="
|
|
474
|
+
d="M2445 4021 c-72 -18 -132 -68 -159 -133 -10 -23 -16 -67 -16 -113 0 -52 -4 -77 -12 -80 -7 -2 -55 -19 -105 -38 -301 -111 -532 -363 -616 -672 -31 -113 -37 -229 -37 -665 l0 -435 -150 -150 -150 -150 0 -77 0 -78 1300 0 1300 0 0 73 0 72 -155 155 -155 155 0 456 c0 374 -3 472 -16 550 -57 329 -262 596 -568 740 -44 20 -102 43 -127 49 l-46 12 -6 83 c-4 54 -13 98 -26 123 -29 58 -94 109 -153 121 -54 12 -60 12 -103 2z"
|
|
443
475
|
/>
|
|
444
476
|
<path
|
|
445
|
-
d="
|
|
477
|
+
d="M1371 3863 c-182 -183 -274 -321 -366 -549 -48 -118 -93 -308 -101 -420 l-7 -94 150 0 150 0 12 89 c30 232 116 443 255 626 55 70 181 198 246 248 l35 27 -105 105 c-57 58 -111 105 -118 105 -8 0 -76 -62 -151 -137z"
|
|
478
|
+
/>
|
|
479
|
+
<path
|
|
480
|
+
d="M3358 3893 l-108 -108 37 -25 c20 -13 75 -63 122 -110 194 -193 326 -452 368 -724 8 -56 17 -107 19 -113 4 -15 289 -19 298 -5 8 13 -20 208 -43 303 -56 238 -184 484 -349 673 -61 70 -218 216 -232 216 -3 0 -54 -48 -112 -107z"
|
|
481
|
+
/>
|
|
482
|
+
<path
|
|
483
|
+
d="M2194 1267 c-17 -46 48 -180 112 -231 182 -144 464 -33 491 194 l6 50 -302 0 c-242 0 -303 -3 -307 -13z"
|
|
446
484
|
/>
|
|
447
485
|
</g>
|
|
448
486
|
</svg>
|
|
449
487
|
`;var qt=Object.defineProperty,It=Object.getOwnPropertyDescriptor,Wt=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?It(e,i):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&qt(e,i,s),s};let Ht=class extends at{constructor(){super(...arguments),this.active=!1}handleClosePopup(){const t=new Event("close");this.dispatchEvent(t)}render(){return W`
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
488
|
+
<div class=${`shipaid-popup ${this.active&&"active"}`}>
|
|
489
|
+
<div class="blocker" @click=${this.handleClosePopup}></div>
|
|
490
|
+
<button
|
|
491
|
+
type="button"
|
|
492
|
+
class="popup-close"
|
|
493
|
+
@click=${this.handleClosePopup}
|
|
494
|
+
>
|
|
456
495
|
${St("learn-more-popup.close")}
|
|
457
496
|
</button>
|
|
458
497
|
<div class="popup-logo">${Ot}</div>
|
|
@@ -466,11 +505,11 @@ function zt(t,e,i){return t?e():null==i?void 0:i()}const Mt=h`
|
|
|
466
505
|
<p>${St("learn-more-popup.disclaimer.subtitle-monitor")}</p>
|
|
467
506
|
</div>
|
|
468
507
|
<div class="popup-disclaimer-subtitle">
|
|
469
|
-
<div class="popup-icon-b">${
|
|
508
|
+
<div class="popup-icon-b">${jt}</div>
|
|
470
509
|
<p>${St("learn-more-popup.disclaimer.subtitle-notify")}</p>
|
|
471
510
|
</div>
|
|
472
511
|
<div class="popup-disclaimer-subtitle">
|
|
473
|
-
<div class="popup-icon-bell">${
|
|
512
|
+
<div class="popup-icon-bell">${Rt}</div>
|
|
474
513
|
<p>
|
|
475
514
|
${St("learn-more-popup.disclaimer.subtitle-resolution")}
|
|
476
515
|
</p>
|
|
@@ -547,7 +586,7 @@ function zt(t,e,i){return t?e():null==i?void 0:i()}const Mt=h`
|
|
|
547
586
|
max-width: 100%;
|
|
548
587
|
display: flex;
|
|
549
588
|
flex-direction: column;
|
|
550
|
-
gap:
|
|
589
|
+
gap: 0.5rem;
|
|
551
590
|
margin: var(--shipaid-prompt-margin, 2rem 0px 4rem auto);
|
|
552
591
|
}
|
|
553
592
|
|
|
@@ -570,7 +609,7 @@ function zt(t,e,i){return t?e():null==i?void 0:i()}const Mt=h`
|
|
|
570
609
|
.shipaid-prompt .prompt-product {
|
|
571
610
|
display: flex;
|
|
572
611
|
flex-direction: row;
|
|
573
|
-
gap:
|
|
612
|
+
gap: 0.5rem;
|
|
574
613
|
margin-top: 1rem;
|
|
575
614
|
}
|
|
576
615
|
.shipaid-prompt .prompt-product .prompt-product-image {
|
|
@@ -645,7 +684,7 @@ function zt(t,e,i){return t?e():null==i?void 0:i()}const Mt=h`
|
|
|
645
684
|
var(--shipaid-prompt-badge)
|
|
646
685
|
);
|
|
647
686
|
color: var(--shipaid-prompt-badge-text-color, var(--shipaid-text));
|
|
648
|
-
padding: 0.
|
|
687
|
+
padding: 0.2rem 1rem;
|
|
649
688
|
border-radius: 30px;
|
|
650
689
|
cursor: pointer;
|
|
651
690
|
text-decoration: none;
|
|
@@ -653,6 +692,7 @@ function zt(t,e,i){return t?e():null==i?void 0:i()}const Mt=h`
|
|
|
653
692
|
display: inline-flex;
|
|
654
693
|
align-items: center;
|
|
655
694
|
gap: 0.8rem;
|
|
695
|
+
white-space: nowrap;
|
|
656
696
|
}
|
|
657
697
|
.shipaid-prompt .prompt-footer .prompt-footer-badge svg {
|
|
658
698
|
height: 9px;
|
|
@@ -714,4 +754,4 @@ function zt(t,e,i){return t?e():null==i?void 0:i()}const Mt=h`
|
|
|
714
754
|
<slot name="loading" default>${St("loading")}</slot>
|
|
715
755
|
</p>`))}
|
|
716
756
|
</div>
|
|
717
|
-
`}},t.ShipAidWidget.styles=Jt,te([r({type:Boolean,attribute:!0})],t.ShipAidWidget.prototype,"disablePolling",2),te([r({type:Boolean,attribute:!0})],t.ShipAidWidget.prototype,"disableActions",2),te([r({type:Number,attribute:!0})],t.ShipAidWidget.prototype,"pollingInterval",2),te([r({type:Boolean,attribute:!0})],t.ShipAidWidget.prototype,"disableRefresh",2),te([r({type:String,attribute:!0})],t.ShipAidWidget.prototype,"lang",2),te([r({type:String,attribute:!0})],t.ShipAidWidget.prototype,"currency",2),te([s()],t.ShipAidWidget.prototype,"_storeDomain",2),te([s()],t.ShipAidWidget.prototype,"_store",2),te([s()],t.ShipAidWidget.prototype,"_cart",2),te([s()],t.ShipAidWidget.prototype,"_protectionProduct",2),te([s()],t.ShipAidWidget.prototype,"_cartLastUpdated",2),te([s()],t.ShipAidWidget.prototype,"_hasFinishedSetup",2),te([s()],t.ShipAidWidget.prototype,"_shouldShowWidget",2),te([s()],t.ShipAidWidget.prototype,"_hasProtectionInCart",2),te([s()],t.ShipAidWidget.prototype,"_protectionCartItem",2),te([s()],t.ShipAidWidget.prototype,"_protectionVariant",2),te([s()],t.ShipAidWidget.prototype,"hasLoadedStrings",2),te([s()],t.ShipAidWidget.prototype,"_state",2),te([s()],t.ShipAidWidget.prototype,"_popup",2),t.ShipAidWidget=te([i("shipaid-widget")],t.ShipAidWidget);const ae="Caricamento del widget ShipAid...",de="Garanzia di consegna",
|
|
757
|
+
`}},t.ShipAidWidget.styles=Jt,te([r({type:Boolean,attribute:!0})],t.ShipAidWidget.prototype,"disablePolling",2),te([r({type:Boolean,attribute:!0})],t.ShipAidWidget.prototype,"disableActions",2),te([r({type:Number,attribute:!0})],t.ShipAidWidget.prototype,"pollingInterval",2),te([r({type:Boolean,attribute:!0})],t.ShipAidWidget.prototype,"disableRefresh",2),te([r({type:String,attribute:!0})],t.ShipAidWidget.prototype,"lang",2),te([r({type:String,attribute:!0})],t.ShipAidWidget.prototype,"currency",2),te([s()],t.ShipAidWidget.prototype,"_storeDomain",2),te([s()],t.ShipAidWidget.prototype,"_store",2),te([s()],t.ShipAidWidget.prototype,"_cart",2),te([s()],t.ShipAidWidget.prototype,"_protectionProduct",2),te([s()],t.ShipAidWidget.prototype,"_cartLastUpdated",2),te([s()],t.ShipAidWidget.prototype,"_hasFinishedSetup",2),te([s()],t.ShipAidWidget.prototype,"_shouldShowWidget",2),te([s()],t.ShipAidWidget.prototype,"_hasProtectionInCart",2),te([s()],t.ShipAidWidget.prototype,"_protectionCartItem",2),te([s()],t.ShipAidWidget.prototype,"_protectionVariant",2),te([s()],t.ShipAidWidget.prototype,"hasLoadedStrings",2),te([s()],t.ShipAidWidget.prototype,"_state",2),te([s()],t.ShipAidWidget.prototype,"_popup",2),t.ShipAidWidget=te([i("shipaid-widget")],t.ShipAidWidget);const ae="Caricamento del widget ShipAid...",de="Garanzia di consegna",pe="in caso di Perdita, Danno o Furto",le={button:"Offerto da"},ce={add:"Aggiungere",remove:"Rimuovere",loading:"Caricamento ..."},he={loading:ae,title:de,description:pe,footer:le,actions:ce,"learn-more-popup":{close:"Vicina",title:"Garanzia di consegna",subtitle:"Consentiamo ai tuoi marchi preferiti di offrire una garanzia di consegna perché ogni ordine è prezioso!",disclaimer:{"subtitle-enable":"Consentiamo ai tuoi marchi preferiti di fornire una garanzia di consegna perché sappiamo che ogni ordine è prezioso e le cose accadono!","subtitle-monitor":"Monitoriamo continuamente il tuo pacco e ti offriamo un comodo portale per monitorare lo stato di avanzamento del tuo ordine in qualsiasi momento!","subtitle-notify":"Riceverai una notifica durante l'intero processo di spedizione, assicurandoti di rimanere aggiornato in ogni fase del processo.","subtitle-resolution":"Você será notificado durante todo o processo de envio, garantindo que você fique atualizado a cada passo do caminho.",text:"Acquistando questa garanzia di consegna, accetti i nostri Termini di servizio e l'Informativa sulla privacy. Non sei obbligato ad acquistare questa garanzia. Questa garanzia NON è un'assicurazione e non fornisce un indennizzo contro perdite, danni o responsabilità derivanti da un evento contingente o sconosciuto, ma piuttosto, attraverso ShipAid i marchi forniscono una garanzia di consegna in base alla quale se il prodotto ordinato non viene consegnato in condizioni soddisfacenti, il marchio da cui hai ordinato il prodotto può sostituire il prodotto gratuitamente. ShipAid non fornisce alcun prodotto o servizio direttamente ai consumatori, ma fornisce invece un servizio che consente ai marchi di facilitare la sostituzione del prodotto ai propri clienti. L'acquisto di questa garanzia non significa che verrai automaticamente rimborsato per qualsiasi prodotto o costo di spedizione perché il processo di risoluzione e la decisione per il risarcimento sono rigorosamente decisi dal marchio da cui stai acquistando. Il marchio richiederà la prova del danno o del prodotto non consegnato."},links:{terms:"Termini di servizio",privacy:"Politica sulla riservatezza"}}},ue=Object.freeze(Object.defineProperty({__proto__:null,actions:ce,default:he,description:pe,footer:le,loading:ae,title:de},Symbol.toStringTag,{value:"Module"})),fe="Carregando o widget ShipAid...",me="Garantia de entrega",ge="em caso de Perda, Danos ou Roubo",ve={button:"Distribuído por"},_e={add:"Adicionar",remove:"Remover",loading:"Carregando..."},ye={loading:fe,title:me,description:ge,footer:ve,actions:_e,"learn-more-popup":{close:"Fechar",title:"Garantia de entrega",subtitle:"Capacitamos suas marcas favoritas para oferecer uma garantia de entrega porque cada pedido é precioso!",disclaimer:{"subtitle-enable":"Permitimos que suas marcas favoritas forneçam uma garantia de entrega porque sabemos que cada pedido é precioso e as coisas acontecem!","subtitle-monitor":"Monitoramos continuamente o seu pacote e oferecemos um portal conveniente para você acompanhar o andamento do seu pedido a qualquer momento!","subtitle-notify":"Você será notificado durante todo o processo de envio, garantindo que você fique atualizado a cada passo do caminho.","subtitle-resolution":"Você será notificado durante todo o processo de envio, garantindo que você fique atualizado a cada passo do caminho.",text:"Ao adquirir esta garantia de entrega, você concorda com nossos Termos de Serviço e Política de Privacidade. Esta garantia não é obrigatória, NÃO é um seguro e não fornece indenização contra perdas, danos ou responsabilidade decorrentes de um contingente ou desconhecido. Caso o produto não seja entregue em condições satisfatórias, a marca da qual você comprou pode substituí-lo gratuitamente. A ShipAid não fornece nenhum produto ou serviço diretamente aos consumidores, mas sim presta um serviço que permite às marcas facilitar a substituição do produto aos seus clientes. Adquirir esta garantia não significa que você será automaticamente reembolsado por qualquer produto ou custos de envio porque o processo de resolução e decisão de compensação é estritamente decidido pela marca que você está comprando. A marca exigirá prova de danos ou produto não entregue."},links:{terms:"Termos de serviço",privacy:"Política de Privacidade"}}},be=Object.freeze(Object.defineProperty({__proto__:null,actions:_e,default:ye,description:ge,footer:ve,loading:fe,title:me},Symbol.toStringTag,{value:"Module"}));Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}));
|