PageSourceSearch

https://tju.edu.tr/_next/static/chunks/app/%5Blang%5D/prospective-students/faq/page-a502b43482f85c4f.js

js tju.edu.tr collected 2026-10-02 19:16:44 UTC 4,889 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2854],{12363:(e,r,n)=>{"use strict";n.d(r,{A:()=>t});let t=(0,n(30772).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},22151:(e,r,n)=>{"use strict";n.d(r,{DirectorySidebar:()=>x});var t=n(95155),s=n(12115),a=n(98500),l=n.n(a),d=n(12363),i=n(76721),o=n(91442);function c({node:e,depth:r=0,currentPath:n,isRootExpanded:a,onRootToggle:x}){let h=e.isActive||n&&e.href===n,b=void 0!==a,[m,p]=(0,s.useState)(e.isExpandedByDefault||!1),u=b?a:m,f=e.children&&e.children.length>0;return(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsxs)("div",{onClick:f&&!e.href?e=>{e.preventDefault(),b&&x?x():p(!m)}:void 0,className:(0,o.cn)("flex items-center justify-between text-sm transition-colors border-l-2 pr-2 group",e.isSubItem?"py-1":"py-2.5",f&&!e.href&&"cursor-pointer",0===r?"pl-4":"pl-6",e.isSubItem&&"pl-8 text-xs",h?"border-brand-red text-brand-red font-bold":"border-transparent text-brand-navy/80 hover:text-brand-red hover:border-brand-gray/50 font-medium"),children:[e.href?(0,t.jsxs)(l(),{href:e.href,className:"flex-1 block flex items-center",children:[e.isSubItem&&(0,t.jsx)("span",{className:"w-2.5 h-3 border-l-[1.5px] border-b-[1.5px] border-brand-navy/40 mr-2 mb-1 shrink-0 rounded-bl-[1px]"}),(0,t.jsx)("span",{className:"whitespace-pre-line leading-tight",children:e.title})]}):(0,t.jsxs)("span",{className:"flex-1 flex items-center",children:[e.isSubItem&&(0,t.jsx)("span",{className:"w-2.5 h-3 border-l-[1.5px] border-b-[1.5px] border-brand-navy/40 mr-2 mb-1 shrink-0 rounded-bl-[1px]"}),(0,t.jsx)("span",{className:"whitespace-pre-line leading-tight",children:e.title})]}),f&&(0,t.jsx)("div",{className:"p-1 rounded-md text-brand-navy/50 group-hover:text-brand-navy ml-2 transition-colors",children:u?(0,t.jsx)(d.A,{className:"h-4 w-4"}):(0,t.jsx)(i.A,{className:"h-4 w-4"})})]}),f&&(0,t.jsx)("div",{className:(0,o.cn)("grid transition-all duration-300 ease-in-out",u?"grid-rows-[1fr] opacity-100":"grid-rows-[0fr] opacity-0"),children:(0,t.jsx)("div",{className:"overflow-hidden flex flex-col ml-3 border-l border-brand-gray/30",children:e.children.map((e,s)=>(0,t.jsx)(c,{node:e,depth:r+1,currentPath:n},`${e.title}-${s}`))})})]})}function x({title:e,tree:r,mobileBreadcrumbs:n,currentPath:a}){let d=r.find(e=>
1e.isExpandedByDefault)?.title||null,[i,h]=(0,s.useState)(d);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"md:hidden flex flex-wrap items-center gap-2 text-sm text-brand-navy/60 mb-6 font-medium bg-brand-gray/10 p-4 rounded-lg",children:n.map((e,r)=>(0,t.jsxs)(s.Fragment,{children:[r>0&&(0,t.jsx)("span",{className:"text-brand-navy/40",children:"/"}),(0,t.jsx)(l(),{href:e.href,className:(0,o.cn)("hover:text-brand-red transition-colors",r===n.length-1&&"text-brand-navy font-bold pointer-events-none"),children:e.label})]},`${e.label}-${r}`))}),(0,t.jsxs)("div",{className:"hidden md:flex flex-col w-full sticky top-32",children:[(0,t.jsx)("h2",{className:"text-lg font-black uppercase tracking-tight text-brand-navy mb-4 border-b-2 border-brand-red pb-3 inline-block",children:e}),(0,t.jsx)("nav",{className:"flex flex-col border-l-2 border-brand-gray/30",children:r.map((e,r)=>(0,t.jsx)(c,{node:e,currentPath:a,isRootExpanded:i===e.title,onRootToggle:()=>h(i===e.title?null:e.title)},`${e.title}-${r}`))})]})]})}},32028:(e,r,n)=>{"use strict";n.d(r,{FAQAccordion:()=>d});var t=n(95155),s=n(12115),a=n(12363),l=n(91442);function d({faqs:e}){let[r,n]=(0,s.useState)(0);return(0,t.jsx)("div",{className:"w-full max-w-4xl flex flex-col gap-4",children:e.map((e,s)=>{let d=r===s;return(0,t.jsxs)("div",{className:"border border-gray-200 rounded-lg bg-white overflow-hidden shadow-sm",children:[(0,t.jsxs)("button",{onClick:()=>{n(r===s?null:s)},className:"flex w-full items-center justify-between bg-white px-6 py-5 text-left transition-colors hover:bg-gray-50 focus:outline-none focus-visible:bg-gray-50",children:[(0,t.jsx)("span",{className:"text-lg font-bold text-brand-navy pr-4",children:e.question}),(0,t.jsx)(a.A,{className:(0,l.cn)("h-5 w-5 shrink-0 text-brand-red transition-transform duration-300",d?"rotate-180":"")})]}),(0,t.jsx)("div",{className:(0,l.cn)("grid transition-all duration-300 ease-in-out",d?"grid-rows-[1fr] opacity-100":"grid-rows-[0fr] opacity-0"),children:(0,t.jsx)("div",{className:"overflow-hidden",children:(0,t.jsx)("div",{className:"px-6 pb-6 pt-2 text-gray-700 leading-relaxed",children:e.answer})})})]},s)})})}},76721:(e,r,n)=>{"use strict";n.d(r,{A:()=>t});let t=(0,n(30772).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},80229:(e,r,n)=>{Promise.resolve().then(n.bind(n,32028)),Promise.resolve().then(n.bind(n,22151))},91442:(e,r,n)=>{"use strict";n.d(r,{cn:()=>a});var t=n(29722),s=n(622);function a(...e){return(0,s.QP)((0,t.$)(e))}}},e=>{e.O(0,[8500,7490,8441,3794,7358],()=>e(e.s=80229)),_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.