1(()=>{(function(){try{var s=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{},o=new s.Error().stack;o&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[o]="924cbe15-4ecd-4561-8137-cc7b9449caef",s._sentryDebugIdIdentifier="sentry-dbid-924cbe15-4ecd-4561-8137-cc7b9449caef")}catch(n){}})();(self.webpackChunkdice_web=self.webpackChunkdice_web||[]).push([[60896],{9166:((s,o,n)=>{n.r(o),n.d(o,{default:()=>y});var e=n(96540),b=n(86364),O=n(56347),_=n(76046),g=n(20828);const P="SUCCEEDED";class f extends e.PureComponent{constructor(l){super(l),this.state={loading:!0}}UNSAFE_componentWillMount(){const{dispatch:l}=this.props;l({type:"invoice/SHOW"});const d=(0,_.pK)(),E=(0,_.sE)();Promise.all([d,E]).then(([i,t])=>{l({type:"account/PAYMENTS",payload:i}),l({type:"account/DETAILS",payload:t}),this.setState({loading:!1})})}componentWillUnmount(){this.props.dispatch({type:"invoice/CLOSE"})}print(){window.print()}render(){const{loading:l}=this.state,{details:d,payments:E,match:{params:i},getLabel:t}=this.props,a=E.filter(({id:c,status:m})=>c.toString()===i.id.toString()&&m===P)[0];return!l&&!!d&&!!a?e.createElement("div",{className:"table--wrapper"},e.createElement("table",null,e.createElement("tbody",null,e.createElement("tr",null,e.createElement("td",{className:"logo",colSpan:2},e.createElement("div",{className:"img-wrapper"},e.createElement("img",{src:APP_CONF.LOGO})))),e.createElement("tr",null,e.createElement("td",{className:"title smaller",colSpan:2},d.id)),e.createElement("tr",null,e.createElement("td",{className:"title smaller",colSpan:2},a.date)),e.createElement("tr",null,e.createElement("td",{className:"title smaller",colSpan:2},t("paymentId")," - ",i.id)),e.createElement("tr",null,e.createElement("td",{className:"bottom-border resident-primary-color-border",colSpan:2})),e.createElement("tr",null,e.createElement("td",{className:"separator"})),e.createElement("tr",null,e.createElement("td",{colSpan:2},a.name)),e.createElement("tr",null,e.createElement("td",{className:"separator"})),e.createElement("tr",null,e.createElement("td",{className:"top-border resident-primary-color-border",colSpan:2})),e.createElement("tr",null,e.createElement("td",{className:"bold"},t("total")),e.createElement("td",{className:"total"},t(a.amount))))),e.createElement("div",{className:"button-wrapper"},e.createElement("button",{className:"btn-small resident-primary-color-bg",onClick:this.print},t("print")))):null}}const v=({views:{account:p}})=>({payments:p.payments,details:p.details}),y=(0,O.y)((0,b.Ng)(v,null)((0,g.A)()(f)))}),20828:((s,o,n)=>{n.d(o,{A:()=>i});var e=n(96540),b=n(86364),O=Object.defineProperty,_=Object.defineProperties,g=Object.getOwnPropertyDescriptors,P=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,y=(t,a,r)=>a in t?O(t,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[a]=r,p=(t,a)=>{for(var r in a||(a={}))f.call(a,r)&&y(t,r,a[r]);if(P)for(var r of P(a))v.call(a,r)&&y(t,r,a[r]);return t},l=(t,a)=>_(t,g(a));const d=({services:{labels:t}})=>({labels:t}),E=({labels:t},{dispatch:a},r)=>({labels:t,componentProps:l(p({},r),{dispatch:a})}),i=(()=>t=>{class a extends e.PureComponent{constructor(){super(...arguments),this.getLabel=(c,m={})=>{const{labels:{translations:u,activeLocale:S}}=this.props,h=u[S]?S:Object.keys(u)[0];if(u[h]&&u[h].hasOwnProperty(c)){const N=u[h][c]||"";return Object.keys(m).reduce((C,D)=>C.replace(`{{${D}}}`,m[D]),N)}return c}}render(){const{componentProps:c,labels:m}=this.props;return e.createElement(t,l(p({},c),{labels:m,getLabel:this.getLabel}))}}return a.displayName=`Label(${t.displayName||t.name||"Component"})`,(0,b.Ng)(d,null,E)(a)})})}]);})(); 2 3//# sourceMappingURL=invoice.1298b6271cbb58fb6451.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.