PageSourceSearch

https://bids.sheridanauctionservice.com/pages-categories-landing.d1e39e77e6c0cceab0d5.js

js sheridanauctionservice.com collected 2026-09-25 21:05:21 UTC 5,252 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[8296],{85217(e,t,r){r.r(t);var n,a=r(68909),o=r(9979),i=r(91950),c=r(16029),l=r(39242),u=r(60098),s=r(27448),m=r(58980),f=r(21665),g=r(44193),p=r(75389),d=r(17004);function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,b(n.key),n)}}function b(e){var t=function(e,t){if("object"!=h(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=h(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==h(t)?t:t+""}function _(e,t,r){return t=E(t),function(e,t){if(t&&("object"==h(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,v()?Reflect.construct(t,r||[],E(e).constructor):t.apply(e,r))}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(v=function(){return!!e})()}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}function O(e,t){return O=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},O(e,t)}function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}var w=function(e,t,r,n){var a,o=arguments.length,i=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"===("undefined"==typeof Reflect?"undefined":h(Reflect))&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(i=(o<3?a(i):o>3?a(t,r,i):a(t,r))||i);return o>3&&i&&Object.defineProperty(t,r,i),i},j=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=_(this,t,[e])).init(e),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&O(e,t)}(t,e),r=t,i=[{key:"init",value:function(e){}},{key:"breadcrumb",value:function(){return this.props.hideBreadcrumb?null:a.createElement(d.Q,{items:[{name:"Home",url:"/"},{name:"Categories"}]})}},{key:"render",value:function(){var e=this;return a.createElement(a.Fragment,null,a.createElement(f.mg,null,"Categories"),this.breadcrumb(),a.createElement(o.m,{id:"categoriesLandingPage"},a.createElement(u.LB,{setting_key:"website.super_admin_settings.category_landing_page.enabled",render:function(t){var r=t.setting;return t.loading?null:r?a.createElement(l.X,{query:e.CATEGORIES(),variables:{filter:{hide_on_landing:!1,is_deactivated:!1,parent_id:"0"},pagination:{page:1,pageSize:999}},fetchPolicy:"cache-and-network"},function(e){var t,r=e.loading,n=e.error,o=e.data;return!r||null!=o&&o.categories?n?a.createElement(s.v,{error:n}):a.createElement(a.Fragment,null,a.createElement("h1",null,"Categories"),null!=o&&null!==(t=o.categories)&&void 0!==t&&t.total?a.createElement("div",{className:"categories"},o.categories.categories.map(function(e){var t,r=p.default.PLACEHOLDER_IMAGE_URL||"https://auctioneersoftware.s3.amazonaws.com/as2_common_assets/no_image.png";return e.primary_image&&(e.primary_image.medium?r=e.primary_image.medium:null!==(t=e.primary_image.asset_url_image_variants)&&void 0!==t&&t.medium&&(r=e.primary_image.asset_url_image_variants.medium)),a.createElement(m.Link,{to:"/categories/".concat(e.category_id),className:"category",key:e.category_id},a.createElement("div",{className:"titleContainer"},a.createElement("div",{className:"name"},e.name)),a.createElement("div",{className:"thumbnail"},a.createElement("img",{src:r,alt:e.name})))}),a.createElement("div",{className:"fillerCategory"}),a.createElement("div",{className:"fillerCategory"}),a.createElement("div",{className:"fillerCategory"})):a.createElement("div",{className:"noCategoriesFound"},"No Categories Found")):a.createElement("div",{className:"loader"},"Loading...")}):a.createElement(g.A,null)}})))}},{key:"CATEGORIES",value:function(){return(0,c.Ay)(n||(e=["\n      query get_categories_catlanding($filter: CategorySearchInput, $pagination: CategoryPagination) {\n        categories(filter: $filter, pagination: $pagination) {\n          total\n          categories {\n            category_id\n            name\n            primary_image\n          }\n        }\n      }\n    "],t||(t=e.slice(0)),n=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))));var e,t}}
1],i&&y(r.prototype,i),b&&y(r,b),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,i,b}(a.Component);const C=j=w([(0,i.override)("plugins/pages/categories/landing")],j);r.d(t,["default",0,C])}}]);

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.