PageSourceSearch

https://www.koc.com.tr/_next/static/chunks/pages/Koc.AboutUsPromotion-2c9ee9baea83f7c2.js

js koc.com.tr collected 2026-10-02 05:00:18 UTC 15,935 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3779],{1116:(t,e,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/Koc.AboutUsPromotion",function(){return a(79505)}])},10517:(t,e,a)=>{"use strict";a.d(e,{A:()=>l});var s=a(37876),n=a(14232),i=a(15153),o=a(70014),r=a(3860);class l extends n.Component{renderSectionButton(t){switch(t){case"rectangle":return this.rectangleButtons();case"horizontal":return this.horizontalButtons();case"vertical":return this.verticalButtons();case"link":return this.linkButtons();default:return null}}sectionClassList(){let{data:t}=this.props;console.log(t);let e=["standard-section"];return t.Shifted&&e.push(t.Shifted),t.HasShape&&e.push(t.HasShape),t.ShapePosition&&e.push(t.ShapePosition),t.ShapeMobilePosition&&e.push(t.ShapeMobilePosition),t.ImagePositionMobile&&e.push(t.ImagePositionMobile),t.ImagePositionDesktop&&e.push(t.ImagePositionDesktop),t.BackgroundColor&&e.push(t.BackgroundColor),e.join(" ")}getShapeItem(){let{data:t}=this.props;return t.HasShape?(0,s.jsx)("div",{className:"section-shape "+t.ShapeColor}):""}horizontalButtons(){return(0,s.jsx)("div",{className:"row btn-list",children:this.props.data.Buttons.map((t,e)=>(0,s.jsx)("div",{className:"col-md-12 list-item",children:(0,s.jsx)(i.A,{href:t.Link,children:(0,s.jsxs)("a",{className:"btn btn-media-bordered "+t.Theme,title:"",target:t.Target,children:[(0,s.jsx)("i",{className:"icon "+t.Icon}),(0,s.jsxs)("span",{className:"btn-content",children:[(0,s.jsx)("span",{className:"text",children:t.Title}),(0,s.jsx)("i",{className:"icon icon-arrow-right"})]})]})})},e))})}verticalButtons(){return(0,s.jsx)("div",{className:"row",children:(0,s.jsx)("div",{className:"col-lg-15",children:(0,s.jsx)("div",{className:"vertical-list",children:this.props.data.Buttons.map((t,e)=>(0,s.jsx)("div",{className:"list-item",children:(0,s.jsx)(i.A,{href:t.Link,children:(0,s.jsxs)("a",{className:"btn btn-media-bordered type2 horizontal "+t.Theme,title:"",target:t.Target,children:[(0,s.jsx)("i",{className:"icon "+t.Icon}),(0,s.jsxs)("span",{className:"btn-content",children:[(0,s.jsx)("span",{className:"text",children:t.Title}),(0,s.jsx)("i",{className:"icon icon-arrow-right"})]})]})})},e))})})})}linkButtons(){return(0,s.jsx)("div",{className:"row btn-list",children:this.props.data.Buttons.map((t,e)=>(0,s.jsx)("div",{className:"col-md-12 list-item",children:(0,s.jsx)(i.A,{href:t.Link,children:(0,s.jsxs)("a",{className:"btn-link medium",title:"",target:t.Target,children:[(0,s.jsx)("span",{children:t.Title}),(0,s.jsx)("i",{className:"icon icon-arrow-right"})]})})},e))})}flipModalHide(){this.setState({flipModalStatus:!1})}openFlipbook(t){(0,r.CI)({type:"read",url:t,page:window.location.href}),this.setState({flipModalStatus:!0},()=>{$(this.bookRef.current).flipBook({pdfUrl:t})})}rectangleButtons(){return(0,s.jsx)("div",{className:"d-flex flex-column align-items-start",children:this.props.data.Buttons.map((t,e)=>"_flipbook"===t.Target?(0,s.jsx)("a",{title:"",className:"btn btn-general bg-sunset-orange mt-3 mt-md-5",onClick:()=>{this.openFlipbook(t.Link)},style:{cursor:"pointer",color:"#fff"},children:t.Title},e):(0,s.jsx)(i.A,{href:t.Link,children:(0,s.jsx)("a",{title:"",target:t.Target,className:"btn btn-general bg-sunset-orange mt-3 mt-md-5",children:t.Title})},e))})}render(){let{data:t}=this.props;return(0,s.jsxs)(n.Fragment,{children:[(0,s.jsxs)("section",{className:this.sectionClassList(),children:[(0,s.jsx)("div",{className:"section-item item-bg",children:(0,s.jsx)("div",{className:"section-bg",style:{backgroundImage:"url(' "+t.Image+" ')"},children:this.getShapeItem()})}),(0,s.jsx)("div",{className:"section-item item-content",children:(0,s.jsxs)("div",{className:"section-content",children:[(0,s.jsx)("h2",{className:"section-title "+t.TitleSize,dangerouslySetInnerHTML:{__html:t.Title}}),(0,s.jsx)("div",{className:"text",dangerouslySetInnerHTML:{__html:t.Description}}),this.renderSectionButton(t.ButtonType)]})})]}),(0,s.jsxs)(o.A,{className:"pdf-modal",backdropClassName:"dark",show:this.state.flipModalStatus,onHide:()=>{this.flipModalHide()},centered:!0,animation:!0,children:[(0,s.jsx)(o.A.Header,{closeButton:!0}),(0,s.jsx)(o.A.Body,{children:(0,s.jsx)("div",{ref:this.bookRef})})]})]})}constructor(...t){super(...t),this.state={flipModalStatus:!1},this.bookRef=n.createRef()}}},64625:(t,e,a)=>{"use strict";a.d(e,{A:()=>r});var s=a(82914),n=a(38988);function i(){return(i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(t[s]=a[s])}return t}).apply(this,arguments)}var o={run:function(){var t=this,e=t.slides.eq(t.activeIndex),a=t.params.autoplay.delay;e.attr("data-swiper-autoplay")&&(a=e.attr("data-swiper-autoplay")||t.params.autoplay.delay),clearTimeout(t.autoplay.timeout),t.autoplay.timeout=(0,n.dY)(function(){var e;t.params.autoplay.reverseDirection?t.params.loop?(t.loopFix(),e=t.slidePrev(t.params.speed,!0,
1!0),t.emit("autoplay")):t.isBeginning?t.params.autoplay.stopOnLastSlide?t.autoplay.stop():(e=t.slideTo(t.slides.length-1,t.params.speed,!0,!0),t.emit("autoplay")):(e=t.slidePrev(t.params.speed,!0,!0),t.emit("autoplay")):t.params.loop?(t.loopFix(),e=t.slideNext(t.params.speed,!0,!0),t.emit("autoplay")):t.isEnd?t.params.autoplay.stopOnLastSlide?t.autoplay.stop():(e=t.slideTo(0,t.params.speed,!0,!0),t.emit("autoplay")):(e=t.slideNext(t.params.speed,!0,!0),t.emit("autoplay")),t.params.cssMode&&t.autoplay.running?t.autoplay.run():!1===e&&t.autoplay.run()},a)},start:function(){return void 0===this.autoplay.timeout&&!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0)},stop:function(){return!!this.autoplay.running&&void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout),this.autoplay.timeout=void 0),this.autoplay.running=!1,this.emit("autoplayStop"),!0)},pause:function(t){var e=this;e.autoplay.running&&(e.autoplay.paused||(e.autoplay.timeout&&clearTimeout(e.autoplay.timeout),e.autoplay.paused=!0,0!==t&&e.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach(function(t){e.$wrapperEl[0].addEventListener(t,e.autoplay.onTransitionEnd)}):(e.autoplay.paused=!1,e.autoplay.run())))},onVisibilityChange:function(){var t=(0,s.YE)();"hidden"===t.visibilityState&&this.autoplay.running&&this.autoplay.pause(),"visible"===t.visibilityState&&this.autoplay.paused&&(this.autoplay.run(),this.autoplay.paused=!1)},onTransitionEnd:function(t){var e=this;e&&!e.destroyed&&e.$wrapperEl&&t.target===e.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach(function(t){e.$wrapperEl[0].removeEventListener(t,e.autoplay.onTransitionEnd)}),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())},onMouseEnter:function(){var t=this;t.params.autoplay.disableOnInteraction?t.autoplay.stop():t.autoplay.pause(),["transitionend","webkitTransitionEnd"].forEach(function(e){t.$wrapperEl[0].removeEventListener(e,t.autoplay.onTransitionEnd)})},onMouseLeave:function(){this.params.autoplay.disableOnInteraction||(this.autoplay.paused=!1,this.autoplay.run())},attachMouseEvents:function(){this.params.autoplay.pauseOnMouseEnter&&(this.$el.on("mouseenter",this.autoplay.onMouseEnter),this.$el.on("mouseleave",this.autoplay.onMouseLeave))},detachMouseEvents:function(){this.$el.off("mouseenter",this.autoplay.onMouseEnter),this.$el.off("mouseleave",this.autoplay.onMouseLeave)}};let r={name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}},create:function(){(0,n.wD)(this,{autoplay:i({},o,{running:!1,paused:!1})})},on:{init:function(t){t.params.autoplay.enabled&&(t.autoplay.start(),(0,s.YE)().addEventListener("visibilitychange",t.autoplay.onVisibilityChange),t.autoplay.attachMouseEvents())},beforeTransitionStart:function(t,e,a){t.autoplay.running&&(a||!t.params.autoplay.disableOnInteraction?t.autoplay.pause(e):t.autoplay.stop())},sliderFirstMove:function(t){t.autoplay.running&&(t.params.autoplay.disableOnInteraction?t.autoplay.stop():t.autoplay.pause())},touchEnd:function(t){t.params.cssMode&&t.autoplay.paused&&!t.params.autoplay.disableOnInteraction&&t.autoplay.run()},destroy:function(t){t.autoplay.detachMouseEvents(),t.autoplay.running&&t.autoplay.stop(),(0,s.YE)().removeEventListener("visibilitychange",t.autoplay.onVisibilityChange)}}}},79505:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>L});var s=a(37876),n=a(76311),i=a(15153),o=a(55280),r=a(65533),l=a(64625);a(45516);var c=a(3860),d=a(75409),u=a(2171),p=a(962),m=a(77328),h=a.n(m),x=a(61579),y=a(83219),g=a(14232);class j extends g.Component{render(){let{data:t}=this.props;return(0,s.jsxs)("section",{className:"standard-section "+t.BackgroundColor,children:[(0,s.jsx)("div",{className:"section-item item-bg",children:(0,s.jsx)("div",{className:"section-bg",style:{backgroundImage:"url('"+t.Image+"')"}})}),(0,s.jsx)("div",{className:"section-item item-content",children:(0,s.jsxs)("div",{className:"section-content",children:[(0,s.jsx)("h2",{className:"bg-tuna"===t.Backgroun
1dColor?"section-title medium color-sunset-orange":"section-title medium",children:t.Title}),(0,s.jsx)("div",{className:"bg-tuna"===t.BackgroundColor?"text color-white":"text",dangerouslySetInnerHTML:{__html:t.Description}}),t.AddButton?(0,s.jsx)(i.A,{as:t.ButtonLink,href:"/".concat((0,y.j_)(t.ButtonLink)),children:(0,s.jsx)("a",{className:"btn btn-general",title:t.ButtonText,children:t.ButtonText})}):""]})})]})}}var v=a(18847),N=a.n(v);let b=N()(()=>Promise.all([a.e(9903),a.e(3053)]).then(a.t.bind(a,3053,23)),{loadableGenerated:{webpack:()=>[3053]},ssr:!1}),f={items:1,nav:!1,navText:['<i class="icon icon-angle-left"></i>','<i class="icon icon-angle-right"></i>'],dots:!0,margin:16,responsive:{0:{stagePadding:20},768:{items:2},992:{items:3},1200:{items:4,nav:!0,dots:!1,margin:24},1800:{items:5,nav:!0,dots:!1,margin:24}}};class T extends g.Component{render(){let{data:t}=this.props;return(0,s.jsx)("section",{className:"section general-section type-slider bg-gray",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsx)("div",{className:"row justify-content-center",children:(0,s.jsx)("div",{className:"col-exxl-22 col-24",children:(0,s.jsx)(b,{className:"short-info-card-slider slider owl-carousel",options:f,children:this.getCardList(t.SliderItems)})})})})})}constructor(...t){super(...t),this.getCardList=t=>t.map((t,e)=>(0,s.jsx)("div",{className:"item",children:(0,s.jsx)("div",{className:"card short-info-card type-text",children:(0,s.jsxs)("div",{className:"card-body",children:[(0,s.jsx)("h5",{className:"number"===t.type?"card-title color-sunset-orange number":"card-title color-sunset-orange text",children:t.Title}),(0,s.jsx)("div",{className:"card-text",dangerouslySetInnerHTML:{__html:t.Description}})]})})},e))}}var w=a(31388),k=a(69637),S=a(13541);let E=N()(()=>Promise.all([a.e(9903),a.e(3053)]).then(a.t.bind(a,3053,23)),{loadableGenerated:{webpack:()=>[3053]},ssr:!1}),M={items:1,nav:!1,navText:['<i class="icon icon-angle-left"></i>','<i class="icon icon-angle-right"></i>'],dots:!0,margin:16,autoHeight:!0,responsive:{1200:{nav:!0,dots:!1,margin:24}}};class I extends g.Component{render(){let{data:t}=this.props;return(0,s.jsx)("section",{className:"section map-section bg-tuna",children:(0,s.jsx)("div",{className:"container-fluid",children:(0,s.jsxs)("div",{className:"row justify-content-between align-items-center no-side-gutters",children:[(0,s.jsx)("div",{className:"offset-lg-3 col-lg-9 col-24 justify-content-center",children:(0,s.jsxs)("div",{className:"section-content",children:[(0,s.jsx)("h2",{className:"title color-sunset-orange",children:t.Title}),(0,s.jsx)("div",{className:"description",dangerouslySetInnerHTML:{__html:t.Description}}),(0,s.jsx)("div",{className:"secondary-tab",children:(0,s.jsxs)(k.A.Container,{defaultActiveKey:"0",children:[(0,s.jsx)(S.A,{children:this.getNavItem()}),(0,s.jsx)(k.A.Content,{children:this.getTabPane()})]})})]})}),(0,s.jsx)("div",{className:"col-lg-10 col-24",children:(0,s.jsx)("div",{children:(0,s.jsx)("img",{className:"img-fluid",src:"https://via.placeholder.com/595x760",alt:""})})})]})})})}constructor(...t){super(...t),this.getNavItem=()=>this.props.data.GlobalFolders.map((t,e)=>(0,s.jsx)(S.A.Item,{children:(0,s.jsx)(S.A.Link,{eventKey:e,children:t.Title})},e)),this.getTabPane=()=>this.props.data.GlobalFolders.map((t,e)=>(0,s.jsx)(k.A.Pane,{eventKey:e,children:(0,s.jsx)(E,{className:"dealers-slider slider owl-carousel",options:M,children:t.GlobalItems.map((t,e)=>(0,s.jsx)("div",{className:"item",children:(0,s.jsxs)("div",{className:"card logo-card secondary",children:[(0,s.jsx)("div",{className:"card-media",children:(0,s.jsx)("img",{className:"img-fluid",src:t.Logo,alt:""})}),(0,s.jsxs)("div",{className:"card-body",children:[(0,s.jsx)("h2",{className:"card-title",children:t.CompanyName}),(0,s.jsx)("div",{className:"info-list",children:(0,s.jsx)("ul",{children:t.Details.map((t,e)=>(0,s.jsxs)("li",{children:[(0,s.jsx)("strong",{children:t.Text}),(0,s.jsx)("span",{children:t.Title})]},e))})})]})]})},e))})},e))}}a(10517);var A=a(75849),P=a(65962);r.A.use([l.A]);class C extends g.Component{componentDidMount(){this.props.aboutUsPromotionData||this.props.aboutUsPromotionAction(p.e[d.i18n.language].key),this.setState({liveUrl:window.location.href})}renderModules(){return this.props.aboutUsPromotionData?this.props.aboutUsPromotionData.Sections.map((t,e)=>{switch(t.ClassName){case"Koc.AboutUsPromotionLeadershipSection":return(0,s.jsx)(j,{data:t},t.ClassName+e);case"Koc.AboutUsPromotionSliderSection":return(0,s.jsx)(T,{data:t},t.ClassName+e);case"Koc.AboutUsPromotionGlobalSection":return(0,s.jsx)(I,{data:t},t.ClassName+e);case"Koc.InternationalNetworkMapArea":return(0,s.jsx)(w.A,{data:t},t.ClassName+e);case"Koc.RelatedPage":return(0,s.jsx)(A.A,{data:t},t.ClassName+e);default:return null}}):null}
1render(){if(!this.props.aboutUsPromotionData)return(0,s.jsx)(P.A,{});let{Page:t,BreadCrumbs:e,MetaData:a,Sections:i}=this.props.aboutUsPromotionData;return(0,s.jsxs)(n.A,{children:[(0,s.jsxs)(h(),{children:[(0,s.jsx)("title",{children:a.MetaTitle.replace(/(<([^>]+)>)/ig,"")}),(0,s.jsx)("meta",{name:"description",content:a.MetaDescription}),(0,s.jsx)("meta",{name:"keywords",content:a.MetaKeywords}),(0,s.jsx)("meta",{property:"og:type",content:"article"}),(0,s.jsx)("meta",{property:"og:url",content:this.state.liveUrl}),(0,s.jsx)("meta",{property:"og:title",content:a.DocumentOGTitle}),(0,s.jsx)("meta",{property:"og:description",content:a.DocumentOGDescription}),(0,s.jsx)("meta",{property:"og:image",content:a.DocumentOGImage}),(0,s.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,s.jsx)("meta",{name:"twitter:site",content:this.state.liveUrl}),(0,s.jsx)("meta",{name:"twitter:title",content:a.DocumentOGTitle}),(0,s.jsx)("meta",{name:"twitter:description",content:a.DocumentOGDescription}),(0,s.jsx)("meta",{name:"twitter:image",content:a.DocumentOGImage})]}),(0,s.jsx)(o.A,{data:e}),(0,s.jsx)(x.A,{data:t}),(0,s.jsx)("section",{className:"section general-section size-middle",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)("div",{className:"section-header text-center",children:[(0,s.jsx)("h2",{className:"section-title small",children:t.PromotionTitle}),(0,s.jsx)("div",{className:"row",children:(0,s.jsx)("div",{className:"offset-md-4 col-md-16 col-24",children:(0,s.jsx)("div",{className:"desc fluid",dangerouslySetInnerHTML:{__html:t.PromotionDescription}})})})]}),(0,s.jsx)("div",{className:"separator mb-0"})]})}),this.renderModules()]})}constructor(...t){super(...t),this.state={liveUrl:""}}}let L=(0,d.withTranslation)("common")((0,u.Ng)(function(t){let{aboutUsPromotionData:e}=t;return{aboutUsPromotionData:e}},{aboutUsPromotionAction:c.V})(C))}},t=>{t.O(0,[6853,5533,3953,5388,636,6593,8792],()=>t(t.s=1116)),_N_E=t.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.