PageSourceSearch

https://static.cdn.printful.com/dist-pf/38012.221d1effb5f6d7ad16fc.js

js printful.com collected 2026-10-02 02:12:04 UTC 36,170 bytes, 13 lines download raw bytes

1try{let c=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},_=new c.Error().stack;_&&(c._sentryDebugIds=c._sentryDebugIds||{},c._sentryDebugIds[_]="e7d934c3-7919-4292-95be-1e2eeb119a79",c._sentryDebugIdIdentifier="sentry-dbid-e7d934c3-7919-4292-95be-1e2eeb119a79")}catch{}{let c=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};c.SENTRY_RELEASE={id:"printful@5f163c36b2672f5357dbc5c7880c4a05aa5e334c"}}/*! License information is available at https://static.cdn.printful.com/dist-pf/38012.licenses.txt if third party dependencies are included */(self.webpackChunkwebpackpf=self.webpackChunkwebpackpf||[]).push([[38012,69892,93169],{4092:(c,_,o)=>{o.d(_,{Url:()=>E});/*!
2 * Lightweight URL manipulation with JavaScript
3 * This library is independent of any other libraries and has pretty simple interface
4 * and lightweight code-base.
5 * Some ideas of query string parsing had been taken from Jan Wolter
6 * @see http://unixpapa.com/js/querystring.html
7 *
8 * @license MIT
9 * @author Mykhailo Stadnyk <[email protected]>
10 */const E=function(){"use strict";var t={protocol:"protocol",host:"hostname",port:"port",path:"pathname",query:"search",hash:"hash"},p={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},e=function(s,i){var l=document,a=l.createElement("a"),i=i||l.location.href,d=i.match(/\/\/(.*?)(?::(.*?))?@/)||[];a.href=i;for(var y in t)s[y]=a[t[y]]||"";if(s.protocol=s.protocol.replace(/:$/,""),s.query=s.query.replace(/^\?/,""),s.hash=s.hash.replace(/^#/,""),s.user=d[1]||"",s.pass=d[2]||"",s.port=p[s.protocol]==s.port||s.port==0?"":s.port,!s.protocol&&!/^([a-z]+:)?\/\//.test(i)){var m=new E(l.location.href.match(/(.*\/)/)[0]),O=m.path.split("/"),g=s.path.split("/");O.pop();for(var y=0,S=["protocol","user","pass","host","port"],C=S.length;y<C;y++)s[S[y]]=m[S[y]];for(;g[0]=="..";)O.pop(),g.shift();s.path=(i.substring(0,1)!="/"?O.join("/"):"")+"/"+g.join("/")}else s.path=s.path.replace(/^\/?/,"/");u(s)},n=function(s){return s=s.replace(/\+/g," "),s=s.replace(/%([ef][0-9a-f])%([89ab][0-9a-f])%([89ab][0-9a-f])/gi,function(r,l,a,i){var d=parseInt(l,16)-224,y=parseInt(a,16)-128;if(d==0&&y<32)return r;var m=parseInt(i,16)-128,O=(d<<12)+(y<<6)+m;return O>65535?r:String.fromCharCode(O)}),s=s.replace(/%([cd][0-9a-f])%([89ab][0-9a-f])/gi,function(r,l,a){var i=parseInt(l,16)-192;if(i<2)return r;var d=parseInt(a,16)-128;return String.fromCharCode((i<<6)+d)}),s=s.replace(/%([0-7][0-9a-f])/gi,function(r,l){return String.fromCharCode(parseInt(l,16))}),s},u=function(s){var r=s.query;s.query=new function(l){for(var a=/([^=&]+)(=([^&]*))?/g,i;i=a.exec(l);){var d=decodeURIComponent(i[1].replace(/\+/g," ")),y=i[3]?n(i[3]):"";this[d]!=null?(this[d]instanceof Array||(this[d]=[this[d]]),this[d].push(y)):this[d]=y}this.clear=function(){const m="_hj";for(d in this)!(this[d]instanceof Function)&&!d.startsWith(m)&&delete this[d]},this.toObject=function(){const m={};for(const O in this){const g=this[O];g instanceof Function||(m[O]=g)}return m},this.toString=function(){var m="",O=encodeURIComponent;for(var g in this)if(!(this[g]instanceof Function))if(this[g]instanceof Array){var S=this[g].length;if(S)for(var C=0;C<S;C++)m+=m?"&":"",m+=O(g)+"="+O(this[g][C]);else m+=(m?"&":"")+O(g)+"="}else m+=m?"&":"",m+=O(g)+"="+O(this[g]);return m}}(r)};return function(s){this.toString=function(){return(this.protocol&&this.protocol+"://")+(this.user&&this.user+(this.pass&&":"+this.pass)+"@")+(this.host&&this.host)+(this.port&&":"+this.port)+(this.path&&this.path)+(this.query.toString()&&"?"+this.query)+(this.hash&&"#"+this.hash)},this.toRelativeString=function(){return(this.path&&this.path)+(this.query.toString()&&"?"+this.query)+(this.hash&&"#"+this.hash)},e(this,s)}}();window&&((globalThis||{}).Url=E)},4827:(c,_,o)=>{o.r(_),o.d(_,{mkE:()=>t,tag:()=>p});var E=o(67741);function t(e){let n;if(!e.tag&&typeof e.text!="string")return!1;if(e.tag){switch(e.prop=e.prop||{},e.tag){case"img":e.src&&(e.prop.src=e.src),e.alt&&(e.prop.alt=e.alt);break;case"a":e.prop.href=e.prop.href||e.href||"javascript:",e.target&&(e.prop.target=e.target);break;case"select":typeof e.value<"u"&&(e.prop.value=e.value),e.name&&(e.prop.name=e.name);break;case"option":e.value&&(e.prop.value=e.value);break;case"input":e.value&&(e.prop.value=e.value),e.type&&(e.prop.type=e.type),e.name&&(e.prop.name=e.name),e.checked&&(e.prop.checked=e.checked),e.type&&e.type=="checkbox"&&e.prop.checked&&(e.prop.defaultChecked=e.prop.checked);break;case"textarea":e.value&&(e.prop.value=e.value),e.name&&(e.prop.name=e.name);break;case"iframe":e.src&&(e.prop.src=e.src);break}e.id&&(e.prop.id=e.id),e.className&&(e.prop.className=e.className),e.style&&(e.prop.style=e.style),e.innerHTML&&(e.prop.innerHTML=e.innerHTML),e.onclick&&(e.prop.onclick=e.onclick),e.ondblclick&&(e.prop.ondblclick=e.ondblclick),e.onmouseenter&&(e.prop.onmouseenter=e.onmouseenter),e.onmouseleave&&(e.prop.onmouseleave=e.onmouseleave),e.ontouchstart&&(e.prop.ontouchstart=e.ontouchstart),e.ontouchmove&&(e.prop.ontouchmove=e.ontouchmove),e.ontouchend&&(e.prop.ontouchend=e.ontouchend),e.title&&(e.prop.title=e.title);const u=e.tag;if(e.tag==u)n=document.createElement(e.tag);else try{n=document.createElement(e.tag)}catch{n=document.createElement(u)}e.component&&(n.component=e.component);let s;if(e.data&&typeof e.data=="object")for(s in e.data)n.setAttribute("data-"+s,e.data[s]);if(e.attr)for(const r in e.attr)n.setAttribute(r,e.attr[r]);if(e.els&&typeof e.els=="object"){e.innerHTML&&console.warn("innerHTML prop will over
10write els prop value. Use only one of them, not both");let r;for(s in e.els){switch(r=e.els[s],typeof r){case"number":n.appendChild(document.createTextNode(String(r)));continue;case"string":n.appendChild(document.createTextNode(r));continue;case"object":if(!r.nodeType&&r.tag){r=t(r);break}if(r instanceof Array){for(let l=0;l<r.length;++l)t._appendTypeElement(n,r[l]);continue}break;case"boolean":continue;case"undefined":console&&console.error&&console.error("mkE: undefined child",e);continue}r.append?r.append(n):n.appendChild(r)}}e.els&&typeof e.els=="string"&&(e.innerHTML=e.els),t.O2O(n,e.prop),typeof e.text<"u"&&n.appendChild(document.createTextNode(e.text)),n.append=t.append,n.appendTo=t.appendTo,n.prepend=t.prepend,n.remove=t.remove,n.replace=t.replace}else n=document.createTextNode(e.text);return n}t.append=function(e){return typeof e=="string"&&(e=document.getElementById(e)),e.appendChild(this),this},t.prepend=function(e){return e.firstChild?(t.insertBefore(this,e.firstChild),this):(e.appendChild(this),this)},t.remove=function(e=!0){return t.removeNode(this,e),this},t.clear=function(e=!0){return t.clearNode(this,e),this},t._appendTypeElement=function(e,n){switch(typeof n){case"number":e.appendChild(document.createTextNode(String(n)));return;case"string":e.appendChild(document.createTextNode(n));return;case"object":if(!n.nodeType&&n.tag){n=t(n);break}if(n instanceof Array){for(var u=0;u<n.length;++u)t._appendTypeElement(e,n[u]);return}break;case"boolean":return;case"undefined":console&&console.error&&console.error("mkE: undefined child",e);return}n.append?n.append(e):e.appendChild(n)},t.appendTo=function(e,n){return typeof n>"u"&&(n=!0),typeof e=="string"&&(n?e=$(e)[0]:e=document.getElementById(e)),e instanceof Array&&(e=t.reset(e)),e.appendChild(this),this},t.replace=function(e,n=!0){return e.parentNode?(t.insertBefore(this,e),t.removeNode(e,n),this):this},t.removeNode=function(e,n=!0){if(e.parentNode&&e.parentNode.tagName){const u=e.parentNode.removeChild(e);return n&&t.destroyNodeComponents(e),u}return!1},t.clearNode=function(e,n=!0){let u=e.firstChild;for(;u;){if(n&&t.destroyNodeComponents(u),u instanceof t.Base||u instanceof E.R?u.remove(!1):u.remove?u.remove():t.removeNode(u,!1),u===e.firstChild)throw new Error("Infinite loop in clearNode!");u=e.firstChild}},t.destroyNodeComponents=function(e){if(!e||!e.getElementsByTagName)return;const n=u=>{var s;[...u.children].forEach(l=>{n(l)});const r=u.__destroyed;u.__destroyed=!0,(s=u.component)!==null&&s!==void 0&&s.destroy&&!r&&u.component.destroy()};n(e)},t.addClassName=function(e,n){var u=e.className.split(" "),s=!1,r;for(r=0;r<u.length;r++)u[r]==n&&(s=!0);return s||u.push(n),e.className=u.join(" "),e},t.setNodeText=function(e,n){if(typeof e.textContent=="string")e.textContent=n;else if(typeof e.innerText=="string")e.innerText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(e.createTextNode(n))}},t.hasClassName=function(e,n){return(" "+e.className+" ").indexOf(" "+n+" ")>-1},t.removeClassName=function(e,n){for(var u=e.className.split(" "),s=[],r=0;r<u.length;r++)u[r]!==n&&s.push(u[r]);return e.className=s.join(" "),e},t.O2O=function(e,n){if(typeof e>"u"||typeof n>"u")return e;for(var u in n){var s=n[u];if(typeof s>"u"&&console&&console.error){if(document.location.href.indexOf(".local")>0)throw new Error("mkE O2O undefined key");console.error("mkE O2O undefined key",n,u)}if(s&&s.constructor==Object)e[u]||(e[u]={}),t.O2O(e[u],s);else try{e[u]=s}catch{}}return e},t.reset=function(e){for(var n in e)return e[n];return null}
10,t.insertBefore=function(e,n){n.parentNode.insertBefore(e,n)},t.Base=E.R,t.Par=function(){},t.Par.prototype.alt="",t.Par.prototype.attr={},t.Par.prototype.checked=!1,t.Par.prototype.className="",t.Par.prototype.data=null,t.Par.prototype.els=[],t.Par.prototype.href="",t.Par.prototype.id="",t.Par.prototype.innerHTML="",t.Par.prototype.name="",t.Par.prototype.onclick=null,t.Par.prototype.ondblclick=null,t.Par.prototype.onmouseenter=null,t.Par.prototype.onmouseleave=null,t.Par.prototype.ontouchstart=null,t.Par.prototype.ontouchmove=null,t.Par.prototype.ontouchend=null,t.Par.prototype.prop={},t.Par.prototype.src="",t.Par.prototype.style="",t.Par.prototype.tag="",t.Par.prototype.target="",t.Par.prototype.text="",t.Par.prototype.title="",t.Par.prototype.type="",t.Par.prototype.value="";function p(e,n,u){if(typeof e>"u")throw new Error("Tag not specified");let s={tag:e};if(typeof n=="string")s.className=n;else if(typeof n=="object"&&typeof n!==null)for(const r in n)n.hasOwnProperty(r)&&(s[r]=n[r]);if(typeof u>"u"||u===null)return t(s);if((typeof u=="string"||typeof u=="number")&&(u=[u+""]),!Array.isArray(u))throw new Error("Incorrect children specified");return s.els=u,t(s)}(globalThis||{}).mkE=t,(globalThis||{}).tag=p},15108:(c,_,o)=>{o.d(_,{Kg:()=>u,W$:()=>r,xA:()=>s});var E=o(2543),t=o.n(E),p=o(74785),e=o(93169);const n="GettyAssetNotAllowed";function u(l,a,i,d,y,m=!1,O=!1){const S={requestUrl:i,statusCode:l,payload:y,errorResponse:a};let C,R;if(l===404)r(dlang("dashboard","Whoa, we encountered an unexpected problem. Please, refresh the page and try again! If this persists, please contact us!"),m),C="RPC endpoint not found!",R="RPC_ENDPOINT_NOT_FOUND";else if(l===504)r(dlang("dashboard","Whoa, it seems that the communication to server timed-out. Please, refresh the page and try again! If this persists, please contact us!"),m),C="RPC call timed out!",R="RPC_TIMED_OUT";else if(l===429)alert(a.message),C="RPC call throttled!",R="RPC_THROTTLED";else if(l===403&&a.permissionError)alert(a.permissionError+`
11
12Url: `+i),C="Permission to call RPC endpoint denied!",R="RPC_PERMISSION_DENIED";else if(l===302){const D=d["X-Redirect-Error-Message"];let w="";t().isEmpty(D)||(w=` - ${D}`),r(dlang("dashboard","Sorry, an error occurred {messageSubstr}! If this issue persists, please contact [email protected]").replace("{messageSubstr}",w),m),C="RPC call triggered a redirect!",R="RPC_REDIRECT_ENCOUNTERED"}else if(l===400&&a.name===n)r(a.message,m),C="RPC call rejected Getty assets!",R="RPC_GETTY_ASSET_NOT_ALLOWED";else if(l!==0){if([403,503].includes(l)){switch(l){case 403:C="Permission to call RPC endpoint denied!",R="RPC_PERMISSION_DENIED";break;case 503:C="RPC call encountered CloudFlare challenge!",R="RPC_CLOUDFLARE_CHALLENGE_ENCOUNTERED";break}const D=`_pf_${l}_reload`;if(!document.cookie.includes(D))return document.cookie=`${D}=1;max-age=60`,location.reload(),new p.Ch(C,{info:{...S,code:R}})}r(O?dlang("dashboard","[ {statusCode} ] Sorry, an error occurred. Reload the page and try again.").replace("{statusCode}",l):dlang("dashboard","[ {statusCode} ] Sorry, an error occurred. Reload the page and try again. If this persists, please contact [email protected] URL: {requestUrl}").replace("{statusCode}",l).replace("{requestUrl}",i),m)}else console.error("Unknown error",i,y);return(!C||!R)&&(C="RPC call encountered an unknown issue!",R="RPC_UNKNOWN_ERROR"),new p.Ch(C,{info:{...S,code:R}})}function s(l,a){return l.output&&console.info(a+` output:
13`+l.output),l.csrf&&window.yii.setCsrfToken(l.csrf[0],l.csrf[1]),l.result}function r(l,a=!1){if(a){console.warn(l);return}
13new e.PFComponentsSnackbar({type:e.PFComponentsSnackbar.TYPE_ERROR,content:l})}},17795:(c,_,o)=>{o.d(_,{a:()=>a});var E=o(2543),t=o.n(E);function p(i,d){if(!(i instanceof d))throw new TypeError("Cannot call a class as a function")}function e(i,d){for(var y=0;y<d.length;y++){var m=d[y];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(i,s(m.key),m)}}function n(i,d,y){return d&&e(i.prototype,d),y&&e(i,y),Object.defineProperty(i,"prototype",{writable:!1}),i}function u(i,d,y){return(d=s(d))in i?Object.defineProperty(i,d,{value:y,enumerable:!0,configurable:!0,writable:!0}):i[d]=y,i}function s(i){var d=r(i,"string");return typeof d=="symbol"?d:d+""}function r(i,d){if(typeof i!="object"||!i)return i;var y=i[Symbol.toPrimitive];if(y!==void 0){var m=y.call(i,d||"default");if(typeof m!="object")return m;throw new TypeError("@@toPrimitive must return a primitive value.")}return(d==="string"?String:Number)(i)}let l=function(){function i(){p(this,i),u(this,"toArrayKeys",[])}return n(i,[{key:"toArray",value:function(y,m){y=y||{},m=m||this.toArrayKeys;const O={};for(const g in m){const S=m[g];let C=this[S];if(C&&t().isObject(C))if(t().isFunction(C.toArray))C=C.toArray(y);else{const R={};for(const D in C){const w=C[D];t().isObject(w)&&t().isFunction(w.toArray)?R[D]=w.toArray(y):R[D]=w}C=R}O[S]=t().isBoolean(C)?C?1:0:C}return O}}])}();const a=l;(globalThis||{}).PFItemsItem=l},51566:(c,_,o)=>{o.d(_,{T:()=>I});var E=o(52420),t=o.n(E),p=o(40346),e=o.n(p),n=o(23805),u=o.n(n),s=o(58156),r=o.n(s),l=o(62193),a=o.n(l),i=o(85015),d=o.n(i),y=o(74785);function m(f,h){for(var T=0;T<h.length;T++){var L=h[T];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(f,F(L.key),L)}}function O(f,h,T){return h&&m(f.prototype,h),T&&m(f,T),Object.defineProperty(f,"prototype",{writable:!1}),f}function g(f,h){if(!(f instanceof h))throw new TypeError("Cannot call a class as a function")}function S(f,h,T){return h=w(h),C(f,D()?Reflect.construct(h,T||[],w(f).constructor):h.apply(f,T))}function C(f,h){if(h&&(typeof h=="object"||typeof h=="function"))return h;if(h!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return R(f)}function R(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function D(){try{var f=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(D=function(){return!!f})()}function w(f){return w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(h){return h.__proto__||Object.getPrototypeOf(h)},w(f)}function M(f,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function");f.prototype=Object.create(h&&h.prototype,{constructor:{value:f,writable:!0,configurable:!0}}),Object.defineProperty(f,"prototype",{writable:!1}),h&&B(f,h)}function B(f,h){return B=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(T,L){return T.__proto__=L,T},B(f,h)}function k(f,h,T){return(h=F(h))in f?Object.defineProperty(f,h,{value:T,enumerable:!0,configurable:!0,writable:!0}):f[h]=T,f}function F(f){var h=v(f,"string");return typeof h=="symbol"?h:h+""}function v(f,h){if(typeof f!="object"||!f)return f;var T=f[Symbol.toPrimitive];if(T!==void 0){var L=T.call(f,h||"default");if(typeof L!="object")return L;throw new TypeError("@@toPrimitive must return a primitive value.")}return(h==="string"?String:Number)(f)}const P=/^[A-Za-z0-9_-]+(\.[A-Za-z0-9_-]+)*$/;function I(f,h,T){window&&K(f,h,window,T)}function b(f,h){window&&j(f,window,h)}function j(f,h,T){forIn(f,(L,H)=>{K(H,L,h,T)})}function W(f={}){var h,T;return f=e()(f)?f:{},(h=f).allowExistingPathRegister||(h.allowExistingPathRegister=globalThis.HAS_ECOM_ASSETS||!1),(T=f).skipIfPathExists||(T.skipIfPathExists=!1),f}function K(f,h,T,L){if(L=W(L),!u()(T))throw new A("Attempting to register data onto a non-object!");J(f);const H=f.split(".");let U=T;for(let Y=0;Y<H.length;Y++){const q=Y===H.length-1,x=H[Y],X=U.hasOwnProperty(x);if(q)if(!X)U[x]=h;else{if(L.skipIfPathExists)return;
13if(!L.allowExistingPathRegister){const G=new A(`Attempting to register data on an already registered path - ${f}`);console.error(G);return}if(L.skipExistingPathMerge)U[x]=h;else{const G=r()(T,f,null);if(e()(h)&&e()(G)){for(const Z in G)h.hasOwnProperty(Z)||(h[Z]=G[Z]);U[x]=h}}}else X||(U[x]={});U=U[x]}}function J(f){if(a()(f))throw new A("Attempting to globally register data with an empty name!");if(!d()(f))throw new A("Attempting to globally register data with a non-string name!");if(!f.match(P))throw new A(`Attempting to globally register data with an invalid name - ${f}!`)}let A=function(f){function h(){return g(this,h),S(this,h,arguments)}return M(h,f),O(h)}(y.Jv);k(A,"code","GLOBAL_DATA_REGISTRY_ERROR"),k(A,"defaultMessage","Unknown global data registry error")},67741:(c,_,o)=>{o.d(_,{R:()=>s});var E=o(4827);function t(r,l){if(!(r instanceof l))throw new TypeError("Cannot call a class as a function")}function p(r,l){for(var a=0;a<l.length;a++){var i=l[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,n(i.key),i)}}function e(r,l,a){return l&&p(r.prototype,l),a&&p(r,a),Object.defineProperty(r,"prototype",{writable:!1}),r}function n(r){var l=u(r,"string");return typeof l=="symbol"?l:l+""}function u(r,l){if(typeof r!="object"||!r)return r;var a=r[Symbol.toPrimitive];if(a!==void 0){var i=a.call(r,l||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(r)}let s=function(){function r(){t(this,r)}return e(r,[{key:"append",value:function(a){return this.node.component=this,this.node.append(a),this}},{key:"prepend",value:function(a){return this.node.component=this,this.node.prepend(a),this}},{key:"remove",value:function(a=!0){return this.node.component=this,a&&E.mkE.destroyNodeComponents(this.node),this.node.remove(),this}},{key:"replace",value:function(a,i=!0){return E.mkE.insertBefore(this.node,a),E.mkE.removeNode(a,i),this}},{key:"detach",value:function(){if(!this.node)return null;this.node.parentElement&&this.node.parentElement.removeChild(this.node)}},{key:"destroy",value:function(){}}])}()},68368:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{C:()=>ContentLazyLoading});function _classCallCheck(c,_){if(!(c instanceof _))throw new TypeError("Cannot call a class as a function")}function _defineProperties(c,_){for(var o=0;o<_.length;o++){var E=_[o];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(c,_toPropertyKey(E.key),E)}}function _createClass(c,_,o){return _&&_defineProperties(c.prototype,_),o&&_defineProperties(c,o),Object.defineProperty(c,"prototype",{writable:!1}),c}function _toPropertyKey(c){var _=_toPrimitive(c,"string");return typeof _=="symbol"?_:_+""}function _toPrimitive(c,_){if(typeof c!="object"||!c)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var E=o.call(c,_||"default");if(typeof E!="object")return E;throw new TypeError("@@toPrimitive must return a primitive value.")}return(_==="string"?String:Number)(c)}function _classPrivateMethodInitSpec(c,_){_checkPrivateRedeclaration(c,_),_.add(c)}function _classPrivateFieldInitSpec(c,_,o){_checkPrivateRedeclaration(c,_),_.set(c,o)}function _checkPrivateRedeclaration(c,_){if(_.has(c))throw new TypeError("Cannot initialize the same private elements twice on an object")}function _classPrivateFieldSet(c,_,o){return c.set(_assertClassBrand(c,_),o),o}function _classPrivateFieldGet(c,_){return c.get(_assertClassBrand(c,_))}function _assertClassBrand(c,_,o){if(typeof c=="function"?c===_:c.has(_))return arguments.length<3?_:o;throw new TypeError("Private element is not present on this object")}var _attribute=new WeakMap,_intersectionObserver=new WeakMap,_processingInterval=new WeakMap,_elementsQueue=new WeakMap,_elementsProcessd=new WeakMap,_ContentLazyLoading_brand=new WeakSet;let ContentLazyLoading=function(){function c(){_classCallCheck(this,c),_classPrivateMethodInitSpec(this,_ContentLazyLoading_brand),_classPrivateFieldInitSpec(this,_attribute,"data-
13pf-lazyload-key"),_classPrivateFieldInitSpec(this,_intersectionObserver,void 0),_classPrivateFieldInitSpec(this,_processingInterval,null),_classPrivateFieldInitSpec(this,_elementsQueue,[]),_classPrivateFieldInitSpec(this,_elementsProcessd,[]),_assertClassBrand(_ContentLazyLoading_brand,this,_init).call(this)}return _createClass(c,null,[{key:"register",value:function(o,E,t,p,e){_assertClassBrand(c,this,_items)._[E]=new ContentLazyLoadingItem({key:E,attribute:o,html:t,callback:p,domContentLoadedEvent:e})}},{key:"setVueInitCallback",value:function(o){_vueInitCallback._=o}},{key:"callItemCallback",value:function(o){_assertClassBrand(c,this,_items)._[o].call(_assertClassBrand(c,this,_vueInitCallback)._,!1)}}])}();function _init(){_classPrivateFieldGet(_intersectionObserver,this)||(_classPrivateFieldSet(_intersectionObserver,this,new IntersectionObserver(_assertClassBrand(_ContentLazyLoading_brand,this,_intersect).bind(this),{rootMargin:"0px 0px -75px 0px"})),Object.keys(_items._).forEach(c=>{const _=_items._[c],o=document.querySelector(`[${_.attribute}="${c}"]`);o.setAttribute(_classPrivateFieldGet(_attribute,this),c),_classPrivateFieldGet(_intersectionObserver,this).observe(o)}))}function _intersect(c,_){const o=[];c.forEach(E=>{const t=E.target;E.isIntersecting&&o.push(t)}),o.length&&_classPrivateFieldGet(_elementsQueue,this).push(o),_classPrivateFieldGet(_processingInterval,this)||_classPrivateFieldSet(_processingInterval,this,setInterval(()=>{const E=_classPrivateFieldGet(_elementsQueue,this).shift();E?E.some(t=>{if(!_classPrivateFieldGet(_elementsProcessd,this).includes(t)&&(t.classList.add("lazy-load-animation"),_classPrivateFieldGet(_elementsProcessd,this).push(t),_assertClassBrand(_ContentLazyLoading_brand,this,_processIntersection).call(this,t),t.getBoundingClientRect().bottom>window.innerHeight))return!0}):(clearInterval(_classPrivateFieldGet(_processingInterval,this)),_classPrivateFieldSet(_processingInterval,this,null))},250))}function _processIntersection(c){_classPrivateFieldGet(_intersectionObserver,this).unobserve(c);const _=c.getAttribute(_classPrivateFieldGet(_attribute,this));c.removeAttribute(_classPrivateFieldGet(_attribute,this));const o=_items._[_],E=document.createElement("template");E.innerHTML=o.html,[...E.content.childNodes].forEach(t=>{if(t.nodeName==="SCRIPT"){const p=document.createElement("script");p.text=t.text,p.type=t.type,t=p}c.appendChild(t)})}var _items={_:{}},_vueInitCallback={_:null},_key=new WeakMap,_attribute2=new WeakMap,_html=new WeakMap,_callback=new WeakMap,_domContentLoadedEvent=new WeakMap;let ContentLazyLoadingItem=function(){function ContentLazyLoadingItem(c){_classCallCheck(this,ContentLazyLoadingItem),_classPrivateFieldInitSpec(this,_key,void 0),_classPrivateFieldInitSpec(this,_attribute2,void 0),_classPrivateFieldInitSpec(this,_html,void 0),_classPrivateFieldInitSpec(this,_callback,void 0),_classPrivateFieldInitSpec(this,_domContentLoadedEvent,void 0),_classPrivateFieldSet(_key,this,c.key),_classPrivateFieldSet(_attribute2,this,c.attribute),_classPrivateFieldSet(_html,this,c.html),_classPrivateFieldSet(_callback,this,c.callback),_classPrivateFieldSet(_domContentLoadedEvent,this,c.domContentLoadedEvent)}return _createClass(ContentLazyLoadingItem,[{key:"attribute",get:function(){return _classPrivateFieldGet(_attribute2,this)}},{key:"html",get:function(){return _classPrivateFieldGet(_html,this)}},{key:"call",value:function call(vueInitCallback,isFromObserver){if(/data-vue-components/i.test(_classPrivateFieldGet(_html,this))){if(!vueInitCallback)throw Error("Not possible to initiate the Vue, callback is not defined.");vueInitCallback()}eval(_classPrivateFieldGet(_callback,this)),window.document.dispatchEvent(new Event(_classPrivateFieldGet(_domContentLoadedEvent,this),{bubbles:!0,cancelable:!0}))}}])}()},69892:(c,_,o)=>{o.r(_),o.d(_,{RPC:()=>s,setGlobalHeader:()=>r});var E=o(4092),t=o(15108),p=o(74785);const e={};async function n(a,i,d,y,m,O){const g=await a?.json().catch(()=>({})),S=(0,t.Kg)(a?.status||-1,g||{},i,a?.headers||{},d,m,O);throw new p.Ch("RPC call failed",{cause:y||S,info:{response:a,requestUrl:i}})}async function u(a,i,d,y,m){if(a.status!==200&&await n(a,i,d,void 0,y,m),PF.DEV&&a.headers.get("X-Printful-Rpc")!=="true")throw new p.Ch("RPC endpoint being invoked doesn't extend from the correct base RPC controller of the app!",{info:{response:a,requestUrl:i,code:"INVALID_BASE_RPC_CONTROLLER"}});let O;try{O=await a.json()}catch(g){throw new p.Ch("RPC response doesn't contain valid JSON",{cause:g,info:{response:a,requestUrl:i,code:"INVALID_RPC_RESPONSE"}})}return O}async function s(a,i,{fetchOptions:d,returnResponseObject:y,hideErrorSnackbar:m,hideContactData:O}={}){const g=new E.Url(a),S=i instanceof FormData,C={...d?.headers||{},...e,"X-CSRF-Token":window.yii.getCsrfToken(),Accept:"application/json","X-Requested-With":"XMLHttpRequest"};
13S||(C["Content-Type"]="application/json"),d!=null&&d.headers&&delete d.headers;let R;try{R=await fetch(g.toString(),{method:d?.method||"POST",mode:"same-origin",credentials:"same-origin",body:l(d?.method,i,S),headers:C,...d||{}})}catch(M){if(M instanceof DOMException&&M.name==="AbortError")throw M;await n(R,g,i,M,m,O)}if(R.headers.get("X-Redirect")){const M=R.headers.get("X-Redirect");window.location.assign(M)}const D=await u(R,g,i,m,O),w=(0,t.xA)(D,g);return y?R:w}function r(a,i){e[a+""]=i+""}function l(a,i,d){if(a!=="GET")return d?i:JSON.stringify(i||{})}},74785:(c,_,o)=>{o.d(_,{Ch:()=>F,HN:()=>B,Jv:()=>k});var E=o(23934),t=o(71086),p=o.n(t),e=o(85015),n=o.n(e),u=o(98023),s=o.n(u),r=o(53812),l=o.n(r);function a(v,P){if(!(v instanceof P))throw new TypeError("Cannot call a class as a function")}function i(v,P){for(var I=0;I<P.length;I++){var b=P[I];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(v,w(b.key),b)}}function d(v,P,I){return P&&i(v.prototype,P),I&&i(v,I),Object.defineProperty(v,"prototype",{writable:!1}),v}function y(v,P,I){return P=S(P),m(v,g()?Reflect.construct(P,I||[],S(v).constructor):P.apply(v,I))}function m(v,P){if(P&&(typeof P=="object"||typeof P=="function"))return P;if(P!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return O(v)}function O(v){if(v===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v}function g(){try{var v=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(g=function(){return!!v})()}function S(v){return S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)},S(v)}function C(v,P){if(typeof P!="function"&&P!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(P&&P.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),P&&R(v,P)}function R(v,P){return R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(I,b){return I.__proto__=b,I},R(v,P)}function D(v,P,I){return(P=w(P))in v?Object.defineProperty(v,P,{value:I,enumerable:!0,configurable:!0,writable:!0}):v[P]=I,v}function w(v){var P=M(v,"string");return typeof P=="symbol"?P:P+""}function M(v,P){if(typeof v!="object"||!v)return v;var I=v[Symbol.toPrimitive];if(I!==void 0){var b=I.call(v,P||"default");if(typeof b!="object")return b;throw new TypeError("@@toPrimitive must return a primitive value.")}return(P==="string"?String:Number)(v)}const B={EMERGENCY:"emergency",ALERT:"alert",CRITICAL:"critical",ERROR:"error",WARNING:"warning",NOTICE:"notice",INFO:"info",DEBUG:"debug"};let k=function(v){function P(I,b){var j;if(a(this,P),b){const K=b instanceof Error?b:b.cause;b=b instanceof Error?{cause:K}:b}else b={};const W=new.target||{code:"UNKNOWN_APP_ERROR",defaultMessage:"NO MESSAGE",name:"UnknownAppError"};return b.info={code:W.code,...b.info||{}},I||(I=W.defaultMessage),b.name=W.name,j=y(this,P,[b,I]),D(j,"level",B.ERROR),D(j,"__EXTENDS_VERROR",!0),j}return C(P,v),d(P,[{key:"fullStack",value:function(){return E.A.fullStack(this)}},{key:"fullInfo",value:function(){return E.A.info(this)}},{key:"getTags",value:function(){return p()(this.fullInfo(),b=>n()(b)||s()(b)||l()(b))}}])}(E.A);D(k,"code","BASE_ERROR"),D(k,"defaultMessage","Unexpected error occurred");let F=function(v){function P(){return a(this,P),y(this,P,arguments)}return C(P,v),d(P)}(k);D(F,"code","RPC_CALL_ERROR"),D(F,"defaultMessage","RPC request failed!")},75896:(c,_,o)=>{o.d(_,{$8:()=>O,$d:()=>y,AP:()=>a,AU:()=>p,C:()=>q,Em:()=>R,FJ:()=>v,Ic:()=>e,J8:()=>u,Nc:()=>d,Ov:()=>W,VV:()=>A,_r:()=>te,aM:()=>l,ad:()=>m,dp:()=>w,gm:()=>C,j3:()=>P,ke:()=>J,lb:()=>s,on:()=>t,r:()=>G,s_:()=>S,w0:()=>f,ww:()=>K,ym:()=>Y,zy:()=>n});const E={};function t(N,z,V){E[N]||(E[N]=[]),E[N].push({func:z,ctx:V})}function p(N,z){if(!n(N))return;if(!z){E[N]=[];return}const V=E[N];let Q=V.length;for(;Q-- >0;){const{func:ee}=V[Q];z===ee&&V.splice(Q,1)}}function e(N,...z){if(!n(N))return;const V=E[N];for(const Q of V){const{func:ee,ctx:ne}=Q;ee.apply(ne,z)}}function n(N){return N&&E[N]&&E[N].length>0}const u="orderupdate",s="productPushStarted",r="productPushed",l="productPushModalClosed",a="productPushModalClose",i="productsPricingModalClose",d="designUpdate",y="designLoaded",m="designerRemoveWarning",O="designerShowWarning",g="designerSwitchMultipleProduct",S="designerSwitchMultipleProductOrderFlow",C="logoSaved",R="breadcrumbsChanged",D="sellingRegionUpdate",w="sellingRegionOpenSettings",M="productCatalogDeliveryEstimated",B="productVariantSelected",k="productVariantSizeChanged",F="productTechniqueSelected",v="browserBackRemoveWarning",P="orderFlowModalClose",I="storeEmptyStateLoaded",b="storeEmptyStateCtaBlockLoaded",j="productFavoriteStatusUpdated",W="inlineProductPickerOnProductPickedTemplates",K="inlineProductPickerOnProductPickedOrderFlow",J="inlineProductPickerModalClose",A="modifyNewDesignerLayoutModal",f="removeModalBodyPadding",h="orderHistoryRemoveHoldRequestCompleted",T="orderHistoryRemoveHoldRequested",L="orderHistoryReportReplySent",H="shipmentProblemReportSaved",U="toggleSelfSegmentation",Y="cookieBannerPreferencesSet",q="productPushPricingStepToggled",x="anonymousFlowModalOpened",X="designMakerCanceledStitchColorSelection",G="productPushChooseProduct",te={on:t,off:p,emit:e,has:n,ORDER_UPDATE:u,PRODUCT_PUSH_STARTED:s,PRODUCT_PUSH_COMPLETE:r,PRODUCT_PUSH_MODAL_CLOSED:l,PRODUCT_PUSH_MODAL_CLOSE:a,PRODUCTS_PRICING_MODAL_CLOSE:i,DESIGN_UPDATE:d,DESIGN_LOADED:y,DESIGNER_REMOVE_LEAVE_WARNING:m,DESIGNER_SHOW_WARNING:O,DESIGNER_SWITCH_MULTIPLE_PRODUCT:g,DESIGNER_SWITCH_MULTIPLE_PRODUCT_ORDER_FLOW:S,LOGO_SAVED:C,SELLING_REGION_UPDATE:D,SELLING_REGION_OPEN_SETTINGS:w,PRODUCT_CATALOG_DELIVERY_ESTIMATED:M,PRODUCT_VARIANT_SELECTED:B,PRODUCT_TECHNIQUE_SELECTED:F,BROWSER_BACK_REMOVE_LEAVE_WARNING:v,ORDER_FLOW_MODAL_CLOSE:P,STORE_EMPTY_STATE_LOADED:I,STORE_EMPTY_STATE_CTA_BLOCK_LOADED:b,PRODUCT_FAVORITE_STATUS_UPDATED:j,INLINE_PRODUCT_PICKER_ON_PRODUCT_PICKED_TEMPLATES:W,INLINE_PRODUCT_PICKER_ON_PRODUCT_PICKED_ORDER_FLOW:K,INLINE_PRODUCT_PICKER_MODAL_CLOSE:J,MODIFY_NEW_DESIGNER_LAYOUT_MODAL:A,REMOVE_MODAL_BODY_PADDING:f,ORDER_HISTORY_REMOVE_HOLD_REQUEST_COMPLETED:h,ORDER_HISTORY_REMOVE_HOLD_REQUESTED:T,ORDER_HISTORY_REPORT_REPLY_SENT:L,SHIPMENT_PROBLEM_REPORT_SAVED:H,TOGGLE_SELF_SEGMENTATION:U,COOKIE_BANNER_PREFERENCES_SET:Y,DESIGN_MAKER_CANCELED_STITCH_COLOR_SELECTION:X,ANONYMOUS_FLOW_MODAL_OPENED:x,PRODUCT_PUSH_CHOOSE_PRODUCT:G,PRODUCT_VARIANT_SIZE_CHANGED:k,DESIGN_MAKER_TECHNIQUE_RECOMMENDATION_MODAL_OPEN:"designMakerTechniqueRecommendationModalOpen",DESIGN_MAKER_PRINT_QUALITY_PREFERENCE_OPEN:"designMakerPrintQualityPreferenceOpen"}},82184:(c,_,o)=>{o.d(_,{logError:()=>e});var E=o(85015),t=o.n(E),p=o(74785);function e(n,{logToConsole:u=!0,captureContext:s}={}){if(n instanceof Error||(t()(n)?n=new p.Jv(n):n=new p.Jv("Attempted to log invalid error!",{info:{invalidErrorContent:n}})),process.env.JEST_WORKER_ID)throw n;if(window.Sentry&&window.Sentry.captureException(n,s),u){const r=[n];n instanceof p.Jv&&r.push(n.fullInfo()),console.error(...r)}}},93169:(c,_,o)=>{o.r(_),o.d(_,{PFComponentsSnackbar:()=>t});var E=o(4827);
13const t=Class({_par:null,__construct:function(p){this._par=this._initPar(p),this.node=tag("div","snackbar pf-py-16 pf-px-24 "+this._getSnackbarClass()),this._render(),this._stackExistingSnackbars()},_stackExistingSnackbars:function(){const p=this._getPositionClass(),e=document.querySelectorAll("body ."+p);if(e.length<1)return;const n=16,u=Array.from(e).reverse(),s=this._par.position===t.POSITION_BOTTOM,r=s?-1:1,l=s?window.innerHeight-64:32;for(let a=0;a<u.length;a++){if(a<1){u[a].style.top=l+"px";continue}const i=u[a-1];u[a].style.top=i.offsetTop+i.offsetHeight*r+n*r+"px"}},_getColorClass:function(){switch(this._par.type){case t.TYPE_ERROR:return"snackbar--error";case t.TYPE_DEFAULT:return"snackbar--default";default:return"snackbar--success"}},_getPositionClass:function(){switch(this._par.position){case t.POSITION_TOP_RIGHT:return"snackbar--top-right";case t.POSITION_BOTTOM:return"snackbar--bottom";default:return"snackbar--top"}},_getSizeClass:function(){return this._par.isSmall?"snackbar--small":"snackbar--large"},_getSnackbarClass:function(){return this._getColorClass()+" "+this._getPositionClass()+" "+this._getSizeClass()},_getContentLabelClass(){return this._par.actionLabel?this._par.extraContentLabelClass||"col-9 pf-text-left":"col-12 pf-text-center"},_getActionLabelClass(){return this._par.extraActionLabelClass||"col-3"},_render:function(){E.mkE.clearNode(this.node),tag("div",{className:"snackbar__inner pf-ui-body row",attr:{role:this._par.type===t.TYPE_ERROR?"alert":"status","data-test":this._par.dataTest,"data-testid":this._par.dataTest}},[tag("div",this._getContentLabelClass(),[tag("p",{className:"snackbar__text pf-m-0",innerHTML:this._par.htmlContent},this._par.content)]),this._par.actionLabel?tag("div",this._getActionLabelClass(),[tag("a",{className:"pf-bold pf-link pf-text-white",onclick:this._par.actionCallback},this._par.actionLabel)]):""]).append(this.node),this.node.appendTo(document.body),this.node.onclick=this._hideNode.bind(this),$(this.node).fadeIn(this._par.animationDuration,function(){setTimeout(this._hideNode.bind(this),this._par.duration)}.bind(this))},_initPar:function(p){return p.content=p.content||"",p.htmlContent=p.htmlContent||"",p.type=p.type||t.TYPE_SUCCESS,p.duration=p.duration||7e3,p.isSmall=p.isSmall||!1,p.position=p.position||t.POSITION_TOP,p.animationDuration=p.animationDuration||400,p.actionCallback=p.actionCallback||"",p.actionLabel=p.actionLabel||"",p.extraContentLabelClass=p.extraContentLabelClass||"",p.extraActionLabelClass=p.extraActionLabelClass||"",p},_hideNode:function(){this.node&&$(this.node).fadeOut(this._par.animationDuration,function(){this.node&&(E.mkE.removeNode(this.node),this.node=null,this._stackExistingSnackbars())}.bind(this))}},E.mkE.Base);t.TYPE_SUCCESS="success",t.TYPE_DEFAULT="default",t.TYPE_ERROR="error",t.POSITION_TOP="top",t.POSITION_BOTTOM="bottom",t.POSITION_TOP_RIGHT="top-right",window&&((globalThis||{}).PFComponentsSnackbar=t)}}]);

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.