PageSourceSearch

https://my.phorest.com/on-demand/34b1e4551ba0c5f53b17.js

js phorest.com collected 2026-09-24 08:42:26 UTC 19,381 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkmy_phorest=self.webpackChunkmy_phorest||[]).push([[1503],{81503(e,t,l){var n=l.cw(function(e,t){u(),h();const n=(0,h().X)({id:"rL6SldUb",block:'[[[8,[32,0],null,[["@onRowClick","@queryTask","@modifyVariables","@queryParamContext","@dataFetchCounter"],[[30,0,["handleRowClick"]],[30,0,["querySuppliersTask"]],[30,0,["modifyVariables"]],[30,1],[30,2]]],[["default"],[[[[1,"\\n  "],[8,[30,3,["FiltersBar"]],null,null,[["default"],[[[[1,"\\n    "],[8,[30,4,["SearchFilter"]],null,[["@name","@queryVariable","@placeholder"],["company-name-filter","name",[28,[32,1],["suppliers.filters.company-name-placeholder"],null]]],null],[1,"\\n    "],[8,[30,4,["SearchFilter"]],null,[["@name","@queryVariable","@placeholder"],["contact-name-filter","contactName",[28,[32,1],["suppliers.filters.contact-name-placeholder"],null]]],null],[1,"\\n    "],[8,[30,4,["CheckboxFilter"]],null,[["@queryVariable","@label"],["archived",[28,[32,1],["filters.archived-only.title"],null]]],null],[1,"\\n  "]],[4]]]]],[1,"\\n  "],[8,[30,3,["UiTable"]],null,null,[["default"],[[[[1,"\\n    "],[8,[30,5,["Columns"]],null,null,[["default"],[[[[1,"\\n      "],[8,[30,6,["Column"]],null,[["@srLabel","@bulkSelect","@component","@width","@minWidth","@cellClasses","@isResizable"],[[28,[32,1],["accessibility.select-row"],null],false,[50,[32,2],0,null,null],40,40,"px-2!",false]],null],[1,"\\n      "],[8,[30,6,["Column"]],null,[["@name","@component"],[[28,[32,1],["suppliers.table-headers.company"],null],[50,[32,3],0,null,[["textField"],["name"]]]]],null],[1,"\\n      "],[8,[30,6,["Column"]],null,[["@name","@component"],[[28,[32,1],["suppliers.table-headers.contact"],null],[50,[32,3],0,null,[["textField"],["primaryContact.name"]]]]],null],[1,"\\n      "],[8,[30,6,["Column"]],null,[["@name","@component"],[[28,[32,1],["suppliers.table-headers.work-phone"],null],[50,[32,3],0,null,[["textField"],["primaryContact.landLine"]]]]],null],[1,"\\n      "],[8,[30,6,["Column"]],null,[["@name","@component"],[[28,[32,1],["suppliers.table-headers.mobile"],null],[50,[32,3],0,null,[["textField"],["primaryContact.mobile"]]]]],null],[1,"\\n      "],[8,[30,6,["Column"]],null,[["@name","@component"],[[28,[32,1],["suppliers.table-headers.email"],null],[50,[32,3],0,null,[["textField"],["primaryContact.email"]]]]],null],[1,"\\n      "],[8,[30,6,["Column"]],null,[["@name","@component"],[[28,[32,1],["suppliers.table-headers.description"],null],[50,[32,3],0,null,[["textField"],["description"]]]]],null],[1,"\\n    "]],[6]]]]],[1,"\\n  "]],[5]]]]],[1,"\\n  "],[8,[30,3,["PaginationBar"]],null,null,null],[1,"\\n  "],[8,[30,3,["EmptyState"]],null,null,[["default"],[[[[1,"\\n    "],[8,[32,4],[[24,0,"absolute top-0 bottom-0 left-0 right-0"]],[["@title","@description"],[[28,[32,1],["filters.empty.title"],null],[28,[32,1],["suppliers.filters.empty-description"],null]]],null],[1,"\\n  "]],[]]]]],[1,"\\n"]],[3]]]]],[1,"\\n\\n"],[8,[32,5],null,[["@show","@bgColor"],[true,"bg-theme"]],[["secondaryActions","default"],[[[[1,"\\n    "],[8,[32,6],null,[["@bulkArchiveMutation","@filters","@modifyVariables","@dataFetchName","@useSimpleBulkArchiving","@onBulkArchiveCacheUpdate"],[[30,0,["bulkArchiveSuppliersMutation"]],[30,1,["filters"]],[30,0,["modifyVariables"]],"suppliers",true,[30,0,["bulkArchiveCacheUpdate"]]]],null],[1,"\\n  "]],[]],[[[1,"\\n    "],[8,[32,7],[[24,3,"add-supplier"],[4,[32,8],["click",[30,0,["handleAddSupplier"]]],null]],[["@variant"],["primary"]],[["default"],[[[[1,"\\n      "],[10,1],[14,0,"flex"],[12],[1,"\\n        "],[8,[30,7,["Icon"]],null,[["@name"],["plus"]],null],[1,"\\n        "],[1,[28,[32,9],["suppliers.actions.add-supplier"],null]],[1,"\\n      "],[13],[1,"\\n    "]],[7]]]]],[1,"\\n  "]],[]]]]]],["@queryParamContext","@dataFetchCounter","PageTable","bar","T","TC","b"],["component",":secondaryActions",":default","span"]]',moduleName:"my-phorest/components/suppliers/list/index.hbs",scope:()=>[I.A,F.A,B.A,O.A,R.A,M.A,q.A,T.A,u().on,F.A],isStrictMode:!1});l.d(t,["A",0,n])}),i=l.cw(function(e,t){l.r(t),u(),o(),b(),h();const n=(0,h().X)({id:"hr5+JDjX",block:'[[[8,[32,0],null,[["@title","@backLink"],[[28,[32,1],["suppliers.page-title"],null],"accounts.account.manager"]],[["actions","content"],[[[[1,"\\n    "],[10,0],[14,0,"flex"],[12],[1,"\\n"],[41,[30,0,["showEscapeHatch"]],[[[1,"        "],[8,[32,2],[[24,0,"mr-2"],[24,3,"back-to-swing-suppliers"],[4,[32,3],["click",[28,[32,4],[[30,0,["swingBridge","navigateTo"]],"suppliers"],null]],null]],[["@variant"],["tertiary"]],[["default"],[[[[1,"\\n          "],[8,[30,1,["Icon"]],null,[["@name","@iconVariant"],["reply","outline"]],null],[1,"\\n          "],[1,[28,[32,5],["suppliers.escape-hatch-text"],null]],[1,"\\n        "]],[1]]]]],[1,"\\n"]],[]],null],[1,"    "],[13],[1,"\\n  "]],[]],[[[1,"\\n    "],[8,[32,6],null,[["@queryParamContext","@dataFetchCounter"],[[30,0],[30,0,["dataFetchManager","counters","suppliers"]]]],null],[1,"\\n  "]],[]]]]]],["b"],[":actions","div","if",":content"]]',moduleName:"my-phorest/templates/accounts/account/suppliers.hbs",scope:()=>[C.A,F.A,T.A,u().on,o().fn,F.A,b().A],isStrictMode:!1});l.d(t,["default",0,n])}),a=()=>l(47903),r=()=>l(20107),s=()=>l(69120),o=()=>l(36760),u=()=>l(76753),c=()=>l(99675),p=()=>l(65015),d=()=>l(86407),h=()=>l(87589),m=()=>l(20049),b=l.cw(function(e,t){var i,s,o,u;l.d(t,{A:()=>p}),a(),d(),c(),n(),r();let p=(i=class extends a().A{constructor(...e){super(...e),(0,x().A)(this,"apollo",s,this),(0,x().A)(this,"router",o,this),(0,x().A)(this,"session",u,this),(0,V.A)(this,"bulkArchiveSuppliersMutation",g().A)}handleAddSupplier(){this.router.transitionTo("accounts.account.supplier.create")}handleRowClick(e){e.columnMeta.index>0&&this.router.transitionTo("accounts.account.supplier",e.rowValue.id)}modifyVariables(e){return(0,k().archivedFlagToArchivePolicy)(e)}*querySuppliersTask(e={}){return yield this.apollo.query({query:A().A,variables:{...e,branchId:this.session.branchId},fetchPolicy:"network-only"},"suppliers")}bulkArchiveCacheUpdate(e){e.evict({id:"ROOT_QUERY",fieldName:"suppliers"})}},s=(0,w().A)(i.prototype,"apollo",[z.mh],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=(0,w().A)(i.prototype,"router",[d().eu],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,w().A)(i.prototype,"session",[d().eu],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,w().A)(i.prototype,"handleAddSupplier",[c().XI],Object.getOwnPropertyDescriptor(i.prototype,"handleAddSupplier"),i.prototype),(0,w().A)(i.prototype,"handleRowClick",[c().XI],Object.getOwnPropertyDescriptor(i.prototype,"handleRowClick"),i.prototype),(0,w().A)(i.prototype,"modifyVariables",[c().XI],Object.getOwnPropertyDescriptor(i.prototype,"modifyVariables"),i.prototype),(0,w().A)(i.prototype,"querySuppliersTask",[N.KB],Object.getOwnPropertyDescriptor(i.prototype,"querySuppliersTask"),i.prototype),(0,w().A)(i.prototype,"bulkArchiveCacheUpdate",[c().XI],Object.getOwnPropertyDescriptor(i.prototype,"bulkArchiveCacheUpdate"),i.prototype),i);(0,r().Et)(n().A,p)}),y=l.cw(function(e,t){var n,i,a,r,o,u;l.r(t),l.d(t,{default:()=>c}),s(),m(),d();let c=(n=class extends s().Ay{constructor(...e){super(...e),(0,x().A)(this,"dataFetchManager",i,this),(0,x().A)(this,"swingBridge",a,this),(0,V.A)(this,"queryParams",["pageCursor","order","filters"]),(0,x().A)(this,"pageCursor",r,this),(0,x().A)(this,"order",o,this),(0,x().A)(this,"filters",u,this)}get showEscapeHatch(){return this.swingBridge.shouldShowEscapeHatch("suppliers")}},i=(0,w().A)(n.prototype,"dataFetchManager",[d().eu],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,w().A)(n.prototype,"swingBridge",[d().eu],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r=(0,w().A)(n.prototype,"pageCursor",[m().r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=(0,w().A)(n.prototype,"order",[m().r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,w().A)(n.prototype,"filters",[m().r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n)}),f=()=>l(32628),g=l.cw(function(e,t){l.d(t,["A",0,{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"BulkArchiveSuppliers"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"bulkRequest"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"SimpleBulkRequestInput"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"archive"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bulkArchiveSuppliers"},arguments:[{kind:"Argument",name:{kind:"Name",value:"bulkRequest"},value:{kind:"Variable",name:{kind:"Name",value:"bulkRequest"}}},{kind:"Argument",name:{kind:"Name",value:"archive"},value:{kind:"Variable",name:{kind:"Name",value:"archive"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:183}}])}),A=()=>l(23398),v=l.cw(function(e,t){var n;l.r(t),l.d(t,{default:()=>i}),p(),f();let i=(0,f().guardWithPermission)("suppliers.view")(n=class extends p().Ay{})||n}),k=()=>l(61221),w=()=>l(1808),x=()=>l(30376),S=l(89878),C=l(59421),F=l(43087),T=l(18650),V=l(52874),z=l(12871),N=l(6845),I=l(15476),B=l(75451),O=l(80791),R=l(82470),M=l(67846),q=l(38103);let D=window.define;D("my-phorest/templates/accounts/account/suppliers",function(){return(0,S.A)(i())}),D("my-phorest/controllers/accounts/account/suppliers",function(){return(0,S.A)(y())}),D("my-phorest/routes/accounts/account/suppliers",function(){return(0,S.A)(v())})},38103(e,t,l){l.d(t,{A:()=>x});var n=l(30376),i=l(1808),a=l(47903),r=l(86407),s=l(6845),o=l(12871),u=l(18650),c=l(76753),p=l(4454),d=l(43087);const h=(0,l(87589).X)({id:"YeoDzxV+",block:'[[[8,[32,0],[[24,3,"bulk-archive"],[4,[32,1],["click",[28,[32,2],[[30,0,["handleBulkArchiveTask"]]],null]],null]],[["@variant","@disabled","@showLoading"],["tertiary",[30,0,["tableSelection","noneSelected"]],[30,0,["handleBulkArchiveTask","isRunning"]]]],[["default"],[[[[1,"\\n  "],[10,1],[14,0,"flex"],[12],[1,"\\n    "],[8,[30,1,["Icon"]],null,[["@name","@iconVariant"],["archive","outline"]],null],[1,"\\n    "],[1,[52,[30,0,["filters","archived"]],[28,[32,3],["global.unarchive"],null],[28,[32,3],["global.archive"],null]]],[1,"\\n  "],[13],[1,"\\n"]],[1]]]]]],["b"],["span","if"]]',moduleName:"my-phorest/components/bulk-archive-button/index.hbs",scope:()=>[u.A,c.on,p.A,d.A],isStrictMode:!1});var m,b,y,f,g,A,v,k,w=l(20107);let x=(k=new WeakSet,m=class extends a.A{constructor(...e){var t,l;super(...e),function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(t=this,l=k),l.add(t),(0,n.A)(this,"confirmDialog",b,this),(0,n.A)(this,"dataFetchManager",y,this),(0,n.A)(this,"intl",f,this),(0,n.A)(this,"notifications",g,this),(0,n.A)(this,"tableSelection",A,this),(0,n.A)(this,"apollo",v,this)}get filters(){return JSON.parse(this.args.filters||"{}")}*handleBulkArchiveTask(){let e=this.filters,t=this.args.useSimpleBulkArchiving?{}:{filterBy:e};const l=!e.archived;if(!(yield this.confirmDialog.ask({title:this.intl.t(l?"bulk-archive-modal.title":"bulk-unarchive-modal.title"),message:this.intl.t(l?"bulk-archive-modal.message":"bulk-unarchive-modal.message"),continue:this.intl.t("global.yes"),cancel:this.intl.t("global.no"),leadingIcon:"question-mark-circle"})))return;const n=function(e,t,l){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:l;throw new TypeError("Private element is not present on this object")}(k,this,S).call(this);this.args.modifyVariables&&(t=this.args.modifyVariables(t));const{onBulkArchiveCacheUpdate:i}=this.args,a=yield this.apollo.mutate({mutation:this.args.bulkArchiveMutation,variables:{bulkRequest:n,archive:l,...t},update(e){"function"==typeof i&&(i(e),e.gc())}}),r=a[Object.keys(a).find(e=>e.startsWith("bulkArchive"))].count;this.tableSelection.reset(),this.dataFetchManager.refetchDataFor(this.args.dataFetchName);const s=l?this.intl.t("bulk-archive-success.title"):this.intl.t("bulk-unarchive-success.title"),o=l?this.intl.t("bulk-archive-success.message",{count:r}):this.intl.t("bulk-unarchive-success.message",{count:r});this.notifications.success(s,o)}},b=(0,i.A)(m.prototype,"confirmDialog",[r.eu],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,i.A)(m.prototype,"dataFetchManager",[r.eu],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,i.A)(m.prototype,"intl",[r.eu],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,i.A)(m.prototype,"notifications",[r.eu],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,i.A)(m.prototype,"tableSelection",[r.eu],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,i.A)(m.prototype,"apollo",[o.mh],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.A)(m.prototype,"handleBulkArchiveTask",[s.Fs],Object.getOwnPropertyDescriptor(m.prototype,"handleBulkArchiveTask"),m.prototype),m);function S(){const{selectionMode:e,selectedIds:t,unselectedIds:l}=this.tableSelection;return this.args.useSimpleBulkArchiving?{selectedIds:t}:{selectionMode:e,selectedIds:t,unselectedIds:l}}(0,w.Et)(h,x)},67846(e,t,l){l.d(t,{A:()=>u});var n=l(47903),i=l(80442),a=l(65530),r=l(4198);
1const s=(0,l(87589).X)({id:"e6z6lZoM",block:'[[[40,[[[1,"  "],[8,[32,0],null,[["@show","@enter","@enterFrom","@enterTo","@leave","@leaveFrom","@leaveTo"],[[30,1],[52,[28,[32,1],[[30,2]],null],"transition ease duration-300 lg:transform"],"opacity-0 lg:translate-y-full","opacity-100 lg:translate-y-0",[52,[28,[32,1],[[30,2]],null],"transition duration-300"],"opacity-100 lg:translate-y-0","opacity-0 lg:translate-y-full"]],[["default"],[[[[1,"\\n    "],[11,0],[24,0,"z-10"],[17,3],[12],[1,"\\n      "],[10,0],[14,0,"pr-4 pl-4"],[12],[1,"\\n        "],[10,0],[14,0,"flex items-center justify-between flex-wrap h-14"],[12],[1,"\\n          "],[10,0],[15,0,[29,["sm:w-full sm:flex-1 sm:flex items-center\\n              ",[52,[48,[30,6]],"hidden w-0","w-2/3 sm:w-0"]]]],[12],[1,"\\n"],[41,[30,4],[[[1,"              "],[8,[32,2],[[24,0,"shrink-0 hidden"]],[["@name","@variant"],[[30,4],"outline"]],null],[1,"\\n"]],[]],null],[41,[30,5],[[[1,"              "],[10,2],[15,0,[29,[[52,[30,4],"sm:ml-3"]," text-sm sm:text-base font-medium"]]],[12],[1,[30,5]],[13],[1,"\\n"]],[]],null],[41,[48,[30,7]],[[[1,"              "],[18,7,null],[1,"\\n"]],[]],null],[1,"          "],[13],[1,"\\n          "],[10,0],[15,0,[29,["flex\\n              ",[52,[48,[30,6]],"justify-between w-full","justify-end w-1/3"],"\\n              shrink-0 sm:w-auto sm:ml-3"]]],[12],[1,"\\n"],[41,[48,[30,6]],[[[1,"              "],[18,6,null],[1,"\\n"]],[]],null],[1,"            "],[10,1],[14,0,"ml-2 inline-flex"],[12],[18,8,null],[13],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n  "]],[]]]]],[1,"\\n"]],[]],"%cursor:0%",[28,[37,1],[[30,0,["actionsBarContainer"]]],null],null]],["@show","@avoidTransition","&attrs","@icon","@label","&secondary","&secondaryActions","&default"],["in-element","-in-el-null","if","div","has-block","p","yield","span"]]',moduleName:"my-phorest/components/page/actions-bar/index.hbs",scope:()=>[i.A,a.A,r.A],isStrictMode:!1});var o=l(20107);class u extends n.A{get actionsBarContainer(){return this.args.customContainerToRender?this.args.customContainerToRender:document.getElementById("actions-bar-container")}}(0,o.Et)(s,u)},75451(e,t,l){l.d(t,{A:()=>f});var n=l(30376),i=l(1808),a=l(47903),r=l(86407),s=l(99675),o=l(76753),u=l(57827),c=l(13965),p=l(43087),d=l(36760);const h=(0,l(87589).X)({id:"paDXzTIp",block:'[[[11,"label"],[4,[32,0],["click",[28,[32,1],null,null]],null],[12],[1,"\\n  "],[8,[32,2],[[24,0,"mx-auto"]],[["@spacing","@ariaLabel","@name","@checked","@onToggle"],["gap-0",[28,[32,3],["accessibility.select-row"],null],[28,[32,4],["select-row-checkbox-",[30,1,["id"]]],null],[30,0,["isSelected"]],[30,0,["toggleSelected"]]]],null],[1,"\\n"],[13]],["@row"],["label"]]',moduleName:"my-phorest/components/page/table/cells/-select-checkbox-cell/index.hbs",scope:()=>[o.on,u.A,c.A,p.A,d.xW],isStrictMode:!1});var m,b,y=l(20107);let f=(m=class extends a.A{constructor(...e){super(...e),(0,n.A)(this,"tableSelection",b,this)}get isSelected(){return this.tableSelection.isSelected(this.args.row.id)}toggleSelected(){this.tableSelection.toggleSelected(this.args.row,!!this.args.singleSelect)}},b=(0,i.A)(m.prototype,"tableSelection",[r.eu],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.A)(m.prototype,"toggleSelected",[s.XI],Object.getOwnPropertyDescriptor(m.prototype,"toggleSelected"),m.prototype),m);(0,y.Et)(h,f)},80791(e,t,l){l.d(t,{A:()=>u});var n=l(47903),i=l(62354),a=l(43489),r=l(36760);const s=(0,l(87589).X)({id:"1rdKLZ9T",block:'[[[41,[30,0,["value"]],[[[1,"  "],[8,[32,0],[[16,0,[29,[[52,[28,[32,1],[[30,1],[30,2]],null],"line-through"]]]]],[["@text"],[[30,0,["value"]]]],[["default"],[[[[1,"\\n    "],[1,[30,0,["value"]]],[1,"\\n  "]],[]]]]],[1,"\\n"]],[]],[[[41,[30,3],[[[1,"  "],[10,0],[14,0,"text-primary text-sm text-left"],[12],[1,[30,3]],[13],[1,"\\n"]],[]],[[[1,"  "],[10,0],[14,0,"text-primary text-sm text-left"],[12],[1,"-"],[13],[1,"\\n"]],[]]]],[]]]],["@row","@deletedField","@placeholder"],["if","div"]]',moduleName:"my-phorest/components/page/table/cells/-text-or-dash-cell/index.hbs",scope:()=>[a.A,r.Jt],isStrictMode:!1});var o=l(20107);class u extends n.A{get value(){if(this.args.value)return this.args.value;const e=typeof this.args.textField;return"function"===e?this.args.textField(this.args.row):"string"===e?(0,i.valueFromPath)(this.args.row,this.args.textField):null}}(0,o.Et)(s,u)},43489(e,t,l){l.d(t,{A:()=>b});var n=l(30376),i=l(52874),a=l(1808),r=l(47903),s=l(20049),o=l(37150),u=l(55058),c=l(35618);const p=(0,l(87589).X)({id:"/LZTsamV",block:'[[[11,0],[24,0,"text-primary text-sm truncate text-left"],[17,1],[4,[30,0,["addTextResizeListener"]],null,null],[4,[32,0],null,[["text","openDelayMs","disabled","placement"],[[30,2],500,[30,0,["textIsFullyVisible"]],[30,3]]]],[12],[1,"\\n  "],[18,4,null],[1,"\\n"],[13]],["&attrs","@text","@tooltipPlacement","&default"],["div","yield"]]',moduleName:"my-phorest/components/truncated-to-full-text-tooltip/index.hbs",scope:()=>[c.A],isStrictMode:!1});var d,h,m=l(20107);let b=(d=class extends r.A{constructor(...e){super(...e),(0,n.A)(this,"textIsFullyVisible",h,this),(0,i.A)(this,"addTextResizeListener",(0,o.W)(e=>{this.textIsFullyVisible=this.calculateTextIsFullyVisible(e),window.ResizeObserver&&(this.textResizeObserver=new ResizeObserver(()=>{this.textIsFullyVisible=this.calculateTextIsFullyVisible(e)}),this.textResizeObserver.observe(e),(0,u.JF)(this,()=>{this.textResizeObserver.unobserve(e)}))},{eager:!1}))}calculateTextIsFullyVisible(e){let t=this.lastElementWithTruncateClass(e)??e;return t.scrollWidth<=t.clientWidth}lastElementWithTruncateClass(e){let t=e.querySelectorAll(".truncate");return t?t[t.length-1]:null}},h=(0,a.A)(d.prototype,"textIsFullyVisible",[s.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),d);(0,m.Et)(p,b)}}]);
2//# sourceMappingURL=34b1e4551ba0c5f53b17.js.map

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.