PageSourceSearch

https://wildcat-mrh.vercel.app/_next/static/chunks/pages/push-eedb149f6d1f93c5.js

js wildcat-mrh.vercel.app collected 2026-10-03 08:05:59 UTC 7,019 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3756],{57223:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(96540);function i(e){if(parseInt(r.version,10)>=19){var t;return(null==e||null==(t=e.props)?void 0:t.ref)||null}return(null==e?void 0:e.ref)||null}},90608:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/push",function(){return n(4789)}])},96011:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(98587),i=n(58168),o=n(96540),s=n(34164),a=n(75659),u=n(43778),l=n(66707),c=n(3691),p=n(38413),d=n(31609);function v(e){return(0,d.Ay)("MuiBackdrop",e)}(0,p.A)("MuiBackdrop",["root","invisible"]);var f=n(74848),g=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],y=function(e){var t=e.classes,n=e.invisible;return(0,a.A)({root:["root",n&&"invisible"]},v,t)},h=(0,u.Ay)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.invisible&&t.invisible]}})(function(e){var t=e.ownerState;return(0,i.A)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},t.invisible&&{backgroundColor:"transparent"})});let m=o.forwardRef(function(e,t){var n,o,a,u=(0,l.b)({props:e,name:"MuiBackdrop"}),p=u.children,d=u.className,v=u.component,m=void 0===v?"div":v,b=u.components,E=u.componentsProps,x=u.invisible,A=u.open,w=u.slotProps,k=u.slots,R=u.TransitionComponent,_=void 0===R?c.A:R,C=u.transitionDuration,I=(0,r.A)(u,g),q=(0,i.A)({},u,{component:m,invisible:void 0!==x&&x}),N=y(q),T=null!==(n=(void 0===w?{}:w).root)&&void 0!==n?n:(void 0===E?{}:E).root;return(0,f.jsx)(_,(0,i.A)({in:A,timeout:C},I,{children:(0,f.jsx)(h,(0,i.A)({"aria-hidden":!0},T,{as:null!==(a=null!==(o=(void 0===k?{}:k).root)&&void 0!==o?o:(void 0===b?{}:b).Root)&&void 0!==a?a:m,className:(0,s.A)(N.root,d,null==T?void 0:T.className),ownerState:(0,i.A)({},q,null==T?void 0:T.ownerState),classes:N,ref:t,children:p}))}))})},3691:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(58168),i=n(98587),o=n(96540),s=n(65670),a=n(57223),u=n(91253),l=n(78356),c=n(4790),p=n(74848),d=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],v={entering:{opacity:1},entered:{opacity:1}};let f=o.forwardRef(function(e,t){var n=(0,u.A)(),f={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},g=e.addEndListener,y=e.appear,h=e.children,m=e.easing,b=e.in,E=e.onEnter,x=e.onEntered,A=e.onEntering,w=e.onExit,k=e.onExited,R=e.onExiting,_=e.style,C=e.timeout,I=void 0===C?f:C,q=e.TransitionComponent,N=void 0===q?s.Ay:q,T=(0,i.A)(e,d),L=o.useRef(null),S=(0,c.A)(L,(0,a.A)(h),t),P=function(e){return function(t){if(e){var n=L.current;void 0===t?e(n):e(n,t)}}},j=P(A),M=P(function(e,t){(0,l.q)(e);var r=(0,l.c)({style:_,timeout:I,easing:m},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),E&&E(e,t)}),Z=P(x),B=P(R),Y=P(function(e){var t=(0,l.c)({style:_,timeout:I,easing:m},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),w&&w(e)}),H=P(k);return(0,p.jsx)(N,(0,r.A)({appear:void 0===y||y,in:b,nodeRef:L,onEnter:M,onEntered:Z,onEntering:j,onExit:Y,onExited:H,onExiting:B,addEndListener:function(e){g&&g(L.current,e)},timeout:I},T,{children:function(e,t){return o.cloneElement(h,(0,r.A)({style:(0,r.A)({opacity:0,visibility:"exited"!==e||b?void 0:"hidden"},v[e],_,h.props.style),ref:S},t))}}))})},4789:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var r=n(41374),i=n(31635),o=n(2445),s=n(96011),a=n(38501),u=n(6810),l=n(64251),c=n(86715),p=n(96540),d=n(44761),v=n(98502),f=n(85853),g=n(85810),y="/native/login?redirect=".concat(encodeURIComponent("/updates"));function h(){return(h=(0,r._)(function(e){var t,n,r,o,s;return(0,i.YH)(this,function(i){switch(i.label){case 0:u.Z({category:"native.push",message:"push: fetching post marketplace",level:"info",data:{postId:e}}),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,fetch("/api/l/public/posts/".concat(e))];case 2:return t=i.sent(),[3,4];case 3:return n=i.sent(),l.Cp(n,{extra:{postId:e,context:"native.push: fetch to /api/l/public/posts threw"}}),[2,null];case 4:if(!t.ok)return l.wd("native.push: post lookup failed with error status",{level:"error",extra:{postId:e,status:t.status}}),[2,null];i.label=5;case 5:return i.trys.push([5,7,,8]),[4,t.json()];case 6:return r=i.sent(),[3,8];case 7:return o=i.sent(),l.Cp(o,{extra:{postId:e,context:"native.push: post lookup returned invali
1d JSON"}}),[2,null];case 8:if(Array.isArray(r)||!(null==r?void 0:r.post_id))return l.wd("native.push: post_id not found in Magento",{level:"warning",extra:{postId:e,body:r}}),[2,null];return s=r.marketplace,(0,f.Q)(s)||u.Z({category:"native.push",message:"push: post marketplace missing/unrecognized, defaulting to us",level:"warning",data:{postId:e,marketplace:s}}),[2,(0,f.Q)(s)?s:"us"]}})})).apply(this,arguments)}function m(){var e=(0,c.useRouter)(),t=(0,d.A)(),n=t.isLoggedIn,f=t.isInitializing,m=(0,p.useRef)(!1),b=(0,p.useRef)(!1),E=(0,p.useRef)(!1),x="string"==typeof e.query.post_id?e.query.post_id:null,A="string"==typeof e.query.route?e.query.route:null;return b.current||(b.current=!0,u.Z({category:"native.push",message:"push: page mounted",level:"info",data:{query:e.query,isReady:e.isReady}})),(0,p.useEffect)(function(){e.isReady&&!E.current&&(x||A)&&(E.current=!0,(0,v._)(x,A))},[e.isReady,x,A]),(0,p.useEffect)(function(){if(e.isReady&&!f&&!m.current){if(!x&&!A){l.wd("native.push: no post_id or route on push URL",{level:"error",extra:{query:e.query}});return}u.Z({category:"native.push",message:"push: resolving target route",level:"info",data:{postId:x,route:A,isLoggedIn:n}});var t=!1;return(function(){return o.apply(this,arguments)})().catch(function(n){t||(l.Cp(n,{extra:{postId:x,route:A,context:"native.push: unexpected error resolving push target"}}),m.current=!0,e.replace(y))}),function(){t=!0}}function o(){return(o=(0,r._)(function(){var r,o,s,a;return(0,i.YH)(this,function(i){switch(i.label){case 0:if(r="us",!x)return[3,2];return[4,function(e){return h.apply(this,arguments)}(x)];case 1:if(o=i.sent(),t)return[2];if(!o)return m.current=!0,e.replace(y),[2];r=o,i.label=2;case 2:return s=x?"/updates/".concat(x):A,a=(0,g.q)(s,r),u.Z({category:"native.push",message:"push: navigating to resolved target",level:"info",data:{target:a,isLoggedIn:n}}),m.current=!0,e.replace(n?a:"/native/login?redirect=".concat(encodeURIComponent(a))),[2]}})})).apply(this,arguments)}},[e,e.isReady,f,n,x,A]),(0,o.Y)(s.A,{sx:{color:"var(--color-primary-500)",backgroundColor:"#fff",position:"absolute"},open:!0,children:(0,o.Y)(a.A,{color:"inherit"})})}}},e=>{var t=t=>e(e.s=t);e.O(0,[6637,636,6593,8792],()=>t(90608)),_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.