PageSourceSearch

https://www.sino.com/static/js/28.2c47b98c.chunk.js

js sino.com collected 2026-09-24 09:04:01 UTC 25,250 bytes, 1 lines download raw bytes

1(this["webpackJsonpisobar-sino-website-v2"]=this["webpackJsonpisobar-sino-website-v2"]||[]).push([[28],{1083:function(t,e,n){"use strict";var i=n(1084),r=n(580),s=n(581),o=n(1088),a=n(1089),u=n(1090);function l(t,e){return e.encode?e.strict?o(t):encodeURIComponent(t):t}function c(t,e){return e.decode?a(t):t}function h(t){var e=t.indexOf("#");return-1!==e&&(t=t.slice(0,e)),t}function f(t){var e=(t=h(t)).indexOf("?");return-1===e?"":t.slice(e+1)}function d(t,e){return e.parseNumbers&&!Number.isNaN(Number(t))&&"string"===typeof t&&""!==t.trim()?t=Number(t):!e.parseBooleans||null===t||"true"!==t.toLowerCase()&&"false"!==t.toLowerCase()||(t="true"===t.toLowerCase()),t}function p(t,e){var n=function(t){var e;switch(t.arrayFormat){case"index":return function(t,n,i){e=/\[(\d*)\]$/.exec(t),t=t.replace(/\[\d*\]$/,""),e?(void 0===i[t]&&(i[t]={}),i[t][e[1]]=n):i[t]=n};case"bracket":return function(t,n,i){e=/(\[\])$/.exec(t),t=t.replace(/\[\]$/,""),e?void 0!==i[t]?i[t]=[].concat(i[t],n):i[t]=[n]:i[t]=n};case"comma":return function(t,e,n){var i="string"===typeof e&&e.split("").indexOf(",")>-1?e.split(","):e;n[t]=i};default:return function(t,e,n){void 0!==n[t]?n[t]=[].concat(n[t],e):n[t]=e}}}(e=Object.assign({decode:!0,sort:!0,arrayFormat:"none",parseNumbers:!1,parseBooleans:!1},e)),s=Object.create(null);if("string"!==typeof t)return s;if(!(t=t.trim().replace(/^[?#&]/,"")))return s;var o,a=r(t.split("&"));try{for(a.s();!(o=a.n()).done;){var l=o.value,h=u(l.replace(/\+/g," "),"="),f=i(h,2),p=f[0],m=f[1];m=void 0===m?null:c(m,e),n(c(p,e),m,s)}}catch(S){a.e(S)}finally{a.f()}for(var v=0,y=Object.keys(s);v<y.length;v++){var g=y[v],_=s[g];if("object"===typeof _&&null!==_)for(var b=0,E=Object.keys(_);b<E.length;b++){var I=E[b];_[I]=d(_[I],e)}else s[g]=d(_,e)}return!1===e.sort?s:(!0===e.sort?Object.keys(s).sort():Object.keys(s).sort(e.sort)).reduce((function(t,e){var n=s[e];return Boolean(n)&&"object"===typeof n&&!Array.isArray(n)?t[e]=function t(e){return Array.isArray(e)?e.sort():"object"===typeof e?t(Object.keys(e)).sort((function(t,e){return Number(t)-Number(e)})).map((function(t){return e[t]})):e}(n):t[e]=n,t}),Object.create(null))}e.extract=f,e.parse=p,e.stringify=function(t,e){if(!t)return"";var n=function(t){switch(t.arrayFormat){case"index":return function(e){return function(n,i){var r=n.length;return void 0===i?n:[].concat(s(n),null===i?[[l(e,t),"[",r,"]"].join("")]:[[l(e,t),"[",l(r,t),"]=",l(i,t)].join("")])}};case"bracket":return function(e){return function(n,i){return void 0===i?n:[].concat(s(n),null===i?[[l(e,t),"[]"].join("")]:[[l(e,t),"[]=",l(i,t)].join("")])}};case"comma":return function(e){return function(n,i,r){return null===i||void 0===i||0===i.length?n:0===r?[[l(e,t),"=",l(i,t)].join("")]:[[n,l(i,t)].join(",")]}};default:return function(e){return function(n,i){return void 0===i?n:[].concat(s(n),null===i?[l(e,t)]:[[l(e,t),"=",l(i,t)].join("")])}}}}(e=Object.assign({encode:!0,strict:!0,arrayFormat:"none"},e)),i=Object.keys(t);return!1!==e.sort&&i.sort(e.sort),i.map((function(i){var r=t[i];return void 0===r?"":null===r?l(i,e):Array.isArray(r)?r.reduce(n(i),[]).join("&"):l(i,e)+"="+l(r,e)})).filter((function(t){return t.length>0})).join("&")},e.parseUrl=function(t,e){return{url:h(t).split("?")[0]||"",query:p(f(t),e)}}},1084:function(t,e,n){var i=n(1085),r=n(1086),s=n(413),o=n(1087);t.exports=function(t,e){return i(t)||r(t,e)||s(t,e)||o()}},1085:function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},1086:function(t,e){t.exports=function(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],i=!0,r=!1,s=void 0;try{for(var o,a=t[Symbol.iterator]();!(i=(o=a.next()).done)&&(n.push(o.value),!e||n.length!==e);i=!0);}catch(u){r=!0,s=u}finally{try{i||null==a.return||a.return()}finally{if(r)throw s}}return n}}},1087:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},1088:function(t,e,n){"use strict";t.exports=function(t){return encodeURIComponent(t).replace(/[!'()*]/g,(function(t){return"%".concat(t.charCodeAt(0).toString(16).toUpperCase())}))}},1089:function(t,e,n){"use strict";var i=new RegExp("%[a-f0-9]{2}","gi"),r=new RegExp("(%[a-f0-9]{2})+","gi");function s(t,e){try{return decodeURIComponent(t.join(""))}catch(r){}if(1===t.length)return t;e=e||1;var n=t.slice(0,e),i=t.slice(e);return Array.prototype.concat.call([],s(n),s(i))}function o(t){try{return decodeURIComponent(t)}catch(r){for(var e=t.match(i),n=1;n<e.length;n++)e=(t=s(e,n).join("")).match(i);return t}}t.exports=function(t){if("string"!==typeof t)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof t+"`");try{return t=t.replace(/\+/g," "),decodeURIComponent(t)}catch(e){return function(t){for(var n={"%FE%FF":"\ufffd\ufffd","%FF%FE":"\ufffd\ufffd"},i=r.exec(t);i;){try{n[i[0]]=decodeURIComponent(i[0])}catch(e){var s=o(i[0]);s!==i[0]&&(n[i[0]]=s)}i=r.exec(t)}n["%C2"]="\ufffd";for(var a=Object.keys(n),u=0;u<a.length;u++){var l=a[u];t=t.replace(new RegExp(l,"g"),n[l])}return t}(t)}}},1090:function(t,e,n){"use strict";
1t.exports=function(t,e){if("string"!==typeof t||"string"!==typeof e)throw new TypeError("Expected the arguments to be of type `string`");if(""===e)return[t];var n=t.indexOf(e);return-1===n?[t]:[t.slice(0,n),t.slice(n+e.length)]}},1345:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function s(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}function o(t){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t,e){return!e||"object"!==typeof e&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(){}l.prototype={on:function(t,e,n){var i=this.e||(this.e={});return(i[t]||(i[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var i=this;function r(){i.off(t,r),e.apply(n,arguments)}return r._=e,this.on(t,r,n)},emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),i=0,r=n.length;i<r;i++)n[i].fn.apply(n[i].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),i=n[t],r=[];if(i&&e)for(var s=0,o=i.length;s<o;s++)i[s].fn!==e&&i[s].fn._!==e&&r.push(i[s]);return r.length?n[t]=r:delete n[t],this}};var c=l,h=l;c.TinyEmitter=h;var f="undefined"!==typeof Element?Element.prototype:{},d=f.matches||f.matchesSelector||f.webkitMatchesSelector||f.mozMatchesSelector||f.msMatchesSelector||f.oMatchesSelector,p=function(t,e){if(!t||1!==t.nodeType)return!1;if(d)return d.call(t,e);for(var n=t.parentNode.querySelectorAll(e),i=0;i<n.length;i++)if(n[i]==t)return!0;return!1};var m=function(t,e){var n,i,r,s,o=0;return function(){n=this,i=arguments;var t=new Date-o;return s||(t>=e?a():s=setTimeout(a,e-t)),r};function a(){s=0,o=+new Date,r=t.apply(n,i),n=null,i=null}};function v(){}function y(t){return parseFloat(t)||0}var g=function(){function t(e,n){i(this,t),this.x=y(e),this.y=y(n)}return s(t,null,[{key:"equals",value:function(t,e){return t.x===e.x&&t.y===e.y}}]),t}(),_=function(){function t(e,n,r,s,o){i(this,t),this.id=o,this.left=e,this.top=n,this.width=r,this.height=s}return s(t,null,[{key:"intersects",value:function(t,e){return t.left<e.left+e.width&&e.left<t.left+t.width&&t.top<e.top+e.height&&e.top<t.top+t.height}}]),t}(),b={BASE:"shuffle",SHUFFLE_ITEM:"shuffle-item",VISIBLE:"shuffle-item--visible",HIDDEN:"shuffle-item--hidden"},E=0,I=function(){function t(e){i(this,t),E+=1,this.id=E,this.element=e,this.isVisible=!0,this.isHidden=!1}return s(t,[{key:"show",value:function(){this.isVisible=!0,this.element.classList.remove(b.HIDDEN),this.element.classList.add(b.VISIBLE),this.element.removeAttribute("aria-hidden")}},{key:"hide",value:function(){this.isVisible=!1,this.element.classList.remove(b.VISIBLE),this.element.classList.add(b.HIDDEN),this.element.setAttribute("aria-hidden",!0)}},{key:"init",value:function(){this.addClasses([b.SHUFFLE_ITEM,b.VISIBLE]),this.applyCss(t.Css.INITIAL),this.scale=t.Scale.VISIBLE,this.point=new g}},{key:"addClasses",value:function(t){var e=this;t.forEach((function(t){e.element.classList.add(t)}))}},{key:"removeClasses",value:function(t){var e=this;t.forEach((function(t){e.element.classList.remove(t)}))}},{key:"applyCss",value:function(t){var e=this;Object.keys(t).forEach((function(n){e.element.style[n]=t[n]}))}},{key:"dispose",value:function(){this.removeClasses([b.HIDDEN,b.VISIBLE,b.SHUFFLE_ITEM]),this.element.removeAttribute("style"),this.element=null}}]),t}();I.Css={INITIAL:{position:"absolute",top:0,left:0,visibility:"visible",willChange:"transform"},VISIBLE:{before:{opacity:1,visibility:"visible"},after:{transitionDelay:""}},HIDDEN:{before:{opacity:0},after:{visibility:"hidden",transitionDelay:""}}},I.Scale={VISIBLE:1,HIDDEN:.001};var S=null,k=function(){if(null!==S)return S;var t=document.body||document.documentElement,e=document.createElement("div");return e.style.cssText="width:10px;padding:2px;box-sizing:border-box;",t.appendChild(e),S="10px"===window.getComputedStyle(e,null).width,t.removeChild(e),S};function w(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window.getComputedStyle(t,null),i=y(n[e]);return k()||"width"!==e?k()||"height"!==e||(i+=y(n.paddingTop)+y(n.paddingBottom)+y(n.borderTopWidth)+y(n.borderBottomWidth)):i+=y(n.paddingLeft)+y(n.paddingRight)+y(n.borderLeftWidth)+y(n.borderRightWidth),i}var T={reverse:!1,by:null,compare:null,randomize:!1,key:"element"};function C(t,e){var n=Object.assign({},T,e),i=Array.from(t),r=!1;return t.length?n.randomize?function(t){for(var e=t.length;e;){e-=1;var n=Math.floor(Math.random()*(e+1)),i=t[n];t[n]=t[e],t[e]=i}return t}(t):("function"===typeof n.by?t.sort((function(t,e){if(r)return 0;var i=n.by(t[n.key]),s=n.by(e[n.key]);return void 0===i&&void 0===s?(r=!0,0):i<s||"sortFirst"===i||"sortLast"===s?-1:i>s||"sortLast"===i||"sortFirst"===s?1:0})):"function"===typeof n.compare&&t.sort(n.compare),r?i:(n.reverse&&t.reverse(),t)):[]}var L={},x=0;function A(t){return!!L[t]&&(L[t].element.removeEventListener("transitionend",L[t].listener),L[t]=null,!0)}function F(t,e){var n="transitionend"+(x+=1),i=function(t){t.currentTarget===t.target&&(A(n),e(t))};return t.addEventListener("transitionend",i),L[n]={element:t,listener:i},n}function D(t){return Math.max.apply(Math,t)}function z(t,e,n,i){var r=t/e;return Math.abs(Math.round(r)-r)<i&&(r=Math.round(r)),Math.min(Math.ceil(r),n)}function M(t,e,n){if(1===e)return t;for(var i=[],r=0;r<=n-e;r++)i.push(D(t.slice(r,r+e)));return i}function O(t,e){for(var n,i=(n=t,Math.min.apply(Math,n)),r=0,s=t.length;r<s;r++)if(t[r]>=i-e&&t[r]<=i+e)return r;return 0}function j(t,e){var n={};t.forEach((function(t){n[t.top]?n[t.top].push(t):n[t.top]=[t]}));var i=[],r=[],s=[];
1return Object.keys(n).forEach((function(t){var o=n[t];r.push(o);var a,u=o[o.length-1],l=u.left+u.width,c=Math.round((e-l)/2),h=o,f=!1;if(c>0){var d=[];(f=o.every((function(t){var e=new _(t.left+c,t.top,t.width,t.height,t.id),n=!i.some((function(t){return _.intersects(e,t)}));return d.push(e),n})))&&(h=d)}if(!f&&o.some((function(t){return i.some((function(e){var n=_.intersects(t,e);return n&&(a=e),n}))}))){var p=s.findIndex((function(t){return t.includes(a)}));s.splice(p,1,r[p])}i=i.concat(h),s.push(h)})),[].concat.apply([],s).sort((function(t,e){return t.id-e.id})).map((function(t){return new g(t.left,t.top)}))}function N(t){return Array.from(new Set(t))}var R=0,B=function(t){function e(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,e),(n=u(this,o(e).call(this))).options=Object.assign({},e.options,r),n.options.delimeter&&(n.options.delimiter=n.options.delimeter),n.lastSort={},n.group=e.ALL_ITEMS,n.lastFilter=e.ALL_ITEMS,n.isEnabled=!0,n.isDestroyed=!1,n.isInitialized=!1,n._transitions=[],n.isTransitioning=!1,n._queue=[];var s=n._getElementOption(t);if(!s)throw new TypeError("Shuffle needs to be initialized with an element.");return n.element=s,n.id="shuffle_"+R,R+=1,n._init(),n.isInitialized=!0,n}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(e,t),s(e,[{key:"_init",value:function(){if(this.items=this._getItems(),this.options.sizer=this._getElementOption(this.options.sizer),this.element.classList.add(e.Classes.BASE),this._initItems(this.items),this._onResize=this._getResizeFunction(),window.addEventListener("resize",this._onResize),"complete"!==document.readyState){var t=this.layout.bind(this);window.addEventListener("load",(function e(){window.removeEventListener("load",e),t()}))}var n=window.getComputedStyle(this.element,null),i=e.getSize(this.element).width;this._validateStyles(n),this._setColumns(i),this.filter(this.options.group,this.options.initialSort),this.element.offsetWidth,this.setItemTransitions(this.items),this.element.style.transition="height ".concat(this.options.speed,"ms ").concat(this.options.easing)}},{key:"_getResizeFunction",value:function(){var t=this._handleResize.bind(this);return this.options.throttle?this.options.throttle(t,this.options.throttleTime):t}},{key:"_getElementOption",value:function(t){return"string"===typeof t?this.element.querySelector(t):t&&t.nodeType&&1===t.nodeType?t:t&&t.jquery?t[0]:null}},{key:"_validateStyles",value:function(t){"static"===t.position&&(this.element.style.position="relative"),"hidden"!==t.overflow&&(this.element.style.overflow="hidden")}},{key:"_filter",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.lastFilter,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.items,n=this._getFilteredSets(t,e);return this._toggleFilterClasses(n),this.lastFilter=t,"string"===typeof t&&(this.group=t),n}},{key:"_getFilteredSets",value:function(t,n){var i=this,r=[],s=[];return t===e.ALL_ITEMS?r=n:n.forEach((function(e){i._doesPassFilter(t,e.element)?r.push(e):s.push(e)})),{visible:r,hidden:s}}},{key:"_doesPassFilter",value:function(t,n){if("function"===typeof t)return t.call(n,n,this);var i=n.getAttribute("data-"+e.FILTER_ATTRIBUTE_KEY),r=this.options.delimiter?i.split(this.options.delimiter):JSON.parse(i);function s(t){return r.includes(t)}return Array.isArray(t)?this.options.filterMode===e.FilterMode.ANY?t.some(s):t.every(s):r.includes(t)}},{key:"_toggleFilterClasses",value:function(t){var e=t.visible,n=t.hidden;e.forEach((function(t){t.show()})),n.forEach((function(t){t.hide()}))}},{key:"_initItems",value:function(t){t.forEach((function(t){t.init()}))}},{key:"_disposeItems",value:function(t){t.forEach((function(t){t.dispose()}))}},{key:"_updateItemCount",value:function(){this.visibleItems=this._getFilteredItems().length}},{key:"setItemTransitions",value:function(t){var e=this.options,n=e.speed,i=e.easing,r=this.options.useTransforms?["transform"]:["top","left"],s=Object.keys(I.Css.HIDDEN.before).map((function(t){return t.replace(/([A-Z])/g,(function(t,e){return"-".concat(e.toLowerCase())}))})),o=r.concat(s).join();t.forEach((function(t){t.element.style.transitionDuration=n+"ms",t.element.style.transitionTimingFunction=i,t.element.style.transitionProperty=o}))}},{key:"_getItems",value:function(){var t=this;return Array.from(this.element.children).filter((function(e){return p(e,t.options.itemSelector)})).map((function(t){return new I(t)}))}},{key:"_mergeNewItems",value:function(t){var e=Array.from(this.element.children);return C(this.items.concat(t),{by:function(t){return e.indexOf(t)}})}},{key:"_getFilteredItems",value:function(){return this.items.filter((function(t){return t.isVisible}))}},{key:"_getConcealedItems",value:function(){return this.items.filter((function(t){return!t.isVisible}))}},{key:"_getColumnSize",value:function(t,n){var i;return 0===(i="function"===typeof this.options.columnWidth?this.options.columnWidth(t):this.options.sizer?e.getSize(this.options.sizer).width:this.options.columnWidth?this.options.columnWidth:this.items.length>0?e.getSize(this.items[0].element,!0).width:t)&&(i=t),i+n}},{key:"_getGutterSize",value:function(t){return"function"===typeof this.options.gutterWidth?this.options.gutterWidth(t):this.options.sizer?w(this.options.sizer,"marginLeft"):this.options.gutterWidth}},{key:"_setColumns",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.getSize(this.element).width,n=this._getGutterSize(t),i=this._getColumnSize(t,n),r=(t+n)/i;Math.abs(Math.round(r)-r)<this.options.columnThreshold&&(r=Math.round(r)),this.cols=Math.max(Math.floor(r||0),1),this.containerWidth=t,this.colWidth=i}},{key:"_setContainerSize",value:function(){this.element.style.height=this._getContainerSize()+"px"}},{key:"_getContainerSize",value:function(){return D(this.positions)}},{key:"_getStaggerAmount",value:function(t){return Math.min(t*this.options.staggerAmount,this.options.staggerAmountMax)}},{key:"_dispatch",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};
1this.isDestroyed||(e.shuffle=this,this.emit(t,e))}},{key:"_resetCols",value:function(){var t=this.cols;for(this.positions=[];t;)t-=1,this.positions.push(0)}},{key:"_layout",value:function(t){var e=this,n=this._getNextPositions(t),i=0;t.forEach((function(t,r){function s(){t.applyCss(I.Css.VISIBLE.after)}if(g.equals(t.point,n[r])&&!t.isHidden)return t.applyCss(I.Css.VISIBLE.before),void s();t.point=n[r],t.scale=I.Scale.VISIBLE,t.isHidden=!1;var o=e.getStylesForTransition(t,I.Css.VISIBLE.before);o.transitionDelay=e._getStaggerAmount(i)+"ms",e._queue.push({item:t,styles:o,callback:s}),i+=1}))}},{key:"_getNextPositions",value:function(t){var n=this;if(this.options.isCentered){var i=t.map((function(t,i){var r=e.getSize(t.element,!0),s=n._getItemPosition(r);return new _(s.x,s.y,r.width,r.height,i)}));return this.getTransformedPositions(i,this.containerWidth)}return t.map((function(t){return n._getItemPosition(e.getSize(t.element,!0))}))}},{key:"_getItemPosition",value:function(t){return function(t){for(var e=t.itemSize,n=t.positions,i=t.gridSize,r=t.total,s=t.threshold,o=t.buffer,a=z(e.width,i,r,s),u=M(n,a,r),l=O(u,o),c=new g(i*l,u[l]),h=u[l]+e.height,f=0;f<a;f++)n[l+f]=h;return c}({itemSize:t,positions:this.positions,gridSize:this.colWidth,total:this.cols,threshold:this.options.columnThreshold,buffer:this.options.buffer})}},{key:"getTransformedPositions",value:function(t,e){return j(t,e)}},{key:"_shrink",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._getConcealedItems(),n=0;e.forEach((function(e){function i(){e.applyCss(I.Css.HIDDEN.after)}if(e.isHidden)return e.applyCss(I.Css.HIDDEN.before),void i();e.scale=I.Scale.HIDDEN,e.isHidden=!0;var r=t.getStylesForTransition(e,I.Css.HIDDEN.before);r.transitionDelay=t._getStaggerAmount(n)+"ms",t._queue.push({item:e,styles:r,callback:i}),n+=1}))}},{key:"_handleResize",value:function(){this.isEnabled&&!this.isDestroyed&&this.update()}},{key:"getStylesForTransition",value:function(t,e){var n=Object.assign({},e);if(this.options.useTransforms){var i=this.options.roundTransforms?Math.round(t.point.x):t.point.x,r=this.options.roundTransforms?Math.round(t.point.y):t.point.y;n.transform="translate(".concat(i,"px, ").concat(r,"px) scale(").concat(t.scale,")")}else n.left=t.point.x+"px",n.top=t.point.y+"px";return n}},{key:"_whenTransitionDone",value:function(t,e,n){var i=F(t,(function(t){e(),n(null,t)}));this._transitions.push(i)}},{key:"_getTransitionFunction",value:function(t){var e=this;return function(n){t.item.applyCss(t.styles),e._whenTransitionDone(t.item.element,t.callback,n)}}},{key:"_processQueue",value:function(){this.isTransitioning&&this._cancelMovement();var t=this.options.speed>0,n=this._queue.length>0;n&&t&&this.isInitialized?this._startTransitions(this._queue):n?(this._styleImmediately(this._queue),this._dispatch(e.EventType.LAYOUT)):this._dispatch(e.EventType.LAYOUT),this._queue.length=0}},{key:"_startTransitions",value:function(t){var e=this;this.isTransitioning=!0,function(t,e,n){n||("function"===typeof e?(n=e,e=null):n=v);var i=t&&t.length;if(!i)return n(null,[]);var r=!1,s=new Array(i);function o(t){return function(e,o){if(!r){if(e)return n(e,s),void(r=!0);s[t]=o,--i||n(null,s)}}}t.forEach(e?function(t,n){t.call(e,o(n))}:function(t,e){t(o(e))})}(t.map((function(t){return e._getTransitionFunction(t)})),this._movementFinished.bind(this))}},{key:"_cancelMovement",value:function(){this._transitions.forEach(A),this._transitions.length=0,this.isTransitioning=!1}},{key:"_styleImmediately",value:function(t){if(t.length){var n=t.map((function(t){return t.item.element}));e._skipTransitions(n,(function(){t.forEach((function(t){t.item.applyCss(t.styles),t.callback()}))}))}}},{key:"_movementFinished",value:function(){this._transitions.length=0,this.isTransitioning=!1,this._dispatch(e.EventType.LAYOUT)}},{key:"filter",value:function(t,n){this.isEnabled&&((!t||t&&0===t.length)&&(t=e.ALL_ITEMS),this._filter(t),this._shrink(),this._updateItemCount(),this.sort(n))}},{key:"sort",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.lastSort;if(this.isEnabled){this._resetCols();var e=C(this._getFilteredItems(),t);this._layout(e),this._processQueue(),this._setContainerSize(),this.lastSort=t}}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.isEnabled&&(t||this._setColumns(),this.sort())}},{key:"layout",value:function(){this.update(!0)}},{key:"add",value:function(t){var e=this,n=N(t).map((function(t){return new I(t)}));this._initItems(n),this._resetCols();var i=C(this._mergeNewItems(n),this.lastSort),r=this._filter(this.lastFilter,i),s=function(t){return n.includes(t)},o=function(t){t.scale=I.Scale.HIDDEN,t.isHidden=!0,t.applyCss(I.Css.HIDDEN.before),t.applyCss(I.Css.HIDDEN.after)},a=this._getNextPositions(r.visible);r.visible.forEach((function(t,n){s(t)&&(t.point=a[n],o(t),t.applyCss(e.getStylesForTransition(t,{})))}
1)),r.hidden.forEach((function(t){s(t)&&o(t)})),this.element.offsetWidth,this.setItemTransitions(n),this.items=this._mergeNewItems(n),this.filter(this.lastFilter)}},{key:"disable",value:function(){this.isEnabled=!1}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isEnabled=!0,t&&this.update()}},{key:"remove",value:function(t){var n=this;if(t.length){var i=N(t),r=i.map((function(t){return n.getItemByElement(t)})).filter((function(t){return!!t}));this._toggleFilterClasses({visible:[],hidden:r}),this._shrink(r),this.sort(),this.items=this.items.filter((function(t){return!r.includes(t)})),this._updateItemCount(),this.once(e.EventType.LAYOUT,(function(){n._disposeItems(r),i.forEach((function(t){t.parentNode.removeChild(t)})),n._dispatch(e.EventType.REMOVED,{collection:i})}))}}},{key:"getItemByElement",value:function(t){return this.items.find((function(e){return e.element===t}))}},{key:"resetItems",value:function(){var t=this;this._disposeItems(this.items),this.isInitialized=!1,this.items=this._getItems(),this._initItems(this.items),this.once(e.EventType.LAYOUT,(function(){t.setItemTransitions(t.items),t.isInitialized=!0})),this.filter(this.lastFilter)}},{key:"destroy",value:function(){this._cancelMovement(),window.removeEventListener("resize",this._onResize),this.element.classList.remove("shuffle"),this.element.removeAttribute("style"),this._disposeItems(this.items),this.items.length=0,this._transitions.length=0,this.options.sizer=null,this.element=null,this.isDestroyed=!0,this.isEnabled=!1}}],[{key:"getSize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=window.getComputedStyle(t,null),i=w(t,"width",n),r=w(t,"height",n);if(e){var s=w(t,"marginLeft",n),o=w(t,"marginRight",n),a=w(t,"marginTop",n),u=w(t,"marginBottom",n);i+=s+o,r+=a+u}return{width:i,height:r}}},{key:"_skipTransitions",value:function(t,e){var n=t.map((function(t){var e=t.style,n=e.transitionDuration,i=e.transitionDelay;return e.transitionDuration="0ms",e.transitionDelay="0ms",{duration:n,delay:i}}));e(),t[0].offsetWidth,t.forEach((function(t,e){t.style.transitionDuration=n[e].duration,t.style.transitionDelay=n[e].delay}))}}]),e}(c);B.ShuffleItem=I,B.ALL_ITEMS="all",B.FILTER_ATTRIBUTE_KEY="groups",B.EventType={LAYOUT:"shuffle:layout",REMOVED:"shuffle:removed"},B.Classes=b,B.FilterMode={ANY:"any",ALL:"all"},B.options={group:B.ALL_ITEMS,speed:250,easing:"cubic-bezier(0.4, 0.0, 0.2, 1)",itemSelector:"*",sizer:null,gutterWidth:0,columnWidth:0,delimiter:null,buffer:0,columnThreshold:.01,initialSort:null,throttle:m,throttleTime:300,staggerAmount:15,staggerAmountMax:150,useTransforms:!0,filterMode:B.FilterMode.ANY,isCentered:!1,roundTransforms:!0},B.Point=g,B.Rect=_,B.__sorter=C,B.__getColumnSpan=z,B.__getAvailablePositions=M,B.__getShortColumn=O,B.__getCenteredPositions=j,e.a=B}}]);

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.