PageSourceSearch

https://shoport.com/_next/static/chunks/pages/super-admin/goods/makers-210fd8bfb59fcec4.js

js shoport.com collected 2026-10-04 07:05:32 UTC 5,646 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4568],{13553:function(a,b,c){"use strict";c(67294);var d=c(85893);b.Z=function(a){var b=a.children;return(0,d.jsx)("span",{className:"Chip",children:b})}},12625:function(a,b,c){"use strict";c(67294);var d=c(94184),e=c.n(d),f=c(11163),g=c(41664),h=c(17563),i=c(85893);b.Z=function(a){var b,c,d,j=a.paginatorData,k=a.center,l=(0,f.useRouter)();return(0,i.jsxs)("div",{className:e()("Pagination",{"Pagination--jc-c":k}),children:[(0,i.jsx)(g.default,{href:h.stringifyUrl({url:l.asPath,query:{page:null==j?void 0:j.first}}),children:(0,i.jsx)("a",{className:e()("Pagination__a",{"Pagination__a--first":!0,"Pagination__a--disabled":(null==j?void 0:j.current)==1})})}),(0,i.jsx)(g.default,{href:h.stringifyUrl({url:l.asPath,query:{page:null==j?void 0:j.previous}}),children:(0,i.jsx)("a",{className:e()("Pagination__a",{"Pagination__a--prev":!0,"Pagination__a--disabled":(null==j?void 0:j.current)==1})})}),null===(b=(null==j?void 0:null===(d=j.range)|| void 0===d?void 0:d.length)==0?[1]:null==j?void 0:j.range)|| void 0===b?void 0:null===(c=b.map)|| void 0===c?void 0:c.call(b,function(a,b){return(0,i.jsx)(g.default,{href:h.stringifyUrl({url:l.asPath,query:{page:a}}),children:(0,i.jsx)("a",{className:e()("Pagination__a",{"Pagination__a--current":(null==j?void 0:j.current)==a,"Pagination__a--disabled":(null==j?void 0:j.current)==a}),children:a})},b)}),(0,i.jsx)(g.default,{href:h.stringifyUrl({url:l.asPath,query:{page:null==j?void 0:j.next}}),children:(0,i.jsx)("a",{className:e()("Pagination__a",{"Pagination__a--next":!0,"Pagination__a--disabled":(null==j?void 0:j.current)==(null==j?void 0:j.pageCount)})})}),(0,i.jsx)(g.default,{href:h.stringifyUrl({url:l.asPath,query:{page:null==j?void 0:j.last}}),children:(0,i.jsx)("a",{className:e()("Pagination__a",{"Pagination__a--last":!0,"Pagination__a--disabled":(null==j?void 0:j.current)==(null==j?void 0:j.pageCount)})})})]})}},20255:function(a,b,c){"use strict";var d=c(16835),e=c(11163),f=c(84691),g=c(11373),h=c(41664),i=c(94184),j=c.n(i);c(67294);var k=c(85893),l=[{key:"goods",href:g.m3},{key:"maker",href:g.Xb}];b.Z=function(){var a=(0,e.useRouter)(),b=(0,f.bU)(),c=(0,d.Z)(b,1)[0];return(0,k.jsx)("div",{className:"SuperAdminChartsIndex__nav",children:l.map(function(b){var d=b.href,e=b.key;return(0,k.jsx)(h.default,{href:d,children:(0,k.jsx)("a",{className:j()("SuperAdminChartsIndex__nav__a",{"SuperAdminChartsIndex__nav__a--active":a.pathname==d}),children:c("pages.superAdmin.originalGoods.index.nav.".concat(e))})},e)})})}},17808:function(a,b,c){"use strict";c.r(b),c.d(b,{"__N_SSP":function(){return t}});var d=c(50029),e=c(16835),f=c(87794),g=c.n(f),h=c(84691);c(67294);var i=c(20255),j=c(99621),k=c.n(j),l=c(12625),m=c(11373),n=c(41664),o=c(13553),p=c(88767),q=c(65259),r=c(17563),s=c(85893),t=!0;b.default=function(){var a,b,c,f,j,t,u,v,w,x=(0,h.bU)(),y=(0,e.Z)(x,1)[0],z=(0,p.useQuery)("makers",(0,d.Z)(g().mark(function a(){var b;return g().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,q.ug.get(r.stringifyUrl({url:m.DN}));case 2:return b=a.sent,a.abrupt("return",b.data);case 4:case"end":return a.stop()}},a)})));return z.isFetching?null:(0,s.jsx)("div",{className:"Admin",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)("div",{className:"Admin__header",children:[(0,s.jsx)("h1",{className:"Admin__header__h1",children:y("pages.superAdmin.originalGoods.maker.h1")}),(0,s.jsx)("div",{className:"Admin__header__right",children:(0,s.jsx)(n.default,{href:m.V2,children:(0,s.jsx)("a",{className:"Button Button--small Button--icon-plus-small SuperAdminOriginalGoodsIndex__button__add",children:y("pages.superAdmin.originalGoods.maker.add")})})})]}),(0,s.jsxs)("div",{className:"Admin__section",children:[(0,s.jsx)(i.Z,{}),(0,s.jsxs)("div",{className:"Table",style:{gridTemplateColumns:"max-content minmax(150px, 1fr) max-content"},children:[(0,s.jsxs)("div",{className:"Table__tr",children:[["id","maker"].map(function(a,b){return(0,s.jsx)("div",{className:"Table__th",children:y("pages.superAdmin.originalGoods.maker.table.".concat(a))},b)}),(0,s.jsx)("div",{className:"Table__th",children:" "},"action")]}),null===(u=z.data)|| void 0===u?void 0:null===(v=u.data)|| void 0===v?void 0:null===(w=v.map)|| void 0===w?void 0:w.call(v,function(a,b){var c,d;return(0,s.jsxs)("div",{className:"Table__tr",children:[(0,s.jsx)("div",{className:"Table__td",children:a.id}),(0,s.jsxs)("div",{className:"Table__td Table__td__horizontal",children:[(0,s.jsx)("span",{children:null===(c=a.attributes)|| void 0===c?void 0:c.name}),(null===(d=a.attributes)|| void 0===d?void 0:d.direct_delivery)&&(0,s.jsx)(o.Z,{children:y("pages.superAdmin.originalGoods.maker.table.maker_shipment")})]}),(0,s.jsx)("div",{className:"Table__td",children:(0,s.jsx)("div",{className:"Table__td__buttons",children:(0,s.jsx)(n.default,{href:(0,m.dL)(a.id),children:(0,s.jsx)("a",{className:"Button Button--small Button--blue",children:y("pages.superAdmin.originalGoods.maker.table.action_edit")})})})})]},b)})]}),(t=new(k()).SearchPaginator({current:(null==z?void 0:null===(a=z.data)|| void 0===a?void 0:null===(b=a.meta)|| void 0===b?void 0:b.current_page)||1,totalResult:null!==(c=null==z?void 0:null===(f=z.data)|| void 0===f?void 0:null===(j=f.meta)|| void 0===j?void 0:j.total_count)&& void 0!==c?c:0,rowsPerPage:10,pageLinks:7}).getPaginationData(),(0,s.jsx)(l.Z,{paginatorData:t}))]})]})})}},89041:function(a,b,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/super-admin/goods/makers",function(){return c(17808)}])}},function(a){a.O(0,[8764,9621,9774,2888,179],function(){return a(a.s=89041)}),_N_E=a.O()}])

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.