@htmlbricks/hb-page-checkout 0.4.24 → 0.4.25

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 CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@htmlbricks/hb-page-checkout",
3
3
  "displayName": "Svelte Page Payment WebComponent",
4
4
  "description": "Svelte Page Payment WebComponent",
5
- "version": "0.4.24",
5
+ "version": "0.4.25",
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": "a0a21289bbaa135bbff2ee470fda06ef37bffa40"
74
+ "gitHead": "c88c11461f68ea412c1be08770ccdd0b52520a49"
75
75
  }
@@ -1,2 +1,2 @@
1
- var release=function(){"use strict";function t(){}function e(t){return t()}function i(){return Object.create(null)}function n(t){t.forEach(e)}function s(t){return"function"==typeof t}function r(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function o(t,e){t.appendChild(e)}function a(t,e,i){t.insertBefore(e,i||null)}function d(t){t.parentNode.removeChild(t)}function c(t){return document.createElement(t)}function l(){return t=" ",document.createTextNode(t);var t}function h(t,e,i,n){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}function p(t,e,i){null==i?t.removeAttribute(e):t.getAttribute(e)!==i&&t.setAttribute(e,i)}function m(t,e,i){e in t?t[e]="boolean"==typeof t[e]&&""===i||i:p(t,e,i)}function u(t,e,i,n){null===i?t.style.removeProperty(e):t.style.setProperty(e,i,n?"important":"")}function f(t){const e={};for(const i of t)e[i.name]=i.value;return e}let b;function g(t){b=t}function y(){if(!b)throw new Error("Function called outside component initialization");return b}function $(){const t=y();return(e,i)=>{const n=t.$$.callbacks[e];if(n){const s=function(t,e,i=!1){const n=document.createEvent("CustomEvent");return n.initCustomEvent(t,i,!1,e),n}(e,i);n.slice().forEach((e=>{e.call(t,s)}))}}}const w=[],x=[],k=[],v=[],E=Promise.resolve();let _=!1;function S(t){k.push(t)}const C=new Set;let N=0;function O(){const t=b;do{for(;N<w.length;){const t=w[N];N++,g(t),j(t.$$)}for(g(null),w.length=0,N=0;x.length;)x.pop()();for(let t=0;t<k.length;t+=1){const e=k[t];C.has(e)||(C.add(e),e())}k.length=0}while(w.length);for(;v.length;)v.pop()();_=!1,C.clear(),g(t)}function j(t){if(null!==t.fragment){t.update(),n(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(S)}}const A=new Set;function J(t,e){-1===t.$$.dirty[0]&&(w.push(t),_||(_=!0,E.then(O)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function M(r,o,a,c,l,h,p,m=[-1]){const u=b;g(r);const f=r.$$={fragment:null,ctx:null,props:h,update:t,not_equal:l,bound:i(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(o.context||(u?u.$$.context:[])),callbacks:i(),dirty:m,skip_bound:!1,root:o.target||u.$$.root};p&&p(f.root);let y=!1;if(f.ctx=a?a(r,o.props||{},((t,e,...i)=>{const n=i.length?i[0]:e;return f.ctx&&l(f.ctx[t],f.ctx[t]=n)&&(!f.skip_bound&&f.bound[t]&&f.bound[t](n),y&&J(r,t)),e})):[],f.update(),y=!0,n(f.before_update),f.fragment=!!c&&c(f.ctx),o.target){if(o.hydrate){const t=function(t){return Array.from(t.childNodes)}(o.target);f.fragment&&f.fragment.l(t),t.forEach(d)}else f.fragment&&f.fragment.c();o.intro&&(($=r.$$.fragment)&&$.i&&(A.delete($),$.i(w))),function(t,i,r,o){const{fragment:a,on_mount:d,on_destroy:c,after_update:l}=t.$$;a&&a.m(i,r),o||S((()=>{const i=d.map(e).filter(s);c?c.push(...i):n(i),t.$$.on_mount=[]})),l.forEach(S)}(r,o.target,o.anchor,o.customElement),O()}var $,w;g(u)}let L;"function"==typeof HTMLElement&&(L=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(e).filter(s);for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,i){this[t]=i}disconnectedCallback(){n(this.$$.on_disconnect)}$destroy(){!function(t,e){const i=t.$$;null!==i.fragment&&(n(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}(this,1),this.$destroy=t}$on(t,e){const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(e),()=>{const t=i.indexOf(e);-1!==t&&i.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 B="0.4.24";function R(e){let i,s,r,f,b,g,y,$,w,x,k,v;return{c(){i=c("div"),s=c("div"),r=c("div"),f=c("hb-checkout"),y=l(),$=c("div"),w=c("hb-checkout-shopping-cart"),this.c=t,m(f,"user",e[1]),m(f,"shipments",b=JSON.stringify(e[0])),m(f,"gateways",g=JSON.stringify(e[4])),p(r,"class","col-7"),u(r,"padding-right","30px"),m(w,"items",e[3]),m(w,"headers",x=JSON.stringify(e[2])),p($,"class","col-5"),u($,"padding-left","30px"),p(s,"class","row"),p(i,"class","container")},m(t,n){a(t,i,n),o(i,s),o(s,r),o(r,f),o(s,y),o(s,$),o($,w),k||(v=[h(f,"payByCard",e[9]),h(f,"payByAccount",e[10]),h(f,"saveUser",e[11]),h(f,"saveShipment",e[12])],k=!0)},p(t,[e]){2&e&&m(f,"user",t[1]),1&e&&b!==(b=JSON.stringify(t[0]))&&m(f,"shipments",b),16&e&&g!==(g=JSON.stringify(t[4]))&&m(f,"gateways",g),8&e&&m(w,"items",t[3]),4&e&&x!==(x=JSON.stringify(t[2]))&&m(w,"headers",x)},i:t,o:t,d(t){t&&d(i),k=!1,n(v)}}}function U(t,e,i){let{id:n}=e,{shipments:s}=e,{user:r}=e,{headers:o}=e,{items:a}=e,{gateways:d}=e,{completed:c}=e;const l=y(),h=$();function p(t,e){h(t,e),l.dispatchEvent&&l.dispatchEvent(new CustomEvent(t,{detail:e}))}function m(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}@${B}/release/release.js`,location.href.includes("localhost")&&(e.src=`http://localhost:6006/${t}/dist/release.js`),document.head.appendChild(e)}}function u(t){const e=s.findIndex((e=>e.id===t.id)),n=s[e];s.forEach((t=>t.selected=!1)),n.selected=!0,i(2,o.shipmentFee=n.price,o),console.log("sss",n,t)}m("checkout-shopping-cart"),m("checkout");return t.$$set=t=>{"id"in t&&i(7,n=t.id),"shipments"in t&&i(0,s=t.shipments),"user"in t&&i(1,r=t.user),"headers"in t&&i(2,o=t.headers),"items"in t&&i(3,a=t.items),"gateways"in t&&i(4,d=t.gateways),"completed"in t&&i(8,c=t.completed)},t.$$.update=()=>{415&t.$$.dirty&&(n||i(7,n=null),c||i(8,c="no"),s?"string"==typeof s&&i(0,s=JSON.parse(s)||[]):i(0,s=[]),d?"string"==typeof d&&i(4,d=JSON.parse(d)||[]):i(4,d=[]),o?"string"==typeof o&&i(2,o=JSON.parse(o)):i(2,o={}),(s.find((t=>t.selected))||s.find((t=>t.standard)))&&i(2,o.shipmentFee=(s.find((t=>t.selected))||s.find((t=>t.standard))).price,o),a||i(3,a=null),r||i(1,r=null))},[s,r,o,a,d,p,u,n,c,t=>p("payByCard",t.detail),t=>p("payByAccount",t.detail),t=>p("saveUser",t.detail),t=>u(t.detail)]}class F extends L{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");:host{font-family:"Roboto", sans-serif;display:block;margin:40px 0px 40px 0px;--hb-checkout-border:0.5px solid rgba(197, 197, 197, 0.808)}: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){}::-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){}.container{width:100%;padding-right:var(--bs-gutter-x, 0.75rem);padding-left:var(--bs-gutter-x, 0.75rem);margin-right:auto;margin-left:auto}@media(min-width: 576px){.container{max-width:540px}}@media(min-width: 768px){.container{max-width:720px}}@media(min-width: 992px){.container{max-width:960px}}@media(min-width: 1200px){.container{max-width:1140px}}@media(min-width: 1400px){.container{max-width:1320px}}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-0.5 * var(--bs-gutter-x));margin-left:calc(-0.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * 0.5);padding-left:calc(var(--bs-gutter-x) * 0.5);margin-top:var(--bs-gutter-y)}.col-5{flex:0 0 auto;width:41.66666667%}.col-7{flex:0 0 auto;width:58.33333333%}@media(min-width: 576px){}@media(min-width: 768px){}@media(min-width: 992px){}@media(min-width: 1200px){}@media(min-width: 1400px){}@media(prefers-reduced-motion: reduce){}@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{}hb-checkout-shopping-cart{border:var(--hb-checkout-border);--hb-checkout-border:0.5px solid rgba(197, 197, 197, 0.808)}</style>',M(this,{target:this.shadowRoot,props:f(this.attributes),customElement:!0},U,R,r,{id:7,shipments:0,user:1,headers:2,items:3,gateways:4,completed:8},null),t&&(t.target&&a(t.target,this,t.anchor),t.props&&(this.$set(t.props),O()))}static get observedAttributes(){return["id","shipments","user","headers","items","gateways","completed"]}get id(){return this.$$.ctx[7]}set id(t){this.$$set({id:t}),O()}get shipments(){return this.$$.ctx[0]}set shipments(t){this.$$set({shipments:t}),O()}get user(){return this.$$.ctx[1]}set user(t){this.$$set({user:t}),O()}get headers(){return this.$$.ctx[2]}set headers(t){this.$$set({headers:t}),O()}get items(){return this.$$.ctx[3]}set items(t){this.$$set({items:t}),O()}get gateways(){return this.$$.ctx[4]}set gateways(t){this.$$set({gateways:t}),O()}get completed(){return this.$$.ctx[8]}set completed(t){this.$$set({completed:t}),O()}}return customElements.define("hb-page-checkout",F),F}();
1
+ var release=function(){"use strict";function t(){}function e(t){return t()}function i(){return Object.create(null)}function n(t){t.forEach(e)}function s(t){return"function"==typeof t}function r(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function o(t,e){t.appendChild(e)}function a(t,e,i){t.insertBefore(e,i||null)}function d(t){t.parentNode.removeChild(t)}function c(t){return document.createElement(t)}function l(){return t=" ",document.createTextNode(t);var t}function h(t,e,i,n){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}function p(t,e,i){null==i?t.removeAttribute(e):t.getAttribute(e)!==i&&t.setAttribute(e,i)}function m(t,e,i){e in t?t[e]="boolean"==typeof t[e]&&""===i||i:p(t,e,i)}function u(t,e,i,n){null===i?t.style.removeProperty(e):t.style.setProperty(e,i,n?"important":"")}function f(t){const e={};for(const i of t)e[i.name]=i.value;return e}let b;function g(t){b=t}function y(){if(!b)throw new Error("Function called outside component initialization");return b}function $(){const t=y();return(e,i)=>{const n=t.$$.callbacks[e];if(n){const s=function(t,e,i=!1){const n=document.createEvent("CustomEvent");return n.initCustomEvent(t,i,!1,e),n}(e,i);n.slice().forEach((e=>{e.call(t,s)}))}}}const w=[],x=[],k=[],v=[],E=Promise.resolve();let _=!1;function S(t){k.push(t)}const C=new Set;let N=0;function O(){const t=b;do{for(;N<w.length;){const t=w[N];N++,g(t),j(t.$$)}for(g(null),w.length=0,N=0;x.length;)x.pop()();for(let t=0;t<k.length;t+=1){const e=k[t];C.has(e)||(C.add(e),e())}k.length=0}while(w.length);for(;v.length;)v.pop()();_=!1,C.clear(),g(t)}function j(t){if(null!==t.fragment){t.update(),n(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(S)}}const A=new Set;function J(t,e){-1===t.$$.dirty[0]&&(w.push(t),_||(_=!0,E.then(O)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function M(r,o,a,c,l,h,p,m=[-1]){const u=b;g(r);const f=r.$$={fragment:null,ctx:null,props:h,update:t,not_equal:l,bound:i(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(o.context||(u?u.$$.context:[])),callbacks:i(),dirty:m,skip_bound:!1,root:o.target||u.$$.root};p&&p(f.root);let y=!1;if(f.ctx=a?a(r,o.props||{},((t,e,...i)=>{const n=i.length?i[0]:e;return f.ctx&&l(f.ctx[t],f.ctx[t]=n)&&(!f.skip_bound&&f.bound[t]&&f.bound[t](n),y&&J(r,t)),e})):[],f.update(),y=!0,n(f.before_update),f.fragment=!!c&&c(f.ctx),o.target){if(o.hydrate){const t=function(t){return Array.from(t.childNodes)}(o.target);f.fragment&&f.fragment.l(t),t.forEach(d)}else f.fragment&&f.fragment.c();o.intro&&(($=r.$$.fragment)&&$.i&&(A.delete($),$.i(w))),function(t,i,r,o){const{fragment:a,on_mount:d,on_destroy:c,after_update:l}=t.$$;a&&a.m(i,r),o||S((()=>{const i=d.map(e).filter(s);c?c.push(...i):n(i),t.$$.on_mount=[]})),l.forEach(S)}(r,o.target,o.anchor,o.customElement),O()}var $,w;g(u)}let L;"function"==typeof HTMLElement&&(L=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(e).filter(s);for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,i){this[t]=i}disconnectedCallback(){n(this.$$.on_disconnect)}$destroy(){!function(t,e){const i=t.$$;null!==i.fragment&&(n(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}(this,1),this.$destroy=t}$on(t,e){const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(e),()=>{const t=i.indexOf(e);-1!==t&&i.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 B="0.4.25";function R(e){let i,s,r,f,b,g,y,$,w,x,k,v;return{c(){i=c("div"),s=c("div"),r=c("div"),f=c("hb-checkout"),y=l(),$=c("div"),w=c("hb-checkout-shopping-cart"),this.c=t,m(f,"user",e[1]),m(f,"shipments",b=JSON.stringify(e[0])),m(f,"gateways",g=JSON.stringify(e[4])),p(r,"class","col-7"),u(r,"padding-right","30px"),m(w,"items",e[3]),m(w,"headers",x=JSON.stringify(e[2])),p($,"class","col-5"),u($,"padding-left","30px"),p(s,"class","row"),p(i,"class","container")},m(t,n){a(t,i,n),o(i,s),o(s,r),o(r,f),o(s,y),o(s,$),o($,w),k||(v=[h(f,"payByCard",e[9]),h(f,"payByAccount",e[10]),h(f,"saveUser",e[11]),h(f,"saveShipment",e[12])],k=!0)},p(t,[e]){2&e&&m(f,"user",t[1]),1&e&&b!==(b=JSON.stringify(t[0]))&&m(f,"shipments",b),16&e&&g!==(g=JSON.stringify(t[4]))&&m(f,"gateways",g),8&e&&m(w,"items",t[3]),4&e&&x!==(x=JSON.stringify(t[2]))&&m(w,"headers",x)},i:t,o:t,d(t){t&&d(i),k=!1,n(v)}}}function U(t,e,i){let{id:n}=e,{shipments:s}=e,{user:r}=e,{headers:o}=e,{items:a}=e,{gateways:d}=e,{completed:c}=e;const l=y(),h=$();function p(t,e){h(t,e),l.dispatchEvent&&l.dispatchEvent(new CustomEvent(t,{detail:e}))}function m(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}@${B}/release/release.js`,location.href.includes("localhost")&&(e.src=`http://localhost:6006/${t}/dist/release.js`),document.head.appendChild(e)}}function u(t){const e=s.findIndex((e=>e.id===t.id)),n=s[e];s.forEach((t=>t.selected=!1)),n.selected=!0,i(2,o.shipmentFee=n.price,o),console.log("sss",n,t)}m("checkout-shopping-cart"),m("checkout");return t.$$set=t=>{"id"in t&&i(7,n=t.id),"shipments"in t&&i(0,s=t.shipments),"user"in t&&i(1,r=t.user),"headers"in t&&i(2,o=t.headers),"items"in t&&i(3,a=t.items),"gateways"in t&&i(4,d=t.gateways),"completed"in t&&i(8,c=t.completed)},t.$$.update=()=>{415&t.$$.dirty&&(n||i(7,n=null),c||i(8,c="no"),s?"string"==typeof s&&i(0,s=JSON.parse(s)||[]):i(0,s=[]),d?"string"==typeof d&&i(4,d=JSON.parse(d)||[]):i(4,d=[]),o?"string"==typeof o&&i(2,o=JSON.parse(o)):i(2,o={}),(s.find((t=>t.selected))||s.find((t=>t.standard)))&&i(2,o.shipmentFee=(s.find((t=>t.selected))||s.find((t=>t.standard))).price,o),a||i(3,a=null),r||i(1,r=null))},[s,r,o,a,d,p,u,n,c,t=>p("payByCard",t.detail),t=>p("payByAccount",t.detail),t=>p("saveUser",t.detail),t=>u(t.detail)]}class F extends L{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");:host{font-family:"Roboto", sans-serif;display:block;margin:40px 0px 40px 0px;--hb-checkout-border:0.5px solid rgba(197, 197, 197, 0.808)}: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){}::-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){}.container{width:100%;padding-right:var(--bs-gutter-x, 0.75rem);padding-left:var(--bs-gutter-x, 0.75rem);margin-right:auto;margin-left:auto}@media(min-width: 576px){.container{max-width:540px}}@media(min-width: 768px){.container{max-width:720px}}@media(min-width: 992px){.container{max-width:960px}}@media(min-width: 1200px){.container{max-width:1140px}}@media(min-width: 1400px){.container{max-width:1320px}}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-0.5 * var(--bs-gutter-x));margin-left:calc(-0.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * 0.5);padding-left:calc(var(--bs-gutter-x) * 0.5);margin-top:var(--bs-gutter-y)}.col-5{flex:0 0 auto;width:41.66666667%}.col-7{flex:0 0 auto;width:58.33333333%}@media(min-width: 576px){}@media(min-width: 768px){}@media(min-width: 992px){}@media(min-width: 1200px){}@media(min-width: 1400px){}@media(prefers-reduced-motion: reduce){}@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{}hb-checkout-shopping-cart{border:var(--hb-checkout-border);--hb-checkout-border:0.5px solid rgba(197, 197, 197, 0.808)}</style>',M(this,{target:this.shadowRoot,props:f(this.attributes),customElement:!0},U,R,r,{id:7,shipments:0,user:1,headers:2,items:3,gateways:4,completed:8},null),t&&(t.target&&a(t.target,this,t.anchor),t.props&&(this.$set(t.props),O()))}static get observedAttributes(){return["id","shipments","user","headers","items","gateways","completed"]}get id(){return this.$$.ctx[7]}set id(t){this.$$set({id:t}),O()}get shipments(){return this.$$.ctx[0]}set shipments(t){this.$$set({shipments:t}),O()}get user(){return this.$$.ctx[1]}set user(t){this.$$set({user:t}),O()}get headers(){return this.$$.ctx[2]}set headers(t){this.$$set({headers:t}),O()}get items(){return this.$$.ctx[3]}set items(t){this.$$set({items:t}),O()}get gateways(){return this.$$.ctx[4]}set gateways(t){this.$$set({gateways:t}),O()}get completed(){return this.$$.ctx[8]}set completed(t){this.$$set({completed:t}),O()}}return customElements.define("hb-page-checkout",F),F}();
2
2
  //# sourceMappingURL=release.js.map