1(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{EhLH:function(e,t,a){"use strict";a.r(t);var n=a("pbKT"),r=a.n(n),s=a("eVuF"),i=a.n(s),o=a("ln6h"),c=a.n(o),l=a("0iUn"),u=a("sLSF"),p=a("Tit0"),h=a("MI3g"),m=a("a7VT"),f=a("q1tI"),d=a.n(f),g=a("8Kt/"),w=a.n(g),v=a("5Yp1"),b=a("UFcr"),_=a("eHvk"),k=a("OcYQ"),j=a("9j1t"),y=a("Z08w"),O=a("qmHl"),N=a("LsPb"),P=a("4pv1"),x=a("QqKt"),q=a("EUSe"),C=a("EQ3O"),T=d.a.createElement;function E(e){var t=function(){if("undefined"===typeof Reflect||!r.a)return!1;if(r.a.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(r()(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,n=Object(m.a)(e);if(t){var s=Object(m.a)(this).constructor;a=r()(n,arguments,s)}else a=n.apply(this,arguments);return Object(h.a)(this,a)}}var A=function(e){Object(p.a)(a,e);var t=E(a);function a(e){var n;return Object(l.a)(this,a),(n=t.call(this,e)).state={preview:!1},n}return Object(u.a)(a,null,[{key:"getInitialProps",value:function(e){var t,a,n,r,s,o,l,u;return c.a.async((function(i){for(;;)switch(i.prev=i.next){case 0:if(t=e.query,a=e.pathname,n=e.asPath,r=e.query,s=r.slug,o=r.apiRoute,l="",u="",!(e&&e.req&&e.req.query&&e.req.query.preview)){i.next=9;break}u=!0,i.next=12;break;case 9:return i.next=11,c.a.awrap(Object(j.a)("".concat(k.a.apiUrl,"/wp-json/wp/v2/posts?slug=").concat(s)));case 11:l=i.sent;case 12:return i.abrupt("return",{post:l,propquery:t,slug:s,pathname:a,apiRoute:o,asPath:n,preview:u});case 13:case"end":return i.stop()}}),null,null,null,i.a)}}]),Object(u.a)(a,[{key:"componentDidMount",value:function(){var e=this;this.props.preview&&fetch("".concat(k.a.apiUrl,"/wp-json/wp/v2/preview?id=").concat(this.props.slug,"&cachecall=true"),{method:"GET",credentials:"same-origin"}).then((function(e){return e.json()})).then((function(t){e.setState({preview:t})})).catch((function(e){console.log(e)}))}},{key:"render",value:function(){var e,t=this.props.slug?"".concat(this.props.pathname,"?slug=").concat(this.props.slug,"&apiRoute=").concat(this.props.apiRoute):this.props.pathname;if(!this.props.post[0]&&!this.props.preview)return T(N.a,{siteName:this.props.siteConfig.name,menu:this.props.headerMenu,url:t,asPath:this.props.asPath,userAgent:this.props.userAgent});if(!this.state.preview[0]&&this.props.preview)return T(N.a,{siteName:this.props.siteConfig.name,menu:this.props.headerMenu,url:t,asPath:this.props.asPath,userAgent:this.props.userAgent});e=this.state.preview?this.state.preview[0]:this.props.post[0];var a=Object(O.a)(e.title.rendered).replace(/<(?:.|\n)*?>/gm,""),n=new Date(e.date),r=e.better_featured_image&&e.better_featured_image.media_details&&e.better_featured_image.media_details.image_meta.caption?T("figcaption",null,e.better_featured_image.media_details.image_meta.caption):null,s="".concat(n.getDate(),". ").concat(Object(y.a)(n.getMonth()+1));return T(v.a,null,T(w.a,null,T(P.a,{title:"".concat(a," - ").concat(this.props.siteConfig.name),url:"https://trondelag-teater.no".concat(this.props.asPath),image:e.better_featured_image&&e.better_featured_image.source_url?e.better_featured_image.source_url:null,description:"".concat(Object(O.a)(e.content.rendered.substring(0,250).replace(/<(?:.|\\n)*?>/gm,"")),"...")}),T("meta",{name:"description",content:"".concat(Object(O.a)(e.content.rendered.substring(0,250).replace(/<(?:.|\\n)*?>/gm,"")),"...")}),T("title",null,Object(O.a)(a)," - ",this.props.siteConfig.name)),T(C.a,{menu:this.props.headerMenu,url:t,asPath:this.props.asPath,userAgent:this.props.userAgent}),T("div",{id:"main",className:"single-post bg-white"},T("div",{className:"container w-800"},T("div",{className:"col-left"},e.better_featured_image&&e.better_featured_image.source_url?T("figure",null,T("img",{src:e.better_featured_image.source_url,alt:a,loading:"lazy"}),r):null),T("div",{className:"col-right"},T("time",{className:"date",dateTime:e.date},s),T("h1",{className:"font-sharp-grotesk"},Object(O.a)(a)),T("div",{className:"content",dangerouslySetInnerHTML:{__html:e.content.rendered}}),T(_.a,{url:window.location.href})))))}}]),a}(f.Component);t.default=Object(q.a)(x.f,(function(e){return e}),null)(Object(b.a)(A))},LsPb:function(e,t,a){"use strict";var n=a("q1tI"),r=a.n(n),s=a("8Kt/"),i=a.n(s),o=a("5Yp1"),c=a("EQ3O"),l=r.a.createElement;t.a=function(e){return l(o.a,null,l(i.a,null,l("title",null,"Fant ikke siden - ",e.siteName)),l(c.a,{menu:e.menu,url:e.url,asPath:e.asPath,userAgent:e.userAgent}),l("div",{id:"main",className:"page-not-found"},l("div",{className:"slider-container color-container text-center"},l("div",{className:"container w-1000"},l("h1",{className:"font-sharp-grotesk"},"404"),l("h2",null,"Denne siden ble ikke funnet.")))))}},MDTK:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/post",function(){return a("EhLH")}])},Z08w:function(e,t,a){"use strict";function n(e){var t=["","januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"];return e?t[e]:t}a.d(t,"a",(function(){return n}))},eHvk:function(e,t,a){"use strict";var n=a("q1tI"),r=a.n(n),s=a("OcYQ"),i=r.a.createElement;t.a=function(e){return!!e.url&&i("div",{className:"social-share"},i("span",null,"Del denne saken"),i("div",{className:"links"},i("a",{title:"Facebook",href:"https://www.facebook.com/sharer/sharer.php?u=".concat(e.url),target:"_blank",rel:"noopener noreferrer"},i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"23",viewBox:"0 0 12 23"},i("text",{fill:"#FFF",fillOpacity:"0",stroke:s.a.mainColor,strokeWidth:"1.45",fontFamily:"Roboto-Black, Roboto",fontSize:"27.52",fontWeight:"700",letterSpacing:".956",transform:"translate(-842 -581)"},i("tspan",{x:"843",y:"603"},"f")))),i("a",{title:"E-post",href:"mailto:?&subject=Trondelag-teater.no&body=Se%20dette%20fantastiske%20innlegget%20p%C3%A5%20Trondelag-teater.no!%0A".concat(e.url),target:"_blank",rel:"noopener noreferrer"},i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"17",viewBox:"0 0 24 17"},i("g",{fill:"none"},i("path",{fill:s.a.mainColor,d:"M1.425 15.545V2.203l9.862 7.887a.706.706 0 0 0 .874.01l10.352-7.936v13.381H1.425zm19.69-14.11L11.739 8.62 2.754 1.434h18.36zm2.807-.801a.713.713 0 0 0-.03-.143.638.638 0 0 0-.063-.132c-.014-.025-.019-.053-.037-.076-.01-.013-.024-.019-.035-.031a.693.693 0 0 0-.11-.098C23.612.127 23.578.1 23.54.081c-.039-.02-.081-.03-.124-.043a.684.684 0 0 0-.144-.029c-.015 0-.029-.009-.045-.009H.713C.698 0 .686.007.673.008.623.011.578.024.53.037.487.049.445.057.405.077.366.096.334.123.299.149.26.179.22.208.185.245.175.255.163.26.155.271.135.296.129.326.114.351a.693.693 0 0 0-.067.133.681.681 0 0 0-.029.143C.014.657 0 .685 0 .717v15.545c0 .396.32.717.713.717h22.513a.715.715 0 0 0 .712-.717V.717c0-.03-.013-.055-.016-.083z",mask:"url(#b)"}
1)))),i("a",{title:"Twitter",href:"https://twitter.com/home?status=".concat(e.url),target:"_blank",rel:"noopener noreferrer",className:"twitter"},i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"21",viewBox:"0 0 24 21"},i("path",{fill:"none",stroke:s.a.mainColor,strokeWidth:"1.45",d:"M11.836 7.384l-.042-.253c-.343-2.176.856-4.228 2.754-4.907.483-.17.98-.248 1.486-.218 1.072.06 1.99.497 2.748 1.306.072.075.072.075.167.054a7.93 7.93 0 0 0 2.434-.997c.02-.011.042-.022.078-.045a4.468 4.468 0 0 1-1.76 2.41A7.967 7.967 0 0 0 22 4.082l-.046.076a8.546 8.546 0 0 1-1.921 2.12.163.163 0 0 0-.068.145c.004.328.01.656 0 .987a13.533 13.533 0 0 1-.64 3.554c-.611 1.881-1.559 3.54-2.884 4.945-1.442 1.532-3.154 2.557-5.123 3.09-.497.134-1 .23-1.507.295-.678.088-1.356.118-2.039.084-2.065-.103-3.976-.742-5.728-1.916a.197.197 0 0 1-.044-.04 7.93 7.93 0 0 0 3.184-.273 7.922 7.922 0 0 0 2.848-1.538 4.01 4.01 0 0 1-2.78-1.277 4.38 4.38 0 0 1-1.03-1.787 3.775 3.775 0 0 0 1.812-.069c-2.045-.483-3.298-2.441-3.248-4.361.573.33 1.175.516 1.838.543-1.05-.805-1.658-1.873-1.79-3.234a4.504 4.504 0 0 1 .54-2.616c.019.02.037.038.053.06.289.374.596.73.925 1.065C5.885 5.49 7.674 6.54 9.73 7.069c.49.123.982.213 1.48.266.18.017.364.032.546.047.026.002.05.002.081.002"})))))}}},[["MDTK",1,2,0,3,4]]]);
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.