1import{C as i,P as e,h as a}from"./polyfazer-app-DumDTOPg.js";import"./main-BEpca-0G.js";class n extends i(e){static get template(){return a` 2 <style> 3 :host { 4 width: 100%; 5 height: 100%; 6 display: flex; 7 justify-content: center; 8 align-items: center; 9 min-height: var(--min-height); 10 } 11 12 .overlay { 13 position: absolute; 14 z-index: 1; 15 background: white; 16 top: 0; 17 left: 0; 18 right: 0; 19 bottom: 0; 20 display: flex; 21 justify-content: center; 22 align-items: center; 23 } 24 25 .total-content { 26 display: flex; 27 height: 100%; 28 width: 100%; 29 } 30 31 .icon-wrapper { 32 display: flex; 33 justify-content: center; 34 align-items: center; 35 margin-right: 20px; 36 } 37 38 iron-icon { 39 --iron-icon-width: 3em; 40 --iron-icon-height: 3em; 41 color: var(--icon-color, var(--light-text-color)); 42 } 43 44 aside { 45 display: flex; 46 flex-direction: column; 47 justify-content: center; 48 width: 100%; 49 height: 100%; 50 } 51 52 h1, h4 { 53 margin: 0; 54 } 55 56 h1 { 57 font-size: 3em; 58 display: flex; 59 align-items: flex-end; 60 } 61 62 h1[small] { 63 font-size: 2em; 64 } 65 66 h4 { 67 font-size: 1.5em; 68 color: var(--disabled-text-color); 69 } 70 71 pre { 72 font-family: inherit; 73 color: var(--light-text-color); 74 margin: 0; 75 white-space: pre-wrap; 76 } 77 </style> 78 <div class="total-content"> 79 <div class="icon-wrapper"> 80 <iron-icon icon="[[data.icon]]"></iron-icon> 81 </div> 82 <aside> 83 <h4>[[_lang(data.label)]]</h4> 84 <h1 small$="[[greaterThan(value, 99999)]]">[[_format(value)]]</h1> 85 <pre>[[_lang('locationUtilizationHint')]]</pre> 86 <slot></slot> 87 </aside> 88 </div> 89 `}static get properties(){return{value:String,data:Object}}init(t){this.set("data",t),this.setData()}setData(t){this.set("value",t?.averageDailyUtilization||0)}_format(t){return new Intl.NumberFormat(app.lang.actLang,{minimumFractionDigits:4}).format(t)}}window.customElements.define("dataset-location-utilization",n); 90//# sourceMappingURL=dataset-location-utilization-BXtPstKZ.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.