PageSourceSearch

https://assets.sizeer.ro/build/spk10a16-2b168d1c-rel-prod-spk10a00…/route.order_success.paypal.modern.js

js sizeer.ro collected 2026-09-25 03:11:28 UTC 15,154 bytes, 2 lines download raw bytes

1export const __rspack_esm_id=2840;export const __rspack_esm_ids=[2840];export const __webpack_modules__={7858(t,e,s){s.d(e,{A:()=>_});var r=s(12205),i=s(53079);class n extends r.$G{}!function(t,e,s,r){var i,n=arguments.length,o=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,s):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,s,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(o=(n<3?i(o):n>3?i(e,s,o):i(e,s))||o);n>3&&o&&Object.defineProperty(e,s,o)}([(0,r.kv)({required:!0,type:String})],n.prototype,"title",void 0);let o=(0,r.P9)(n);var a=s(12340);let l=(0,a.A)(o,function(){var t=this._self._c;return this._self._setupProxy,t("section",{staticClass:"order-details-section"},[t("div",{staticClass:"heading"},[t("div",{staticClass:"title"},[this._v(this._s(this.title))])]),this._v(" "),t("div",{staticClass:"content"},[this._t("default")],2)])},[],!1,null,"52ee4aca",null).exports;var d=s(516),c=s(29510),h=s(71884),u=s(42348),v=s(88085);function p(t,e,s,r){var i,n=arguments.length,o=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,s):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,s,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(o=(n<3?i(o):n>3?i(e,s,o):i(e,s))||o);return n>3&&o&&Object.defineProperty(e,s,o),o}class m extends r.$G{get order(){var t;return null!=(t=this.orderData)?t:this.gOrderService.state.order}get accountAddress(){var t,e;return null!=(t=null==(e=this.order)?void 0:e.account_address)?t:null}get transportAddress(){var t,e;return null!=(t=null==(e=this.order)?void 0:e.transport_address)?t:null}get billingAddress(){var t,e;return null!=(t=null==(e=this.order)?void 0:e.billing_address)?t:null}get billingCompany(){var t,e;return null!=(t=null==(e=this.billingAddress)?void 0:e.company)?t:""}get billingClientName(){var t,e,s,r,i;return(null==(s=this.billingCompany)?void 0:s.length)?this.billingCompany:`${null!=(t=null==(r=this.billingAddress)?void 0:r.first_name)?t:""} ${null!=(e=null==(i=this.billingAddress)?void 0:i.last_name)?e:""}`}get transportTypeCode(){var t,e;return null!=(t=null==(e=this.order)?void 0:e.transport.type.code)?t:null}get transportCompany(){var t,e;return null!=(t=null==(e=this.transportAddress)?void 0:e.company)?t:""}get transportClientName(){switch(this.transportTypeCode){case v.uG.POS:case v.uG.ORLEN_POINT:return this.transportCompany;default:var t,e;return`${null==(t=this.transportAddress)?void 0:t.first_name} ${null==(e=this.transportAddress)?void 0:e.last_name}`}}get accountClientName(){var t,e;return`${null==(t=this.accountAddress)?void 0:t.first_name} ${null==(e=this.accountAddress)?void 0:e.last_name}`}get transportMethodName(){var t,e,s;return null!=(t=null==(s=this.order)||null==(e=s.transport)?void 0:e.display_name)?t:""}get paymentMethodName(){var t,e,s;return null!=(t=null==(s=this.order)||null==(e=s.payment)?void 0:e.display_name)?t:""}get transportLogo(){var t,e;let s=null==(e=this.order)||null==(t=e.transport)?void 0:t.icon;return s?this.transformSrc(s):""}get paymentLogo(){var t,e;let s=null==(e=this.order)||null==(t=e.payment)?void 0:t.icon;return s?this.transformSrc(s):""}get billingAddressFormatted(){return this.buildAddress(this.billingAddress)}get transportAddressFormatted(){return this.buildAddress(this.transportAddress)}get accountAddressFormatted(){return this.buildAddress(this.accountAddress)}get showOrderPaymentTotal(){var t,e;return!!((null==(t=this.order)?void 0:t.payment_total)||(null==(e=this.order)?void 0:e.payment_total)===0)}get showOrderTransportTotal(){var t,e;return!!((null==(t=this.order)?void 0:t.transport_total)||(null==(e=this.order)?void 0:e.transport_total)===0)}buildAddress(t){return t?`${null==t?void 0:t.street} ${null==t?void 0:t.house_number}${(null==t?void 0:t.apartment_number)?"/":""}${null==t?void 0:t.apartment_number}
2        ${null==t?void 0:t.postcode} ${null==t?void 0:t.city}`:""}transformSrc(t){return this.gImageService.transform(t,c.T.FILEMANAGER_ORIGINAL)}formatPrice(t){return this.gPriceService.priceToString(t)}}p([(0,i.y_)(u.YN)],m.prototype,"gOrderService",void 0),p([(0,i.y_)(d.Hi)],m.prototype,"gImageService",void 0),p([(0,i.y_)(h.BB)],m.prototype,"gPriceService",void 0),p([(0,r.kv)({default:null})],m.prototype,"orderData",void 0),m=p([(0,r.XF)({OrderDetailsSection:l})],m);let y=(0,r.P9)(m),_=(0,a.A)(y,function(){var t=this._self._c;return this._self._setupProxy,this.order?t("section",{staticClass:"order-details"},[t("div",{staticClass:"col"},[t("OrderDetailsSection",{directives:[{name:"cy",rawName:"v-cy",value:"addressSection",expression:"'addressSection'"}],attrs:{title:this.$t("Checkout.Summary.ClientAddress")}},[t("div",{staticClass:"name"},[this._v(this._s(this.accountClientName))]),this._v(" "),t("div",{staticClass:"address"},[this._v(this._s(this.$t("Checkout.summary.StreetPrefix"))+" "+this._s(this.accountAddressFormatted))])]),this._v(" "),t("OrderDetailsSection",{directives:[{name:"cy",rawName:"v-cy",value:"transportSection",expression:"'transportSection'"}],attrs:{title:this.$t("Checkout.Summary.DeliveryAddress")}},[t("div",{directives:[{name:"cy",rawName:"v-cy",value:"transportName",expression:"'transportName'"}],staticClass:"name"},[this._v(this._s(this.transportClientName))]),this._v(" "),t("div",{staticClass:"address"},[this._v(this._s(this.$t("Checkout.summary.StreetPrefix"))+" "+this._s(this.transportAddressFormatted))])]),this._v(" "),this.billingAddress?t("OrderDetailsSection",{directives:[{name:"cy",rawName:"v-cy",value:"invoiceSection",expression:"'invoiceSection'"}],attrs:{title:this.$t("Checkout.Summary.BillingAddress")}},[t("div",{staticClass:"name"},[this._v(this._s(this.billingClientName))]),this._v(" "),t("div",{staticClass:"address"},[this._v(this._s(this.$t("Checkout.summary.StreetPrefix"))+" "+this._s(this.billingAddressFormatted))])]):this._e()],1),this._v(" "),t("div",{staticClass:"col"},[t("OrderDetailsSection",{directives:[{name:"cy",rawName:"v-cy",value:"paymentSection",expression:"'paymentSection'"}],staticClass:"payment",attrs:{title:this.$t("Checkout.Summary.PaymentMethod")}},[t("UIImage",{attrs:{alt:this.paymentMethodName,src:this.paymentLogo,height:"36px",width:"54px"}}),this._v(" "),t("div",{directives:[{name:"cy",rawName:"v-cy",value:"paymentName",expression:"'paymentName'"}],staticClass:"payment-name"},[this._v(this._s(this.paymentMethodName)+"\n        "),this.showOrderPaymentTotal?[this._v("\n          - "),t("b",[this._v(this._s(this.formatPrice(this.order.payment_total)))])]:this._e()],2)],1),this._v(" "),t("OrderDetailsSection",{directives:[{name:"cy",rawName:"v-cy",value:"deliverySection",expression:"'deliverySection'"}],staticClass:"transport",attrs:{title:this.$t("Checkout.Summary.DeliveryMethod")}},[t("UIImage",{attrs:{alt:this.transportMethodName,src:this.transportLogo,height:"36px",width:"54px"}}),this._v(" "),t("div",{directives:[{name:"cy",rawName:"v-cy",value:"deliveryMethodName",expression:"'deliveryMethodName'"}],staticClass:"transport-name"},[this._v(this._s(this.transportMethodName)+"\n        "),this.showOrderTransportTotal?[this._v("\n          - "),t("b",[this._v(this._s(this.formatPrice(this.order.transport_total)))])]:this._e()],2)],1)],1)]):this._e()},[],!1,null,"03488170",null).exports},65232(t,e,s){s.d(e,{A:()=>g});var r=s(12205),i=s(7858),n=s(53079),o=s(42348),a=s(59306),l=s(30775),d=s(14057),c=s(14874),h=s(3797),u=s(25971),v=s(43807),p=s(9068),m=s(5807);function y(t,e,s,r){var i,n=arguments.length,o=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,s):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,s,r);else for(var a=t.length-1;a>=0;
2a--)(i=t[a])&&(o=(n<3?i(o):n>3?i(e,s,o):i(e,s))||o);return n>3&&o&&Object.defineProperty(e,s,o),o}class _ extends r.$G{get order(){return this.gOrderService.state.order}get orderNumber(){var t,e,s;return null!=(t=null==(s=this.gOrderService.state)||null==(e=s.order)?void 0:e.number)?t:""}get email(){var t,e,s,r;return null!=(t=null==(r=this.gOrderService.state)||null==(s=r.order)||null==(e=s.account_address)?void 0:e.email)?t:""}get classList(){return{"order-confirmation-simple":this.confirmationType===this.orderConfirmationTypes.SIMPLE,"order-confirmation-unknown":this.confirmationType===this.orderConfirmationTypes.UNKNOWN,"order-confirmation-success":this.confirmationType===this.orderConfirmationTypes.SUCCESS,"order-confirmation-error":this.confirmationType===this.orderConfirmationTypes.ERROR}}async handleGtmEvents(){await this.gCustomerService.waitUntilReady(),this.confirmationType===this.orderConfirmationTypes.SIMPLE&&(await this.gGTMEventsTransactionController.sendTransactionEvent(this.order),await this.gGTMEventsTransactionController.sendTransactionGtag(this.order))}getMeta(){return{link:[{rel:"stylesheet",href:this.gAssetsService.build("route.order_confirmation.css"),fetchpriority:"high"}]}}orderNumberChanged(){this.gCircleWiseService&&this.orderNumber&&this.gCircleWiseService.injectCircleWiseScript(),this.gTrustedShopsService&&this.orderNumber&&this.gTrustedShopsService.injectTrustedShopsCheckout()}async $mounted(){this.order||await this.gEvents.waitFor(u.A),await this.handleGtmEvents()}constructor(...t){super(...t),this.orderConfirmationTypes=m.v}}y([(0,n.y_)(h.AK)],_.prototype,"gGTMEventsTransactionController",void 0),y([(0,n.y_)(a.yh)],_.prototype,"gEvents",void 0),y([(0,n.y_)(o.YN)],_.prototype,"gOrderService",void 0),y([(0,n.y_)(c.yz)],_.prototype,"gCustomerService",void 0),y([(0,n.y_)(p.x)],_.prototype,"gAssetsService",void 0),y([(0,n.UN)(l.G)],_.prototype,"gCircleWiseService",void 0),y([(0,n.UN)(d.K)],_.prototype,"gTrustedShopsService",void 0),y([(0,r.kv)()],_.prototype,"confirmationType",void 0),y([(0,v.A)()],_.prototype,"getMeta",null),y([(0,r.ox)("orderNumber")],_.prototype,"orderNumberChanged",null),_=y([(0,r.XF)({OrderDetails:i.A})],_);let f=(0,r.P9)(_),g=(0,s(12340).A)(f,function(){var t=this._self._c;return this._self._setupProxy,t("main",{staticClass:"confirmation",class:this.classList},[t("h1",{staticClass:"sr-only"},[this._v(this._s(this.$t("Order.ThankYou")))]),this._v(" "),this.confirmationType===this.orderConfirmationTypes.SIMPLE?t("section",{staticClass:"order-confirmation thank-you"},[t("h2",{staticClass:"section-title-simple"},[this._v(this._s(this.$t("Order.ThankYou")))])]):this._e(),this._v(" "),this.confirmationType===this.orderConfirmationTypes.UNKNOWN?t("section",{staticClass:"order-confirmation thank-you"},[t("h2",{staticClass:"section-title-unknown"},[this._v(this._s(this.$t("Order.ThankYou")))]),this._v(" "),t("div",{staticClass:"confirmation-text"},[this._v(this._s(this.$t("Order.DetailsSentStatusUnknown")))])]):this._e(),this._v(" "),this.confirmationType===this.orderConfirmationTypes.SUCCESS?t("section",{staticClass:"payment-status"},[t("h2",{staticClass:"section-title"},[this._v(this._s(this.$t("Order.PaymentStatus")))]),this._v(" "),t("div",{staticClass:"payment-success"},[this._v(this._s(this.$t("Order.PaymentSuccess")))]),this._v(" "),t("div",{staticClass:"payment-status-text"},[this._v(this._s(this.$t("Order.ThankYou")))])]):this._e(),this._v(" "),this.confirmationType===this.orderConfirmationTypes.ERROR?t("section",{staticClass:"payment-status"},[t("h2",{staticClass:"section-title"},[this._v(this._s(this.$t("Order.PaymentStatus")))]),this._v(" "),t("div",{staticClass:"payment-error",attrs:{role:"alert"}},[this._v(this._s(this.$t("Order.PaymentError")))]),this._v(" "),t("div",{staticClass:"payment-status-text"},[this._v(this._s(this.$t("Order.CheckEmail")))])]):this._e(),this._v(" "),t("section",{staticClass:"order-confirmation"},[this.orderNumber||this.email?t("h2",{staticClass:"section-title"},[this._v(this._s(this.$t("Order.ConfirmationTitle")))]):this._e(),this._v(" "),this.orderNumber?t("div",{staticClass:"order-number"},[this._v("\n      "+this._s(this.$t("Order.OrderNumber"))+" "),t("strong",[this._v(this._s(this.orderNumber))])]):this._e(),this._v(" "),this.confirmationType===this.orderConfirmationTypes.SIMPLE?t("div",{staticClass:"confirmation-text"},[this._v(this._s(this.$t("Order.DetailsSent")))]):this.email?t("div",{staticClass:"confirmation-text"},[this._v(this._s(this.$t("Order.ConfirmationText"))+" "+this._s(this.email))]):this._e(),this._v(" "),t("UIButton",{staticClass:"button",attrs:{variant:"secondary",route:"Home:HomePage"}}
2,[this._v(this._s(this.$t("Order.GoBackToShop")))])],1),this._v(" "),t("OrderDetails")],1)},[],!1,null,"37a65940",null).exports},12558(t,e,s){s.r(e),s.d(e,{PaymentSuccess:()=>o,default:()=>l});var r=s(12205),i=s(65232),n=s(5807);class o extends r.$G{constructor(...t){super(...t),this.orderConfirmationTypes=n.v}}o=function(t,e,s,r){var i,n=arguments.length,o=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,s):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,s,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(o=(n<3?i(o):n>3?i(e,s,o):i(e,s))||o);return n>3&&o&&Object.defineProperty(e,s,o),o}([(0,r.XF)({Confirmation:i.A})],o);let a=(0,r.P9)(o),l=(0,s(12340).A)(a,function(){var t=this._self._c;return this._self._setupProxy,t("Confirmation",{attrs:{confirmationType:this.orderConfirmationTypes.SUCCESS}})},[],!1,null,null,null).exports},59051(t,e,s){s.r(e);var r=s(82710),i=s(53079),n=s(42348);class o extends r.A{async beforeClientEnter(){await this.gOrderService.loadFinishedOrder(),await this.gOrderService.executePayment()}constructor(...t){super(...t),this.config={name:"Order:OrderPaymentPayPalSuccess",path:"/payment/paypal/success/:hash",component:()=>s.e(2840).then(s.bind(s,12558))},this.breadcrumbs=[o]}}!function(t,e,s,r){var i,n=arguments.length,o=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,s):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,s,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(o=(n<3?i(o):n>3?i(e,s,o):i(e,s))||o);n>3&&o&&Object.defineProperty(e,s,o)}([(0,i.y_)(n.YN)],o.prototype,"gOrderService",void 0),s.d(e,{default:()=>o})},5807(t,e,s){var r,i=((r={}).SIMPLE="simple",r.UNKNOWN="unknown",r.SUCCESS="success",r.ERROR="error",r);s.d(e,{v:()=>i})},30775(t,e,s){let r=(0,s(53079).lz)("ENP0010A12:CircleWiseService");s.d(e,{},{G:r})},14057(t,e,s){let r=(0,s(53079).lz)("ENP0010A28:TrustedShopsService");s.d(e,{},{K:r})},82710(t,e,s){var r=s(82831),i=s(59306),n=s(46398),o=s(61641);function a(t,e,s,r){var i,n=arguments.length,o=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,s):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,s,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(o=(n<3?i(o):n>3?i(e,s,o):i(e,s))||o);return n>3&&o&&Object.defineProperty(e,s,o),o}class l{buildMetaTag(){return{}}beforeEnter(t){}beforeClientEnter(t){}getDisplayName(){return this.gTranslations.translate(`Layout.breadcrumbs.${this.config.name}`)}constructor(){this.breadcrumbs=[],this.middlewares=[],setTimeout(()=>{var t;this.config={...this.config,component:o.zH.defineAsyncComponent(null==(t=this.config)?void 0:t.component)}},0)}}a([(0,r.A)(i.dS)],l.prototype,"gTranslations",void 0),a([(0,r.A)(n.VG)],l.prototype,"gMetaService",void 0),s.d(e,{A:()=>l})}};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.