PageSourceSearch

https://app.laka.co/_next/static/chunks/9966-d26b262c49133f0a.js

js laka.co collected 2026-09-28 09:20:53 UTC 10,483 bytes, 1 lines download raw bytes

1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="668d788d-b6e6-4d0c-80d4-b2afd4d89d4e",t._sentryDebugIdIdentifier="sentry-dbid-668d788d-b6e6-4d0c-80d4-b2afd4d89d4e")}catch(t){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9966],{52619:function(t,e,r){r.d(e,{x:function(){return i}});var o=r(12110),n=r(44194),s=r(83123);function i(t){var e=(0,n.useContext)((0,s.K)()),r=t||e.client;return __DEV__?(0,o.kG)(!!r,'Could not find "client" in the context or passed in as an option. Wrap the root component in an <ApolloProvider>, or pass an ApolloClient instance in via options.'):(0,o.kG)(!!r,32),r}},59966:function(t,e,r){r.d(e,{A:function(){return Q},a:function(){return m}});var o=r(92336),n=r(12110),s=r(44194),i=r.t(s,2),a=r(42464),u=!1,l=i.useSyncExternalStore||function(t,e,r){var o=e();__DEV__&&!u&&o!==e()&&(u=!0,__DEV__&&n.kG.error("The result of getSnapshot should be cached to avoid an infinite loop"));var i=s.useState({inst:{value:o,getSnapshot:e}}),l=i[0].inst,h=i[1];return a.JC?s.useLayoutEffect(function(){Object.assign(l,{value:o,getSnapshot:e}),c(l)&&h({inst:l})},[t,o,e]):Object.assign(l,{value:o,getSnapshot:e}),s.useEffect(function(){return c(l)&&h({inst:l}),t(function(){c(l)&&h({inst:l})})},[t]),o};function c(t){var e=t.value,r=t.getSnapshot;try{return e!==r()}catch(t){return!0}}var h=r(91215),p=r(16801),d=r(83123),f=r(61793),y=r(88239),b=r(2922),v=r(52619),g=r(93074),k=r(51221),O=r(90153),_=Object.prototype.hasOwnProperty;function m(t,e){return void 0===e&&(e=Object.create(null)),Q((0,v.x)(e.client),t).useQuery(e)}function Q(t,e){var r=(0,s.useRef)();r.current&&t===r.current.client&&e===r.current.query||(r.current=new w(t,e,r.current));
1var o=r.current,n=(0,s.useState)(0),i=(n[0],n[1]);return o.forceUpdate=function(){i(function(t){return t+1})},o}var w=function(){function t(t,e,r){this.client=t,this.query=e,this.ssrDisabledResult=(0,g.J)({loading:!0,data:void 0,error:void 0,networkStatus:y.I.loading}),this.skipStandbyResult=(0,g.J)({loading:!1,data:void 0,error:void 0,networkStatus:y.I.ready}),this.toQueryResultCache=new(a.mr?WeakMap:Map),(0,b.Vp)(e,b.n_.Query);var o=r&&r.result,n=o&&o.data;n&&(this.previousData=n)}return t.prototype.forceUpdate=function(){__DEV__&&n.kG.warn("Calling default no-op implementation of InternalState#forceUpdate")},t.prototype.executeQuery=function(t){var e,r=this;t.query&&Object.assign(this,{query:t.query}),this.watchQueryOptions=this.createWatchQueryOptions(this.queryHookOptions=t);var o=this.observable.reobserveAsConcast(this.getObsQueryOptions());return this.previousData=(null===(e=this.result)||void 0===e?void 0:e.data)||this.previousData,this.result=void 0,this.forceUpdate(),new Promise(function(t){var e;o.subscribe({next:function(t){e=t},error:function(){t(r.toQueryResult(r.observable.getCurrentResult()))},complete:function(){t(r.toQueryResult(e))}})})},t.prototype.useQuery=function(t){var e=this;this.renderPromises=(0,s.useContext)((0,d.K)()).renderPromises,this.useOptions(t);var r=this.useObservableQuery(),o=l((0,s.useCallback)(function(){if(e.renderPromises)return function(){};var t=function(){var t=e.result,o=r.getCurrentResult();t&&t.loading===o.loading&&t.networkStatus===o.networkStatus&&(0,h.D)(t.data,o.data)||e.setResult(o)},o=function(s){var i=r.last;n.unsubscribe();try{r.resetLastResults(),n=r.subscribe(t,o)}finally{r.last=i}if(!_.call(s,"graphQLErrors"))throw s;var a=e.result;(!a||a&&a.loading||!(0,h.D)(s,a.error))&&e.setResult({data:a&&a.data,error:s,loading:!1,networkStatus:y.I.error})},n=r.subscribe(t,o);return function(){return setTimeout(function(){return n.unsubscribe()})}},[r,this.renderPromises,this.client.disableNetworkFetches]),function(){return e.getCurrentResult()},function(){return e.getCurrentResult()});return this.unsafeHandlePartialRefetch(o),this.toQueryResult(o)},t.prototype.useOptions=function(e){var r,o=this.createWatchQueryOptions(this.queryHookOptions=e),n=this.watchQueryOptions;!(0,h.D)(o,n)&&(this.watchQueryOptions=o,n&&this.observable&&(this.observable.reobserve(this.getObsQueryOptions()),this.previousData=(null===(r=this.result)||void 0===r?void 0:r.data)||this.previousData,this.result=void 0)),this.onCompleted=e.onCompleted||t.prototype.onCompleted,this.onError=e.onError||t.prototype.onError,(this.renderPromises||this.client.disableNetworkFetches)&&!1===this.queryHookOptions.ssr&&!this.queryHookOptions.skip?this.result=this.ssrDisabledResult:this.queryHookOptions.skip||"standby"===this.watchQueryOptions.fetchPolicy?this.result=this.skipStandbyResult:(this.result===this.ssrDisabledResult||this.result===this.skipStandbyResult)&&(this.result=void 0)},t.prototype.getObsQueryOptions=function(){var t=[],e=this.client.defaultOptions.watchQuery;return e&&t.push(e),this.queryHookOptions.defaultOptions&&t.push(this.queryHookOptions.defaultOptions),t.push((0,k.o)(this.observable&&this.observable.options,this.watchQueryOptions)),t.reduce(p.J)},t.prototype.createWatchQueryOptions=function(t){void 0===t&&(t={});var e,r=t.skip,n=Object.assign((t.ssr,t.onCompleted,t.onError,t.defaultOptions,(0,o.__rest)(t,["skip","ssr","onCompleted","onError","defaultOptions"])),{query:this.query});if(this.renderPromises&&("network-only"===n.fetchPolicy||"cache-and-network"===n.fetchPolicy)&&(n.fetchPolicy="cache-first"),n.variables||(n.variables={}),r){var s=n.fetchPolicy,i=void 0===s?this.getDefaultFetchPolicy():s,a=n.initialFetchPolicy;Object.assign(n,{initialFetchPolicy:void 0===a?i:a,fetchPolicy:"standby"})}else n.fetchPolicy||(n.fetchPolicy=(null===(e=this.observable)||void 0===e?void 0:e.options.initialFetchPolicy)||this.getDefaultFetchPolicy());return n},t.prototype.getDefaultFetchPolicy=function(){var t,e;return(null===(t=this.queryHookOptions.defaultOptions)||void 0===t?void 0:t.fetchPolicy)||(null===(e=this.client.defaultOptions.watchQuery)||void 0===e?void 0:e.fetchPolicy)||"cac
1he-first"},t.prototype.onCompleted=function(t){},t.prototype.onError=function(t){},t.prototype.useObservableQuery=function(){var t=this.observable=this.renderPromises&&this.renderPromises.getSSRObservable(this.watchQueryOptions)||this.observable||this.client.watchQuery(this.getObsQueryOptions());this.obsQueryFields=(0,s.useMemo)(function(){return{refetch:t.refetch.bind(t),reobserve:t.reobserve.bind(t),fetchMore:t.fetchMore.bind(t),updateQuery:t.updateQuery.bind(t),startPolling:t.startPolling.bind(t),stopPolling:t.stopPolling.bind(t),subscribeToMore:t.subscribeToMore.bind(t)}},[t]);var e=!(!1===this.queryHookOptions.ssr||this.queryHookOptions.skip);return this.renderPromises&&e&&(this.renderPromises.registerSSRObservable(t),t.getCurrentResult().loading&&this.renderPromises.addObservableQueryPromise(t)),t},t.prototype.setResult=function(t){var e=this.result;e&&e.data&&(this.previousData=e.data),this.result=t,this.forceUpdate(),this.handleErrorOrCompleted(t)},t.prototype.handleErrorOrCompleted=function(t){var e=this;if(!t.loading){var r=this.toApolloError(t);Promise.resolve().then(function(){r?e.onError(r):t.data&&e.onCompleted(t.data)}).catch(function(t){__DEV__&&n.kG.warn(t)})}},t.prototype.toApolloError=function(t){return(0,O.O)(t.errors)?new f.cA({graphQLErrors:t.errors}):t.error},t.prototype.getCurrentResult=function(){return this.result||this.handleErrorOrCompleted(this.result=this.observable.getCurrentResult()),this.result},t.prototype.toQueryResult=function(t){var e=this.toQueryResultCache.get(t);if(e)return e;var r=t.data,n=(t.partial,(0,o.__rest)(t,["data","partial"]));return this.toQueryResultCache.set(t,e=(0,o.__assign)((0,o.__assign)((0,o.__assign)({data:r},n),this.obsQueryFields),{client:this.client,observable:this.observable,variables:this.observable.variables,called:!this.queryHookOptions.skip,previousData:this.previousData})),!e.error&&(0,O.O)(t.errors)&&(e.error=new f.cA({graphQLErrors:t.errors})),e},t.prototype.unsafeHandlePartialRefetch=function(t){t.partial&&this.queryHookOptions.partialRefetch&&!t.loading&&(!t.data||0===Object.keys(t.data).length)&&"cache-only"!==this.observable.options.fetchPolicy&&(Object.assign(t,{loading:!0,networkStatus:y.I.refetch}),this.observable.refetch())},t}()},2922:function(t,e,r){r.d(e,{E2:function(){return u},Vp:function(){return l},n_:function(){return n}});var o,n,s=r(12110);(o=n||(n={}))[o.Query=0]="Query",o[o.Mutation=1]="Mutation",o[o.Subscription=2]="Subscription";var i=new Map;function a(t){var e;switch(t){case n.Query:e="Query";break;case n.Mutation:e="Mutation";break;case n.Subscription:e="Subscription"}return e}function u(t){var e,r,o=i.get(t);if(o)return o;__DEV__?(0,s.kG)(!!t&&!!t.kind,"Argument of ".concat(t," passed to parser was not a valid GraphQL ")+"DocumentNode. You may need to use 'graphql-tag' or another method to convert your operation into a document"):(0,s.kG)(!!t&&!!t.kind,33);for(var a=[],u=[],l=[],c=[],h=0,p=t.definitions;h<p.length;h++){var d=p[h];if("FragmentDefinition"===d.kind){a.push(d);continue}if("OperationDefinition"===d.kind)switch(d.operation){case"query":u.push(d);break;case"mutation":l.push(d);break;case"subscription":c.push(d)}}__DEV__?(0,s.kG)(!a.length||u.length||l.length||c.length,"Passing only a fragment to 'graphql' is not yet supported. You must include a query, subscription or mutation as well"):(0,s.kG)(!a.length||u.length||l.length||c.length,34),__DEV__?(0,s.kG)(u.length+l.length+c.length<=1,"react-apollo only supports a query, subscription, or a mutation per HOC. "+"".concat(t," had ").concat(u.length," queries, ").concat(c.length," ")+"subscriptions and ".concat(l.length," mutations. ")+"You can use 'compose' to join multiple operation types to a component"):(0,s.kG)(u.length+l.length+c.length<=1,35),r=u.length?n.Query:n.Mutation,u.length||l.length||(r=n.Subscription);var f=u.length?u:l.length?l:c;__DEV__?(0,s.kG)(1===f.length,"react-apollo only supports one definition per HOC. ".concat(t," had ")+"".concat(f.length," definitions. ")+"You can use 'compose' to join multiple operation types to a component"):(0,s.kG)(1===f.length,36);var y=f[0];e=y.variableDefinitions||[];var b={name:y.name&&"Name"===y.name.kind?y.name.value:"data",type:r,variables:e};return i.set(t,b),b}function l(t,e){var r=u(t),o=a(e),n=a(r.type);__DEV__?(0,s.kG)(r.type===e,"Running a ".concat(o," requires a graphql ")+"".concat(o,", but a ").concat(n," was used instead.")):(0,s.kG)(r.type===e,37)}}}]);

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.