PageSourceSearch

https://www.pokefreshmd.us/_next/static/chunks/pages/quickly-order/app/app-referred-186c657983fe466b.js

js pokefreshmd.us collected 2026-09-24 15:14:42 UTC 19,638 bytes, 1 lines download raw bytes

vendor: 7,690 bytes, line 1
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[58802],{45195:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/quickly-order/app/app-referred",function(){return r(43252)}])},50636:function(e,t){"use strict";t.Z={getAppInfo:"/api/referral/referral-info",getAppHref:"/api/gift/card/query-redeem-short-link"}},43252:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return S}});var n,i,o,s=r(85893),a=r(67294),l=r(11163),d=r(10367),h=r.n(d),u=r(24344),c=r(25142),f=r(50636),p=Object.defineProperty,m=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,v=(e,t,r)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,E=(e,t)=>{for(var r in t||(t={}))_.call(t,r)&&v(e,r,t[r]);if(m)for(var r of m(t))g.call(t,r)&&v(e,r,t[r]);return e},N=(e,t)=>{var r={};for(var n in e)_.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&m)for(var n of m(e))0>t.indexOf(n)&&g.call(e,n)&&(r[n]=e[n]);return r};(e=>{let t=class{constructor(e,r,n,o){if(this.version=e,this.errorCorrectionLevel=r,this.modules=[],this.isFunction=[],e<t.MIN_VERSION||e>t.MAX_VERSION)throw RangeError("Version value out of range");if(o<-1||o>7)throw RangeError("Mask value out of range");this.size=4*e+17;let s=[];for(let e=0;e<this.size;e++)s.push(!1);for(let e=0;e<this.size;e++)this.modules.push(s.slice()),this.isFunction.push(s.slice());this.drawFunctionPatterns();let a=this.addEccAndInterleave(n);if(this.drawCodewords(a),-1==o){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);let r=this.getPenaltyScore();r<e&&(o=t,e=r),this.applyMask(t)}}i(0<=o&&o<=7),this.mask=o,this.applyMask(o),this.drawFormatBits(o),this.isFunction=[]}static encodeText(r,n){let i=e.QrSegment.makeSegments(r);return t.encodeSegments(i,n)}static encodeBinary(r,n){let i=e.QrSegment.makeBytes(r);return t.encodeSegments([i],n)}static encodeSegments(e,n,o=1,a=40,l=-1,d=!0){let h,u;if(!(t.MIN_VERSION<=o&&o<=a&&a<=t.MAX_VERSION)||l<-1||l>7)throw RangeError("Invalid value");for(h=o;;h++){let r=8*t.getNumDataCodewords(h,n),i=s.getTotalBits(e,h);if(i<=r){u=i;break}if(h>=a)throw RangeError("Data too long")}for(let e of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])d&&u<=8*t.getNumDataCodewords(h,e)&&(n=e);let c=[];for(let t of e)for(let e of(r(t.mode.modeBits,4,c),r(t.numChars,t.mode.numCharCountBits(h),c),t.getData()))c.push(e);i(c.length==u);let f=8*t.getNumDataCodewords(h,n);i(c.length<=f),r(0,Math.min(4,f-c.length),c),r(0,(8-c.length%8)%8,c),i(c.length%8==0);for(let e=236;c.length<f;e^=253)r(e,8,c);let p=[];for(;8*p.length<c.length;)p.push(0);return c.forEach((e,t)=>p[t>>>3]|=e<<7-(7&t)),new t(h,n,p,l)}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}getModules(){return this.modules}drawFunctionPatterns(){for(let e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);let e=this.getAlignmentPatternPositions(),t=e.length;for(let r=0;r<t;r++)for(let n=0;n<t;n++)0==r&&0==n||0==r&&n==t-1||r==t-1&&0==n||this.drawAlignmentPattern(e[r],e[n]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){let t=this.errorCorrectionLevel.formatBits<<3|e,r=t;for(let e=0;e<10;e++)r=r<<1^(r>>>9)*1335;let o=(t<<10|r)^21522;i(o>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,n(o,e));this.setFunctionModule(8,7,n(o,6)),this.setFunctionModule(8,8,n(o,7)),this.setFunctionModule(7,8,n(o,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,n(o,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,n(o,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,n(o,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^(e>>>11)*7973;let t=this.version<<12|e;i(t>>>18==0);for(let e=0;e<18;e++){let r=n(t,e),i=this.size-11+e%3,o=Math.floor(e/3);this.setFunctionModule(i,o,r),this.setFunctionModule(o,i,r)}}drawFinderPattern(e,t){for(let r=-4;r<=4;r++)for(let n=-4;n<=4;n++){let i=Math.max(Math.abs(n),Math.abs(r)),o=e+n,s=t+r;0<=o&&o<this.size&&0<=s&&s<this.size&&this.setFunctionModule(o,s,2!=i&&4!=i)}}drawAlignmentPattern(e,t){for(let r=-2;r<=2;r++)for(let n=-2;n<=2;n++)this.setFunctionModule(e+n,t+r,1!=Math.max(Math.abs(n),Math.abs(r)))}setFunctionModule(e,t,r){this.modules[t][e]=r,this.isFunction[t][e]=!0}addEccAndInterleave(e){let r=this.version,n=this.errorCorrectionLevel;if(e.length!=t.getNumDataCodewords(r,n))throw RangeError("Invalid argument");let o=t.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][r],s=t.ECC_CODEWORDS_PER_BLOCK[n.ordinal][r],a=Math.floor(t.getNumRawDataModules(r)/8),l=o-a%o,d=Math.floor(a/o),h=[],u=t.reedSolomonComputeDivisor(s);for(let r=0,n=0;r<o;r++){let i=e.slice(n,n+d-s+(r<l?0:1));n+=i.length;let o=t.reedSolomonComputeRemainder(i,u);r<l&&i.push(0),h.push(i.concat(o))}let c=[];for(let e=0;e<h[0].length;e++)h.forEach((t,r)=>{(e!=d-s||r>=l)&&c.push(t[e])});return i(c.length==a),c}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw RangeError("Invalid argument");let r=0;for(let t=this.size-1;t>=1;t-=2){6==t&&(t=5);for(let i=0;i<this.size;i++)for(let o=0;o<2;o++){let s=t-o,a=(t+1&2)==0,l=a?this.size-1-i:i;!this.isFunction[l][s]&&r<8*e.length&&(this.modules[l][s]=n(e[r>>>3],7-(7&r)),r++)}}i(r==8*e.length)}applyMask(e){if(e<0||e>7)throw RangeError("Mask value out of range");for(let t=0;t<this.size;t++)for(let r=0;r<this.size;r++){let n;switch(e){case 0:n=(r+t)%2==0;break;case 1:n=t%2==0;break;case 2:n=r%3==0;break;case 3:n=(r+t)%3==0;break;case 4:n=(Math.floor(r/3)+Math.floor(t/2))%2==0;break;case 5:n=r*t%2+r*t%3==0;break;case 6:n=(r*t%2+r*t%3)%2==0;break;case 7:n=((r+t)%2+r*t%3)%2==0;break;default:throw Error("Unreachable")}!this.isFunction[t][r]&&n&&(this.modules[t][r]=!this.modules[t][r])}}getPenaltyScore(){let e=0;for(let r=0;r<this.size;r++){let n=!1,i=0,o=[0,0,0,0,0,0,0];for(let s=0;s<this.size;s++)this.modules[r][s]==n?5==++i?e+=t.PENALTY_N1:i>5&&e++:(this.finderPenaltyAddHistory(i,o),n||(e+=this.finderPenaltyCountPatterns(o)*t.PENALTY_N3),n=this.modules[r][s],i=1);e+=this.finderPenaltyTerminateAndCount(n,i,o)*t.PENALTY_N3}for(let r=0;r<this.size;r++){let n=!1,i=0,o=[0,0,0,0,0,0,0];for(let s=0;s<this.size;s++)this.modules[s][r]==n?5==++i?e+=t.PENALTY_N1:i>5&&e++:(this.finderPenaltyAddHistory(i,o),n||(e+=this.finderPenaltyCountPatterns(o)*t.PENALTY_N3),n=this.modules[s][r],i=1);e+=this.finderPenaltyTerminateAndCount(n,i,o)*t.PENALTY_N3}for(let r=0;r<this.size-1;r++)for(let n=0;n<this.size-1;n++){let i=this.modules[r][n];i==this.modules[r][n+1]&&i==this.modules[r+1][n]&&i==this.modules[r+1][n+1]&&(e+=t.PENALTY_N2)}let r=0;for(let e of this.modules)r=e.reduce((e,t)=>e+(t?1:0),r);let n=this.size*this.size,o=Math.ceil(Math.abs(20*r-10*n)/n)-1;return i(0<=o&&o<=9),i(0<=(e+=o*t.PENALTY_N4)&&e<=2568888),e}getAlignmentPatternPositions(){if(1==this.version)return[];{let e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2)),r=[6];for(let n=this.size-7;r.length<e;n-=t)r.splice(1,0,n);return r}}static getNumRawDataModules(e){if(e<t.MIN_VERSION||e>t.MAX_VERSION)throw RangeError("Version number out of range");let r=(16*e+128)*e+64;if(e>=2){let t=Math.floor(e/7)+2;r-=(25*t-10)*t-55,e>=7&&(r-=36)}return i(208<=r&&r<=29648),r}static getNumDataCodewords(e,r){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[r.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw RangeError("Degree out of range");let r=[];for(let t=0;t<e-1;t++)r.push(0);
1r.push(1);let n=1;for(let i=0;i<e;i++){for(let e=0;e<r.length;e++)r[e]=t.reedSolomonMultiply(r[e],n),e+1<r.length&&(r[e]^=r[e+1]);n=t.reedSolomonMultiply(n,2)}return r}static reedSolomonComputeRemainder(e,r){let n=r.map(e=>0);for(let i of e){let e=i^n.shift();n.push(0),r.forEach((r,i)=>n[i]^=t.reedSolomonMultiply(r,e))}return n}static reedSolomonMultiply(e,t){if(e>>>8!=0||t>>>8!=0)throw RangeError("Byte out of range");let r=0;for(let n=7;n>=0;n--)r=r<<1^(r>>>7)*285^(t>>>n&1)*e;return i(r>>>8==0),r}finderPenaltyCountPatterns(e){let t=e[1];i(t<=3*this.size);let r=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(r&&e[0]>=4*t&&e[6]>=t?1:0)+(r&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,r){return e&&(this.finderPenaltyAddHistory(t,r),t=0),t+=this.size,this.finderPenaltyAddHistory(t,r),this.finderPenaltyCountPatterns(r)}finderPenaltyAddHistory(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)}};function r(e,t,r){if(t<0||t>31||e>>>t!=0)throw RangeError("Value out of range");for(let n=t-1;n>=0;n--)r.push(e>>>n&1)}function n(e,t){return(e>>>t&1)!=0}function i(e){if(!e)throw Error("Assertion error")}t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=t;let o=class{constructor(e,t,r){if(this.mode=e,this.numChars=t,this.bitData=r,t<0)throw RangeError("Invalid argument");this.bitData=r.slice()}static makeBytes(e){let t=[];for(let n of e)r(n,8,t);return new o(o.Mode.BYTE,e.length,t)}static makeNumeric(e){if(!o.isNumeric(e))throw RangeError("String contains non-numeric characters");let t=[];for(let n=0;n<e.length;){let i=Math.min(e.length-n,3);r(parseInt(e.substr(n,i),10),3*i+1,t),n+=i}return new o(o.Mode.NUMERIC,e.length,t)}static makeAlphanumeric(e){let t;if(!o.isAlphanumeric(e))throw RangeError("String contains unencodable characters in alphanumeric mode");let n=[];for(t=0;t+2<=e.length;t+=2){let i=45*o.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t));r(i+=o.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t+1)),11,n)}return t<e.length&&r(o.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t)),6,n),new o(o.Mode.ALPHANUMERIC,e.length,n)}static makeSegments(e){return""==e?[]:o.isNumeric(e)?[o.makeNumeric(e)]:o.isAlphanumeric(e)?[o.makeAlphanumeric(e)]:[o.makeBytes(o.toUtf8ByteArray(e))]}static makeEci(e){let t=[];if(e<0)throw RangeError("ECI assignment value out of range");if(e<128)r(e,8,t);else if(e<16384)r(2,2,t),r(e,14,t);else if(e<1e6)r(6,3,t),r(e,21,t);else throw RangeError("ECI assignment value out of range");return new o(o.Mode.ECI,0,t)}static isNumeric(e){return o.NUMERIC_REGEX.test(e)}static isAlphanumeric(e){return o.ALPHANUMERIC_REGEX.test(e)}getData(){return this.bitData.slice()}static getTotalBits(e,t){let r=0;for(let n of e){let e=n.mode.numCharCountBits(t);if(n.numChars>=1<<e)return 1/0;r+=4+e+n.bitData.length}return r}static toUtf8ByteArray(e){e=encodeURI(e);let t=[];for(let r=0;r<e.length;r++)"%"!=e.charAt(r)?t.push(e.charCodeAt(r)):(t.push(parseInt(e.substr(r+1,2),16)),r+=2);return t}},s=o;s.NUMERIC_REGEX=/^[0-9]*$/,s.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,s.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.QrSegment=s})(o||(o={})),(e=>{let t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}};t.LOW=new t(0,1),t.MEDIUM=new t(1,0),t.QUARTILE=new t(2,3),t.HIGH=new t(3,2),e.Ecc=t})((n=o||(o={})).QrCode||(n.QrCode={})),(e=>{let t=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}};t.NUMERIC=new t(1,[10,12,14]),t.ALPHANUMERIC=new t(2,[9,11,13]),t.BYTE=new t(4,[8,16,16]),t.KANJI=new t(8,[8,10,12]),t.ECI=new t(7,[0,0,0]),e.Mode=t})((i=o||(o={})).QrSegment||(i.QrSegment={}));var M=o,w={L:M.QrCode.Ecc.LOW,M:M.QrCode.Ecc.MEDIUM,Q:M.QrCode.Ecc.QUARTILE,H:M.QrCode.Ecc.HIGH};function C(e){let{value:t,size:r=128,level:n="L",bgColor:i="#FFFFFF",fgColor:o="#000000",includeMargin:s=!1,imageSettings:l}=e,d=N(e,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]),h=M.QrCode.encodeText(t,w[n]).getModules(),u=s?4:0,c=h.length+2*u,f=function(e,t,r,n){if(null==n)return null;let i=e.length+2*(r?4:0),o=Math.floor(.1*t),s=i/t,a=(n.width||o)*s,l=(n.height||o)*s,d=null==n.x?e.length/2-a/2:n.x*s,h=null==n.y?e.length/2-l/2:n.y*s,u=null;if(n.excavate){let e=Math.floor(d),t=Math.floor(h);u={x:e,y:t,w:Math.ceil(a+d-e),h:Math.ceil(l+h-t)}}return{x:d,y:h,h:l,w:a,excavation:u}}(h,r,s,l),p=null;if(null!=l&&null!=f){if(null!=f.excavation){var m,_;m=h,_=f.excavation,h=m.slice().map((e,t)=>t<_.y||t>=_.y+_.h?e:e.map((e,t)=>(t<_.x||t>=_.x+_.w)&&e))}p=a.createElement("image",{xlinkHref:l.src,height:f.h,width:f.w,x:f.x+u,y:f.y+u,preserveAspectRatio:"none"})}let g=function(e,t=0){let r=[];return e.forEach(function(e,n){let i=null;e.forEach(function(o,s){if(!o&&null!==i){r.push(`M${i+t} ${n+t}h${s-i}v1H${i+t}z`),i=null;return}if(s===e.length-1){if(!o)return;null===i?r.push(`M${s+t},${n+t} h1v1H${s+t}z`):r.push(`M${i+t},${n+t} h${s+1-i}v1H${i+t}z`);return}o&&null===i&&(i=s)})}),r.join("")}(h,u);return a.createElement("svg",E({height:r,width:r,viewBox:`0 0 ${c} ${c}`},d),a.createElement("path",{fill:i,d:`M0,0 h${c}v${c}H0z`,shapeRendering:"crispEdges"}),a.createElement("path",{fill:o,d:g,shapeRendering:"crispEdges"}),p)}!function(){try{new Path2D().addPath(new Path2D)}catch(e){return!1}}();
1var x=r(98106),A=r.n(x),R=()=>(0,s.jsx)("div",{className:A().page_error,children:(0,s.jsxs)("div",{className:A().error_box,children:[(0,s.jsx)("div",{className:A().img}),(0,s.jsx)("div",{className:A().title,children:"Wrong URL"}),(0,s.jsx)("div",{className:A().message,children:"Please check your link and try again."})]})}),P=r(17333),y=r(32459),I=r(88737),S=()=>{var e,t,r;let[n,i]=(0,a.useState)(),{id:o,type:d}=(0,l.useRouter)().query,{appConfig:p}=(0,u.s6)(),m=(0,u.hU)(),[_,g]=(0,a.useState)(!1),[v,E]=(0,a.useState)(!1),[N,M]=(0,a.useState)(!1),w=(0,u.QT)({url:f.Z.getAppInfo}),x=(0,a.useCallback)(async()=>{if(o&&d)try{let e=await w.send({referralId:o,referralType:d});i(e.data)}catch(e){console.error(e),M(!0)}},[o,d]);return((0,a.useEffect)(()=>{(0,y.gL)("app-referred"),x()},[]),(0,a.useEffect)(()=>{let e=navigator.userAgent.toLowerCase(),t=e.indexOf("applewebkit")>-1&&-1==e.indexOf("android")&&-1==e.indexOf("adr"),r=e.indexOf("android")>-1||e.indexOf("adr")>-1&&-1==e.indexOf("applewebkit");t&&g(t),r&&E(r)},[]),o&&d&&!N)?(0,s.jsxs)("div",{className:A().refereed,children:[(0,s.jsx)(c.$4,{title:(0,I.aR)("App")}),(0,s.jsx)(P.Z,{type:"referred",appConfig:p,list:null==p?void 0:null===(e=p.app)||void 0===e?void 0:e.invitedPreferential,hidden:!1}),(0,s.jsx)("div",{className:A().content,children:(0,s.jsx)("div",{className:A().container,children:m.isPc?(0,s.jsxs)("div",{className:A().download,children:[(null==n?void 0:n.shortUrl)&&(0,s.jsx)(C,{value:null==n?void 0:n.shortUrl}),(0,s.jsxs)("div",{className:A().info,children:[(0,s.jsx)("p",{children:"Scan QR-code"}),(0,s.jsx)("p",{children:"Download App & Sign up"}),(0,s.jsx)("em",{children:'"Life is better with friends."'})]})]}):(0,s.jsxs)("div",{className:A().icons,children:[(null==p?void 0:null===(t=p.app)||void 0===t?void 0:t.appIconUrl)&&(0,s.jsx)("img",{src:null==p?void 0:null===(r=p.app)||void 0===r?void 0:r.appIconUrl,alt:""}),(0,s.jsx)("div",{className:A().name})]})})}),m.isMobile&&(0,s.jsxs)("div",{className:A().buttons,children:[_&&(0,s.jsxs)(h(),{block:!0,href:null==n?void 0:n.shortUrl,children:[(0,s.jsx)("img",{src:"/icon_ios.svg",alt:""}),"Download App"]}),v&&(0,s.jsxs)(h(),{block:!0,href:null==n?void 0:n.shortUrl,children:[(0,s.jsx)("img",{src:"/icon_android.svg",alt:""}),"Download App"]})]})]}):(0,s.jsx)(R,{})}},17333:function(e,t,r){"use strict";var n=r(85893),i=r(67294),o=r(24344),s=r(55251),a=r.n(s);t.Z=e=>{var t,r,s,l,d,h,u,c,f;let{appConfig:p,list:m,hidden:_,type:g="app"}=e,v=(0,o.hU)();(0,i.useMemo)(()=>{var e,t,r;if(!p)return;if(!(null===(e=p.app)||void 0===e?void 0:e.appName))return p.fullName;let n=null===(t=p.app)||void 0===t?void 0:t.appName.replace(/\s/g,"");return 0===n.length?p.fullName:null===(r=p.app)||void 0===r?void 0:r.appName},[p]);let E=(null===(t=p.app)||void 0===t?void 0:t.downloadSlogan)||"Earn points with every purchase",N=(null===(r=p.app)||void 0===r?void 0:r.downloadSubSlogan)||"Add your points and redeem for delicious rewards";return(0,n.jsx)("div",{className:"".concat(a().shop," ").concat(_&&a().hidden),style:{backgroundImage:"url(".concat(null==p?void 0:p.backgroundLogoUrl,")")},children:(0,n.jsxs)("div",{className:"".concat(a().shop_container),children:[(0,n.jsxs)("div",{className:a().text,children:[v.isPc&&(0,n.jsxs)("div",{className:a().text_title,children:[(0,n.jsx)("img",{src:null===(s=p.app)||void 0===s?void 0:s.appIconUrl,alt:""}),(null==p?void 0:null===(l=p.app)||void 0===l?void 0:l.appName)||(null==p?void 0:p.brandName)]}),(0,n.jsx)("div",{className:a().text_detail,children:"app"===g?(0,n.jsxs)(n.Fragment,{children:[E&&(0,n.jsx)("p",{className:a().download_slogan,children:E}),N&&(0,n.jsx)("div",{className:a().download_sub_slogan,dangerouslySetInnerHTML:{__html:N}})]}):(0,n.jsxs)(n.Fragment,{children:[(null===(d=p.app)||void 0===d?void 0:d.referralSlogan)&&(0,n.jsx)("p",{className:a().referral_slogan,children:null===(h=p.app)||void 0===h?void 0:h.referralSlogan}),(null===(u=p.app)||void 0===u?void 0:u.invitationContent)&&(0,n.jsx)("p",{className:a().invitation_content,children:null===(c=p.app)||void 0===c?void 0:c.invitationContent}),null==m?void 0:m.map((e,t)=>(0,n.jsx)("div",{className:"".concat(a().referred_item," ").concat(0===t?a().first_referred:""),dangerouslySetInnerHTML:{__html:e}},t))]})})]}),(0,n.jsx)("div",{className:a().pic,children:(0,n.jsx)("img",{src:null==p?void 0:null===(f=p.app)||void 0===f?void 0:f.a
1ppPhonePicUrl,alt:""})})]})})}},98106:function(e){e.exports={page_error:"app-referred_page_error__An2eQ",error_box:"app-referred_error_box__Loa3_",img:"app-referred_img__Irjdi",title:"app-referred_title__AJvjq",message:"app-referred_message__YYYoe",content:"app-referred_content__hD6p_",container:"app-referred_container__afAB_",download:"app-referred_download__7VXUD",info:"app-referred_info__c4Uy3",icons:"app-referred_icons__saKaD",buttons:"app-referred_buttons__igAhh",refereed:"app-referred_refereed__U_bNb","text-animation":"app-referred_text-animation__I_4Vh"}},55251:function(e){e.exports={shop:"mods_shop__k5Wmv",shop_container:"mods_shop_container__I0Gne",text:"mods_text__5p69e",text_title:"mods_text_title__LPpd4",text_detail:"mods_text_detail__r2Hgj",pic:"mods_pic__2ZsSv",hidden:"mods_hidden__5ZejW",referred_item:"mods_referred_item__j7KWm",first_referred:"mods_first_referred__uG5hd",referral_slogan:"mods_referral_slogan__zg_Wo",invitation_content:"mods_invitation_content__CoTMf",download_slogan:"mods_download_slogan__S_eXj",download_sub_slogan:"mods_download_sub_slogan__lcBPj","text-animation":"mods_text-animation___iWrs"}}},function(e){e.O(0,[49774,92888,40179],function(){return e(e.s=45195)}),_N_E=e.O()}]);

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.