@htmlbricks/hb-payment-paypal 0.4.22 → 0.4.23
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/package.json +2 -2
- package/release/release.js +1 -1
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@htmlbricks/hb-payment-paypal",
|
|
3
3
|
"displayName": "Svelte Paypal Payment WebComponent",
|
|
4
4
|
"description": "Svelte Paypal Payment WebComponent",
|
|
5
|
-
"version": "0.4.
|
|
5
|
+
"version": "0.4.23",
|
|
6
6
|
"main": "release/release.js",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"html5-webcomponents"
|
|
72
72
|
],
|
|
73
73
|
"contributors": [],
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "46db65028cd9857718a0f142f53be15d4aa6966e"
|
|
75
75
|
}
|
package/release/release.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var release=function(){"use strict";function t(){}function e(t){return t()}function n(){return Object.create(null)}function i(t){t.forEach(e)}function r(t){return"function"==typeof t}function o(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function s(t,e){t.appendChild(e)}function a(t,e,n){t.insertBefore(e,n||null)}function d(t){t.parentNode.removeChild(t)}function u(t){return document.createElement(t)}function c(){return t=" ",document.createTextNode(t);var t}function l(t,e,n,i){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n,i)}function f(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function h(t,e,n){e in t?t[e]="boolean"==typeof t[e]&&""===n||n:f(t,e,n)}function m(t,e,n,i){null===n?t.style.removeProperty(e):t.style.setProperty(e,n,i?"important":"")}function b(t){const e={};for(const n of t)e[n.name]=n.value;return e}let p;function g(t){p=t}function $(){if(!p)throw new Error("Function called outside component initialization");return p}function y(){const t=$();return(e,n)=>{const i=t.$$.callbacks[e];if(i){const r=function(t,e,n=!1){const i=document.createEvent("CustomEvent");return i.initCustomEvent(t,n,!1,e),i}(e,n);i.slice().forEach((e=>{e.call(t,r)}))}}}const w=[],v=[],x=[],k=[],M=Promise.resolve();let S=!1;function _(t){x.push(t)}const D=new Set;let C=0;function T(){const t=p;do{for(;C<w.length;){const t=w[C];C++,g(t),O(t.$$)}for(g(null),w.length=0,C=0;v.length;)v.pop()();for(let t=0;t<x.length;t+=1){const e=x[t];D.has(e)||(D.add(e),e())}x.length=0}while(w.length);for(;k.length;)k.pop()();S=!1,D.clear(),g(t)}function O(t){if(null!==t.fragment){t.update(),i(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(_)}}const E=new Set;function N(t,e){-1===t.$$.dirty[0]&&(w.push(t),S||(S=!0,M.then(T)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function H(o,s,a,u,c,l,f,h=[-1]){const m=p;g(o);const b=o.$$={fragment:null,ctx:null,props:l,update:t,not_equal:c,bound:n(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(m?m.$$.context:[])),callbacks:n(),dirty:h,skip_bound:!1,root:s.target||m.$$.root};f&&f(b.root);let $=!1;if(b.ctx=a?a(o,s.props||{},((t,e,...n)=>{const i=n.length?n[0]:e;return b.ctx&&c(b.ctx[t],b.ctx[t]=i)&&(!b.skip_bound&&b.bound[t]&&b.bound[t](i),$&&N(o,t)),e})):[],b.update(),$=!0,i(b.before_update),b.fragment=!!u&&u(b.ctx),s.target){if(s.hydrate){const t=function(t){return Array.from(t.childNodes)}(s.target);b.fragment&&b.fragment.l(t),t.forEach(d)}else b.fragment&&b.fragment.c();s.intro&&((y=o.$$.fragment)&&y.i&&(E.delete(y),y.i(w))),function(t,n,o,s){const{fragment:a,on_mount:d,on_destroy:u,after_update:c}=t.$$;a&&a.m(n,o),s||_((()=>{const n=d.map(e).filter(r);u?u.push(...n):i(n),t.$$.on_mount=[]})),c.forEach(_)}(o,s.target,s.anchor,s.customElement),T()}var y,w;g(m)}let I;"function"==typeof HTMLElement&&(I=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(e).filter(r);for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,n){this[t]=n}disconnectedCallback(){i(this.$$.on_disconnect)}$destroy(){!function(t,e){const n=t.$$;null!==n.fragment&&(i(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}(this,1),this.$destroy=t}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});var L="0.4.22";const A=[{type:"text",placeholder:"Insert your full Name name here...",id:"fullName",required:!0,label:"Full Name",validationTip:"This field cannot be empty."},{type:"text",placeholder:"Insert your Credit Card Number here...",id:"cardNumber",required:!0,label:"Card Number",validationTip:"This field cannot be empty."},{id:"name-row2",type:"row",params:{columns:[{type:"text",placeholder:"Insert card CVV here...",id:"CVV",required:!0,label:"CVV",validationTip:"This field cannot be empty."},{type:"text",placeholder:"Insert card expiration here...",id:"expiration",required:!0,label:"Scadenza",validationTip:"This field cannot be empty."}]}}];var j,Y;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function V(e){let n,r,o,b,p,g,$,y,w,v,x,k,M,S,_;return{c(){n=u("div"),r=u("div"),o=u("button"),o.textContent="paypal",b=c(),p=u("div"),p.innerHTML="<span>or</span>",g=c(),$=u("div"),y=u("div"),w=u("hb-form"),x=c(),k=u("div"),M=u("button"),M.textContent="place order",this.c=t,m(o,"width","100%"),m(o,"background-color","yellow"),m(o,"color","white"),f(o,"class","btn"),f(p,"class","utils_or"),h(w,"schema",v=JSON.stringify(e[0])),h(w,"submitted",e[1]),m(M,"width","100%"),f(M,"class","btn btn-primary")},m(t,i){a(t,n,i),s(n,r),s(r,o),s(n,b),s(n,p),s(n,g),s(n,$),s($,y),s(y,w),s($,x),s($,k),s(k,M),S||(_=[l(o,"click",e[6]),l(w,"submit",e[7]),l(w,"change",e[8]),l(M,"click",e[9])],S=!0)},p(t,[e]){1&e&&v!==(v=JSON.stringify(t[0]))&&h(w,"schema",v),2&e&&h(w,"submitted",t[1])},i:t,o:t,d(t){t&&d(n),S=!1,i(_)}}}function z(t,e,n){let{id:i}=e,r="no";function o(t){for(const e of["fullName","cardNumber","CVV","expiration"])if(A.find((t=>t.id===e)))n(0,A[A.findIndex((t=>t.id===e))].value=t[e],A);else if(A.find((t=>{var n,i;return(null===(i=null===(n=t.params)||void 0===n?void 0:n.columns)||void 0===i?void 0:i.length)&&t.params.columns.find((t=>t.id===e))}))){const i=A.findIndex((t=>{var n,i;return(null===(i=null===(n=t.params)||void 0===n?void 0:n.columns)||void 0===i?void 0:i.length)&&t.params.columns.find((t=>t.id===e))})),r=A[i].params.columns.findIndex((t=>t.id===e));n(0,A[i].params.columns[r].value=t[e],A)}}function s(t){n(1,r="no"),c("payByCard",t)}function a(){c("payByAccount",{})}const d=$(),u=y();function c(t,e){u(t,e),d.dispatchEvent&&d.dispatchEvent(new CustomEvent(t,{detail:e}))}!function(t){if(!document.getElementById("hb-"+t+"-script")){const e=document.createElement("script");e.id="hb-"+t+"-script",e.src=`https://cdn.jsdelivr.net/npm/@htmlbricks/hb-${t}@${L}/release/release.js`,location.href.includes("localhost")&&(e.src=`http://localhost:6006/${t}/dist/release.js`),document.head.appendChild(e)}}("form");return t.$$set=t=>{"id"in t&&n(5,i=t.id)},t.$$.update=()=>{32&t.$$.dirty&&(i||n(5,i=null))},[A,r,o,s,a,i,()=>a(),t=>s(t.detail),t=>{o(t.detail)},()=>{n(1,r="yes"),setTimeout((()=>{n(1,r="no")}),200)}]}j=function(t,e){t.exports=function(){var t=1e3,e=6e4,n=36e5,i="millisecond",r="second",o="minute",s="hour",a="day",d="week",u="month",c="quarter",l="year",f="date",h="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},g=function(t,e,n){var i=String(t);return!i||i.length>=e?t:""+Array(e+1-i.length).join(n)+t},$={s:g,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),i=Math.floor(n/60),r=n%60;return(e<=0?"+":"-")+g(i,2,"0")+":"+g(r,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var i=12*(n.year()-e.year())+(n.month()-e.month()),r=e.clone().add(i,u),o=n-r<0,s=e.clone().add(i+(o?-1:1),u);return+(-(i+(n-r)/(o?r-s:s-r))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:u,y:l,w:d,d:a,D:f,h:s,m:o,s:r,ms:i,Q:c}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},y="en",w={};w[y]=p;var v=function(t){return t instanceof S},x=function(t,e,n){var i;if(!t)return y;if("string"==typeof t)w[t]&&(i=t),e&&(w[t]=e,i=t);else{var r=t.name;w[r]=t,i=r}return!n&&i&&(y=i),i||!n&&y},k=function(t,e){if(v(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new S(n)},M=$;M.l=x,M.i=v,M.w=function(t,e){return k(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var S=function(){function p(t){this.$L=x(t.locale,null,!0),this.parse(t)}var g=p.prototype;return g.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(M.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var i=e.match(m);if(i){var r=i[2]-1||0,o=(i[7]||"0").substring(0,3);return n?new Date(Date.UTC(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,o)):new Date(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,o)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},g.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},g.$utils=function(){return M},g.isValid=function(){return!(this.$d.toString()===h)},g.isSame=function(t,e){var n=k(t);return this.startOf(e)<=n&&n<=this.endOf(e)},g.isAfter=function(t,e){return k(t)<this.startOf(e)},g.isBefore=function(t,e){return this.endOf(e)<k(t)},g.$g=function(t,e,n){return M.u(t)?this[e]:this.set(n,t)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(t,e){var n=this,i=!!M.u(e)||e,c=M.p(t),h=function(t,e){var r=M.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return i?r:r.endOf(a)},m=function(t,e){return M.w(n.toDate()[t].apply(n.toDate("s"),(i?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},b=this.$W,p=this.$M,g=this.$D,$="set"+(this.$u?"UTC":"");switch(c){case l:return i?h(1,0):h(31,11);case u:return i?h(1,p):h(0,p+1);case d:var y=this.$locale().weekStart||0,w=(b<y?b+7:b)-y;return h(i?g-w:g+(6-w),p);case a:case f:return m($+"Hours",0);case s:return m($+"Minutes",1);case o:return m($+"Seconds",2);case r:return m($+"Milliseconds",3);default:return this.clone()}},g.endOf=function(t){return this.startOf(t,!1)},g.$set=function(t,e){var n,d=M.p(t),c="set"+(this.$u?"UTC":""),h=(n={},n[a]=c+"Date",n[f]=c+"Date",n[u]=c+"Month",n[l]=c+"FullYear",n[s]=c+"Hours",n[o]=c+"Minutes",n[r]=c+"Seconds",n[i]=c+"Milliseconds",n)[d],m=d===a?this.$D+(e-this.$W):e;if(d===u||d===l){var b=this.clone().set(f,1);b.$d[h](m),b.init(),this.$d=b.set(f,Math.min(this.$D,b.daysInMonth())).$d}else h&&this.$d[h](m);return this.init(),this},g.set=function(t,e){return this.clone().$set(t,e)},g.get=function(t){return this[M.p(t)]()},g.add=function(i,c){var f,h=this;i=Number(i);var m=M.p(c),b=function(t){var e=k(h);return M.w(e.date(e.date()+Math.round(t*i)),h)};if(m===u)return this.set(u,this.$M+i);if(m===l)return this.set(l,this.$y+i);if(m===a)return b(1);if(m===d)return b(7);var p=(f={},f[o]=e,f[s]=n,f[r]=t,f)[m]||1,g=this.$d.getTime()+i*p;return M.w(g,this)},g.subtract=function(t,e){return this.add(-1*t,e)},g.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||h;var i=t||"YYYY-MM-DDTHH:mm:ssZ",r=M.z(this),o=this.$H,s=this.$m,a=this.$M,d=n.weekdays,u=n.months,c=function(t,n,r,o){return t&&(t[n]||t(e,i))||r[n].substr(0,o)},l=function(t){return M.s(o%12||12,t,"0")},f=n.meridiem||function(t,e,n){var i=t<12?"AM":"PM";return n?i.toLowerCase():i},m={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:M.s(a+1,2,"0"),MMM:c(n.monthsShort,a,u,3),MMMM:c(u,a),D:this.$D,DD:M.s(this.$D,2,"0"),d:String(this.$W),dd:c(n.weekdaysMin,this.$W,d,2),ddd:c(n.weekdaysShort,this.$W,d,3),dddd:d[this.$W],H:String(o),HH:M.s(o,2,"0"),h:l(1),hh:l(2),a:f(o,s,!0),A:f(o,s,!1),m:String(s),mm:M.s(s,2,"0"),s:String(this.$s),ss:M.s(this.$s,2,"0"),SSS:M.s(this.$ms,3,"0"),Z:r};return i.replace(b,(function(t,e){return e||m[t]||r.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(i,f,h){var m,b=M.p(f),p=k(i),g=(p.utcOffset()-this.utcOffset())*e,$=this-p,y=M.m(this,p);return y=(m={},m[l]=y/12,m[u]=y,m[c]=y/3,m[d]=($-g)/6048e5,m[a]=($-g)/864e5,m[s]=$/n,m[o]=$/e,m[r]=$/t,m)[b]||$,h?y:M.a(y)},g.daysInMonth=function(){return this.endOf(u).$D},g.$locale=function(){return w[this.$L]},g.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),i=x(t,e,!0);return i&&(n.$L=i),n},g.clone=function(){return M.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},p}(),_=S.prototype;return k.prototype=_,[["$ms",i],["$s",r],["$m",o],["$H",s],["$W",a],["$M",u],["$y",l],["$D",f]].forEach((function(t){_[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),k.extend=function(t,e){return t.$i||(t(e,S,k),t.$i=!0),k},k.locale=x,k.isDayjs=v,k.unix=function(t){return k(1e3*t)},k.en=w[y],k.Ls=w,k.p={},k}()},j(Y={exports:{}},Y.exports);class U extends I{constructor(t){super(),this.shadowRoot.innerHTML='<style>@charset "UTF-8";@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");:host{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#07689f;--bs-secondary:#c9d6df;--bs-success:#11d3bc;--bs-info:#a2d5f2;--bs-warning:#ff7e67;--bs-danger:#f67280;--bs-light:#fafafa;--bs-dark:#4e4e4e;--bs-primary-rgb:7, 104, 159;--bs-secondary-rgb:201, 214, 223;--bs-success-rgb:17, 211, 188;--bs-info-rgb:162, 213, 242;--bs-warning-rgb:255, 126, 103;--bs-danger-rgb:246, 114, 128;--bs-light-rgb:250, 250, 250;--bs-dark-rgb:78, 78, 78;--bs-white-rgb:255, 255, 255;--bs-black-rgb:0, 0, 0;--bs-body-color-rgb:33, 37, 41;--bs-body-bg-rgb:255, 255, 255;--bs-font-sans-serif:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace:SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-bg:#fff}*,*::before,*::after{box-sizing:border-box}@media(prefers-reduced-motion: no-preference){:host{scroll-behavior:smooth}}@media(min-width: 1200px){}@media(min-width: 1200px){}@media(min-width: 1200px){}@media(min-width: 1200px){}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button{text-transform:none}button{-webkit-appearance:button}button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}@media(min-width: 1200px){}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}@media(min-width: 1200px){}@media(min-width: 1200px){}@media(min-width: 1200px){}@media(min-width: 1200px){}@media(min-width: 1200px){}@media(min-width: 1200px){}@media(min-width: 576px){}@media(min-width: 768px){}@media(min-width: 992px){}@media(min-width: 1200px){}@media(min-width: 1400px){}@media(min-width: 576px){}@media(min-width: 768px){}@media(min-width: 992px){}@media(min-width: 1200px){}@media(min-width: 1400px){}.btn{display:inline-block;font-weight:400;line-height:1.5;color:#212529;text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;user-select:none;background-color:transparent;border:1px solid transparent;padding:0.375rem 0.75rem;font-size:1rem;border-radius:0.25rem;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out}@media(prefers-reduced-motion: reduce){.btn{transition:none}}.btn:hover{color:#212529}.btn:focus{outline:0;box-shadow:0 0 0 0.25rem rgba(7, 104, 159, 0.25)}.btn:disabled{pointer-events:none;opacity:0.65}.btn-primary{color:#fff;background-color:#07689f;border-color:#07689f}.btn-primary:hover{color:#fff;background-color:#065887;border-color:#06537f}.btn-primary:focus{color:#fff;background-color:#065887;border-color:#06537f;box-shadow:0 0 0 0.25rem rgba(44, 127, 173, 0.5)}.btn-primary:active{color:#fff;background-color:#06537f;border-color:#054e77}.btn-primary:active:focus{box-shadow:0 0 0 0.25rem rgba(44, 127, 173, 0.5)}.btn-primary:disabled{color:#fff;background-color:#07689f;border-color:#07689f}@media(min-width: 576px){}@media(min-width: 768px){}@media(min-width: 992px){}@media(min-width: 1200px){}@media(min-width: 1400px){}@media(min-width: 1200px){}@media print{}:host{--hb-checkout-border:0.5px solid rgba(197, 197, 197, 0.808);font-family:"Roboto", sans-serif}.utils_or{width:50%;text-align:center;border-bottom:var(--hb-checkout-border);line-height:0.1em;margin:40px auto 30px auto}.utils_or span{background:#fff;padding:0 10px}</style>',H(this,{target:this.shadowRoot,props:b(this.attributes),customElement:!0},z,V,o,{id:5},null),t&&(t.target&&a(t.target,this,t.anchor),t.props&&(this.$set(t.props),T()))}static get observedAttributes(){return["id"]}get id(){return this.$$.ctx[5]}set id(t){this.$$set({id:t}),T()}}return customElements.define("hb-payment-paypal",U),U}();
|
|
1
|
+
var release=function(){"use strict";function t(){}function e(t){return t()}function n(){return Object.create(null)}function i(t){t.forEach(e)}function r(t){return"function"==typeof t}function o(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function s(t,e){t.appendChild(e)}function a(t,e,n){t.insertBefore(e,n||null)}function d(t){t.parentNode.removeChild(t)}function u(t){return document.createElement(t)}function c(){return t=" ",document.createTextNode(t);var t}function l(t,e,n,i){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n,i)}function f(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function h(t,e,n){e in t?t[e]="boolean"==typeof t[e]&&""===n||n:f(t,e,n)}function m(t,e,n,i){null===n?t.style.removeProperty(e):t.style.setProperty(e,n,i?"important":"")}function b(t){const e={};for(const n of t)e[n.name]=n.value;return e}let p;function g(t){p=t}function $(){if(!p)throw new Error("Function called outside component initialization");return p}function y(){const t=$();return(e,n)=>{const i=t.$$.callbacks[e];if(i){const r=function(t,e,n=!1){const i=document.createEvent("CustomEvent");return i.initCustomEvent(t,n,!1,e),i}(e,n);i.slice().forEach((e=>{e.call(t,r)}))}}}const w=[],v=[],x=[],k=[],M=Promise.resolve();let S=!1;function _(t){x.push(t)}const D=new Set;let C=0;function T(){const t=p;do{for(;C<w.length;){const t=w[C];C++,g(t),O(t.$$)}for(g(null),w.length=0,C=0;v.length;)v.pop()();for(let t=0;t<x.length;t+=1){const e=x[t];D.has(e)||(D.add(e),e())}x.length=0}while(w.length);for(;k.length;)k.pop()();S=!1,D.clear(),g(t)}function O(t){if(null!==t.fragment){t.update(),i(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(_)}}const E=new Set;function N(t,e){-1===t.$$.dirty[0]&&(w.push(t),S||(S=!0,M.then(T)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function H(o,s,a,u,c,l,f,h=[-1]){const m=p;g(o);const b=o.$$={fragment:null,ctx:null,props:l,update:t,not_equal:c,bound:n(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(m?m.$$.context:[])),callbacks:n(),dirty:h,skip_bound:!1,root:s.target||m.$$.root};f&&f(b.root);let $=!1;if(b.ctx=a?a(o,s.props||{},((t,e,...n)=>{const i=n.length?n[0]:e;return b.ctx&&c(b.ctx[t],b.ctx[t]=i)&&(!b.skip_bound&&b.bound[t]&&b.bound[t](i),$&&N(o,t)),e})):[],b.update(),$=!0,i(b.before_update),b.fragment=!!u&&u(b.ctx),s.target){if(s.hydrate){const t=function(t){return Array.from(t.childNodes)}(s.target);b.fragment&&b.fragment.l(t),t.forEach(d)}else b.fragment&&b.fragment.c();s.intro&&((y=o.$$.fragment)&&y.i&&(E.delete(y),y.i(w))),function(t,n,o,s){const{fragment:a,on_mount:d,on_destroy:u,after_update:c}=t.$$;a&&a.m(n,o),s||_((()=>{const n=d.map(e).filter(r);u?u.push(...n):i(n),t.$$.on_mount=[]})),c.forEach(_)}(o,s.target,s.anchor,s.customElement),T()}var y,w;g(m)}let I;"function"==typeof HTMLElement&&(I=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(e).filter(r);for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,n){this[t]=n}disconnectedCallback(){i(this.$$.on_disconnect)}$destroy(){!function(t,e){const n=t.$$;null!==n.fragment&&(i(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}(this,1),this.$destroy=t}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});var L="0.4.23";const A=[{type:"text",placeholder:"Insert your full Name name here...",id:"fullName",required:!0,label:"Full Name",validationTip:"This field cannot be empty."},{type:"text",placeholder:"Insert your Credit Card Number here...",id:"cardNumber",required:!0,label:"Card Number",validationTip:"This field cannot be empty."},{id:"name-row2",type:"row",params:{columns:[{type:"text",placeholder:"Insert card CVV here...",id:"CVV",required:!0,label:"CVV",validationTip:"This field cannot be empty."},{type:"text",placeholder:"Insert card expiration here...",id:"expiration",required:!0,label:"Scadenza",validationTip:"This field cannot be empty."}]}}];var j,Y;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function V(e){let n,r,o,b,p,g,$,y,w,v,x,k,M,S,_;return{c(){n=u("div"),r=u("div"),o=u("button"),o.textContent="paypal",b=c(),p=u("div"),p.innerHTML="<span>or</span>",g=c(),$=u("div"),y=u("div"),w=u("hb-form"),x=c(),k=u("div"),M=u("button"),M.textContent="place order",this.c=t,m(o,"width","100%"),m(o,"background-color","yellow"),m(o,"color","white"),f(o,"class","btn"),f(p,"class","utils_or"),h(w,"schema",v=JSON.stringify(e[0])),h(w,"submitted",e[1]),m(M,"width","100%"),f(M,"class","btn btn-primary")},m(t,i){a(t,n,i),s(n,r),s(r,o),s(n,b),s(n,p),s(n,g),s(n,$),s($,y),s(y,w),s($,x),s($,k),s(k,M),S||(_=[l(o,"click",e[6]),l(w,"submit",e[7]),l(w,"change",e[8]),l(M,"click",e[9])],S=!0)},p(t,[e]){1&e&&v!==(v=JSON.stringify(t[0]))&&h(w,"schema",v),2&e&&h(w,"submitted",t[1])},i:t,o:t,d(t){t&&d(n),S=!1,i(_)}}}function z(t,e,n){let{id:i}=e,r="no";function o(t){for(const e of["fullName","cardNumber","CVV","expiration"])if(A.find((t=>t.id===e)))n(0,A[A.findIndex((t=>t.id===e))].value=t[e],A);else if(A.find((t=>{var n,i;return(null===(i=null===(n=t.params)||void 0===n?void 0:n.columns)||void 0===i?void 0:i.length)&&t.params.columns.find((t=>t.id===e))}))){const i=A.findIndex((t=>{var n,i;return(null===(i=null===(n=t.params)||void 0===n?void 0:n.columns)||void 0===i?void 0:i.length)&&t.params.columns.find((t=>t.id===e))})),r=A[i].params.columns.findIndex((t=>t.id===e));n(0,A[i].params.columns[r].value=t[e],A)}}function s(t){n(1,r="no"),c("payByCard",t)}function a(){c("payByAccount",{})}const d=$(),u=y();function c(t,e){u(t,e),d.dispatchEvent&&d.dispatchEvent(new CustomEvent(t,{detail:e}))}!function(t){if(!document.getElementById("hb-"+t+"-script")){const e=document.createElement("script");e.id="hb-"+t+"-script",e.src=`https://cdn.jsdelivr.net/npm/@htmlbricks/hb-${t}@${L}/release/release.js`,location.href.includes("localhost")&&(e.src=`http://localhost:6006/${t}/dist/release.js`),document.head.appendChild(e)}}("form");return t.$$set=t=>{"id"in t&&n(5,i=t.id)},t.$$.update=()=>{32&t.$$.dirty&&(i||n(5,i=null))},[A,r,o,s,a,i,()=>a(),t=>s(t.detail),t=>{o(t.detail)},()=>{n(1,r="yes"),setTimeout((()=>{n(1,r="no")}),200)}]}j=function(t,e){t.exports=function(){var t=1e3,e=6e4,n=36e5,i="millisecond",r="second",o="minute",s="hour",a="day",d="week",u="month",c="quarter",l="year",f="date",h="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},g=function(t,e,n){var i=String(t);return!i||i.length>=e?t:""+Array(e+1-i.length).join(n)+t},$={s:g,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),i=Math.floor(n/60),r=n%60;return(e<=0?"+":"-")+g(i,2,"0")+":"+g(r,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var i=12*(n.year()-e.year())+(n.month()-e.month()),r=e.clone().add(i,u),o=n-r<0,s=e.clone().add(i+(o?-1:1),u);return+(-(i+(n-r)/(o?r-s:s-r))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:u,y:l,w:d,d:a,D:f,h:s,m:o,s:r,ms:i,Q:c}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},y="en",w={};w[y]=p;var v=function(t){return t instanceof S},x=function(t,e,n){var i;if(!t)return y;if("string"==typeof t)w[t]&&(i=t),e&&(w[t]=e,i=t);else{var r=t.name;w[r]=t,i=r}return!n&&i&&(y=i),i||!n&&y},k=function(t,e){if(v(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new S(n)},M=$;M.l=x,M.i=v,M.w=function(t,e){return k(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var S=function(){function p(t){this.$L=x(t.locale,null,!0),this.parse(t)}var g=p.prototype;return g.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(M.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var i=e.match(m);if(i){var r=i[2]-1||0,o=(i[7]||"0").substring(0,3);return n?new Date(Date.UTC(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,o)):new Date(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,o)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},g.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},g.$utils=function(){return M},g.isValid=function(){return!(this.$d.toString()===h)},g.isSame=function(t,e){var n=k(t);return this.startOf(e)<=n&&n<=this.endOf(e)},g.isAfter=function(t,e){return k(t)<this.startOf(e)},g.isBefore=function(t,e){return this.endOf(e)<k(t)},g.$g=function(t,e,n){return M.u(t)?this[e]:this.set(n,t)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(t,e){var n=this,i=!!M.u(e)||e,c=M.p(t),h=function(t,e){var r=M.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return i?r:r.endOf(a)},m=function(t,e){return M.w(n.toDate()[t].apply(n.toDate("s"),(i?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},b=this.$W,p=this.$M,g=this.$D,$="set"+(this.$u?"UTC":"");switch(c){case l:return i?h(1,0):h(31,11);case u:return i?h(1,p):h(0,p+1);case d:var y=this.$locale().weekStart||0,w=(b<y?b+7:b)-y;return h(i?g-w:g+(6-w),p);case a:case f:return m($+"Hours",0);case s:return m($+"Minutes",1);case o:return m($+"Seconds",2);case r:return m($+"Milliseconds",3);default:return this.clone()}},g.endOf=function(t){return this.startOf(t,!1)},g.$set=function(t,e){var n,d=M.p(t),c="set"+(this.$u?"UTC":""),h=(n={},n[a]=c+"Date",n[f]=c+"Date",n[u]=c+"Month",n[l]=c+"FullYear",n[s]=c+"Hours",n[o]=c+"Minutes",n[r]=c+"Seconds",n[i]=c+"Milliseconds",n)[d],m=d===a?this.$D+(e-this.$W):e;if(d===u||d===l){var b=this.clone().set(f,1);b.$d[h](m),b.init(),this.$d=b.set(f,Math.min(this.$D,b.daysInMonth())).$d}else h&&this.$d[h](m);return this.init(),this},g.set=function(t,e){return this.clone().$set(t,e)},g.get=function(t){return this[M.p(t)]()},g.add=function(i,c){var f,h=this;i=Number(i);var m=M.p(c),b=function(t){var e=k(h);return M.w(e.date(e.date()+Math.round(t*i)),h)};if(m===u)return this.set(u,this.$M+i);if(m===l)return this.set(l,this.$y+i);if(m===a)return b(1);if(m===d)return b(7);var p=(f={},f[o]=e,f[s]=n,f[r]=t,f)[m]||1,g=this.$d.getTime()+i*p;return M.w(g,this)},g.subtract=function(t,e){return this.add(-1*t,e)},g.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||h;var i=t||"YYYY-MM-DDTHH:mm:ssZ",r=M.z(this),o=this.$H,s=this.$m,a=this.$M,d=n.weekdays,u=n.months,c=function(t,n,r,o){return t&&(t[n]||t(e,i))||r[n].substr(0,o)},l=function(t){return M.s(o%12||12,t,"0")},f=n.meridiem||function(t,e,n){var i=t<12?"AM":"PM";return n?i.toLowerCase():i},m={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:M.s(a+1,2,"0"),MMM:c(n.monthsShort,a,u,3),MMMM:c(u,a),D:this.$D,DD:M.s(this.$D,2,"0"),d:String(this.$W),dd:c(n.weekdaysMin,this.$W,d,2),ddd:c(n.weekdaysShort,this.$W,d,3),dddd:d[this.$W],H:String(o),HH:M.s(o,2,"0"),h:l(1),hh:l(2),a:f(o,s,!0),A:f(o,s,!1),m:String(s),mm:M.s(s,2,"0"),s:String(this.$s),ss:M.s(this.$s,2,"0"),SSS:M.s(this.$ms,3,"0"),Z:r};return i.replace(b,(function(t,e){return e||m[t]||r.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(i,f,h){var m,b=M.p(f),p=k(i),g=(p.utcOffset()-this.utcOffset())*e,$=this-p,y=M.m(this,p);return y=(m={},m[l]=y/12,m[u]=y,m[c]=y/3,m[d]=($-g)/6048e5,m[a]=($-g)/864e5,m[s]=$/n,m[o]=$/e,m[r]=$/t,m)[b]||$,h?y:M.a(y)},g.daysInMonth=function(){return this.endOf(u).$D},g.$locale=function(){return w[this.$L]},g.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),i=x(t,e,!0);return i&&(n.$L=i),n},g.clone=function(){return M.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},p}(),_=S.prototype;return k.prototype=_,[["$ms",i],["$s",r],["$m",o],["$H",s],["$W",a],["$M",u],["$y",l],["$D",f]].forEach((function(t){_[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),k.extend=function(t,e){return t.$i||(t(e,S,k),t.$i=!0),k},k.locale=x,k.isDayjs=v,k.unix=function(t){return k(1e3*t)},k.en=w[y],k.Ls=w,k.p={},k}()},j(Y={exports:{}},Y.exports);class U extends I{constructor(t){super(),this.shadowRoot.innerHTML='<style>@charset "UTF-8";@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");:host{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#07689f;--bs-secondary:#c9d6df;--bs-success:#11d3bc;--bs-info:#a2d5f2;--bs-warning:#ff7e67;--bs-danger:#f67280;--bs-light:#fafafa;--bs-dark:#4e4e4e;--bs-primary-rgb:7, 104, 159;--bs-secondary-rgb:201, 214, 223;--bs-success-rgb:17, 211, 188;--bs-info-rgb:162, 213, 242;--bs-warning-rgb:255, 126, 103;--bs-danger-rgb:246, 114, 128;--bs-light-rgb:250, 250, 250;--bs-dark-rgb:78, 78, 78;--bs-white-rgb:255, 255, 255;--bs-black-rgb:0, 0, 0;--bs-body-color-rgb:33, 37, 41;--bs-body-bg-rgb:255, 255, 255;--bs-font-sans-serif:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace:SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-bg:#fff}*,*::before,*::after{box-sizing:border-box}@media(prefers-reduced-motion: no-preference){:host{scroll-behavior:smooth}}@media(min-width: 1200px){}@media(min-width: 1200px){}@media(min-width: 1200px){}@media(min-width: 1200px){}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button{text-transform:none}button{-webkit-appearance:button}button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}@media(min-width: 1200px){}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}@media(min-width: 1200px){}@media(min-width: 1200px){}@media(min-width: 1200px){}@media(min-width: 1200px){}@media(min-width: 1200px){}@media(min-width: 1200px){}@media(min-width: 576px){}@media(min-width: 768px){}@media(min-width: 992px){}@media(min-width: 1200px){}@media(min-width: 1400px){}@media(min-width: 576px){}@media(min-width: 768px){}@media(min-width: 992px){}@media(min-width: 1200px){}@media(min-width: 1400px){}.btn{display:inline-block;font-weight:400;line-height:1.5;color:#212529;text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;user-select:none;background-color:transparent;border:1px solid transparent;padding:0.375rem 0.75rem;font-size:1rem;border-radius:0.25rem;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out}@media(prefers-reduced-motion: reduce){.btn{transition:none}}.btn:hover{color:#212529}.btn:focus{outline:0;box-shadow:0 0 0 0.25rem rgba(7, 104, 159, 0.25)}.btn:disabled{pointer-events:none;opacity:0.65}.btn-primary{color:#fff;background-color:#07689f;border-color:#07689f}.btn-primary:hover{color:#fff;background-color:#065887;border-color:#06537f}.btn-primary:focus{color:#fff;background-color:#065887;border-color:#06537f;box-shadow:0 0 0 0.25rem rgba(44, 127, 173, 0.5)}.btn-primary:active{color:#fff;background-color:#06537f;border-color:#054e77}.btn-primary:active:focus{box-shadow:0 0 0 0.25rem rgba(44, 127, 173, 0.5)}.btn-primary:disabled{color:#fff;background-color:#07689f;border-color:#07689f}@media(min-width: 576px){}@media(min-width: 768px){}@media(min-width: 992px){}@media(min-width: 1200px){}@media(min-width: 1400px){}@media(min-width: 1200px){}@media print{}:host{--hb-checkout-border:0.5px solid rgba(197, 197, 197, 0.808);font-family:"Roboto", sans-serif}.utils_or{width:50%;text-align:center;border-bottom:var(--hb-checkout-border);line-height:0.1em;margin:40px auto 30px auto}.utils_or span{background:#fff;padding:0 10px}</style>',H(this,{target:this.shadowRoot,props:b(this.attributes),customElement:!0},z,V,o,{id:5},null),t&&(t.target&&a(t.target,this,t.anchor),t.props&&(this.$set(t.props),T()))}static get observedAttributes(){return["id"]}get id(){return this.$$.ctx[5]}set id(t){this.$$set({id:t}),T()}}return customElements.define("hb-payment-paypal",U),U}();
|
|
2
2
|
//# sourceMappingURL=release.js.map
|