PageSourceSearch

https://www.trademap.org/chunk-CCMTYNSR.js

js trademap.org collected 2026-10-02 02:23:01 UTC 3,210 bytes, 1 lines download raw bytes

1import{g as R}from"./chunk-LP7YJ2W7.js";import{a as V}from"./chunk-FI3OAXRX.js";import{Eb as a,Fb as S,Gb as w,Ia as f,Ja as v,Ka as _,Lb as B,Ma as C,Na as x,Oa as P,Pa as h,Pb as r,Qa as y,Ra as O,S as c,Tb as N,V as d,W as m,Ya as M,_a as I,ab as l,ad as F,ca as u,da as g,la as s,mb as p,nb as k,ob as T,qb as D,qc as q,va as b}from"./chunk-AWCVWGGQ.js";function j(t,i){if(t&1&&O(0,"i"),t&2){let e=l().$implicit;k(e.icon)}}function z(t,i){if(t&1){let e=M();h(0,"div",1),I("click",function(){let o=d(e).$implicit,$=l();return m($.selectOption(o))}),f(1,j,1,2,"i",2),T(2),a(3,"translate"),a(4,"appCompute"),y()}if(t&2){let e,n=i.$implicit,o=l();p("density-small",o.density()==="small")("disabled",o.disabledInput())("selected",n.value===((e=o.selectedOption())==null?null:e.value)),P("appRequirePermission",n.requiredPermission??null)("permBadge",!0),s(),v(n.icon&&n.icon.startsWith("fa-")?1:-1),s(),D(" ",n.label??w(4,12,S(3,10,n.labelKey),n.labelWildcards)," ")}}var W=class t{authService=c(F);value=N(null);options=r.required();density=r("large");selectedOption=u(null);disabledInput=r(!1);singleOption=B(()=>this.options().length===1);isPremiumUser=this.authService.isPremiumUser;constructor(){g(()=>{this.selectedOption.set(this.options().find(i=>i.value===this.value())??null)})}selectOption(i){this.selectedOption.set(i),this.value.set(i.value)}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=b({type:t,selectors:[["app-inline-selector"]],hostVars:2,hostBindings:function(e,n){e&2&&p("single",n.singleOption())},inputs:{value:[1,"value"],options:[1,"options"],density:[1,"density"],disabledInput:[1,"disabledInput"]},outputs:{value:"valueChange"},decls:2,vars:0,consts:[[1,"option",3,"density-small","disabled","selected","appRequirePermission","permBadge"],[1,"option",3,"click","appRequirePermission","permBadge"],[3,"class"]],template:function(e,n){e&1&&C(0,z,5,15,"div",0,_),e&2&&x(n.options())},dependencies:[R,q,V],styles:["[_nghost-%COMP%]{display:flex;flex-wrap:nowrap;border:1px solid #d7e2ed;border-radius:5px;background-color:#fff}[_nghost-%COMP%]:hover{border-color:var(--accent)}.single[_nghost-%COMP%]{pointer-events:none}.single[_nghost-%COMP%]   .option[_ngcontent-%COMP%]{border:0;color:var(--primary-darker)}.option[_ngcontent-%COMP%]{margin-block:-1px;padding-inline:17px;padding-block:12px;border:2px solid rgba(255,255,255,0);border-radius:5px;font-size:14px;line-height:28px;font-weight:700;color:var(--accent);cursor:pointer;white-space:nowrap;align-items:center;display:inline-flex;gap:5px}.option[_ngcontent-%COMP%]:hover{color:var(--primary-darker)}.option.density-small[_ngcontent-%COMP%]{font-size:16px;justify-content:space-between;line-height:28px;margin-block:0px;padding-block:0px;padding-inline:9px}.option.density-small[_ngcontent-%COMP%]   .pro-badge[_ngcontent-%COMP%]{margin-left:5px}.option[_ngcontent-%COMP%]:first-child{margin-inline-start:-1px}.option[_ngcontent-%COMP%]:last-child{margin-inline-end:-1px}.option.selected[_ngcontent-%COMP%]{border-color:var(--accent)}.option.selected.disabled[_ngcontent-%COMP%]{border-color:#9e9e9e}.option.disabled[_ngcontent-%COMP%]{pointer-events:none;color:#9e9e9e}"],changeDetection:0})};export{W as a};

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.