PageSourceSearch

https://thermonoord.nl/_ui/responsive/common/custom/js/chunks/OrderList.18182400d47ef20ca66b.js

js thermonoord.nl collected 2026-10-07 19:01:56 UTC 2,425 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkpliegerstorefront=self.webpackChunkpliegerstorefront||[]).push([[9149],{97954:(t,r,e)=>{e.r(r),e.d(r,{default:()=>d});e(52675),e(89463),e(28706),e(23792),e(34782),e(26099),e(27495),e(38781),e(5746),e(62953),e(48408);var n=e(96540),o=e(22022),a=e(22244),l=e(83865);function u(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,o,a,l,u=[],i=!0,s=!1;try{if(a=(e=e.call(t)).next,0===r){if(Object(e)!==e)return;i=!1}else for(;!(i=(n=a.call(e)).done)&&(u.push(n.value),u.length!==r);i=!0);}catch(t){s=!0,o=t}finally{try{if(!i&&null!=e.return&&(l=e.return(),Object(l)!==l))return}finally{if(s)throw o}}return u}}(t,r)||function(t,r){if(t){if("string"==typeof t)return i(t,r);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?i(t,r):void 0}}(t,r)||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.")}()}function i(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=Array(r);e<r;e++)n[e]=t[e];return n}var s=function(t){return t.ASC="asc",t.DESC="desc",t}(s||{}),c=function(t){return t.SORT_BY_ORDER="code",t.SORT_BY_DATE="date",t.SORT_BY_NAME="name",t.SORT_BY_STATUS="status",t.SORT_BY_PRICE="total",t}(c||{}),f=function(t){return t.SORT="sort",t.PAGE="page",t}(f||{});const d=function(t){var r=t.orders,e=void 0===r?[]:r,i=(0,o.Bd)().t,d=new URLSearchParams(window.location.search),S=u((0,n.useState)({sortValue:c.SORT_BY_DATE,sortOrder:s.DESC}),2),h=S[0],y=S[1];(0,n.useEffect)((function(){var t=d.get(f.SORT),r=null==t?void 0:t.split("-")[0],e=null==t?void 0:t.split("-")[1];r&&y({sortValue:r,sortOrder:e||s.DESC})}),[]);return e.length?n.createElement(a.A,{orders:e,currentSort:h,handleSort:function(t){if(h.sortValue===t){var r=h.sortOrder===s.DESC?s.ASC:s.DESC;t="".concat(t,"-").concat(r)}else t="".concat(t,"-").concat(s.DESC);d.delete(f.PAGE),d.delete(f.SORT),d.set(f.SORT,t),window.location.search=d.toString()}}):n.createElement(l.A,{title:i("order.list.no.results.title"),message:i("order.list.no.results.sugestion"),ctaText:i("order.list.no.results.button"),ctaLink:"/my-account/orders"})}}}]);

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.