PageSourceSearch

https://www.pray.com/component---src-pages-404-js.749cec029f1c884a9bb7.js

js pray.com collected 2026-10-01 12:23:13 UTC 22,974 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_pray_www=self.webpackChunk_pray_www||[]).push([[5125],{23113:function(e,t,n){var a=n(39944),r=n(74418),i=n(4578),o=n(34932),l=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in l||r(e,"flags")||!i(l,e)?t:a(o,e)}},23331:function(e,t,n){n.r(t),n.d(t,{default:function(){return i}});var a=n(14041),r=n(3312);function i(e){return a.createElement(r.A,e)}},25736:function(e,t,n){var a=n(93203),r=n(9538),i=n(99723),o=n(52154),l=n(18105);t.A={getSubscriptionDetails:async function(){try{const e=o.A.getUser(),t=(await a.A.executeGetRequest("/web/users/"+e.id+"/subscription-details")).data.data;return e.is_subscribed!==t.is_subscribed&&(e.is_subscribed=t.is_subscribed,o.A.upsertToStorage(l.Wd.USER,e,!1)),t}catch(e){i.A.error("Failed to fetch user subscription details",e)}return null},updateUser:async function(e,t){var n;return null===(n=(await a.A.executePutRequest("/0.13/users/"+e,t)).data.data)||void 0===n?void 0:n[0]},updateUserIntents:async function(e){const t=o.A.getUser(),n=await a.A.executePostRequest("/0.12/users/"+t.id+"/intents",e);return r.A.trackEventSubmitForm(l.qY.PRAY_EVENTS.SUBMIT_FORM_EVENT_NAMES.INTENT,e),n.data.data},verifyEmail:async function(e){let{email:t,token:n}=e;await a.A.executePostRequest("/web/verify_email",{email:t,token:n})}}},30473:function(e,t,n){var a=n(80831),r=n(38689),i=n(4282)("match");e.exports=function(e){var t;return a(e)&&(void 0!==(t=e[i])?!!t:"RegExp"===r(e))}},34932:function(e,t,n){var a=n(3770);e.exports=function(){var e=a(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},36587:function(e,t,n){var a=n(93203),r=n(48371);t.A={async redeemGift(e){let{code:t,productId:n,referralCode:i}=void 0===e?{}:e;
1if(!t)throw Error("Gift code is required");if(!n)throw Error("Product ID is required");const o={code:t,product_id:n};i&&(o.referral_code=i);const l=await a.A.executePostRequest("/web/redeem-gift",o);return await(0,r.QF)(),l.data}}},41192:function(e,t,n){n.d(t,{A:function(){return h}});var a=n(17502),r=n(14041),i=n(50704),o=n(39242),l=n(69162);function c(){return r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M15 9L9 15M15 15L9 9M21.25 12C21.25 17.1086 17.1086 21.25 12 21.25C6.89137 21.25 2.75 17.1086 2.75 12C2.75 6.89137 6.89137 2.75 12 2.75C17.1086 2.75 21.25 6.89137 21.25 12Z",stroke:"#56585E",strokeWidth:"1.5",strokeLinecap:"square"}))}var s=n(62689),u=n(86653),d=n(49208),f={inputWrap:"InputField-module--inputWrap--67855",disabled:"InputField-module--disabled--0f541",withLeftIcon:"InputField-module--withLeftIcon--16f4e",withRightIcon:"InputField-module--withRightIcon--deacc",withoutStatusIndicator:"InputField-module--withoutStatusIndicator--e6aa5",aiVariant:"InputField-module--aiVariant--03ed8",inputWrapActive:"InputField-module--inputWrapActive--68760",inputSelectWrap:"InputField-module--inputSelectWrap--f8eda",inputWrapError:"InputField-module--inputWrapError--4a110",input:"InputField-module--input--c4387",withLabel:"InputField-module--withLabel--7c48f",floating:"InputField-module--floating--6d894",placeholder:"InputField-module--placeholder--ec205",select:"InputField-module--select--80720",textarea:"InputField-module--textarea--35f73",indicator:"InputField-module--indicator--3983a",leftIcon:"InputField-module--leftIcon--350c4",rightDetails:"InputField-module--rightDetails--cbaf2",rightIcon:"InputField-module--rightIcon--e5371",success:"InputField-module--success--5ffe5",error:"InputField-module--error--79102",helperText:"InputField-module--helperText--ecc6d",clearButton:"InputField-module--clearButton--4deb2"};const p=["className","error","label","onBlur","onFocus","loading","renderStatusIndicator","renderSuccessIndicator","leftIcon","rightIcon","rightDetails","children","containerClassName"];function m(e,t){let{className:n="",error:m=null,label:h=null,onBlur:v=null,onFocus:g=null,loading:b=!1,renderStatusIndicator:w=!0,renderSuccessIndicator:y=!1,leftIcon:E=null,rightIcon:A=null,rightDetails:I=null,children:_=null,containerClassName:C=""}=e,N=(0,a.A)(e,p);const k=t||(0,r.useRef)(null),{0:S,1:x}=(0,r.useState)(!1),L=[f.input,n];function B(e){x(!0),g&&g(e)}function F(e){x(!1),v&&v(e)}h&&L.push(f.withLabel),A&&L.push(f.withRightIcon);const P=N.value?f.floating:[f.floating,f.empty].join(" "),j=S||N.value?P:"",q=S&&!m?f.inputWrapActive:"",R=m?f.inputWrapError:"",V=_?f.inputSelectWrap:"",M={ai:f.aiVariant},T=[f.inputWrap,j,q,R,V];E&&T.push(f.withLeftIcon),w||T.push(f.withoutStatusIndicator),_&&T.push(f.select),N.rows&&T.push(f.textarea),N.disabled&&T.push("disabled",f.disabled),N.variant&&M[N.variant]&&T.push(M[N.variant]);const H=T.filter((e=>e)).join(" "),O=(0,r.useMemo)((()=>w?b?r.createElement(u.A,null):m?r.createElement(s.$D,{fill:o.Tj.$attention}):y&&N.value?r.createElement(s.wV,{className:f.success,fill:o.Tj.$success}):null:null),[N.value,m,b,w]),W=L.filter(Boolean).join(" ");return r.createElement("div",null,r.createElement("div",{"data-id":"inputWrap","data-tapeventadded":"button-placeholder",className:(0,i.cn)(H,C),onClick:function(){var e;null===(e=k.current)||void 0===e||e.focus()},role:"none"},h&&r.createElement("div",{className:f.placeholder},h),E?r.createElement("div",{className:f.leftIcon},E):null,_?r.createElement("select",Object.assign({ref:k,className:W,onFocus:B,onBlur:F},N),_):N.rows?r.createElement("textarea",Object.assign({ref:k,className:W,onFocus:B,onBlur:F},N)):r.createElement("input",Object.assign({ref:k,className:W,onFocus:B,onBlur:F},N)),N.value&&"search"===N.type?r.createElement("div",{className:f.rightIcon+" "+f.clearButton},r.createElement(l.A,{onClick:()=>N.onChange({target:{value:""}})},r.createElement(c,null))):A?r.createElement("div",{className:f.rightIcon},A):O?r.createElement("div",{className:f.indicator},O):null,I?r.createElement("div",{className:f.rightDetails},I):null),m&&r.createElement(d.A,{className:f.error},m))}var h=(0,r.forwardRef)(m)},42694:function(e,t,n){n.d(t,{m:function(){return l},U:function(){return u}});var a=n(17502),r=n(14041),i={container:"Container-module--container--ba69a"};const o=["className"];function l(e){let{className:t}=e,n=(0,a.A)(e,o);const l=[i.container,t].filter((e=>e)).join(" ");return r.createElement("div",Object.assign({className:l},n))}var c={content:"Content-module--content--6becb"};const s=["className"];function u(e){let{className:t}=e,n=(0,a.A)(e,s);const i=[c.content,t].filter((e=>e)).join(" ");return r.createElement("main",Object.assign({className:i},n))}},46398:function(e,t,n){n.d(t,{A:function(){return p}});var a=n(88930),r=n(14041),i=n(90180),o=n(25736),l=n(99723),c=n(35714),s=n(52154),u=n(18105),d=n(98183);const f={product:u.QI,type:i.W.SUBSCRIPTION,shouldFetchProductDetails:!0,shouldFetchActiveProduct:!0,shouldRedirectSubscribedUsers:!0};function p(e){var t;void 0===e&&(e={});const{product:n,type:u,shouldFetchProductDetails:p,shouldFetchActiveProduct:m,shouldRedirectSubscribedUsers:h}=Object.assign({},f,e),{0:v,1:g}=(0,r.useState)(n),b=(0,c.JO)(),w=b.product_bundle_token||null,y=(0,d.A)(w),E=y.isValid?null===(t=y.data)||void 0===t?void 0:t.product_id:null,A=async()=>{const e=s.A.getUser();
1if(e&&e.id){const e=await o.A.getSubscriptionDetails();return h&&null!=e&&e.is_subscribed?((0,a.navigate)("/discover/"),null):e}return null},I=async e=>{if(!p)return e;const t=b.product_id||E,a=b.discount_code;try{if(t||!m){const e=t||n.id;return await i.A.fetchProductById({id:e,discountCode:a})}return await i.A.fetchActiveProductByType({type:u,discountCode:a})}catch(d){var r,o,c,s;const e=(null===(r=d.response)||void 0===r||null===(o=r.data)||void 0===o||null===(c=o.data)||void 0===c||null===(s=c[0])||void 0===s?void 0:s.info)||"";return l.A.error("Error fetching product details:",e,d),null}};return(0,r.useEffect)((()=>{(async()=>{const[e,t]=await Promise.all([A(),I(n)]);e&&t&&g(Object.assign({},t,{is_eligible_for_free_trial:e.is_eligible_for_free_trial,is_data_fetched:!0}))})()}),[n,E]),v}},60193:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(17502),r=n(14041),i={backgroundWrap:"Background-module--backgroundWrap--52c44",background:"Background-module--background--46064",featured:"Background-module--featured--3b3d6",contentWrap:"Backgroun
1d-module--contentWrap--c27d9"};const o=["featured"];function l(e){let{featured:t=!1}=e,n=(0,a.A)(e,o);return r.createElement(r.Fragment,null,r.createElement("div",{className:i.backgroundWrap},r.createElement("div",{className:i.background}),t&&r.createElement("div",{className:i.featured})),r.createElement("div",Object.assign({className:i.contentWrap},n)))}},61119:function(e,t,n){n.d(t,{A:function(){return r}});var a=n(14041);function r(e){const{0:t,1:n}=(0,a.useState)({}),{0:r,1:i}=(0,a.useState)(e),{0:o,1:l}=(0,a.useState)({}),{0:c,1:s}=(0,a.useState)(!1);function u(e,a){const r=t[e]||{};r.changed=!0,c||s(!0),i((t=>Object.assign({},t,{[e]:a}))),n((t=>Object.assign({},t,{[e]:r})))}return(0,a.useEffect)((()=>{c||i(e)}),[JSON.stringify(e)]),{changed:c,fields:t,values:r,errors:o,isValid:0===Object.keys(o).length,handleChange:function(e){const{type:t,name:n,value:a,checked:r}=e.target;u(n,"checkbox"===t?r:a)},setChanged:s,setError:function(e,t){l((n=>Object.assign({},n,{[e]:t})))},setErrors:l,setValue:u,setValues:function(e){i(e),s(!0)}}}},64462:function(e,t,n){n.d(t,{A:function(){return r}});var a=n(14041);function r(e){let{className:t="h-5 w-[155px]"}=e;return a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2363 306",fill:"none",className:t},a.createElement("path",{d:"M116.485 6.03125H0V300.719H53.2897V206.587H110.547C182.248 206.587 228.588 166.808 228.588 105.272C228.692 44.9807 184.66 6.03125 116.485 6.03125ZM174.572 106.517C174.572 137.998 150.144 158.38 112.336 158.38H53.4192V54.6531H112.336C151.882 54.705 174.572 73.5833 174.572 106.517Z",fill:"white"}),a.createElement("path",{d:"M552.786 99.8262C552.786 41.9727 510.751 6.03125 443.095 6.03125H311.647V300.719H364.937V198.626H427.873L499.834 300.719H562.744L483.393 189.472C528.203 176.688 552.786 144.896 552.786 99.8262ZM364.937 54.7051H438.92C477.455 54.7051 498.563 71.768 498.563 102.756C498.563 132.189 475.224 151.223 439.231 151.223H364.833L364.937 54.7051Z",fill:"white"}),a.createElement("path",{d:"M750.281 3.93236L620.623 300.72H675.313L705.342 230.031H842.78L872.264 300.046L872.497 300.591H928.873L799.214 3.80273L750.281 3.93236ZM823.124 182.602H725.05L773.879 68.6579L823.124 182.602Z",fill:"white"}),a.createElement("path",{d:"M1076.22 134.964L994.973 6.47209L994.688 6.03125H931.855L1048.94 184.623V300.719H1102.64V183.352L1218.79 7.45749L1219.72 6.03125H1158.55L1076.22 134.964Z",fill:"white"}),a.createElement("path",{d:"M1288.23 241.597H1230.77V300.721H1288.23V241.597Z",fill:"white"}),a.createElement("path",{d:"M1589.9 218.829C1564.87 242.167 1542.18 256.663 1506.42 256.663C1451.84 256.663 1410.66 212.086 1410.66 152.936C1410.66 94.3048 1451.84 50.0912 1506.42 50.0912C1535.78 50.0912 1560.88 61.2418 1587.8 86.2399L1588.5 86.8882L1622.73 47.4462L1622.1 46.8497C1598.35 24.1595 1566.09 0.976562 1506.84 0.976562C1420.2 0.976562 1354.88 66.6616 1354.88 153.766C1354.88 195.127 1370.05 233.428 1397.61 261.616C1411.59 275.785 1428.28 286.992 1446.69 294.566C1465.09 302.141 1484.84 305.927 1504.74 305.7C1554.01 305.7 1588.63 290.582 1624.21 253.525L1624.83 252.903L1590.55 218.18L1589.9 218.829Z",fill:"white"}),a.createElement("path",{d:"M1839.21 1.00195C1796.13 1.00195 1756.66 17.0538 1728.06 46.1491C1699.99 74.9133 1684.43 113.603 1684.76 153.792C1684.76 240.429 1750.78 305.751 1838.38 305.751C1881.45 305.751 1920.92 289.725 1949.52 260.604C1977.59 231.84 1993.15 193.15 1992.82 152.962C1992.82 66.324 1926.72 1.00195 1839.21 1.00195ZM1937.1 153.792C1937.1 212.449 1895.04 256.662 1839.26 256.662C1783.01 256.662 1740.59 212.086 1740.59 152.936C1740.59 94.3042 1782.65 50.0906 1838.43 50.0906C1894.62 50.1165 1937.1 94.6932 1937.1 153.792Z",fill:"white"}),a.createElement("path",{d:"M2305.87 6.03125L2217.26 143.754L2128.91 6.44616L2128.63 6.03125H2072.43V300.719H2124.87V93.6285L2214.82 228.369L2215.11 228.758H2217.76L2308.83 92.7727V300.719H2362.09V6.03125H2305.87Z",fill:"white"}))}},66114:function(e,t,n){n.d(t,{A:function(){return u}});var a=n(17502),r=n(14041),i=n(34804),o=n(62689),l=n(64462),c={placeholder:"AppBar-module--placeholder--0818a",primaryAppBar:"AppBar-module--primaryAppBar--0d0e1",appbar:"AppB
1ar-module--appbar--effb9",absolute:"AppBar-module--absolute--114b8",fixed:"AppBar-module--fixed--6b261",transparent:"AppBar-module--transparent--384d7",translucent:"AppBar-module--translucent--4e892",left:"AppBar-module--left--b6ce1",center:"AppBar-module--center--b569e",right:"AppBar-module--right--1fea3"};const s=["left","center","right","absolute","fixed","translucent","transparent","className","onBack"];function u(e){let{left:t,center:n,right:u,absolute:d,fixed:f,translucent:p,transparent:m,className:h,onBack:v}=e,g=(0,a.A)(e,s);const b=[c.appbar,h];d&&b.push(c.absolute),f&&b.push(c.fixed),p&&b.push(c.translucent),m&&b.push(c.transparent);const w=b.filter((e=>e)).join(" ");(0,r.useEffect)((()=>{if(!m)return;const e=()=>{var e,t;const n=document.querySelector("[data-appbar]"),a=window.pageYOffset<=24?"remove":"add";null===(e=(t=n.classList)[a])||void 0===e||e.call(t,c.primaryAppBar)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}}),[m]);return r.createElement("div",Object.assign({className:w},g,{"data-appbar":!0}),r.createElement("div",{className:c.left,"data-left":!0},!t&&v?r.createElement(i.A,{onClick:v},r.createElement(o.S2,null)):t),r.createElement("div",{className:c.center,"data-center":!0},void 0===n?r.createElement(l.A,null):n),r.createElement("div",{className:c.right,"data-right":!0},u))}},78122:function(e,t,n){n.d(t,{A:function(){return l},p:function(){return c}});var a=n(78489),r={garyvalenciano:{id:"garyvalenciano",name:"Gary Valenciano",header_image:"https://d339bgihw9yfmi.cloudfront.net/web/artists/header_images/gary_v.png",featured_content:[{image_url:"https://d2alqht3442852.cloudfront.net/content-series/1f586900-0a72-11ec-8136-e378ace3b594/GV-Morning-cover.minified.jpg"}]},lecrae:{id:"lecrae",name:"Lecrae",header_image:"https://d339bgihw9yfmi.cloudfront.net/web/artists/header_images/lecrae.png",featured_content:[{image_url:"https://d2alqht3442852.cloudfront.net/content-series/defac1f0-7d3f-11ec-801c-db5e395bcc20/square_cover_lecrae_transform_yourself_1x.jpg"}]},jamesearljones:{id:"jamesearljones",name:"James Earl Jones",header_image:"https://d339bgihw9yfmi.cloudfront.net/web/artists/header_images/james_earl_jones.png",featured_content:[{image_url:"https://d2alqht3442852.cloudfront.net/content-series/ebb34ff0-e62f-11ea-b7d4-25ae192331d5/jej-reads-the-bible-square-cover_1x.jpg"}]},drewbrees:{id:"drewbrees",name:"Drew Brees",header_image:"https://d339bgihw9yfmi.cloudfront.net/web/artists/header_images/drew_brees.png",featured_content:[{image_url:"https://d2alqht3442852.cloudfront.net/content-series/514e5ad0-3071-11ec-b183-3ba70010725c/square_cover_drew_brees_motivational_prayers_1x.jpg"}]}},i=n(93203);async function o(e){let{id:t=null,handle:n=null}=e;if(!t&&!n)throw Error("Artist ID or handle is required");const a=t||n,o=r[a];if(o)return{data:o};const l="/web/artists/"+a;return(await i.A.executeGetRequest(l)).data}var l={fetchArtistData:o,fetchArtistContent:async function(e){let{id:t="",handle:n="",mediaType:a="",offset:r=0,limit:o=0,sortColumn:l="",sortDirection:c="asc"}=e;if(!t&&!n)throw Error("Artist ID or handle is required");if(!a)throw Error("Media Type is required");const s={media_type:a};r&&(s.offset=r),o&&(s.limit=o),l&&(s.sort_column=l,s.sort_direction=c);const u="/web/artists/"+(t||n)+"/content";return(await i.A.executeGetRequest(u,s)).data},fetchArtistPageData:async function(e){let{id:t=null,handle:n=null,offset:a=null}=e;if(!t&&!n)throw Error("Artist ID or handle is required");const r={};a&&(r.offset=a);const o="/web/artists/"+(null!=t?t:n)+"/page";return(await i.A.executeGetRequest(o,r)).data},followArtist:async function(e){let{artistId:t,contentSeriesHandle:n=""}=e;if(!t)throw Error("Artist ID is required");const a={};n&&(a.content_series_handle=n);const r="/web/artists/"+t+"/follow";return(await i.A.executePutRequest(r,a)).data},unfollowArtist:async function(e){let{artistId:t,contentSeriesHandle:n=null}=e;if(!t)throw Error("Artist ID and Content Series handle are required");const a={};n&&(a.content_series_handle=n);const r="/web/artists/"+t+"/follow";return(await i.A.executeDeleteRequest(r,a)).data}};const c=e=>{let{artistId:t="",handle:n=""}=e;return(0,a.I)({enabled:!!t||!!n,queryKey:["artist",t||n],queryFn:async()=>(await o({id:t,handle:n})).data})}},78396:function(e,t,n){n.d(t,{A:function(){return c}});var a=n(17502),r=n(14041),i=n(50704),o={switch:"ToggleScwitch-module--switch--4823c",slider:"ToggleScwitch-module--slider--7d1f6",sliderFeatured:"ToggleScwitch-module--sliderFeatured--2f0b3",sliderBlack:"ToggleScwitch-module--sliderBlack--92144"};const l=["type"];function c(e){let{type:t="featured"}=e,n=(0,a.A)(e,l);const c="featured"===t?o.sliderFeatured:o.sliderBlack;return r.createElement("label",{className:o.switch},r.createElement("input",Object.assign({type:"checkbox"},n)),r.createElement("span",{className:(0,i.cn)(o.slider,c)}))}},84678:function(e,t,n){n.d(t,{A:function(){return v}});var a=n(14041),r=n(39242),i=n(93894),o=n(62086),l=n(79105),c=n(78396),s=n(80279),u=n(18105),d="ModalPrivacy-module--privacyModalContainer--25f5c",f="ModalPrivacy-module--privacyModal--a98cc",p="ModalPrivacy-module--text-padding--44966",m="ModalPrivacy-module--toggleRow--8f6c3",h="ModalPrivacy-module--actions--c4c3c";var v=e=>{let{isOpen:t,onClose:n,prayContext:v}=e;const{0:g,1:b}=(0,a.useState)(!0);(0,a.useEffect)((()=>{const e=(0,s.xe)();b(!e)}),[]);return t?a.createElement(o.A,{onClose:n,className:d},a.createElement("div",{className:f},a.createElement(l.A,{variant:r.Il.heading_xl,className:p},"Privacy Settings"),a.createElement("div",null,a.createElement(l.A,{variant:r.Il.heading_lg,className:p}
1,"Personalized Advertising"),a.createElement(l.A,{variant:r.Il.body,className:p},"To enable personalized advertising (like interest-based ads), we may share your data with our marketing and advertising partners using cookies and other technologies. Those partners may have their own information they've collected about you."),a.createElement(l.A,{variant:r.Il.body,className:p},"Turning off the personalized advertising setting won't stop you from seeing our ads, but it may make the ads you see less relevant or more repetitive."),a.createElement("div",{className:m},a.createElement("span",null,"Allow personalized advertising"),a.createElement(c.A,{checked:g,onChange:e=>b(e.target.checked)}))),a.createElement(l.A,{variant:r.Il.body,className:p},'Personalized advertising may be considered a "sale" or "sharing" of information under California and other state privacy laws, and you have a right to opt out.'," ",a.createElement("a",{href:u.XS.PRIVACY_POLICY,target:"_blank",rel:"noreferrer"},"Learn more in our Privacy Policy")),a.createElement("div",{className:h},a.createElement(i.A,{variant:r.Uo.variant.primary,onClick:()=>{g?(0,s.Wl)(v):(0,s.nH)(v),n()},"data-tapeventname":g?"privacy_opt_in_button":"privacy_opt_out_button"},"Save Preferences")))):null}},86653:function(e,t,n){n.d(t,{A:function(){return i}});var a=n(14041),r="InputLoader-module--loader--b553f";var i=()=>a.createElement("div",{className:r})},88165:function(e,t,n){var a=n(14041),r=n(93285),i=n(17787);t.A=e=>{let{canonicalPath:t}=e;let n=null;const o=!(!(l=t)||!l.length)&&"/"===l[0]&&"/"===l[l.length-1];var l;return i.mN&&o&&(n=""+i.mN+t),"/"===t&&(n=""+i.mN),n?a.createElement(r.A,null,a.createElement("link",{rel:"canonical",href:n})):null}},90180:function(e,t,n){n.d(t,{W:function(){return i}});var a=n(93203),r=n(99723);const i={BANGO:"bango",GIFT:"gift",SUBSCRIPTION:"subscription"};t.A={fetchActiveProductByType:async function(e){var t;let{type:n=i.SUBSCRIPTION,discountCode:r=null}=void 0===e?{}:e,o="/web/products/active?type="+n;r&&(o+="&discount_code="+r);const l=await a.A.executeGetRequest(o);return null==l||null===(t=l.data)||void 0===t?void 0:t.data},fetchProductById:async function(e){var t;let{id:n,discountCode:r}=e,i="/web/products/"+n;r&&(i+="?discount_code="+r);const o=await a.A.executeGetRequest(i);return null==o||null===(t=o.data)||void 0===t?void 0:t.data},fetchProductForGifts:async function(){var e,t;const n=null===(e=(await a.A.executeGetRequest("/web/products?is_active_for_gifts=true")).data)||void 0===e||null===(t=e.data)||void 0===t?void 0:t[0];if(!n)throw new Error("failure getting products active for gifts");return n},purchaseProductById:async function(e){let{userId:t,productId:n,data:i}=e;try{var o;const e="/web/users/"+t+"/products/"+n+"/purchases",r=await a.A.executePostRequest(e,i);return null==r||null===(o=r.data)||void 0===o?void 0:o.data}catch(u){var l,c,s;const e=null===(l=u.response)||void 0===l||null===(c=l.data)||void 0===c||null===(s=c.data)||void 0===s?void 0:s[0];throw r.A.error("Error creating product purchase",e),e}}}},92618:function(e,t,n){var a=n(65438),r=String;e.exports=function(e){if("Symbol"===a(e))throw new TypeError("Cannot convert a Symbol value to a string");return r(e)}},98183:function(e,t,n){n.d(t,{A:function(){return l}});class a extends Error{}function r(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return function(e){return decodeURIComponent(atob(e).replace(/(.)/g,((e,t)=>{let n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(n){return atob(t)}}a.prototype.name="InvalidTokenError";var i=n(14041),o=n(99723);function l(e){const t=(0,i.useMemo)((()=>{if(!e)return{isValid:!1,data:null,error:null};try{const t=function(e,t){if("string"!=typeof e)throw new a("Invalid token specified: must be a string");t||(t={});const n=!0===t.header?0:1,i=e.split(".")[n];if("string"!=typeof i)throw new a(`Invalid token specified: missing part #${n+1}`);let o;try{o=r(i)}
1catch(l){throw new a(`Invalid token specified: invalid base64 for part #${n+1} (${l.message})`)}try{return JSON.parse(o)}catch(l){throw new a(`Invalid token specified: invalid json for part #${n+1} (${l.message})`)}}(e);if(!t.exp)return{isValid:!1,data:null,error:"Token is missing expiration"};const n=Math.floor(Date.now()/1e3);return t.exp<n?{isValid:!1,data:null,error:"Token has expired"}:t.product_id&&t.user_id?{isValid:!0,data:t,error:null}:{isValid:!1,data:null,error:"Token is missing required fields"}}catch(t){return o.A.error("Failed to decode product bundle token",t),{isValid:!1,data:null,error:"Invalid token format"}}}),[e]);return 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.