PageSourceSearch

https://grist.org/wp-content/themes/grist/dist/latest-slider.js

js grist.org collected 2026-10-01 08:30:34 UTC 2,881 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_upstatement_grist=self.webpackChunk_upstatement_grist||[]).push([[416],{37761:function(t,e,n){var r=n(44740);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,l(r.key),r)}}function l(t){var e=function(t){if("object"!=o(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==o(e)?e:e+""}var u=function(){return t=function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.latestSlider=null,this.init()},(e=[{key:"init",value:function(){this.latestSlider=(0,r.U)({center:!0,container:".js-latest-slider",nav:!1,loop:!1,controls:!1,disable:!1,items:1.25,mouseDrag:!0,preventScrollOnTouch:!0,responsive:{600:{disable:!0}}}),this.latestSlider.events.on("newBreakpointStart",this.updateSliderPosition.bind(this))}},{key:"updateSliderPosition",value:function(){if(this.latestSlider.goTo("first"),window.innerWidth>=600){var t=document.querySelector(".tns-fadeOut");t&&t.classList.remove("tns-fadeOut")}}}])&&i(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e}();e.default=u},8182:function(t,e,n){var r=n(44740);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,l(r.key),r)}}function l(t){var e=function(t){if("object"!=o(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==o(e)?e:e+""}var u=function(){return t=function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.TimelineCarousel=null,this.initialize()},(e=[{key:"initialize",value:function(){var t=this;document.querySelectorAll(".timeline-carousel-slider").forEach(function(e){t.carousel=(0,r.U)({container:e,center:!0,nav:!1,loop:!0,controls:!0,items:1,controlsContainer:".timeline-customize-controls"})})}}])&&i(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e}();e.default=u}}]);
2//# sourceMappingURL=latest-slider.js.map

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.