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S,IAAIb,OAAOC,KAAKa,OAAO,CAChCC,SAAWJ,EACXN,IAAKA,IAOT,GAHAA,EAAIE,QAAQpC,KAAM0C,GAGdL,EAAQjF,OAAQ,CAGhB,IAAIyF,EAAa,IAAIhB,OAAOC,KAAKgB,WAAW,CACxCC,QAASV,EAAQjF,SAIrByE,OAAOC,KAAKtE,MAAMwF,YAAYN,EAAQ,SAAS,WAC3CG,EAAWI,KAAMf,EAAKQ,EAC1B,GACJ,CACF,CA1CMQ,CAAY5H,EAAEsB,MAAOsF,EACzB,IA2CF,SAAoBA,GAGlB,IAAIiB,EAAS,IAAItB,OAAOC,KAAKsB,aAC7BlB,EAAIE,QAAQiB,SAAQ,SAAUX,GAC1BS,EAAOG,OAAO,CACVhB,IAAKI,EAAOE,SAASN,MACrBC,IAAKG,EAAOE,SAASL,OAE7B,IAG0B,GAAtBL,EAAIE,QAAQ9E,OACZ4E,EAAIqB,UAAWJ,EAAOK,aAItBtB,EAAIuB,UAAWN,EAErB,CA3DEO,CAAWxB,EAIb,CA7LcyB,CAASrI,EAAEsB,MACzB,GAGA,G,+BC/XAgH,EAAOC,QAAUlI,OAAe,M","sources":["webpack://sage/./resources/scripts/app.js","webpack://sage/external window \"jQuery\""],"sourcesContent":["/**\n * External Dependencies\n */\nimport 'jquery';\nimport Alpine from 'alpinejs'\nimport collapse from '@alpinejs/collapse'\nimport Flickity from 'flickity-imagesloaded';\nvar jQueryBridget = require('jquery-bridget');\nimport Isotope from 'isotope-layout';\n\nFlickity.setJQuery( $ );\njQueryBridget( 'flickity', Flickity, $ );\n\nimport { gsap } from \"gsap\";\nimport { SplitText } from \"gsap/SplitText\";\nimport { ScrollToPlugin } from \"gsap/ScrollToPlugin\";\nimport { ScrollTrigger } from \"gsap/ScrollTrigger\";\n\ngsap.registerPlugin(SplitText, ScrollTrigger, ScrollToPlugin);\n\nwindow.Alpine = Alpine\nAlpine.plugin(collapse)\nAlpine.start()\n\n\n$(() => {\n\n const zeroPad = (num, places) => String(num).padStart(places, '0')\n\n function updateStatus(carousel, status) {\n var slideNumber = carousel.selectedIndex + 1;\n status.innerHTML = zeroPad(slideNumber, 2) + ' / (' + zeroPad(carousel.slides.length, 2) + ')';\n }\n\n if ($('.family-carousel').is(':visible')) {\n var fam = new Flickity('.family-carousel', {\n // options\n //cellAlign: 'left',\n contain: true,\n prevNextButtons: false,\n pageDots: false,\n freeScroll: true,\n imagesLoaded: true,\n freeScrollFriction: 0.03,\n //autoPlay: 3000,\n });\n }\n\n $('.wp-block-image-slider').each( function() {\n var $carousel = $( this ).find('.image-carousel').flickity({\n contain: true,\n prevNextButtons: false,\n pageDots: true,\n freeScroll: true,\n freeScrollFriction: 0.03,\n imagesLoaded: true,\n });\n \n var stat = $(this).find('.image-status');\n var flkty = $carousel.data('flickity');\n //console.log(stat)\n var slideNumber = flkty.selectedIndex + 1;\n //console.log(slideNumber)\n\n $(stat).html(zeroPad(slideNumber, 2) + ' / (' + zeroPad(flkty.slides.length, 2) + ')');\n\n $carousel.on('change.flickity', function(event, index) {\n //var slideNumber = flkty.selectedIndex + 1;\n $(stat).html(zeroPad(index + 1, 2) + ' / (' + zeroPad(flkty.slides.length, 2) + ')');\n });\n\n $carousel.resize();\n \n });\n\n $('.wp-block-snapshot-gallery').each( function() {\n var $carousel = $( this ).find('.snap-carousel').flickity({\n contain: true,\n prevNextButtons: false,\n pageDots: true,\n freeScroll: true,\n freeScrollFriction: 0.03,\n imagesLoaded: true,\n });\n \n var stat = $(this).find('.snap-status');\n var flkty = $carousel.data('flickity');\n //console.log(stat)\n var slideNumber = flkty.selectedIndex + 1;\n //console.log(slideNumber)\n\n $(stat).html(zeroPad(slideNumber, 2) + ' / (' + zeroPad(flkty.slides.length, 2) + ')');\n\n $carousel.on('change.flickity', function(event, index) {\n //var slideNumber = flkty.selectedIndex + 1;\n $(stat).html(zeroPad(index + 1, 2) + ' / (' + zeroPad(flkty.slides.length, 2) + ')');\n });\n\n $carousel.resize();\n \n });\n\n\n gsap.config({\n nullTargetWarn: false,\n });\n\n $('.back-to-top').on('click', function(e) {\n e.preventDefault();\n gsap.to(window, {duration: 1, scrollTo: {y: 0}});\n });\n\n var home = gsap.timeline();\n var homeHero = new SplitText( $('.wp-block-home-hero h1'), {type:'lines'});\n var homeLines = homeHero.lines;\n //console.log(homeLines)\n\n home.fromTo(homeLines, {\n opacity: 0,\n yPercent: 4,\n }, {\n opacity: 1,\n yPercent: 0,\n stagger: 0.2,\n duration: 0.6,\n })\n\n //var homePro = gasp.timeline();\n var hProjects = gsap.utils.toArray(\".wp-block-home-projects .grid-item\");\n home.fromTo(hProjects, {\n autoAlpha: 0,\n yPercent: 3,\n },{\n autoAlpha: 1,\n yPercent: 0,\n stagger: 0.15,\n duration: 0.5,\n //ease: \"none\",\n })\n\n //var projects = gsap.timeline();\n\n // var projectHero = new SplitText( $('.post-type-archive-project h1'), {type:'lines'});\n // var projectLines = projectHero.lines;\n //console.log(homeLines)\n\n // projects.fromTo(projectLines, {\n // opacity: 0,\n // yPercent: 4,\n // }, {\n // opacity: 1,\n // yPercent: 0,\n // stagger: 0.2,\n // duration: 0.6,\n // })\n\n var pProjects = gsap.utils.toArray(\".post-type-archive-project .grid-container .grid-item\");\n gsap.fromTo(pProjects, {\n autoAlpha: 0,\n yPercent: 3,\n },{\n autoAlpha: 1,\n yPercent: 0,\n stagger: 0.15,\n duration: 0.5,\n //ease: \"none\",\n })\n\n var category = gsap.timeline();\n\n var catHero = new SplitText( $('.category h1'), {type:'lines'});\n var catLines = catHero.lines;\n //console.log(homeLines)\n\n category.fromTo(catLines, {\n opacity: 0,\n yPercent: 4,\n }, {\n opacity: 1,\n yPercent: 0,\n stagger: 0.2,\n duration: 0.6,\n })\n\n // var pCats = gsap.utils.toArray(\".category .grid-item\");\n // category.fromTo(pCats, {\n // autoAlpha: 0,\n // y: 25,\n // },{\n // autoAlpha: 1,\n // y: 0,\n // stagger: 0.2,\n // duration: 0.8,\n // ease: \"none\",\n // })\n\n var hero = gsap.timeline();\n var splitHero = new SplitText( $('.wp-block-hero h1'), {type:'lines'});\n var heroLines = splitHero.lines;\n\n hero.fromTo(heroLines, {\n autoAlpha: 0,\n y: 25,\n }, {\n y: 0,\n autoAlpha: 1,\n duration: 1,\n stagger: 0.2,\n //duration: 0.6,\n });\n\n gsap.fromTo('.wp-block-contact-hero h1', {\n autoAlpha: 0,\n y: 25,\n }, {\n y: 0,\n autoAlpha: 1,\n duration: 1,\n //duration: 0.6,\n });\n\n gsap.fromTo('.wp-block-family h2', {\n opacity: 0,\n yPercent: 10,\n }, {\n scrollTrigger: {\n trigger: \".wp-block-family\",\n start: \"top 70%\",\n //markers: true,\n },\n yPercent: 0,\n opacity: 1,\n duration: 1,\n });\n\n var misSplit = new SplitText( $('.wp-block-mission h2'), {type:'lines'});\n var misLines = misSplit.lines;\n\n gsap.fromTo(misLines, {\n opacity: 0,\n yPercent: 10,\n }, {\n scrollTrigger: {\n trigger: \".wp-block-mission\",\n start: \"top 70%\",\n //markers: true,\n },\n yPercent: 0,\n opacity: 1,\n duration: 1,\n stagger: 0.2,\n });\n\n var archTwo = gsap.utils.toArray(\".wp-block-arch-two .items-container .item\");\n gsap.fromTo(archTwo, {\n opacity: 0,\n yPercent: 10,\n }, {\n scrollTrigger: {\n trigger: \".wp-block-arch-two\",\n start: \"top 55%\",\n //markers: true,\n },\n yPercent: 0,\n opacity: 1,\n duration: 1,\n stagger: 0.2,\n });\n\n var archThree = gsap.utils.toArray(\".wp-block-arch-three .items-container .item\");\n gsap.fromTo(archThree, {\n opacity: 0,\n yPercent: 10,\n }, {\n scrollTrigger: {\n trigger: \".wp-block-arch-three\",\n start: \"top 55%\",\n //markers: true,\n },\n yPercent: 0,\n opacity: 1,\n duration: 1,\n stagger: 0.2,\n });\n\n var principal = gsap.utils.toArray(\".wp-block-principles .item\");\n gsap.from(principal, {\n opacity: 0,\n yPercent: 3,\n duration: 1, \n stagger: .3,\n scrollTrigger: {\n trigger: '.wp-block-principles',\n start: \"top 70%\",\n //markers: true,\n },\n });\n\n $('.type-filters .filters').on(\n 'change',\n 'input[type=\"checkbox\"]',\n tagFilters\n );\n\n function tagFilters() {\n var url = location.protocol + '//' + location.host + location.pathname,\n args = {};\n\n url = url.split('page/')[0];\n\n // loop over filters\n $('.type-filters .filters').each(function () {\n // vars\n var filter = $(this).data('filter');\n var vals = [];\n\n //console.log(filter)\n\n // find checked inputs\n $(this)\n .find('input:checked')\n .each(function () {\n //console.log($(this).val())\n vals.push($(this).val());\n });\n\n //console.log(vals)\n\n // append to args\n args[filter] = vals.join(',');\n //console.log(args)\n });\n\n //console.log(args)\n\n //if(args[ filter ] !== \"\") {\n // update url\n url += '?';\n\n // loop over args\n $.each(args, function (name, value) {\n if (value) {\n url += name + '=' + value + '&';\n }\n });\n\n // remove last &\n url = url.slice(0, -1);\n\n //console.log(url)\n // reload page\n window.location.replace(url);\n }\n\n //lets add the observer element dynamically.\n var newEl = document.createElement(\"div\");\n newEl.classList.add(\"myObserver\");\n var ref = document.querySelector(\"#header\");\n insertBefore(newEl, ref);\n function insertBefore(el, referenceNode) {\n referenceNode.parentNode.insertBefore(el, referenceNode);\n }\n\n var observer = new IntersectionObserver(\n function (entries) {\n if (entries[0].intersectionRatio === 0) {\n document.querySelector(\"#header\").classList.add(\"shadow\");\n //newEl.classList.add(\"sticky-observer\");\n } else if (entries[0].intersectionRatio === 1) {\n document.querySelector(\"#header\").classList.remove(\"shadow\");\n //newEl.classList.remove(\"sticky-observer\");\n }\n },\n { threshold: [0, 1] }\n );\n\n observer.observe(document.querySelector(\".myObserver\"));\n\n $('.acf-map').each(function(){\n var map = initMap( $(this) );\n});\n\n \n});\n\nfunction initMap( $el ) {\n\n // Find marker elements within map.\n var $markers = $el.find('.marker');\n\n // Create gerenic map.\n var mapArgs = {\n zoom : $el.data('zoom') || 16,\n mapTypeId : google.maps.MapTypeId.ROADMAP,\n styles : [\n {\n \"elementType\": \"geometry\",\n \"stylers\": [\n {\n \"color\": \"#f5f5f5\"\n }\n ]\n },\n {\n \"elementType\": \"labels.icon\",\n \"stylers\": [\n {\n \"visibility\": \"off\"\n }\n ]\n },\n {\n \"elementType\": \"labels.text.fill\",\n \"stylers\": [\n {\n \"color\": \"#616161\"\n }\n ]\n },\n {\n \"elementType\": \"labels.text.stroke\",\n \"stylers\": [\n {\n \"color\": \"#f5f5f5\"\n }\n ]\n },\n {\n \"featureType\": \"administrative.land_parcel\",\n \"elementType\": \"labels.text.fill\",\n \"stylers\": [\n {\n \"color\": \"#bdbdbd\"\n }\n ]\n },\n {\n \"featureType\": \"poi\",\n \"elementType\": \"geometry\",\n \"stylers\": [\n {\n \"color\": \"#eeeeee\"\n }\n ]\n },\n {\n \"featureType\": \"poi\",\n \"elementType\": \"labels.text.fill\",\n \"stylers\": [\n {\n \"color\": \"#757575\"\n }\n ]\n },\n {\n \"featureType\": \"poi.park\",\n \"elementType\": \"geometry\",\n \"stylers\": [\n {\n \"color\": \"#e5e5e5\"\n }\n ]\n },\n {\n \"featureType\": \"poi.park\",\n \"elementType\": \"labels.text.fill\",\n \"stylers\": [\n {\n \"color\": \"#9e9e9e\"\n }\n ]\n },\n {\n \"featureType\": \"road\",\n \"elementType\": \"geometry\",\n \"stylers\": [\n {\n \"color\": \"#ffffff\"\n }\n ]\n },\n {\n \"featureType\": \"road.arterial\",\n \"elementType\": \"labels.text.fill\",\n \"stylers\": [\n {\n \"color\": \"#757575\"\n }\n ]\n },\n {\n \"featureType\": \"road.highway\",\n \"elementType\": \"geometry\",\n \"stylers\": [\n {\n \"color\": \"#dadada\"\n }\n ]\n },\n {\n \"featureType\": \"road.highway\",\n \"elementType\": \"labels.text.fill\",\n \"stylers\": [\n {\n \"color\": \"#616161\"\n }\n ]\n },\n {\n \"featureType\": \"road.local\",\n \"elementType\": \"labels.text.fill\",\n \"stylers\": [\n {\n \"color\": \"#9e9e9e\"\n }\n ]\n },\n {\n \"featureType\": \"transit.line\",\n \"elementType\": \"geometry\",\n \"stylers\": [\n {\n \"color\": \"#e5e5e5\"\n }\n ]\n },\n {\n \"featureType\": \"transit.station\",\n \"elementType\": \"geometry\",\n \"stylers\": [\n {\n \"color\": \"#eeeeee\"\n }\n ]\n },\n {\n \"featureType\": \"water\",\n \"elementType\": \"geometry\",\n \"stylers\": [\n {\n \"color\": \"#c9c9c9\"\n }\n ]\n },\n {\n \"featureType\": \"water\",\n \"elementType\": \"labels.text.fill\",\n \"stylers\": [\n {\n \"color\": \"#9e9e9e\"\n }\n ]\n }\n ]\n };\n var map = new google.maps.Map( $el[0], mapArgs );\n\n // Add markers.\n map.markers = [];\n $markers.each(function(){\n initMarker( $(this), map );\n });\n\n // Center map based on markers.\n centerMap( map );\n\n // Return map instance.\n return map;\n}\n\nfunction initMarker( $marker, map ) {\n\n // Get position from marker.\n var lat = $marker.data('lat');\n var lng = $marker.data('lng');\n var latLng = {\n lat: parseFloat( lat ),\n lng: parseFloat( lng )\n };\n\n // Create marker instance.\n var marker = new google.maps.Marker({\n position : latLng,\n map: map\n });\n\n // Append to reference for later use.\n map.markers.push( marker );\n\n // If marker contains HTML, add it to an infoWindow.\n if( $marker.html() ){\n\n // Create info window.\n var infowindow = new google.maps.InfoWindow({\n content: $marker.html()\n });\n\n // Show info window when marker is clicked.\n google.maps.event.addListener(marker, 'click', function() {\n infowindow.open( map, marker );\n });\n }\n}\n\nfunction centerMap( map ) {\n\n // Create map boundaries from all map markers.\n var bounds = new google.maps.LatLngBounds();\n map.markers.forEach(function( marker ){\n bounds.extend({\n lat: marker.position.lat(),\n lng: marker.position.lng()\n });\n });\n\n // Case: Single marker.\n if( map.markers.length == 1 ){\n map.setCenter( bounds.getCenter() );\n\n // Case: Multiple markers.\n } else{\n map.fitBounds( bounds );\n }\n}","module.exports = window[\"jQuery\"];"],"names":["jQueryBridget","require","Flickity","$","gsap","SplitText","ScrollTrigger","ScrollToPlugin","window","Alpine","collapse","zeroPad","num","places","String","padStart","is","contain","prevNextButtons","pageDots","freeScroll","imagesLoaded","freeScrollFriction","each","$carousel","this","find","flickity","stat","flkty","data","slideNumber","selectedIndex","html","slides","length","on","event","index","resize","nullTargetWarn","e","preventDefault","duration","scrollTo","y","home","homeLines","type","lines","fromTo","opacity","yPercent","stagger","hProjects","autoAlpha","pProjects","category","catLines","hero","heroLines","scrollTrigger","trigger","start","misLines","archTwo","archThree","principal","url","location","protocol","host","pathname","args","split","filter","vals","push","val","join","name","value","slice","replace","newEl","document","createElement","classList","add","el","referenceNode","ref","querySelector","parentNode","insertBefore","IntersectionObserver","entries","intersectionRatio","remove","threshold","observe","$el","$markers","mapArgs","zoom","mapTypeId","google","maps","MapTypeId","ROADMAP","styles","map","Map","markers","$marker","lat","lng","latLng","parseFloat","marker","Marker","position","infowindow","InfoWindow","content","addListener","open","initMarker","bounds","LatLngBounds","forEach","extend","setCenter","getCenter","fitBounds","centerMap","initMap","module","exports"],"sourceRoot":""}