1/* @license GPL-2.0-or-later https://git.drupalcode.org/project/once/-/raw/v1.0.1/LICENSE.md */ 2/*! @drupal/once - v1.0.1 - 2021-06-12 */ 3var once=function(){"use strict";var n=/[\11\12\14\15\40]+/,e="data-once",t=document;function r(n,t,r){return n[t+"Attribute"](e,r)}function o(e){if("string"!=typeof e)throw new TypeError("once ID must be a string");if(""===e||n.test(e))throw new RangeError("once ID must not be empty or contain spaces");return'[data-once~="'+e+'"]'}function u(n){if(!(n instanceof Element))throw new TypeError("The element must be an instance of Element");return!0}function i(n,e){void 0===e&&(e=t);var r=n;if(null===n)r=[];else{if(!n)throw new TypeError("Selector must not be empty");"string"!=typeof n||e!==t&&!u(e)?n instanceof Element&&(r=[n]):r=e.querySelectorAll(n)}return Array.prototype.slice.call(r)}function c(n,e,t){return e.filter((function(e){var r=u(e)&&e.matches(n);return r&&t&&t(e),r}))}function f(e,t){var o=t.add,u=t.remove,i=[];r(e,"has")&&r(e,"get").trim().split(n).forEach((function(n){i.indexOf(n)<0&&n!==u&&i.push(n)})),o&&i.push(o);var c=i.join(" ");r(e,""===c?"remove":"set",c)}function a(n,e,t){return c(":not("+o(n)+")",i(e,t),(function(e){return f(e,{add:n})}))}return a.remove=function(n,e,t){return c(o(n),i(e,t),(function(e){return f(e,{remove:n})}))},a.filter=function(n,e,t){return c(o(n),i(e,t))},a.find=function(n,e){return i(n?o(n):"[data-once]",e)},a}(); 4 5; 6/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 7(function(){const settingsElement=document.querySelector('head > script[type="application/json"][data-drupal-selector="drupal-settings-json"], body > script[type="application/json"][data-drupal-selector="drupal-settings-json"]');window.drupalSettings={};if(settingsElement!==null)window.drupalSettings=JSON.parse(settingsElement.textContent);})();; 8window.Drupal={behaviors:{},locale:{}};(function(Drupal,drupalSettings,drupalTranslations,console,Proxy,Reflect){Drupal.throwError=function(error){setTimeout(()=>{throw error;},0);};Drupal.attachBehaviors=function(context,settings){context=context||document;settings=settings||drupalSettings;const behaviors=Drupal.behaviors;Object.keys(behaviors||{}).forEach((i)=>{if(typeof behaviors[i].attach==='function')try{behaviors[i].attach(context,settings);}catch(e){Drupal.throwError(e);}});};Drupal.detachBehaviors=function(context,settings,trigger){context=context||document;settings=settings||drupalSettings;trigger=trigger||'unload';const behaviors=Drupal.behaviors;Object.keys(behaviors||{}).forEach((i)=>{if(typeof behaviors[i].detach==='function')try{behaviors[i].detach(context,settings,trigger);}catch(e){Drupal.throwError(e);}});};Drupal.checkPlain=function(str){str=str.toString().replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>').replace(/"/g,'"').replace(/'/g,''');return str;};Drupal.formatString=function(str,args){const processedArgs={};Object.keys(args||{}).forEach((key)=>{switch(key.charAt(0)){case '@':processedArgs[key]=Drupal.checkPlain(args[key]);break;case '!':processedArgs[key]=args[key];break;default:processedArgs[key]=Drupal.theme('placeholder',args[key]);break;}});return Drupal.stringReplace(str,processedArgs,null);};Drupal.stringReplace=function(str,args,keys){if(str.length===0)return str;if(!Array.isArray(keys)){keys=Object.keys(args||{});keys.sort((a,b)=>a.length-b.length);}if(keys.length===0)return str;const key=keys.pop();const fragments=str.split(key);if(keys.length){for(let i=0;i<fragments.length;i++)fragments[i]=Drupal.stringReplace(fragments[i],args,keys.slice(0));}return fragments.join(args[key]);};Drupal.t=function(str,args,options){options=options||{};options.context=options.context||'';if(drupalTranslations?.strings?.[options.context]?.[str])str=drupalTranslations.strings[options.context][str];if(args)str=Drupal.formatString(str,args);return str;};Drupal.url=function(path){return drupalSettings.path.baseUrl+drupalSettings.path.pathPrefix+path;};Drupal.url.toAbsolute=function(url){const urlParsingNode=document.createElement('a');urlParsingNode.setAttribute('href',url);return urlParsingNode.href;};Drupal.url.isLocal=function(url){let absoluteUrl=Drupal.url.toAbsolute(url);let {protocol}=window.location;if(protocol==='http:'&&absoluteUrl.startsWith('https:'))protocol='https:';let baseUrl=`${protocol}//${window.location.host}${drupalSettings.path.baseUrl.slice(0,-1)}`;try{absoluteUrl=decodeURIComponent(absoluteUrl);}catch(e){}try{baseUrl=decodeURIComponent(baseUrl);}catch(e){}return absoluteUrl===baseUrl||absoluteUrl.startsWith(`${baseUrl}/`);};Drupal.formatPlural=function(count,singular,plural,args,options){args=args||{};args['@count']=count;const pluralDelimiter=drupalSettings.pluralDelimiter;const translations=Drupal.t(singular+pluralDelimiter+plural,args,options).split(pluralDelimiter);let index=0;
8if(drupalTranslations?.pluralFormula)index=count in drupalTranslations.pluralFormula?drupalTranslations.pluralFormula[count]:drupalTranslations.pluralFormula.default;else{if(args['@count']!==1)index=1;}return translations[index];};Drupal.encodePath=function(item){return window.encodeURIComponent(item).replace(/%2F/g,'/');};Drupal.deprecationError=({message})=>{if(drupalSettings.suppressDeprecationErrors===false&&console?.warn)console.warn(`[Deprecation] ${message}`);};Drupal.deprecatedProperty=({target,deprecatedProperty,message})=>{if(!Proxy||!Reflect)return target;return new Proxy(target,{get:(target,key,...rest)=>{if(key===deprecatedProperty)Drupal.deprecationError({message});return Reflect.get(target,key,...rest);}});};Drupal.theme=function(func,...args){if(typeof Drupal.theme?.[func]==='function')return Drupal.theme[func](...args);Drupal.throwError(new TypeError(`Drupal.theme.${func} must be function type.`));};Drupal.theme.placeholder=function(str){return `<em class="placeholder">${Drupal.checkPlain(str)}</em>`;};Drupal.elementIsVisible=function(elem){return !!(elem.offsetWidth||elem.offsetHeight||elem.getClientRects().length);};Drupal.elementIsHidden=function(elem){return !Drupal.elementIsVisible(elem);};})(Drupal,window.drupalSettings,window.drupalTranslations,window.console,window.Proxy,window.Reflect);; 9if(window.jQuery)jQuery.noConflict();document.documentElement.className+=' js';(function(Drupal,drupalSettings){const domReady=(callback)=>{const listener=()=>{callback();document.removeEventListener('DOMContentLoaded',listener);};if(document.readyState!=='loading')setTimeout(callback,0);else document.addEventListener('DOMContentLoaded',listener);};domReady(()=>{Drupal.attachBehaviors(document,drupalSettings);});})(Drupal,window.drupalSettings);; 10/******/ (() => { // webpackBootstrap 11/*!**********************************************************************!*\ 12 !*** ./components/03-organisms/card-component/card-icon-carousel.js ***! 13 \**********************************************************************/ 14(function(){"use strict";document.addEventListener("alpine:init",function(){"undefined"!=typeof Alpine&&Alpine.data("cardIconCarouselData",function(){return{visibleCards:768>window.innerWidth?1:3,activeSlide:0,originalCount:0,isCarouselActive:!1,isAnimating:!1,isReady:!1,translateX:0,cardWidth:0,isDragging:!1,dragStartX:0,prevTranslate:0,maxSlide:0,get cards(){return Array.from(this.$refs.carousel.children)},init:function(){var a=this,b=Array.from(this.$refs.carousel.children);this.originalCount=b.length,this.updateCarousel(),setTimeout(function(){a.isReady=!0},400),window.addEventListener("resize",function(){clearTimeout(a.resizeTimeout),a.resizeTimeout=setTimeout(function(){a.visibleCards=768>window.innerWidth?1:3,a.updateCarousel()},200)})},updateCarousel:function(){this.cardWidth=this.cards.length?this.cards[0].getBoundingClientRect().width:0,this.maxSlide=Math.max(0,this.originalCount-this.visibleCards),this.activeSlide=Math.min(Math.max(0,this.activeSlide),this.maxSlide),this.isCarouselActive=this.originalCount>this.visibleCards,this.translateX=-(this.activeSlide*this.cardWidth),this.$refs.carousel.style.transition="transform 0.5s ease-in-out"},currentDotIndex:function(){return this.activeSlide},goToSlide:function(a){this.activeSlide=Math.min(Math.max(0,a),this.maxSlide),this.snapToIndex()},nextSlide:function(){var a=this;!this.isCarouselActive||this.isAnimating||this.activeSlide>=this.maxSlide||(this.isAnimating=!0,this.activeSlide++,this.snapToIndex(),setTimeout(function(){a.isAnimating=!1},600))},prevSlide:function(){var a=this;!this.isCarouselActive||this.isAnimating||0>=this.activeSlide||(this.isAnimating=!0,this.activeSlide--,this.snapToIndex(),setTimeout(function(){a.isAnimating=!1},600))},snapToIndex:function(){this.cardWidth=this.cards.length?this.cards[0].getBoundingClientRect().width:this.cardWidth,this.translateX=-(this.activeSlide*this.cardWidth),this.$refs.carousel.style.transition="transform 0.5s ease-in-out"},onCardClick:function(a){!this.isCarouselActive||a>=this.activeSlide&&a<this.activeSlide+this.visibleCards||(this.activeSlide=Math.min(a,this.maxSlide),this.snapToIndex())}
14,startDrag:function(a){if(this.isCarouselActive){this.isDragging=!0;var b=a.touches?a.touches[0].clientX:a.clientX;this.dragStartX=b,this.prevTranslate=this.translateX,this.$refs.carousel.style.transition="none"}},onDrag:function(a){if(this.isDragging){var b=a.touches?a.touches[0].clientX:a.clientX,c=b-this.dragStartX,d=.5*this.cardWidth,e=this.prevTranslate+c;e=Math.min(e,d);var f=-(this.maxSlide*this.cardWidth)-d;e=Math.max(e,f),this.translateX=e}},endDrag:function(){if(this.isDragging){this.isDragging=!1;var a=this.translateX-this.prevTranslate,b=.25*this.cardWidth;a<-b&&this.activeSlide<this.maxSlide?this.activeSlide=Math.min(this.activeSlide+1,this.maxSlide):a>b&&0<this.activeSlide&&(this.activeSlide=Math.max(this.activeSlide-1,0)),this.snapToIndex(),this.$refs.carousel.style.transition="transform 0.5s ease-in-out"}}}})})})(Drupal); 15/******/ })() 16; 17 18/******/ (() => { // webpackBootstrap 19/*!***********************************************************************************!*\ 20 !*** ./components/03-organisms/third-party-review/third-party-review-carousel.js ***! 21 \***********************************************************************************/ 22(function(){"use strict";document.addEventListener("alpine:init",function(){Alpine.data("thirdpartycarouselData",function(a){return{activeSlide:0,reviews:a,autoplayIntervalTime:8e3,intervalId:null,init:function(){this.startAutoplay()},nextSlide:function(){this.activeSlide=(this.activeSlide+1)%this.reviews.length,this.resetAutoplay()},prevSlide:function(){this.activeSlide=0===this.activeSlide?this.reviews.length-1:this.activeSlide-1,this.resetAutoplay()},startAutoplay:function(){var a=this;this.stopAutoplay(),this.intervalId=setInterval(function(){a.nextSlide()},this.autoplayIntervalTime)},stopAutoplay:function(){this.intervalId&&(clearInterval(this.intervalId),this.intervalId=null)},resetAutoplay:function(){this.stopAutoplay(),this.startAutoplay()},userInteraction:function(){this.resetAutoplay()},getReviewerDetails:function(a){var b="";return 0<a.reviewer_name.length&&(b+=a.reviewer_name),0<a.job_title.length&&(0<b.length&&(b+=" | "),b+=a.job_title),0<a.company_name.length&&(0<b.length&&(b+=" | "),b+=a.company_name),b}}})})})(); 23/******/ })() 24;
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.