PageSourceSearch

https://static.cdn.printful.com/dist-pf/order-fast-checkout-vue.201721ab82465640e1db.js

js printful.com collected 2026-09-24 15:16:36 UTC 6,378 bytes, 3 lines download raw bytes

1try{let o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new o.Error().stack;l&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[l]="dc4625ab-ccbc-4923-9865-56c7c7e24b71",o._sentryDebugIdIdentifier="sentry-dbid-dc4625ab-ccbc-4923-9865-56c7c7e24b71")}catch{}{let o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};o.SENTRY_RELEASE={id:"printful@858f9920903d8e2121c97d5d82b694a77d27885a"}}/*! License information is available at https://static.cdn.printful.com/dist-pf/order-fast-checkout-vue.licenses.txt if third party dependencies are included */(self.webpackChunkwebpackpf=self.webpackChunkwebpackpf||[]).push([[3970],{37010:(o,l,i)=>{i.r(l),i.d(l,{default:()=>R});var n=function(){var t=this,r=t._self._c;return t.products.length?r("div",{staticClass:"pf-px-16 pf-px-sm-0 pf-border-top pf-border-sm-top-0"},[r("h3",{staticClass:"pf-h3 pf-mb-4 pf-mt-48 pf-mt-sm-32 pf-text-center"},[t._v(t._s(t.dclang("orders","fast checkout","Choose joy")))]),t._v(" "),r("p",{staticClass:"pf-ui-body pf-mb-32 pf-mb-sm-24 pf-text-center"},[t._v(`
2        `+t._s(t.dclang("orders","fast checkout","One click and it\u2019s yours"))+`
3    `)]),t._v(" "),r("div",{staticClass:"row"},t._l(t.products,function(s,S){return r("div",{key:`fast-checkout-item-${S}`,staticClass:"col-12 col-lg-6 pf-mb-16 pf-mb-lg-0"},[r("order-fast-checkout-item",{attrs:{"upsell-product-data":s,"selling-region-setting":t.sellingRegionSetting},on:{"on-add-to-cart":t.onAddToCart}})],1)}),0)]):t._e()},g=[];n._withStripped=!0;var c=function(){var t=this,r=t._self._c;return r("div",{staticClass:"pf-border pf-rounded pf-hover-shadow pf-text-decoration-none pf-cursor-pointer",on:{click:t.addToCart}},[r("div",{staticClass:"pf-d-block pf-d-xs-flex pf-flex-grow"},[r("div",{staticClass:"pf-d-flex"},[r("img",{staticClass:"img-responsive pf-rounded-left",attrs:{src:t.upsellProductData.upsellProductImage,alt:""}}),t._v(" "),r("div",{staticClass:"pf-h5 pf-d-inline-block pf-d-xs-none pf-align-self-center pf-ml-16 pf-mr-8"},[t._v(t._s(t.product.getFullTitle()))])]),t._v(" "),r("div",{staticClass:"pf-d-flex pf-flex-column pf-p-16 pf-flex-grow pf-border-top pf-border-xs-top-0"},[r("div",{staticClass:"pf-mb-auto"},[r("div",{staticClass:"pf-h5 pf-mb-8 pf-d-none pf-d-xs-block"},[t._v(t._s(t.product.getFullTitle()))]),t._v(" "),r("div",{staticClass:"pf-ui-caption pf-mb-4 pf-mb-xs-0"},[t.estimatedDeliveryFlagData?r("img",{staticClass:"edt-flag pf-mr-4",attrs:{src:t.estimatedDeliveryFlagData.flagUrl,alt:t.estimatedDeliveryFlagData.countryName}}):t._e(),t._v(" "),r("span",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.estimatedDeliveryTooltip,expression:"estimatedDeliveryTooltip"}],domProps:{innerHTML:t._s(t.estimatedDeliveryText)}})])]),t._v(" "),r("div",{staticClass:"pf-m-0 pf-d-block pf-d-xs-flex pf-justify-content-between"},[r("div",{ref:"product-price",staticClass:"pf-mb-16 pf-mb-xs-0"}),t._v(" "),r("div",[r("em",{staticClass:"pf-i pf-i-cart-plus pf-i-24 pf-text-gray-400"}),t._v(" "),r("a",{staticClass:"pf-link",attrs:{href:"javascript:"},on:{click:function(s){return s.stopPropagation(),t.addToCart.apply(null,arguments)}}},[t._v(t._s(t.dlang("orders","Add to cart")))])])])])])])},v=[];c._withStripped=!0;var h=i(51447),d=i(9129),y=i(82311),_=i(75864);function p(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,u(s.key),s)}}function b(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t,r){return(t=u(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e){var t=P(e,"string");return typeof t=="symbol"?t:t+""}function P(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var s=r.call(e,t||"default");if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}let f=b(function e(t){C(this,e),a(this,"upsellProductId",null),a(this,"upsellProductImage",null),a(this,"product",null),a(this,"productTemplate",null),this.upsellProductId=t.upsellProductId,this.upsellProductImage=t.upsellProductImage,this.product=y.PFItemsProductItem.fromArray(t.product),this.productTemplate=new _.nB(t.productTemplate)});const k={name:"OrderFastCheckoutItem",props:{upsellProductData:{type:f,required:!0},sellingRegionSetting:{type:d.fP,required:!0}},computed:{product(){return this.upsellProductData.product},productTemplate(){return this.upsellProductData.productTemplate},estimatedDeliveryText(){const e=this.product.estimateDeliveryFormatted;return!e&&!e.title?"":e.range?`${e.title} ${e.range}`:e.title},estimatedDeliveryTooltip(){return this.product.estimateDeliveryFormatted.tooltip},estimatedDeliveryFlagData(){return this.estimatedDeliveryTooltip||!this.sellingRegionSetting.isSingleCountry()?null:{countryName:this.sellingRegionSetting.getName(),flagUrl:this.sellingRegionSetting.getIcon()}}},mounted(){this.$refs["product-price"].append(this.getProductPrice())},methods:{getProductPrice(){return h.T.createDiscountElementFromPriceRange(this.product.priceRange,0)},addToCart(){this.$emit("on-add-to-cart",[this.upsellProductData.upsellProductId,this.productTemplate])}}};var m=i(14486),D=(0,m.A)(k,c,v,!1,null,"a9c229f0",null);const T=D.exports;var F=i(69892);const I=(e,t,r)=>(0,F.RPC)("/rpc/order-rpc/get-fast-checkout-products",{storeId:e,currency:t,techniques:r});var x=i(15476);const w={name:"OrderFastCheckout",components:{OrderFastCheckoutItem:T},props:{storeId:{type:Number,required:!0},currency:{type:String,required:!0},techniques:{type:Array,default:()=>[]}},data:()=>({products:[],sellingRegionSetting:null}),async created(){var e;const{products:t,sellingRegionSetting:r}=await I(this.storeId,this.currency,this.techniques);this.products=(t||[]).map(s=>new f(s)),this.sellingRegionSetting=new d.fP(r),(e=this.products)!==null&&e!==void 0&&e.length&&(0,x.NCO)({category:"b2c checkout",location:"upsell block (fast checkout)"})},methods:{onAddToCart(e){this.$emit("on-add-to-cart",e)}}};var O=(0,m.A)(w,n,g,!1,null,null,null);const R=O.exports}}]);

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.