PageSourceSearch

https://kwik-mini-invoice-generator.vercel.app/_next/static/chunks/205-bd066146ad515745.js

js kwik-mini-invoice-generator.vercel.app collected 2026-10-03 07:12:40 UTC 47,591 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[205],{51586:function(e,a,n){"use strict";n.d(a,{Z:function(){return x}});var t=n(85893),i=n(67294),l=n(82280),o=n(22797),r=n(38895),c=n(15861),s=n(23508),u=n(14562),d=n.n(u);function m(e,a){(null==a||a>e.length)&&(a=e.length);for(var n=0,t=new Array(a);n<a;n++)t[n]=e[n];return t}function v(e,a){return function(e){if(Array.isArray(e))return e}(e)||function(e,a){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var t,i,l=[],o=!0,r=!1;try{for(n=n.call(e);!(o=(t=n.next()).done)&&(l.push(t.value),!a||l.length!==a);o=!0);}catch(c){r=!0,i=c}finally{try{o||null==n.return||n.return()}finally{if(r)throw i}}return l}}(e,a)||function(e,a){if(!e)return;if("string"===typeof e)return m(e,a);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,a)}(e,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(e){var a=e.headerChildren,n=e.lineChildren,u=e.companyChildren,m=e.notesChildren,x=e.tandcChildren,b=v(i.useState(!1),2),h=b[0],y=b[1],p=function(e){return function(a,n){y(!!n&&e)}};return(0,t.jsxs)("div",{children:[(0,t.jsxs)(l.Z,{expanded:"panel1"===h,className:d().accxtra,onChange:p("panel1"),children:[(0,t.jsx)(r.Z,{expandIcon:(0,t.jsx)(s.Z,{}),"aria-controls":"panel1bh-content",id:"panel1bh-header",children:(0,t.jsx)(c.Z,{sx:{width:"33%",flexShrink:0},children:"Header"})}),(0,t.jsx)(o.Z,{children:(0,t.jsx)(c.Z,{children:a})})]}),(0,t.jsxs)(l.Z,{expanded:"panel2"===h,className:d().accxtra,onChange:p("panel2"),children:[(0,t.jsx)(r.Z,{expandIcon:(0,t.jsx)(s.Z,{}),"aria-controls":"panel2bh-content",id:"panel2bh-header",children:(0,t.jsx)(c.Z,{sx:{width:"33%",flexShrink:0},children:"Divider"})}),(0,t.jsx)(o.Z,{children:(0,t.jsx)(c.Z,{children:n})})]}),(0,t.jsxs)(l.Z,{expanded:"panel3"===h,className:d().accxtra,onChange:p("panel3"),children:[(0,t.jsx)(r.Z,{expandIcon:(0,t.jsx)(s.Z,{}),"aria-controls":"panel3bh-content",id:"panel3bh-header",children:(0,t.jsx)(c.Z,{sx:{width:"33%",flexShrink:0},children:"Company"})}),(0,t.jsx)(o.Z,{children:(0,t.jsx)(c.Z,{children:u})})]}),(0,t.jsxs)(l.Z,{expanded:"panel7"===h,className:d().accxtra,onChange:p("panel7"),children:[(0,t.jsx)(r.Z,{expandIcon:(0,t.jsx)(s.Z,{}),"aria-controls":"panel7bh-content",id:"panel7bh-header",children:(0,t.jsx)(c.Z,{sx:{width:"33%",flexShrink:0},children:"Notes"})}),(0,t.jsx)(o.Z,{children:(0,t.jsx)(c.Z,{children:m})})]}),(0,t.jsxs)(l.Z,{expanded:"panel8"===h,className:d().accxtra,onChange:p("panel8"),children:[(0,t.jsx)(r.Z,{expandIcon:(0,t.jsx)(s.Z,{}),"aria-controls":"panel8bh-content",id:"panel8bh-header",children:(0,t.jsx)(c.Z,{sx:{width:"33%",flexShrink:0},children:"Terms"})}),(0,t.jsx)(o.Z,{children:(0,t.jsx)(c.Z,{children:x})})]})]})}},35458:function(e,a,n){"use strict";var t=n(85893),i=n(25449),l=n(93946);n(67294);a.Z=function(e){var a=e.icon,n=e.toolTip,o=e.handleClick,r=e.id;return(0,t.jsx)("span",{id:r,children:(0,t.jsx)(i.Z,{title:n,onClick:o,children:(0,t.jsx)(l.Z,{children:a})})})}},97578:function(e,a,n){"use strict";var t=n(85893),i=n(67294),l=n(21737),o=n(76798),r=n(15861);function c(e,a,n){return a in e?Object.defineProperty(e,a,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[a]=n,e}a.Z=function(e){var a=e.openAlert,n=e.closeAlert,s=e.outputIcon,u=e.outputText,d=e.verticalPosition,m=e.horizontalPosition,v=i.forwardRef((function(e,a){return(0,t.jsx)(l.Z,function(e){for(var a=1;a<arguments.length;a++){var n=null!=arguments[a]?arguments[a]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(a){c(e,a,n[a])}))}return e}({elevation:6,ref:a,variant:"filled"},e))}));return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(o.Z,{open:a,autoHideDuration:4e3,onClose:n,anchorOrigin:{vertical:d,horizontal:m},children:(0,t.jsxs)(v,{onClose:n,severity:"success",sx:{width:"100%"},children:[s,(0,t.jsx)(r.Z,{children:u})]})})})}},20418:function(e,a,n){"use strict";n.d(a,{J:function(){return t}});var t=[{value:"select country",text:"select country"},{value:"Bangladesh",text:"Bangladesh"},{value:"Belgium",text:"Belgium"},{value:"Burkina Faso",text:"Burkina Faso"},{value:"Bulgaria",text:"Bulgaria"},{value:"Bosnia and Herzegovina",text:"Bosnia and Herzegovina"},{value:"Barbados",text:"Barbados"},{value:"Wallis and Futuna",text:"Wallis and Futuna"},{value:"Saint Barthelemy",text:"Saint Barthelemy"},{value:"Bermuda",text:"Bermuda"},{value:"Brunei",text:"Brunei"},{value:"Bolivia",text:"Bolivia"},{value:"Bahrain",text:"Bahrain"},{value:"Burundi",text:"Burundi"},{value:"Benin",text:"Benin"},{value:"Bhutan",text:"Bhutan"},{value:"Jamaica",text:"Jamaica"},{value:"Bouvet Island",text:"Bouvet Island"},{value:"Botswana",text:"Botswana"},{value:"Samoa",text:"Samoa"},{value:"Bonaire, Saint Eustatius and Saba ",text:"Bonaire, Saint Eustatius and Saba "},{value:"Brazil",text:"Brazil"},{value:"Bahamas",text:"Bahamas"},{value:"Jersey",text:"Jersey"},{value:"Belarus",text:"Belarus"},{value:"Belize",text:"Belize"},{value:"Russia",text:"Russia"},{value:"Rwanda",text:"Rwanda"},{value:"Serbia",text:"Serbia"},{value:"East Timor",text:"East Timor"},{value:"Reunion",text:"Reunion"},{value:"Turkmenistan",text:"Turkmenistan"},{value:"Tajikistan",text:"Tajikistan"},{value:"Romania",text:"Romania"},{value:"Tokelau",text:"Tokelau"},{value:"Guinea-Bissau",text:"Guinea-Bissau"},{value:"Guam",text:"Guam"},{value:"Guatemala",text:"Guatemala"},{value:"South Georgia and the South Sandwich Islands",text:"South Georgia and the South Sandwich Islands"},{value:"Greece",text:"Greece"},{value:"Equatorial Guinea",text:"Equatorial Guinea"},{value:"Guadeloupe",text:"Guadeloupe"},{value:"Japan",text:"Japan"},{value:"Guyana",text:"Guyana"},{value:"Guernsey",text:"Guernsey"},{value:"French Guiana",text:"French Guiana"},{value:"Georgia",text:"Georgia"},{value:"Grenada",text:"Grenada"},{value:"United Kingdom",text:"United Kingdom"},{value:"Gabon",text:"Gabon"},{value:"El Salvador",text:"El Salvador"},{value:"Guinea",text:"Guinea"},{value:"Gambia",text:"Gambia"},{value:"Greenland",text:"Greenland"},{value:"Gibraltar",text:"Gibraltar"},{value:"Ghana",text:"Ghana"},{value:"Oman",text:"Oman"},{value:"Tunisia",text:"Tunisia"},{value:"Jordan",text:"Jordan"},{value:"Croatia",text:"Croatia"},{value:"Haiti",text:"Haiti"},{value:"Hungary",text:"Hungary"},{value:"Hong Kong",text:"Hong Kong"},{value:"Honduras",text:"Honduras"},{value:"Heard Island and McDonald Islands",text:"Heard Island and McDonald Islands"},{value:"Venezuela",text:"Venezuela"},{value:"Puerto Rico",text:"Puerto Rico"},{value:"Palestinian Territory",text:"Palestinian Territory"},{value:"Palau",text:"Palau"},{value:"Portugal",text:"Portugal"},{value:"Svalbard and Jan Mayen",text:"Svalbard and Jan Mayen"},{value:"Paraguay",text:"Paraguay"},{value:"Iraq",text:"Iraq"},{value:"Panama",text:"Panama"},{value:"French Polynesia",text:"French Polynesia"},{value:"Papua New Guinea",text:"Papua New Guinea"},{value:"Peru",text:"Peru"},{value:"Pakistan",text:"Pakistan"},{value:"Philippines",text:"Philippines"},{value:"Pitcairn",text:"Pitcairn"},{value:"Poland",text:"Poland"},{value:"Saint Pierre and Miquelon",text:"Saint Pierre and Miquelon"},{value:"Zambia",text:"Zambia"},{value:"Western Sahara",text:"Western Sahara"},{value:"Estonia",text:"Estonia"},{value:"Egypt",text:"Egypt"},{value:"South Africa",text:"South Africa"},{value:"Ecuador",text:"Ecuador"},{value:"Italy",text:"Italy"},{value:"Vietnam",text:"Vietnam"},{value:"Solomon Islands",text:"Solomon Islands"},{value:"Ethiopia",text:"Ethiopia"},{value:"Somalia",text:"Somalia"},{value:"Zimbabwe",text:"Zimbabwe"},{value:"Saudi Arabia",text:"Saudi Arabia"},{value:"Spain",text:"Spain"},{value:"Eritrea",text:"Eritrea"},{value:"Montenegro",text:"Montenegro"},{value:"Moldova",text:"Moldova"}
1,{value:"Madagascar",text:"Madagascar"},{value:"Saint Martin",text:"Saint Martin"},{value:"Morocco",text:"Morocco"},{value:"Monaco",text:"Monaco"},{value:"Uzbekistan",text:"Uzbekistan"},{value:"Myanmar",text:"Myanmar"},{value:"Mali",text:"Mali"},{value:"Macao",text:"Macao"},{value:"Mongolia",text:"Mongolia"},{value:"Marshall Islands",text:"Marshall Islands"},{value:"Macedonia",text:"Macedonia"},{value:"Mauritius",text:"Mauritius"},{value:"Malta",text:"Malta"},{value:"Malawi",text:"Malawi"},{value:"Maldives",text:"Maldives"},{value:"Martinique",text:"Martinique"},{value:"Northern Mariana Islands",text:"Northern Mariana Islands"},{value:"Montserrat",text:"Montserrat"},{value:"Mauritania",text:"Mauritania"},{value:"Isle of Man",text:"Isle of Man"},{value:"Uganda",text:"Uganda"},{value:"Tanzania",text:"Tanzania"},{value:"Malaysia",text:"Malaysia"},{value:"Mexico",text:"Mexico"},{value:"Israel",text:"Israel"},{value:"France",text:"France"},{value:"British Indian Ocean Territory",text:"British Indian Ocean Territory"},{value:"Saint Helena",text:"Saint Helena"},{value:"Finland",text:"Finland"},{value:"Fiji",text:"Fiji"},{value:"Falkland Islands",text:"Falkland Islands"},{value:"Micronesia",text:"Micronesia"},{value:"Faroe Islands",text:"Faroe Islands"},{value:"Nicaragua",text:"Nicaragua"},{value:"Netherlands",text:"Netherlands"},{value:"Norway",text:"Norway"},{value:"Namibia",text:"Namibia"},{value:"Vanuatu",text:"Vanuatu"},{value:"New Caledonia",text:"New Caledonia"},{value:"Niger",text:"Niger"},{value:"Norfolk Island",text:"Norfolk Island"},{value:"Nigeria",text:"Nigeria"},{value:"New Zealand",text:"New Zealand"},{value:"Nepal",text:"Nepal"},{value:"Nauru",text:"Nauru"},{value:"Niue",text:"Niue"},{value:"Cook Islands",text:"Cook Islands"},{value:"Kosovo",text:"Kosovo"},{value:"Ivory Coast",text:"Ivory Coast"},{value:"Switzerland",text:"Switzerland"},{value:"Colombia",text:"Colombia"},{value:"China",text:"China"},{value:"Cameroon",text:"Cameroon"},{value:"Chile",text:"Chile"},{value:"Cocos Islands",text:"Cocos Islands"},{value:"Canada",text:"Canada"},{value:"Republic of the Congo",text:"Republic of the Congo"},{value:"Central African Republic",text:"Central African Republic"},{value:"Democratic Republic of the Congo",text:"Democratic Republic of the Congo"},{value:"Czech Republic",text:"Czech Republic"},{value:"Cyprus",text:"Cyprus"},{value:"Christmas Island",text:"Christmas Island"},{value:"Costa Rica",text:"Costa Rica"},{value:"Curacao",text:"Curacao"},{value:"Cape Verde",text:"Cape Verde"},{value:"Cuba",text:"Cuba"},{value:"Swaziland",text:"Swaziland"},{value:"Syria",text:"Syria"},{value:"Sint Maarten",text:"Sint Maarten"},{value:"Kyrgyzstan",text:"Kyrgyzstan"},{value:"Kenya",text:"Kenya"},{value:"South Sudan",text:"South Sudan"},{value:"Suriname",text:"Suriname"},{value:"Kiribati",text:"Kiribati"},{value:"Cambodia",text:"Cambodia"},{value:"Saint Kitts and Nevis",text:"Saint Kitts and Nevis"},{value:"Comoros",text:"Comoros"},{value:"Sao Tome and Principe",text:"Sao Tome and Principe"},{value:"Slovakia",text:"Slovakia"},{value:"South Korea",text:"South Korea"},{value:"Slovenia",text:"Slovenia"},{value:"North Korea",text:"North Korea"},{value:"Kuwait",text:"Kuwait"},{value:"Senegal",text:"Senegal"},{value:"San Marino",text:"San Marino"},{value:"Sierra Leone",text:"Sierra Leone"},{value:"Seychelles",text:"Seychelles"},{value:"Kazakhstan",text:"Kazakhstan"},{value:"Cayman Islands",text:"Cayman Islands"},{value:"Singapore",text:"Singapore"},{value:"Sweden",text:"Sweden"},{value:"Sudan",text:"Sudan"},{value:"Dominican Republic",text:"Dominican Republic"},{value:"Dominica",text:"Dominica"},{value:"Djibouti",text:"Djibouti"},{value:"Denmark",text:"Denmark"},{value:"British Virgin Islands",text:"British Virgin Islands"},{value:"Germany",text:"Germany"},{value:"Yemen",text:"Yemen"},{value:"Algeria",text:"Algeria"},{value:"United States",text:"United States"},{value:"Uruguay",text:"Uruguay"},{value:"Mayotte",text:"Mayotte"},{value:"United States Minor Outlying Islands",text:"United States Minor Outlying Islands"},{value:"Lebanon",text:"Lebanon"},{value:"Saint Lucia",text:"Saint Lucia"},{value:"Laos",text:"Laos"},{value:"Tuvalu",text:"Tuvalu"},{value:"Taiwan",text:"Taiwan"},{value:"Trinidad and Tobago",text:"Trinidad and Tobago"},{value:"Turkey",text:"Turkey"},{value:"Sri Lanka",text:"Sri Lanka"},{value:"Liechtenstein",text:"Liechtenstein"},{value:"Latvia",text:"Latvia"},{value:"Tonga",text:"Tonga"},{value:"Lithuania",text:"Lithuania"},{value:"Luxembourg",text:"Luxembourg"},{value:"Liberia",text:"Liberia"},{value:"Lesotho",text:"Lesotho"},{value:"Thailand",text:"Thailand"},{value:"French Southern Territories",text:"French Southern Territories"},{value:"Togo",text:"Togo"},{value:"Chad",text:"Chad"},{value:"Turks and Caicos Islands",text:"Turks and Caicos Islands"},{value:"Libya",text:"Libya"},{value:"Vatican",text:"Vatican"},{value:"Saint Vincent and the Grenadines",text:"Saint Vincent and the Grenadines"},{value:"United Arab Emirates",text:"United Arab Emirates"},{value:"Andorra",text:"Andorra"},{value:"Antigua and Barbuda",text:"Antigua and Barbuda"},{value:"Afghanistan",text:"Afghanistan"},{value:"Anguilla",text:"Anguilla"},{value:"U.S. Virgin Islands",text:"U.S. Virgin Islands"},{value:"Iceland",text:"Iceland"},{value:"Iran",text:"Iran"},{value:"Armenia",text:"Armenia"},{value:"Albania",text:"Albania"},{value:"Angola",text:"Angola"},{value:"Antarctica",text:"Antarctica"},{value:"American Samoa",text:"American Samoa"},{value:"Argentina",text:"Argentina"},{value:"Australia",text:"Australia"},{value:"Austria",text:"Austria"},{value:"Aruba",text:"Aruba"},{value:"India",text:"India"},{value:"Aland Islands",text:"Aland Islands"},{value:"Azerbaijan",text:"Azerbaijan"},{value:"Ireland",text:"Ireland"},{value:"Indonesia",text:"Indonesia"},{value:"Ukraine",text:"Ukraine"},{value:"Qatar",text:"Qatar"},{value:"Mozambique",text:"Mozambique"}]},19828:function(e,a,n){"use strict";function t(e,a,n){return a in e?Object.defineProperty(e,a,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[a]=n,e}n.d(a,{Eo:function(){return o},JF:function(){return l},WT:function(){return c},c3:function(){return r},oC:function(){return i}});var i={_id:(0,n(53416).x0)(5),description:"",quantity:0,rate:"",amount:"0.00",editable:!1},l={logo:"",logoWidth:100,title:"INVOICE",companyName:"",companyAddress:"",companyAddress2:"",companyCountry:"",billTo:"Bill To:",clientName:"",clientAddress:"",clientAddress2:"",clientCountry:"",invoicedetailsheader:"Invoice Details",invoiceTitleLabel:"Invoice#",invoiceTitle:"",invoiceDateLabel:"Invoice Date",invoiceDate:new Date,invoiceDueDateLabel:"Due Date",invoiceDueDate:new Date,invoiceitems:[function(e){for(var a=1;a<arguments.length;a++){var n=null!=arguments[a]?arguments[a]:{},i=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}
1)))),i.forEach((function(a){t(e,a,n[a])}))}return e}({},i)],subTotalLabel:"Sub Total",subTotal:"",taxLabel:"Sale Tax",tax:0,totalLabel:"TOTAL",total:"",currency_symbol:"$",notesLabel:"Notes",notes:"It was great doing business with you.",termLabel:"Terms & Conditions",term:"Please make the payment by the due date.",status:"draft",pageStyles:{background:"#FFFFF"},styles:{fontFamily:"Roboto",color:"#555"},colorTheme:"#2124b1"},o={fullname:"",email:"",buisness:"buisness name,  if any",phone:"number",countryCode:""},r={description:"",rate:"",type:"",qty:0},c={username:"",email:"",password:"",phone_number:"",buisness_name:"",buisness_address:"",buisness_address2:"",buisness_logo:"",country:""}},77243:function(e,a,n){"use strict";var t=n(85893),i=n(85451),l=n(1528),o=n(47835),r=n(25683),c=n(15301),s=n(11163),u=(n(67294),n(74465)),d=n.n(u),m=n(14562),v=n.n(m),x=n(92422);a.Z=function(e){var a=e.handlePrint,n=e.handleSave,u=e.saveText,m=e.status,b=e.editController,h=e.updateDisabled,y=e.handleVat,p=(e.exportPDF,e.exportJPEG),f=e.handleBP,g=(0,s.useRouter)();return(0,t.jsxs)("div",{className:v().editorContainer,children:[(0,t.jsx)(x.Z,{className:d().muiButtonBackground,icon:(0,t.jsx)(i.Z,{}),innerText:"PRINT",onClick:a},1),(0,t.jsx)(x.Z,{icon:(0,t.jsx)(l.Z,{}),className:d().muiButtonBackground,innerText:"JPEG",onClick:p},3),(0,t.jsx)(x.Z,{className:d().muiButtonBackground,icon:(0,t.jsx)(o.Z,{}),btnDisabled:h,innerText:u,onClick:n},4),(0,t.jsx)(x.Z,{className:d().muiButtonBackground,icon:(0,t.jsx)(r.Z,{}),innerText:"Custom Settings",onClick:y},5),"/invoice/create"===g.pathname?(0,t.jsx)(x.Z,{className:d().muiButtonBackground,icon:(0,t.jsx)(c.Z,{}),innerText:"Binded Products",onClick:f},6):null,b,(0,t.jsx)("div",{children:(0,t.jsx)("span",{children:m})})]})}},87496:function(e,a,n){"use strict";n.d(a,{Z:function(){return U}});var t=n(85893),i=n(67720),l=n(67294),o=n(46266);var r=function(e,a){(0,l.useEffect)((function(){var n=function(n){var t=null===e||void 0===e?void 0:e.current;t&&!t.contains(n.target)&&a(n)};return document.addEventListener("mousedown",n),document.addEventListener("touchstart",n),function(){document.removeEventListener("mousedown",n),document.removeEventListener("touchstart",n)}}),[e,a])},c=n(14562),s=n.n(c),u=(n(30939),function(e){var a=e.className,n=e.placeholder,i=e.value,c=e.width,u=e.onChangeImage,d=e.onChangeWidth,m=(e.pdfMode,(0,l.useRef)(null)),v=(0,l.useRef)(null),x=(0,l.useState)(!1),b=x[0],h=x[1];r(v,(function(){b&&h(!1)}));var y=function(){var e;null===m||void 0===m||null===(e=m.current)||void 0===e||e.click()};return(0,t.jsxs)("div",{className:"".concat(s().image," ").concat(i?"mb-5":""," ").concat(a||""),children:[i?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("img",{src:i,id:"imagefile",className:s().image__img,alt:n,style:{maxWidth:c||100}}),(0,t.jsx)("button",{type:"button",className:s().image__change,onClick:y,children:"Change Image"}),(0,t.jsx)("button",{type:"button",className:s().image__edit,onClick:function(){h(!b)},children:"Resize Image"}),(0,t.jsx)("button",{type:"button",className:s().image__remove,onClick:function(){"function"===typeof u&&u("")},children:"Remove"}),b&&(0,t.jsx)("div",{ref:v,className:s()["image__width-wrapper"],children:(0,t.jsx)(o.Z,{min:100,max:250,marks:{100:"100px",150:"150px",200:"200px",250:"250px"},included:!1,step:1,onChange:function(e){"function"===typeof d&&d(Number(e))},defaultValue:c||100})})]}):(0,t.jsx)("button",{type:"button",className:s().image__upload,onClick:y,children:n}),(0,t.jsx)("input",{ref:m,tabIndex:-1,type:"file",accept:"image/*",className:s().image__file,onChange:function(){var e;if(null===m||void 0===m||null===(e=m.current)||void 0===e?void 0:e.files){var a=m.current.files;if(a.length>0&&"function"===typeof u){var n=new FileReader;n.addEventListener("load",(function(){"string"===typeof n.result&&u(n.result)})),n.readAsDataURL(a[0])}}}})]})});function d(e,a,n){return a in e?Object.defineProperty(e,a,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[a]=n,e}var m=function(e){var a=e.options,n=e.onSelectChange,i=e.invoice,l=e.customStyle,o=e.setter;return(0,t.jsx)(t.Fragment,{children:i.companyCountry?(0,t.jsx)("input",{type:"text",defaultValue:i.companyCountry,onDoubleClick:function(){return o(function(e){for(var a=1;a<arguments.length;a++){var n=null!=arguments[a]?arguments[a]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(a){d(e,a,n[a])}))}return e}({},i,{companyCountry:""}))},style:l}):(0,t.jsx)("select",{name:"countrySelector",placeholder:"Select Country",className:s().select,value:i.companyCountry,onChange:n,style:l,children:a.map((function(e){return(0,t.jsx)("option",{value:e.value,children:e.text},e.text)}))})})},v=n(9300),x=n(713),b=n(52697),h=n(9198),y=n.n(h),p=(n(95828),function(e){var a=e.handleDateInput,n=(e.customStyle,e.dateName),i=e.invoice,l=e.placeholderText,o=e.disabled;return(0,t.jsx)("div",{children:(0,t.jsx)(y(),{selected:new Date(i[n]),onChange:a,placeholderText:l,dateFormat:"MM-dd-yyyy",disabled:o})})}),f=n(15861),g=n(72882),_=n(55113),j=n(7906),I=n(53184),S=n(53816),C=n(53252),D=n(295),T=n(93463),w=n(92422),N=n(96540),A=n(17052),Z=n(57333);function B(e,a,n){return a in e?Object.defineProperty(e,a,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[a]=n,e}function M(e){for(var a=1;a<arguments.length;a++){var n=null!=arguments[a]?arguments[a]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(a){B(e,a,n[a])}))}return e}var k=function(e){var a=e.pdfMode,n=e.handleChange,i=e.invoice,l=e.logo;return(0,t.jsx)("div",{className:s().title,id:"dflogo",style:{display:l},children:(0,t.jsx)(u,{className:"logo",placeholder:"Company Logo",value:i.logo,width:i.logoWidth,pdfMode:a,onChangeImage:function(e){return n("logo",e)},onChangeWidth:function(e){return n("logoWidth",e)}})})},R=function(e){var a=e.handleDetailInput,n=e.invoice,i=e.contentEditable,l=e.customStyle,o=e.titlebox;return(0,t.jsx)("div",{id:"dftitle",style:{display:o},children:(0,t.jsx)("input",{type:"text",className:s().topHeader,placeholder:"Invoice Type",disabled:i||!1,value:n.title,style:l,onCh
1ange:function(e){return a(e,"title")}})})},L=function(e){var a=e.titleInput,n=e.logo,i=e.hsStyleOverride;return(0,t.jsxs)(A.E.div,{transition:{ease:"easeInOut"},className:s().topLogo,style:{display:i},id:"dfheader",children:[n,a]})},P=function(e){var a=e.handleDetailInput,n=e.options,i=e.invoice,l=e.contentEditable,o=e.customStyle,r=e.setter;return(0,t.jsxs)("div",{className:s().sectionTwo,id:"dfcompanydetail",children:[(0,t.jsx)("input",{type:"text",disabled:l||!1,className:s().header,placeholder:"Company Name",value:i.companyName,style:o,onChange:function(e){return a(e,"companyName")}}),(0,t.jsx)("input",{type:"text",disabled:l||!1,placeholder:"Companys Address",value:i.companyAddress,style:o,onChange:function(e){return a(e,"companyAddress")}}),(0,t.jsx)("input",{type:"text",disabled:l||!1,placeholder:"City, State, Zip",value:i.companyAddress2,style:o,onChange:function(e){return a(e,"companyAddress2")}}),(0,t.jsx)(m,{options:n,setter:r,invoice:i,onSelectChange:function(e){return a(e,"companyCountry")},customStyle:o})]})},E=function(e){var a=e.handleDetailInput,n=e.invoice,i=e.contentEditable,l=e.id,o=e.ref,r=e.customStyle;return(0,t.jsxs)("div",{className:s().sendTO,id:"dfbilldetail",children:[(0,t.jsx)("input",{type:"text",disabled:i||!1,className:s().header,placeholder:"Billed To",value:n.billTo,id:l,ref:o,style:r,onChange:function(e){return a(e,"billTo")}}),(0,t.jsx)("input",{type:"text",disabled:i||!1,placeholder:"Client's Name",value:n.clientName,id:l,ref:o,style:r,onChange:function(e){return a(e,"clientName")}}),(0,t.jsx)("input",{type:"text",disabled:i||!1,placeholder:"Client's Address",value:n.clientAddress,id:l,ref:o,style:r,onChange:function(e){return a(e,"clientAddress")}}),(0,t.jsx)("input",{type:"text",disabled:i||!1,placeholder:"City, State, Zip",value:n.clientAddress2,id:l,ref:o,style:r,onChange:function(e){return a(e,"clientAddress2")}})]})},G=function(e){var a=e.handleDetailInput,n=e.handleDateInput,i=e.invoice,l=e.contentEditable,o=e.customStyle;return(0,t.jsxs)("div",{className:s().invDetails,id:"dfinvoicedetail",children:[(0,t.jsx)("input",{type:"text",disabled:l||!1,className:s().header,placeholder:"Invoice Details",value:i.invoicedetailsheader,style:o,onChange:function(e){return a(e,"invoicedetailsheader")}}),(0,t.jsxs)("div",{className:s().mainInvDet,children:[(0,t.jsx)("input",{type:"text",disabled:l||!1,placeholder:"Invoice#",value:i.invoiceTitleLabel,style:o,onChange:function(e){return a(e,"invoiceTitleLabel")}}),":",(0,t.jsx)("input",{type:"text",placeholder:" 123",value:i.invoiceTitle,disabled:!0,style:o,onChange:function(e){return a(e,"invoiceTitle")}}),(0,t.jsx)("input",{type:"text",disabled:l||!1,placeholder:"Invoice Date",value:i.invoiceDateLabel,style:o,onChange:function(e){return a(e,"invoiceDateLabel")}}),":",(0,t.jsx)(p,{selectedDate:i.invoiceDate,dateName:"invoiceDate",invoice:i,handleDateInput:function(e,a){return n(e,a,"invoiceDate")},customStyle:o,disabled:l||!1,placeholderText:"Invoice Date"}),(0,t.jsx)("input",{type:"text",disabled:l||!1,placeholder:"Due Date",value:i.invoiceDueDateLabel,style:o,onChange:function(e){return a(e,"invoiceDueDateLabel")}}),":",(0,t.jsx)(p,{selectedDate:i.invoiceDueDate,invoice:i,dateName:"invoiceDueDate",handleDateInput:function(e,a){return n(e,a,"invoiceDueDate")},customStyle:o,disabled:l||!1,placeholderText:"Due Date"})]})]})},F=function(e){var a=e.onChangeComplete,n=e.selectedColor,i=e.cur,l=e.itemArr,o=e.invoice,r=e.removeItem,c=e.handleItemInput,u=e.contentEditable,d=e.customStyle,m=(e.itemEditable,e.max_number);return(0,t.jsx)(g.Z,{component:_.Z,className:s().table,id:"dfinvoicetable",children:(0,t.jsxs)(j.Z,{sx:{minWidth:650,border:"transparent",borderRadius:"0"},"aria-label":"simple table",id:"tablegen",children:[(0,t.jsx)(b.ZP,{interactive:!0,placement:"top-start",content:(0,t.jsx)(x.if,{color:n,onChangeComplete:a}),children:(0,t.jsx)(I.Z,{sx:{background:n,textAlign:"center"},children:(0,t.jsxs)(S.Z,{sx:{color:"#fff",textAlign:"center"},children:[(0,t.jsx)(C.Z,{align:"left",sx:{color:"#fff"},children:"Item Description"}),(0,t.jsx)(C.Z,{align:"left",sx:{color:"#fff"},children:"Quantity"}),(0,t.jsxs)(C.Z,{align:"left",sx:{color:"#fff"},children:["Rate ",i]}),(0,t.jsxs)(C.Z,{align:"left",sx:{color:"#fff"},children:["Amount ",i]}),(0,t.jsx)(C.Z,{align:"left",sx:{color:"#fff"}})]})})}),(0,t.jsx)(D.Z,{children:null===l||void 0===l?void 0:l.map((function(e,a){var n;return(0,t.jsxs)(S.Z,{sx:{"&:last-child td, &:last-child th":{border:0},transition:"ease-in-out",animation:"ease-in-out",animationName:"-moz-initial"},children:[(0,t.jsx)(C.Z,{align:"left",children:(0,t.jsx)(T.Z,{"aria-label":"minimum height",className:s().tA,minRows:2,style:{height:28,width:200,color:(null===d||void 0===d?void 0:d.color)?d.color:"#555"},maxLength:200,placeholder:"item description",value:e.description,disabled:u||e.editable,onChange:function(e){return c(e,a,"description")}})}),(0,t.jsx)(C.Z,{align:"center","aria-disabled":!0,children:(0,t.jsx)("input",{className:s().tableInput,type:"number",placeholder:"number",value:e.quantity,min:0,max:m,style:d,disabled:u||!1,onChange:function(e){return c(e,a,"quantity")}})}),(0,t.jsx)(C.Z,{align:"center",children:(0,t.jsx)(Z.h3,{prefix:o.currency_symbol,className:s().tableInput,thousandSeparator:!0,displayType:"input",placeholder:"rate",value:e.rate,disabled:u||e.editable,style:d,onValueChange:function(e){return c(e.value,a,"rate")},renderText:function(e){return e}})}),(0,t.jsx)(C.Z,{align:"center",style:d,children:(0,t.jsx)(Z.h3,{thousandSeparator:!0,displayType:"text",prefix:o.currency_symbol,value:e.amount})}),(0,t.jsx)(C.Z,{align:"center",children:(0,t.jsx)(v.Z,{className:s().deleteIcon,onClick:function(){r(void 0!==e._id?e._id.toString():0)}})})]},null===(n=e._id)||void 0===n?void 0:n.toString())}))})]})})},K=function(e){var a=e.addTC,n=e.contentEditable;return(0,t.jsx)("div",{className:s().addBtn,children:(0,t.jsx)(w.Z,{id:s().bt
1nadd,onClick:function(){return a()},icon:(0,t.jsx)(N.Z,{}),btnDisabled:n||!1})})},O=function(e){var a=e.cur,n=e.invoice,i=e.handleDetailInput,l=(e.tR,e.contentEditable,e.customStyle);return(0,t.jsxs)("div",{className:s().totalInfo,children:[(0,t.jsxs)("div",{className:s().subTotal,children:[(0,t.jsx)("input",{type:"text",placeholder:"Sub Total",value:n.subTotalLabel,style:l,onChange:function(e){return i(e,"subTotalLabel")}}),(0,t.jsx)(Z.h3,{thousandSeparator:!0,displayType:"text",prefix:n.currency_symbol,value:n.subTotal?"".concat(a," ").concat(n.subTotal):"0.00"})]}),(0,t.jsxs)("div",{className:s().vat,children:[(0,t.jsx)("input",{type:"text",placeholder:"Sale Vat/Tax",value:n.taxLabel,style:l,onChange:function(e){return i(e,"taxLabel")}}),(0,t.jsx)(f.Z,{style:l,children:"(".concat(n.tax?Math.round(n.tax/Number(n.total)*100/1):0,") %")}),(0,t.jsx)(Z.h3,{thousandSeparator:!0,style:l,displayType:"text",prefix:n.currency_symbol,value:void 0!==n.tax?"".concat(n.currency_symbol," ").concat(n.tax):0})]}),(0,t.jsxs)("div",{className:s().total,children:[(0,t.jsx)("input",{className:s().totalText,type:"text",placeholder:"Total",value:n.totalLabel,style:l,onChange:function(e){return i(e,"totalLabel")}}),(0,t.jsx)(Z.h3,{thousandSeparator:!0,displayType:"text",style:M({fontWeight:800,fontSize:"x-large"},l),prefix:n.currency_symbol,value:n.total?"".concat(n.currency_symbol," ").concat(n.total):"0.00"})]})]})},z=function(e){var a=e.handleDetailInput,n=e.notes,i=e.invoice,l=e.contentEditable,o=e.customStyle;return(0,t.jsxs)("div",{id:"dfinvoicenotes",style:{display:n},children:[(0,t.jsx)("input",{type:"text",disabled:l||!1,className:s().header,placeholder:"Notes",value:i.notesLabel,style:o,onChange:function(e){return a(e,"notesLabel")}}),(0,t.jsx)("br",{}),(0,t.jsx)(T.Z,{"aria-label":"minimum height",disabled:l||!1,className:s().tA,minRows:3,onChange:function(e){return a(e,"notes")},value:i.notes,placeholder:"It was great doing buisness with you",style:{height:28,width:400,color:(null===o||void 0===o?void 0:o.color)?o.color:"#555"},maxLength:200})]})},H=function(e){var a=e.handleDetailInput,n=e.invoice,i=e.contentEditable,l=e.customStyle,o=e.tanc;return(0,t.jsxs)("div",{id:"dfinvoicetandc",style:{display:o},children:[(0,t.jsx)("input",{type:"text",disabled:i||!1,className:s().header,placeholder:"Terms & Condition",value:n.termLabel,style:l,onChange:function(e){return a(e,"termLabel")}}),(0,t.jsx)(T.Z,{"aria-label":"minimum height",disabled:i||!1,className:s().tA,minRows:3,value:n.term,onChange:function(e){return a(e,"term")},placeholder:"please make payments by due date",style:{height:28,width:685,color:(null===l||void 0===l?void 0:l.color)?l.color:"#555"},maxLength:200})]})},U=l.forwardRef((function(e,a){var n=e.options,l=e.pdfMode,o=e.invoice,r=e.handleChange,c=e.removeItem,u=e.addTC,d=e.cur,m=e.itemArr,v=e.tR,x=e.handleDetailInput,b=e.handleItemInput,h=e.style,y=e.contentEditable,p=e.id,f=e.clientInputRef,g=e.customStyle,_=e.selClr,j=e.onChangeComplete,I=e.selectedColor,S=e.handleDateInput,C=e.hsco,D=e.dividerDisplay,T=e.csDisplay,w=e.tanc,N=e.notes,A=e.logo,Z=e.titlebox,B=e.itemEditable,M=e.max_number;return(0,t.jsx)("div",{className:s()["invoice-box"],ref:a,style:h,children:(0,t.jsxs)("div",{className:s().top,id:"trinfo",children:[(0,t.jsx)(L,{invoice:o,logo:(0,t.jsx)(k,{pdfMode:l,handleChange:r,invoice:o,logo:A}),titleInput:(0,t.jsx)(R,{invoice:o,contentEditable:y,handleDetailInput:x,customStyle:g,titlebox:Z}),hsStyleOverride:C}),(0,t.jsx)(i.Z,{sx:{borderColor:I,marginBottom:"2rem",marginTop:"1rem",display:D},id:"dfdivider"}),(0,t.jsx)("div",{style:{display:T?"none":"flex",gap:"1rem",flexDirection:"row"},children:(0,t.jsx)(P,{invoice:o,handleDetailInput:x,options:n,setter:_,contentEditable:y,customStyle:g})}),(0,t.jsxs)("div",{className:s().invInfo,style:{display:"flex"},ref:f,children:[(0,t.jsx)(E,{invoice:o,handleDetailInput:x,contentEditable:y,id:p,customStyle:g}),(0,t.jsx)(G,{handleDateInput:S,handleDetailInput:x,invoice:o,contentEditable:y,customStyle:g})]}),(0,t.jsxs)("div",{style:{height:"auto",width:"100%",overflow:"auto",background:"transparent"},children:[(0,t.jsx)(F,{invoice:o,onChangeComplete:j,selectedColor:I,cur:d,itemArr:m,removeItem:c,handleItemInput:b,customStyle:g,contentEditable:y,itemEditable:B,max_number:M}),(0,t.jsxs)("div",{className:s().btnAndTotal,children:[(0,t.jsx)(K,{addTC:u,contentEditable:y}),(0,t.jsx)(O,{cur:d,invoice:o,handleDetailInput:x,tR:v,contentEditable:y,customStyle:g})]}),(0,t.jsx)(z,{invoice:o,handleDetailInput:x,contentEditable:y,customStyle:g,notes:N}),(0,t.jsx)("br",{}),(0,t.jsx)("br",{}),(0,t.jsx)(H,{invoice:o,handleDetailInput:x,contentEditable:y,customStyle:g,tanc:w})]})]})})}))},8730:function(e,a,n){"use strict";n.d(a,{Z:function(){return v}});var t=n(85893),i=n(15861),l=n(67720),o=n(94054),r=n(30990),c=n(56939),s=n(67294),u=n(92422),d=n(56614),m=[{cc:"AED",symbol:"\u062f.\u0625;",name:"UAE dirham"},{cc:"AFN",symbol:"Afs",name:"Afghan afghani"},{cc:"ALL",symbol:"L",name:"Albanian lek"},{cc:"AMD",symbol:"AMD",name:"Armenian dram"}
1,{cc:"ANG",symbol:"NA\u0192",name:"Netherlands Antillean gulden"},{cc:"AOA",symbol:"Kz",name:"Angolan kwanza"},{cc:"ARS",symbol:"$",name:"Argentine peso"},{cc:"AUD",symbol:"$",name:"Australian dollar"},{cc:"AWG",symbol:"\u0192",name:"Aruban florin"},{cc:"AZN",symbol:"AZN",name:"Azerbaijani manat"},{cc:"BAM",symbol:"KM",name:"Bosnia and Herzegovina konvertibilna marka"},{cc:"BBD",symbol:"Bds$",name:"Barbadian dollar"},{cc:"BDT",symbol:"\u09f3",name:"Bangladeshi taka"},{cc:"BGN",symbol:"BGN",name:"Bulgarian lev"},{cc:"BHD",symbol:".\u062f.\u0628",name:"Bahraini dinar"},{cc:"BIF",symbol:"FBu",name:"Burundi franc"},{cc:"BMD",symbol:"BD$",name:"Bermudian dollar"},{cc:"BND",symbol:"B$",name:"Brunei dollar"},{cc:"BOB",symbol:"Bs.",name:"Bolivian boliviano"},{cc:"BRL",symbol:"R$",name:"Brazilian real"},{cc:"BSD",symbol:"B$",name:"Bahamian dollar"},{cc:"BTN",symbol:"Nu.",name:"Bhutanese ngultrum"},{cc:"BWP",symbol:"P",name:"Botswana pula"},{cc:"BYR",symbol:"Br",name:"Belarusian ruble"},{cc:"BZD",symbol:"BZ$",name:"Belize dollar"},{cc:"CAD",symbol:"$",name:"Canadian dollar"},{cc:"CDF",symbol:"F",name:"Congolese franc"},{cc:"CHF",symbol:"Fr.",name:"Swiss franc"},{cc:"CLP",symbol:"$",name:"Chilean peso"},{cc:"CNY",symbol:"\xa5",name:"Chinese/Yuan renminbi"},{cc:"COP",symbol:"Col$",name:"Colombian peso"},{cc:"CRC",symbol:"\u20a1",name:"Costa Rican colon"},{cc:"CUC",symbol:"$",name:"Cuban peso"},{cc:"CVE",symbol:"Esc",name:"Cape Verdean escudo"},{cc:"CZK",symbol:"K\u010d",name:"Czech koruna"},{cc:"DJF",symbol:"Fdj",name:"Djiboutian franc"},{cc:"DKK",symbol:"Kr",name:"Danish krone"},{cc:"DOP",symbol:"RD$",name:"Dominican peso"},{cc:"DZD",symbol:"\u062f.\u062c",name:"Algerian dinar"},{cc:"EEK",symbol:"KR",name:"Estonian kroon"}
1,{cc:"EGP",symbol:"\xa3",name:"Egyptian pound"},{cc:"ERN",symbol:"Nfa",name:"Eritrean nakfa"},{cc:"ETB",symbol:"Br",name:"Ethiopian birr"},{cc:"EUR",symbol:"\u20ac",name:"European Euro"},{cc:"FJD",symbol:"FJ$",name:"Fijian dollar"},{cc:"FKP",symbol:"\xa3",name:"Falkland Islands pound"},{cc:"GBP",symbol:"\xa3",name:"British pound"},{cc:"GEL",symbol:"GEL",name:"Georgian lari"},{cc:"GHS",symbol:"GH\u20b5",name:"Ghanaian cedi"},{cc:"GIP",symbol:"\xa3",name:"Gibraltar pound"},{cc:"GMD",symbol:"D",name:"Gambian dalasi"},{cc:"GNF",symbol:"FG",name:"Guinean franc"},{cc:"GQE",symbol:"CFA",name:"Central African CFA franc"},{cc:"GTQ",symbol:"Q",name:"Guatemalan quetzal"},{cc:"GYD",symbol:"GY$",name:"Guyanese dollar"},{cc:"HKD",symbol:"HK$",name:"Hong Kong dollar"},{cc:"HNL",symbol:"L",name:"Honduran lempira"},{cc:"HRK",symbol:"kn",name:"Croatian kuna"},{cc:"HTG",symbol:"G",name:"Haitian gourde"},{cc:"HUF",symbol:"Ft",name:"Hungarian forint"},{cc:"IDR",symbol:"Rp",name:"Indonesian rupiah"},{cc:"ILS",symbol:"\u20aa",name:"Israeli new sheqel"},{cc:"INR",symbol:"\u20b9",name:"Indian rupee"},{cc:"IQD",symbol:"\u062f.\u0639",name:"Iraqi dinar"},{cc:"IRR",symbol:"IRR",name:"Iranian rial"},{cc:"ISK",symbol:"kr",name:"Icelandic kr\xf3na"},{cc:"JMD",symbol:"J$",name:"Jamaican dollar"},{cc:"JOD",symbol:"JOD",name:"Jordanian dinar"},{cc:"JPY",symbol:"\xa5",name:"Japanese yen"},{cc:"KES",symbol:"KSh",name:"Kenyan shilling"},{cc:"KGS",symbol:"\u0441\u043e\u043c",name:"Kyrgyzstani som"},{cc:"KHR",symbol:"\u17db",name:"Cambodian riel"},{cc:"KMF",symbol:"KMF",name:"Comorian franc"},{cc:"KPW",symbol:"W",name:"North Korean won"},{cc:"KRW",symbol:"W",name:"South Korean won"},{cc:"KWD",symbol:"KWD",name:"Kuwaiti dinar"},{cc:"KYD",symbol:"KY$",name:"Cayman Islands dollar"},{cc:"KZT",symbol:"T",name:"Kazakhstani tenge"},{cc:"LAK",symbol:"KN",name:"Lao kip"},{cc:"LBP",symbol:"\xa3",name:"Lebanese lira"},{cc:"LKR",symbol:"Rs",name:"Sri Lankan rupee"},{cc:"LRD",symbol:"L$",name:"Liberian dollar"},{cc:"LSL",symbol:"M",name:"Lesotho loti"},{cc:"LTL",symbol:"Lt",name:"Lithuanian litas"},{cc:"LVL",symbol:"Ls",name:"Latvian lats"},{cc:"LYD",symbol:"LD",name:"Libyan dinar"},{cc:"MAD",symbol:"MAD",name:"Moroccan dirham"},{cc:"MDL",symbol:"MDL",name:"Moldovan leu"},{cc:"MGA",symbol:"FMG",name:"Malagasy ariary"},{cc:"MKD",symbol:"MKD",name:"Macedonian denar"},{cc:"MMK",symbol:"K",name:"Myanma kyat"},{cc:"MNT",symbol:"\u20ae",name:"Mongolian tugrik"},{cc:"MOP",symbol:"P",name:"Macanese pataca"},{cc:"MRO",symbol:"UM",name:"Mauritanian ouguiya"},{cc:"MUR",symbol:"Rs",name:"Mauritian rupee"},{cc:"MVR",symbol:"Rf",name:"Maldivian rufiyaa"},{cc:"MWK",symbol:"MK",name:"Malawian kwacha"},{cc:"MXN",symbol:"$",name:"Mexican peso"},{cc:"MYR",symbol:"RM",name:"Malaysian ringgit"},{cc:"MZM",symbol:"MTn",name:"Mozambican metical"},{cc:"NAD",symbol:"N$",name:"Namibian dollar"},{cc:"NGN",symbol:"\u20a6",name:"Nigerian naira"},{cc:"NIO",symbol:"C$",name:"Nicaraguan c\xf3rdoba"},{cc:"NOK",symbol:"kr",name:"Norwegian krone"},{cc:"NPR",symbol:"NRs",name:"Nepalese rupee"},{cc:"NZD",symbol:"NZ$",name:"New Zealand dollar"},{cc:"OMR",symbol:"OMR",name:"Omani rial"},{cc:"PAB",symbol:"B./",name:"Panamanian balboa"},{cc:"PEN",symbol:"S/.",name:"Peruvian nuevo sol"},{cc:"PGK",symbol:"K",name:"Papua New Guinean kina"},{cc:"PHP",symbol:"\u20b1",name:"Philippine peso"},{cc:"PKR",symbol:"Rs.",name:"Pakistani rupee"},{cc:"PLN",symbol:"z\u0142",name:"Polish zloty"},{cc:"PYG",symbol:"\u20b2",name:"Paraguayan guarani"},{cc:"QAR",symbol:"QR",name:"Qatari riyal"},{cc:"RON",symbol:"L",name:"Romanian leu"},{cc:"RSD",symbol:"din.",name:"Serbian dinar"},{cc:"RUB",symbol:"R",name:"Russian ruble"},{cc:"SAR",symbol:"SR",name:"Saudi riyal"},{cc:"SBD",symbol:"SI$",name:"Solomon Islands dollar"},{cc:"SCR",symbol:"SR",name:"Seychellois rupee"},{cc:"SDG",symbol:"SDG",name:"Sudanese pound"},{cc:"SEK",symbol:"kr",name:"Swedish krona"},{cc:"SGD",symbol:"S$",name:"Singapore dollar"},{cc:"SHP",symbol:"\xa3",name:"Saint Helena pound"},{cc:"SLL",symbol:"Le",name:"Sierra Leonean leone"},{cc:"SOS",symbol:"Sh.",name:"Somali shilling"},{cc:"SRD",symbol:"$",name:"Surinamese dollar"}
1,{cc:"SYP",symbol:"LS",name:"Syrian pound"},{cc:"SZL",symbol:"E",name:"Swazi lilangeni"},{cc:"THB",symbol:"\u0e3f",name:"Thai baht"},{cc:"TJS",symbol:"TJS",name:"Tajikistani somoni"},{cc:"TMT",symbol:"m",name:"Turkmen manat"},{cc:"TND",symbol:"DT",name:"Tunisian dinar"},{cc:"TRY",symbol:"TRY",name:"Turkish new lira"},{cc:"TTD",symbol:"TT$",name:"Trinidad and Tobago dollar"},{cc:"TWD",symbol:"NT$",name:"New Taiwan dollar"},{cc:"TZS",symbol:"TZS",name:"Tanzanian shilling"},{cc:"UAH",symbol:"UAH",name:"Ukrainian hryvnia"},{cc:"UGX",symbol:"USh",name:"Ugandan shilling"},{cc:"USD",symbol:"US$",name:"United States dollar"},{cc:"UYU",symbol:"$U",name:"Uruguayan peso"},{cc:"UZS",symbol:"UZS",name:"Uzbekistani som"},{cc:"VEB",symbol:"Bs",name:"Venezuelan bolivar"},{cc:"VND",symbol:"\u20ab",name:"Vietnamese dong"},{cc:"VUV",symbol:"VT",name:"Vanuatu vatu"},{cc:"WST",symbol:"WS$",name:"Samoan tala"},{cc:"XAF",symbol:"CFA",name:"Central African CFA franc"},{cc:"XCD",symbol:"EC$",name:"East Caribbean dollar"},{cc:"XDR",symbol:"SDR",name:"Special Drawing Rights"},{cc:"XOF",symbol:"CFA",name:"West African CFA franc"},{cc:"XPF",symbol:"F",name:"CFP franc"},{cc:"YER",symbol:"YER",name:"Yemeni rial"},{cc:"ZAR",symbol:"R",name:"South African rand"},{cc:"ZMK",symbol:"ZK",name:"Zambian kwacha"},{cc:"ZWR",symbol:"Z$",name:"Zimbabwean dollar"}],v=function(e){var a=e.taxOnChangeHandler,n=e.currentTaxRate,v=e.handleCurrency,x=e.handleStatusChange,b=e.handleCloseBtn,h=e.data;(0,s.useRef)(null);return(0,t.jsx)(s.Fragment,{children:(0,t.jsxs)(d.l0,{children:[(0,t.jsx)("div",{style:{display:"flex",flexDirection:"row",gap:"1rem",justifyContent:"space-between",alignItems:"center"},children:(0,t.jsx)(i.Z,{variant:"body1",color:"initial",children:"Invoice Settings"})}),(0,t.jsx)(l.Z,{}),(0,t.jsxs)(o.Z,{children:[(0,t.jsxs)(r.Z,{children:["Invoice Status ",(0,t.jsx)("span",{color:"green",children:"invoice"})]}),(0,t.jsxs)(d.AP,{id:"CustomSelect",value:h.status,onChange:x,children:[(0,t.jsx)("option",{value:"draft",children:"draft"}),(0,t.jsx)("option",{value:"pending",children:"pending"}),(0,t.jsx)("option",{value:"complete",children:"complete"})]}),(0,t.jsx)(c.Z,{children:"change status"})]}),(0,t.jsx)(l.Z,{}),(0,t.jsxs)(o.Z,{children:[(0,t.jsxs)(r.Z,{children:["Currency ",(0,t.jsx)("span",{color:"green",children:"global"})]}),(0,t.jsx)(d.AP,{onChange:v,value:h.currency_symbol,children:null===m||void 0===m?void 0:m.map((function(e){return(0,t.jsx)("option",{value:e.symbol,children:e.name},e.symbol)}))}),(0,t.jsx)(c.Z,{children:"Add currency"})]}),(0,t.jsx)(l.Z,{}),(0,t.jsxs)(o.Z,{children:[(0,t.jsxs)(r.Z,{children:["Tax percentage ",(0,t.jsx)("span",{color:"green",children:"invoice"})]}),(0,t.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[(0,t.jsx)(d.BU,{type:"number",max:100,min:0,onChange:a,style:{width:"100px"}}),(0,t.jsx)(i.Z,{variant:"body2",color:"initial",children:"Tax Rate : ".concat(n||"0","%")})]}),(0,t.jsx)(c.Z,{children:"value between 1 and 100"})]}),(0,t.jsx)(l.Z,{}),(0,t.jsx)("div",{style:{display:"flex",width:"100%",gap:".1rem"},children:(0,t.jsx)(u.Z,{innerText:"Continue",onClick:b,customStyle:{width:"100%"}})})]})})}},58451:function(e,a,n){"use strict";n.d(a,{W2:function(){return d},Z9:function(){return x},h4:function(){return v},iC:function(){return m}});var t=n(53918);function i(e,a){return a||(a=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(a)}}))}function l(){var e=i(["\n  position: fixed;\n  right: 0;\n  left: 1080px;\n  bottom: 0;\n  display: flex;\n  top: 4rem;\n  height: 100vh;\n  background: var(--prb);\n  border-left: 1px solid var(--sbedge);\n  flex-direction: column;\n  justify-content: flex-start;\n  //gap: 1rem;\n  @media (max-width: 500px) {\n    display: none;\n  }\n"]);return l=function(){return e},e}function o(){var e=i(["\n  display: flex;\n  flex-direction: column;\n  //overflow-y: auto;\n\n  &::-webkit-scrollbar {\n    width: 7px;\n  }\n\n  /* Track */\n  &::-webkit-scrollbar-track {\n    background: #eee;\n  }\n\n  /* Handle */\n  &::-webkit-scrollbar-thumb {\n    background: var(--primarycolor);\n    border-radius: 6px;\n  }\n\n  /* Handle on hover */\n  &::-webkit-scrollbar-thumb:hover {\n    background: var(--primarycolor);\n  }\n"]);return o=function(){return e},e}function r(){var e=i(['\n  width: 100%;\n  display: flex;\n  margin: 0;\n  font-family: "Roboto", "Helvetica", "Arial", sans-serif;\n  font-weight: 500;\n  font-size: 0.9rem;\n  display: flex;\n  align-items: center;\n  justify-content: center;
1\n  color: var(--fg);\n  padding: 0.6rem 0px;\n  //border-bottom: 1px solid #eee;\n  letter-spacing: 0.00938em;\n']);return r=function(){return e},e}function c(){var e=i(['\n  width: 100%;\n  // height: 30px;\n  background: var(--prp);\n  display: flex;\n  align-items: center;\n  flex-direction: column;\n  gap: 0.5rem;\n  justify-content: center;\n  border-bottom: 1px solid var(--prp);\n  padding: 1rem 0px 1rem 0px;\n\n  span {\n    margin: 0;\n    font-family: "Roboto", "Helvetica", "Arial", sans-serif;\n    font-weight: 500;\n    font-size: 0.9rem;\n    letter-spacing: 0.00938em;\n    width: 100%;\n    padding: 0px 1.5rem;\n  }\n\n  select {\n    height: 35px;\n    background-color: #eee;\n    border: none;\n    border-radius: 4px;\n    width: 200px;\n    padding: 0.5rem;\n    color: #555;\n    font-family: "Roboto", "Helvetica", "Arial", sans-serif;\n    font-weight: 400;\n    font-size: 1rem;\n    line-height: 1.4375em;\n    letter-spacing: 0.00938em;\n    position: relative;\n  }\n\n  input[type="text"] {\n    height: 34px;\n    width: 100%;\n    border: 1px solid var(--bg);\n    border-radius: 4px;\n    padding: 1rem;\n    color: #555;\n    font-family: "Roboto", "Helvetica", "Arial", sans-serif;\n    font-weight: 400;\n    font-size: 1rem;\n    line-height: 1.4375em;\n    background: #eee;\n    letter-spacing: 0.00938em;\n    position: relative;\n  }\n']);return c=function(){return e},e}function s(){var e=i(['\n  display: flex;\n  width: 100%;\n  height: fit-content;\n  div {\n    display: flex;\n    flex-direction: column;\n    p {\n      font-family: "Roboto", "Helvetica", "Arial", sans-serif;\n      font-weight: 400;\n      font-size: 1rem;\n      line-height: 1.4375em;\n      color: #555;\n      letter-spacing: 0.00938em;\n    }\n  }\n']);return s=function(){return e},e}function u(){var e=i(["\n  width: 50%;\n  height: 40px;\n  background: #eee;\n  div {\n    display: flex;\n    input {\n      width: 70%;\n    }\n  }\n"]);return u=function(){return e},e}var d=t.ZP.div(l()),m=t.ZP.div(o()),v=t.ZP.section(r()),x=t.ZP.div(c());t.ZP.div(s()),t.ZP.div(u())},14562:function(e){e.exports={"invoice-box":"Invoice_invoice-box__M7_Ve",fileAndEditor:"Invoice_fileAndEditor__waQBH",editorFlex:"Invoice_editorFlex__0rTOH",invkc:"Invoice_invkc__gg7RS",btnadd:"Invoice_btnadd__Muq2w",image__edit:"Invoice_image__edit__THaT8",image__remove:"Invoice_image__remove__x_PSR",deleteIcon:"Invoice_deleteIcon__pahB7",table:"Invoice_table__FaX2q",topLogo:"Invoice_topLogo__Di0pm",sectionTwo:"Invoice_sectionTwo__h_AHj",editIcon:"Invoice_editIcon__mA4dF",tA:"Invoice_tA__FhDWp",totalInfo:"Invoice_totalInfo__HtcU3",subTotal:"Invoice_subTotal__GXvcw",vat:"Invoice_vat___iVrs",total:"Invoice_total__ZbGip",totalText:"Invoice_totalText__ayyzu",select:"Invoice_select__FxC_l",header:"Invoice_header__EseRt",topHeader:"Invoice_topHeader__MWbEX",tableInput:"Invoice_tableInput__LMuyn",invInfo:"Invoice_invInfo__GpP5O",sendTo:"Invoice_sendTo__fZC_C",invDetails:"Invoice_invDetails__oFu0Q",mainInvDet:"Invoice_mainInvDet__91prT",btnAndTotal:"Invoice_btnAndTotal__km0pw",addedComDiv:"Invoice_addedComDiv__owvwR",draftnotice:"Invoice_draftnotice__Ca72o",acctext:"Invoice_acctext__8tiQS",accxtra:"Invoice_accxtra__HiiuG",compStyle:"Invoice_compStyle__kegr_",initdiv:"Invoice_initdiv__EBhKb",edcToggler:"Invoice_edcToggler__UHjCT",edcBtn:"Invoice_edcBtn__awmWx",edcBtnActive:"Invoice_edcBtnActive__oxPGq",kc:"Invoice_kc__xVRpT",lseditor:"Invoice_lseditor__AGCmf",lse_top:"Invoice_lse_top__30Ogr",lse_bar:"Invoice_lse_bar__5_QDU",lse_bottom_btn:"Invoice_lse_bottom_btn__oqVvf",editorContainer:"Invoice_editorContainer__FTcEq",editorContainerFixed:"Invoice_editorContainerFixed___8PPw",edflex:"Invoice_edflex__EKdFO",mEditor:"Invoice_mEditor__uBoxK",invComp:"Invoice_invComp__4O_2U","circle-picker":"Invoice_circle-picker__scjIH",eFlex:"Invoice_eFlex__KGitV",property_bar:"Invoice_property_bar__L533Q",prop:"Invoice_prop__7_YhY",labhdr:"Invoice_labhdr__VKQW9",col:"Invoice_col__XJqrD",fwCnt:"Invoice_fwCnt__e5psW",hder:"Invoice_hder__2V5Ao",fwOpt:"Invoice_fwOpt__Gxicr",resizable_container:"Invoice_resizable_container__q9djE",image:"Invoice_image__t3cJQ",image__file:"Invoice_image__file__7VThT",image__upload:"Invoice_image__upload__OXw51",image__img:"Invoice_image__img__Ad773",image__change:"Invoice_image__change__Wk8BR",image_change:"Invoice_image_change__LZ8jR",image_edit:"Invoice_image_edit__Y3opS","image__width-wrapper":"Invoice_image__width-wrapper__LSmIB",addBtn:"Invoice_addBtn___Mj5P",muiInput:"Invoice_muiInput__A_I4Z"}}}]);

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.