1import{a as le}from"./chunk-2ZOJC5WM.js";import{B as te,C as ne,D as ie,c as X,e as b,h as Y,i as Z,n as $,q as W,r as J,s as K,t as ee}from"./chunk-V4RBVOVY.js";import{g as O}from"./chunk-ERNBO6RL.js";import{g as I,q as _,z as oe}from"./chunk-HVHJBPYH.js";import"./chunk-HGDZ6AMD.js";import"./chunk-LSBESHNF.js";import"./chunk-BVHX55FD.js";import"./chunk-XKES3XAV.js";import{U as j,X as z,ua as H}from"./chunk-MI6MLOSR.js";import{Ac as N,Bc as C,Nb as x,Ob as p,Oc as R,Pc as M,Tb as F,Ub as t,Vb as n,Wb as a,_a as s,bc as U,da as S,ea as y,fa as w,ga as Q,hb as q,ic as E,kc as c,ob as D,pa as h,tb as A,ub as P,xc as L,yc as G,zc as e}from"./chunk-EOSBAT63.js";import"./chunk-UGY2Q5IC.js";import{a as V}from"./chunk-ZGVHDELW.js";var re=(o,u)=>({"bg-[#F94D00] text-[#ffffff]":o,"bg-[#F4F6F8] text-[#000000]":u}),ae=o=>({"":o});function de(o,u){if(o&1){let i=U();e(0,` 2`),t(1,"div",0),e(2,` 3 `),t(3,"div",1),e(4,` 4 `),t(5,"div",2),e(6,` 5 `),w(),t(7,"svg",3),e(8,` 6 `),a(9,"path",4),e(10,` 7 `),n(),e(11,` 8 `),n(),e(12,` 9 `),Q(),t(13,"div",5),e(14,` 10 Your quote has been successfully submitted. 11 `),n(),e(15,` 12 `),t(16,"div",6),e(17,`
13 Our team will contact you shortly. 14 `),n(),e(18,` 15 `),t(19,"div",7),e(20,` 16 `),t(21,"button",8),E("click",function(){S(i);let r=c();return y(r.performAction(r.actionButtons==null||r.actionButtons.homePage==null?null:r.actionButtons.homePage.action))}),e(22),n(),e(23,` 17 `),t(24,"button",9),E("click",function(){S(i);let r=c();return y(r.redirectToQuote())}),e(25),n(),e(26,` 18 `),n(),e(27,` 19 `),n(),e(28,` 20`),n(),e(29,` 21`)}if(o&2){let i=c();s(22),C(` 22 `,i.actionButtons==null||i.actionButtons.homePage==null?null:i.actionButtons.homePage.title,` 23 `),s(3),C(` 24 `,i.actionButtons==null||i.actionButtons.quotePage==null?null:i.actionButtons.quotePage.title,` 25 `)}}function se(o,u){o&1&&(e(0,` 26 `),t(1,"span",89),e(2,"*"),n(),e(3,` 27 `))}function me(o,u){o&1&&(e(0,` 28 `),t(1,"div",118),e(2,"\u2713"),n(),e(3,` 29 `))}function ue(o,u){if(o&1&&(e(0,` 30 `),t(1,"p",119),e(2),n(),e(3,` 31 `)),o&2){let i=c(3);s(2),C(` 32 `,i.fileUploadStatus(),` 33 `)}}function xe(o,u){if(o&1){let i=U();e(0,` 34 `),t(1,"div",106),e(2,` 35 `),t(3,"div",107),e(4),n(),e(5,` 36 `),t(6,"label",108),e(7,` 37 `),t(8,"span",109),e(9,` 38 `),t(10,"div"),e(11,` 39 `),w(),t(12,"svg",110),e(13,` 40 `),a(14,"path",111),e(15,` 41 `),a(16,"path",112),e(17,` 42 `),a(18,"polyline",113),e(19,` 43 `),a(20,"line",114),e(21,` 44 `),n(),e(22,` 45 `),n(),e(23,` 46 `),Q(),t(24,"div",115),e(25),x(26,se,4,0),n(),e(27,` 47 `),t(28,"div",116),e(29,` 48 JPEG, PNG, PDF, DOC, XLS, XLSX, CSV 49 `),n(),e(30,` 50 `),x(31,me,4,0),n(),e(32,` 51 `),a(33,"br"),e(34,` 52 `),x(35,ue,4,1),t(36,"input",117),E("change",function(r){S(i);let m=c(2);return y(m.uploadFile(r))}),n(),e(37,` 53 `),n(),e(38,` 54 `),n(),e(39,` 55 `)}if(o&2){let i,l=c(2);s(4),C(` 56 `,(i=l.constants())==null?null:i.tableHeading,` 57 `),s(21),C(` 58 `,l.fileName()?l.fileName():"Upload quotes product list",` 59 `),s(),p(l.StringUtils.isEmpty(l.fileName())?26:-1),s(5),p(l.fileName()?31:-1),s(4),p(l.StringUtils.isEmpty(l.fileName())&&l.fileUploadStatus()?35:-1),s(),F("accept",l.fileUploadType())("disabled",l.fileName())}}function pe(o,u){o&1&&(e(0,` 60 `),t(1,"div"),e(2,` 61 `),t(3,"span",145),e(4,` 62 Brand may have exceeded the character limit, 63 please add not more than 150 characters`),n(),e(5,` 64 `),n(),e(6,` 65 `))}function ce(o,u){o&1&&(e(0,` 66 `),t(1,"span",145),e(2,` 67 Description exceeded the character limit, please 68 add not more than 150 characters`),n(),e(3,` 69 `))}function be(o,u){o&1&&(e(0,` 70 `),t(1,"span",145),e(2,` 71 Description is required`),n(),e(3,` 72 `))}function fe(o,u){o&1&&(e(0,` 73 `),t(1,"span",145),e(2,` 74 Quantity is required`),n(),e(3,` 75 `))}function ge(o,u){if(o&1){let i=U();e(0,` 76 `),t(1,"div",82),E("click",function(){S(i);let r=c().index,m=c(3);return y(m.deleteTableRow(r))}),e(2,` 77 `),a(3,"img",146),e(4,` 78 `),n(),e(5,` 79 `)}}function he(o,u){if(o&1){let i=U();t(0,"div",133),e(1,` 80 `),t(2,"div",134),e(3,` 81 `),t(4,"div",135),e(5),n(),e(6,` 82 `),n(),e(7,` 83 `),t(8,"div",136),e(9,` 84 `),t(10,"div",137),e(11,` 85 `),t(12,"div",124),e(13,` 86 `),t(14,"div",138),e(15),n(),e(16,` 87 `),a(17,"input",139),e(18,` 88 `),x(19,pe,7,0),n(),e(20,` 89 `),t(21,"div",124),e(22,` 90 `),t(23,"div",138),e(24),t(25,"span",89),e(26,"*"),n(),e(27,` 91 `),n(),e(28,` 92 `),a(29,"input",140),e(30,` 93 94 `),t(31,"div"),e(32,` 95 `),x(33,ce,4,0),x(34,be,4,0),n(),e(35,` 96 `),n(),e(36,` 97 `),t(37,"div",124),e(38,` 98 `),t(39,"div",138),e(40),n(),e(41,` 99 `),t(42,"input",141),E("input",function(r){let m=S(i).index,f=c(3);return y(f.validateInput(r,"price",m))}),n(),e(43,` 100 `),n(),e(44,` 101 `),t(45,"div",124),e(46,` 102 `),t(47,"div",138),e(48),t(49,"span",89),e(50,"*"),n(),e(51,` 103 `),n(),e(52,` 104 `),t(53,"input",142),E("input",function(r){let m=S(i).index,f=c(3);return y(f.validateInput(r,"quantity",m))}),n(),e(54,` 105 `),t(55,"div"),e(56,` 106 `),x(57,fe,4,0),n(),e(58,` 107 `),n(),e(59,` 108 `),n(),e(60,` 109 `),n(),e(61,` 110 `),t(62,"div",143),e(63,` 111 `),t(64,"div",144),e(65,` 112 `),x(66,ge,6,0),n(),e(67,` 113 `),n(),e(68,` 114 `),n()}if(o&2){let i,l,r,m,f,B,T,v,g=u.$implicit,k=u.index,d=c(3);F("formGroupName",k),s(5),C(` 115 `,k+1,` 116 `),s(10),C(` 117 `,(i=d.constants())==null?null:i.brand,` 118 `),s(4),p(!(g==null||(l=g.get("brand"))==null||l.errors==null)&&l.errors.maxlength&&(!(g==null||(l=g.get("brand"))==null)&&l.touched)?19:-1),s(5),C(` 119 `,(r=d.constants())==null?null:r.productDescription,` 120 `),s(9),p(!(g==null||(m=g.get("description"))==null||m.errors==null)&&m.errors.maxlength&&(!(g==null||(m=g.get("description"))==null)&&m.touched)?33:-1),s(),p(!(g==null||(f=g.get("description"))==null||f.errors==null)&&f.errors.required&&(!(g==null||(f=g.get("description"))==null)&&f.touched)?34:-1),s(6),C(` 121 `,(B=d.constants())==null?null:B.targetPrice,` 122 `),s(8),C(` 123 `,(T=d.constants())==null?null:T.reqQty,` 124 `),s(9),p(!(g==null||(v=g.get("quantity"))==null||v.errors==null)&&v.errors.pattern&&(!(g==null||(v=g.get("quantity"))==null)&&v.touched)?57:-1),s(9),p(k>0?66:-1)}}function _e(o,u){o&1&&(e(0,` 125 `),t(1,"div",147),e(2,` 126 Please fill all the required fields before adding a new 127 row! 128 `),n(),e(3,` 129 `))}function Ce(o,u){if(o&1){let i=U();e(0,` 130 `),t(1,"div",106),e(2,` 131 `),t(3,"div",107),e(4,` 132 Fill your Quotes 133 `),n(),e(5,` 134 `),e(6,` 135 `),t(7,"div",120),e(8,` 136 `),t(9,"div"),e(10,` 137 `),t(11,"div",121),e(12,"S.No"),n(),e(13,` 138 `),n(),e(14,` 139 `),t(15,"div",122),e(16,` 140 `),t(17,"div",123),e(18,` 141 `),t(19,"div",124),e(20),n(),e(21,` 142 `),t(22,"div",124),e(23),t(24,"span",125),e(25,"*"),n(),e(26,` 143 `),n(),e(27,` 144 `),t(28,"div",124),e(29),n(),e(30,` 145 `),t(31,"div",124),e(32),t(33,"span",125),e(34,"*"),n(),e(35,` 146 `),n(),e(36,` 147 `),n(),e(37,` 148 `),n(),e(38,` 149 `),t(39,"div"),e(40,` 150 `),a(41,"div",126),e(42,` 151 `),n(),e(43,` 152 `),n(),e(44,` 153 `),e(45,` 154 `),t(46,"div",127),e(47,` 155 `),t(48,"div",128),e(49,` 156 `),e(50,` 157 `),P(51,he,69,11,"div",129),e(52,` 158 `),t(53,"div"),e(54,` 159 `),x(55,_e,4,0),n(),e(56,` 160 `),e(57,` 161 `),n(),e(58,` 162 `),n(),e(59,` 163 `),t(60,"div",130),e(61,` 164 `),t(62,"button",131),E("click",function(){S(i);let r=c(2);return y(r.addTableRow())}),e(63,` 165 Add Row 166 `),n(),e(64,` 167 `),n(),e(65,` 168 `),a(66,"div",132),e(67,` 169 `),n(),e(68,` 170 `)}if(o&2){let i,l,r,m,f=c(2);s(20),N((i=f.constants())==null?null:i.brand),s(3),C(` 171 `,(l=f.constants())==null?null:l.productDescription,` 172 `),s(6),N((r=f.constants())==null?null:r.targetPrice),s(3),C(` 173 `,(m=f.constants())==null?null:m.reqQty,` 174 `),s(19),F("ngForOf",f.quotationItems.controls),s(4),p(f.disabledAddButton()?55:-1)}}function ve(o,u){o&1&&(e(0,` 175 `),t(1,"small",148),e(2,"Name must contain only alphabets."),n(),e(3,` 176 `))}function Se(o,u){o&1&&(e(0,` 177 `),t(1,"small",148),e(2,"Name must be at least 3 characters."),n(),e(3,` 178 `))}function ye(o,u){o&1&&(e(0,` 179 `),t(1,"small",148),e(2,"Name cannot exceed 100 characters."),n(),e(3,` 180 `))}function Ee(o,u){o&1&&(e(0,` 181 `),t(1,"small",148),e(2,"Name is required."),n(),e(3,` 182 `))}function we(o,u){if(o&1&&(e(0,` 183 `),t(1,"div"),e(2,` 184 `),x(3,ve,4,0)(4,Se,4,0)(5,ye,4,0)(6,Ee,4,0),n(),e(7,` 185 `)),o&2){let i,l=c(2);s(3),p(!(l.userQuoteForm==null||(i=l.userQuoteForm.get("name"))==null||i.errors==null)&&i.errors.pattern?3:!(l.userQuoteForm==null||(i=l.userQuoteForm.get("name"))==null||i.errors==null)&&i.errors.minlength?4:!(l.userQuoteForm==null||(i=l.userQuoteForm.get("name"))==null||i.errors==null)&&i.errors.maxlength?5:6)}}function Qe(o,u){o&1&&(e(0,` 186 `),t(1,"div"),e(2,` 187 `),t(3,"small",148),e(4,"Mobile number is required and must be 10 digits."),n(),e(5,` 188 `),n(),e(6,` 189 `))}function Fe(o,u){o&1&&(e(0,` 190 `),t(1,"div"),e(2,` 191 `),t(3,"small",148),e(4,"Email is required and must be valid."),n(),e(5,` 192 `),n(),e(6,` 193 `))}function Be(o,u){o&1&&(e(0,` 194 `),t(1,"small",148),e(2,"Company name cannot exceed 50 characters."),n(),e(3,` 195 `))}function Te(o,u){o&1&&(e(0,` 196 `),t(1,"small",148),e(2,"Company name is required."),n(),e(3,` 197 `))}function ke(o,u){if(o&1&&(e(0,` 198 `),t(1,"div"),e(2,` 199 `),x(3,Be,4,0)(4,Te,4,0),n(),e(5,` 200 `)),o&2){let i,l=c(2);s(3),p(!(l.userQuoteForm==null||(i=l.userQuoteForm.get("company"))==null||i.errors==null)&&i.errors.maxlength?3:4)}}function Ue(o,u){o&1&&(e(0,` 201 `),t(1,"div"),e(2,` 202 `),t(3,"small",148),e(4,"Please enter a valid GST number."),n(),e(5,` 203 `),n(),e(6,` 204 `))}function Ie(o,u){o&1&&(e(0,` 205 `),t(1,"small",148),e(2,"Address must be at least 10 characters."),n(),e(3,` 206 `))}function Ve(o,u){o&1&&(e(0,` 207 `),t(1,"small",148),e(2,"Address cannot exceed 200 characters."),n(),e(3,` 208 `))}function Ne(o,u){o&1&&(e(0,` 209 `),t(1,"small",148),e(2,"Address can only contain letters, numbers, space
209s and , . - / # & '"),n(),e(3,` 210 `))}function Me(o,u){if(o&1&&(e(0,` 211 `),t(1,"div"),e(2,` 212 `),x(3,Ie,4,0)(4,Ve,4,0)(5,Ne,4,0),n(),e(6,` 213 `)),o&2){let i,l=c(2);s(3),p(!(l.userQuoteForm==null||(i=l.userQuoteForm.get("address"))==null||i.errors==null)&&i.errors.minlength?3:!(l.userQuoteForm==null||(i=l.userQuoteForm.get("address"))==null||i.errors==null)&&i.errors.maxlength?4:5)}}function qe(o,u){o&1&&(e(0,` 214 `),t(1,"small",148),e(2,"Landmark must be at least 5 characters."),n(),e(3,` 215 `))}function De(o,u){o&1&&(e(0,` 216 `),t(1,"small",148),e(2,"Landmark cannot exceed 30 characters."),n(),e(3,` 217 `))}function Ae(o,u){o&1&&(e(0,` 218 `),t(1,"small",148),e(2,"Landmark can only contain letters, numbers, spaces and , . - / # & '"),n(),e(3,` 219 `))}function Pe(o,u){if(o&1&&(e(0,` 220 `),t(1,"div"),e(2,` 221 `),x(3,qe,4,0)(4,De,4,0)(5,Ae,4,0),n(),e(6,` 222 `)),o&2){let i,l=c(2);s(3),p(!(l.userQuoteForm==null||(i=l.userQuoteForm.get("landmark"))==null||i.errors==null)&&i.errors.minlength?3:!(l.userQuoteForm==null||(i=l.userQuoteForm.get("landmark"))==null||i.errors==null)&&i.errors.maxlength?4:5)}}function Le(o,u){o&1&&(e(0,` 223 `),t(1,"div"),e(2,` 224 `),t(3,"small",148),e(4,"Pincode is required and must be valid."),n(),e(5,` 225 `),n(),e(6,` 226 `))}function Ge(o,u){o&1&&(e(0,` 227 `),t(1,"div"),e(2,` 228 `),t(3,"small",148),e(4,"Agent Id is required and must be valid."),n(),e(5,` 229 `),n(),e(6,` 230 `))}function Re(o,u){if(o&1&&(e(0,` 231 `),t(1,"div"),e(2,` 232 `),t(3,"label",88),e(4,"Agent Id"),t(5,"span",89),e(6,"*"),n()(),e(7,` 233 `),a(8,"input",149),e(9,` 234 `),x(10,Ge,7,0),n(),e(11,` 235 `)),o&2){let i,l=c(2);s(10),p(!(l.userQuoteForm==null||(i=l.userQuoteForm.get("agentId"))==null)&&i.invalid&&(!(l.userQuoteForm==null||(i=l.userQuoteForm.get("agentId"))==null)&&i.touched)?10:-1)}}function je(o,u){if(o&1&&(e(0,` 236 `),t(1,"p",150),e(2),n(),e(3,` 237 `)),o&2){let i=c(2);s(2),C(` 238 `,i.invalidForm(),` 239 `)}}function ze(o,u){if(o&1){let i=U();e(0,` 240 241 242`),e(1,` 243`),t(2,"section",10),e(3,` 244 `),e(4,` 245 `),a(5,"span",11),e(6,` 246 247 `),t(7,"div",12),e(8,` 248 `),t(9,"div",13),e(10,` 249 250 `),e(11,` 251 `),t(12,"div",14),e(13,` 252 `),t(14,"div",15),e(15,` 253 `),t(16,"span",16),e(17,` 254 `),a(18,"span",17),e(19,`Smart Quotation 255 `),n(),e(20,` 256 `),t(21,"span",18),e(22,` 257 `),w(),t(23,"svg",19),e(24,` 258 `),a(25,"circle",20),e(26,` 259 `),a(27,"path",21),e(28,` 260 `),n(),e(29,`Tailored quote in 24 hours 261 `),n(),e(30,` 262 `),n(),e(31,` 263 264 `),Q(),t(32,"h1",22),e(33,` 265 Get the best deal when you, 266 `),t(34,"span",23),e(35,`Request a Quote 267 `),a(36,"span",24),e(37,` 268 `),n(),e(38,` 269 `),n(),e(39,` 270 271 `),t(40,"p",25),e(41,"Submit your Request to unlock special discount."),n(),e(42,` 272 273 `),n(),e(43,` 274 275 `),e(44,` 276 `),t(45,"div",26),e(46,` 277 `),e(47,` 278 `),t(48,"div",27),e(49,` 279 `),a(50,"span",28),e(51,` 280 `),t(52,"div",29),e(53,` 281 `),t(54,"span",30),e(55,` 282 `),w(),t(56,"svg",31),e(57,` 283 `),a(58,"path",32),e(59,` 284 `),a(60,"circle",33),e(61,` 285 `),n(),e(62,` 286 `),n(),e(63,` 287 `),Q(),t(64,"div"),e(65,` 288 `),t(66,"p",34),e(67,"No More Searching or Comparing"),n(),e(68,` 289 `),t(69,"p",35),e(70,"Upload once \u2014 we handle the rest."),n(),e(71,` 290 `),n(),e(72,` 291 `),n(),e(73,` 292 `),n(),e(74,` 293 `),e(75,` 294 `),t(76,"div",27),e(77,` 295 `),a(78,"span",36),e(79,` 296 `),t(80,"div",29),e(81,` 297 `),t(82,"span",37),e(83,` 298 `),w(),t(84,"svg",31),e(85,` 299 `),a(86,"path",38),e(87,` 300 `),a(88,"path",39),e(89,` 301 `),a(90,"path",40),e(91,` 302 `),a(92,"path",41),e(93,` 303 `),a(94,"path",42),e(95,` 304 `),n(),e(96,` 305 `),n(),e(97,` 306 `),Q(),t(98,"div"),e(99,` 307 `),t(100,"p",34),e(101,"Better Prices, Without the Effort"),n(),e(102,` 308 `),t(103,"p",35),e(104,"Competitive pricing and Rate lock for up to "),t(105,"span",43),e(106,"30 days"),n(),e(107,"."),n(),e(108,` 309 `),n(),e(109,` 310 `),n(),e(110,` 311 `),n(),e(111,` 312 `),e(112,` 313 `),t(113,"div",27),e(114,` 314 `),a(115,"span",44),e(116,` 315 `),t(117,"div",29),e(118,` 316 `),t(119,"span",45),e(120,` 317 `),w(),t(121,"svg",31),e(122,` 318 `),a(123,"path",46),e(124,` 319 `),a(125,"path",47),e(126,` 320 `),n(),e(127,` 321 `),n(),e(128,` 322 `),Q(),t(129,"div"),e(130,` 323 `),t(131,"p",34),e(132,"Reliable Supply You Can Trust"),n(),e(133,` 324 `),t(134,"p",35),e(135,"One Price for Multi-Location Delivery"),n(),e(136,` 325 `),n(),e(137,` 326 `),n(),e(138,` 327 `),n(),e(139,` 328 `),e(140,` 329 `),t(141,"div",27),e(142,` 330 `),a(143,"span",48),e(144,` 331 `),t(145,"div",29),e(146,` 332 `),t(147,"span",49),e(148,` 333 `),w(),t(149,"svg",31),e(150,` 334 `),a(151,"path",50),e(152,` 335 `),a(153,"path",51)(154,"path",52)(155,"path",53),e(156,` 336 `),a(157,"path",54),e(158,` 337 `),a(159,"path",55)(160,"path",56)(161,"path",57),e(162,` 338 `),a(163,"path",58),e(164,` 339 `),a(165,"path",59)(166,"path",60)(167,"path",61),e(168,` 340 `),n(),e(169,` 341 `),n(),e(170,` 342 `),Q(),t(171,"div"),e(172,` 343 `),t(173,"p",34),e(174,"One Platform, One Vendor"),n(),e(175,` 344 `),t(176,"p",35),e(177,"One stop shop for all your needs"),n(),e(178,` 345 `),n(),e(179,` 346 `),n(),e(180,` 347 `),n(),e(181,` 348 `),n(),e(182,` 349 350 `),n(),e(183,` 351 `),e(184,` 352 `),t(185,"div",62),e(186,` 353 `),t(187,"div",63),e(188,` 354 `),t(189,"span",64),e(190,"1"),n(),e(191,` 355 `),w(),t(192,"svg",65),a(193,"path",66)(194,"path",67),n(),e(195,` 356 Raise Requirement 357 `),t(196,"svg",68),a(197,"path",69)(198,"path",70),n(),e(199,` 358 `),n(),e(200,` 359 `),e(201,` 360 `),t(202,"svg",71),a(203,"path",72)(204,"path",73),n(),e(205,` 361 `),Q(),t(206,"div",63),e(207,` 362 `),t(208,"span",64),e(209,"2"),n(),e(210,` 363 `),w(),t(211,"svg",65),a(212,"circle",20)(213,"path",21),n(),e(214,` 364 Receive Quote within 24 hours 365 `),t(215,"svg",68),a(216,"path",69)(217,"path",70),n(),e(218,` 366 `),n(),e(219,` 367 `),e(220,` 368 `),t(221,"svg",71),a(222,"path",72)(223,"path",73),n(),e(224,` 369 `),Q(),t(225,"div",63),e(226,` 370 `),t(227,"span",64),e(228,"3"),n(),e(229,` 371 `),w(),t(230,"svg",65),a(231,"circle",20)(232,"path",47),n(),e(233,` 372 Select & Approve Product 373 `),t(234,"svg",68),a(235,"path",69)(236,"path",70),n(),e(237,` 374 `),n(),e(238,` 375 `),e(239,` 376 `),t(240,"svg",71),a(241,"path",72)(242,"path",73),n(),e(243,` 377 `),Q(),t(244,"div",63),e(245,` 378 `),t(246,"span",64),e(247,"4"),n(),e(248,` 379 `),w(),t(249,"svg",65),a(250,"path",74)(251,"path",75)(252,"path",76)(253,"circle",77)(254,"circle",78),n(),e(255,` 380 Door step Delivery 381 `),n(),e(256,` 382 `),n(),e(257,` 383 `),n(),e(258,` 384`),n(),e(259,` 385`),e(260,` 386 387`),e(261,` 388`),Q(),t(262,"div",79),e(263,` 389 `),e(264,` 390 `),e(265,` 391 `),e(266,` 392 `),e(267,` 393 `),t(268,"div",80),e(269,` 394 `),t(270,"div",81),e(271,` 395 `),t(272,"div",82),E("click",function(){S(i);let r=c();return y(r.changeTab(!0))}),e(273,` 396 `),t(274,"div",83),e(275),n(),e(276,` 397 `),n(),e(277,` 398 `),t(278,"div",82),E("click",function(){S(i);let r=c();return y(r.changeTab(!1))}),e(279,` 399 `),t(280,"div",83),e(281),n(),e(282,` 400 `),n(),e(283,` 401 `),n(),e(284,` 402 `),n(),e(285,` 403 `),e(286,` 404 `),e(287,` 405 `),t(288,"div",84),e(289,` 406 `),t(290,"form",85),E("ngSubmit",function(){S(i);let r=c();return y(r.handleSubmit())}),e(291,` 407 `),t(292,"div"),e(293,` 408 `),t(294,"div",86),e(295,` 409 `),e(296,` 410 `),x(297,xe,40,7)(298,Ce,69,6),n(),e(299,` 411 `),t(300,"div",87),e(301,` 412 `),t(302,"div"),e(303,` 413 `),t(304,"label",88),e(305,"Name"),t(306,"span",89),e(307,"*"),n()(),e(308,` 414 `),a(309,"input",90),e(310,` 415 `),x(311,we,8,1),n(),e(312,` 416 `),t(313,"div"),e(314,` 417 `),t(315,"label",88),e(316,"Mobile No"),t(317,"span",89),e(318,"*"),n()(),e(319,` 418 `),a(320,"input",91),e(321,` 419 `),x(322,Qe,7,0),n(),e(323,` 420 `),t(324,"div"),e(325,` 421 `),t(326,"label",88),e(327,"Email Id"),t(328,"span",89),e(329,"*"),n()(),e(330,` 422 `),a(331,"input",92),e(332,` 423 `),x(333,Fe,7,0),n(),e(334,` 424 `),n(),e(335,` 425 `),t(336,"div",87),e(337,` 426 `),t(338,"div"),e(339,` 427 `),t(340,"label",88),e(341,"Company Name"),t(342,"span",89),e(343,"*"),n()(),e(344,`
428 `),a(345,"input",93),e(346,` 429 `),x(347,ke,6,1),n(),e(348,` 430 `),t(349,"div"),e(350,` 431 `),t(351,"label",88),e(352,"GST Number"),n(),e(353,` 432 `),a(354,"input",94),e(355,` 433 `),x(356,Ue,7,0),n(),e(357,` 434 `),t(358,"div"),e(359,` 435 `),t(360,"label",88),e(361,"Address"),n(),e(362,` 436 `),a(363,"input",95),e(364,` 437 `),x(365,Me,7,1),n(),e(366,` 438 `),n(),e(367,` 439 `),t(368,"div",87),e(369,` 440 `),t(370,"div"),e(371,` 441 `),t(372,"label",88),e(373,"Landmark"),n(),e(374,` 442 `),a(375,"input",96),e(376,` 443 `),x(377,Pe,7,1),n(),e(378,` 444 `),t(379,"div"),e(380,` 445 `),t(381,"label",88),e(382,"Pincode"),t(383,"span",89),e(384,"*"),n(),e(385,` 446 `),n(),e(386,` 447 `),t(387,"input",97),E("input",function(){S(i);let r=c();return y(r.checkPincodeDetails())}),n(),e(388,` 448 `),x(389,Le,7,0),n(),e(390,` 449 `),t(391,"div"),e(392,` 450 `),t(393,"label",88),e(394,"City"),t(395,"span",89),e(396,"*"),n()(),e(397,` 451 `),a(398,"input",98),e(399,` 452 `),n(),e(400,` 453 `),n(),e(401,` 454 `),t(402,"div",87),e(403,` 455 `),t(404,"div"),e(405,` 456 `),t(406,"label",88),e(407,"State"),t(408,"span",89),e(409,"*"),n()(),e(410,` 457 `),a(411,"input",99),e(412,` 458 `),n(),e(413,` 459 `),x(414,Re,12,1),n(),e(415,` 460 461 `),t(416,"div",87),e(417,` 462 `),t(418,"div",100),e(419,` 463 `),t(420,"div",101),e(421,` 464 `),t(422,"div"),e(423,` 465 `),t(424,"input",102),E("change",function(r){S(i);let m=c();return y(m.captureAgentId(r))}),n(),e(425,` 466 `),n(),e(426,` 467 `),t(427,"div"),e(428,` 468 `),t(429,"label",103),e(430,"I am being assisted by an Agent"),n(),e(431,` 469 `),n(),e(432,` 470 `),n(),e(433,` 471 `),n(),e(434,` 472 `),n(),e(435,` 473 `),e(436,` 474 `),x(437,je,4,1),t(438,"div",104),e(439,` 475 `),t(440,"button",105),e(441,` 476 SUBMIT REQUEST 477 `),n(),e(442,` 478 `),n(),e(443,` 479 `),n(),e(444,` 480 `),n(),e(445,` 481 `),n(),e(446,` 482 `),e(447,` 483 `),e(448,` 484 `),e(449,` 485`),n(),e(450,` 486`)}if(o&2){let i,l,r,m,f,B,T,v,g,k,d=c();s(274),F("ngClass",M(18,re,d.fillQuote(),!d.fillQuote())),s(),C(` 487 `,(i=d.constants())==null?null:i.fillUploadType,` 488 `),s(5),F("ngClass",M(21,re,!d.fillQuote(),d.fillQuote())),s(),C(` 489 `,(l=d.constants())==null?null:l.templateUploadType,` 490 `),s(9),F("formGroup",d.userQuoteForm),s(4),F("ngClass",R(24,ae,d.fillQuote())),s(3),p(d.fillQuote()?298:297),s(14),p(!(d.userQuoteForm==null||(r=d.userQuoteForm.get("name"))==null)&&r.invalid&&(!(d.userQuoteForm==null||(r=d.userQuoteForm.get("name"))==null)&&r.touched)?311:-1),s(11),p(!(d.userQuoteForm==null||(m=d.userQuoteForm.get("mobile"))==null)&&m.invalid&&(!(d.userQuoteForm==null||(m=d.userQuoteForm.get("mobile"))==null)&&m.touched)?322:-1),s(11),p(!(d.userQuoteForm==null||(f=d.userQuoteForm.get("email"))==null)&&f.invalid&&(!(d.userQuoteForm==null||(f=d.userQuoteForm.get("email"))==null)&&f.touched)?333:-1),s(14),p(!(d.userQuoteForm==null||(B=d.userQuoteForm.get("company"))==null)&&B.invalid&&(!(d.userQuoteForm==null||(B=d.userQuoteForm.get("company"))==null)&&B.touched)?347:-1),s(9),p(!(d.userQuoteForm==null||(T=d.userQuoteForm.get("gst"))==null)&&T.invalid&&(!(d.userQuoteForm==null||(T=d.userQuoteForm.get("gst"))==null)&&T.touched)?356:-1),s(9),p(!(d.userQuoteForm==null||(v=d.userQuoteForm.get("address"))==null)&&v.invalid&&(!(d.userQuoteForm==null||(v=d.userQuoteForm.get("address"))==null)&&v.touched)?365:-1),s(12),p(!(d.userQuoteForm==null||(g=d.userQuoteForm.get("landmark"))==null)&&g.invalid&&(!(d.userQuoteForm==null||(g=d.userQuoteForm.get("landmark"))==null)&&g.touched)?377:-1),s(12),p(!(d.userQuoteForm==null||(k=d.userQuoteForm.get("zipcode"))==null)&&k.invalid&&(!(d.userQuoteForm==null||(k=d.userQuoteForm.get("zipcode"))==null)&&k.touched)||d.invalidPincode()?389:-1),s(25),p(d.showAgentId()?414:-1),s(23),p(d.invalidForm()?437:-1),s(3),F("disabled",d.userQuoteForm.invali
490d||d.fetchPincode())}}var rt=(()=>{class o extends oe{constructor(i){super(),this.formBuilder=i,this.fillQuote=h(!0,{}),this.addressBookData=h(null,{}),this.quotation=h([],{}),this.tableRowCount=h(1,{}),this.tableRows=h([{id:1}],{}),this.brand=h("",{}),this.description=h("",{}),this.quantity=h("",{}),this.fileName=h("",{}),this.fileUploadStatus=h("",{}),this.fileUploadType=h([],{}),this.maxDocSize=h(0,{}),this.maxQuoteItem=h(0,{}),this.disabledAddButton=h(!1,{}),this.BYTES_PER_MB=1024*1024,this.StringUtils=I,this.invalidForm=h("",{}),this.fetchPincode=h(!1,{}),this.invalidPincode=h(!1,{}),this.constants=h(null,{}),this.showAgentId=h(!1,{}),this.scrollToTop=()=>{window.scrollTo({top:0,behavior:"smooth"})}}ngOnInit(){this.addressBookData.set(this.slot?.widget?.data?.addressBook),this.quotation.set(this.slot?.widget?.data?.quotation),this.actionButtons=this.slot?.widget?.data?.actionButtons,this.quoteFormBuilder(),this.addressBookData()?.phone&&this.patchDetails(),this.maxDocSize.set(this.slot?.widget?.data?.constants?.fileUploadSize),this.maxQuoteItem.set(this.slot?.widget?.data?.constants?.maxQuoteItem),this.fileUploadType.set(this.slot.widget.data.constants.fileUploadType),this.constants.set(this.slot.widget.data.constants)}quoteFormBuilder(){this.userQuoteForm=this.formBuilder.group({name:["",[b.required,b.pattern(_.NAME_REGEX),_.minLengthTrimmed(3),_.maxLengthTrimmed(100)]],mobile:["",[b.required,b.pattern(_.PHONE_REGEX)]],email:["",[b.required,b.pattern(_.EMAIL_REGEXP)]],company:["",[b.required,_.maxLengthTrimmed(50)]],gst:["",[b.pattern(_.GSTIN_REGEX)]],address:["",[_.minLengthTrimmed(10),_.maxLengthTrimmed(200),b.pattern(_.ADDRESS_REGEX)]],landmark:["",[_.minLengthTrimmed(5),_.maxLengthTrimmed(30),b.pattern(_.ADDRESS_REGEX)]],zipcode:["",[b.required,b.pattern(_.PINCODE_REGEX)]],state:["",[b.required,b.maxLength(20)]],city:["",[b.required,b.maxLength(20)]],quotationItems:this.formBuilder.array([this.createQuoteItem()]),uploadedQuote:[""],agentId:[]})}createQuoteItem(){return this.formBuilder.group({brand:["",[b.maxLength(100)]],description:["",[b.required,b.maxLength(200)]],quantity:["",[b.required,b.pattern(_.NUMBERS_ONLY)]],targetPrice:[""]})}changeTab(i){this.fillQuote.set(i);let l=this.userQuoteForm?.get("quotationItems"),r=this.userQuoteForm?.get("uploadedQuote");this.fillQuote()?(l.clear(),l.push(this.createQuoteItem()),r?.clearValidators(),r?.updateValueAndValidity()):(l.clear(),r?.setValidators([b.required]),r?.updateValueAndValidity())}handleSubmit(){if(!this.userQuoteForm?.valid){this.invalidForm.set(this.slot?.widget?.data?.constants?.invalidForm);return}if(!this.fillQuote()&&!this.userQuoteForm.get("uploadedQuote")?.value.length){this.fileUploadStatus.set("Please upload quote!");return}this.userQuoteForm.get("uploadedQuote")?.value.length&&this.fillQuote()&&this.userQuoteForm.patchValue({uploadedQuote:""});let i=V({},this.userQuoteForm.getRawValue());i.uploadType=this.fillQuote()?"FILLED_QUOTE":"TEMPLATE_QUOTE",this.actionEvent({actionData:{type:O.SUBMIT_USER_QUOTE,params:i}}),this.scrollToTop()}patchDetails(){let i=this.addressBookData();if(i){let l=["name","mobile","email","company","gst","address","landmark","zipcode","state","city"];this.userQuoteForm.patchValue({name:I.format("{0} {1}",i?.first_name,i?.last_name),mobile:i?.phone,email:i?.email,company:i?.company_name,gst:i?.gstin_number,address:I.format("{0} {1}",i?.address,i?.address2),landmark:i?.landmark,zipcode:i?.pincode,state:i?.state?.name,city:i?.city?.name,country:i?.country?.name}),l.forEach(r=>this.userQuoteForm.get(r)?.markAsTouched())}i?.state?.name&&i?.city?.name&&(this.userQuoteForm.get("state")?.disable(),this.userQuoteForm.get("city")?.disable())}get quotationItems(){return this.userQuoteForm?.get("quotationItems")}addTableRow(){if(this.quotationItems.length>=this.maxQuoteItem())return;let i=this.quotationItems?.at(this.quotationItems?.length-1)?.value;if(!i?.quantity?.length||!i?.description?.length){this.disabledAddButton.set(!0);let l=this.quotationItems?.at(this?.quotationItems?.length-1);Object?.keys(l?.controls)?.forEach(r=>{l?.get(r)?.markAsTouched()});return}this.disabledAddButton.set(!1),this.quotationItems.push(this.createQuoteItem()),setTimeout(()=>
490{let l=document.querySelector(".overflow-y-auto");l&&l?.scrollTo({top:l.scrollHeight,behavior:"smooth"})},100)}deleteTableRow(i){if(this.quotationItems.length===1)return;this.quotationItems.removeAt(i),this.quotationItems.controls.forEach((r,m)=>{r.get("id")?.setValue(m+1)});let l=this.quotationItems.at(this.quotationItems.length-1)?.value;if(!l?.quantity?.length||!l?.description?.length){this.disabledAddButton.set(!0);return}this.disabledAddButton.set(!1)}uploadFile(i){let l=i.target.files[0];if(!this.isValidFileSize(l)){this.fileUploadStatus.set(this.slot?.widget?.data?.constants?.invalidFileUploadSize);return}let r=new FormData;r.append("file",l,l.name),this.apiService.callFileUploadApi(r).subscribe({next:m=>{m.status?(this.userQuoteForm.patchValue({uploadedQuote:m.data.publicUrl}),this.fileName.set(l.name)):this.fileUploadStatus.set("upload failed")},error:m=>{this.fileUploadStatus.set("upload failed")}})}isValidFileSize(i){return!(i.size/this.BYTES_PER_MB>this.maxDocSize())}performAction(i){this.actionEvent({actionData:V({},i)})}redirectToQuote(){window.location.reload()}validateInput(i,l,r){let m=i.target.value;l==="quantity"?m=m.replace(/[^0-9]/g,""):l==="price"&&(m=m.replace(/^(\d*\.?\d{0,2}).*$/,"$1")),i.target.value=m;let f=l==="quantity"?"quantity":"targetPrice",v=this.userQuoteForm.get("quotationItems").at(r).get(f);v&&v.setValue(m,{emitEvent:!1})}checkPincodeDetails(){this.fetchPincode.set(!0);let i=this.userQuoteForm?.get("zipcode");if(!i.valid){this.fetchPincode.set(!1);return}let l={type:le.PINCODE,pincode:i.value};this.apiService.callVerificationApi(l).subscribe({next:r=>{let m=r.RESPONSE.data;if(!m.status){this.userQuoteForm.patchValue({pincode:i.value}),this.invalidPincode.set(!0);return}this.userQuoteForm.patchValue({city:m?.city?.name,state:m?.state?.name}),this.userQuoteForm.get("state")?.disable(),this.userQuoteForm.get("city")?.disable(),this.fetchPincode.set(!1),this.invalidPincode.set(!1)},error:()=>{this.fetchPincode.set(!1)}})}captureAgentId(i){let r=i.target.checked,m=this.userQuoteForm.get("agentId");m&&(this.showAgentId.set(r),r?m.setValidators([b.required,b.maxLength(100),b.pattern(_.IB_MAIL_REGEX)]):(m.setValue(null),m.clearValidators()),m.updateValueAndValidity())}static{this.\u0275fac=function(l){return new(l||o)(q(te))}}static{this.\u0275cmp=D({type:o,selectors:[["user-quote"]],hostVars:4,hostBindings:function(l,r){l&2&&(L(r.ngStyle),G(r.ngClass))},inputs:{ngClass:"ngClass",ngStyle:"ngStyle",actionEvent:"actionEvent",slot:"slot"},features:[A],decls:2,vars:1,consts:[[1,"pt-[20px]"],[1,"bg-[#ECFFDC]","m-auto","max-w-[500px]","rounded-md","shadow-md","p-[20px]","mx-auto"],[1,"mb-[15px]","text-center"],["width","5.2em","height","5.2em","viewBox","0 0 24 24",1,"text-center","m-auto","text-[green]"],["fill","currentColor","fill-rule","evenodd","d","M5.5 1a.5.5 0 0 0-.477.65l.11.35H3.5a.5.5 0 0 0-.5.5v12a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5v-12a.5.5 0 0 0-.5-.5h-1.632l.11-.35A.5.5 0 0 0 10.5 1zm.68 1h3.64l-.313 1H6.493zm1.674 8.854l3.5-3.5l-.707-.708L7.5 9.793L5.854 8.146l-.708.708l2 2a.5.5 0 0 0 .708 0","clip-rule","evenodd"],[1,"text-center","text-[25px]","font-semibold","mb-[15px]"],[1,"text-center","m-auto","shadow-sm","p-2","mb-[20px]","text-sm","text-yellow-800","font-semibold"],[1,"flex","gap-[10px]","items-center","mx-auto","justify-center"],[1,"bg-[#F94D00]","text-[14px]","rounded-[100px]","pl-[10px]","pr-[10px]","pt-[10px]","pb-[10px]","text-center","text-[#FFFFFF]","h-[45px]","w-[200px]","font-semibold","uppercase",3,"click"],[1,"bg-[#10ac37]","text-[14px]","rounded-[100px]","pl-[10px]","pr-[10px]","pt-[10px]","pb-[10px]","text-center","text-[#FFFFFF]","h-[45px]","w-[200px]","font-semibold","uppercase",3,"click"],[1,"relative","mx-[calc(50%-50vw)]","w-screen","overflow-hidden","border-b","border-slate-200","bg-white"],["aria-hidden","true",1,"absolute","inset-y-0","left-0","hidden","w-1","bg-[#F86610]","lg:block"],[1,"relative","mx-auto","w-full","max-w-[1500px]","px-5","py-5","md:px-8","md:py-6","lg:pl-10"],[1,"flex","flex-col","gap-5","lg:flex-row","lg:items-center","lg:gap-8"],[1,"flex","min-w-0","flex-1","flex-col","justify-center","gap-3"],[1,"flex","flex-wrap","items-center","gap-2"],[1,"inline-flex","items-center","gap-2","rounded-full","border-2","border-[#d88935]","bg-orange-50","px-3","py-0.5","text-[11px]","font-bold","uppercase","tracking-[0.18em]","text-orange-600","shadow-[inset_0_0_0_1px_#d88935]"],[1,"h-1.5","w-1.5","rounded-full","bg-orange-500"],[1,"inline-flex","items-center","gap-1.5","rounded-full","border","border-slate-200","bg-slate-50","px-3","py-0.5","text-[11px]","font-medium","text-slate-600"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round","aria-hidden","true",1,"h-3","w-3","text-orange-500"],["cx","12","cy","12","r","10"],["d","M12 6v6l4 2"],[1,"text-[1.6rem]","font-extrabold","leading-tight","tracking-tight","text-slate-900","md:text-[1.9rem]"],[1,"relative","inline-block","md:whitespace-nowrap",2,"color","#F86610"],["aria-hidden","true",1,"absolute","-bottom-1","left-0","h-1.5","w-full","rounded-full","bg-gradient-to-r","from-orange-400/70","to-orange-300/30"],[1,"text-sm","leading-relaxed","text-black"],[1,"hidden","lg:grid","self-start","shrink-0","grid-cols-2","gap-3","lg:w-[660px]"],[1,"group","relative","overflow-hidden","rounded-xl","border","border-slate-200","bg-white","px-4","py-2","pt-3.5","shadow-[0_1px_3px_rgba(15,42,72,0.12),0_8px_20px_-16px_rgba(15,42,72,0.35)]","transition-all","hover:-translate-y-0.5","hover:shadow-[0_8px_20px_-14px_rgba(15,42,72,0.36)]"],[1,"absolute","
490inset-x-0","top-0","h-1","bg-orange-400"],[1,"flex","items-center","gap-3"],[1,"flex","h-9","w-9","shrink-0","items-center","justify-center","rounded-lg","bg-slate-900"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round","aria-hidden","true",1,"h-4","w-4","text-white"],["d","m21 21-4.34-4.34"],["cx","11","cy","11","r","8"],[1,"text-sm","font-bold","text-slate-900"],[1,"mt-0.5","text-xs","leading-snug","text-black"],[1,"absolute","inset-x-0","top-0","h-1","bg-emerald-500"],[1,"flex","h-9","w-9","shrink-0","items-center","justify-center","rounded-lg","bg-emerald-700"],["d","M6 3h12"],["d","M6 8h12"],["d","m6 13 8.5 8"],["d","M6 13h3"],["d","M9 13c6.667 0 6.667-10 0-10"],[1,"font-bold","text-emerald-700"],[1,"absolute","inset-x-0","top-0","h-1","bg-rose-500"],[1,"flex","h-9","w-9","shrink-0","items-center","justify-center","rounded-lg","bg-rose-800"],["d","M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"],["d","m9 12 2 2 4-4"],[1,"absolute","inset-x-0","top-0","h-1","bg-blue-500"],[1,"flex","h-9","w-9","shrink-0","items-center","justify-center","rounded-lg","bg-blue-700"],["d","M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z"],["d","m7 16.5-4.74-2.85"],["d","m7 16.5 5-3"],["d","M7 16.5v5.17"],["d","M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z"],["d","m17 16.5-5-3"],["d","m17 16.5 4.74-2.85"],["d","M17 16.5v5.17"],["d","M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z"],["d","M12 8 7.26 5.15"],["d","m12 8 4.74-2.85"],["d","M12 13.5V8"],[1,"flex","flex-row","flex-nowrap","items-center","gap-x-3","overflow-x-auto","border-t","border-slate-200/70","pt-3","py-1","lg:flex-wrap","lg:justify-center","lg:gap-x-5","lg:gap-y-0","lg:overflow-visible"],[1,"flex","shrink-0","items-center","gap-2","text-xs","font-medium","text-black"],[1,"flex","h-5","w-5","items-center","justify-center","rounded-full","bg-orange-500","text-[10px]","font-bold","text-white"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round","aria-hidden","true",1,"h-3.5","w-3.5","text-slate-400"],["d","M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"],["d","M14 2v5a1 1 0 0 0 1 1h5"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2","aria-hidden","true",1,"hidden","lg:block","h-3.5","w-3.5","text-slate-300"],["d","M5 12h14"],["d","m12 5 7 7-7 7"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2","aria-hidden","true",1,"hidden","h-3.5","w-3.5","text-slate-300"],["d","M12 5v14"],["d","m19 12-7 7-7-7"],["d","M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2"],["d","M15 18H9"],["d","M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14"],["cx","17","cy","18","r","2"],["cx","7","cy","18","r","2"],["id","smartbuy-form",1,"py-5","md:px-[0px]","px-[10px]"],[1,"mb-[20px]","flex","justify-center"],[1,"bg-[#ffffff]","shadow-md","p-[5px]","rounded-[50px]","md:w-[500px]","w-full","grid","grid-cols-2","gap-[10px]"],[1,"cursor-pointer",3,"click"],[1,"flex","min-h-[45px]","items-center","justify-center","px-[10px]","text-center","rounded-full","font-semibold","md:text-[16px]","text-[13px]",3,"ngClass"],[1,"shadow-md","bg-[#ffffff]","rounded-[5px]","mb-[20px]","p-[20px]","max-w-[1200px]","mx-auto"],[3,"ngSubmit","formGroup"],[1,"mb-[20px]",3,"ngClass"],[1,"grid","md:grid-cols-3","grid-cols-1","gap-[20px]","mb-[20px]"],[1,"mb-[5px]","text-[13px]","text-[#5B5B5B]"],[1,"text-[red]"],["type","text","formControlName","name",1,"w-full","border-solid","border-[1px]","mt-[8px]","rounded-md","border-[#BCBCBC]","px-3","py-3","font-sans","text-sm","font-normal","text-blue-gray-700","outline","outline-0","transition-all","placeholder-shown:border","placeholder-shown:border-blue-gray-200","placeholder-shown:border-t-blue-gray-200","focus:border-1","focus:border-gray-900","focus:border-t-transparent","focus:!border-t-gray-900","focus:outline-0","disabled:border-0","disabled:bg-blue-gray-50"],["type","text","formControlName","mobile",1,"w-full","border-solid","border-[1px]","mt-[8px]","rounded-md","border-[#BCBCBC]","px-3","py-3","font-sans","text-sm","font-normal","text-blue-gray-700","outline","outline-0","transition-all","placeholder-shown:border","placeholder-shown:border-blue-gray-200","placeholder-shown:border-t-blue-gray-200","focus:border-1","focus:border-gray-900","focus:border-t-transparent","focus:!border-t-gray-900","focus:outline-0","disabled:border-0","disabled:bg-blue-gray-50"],["type","text","formControlName","email",1,"w-full","border-solid","border-[1px]","mt-[8px]","rounded-md","border-[#BCBCBC]","px-3","py-3","font-sans","text-sm","font-normal","text-blue-gray-700","outline","outline-0","transition-all","placeholder-shown:border","placeholder-shown:border-blue-gray-200","placeholder-shown:border-t-blue-gray-200","focus:border-1","focus:border-gray-900","focus:border-t-transparent","focus:!border-t-gray-900","focus:outline-0","disabled:border-0","disabled:bg-blue-gray-50"],["type","text","formControlName","company",1,"w-full","border-solid","border-[1px]","mt-[8px]","rounded-md","border-[#BCBCBC]","px-3","py-3","font-sans","text-sm","font-normal","text-blue-gray-700","outline","outline-0","transition-all","placeholder-shown:border","placeholder-shown:border-blue-gray-200","placeholder-shown:border-t-blue-gray-200","focus:border-1","focus:border-gray-900","focus:border-t-transparent","focus:!border-t-gray-900","focus:outline-0","disabled:border-0","disabled:bg-blue-gray-50"],["type","text","formControlName","gst",1,"w-full","border-solid","border-[1px]","mt-[8px]","rounded-md","border-[#BCBCBC]","px-3","py-3","font-sans","text-sm","font-normal","text-blue-gray-700","outline","outline-0","transition-all","placeholder-shown:border","placeholder-shown:border-blue-gray-200","placeholder-shown:border-t-blue-gray-200","focus:border-1","focus:border-gray-900","focus:border-t-transparent","focus:!border-t-gray-900","focus:outline-0","disabled:border-0","disabled:bg-blue-gray-50"],["type","text","formControlName","address",1,"w-full","border-solid","border-[1px]","mt-[8px]","rounded-md","border-[#BCBCBC]","px-3","py-3","font-sans","text-sm","font-normal","text-blue-gray-700","outline","outline-0","transition-all","placeholder-shown:border","placeholder-shown:border-blue-gray-200","placeholder-shown:border-t-blue-gray-200","focus:border-1","focus:border-gray-900","focus:border-t-transparent","focus:!border-t-gray-900","focus:outline-0","disabled:border-0","disabled:bg-blue-gray-50"],["type","text","formControlName","landmark",1,"w-full","border-solid","border-[1px]","mt-[8px]","rounded-md","border-[#BCBCBC]","px-3","py-3","font-sans","text-sm","font-normal","text-blue-gray-700","outline","outline-0","transition-all","placeholder-shown:border","placeholder-shown:border-blue-gray-200","placeholder-shown:border-t-blue-gray-200","focus:border-1","focus:border-gray-900","focus:border-t-transparent","focus:!border-t-gray-900","focus:outline-0","disabled:border-0","disabled:bg-blue-gray-50"],["type","text","formControlName","zipcode",1,"w-full","border-solid","border-[1px]","mt-[8px]","rounded-md","border-[#BCBCBC]","px-3","py-3","font-sans","text-sm","font-normal","text-blue-gray-700","outline","outline-0","transition-all","placeholder-shown:border","placeholder-shown:border-blue-gray-200","placeholder-shown:border-t-blue-gray-200","focus:border-1","focus:border-gray-900","focus:border-t-transparent","focus:!border-t-gray-900","focus:outline-0","disabled:border-0","disabled:bg-blue-gray-50",3,"input"],["type","text","formControlName","city",1,"w-full","border-solid","border-[1px]","mt-[8px]","rounded-md","border-[#BCBCBC]","px-3","py-3","font-sans","text-sm","font-normal","text-blue-gray-700","outline","outline-0","transition-all","placeholder-shown:border","placeholder-shown:border-blue-gray-200","placeholder-shown:border-t-blue-gray-200","focus:border-1","focus:border-gray-900","focus:border-t-transparent","focus:!border-t-gray-900","focus:outline-0","disabled:border-0","disabled:bg-blue-gray-50"],["type","text","formControlName","state",1,"w-full","border-solid","border-[1px]","mt-[8px]","rounded-md","border-[#BCBCBC]","px-3","py-3","font-sans","text-sm","font-normal","text-blue-gray-700","outline","outline-0","transition-all","placeholder-shown:border","placeholder-shown:border-blue-gray-200","placeholder-shown:border-t-blue-gray-200","focus:border-1","focus:border-gray-900","focus:border-t-transparent","focus:!border-t-gray-900","focus:outline-0","disabled:border-0","disabled:bg-blue-gray-50"],[1,"flex","align-center"],[1,"flex","items-center","gap-2","leading-[23px]"],["type","checkbox",1,"w-full","border-solid","border-[1px]","mt-[8px]","rounded-md","border-[#BCBCBC]","px-3","py-3","font-sans","text-sm","font-normal","text-blue-gray-700","outline","outline-0","transition-all","placeholder-shown:border","placeholder-shown:border-blue-gray-200","placeholder-shown:border-t-blue-gray-200","focus:border-1","focus:border-gray-900","focus:border-t-transparent","focus:!border-t-gray-900","focus:outline-0","disabled:border-0","disabled:bg-blue-gray-50",3,"change"],[1,"mb-[5px]","text-[13px]","text-[#000]"],[1,"mt-[30px]","m-auto","w-full","flex","items-center","justify-end"],["type","submit",1,"bg-[#F94D00]","text-[#ffffff]","py-[15px]","px-[25px]","text-center","rounded-[5px]","font-semibold","text-[16px]","disabled:bg-[#eee]","disabled:text-[#5f5f5f]","md:w-auto","w-full",3,"disabled"],[1,""],[1,"text-[#F94D00]","md:text-[20px]","text-[18px]","font-[600]","mb
490-[15px]"],["tabindex","0",1,"relative","h-[200px]","items-center","flex","cursor-pointer","appearance-none","justify-center","rounded-md","border","border-dashed","border-[#162F4D]","px-3","py-6","text-sm","transition","hover:border-[#F94D00]","focus:border-solid","disabled:cursor-not-allowed","disabled:bg-gray-200","disabled:opacity-75"],["for","photo-dropbox",1,"flex","flex-col","items-center","space-x-2"],["viewBox","0 0 256 256",1,"h-[60px]","w-[60px]","stroke-gray-400"],["d","M96,208H72A56,56,0,0,1,72,96a57.5,57.5,0,0,1,13.9,1.7","fill","none","stroke-linecap","round","stroke-linejoin","round","stroke-width","24"],["d","M80,128a80,80,0,1,1,144,48","fill","none","stroke-linecap","round","stroke-linejoin","round","stroke-width","24"],["points","118.1 161.9 152 128 185.9 161.9","fill","none","stroke-linecap","round","stroke-linejoin","round","stroke-width","24"],["x1","152","y1","208","x2","152","y2","128","fill","none","stroke-linecap","round","stroke-linejoin","round","stroke-width","24"],[1,"text-lg","font-medium","text-gray-600"],[1,"text-[#BCBCBC]","text-[14px]"],["type","file",1,"sr-only","disabled:cursor-not-allowed","disabled:bg-gray-200","disabled:opacity-75",3,"change","accept","disabled"],[1,"text-[#0caf27]","text-3xl","w-5"],[1,"text-[red]","text-md","absolute","bottom-70","m-auto","pt-2"],[1,"md:flex","hidden","gap-[2px]","text-[#5B5B5B]","text-[15px]","bg-[#DFECFF]","font-[600]"],[1,"w-[60px]","p-[10px]"],[1,"grow"],[1,"grid","grid-cols-4","gap-[10px]","uppercase"],[1,"p-[10px]"],[1,"text-[#ff0000]"],[1,"w-[60px]"],[1,"md:max-h-[265px]","max-h-[400px]","overflow-y-auto"],["formArrayName","quotationItems"],["class","flex md:flex-nowrap flex-wrap gap-[2px] md:bg-transparent bg-[#F4F6F8] rounded-[5px] md:mb-[0px] mb-[15px]",3,"formGroupName",4,"ngFor","ngForOf"],[1,"pt-[0px]","ml-auto","table","mb-[20px]"],["type","button",1,"bg-[#162F4D]","text-[#ffffff]","py-[15px]","px-[25px]","text-center","rounded-[5px]","font-semibold","text-[16px]",3,"click"],[1,"border-[#a5a5a5]","border","border-dashed"],[1,"flex","md:flex-nowrap","flex-wrap","gap-[2px]","md:bg-transparent","bg-[#F4F6F8]","rounded-[5px]","md:mb-[0px]","mb-[15px]",3,"formGroupName"],[1,"flex","items-center","text-center","md:shrink","grow","md:bg-transparent","bg-[#DFECFF]","rounded-t-[5px]"],[1,"md:w-[60px]","w-full","p-[10px]"],[1,"md:grow","w-full"],[1,"grid","md:grid-cols-4","grid-cols-1","md:gap-[10px]","gap-[0px]","uppercase"],[1,"md:hidden","block","mb-[5px]","text-[13px]","text-[#5B5B5B]"],["formControlName","brand","type","text",1,"w-full","border-solid","border-[1px]","rounded-md","border-[#BCBCBC]","px-3","py-3","font-sans","text-sm","font-normal","text-blue-gray-700","outline","outline-0","transition-all","placeholder-shown:border","placeholder-shown:border-blue-gray-200","placeholder-shown:border-t-blue-gray-200","focus:border-1","focus:border-gray-900","focus:border-t-transparent","focus:!border-t-gray-900","focus:outline-0","disabled:border-0","disabled:bg-blue-gray-50"],["formControlName","description","type","text",1,"w-full","border-solid","border-[1px]","border-[#BCBCBC]","rounded-md","px-3","py-3","font-sans","text-sm","font-normal","text-blue-gray-700","outline","outline-0","transition-all","placeholder-shown:border","placeholder-shown:border-blue-gray-200","placeholder-shown:border-t-blue-gray-200","focus:border-1","focus:border-gray-900","focus:border-t-transparent","focus:!border-t-gray-900","focus:outline-0","disabled:border-0","disabled:bg-blue-gray-50"],["formControlName","targetPrice","type","text",1,"w-full","border-solid","border-[1px]","rounded-md","border-[#BCBCBC]","px-3","py-3","font-sans","text-sm","font-normal","text-blue-gray-700","outline","outline-0","transition-all","placeholder-shown:border","placeholder-shown:border-blue-gray-200","placeholder-shown:border-t-blue-gray-200","focus:border-1","focus:border-gray-900","focus:border-t-transparent","focus:!border-t-gray-900","focus:outline-0","disabled:border-0","disabled:bg-blue-gray-50",3,"input"],["formControlName","quantity","type","text",1,"w-full","border-solid","border-[1px]","border-[#BCBCBC]","rounded-md","px-3","py-3","font-sans","text-sm","font-normal","text-blue-gray-700","outline","outline-0","transition-all","placeholder-shown:border","placeholder-shown:border-blue-gray-200","placeholder-shown:border-t-blue-gray-200","focus:border-1","focus:border-gray-900","focus:border-t-transparent","focus:!border-t-gray-900","focus:outline-0","disabled:border-0","disabled:bg-blue-gray-50",3,"input"],[1,"flex","items-center","md:shrink","md:w-auto","w-full","justify-center"],[1,"md:w-[60px]","w-full","flex","justify-center","md:pb-[0px]","pb-[10px]"],[1,"m-auto","text-red-500","text-[10px]","font-medium","lowercase"],["src","https://static3.industrybuying.com/a-wk/images/svg/trash.svg"],[1,"my-[10px]","text-red-500","font-normal","text-center"],[1,"text-red-500","text-[12px]"],["type","text","formControlName","agentId",1,"w-full","border-solid","border-[1px]","mt-[8px]","rounded-md","border-[#BCBCBC]","px-3","py-3","font-sans","text-sm","font-normal","text-blue-gray-700","outline","outline-0","transition-all","placeholder-shown:border","placeholder-shown:border-blue-gray-200","placeholder-shown:border-t-blue-gray-200","focus:border-1","focus:border-gray-900","focus:border-t-transparent","focus:!border-t-gray-900","focus:outline-0","disabled:border-0","disabled:bg-blue-gray-50"],[1,"text-[red]","text-md","flex","items-center","justify-center","bottom-70","m-auto"]],template:function(l,r){l&1&&x(0,de,30,2)(1,ze,451,26),l&2&&p(r.StringUtils.isEmpty(r.quotation())?1:0)},dependencies:[H,j,z,ne,$,X,Y,Z,ie,ee,K,W,J],encapsulation:2})}}return o}
490)();export{rt as UserQuoteComponent}; 491//# sourceMappingURL=chunk-PZSKSLSP.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.