PageSourceSearch

https://bids.gryphonusa.com/pages-affiliates-list.4444840711dfff67a963.js

js gryphonusa.com collected 2026-10-04 13:41:27 UTC 6,747 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[4087],{79102(e,t,n){n.r(t);var r,i=n(68909),a=n(58980),o=n(21665),l=n(54148),f=n(16029),u=n(39242),c=n(91950),s=n(8992),p=n(45650),d=n(65756),m=n(18590),y=n(36058),b=n(75058),v=n(44193),g=n(17004),_=n(60098),h=["popover"];function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,P(r.key),r)}}function S(e,t,n){return t=A(t),function(e,t){if(t&&("object"==D(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,E()?Reflect.construct(t,n||[],A(e).constructor):t.apply(e,n))}function E(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(E=function(){return!!e})()}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}
1function j(e,t){return j=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},j(e,t)}function w(e,t,n){return(t=P(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function P(e){var t=function(e,t){if("object"!=D(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=D(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==D(t)?t:t+""}function D(e){return D="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},D(e)}var I=function(e,t,n,r){var i,a=arguments.length,o=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":D(Reflect))&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},L=(0,b.Ng)(function(e){return{affiliateDomain:e.affiliateDomain}},null,null,{forwardRef:!0}),k=function(e){function t(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),w(n=S(this,t,[e]),"defaultState",n.initDefaultState({page:1,pageSize:50,search:"",popover:null,filter:{},sort:[{c:"name",d:"asc"}]})),w(n,"columns",{affiliate_id:{label:"Affiliate ID",display:!1,key:!0},name:{label:"Name"},last_name:{label:"Contact",render:function(e){return"".concat(e.first_name," ").concat(e.last_name)}},actions:{label:"",canSort:!1,render:function(e){return i.createElement(d.A,{color:"secondary",tag:a.Link,to:(0,p.affiliateLink)(e)},"View")},shrinkToFit:!0}});var r=e.location;return n.state=Object.assign({},n.defaultState,""!=r.search?(0,y.JO)(r.search,["page","pageSize"]):{}),n.updateState=n.updateState.bind(n),n.init(),n}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&&j(e,t)}(t,e),n=t,c=[{key:"initDefaultState",value:function(e){return e}},{key:"init",value:function(){}},{key:"updateState",value:function(e){var t=this.props,n=t.history,r=t.match;this.setState(e);var i=Object.assign({},this.state,e),a=(i.popover,function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(i,h)),o=(0,y.Go)(a);this.props.location.search!=o&&n.push(r.url+o)}},{key:"breadcrumb",value:function(){return i.createElement(g.Q,{items:[{name:"Home",url:"/"},{name:"Affiliates"}]})}},{key:"affiliatePageTitle",value:function(){return i.createElement("h1",null,"Affiliate Search")}},{key:"render",value:function(){var e=this,t=this.props.affiliateDomain,n=this.state,r=n.page,a=n.pageSize,f=n.search,c=n.filter,p=n.sort,d=n.popover;return i.createElement(_.LB,{setting_key:"affiliates.super_admin_settings.allow_front_affiliate_list_for_affiliate_domains",render:function(n){var y=n.setting,b=n.loading;return i.createElement(i.Fragment,null,null!=t&&t.affiliate_id&&!y?b?null:i.createElement(v.A,null):i.createElement(i.Fragment,null,i.createElement(o.mg,null,i.createElement("title",null,"Affiliates")),e.breadcrumb(),i.createElement(l.mc,null,i.createElement("div",{className:"affiliateList"},e.affiliatePageTitle(),i.createElement(u.X,{query:e.GET_AFFILIATES(),variables:{filter:{is_public:!0,affiliate_status:s.AffiliateStatus.APPROVED.valueOf()},search:{text:f},pagination:{page:r,pageSize:a},order:p&&p.length>0?{column:p[0].c,direction:p[0].d}:null},fetchPolicy:"cache-and-network"},function(t){var n,o,l,u,s=t.data,y=t.loading,b=t.error;return i.createElement(m.A,{tableName:"affiliatesList",loading:y,error:b,data:y||b?void 0:null!==(n=null==s||null===(o=s.affiliates)||void 0===o?void 0:o.affiliates)&&void 0!==n?n:[],columns:e.columns,noResultsMessage:"No affiliates found",pagination:{page:r,pageSize:a,total:y||b?void 0:null!==(l=null==s||null===(u=s.affiliates)||void 0===u?void 0:u.total)&&void 0!==l?l:0},search:f,filter:c,sort:p,updateState:e.updateState,popover:d,canHideColumns:!1})})))))}})}},{key:"ADDITIONAL_AFFILIATE_FIELDS",value:function(){return""}},{key:"GET_AFFILIATES",value:function(){return(0,f.Ay)(r||(e=["\n      query get_affiliates_list(\n        $filter: AffiliateFilterInput\n        $search: AffiliateSearchInput\n        $pagination: Pagination\n        $order: AffiliateOrderInput\n      ) {\n        affiliates(filter: $filter, search: $search, pagination: $pagination, order: $order) {\n          total\n          affiliates {\n            affiliate_id\n            name\n            first_name\n            last_name\n            ","\n          }\n        }\n      }\n    "],t||(t=e.slice(0)),r=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))),this.ADDITIONAL_AFFILIATE_FIELDS());var e,t}}],c&&O(n.prototype,c),b&&O(n,b),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,c,b}(i.Component);const T=k=I([L,(0,c.override)("plugins/pages/affiliates/list/index")],k);n.d(t,["default",0,T])}}]);

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.