ig.rizaldy.club/_next/static/chunks/pages/_app-538bc5e4142c171e.js

1 line
12 KiB
JavaScript
Raw Normal View History

(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{3454:function(e,t,r){"use strict";var n,o;e.exports=(null==(n=r.g.process)?void 0:n.env)&&"object"==typeof(null==(o=r.g.process)?void 0:o.env)?r.g.process:r(7663)},1118:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(1937)}])},7205:function(e,t,r){"use strict";r.d(t,{O_:function(){return u},Zv:function(){return n},a_:function(){return l},oZ:function(){return o}});let n=40,o={PHOTOS:"photos",VIDEOS:"videos"},l="MMXXIV",u=27},9720:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PrefetchKind:function(){return r},ACTION_REFRESH:function(){return o},ACTION_NAVIGATE:function(){return l},ACTION_RESTORE:function(){return u},ACTION_SERVER_PATCH:function(){return i},ACTION_PREFETCH:function(){return a},ACTION_FAST_REFRESH:function(){return c},ACTION_SERVER_ACTION:function(){return s},isThenable:function(){return f}});let o="refresh",l="navigate",u="restore",i="server-patch",a="prefetch",c="fast-refresh",s="server-action";function f(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(n=r||(r={})).AUTO="auto",n.FULL="full",n.TEMPORARY="temporary",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},245:function(e,t,r){"use strict";function n(e,t,r,n){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return n}}),r(9082),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1032:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});let n=r(8754)._(r(7294)),o=r(4879),l=r(1572),u=r(8373),i=r(6221),a=r(5933),c=r(4167),s=r(8874),f=r(6342),d=r(245),p=r(6015),h=r(9720),m=new Set;function v(e,t,r,n,o,u){if(u||(0,l.isLocalURL)(t)){if(!n.bypassPrefetchedCheck){let o=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(m.has(o))return;m.add(o)}Promise.resolve(u?e.prefetch(t,o):e.prefetch(t,r,n)).catch(e=>{})}}function b(e){return"string"==typeof e?e:(0,u.formatUrl)(e)}let y=n.default.forwardRef(function(e,t){let r,u;let{href:m,as:y,children:x,prefetch:g=null,passHref:_,replace:j,shallow:T,scroll:O,locale:E,onClick:k,onMouseEnter:M,onTouchStart:N,legacyBehavior:C=!1,...w}=e;r=x,C&&("string"==typeof r||"number"==typeof r)&&(r=n.default.createElement("a",null,r));let I=n.default.useContext(c.RouterContext),P=n.default.useContext(s.AppRouterContext),A=null!=I?I:P,R=!I,L=!1!==g,S=null===g?h.PrefetchKind.AUTO:h.PrefetchKind.FULL,{href:U,as:z}=n.default.useMemo(()=>{if(!I){let e=b(m);return{href:e,as:y?b(y):e}}let[e,t]=(0,o.resolveHref)(I,m,!0);return{href:e,as:y?(0,o.resolveHref)(I,y):t||e}},[I,m,y]),D=n.default.useRef(U),H=n.default.useRef(z);C&&(u=n.default.Children.only(r));let K=C?u&&"object"==typeof u&&u.ref:t,[V,B,F]=(0,f.useIntersection)({rootMargin:"200px"}),X=n.default.useCallback(e=>{(H.current!==z||D.current!==U)&&(F(),H.current=z,D.current=U),V(e),K&&("function"==typeof K?K(e):"object"==typeof K&&(K.current=e))},[z,K,U,F,V]);n.default.useEffect(()=>{A&&B&&L&&v(A,U,z,{locale:E},{kind:S},R)},[z,U,B,E,L,null==I?void 0:I.locale,A,R,S]);let G={ref:X,onClick(e){C||"function"!=typeof k||k(e),C&&u.props&&"function"==typeof u.props.onClick&&u.props.onClick(e),A&&!e.defaultPrevented&&function(e,t,r,o,u,i,a,c,s){let{nodeName:f}=e.currentTarget;if("A"===f.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!s&&!(0,l.isLocalURL)(r)))return;e.preventDefaul