PageSourceSearch

https://panel.winningcircle.io/static/js/1344.e27c7d90.chunk.js

js winningcircle.io collected 2026-10-05 23:19:08 UTC 12,477 bytes, 3 lines download raw bytes

1/*! For license information please see 1344.e27c7d90.chunk.js.LICENSE.txt */
2"use strict";(self.webpackChunkwinning_circle_academy_web=self.webpackChunkwinning_circle_academy_web||[]).push([[1344],{94499(t,e,n){n.d(e,{b:()=>c,sc:()=>l,n2:()=>s,SE:()=>d,Zx:()=>g});var a=n(41591),i=n(98975),r=n(13110),o=n(70579);const c=t=>{let{title:e,description:n,keywords:c,image:l,type:s="website",author:d,publishedTime:g,modifiedTime:p,section:u,tags:m,canonicalUrl:h,noIndex:x=!1,structuredData:y}=t;const v=(0,i.zy)(),w=(0,r.g0)(v.pathname);let j,b,f,k,A,S;try{j=String(e||w.title||"")}catch(D){j="WinningCircle"}try{b=String(n||w.description||"")}catch(D){b="Premium e\u011fitim platformu"}try{f=String(c||w.keywords||"")}catch(D){f="e\u011fitim, online kurs"}try{k=String(l||w.image||"")}catch(D){k="/Dark.jpg"}try{A=h||"https://winningcircle.io".concat(v.pathname)}catch(D){A="https://winningcircle.io/"}try{var N;S=null!==(N=k)&&void 0!==N&&N.startsWith("http")?k:"https://winningcircle.io".concat(k)}catch(D){S="https://winningcircle.io/Dark.jpg"}return(0,o.jsxs)(a.m,{children:[(0,o.jsx)("title",{children:j}),(0,o.jsx)("meta",{name:"description",content:b}),(0,o.jsx)("meta",{name:"keywords",content:f}),(0,o.jsx)("meta",{name:"robots",content:x?"noindex, nofollow":"index, follow"}),d&&(0,o.jsx)("meta",{name:"author",content:d}),(0,o.jsx)("link",{rel:"canonical",href:A}),(0,o.jsx)("meta",{property:"og:title",content:j}),(0,o.jsx)("meta",{property:"og:description",content:b}),(0,o.jsx)("meta",{property:"og:image",content:S}),(0,o.jsx)("meta",{property:"og:url",content:A}),(0,o.jsx)("meta",{property:"og:type",content:s}),(0,o.jsx)("meta",{property:"og:site_name",content:"WinningCircle"}),(0,o.jsx)("meta",{property:"og:locale",content:"tr_TR"}),"article"===s&&d&&(0,o.jsx)("meta",{property:"article:author",content:String(d)}),"article"===s&&g&&(0,o.jsx)("meta",{property:"article:published_time",content:String(g)}),"article"===s&&p&&(0,o.jsx)("meta",{property:"article:modified_time",content:String(p)}),"article"===s&&u&&(0,o.jsx)("meta",{property:"article:section",content:String(u)}),"article"===s&&m&&Array.isArray(m)&&m.map(((t,e)=>(0,o.jsx)("meta",{property:"article:tag",content:String(t)},"article-tag-".concat(e)))),"video"===s&&(0,o.jsx)("meta",{property:"og:video",content:S}),"video"===s&&(0,o.jsx)("meta",{property:"og:video:type",content:"video/mp4"}),y&&(0,o.jsx)("script",{type:"application/ld+json",children:JSON.stringify(y)})]})};n(27940);const l=t=>({"@context":"https://schema.org","@type":"BlogPosting",headline:t.title,description:t.description||t.excerpt,image:t.image||t.coverImage,author:{"@type":"Person",name:t.author||"WinningCircle"},publisher:{"@type":"Organization",name:"WinningCircle",logo:{"@type":"ImageObject",url:"https://winningcircle.io/new_logo.svg"}},mainEntityOfPage:{"@type":"WebPage","@id":t.url||"https://winningcircle.io/blogDetail/".concat(t.id)}}),s=t=>({"@context":"https://schema.org","@type":"Course",name:t.title,description:t.description,image:t.image||t.thumbnail,provider:{"@type":"Organization",name:"WinningCircle",sameAs:"https://winningcircle.io/"},offers:{"@type":"Offer",category:"Education",availability:"https://schema.org/InStock"},courseMode:"online",educationalLevel:t.level||"Beginner",teaches:t.topics||t.tags,url:t.url||"https://winningcircle.io/courseVideo/".concat(t.id)}),d=t=>({"@context":"https://schema.org","@type":"Event",name:t.title,description:t.description,image:t.image||t.coverImage,startDate:t.startDate,endDate:t.endD
2ate,eventStatus:"https://schema.org/EventScheduled",eventAttendanceMode:"https://schema.org/OnlineEventAttendanceMode",location:{"@type":"VirtualLocation",url:t.url||"https://winningcircle.io/eventDetail/".concat(t.id)},organizer:{"@type":"Organization",name:"WinningCircle",url:"https://winningcircle.io/"}}),g=t=>({"@context":"https://schema.org","@type":"VideoObject",name:t.title,description:t.description,thumbnailUrl:t.thumbnail,uploadDate:t.publishedAt||t.createdAt,duration:t.duration,contentUrl:t.url,embedUrl:t.embedUrl,publisher:{"@type":"Organization",name:"WinningCircle",logo:{"@type":"ImageObject",url:"https://winningcircle.io/new_logo.svg"}}})},34387(t,e,n){n.d(e,{A:()=>g});var a=n(89379),i=n(80229),r=n(87977),o=n(70579);const c=["noopener","noreferrer"],l=t=>{var e,n;return"tag"===(null===t||void 0===t?void 0:t.type)&&"img"===t.name||null!==(e=null===t||void 0===t||null===(n=t.children)||void 0===n?void 0:n.some(l))&&void 0!==e&&e},s=function(){const t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(/\s+/).filter(Boolean),e=new Set(t.map((t=>t.toLowerCase())));return c.forEach((n=>{e.has(n)||t.push(n)})),t.join(" ")},d={replace(t){var e,n;if("tag"!==t.type||"a"!==t.name)return;if(!l(t))return void delete t.attribs.target;const r=(0,i.$5)(t.attribs,t.name);return(0,o.jsx)("a",(0,a.A)((0,a.A)({},r),{},{target:"_blank",rel:s(null===(e=t.attribs)||void 0===e?void 0:e.rel),children:(0,i.zd)(null!==(n=t.children)&&void 0!==n?n:[],d)}))}},g=t=>{let{content:e}=t;const n=r.A.sanitize("string"===typeof e?e:"",{ADD_ATTR:["target"]});return(0,i.Ay)(n,d)}},31344(t,e,n){n.r(e),n.d(e,{default:()=>w});var a=n(98975),i=n(65043),r=n(47607),o=n(20735),c=n(43788),l=n(4942),s=n(55358),d=n(94499),g=n(12807),p=n(6436),u=n(10602),m=n(30342),h=n(32744),x=n(30880),y=n(34387),v=n(70579);const w=()=>{var t,e,n;const{blogId:w,slug:j}=(0,a.g)(),b=(0,a.Zp)(),{useGetLandingBlogDetails:f,useSetGuestBlogReadPercentage:k}=(0,o.A)(),{guestId:A}=(0,p.A)(),{auth:S}=(0,m.A)(),N=(0,s.Pm)(w),{data:D,isLoading:B,isError:C}=f(N,A),{mutate:M}=k(),E=(0,i.useRef)(null),I=(0,i.useRef)(new Set),T=(0,i.useRef)(null),_=(0,i.useRef)(0);(0,i.useEffect)((()=>{(!(null===S||void 0===S||!S.accessToken)||u.default.isAuthenticated())&&N&&b("".concat(l.A.panelBlogDetail,"/").concat(N),{replace:!0})}),[null===S||void 0===S?void 0:S.accessToken,N,b]),(0,i.useEffect)((()=>{var t;null!==D&&void 0!==D&&null!==(t=D.data)&&void 0!==t&&t.title&&(j&&(0,s.Gg)(j,D.data.title)||b((0,s.e3)(l.A.landingBlogDetails,N,D.data.title),{replace:!0}))}),[D,j,N,b]);const z=(0,i.useCallback)((()=>{var t,e;if(null===D||void 0===D||null===(t=D.data)||void 0===t||!t.id||null===D||void 0===D||null===(e=D.data)||void 0===e||!e.sessionId||!A)return;const n=10*Math.floor(_.current/10);n>=10&&!I.current.has(n)&&(I.current.add(n),M({blogId:D.data.id,sessionId:D.data.sessionId,readPercentage:n,guestId:A}))}),[D,A,M]);(0,i.useEffect)((()=>{const t=()=>{if(!E.current)return;const t=E.current,e=window.innerHeight,n=t.scrollHeight,a=t.getBoundingClientRect().top,i=t.getBoundingClientRect().bottom,r=Math.max(0,Math.min(i,e)-Math.max(a,0)),o=a<0?Math.abs(a):0,c=Math.min(o+r,n);let l=Math.floor(c/n*100);i<=e+50&&(l=100),_.current=l,T.current&&clearTimeout(T.current),T.current=setTimeout(z,500)};return window.addEventListener("scroll",t),t(),()=>{window.removeEventListener("scroll",t),T.current&&clearTimeout(T.current)}}),[z]);const O=null===D||void 0===D?void 0:D.data,W=(0,h.tT)(O),H=(null===O||void 0===O?void 0:O.imageUrl)||(null===O||void 0===O?void 0:O.image)||(null===O||void 0===O?void 0:O.coverImage)||null,L=O?(0,g.Ao)(O.publishedAt,O.lastUpdatedAt):null;return B?(0,v.jsx)("div",{className:"flex min-h-[320px] items-center justify-center py-16",children:(0,v.jsx)(c.H,{})}):C?(0,v.jsxs)("div",{className:"flex min-h-[320px] flex-col items-center justify-center px-5 py-16 text-center",children:[(0,v.jsx)("p",{className:"font-general text-sm text-red-500",children:"Blog y\xfcklenirken bir hata olu\u015ftu."}),(0,v.jsxs)("button",{type:"button",onClick:()=>b(l.A.landingBlogs),className:"mt-6 ".concat(x.pK),children:[(0,v.jsx)(r.A,{className:"h-4 w-4"}),"Bloglara D\xf6n"]})]}):(0,v.jsxs)(v.Fragment,{children:[O?(0,v.jsx)(d.b,{title:"".concat(O.title," - WinningCircle"),description:O.description||"".concat(W.replace(/<[^>]*>/g,"").substring(0,160),"..."),keywords:(null===(t=O.keywords)||void 0===t?void 0:t.map((t=>t.keyword)).join(", "))||"blog, e\u011fitim, WinningCircle",image:H||void 0,type:"article",author:O.writerName||"W
2inningCircle",publishedTime:O.createdAt,modifiedTime:O.updatedAt,section:"Blog",tags:null===(e=O.keywords)||void 0===e?void 0:e.map((t=>t.keyword)),canonicalUrl:"https://winningcircle.io".concat((0,s.e3)(l.A.landingBlogDetails,N,O.title)),structuredData:(0,d.sc)({id:O.id,title:O.title,description:O.description,author:O.writerName,publishedAt:O.createdAt,updatedAt:O.updatedAt,image:H,url:"https://winningcircle.io".concat((0,s.e3)(l.A.landingBlogDetails,N,O.title))})}):null,O?(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("section",{className:"border-b border-gray-100 py-8 dark:border-white/5 md:py-12",children:(0,v.jsxs)("div",{className:"mx-auto max-w-3xl px-5 md:px-8",children:[(0,v.jsxs)("button",{type:"button",onClick:()=>b(l.A.landingBlogs),className:"mb-8 ".concat(x.pK),children:[(0,v.jsx)(r.A,{className:"h-4 w-4"}),"Bloglara D\xf6n"]}),(0,v.jsx)("p",{className:x.FZ,children:"Blog"}),(0,v.jsx)("h1",{className:x.yU,children:O.title}),(0,v.jsxs)("div",{className:"mt-5 flex flex-col gap-3 border-t border-gray-100 pt-5 dark:border-white/5 sm:flex-row sm:items-center sm:justify-between",children:[L?(0,v.jsx)("p",{className:"whitespace-pre-line font-general text-sm text-gray-500 dark:text-white/45",children:L}):(0,v.jsx)("span",{}),(0,v.jsxs)("p",{className:"font-general text-sm text-gray-500 dark:text-white/45",children:[(0,v.jsx)("span",{className:"text-gray-400 dark:text-white/30",children:"Yazar: "}),O.writerName||"Anonim"]})]})]})}),(0,v.jsx)("section",{className:"py-10 md:py-14",children:(0,v.jsxs)("div",{className:"mx-auto max-w-3xl px-5 md:px-8",children:[W?(0,v.jsx)("div",{ref:E,className:"smd-blog-content font-general",children:(0,v.jsx)(y.A,{content:W})}):(0,v.jsx)("p",{className:"py-8 text-center font-general text-base text-gray-500 dark:text-white/50",children:"Bu blog yaz\u0131s\u0131n\u0131n i\xe7eri\u011fi \u015fu an g\xf6r\xfcnt\xfclenemiyor."}),null!==(n=O.keywords)&&void 0!==n&&n.length?(0,v.jsxs)("div",{className:"mt-12 border-t border-gray-100 pt-8 dark:border-white/5",children:[(0,v.jsx)("p",{className:"mb-4 font-general text-[11px] uppercase tracking-[0.18em] text-gray-400 dark:text-white/35",children:"Etiketler"}),(0,v.jsx)("div",{className:"flex flex-wrap gap-2",children:O.keywords.map((t=>(0,v.jsx)("button",{type:"button",onClick:()=>b(l.A.landingBlogs,{state:{keyword:t.keyword}}),className:"".concat((0,x.Nc)(!1)," cursor-pointer"),children:t.keyword},t.id)))})]}):null]})})]}):(0,v.jsxs)("div",{className:"flex min-h-[320px] flex-col items-center justify-center px-5 py-16 text-center",children:[(0,v.jsx)("p",{className:"font-general text-lg text-gray-500 dark:text-white/50",children:"Blog bulunamad\u0131"}),(0,v.jsxs)("button",{type:"button",onClick:()=>b(l.A.landingBlogs),className:"mt-6 ".concat(x.pK),children:[(0,v.jsx)(r.A,{className:"h-4 w-4"}),"Bloglara D\xf6n"]})]})]})}},12807(t,e,n){n.d(e,{Ao:()=>o,r6:()=>r,rA:()=>i});const a=["Ocak","\u015eubat","Mart","Nisan","May\u0131s","Haziran","Temmuz","A\u011fustos","Eyl\xfcl","Ekim","Kas\u0131m","Aral\u0131k"],i=t=>{const e=new Date(t),n=e.getDate(),i=a[e.getMonth()],r=e.getFullYear(),o=e.getHours().toString().padStart(2,"0"),c=e.getMinutes().toString().padStart(2,"0");return"".concat(n," ").concat(i," ").concat(r,", ").concat(o,":").concat(c)},r=t=>{if(!t)return"";const e=new Date(t),n=e.getDate().toString().padStart(2,"0"),a=(e.getMonth()+1).toString().padStart(2,"0"),i=e.getFullYear(),r=e.getHours().toString().padStart(2,"0"),o=e.getMinutes().toString().padStart(2,"0");return"".concat(n,"/").concat(a,"/").concat(i," ").concat(r,":").concat(o)},o=(t,e)=>{if(!t)return null;const n=new Date(t);if(e){const t=new Date(e),i=n.getDate(),r=a[n.getMonth()].toLowerCase(),o=n.getFullYear(),c=n.getHours().toString().padStart(2,"0"),l=n.getMinutes().toString().padStart(2,"0"),s=t.getDate(),d=a[t.getMonth()].toLowerCase(),g=t.getFullYear(),p=t.getHours().toString().padStart(2,"0"),u=t.getMinutes().toString().padStart(2,"0");return"".concat(i," ").concat(r," ").concat(o," ").concat(c,":").concat(l,"\n").concat(s," ").concat(d," ").concat(g," ").concat(p,":").concat(u," da g\xfcncellendi")}const i=n.getDate(),r=a[n.getMonth()],o=n.getFullYear();return"".concat(i," ").concat(r," ").concat(o)}},47607(t,e,n){n.d(e,{A:()=>a});const a=(0,n(18200).A)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])}}]);
3//# sourceMappingURL=1344.e27c7d90.chunk.js.map

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.