PageSourceSearch

https://www.guidelineflyfish.com/static/js/libs-wordpress-content-Modules-InfoCardsSlider.1faefce7.chunk.js

js guidelineflyfish.com collected 2026-10-10 01:16:08 UTC 5,478 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[938],{12219:function(e,n,r){r.d(n,{Z:function(){return h}});var t=r(1413),o=r(29439),u=r(45987),l=r(30168),a=r(72791);var i,c=r.p+"static/media/CursorDrag.cd1e8892dbccbf3de68ebabc7b208c24.svg",s=r(44434),d=r(82227),f=r(80184),p=["children","scrollPaddingLeft","slidesPerView","spaceBetween","hideCursorDrag"],v=(0,d.ZP)("div")(i||(i=(0,l.Z)(["\n    display: flex;\n    flex-wrap: nowrap;\n    gap: ",";\n    width: 100%;\n    height: 100%;\n    overflow-x: auto;\n    scroll-padding-left: ",";\n    touch-action: pan-x pan-y pinch-zoom;\n    -webkit-overflow-scrolling: touch;\n    cursor: ",";\n\n    a:not(.ignore-pointer-events) {\n        cursor: ",";\n        pointer-events: ",";\n    }\n\n    /* Hide scrollbar  */\n    -ms-overflow-style: none;\n    scrollbar-width: none;\n    ::-webkit-scrollbar {\n        display: none;\n    }\n\n    & .dragging {\n        scroll-behavior: auto;\n    }\n\n    // Let all direct children take up the same amount of space\n    > * {\n        min-width: ",";\n        max-width: ",";\n        height: 100%;\n    }\n"])),(function(e){return e.spaceBetween}),(function(e){return e.scrollPaddingLeft}),(function(e){return e.hideCursorDrag?"auto":"url(".concat(c,") 40 40, pointer")}),(function(e){return e.hideCursorDrag?"pointer":"url(".concat(c,") 40 40, pointer")}),(function(e){return e.$pointerEvents?"auto":"none"}),(function(e){var n=e.childWidth;return"".concat(n,"px")}),(function(e){var n=e.childWidth;return"".concat(n,"px")})),g=(0,a.forwardRef)((function(e,n){var r=e.children,l=e.scrollPaddingLeft,i=e.slidesPerView,c=e.spaceBetween,d=e.hideCursorDrag,g=(0,u.Z)(e,p);if(0===r.length||!n)return null;var h=(0,a.useState)(0),m=(0,o.Z)(h,2),x=m[0],w=m[1],L=(0,a.useState)(0),C=(0,o.Z)(L,2),b=C[0],E=C[1],y=(0,a.useState)(!0),S=(0,o.Z)(y,2),Z=S[0],P=S[1],D=(0,a.useRef)(null),_=(0,a.useRef)(null),T=(0,a.useRef)(!1),R=(0,a.useRef)(!1),k=(0,a.useRef)(0),j=(0,a.useRef)(0),A=(0,a.useCallback)((function(e){e.preventDefault(),T.current=!0,k.current=e.pageX,j.current=n.current.scrollLeft,D.current&&clearTimeout(D.current),D.current=setTimeout((function(){j.current!==n.current.scrollLeft&&T.current&&P(!1)}),200)}),[n]),B=(0,a.useCallback)((function(e){if(T.current){e.preventDefault(),R.current=!0,n.current.classList.add("dragging");var r=(e.pageX||0)-k.current;n.current.scrollLeft=j.current-r}}),[n]),O=(0,a.useCallback)((function(){D.current&&(clearTimeout(D.current),D.current=null),_.current&&(clearTimeout(_.current),_.current=null),T.current=!1,n.current.classList.remove("dragging"),_.current=setTimeout((function(){P(!0)}),50),R.current&&(R.current=!1)}),[n]),z=function(){var e,r=parseInt(c,10)*i,t=(null===(e=n.current)||void 0===e?void 0:e.offsetWidth)-parseInt(l,10)-r;E(t/i)};return(0,a.useEffect)((function(){if(!s.CONSTANTS.IS_SERVER)return w(window.innerWidth),window.addEventListener("resize",z),function(){window.removeEventListener("resize",z)}})),(0,a.useEffect)((function(){z()}),[x]),(0,a.useEffect)((function(){if(!s.CONSTANTS.IS_SERVER){var e=n.current;return e.addEventListener("mousedown",A),document.addEventListener("mousemove",B),document.addEventListener("mouseup",O),function(){e.removeEventListener("mousedown",A),document.removeEventListener("mousemove",B),document.removeEventListener("mouseup",O),D.current&&clearTimeout(D.current),_.current&&clearTimeout(_.current)}}}),[A,B,O]),(0,f.jsx)(v,(0,t.Z)((0,t.Z)({ref:n,spaceBetween:c,scrollPaddingLeft:l,pl:l,$pointerEvents:Z,childWidth:b,hideCursorDrag:d},g),{},{children:r}))}));g.defaultProps={scrollPaddingLeft:"24px",slidesPerView:4,spaceBetween:"24px",hideCursorDrag:!1};var h=g},70931:function(e,n,r){r.r(n);var t=r(34551),o=r(71439),u=r(12664),l=r(72791),a=r(8265),i=r(12219),c=r(80125),s=r(66158),d=r(80184);n.default=function(e){var n=e.data,r=void 0===n?{}:n,f=(0,l.useRef)(null),p=(0,a.Z)({from:"tablet.sm"}),v=(r||{}).moduleSettings,g=void 0===v?{}:v,h=r.data||{},m=h.heading,x=void 0===m?{}:m,w=h.sliderInfoCards,L=void 0===w?[]:w;if(!L.length)return null;var C={as:"default"===x.type?"h2":x.type,text:x.text,size:"default"===x.textSize?"large":x.textSize,color:"default"===x.textColor?void 0:x.textColor},b="default"===g.backgroundColor?void 0:g.backgroundColor,E="default"===g.textColorTheme?void 0:g.textColorTheme,y="medium"===C.size?["Primary/Headlines/24-120",null,null,"Primary/Headlines/32-110"]:["Primary/Headlines/32-110",null,null,"Primary/Headlines/48-110"],S=L.length>4?4.2:L.length;return(0,d.jsxs)(u.Z,{as:"section",rowGap:"32px",py:b?"var(--module-spacing-y-large)":void 0,my:b?void 0:"var(--module-spacing-y-large)",backgroundColor:b?"var(--color-".concat(b,")"):void 0,color:E?{dark:"var(--color-brand-black)",light:"var(--color-gray-light-1)"}[E]:void 0,children:[C.text&&(0,d.jsx)(s.Z,{as:"header",px:"var(--module-spacing-x)",children:(0,d.jsx)(o.Z,{$as:C.as,typography:y,color:C.color,gridColumn:["1 / -1",null,null,"span 8"],textWrap:"balance",children:C.text})}),p&&L.length<=4?(0,d.jsx)(c.Z,{columns:L.length.toString(),gap:"16px",px:"var(--module-spacing-x)",children:L.map((function(e,n){return(0,d.jsx)(t.Z,{data:e,numberOfCards:L.length},"".concat(e.layout,"-").concat(n))}))}):(0,d.jsx)(i.Z,{ref:f,slidesPerView:p?S:1.1,spaceBetween:"16px",scrollPaddingLeft:["16px",null,null,"24px"],pr:["16px",null,null,"24px"],children:L.map((function(e,n){return(0,d.jsx)(t.Z,{data:e,numberOfCards:L.length},n)}))})]})}}}]);

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.