1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[366],{2226:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let a=n(4232),r=a.useLayoutEffect,i=a.useEffect;function l(e){let{headManager:t,reduceComponentsToState:n}=e;function l(){if(t&&t.mountedInstances){let r=a.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(r,e))}}return r(()=>{var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),()=>{var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}}),r(()=>(t&&(t._pendingUpdate=l),()=>{t&&(t._pendingUpdate=l)})),i(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},3169:(e,t)=>{"use strict";function n(e){let{ampFirst:t=!1,hybrid:n=!1,hasQuery:a=!1}=void 0===e?{}:e;return t||n&&a}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return n}})},4461:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return a}});let a=n(4252)._(n(4232)).default.createContext({})},5364:(e,t,n)=>{"use strict";var a,r;e.exports=(null==(a=n.g.process)?void 0:a.env)&&"object"==typeof(null==(r=n.g.process)?void 0:r.env)?n.g.process:n(5861)},5472:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/people/[slugId]",function(){return n(7345)}])},5861:e=>{!function(){var t={229:function(e){var t,n,a,r=e.exports={};function i(){throw Error("setTimeout has not been defined")}function l(){throw Error("clearTimeout has not been defined")}try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:l}catch(e){n=l}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}var c=[],o=!1,d=-1;function u(){o&&a&&(o=!1,a.length?c=a.concat(c):d=-1,c.length&&m())}function m(){if(!o){var e=s(u);o=!0;for(var t=c.length;t;){for(a=c,c=[];++d<t;)a&&a[d].run();d=-1,t=c.length}a=null,o=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===l||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function p(){}r.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new f(e,t)),1!==c.length||o||s(m)},f.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=p,r.addListener=p,r.once=p,r.off=p,r.removeListener=p,r.removeAllListeners=p,r.emit=p,r.prependListener=p,r.prependOnceListener=p,r.listeners=function(e){return[]},r.binding=function(e){throw Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw Error("process.chdir is not supported")},r.umask=function(){return 0}}},n={};function a(e){var r=n[e];if(void 0!==r)return r.exports;var i=n[e]={exports:{}},l=!0;try{t[e](i,i.exports,a),l=!1}finally{l&&delete n[e]}return i.exports}a.ab="//",e.exports=a(229)}()},7328:(e,t,n)=>{e.exports=n(9269)},7345:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var a=n(7876);n(4232);var r=n(9099),i=n(7328),l=n.n(i),s=n(4359);let c=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"pt-12 relative",style:{background:"#000000"},children:(0,a.jsx)("div",{className:"container overflow-hidden",children:(0,a.jsxs)("div",{className:"relative h-max pt-16 grid grid-cols-1 lg:grid-cols-2",children:[(0,a.jsx)("div",{className:"flex-col hidden title-main relative top-16 lg:flex justify-center items-start",children:(0,a.jsx)("div",{className:"h-14 w-80 bg-gray-700 animate-pulse rounded"})}),(0,a.jsx)("div",{style:{height:380},className:"flex h-full lg:justify-end items-center",children:(0,a.jsx)("div",{className:"relative bg-gray-700 animate-pulse",style:{height:380,width:285}})})]})})}),(0,a.jsx)("div",{className:"bg-gray-800 pt-20 lg:pt-24 pb-16 py-24",children:(0,a.jsxs)("div",{className:"container bg-gray-800",children:[(0,a.jsx)("div",{className:"title-main relative top-16 flex-col flex lg:hidden justify-center mb-16 items-start",children:(0,a.jsx)("div",{className:"h-14 w-80 bg-gray-700 animate-pulse rounded"})}),(0,a.jsx)("div",{className:"grid text-main text-artist relative top-16 grid-cols-1 lg:grid-cols-1 gap-16",children:(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{className:"h-4 bg-gray-700 animate-pulse rounded w-full"}),(0,a.jsx)("div",{className:"h-4 bg-gray-700 animate-pulse rounded w-full"}),(0,a.jsx)("div",{className:"h-4 bg-gray-700 animate-pulse rounded w-5/6"}),(0,a.jsx)("div",{className:"h-4 bg-gray-700 animate-pulse rounded w-full mt-8"}),(0,a.jsx)("div",{className:"h-4 bg-gray-700 animate-pulse rounded w-full"}),(0,a.jsx)("div",{className:"h-4 bg-gray-700 animate-pulse rounded w-4/5"}),(0,a.jsx)("div",{className:"h-4 bg-gray-700 animate-pulse rounded w-full mt-8"}),(0,a.jsx)("div",{className:"h-4 bg-gray-700 animate-pulse rounded w-full"}),(0,a.jsx)("div",{className:"h-4 bg-gray-700 animate-pulse rounded w-3/4"})]})})]})})]});var o=n(6649),d=n(5364);let u=()=>{var e;let t=(0,r.useRouter)(),{slugId:n}=t.query,{data:i,isLoading:u,isError:m}=(e=>(0,s.I)({queryKey:["artist",e],queryFn:async()=>{let t=await fetch("".concat("https://apimain.operabale.gov.tr","/api/web/sanatci/seo/").concat(e));if(!t.ok)throw Error("Failed to fetch artist data");return t.json()},enabled:!!e,retry:1}))(n);if(u)return(0,a.jsx)(c,{});if(m||!i)return(0,a.jsx)("div",{className:"container py-20 text-center text-white",children:(0,a.jsx)("h1",{className:"text-3xl",children:"Artist not found"})});let f="en"===t.locale&&i.ozgecmisEn?i.ozgecmisEn:i.ozgecmis;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(l(),{children:[(0,a.jsx)("title",{children:i?"".concat(i.tamAdi," | DEVLET OPERA VE BALESİ GENEL M\xdcD\xdcRL\xdcÄ\xdc"):"DEVLET OPERA VE BALESİ GENEL M\xdcD\xdcRL\xdcÄ\xdc"}),(0,a.jsx)("meta",{name:"description",content:"tr"===t.locale?"".concat(null==i?void 0:i.tamAdi," - Devlet Opera ve Balesi sanat\xe7ısı, biyografi ve \xf6zge\xe7miÅ bilgileri"):"".concat(null==i?void 0:i.tamAdi," - State Opera and Ballet artist, biography and curriculum vitae")}),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,a.jsx)("meta",{name:"keywords",content:"tr"===t.locale?"".concat(null==i?void 0:i.tamAdi,", opera sanat\xe7ısı, bale sanat\xe7ısı, biyografi, \xf6zge\xe7miÅ"):"".concat(null==i?void 0:i.tamAdi,", opera artist, ballet artist, biography, curriculum vitae")}),(0,a.jsx)("link",{rel:"canonical",href:"".concat(d.env.NEXT_PUBLIC_SITE_URL).concat(t.asPath)})]}),(0,a.jsx)("div",{className:"pt-12",style:{background:"#000000"},children:(0,a.jsx)("div",{className:"container overflow-hidden",children:(0,a.jsxs)("div",{className:"relative h-max pt-16 grid grid-cols-1 lg:grid-cols-2",children:[(0,a.jsx)("div",{className:"flex-col hidden title-main relative top-16 lg:flex justify-center items-start animate-fade-in-up animation-delay-200",children:i&&(0,a.jsx)("h1",{className:"text-white font-semibold text-5xl",children:i.tamAdi})}),(0,a.jsx)("div",{style:{height:380},className:"flex h-full lg:justify-end items-center animate-fade-in-up animation-delay-300",children:i&&i.profileImage&&(0,a.jsx)("div",{className:"relative",style:{height:380,width:"auto"},children:(0,a.jsx)("img",{src:null!=(e=i.profileImage)?e:"/images/placeholder.png",alt:"Profile image",className:"object-cover image-main relative top-16 grayscale w-[285px] h-[380px]"})})})]})})}),(0,a.jsxs)("div",{className:"container py-24",children:[(0,a.jsx)("div",{className:"title-main relative flex-col flex lg:hidden justify-center mb-16 items-start",children:i&&(0,a.jsx)("h1",{className:"text-gray-100 font-semibold text-5xl",children:i.tamAdi})}),i&&f.length>0&&(0,a.jsx)("div",{className:"flex flex-col text-white relative gap-16 animate-fade-in-up animation-delay-500",children:(0,a.jsx)("div",{className:"whitespace-pre-line",children:(e=>e?e.split(/\r?\n/).filter(e=>""!==e.trim()):[])(f).map((e,t)=>(0,a.jsx)("p",{className:"mb-4 text-white",style:{animationDelay:"".concat(600+50*t,"ms")},children:(0,o.Ay)(e)},t))})})]})]})}},9269:(e,t,n)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return h},defaultHead:function(){return u}});let a=n(4252),r=n(8365),i=n(7876),l=r._(n(4232)),s=a._(n(2226)),c=n(4461),o=n(7965),d=n(3169);function u(e){void 0===e&&(e=!1);let t=[(0,i.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,i.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function m(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}n(6201);let f=["name","httpEquiv","charSet","itemProp"];function p(e,t){let{inAmpMode:n}=t;return e.reduce(m,[]).reverse().concat(u(n).reverse()).filter(function(){let e=new Set,t=new Set,n=new Set,a={};return r=>{let i=!0,l=!1;if(r.key&&"number"!=typeof r.key&&r.key.indexOf("$")>0){l=!0;let t=r.key.slice(r.key.indexOf("$")+1);e.has(t)?i=!1:e.add(t)}switch(r.type){case"title":case"base":t.has(r.type)?i=!1:t.add(r.type);break;case"meta":for(let e=0,t=f.length;e<t;e++){let t=f[e];if(r.props.hasOwnProperty(t))if("charSet"===t)n.has(t)?i=!1:n.add(t);else{let e=r.props[t],n=a[t]||new Set;("name"!==t||!l)&&n.has(e)?i=!1:(n.add(e),a[t]=n)}}}return i}}()).reverse().map((e,t)=>{let n=e.key||t;return l.default.cloneElement(e,{key:n})})}let h=function(e){let{children:t}=e,n=(0,l.useContext)(c.AmpStateContext),a=(0,l.useContext)(o.HeadManagerContext);return(0,i.jsx)(s.default,{reduceComponentsToState:p,headManager:a,inAmpMode:(0,d.isInAmpMode)(n),children:t})};("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)}},e=>{e.O(0,[649,636,593,792],()=>e(e.s=5472)),_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.