1"use strict";(self.webpackChunk_agco_onedigital_aem_sites=self.webpackChunk_agco_onedigital_aem_sites||[]).push([[325],{5623:(e,t,i)=>{i.r(t),i.d(t,{default:()=>_});var s=i(4754),n=i(2550),o=i(1236),a=i(7848),r=i(2448),l=i(5266);function h(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,s)}return i}function c(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?h(Object(i),!0).forEach((function(t){d(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):h(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function d(e,t,i){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}class p extends n.A{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(e),d(this,"_handleSlideChange",(e=>{(0,l.oJ)(e)})),d(this,"_hideElements",(()=>{this._options.navigation&&(this._$elements.nav.hidden=!0),this._options.pagination&&(this._$elements.pagination.hidden=!0),this._options.pageCounter&&(this._$elements["pagination-indicator"].hidden=!0)})),d(this,"_showElements",(()=>{this._options.navigation&&(this._$elements.nav.hidden=!1),this._options.pagination&&(this._$elements.pagination.hidden=!1),this._options.pageCounter&&(this._$elements["pagination-indicator"].hidden=!1)})),d(this,"_onBreakpointChange",(e=>{let t=0;this._swiper&&(t=this._swiper.realIndex||0,this._swiper.destroy()),e.matches?this._isCarouselOnDesktop?this._swiper=new o.A(this._$elements.container,c(c(c(c({},this._swiperConfig),{},{initialSlide:t,slidesPerGroup:1,breakpoints:{768:{slidesPerGroup:4},992:{slidesPerGroup:3},1200:{slidesPerGroup:4},1440:{slidesPerGroup:5}}},this._options.pageCounter?{pagination:{el:this._$elements["pagination-indicator"],type:"custom",renderCustom:(e,t,i)=>(0,r.h)({swiper:e,current:t,total:i,carouselAccessibilitySlideLabelMessage:this._carouselAccessibilitySlideLabelMessage})}}:{}),this._options.pagination?{pagination:{el:this._$elements.pagination,clickable:!0}}:{}),{},{on:{init:e=>{this._showElements(),this._handleSlideChange(e)},slideChange:this._handleSlideChange,resize:this._handleSlideChange}})):this._hideElements():this._isCarouselOnMobile?this._swiper=new o.A(this._$elements.container,c(c(c({},this._swiperConfig),{},{initialSlide:t,slidesPerGroup:1,breakpoints:{576:{slidesPerGroup:2}}},this._options.pageCounter?{pagination:{el:this._$elements["pagination-indicator"],type:"custom",renderCustom:(e,t,i)=>(0,r.h)({current:t,total:i,carouselAccessibilitySlideLabelMessage:this._carouselAccessibilitySlideLabelMessage})}}:{}),{},{on:{init:e=>{this._showElements(),this._handleSlideChange(e)},slideChange:this._handleSlideChange,resize:this._handleSlideChange}})):this._hideElements()}));const i={breakpoint:768,enableA11y:!1!==t?.enableA11y,navigation:!1!==t?.navigation,pagination:!!t?.pagination,pageCounter:!!t?.pageCounter,columnGap:16};this._options=c(c({},i),t),this._isDesktop=window.matchMedia(`(min-width: ${this._options.breakpoint}px)`),this._isCarouselOnMobile=this._$el?.classList?.contains("icon-link-block__carousel_mobile"),this._isCarouselOnDesktop=this._$el?.classList?.contains("icon-link-block__carousel_desktop");const s=this._$elements.modal||[];this._modals={},Array.isArray(s)?s.forEach(((e,t)=>{this._createModal(e,e.id||t)})):this._createModal(s,s.id),this._modalLinks=this._$elements["link-list-modal-link"]||null,this._modalLinks&&this._addClickListener(this._modalLinks),this._swiperA11yOptions=c({enabled:this._options.enableA11y}
1,(0,l.bY)(this._$elements.container)),this._carouselAccessibilitySlideLabelMessage=this._options.enableA11y&&this._swiperA11yOptions&&this._swiperA11yOptions.slideLabelMessage?this._swiperA11yOptions.slideLabelMessage:"";const n=[];this._options.enableA11y&&n.push(a.Jq),this._options.navigation&&n.push(a.Vx),(this._options.pagination||this._options.pageCounter)&&n.push(a.dK),this._activeSlide=0,this._swiperConfig=c({watchSlidesProgress:!0,modules:n,slidesPerView:"auto",watchOverflow:!0,a11y:this._swiperA11yOptions,spaceBetween:this._options.columnGap},this._options.navigation?{navigation:{nextEl:this._$elements.next,prevEl:this._$elements.prev}}:{}),(this._isCarouselOnDesktop||this._isCarouselOnMobile)&&(this._onBreakpointChange(this._isDesktop),this._isDesktop.addListener(this._onBreakpointChange))}_addClickListener(e){Array.isArray(e)?e.forEach((e=>{e.addEventListener("click",(()=>{const t=this._modals[`modal-${e.dataset?.modal}`];t&&t.show()}))})):e instanceof Element&&e.addEventListener("click",(()=>{const t=this._modals[`modal-${e.dataset?.modal}`];t&&t.show()}))}_createModal(e,t){e&&(this._modals[`modal-${t}`]=new s.A(e,{classNames:{backdrop:"link-list-modal__backdrop"}}))}destroy(){this._isDesktop.removeListener(this._onBreakpointChange),this._swiper&&this._swiper.destroy(),super.destroy()}}const _=p},2448:(e,t,i)=>{i.d(t,{L:()=>n,h:()=>s});const s=e=>{let{current:t=0,total:i=0,carouselAccessibilitySlideLabelMessage:s=""}=e;const n=`\n <span class="carousel-page-indicator__indicator-count">\n ${t.toString().padStart(2,"0")}\n </span>\n `,o=`\n <span class="carousel-page-indicator__indicator-total">\n ${i.toString().padStart(2,"0")}\n </span>\n `;return`\n ${s.replace("{{index}}",n).replace("{{slidesLength}}",o)}\n `},n=e=>{let{swiper:t,carouselAccessibilitySlideLabelMessage:i=""}=e;const s=t.slidesPerViewDynamic(),n=Math.ceil(t.activeIndex/s)+1,o=Math.ceil(t.slides.length/s),a=`\n <span class="carousel-page-indicator__indicator-count">\n ${n.toString().padStart(2,"0")}\n </span>\n `,r=`\n <span class="carousel-page-indicator__indicator-total">\n ${o.toString().padStart(2,"0")}\n </span>\n `;return`\n ${i.replace("{{index}}",a).replace("{{slidesLength}}",r)}\n `}},4754:(e,t,i)=>{i.d(t,{A:()=>d});var s=i(2550),n=i(5266);function o(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,s)}return i}function a(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?o(Object(i),!0).forEach((function(t){r(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):o(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function r(e,t,i){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}const l={bodyClass:"disable-scroll",isShown:"is-shown",backdrop:"modal-backdrop"},h={backdropEnter:null,backdropLeave:null,dialogEnter:null,dialogLeave:null};class c extends s.A{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(e),r(this,"_isShown",!1),r(this,"_preventScrollbarShift",!1),r(this,"_classNames",void 0),r(this,"_transitions",void 0),r(this,"_focusTrap",null),r(this,"_pendingTransition",null),r(this,"_ignoreBackdropClick",void 0),r(this,"_onDelegatedDismissBtnClick",(e=>{for(const t of this._$elements["dismiss-btn"])if(t.contains(e.target))return void this.hide()})),r(this,"_onDelegatedBackdropClick",(e=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:this._$elements.dialog.contains(e.target)||this.hide()}
1)),r(this,"_onEscapeKeydown",(e=>{"Escape"===e.key&&(e.preventDefault(),this.hide())})),r(this,"_onDialogMousedown",(()=>{this._$el.addEventListener("mouseup",this._onDialogMouseup,!1)})),r(this,"_onDialogMouseup",(e=>{e.target===this._$el&&(this._ignoreBackdropClick=!0),this._$el.removeEventListener("mouseup",this._onDialogMouseup,!1)})),this._focusTrap=(0,n.YB)(this._$el,{returnFocus:t.returnFocus,preventScrollOnReturnFocus:t.preventScrollOnReturnFocus,returnFocusTo:t.returnFocusTo,setInitialFocusOn:t.setInitialFocusOn}),this._classNames=a(a({},l),t.classNames||{});for(const e of Object.keys(this._classNames))this._classNames[e]=(0,n.nP)(this._classNames[e]);this._transitions=a(a({},h),t.transitions||{}),this._preventScrollbarShift=t.preventScrollbarShift||!1,this._noBackdrop=t.noBackdrop||!1,this._$el.setAttribute("aria-hidden","true"),this._$el.setAttribute("aria-modal","true"),this._$el.setAttribute("tabindex","-1"),this._$el.setAttribute("role","dialog"),Array.isArray(this._$elements["dismiss-btn"])||(this._$elements["dismiss-btn"]=this._$elements["dismiss-btn"]?[this._$elements["dismiss-btn"]]:[]),this._bindEvents()}show(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this._isShown)return this;this._isShown=!0,this._emit("show"),this._pendingTransition&&(this._pendingTransition.cancel(),this._removeBackdrop()),this._preventScrollbarShift&&(document.documentElement.style.marginRight=this._getScrollbarWidth()+"px"),this._createBackdrop(),document.body.classList.add(...this._classNames.bodyClass),this._$el.classList.add(...this._classNames.isShown),this._$el.setAttribute("aria-hidden","false"),this._$el.scrollTop=0;const t=[];return this._noBackdrop||t.push(n.vn.enter(this._$elements.backdrop,e.disableTransition||!this._transitions.backdropEnter?{name:"none",timeout:0}:this._transitions.backdropEnter)),t.push(n.vn.enter(this._$elements.dialog,e.disableTransition||!this._transitions.dialogEnter?{name:"none",timeout:0}:this._transitions.dialogEnter)),this._pendingTransition=n.vn.all(t,(()=>{document.addEventListener("keydown",this._onEscapeKeydown,!1),this._focusTrap.activate(e),this._pendingTransition=null,this._emit("shown")})),this}hide(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this._isShown)return this;this._isShown=!1,this._emit("hide"),this._pendingTransition&&this._pendingTransition.cancel();const t=[];return t.push(n.vn.leave(this._$elements.dialog,e.disableTransition||!this._transitions.dialogLeave?{name:"none",timeout:0}:this._transitions.dialogLeave)),this._noBackdrop||t.push(n.vn.leave(this._$elements.backdrop,e.disableTransition||!this._transitions.backdropLeave?{name:"none",timeout:0}:this._transitions.backdropLeave)),this._pendingTransition=n.vn.all(t,(()=>{this._$el.classList.remove(...this._classNames.isShown),this._$el.setAttribute("aria-hidden","true"),document.removeEventListener("keydown",this._onEscapeKeydown,!1),this._focusTrap.deactivate(e),document.body.classList.remove(...this._classNames.bodyClass),this._removeBackdrop(),this._pendingTransition=null,this._preventScrollbarShift&&(document.documentElement.style.marginRight=""),this._emit("hidden")})),this}destroy(){this._emit("destroy"),this._pendingTransition&&this._pendingTransition.cancel(),document.removeEventListener("keydown",this._onEscapeKeydown,!1),this._focusTrap.deactivate(),document.body.classList.remove(...this._classNames.bodyClass),this._$el.removeEventListener("click",this._onDelegatedDismissBtnClick,!1),this._$el.removeEventListener("click",this._onDelegatedBackdropClick,!1),this._$elements.dialog.removeEventListener("mousedown",this._onDialogMousedown),this._$el.removeEventListener("mouseup",this._onDialogMouseup,!1),this._removeBackdrop(),super.destroy()}_createBackdrop(){this._noBackdrop||(this._$elements.backdrop=document.createElement("div"),this._$elements.backdrop.classList.add(...this._classNames.backdrop),document.body.appendChild(this._$elements.backdrop))}_removeBackdrop(){this._$elements.backdrop&&(this._$elements.backdrop.parentNode.removeChild(this._$elements.backdrop),this._$elements.backdrop=null)}_bindEvents(){this._$el.addEventListener("click",this._onDelegatedDismissBtnClick,!1),this._noBackdrop||this._$el.addEventListener("click",this._onDelegatedBackdropClick,!1),this._$elements.dialog.addEventListener("mousedown",this._onDialogMousedown)}_getScrollbarWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}}const d=c}}]);
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.