PageSourceSearch

https://www.thecivic.com.au/_next/static/chunks/pages/[multisite]/film/[url]-453849f0ef4c72f7.js

js thecivic.com.au collected 2026-10-04 09:48:14 UTC 6,393 bytes, 6 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[924],{76489:function(e,t){"use strict";/*!
2 * cookie
3 * Copyright(c) 2012-2014 Roman Shtylman
4 * Copyright(c) 2015 Douglas Christopher Wilson
5 * MIT Licensed
6 */ t.parse=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var o={},n=e.split(";"),r=(t||{}).decode||i,a=0;a<n.length;a++){var s=n[a],c=s.indexOf("=");if(!(c<0)){var l=s.substring(0,c).trim();if(void 0==o[l]){var u=s.substring(c+1,s.length).trim();'"'===u[0]&&(u=u.slice(1,-1)),o[l]=function(e,t){try{return t(e)}catch(i){return e}}(u,r)}}}return o},t.serialize=function(e,t,i){var r=i||{},a=r.encode||o;if("function"!=typeof a)throw TypeError("option encode is invalid");if(!n.test(e))throw TypeError("argument name is invalid");var s=a(t);if(s&&!n.test(s))throw TypeError("argument val is invalid");var c=e+"="+s;if(null!=r.maxAge){var l=r.maxAge-0;if(isNaN(l)||!isFinite(l))throw TypeError("option maxAge is invalid");c+="; Max-Age="+Math.floor(l)}if(r.domain){if(!n.test(r.domain))throw TypeError("option domain is invalid");c+="; Domain="+r.domain}if(r.path){if(!n.test(r.path))throw TypeError("option path is invalid");c+="; Path="+r.path}if(r.expires){if("function"!=typeof r.expires.toUTCString)throw TypeError("option expires is invali
6d");c+="; Expires="+r.expires.toUTCString()}if(r.httpOnly&&(c+="; HttpOnly"),r.secure&&(c+="; Secure"),r.sameSite){var u="string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite;switch(u){case!0:case"strict":c+="; SameSite=Strict";break;case"lax":c+="; SameSite=Lax";break;case"none":c+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}}return c};var i=decodeURIComponent,o=encodeURIComponent,n=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/},47041:function(e,t,i){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,i=1,o=arguments.length;i<o;i++)for(var n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},n=this&&this.__rest||function(e,t){var i={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(i[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)0>t.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(i[o[n]]=e[o[n]]);return i};Object.defineProperty(t,"__esModule",{value:!0}),t.checkCookies=t.hasCookie=t.removeCookies=t.deleteCookie=t.setCookies=t.setCookie=t.getCookie=t.getCookies=void 0;var r=i(76489),a=function(){return"undefined"!=typeof window},s=function(e){void 0===e&&(e="");try{var t=JSON.stringify(e);return/^[\{\[]/.test(t)?t:e}catch(i){return e}},c=function(e){if(e&&(t=e.req),!a())return t&&t.cookies?t.cookies:t&&t.headers&&t.headers.cookie?(0,r.parse)(t.headers.cookie):{};for(var t,i={},o=document.cookie?document.cookie.split("; "):[],n=0,s=o.length;n<s;n++){var c=o[n].split("="),l=c.slice(1).join("=");i[c[0]]=l}return i};t.getCookies=c;var l=function(e,i){var o,n=(0,t.getCookies)(i)[e];if(void 0!==n)return"true"===(o=n?n.replace(/(%[0-9A-Z]{2}
6)+/g,decodeURIComponent):n)||"false"!==o&&("undefined"!==o?"null"===o?null:o:void 0)};t.getCookie=l;var u=function(e,t,i){if(i){var c,l,u,f=i.req,p=i.res,d=n(i,["req","res"]);l=f,u=p,c=d}var m=(0,r.serialize)(e,s(t),o({path:"/"},c));if(a())document.cookie=m;else if(u&&l){var v=u.getHeader("Set-Cookie");if(Array.isArray(v)||(v=v?[String(v)]:[]),u.setHeader("Set-Cookie",v.concat(m)),l&&l.cookies){var h=l.cookies;""===t?delete h[e]:h[e]=s(t)}if(l&&l.headers&&l.headers.cookie){var h=(0,r.parse)(l.headers.cookie);""===t?delete h[e]:h[e]=s(t),l.headers.cookie=Object.entries(h).reduce(function(e,t){return e.concat("".concat(t[0],"=").concat(t[1],";"))},"")}}};t.setCookie=u;var f=function(e,i,o){return console.warn("[WARN]: setCookies was deprecated. It will be deleted in the new version. Use setCookie instead."),(0,t.setCookie)(e,i,o)};t.setCookies=f;var p=function(e,i){return(0,t.setCookie)(e,"",o(o({},i),{maxAge:-1}))};t.deleteCookie=p;var d=function(e,i){return console.warn("[WARN]: removeCookies was deprecated. It will be deleted in the new version. Use deleteCookie instead."),(0,t.deleteCookie)(e,i)};t.removeCookies=d;var m=function(e,i){return!!e&&(0,t.getCookies)(i).hasOwnProperty(e)};t.hasCookie=m;var v=function(e,i){return console.warn("[WARN]: checkCookies was deprecated. It will be deleted in the new version. Use hasCookie instead."),(0,t.hasCookie)(e,i)};t.checkCookies=v},26877:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[multisite]/film/[url]",function(){return i(13631)}])},62693:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let o=i(92648).Z,n=o(i(97218)),r=async e=>(await n.default.get("/api/"+e,{withCredentials:!0,headers:{"Content-Type":"application/json"}})).data,a=async()=>{let e=await r("cinema/info");return e.container?e:e.cinema},s=async()=>await r("cinema/navigation"),c=async()=>await r("cinema/carousel"),l=async()=>await r("movie/playing-now"),u=async()=>await r("movie/coming-soon"),f=async e=>await r("movie/"+e),p=async()=>await r("cinema/pages"),d=async()=>await r("cinema/promos"),m=async e=>await r("cinema/page/".concat(e));e.exports={info:a,navigation:s,playingNow:l,movie:f,carousel:c,comingSoon:u,pages:p,page:m,promos:d}},13631:function(e,t,i){"use strict";i.r(t);var o=i(67294),n=i(11163),r=i(62693),a=i.n(r),s=i(47041);let c=()=>{let[e,t]=(0,o.useState)(!1),i=(0,n.useRouter)(),{url:r}=i.query,c=new Date;c.setMonth(c.getMonth()+48);let l=e=>{(0,s.setCookie)("previouslySelectedCinema",e.cinemaUrl,{expires:c}),(0,s.setCookie)("previouslySelectedCinemaName",e.name,{expires:c}),(0,s.setCookie)("multisiteDomainv3",e.domain,{expires:c})},u=(e,t)=>{let i=t[0];return e.cinemas.find(e=>e.cinemaUrl===i)};if((0,o.useEffect)(()=>{(async function(){if(r)try{let e=await a().info(),o=window.location.pathname.split("/").filter(Boolean),n=u(e,o);l(n);let s=await a().movie(r);if(!s||0===Object.keys(s).length){t(!0);return}let c=s.movieData;if(c&&c.url&&r===c.reference){let f=n?"/".concat(n.cinemaUrl,"/movie/").concat(c.url):"/movie/".concat(c.url);i.asPath!==f&&i.push(f)}else t(!0)}catch(p){console.error(p),t(!0)}})()},[r]),e)return i.replace("/404"),null};t.default=c}},function(e){e.O(0,[218,774,888,179],function(){return e(e.s=26877)}),_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.