@innofulfill/hubops-shipment-tracking 0.1.71 → 0.1.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),x=require("react"),u=require("antd"),ge=require("react-router-dom");function At(s){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const n in s)if(n!=="default"){const a=Object.getOwnPropertyDescriptor(s,n);Object.defineProperty(t,n,a.get?a:{enumerable:!0,get:()=>s[n]})}}return t.default=s,Object.freeze(t)}const E=At(x),pe="data:image/gif;base64,R0lGODlhAAIAAvf/AMrd8s9jen12sraqysesw6ghSNrq+8vI4NHi92tSk8jG3dTl+MyasDAlg9a1yuz0/caBmXYoZcgYMpNnlpaRwL57mNJEWr262LrF4qOfyNbE2dCBl9emukspd8nT6oh4rLCs0Nfd8Ojx/Mi60tUkOr6GosV7lcyUq1ZNmsx0jGNborlnhsPT68mJoYmDuHBpqrZXd9fV6LCrzIc4bYlXi8vd8jwyi8VadMnX7cUrRtNVavL4/sRKZN/s/Pf6/m0paWplpMbB2bcmRuXj7+71/MK2z9SuwlUpc6mEq9jm+dWes8qku7lHZcze88Y7VdaYrLo8Wtjj9tM3TKSgyais0qSKsvLx90pAk9Lj9644XEY4h9XM4dbm+dXi9tIUKtM9UsdpgsjL4pOHt8hTbZiSwUk/k83I3tTQ5MOhujgpfqiXvau02L+Ys6sgRtQsQnc2ctWMoNYRJrC529Z2isQiPtUSKO72/VcxetNec9MfNTwpfcDM6MYxS9J9ktjT5rKt0dHg9c3Z73hjndjZ7K9BZeDt/NjW6L7I46wtUpePu7y52J6izI+JuXxCfFQ2gNPX7IqAs3MwbcrH4NG5z11CiIhIfV1UmqB0ntRPZJqfytQaL9fl+JyXw52BrL6Bnsjb8dUUKtYXLHNwrMygt7Cz1pOWxb2z0bCfwcjZ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AAwseTLiw4cOIEytezLix48eQI0ueTLmy5cuYM2vezLmz58+gQ4seTbq06dOoU6tezbq169ewY8ueTbu27du4c+vezbu379/AgwsfTry48ePIkytfzry58+fQo0ufTr269evYs2vfzr279+/gw4v/H0++vPnz6NOrX8++vfv38OPLn0+/vv37+PPr38+/v///AAYo4IAEFmjggQgmqOCCDDbo4IMQRijhhBRWaOGFGGao4YYcdujhhyCGKOKIJJZo4okopqjiiiy26OKLMMYo44w01mjjjTjmqOOOPPbo449ABinkkEQWaeSRSCap5JJMNunkk1BGKeWUVFZp5ZVYZqnlllx26eWXYIYp5phklmnmmWimqeaabLbp5ptwxinnnHTWaeedeCq2CzTG2CECML70EEww/hRqqAHB9OALNSIg88wwveR51i7P2AFMDwYYqummnHbqjwGL2gGppFv1Mowd1GTq6aqsstoDMMvs/0LqVKf6omqruObq6S/APBPprEmZKsKtuhZrLKe+xAosUcMAQ+yx0EZbaLK/wtfLns8Y0ycy3Har7aPQyFrbMMNKa+65hgIzTHqUWkpNMM8WG8yijo6qWi92+ILuvvv+sky13kFjKab8rtoDNaICDFovD8Rb8MPG8ipudgLbCrGxvohgL2fDTHPxx+cCM7F0wjoMsq6+2DFyZcPoe/LL0YoMnanOwrxvDyJAQ1nLNvcMrczLkWuyz9H2oKxjwnhM9NK6/vIAcgz3wPTH1CyzGMNTZ52rv8RBU67WH/+i8mF2DA322f4A7RvPaL+sNmBsty33ptIQ0Vvcc5/89koKK//VyzV5B76pLyvThrfgehdu0t5JDUMo4pBLY3Vt0LgMec+Mj/SAP4oX9ffloKfdN2ufh0505h9tzvlS0DxuOuS/dI5a2a8v7TRJdhgqe1C013553a0NI7XvTP+yQ0jPaLq7T70oTTzoT6dW+vNTo24RNMQuz5Mwrk/NBRbWUN8qNaOD5rj4WnO9Efebaq/TMmZ//L0zNRzzySdNgFwM2LGTNj36WrMeRNjXvqKormfFwEIz7He/Bn4CAB9TB/4QoI6s9S80whgeAM+mvor0onu6G0ovgNEzLiCgCQ5MYQP3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EcMhO8kqmENZF+vCVrdHFz2jhhUPhPDlu1TIGSathr3Hmh55x1ImYcP3MzyzgfTyguOlmjr+broBjHYEjTlMPaG2QB8AycYEAAh+QQFCgD/ACxKAUABIwAZAAAIyQD/CRwYhIapgQgTKly48FKECJUGbGJIseK/WZEePpzRaZzFjwPVaBwJsYokkBQ3VSLJstE8NUEmohRoiqVNjZEq0bhUq4oaNVWqXKLRKOGEm0iTPkToQalTmwiRPJ2qceCmGVSpDhyQVatAGl2nCpQUVuy/WmWf/gvxJq3Tf6fcvl0pN+m/AY3qIhUYCElGvSQR9m0LeGnCKAMm/K1LcdaAS3ndgvRwqhYNwl5n/nukSA2SoURnvMEcIdIbcZoZRhMIaGCNGgIDAgAh+QQFCgD/ACwjASUBGAAXAAAIsQD/CRxIkKAkGqYKKlz471GtCBFmzGLIsEuVGRAhXqJYEF65RhlDXuAoMAiNkCgrdaE4bh7KlxGQLJyFJBJMmGEIblKD8SZMGsUEmqrks6gagUSL+nzj4d8ppUUnbPqXFOrLKgIvWH15dODDrREinSrYparSSAOOKQxidQY/imqUzqD1LxzFCT4rHSL5D5DZjJX28BWoqmdGGiwGD7xgE+KExIoHPo0wAVXkglVq1SUZEAA7",tt=x.createContext({});function st(s){var t,n,a="";if(typeof s=="string"||typeof s=="number")a+=s;else if(typeof s=="object")if(Array.isArray(s)){var o=s.length;for(t=0;t<o;t++)s[t]&&(n=st(s[t]))&&(a&&(a+=" "),a+=n)}else for(n in s)s[n]&&(a&&(a+=" "),a+=n);return a}function wt(){for(var s,t,n=0,a="",o=arguments.length;n<o;n++)(s=arguments[n])&&(t=st(s))&&(a&&(a+=" "),a+=t);return a}const yt={aliceblue:"9ehhb",antiquewhite:"9sgk7",aqua:"1ekf",aquamarine:"4zsno",azure:"9eiv3",beige:"9lhp8",bisque:"9zg04",black:"0",blanchedalmond:"9zhe5",blue:"73",blueviolet:"5e31e",brown:"6g016",burlywood:"8ouiv",cadetblue:"3qba8",chartreuse:"4zshs",chocolate:"87k0u",coral:"9yvyo",cornflowerblue:"3xael",cornsilk:"9zjz0",crimson:"8l4xo",cyan:"1ekf",darkblue:"3v",darkcyan:"rkb",darkgoldenrod:"776yz",darkgray:"6mbhl",darkgreen:"jr4",darkgrey:"6mbhl",darkkhaki:"7ehkb",darkmagenta:"5f91n",darkolivegreen:"3bzfz",darkorange:"9yygw",darkorchid:"5z6x8",darkred:"5f8xs",darksalmon:"9441m",darkseagreen:"5lwgf",darkslateblue:"2th1n",darkslategray:"1ugcv",darkslategrey:"1ugcv",darkturquoise:"14up",darkviolet:"5rw7n",deeppink:"9yavn",deepskyblue:"11xb",dimgray:"442g9",dimgrey:"442g9",dodgerblue:"16xof",firebrick:"6y7tu",floralwhite:"9zkds",forestgreen:"1cisi",fuchsia:"9y70f",gainsboro:"8m8kc",ghostwhite:"9pq0v",goldenrod:"8j4f4",gold:"9zda8",gray:"50i2o",green:"pa8",greenyellow:"6senj",grey:"50i2o",honeydew:"9eiuo",hotpink:"9yrp0",indianred:"80gnw",indigo:"2xcoy",ivory:"9zldc",khaki:"9edu4",lavenderblush:"9ziet",lavender:"90c8q",lawngreen:"4vk74",lemonchiffon:"9zkct",lightblue:"6s73a",lightcoral:"9dtog",lightcyan:"8s1rz",lightgoldenrodyellow:"9sjiq",lightgray:"89jo3",lightgreen:"5nkwg",lightgrey:"89jo3",lightpink:"9z6wx",lightsalmon:"9z2ii",lightseagreen:"19xgq",lightskyblue:"5arju",lightslategray:"4nwk9",lightslategrey:"4nwk9",lightsteelblue:"6wau6",lightyellow:"9zlcw",lime:"1edc",limegreen:"1zcxe",linen:"9shk6",magenta:"9y70f",maroon:"4zsow",mediumaquamarine:"40eju",mediumblue:"5p",mediumorchid:"79qkz",mediumpurple:"5r3rv",mediumseagreen:"2d9ip",mediumslateblue:"4tcku",mediumspringgreen:"1di2",mediumturquoise:"2uabw",mediumvioletred:"7rn9h",midnightblue:"z980",mintcream:"9ljp6",mistyrose:"9zg0x",moccasin:"9zfzp",navajowhite:"9zest",navy:"3k",oldlace:"9wq92",olive:"50hz4",olivedrab:"472ub",orange:"9z3eo",orangered:"9ykg0",orchid:"8iu3a",palegoldenrod:"9bl4a",palegreen:"5yw0o",paleturquoise:"6v4ku",palevioletred:"8k8lv",papayawhip:"9zi6t",peachpuff:"9ze0p",peru:"80oqn",pink:"9z8wb",plum:"8nba5",powderblue:"6wgdi",purple:"4zssg",rebeccapurple:"3zk49",red:"9y6tc",rosybrown:"7cv4f",royalblue:"2jvtt",saddlebrown:"5fmkz",salmon:"9rvci",sandybrown:"9jn1c",seagreen:"1tdnb",seashell:"9zje6",sienna:"6973h",silver:"7ir40",skyblue:"5arjf",slateblue:"45e4t",slategray:"4e100",slategrey:"4e100",snow:"9zke2",springgreen:"1egv",steelblue:"2r1kk",tan:"87yx8",teal:"pds",thistle:"8ggk8",tomato:"9yqfb",turquoise:"2j4r4",violet:"9b10u",wheat:"9ld4j",white:"9zldr",whitesmoke:"9lhpx",yellow:"9zl6o",yellowgreen:"61fzm"},v=Math.round;function ye(s,t){const n=s.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],a=n.map(o=>parseFloat(o));for(let o=0;o<3;o+=1)a[o]=t(a[o]||0,n[o]||"",o);return n[3]?a[3]=n[3].includes("%")?a[3]/100:a[3]:a[3]=1,a}const We=(s,t,n)=>n===0?s:s/100;function ne(s,t){const n=t||255;return s>n?n:s<0?0:s}class K{isValid=!0;r=0;g=0;b=0;a=1;_h;_s;_l;_v;_max;_min;_brightness;constructor(t){function n(a){return a[0]in t&&a[1]in t&&a[2]in t}if(t)if(typeof t=="string"){let o=function(r){return a.startsWith(r)};const a=t.trim();if(/^#?[A-F\d]{3,8}$/i.test(a))this.fromHexString(a);else if(o("rgb"))this.fromRgbString(a);else if(o("hsl"))this.fromHslString(a);else if(o("hsv")||o("hsb"))this.fromHsvString(a);else{const r=yt[a.toLowerCase()];r&&this.fromHexString(parseInt(r,36).toString(16).padStart(6,"0"))}}else if(t instanceof K)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(n("rgb"))this.r=ne(t.r),this.g=ne(t.g),this.b=ne(t.b),this.a=typeof t.a=="number"?ne(t.a,1):1;else if(n("hsl"))this.fromHsl(t);else if(n("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){const n=this.toHsv();return n.h=t,this._c(n)}getLuminance(){function t(r){const g=r/255;return g<=.03928?g/12.92:Math.pow((g+.055)/1.055,2.4)}const n=t(this.r),a=t(this.g),o=t(this.b);return .2126*n+.7152*a+.0722*o}getHue(){if(typeof this._h>"u"){const t=this.getMax()-this.getMin();t===0?this._h=0:this._h=v(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/t+2:(this.r-this.g)/t+4))}return this._h}getSaturation(){if(typeof this._s>"u"){const t=this.getMax()-this.getMin();t===0?this._s=0:this._s=t/this.getMax()}return this._s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(t=10){const n=this.getHue(),a=this.getSaturation();let o=this.getLightness()-t/100;return o<0&&(o=0),this._c({h:n,s:a,l:o,a:this.a})}lighten(t=10){const n=this.getHue(),a=this.getSaturation();let o=this.getLightness()+t/100;return o>1&&(o=1),this._c({h:n,s:a,l:o,a:this.a})}mix(t,n=50){const a=this._c(t),o=n/100,r=m=>(a[m]-this[m])*o+this[m],g={r:v(r("r")),g:v(r("g")),b:v(r("b")),a:v(r("a")*100)/100};return this._c(g)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){const n=this._c(t),a=this.a+n.a*(1-this.a),o=r=>v((this[r]*this.a+n[r]*n.a*(1-this.a))/a);return this._c({r:o("r"),g:o("g"),b:o("b"),a})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#";const n=(this.r||0).toString(16);t+=n.length===2?n:"0"+n;const a=(this.g||0).toString(16);t+=a.length===2?a:"0"+a;const o=(this.b||0).toString(16);if(t+=o.length===2?o:"0"+o,typeof this.a=="number"&&this.a>=0&&this.a<1){const r=v(this.a*255).toString(16);t+=r.length===2?r:"0"+r}return t}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const t=this.getHue(),n=v(this.getSaturation()*100),a=v(this.getLightness()*100);return this.a!==1?`hsla(${t},${n}%,${a}%,${this.a})`:`hsl(${t},${n}%,${a}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,n,a){const o=this.clone();return o[t]=ne(n,a),o}_c(t){return new this.constructor(t)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){const n=t.replace("#","");function a(o,r){return parseInt(n[o]+n[r||o],16)}n.length<6?(this.r=a(0),this.g=a(1),this.b=a(2),this.a=n[3]?a(3)/255:1):(this.r=a(0,1),this.g=a(2,3),this.b=a(4,5),this.a=n[6]?a(6,7)/255:1)}fromHsl({h:t,s:n,l:a,a:o}){if(this._h=t%360,this._s=n,this._l=a,this.a=typeof o=="number"?o:1,n<=0){const D=v(a*255);this.r=D,this.g=D,this.b=D}let r=0,g=0,m=0;const d=t/60,b=(1-Math.abs(2*a-1))*n,C=b*(1-Math.abs(d%2-1));d>=0&&d<1?(r=b,g=C):d>=1&&d<2?(r=C,g=b):d>=2&&d<3?(g=b,m=C):d>=3&&d<4?(g=C,m=b):d>=4&&d<5?(r=C,m=b):d>=5&&d<6&&(r=b,m=C);const I=a-b/2;this.r=v((r+I)*255),this.g=v((g+I)*255),this.b=v((m+I)*255)}fromHsv({h:t,s:n,v:a,a:o}){this._h=t%360,this._s=n,this._v=a,this.a=typeof o=="number"?o:1;const r=v(a*255);if(this.r=r,this.g=r,this.b=r,n<=0)return;const g=t/60,m=Math.floor(g),d=g-m,b=v(a*(1-n)*255),C=v(a*(1-n*d)*255),I=v(a*(1-n*(1-d))*255);switch(m){case 0:this.g=I,this.b=b;break;case 1:this.r=C,this.b=b;break;case 2:this.r=b,this.b=I;break;case 3:this.r=b,this.g=C;break;case 4:this.r=I,this.g=b;break;case 5:default:this.g=b,this.b=C;break}}fromHsvString(t){const n=ye(t,We);this.fromHsv({h:n[0],s:n[1],v:n[2],a:n[3]})}fromHslString(t){const n=ye(t,We);this.fromHsl({h:n[0],s:n[1],l:n[2],a:n[3]})}fromRgbString(t){const n=ye(t,(a,o)=>o.includes("%")?v(a/100*255):a);this.r=n[0],this.g=n[1],this.b=n[2],this.a=n[3]}}const ue=2,qe=.16,vt=.05,kt=.05,It=.15,nt=5,at=4,Mt=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function Ge(s,t,n){let a;return Math.round(s.h)>=60&&Math.round(s.h)<=240?a=n?Math.round(s.h)-ue*t:Math.round(s.h)+ue*t:a=n?Math.round(s.h)+ue*t:Math.round(s.h)-ue*t,a<0?a+=360:a>=360&&(a-=360),a}function Pe(s,t,n){if(s.h===0&&s.s===0)return s.s;let a;return n?a=s.s-qe*t:t===at?a=s.s+qe:a=s.s+vt*t,a>1&&(a=1),n&&t===nt&&a>.1&&(a=.1),a<.06&&(a=.06),Math.round(a*100)/100}function Ze(s,t,n){let a;return n?a=s.v+kt*t:a=s.v-It*t,a=Math.max(0,Math.min(1,a)),Math.round(a*100)/100}function Tt(s,t={}){const n=[],a=new K(s),o=a.toHsv();for(let r=nt;r>0;r-=1){const g=new K({h:Ge(o,r,!0),s:Pe(o,r,!0),v:Ze(o,r,!0)});n.push(g)}n.push(a);for(let r=1;r<=at;r+=1){const g=new K({h:Ge(o,r),s:Pe(o,r),v:Ze(o,r)});n.push(g)}return t.theme==="dark"?Mt.map(({index:r,amount:g})=>new K(t.backgroundColor||"#141414").mix(n[r],g).toHexString()):n.map(r=>r.toHexString())}const Me=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];Me.primary=Me[5];function St(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Dt(s,t){if(!s)return!1;if(s.contains)return s.contains(t);let n=t;for(;n;){if(n===s)return!0;n=n.parentNode}return!1}const Ye="data-rc-order",Ve="data-rc-priority",Rt="rc-util-key",Te=new Map;function it({mark:s}={}){return s?s.startsWith("data-")?s:`data-${s}`:Rt}function Le(s){return s.attachTo?s.attachTo:document.querySelector("head")||document.body}function Et(s){return s==="queue"?"prependQueue":s?"prepend":"append"}function He(s){return Array.from((Te.get(s)||s).children).filter(t=>t.tagName==="STYLE")}function ot(s,t={}){if(!St())return null;const{csp:n,prepend:a,priority:o=0}=t,r=Et(a),g=r==="prependQueue",m=document.createElement("style");m.setAttribute(Ye,r),g&&o&&m.setAttribute(Ve,`${o}`),n?.nonce&&(m.nonce=n?.nonce),m.innerHTML=s;const d=Le(t),{firstChild:b}=d;if(a){if(g){const C=(t.styles||He(d)).filter(I=>{if(!["prepend","prependQueue"].includes(I.getAttribute(Ye)))return!1;const D=Number(I.getAttribute(Ve)||0);return o>=D});if(C.length)return d.insertBefore(m,C[C.length-1].nextSibling),m}d.insertBefore(m,b)}else d.appendChild(m);return m}function _t(s,t={}){let{styles:n}=t;return n||=He(Le(t)),n.find(a=>a.getAttribute(it(t))===s)}function Bt(s,t){const n=Te.get(s);if(!n||!Dt(document,n)){const a=ot("",t),{parentNode:o}=a;Te.set(s,o),s.removeChild(a)}}function Ot(s,t,n={}){const a=Le(n),o=He(a),r={...n,styles:o};Bt(a,r);const g=_t(t,r);if(g)return r.csp?.nonce&&g.nonce!==r.csp?.nonce&&(g.nonce=r.csp?.nonce),g.innerHTML!==s&&(g.innerHTML=s),g;const m=ot(s,r);return m.setAttribute(it(r),t),m}function rt(s){return s?.getRootNode?.()}function Ft(s){return rt(s)instanceof ShadowRoot}function Lt(s){return Ft(s)?rt(s):null}var lt={};let Se={};const Ue=[],Ht=s=>{Ue.push(s)};function Ut(s,t){if(lt.NODE_ENV!=="production"&&!s&&console!==void 0){const n=Ue.reduce((a,o)=>o(a??"","warning"),t);n&&console.error(`Warning: ${n}`)}}function Qt(s,t){if(lt.NODE_ENV!=="production"&&!s&&console!==void 0){const n=Ue.reduce((a,o)=>o(a??"","note"),t);n&&console.warn(`Note: ${n}`)}}function zt(){Se={}}function ct(s,t,n){!t&&!Se[n]&&(s(!1,n),Se[n]=!0)}function me(s,t){ct(Ut,s,t)}function Wt(s,t){ct(Qt,s,t)}me.preMessage=Ht;me.resetWarned=zt;me.noteOnce=Wt;function qt(s){return s.replace(/-(.)/g,(t,n)=>n.toUpperCase())}function Gt(s,t){me(s,`[@ant-design/icons] ${t}`)}function Ke(s){return typeof s=="object"&&typeof s.name=="string"&&typeof s.theme=="string"&&(typeof s.icon=="object"||typeof s.icon=="function")}function Je(s={}){return Object.keys(s).reduce((t,n)=>{const a=s[n];switch(n){case"class":t.className=a,delete t.class;break;default:delete t[n],t[qt(n)]=a}return t},{})}function De(s,t,n){return n?x.createElement(s.tag,{key:t,...Je(s.attrs),...n},(s.children||[]).map((a,o)=>De(a,`${t}-${s.tag}-${o}`))):x.createElement(s.tag,{key:t,...Je(s.attrs)},(s.children||[]).map((a,o)=>De(a,`${t}-${s.tag}-${o}`)))}function dt(s){return Tt(s)[0]}function ht(s){return s?Array.isArray(s)?s:[s]:[]}const Pt=`
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),x=require("react"),u=require("antd"),ge=require("react-router-dom");function At(s){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const n in s)if(n!=="default"){const a=Object.getOwnPropertyDescriptor(s,n);Object.defineProperty(t,n,a.get?a:{enumerable:!0,get:()=>s[n]})}}return t.default=s,Object.freeze(t)}const E=At(x),pe="data:image/gif;base64,R0lGODlhAAIAAvf/AMrd8s9jen12sraqysesw6ghSNrq+8vI4NHi92tSk8jG3dTl+MyasDAlg9a1yuz0/caBmXYoZcgYMpNnlpaRwL57mNJEWr262LrF4qOfyNbE2dCBl9emukspd8nT6oh4rLCs0Nfd8Ojx/Mi60tUkOr6GosV7lcyUq1ZNmsx0jGNborlnhsPT68mJoYmDuHBpqrZXd9fV6LCrzIc4bYlXi8vd8jwyi8VadMnX7cUrRtNVavL4/sRKZN/s/Pf6/m0paWplpMbB2bcmRuXj7+71/MK2z9SuwlUpc6mEq9jm+dWes8qku7lHZcze88Y7VdaYrLo8Wtjj9tM3TKSgyais0qSKsvLx90pAk9Lj9644XEY4h9XM4dbm+dXi9tIUKtM9UsdpgsjL4pOHt8hTbZiSwUk/k83I3tTQ5MOhujgpfqiXvau02L+Ys6sgRtQsQnc2ctWMoNYRJrC529Z2isQiPtUSKO72/VcxetNec9MfNTwpfcDM6MYxS9J9ktjT5rKt0dHg9c3Z73hjndjZ7K9BZeDt/NjW6L7I46wtUpePu7y52J6izI+JuXxCfFQ2gNPX7IqAs3MwbcrH4NG5z11CiIhIfV1UmqB0ntRPZJqfytQaL9fl+JyXw52BrL6Bns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4odS7as2bNo06pdy7at27dw48qdS7eu3bt48+rdy7ev37+AAwseTLiw4cOIEytezLix48eQI0ueTLmy5cuYM2vezLmz58+gQ4seTbq06dOoU6tezbq169ewY8ueTbu27du4c+vezbu379/AgwsfTry48ePIkytfzry58+fQo0ufTr269evYs2vfzr279+/gw4v/H0++vPnz6NOrX8++vfv38OPLn0+/vv37+PPr38+/v///AAYo4IAEFmjggQgmqOCCDDbo4IMQRijhhBRWaOGFGGao4YYcdujhhyCGKOKIJJZo4okopqjiiiy26OKLMMYo44w01mjjjTjmqOOOPPbo449ABinkkEQWaeSRSCap5JJMNunkk1BGKeWUVFZp5ZVYZqnlllx26eWXYIYp5phklmnmmWimqeaabLbp5ptwxinnnHTWaeedeCq2CzTG2CECML70EEww/hRqqAHB9OALNSIg88wwveR51i7P2AFMDwYYqummnHbqjwGL2gGppFv1Mowd1GTq6aqsstoDMMvs/0LqVKf6omqruObq6S/APBPprEmZKsKtuhZrLKe+xAosUcMAQ+yx0EZbaLK/wtfLns8Y0ycy3Har7aPQyFrbMMNKa+65hgIzTHqUWkpNMM8WG8yijo6qWi92+ILuvvv+sky13kFjKab8rtoDNaICDFovD8Rb8MPG8ipudgLbCrGxvohgL2fDTHPxx+cCM7F0wjoMsq6+2DFyZcPoe/LL0YoMnanOwrxvDyJAQ1nLNvcMrczLkWuyz9H2oKxjwnhM9NK6/vIAcgz3wPTH1CyzGMNTZ52rv8RBU67WH/+i8mF2DA322f4A7RvPaL+sNmBsty33ptIQ0Vvcc5/89koKK//VyzV5B76pLyvThrfgehdu0t5JDUMo4pBLY3Vt0LgMec+Mj/SAP4oX9ffloKfdN2ufh0505h9tzvlS0DxuOuS/dI5a2a8v7TRJdhgqe1C013553a0NI7XvTP+yQ0jPaLq7T70oTTzoT6dW+vNTo24RNMQuz5Mwrk/NBRbWUN8qNaOD5rj4WnO9Efebaq/TMmZ//L0zNRzzySdNgFwM2LGTNj36WrMeRNjXvqKormfFwEIz7He/Bn4CAB9TB/4QoI6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jvZPhWMGuijcm4McQROSWLBqqCxr5jr11Hht+iJzg0EcMhO8kqmENZF+vCVrdHFz2jhhUPhPDlu1TIGSathr3Hmh55x1ImYcP3MzyzgfTyguOlmjr+broBjHYEjTlMPaG2QB8AycYEAAh+QQFCgD/ACxKAUABIwAZAAAIyQD/CRwYhIapgQgTKly48FKECJUGbGJIseK/WZEePpzRaZzFjwPVaBwJsYokkBQ3VSLJstE8NUEmohRoiqVNjZEq0bhUq4oaNVWqXKLRKOGEm0iTPkToQalTmwiRPJ2qceCmGVSpDhyQVatAGl2nCpQUVuy/WmWf/gvxJq3Tf6fcvl0pN+m/AY3qIhUYCElGvSQR9m0LeGnCKAMm/K1LcdaAS3ndgvRwqhYNwl5n/nukSA2SoURnvMEcIdIbcZoZRhMIaGCNGgIDAgAh+QQFCgD/ACwjASUBGAAXAAAIsQD/CRxIkKAkGqYKKlz471GtCBFmzGLIsEuVGRAhXqJYEF65RhlDXuAoMAiNkCgrdaE4bh7KlxGQLJyFJBJMmGEIblKD8SZMGsUEmqrks6gagUSL+nzj4d8ppUUnbPqXFOrLKgIvWH15dODDrREinSrYparSSAOOKQxidQY/imqUzqD1LxzFCT4rHSL5D5DZjJX28BWoqmdGGiwGD7xgE+KExIoHPo0wAVXkglVq1SUZEAA7",tt=x.createContext({});function st(s){var t,n,a="";if(typeof s=="string"||typeof s=="number")a+=s;else if(typeof s=="object")if(Array.isArray(s)){var o=s.length;for(t=0;t<o;t++)s[t]&&(n=st(s[t]))&&(a&&(a+=" "),a+=n)}else for(n in s)s[n]&&(a&&(a+=" "),a+=n);return a}function wt(){for(var s,t,n=0,a="",o=arguments.length;n<o;n++)(s=arguments[n])&&(t=st(s))&&(a&&(a+=" "),a+=t);return a}const yt={aliceblue:"9ehhb",antiquewhite:"9sgk7",aqua:"1ekf",aquamarine:"4zsno",azure:"9eiv3",beige:"9lhp8",bisque:"9zg04",black:"0",blanchedalmond:"9zhe5",blue:"73",blueviolet:"5e31e",brown:"6g016",burlywood:"8ouiv",cadetblue:"3qba8",chartreuse:"4zshs",chocolate:"87k0u",coral:"9yvyo",cornflowerblue:"3xael",cornsilk:"9zjz0",crimson:"8l4xo",cyan:"1ekf",darkblue:"3v",darkcyan:"rkb",darkgoldenrod:"776yz",darkgray:"6mbhl",darkgreen:"jr4",darkgrey:"6mbhl",darkkhaki:"7ehkb",darkmagenta:"5f91n",darkolivegreen:"3bzfz",darkorange:"9yygw",darkorchid:"5z6x8",darkred:"5f8xs",darksalmon:"9441m",darkseagreen:"5lwgf",darkslateblue:"2th1n",darkslategray:"1ugcv",darkslategrey:"1ugcv",darkturquoise:"14up",darkviolet:"5rw7n",deeppink:"9yavn",deepskyblue:"11xb",dimgray:"442g9",dimgrey:"442g9",dodgerblue:"16xof",firebrick:"6y7tu",floralwhite:"9zkds",forestgreen:"1cisi",fuchsia:"9y70f",gainsboro:"8m8kc",ghostwhite:"9pq0v",goldenrod:"8j4f4",gold:"9zda8",gray:"50i2o",green:"pa8",greenyellow:"6senj",grey:"50i2o",honeydew:"9eiuo",hotpink:"9yrp0",indianred:"80gnw",indigo:"2xcoy",ivory:"9zldc",khaki:"9edu4",lavenderblush:"9ziet",lavender:"90c8q",lawngreen:"4vk74",lemonchiffon:"9zkct",lightblue:"6s73a",lightcoral:"9dtog",lightcyan:"8s1rz",lightgoldenrodyellow:"9sjiq",lightgray:"89jo3",lightgreen:"5nkwg",lightgrey:"89jo3",lightpink:"9z6wx",lightsalmon:"9z2ii",lightseagreen:"19xgq",lightskyblue:"5arju",lightslategray:"4nwk9",lightslategrey:"4nwk9",lightsteelblue:"6wau6",lightyellow:"9zlcw",lime:"1edc",limegreen:"1zcxe",linen:"9shk6",magenta:"9y70f",maroon:"4zsow",mediumaquamarine:"40eju",mediumblue:"5p",mediumorchid:"79qkz",mediumpurple:"5r3rv",mediumseagreen:"2d9ip",mediumslateblue:"4tcku",mediumspringgreen:"1di2",mediumturquoise:"2uabw",mediumvioletred:"7rn9h",midnightblue:"z980",mintcream:"9ljp6",mistyrose:"9zg0x",moccasin:"9zfzp",navajowhite:"9zest",navy:"3k",oldlace:"9wq92",olive:"50hz4",olivedrab:"472ub",orange:"9z3eo",orangered:"9ykg0",orchid:"8iu3a",palegoldenrod:"9bl4a",palegreen:"5yw0o",paleturquoise:"6v4ku",palevioletred:"8k8lv",papayawhip:"9zi6t",peachpuff:"9ze0p",peru:"80oqn",pink:"9z8wb",plum:"8nba5",powderblue:"6wgdi",purple:"4zssg",rebeccapurple:"3zk49",red:"9y6tc",rosybrown:"7cv4f",royalblue:"2jvtt",saddlebrown:"5fmkz",salmon:"9rvci",sandybrown:"9jn1c",seagreen:"1tdnb",seashell:"9zje6",sienna:"6973h",silver:"7ir40",skyblue:"5arjf",slateblue:"45e4t",slategray:"4e100",slategrey:"4e100",snow:"9zke2",springgreen:"1egv",steelblue:"2r1kk",tan:"87yx8",teal:"pds",thistle:"8ggk8",tomato:"9yqfb",turquoise:"2j4r4",violet:"9b10u",wheat:"9ld4j",white:"9zldr",whitesmoke:"9lhpx",yellow:"9zl6o",yellowgreen:"61fzm"},v=Math.round;function ye(s,t){const n=s.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],a=n.map(o=>parseFloat(o));for(let o=0;o<3;o+=1)a[o]=t(a[o]||0,n[o]||"",o);return n[3]?a[3]=n[3].includes("%")?a[3]/100:a[3]:a[3]=1,a}const We=(s,t,n)=>n===0?s:s/100;function ne(s,t){const n=t||255;return s>n?n:s<0?0:s}class K{isValid=!0;r=0;g=0;b=0;a=1;_h;_s;_l;_v;_max;_min;_brightness;constructor(t){function n(a){return a[0]in t&&a[1]in t&&a[2]in t}if(t)if(typeof t=="string"){let o=function(r){return a.startsWith(r)};const a=t.trim();if(/^#?[A-F\d]{3,8}$/i.test(a))this.fromHexString(a);else if(o("rgb"))this.fromRgbString(a);else if(o("hsl"))this.fromHslString(a);else if(o("hsv")||o("hsb"))this.fromHsvString(a);else{const r=yt[a.toLowerCase()];r&&this.fromHexString(parseInt(r,36).toString(16).padStart(6,"0"))}}else if(t instanceof K)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(n("rgb"))this.r=ne(t.r),this.g=ne(t.g),this.b=ne(t.b),this.a=typeof t.a=="number"?ne(t.a,1):1;else if(n("hsl"))this.fromHsl(t);else if(n("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){const n=this.toHsv();return n.h=t,this._c(n)}getLuminance(){function t(r){const g=r/255;return g<=.03928?g/12.92:Math.pow((g+.055)/1.055,2.4)}const n=t(this.r),a=t(this.g),o=t(this.b);return .2126*n+.7152*a+.0722*o}getHue(){if(typeof this._h>"u"){const t=this.getMax()-this.getMin();t===0?this._h=0:this._h=v(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/t+2:(this.r-this.g)/t+4))}return this._h}getSaturation(){if(typeof this._s>"u"){const t=this.getMax()-this.getMin();t===0?this._s=0:this._s=t/this.getMax()}return this._s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(t=10){const n=this.getHue(),a=this.getSaturation();let o=this.getLightness()-t/100;return o<0&&(o=0),this._c({h:n,s:a,l:o,a:this.a})}lighten(t=10){const n=this.getHue(),a=this.getSaturation();let o=this.getLightness()+t/100;return o>1&&(o=1),this._c({h:n,s:a,l:o,a:this.a})}mix(t,n=50){const a=this._c(t),o=n/100,r=m=>(a[m]-this[m])*o+this[m],g={r:v(r("r")),g:v(r("g")),b:v(r("b")),a:v(r("a")*100)/100};return this._c(g)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){const n=this._c(t),a=this.a+n.a*(1-this.a),o=r=>v((this[r]*this.a+n[r]*n.a*(1-this.a))/a);return this._c({r:o("r"),g:o("g"),b:o("b"),a})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#";const n=(this.r||0).toString(16);t+=n.length===2?n:"0"+n;const a=(this.g||0).toString(16);t+=a.length===2?a:"0"+a;const o=(this.b||0).toString(16);if(t+=o.length===2?o:"0"+o,typeof this.a=="number"&&this.a>=0&&this.a<1){const r=v(this.a*255).toString(16);t+=r.length===2?r:"0"+r}return t}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const t=this.getHue(),n=v(this.getSaturation()*100),a=v(this.getLightness()*100);return this.a!==1?`hsla(${t},${n}%,${a}%,${this.a})`:`hsl(${t},${n}%,${a}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,n,a){const o=this.clone();return o[t]=ne(n,a),o}_c(t){return new this.constructor(t)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){const n=t.replace("#","");function a(o,r){return parseInt(n[o]+n[r||o],16)}n.length<6?(this.r=a(0),this.g=a(1),this.b=a(2),this.a=n[3]?a(3)/255:1):(this.r=a(0,1),this.g=a(2,3),this.b=a(4,5),this.a=n[6]?a(6,7)/255:1)}fromHsl({h:t,s:n,l:a,a:o}){if(this._h=t%360,this._s=n,this._l=a,this.a=typeof o=="number"?o:1,n<=0){const D=v(a*255);this.r=D,this.g=D,this.b=D}let r=0,g=0,m=0;const d=t/60,b=(1-Math.abs(2*a-1))*n,C=b*(1-Math.abs(d%2-1));d>=0&&d<1?(r=b,g=C):d>=1&&d<2?(r=C,g=b):d>=2&&d<3?(g=b,m=C):d>=3&&d<4?(g=C,m=b):d>=4&&d<5?(r=C,m=b):d>=5&&d<6&&(r=b,m=C);const I=a-b/2;this.r=v((r+I)*255),this.g=v((g+I)*255),this.b=v((m+I)*255)}fromHsv({h:t,s:n,v:a,a:o}){this._h=t%360,this._s=n,this._v=a,this.a=typeof o=="number"?o:1;const r=v(a*255);if(this.r=r,this.g=r,this.b=r,n<=0)return;const g=t/60,m=Math.floor(g),d=g-m,b=v(a*(1-n)*255),C=v(a*(1-n*d)*255),I=v(a*(1-n*(1-d))*255);switch(m){case 0:this.g=I,this.b=b;break;case 1:this.r=C,this.b=b;break;case 2:this.r=b,this.b=I;break;case 3:this.r=b,this.g=C;break;case 4:this.r=I,this.g=b;break;case 5:default:this.g=b,this.b=C;break}}fromHsvString(t){const n=ye(t,We);this.fromHsv({h:n[0],s:n[1],v:n[2],a:n[3]})}fromHslString(t){const n=ye(t,We);this.fromHsl({h:n[0],s:n[1],l:n[2],a:n[3]})}fromRgbString(t){const n=ye(t,(a,o)=>o.includes("%")?v(a/100*255):a);this.r=n[0],this.g=n[1],this.b=n[2],this.a=n[3]}}const ue=2,qe=.16,vt=.05,kt=.05,It=.15,nt=5,at=4,Mt=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function Ge(s,t,n){let a;return Math.round(s.h)>=60&&Math.round(s.h)<=240?a=n?Math.round(s.h)-ue*t:Math.round(s.h)+ue*t:a=n?Math.round(s.h)+ue*t:Math.round(s.h)-ue*t,a<0?a+=360:a>=360&&(a-=360),a}function Pe(s,t,n){if(s.h===0&&s.s===0)return s.s;let a;return n?a=s.s-qe*t:t===at?a=s.s+qe:a=s.s+vt*t,a>1&&(a=1),n&&t===nt&&a>.1&&(a=.1),a<.06&&(a=.06),Math.round(a*100)/100}function Ze(s,t,n){let a;return n?a=s.v+kt*t:a=s.v-It*t,a=Math.max(0,Math.min(1,a)),Math.round(a*100)/100}function Tt(s,t={}){const n=[],a=new K(s),o=a.toHsv();for(let r=nt;r>0;r-=1){const g=new K({h:Ge(o,r,!0),s:Pe(o,r,!0),v:Ze(o,r,!0)});n.push(g)}n.push(a);for(let r=1;r<=at;r+=1){const g=new K({h:Ge(o,r),s:Pe(o,r),v:Ze(o,r)});n.push(g)}return t.theme==="dark"?Mt.map(({index:r,amount:g})=>new K(t.backgroundColor||"#141414").mix(n[r],g).toHexString()):n.map(r=>r.toHexString())}const Me=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];Me.primary=Me[5];function St(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Dt(s,t){if(!s)return!1;if(s.contains)return s.contains(t);let n=t;for(;n;){if(n===s)return!0;n=n.parentNode}return!1}const Ye="data-rc-order",Ve="data-rc-priority",Rt="rc-util-key",Te=new Map;function it({mark:s}={}){return s?s.startsWith("data-")?s:`data-${s}`:Rt}function Le(s){return s.attachTo?s.attachTo:document.querySelector("head")||document.body}function Et(s){return s==="queue"?"prependQueue":s?"prepend":"append"}function He(s){return Array.from((Te.get(s)||s).children).filter(t=>t.tagName==="STYLE")}function ot(s,t={}){if(!St())return null;const{csp:n,prepend:a,priority:o=0}=t,r=Et(a),g=r==="prependQueue",m=document.createElement("style");m.setAttribute(Ye,r),g&&o&&m.setAttribute(Ve,`${o}`),n?.nonce&&(m.nonce=n?.nonce),m.innerHTML=s;const d=Le(t),{firstChild:b}=d;if(a){if(g){const C=(t.styles||He(d)).filter(I=>{if(!["prepend","prependQueue"].includes(I.getAttribute(Ye)))return!1;const D=Number(I.getAttribute(Ve)||0);return o>=D});if(C.length)return d.insertBefore(m,C[C.length-1].nextSibling),m}d.insertBefore(m,b)}else d.appendChild(m);return m}function _t(s,t={}){let{styles:n}=t;return n||=He(Le(t)),n.find(a=>a.getAttribute(it(t))===s)}function Ot(s,t){const n=Te.get(s);if(!n||!Dt(document,n)){const a=ot("",t),{parentNode:o}=a;Te.set(s,o),s.removeChild(a)}}function Bt(s,t,n={}){const a=Le(n),o=He(a),r={...n,styles:o};Ot(a,r);const g=_t(t,r);if(g)return r.csp?.nonce&&g.nonce!==r.csp?.nonce&&(g.nonce=r.csp?.nonce),g.innerHTML!==s&&(g.innerHTML=s),g;const m=ot(s,r);return m.setAttribute(it(r),t),m}function rt(s){return s?.getRootNode?.()}function Ft(s){return rt(s)instanceof ShadowRoot}function Lt(s){return Ft(s)?rt(s):null}var lt={};let Se={};const Ue=[],Ht=s=>{Ue.push(s)};function Ut(s,t){if(lt.NODE_ENV!=="production"&&!s&&console!==void 0){const n=Ue.reduce((a,o)=>o(a??"","warning"),t);n&&console.error(`Warning: ${n}`)}}function Qt(s,t){if(lt.NODE_ENV!=="production"&&!s&&console!==void 0){const n=Ue.reduce((a,o)=>o(a??"","note"),t);n&&console.warn(`Note: ${n}`)}}function zt(){Se={}}function ct(s,t,n){!t&&!Se[n]&&(s(!1,n),Se[n]=!0)}function me(s,t){ct(Ut,s,t)}function Wt(s,t){ct(Qt,s,t)}me.preMessage=Ht;me.resetWarned=zt;me.noteOnce=Wt;function qt(s){return s.replace(/-(.)/g,(t,n)=>n.toUpperCase())}function Gt(s,t){me(s,`[@ant-design/icons] ${t}`)}function Ke(s){return typeof s=="object"&&typeof s.name=="string"&&typeof s.theme=="string"&&(typeof s.icon=="object"||typeof s.icon=="function")}function Je(s={}){return Object.keys(s).reduce((t,n)=>{const a=s[n];switch(n){case"class":t.className=a,delete t.class;break;default:delete t[n],t[qt(n)]=a}return t},{})}function De(s,t,n){return n?x.createElement(s.tag,{key:t,...Je(s.attrs),...n},(s.children||[]).map((a,o)=>De(a,`${t}-${s.tag}-${o}`))):x.createElement(s.tag,{key:t,...Je(s.attrs)},(s.children||[]).map((a,o)=>De(a,`${t}-${s.tag}-${o}`)))}function dt(s){return Tt(s)[0]}function ht(s){return s?Array.isArray(s)?s:[s]:[]}const Pt=`
|
|
2
2
|
.anticon {
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
align-items: center;
|
|
@@ -56,4 +56,4 @@
|
|
|
56
56
|
}
|
|
57
57
|
`,Zt=s=>{const{csp:t,prefixCls:n,layer:a}=x.useContext(tt);let o=Pt;n&&(o=o.replace(/anticon/g,n)),a&&(o=`@layer ${a} {
|
|
58
58
|
${o}
|
|
59
|
-
}`),x.useEffect(()=>{const r=s.current,g=Lt(r);Ot(o,"@ant-design-icons",{prepend:!a,csp:t,attachTo:g})},[])},ie={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Yt({primaryColor:s,secondaryColor:t}){ie.primaryColor=s,ie.secondaryColor=t||dt(s),ie.calculated=!!t}function Vt(){return{...ie}}const J=s=>{const{icon:t,className:n,onClick:a,style:o,primaryColor:r,secondaryColor:g,...m}=s,d=E.useRef(null);let b=ie;if(r&&(b={primaryColor:r,secondaryColor:g||dt(r)}),Zt(d),Gt(Ke(t),`icon should be icon definiton, but got ${t}`),!Ke(t))return null;let C=t;return C&&typeof C.icon=="function"&&(C={...C,icon:C.icon(b.primaryColor,b.secondaryColor)}),De(C.icon,`svg-${C.name}`,{className:n,onClick:a,style:o,"data-icon":C.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",...m,ref:d})};J.displayName="IconReact";J.getTwoToneColors=Vt;J.setTwoToneColors=Yt;function ut(s){const[t,n]=ht(s);return J.setTwoToneColors({primaryColor:t,secondaryColor:n})}function Kt(){const s=J.getTwoToneColors();return s.calculated?[s.primaryColor,s.secondaryColor]:s.primaryColor}var Jt={};function Re(){return Re=Object.assign?Object.assign.bind():function(s){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(s[a]=n[a])}return s},Re.apply(this,arguments)}ut(Me.primary);const q=E.forwardRef((s,t)=>{const{className:n,icon:a,spin:o,rotate:r,tabIndex:g,onClick:m,twoToneColor:d,...b}=s,{prefixCls:C="anticon",rootClassName:I}=E.useContext(tt),D=wt(I,C,{[`${C}-${a.name}`]:!!a.name,[`${C}-spin`]:!!o||a.name==="loading"},n);let _=g;_===void 0&&m&&(_=-1);const X=r?{msTransform:`rotate(${r}deg)`,transform:`rotate(${r}deg)`}:void 0,[$,G]=ht(d);return E.createElement("span",Re({role:"img","aria-label":a.name},b,{ref:t,tabIndex:_,onClick:m,className:D}),E.createElement(J,{icon:a,primaryColor:$,secondaryColor:G,style:X}))});q.getTwoToneColor=Kt;q.setTwoToneColor=ut;Jt.NODE_ENV!=="production"&&(q.displayName="AntdIcon");var Xt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},$t={};function Ee(){return Ee=Object.assign?Object.assign.bind():function(s){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(s[a]=n[a])}return s},Ee.apply(this,arguments)}const es=(s,t)=>E.createElement(q,Ee({},s,{ref:t,icon:Xt})),gt=E.forwardRef(es);$t.NODE_ENV!=="production"&&(gt.displayName="ArrowLeftOutlined");var ts={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},ss={};function _e(){return _e=Object.assign?Object.assign.bind():function(s){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(s[a]=n[a])}return s},_e.apply(this,arguments)}const ns=(s,t)=>E.createElement(q,_e({},s,{ref:t,icon:ts})),pt=E.forwardRef(ns);ss.NODE_ENV!=="production"&&(pt.displayName="CalendarOutlined");var as={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"},is={};function Be(){return Be=Object.assign?Object.assign.bind():function(s){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(s[a]=n[a])}return s},Be.apply(this,arguments)}const os=(s,t)=>E.createElement(q,Be({},s,{ref:t,icon:as})),mt=E.forwardRef(os);is.NODE_ENV!=="production"&&(mt.displayName="FileTextOutlined");var rs={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},ls={};function Oe(){return Oe=Object.assign?Object.assign.bind():function(s){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(s[a]=n[a])}return s},Oe.apply(this,arguments)}const cs=(s,t)=>E.createElement(q,Oe({},s,{ref:t,icon:rs})),xt=E.forwardRef(cs);ls.NODE_ENV!=="production"&&(xt.displayName="UserOutlined");const Fe="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18%202C20.1647%202%2022%203.81484%2022%206.01659C22%208.25341%2020.1348%209.82312%2018.412%2010.8905C18.2864%2010.9623%2018.1445%2011%2018%2011C17.8555%2011%2017.7136%2010.9623%2017.588%2010.8905C15.8684%209.8127%2014%208.26115%2014%206.01659C14%203.81484%2015.8353%202%2018%202Z'%20stroke='%23003371'%20stroke-width='1.5'/%3e%3cpath%20d='M18%206H18.009'%20stroke='%23003371'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5%2022C6.65685%2022%208%2020.6569%208%2019C8%2017.3431%206.65685%2016%205%2016C3.34315%2016%202%2017.3431%202%2019C2%2020.6569%203.34315%2022%205%2022Z'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11%207H9.5C7.567%207%206%208.34315%206%2010C6%2011.6569%207.567%2013%209.5%2013H12.5C14.433%2013%2016%2014.3431%2016%2016C16%2017.6569%2014.433%2019%2012.5%2019H11'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",oe="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.1667%2016.6668C15.0871%2016.6668%2015.8333%2015.9206%2015.8333%2015.0002C15.8333%2014.0797%2015.0871%2013.3335%2014.1667%2013.3335C13.2462%2013.3335%2012.5%2014.0797%2012.5%2015.0002C12.5%2015.9206%2013.2462%2016.6668%2014.1667%2016.6668Z'%20stroke='%23003371'%20stroke-width='1.5'/%3e%3cpath%20d='M5.83464%2016.6663C6.75511%2016.6663%207.5013%2015.9201%207.5013%2014.9997C7.5013%2014.0792%206.75511%2013.333%205.83464%2013.333C4.91416%2013.333%204.16797%2014.0792%204.16797%2014.9997C4.16797%2015.9201%204.91416%2016.6663%205.83464%2016.6663Z'%20stroke='%23003371'%20stroke-width='1.5'/%3e%3cpath%20d='M4.16797%2014.9767C3.25404%2014.9312%202.68389%2014.7952%202.27816%2014.3895C1.87244%2013.9838%201.73649%2013.4136%201.69093%2012.4997M7.5013%2014.9997H12.5013M15.8346%2014.9767C16.7485%2014.9312%2017.3187%2014.7952%2017.7245%2014.3895C18.3346%2013.7793%2018.3346%2012.7972%2018.3346%2010.833V9.16634H14.418C13.7975%209.16634%2013.4873%209.16634%2013.2363%209.08476C12.7289%208.91992%2012.3311%208.52209%2012.1662%208.0147C12.0846%207.76365%2012.0846%207.45343%2012.0846%206.83301C12.0846%205.90237%2012.0846%205.43705%2011.9623%205.06047C11.715%204.29937%2011.1183%203.70266%2010.3572%203.45537C9.98063%203.33301%209.5153%203.33301%208.58463%203.33301H1.66797'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M1.66797%206.66699H6.66797'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M1.66797%209.16699H5.0013'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.082%205H13.5997C14.8125%205%2015.4189%205%2015.9124%205.29476C16.4059%205.58952%2016.6934%206.12343%2017.2684%207.19125L18.332%209.16667'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",re="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='16'%20fill='%23F8FAFC'/%3e%3cpath%20d='M23.5%2011.8335V16.0002M8.5%2011.8335C8.5%2014.3872%208.5%2019.9787%208.5%2020.3012C8.5%2021.4533%2010.1214%2022.1382%2013.3641%2023.5081C14.6668%2024.0583%2015.3182%2024.3335%2016%2024.3335V15.4625'%20stroke='%23003371'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M18.5%2021.8333C18.5%2021.8333%2019.2292%2021.8333%2019.9583%2023.5C19.9583%2023.5%2022.2745%2019.3333%2024.3333%2018.5'%20stroke='%23003371'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.9383%2014.076L10.5039%2012.898C9.16797%2012.2516%208.5%2011.9284%208.5%2011.4165C8.5%2010.9046%209.16797%2010.5814%2010.5039%209.93496L12.9383%208.75702C14.4407%208.03001%2015.1919%207.6665%2016%207.6665C16.8081%207.6665%2017.5593%208.03%2019.0617%208.75702L21.4961%209.93496C22.832%2010.5814%2023.5%2010.9046%2023.5%2011.4165C23.5%2011.9284%2022.832%2012.2516%2021.4961%2012.898L19.0617%2014.076C17.5593%2014.803%2016.8081%2015.1665%2016%2015.1665C15.1919%2015.1665%2014.4407%2014.803%2012.9383%2014.076Z'%20stroke='%23003371'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11%2016L12.6667%2016.8333'%20stroke='%23003371'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M20.1654%209.33301L11.832%2013.4997'%20stroke='%23003371'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",ft="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M17%2021C18.1046%2021%2019%2020.1046%2019%2019C19%2017.8954%2018.1046%2017%2017%2017C15.8954%2017%2015%2017.8954%2015%2019C15%2020.1046%2015.8954%2021%2017%2021Z'%20stroke='%23003371'%20stroke-width='1.5'/%3e%3cpath%20d='M7%2021C8.10457%2021%209%2020.1046%209%2019C9%2017.8954%208.10457%2017%207%2017C5.89543%2017%205%2017.8954%205%2019C5%2020.1046%205.89543%2021%207%2021Z'%20stroke='%23003371'%20stroke-width='1.5'/%3e%3cpath%20d='M2%209V13.947C2%2016.329%202%2017.52%202.73223%2018.26C3.2191%2018.7521%203.90328%2018.9169%205%2018.9722M12.4271%205C13.3404%205.2999%2014.0564%206.02354%2014.3532%206.94654C14.5%207.40322%2014.5%207.96753%2014.5%209.09613C14.5%209.84853%2014.5%2010.2248%2014.5979%2010.5292C14.7957%2011.1445%2015.2731%2011.627%2015.882%2011.8269C16.1832%2011.9258%2016.5555%2011.9258%2017.3%2011.9258H22V13.947C22%2016.329%2022%2017.52%2021.2678%2018.26C20.7809%2018.7521%2020.0967%2018.9169%2019%2018.9722M9%2019H15'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M14.5%207H16.3212C17.7766%207%2018.5042%207%2019.0964%207.35371C19.6886%207.70742%2020.0336%208.34812%2020.7236%209.6295L22%2012'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.32653%208L8.81309%206.82583C9.60436%206.20083%2010%205.88833%2010%205.5M10%205.5C10%205.11168%209.60436%204.79918%208.81309%204.17418L7.32653%203M10%205.5H2'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Ct="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%2022H6C4.11438%2022%203.17157%2022%202.58579%2021.4142C2%2020.8284%202%2019.8856%202%2018V16C2%2014.1144%202%2013.1716%202.58579%2012.5858C3.17157%2012%204.11438%2012%206%2012H8C9.88562%2012%2010.8284%2012%2011.4142%2012.5858C12%2013.1716%2012%2014.1144%2012%2016V18C12%2019.8856%2012%2020.8284%2011.4142%2021.4142C10.8284%2022%209.88562%2022%208%2022Z'%20stroke='%23003371'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6%2015H8'%20stroke='%23003371'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M18%202C15.7909%202%2014%203.80892%2014%206.04033C14%207.31626%2014.5%208.30834%2015.5%209.1945C16.2049%209.81911%2017.0588%2010.8566%2017.5714%2011.6975C17.8173%2012.1008%2018.165%2012.1008%2018.4286%2011.6975C18.9672%2010.8733%2019.7951%209.81911%2020.5%209.1945C21.5%208.30834%2022%207.31626%2022%206.04033C22%203.80892%2020.2091%202%2018%202Z'%20stroke='%23003371'%20stroke-width='2'%20stroke-linejoin='round'/%3e%3cpath%20d='M18%2015V18C18%2019.8856%2018%2020.8284%2017.5314%2021.4142C17.0839%2021.9735%2016.3761%2021.9988%2015%2021.9999'%20stroke='%23003371'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M18.007%206H17.998'%20stroke='%23003371'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Xe="data:image/svg+xml,%3csvg%20width='19'%20height='19'%20viewBox='0%200%2019%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.875%207.9165C11.875%206.60483%2010.8117%205.5415%209.5%205.5415C8.18829%205.5415%207.125%206.60483%207.125%207.9165C7.125%209.22822%208.18829%2010.2915%209.5%2010.2915C10.8117%2010.2915%2011.875%209.22822%2011.875%207.9165Z'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.4577%2014.2503C13.4577%2012.0642%2011.6855%2010.292%209.49935%2010.292C7.31322%2010.292%205.54102%2012.0642%205.54102%2014.2503'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M16.625%2010.2917V8.70833C16.625%205.72277%2016.625%204.22999%2015.6975%203.30249C14.77%202.375%2013.2772%202.375%2010.2917%202.375H8.70833C5.72277%202.375%204.22999%202.375%203.30249%203.30249C2.375%204.22999%202.375%205.72277%202.375%208.70833V10.2917C2.375%2013.2772%202.375%2014.77%203.30249%2015.6975C4.22999%2016.625%205.72277%2016.625%208.70833%2016.625H10.2917C13.2772%2016.625%2014.77%2016.625%2015.6975%2015.6975C16.625%2014.77%2016.625%2013.2772%2016.625%2010.2917Z'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3c/svg%3e",$e="data:image/svg+xml,%3csvg%20width='19'%20height='19'%20viewBox='0%200%2019%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.98047%205.9375V10.6875C1.98047%2013.673%201.98047%2015.1659%202.90796%2016.0933C3.83546%2017.0208%205.32824%2017.0208%208.3138%2017.0208H9.5013M17.0221%209.89583V5.9375'%20stroke='%23003371'%20stroke-width='1.1875'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3.06433%204.20772L1.98047%205.93783H17.0221L16.0308%204.28564C15.355%203.15924%2015.0171%202.59604%2014.4726%202.28777C13.9281%201.97949%2013.2713%201.97949%2011.9578%201.97949H7.08966C5.8042%201.97949%205.16148%201.97949%204.62474%202.2766C4.088%202.57372%203.74678%203.11839%203.06433%204.20772Z'%20stroke='%23003371'%20stroke-width='1.1875'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.5%205.93734V1.979'%20stroke='%23003371'%20stroke-width='1.1875'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.91797%208.3125H11.0846'%20stroke='%23003371'%20stroke-width='1.1875'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11.4805%2015.4372C11.4805%2015.4372%2012.2721%2015.4372%2013.0638%2017.0205C13.0638%2017.0205%2014.7869%2013.0622%2017.0221%2012.2705'%20stroke='%23003371'%20stroke-width='1.1875'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",ds="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.6673%2010.0002V12.5928C12.6673%2014.076%2012.1769%2014.6668%2010.5933%2014.6668H5.40806C3.92476%2014.6668%203.33398%2014.1764%203.33398%2012.5928V10.0002C3.33398%207.42283%205.42332%205.3335%208.00065%205.3335C10.578%205.3335%2012.6673%207.42283%2012.6673%2010.0002Z'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M10.6673%2010.0002C10.6673%208.52743%209.47338%207.3335%208.00065%207.3335C6.52789%207.3335%205.33398%208.52743%205.33398%2010.0002'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M8%2011.3333L8.66667%2010'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M10.8743%203.3335H5.12439C4.53532%203.3335%204.24079%203.3335%203.98162%203.23214C3.89554%203.19847%203.81319%203.15682%203.73579%203.10782C3.50277%202.96028%203.3394%202.72872%203.01264%202.2656C2.75798%201.90466%202.63066%201.72419%202.67455%201.57663C2.68844%201.52994%202.71294%201.48668%202.74635%201.44986C2.85194%201.3335%203.08148%201.3335%203.54058%201.3335H12.4581C12.9172%201.3335%2013.1467%201.3335%2013.2523%201.44986C13.2857%201.48668%2013.3103%201.52994%2013.3241%201.57663C13.368%201.72419%2013.2407%201.90466%2012.9861%202.2656C12.6593%202.72872%2012.4959%202.96029%2012.2629%203.10782C12.1855%203.15682%2012.1031%203.19847%2012.0171%203.23214C11.7579%203.3335%2011.4634%203.3335%2010.8743%203.3335Z'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M9.33268%205.3335V3.3335M6.66602%205.3335V3.3335'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3c/svg%3e",hs="data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.19033%202.28511C7.10013%201.37531%207.55507%200.9204%208.06253%200.7102C8.73913%200.429933%209.4994%200.429933%2010.1761%200.7102C10.6835%200.9204%2011.1384%201.37531%2012.0482%202.28511C12.958%203.19492%2013.4129%203.64983%2013.6231%204.15729C13.9034%204.83392%2013.9034%205.59417%2013.6231%206.2708C13.4129%206.77827%2012.958%207.2332%2012.0482%208.143L8.143%2012.0482C7.2332%2012.958%206.77827%2013.4129%206.2708%2013.6231C5.59417%2013.9034%204.83392%2013.9034%204.15729%2013.6231C3.64983%2013.4129%203.19492%2012.958%202.28511%2012.0482C1.37531%2011.1384%200.9204%2010.6835%200.7102%2010.1761C0.429933%209.4994%200.429933%208.73913%200.7102%208.06253C0.9204%207.55507%201.37531%207.10013%202.28511%206.19033L6.19033%202.28511Z'%20stroke='%23003371'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",us="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%2014.6665C7.45453%2014.6665%206.93347%2014.4464%205.89129%2014.0062C3.29709%2012.9103%202%2012.3624%202%2011.4407C2%2011.1826%202%206.7095%202%204.6665M8%2014.6665C8.54547%2014.6665%209.06653%2014.4464%2010.1087%2014.0062C12.7029%2012.9103%2014%2012.3624%2014%2011.4407V4.6665M8%2014.6665V7.5697'%20stroke='%23003371'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.55061%206.46108L3.60315%205.51873C2.53438%205.00156%202%204.74298%202%204.3335C2%203.92401%202.53438%203.66543%203.60315%203.14826L5.55061%202.20591C6.75253%201.6243%207.35353%201.3335%208%201.3335C8.64647%201.3335%209.24747%201.6243%2010.4494%202.20591L12.3969%203.14826C13.4656%203.66543%2014%203.92401%2014%204.3335C14%204.74298%2013.4656%205.00156%2012.3969%205.51873L10.4494%206.46108C9.24747%207.0427%208.64647%207.3335%208%207.3335C7.35353%207.3335%206.75253%207.0427%205.55061%206.46108Z'%20stroke='%23003371'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4%208L5.33333%208.66667'%20stroke='%23003371'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11.3327%202.6665L4.66602%205.99984'%20stroke='%23003371'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",gs="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.0026%201.33398C11.6845%201.33398%2014.6693%204.31875%2014.6693%208.00064C14.6693%2011.6826%2011.6845%2014.6673%208.0026%2014.6673C4.3207%2014.6673%201.33594%2011.6826%201.33594%208.00064M5.94194%201.65856C5.26927%201.87697%204.6435%202.19942%204.08362%202.60692M2.60889%204.08165C2.20131%204.64164%201.87882%205.26753%201.6604%205.94033'%20stroke='%23175EB6'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.0026%205.33398V10.6673M10.6693%208.00064H5.33594'%20stroke='%23175EB6'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";var ps={};function ve(s){if(!s||s==="-"||s==="—")return"--";const t=new Date(s);return isNaN(t.getTime())?"--":t.toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric"})}function N(s){return s==null?s:String(s).replace(/[_-]+/g," ").replace(/\s+/g," ").trim().toLowerCase().replace(/\b\w/g,n=>n.toUpperCase())}function ae({label:s,value:t}){return e.jsxs("div",{className:"ho-kv",children:[e.jsx("span",{className:"ho-kv__label",children:s}),e.jsx("span",{className:"ho-kv__value",children:t})]})}function z(s){if(!s)return"—";const t=new Date(s);if(isNaN(t.getTime()))return"—";const n=a=>String(a).padStart(2,"0");return n(t.getDate())+"-"+n(t.getMonth()+1)+"-"+t.getFullYear()+" "+n(t.getHours())+":"+n(t.getMinutes())+":"+n(t.getSeconds())}function ke({icon:s,label:t,value:n,isAudit:a=!1}){return e.jsxs("div",{className:"ho-kv ho-kv--withTag",children:[e.jsxs("span",{className:"ho-kv__label_audit",style:{display:"flex",alignItems:"center",gap:"6px",fontSize:"14px",fontWeight:500,fontFamily:"Roboto"},children:[s&&e.jsx("img",{src:s,alt:"",className:"ho-kv__icon"}),t]}),e.jsx("span",{className:a?"ho-kv__tag_audit":"ho-kv__tag",children:n})]})}function ms({endpoint:s,awbNumber:t}){const[n,a]=x.useState(!1),[o,r]=x.useState(!1),[g,m]=x.useState(null),[d,b]=x.useState(null),[C,I]=x.useState(!1),D=ge.useLocation(),_=ge.useNavigate(),[X,$]=x.useState(!1),[G,xe]=x.useState(!1),[fe,ee]=x.useState(!1),[P,B]=x.useState(!1),T=x.useRef(null),[H,le]=x.useState(!1),ce=new URLSearchParams(D.search).get("endpoint"),F=s||ce||ps.REACT_APP_TRACKING_ENDPOINT||"/api/v1/shipment-tracking/search",U=x.useMemo(()=>{if(t)return t;const i=new URLSearchParams(D.search);return i.get("awb")||i.get("awbNumber")||""},[t,D.search]);x.useEffect(()=>{let i=!1;return(async()=>{try{if(I(!0),!U){i||b(null);return}const j=`${F}?awbNumber=${encodeURIComponent(U)}`,y=await fetch(j);if(!y.ok)throw new Error("Request failed");const f=await y.json();i||b(f)}catch{i||b(null)}finally{i||I(!1)}})(),()=>{i=!0}},[F,U]);const Ce=d?.shipmentTracking?.isRTO===!0,p=d?.shipmentTracking?.bookingInfoDto,M=d?.shipmentTracking?.auditInfo||[],Z=d?.shipmentTracking?.latestOperation,l=d?.shipmentTracking?.supportTicketInfo,h={bookingTime:p?.bookingDate||"—",shipmentNumber:p?.awbNumber||"—",isRTO:Ce,isMCN:p?.mcn,bagId:p?.bagId||"—",fromPincode:p?.fromPincode||"—",senderPincode:p?.senderPincode||"—",receiverPincode:p?.receiverPincode||"—",estimatedDeliveryDate:p?.estimatedDeliveryDate||"—",revisedEstimatedDeliveryDate:p?.revisedEstimatedDeliveryDate||"—",actualDeliveryDate:p?.actualDeliveryDate||"—",sourceHubName:p?.sourceHubName||"—",destinationHubName:p?.destinationHubName||"—",source:{city:p?.senderName||"—",pincode:p?.fromPincode||"—"},destination:{city:p?.receiverName||"—",pincode:p?.receiverPincode||"—"},bookingType:p?.bookingType||"—",shipmentType:p?.shipmentType?`${p.shipmentType?.toUpperCase()} | ${p.travelType?.toUpperCase()}`:"—",serviceType:p?.serviceType||"—",awb:p?.tplAwbNumber||"",partner:p?.partnerCode||"",eway:(()=>{const i=d?.shipmentTracking?.ewayInfo?.[0];return i?{id:i.eway_bill_id,no:i.ewaybill_no,created:i.eway_bill_crt_date,expiry:i.ewb_bill_exp_date}:{id:"—",no:"—",created:"—",expiry:"—"}})(),sender:{name:p?.senderName||"—",address:p?.booking_cp_address||"—"},receiver:{name:p?.receiverName||"—",address:p?.recipient_cp_address||"—"},pkg:{weight:p?.weight&&`${p.weight} Kg`||"—",dimensions:p?.length||p?.width||p?.height?`${p.length} x ${p.width} x ${p.height} cm`:"—",volumetric:p?.volumetricWeight||"—"},status:p?.status||"—",parentAwbNumber:p?.parentAwbNumber||""},A=(()=>{const i=d?.shipmentTracking?.travelDtos||[],c=f=>{if(!f)return"";try{const w=f.split(" ")[0]?.split("-");return w?.length===3?`${w[2]}-${w[1]}-${w[0]}`:f}catch{return f}},j=f=>{const w=(f||"").toLowerCase(),O=i.find(Q=>(Q?.premiseName||"").toLowerCase().includes(w)||w.includes((Q?.premiseName||"").toLowerCase())||(Q?.toPremisename||Q?.topremisename||"").toLowerCase().includes(w)||w.includes((Q?.toPremisename||Q?.topremisename||"").toLowerCase()))||null;return c(O?.date)},y=d?.shipmentTracking?.route_info;return Array.isArray(y)&&y.length?y.map((f,w,O)=>({hub:f,date:j(f),type:w===0?"source":w===O.length-1?"to":"transit"})):[]})();x.useEffect(()=>{if(!T.current||A.length<=5){le(!1);return}const i=T.current,c=()=>{const j=Array.from(i.querySelectorAll(".ho-route__row"));if(j.length===0)return!1;let y=0;return j.forEach(f=>{y+=f.offsetHeight+24}),y>i.clientHeight};requestAnimationFrame(()=>{const j=c();le(j)})},[A.length]),x.useMemo(()=>A.find(c=>c.type==="source")?.hub||"—",[A,h.source.city]),x.useMemo(()=>A.find(c=>c.type==="to")?.hub||"—",[A,h.destination.city]);const S=d?.shipmentTracking?.travelDtos?.map((i,c)=>({key:c,time:i.date,location:(i.status||"").toUpperCase()==="RETURN_INITIATED"&&i.driverName&&i.driverName.trim()!==""?i.toPremisename||i.toPremiseName||"—":["FORCE_BAG_ATTEMPTED","RETURN_INITIATED","RETURN_REVOKED","IN_BAG_OUTSCAN_TO_CP","OUT_SCAN_TO_CP","BAGGED","INSCANNED","IN-BAG-OUTSCAN","IN-BAG-INSCAN","INSCANNED_AT_TRANSIT","ATTEMPTED","HUB-OUTSCAN","HUB-IN-SCANNED","REMOVED_FROM_BAG","SCHEDULED_FOR_TRIP","FORCE_BAG","MIS_ROUTED","REROUTED","PINCODE_AUDITED","FORCE_HUB_OUTSCAN","EXCESS_INSCAN","MODE_AUDITED","REMOVED_FROM_LCR"].includes((i.status||"").toUpperCase())?i.premiseName||"—":i.toPremisename||i.toPremiseName||"—",locationPremiseName:["IN_BAG_OUTSCAN_TO_CP","OUT_SCAN_TO_CP"].includes((i.status||"").toUpperCase())?i.toPremisename||i.toPremiseName:"-",process:i.status,bag:i.bagBarCode,user:(i.status||"").toUpperCase()==="RETURN_INITIATED"&&i.driverName?.trim()||["ATTEMPTED","OUT_FOR_DELIVERY","DELIVERED","RTO_OUT_FOR_DELIVERY","RETURN_REVOKED","RTO_DELIVERED","INSCANNED_AT_CP","UNDELIVERED"].includes((i.status||"").toUpperCase())&&i.driverName?.trim()?i.driverName:i.user?.trim()||"_",exception:i.exception||(i.isException,"-"),remark:(()=>{const j=(i.status||"").toString().toUpperCase();if(!["SCHEDULED_FOR_TRIP","IN-BAG-OUTSCAN"].includes(j))return i.remarks||"-";const f=i.lcrnum||i.lcrNum||i.lcr_no||i.lcrNo||"",O=`${j==="SCHEDULED_FOR_TRIP"?"Scheduled Outscan":"Outscan"} from ${N(i.premiseName||"")} to ${N(i.toPremisename||i.topremisename||"")}`;return f?`${O} — LCR No: ${f}`:O})(),coLoader:i.coLoader||i.co_loader||i.coLoaderName||i.co_loader_name||i.coLoader_code||"—",transportType:i.travelBy||i.transportType||i.transport_type||i.mode||"—",flightName:i.flightName||i.flight_no||i.flight||i.flightNum||"",vehicleNo:i.vehicleNo||i.vehicleNum||i.vehicle_no||i.truckNo||i.truck_no||"—",driverName:i.driverName||i.driver_name||"—"}))||[],R=x.useMemo(()=>[{title:"Date and Time",dataIndex:"time",key:"time",render:i=>e.jsx("span",{className:"ho-nowrap",children:z(i)})},{title:"Location",dataIndex:"location",key:"location",render:i=>i?N(i):"—"},{title:"Process",dataIndex:"process",key:"process",render:(i,c)=>{const j=(i||"").toString().toUpperCase(),f=["REMOVED_FROM_BAG","REMOVED_FROM_LCR","ATTEMPTED","MIS_ROUTED","UNDELIVERED"].includes(j),w=f?{color:"#e14949",borderColor:"#ffd5d5",background:"#ffecec"}:{color:"#1f7a48",borderColor:"#cfeede",background:"#e9fff1"},O=`ho-tag ${f?"ho-tag--danger":"ho-tag--success"}`,je=j==="OUT_SCAN_TO_CP"||j==="IN_BAG_OUTSCAN_TO_CP"?`${i} (${N(c?.locationPremiseName||"")})`:i;return e.jsx(u.Tag,{style:w,className:O,children:je})}},{title:"Bag No",dataIndex:"bag",key:"bag",render:i=>i?e.jsx("a",{className:"ho-link",onClick:()=>_(`/bag-details-ui?awb=${encodeURIComponent(i)}`),children:i}):"-"},{title:"User",dataIndex:"user",key:"user"},{title:"Exception",dataIndex:"exception",key:"exception",render:i=>i||"-"},{title:"Remark",dataIndex:"remark",key:"remark",render:(i,c)=>{if(!i)return"-";if((c?.process||"").toUpperCase()==="MIS_ROUTED"){const V=String(i),W=V.length>40?`${V.slice(0,40)}…`:V;return e.jsx(u.Tooltip,{title:V,children:e.jsx("span",{className:"ho-remark-ellipsis",children:W})})}const y=["SCHEDULED_FOR_TRIP","IN-BAG-OUTSCAN"].includes((c?.process||c?.status||"").toString().toUpperCase()),f=i.indexOf("LCR No:"),w=f>=0,O=w?i.slice(0,f):i,Q=w?i.slice(f):"",he=w?(Q.replace(/^[^:]*:\s*/i,"")||"").trim():"",je=V=>{const W=[],te=String(V||""),Qe=/(https?:\/\/[^\s]+|www\.[^\s]+)/gi;let se=0,Ne,Ae=0;for(;(Ne=Qe.exec(te))!==null;){const ze=Ne.index,jt=Qe.lastIndex;ze>se&&W.push(e.jsx("span",{children:te.slice(se,ze)},`rmk-t-${Ae++}`));const we=Ne[0],Nt=we.startsWith("http")?we:`https://${we}`;W.push(e.jsx("a",{className:"ho-link",href:Nt,target:"_blank",rel:"noreferrer",children:"View"},`rmk-a-${Ae++}`)),se=jt}return se<te.length&&W.push(e.jsx("span",{children:te.slice(se)},`rmk-t-${Ae++}`)),W.length?W:te||"-"};return e.jsxs("span",{children:[je(O),w&&e.jsxs(e.Fragment,{children:[e.jsx("strong",{className:"ho-remark-strong",children:"LCR No: "}),he&&e.jsx("a",{className:"ho-link",onClick:()=>{sessionStorage.setItem("LCR_REPORT_RECORD",JSON.stringify({vehicle_lcr_id:he})),window.open(window.location.origin+"/lcr-report","_blank")},children:he})]}),y&&e.jsx(u.Tooltip,{placement:"top",title:e.jsxs("div",{children:[e.jsxs("div",{children:[e.jsx("strong",{children:"Co-loader:"})," ",N(c.coLoader||"—")]}),e.jsxs("div",{children:[e.jsx("strong",{children:"Transport type:"})," ",N(c.transportType||"—")]}),e.jsxs("div",{children:[e.jsx("strong",{children:"Flight Name:"})," ",c.flightName||"N/A"]}),e.jsxs("div",{children:[e.jsx("strong",{children:"Vehicle No:"})," ",c.vehicleNo||"—"]}),e.jsxs("div",{children:[e.jsx("strong",{children:"Driver Name:"})," ",N(c.driverName||"—")]})]}),children:e.jsx("span",{className:"ho-alert-dot"})})]})}}],[_]);x.useMemo(()=>(d?.shipmentTracking?.ewayInfo||[]).map(c=>c?.ewaybill_no).filter(c=>!!c),[d]),x.useMemo(()=>M.length?[{key:"audit-master",label:`Audit (${M.length})`,children:M.map((i,c)=>({key:`audit-${c}`,title:`Audit ${c+1} - ${i.auditType||"WEIGHT"}`,auditData:i}))}]:[],[M]);const Y=x.useRef(!1);x.useEffect(()=>{!Y.current&&M.length>0&&(m("audit-master"),Y.current=!0)},[M]),x.useMemo(()=>{if(g&&g.startsWith("audit-")){const i=parseInt(g.split("-")[1]),c=M[i];if(!c)return null;const j={auditedBy:"—",hub:c.auditedHubName||c.sourceHubName||"—",date:h.bookingTime},y={actual:c.bookedWeight??"—",volumetric:c.volumetricBookedValue??"—",lwh:`${c.bookedLength??"—"},${c.bookedWidth??"—"},${c.bookedHeight??"—"}`},f={actual:c.auditedWeight??"—",volumetric:c.volumetricAuditedValue??"—",lwh:`${c.auditedLength??"—"},${c.auditedWidth??"—"},${c.auditedHeight??"—"}`},w=c.weightDiff!=null?`Audited actual weight is ${c.weightDiff>=0?"higher":"lower"} by ${Math.abs(c.weightDiff)}%.`:"";return{header:j,bookingValue:y,auditedValue:f,note:w,index:i+1}}return null},[g,M,h.bookingTime]),x.useMemo(()=>{const i=d?.shipmentTracking?.travelDtos||[];for(let c=i.length-1;c>=0;c--){const j=(i[c]?.status||"").toUpperCase();if(j.includes("IN-BAG-INSCAN"))return"Bag In";if(j.includes("BAGGED"))return"Bagged"}return null},[d]);const de=!!(d?.shipmentTracking&&(d?.shipmentTracking?.bookingInfoDto||Array.isArray(d?.shipmentTracking?.route_info)&&d?.shipmentTracking?.route_info.length||Array.isArray(d?.shipmentTracking?.travelDtos)&&d?.shipmentTracking?.travelDtos.length)),L=!!l,be=()=>{const i=sessionStorage.getItem("token")||localStorage.getItem("token")||"",c=sessionStorage.getItem("email")||localStorage.getItem("email")||"",j=sessionStorage.getItem("userId")||localStorage.getItem("userId")||"",y=sessionStorage.getItem("premiseId")||sessionStorage.getItem("smcs-premise-id")||"",f=new URLSearchParams;f.append("source","HUBOPS"),i&&f.append("token",i),c&&f.append("email",c),j&&f.append("userId",j),y&&f.append("premiseId",y);const O=window.location.hostname.includes("qa")?"https://qasupport.innofulfill.com":"https://support.innofulfill.com";window.open(`${O}?${f.toString()}`,"_blank")};return!C&&!de?e.jsx(u.Spin,{spinning:C&&!d,indicator:e.jsx("img",{src:pe,style:{height:"100px",width:"100px"}}),children:e.jsx("div",{className:"shipment-details-page",children:e.jsx("div",{className:"bag-empty",children:e.jsxs(u.Card,{className:"ho-card bag-empty__card",children:[e.jsx("div",{className:"ho-section-title bag-empty__title",children:e.jsx("span",{className:"ho-title",children:"Details Not Found"})}),e.jsxs("div",{className:"bag-empty__text",children:["No details found for the provided AWB number ",U,". Please check the AWB number and try again."]})]})})})}):e.jsx(u.Spin,{spinning:C&&!d,indicator:e.jsx("img",{src:pe,style:{height:"100px",width:"100px"}}),children:e.jsx("div",{className:"shipment-details-page",children:e.jsxs(u.Row,{gutter:[16,16],className:"ho-row-equal",children:[e.jsx(u.Col,{xs:24,lg:10,children:e.jsxs(u.Card,{className:"ho-card ho-card--equal",style:{height:"644px"},bodyStyle:{display:"flex",flexDirection:"column",height:"100%",overflow:"hidden",padding:"12px"},children:[e.jsxs("div",{className:"ho-section-title",children:[e.jsxs("div",{className:"ho-title-left",children:[h.parentAwbNumber?e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",background:"#ECFDF3",padding:"6px 12px",borderRadius:"8px",cursor:"pointer",color:"#027A48",fontWeight:500,fontSize:"14px"},onClick:()=>_(`/shipment-details-ui?awb=${encodeURIComponent(h.parentAwbNumber)}&endpoint=${encodeURIComponent(F)}`),children:[e.jsx(gt,{}),h.parentAwbNumber]}):e.jsxs(e.Fragment,{children:[e.jsx("img",{src:Ct,className:"ho-title-icon",alt:""}),e.jsx("span",{className:"ho-title",children:"Shipment Info"})]}),h.bagId!=="—"&&e.jsx(u.Badge,{status:"processing",text:e.jsx("span",{className:"ho-badge-text",children:h.bagId})})]}),e.jsxs("div",{className:"ho-title-right",children:[e.jsxs("div",{className:"ho-chip",children:[e.jsx("span",{className:"ho-chip__label",children:"Booked At:"}),e.jsx("span",{className:"ho-chip__value",children:z(h.bookingTime)})]}),e.jsxs("div",{className:"ho-chip ho-chip--ticket",onClick:be,style:{cursor:"pointer"},children:[e.jsx("img",{src:gs,alt:""}),e.jsx("span",{className:"ho-chip__label",children:"Raise Ticket"})]})]})]}),e.jsxs("div",{className:"ho-scrollable-content",children:[e.jsx("div",{className:"ho-subheader",children:e.jsx("div",{className:"ho-subheader-left-row",style:{width:"100%"},children:(()=>{const i=Z&&e.jsx(u.Tag,{className:"ho-badge",style:{...Z?.replace(/_/g," ")?.toUpperCase()==="DELIVERED"?{background:"#e9fff1",color:"#027A48",border:"1px solid #cfeede",fontWeight:600,fontFamily:"Roboto"}:Z?.replace(/_/g," ")?.toUpperCase()==="UNDELIVERED"?{background:"#ffecec",color:"#d64545",border:"1px solid #ffd5d5",fontWeight:600,fontFamily:"Roboto"}:{},flexShrink:0},children:Z?.replace(/_/g," ")?.toUpperCase()}),c=e.jsx(u.Tag,{className:"ho-badge",style:{...h.isRTO?{background:"#e3250b",color:"#f7f3f2",border:"1px solid #cfeede",fontWeight:600,fontFamily:"Roboto"}:h.status.toUpperCase()==="UNDELIVERED"?{background:"#ffecec",color:"#d64545",border:"1px solid #ffd5d5",fontWeight:600,fontFamily:"Roboto"}:{},flexShrink:0},children:h.isRTO?"RETURN":"FORWARD"}),j=h.isMCN?e.jsx(u.Tag,{color:"#FFD32C",className:"ho-chip",style:{color:"#FFFFFF",fontWeight:600,flexShrink:0},children:"3PL"}):null,y=h?.shipmentType&&h.shipmentType!=="—"?e.jsx(u.Tag,{color:"#E9F2FF",className:"ho-chip",style:{flexShrink:0,marginLeft:"auto"},children:N(h.shipmentType)}):null,f={display:"flex",alignItems:"center",flexWrap:"nowrap",whiteSpace:"nowrap",width:"100%",gap:"1px"};return h.parentAwbNumber?e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"4px",width:"100%"},children:[e.jsx("span",{style:{fontSize:"16px",color:"#667085",fontWeight:400},children:"Child Shipment number"}),e.jsxs("div",{style:f,children:[e.jsx("span",{className:"ho-eway-value-bold",style:{fontSize:"18px",flex:"0 0 auto",marginRight:"8px"},children:h.shipmentNumber}),i,c,j,y]})]}):e.jsxs("div",{style:f,children:[e.jsx("span",{className:"ho-eway-value-bold",style:{flex:"0 0 auto",marginRight:"8px"},children:h.shipmentNumber}),i,c,j,y]})})()})}),e.jsxs("div",{className:"ho-subheader__route",children:[e.jsxs("span",{className:"ho-kv-stack ho-route-dest",children:[e.jsx("span",{className:"ho-stat__label",children:"Source"}),e.jsx("span",{className:"ho-stat__value",children:N(h.sourceHubName)})]}),e.jsxs("span",{className:"ho-kv-stack ho-route-dest",children:[e.jsx("span",{className:"ho-stat__label",children:"Destination"}),e.jsx("span",{className:"ho-stat__value",children:N(h.destinationHubName)})]})]}),e.jsxs("div",{style:{marginTop:"16px",padding:"16px",background:"#F8F9FA",borderRadius:"12px",display:"flex",alignItems:"center",gap:"10px",flexWrap:"wrap"},children:[e.jsxs("div",{style:{textAlign:"center"},children:[e.jsx(u.Tag,{color:"#DFF5E1",style:{padding:"4px 12px",borderRadius:"8px",color:"#0F8A41",fontWeight:600},children:"● Planned EDD"}),e.jsx("div",{style:{marginTop:"6px",fontSize:"14px",color:"#555"},children:ve(h.estimatedDeliveryDate)})]}),e.jsx("div",{style:{height:"40px",width:"1px",background:"#DDD"}}),e.jsxs("div",{style:{textAlign:"center"},children:[e.jsx(u.Tag,{color:"#FFE8D6",style:{padding:"4px 12px",borderRadius:"8px",color:"#D96A1B",fontWeight:600},children:"● Revised EDD"}),e.jsx("div",{style:{marginTop:"6px",fontSize:"14px",color:"#555"},children:ve(h.revisedEstimatedDeliveryDate)})]}),e.jsx("div",{style:{height:"40px",width:"1px",background:"#DDD"}}),e.jsxs("div",{style:{textAlign:"center"},children:[e.jsx(u.Tag,{color:"#E8F2FF",style:{padding:"4px 12px",borderRadius:"8px",color:"#1A6FDB",fontWeight:600},children:"● Delivered Date"}),e.jsx("div",{style:{marginTop:"6px",fontSize:"14px",color:"#555"},children:ve(h.actualDeliveryDate)})]})]}),e.jsx("div",{style:{height:"10px"}}),e.jsx("div",{className:"ho-box ho-box--flush",children:e.jsxs("div",{className:"ho-stats",children:[e.jsxs("div",{className:"ho-stat",children:[e.jsx("div",{className:"ho-stat__label",children:"Booking Type"}),e.jsx("div",{className:"ho-stat__value",children:N(h.bookingType)})]}),e.jsxs("div",{className:"ho-stat",children:[e.jsx("div",{className:"ho-stat__label",children:"Service Type"}),e.jsx("div",{className:"ho-stat__value",children:N(h.serviceType)})]}),e.jsxs("div",{className:"ho-stat",children:[e.jsx("div",{className:"ho-stat__label",children:"From PinCode"}),e.jsx("div",{className:"ho-stat__value",children:`${h.fromPincode}`})]}),e.jsxs("div",{className:"ho-stat",children:[e.jsx("div",{className:"ho-stat__label",children:"To PinCode"}),e.jsx("div",{className:"ho-stat__value",children:`${h.receiverPincode}`})]}),e.jsxs("div",{className:"ho-stat",children:[e.jsx("div",{className:"ho-stat__label",children:"3PL / Partner"}),e.jsx("div",{className:"ho-stat__value",children:`${h.awb?N(h.awb):" "} — ${h.partner?N(h.partner):" "}`})]})]})}),d?.shipmentTracking?.childInfoDto&&d?.shipmentTracking?.childInfoDto.length>0&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"ho-box ho-box--flush",style:{paddingTop:"0px"},children:[e.jsxs("div",{className:"ho-subtitle ho-subtitle--primary",style:{display:"flex",justifyContent:"space-between",alignItems:"center",paddingTop:"4px",marginBottom:"0px"},children:[e.jsxs("span",{className:"ho-title-left",children:[e.jsx("img",{src:$e,className:"ho-title-icon",alt:""}),e.jsx("span",{children:"Child Shipment Info"})]}),e.jsxs(u.Tag,{color:"#F0F9FF",className:"ho-chip",style:{display:"flex",cursor:"pointer",alignItems:"center",gap:"4px",paddingTop:"0px"},onClick:()=>B(!0),children:[d?.shipmentTracking?.childInfoDto.length+" Child Shipments",e.jsx("svg",{width:"12",height:"12",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{transform:"rotate(180deg)"},children:e.jsx("path",{d:"M14.9987 6.00071H3.13972L6.76939 1.64111C6.93912 1.43691 7.02077 1.17365 6.99639 0.909247C6.97202 0.644844 6.8436 0.400955 6.63941 0.231232C6.43521 0.0615082 6.17195 -0.0201464 5.90755 0.00423112C5.64314 0.0286087 5.39925 0.157022 5.22953 0.36122L0.229979 6.36068C0.196343 6.4084 0.166264 6.45853 0.139987 6.51067C0.139987 6.56066 0.139988 6.59066 0.0699939 6.64066C0.0246714 6.75531 0.000941037 6.87735 0 7.00063C0.000941037 7.1239 0.0246714 7.24594 0.0699939 7.36059C0.0699939 7.41059 0.0699936 7.44059 0.139987 7.49058C0.166264 7.54272 0.196343 7.59285 0.229979 7.64057L5.22953 13.64C5.32354 13.7529 5.44127 13.8437 5.57435 13.9059C5.70742 13.9681 5.85256 14.0002 5.99946 14C6.23309 14.0005 6.45951 13.9191 6.63941 13.77C6.74065 13.6861 6.82435 13.583 6.88569 13.4666C6.94704 13.3503 6.98483 13.223 6.99691 13.0921C7.00898 12.9611 6.9951 12.829 6.95606 12.7034C6.91702 12.5778 6.85359 12.4612 6.76939 12.3601L3.13972 8.00054H14.9987C15.2638 8.00054 15.5182 7.89519 15.7057 7.70767C15.8932 7.52015 15.9986 7.26582 15.9986 7.00063C15.9986 6.73543 15.8932 6.4811 15.7057 6.29358C15.5182 6.10606 15.2638 6.00071 14.9987 6.00071Z",fill:"#026AA2"})})]})]}),e.jsx("div",{className:"ho-table-responsive-wrapper",children:e.jsxs("table",{className:"ho-eway-table",style:{borderCollapse:"collapse",borderSpacing:"0",marginTop:"0px",width:"100%"},children:[e.jsx("thead",{style:{borderBottom:"none",padding:"0",margin:"0"},children:e.jsxs("tr",{style:{border:"none",padding:"0",margin:"0"},children:[e.jsx("th",{style:{width:"33.33%",border:"none",padding:"8px 0 8px 10px",textAlign:"left"},children:"AWB Number"}),e.jsx("th",{style:{width:"33.33%",border:"none",padding:"8px 0",textAlign:"left"},children:"Current Hub"}),e.jsx("th",{style:{width:"33.33%",border:"none",padding:"8px 0",textAlign:"left"},children:"Status"})]})}),e.jsx("tbody",{style:{padding:"0",margin:"0"},children:(X?d?.shipmentTracking?.childInfoDto:d?.shipmentTracking?.childInfoDto.slice(0,1))?.map((i,c)=>e.jsxs("tr",{style:{padding:"0",margin:"0"},children:[e.jsx("td",{style:{padding:"8px 0 8px 10px",margin:"0"},className:"ho-table-value",children:e.jsx("span",{className:"ho-link-underline",onClick:()=>_(`/shipment-details-ui?awb=${encodeURIComponent(i.awbNumber)}`,{replace:!0,state:{parentAwb:U}}),children:i.awbNumber})}),e.jsx("td",{className:"ho-table-value",style:{padding:"8px 0",margin:"0",paddingRight:"20px"},children:N(i.currentHub||"—")}),e.jsx("td",{className:"ho-table-value",style:{padding:"8px 0",margin:"0"},children:e.jsx(u.Tag,{className:"ho-badge ho-badge--blue ho-table-value",children:N(i.status||"—")})})]},c))})]})})]}),e.jsx("div",{style:{marginBottom:"16px"}})]}),e.jsxs("div",{className:"ho-box ho-box--flush",children:[e.jsxs("div",{className:"ho-subtitle ho-subtitle--primary",style:{display:"flex",justifyContent:"space-between",alignItems:"center",paddingTop:"4px",marginBottom:"0px"},children:[e.jsxs("span",{className:"ho-title-left",style:{display:"flex",alignItems:"center",gap:"8px"},children:[e.jsx("img",{src:Xe,className:"ho-title-icon",alt:""}),e.jsx("span",{children:"E-way Bill Info"})]}),d?.shipmentTracking?.ewayInfo?.length>0&&e.jsxs(u.Tag,{color:"#F0F9FF",className:"ho-chip",style:{display:"flex",cursor:"pointer",alignItems:"center",gap:"4px",paddingTop:"0px"},onClick:()=>xe(!0),children:[d?.shipmentTracking?.ewayInfo?.length+" E-way Bills",e.jsx("svg",{width:"12",height:"12",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{transform:"rotate(180deg)"},children:e.jsx("path",{d:"M14.9987 6.00071H3.13972L6.76939 1.64111C6.93912 1.43691 7.02077 1.17365 6.99639 0.909247C6.97202 0.644844 6.8436 0.400955 6.63941 0.231232C6.43521 0.0615082 6.17195 -0.0201464 5.90755 0.00423112C5.64314 0.0286087 5.39925 0.157022 5.22953 0.36122L0.229979 6.36068C0.196343 6.4084 0.166264 6.45853 0.139987 6.51067C0.139987 6.56066 0.139988 6.59066 0.0699939 6.64066C0.0246714 6.75531 0.000941037 6.87735 0 7.00063C0.000941037 7.1239 0.0246714 7.24594 0.0699939 7.36059C0.0699939 7.41059 0.0699936 7.44059 0.139987 7.49058C0.166264 7.54272 0.196343 7.59285 0.229979 7.64057L5.22953 13.64C5.32354 13.7529 5.44127 13.8437 5.57435 13.9059C5.70742 13.9681 5.85256 14.0002 5.99946 14C6.23309 14.0005 6.45951 13.9191 6.63941 13.77C6.74065 13.6861 6.82435 13.583 6.88569 13.4666C6.94704 13.3503 6.98483 13.223 6.99691 13.0921C7.00898 12.9611 6.9951 12.829 6.95606 12.7034C6.91702 12.5778 6.85359 12.4612 6.76939 12.3601L3.13972 8.00054H14.9987C15.2638 8.00054 15.5182 7.89519 15.7057 7.70767C15.8932 7.52015 15.9986 7.26582 15.9986 7.00063C15.9986 6.73543 15.8932 6.4811 15.7057 6.29358C15.5182 6.10606 15.2638 6.00071 14.9987 6.00071Z",fill:"#026AA2"})})]})]}),(!d?.shipmentTracking?.ewayInfo||d?.shipmentTracking?.ewayInfo.length===0)&&e.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"80px",fontFamily:"Roboto",fontSize:"14px",color:"#6B7280",width:"100%"},children:"No E-Way Bill Data Available"}),d?.shipmentTracking?.ewayInfo?.length>0&&e.jsx(e.Fragment,{children:e.jsx("div",{className:"ho-table-responsive-wrapper",children:e.jsxs("table",{className:"ho-eway-table",style:{borderCollapse:"collapse",width:"100%"},children:[e.jsx("thead",{style:{borderBottom:"none"},children:e.jsxs("tr",{style:{border:"none"},children:[e.jsx("th",{style:{borderBottom:"none",borderTop:"none",padding:"8px 0 8px 10px"},children:"E-Way Bill No"}),e.jsx("th",{style:{borderBottom:"none",borderTop:"none",padding:"8px 0"},children:"Created"}),e.jsx("th",{style:{borderBottom:"none",borderTop:"none",padding:"8px 0"},children:"Updated"}),e.jsx("th",{style:{borderBottom:"none",borderTop:"none",padding:"8px 0"},children:"Expiry Date"})]})}),e.jsx("tbody",{children:d?.shipmentTracking?.ewayInfo?.slice(0,1)?.map((i,c)=>e.jsxs("tr",{children:[e.jsx("td",{className:"ho-stat__value",style:{padding:"8px 0 8px 10px"},children:i.ewaybill_no||"—"}),e.jsx("td",{className:"ho-stat__value",children:z(i.eway_bill_crt_date)||"—"}),e.jsx("td",{className:"ho-stat__value",children:z(i.update_date||"-")}),e.jsx("td",{className:"ho-stat__value",children:z(i.ewb_bill_exp_date)||"—"})]},c))})]})})})]}),e.jsx(u.Modal,{title:e.jsx("span",{style:{fontFamily:"Roboto",fontWeight:500,fontSize:"16px",color:"#003371"},children:"Child Shipments"}),open:P,footer:null,onCancel:()=>B(!1),width:800,children:e.jsxs("table",{className:"ho-eway-table",style:{width:"100%"},children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{children:"AWB Number"}),e.jsx("th",{children:"Current Hub"}),e.jsx("th",{children:"Status"})]})}),e.jsx("tbody",{children:d?.shipmentTracking?.childInfoDto?.map((i,c)=>e.jsxs("tr",{children:[e.jsx("td",{className:"ho-table-value",children:e.jsx("span",{className:"ho-link-underline",onClick:()=>{_(`/shipment-details-ui?awb=${encodeURIComponent(i.awbNumber)}`,{replace:!0,state:{parentAwb:U}}),B(!1)},style:{cursor:"pointer"},children:i.awbNumber})}),e.jsx("td",{className:"ho-table-value",children:N(i.currentHub||"—")}),e.jsx("td",{className:"ho-table-value",children:e.jsx(u.Tag,{className:"ho-badge ho-badge--blue",children:N(i.status||"—")})})]},c))})]})}),e.jsx(u.Modal,{title:e.jsx("span",{style:{fontFamily:"Roboto",fontWeight:500,fontSize:"16px",lineHeight:"100%",letterSpacing:"0px",color:"#003371"},children:"Route"}),open:fe,onCancel:()=>ee(!1),footer:null,width:450,children:e.jsx("div",{className:"ho-route",style:{maxHeight:"70vh",overflowY:"auto",paddingRight:"10px"},children:A.length===0?e.jsx("div",{className:"ho-route__empty",children:"Route not available"}):A.map((i,c)=>e.jsxs("div",{className:"ho-route__row",children:[e.jsx("div",{className:`ho-route__node ho-route__node--${i.type}`,children:c===0?e.jsx("span",{className:"ho-route__tag ho-route__tag--plain",children:e.jsx("img",{src:oe,alt:""})}):i.type==="to"?e.jsx("span",{className:"ho-route__tag ho-route__tag--plain",children:e.jsx("img",{src:re,alt:"",className:"ho-route__dest"})}):e.jsxs("span",{className:"ho-route__tag ho-route__tag--transit",children:["T",c]})}),e.jsx("div",{className:"ho-route__content",children:e.jsxs("div",{className:"ho-route__name",children:[e.jsx("span",{className:"ho-table-value",children:N(i.hub)}),i.type==="source"&&e.jsx("span",{className:"ho-pill ho-pill--source",children:"Source Hub"}),i.type==="to"&&e.jsx("span",{className:"ho-pill ho-pill--to",children:"To Hub"})]})})]},c))})}),e.jsx(u.Modal,{title:e.jsx("span",{style:{fontFamily:"Roboto",fontWeight:500,fontSize:"16px",lineHeight:"100%",letterSpacing:"0px",color:"#003371"},children:"E-way Bill Info"}),open:G,footer:null,onCancel:()=>xe(!1),width:900,children:e.jsxs("table",{className:"ho-eway-table",children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{children:"E-Way Bill No"}),e.jsx("th",{children:"Created"}),e.jsx("th",{children:"Updated"}),e.jsx("th",{children:"Expiry Date"})]})}),e.jsx("tbody",{children:d?.shipmentTracking?.ewayInfo?.map((i,c)=>e.jsxs("tr",{children:[e.jsx("td",{className:"ho-stat__value",children:i.ewaybill_no||"—"}),e.jsx("td",{className:"ho-stat__value",children:z(i.eway_bill_crt_date)||"—"}),e.jsx("td",{className:"ho-stat__value",children:z(i.update_date||"-")}),e.jsx("td",{className:"ho-stat__value",children:z(i.ewb_bill_exp_date)||"—"})]},c))})]})}),e.jsxs("div",{className:"ho-grid ho-grid--2",children:[e.jsxs("div",{className:"ho-box ho-box--flush",children:[e.jsx("div",{className:"ho-subtitle ho-subtitle--primary",children:e.jsxs("span",{className:"ho-title-left",children:[e.jsx("img",{src:Xe,className:"ho-title-icon",alt:""}),e.jsx("span",{children:"Sender / Receiver Info"})]})}),e.jsxs("div",{className:"ho-grid",children:[e.jsx(ae,{label:"S - Name :",value:N(h.sender.name)}),e.jsx(ae,{label:"R - Name :",value:N(h.receiver.name)})]})]}),e.jsxs("div",{className:"ho-box ho-box--flush",children:[e.jsx("div",{className:"ho-subtitle ho-subtitle--primary",children:e.jsxs("span",{className:"ho-title-left",children:[e.jsx("img",{src:$e,className:"ho-title-icon",alt:""}),e.jsx("span",{children:"Package Information"})]})}),e.jsxs("div",{className:"ho-grid",children:[e.jsx(ae,{label:"Weight :",value:h.pkg.weight}),e.jsx(ae,{label:"Dimensions:",value:h.pkg.dimensions}),e.jsx(ae,{label:"Volumetric Wt(Kg) :",value:h.pkg.volumetric})]})]})]})]})]})}),e.jsx(u.Col,{xs:24,lg:14,children:e.jsxs(u.Row,{gutter:[16,16],children:[e.jsx(u.Col,{xs:24,lg:12,children:e.jsxs(u.Card,{className:"ho-card ho-card--equal",style:{height:L?"484px":"644px"},children:[e.jsx("div",{className:"ho-section-title",children:e.jsxs("div",{className:"ho-title-left",children:[e.jsx("img",{src:Fe,className:"ho-title-icon",alt:""}),e.jsx("span",{className:"ho-title",children:"Route"})]})}),e.jsx("div",{ref:T,className:`ho-route ${A.length===0?"ho-route--empty":""}`,style:A.length===0?{display:"flex",alignItems:"center",justifyContent:"center",minHeight:L?"400px":"560px",textAlign:"center"}:{maxHeight:L?"420px":"580px",overflow:"hidden",position:"relative"},children:A.length===0?e.jsx("span",{style:{color:"#6B7280",fontSize:"14px",fontFamily:"Roboto"},children:"Route not available"}):e.jsxs(e.Fragment,{children:[H?A.slice(0,5).map((i,c)=>e.jsxs("div",{className:"ho-route__row",children:[e.jsx("div",{className:`ho-route__node ho-route__node--${i.type}`,children:c===0?e.jsx("span",{className:"ho-route__tag ho-route__tag--plain",children:e.jsx("img",{src:oe,alt:"",className:"ho-route__truck"})}):i.type==="to"?e.jsx("span",{className:"ho-route__tag ho-route__tag--plain",children:e.jsx("img",{src:re,alt:"",className:"ho-route__dest"})}):e.jsxs("span",{className:"ho-route__tag ho-route__tag--transit",children:["T",c]})}),e.jsx("div",{className:"ho-route__content",children:e.jsxs("div",{className:"ho-route__name",children:[e.jsx("span",{className:"ho-table-value",children:N(i.hub)}),i.type==="source"&&e.jsx("span",{className:"ho-pill ho-pill--source",children:"Source Hub"}),i.type==="to"&&e.jsx("span",{className:"ho-pill ho-pill--to",children:"To Hub"})]})})]},c)):A.map((i,c)=>e.jsxs("div",{className:"ho-route__row",children:[e.jsx("div",{className:`ho-route__node ho-route__node--${i.type}`,children:c===0?e.jsx("span",{className:"ho-route__tag ho-route__tag--plain",children:e.jsx("img",{src:oe,alt:"",className:"ho-route__truck"})}):i.type==="to"?e.jsx("span",{className:"ho-route__tag ho-route__tag--plain",children:e.jsx("img",{src:re,alt:"",className:"ho-route__dest"})}):e.jsxs("span",{className:"ho-route__tag ho-route__tag--transit",children:["T",c]})}),e.jsx("div",{className:"ho-route__content",children:e.jsxs("div",{className:"ho-route__name",children:[e.jsx("span",{className:"ho-table-value",children:N(i.hub)}),i.type==="source"&&e.jsx("span",{className:"ho-pill ho-pill--source",children:"Source Hub"}),i.type==="to"&&e.jsx("span",{className:"ho-pill ho-pill--to",children:"To Hub"})]})})]},c)),H&&e.jsxs("div",{className:"ho-route__more",onClick:()=>ee(!0),children:[e.jsx("span",{className:"ho-route__more-text",children:"View More"}),e.jsx("span",{className:"ho-route__more-caret",children:"▾"})]})]})})]})}),e.jsx(u.Col,{xs:24,lg:12,children:e.jsxs(u.Card,{className:"ho-card ho-card--equal",style:{height:L?"484px":"644px"},bodyStyle:{display:"flex",flexDirection:"column",height:"100%",overflow:"hidden"},children:[e.jsxs("div",{className:"ho-section-title",children:[e.jsxs("div",{className:"ho-title-left",children:[e.jsx("img",{src:Fe,className:"ho-title-icon",alt:""}),e.jsx("span",{className:"ho-title",children:"Audit Info"})]}),M.length>0&&e.jsxs(u.Tag,{color:"#E9F2FF",className:"ho-chip",children:[M.length," Audit",M.length!==1?"s":""]})]}),e.jsxs("div",{className:"ho-list",style:{flex:1,display:"flex",flexDirection:"column",gap:"12px",overflow:"hidden"},children:[!M.length&&e.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",flex:1,height:"auto",textAlign:"center",width:"100%",fontFamily:"Roboto",fontSize:"14px",color:"#6B7280"},children:"No audit info available"}),M.length>0&&e.jsxs(e.Fragment,{children:[e.jsxs("button",{className:"ho-list__item",onClick:()=>m(g==="audit-master"?null:"audit-master"),children:[e.jsxs("span",{className:"ho-strong",children:["Weight(",M.length,")"]}),e.jsx("span",{className:`ho-list__chevron ${g==="audit-master"?"ho-open":""}`,children:"▾"})]}),g==="audit-master"&&e.jsx("div",{className:"ho-expand-block",style:{flex:1,overflowY:"auto",maxHeight:"none",display:"flex",flexDirection:"column",gap:"10px"},children:M.map((i,c)=>e.jsxs(u.Card,{className:"ho-subcard ho-mt-10",children:[e.jsxs("div",{className:"ho-grid ho-grid--2",style:{justifyContent:"space-between",display:"flex"},children:[e.jsxs("div",{className:"ho-kv-stack",children:[e.jsx("span",{className:"ho-stat__label",children:"Audited Hub"}),e.jsx(u.Tooltip,{title:N(i.auditedHubName||"—"),children:e.jsx("span",{style:{maxWidth:"140px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"inline-block",verticalAlign:"bottom",cursor:"pointer"},children:N(i.auditedHubName||"—")})})]}),e.jsxs("div",{className:"ho-kv-stack",style:{textAlign:"right"},children:[e.jsx("span",{className:"ho-stat__label",children:"Audited Date"}),e.jsx("span",{children:i.auditTimestamp||"—"})]})]}),e.jsx("div",{style:{height:"12px"}}),e.jsxs("div",{className:"ho-box ho-box--flush",children:[e.jsx("div",{className:"ho-subtitle-audit",children:"Audited Value"}),e.jsxs("div",{className:"ho-grid",children:[e.jsx(ke,{label:"Actual",value:i.auditedWeight||"—",isAudit:!0,icon:ds},`ah-${c}`),e.jsx(ke,{label:"Volumetric",value:i.volumetricAuditedValue||"—",isAudit:!0,icon:us},`sh-${c}`),e.jsx(ke,{label:"LWH(cm)",value:i.auditedLength+","+i.auditedWidth+","+i.auditedHeight||"—",icon:hs},`sh-${c}`)]})]}),e.jsxs("div",{className:"ho-note",children:[e.jsx("span",{style:{color:"#000",fontWeight:600},children:"Note:"})," ","Audited actual weight is"," ",i.weightDiff!=null?`${i.weightDiff>=0?"higher":"lower"} by ${Math.abs(i.weightDiff).toFixed(2)} %.`:"—"]})]},`audit-card-${c}`))})]})]})]})}),L&&e.jsx(u.Col,{xs:24,lg:24,children:e.jsxs(u.Card,{className:"ho-card ho-card--equal",style:{height:"136px",borderRadius:"24px",width:"100%"},children:[L&&e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"flex-start"},children:[e.jsxs("div",{children:[e.jsx("div",{style:{fontSize:"18px",fontWeight:700,color:"#003371"},children:l?.ticketNumber||"N/A"}),e.jsxs("div",{style:{marginTop:"8px",fontSize:"14px",color:"#344054"},children:[e.jsx("span",{style:{color:"#667085"},children:"Title : "}),e.jsx("span",{style:{fontWeight:600,color:"#003371"},children:l?.title||"—"})]})]}),e.jsxs(u.Tag,{color:"#FFF8EB",style:{color:"#B54708",border:"1px solid #FEDF89",borderRadius:"16px",padding:"4px 12px",fontWeight:600,display:"flex",alignItems:"center",gap:"6px",fontSize:"12px"},children:[e.jsx("span",{style:{width:"6px",height:"6px",borderRadius:"50%",backgroundColor:"#F79009"}}),l?.status?.name||"In Progress"]})]}),L&&e.jsxs(e.Fragment,{children:[e.jsx("div",{style:{margin:"12px 0",borderBottom:"1px dashed #D0D5DD"}}),e.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:"10px",alignItems:"center",color:"#667085",fontSize:"13px"},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"6px"},children:[e.jsx(xt,{})," Reported By ",N(l?.reportedBy||"—")]}),l?.reportedDate&&e.jsxs(e.Fragment,{children:[e.jsx("div",{style:{width:"4px",height:"4px",borderRadius:"50%",backgroundColor:"#D0D5DD"}}),e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"6px"},children:[e.jsx(pt,{})," ",l.reportedDate]})]}),e.jsx("div",{style:{width:"4px",height:"4px",borderRadius:"50%",backgroundColor:"#D0D5DD"}}),e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"6px"},children:[e.jsx(mt,{})," Assigned To ",l?.assignedTo?N(l.assignedTo):"—"]})]})]})]})})]})}),e.jsx(u.Col,{span:24,children:e.jsxs(u.Card,{className:"ho-card",children:[e.jsx("div",{className:"ho-section-title",children:e.jsxs("div",{className:"ho-title-left",children:[e.jsx("img",{src:ft,className:"ho-title-icon",alt:""}),e.jsx("span",{className:"ho-title",children:"Travel Info"})]})}),e.jsx(u.Table,{className:"ho-table",columns:R,dataSource:S,pagination:!1,scroll:{x:1e3}})]})})]})})})}const et="data:image/svg+xml,%3csvg%20width='16'%20height='14'%20viewBox='0%200%2016%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.9987%206.00071H3.13972L6.76939%201.64111C6.93912%201.43691%207.02077%201.17365%206.99639%200.909247C6.97202%200.644844%206.8436%200.400955%206.63941%200.231232C6.43521%200.0615082%206.17195%20-0.0201464%205.90755%200.00423112C5.64314%200.0286087%205.39925%200.157022%205.22953%200.36122L0.229979%206.36068C0.196343%206.4084%200.166264%206.45853%200.139987%206.51067C0.139987%206.56066%200.139988%206.59066%200.0699939%206.64066C0.0246714%206.75531%200.000941037%206.87735%200%207.00063C0.000941037%207.1239%200.0246714%207.24594%200.0699939%207.36059C0.0699939%207.41059%200.0699936%207.44059%200.139987%207.49058C0.166264%207.54272%200.196343%207.59285%200.229979%207.64057L5.22953%2013.64C5.32354%2013.7529%205.44127%2013.8437%205.57435%2013.9059C5.70742%2013.9681%205.85256%2014.0002%205.99946%2014C6.23309%2014.0005%206.45951%2013.9191%206.63941%2013.77C6.74065%2013.6861%206.82435%2013.583%206.88569%2013.4666C6.94704%2013.3503%206.98483%2013.223%206.99691%2013.0921C7.00898%2012.9611%206.9951%2012.829%206.95606%2012.7034C6.91702%2012.5778%206.85359%2012.4612%206.76939%2012.3601L3.13972%208.00054H14.9987C15.2638%208.00054%2015.5182%207.89519%2015.7057%207.70767C15.8932%207.52015%2015.9986%207.26582%2015.9986%207.00063C15.9986%206.73543%2015.8932%206.4811%2015.7057%206.29358C15.5182%206.10606%2015.2638%206.00071%2014.9987%206.00071Z'%20fill='%23231F20'/%3e%3c/svg%3e",xs="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.6654%209.99967V12.5923C12.6654%2014.0755%2012.175%2014.6663%2010.5913%2014.6663H5.4061C3.92281%2014.6663%203.33203%2014.1759%203.33203%2012.5923V9.99967C3.33203%207.42234%205.42137%205.33301%207.9987%205.33301C10.576%205.33301%2012.6654%207.42234%2012.6654%209.99967Z'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M10.6654%209.99967C10.6654%208.52694%209.47143%207.33301%207.9987%207.33301C6.52594%207.33301%205.33203%208.52694%205.33203%209.99967'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M8%2011.3333L8.66667%2010'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M10.8762%203.33301H5.12634C4.53728%203.33301%204.24274%203.33301%203.98358%203.23165C3.89749%203.19798%203.81514%203.15633%203.73774%203.10733C3.50472%202.95979%203.34135%202.72823%203.0146%202.26511C2.75994%201.90417%202.63261%201.7237%202.6765%201.57614C2.6904%201.52945%202.7149%201.48619%202.7483%201.44937C2.8539%201.33301%203.08344%201.33301%203.54253%201.33301H12.4601C12.9192%201.33301%2013.1487%201.33301%2013.2543%201.44937C13.2877%201.48619%2013.3122%201.52945%2013.3261%201.57614C13.37%201.7237%2013.2426%201.90417%2012.988%202.26511C12.6612%202.72823%2012.4979%202.9598%2012.2648%203.10733C12.1874%203.15633%2012.1051%203.19798%2012.019%203.23165C11.7598%203.33301%2011.4653%203.33301%2010.8762%203.33301Z'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M9.33464%205.33301V3.33301M6.66797%205.33301V3.33301'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3c/svg%3e",fs="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.66699%205.33333L8.00033%202.66667L13.3337%205.33333V10.6667L8.00033%2013.3333L2.66699%2010.6667V5.33333Z'%20stroke='%23003371'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8%206V10'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M10.667%207.33333V9.33333'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M5.33301%207.33301V9.33301'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3c/svg%3e";var Ie={};function k(s){if(s==null)return"";const t=String(s).replace(/[_-]+/g," ").replace(/\s+/g," ").trim().toLowerCase();return t?t.replace(/\b\w/g,n=>n.toUpperCase()):""}function bt(s){if(!s)return"—";const t=new Date(s);if(isNaN(t.getTime()))return"—";const n=a=>String(a).padStart(2,"0");return n(t.getDate())+"-"+n(t.getMonth()+1)+"-"+t.getFullYear()+" "+n(t.getHours())+":"+n(t.getMinutes())+":"+n(t.getSeconds())}const Cs=[{title:"Date and Time",dataIndex:"time",key:"time",render:s=>e.jsx("span",{className:"ho-nowrap",children:s?bt(s):"—"})},{title:"Location",dataIndex:"location",key:"location",render:s=>s?k(s):"—"},{title:"Process",dataIndex:"process",key:"process",render:(s,t)=>{const n=(s||"").toString().toUpperCase(),o=["REMOVED_FROM_BAG","REMOVED_FROM_LCR","ATTEMPTED","MIS_ROUTED","UNDELIVERED"].includes(n),r=n==="OUT_SCAN_TO_CP"||n==="IN_BAG_OUT_CP",g=t?.toPremisename&&t.toPremisename!=="-"?k(t.toPremisename):"",m=r?`${k(s)} → ${g}`:k(s),d=o?{color:"#e14949",borderColor:"#ffd5d5",background:"#ffecec"}:{color:"#1f7a48",borderColor:"#cfeede",background:"#e9fff1"},b=`ho-tag ${o?"ho-tag--danger":"ho-tag--success"}`;return e.jsx(u.Tag,{style:d,className:b,children:m})}},{title:"User",dataIndex:"user",key:"user"},{title:"Exception",dataIndex:"exception",key:"exception",render:s=>s||"-"},{title:"Remark",dataIndex:"remark",key:"remark",render:(s,t)=>{if(!s)return"-";const n=(t?.process||"").toString().toUpperCase(),a=n.includes("OUTSCAN")&&n!=="HUB-OUTSCAN"||n==="SCHEDULED_FOR_TRIP",o=s.indexOf("LCR No:"),r=o>=0,g=r?s.slice(0,o):s,m=r?s.slice(o):"",d=r?(m.replace(/^[^:]*:\s*/i,"")||"").trim():"";return e.jsxs("span",{children:[g,r?e.jsxs(e.Fragment,{children:[e.jsx("strong",{className:"ho-remark-strong",children:"LCR No: "}),e.jsx("a",{className:"ho-link",onClick:()=>{sessionStorage.setItem("LCR_REPORT_RECORD",JSON.stringify({vehicle_lcr_id:d})),window.open(window.location.origin+"/lcr-report","_blank")},children:d})]}):null,a?e.jsx(u.Tooltip,{placement:"top",title:e.jsxs("div",{children:[e.jsxs("div",{children:[e.jsx("strong",{children:"Co-loader:"})," ",k(t.coLoader||"—")]}),e.jsxs("div",{children:[e.jsx("strong",{children:"Transport type:"})," ",k(t.transportType||"—")]}),e.jsxs("div",{children:[e.jsx("strong",{children:"Flight Name:"})," ",t.flightName?k(t.flightName):"N/A"]}),e.jsxs("div",{children:[e.jsx("strong",{children:"Vehicle No:"})," ",t.vehicleNo||"—"]}),e.jsxs("div",{children:[e.jsx("strong",{children:"Driver Name:"})," ",k(t.driverName||"—")]})]}),children:e.jsx("span",{className:"ho-alert-dot"})}):null]})}}];function bs({endpoint:s,awbNumber:t,showBackArrow:n=!1}){const a=ge.useNavigate(),o=ge.useLocation(),[r,g]=x.useState(null),[m,d]=x.useState(!1),[b,C]=x.useState(!1),[I,D]=x.useState(!1),_=x.useRef(Ie.NODE_ENV==="development"),[X,$]=x.useState(!1),G=()=>{window.history.length<=1?window.close():a(-1)},fe=new URLSearchParams(o.search).get("endpoint"),ee=s||fe||Ie.REACT_APP_TRACKING_ENDPOINT,P=x.useMemo(()=>{if(t)return t;const l=new URLSearchParams(o.search);return l.get("awb")||l.get("awbNumber")||""},[t,o.search]);x.useEffect(()=>{let l=!1;return Ie.NODE_ENV==="development"&&_.current?(_.current=!1,()=>{l=!0}):((async()=>{try{if(d(!0),!P){g(null);return}const A=`${ee}?awbNumber=${encodeURIComponent(P)}`,S=await fetch(A);if(!S.ok)throw new Error("Request failed");const R=await S.json();l||g(R)}catch{l||g(null)}finally{l||d(!1)}})(),()=>{l=!0})},[ee,P]);const B=r?.baggingTracking,T=B?.baggingInfo,H=B?.travelInfoDto||r?.shipmentTracking?.travelDtos||[],le=T?.bag_barcode||H.find(l=>(l?.bagBarCode||l?.bagbarcode)&&(l?.bagBarCode||l?.bagbarcode)!=="-")?.bagBarCode||"—",ce=x.useMemo(()=>{try{return(H||[]).filter(h=>(h?.status||"").toUpperCase()==="BAG_CREATED").map(h=>h?.date).filter(Boolean).sort()[0]||null}catch{return null}},[H]),F=(()=>{const l=B?.route_info||r?.shipmentTracking?.route_info;if(!l)return[];const h=Array.isArray(l)?l.filter(S=>S&&S!=="null"&&S!==""):[];if(h.length===0)return[];const A=S=>{if(!S)return"";try{const R=S.split(" ")[0].split("-");return`${R[2]}-${R[1]}-${R[0]}`}catch{return S}};return h.map((S,R,Y)=>({hub:S,date:A(B?.travelInfoDto?.[R]?.date),type:R===0?"source":R===Y.length-1?"to":"transit"}))})(),U=l=>{const h=M[l];return h?h.bagIn&&!h.bagOut?"bag-chip--in":!h.bagIn&&h.bagOut?"bag-chip--out":"ho-badge--blue":"ho-badge--blue"},Ce=(Array.isArray(H)?H:[]).map((l,h)=>{const A=l?.status||l?.process||l?.event||"-",S=(A||"").toUpperCase(),R=l?.premisename||l?.location||"",Y=l?.topremisename||l?.toPremisename||l?.toPremiseName||"",de=`Scheduled Outscan from ${k(R)} to ${k(Y)}`,L=l.lcrnum||l.lcrNum||l.lcr_no||l.lcrNo||"",be=L?`${de} — LCR No: ${L}`:de;return{key:h,time:l?.date||"-",location:l?.premisename||l?.location||"-",toPremisename:l?.topremisename||l?.toPremiseName||"-",process:A,bag:l?.bagBarCode||"-",user:l?.user||"-",exception:l.exception||(l.isException,"-"),remark:S==="SCHEDULED_FOR_TRIP"?be:l?.remarks||"-",coLoader:l?.coloader||"—",transportType:l?.travelby||"—",flightName:l?.flightnum||"N/A",vehicleNo:l?.vehiclenum||"—",driverName:l?.drivername||"—"}}),p=B?.bagShipmentNo||r?.shipmentTracking?.children?.map(l=>l.awbNumber)||[],M=x.useMemo(()=>{const l=B?.bagShipmentDetails||[],h={};return l.forEach(A=>{h[A.barcode]={bagIn:A.bagIn,bagOut:A.bagOut}}),h},[B]),Z=B&&(T||F.length||H.length||p.length);return!m&&!Z?e.jsx(u.Spin,{spinning:m&&!r,indicator:e.jsx("img",{src:pe,style:{height:"100px",width:"100px"}}),children:e.jsxs("div",{className:"bag-details-page",children:[e.jsxs("p",{className:"master-title-head",style:{marginBottom:"5px"},children:[n&&e.jsx("img",{src:et,onClick:G,className:"pointer"}),e.jsx("span",{children:"Bag Details"})]}),e.jsx("div",{className:"bag-empty",children:e.jsxs(u.Card,{className:"ho-card bag-empty__card",children:[e.jsx("div",{className:"ho-section-title bag-empty__title",children:e.jsx("span",{className:"ho-title",children:"Details Not Found"})}),e.jsxs("div",{className:"bag-empty__text",children:["No details found for the provided Bag number:",e.jsxs("strong",{children:[" ",P?.replace(/\+/g,"/")," "]}),e.jsx("br",{}),"Please check the Bag number and try again."]})]})})]})}):e.jsx(u.Spin,{spinning:m&&!r,indicator:e.jsx("img",{src:pe,style:{height:"100px",width:"100px"}}),children:e.jsxs("div",{className:"bag-details-page",children:[e.jsxs("p",{className:"master-title-head",style:{marginBottom:"5px",marginTop:"6px"},children:[n&&e.jsx("img",{src:et,onClick:G,className:"pointer"}),e.jsx("span",{children:"Bag Details"})]}),e.jsxs(u.Row,{gutter:[16,16],children:[e.jsx(u.Col,{xs:24,lg:12,children:e.jsxs(u.Card,{className:"ho-card ho-card--equal",children:[e.jsxs("div",{className:"ho-section-title",children:[e.jsxs("div",{className:"ho-subheader__value",children:[e.jsxs("span",{className:"ho-kv-stack",children:[e.jsx("span",{className:"ho-muted",children:"Bag number"}),e.jsx("span",{className:"ho-strong",children:le})]}),e.jsx(u.Tag,{className:"ho-badge ho-badge--blue",children:"Bag Created"})]}),e.jsx("div",{className:"ho-chip",children:e.jsxs("span",{className:"ho-chip__value",style:{display:"flex",gap:6,whiteSpace:"nowrap"},children:[e.jsx("span",{style:{color:"#344054"},children:"Bag Created:"}),e.jsx("span",{children:ce?bt(ce):"—"})]})})]}),e.jsx("div",{className:"ho-box ho-box--flush",children:e.jsxs("div",{className:"ho-stats",children:[e.jsxs("div",{className:"ho-stat",children:[e.jsx("div",{className:"ho-stat__label",children:"Content Type"}),e.jsx("div",{className:"ho-stat__value",children:k(T?.contentType||"—")})]}),e.jsxs("div",{className:"ho-stat",children:[e.jsx("div",{className:"ho-stat__label",children:"Type"}),e.jsx("div",{className:"ho-stat__value",children:k(T?.bagType||"—")})]}),e.jsxs("div",{className:"ho-stat",children:[e.jsx("div",{className:"ho-stat__label",children:"Mode"}),e.jsx("div",{className:"ho-stat__value",children:k(T?.mode||"—")})]}),e.jsxs("div",{className:"ho-stat",children:[e.jsx("div",{className:"ho-stat__label",children:"Product"}),e.jsx("div",{className:"ho-stat__value",children:k(T?.product||"—")})]}),e.jsxs("div",{className:"ho-stat",children:[e.jsx("div",{className:"ho-stat__label",children:T?.cpId?"Destination CP":"Destination Hub"}),e.jsx("div",{className:"ho-stat__value",children:T?.cpId?k(T?.cpName||"—"):k(T?.destinationHubName||"—")})]})]})}),e.jsx("div",{className:"ho-box",children:e.jsxs("div",{className:"ho-grid",children:[e.jsxs("div",{className:"ho-metric",style:{display:"flex",justifyContent:"space-between"},children:[e.jsxs("span",{className:"ho-kv__label",children:[e.jsx("img",{src:xs,className:"ho-kv-icon",alt:""}),"Bag Weight :"]}),e.jsx("span",{className:"ho-kv__value",style:{color:"#027A48",fontWeight:600},children:T?.bagWeight??"—"})]}),e.jsxs("div",{className:"ho-metric",style:{display:"flex",justifyContent:"space-between"},children:[e.jsxs("span",{className:"ho-kv__label",children:[e.jsx("img",{src:fs,className:"ho-kv-icon",alt:""}),"Total Volumetric Weight :"]}),e.jsx("span",{className:"ho-kv__value",style:{color:"#027A48",fontWeight:600},children:T?.totalWeight??"—"})]})]})})]})}),e.jsx(u.Col,{xs:24,lg:12,children:e.jsxs(u.Row,{gutter:[16,16],children:[e.jsx(u.Col,{span:24,children:e.jsxs(u.Card,{className:"ho-card ho-card--equal",children:[e.jsx("div",{className:"ho-section-title",children:e.jsxs("div",{className:"ho-title-left",children:[e.jsx("img",{src:Fe,className:"ho-title-icon",alt:""}),e.jsx("span",{className:"ho-title",children:"Bag Route"})]})}),e.jsx("div",{className:`ho-route ${F.length===0?"ho-route--empty":""}`,children:F.length===0?e.jsx("div",{className:"ho-route__empty",children:"Bag Route not available"}):e.jsxs(e.Fragment,{children:[F.slice(0,4).map((l,h)=>e.jsxs("div",{className:`ho-route__row ${l.type==="to"?"ho-route__row--to":""}`,children:[e.jsx("div",{children:h===0?e.jsx("span",{className:"ho-route__tag ho-route__tag--transit",children:e.jsx("img",{src:oe,alt:"",className:"ho-route__truck"})}):l.type==="to"?e.jsx("span",{className:"ho-route__tag ho-route__tag--plain",children:e.jsx("img",{src:re,alt:"",className:"ho-route__dest"})}):e.jsxs("span",{className:"ho-route__tag ho-route__tag--transit",children:["T",h]})}),e.jsx("div",{className:"ho-route__content",children:e.jsx("span",{className:"ho-route__title",children:k(l.hub)})})]},h)),F.length>4&&e.jsxs("div",{className:"ho-route__more",onClick:()=>D(!0),children:[e.jsx("span",{className:"ho-route__more-text",children:"View More"}),e.jsx("span",{className:"ho-route__more-caret",children:"▾"})]})]})}),e.jsx(u.Modal,{open:I,title:"Bag Route",footer:null,onCancel:()=>D(!1),width:420,children:e.jsx("div",{className:"shipment-route-modal",children:F.map((l,h)=>e.jsxs("div",{className:"shipment-route-item",children:[e.jsxs("div",{className:"shipment-route-timeline",children:[e.jsx("div",{className:`route-dot route-dot--circle ${l.type}`,children:l.type==="source"?e.jsx("img",{src:oe,alt:"Source Hub"}):l.type==="to"?e.jsx("img",{src:re,alt:"To Hub"}):e.jsxs("span",{className:"ho-route__tag--transit",children:["T",h]})}),h!==F.length-1&&e.jsx("div",{className:"route-line"})]}),e.jsx("div",{className:"shipment-route-content ho-route__content",children:e.jsxs("div",{className:"ho-route__name",children:[e.jsx("span",{className:"ho-route__title",children:k(l.hub)}),l.type==="source"&&e.jsx("span",{className:"route-badge route-badge--source",children:"Source Hub"}),l.type==="to"&&e.jsx("span",{className:"route-badge route-badge--to",children:"To Hub"})]})})]},h))})})]})}),e.jsx(u.Col,{span:24,children:e.jsxs(u.Card,{className:"ho-card ho-card--equal",children:[e.jsxs("div",{className:"ho-section-title",children:[e.jsxs("div",{className:"ho-title-left",children:[e.jsx("img",{src:ft,className:"ho-title-icon",alt:""}),e.jsxs("span",{style:{fontFamily:"Roboto",fontWeight:700,fontSize:"20px",lineHeight:"100%",letterSpacing:"0px",color:"#003371"},children:["Shipments ",p.length>0&&`(${p.length})`]})]}),p.length>0&&e.jsxs("div",{className:"ho-inline",children:[e.jsx("span",{className:"ho-chip bag-chip bag-chip--in",children:"Bag In"}),e.jsx("span",{className:"ho-chip bag-chip bag-chip--out",children:"Bag Out"})]})]}),e.jsx("div",{className:"ho-inline",style:{flexWrap:"wrap",gap:8,width:"100%",display:"flex",justifyContent:"center",alignItems:"center",minHeight:"40px"},children:p.length===0?e.jsx("div",{style:{textAlign:"center",color:"#667085",fontSize:"14px",fontWeight:400},children:"Shipment not available"}):e.jsxs(e.Fragment,{children:[p.slice(0,5).map((l,h)=>e.jsx(u.Tag,{className:`ho-badge pointer ${U(l)}`,style:{marginBottom:8,textDecoration:"underline"},onClick:()=>a(`/shipment-tracker?awb=${l}`),children:l},h)),p.length>5&&e.jsx("span",{onClick:()=>$(!0),style:{cursor:"pointer",color:"#0066CC",textDecoration:"underline",marginLeft:10,fontWeight:600},children:"View More ▾"})]})})]})}),e.jsx(u.Modal,{open:X,title:e.jsxs("div",{style:{fontFamily:"Roboto",fontWeight:700,fontSize:"20px",lineHeight:"100%",letterSpacing:"0px",color:"#003371"},children:["Shipments ",p.length>0&&`(${p.length})`]}),footer:null,onCancel:()=>$(!1),width:450,children:e.jsx("div",{style:{maxHeight:"400px",overflowY:"auto",padding:"10px 5px"},children:p.map((l,h)=>e.jsx(u.Tag,{className:`ho-badge pointer ${U(l)}`,style:{marginBottom:8,display:"inline-block",textDecoration:"underline"},onClick:()=>a(`/shipment-tracker?awb=${l}`),children:l},h))})})]})}),e.jsx(u.Col,{span:24,children:e.jsxs(u.Card,{className:"ho-card",children:[e.jsx("div",{className:"ho-section-title",children:e.jsxs("div",{className:"ho-title-left",children:[e.jsx("img",{src:Ct,className:"ho-title-icon",alt:""}),e.jsx("span",{className:"ho-title",children:"Travel Info"})]})}),e.jsx(u.Table,{className:"ho-table",columns:Cs,dataSource:Ce,rowKey:"key",pagination:!1})]})})]})]})})}exports.BagDetailsUI=bs;exports.ShipmentDetailsUI=ms;
|
|
59
|
+
}`),x.useEffect(()=>{const r=s.current,g=Lt(r);Bt(o,"@ant-design-icons",{prepend:!a,csp:t,attachTo:g})},[])},ie={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Yt({primaryColor:s,secondaryColor:t}){ie.primaryColor=s,ie.secondaryColor=t||dt(s),ie.calculated=!!t}function Vt(){return{...ie}}const J=s=>{const{icon:t,className:n,onClick:a,style:o,primaryColor:r,secondaryColor:g,...m}=s,d=E.useRef(null);let b=ie;if(r&&(b={primaryColor:r,secondaryColor:g||dt(r)}),Zt(d),Gt(Ke(t),`icon should be icon definiton, but got ${t}`),!Ke(t))return null;let C=t;return C&&typeof C.icon=="function"&&(C={...C,icon:C.icon(b.primaryColor,b.secondaryColor)}),De(C.icon,`svg-${C.name}`,{className:n,onClick:a,style:o,"data-icon":C.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",...m,ref:d})};J.displayName="IconReact";J.getTwoToneColors=Vt;J.setTwoToneColors=Yt;function ut(s){const[t,n]=ht(s);return J.setTwoToneColors({primaryColor:t,secondaryColor:n})}function Kt(){const s=J.getTwoToneColors();return s.calculated?[s.primaryColor,s.secondaryColor]:s.primaryColor}var Jt={};function Re(){return Re=Object.assign?Object.assign.bind():function(s){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(s[a]=n[a])}return s},Re.apply(this,arguments)}ut(Me.primary);const q=E.forwardRef((s,t)=>{const{className:n,icon:a,spin:o,rotate:r,tabIndex:g,onClick:m,twoToneColor:d,...b}=s,{prefixCls:C="anticon",rootClassName:I}=E.useContext(tt),D=wt(I,C,{[`${C}-${a.name}`]:!!a.name,[`${C}-spin`]:!!o||a.name==="loading"},n);let _=g;_===void 0&&m&&(_=-1);const X=r?{msTransform:`rotate(${r}deg)`,transform:`rotate(${r}deg)`}:void 0,[$,G]=ht(d);return E.createElement("span",Re({role:"img","aria-label":a.name},b,{ref:t,tabIndex:_,onClick:m,className:D}),E.createElement(J,{icon:a,primaryColor:$,secondaryColor:G,style:X}))});q.getTwoToneColor=Kt;q.setTwoToneColor=ut;Jt.NODE_ENV!=="production"&&(q.displayName="AntdIcon");var Xt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},$t={};function Ee(){return Ee=Object.assign?Object.assign.bind():function(s){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(s[a]=n[a])}return s},Ee.apply(this,arguments)}const es=(s,t)=>E.createElement(q,Ee({},s,{ref:t,icon:Xt})),gt=E.forwardRef(es);$t.NODE_ENV!=="production"&&(gt.displayName="ArrowLeftOutlined");var ts={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},ss={};function _e(){return _e=Object.assign?Object.assign.bind():function(s){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(s[a]=n[a])}return s},_e.apply(this,arguments)}const ns=(s,t)=>E.createElement(q,_e({},s,{ref:t,icon:ts})),pt=E.forwardRef(ns);ss.NODE_ENV!=="production"&&(pt.displayName="CalendarOutlined");var as={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"},is={};function Oe(){return Oe=Object.assign?Object.assign.bind():function(s){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(s[a]=n[a])}return s},Oe.apply(this,arguments)}const os=(s,t)=>E.createElement(q,Oe({},s,{ref:t,icon:as})),mt=E.forwardRef(os);is.NODE_ENV!=="production"&&(mt.displayName="FileTextOutlined");var rs={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},ls={};function Be(){return Be=Object.assign?Object.assign.bind():function(s){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(s[a]=n[a])}return s},Be.apply(this,arguments)}const cs=(s,t)=>E.createElement(q,Be({},s,{ref:t,icon:rs})),xt=E.forwardRef(cs);ls.NODE_ENV!=="production"&&(xt.displayName="UserOutlined");const Fe="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18%202C20.1647%202%2022%203.81484%2022%206.01659C22%208.25341%2020.1348%209.82312%2018.412%2010.8905C18.2864%2010.9623%2018.1445%2011%2018%2011C17.8555%2011%2017.7136%2010.9623%2017.588%2010.8905C15.8684%209.8127%2014%208.26115%2014%206.01659C14%203.81484%2015.8353%202%2018%202Z'%20stroke='%23003371'%20stroke-width='1.5'/%3e%3cpath%20d='M18%206H18.009'%20stroke='%23003371'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5%2022C6.65685%2022%208%2020.6569%208%2019C8%2017.3431%206.65685%2016%205%2016C3.34315%2016%202%2017.3431%202%2019C2%2020.6569%203.34315%2022%205%2022Z'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11%207H9.5C7.567%207%206%208.34315%206%2010C6%2011.6569%207.567%2013%209.5%2013H12.5C14.433%2013%2016%2014.3431%2016%2016C16%2017.6569%2014.433%2019%2012.5%2019H11'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",oe="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.1667%2016.6668C15.0871%2016.6668%2015.8333%2015.9206%2015.8333%2015.0002C15.8333%2014.0797%2015.0871%2013.3335%2014.1667%2013.3335C13.2462%2013.3335%2012.5%2014.0797%2012.5%2015.0002C12.5%2015.9206%2013.2462%2016.6668%2014.1667%2016.6668Z'%20stroke='%23003371'%20stroke-width='1.5'/%3e%3cpath%20d='M5.83464%2016.6663C6.75511%2016.6663%207.5013%2015.9201%207.5013%2014.9997C7.5013%2014.0792%206.75511%2013.333%205.83464%2013.333C4.91416%2013.333%204.16797%2014.0792%204.16797%2014.9997C4.16797%2015.9201%204.91416%2016.6663%205.83464%2016.6663Z'%20stroke='%23003371'%20stroke-width='1.5'/%3e%3cpath%20d='M4.16797%2014.9767C3.25404%2014.9312%202.68389%2014.7952%202.27816%2014.3895C1.87244%2013.9838%201.73649%2013.4136%201.69093%2012.4997M7.5013%2014.9997H12.5013M15.8346%2014.9767C16.7485%2014.9312%2017.3187%2014.7952%2017.7245%2014.3895C18.3346%2013.7793%2018.3346%2012.7972%2018.3346%2010.833V9.16634H14.418C13.7975%209.16634%2013.4873%209.16634%2013.2363%209.08476C12.7289%208.91992%2012.3311%208.52209%2012.1662%208.0147C12.0846%207.76365%2012.0846%207.45343%2012.0846%206.83301C12.0846%205.90237%2012.0846%205.43705%2011.9623%205.06047C11.715%204.29937%2011.1183%203.70266%2010.3572%203.45537C9.98063%203.33301%209.5153%203.33301%208.58463%203.33301H1.66797'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M1.66797%206.66699H6.66797'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M1.66797%209.16699H5.0013'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.082%205H13.5997C14.8125%205%2015.4189%205%2015.9124%205.29476C16.4059%205.58952%2016.6934%206.12343%2017.2684%207.19125L18.332%209.16667'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",re="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='16'%20fill='%23F8FAFC'/%3e%3cpath%20d='M23.5%2011.8335V16.0002M8.5%2011.8335C8.5%2014.3872%208.5%2019.9787%208.5%2020.3012C8.5%2021.4533%2010.1214%2022.1382%2013.3641%2023.5081C14.6668%2024.0583%2015.3182%2024.3335%2016%2024.3335V15.4625'%20stroke='%23003371'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M18.5%2021.8333C18.5%2021.8333%2019.2292%2021.8333%2019.9583%2023.5C19.9583%2023.5%2022.2745%2019.3333%2024.3333%2018.5'%20stroke='%23003371'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.9383%2014.076L10.5039%2012.898C9.16797%2012.2516%208.5%2011.9284%208.5%2011.4165C8.5%2010.9046%209.16797%2010.5814%2010.5039%209.93496L12.9383%208.75702C14.4407%208.03001%2015.1919%207.6665%2016%207.6665C16.8081%207.6665%2017.5593%208.03%2019.0617%208.75702L21.4961%209.93496C22.832%2010.5814%2023.5%2010.9046%2023.5%2011.4165C23.5%2011.9284%2022.832%2012.2516%2021.4961%2012.898L19.0617%2014.076C17.5593%2014.803%2016.8081%2015.1665%2016%2015.1665C15.1919%2015.1665%2014.4407%2014.803%2012.9383%2014.076Z'%20stroke='%23003371'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11%2016L12.6667%2016.8333'%20stroke='%23003371'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M20.1654%209.33301L11.832%2013.4997'%20stroke='%23003371'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",ft="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M17%2021C18.1046%2021%2019%2020.1046%2019%2019C19%2017.8954%2018.1046%2017%2017%2017C15.8954%2017%2015%2017.8954%2015%2019C15%2020.1046%2015.8954%2021%2017%2021Z'%20stroke='%23003371'%20stroke-width='1.5'/%3e%3cpath%20d='M7%2021C8.10457%2021%209%2020.1046%209%2019C9%2017.8954%208.10457%2017%207%2017C5.89543%2017%205%2017.8954%205%2019C5%2020.1046%205.89543%2021%207%2021Z'%20stroke='%23003371'%20stroke-width='1.5'/%3e%3cpath%20d='M2%209V13.947C2%2016.329%202%2017.52%202.73223%2018.26C3.2191%2018.7521%203.90328%2018.9169%205%2018.9722M12.4271%205C13.3404%205.2999%2014.0564%206.02354%2014.3532%206.94654C14.5%207.40322%2014.5%207.96753%2014.5%209.09613C14.5%209.84853%2014.5%2010.2248%2014.5979%2010.5292C14.7957%2011.1445%2015.2731%2011.627%2015.882%2011.8269C16.1832%2011.9258%2016.5555%2011.9258%2017.3%2011.9258H22V13.947C22%2016.329%2022%2017.52%2021.2678%2018.26C20.7809%2018.7521%2020.0967%2018.9169%2019%2018.9722M9%2019H15'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M14.5%207H16.3212C17.7766%207%2018.5042%207%2019.0964%207.35371C19.6886%207.70742%2020.0336%208.34812%2020.7236%209.6295L22%2012'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.32653%208L8.81309%206.82583C9.60436%206.20083%2010%205.88833%2010%205.5M10%205.5C10%205.11168%209.60436%204.79918%208.81309%204.17418L7.32653%203M10%205.5H2'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Ct="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%2022H6C4.11438%2022%203.17157%2022%202.58579%2021.4142C2%2020.8284%202%2019.8856%202%2018V16C2%2014.1144%202%2013.1716%202.58579%2012.5858C3.17157%2012%204.11438%2012%206%2012H8C9.88562%2012%2010.8284%2012%2011.4142%2012.5858C12%2013.1716%2012%2014.1144%2012%2016V18C12%2019.8856%2012%2020.8284%2011.4142%2021.4142C10.8284%2022%209.88562%2022%208%2022Z'%20stroke='%23003371'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6%2015H8'%20stroke='%23003371'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M18%202C15.7909%202%2014%203.80892%2014%206.04033C14%207.31626%2014.5%208.30834%2015.5%209.1945C16.2049%209.81911%2017.0588%2010.8566%2017.5714%2011.6975C17.8173%2012.1008%2018.165%2012.1008%2018.4286%2011.6975C18.9672%2010.8733%2019.7951%209.81911%2020.5%209.1945C21.5%208.30834%2022%207.31626%2022%206.04033C22%203.80892%2020.2091%202%2018%202Z'%20stroke='%23003371'%20stroke-width='2'%20stroke-linejoin='round'/%3e%3cpath%20d='M18%2015V18C18%2019.8856%2018%2020.8284%2017.5314%2021.4142C17.0839%2021.9735%2016.3761%2021.9988%2015%2021.9999'%20stroke='%23003371'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M18.007%206H17.998'%20stroke='%23003371'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Xe="data:image/svg+xml,%3csvg%20width='19'%20height='19'%20viewBox='0%200%2019%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.875%207.9165C11.875%206.60483%2010.8117%205.5415%209.5%205.5415C8.18829%205.5415%207.125%206.60483%207.125%207.9165C7.125%209.22822%208.18829%2010.2915%209.5%2010.2915C10.8117%2010.2915%2011.875%209.22822%2011.875%207.9165Z'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.4577%2014.2503C13.4577%2012.0642%2011.6855%2010.292%209.49935%2010.292C7.31322%2010.292%205.54102%2012.0642%205.54102%2014.2503'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M16.625%2010.2917V8.70833C16.625%205.72277%2016.625%204.22999%2015.6975%203.30249C14.77%202.375%2013.2772%202.375%2010.2917%202.375H8.70833C5.72277%202.375%204.22999%202.375%203.30249%203.30249C2.375%204.22999%202.375%205.72277%202.375%208.70833V10.2917C2.375%2013.2772%202.375%2014.77%203.30249%2015.6975C4.22999%2016.625%205.72277%2016.625%208.70833%2016.625H10.2917C13.2772%2016.625%2014.77%2016.625%2015.6975%2015.6975C16.625%2014.77%2016.625%2013.2772%2016.625%2010.2917Z'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3c/svg%3e",$e="data:image/svg+xml,%3csvg%20width='19'%20height='19'%20viewBox='0%200%2019%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.98047%205.9375V10.6875C1.98047%2013.673%201.98047%2015.1659%202.90796%2016.0933C3.83546%2017.0208%205.32824%2017.0208%208.3138%2017.0208H9.5013M17.0221%209.89583V5.9375'%20stroke='%23003371'%20stroke-width='1.1875'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3.06433%204.20772L1.98047%205.93783H17.0221L16.0308%204.28564C15.355%203.15924%2015.0171%202.59604%2014.4726%202.28777C13.9281%201.97949%2013.2713%201.97949%2011.9578%201.97949H7.08966C5.8042%201.97949%205.16148%201.97949%204.62474%202.2766C4.088%202.57372%203.74678%203.11839%203.06433%204.20772Z'%20stroke='%23003371'%20stroke-width='1.1875'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.5%205.93734V1.979'%20stroke='%23003371'%20stroke-width='1.1875'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.91797%208.3125H11.0846'%20stroke='%23003371'%20stroke-width='1.1875'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11.4805%2015.4372C11.4805%2015.4372%2012.2721%2015.4372%2013.0638%2017.0205C13.0638%2017.0205%2014.7869%2013.0622%2017.0221%2012.2705'%20stroke='%23003371'%20stroke-width='1.1875'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",ds="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.6673%2010.0002V12.5928C12.6673%2014.076%2012.1769%2014.6668%2010.5933%2014.6668H5.40806C3.92476%2014.6668%203.33398%2014.1764%203.33398%2012.5928V10.0002C3.33398%207.42283%205.42332%205.3335%208.00065%205.3335C10.578%205.3335%2012.6673%207.42283%2012.6673%2010.0002Z'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M10.6673%2010.0002C10.6673%208.52743%209.47338%207.3335%208.00065%207.3335C6.52789%207.3335%205.33398%208.52743%205.33398%2010.0002'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M8%2011.3333L8.66667%2010'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M10.8743%203.3335H5.12439C4.53532%203.3335%204.24079%203.3335%203.98162%203.23214C3.89554%203.19847%203.81319%203.15682%203.73579%203.10782C3.50277%202.96028%203.3394%202.72872%203.01264%202.2656C2.75798%201.90466%202.63066%201.72419%202.67455%201.57663C2.68844%201.52994%202.71294%201.48668%202.74635%201.44986C2.85194%201.3335%203.08148%201.3335%203.54058%201.3335H12.4581C12.9172%201.3335%2013.1467%201.3335%2013.2523%201.44986C13.2857%201.48668%2013.3103%201.52994%2013.3241%201.57663C13.368%201.72419%2013.2407%201.90466%2012.9861%202.2656C12.6593%202.72872%2012.4959%202.96029%2012.2629%203.10782C12.1855%203.15682%2012.1031%203.19847%2012.0171%203.23214C11.7579%203.3335%2011.4634%203.3335%2010.8743%203.3335Z'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M9.33268%205.3335V3.3335M6.66602%205.3335V3.3335'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3c/svg%3e",hs="data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.19033%202.28511C7.10013%201.37531%207.55507%200.9204%208.06253%200.7102C8.73913%200.429933%209.4994%200.429933%2010.1761%200.7102C10.6835%200.9204%2011.1384%201.37531%2012.0482%202.28511C12.958%203.19492%2013.4129%203.64983%2013.6231%204.15729C13.9034%204.83392%2013.9034%205.59417%2013.6231%206.2708C13.4129%206.77827%2012.958%207.2332%2012.0482%208.143L8.143%2012.0482C7.2332%2012.958%206.77827%2013.4129%206.2708%2013.6231C5.59417%2013.9034%204.83392%2013.9034%204.15729%2013.6231C3.64983%2013.4129%203.19492%2012.958%202.28511%2012.0482C1.37531%2011.1384%200.9204%2010.6835%200.7102%2010.1761C0.429933%209.4994%200.429933%208.73913%200.7102%208.06253C0.9204%207.55507%201.37531%207.10013%202.28511%206.19033L6.19033%202.28511Z'%20stroke='%23003371'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",us="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%2014.6665C7.45453%2014.6665%206.93347%2014.4464%205.89129%2014.0062C3.29709%2012.9103%202%2012.3624%202%2011.4407C2%2011.1826%202%206.7095%202%204.6665M8%2014.6665C8.54547%2014.6665%209.06653%2014.4464%2010.1087%2014.0062C12.7029%2012.9103%2014%2012.3624%2014%2011.4407V4.6665M8%2014.6665V7.5697'%20stroke='%23003371'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.55061%206.46108L3.60315%205.51873C2.53438%205.00156%202%204.74298%202%204.3335C2%203.92401%202.53438%203.66543%203.60315%203.14826L5.55061%202.20591C6.75253%201.6243%207.35353%201.3335%208%201.3335C8.64647%201.3335%209.24747%201.6243%2010.4494%202.20591L12.3969%203.14826C13.4656%203.66543%2014%203.92401%2014%204.3335C14%204.74298%2013.4656%205.00156%2012.3969%205.51873L10.4494%206.46108C9.24747%207.0427%208.64647%207.3335%208%207.3335C7.35353%207.3335%206.75253%207.0427%205.55061%206.46108Z'%20stroke='%23003371'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4%208L5.33333%208.66667'%20stroke='%23003371'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11.3327%202.6665L4.66602%205.99984'%20stroke='%23003371'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",gs="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.0026%201.33398C11.6845%201.33398%2014.6693%204.31875%2014.6693%208.00064C14.6693%2011.6826%2011.6845%2014.6673%208.0026%2014.6673C4.3207%2014.6673%201.33594%2011.6826%201.33594%208.00064M5.94194%201.65856C5.26927%201.87697%204.6435%202.19942%204.08362%202.60692M2.60889%204.08165C2.20131%204.64164%201.87882%205.26753%201.6604%205.94033'%20stroke='%23175EB6'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.0026%205.33398V10.6673M10.6693%208.00064H5.33594'%20stroke='%23175EB6'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";var ps={};function ve(s){if(!s||s==="-"||s==="—")return"--";const t=new Date(s);return isNaN(t.getTime())?"--":t.toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric"})}function N(s){return s==null?s:String(s).replace(/[_-]+/g," ").replace(/\s+/g," ").trim().toLowerCase().replace(/\b\w/g,n=>n.toUpperCase())}function ae({label:s,value:t}){return e.jsxs("div",{className:"ho-kv",children:[e.jsx("span",{className:"ho-kv__label",children:s}),e.jsx("span",{className:"ho-kv__value",children:t})]})}function z(s){if(!s)return"—";const t=new Date(s);if(isNaN(t.getTime()))return"—";const n=a=>String(a).padStart(2,"0");return n(t.getDate())+"-"+n(t.getMonth()+1)+"-"+t.getFullYear()+" "+n(t.getHours())+":"+n(t.getMinutes())+":"+n(t.getSeconds())}function ke({icon:s,label:t,value:n,isAudit:a=!1}){return e.jsxs("div",{className:"ho-kv ho-kv--withTag",children:[e.jsxs("span",{className:"ho-kv__label_audit",style:{display:"flex",alignItems:"center",gap:"6px",fontSize:"14px",fontWeight:500,fontFamily:"Roboto"},children:[s&&e.jsx("img",{src:s,alt:"",className:"ho-kv__icon"}),t]}),e.jsx("span",{className:a?"ho-kv__tag_audit":"ho-kv__tag",children:n})]})}function ms({endpoint:s,awbNumber:t}){const[n,a]=x.useState(!1),[o,r]=x.useState(!1),[g,m]=x.useState(null),[d,b]=x.useState(null),[C,I]=x.useState(!1),D=ge.useLocation(),_=ge.useNavigate(),[X,$]=x.useState(!1),[G,xe]=x.useState(!1),[fe,ee]=x.useState(!1),[P,O]=x.useState(!1),T=x.useRef(null),[H,le]=x.useState(!1),ce=new URLSearchParams(D.search).get("endpoint"),F=s||ce||ps.REACT_APP_TRACKING_ENDPOINT||"/api/v1/shipment-tracking/search",U=x.useMemo(()=>{if(t)return t;const i=new URLSearchParams(D.search);return i.get("awb")||i.get("awbNumber")||""},[t,D.search]);x.useEffect(()=>{let i=!1;return(async()=>{try{if(I(!0),!U){i||b(null);return}const j=`${F}?awbNumber=${encodeURIComponent(U)}`,y=await fetch(j);if(!y.ok)throw new Error("Request failed");const f=await y.json();i||b(f)}catch{i||b(null)}finally{i||I(!1)}})(),()=>{i=!0}},[F,U]);const Ce=d?.shipmentTracking?.isRTO===!0,p=d?.shipmentTracking?.bookingInfoDto,M=d?.shipmentTracking?.auditInfo||[],Z=d?.shipmentTracking?.latestOperation,l=d?.shipmentTracking?.supportTicketInfo,h={bookingTime:p?.bookingDate||"—",shipmentNumber:p?.awbNumber||"—",isRTO:Ce,isMCN:p?.mcn,bagId:p?.bagId||"—",fromPincode:p?.fromPincode||"—",senderPincode:p?.senderPincode||"—",receiverPincode:p?.receiverPincode||"—",estimatedDeliveryDate:p?.estimatedDeliveryDate||"—",revisedEstimatedDeliveryDate:p?.revisedEstimatedDeliveryDate||"—",actualDeliveryDate:p?.actualDeliveryDate||"—",sourceHubName:p?.sourceHubName||"—",destinationHubName:p?.destinationHubName||"—",source:{city:p?.senderName||"—",pincode:p?.fromPincode||"—"},destination:{city:p?.receiverName||"—",pincode:p?.receiverPincode||"—"},bookingType:p?.bookingType||"—",shipmentType:p?.shipmentType?`${p.shipmentType?.toUpperCase()} | ${p.travelType?.toUpperCase()}`:"—",serviceType:p?.serviceType||"—",awb:p?.tplAwbNumber||"",partner:p?.partnerCode||"",eway:(()=>{const i=d?.shipmentTracking?.ewayInfo?.[0];return i?{id:i.eway_bill_id,no:i.ewaybill_no,created:i.eway_bill_crt_date,expiry:i.ewb_bill_exp_date}:{id:"—",no:"—",created:"—",expiry:"—"}})(),sender:{name:p?.senderName||"—",address:p?.booking_cp_address||"—"},receiver:{name:p?.receiverName||"—",address:p?.recipient_cp_address||"—"},pkg:{weight:p?.weight&&`${p.weight} Kg`||"—",dimensions:p?.length||p?.width||p?.height?`${p.length} x ${p.width} x ${p.height} cm`:"—",volumetric:p?.volumetricWeight||"—"},status:p?.status||"—",parentAwbNumber:p?.parentAwbNumber||""},A=(()=>{const i=d?.shipmentTracking?.travelDtos||[],c=f=>{if(!f)return"";try{const w=f.split(" ")[0]?.split("-");return w?.length===3?`${w[2]}-${w[1]}-${w[0]}`:f}catch{return f}},j=f=>{const w=(f||"").toLowerCase(),B=i.find(Q=>(Q?.premiseName||"").toLowerCase().includes(w)||w.includes((Q?.premiseName||"").toLowerCase())||(Q?.toPremisename||Q?.topremisename||"").toLowerCase().includes(w)||w.includes((Q?.toPremisename||Q?.topremisename||"").toLowerCase()))||null;return c(B?.date)},y=d?.shipmentTracking?.route_info;return Array.isArray(y)&&y.length?y.map((f,w,B)=>({hub:f,date:j(f),type:w===0?"source":w===B.length-1?"to":"transit"})):[]})();x.useEffect(()=>{if(!T.current||A.length<=5){le(!1);return}const i=T.current,c=()=>{const j=Array.from(i.querySelectorAll(".ho-route__row"));if(j.length===0)return!1;let y=0;return j.forEach(f=>{y+=f.offsetHeight+24}),y>i.clientHeight};requestAnimationFrame(()=>{const j=c();le(j)})},[A.length]),x.useMemo(()=>A.find(c=>c.type==="source")?.hub||"—",[A,h.source.city]),x.useMemo(()=>A.find(c=>c.type==="to")?.hub||"—",[A,h.destination.city]);const S=d?.shipmentTracking?.travelDtos?.map((i,c)=>({key:c,time:i.date,location:(i.status||"").toUpperCase()==="RETURN_INITIATED"&&i.driverName&&i.driverName.trim()!==""?i.toPremisename||i.toPremiseName||"—":["FORCE_BAG_ATTEMPTED","RETURN_INITIATED","RETURN_REVOKED","IN_BAG_OUTSCAN_TO_CP","OUT_SCAN_TO_CP","BAGGED","INSCANNED","IN-BAG-OUTSCAN","IN-BAG-INSCAN","INSCANNED_AT_TRANSIT","ATTEMPTED","HUB-OUTSCAN","HUB-IN-SCANNED","REMOVED_FROM_BAG","SCHEDULED_FOR_TRIP","FORCE_BAG","MIS_ROUTED","REROUTED","PINCODE_AUDITED","FORCE_HUB_OUTSCAN","EXCESS_INSCAN","MODE_AUDITED","REMOVED_FROM_LCR","OUT_SCAN_TO_3PL"].includes((i.status||"").toUpperCase())?i.premiseName||"—":i.toPremisename||i.toPremiseName||"—",locationPremiseName:["IN_BAG_OUTSCAN_TO_CP","OUT_SCAN_TO_CP"].includes((i.status||"").toUpperCase())?i.toPremisename||i.toPremiseName:"-",process:i.status,bag:i.bagBarCode,user:(i.status||"").toUpperCase()==="RETURN_INITIATED"&&i.driverName?.trim()||["ATTEMPTED","OUT_FOR_DELIVERY","DELIVERED","RTO_OUT_FOR_DELIVERY","RETURN_REVOKED","RTO_DELIVERED","INSCANNED_AT_CP","UNDELIVERED"].includes((i.status||"").toUpperCase())&&i.driverName?.trim()?i.driverName:i.user?.trim()||"_",exception:i.exception||(i.isException,"-"),remark:(()=>{const j=(i.status||"").toString().toUpperCase();if(!["SCHEDULED_FOR_TRIP","IN-BAG-OUTSCAN"].includes(j))return i.remarks||"-";const f=i.lcrnum||i.lcrNum||i.lcr_no||i.lcrNo||"",B=`${j==="SCHEDULED_FOR_TRIP"?"Scheduled Outscan":"Outscan"} from ${N(i.premiseName||"")} to ${N(i.toPremisename||i.topremisename||"")}`;return f?`${B} — LCR No: ${f}`:B})(),coLoader:i.coLoader||i.co_loader||i.coLoaderName||i.co_loader_name||i.coLoader_code||"—",transportType:i.travelBy||i.transportType||i.transport_type||i.mode||"—",flightName:i.flightName||i.flight_no||i.flight||i.flightNum||"",vehicleNo:i.vehicleNo||i.vehicleNum||i.vehicle_no||i.truckNo||i.truck_no||"—",driverName:i.driverName||i.driver_name||"—"}))||[],R=x.useMemo(()=>[{title:"Date and Time",dataIndex:"time",key:"time",render:i=>e.jsx("span",{className:"ho-nowrap",children:z(i)})},{title:"Location",dataIndex:"location",key:"location",render:i=>i?N(i):"—"},{title:"Process",dataIndex:"process",key:"process",render:(i,c)=>{const j=(i||"").toString().toUpperCase(),f=["REMOVED_FROM_BAG","REMOVED_FROM_LCR","ATTEMPTED","MIS_ROUTED","UNDELIVERED"].includes(j),w=f?{color:"#e14949",borderColor:"#ffd5d5",background:"#ffecec"}:{color:"#1f7a48",borderColor:"#cfeede",background:"#e9fff1"},B=`ho-tag ${f?"ho-tag--danger":"ho-tag--success"}`,je=j==="OUT_SCAN_TO_CP"||j==="IN_BAG_OUTSCAN_TO_CP"?`${i} (${N(c?.locationPremiseName||"")})`:i;return e.jsx(u.Tag,{style:w,className:B,children:je})}},{title:"Bag No",dataIndex:"bag",key:"bag",render:i=>i?e.jsx("a",{className:"ho-link",onClick:()=>_(`/bag-details-ui?awb=${encodeURIComponent(i)}`),children:i}):"-"},{title:"User",dataIndex:"user",key:"user"},{title:"Exception",dataIndex:"exception",key:"exception",render:i=>i||"-"},{title:"Remark",dataIndex:"remark",key:"remark",render:(i,c)=>{if(!i)return"-";if((c?.process||"").toUpperCase()==="MIS_ROUTED"){const V=String(i),W=V.length>40?`${V.slice(0,40)}…`:V;return e.jsx(u.Tooltip,{title:V,children:e.jsx("span",{className:"ho-remark-ellipsis",children:W})})}const y=["SCHEDULED_FOR_TRIP","IN-BAG-OUTSCAN"].includes((c?.process||c?.status||"").toString().toUpperCase()),f=i.indexOf("LCR No:"),w=f>=0,B=w?i.slice(0,f):i,Q=w?i.slice(f):"",he=w?(Q.replace(/^[^:]*:\s*/i,"")||"").trim():"",je=V=>{const W=[],te=String(V||""),Qe=/(https?:\/\/[^\s]+|www\.[^\s]+)/gi;let se=0,Ne,Ae=0;for(;(Ne=Qe.exec(te))!==null;){const ze=Ne.index,jt=Qe.lastIndex;ze>se&&W.push(e.jsx("span",{children:te.slice(se,ze)},`rmk-t-${Ae++}`));const we=Ne[0],Nt=we.startsWith("http")?we:`https://${we}`;W.push(e.jsx("a",{className:"ho-link",href:Nt,target:"_blank",rel:"noreferrer",children:"View"},`rmk-a-${Ae++}`)),se=jt}return se<te.length&&W.push(e.jsx("span",{children:te.slice(se)},`rmk-t-${Ae++}`)),W.length?W:te||"-"};return e.jsxs("span",{children:[je(B),w&&e.jsxs(e.Fragment,{children:[e.jsx("strong",{className:"ho-remark-strong",children:"LCR No: "}),he&&e.jsx("a",{className:"ho-link",onClick:()=>{sessionStorage.setItem("LCR_REPORT_RECORD",JSON.stringify({vehicle_lcr_id:he})),window.open(window.location.origin+"/lcr-report","_blank")},children:he})]}),y&&e.jsx(u.Tooltip,{placement:"top",title:e.jsxs("div",{children:[e.jsxs("div",{children:[e.jsx("strong",{children:"Co-loader:"})," ",N(c.coLoader||"—")]}),e.jsxs("div",{children:[e.jsx("strong",{children:"Transport type:"})," ",N(c.transportType||"—")]}),e.jsxs("div",{children:[e.jsx("strong",{children:"Flight Name:"})," ",c.flightName||"N/A"]}),e.jsxs("div",{children:[e.jsx("strong",{children:"Vehicle No:"})," ",c.vehicleNo||"—"]}),e.jsxs("div",{children:[e.jsx("strong",{children:"Driver Name:"})," ",N(c.driverName||"—")]})]}),children:e.jsx("span",{className:"ho-alert-dot"})})]})}}],[_]);x.useMemo(()=>(d?.shipmentTracking?.ewayInfo||[]).map(c=>c?.ewaybill_no).filter(c=>!!c),[d]),x.useMemo(()=>M.length?[{key:"audit-master",label:`Audit (${M.length})`,children:M.map((i,c)=>({key:`audit-${c}`,title:`Audit ${c+1} - ${i.auditType||"WEIGHT"}`,auditData:i}))}]:[],[M]);const Y=x.useRef(!1);x.useEffect(()=>{!Y.current&&M.length>0&&(m("audit-master"),Y.current=!0)},[M]),x.useMemo(()=>{if(g&&g.startsWith("audit-")){const i=parseInt(g.split("-")[1]),c=M[i];if(!c)return null;const j={auditedBy:"—",hub:c.auditedHubName||c.sourceHubName||"—",date:h.bookingTime},y={actual:c.bookedWeight??"—",volumetric:c.volumetricBookedValue??"—",lwh:`${c.bookedLength??"—"},${c.bookedWidth??"—"},${c.bookedHeight??"—"}`},f={actual:c.auditedWeight??"—",volumetric:c.volumetricAuditedValue??"—",lwh:`${c.auditedLength??"—"},${c.auditedWidth??"—"},${c.auditedHeight??"—"}`},w=c.weightDiff!=null?`Audited actual weight is ${c.weightDiff>=0?"higher":"lower"} by ${Math.abs(c.weightDiff)}%.`:"";return{header:j,bookingValue:y,auditedValue:f,note:w,index:i+1}}return null},[g,M,h.bookingTime]),x.useMemo(()=>{const i=d?.shipmentTracking?.travelDtos||[];for(let c=i.length-1;c>=0;c--){const j=(i[c]?.status||"").toUpperCase();if(j.includes("IN-BAG-INSCAN"))return"Bag In";if(j.includes("BAGGED"))return"Bagged"}return null},[d]);const de=!!(d?.shipmentTracking&&(d?.shipmentTracking?.bookingInfoDto||Array.isArray(d?.shipmentTracking?.route_info)&&d?.shipmentTracking?.route_info.length||Array.isArray(d?.shipmentTracking?.travelDtos)&&d?.shipmentTracking?.travelDtos.length)),L=!!l,be=()=>{const i=sessionStorage.getItem("token")||localStorage.getItem("token")||"",c=sessionStorage.getItem("email")||localStorage.getItem("email")||"",j=sessionStorage.getItem("userId")||localStorage.getItem("userId")||"",y=sessionStorage.getItem("premiseId")||sessionStorage.getItem("smcs-premise-id")||"",f=new URLSearchParams;f.append("source","HUBOPS"),i&&f.append("token",i),c&&f.append("email",c),j&&f.append("userId",j),y&&f.append("premiseId",y);const B=window.location.hostname.includes("qa")?"https://qasupport.innofulfill.com":"https://support.innofulfill.com";window.open(`${B}?${f.toString()}`,"_blank")};return!C&&!de?e.jsx(u.Spin,{spinning:C&&!d,indicator:e.jsx("img",{src:pe,style:{height:"100px",width:"100px"}}),children:e.jsx("div",{className:"shipment-details-page",children:e.jsx("div",{className:"bag-empty",children:e.jsxs(u.Card,{className:"ho-card bag-empty__card",children:[e.jsx("div",{className:"ho-section-title bag-empty__title",children:e.jsx("span",{className:"ho-title",children:"Details Not Found"})}),e.jsxs("div",{className:"bag-empty__text",children:["No details found for the provided AWB number ",U,". Please check the AWB number and try again."]})]})})})}):e.jsx(u.Spin,{spinning:C&&!d,indicator:e.jsx("img",{src:pe,style:{height:"100px",width:"100px"}}),children:e.jsx("div",{className:"shipment-details-page",children:e.jsxs(u.Row,{gutter:[16,16],className:"ho-row-equal",children:[e.jsx(u.Col,{xs:24,lg:10,children:e.jsxs(u.Card,{className:"ho-card ho-card--equal",style:{height:"644px"},bodyStyle:{display:"flex",flexDirection:"column",height:"100%",overflow:"hidden",padding:"12px"},children:[e.jsxs("div",{className:"ho-section-title",style:{marginTop:"10px"},children:[e.jsxs("div",{className:"ho-title-left",children:[h.parentAwbNumber?e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",background:"#ECFDF3",padding:"6px 12px",borderRadius:"8px",cursor:"pointer",color:"#027A48",fontWeight:500,fontSize:"14px"},onClick:()=>_(`/shipment-details-ui?awb=${encodeURIComponent(h.parentAwbNumber)}&endpoint=${encodeURIComponent(F)}`),children:[e.jsx(gt,{}),h.parentAwbNumber]}):e.jsxs(e.Fragment,{children:[e.jsx("img",{src:Ct,className:"ho-title-icon",alt:""}),e.jsx("span",{className:"ho-title",children:"Shipment Info"})]}),h.bagId!=="—"&&e.jsx(u.Badge,{status:"processing",text:e.jsx("span",{className:"ho-badge-text",children:h.bagId})})]}),e.jsxs("div",{className:"ho-title-right",children:[e.jsxs("div",{className:"ho-chip",children:[e.jsx("span",{className:"ho-chip__label",children:"Booked At:"}),e.jsx("span",{className:"ho-chip__value",children:z(h.bookingTime)})]}),e.jsxs("div",{className:"ho-chip ho-chip--ticket",onClick:be,style:{cursor:"pointer"},children:[e.jsx("img",{src:gs,alt:""}),e.jsx("span",{className:"ho-chip__label",children:"Raise Ticket"})]})]})]}),e.jsxs("div",{className:"ho-scrollable-content",children:[e.jsx("div",{className:"ho-subheader",children:e.jsx("div",{className:"ho-subheader-left-row",style:{width:"100%"},children:(()=>{const i=Z&&e.jsx(u.Tag,{className:"ho-badge",style:{...Z?.replace(/_/g," ")?.toUpperCase()==="DELIVERED"?{background:"#e9fff1",color:"#027A48",border:"1px solid #cfeede",fontWeight:600,fontFamily:"Roboto"}:Z?.replace(/_/g," ")?.toUpperCase()==="UNDELIVERED"?{background:"#ffecec",color:"#d64545",border:"1px solid #ffd5d5",fontWeight:600,fontFamily:"Roboto"}:{},flexShrink:0},children:Z?.replace(/_/g," ")?.toUpperCase()}),c=e.jsx(u.Tag,{className:"ho-badge",style:{...h.isRTO?{background:"#e3250b",color:"#f7f3f2",border:"1px solid #cfeede",fontWeight:600,fontFamily:"Roboto"}:h.status.toUpperCase()==="UNDELIVERED"?{background:"#ffecec",color:"#d64545",border:"1px solid #ffd5d5",fontWeight:600,fontFamily:"Roboto"}:{},flexShrink:0},children:h.isRTO?"RETURN":"FORWARD"}),j=h.isMCN?e.jsx(u.Tag,{color:"#FFD32C",className:"ho-chip",style:{color:"#FFFFFF",fontWeight:600,flexShrink:0},children:"3PL"}):null,y=h?.shipmentType&&h.shipmentType!=="—"?e.jsx(u.Tag,{color:"#E9F2FF",className:"ho-chip",style:{flexShrink:0,marginLeft:"auto"},children:N(h.shipmentType)}):null,f={display:"flex",alignItems:"center",flexWrap:"nowrap",whiteSpace:"nowrap",width:"100%",gap:"1px"};return h.parentAwbNumber?e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"4px",width:"100%"},children:[e.jsx("span",{style:{fontSize:"16px",color:"#667085",fontWeight:400},children:"Child Shipment number"}),e.jsxs("div",{style:f,children:[e.jsx("span",{className:"ho-eway-value-bold",style:{fontSize:"18px",flex:"0 0 auto",marginRight:"8px"},children:h.shipmentNumber}),i,c,j,y]})]}):e.jsxs("div",{style:f,children:[e.jsx("span",{className:"ho-eway-value-bold",style:{flex:"0 0 auto",marginRight:"8px"},children:h.shipmentNumber}),i,c,j,y]})})()})}),e.jsxs("div",{className:"ho-subheader__route",children:[e.jsxs("span",{className:"ho-kv-stack ho-route-dest",children:[e.jsx("span",{className:"ho-stat__label",children:"Source"}),e.jsx("span",{className:"ho-stat__value",children:N(h.sourceHubName)})]}),e.jsxs("span",{className:"ho-kv-stack ho-route-dest",children:[e.jsx("span",{className:"ho-stat__label",children:"Destination"}),e.jsx("span",{className:"ho-stat__value",children:N(h.destinationHubName)})]})]}),e.jsxs("div",{style:{marginTop:"16px",padding:"16px",background:"#F8F9FA",borderRadius:"12px",display:"flex",alignItems:"center",gap:"10px",flexWrap:"wrap"},children:[e.jsxs("div",{style:{textAlign:"center"},children:[e.jsx(u.Tag,{color:"#DFF5E1",style:{padding:"4px 12px",borderRadius:"8px",color:"#0F8A41",fontWeight:600},children:"● Planned EDD"}),e.jsx("div",{style:{marginTop:"6px",fontSize:"14px",color:"#555"},children:ve(h.estimatedDeliveryDate)})]}),e.jsx("div",{style:{height:"40px",width:"1px",background:"#DDD"}}),e.jsxs("div",{style:{textAlign:"center"},children:[e.jsx(u.Tag,{color:"#FFE8D6",style:{padding:"4px 12px",borderRadius:"8px",color:"#D96A1B",fontWeight:600},children:"● Revised EDD"}),e.jsx("div",{style:{marginTop:"6px",fontSize:"14px",color:"#555"},children:ve(h.revisedEstimatedDeliveryDate)})]}),e.jsx("div",{style:{height:"40px",width:"1px",background:"#DDD"}}),e.jsxs("div",{style:{textAlign:"center"},children:[e.jsx(u.Tag,{color:"#E8F2FF",style:{padding:"4px 12px",borderRadius:"8px",color:"#1A6FDB",fontWeight:600},children:"● Delivered Date"}),e.jsx("div",{style:{marginTop:"6px",fontSize:"14px",color:"#555"},children:ve(h.actualDeliveryDate)})]})]}),e.jsx("div",{style:{height:"10px"}}),e.jsx("div",{className:"ho-box ho-box--flush",children:e.jsxs("div",{className:"ho-stats",children:[e.jsxs("div",{className:"ho-stat",children:[e.jsx("div",{className:"ho-stat__label",children:"Booking Type"}),e.jsx("div",{className:"ho-stat__value",children:N(h.bookingType)})]}),e.jsxs("div",{className:"ho-stat",children:[e.jsx("div",{className:"ho-stat__label",children:"Service Type"}),e.jsx("div",{className:"ho-stat__value",children:N(h.serviceType)})]}),e.jsxs("div",{className:"ho-stat",children:[e.jsx("div",{className:"ho-stat__label",children:"From PinCode"}),e.jsx("div",{className:"ho-stat__value",children:`${h.fromPincode}`})]}),e.jsxs("div",{className:"ho-stat",children:[e.jsx("div",{className:"ho-stat__label",children:"To PinCode"}),e.jsx("div",{className:"ho-stat__value",children:`${h.receiverPincode}`})]}),e.jsxs("div",{className:"ho-stat",children:[e.jsx("div",{className:"ho-stat__label",children:"3PL / Partner"}),e.jsx("div",{className:"ho-stat__value",children:`${h.awb?N(h.awb):" "} — ${h.partner?N(h.partner):" "}`})]})]})}),d?.shipmentTracking?.childInfoDto&&d?.shipmentTracking?.childInfoDto.length>0&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"ho-box ho-box--flush",style:{paddingTop:"0px"},children:[e.jsxs("div",{className:"ho-subtitle ho-subtitle--primary",style:{display:"flex",justifyContent:"space-between",alignItems:"center",paddingTop:"4px",marginBottom:"0px"},children:[e.jsxs("span",{className:"ho-title-left",children:[e.jsx("img",{src:$e,className:"ho-title-icon",alt:""}),e.jsx("span",{children:"Child Shipment Info"})]}),e.jsxs(u.Tag,{color:"#F0F9FF",className:"ho-chip",style:{display:"flex",cursor:"pointer",alignItems:"center",gap:"4px",paddingTop:"0px"},onClick:()=>O(!0),children:[d?.shipmentTracking?.childInfoDto.length+" Child Shipments",e.jsx("svg",{width:"12",height:"12",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{transform:"rotate(180deg)"},children:e.jsx("path",{d:"M14.9987 6.00071H3.13972L6.76939 1.64111C6.93912 1.43691 7.02077 1.17365 6.99639 0.909247C6.97202 0.644844 6.8436 0.400955 6.63941 0.231232C6.43521 0.0615082 6.17195 -0.0201464 5.90755 0.00423112C5.64314 0.0286087 5.39925 0.157022 5.22953 0.36122L0.229979 6.36068C0.196343 6.4084 0.166264 6.45853 0.139987 6.51067C0.139987 6.56066 0.139988 6.59066 0.0699939 6.64066C0.0246714 6.75531 0.000941037 6.87735 0 7.00063C0.000941037 7.1239 0.0246714 7.24594 0.0699939 7.36059C0.0699939 7.41059 0.0699936 7.44059 0.139987 7.49058C0.166264 7.54272 0.196343 7.59285 0.229979 7.64057L5.22953 13.64C5.32354 13.7529 5.44127 13.8437 5.57435 13.9059C5.70742 13.9681 5.85256 14.0002 5.99946 14C6.23309 14.0005 6.45951 13.9191 6.63941 13.77C6.74065 13.6861 6.82435 13.583 6.88569 13.4666C6.94704 13.3503 6.98483 13.223 6.99691 13.0921C7.00898 12.9611 6.9951 12.829 6.95606 12.7034C6.91702 12.5778 6.85359 12.4612 6.76939 12.3601L3.13972 8.00054H14.9987C15.2638 8.00054 15.5182 7.89519 15.7057 7.70767C15.8932 7.52015 15.9986 7.26582 15.9986 7.00063C15.9986 6.73543 15.8932 6.4811 15.7057 6.29358C15.5182 6.10606 15.2638 6.00071 14.9987 6.00071Z",fill:"#026AA2"})})]})]}),e.jsx("div",{className:"ho-table-responsive-wrapper",children:e.jsxs("table",{className:"ho-eway-table",style:{borderCollapse:"collapse",borderSpacing:"0",marginTop:"0px",width:"100%"},children:[e.jsx("thead",{style:{borderBottom:"none",padding:"0",margin:"0"},children:e.jsxs("tr",{style:{border:"none",padding:"0",margin:"0"},children:[e.jsx("th",{style:{width:"33.33%",border:"none",padding:"8px 0 8px 10px",textAlign:"left"},children:"AWB Number"}),e.jsx("th",{style:{width:"33.33%",border:"none",padding:"8px 0",textAlign:"left"},children:"Current Hub"}),e.jsx("th",{style:{width:"33.33%",border:"none",padding:"8px 0",textAlign:"left"},children:"Status"})]})}),e.jsx("tbody",{style:{padding:"0",margin:"0"},children:(X?d?.shipmentTracking?.childInfoDto:d?.shipmentTracking?.childInfoDto.slice(0,1))?.map((i,c)=>e.jsxs("tr",{style:{padding:"0",margin:"0"},children:[e.jsx("td",{style:{padding:"8px 0 8px 10px",margin:"0"},className:"ho-table-value",children:e.jsx("span",{className:"ho-link-underline",onClick:()=>_(`/shipment-details-ui?awb=${encodeURIComponent(i.awbNumber)}`,{replace:!0,state:{parentAwb:U}}),children:i.awbNumber})}),e.jsx("td",{className:"ho-table-value",style:{padding:"8px 0",margin:"0",paddingRight:"20px"},children:N(i.currentHub||"—")}),e.jsx("td",{className:"ho-table-value",style:{padding:"8px 0",margin:"0"},children:e.jsx(u.Tag,{className:"ho-badge ho-badge--blue ho-table-value",children:N(i.status||"—")})})]},c))})]})})]}),e.jsx("div",{style:{marginBottom:"16px"}})]}),e.jsxs("div",{className:"ho-box ho-box--flush",children:[e.jsxs("div",{className:"ho-subtitle ho-subtitle--primary",style:{display:"flex",justifyContent:"space-between",alignItems:"center",paddingTop:"4px",marginBottom:"0px"},children:[e.jsxs("span",{className:"ho-title-left",style:{display:"flex",alignItems:"center",gap:"8px"},children:[e.jsx("img",{src:Xe,className:"ho-title-icon",alt:""}),e.jsx("span",{children:"E-way Bill Info"})]}),d?.shipmentTracking?.ewayInfo?.length>0&&e.jsxs(u.Tag,{color:"#F0F9FF",className:"ho-chip",style:{display:"flex",cursor:"pointer",alignItems:"center",gap:"4px",paddingTop:"0px"},onClick:()=>xe(!0),children:[d?.shipmentTracking?.ewayInfo?.length+" E-way Bills",e.jsx("svg",{width:"12",height:"12",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{transform:"rotate(180deg)"},children:e.jsx("path",{d:"M14.9987 6.00071H3.13972L6.76939 1.64111C6.93912 1.43691 7.02077 1.17365 6.99639 0.909247C6.97202 0.644844 6.8436 0.400955 6.63941 0.231232C6.43521 0.0615082 6.17195 -0.0201464 5.90755 0.00423112C5.64314 0.0286087 5.39925 0.157022 5.22953 0.36122L0.229979 6.36068C0.196343 6.4084 0.166264 6.45853 0.139987 6.51067C0.139987 6.56066 0.139988 6.59066 0.0699939 6.64066C0.0246714 6.75531 0.000941037 6.87735 0 7.00063C0.000941037 7.1239 0.0246714 7.24594 0.0699939 7.36059C0.0699939 7.41059 0.0699936 7.44059 0.139987 7.49058C0.166264 7.54272 0.196343 7.59285 0.229979 7.64057L5.22953 13.64C5.32354 13.7529 5.44127 13.8437 5.57435 13.9059C5.70742 13.9681 5.85256 14.0002 5.99946 14C6.23309 14.0005 6.45951 13.9191 6.63941 13.77C6.74065 13.6861 6.82435 13.583 6.88569 13.4666C6.94704 13.3503 6.98483 13.223 6.99691 13.0921C7.00898 12.9611 6.9951 12.829 6.95606 12.7034C6.91702 12.5778 6.85359 12.4612 6.76939 12.3601L3.13972 8.00054H14.9987C15.2638 8.00054 15.5182 7.89519 15.7057 7.70767C15.8932 7.52015 15.9986 7.26582 15.9986 7.00063C15.9986 6.73543 15.8932 6.4811 15.7057 6.29358C15.5182 6.10606 15.2638 6.00071 14.9987 6.00071Z",fill:"#026AA2"})})]})]}),(!d?.shipmentTracking?.ewayInfo||d?.shipmentTracking?.ewayInfo.length===0)&&e.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"80px",fontFamily:"Roboto",fontSize:"14px",color:"#6B7280",width:"100%"},children:"No E-Way Bill Data Available"}),d?.shipmentTracking?.ewayInfo?.length>0&&e.jsx(e.Fragment,{children:e.jsx("div",{className:"ho-table-responsive-wrapper",children:e.jsxs("table",{className:"ho-eway-table",style:{borderCollapse:"collapse",width:"100%"},children:[e.jsx("thead",{style:{borderBottom:"none"},children:e.jsxs("tr",{style:{border:"none"},children:[e.jsx("th",{style:{borderBottom:"none",borderTop:"none",padding:"8px 0 8px 10px"},children:"E-Way Bill No"}),e.jsx("th",{style:{borderBottom:"none",borderTop:"none",padding:"8px 0"},children:"Created"}),e.jsx("th",{style:{borderBottom:"none",borderTop:"none",padding:"8px 0"},children:"Updated"}),e.jsx("th",{style:{borderBottom:"none",borderTop:"none",padding:"8px 0"},children:"Expiry Date"})]})}),e.jsx("tbody",{children:d?.shipmentTracking?.ewayInfo?.slice(0,1)?.map((i,c)=>e.jsxs("tr",{children:[e.jsx("td",{className:"ho-stat__value",style:{padding:"8px 0 8px 10px"},children:i.ewaybill_no||"—"}),e.jsx("td",{className:"ho-stat__value",children:z(i.eway_bill_crt_date)||"—"}),e.jsx("td",{className:"ho-stat__value",children:z(i.update_date||"-")}),e.jsx("td",{className:"ho-stat__value",children:z(i.ewb_bill_exp_date)||"—"})]},c))})]})})})]}),e.jsx(u.Modal,{title:e.jsx("span",{style:{fontFamily:"Roboto",fontWeight:500,fontSize:"16px",color:"#003371"},children:"Child Shipments"}),open:P,footer:null,onCancel:()=>O(!1),width:800,children:e.jsxs("table",{className:"ho-eway-table",style:{width:"100%"},children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{children:"AWB Number"}),e.jsx("th",{children:"Current Hub"}),e.jsx("th",{children:"Status"})]})}),e.jsx("tbody",{children:d?.shipmentTracking?.childInfoDto?.map((i,c)=>e.jsxs("tr",{children:[e.jsx("td",{className:"ho-table-value",children:e.jsx("span",{className:"ho-link-underline",onClick:()=>{_(`/shipment-details-ui?awb=${encodeURIComponent(i.awbNumber)}`,{replace:!0,state:{parentAwb:U}}),O(!1)},style:{cursor:"pointer"},children:i.awbNumber})}),e.jsx("td",{className:"ho-table-value",children:N(i.currentHub||"—")}),e.jsx("td",{className:"ho-table-value",children:e.jsx(u.Tag,{className:"ho-badge ho-badge--blue",children:N(i.status||"—")})})]},c))})]})}),e.jsx(u.Modal,{title:e.jsx("span",{style:{fontFamily:"Roboto",fontWeight:500,fontSize:"16px",lineHeight:"100%",letterSpacing:"0px",color:"#003371"},children:"Route"}),open:fe,onCancel:()=>ee(!1),footer:null,width:450,children:e.jsx("div",{className:"ho-route",style:{maxHeight:"70vh",overflowY:"auto",paddingRight:"10px"},children:A.length===0?e.jsx("div",{className:"ho-route__empty",children:"Route not available"}):A.map((i,c)=>e.jsxs("div",{className:"ho-route__row",children:[e.jsx("div",{className:`ho-route__node ho-route__node--${i.type}`,children:c===0?e.jsx("span",{className:"ho-route__tag ho-route__tag--plain",children:e.jsx("img",{src:oe,alt:""})}):i.type==="to"?e.jsx("span",{className:"ho-route__tag ho-route__tag--plain",children:e.jsx("img",{src:re,alt:"",className:"ho-route__dest"})}):e.jsxs("span",{className:"ho-route__tag ho-route__tag--transit",children:["T",c]})}),e.jsx("div",{className:"ho-route__content",children:e.jsxs("div",{className:"ho-route__name",children:[e.jsx("span",{className:"ho-table-value",children:N(i.hub)}),i.type==="source"&&e.jsx("span",{className:"ho-pill ho-pill--source",children:"Source Hub"}),i.type==="to"&&e.jsx("span",{className:"ho-pill ho-pill--to",children:"To Hub"})]})})]},c))})}),e.jsx(u.Modal,{title:e.jsx("span",{style:{fontFamily:"Roboto",fontWeight:500,fontSize:"16px",lineHeight:"100%",letterSpacing:"0px",color:"#003371"},children:"E-way Bill Info"}),open:G,footer:null,onCancel:()=>xe(!1),width:900,children:e.jsxs("table",{className:"ho-eway-table",children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{children:"E-Way Bill No"}),e.jsx("th",{children:"Created"}),e.jsx("th",{children:"Updated"}),e.jsx("th",{children:"Expiry Date"})]})}),e.jsx("tbody",{children:d?.shipmentTracking?.ewayInfo?.map((i,c)=>e.jsxs("tr",{children:[e.jsx("td",{className:"ho-stat__value",children:i.ewaybill_no||"—"}),e.jsx("td",{className:"ho-stat__value",children:z(i.eway_bill_crt_date)||"—"}),e.jsx("td",{className:"ho-stat__value",children:z(i.update_date||"-")}),e.jsx("td",{className:"ho-stat__value",children:z(i.ewb_bill_exp_date)||"—"})]},c))})]})}),e.jsxs("div",{className:"ho-grid ho-grid--2",children:[e.jsxs("div",{className:"ho-box ho-box--flush",children:[e.jsx("div",{className:"ho-subtitle ho-subtitle--primary",children:e.jsxs("span",{className:"ho-title-left",children:[e.jsx("img",{src:Xe,className:"ho-title-icon",alt:""}),e.jsx("span",{children:"Sender / Receiver Info"})]})}),e.jsxs("div",{className:"ho-grid",children:[e.jsx(ae,{label:"S - Name :",value:N(h.sender.name)}),e.jsx(ae,{label:"R - Name :",value:N(h.receiver.name)})]})]}),e.jsxs("div",{className:"ho-box ho-box--flush",children:[e.jsx("div",{className:"ho-subtitle ho-subtitle--primary",children:e.jsxs("span",{className:"ho-title-left",children:[e.jsx("img",{src:$e,className:"ho-title-icon",alt:""}),e.jsx("span",{children:"Package Information"})]})}),e.jsxs("div",{className:"ho-grid",children:[e.jsx(ae,{label:"Weight :",value:h.pkg.weight}),e.jsx(ae,{label:"Dimensions:",value:h.pkg.dimensions}),e.jsx(ae,{label:"Volumetric Wt(Kg) :",value:h.pkg.volumetric})]})]})]})]})]})}),e.jsx(u.Col,{xs:24,lg:14,children:e.jsxs(u.Row,{gutter:[16,16],children:[e.jsx(u.Col,{xs:24,lg:12,children:e.jsxs(u.Card,{className:"ho-card ho-card--equal",style:{height:L?"484px":"644px"},children:[e.jsx("div",{className:"ho-section-title",children:e.jsxs("div",{className:"ho-title-left",children:[e.jsx("img",{src:Fe,className:"ho-title-icon",alt:""}),e.jsx("span",{className:"ho-title",children:"Route"})]})}),e.jsx("div",{ref:T,className:`ho-route ${A.length===0?"ho-route--empty":""}`,style:A.length===0?{display:"flex",alignItems:"center",justifyContent:"center",minHeight:L?"400px":"560px",textAlign:"center"}:{maxHeight:L?"420px":"580px",overflow:"hidden",position:"relative"},children:A.length===0?e.jsx("span",{style:{color:"#6B7280",fontSize:"14px",fontFamily:"Roboto"},children:"Route not available"}):e.jsxs(e.Fragment,{children:[H?A.slice(0,5).map((i,c)=>e.jsxs("div",{className:"ho-route__row",children:[e.jsx("div",{className:`ho-route__node ho-route__node--${i.type}`,children:c===0?e.jsx("span",{className:"ho-route__tag ho-route__tag--plain",children:e.jsx("img",{src:oe,alt:"",className:"ho-route__truck"})}):i.type==="to"?e.jsx("span",{className:"ho-route__tag ho-route__tag--plain",children:e.jsx("img",{src:re,alt:"",className:"ho-route__dest"})}):e.jsxs("span",{className:"ho-route__tag ho-route__tag--transit",children:["T",c]})}),e.jsx("div",{className:"ho-route__content",children:e.jsxs("div",{className:"ho-route__name",children:[e.jsx("span",{className:"ho-table-value",children:N(i.hub)}),i.type==="source"&&e.jsx("span",{className:"ho-pill ho-pill--source",children:"Source Hub"}),i.type==="to"&&e.jsx("span",{className:"ho-pill ho-pill--to",children:"To Hub"})]})})]},c)):A.map((i,c)=>e.jsxs("div",{className:"ho-route__row",children:[e.jsx("div",{className:`ho-route__node ho-route__node--${i.type}`,children:c===0?e.jsx("span",{className:"ho-route__tag ho-route__tag--plain",children:e.jsx("img",{src:oe,alt:"",className:"ho-route__truck"})}):i.type==="to"?e.jsx("span",{className:"ho-route__tag ho-route__tag--plain",children:e.jsx("img",{src:re,alt:"",className:"ho-route__dest"})}):e.jsxs("span",{className:"ho-route__tag ho-route__tag--transit",children:["T",c]})}),e.jsx("div",{className:"ho-route__content",children:e.jsxs("div",{className:"ho-route__name",children:[e.jsx("span",{className:"ho-table-value",children:N(i.hub)}),i.type==="source"&&e.jsx("span",{className:"ho-pill ho-pill--source",children:"Source Hub"}),i.type==="to"&&e.jsx("span",{className:"ho-pill ho-pill--to",children:"To Hub"})]})})]},c)),H&&e.jsxs("div",{className:"ho-route__more",onClick:()=>ee(!0),children:[e.jsx("span",{className:"ho-route__more-text",children:"View More"}),e.jsx("span",{className:"ho-route__more-caret",children:"▾"})]})]})})]})}),e.jsx(u.Col,{xs:24,lg:12,children:e.jsxs(u.Card,{className:"ho-card ho-card--equal",style:{height:L?"484px":"644px"},bodyStyle:{display:"flex",flexDirection:"column",height:"100%",overflow:"hidden"},children:[e.jsxs("div",{className:"ho-section-title",children:[e.jsxs("div",{className:"ho-title-left",children:[e.jsx("img",{src:Fe,className:"ho-title-icon",alt:""}),e.jsx("span",{className:"ho-title",children:"Audit Info"})]}),M.length>0&&e.jsxs(u.Tag,{color:"#E9F2FF",className:"ho-chip",children:[M.length," Audit",M.length!==1?"s":""]})]}),e.jsxs("div",{className:"ho-list",style:{flex:1,display:"flex",flexDirection:"column",gap:"12px",overflow:"hidden"},children:[!M.length&&e.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",flex:1,height:"auto",textAlign:"center",width:"100%",fontFamily:"Roboto",fontSize:"14px",color:"#6B7280"},children:"No audit info available"}),M.length>0&&e.jsxs(e.Fragment,{children:[e.jsxs("button",{className:"ho-list__item",onClick:()=>m(g==="audit-master"?null:"audit-master"),children:[e.jsxs("span",{className:"ho-strong",children:["Weight(",M.length,")"]}),e.jsx("span",{className:`ho-list__chevron ${g==="audit-master"?"ho-open":""}`,children:"▾"})]}),g==="audit-master"&&e.jsx("div",{className:"ho-expand-block",style:{flex:1,overflowY:"auto",maxHeight:"none",display:"flex",flexDirection:"column",gap:"10px"},children:M.map((i,c)=>e.jsxs(u.Card,{className:"ho-subcard ho-mt-10",children:[e.jsxs("div",{className:"ho-grid ho-grid--2",style:{justifyContent:"space-between",display:"flex"},children:[e.jsxs("div",{className:"ho-kv-stack",children:[e.jsx("span",{className:"ho-stat__label",children:"Audited Hub"}),e.jsx(u.Tooltip,{title:N(i.auditedHubName||"—"),children:e.jsx("span",{style:{maxWidth:"140px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"inline-block",verticalAlign:"bottom",cursor:"pointer"},children:N(i.auditedHubName||"—")})})]}),e.jsxs("div",{className:"ho-kv-stack",style:{textAlign:"right"},children:[e.jsx("span",{className:"ho-stat__label",children:"Audited Date"}),e.jsx("span",{children:i.auditTimestamp||"—"})]})]}),e.jsx("div",{style:{height:"12px"}}),e.jsxs("div",{className:"ho-box ho-box--flush",children:[e.jsx("div",{className:"ho-subtitle-audit",children:"Audited Value"}),e.jsxs("div",{className:"ho-grid",children:[e.jsx(ke,{label:"Actual",value:i.auditedWeight||"—",isAudit:!0,icon:ds},`ah-${c}`),e.jsx(ke,{label:"Volumetric",value:i.volumetricAuditedValue||"—",isAudit:!0,icon:us},`sh-${c}`),e.jsx(ke,{label:"LWH(cm)",value:i.auditedLength+","+i.auditedWidth+","+i.auditedHeight||"—",icon:hs},`sh-${c}`)]})]}),e.jsxs("div",{className:"ho-note",children:[e.jsx("span",{style:{color:"#000",fontWeight:600},children:"Note:"})," ","Audited actual weight is"," ",i.weightDiff!=null?`${i.weightDiff>=0?"higher":"lower"} by ${Math.abs(i.weightDiff).toFixed(2)} %.`:"—"]})]},`audit-card-${c}`))})]})]})]})}),L&&e.jsx(u.Col,{xs:24,lg:24,children:e.jsxs(u.Card,{className:"ho-card ho-card--equal",style:{height:"136px",borderRadius:"24px",width:"100%"},children:[L&&e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"flex-start"},children:[e.jsxs("div",{children:[e.jsx("div",{style:{fontSize:"18px",fontWeight:700,color:"#003371"},children:l?.ticketNumber||"N/A"}),e.jsxs("div",{style:{marginTop:"8px",fontSize:"14px",color:"#344054"},children:[e.jsx("span",{style:{color:"#667085"},children:"Title : "}),e.jsx("span",{style:{fontWeight:600,color:"#003371"},children:l?.title||"—"})]})]}),e.jsxs(u.Tag,{color:"#FFF8EB",style:{color:"#B54708",border:"1px solid #FEDF89",borderRadius:"16px",padding:"4px 12px",fontWeight:600,display:"flex",alignItems:"center",gap:"6px",fontSize:"12px"},children:[e.jsx("span",{style:{width:"6px",height:"6px",borderRadius:"50%",backgroundColor:"#F79009"}}),l?.status?.name||"In Progress"]})]}),L&&e.jsxs(e.Fragment,{children:[e.jsx("div",{style:{margin:"12px 0",borderBottom:"1px dashed #D0D5DD"}}),e.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:"10px",alignItems:"center",color:"#667085",fontSize:"13px"},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"6px"},children:[e.jsx(xt,{})," Reported By ",N(l?.reportedBy||"—")]}),l?.reportedDate&&e.jsxs(e.Fragment,{children:[e.jsx("div",{style:{width:"4px",height:"4px",borderRadius:"50%",backgroundColor:"#D0D5DD"}}),e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"6px"},children:[e.jsx(pt,{})," ",l.reportedDate]})]}),e.jsx("div",{style:{width:"4px",height:"4px",borderRadius:"50%",backgroundColor:"#D0D5DD"}}),e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"6px"},children:[e.jsx(mt,{})," Assigned To ",l?.assignedTo?N(l.assignedTo):"—"]})]})]})]})})]})}),e.jsx(u.Col,{span:24,children:e.jsxs(u.Card,{className:"ho-card",children:[e.jsx("div",{className:"ho-section-title",children:e.jsxs("div",{className:"ho-title-left",children:[e.jsx("img",{src:ft,className:"ho-title-icon",alt:""}),e.jsx("span",{className:"ho-title",children:"Travel Info"})]})}),e.jsx(u.Table,{className:"ho-table",columns:R,dataSource:S,pagination:!1,scroll:{x:1e3}})]})})]})})})}const et="data:image/svg+xml,%3csvg%20width='16'%20height='14'%20viewBox='0%200%2016%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.9987%206.00071H3.13972L6.76939%201.64111C6.93912%201.43691%207.02077%201.17365%206.99639%200.909247C6.97202%200.644844%206.8436%200.400955%206.63941%200.231232C6.43521%200.0615082%206.17195%20-0.0201464%205.90755%200.00423112C5.64314%200.0286087%205.39925%200.157022%205.22953%200.36122L0.229979%206.36068C0.196343%206.4084%200.166264%206.45853%200.139987%206.51067C0.139987%206.56066%200.139988%206.59066%200.0699939%206.64066C0.0246714%206.75531%200.000941037%206.87735%200%207.00063C0.000941037%207.1239%200.0246714%207.24594%200.0699939%207.36059C0.0699939%207.41059%200.0699936%207.44059%200.139987%207.49058C0.166264%207.54272%200.196343%207.59285%200.229979%207.64057L5.22953%2013.64C5.32354%2013.7529%205.44127%2013.8437%205.57435%2013.9059C5.70742%2013.9681%205.85256%2014.0002%205.99946%2014C6.23309%2014.0005%206.45951%2013.9191%206.63941%2013.77C6.74065%2013.6861%206.82435%2013.583%206.88569%2013.4666C6.94704%2013.3503%206.98483%2013.223%206.99691%2013.0921C7.00898%2012.9611%206.9951%2012.829%206.95606%2012.7034C6.91702%2012.5778%206.85359%2012.4612%206.76939%2012.3601L3.13972%208.00054H14.9987C15.2638%208.00054%2015.5182%207.89519%2015.7057%207.70767C15.8932%207.52015%2015.9986%207.26582%2015.9986%207.00063C15.9986%206.73543%2015.8932%206.4811%2015.7057%206.29358C15.5182%206.10606%2015.2638%206.00071%2014.9987%206.00071Z'%20fill='%23231F20'/%3e%3c/svg%3e",xs="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.6654%209.99967V12.5923C12.6654%2014.0755%2012.175%2014.6663%2010.5913%2014.6663H5.4061C3.92281%2014.6663%203.33203%2014.1759%203.33203%2012.5923V9.99967C3.33203%207.42234%205.42137%205.33301%207.9987%205.33301C10.576%205.33301%2012.6654%207.42234%2012.6654%209.99967Z'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M10.6654%209.99967C10.6654%208.52694%209.47143%207.33301%207.9987%207.33301C6.52594%207.33301%205.33203%208.52694%205.33203%209.99967'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M8%2011.3333L8.66667%2010'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M10.8762%203.33301H5.12634C4.53728%203.33301%204.24274%203.33301%203.98358%203.23165C3.89749%203.19798%203.81514%203.15633%203.73774%203.10733C3.50472%202.95979%203.34135%202.72823%203.0146%202.26511C2.75994%201.90417%202.63261%201.7237%202.6765%201.57614C2.6904%201.52945%202.7149%201.48619%202.7483%201.44937C2.8539%201.33301%203.08344%201.33301%203.54253%201.33301H12.4601C12.9192%201.33301%2013.1487%201.33301%2013.2543%201.44937C13.2877%201.48619%2013.3122%201.52945%2013.3261%201.57614C13.37%201.7237%2013.2426%201.90417%2012.988%202.26511C12.6612%202.72823%2012.4979%202.9598%2012.2648%203.10733C12.1874%203.15633%2012.1051%203.19798%2012.019%203.23165C11.7598%203.33301%2011.4653%203.33301%2010.8762%203.33301Z'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M9.33464%205.33301V3.33301M6.66797%205.33301V3.33301'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3c/svg%3e",fs="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.66699%205.33333L8.00033%202.66667L13.3337%205.33333V10.6667L8.00033%2013.3333L2.66699%2010.6667V5.33333Z'%20stroke='%23003371'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8%206V10'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M10.667%207.33333V9.33333'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M5.33301%207.33301V9.33301'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3c/svg%3e";var Ie={};function k(s){if(s==null)return"";const t=String(s).replace(/[_-]+/g," ").replace(/\s+/g," ").trim().toLowerCase();return t?t.replace(/\b\w/g,n=>n.toUpperCase()):""}function bt(s){if(!s)return"—";const t=new Date(s);if(isNaN(t.getTime()))return"—";const n=a=>String(a).padStart(2,"0");return n(t.getDate())+"-"+n(t.getMonth()+1)+"-"+t.getFullYear()+" "+n(t.getHours())+":"+n(t.getMinutes())+":"+n(t.getSeconds())}const Cs=[{title:"Date and Time",dataIndex:"time",key:"time",render:s=>e.jsx("span",{className:"ho-nowrap",children:s?bt(s):"—"})},{title:"Location",dataIndex:"location",key:"location",render:s=>s?k(s):"—"},{title:"Process",dataIndex:"process",key:"process",render:(s,t)=>{const n=(s||"").toString().toUpperCase(),o=["REMOVED_FROM_BAG","REMOVED_FROM_LCR","ATTEMPTED","MIS_ROUTED","UNDELIVERED"].includes(n),r=n==="OUT_SCAN_TO_CP"||n==="IN_BAG_OUT_CP",g=t?.toPremisename&&t.toPremisename!=="-"?k(t.toPremisename):"",m=r?`${k(s)} → ${g}`:k(s),d=o?{color:"#e14949",borderColor:"#ffd5d5",background:"#ffecec"}:{color:"#1f7a48",borderColor:"#cfeede",background:"#e9fff1"},b=`ho-tag ${o?"ho-tag--danger":"ho-tag--success"}`;return e.jsx(u.Tag,{style:d,className:b,children:m})}},{title:"User",dataIndex:"user",key:"user"},{title:"Exception",dataIndex:"exception",key:"exception",render:s=>s||"-"},{title:"Remark",dataIndex:"remark",key:"remark",render:(s,t)=>{if(!s)return"-";const n=(t?.process||"").toString().toUpperCase(),a=n.includes("OUTSCAN")&&n!=="HUB-OUTSCAN"||n==="SCHEDULED_FOR_TRIP",o=s.indexOf("LCR No:"),r=o>=0,g=r?s.slice(0,o):s,m=r?s.slice(o):"",d=r?(m.replace(/^[^:]*:\s*/i,"")||"").trim():"";return e.jsxs("span",{children:[g,r?e.jsxs(e.Fragment,{children:[e.jsx("strong",{className:"ho-remark-strong",children:"LCR No: "}),e.jsx("a",{className:"ho-link",onClick:()=>{sessionStorage.setItem("LCR_REPORT_RECORD",JSON.stringify({vehicle_lcr_id:d})),window.open(window.location.origin+"/lcr-report","_blank")},children:d})]}):null,a?e.jsx(u.Tooltip,{placement:"top",title:e.jsxs("div",{children:[e.jsxs("div",{children:[e.jsx("strong",{children:"Co-loader:"})," ",k(t.coLoader||"—")]}),e.jsxs("div",{children:[e.jsx("strong",{children:"Transport type:"})," ",k(t.transportType||"—")]}),e.jsxs("div",{children:[e.jsx("strong",{children:"Flight Name:"})," ",t.flightName?k(t.flightName):"N/A"]}),e.jsxs("div",{children:[e.jsx("strong",{children:"Vehicle No:"})," ",t.vehicleNo||"—"]}),e.jsxs("div",{children:[e.jsx("strong",{children:"Driver Name:"})," ",k(t.driverName||"—")]})]}),children:e.jsx("span",{className:"ho-alert-dot"})}):null]})}}];function bs({endpoint:s,awbNumber:t,showBackArrow:n=!1}){const a=ge.useNavigate(),o=ge.useLocation(),[r,g]=x.useState(null),[m,d]=x.useState(!1),[b,C]=x.useState(!1),[I,D]=x.useState(!1),_=x.useRef(Ie.NODE_ENV==="development"),[X,$]=x.useState(!1),G=()=>{window.history.length<=1?window.close():a(-1)},fe=new URLSearchParams(o.search).get("endpoint"),ee=s||fe||Ie.REACT_APP_TRACKING_ENDPOINT,P=x.useMemo(()=>{if(t)return t;const l=new URLSearchParams(o.search);return l.get("awb")||l.get("awbNumber")||""},[t,o.search]);x.useEffect(()=>{let l=!1;return Ie.NODE_ENV==="development"&&_.current?(_.current=!1,()=>{l=!0}):((async()=>{try{if(d(!0),!P){g(null);return}const A=`${ee}?awbNumber=${encodeURIComponent(P)}`,S=await fetch(A);if(!S.ok)throw new Error("Request failed");const R=await S.json();l||g(R)}catch{l||g(null)}finally{l||d(!1)}})(),()=>{l=!0})},[ee,P]);const O=r?.baggingTracking,T=O?.baggingInfo,H=O?.travelInfoDto||r?.shipmentTracking?.travelDtos||[],le=T?.bag_barcode||H.find(l=>(l?.bagBarCode||l?.bagbarcode)&&(l?.bagBarCode||l?.bagbarcode)!=="-")?.bagBarCode||"—",ce=x.useMemo(()=>{try{return(H||[]).filter(h=>(h?.status||"").toUpperCase()==="BAG_CREATED").map(h=>h?.date).filter(Boolean).sort()[0]||null}catch{return null}},[H]),F=(()=>{const l=O?.route_info||r?.shipmentTracking?.route_info;if(!l)return[];const h=Array.isArray(l)?l.filter(S=>S&&S!=="null"&&S!==""):[];if(h.length===0)return[];const A=S=>{if(!S)return"";try{const R=S.split(" ")[0].split("-");return`${R[2]}-${R[1]}-${R[0]}`}catch{return S}};return h.map((S,R,Y)=>({hub:S,date:A(O?.travelInfoDto?.[R]?.date),type:R===0?"source":R===Y.length-1?"to":"transit"}))})(),U=l=>{const h=M[l];return h?h.bagIn&&!h.bagOut?"bag-chip--in":!h.bagIn&&h.bagOut?"bag-chip--out":"ho-badge--blue":"ho-badge--blue"},Ce=(Array.isArray(H)?H:[]).map((l,h)=>{const A=l?.status||l?.process||l?.event||"-",S=(A||"").toUpperCase(),R=l?.premisename||l?.location||"",Y=l?.topremisename||l?.toPremisename||l?.toPremiseName||"",de=`Scheduled Outscan from ${k(R)} to ${k(Y)}`,L=l.lcrnum||l.lcrNum||l.lcr_no||l.lcrNo||"",be=L?`${de} — LCR No: ${L}`:de;return{key:h,time:l?.date||"-",location:l?.premisename||l?.location||"-",toPremisename:l?.topremisename||l?.toPremiseName||"-",process:A,bag:l?.bagBarCode||"-",user:l?.user||"-",exception:l.exception||(l.isException,"-"),remark:S==="SCHEDULED_FOR_TRIP"?be:l?.remarks||"-",coLoader:l?.coloader||"—",transportType:l?.travelby||"—",flightName:l?.flightnum||"N/A",vehicleNo:l?.vehiclenum||"—",driverName:l?.drivername||"—"}}),p=O?.bagShipmentNo||r?.shipmentTracking?.children?.map(l=>l.awbNumber)||[],M=x.useMemo(()=>{const l=O?.bagShipmentDetails||[],h={};return l.forEach(A=>{h[A.barcode]={bagIn:A.bagIn,bagOut:A.bagOut}}),h},[O]),Z=O&&(T||F.length||H.length||p.length);return!m&&!Z?e.jsx(u.Spin,{spinning:m&&!r,indicator:e.jsx("img",{src:pe,style:{height:"100px",width:"100px"}}),children:e.jsxs("div",{className:"bag-details-page",children:[e.jsxs("p",{className:"master-title-head",style:{marginBottom:"5px"},children:[n&&e.jsx("img",{src:et,onClick:G,className:"pointer"}),e.jsx("span",{children:"Bag Details"})]}),e.jsx("div",{className:"bag-empty",children:e.jsxs(u.Card,{className:"ho-card bag-empty__card",children:[e.jsx("div",{className:"ho-section-title bag-empty__title",children:e.jsx("span",{className:"ho-title",children:"Details Not Found"})}),e.jsxs("div",{className:"bag-empty__text",children:["No details found for the provided Bag number:",e.jsxs("strong",{children:[" ",P?.replace(/\+/g,"/")," "]}),e.jsx("br",{}),"Please check the Bag number and try again."]})]})})]})}):e.jsx(u.Spin,{spinning:m&&!r,indicator:e.jsx("img",{src:pe,style:{height:"100px",width:"100px"}}),children:e.jsxs("div",{className:"bag-details-page",children:[e.jsxs("p",{className:"master-title-head",style:{marginBottom:"5px",marginTop:"6px"},children:[n&&e.jsx("img",{src:et,onClick:G,className:"pointer"}),e.jsx("span",{children:"Bag Details"})]}),e.jsxs(u.Row,{gutter:[16,16],children:[e.jsx(u.Col,{xs:24,lg:12,children:e.jsxs(u.Card,{className:"ho-card ho-card--equal",children:[e.jsxs("div",{className:"ho-section-title",children:[e.jsxs("div",{className:"ho-subheader__value",children:[e.jsxs("span",{className:"ho-kv-stack",children:[e.jsx("span",{className:"ho-muted",children:"Bag number"}),e.jsx("span",{className:"ho-strong",children:le})]}),e.jsx(u.Tag,{className:"ho-badge ho-badge--blue",children:"Bag Created"})]}),e.jsx("div",{className:"ho-chip",children:e.jsxs("span",{className:"ho-chip__value",style:{display:"flex",gap:6,whiteSpace:"nowrap"},children:[e.jsx("span",{style:{color:"#344054"},children:"Bag Created:"}),e.jsx("span",{children:ce?bt(ce):"—"})]})})]}),e.jsx("div",{className:"ho-box ho-box--flush",children:e.jsxs("div",{className:"ho-stats",children:[e.jsxs("div",{className:"ho-stat",children:[e.jsx("div",{className:"ho-stat__label",children:"Content Type"}),e.jsx("div",{className:"ho-stat__value",children:k(T?.contentType||"—")})]}),e.jsxs("div",{className:"ho-stat",children:[e.jsx("div",{className:"ho-stat__label",children:"Type"}),e.jsx("div",{className:"ho-stat__value",children:k(T?.bagType||"—")})]}),e.jsxs("div",{className:"ho-stat",children:[e.jsx("div",{className:"ho-stat__label",children:"Mode"}),e.jsx("div",{className:"ho-stat__value",children:k(T?.mode||"—")})]}),e.jsxs("div",{className:"ho-stat",children:[e.jsx("div",{className:"ho-stat__label",children:"Product"}),e.jsx("div",{className:"ho-stat__value",children:k(T?.product||"—")})]}),e.jsxs("div",{className:"ho-stat",children:[e.jsx("div",{className:"ho-stat__label",children:T?.cpId?"Destination CP":"Destination Hub"}),e.jsx("div",{className:"ho-stat__value",children:T?.cpId?k(T?.cpName||"—"):k(T?.destinationHubName||"—")})]})]})}),e.jsx("div",{className:"ho-box",children:e.jsxs("div",{className:"ho-grid",children:[e.jsxs("div",{className:"ho-metric",style:{display:"flex",justifyContent:"space-between"},children:[e.jsxs("span",{className:"ho-kv__label",children:[e.jsx("img",{src:xs,className:"ho-kv-icon",alt:""}),"Bag Weight :"]}),e.jsx("span",{className:"ho-kv__value",style:{color:"#027A48",fontWeight:600},children:T?.bagWeight??"—"})]}),e.jsxs("div",{className:"ho-metric",style:{display:"flex",justifyContent:"space-between"},children:[e.jsxs("span",{className:"ho-kv__label",children:[e.jsx("img",{src:fs,className:"ho-kv-icon",alt:""}),"Total Volumetric Weight :"]}),e.jsx("span",{className:"ho-kv__value",style:{color:"#027A48",fontWeight:600},children:T?.totalWeight??"—"})]})]})})]})}),e.jsx(u.Col,{xs:24,lg:12,children:e.jsxs(u.Row,{gutter:[16,16],children:[e.jsx(u.Col,{span:24,children:e.jsxs(u.Card,{className:"ho-card ho-card--equal",children:[e.jsx("div",{className:"ho-section-title",children:e.jsxs("div",{className:"ho-title-left",children:[e.jsx("img",{src:Fe,className:"ho-title-icon",alt:""}),e.jsx("span",{className:"ho-title",children:"Bag Route"})]})}),e.jsx("div",{className:`ho-route ${F.length===0?"ho-route--empty":""}`,children:F.length===0?e.jsx("div",{className:"ho-route__empty",children:"Bag Route not available"}):e.jsxs(e.Fragment,{children:[F.slice(0,4).map((l,h)=>e.jsxs("div",{className:`ho-route__row ${l.type==="to"?"ho-route__row--to":""}`,children:[e.jsx("div",{children:h===0?e.jsx("span",{className:"ho-route__tag ho-route__tag--transit",children:e.jsx("img",{src:oe,alt:"",className:"ho-route__truck"})}):l.type==="to"?e.jsx("span",{className:"ho-route__tag ho-route__tag--plain",children:e.jsx("img",{src:re,alt:"",className:"ho-route__dest"})}):e.jsxs("span",{className:"ho-route__tag ho-route__tag--transit",children:["T",h]})}),e.jsx("div",{className:"ho-route__content",children:e.jsx("span",{className:"ho-route__title",children:k(l.hub)})})]},h)),F.length>4&&e.jsxs("div",{className:"ho-route__more",onClick:()=>D(!0),children:[e.jsx("span",{className:"ho-route__more-text",children:"View More"}),e.jsx("span",{className:"ho-route__more-caret",children:"▾"})]})]})}),e.jsx(u.Modal,{open:I,title:"Bag Route",footer:null,onCancel:()=>D(!1),width:420,children:e.jsx("div",{className:"shipment-route-modal",children:F.map((l,h)=>e.jsxs("div",{className:"shipment-route-item",children:[e.jsxs("div",{className:"shipment-route-timeline",children:[e.jsx("div",{className:`route-dot route-dot--circle ${l.type}`,children:l.type==="source"?e.jsx("img",{src:oe,alt:"Source Hub"}):l.type==="to"?e.jsx("img",{src:re,alt:"To Hub"}):e.jsxs("span",{className:"ho-route__tag--transit",children:["T",h]})}),h!==F.length-1&&e.jsx("div",{className:"route-line"})]}),e.jsx("div",{className:"shipment-route-content ho-route__content",children:e.jsxs("div",{className:"ho-route__name",children:[e.jsx("span",{className:"ho-route__title",children:k(l.hub)}),l.type==="source"&&e.jsx("span",{className:"route-badge route-badge--source",children:"Source Hub"}),l.type==="to"&&e.jsx("span",{className:"route-badge route-badge--to",children:"To Hub"})]})})]},h))})})]})}),e.jsx(u.Col,{span:24,children:e.jsxs(u.Card,{className:"ho-card ho-card--equal",children:[e.jsxs("div",{className:"ho-section-title",children:[e.jsxs("div",{className:"ho-title-left",children:[e.jsx("img",{src:ft,className:"ho-title-icon",alt:""}),e.jsxs("span",{style:{fontFamily:"Roboto",fontWeight:700,fontSize:"20px",lineHeight:"100%",letterSpacing:"0px",color:"#003371"},children:["Shipments ",p.length>0&&`(${p.length})`]})]}),p.length>0&&e.jsxs("div",{className:"ho-inline",children:[e.jsx("span",{className:"ho-chip bag-chip bag-chip--in",children:"Bag In"}),e.jsx("span",{className:"ho-chip bag-chip bag-chip--out",children:"Bag Out"})]})]}),e.jsx("div",{className:"ho-inline",style:{flexWrap:"wrap",gap:8,width:"100%",display:"flex",justifyContent:"center",alignItems:"center",minHeight:"40px"},children:p.length===0?e.jsx("div",{style:{textAlign:"center",color:"#667085",fontSize:"14px",fontWeight:400},children:"Shipment not available"}):e.jsxs(e.Fragment,{children:[p.slice(0,5).map((l,h)=>e.jsx(u.Tag,{className:`ho-badge pointer ${U(l)}`,style:{marginBottom:8,textDecoration:"underline"},onClick:()=>a(`/shipment-tracker?awb=${l}`),children:l},h)),p.length>5&&e.jsx("span",{onClick:()=>$(!0),style:{cursor:"pointer",color:"#0066CC",textDecoration:"underline",marginLeft:10,fontWeight:600},children:"View More ▾"})]})})]})}),e.jsx(u.Modal,{open:X,title:e.jsxs("div",{style:{fontFamily:"Roboto",fontWeight:700,fontSize:"20px",lineHeight:"100%",letterSpacing:"0px",color:"#003371"},children:["Shipments ",p.length>0&&`(${p.length})`]}),footer:null,onCancel:()=>$(!1),width:450,children:e.jsx("div",{style:{maxHeight:"400px",overflowY:"auto",padding:"10px 5px"},children:p.map((l,h)=>e.jsx(u.Tag,{className:`ho-badge pointer ${U(l)}`,style:{marginBottom:8,display:"inline-block",textDecoration:"underline"},onClick:()=>a(`/shipment-tracker?awb=${l}`),children:l},h))})})]})}),e.jsx(u.Col,{span:24,children:e.jsxs(u.Card,{className:"ho-card",children:[e.jsx("div",{className:"ho-section-title",children:e.jsxs("div",{className:"ho-title-left",children:[e.jsx("img",{src:Ct,className:"ho-title-icon",alt:""}),e.jsx("span",{className:"ho-title",children:"Travel Info"})]})}),e.jsx(u.Table,{className:"ho-table",columns:Cs,dataSource:Ce,rowKey:"key",pagination:!1})]})})]})]})})}exports.BagDetailsUI=bs;exports.ShipmentDetailsUI=ms;
|
|
@@ -575,7 +575,7 @@ function it(n, t, a) {
|
|
|
575
575
|
let i;
|
|
576
576
|
return a ? i = n.v + Wt * t : i = n.v - zt * t, i = Math.max(0, Math.min(1, i)), Math.round(i * 100) / 100;
|
|
577
577
|
}
|
|
578
|
-
function
|
|
578
|
+
function Pt(n, t = {}) {
|
|
579
579
|
const a = [], i = new te(n), r = i.toHsv();
|
|
580
580
|
for (let l = Ct; l > 0; l -= 1) {
|
|
581
581
|
const u = new te({
|
|
@@ -601,7 +601,7 @@ function qt(n, t = {}) {
|
|
|
601
601
|
}
|
|
602
602
|
const Le = ["#e6f4ff", "#bae0ff", "#91caff", "#69b1ff", "#4096ff", "#1677ff", "#0958d9", "#003eb3", "#002c8c", "#001d66"];
|
|
603
603
|
Le.primary = Le[5];
|
|
604
|
-
function
|
|
604
|
+
function qt() {
|
|
605
605
|
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
606
606
|
}
|
|
607
607
|
function Zt(n, t) {
|
|
@@ -633,7 +633,7 @@ function Ye(n) {
|
|
|
633
633
|
return Array.from((He.get(n) || n).children).filter((t) => t.tagName === "STYLE");
|
|
634
634
|
}
|
|
635
635
|
function At(n, t = {}) {
|
|
636
|
-
if (!
|
|
636
|
+
if (!qt())
|
|
637
637
|
return null;
|
|
638
638
|
const {
|
|
639
639
|
csp: a,
|
|
@@ -761,7 +761,7 @@ function Ue(n, t, a) {
|
|
|
761
761
|
}, (n.children || []).map((i, r) => Ue(i, `${t}-${n.tag}-${r}`)));
|
|
762
762
|
}
|
|
763
763
|
function kt(n) {
|
|
764
|
-
return
|
|
764
|
+
return Pt(n)[0];
|
|
765
765
|
}
|
|
766
766
|
function xt(n) {
|
|
767
767
|
return n ? Array.isArray(n) ? n : [n] : [];
|
|
@@ -988,8 +988,8 @@ function ze() {
|
|
|
988
988
|
const An = (n, t) => /* @__PURE__ */ B.createElement(V, ze({}, n, {
|
|
989
989
|
ref: t,
|
|
990
990
|
icon: bn
|
|
991
|
-
})),
|
|
992
|
-
Nn.NODE_ENV !== "production" && (
|
|
991
|
+
})), Tt = /* @__PURE__ */ B.forwardRef(An);
|
|
992
|
+
Nn.NODE_ENV !== "production" && (Tt.displayName = "CalendarOutlined");
|
|
993
993
|
var wn = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z" } }] }, name: "file-text", theme: "outlined" }, yn = {};
|
|
994
994
|
function Ge() {
|
|
995
995
|
return Ge = Object.assign ? Object.assign.bind() : function(n) {
|
|
@@ -1004,25 +1004,25 @@ function Ge() {
|
|
|
1004
1004
|
const vn = (n, t) => /* @__PURE__ */ B.createElement(V, Ge({}, n, {
|
|
1005
1005
|
ref: t,
|
|
1006
1006
|
icon: wn
|
|
1007
|
-
})),
|
|
1008
|
-
yn.NODE_ENV !== "production" && (
|
|
1007
|
+
})), Dt = /* @__PURE__ */ B.forwardRef(vn);
|
|
1008
|
+
yn.NODE_ENV !== "production" && (Dt.displayName = "FileTextOutlined");
|
|
1009
1009
|
var kn = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z" } }] }, name: "user", theme: "outlined" }, xn = {};
|
|
1010
|
-
function
|
|
1011
|
-
return
|
|
1010
|
+
function Pe() {
|
|
1011
|
+
return Pe = Object.assign ? Object.assign.bind() : function(n) {
|
|
1012
1012
|
for (var t = 1; t < arguments.length; t++) {
|
|
1013
1013
|
var a = arguments[t];
|
|
1014
1014
|
for (var i in a)
|
|
1015
1015
|
Object.prototype.hasOwnProperty.call(a, i) && (n[i] = a[i]);
|
|
1016
1016
|
}
|
|
1017
1017
|
return n;
|
|
1018
|
-
},
|
|
1018
|
+
}, Pe.apply(this, arguments);
|
|
1019
1019
|
}
|
|
1020
|
-
const In = (n, t) => /* @__PURE__ */ B.createElement(V,
|
|
1020
|
+
const In = (n, t) => /* @__PURE__ */ B.createElement(V, Pe({}, n, {
|
|
1021
1021
|
ref: t,
|
|
1022
1022
|
icon: kn
|
|
1023
1023
|
})), St = /* @__PURE__ */ B.forwardRef(In);
|
|
1024
1024
|
xn.NODE_ENV !== "production" && (St.displayName = "UserOutlined");
|
|
1025
|
-
const Pe = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18%202C20.1647%202%2022%203.81484%2022%206.01659C22%208.25341%2020.1348%209.82312%2018.412%2010.8905C18.2864%2010.9623%2018.1445%2011%2018%2011C17.8555%2011%2017.7136%2010.9623%2017.588%2010.8905C15.8684%209.8127%2014%208.26115%2014%206.01659C14%203.81484%2015.8353%202%2018%202Z'%20stroke='%23003371'%20stroke-width='1.5'/%3e%3cpath%20d='M18%206H18.009'%20stroke='%23003371'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5%2022C6.65685%2022%208%2020.6569%208%2019C8%2017.3431%206.65685%2016%205%2016C3.34315%2016%202%2017.3431%202%2019C2%2020.6569%203.34315%2022%205%2022Z'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11%207H9.5C7.567%207%206%208.34315%206%2010C6%2011.6569%207.567%2013%209.5%2013H12.5C14.433%2013%2016%2014.3431%2016%2016C16%2017.6569%2014.433%2019%2012.5%2019H11'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", ue = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.1667%2016.6668C15.0871%2016.6668%2015.8333%2015.9206%2015.8333%2015.0002C15.8333%2014.0797%2015.0871%2013.3335%2014.1667%2013.3335C13.2462%2013.3335%2012.5%2014.0797%2012.5%2015.0002C12.5%2015.9206%2013.2462%2016.6668%2014.1667%2016.6668Z'%20stroke='%23003371'%20stroke-width='1.5'/%3e%3cpath%20d='M5.83464%2016.6663C6.75511%2016.6663%207.5013%2015.9201%207.5013%2014.9997C7.5013%2014.0792%206.75511%2013.333%205.83464%2013.333C4.91416%2013.333%204.16797%2014.0792%204.16797%2014.9997C4.16797%2015.9201%204.91416%2016.6663%205.83464%2016.6663Z'%20stroke='%23003371'%20stroke-width='1.5'/%3e%3cpath%20d='M4.16797%2014.9767C3.25404%2014.9312%202.68389%2014.7952%202.27816%2014.3895C1.87244%2013.9838%201.73649%2013.4136%201.69093%2012.4997M7.5013%2014.9997H12.5013M15.8346%2014.9767C16.7485%2014.9312%2017.3187%2014.7952%2017.7245%2014.3895C18.3346%2013.7793%2018.3346%2012.7972%2018.3346%2010.833V9.16634H14.418C13.7975%209.16634%2013.4873%209.16634%2013.2363%209.08476C12.7289%208.91992%2012.3311%208.52209%2012.1662%208.0147C12.0846%207.76365%2012.0846%207.45343%2012.0846%206.83301C12.0846%205.90237%2012.0846%205.43705%2011.9623%205.06047C11.715%204.29937%2011.1183%203.70266%2010.3572%203.45537C9.98063%203.33301%209.5153%203.33301%208.58463%203.33301H1.66797'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M1.66797%206.66699H6.66797'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M1.66797%209.16699H5.0013'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.082%205H13.5997C14.8125%205%2015.4189%205%2015.9124%205.29476C16.4059%205.58952%2016.6934%206.12343%2017.2684%207.19125L18.332%209.16667'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", ge = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='16'%20fill='%23F8FAFC'/%3e%3cpath%20d='M23.5%2011.8335V16.0002M8.5%2011.8335C8.5%2014.3872%208.5%2019.9787%208.5%2020.3012C8.5%2021.4533%2010.1214%2022.1382%2013.3641%2023.5081C14.6668%2024.0583%2015.3182%2024.3335%2016%2024.3335V15.4625'%20stroke='%23003371'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M18.5%2021.8333C18.5%2021.8333%2019.2292%2021.8333%2019.9583%2023.5C19.9583%2023.5%2022.2745%2019.3333%2024.3333%2018.5'%20stroke='%23003371'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.9383%2014.076L10.5039%2012.898C9.16797%2012.2516%208.5%2011.9284%208.5%2011.4165C8.5%2010.9046%209.16797%2010.5814%2010.5039%209.93496L12.9383%208.75702C14.4407%208.03001%2015.1919%207.6665%2016%207.6665C16.8081%207.6665%2017.5593%208.03%2019.0617%208.75702L21.4961%209.93496C22.832%2010.5814%2023.5%2010.9046%2023.5%2011.4165C23.5%2011.9284%2022.832%2012.2516%2021.4961%2012.898L19.0617%2014.076C17.5593%2014.803%2016.8081%2015.1665%2016%2015.1665C15.1919%2015.1665%2014.4407%2014.803%2012.9383%2014.076Z'%20stroke='%23003371'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11%2016L12.6667%2016.8333'%20stroke='%23003371'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M20.1654%209.33301L11.832%2013.4997'%20stroke='%23003371'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Rt = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M17%2021C18.1046%2021%2019%2020.1046%2019%2019C19%2017.8954%2018.1046%2017%2017%2017C15.8954%2017%2015%2017.8954%2015%2019C15%2020.1046%2015.8954%2021%2017%2021Z'%20stroke='%23003371'%20stroke-width='1.5'/%3e%3cpath%20d='M7%2021C8.10457%2021%209%2020.1046%209%2019C9%2017.8954%208.10457%2017%207%2017C5.89543%2017%205%2017.8954%205%2019C5%2020.1046%205.89543%2021%207%2021Z'%20stroke='%23003371'%20stroke-width='1.5'/%3e%3cpath%20d='M2%209V13.947C2%2016.329%202%2017.52%202.73223%2018.26C3.2191%2018.7521%203.90328%2018.9169%205%2018.9722M12.4271%205C13.3404%205.2999%2014.0564%206.02354%2014.3532%206.94654C14.5%207.40322%2014.5%207.96753%2014.5%209.09613C14.5%209.84853%2014.5%2010.2248%2014.5979%2010.5292C14.7957%2011.1445%2015.2731%2011.627%2015.882%2011.8269C16.1832%2011.9258%2016.5555%2011.9258%2017.3%2011.9258H22V13.947C22%2016.329%2022%2017.52%2021.2678%2018.26C20.7809%2018.7521%2020.0967%2018.9169%2019%2018.9722M9%2019H15'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M14.5%207H16.3212C17.7766%207%2018.5042%207%2019.0964%207.35371C19.6886%207.70742%2020.0336%208.34812%2020.7236%209.6295L22%2012'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.32653%208L8.81309%206.82583C9.60436%206.20083%2010%205.88833%2010%205.5M10%205.5C10%205.11168%209.60436%204.79918%208.81309%204.17418L7.32653%203M10%205.5H2'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Et = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%2022H6C4.11438%2022%203.17157%2022%202.58579%2021.4142C2%2020.8284%202%2019.8856%202%2018V16C2%2014.1144%202%2013.1716%202.58579%2012.5858C3.17157%2012%204.11438%2012%206%2012H8C9.88562%2012%2010.8284%2012%2011.4142%2012.5858C12%2013.1716%2012%2014.1144%2012%2016V18C12%2019.8856%2012%2020.8284%2011.4142%2021.4142C10.8284%2022%209.88562%2022%208%2022Z'%20stroke='%23003371'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6%2015H8'%20stroke='%23003371'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M18%202C15.7909%202%2014%203.80892%2014%206.04033C14%207.31626%2014.5%208.30834%2015.5%209.1945C16.2049%209.81911%2017.0588%2010.8566%2017.5714%2011.6975C17.8173%2012.1008%2018.165%2012.1008%2018.4286%2011.6975C18.9672%2010.8733%2019.7951%209.81911%2020.5%209.1945C21.5%208.30834%2022%207.31626%2022%206.04033C22%203.80892%2020.2091%202%2018%202Z'%20stroke='%23003371'%20stroke-width='2'%20stroke-linejoin='round'/%3e%3cpath%20d='M18%2015V18C18%2019.8856%2018%2020.8284%2017.5314%2021.4142C17.0839%2021.9735%2016.3761%2021.9988%2015%2021.9999'%20stroke='%23003371'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M18.007%206H17.998'%20stroke='%23003371'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", ct = "data:image/svg+xml,%3csvg%20width='19'%20height='19'%20viewBox='0%200%2019%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.875%207.9165C11.875%206.60483%2010.8117%205.5415%209.5%205.5415C8.18829%205.5415%207.125%206.60483%207.125%207.9165C7.125%209.22822%208.18829%2010.2915%209.5%2010.2915C10.8117%2010.2915%2011.875%209.22822%2011.875%207.9165Z'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.4577%2014.2503C13.4577%2012.0642%2011.6855%2010.292%209.49935%2010.292C7.31322%2010.292%205.54102%2012.0642%205.54102%2014.2503'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M16.625%2010.2917V8.70833C16.625%205.72277%2016.625%204.22999%2015.6975%203.30249C14.77%202.375%2013.2772%202.375%2010.2917%202.375H8.70833C5.72277%202.375%204.22999%202.375%203.30249%203.30249C2.375%204.22999%202.375%205.72277%202.375%208.70833V10.2917C2.375%2013.2772%202.375%2014.77%203.30249%2015.6975C4.22999%2016.625%205.72277%2016.625%208.70833%2016.625H10.2917C13.2772%2016.625%2014.77%2016.625%2015.6975%2015.6975C16.625%2014.77%2016.625%2013.2772%2016.625%2010.2917Z'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3c/svg%3e", ht = "data:image/svg+xml,%3csvg%20width='19'%20height='19'%20viewBox='0%200%2019%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.98047%205.9375V10.6875C1.98047%2013.673%201.98047%2015.1659%202.90796%2016.0933C3.83546%2017.0208%205.32824%2017.0208%208.3138%2017.0208H9.5013M17.0221%209.89583V5.9375'%20stroke='%23003371'%20stroke-width='1.1875'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3.06433%204.20772L1.98047%205.93783H17.0221L16.0308%204.28564C15.355%203.15924%2015.0171%202.59604%2014.4726%202.28777C13.9281%201.97949%2013.2713%201.97949%2011.9578%201.97949H7.08966C5.8042%201.97949%205.16148%201.97949%204.62474%202.2766C4.088%202.57372%203.74678%203.11839%203.06433%204.20772Z'%20stroke='%23003371'%20stroke-width='1.1875'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.5%205.93734V1.979'%20stroke='%23003371'%20stroke-width='1.1875'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.91797%208.3125H11.0846'%20stroke='%23003371'%20stroke-width='1.1875'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11.4805%2015.4372C11.4805%2015.4372%2012.2721%2015.4372%2013.0638%2017.0205C13.0638%2017.0205%2014.7869%2013.0622%2017.0221%2012.2705'%20stroke='%23003371'%20stroke-width='1.1875'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Mn = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.6673%2010.0002V12.5928C12.6673%2014.076%2012.1769%2014.6668%2010.5933%2014.6668H5.40806C3.92476%2014.6668%203.33398%2014.1764%203.33398%2012.5928V10.0002C3.33398%207.42283%205.42332%205.3335%208.00065%205.3335C10.578%205.3335%2012.6673%207.42283%2012.6673%2010.0002Z'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M10.6673%2010.0002C10.6673%208.52743%209.47338%207.3335%208.00065%207.3335C6.52789%207.3335%205.33398%208.52743%205.33398%2010.0002'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M8%2011.3333L8.66667%2010'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M10.8743%203.3335H5.12439C4.53532%203.3335%204.24079%203.3335%203.98162%203.23214C3.89554%203.19847%203.81319%203.15682%203.73579%203.10782C3.50277%202.96028%203.3394%202.72872%203.01264%202.2656C2.75798%201.90466%202.63066%201.72419%202.67455%201.57663C2.68844%201.52994%202.71294%201.48668%202.74635%201.44986C2.85194%201.3335%203.08148%201.3335%203.54058%201.3335H12.4581C12.9172%201.3335%2013.1467%201.3335%2013.2523%201.44986C13.2857%201.48668%2013.3103%201.52994%2013.3241%201.57663C13.368%201.72419%2013.2407%201.90466%2012.9861%202.2656C12.6593%202.72872%2012.4959%202.96029%2012.2629%203.10782C12.1855%203.15682%2012.1031%203.19847%2012.0171%203.23214C11.7579%203.3335%2011.4634%203.3335%2010.8743%203.3335Z'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M9.33268%205.3335V3.3335M6.66602%205.3335V3.3335'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3c/svg%3e", Dn = "data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.19033%202.28511C7.10013%201.37531%207.55507%200.9204%208.06253%200.7102C8.73913%200.429933%209.4994%200.429933%2010.1761%200.7102C10.6835%200.9204%2011.1384%201.37531%2012.0482%202.28511C12.958%203.19492%2013.4129%203.64983%2013.6231%204.15729C13.9034%204.83392%2013.9034%205.59417%2013.6231%206.2708C13.4129%206.77827%2012.958%207.2332%2012.0482%208.143L8.143%2012.0482C7.2332%2012.958%206.77827%2013.4129%206.2708%2013.6231C5.59417%2013.9034%204.83392%2013.9034%204.15729%2013.6231C3.64983%2013.4129%203.19492%2012.958%202.28511%2012.0482C1.37531%2011.1384%200.9204%2010.6835%200.7102%2010.1761C0.429933%209.4994%200.429933%208.73913%200.7102%208.06253C0.9204%207.55507%201.37531%207.10013%202.28511%206.19033L6.19033%202.28511Z'%20stroke='%23003371'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Tn = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%2014.6665C7.45453%2014.6665%206.93347%2014.4464%205.89129%2014.0062C3.29709%2012.9103%202%2012.3624%202%2011.4407C2%2011.1826%202%206.7095%202%204.6665M8%2014.6665C8.54547%2014.6665%209.06653%2014.4464%2010.1087%2014.0062C12.7029%2012.9103%2014%2012.3624%2014%2011.4407V4.6665M8%2014.6665V7.5697'%20stroke='%23003371'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.55061%206.46108L3.60315%205.51873C2.53438%205.00156%202%204.74298%202%204.3335C2%203.92401%202.53438%203.66543%203.60315%203.14826L5.55061%202.20591C6.75253%201.6243%207.35353%201.3335%208%201.3335C8.64647%201.3335%209.24747%201.6243%2010.4494%202.20591L12.3969%203.14826C13.4656%203.66543%2014%203.92401%2014%204.3335C14%204.74298%2013.4656%205.00156%2012.3969%205.51873L10.4494%206.46108C9.24747%207.0427%208.64647%207.3335%208%207.3335C7.35353%207.3335%206.75253%207.0427%205.55061%206.46108Z'%20stroke='%23003371'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4%208L5.33333%208.66667'%20stroke='%23003371'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11.3327%202.6665L4.66602%205.99984'%20stroke='%23003371'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Sn = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.0026%201.33398C11.6845%201.33398%2014.6693%204.31875%2014.6693%208.00064C14.6693%2011.6826%2011.6845%2014.6673%208.0026%2014.6673C4.3207%2014.6673%201.33594%2011.6826%201.33594%208.00064M5.94194%201.65856C5.26927%201.87697%204.6435%202.19942%204.08362%202.60692M2.60889%204.08165C2.20131%204.64164%201.87882%205.26753%201.6604%205.94033'%20stroke='%23175EB6'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.0026%205.33398V10.6673M10.6693%208.00064H5.33594'%20stroke='%23175EB6'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
|
|
1025
|
+
const qe = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18%202C20.1647%202%2022%203.81484%2022%206.01659C22%208.25341%2020.1348%209.82312%2018.412%2010.8905C18.2864%2010.9623%2018.1445%2011%2018%2011C17.8555%2011%2017.7136%2010.9623%2017.588%2010.8905C15.8684%209.8127%2014%208.26115%2014%206.01659C14%203.81484%2015.8353%202%2018%202Z'%20stroke='%23003371'%20stroke-width='1.5'/%3e%3cpath%20d='M18%206H18.009'%20stroke='%23003371'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5%2022C6.65685%2022%208%2020.6569%208%2019C8%2017.3431%206.65685%2016%205%2016C3.34315%2016%202%2017.3431%202%2019C2%2020.6569%203.34315%2022%205%2022Z'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11%207H9.5C7.567%207%206%208.34315%206%2010C6%2011.6569%207.567%2013%209.5%2013H12.5C14.433%2013%2016%2014.3431%2016%2016C16%2017.6569%2014.433%2019%2012.5%2019H11'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", ue = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.1667%2016.6668C15.0871%2016.6668%2015.8333%2015.9206%2015.8333%2015.0002C15.8333%2014.0797%2015.0871%2013.3335%2014.1667%2013.3335C13.2462%2013.3335%2012.5%2014.0797%2012.5%2015.0002C12.5%2015.9206%2013.2462%2016.6668%2014.1667%2016.6668Z'%20stroke='%23003371'%20stroke-width='1.5'/%3e%3cpath%20d='M5.83464%2016.6663C6.75511%2016.6663%207.5013%2015.9201%207.5013%2014.9997C7.5013%2014.0792%206.75511%2013.333%205.83464%2013.333C4.91416%2013.333%204.16797%2014.0792%204.16797%2014.9997C4.16797%2015.9201%204.91416%2016.6663%205.83464%2016.6663Z'%20stroke='%23003371'%20stroke-width='1.5'/%3e%3cpath%20d='M4.16797%2014.9767C3.25404%2014.9312%202.68389%2014.7952%202.27816%2014.3895C1.87244%2013.9838%201.73649%2013.4136%201.69093%2012.4997M7.5013%2014.9997H12.5013M15.8346%2014.9767C16.7485%2014.9312%2017.3187%2014.7952%2017.7245%2014.3895C18.3346%2013.7793%2018.3346%2012.7972%2018.3346%2010.833V9.16634H14.418C13.7975%209.16634%2013.4873%209.16634%2013.2363%209.08476C12.7289%208.91992%2012.3311%208.52209%2012.1662%208.0147C12.0846%207.76365%2012.0846%207.45343%2012.0846%206.83301C12.0846%205.90237%2012.0846%205.43705%2011.9623%205.06047C11.715%204.29937%2011.1183%203.70266%2010.3572%203.45537C9.98063%203.33301%209.5153%203.33301%208.58463%203.33301H1.66797'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M1.66797%206.66699H6.66797'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M1.66797%209.16699H5.0013'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.082%205H13.5997C14.8125%205%2015.4189%205%2015.9124%205.29476C16.4059%205.58952%2016.6934%206.12343%2017.2684%207.19125L18.332%209.16667'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", ge = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='16'%20fill='%23F8FAFC'/%3e%3cpath%20d='M23.5%2011.8335V16.0002M8.5%2011.8335C8.5%2014.3872%208.5%2019.9787%208.5%2020.3012C8.5%2021.4533%2010.1214%2022.1382%2013.3641%2023.5081C14.6668%2024.0583%2015.3182%2024.3335%2016%2024.3335V15.4625'%20stroke='%23003371'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M18.5%2021.8333C18.5%2021.8333%2019.2292%2021.8333%2019.9583%2023.5C19.9583%2023.5%2022.2745%2019.3333%2024.3333%2018.5'%20stroke='%23003371'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.9383%2014.076L10.5039%2012.898C9.16797%2012.2516%208.5%2011.9284%208.5%2011.4165C8.5%2010.9046%209.16797%2010.5814%2010.5039%209.93496L12.9383%208.75702C14.4407%208.03001%2015.1919%207.6665%2016%207.6665C16.8081%207.6665%2017.5593%208.03%2019.0617%208.75702L21.4961%209.93496C22.832%2010.5814%2023.5%2010.9046%2023.5%2011.4165C23.5%2011.9284%2022.832%2012.2516%2021.4961%2012.898L19.0617%2014.076C17.5593%2014.803%2016.8081%2015.1665%2016%2015.1665C15.1919%2015.1665%2014.4407%2014.803%2012.9383%2014.076Z'%20stroke='%23003371'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11%2016L12.6667%2016.8333'%20stroke='%23003371'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M20.1654%209.33301L11.832%2013.4997'%20stroke='%23003371'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Rt = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M17%2021C18.1046%2021%2019%2020.1046%2019%2019C19%2017.8954%2018.1046%2017%2017%2017C15.8954%2017%2015%2017.8954%2015%2019C15%2020.1046%2015.8954%2021%2017%2021Z'%20stroke='%23003371'%20stroke-width='1.5'/%3e%3cpath%20d='M7%2021C8.10457%2021%209%2020.1046%209%2019C9%2017.8954%208.10457%2017%207%2017C5.89543%2017%205%2017.8954%205%2019C5%2020.1046%205.89543%2021%207%2021Z'%20stroke='%23003371'%20stroke-width='1.5'/%3e%3cpath%20d='M2%209V13.947C2%2016.329%202%2017.52%202.73223%2018.26C3.2191%2018.7521%203.90328%2018.9169%205%2018.9722M12.4271%205C13.3404%205.2999%2014.0564%206.02354%2014.3532%206.94654C14.5%207.40322%2014.5%207.96753%2014.5%209.09613C14.5%209.84853%2014.5%2010.2248%2014.5979%2010.5292C14.7957%2011.1445%2015.2731%2011.627%2015.882%2011.8269C16.1832%2011.9258%2016.5555%2011.9258%2017.3%2011.9258H22V13.947C22%2016.329%2022%2017.52%2021.2678%2018.26C20.7809%2018.7521%2020.0967%2018.9169%2019%2018.9722M9%2019H15'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M14.5%207H16.3212C17.7766%207%2018.5042%207%2019.0964%207.35371C19.6886%207.70742%2020.0336%208.34812%2020.7236%209.6295L22%2012'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.32653%208L8.81309%206.82583C9.60436%206.20083%2010%205.88833%2010%205.5M10%205.5C10%205.11168%209.60436%204.79918%208.81309%204.17418L7.32653%203M10%205.5H2'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Et = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%2022H6C4.11438%2022%203.17157%2022%202.58579%2021.4142C2%2020.8284%202%2019.8856%202%2018V16C2%2014.1144%202%2013.1716%202.58579%2012.5858C3.17157%2012%204.11438%2012%206%2012H8C9.88562%2012%2010.8284%2012%2011.4142%2012.5858C12%2013.1716%2012%2014.1144%2012%2016V18C12%2019.8856%2012%2020.8284%2011.4142%2021.4142C10.8284%2022%209.88562%2022%208%2022Z'%20stroke='%23003371'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6%2015H8'%20stroke='%23003371'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M18%202C15.7909%202%2014%203.80892%2014%206.04033C14%207.31626%2014.5%208.30834%2015.5%209.1945C16.2049%209.81911%2017.0588%2010.8566%2017.5714%2011.6975C17.8173%2012.1008%2018.165%2012.1008%2018.4286%2011.6975C18.9672%2010.8733%2019.7951%209.81911%2020.5%209.1945C21.5%208.30834%2022%207.31626%2022%206.04033C22%203.80892%2020.2091%202%2018%202Z'%20stroke='%23003371'%20stroke-width='2'%20stroke-linejoin='round'/%3e%3cpath%20d='M18%2015V18C18%2019.8856%2018%2020.8284%2017.5314%2021.4142C17.0839%2021.9735%2016.3761%2021.9988%2015%2021.9999'%20stroke='%23003371'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M18.007%206H17.998'%20stroke='%23003371'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", ct = "data:image/svg+xml,%3csvg%20width='19'%20height='19'%20viewBox='0%200%2019%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.875%207.9165C11.875%206.60483%2010.8117%205.5415%209.5%205.5415C8.18829%205.5415%207.125%206.60483%207.125%207.9165C7.125%209.22822%208.18829%2010.2915%209.5%2010.2915C10.8117%2010.2915%2011.875%209.22822%2011.875%207.9165Z'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.4577%2014.2503C13.4577%2012.0642%2011.6855%2010.292%209.49935%2010.292C7.31322%2010.292%205.54102%2012.0642%205.54102%2014.2503'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M16.625%2010.2917V8.70833C16.625%205.72277%2016.625%204.22999%2015.6975%203.30249C14.77%202.375%2013.2772%202.375%2010.2917%202.375H8.70833C5.72277%202.375%204.22999%202.375%203.30249%203.30249C2.375%204.22999%202.375%205.72277%202.375%208.70833V10.2917C2.375%2013.2772%202.375%2014.77%203.30249%2015.6975C4.22999%2016.625%205.72277%2016.625%208.70833%2016.625H10.2917C13.2772%2016.625%2014.77%2016.625%2015.6975%2015.6975C16.625%2014.77%2016.625%2013.2772%2016.625%2010.2917Z'%20stroke='%23003371'%20stroke-width='1.5'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3c/svg%3e", ht = "data:image/svg+xml,%3csvg%20width='19'%20height='19'%20viewBox='0%200%2019%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.98047%205.9375V10.6875C1.98047%2013.673%201.98047%2015.1659%202.90796%2016.0933C3.83546%2017.0208%205.32824%2017.0208%208.3138%2017.0208H9.5013M17.0221%209.89583V5.9375'%20stroke='%23003371'%20stroke-width='1.1875'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3.06433%204.20772L1.98047%205.93783H17.0221L16.0308%204.28564C15.355%203.15924%2015.0171%202.59604%2014.4726%202.28777C13.9281%201.97949%2013.2713%201.97949%2011.9578%201.97949H7.08966C5.8042%201.97949%205.16148%201.97949%204.62474%202.2766C4.088%202.57372%203.74678%203.11839%203.06433%204.20772Z'%20stroke='%23003371'%20stroke-width='1.1875'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.5%205.93734V1.979'%20stroke='%23003371'%20stroke-width='1.1875'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.91797%208.3125H11.0846'%20stroke='%23003371'%20stroke-width='1.1875'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11.4805%2015.4372C11.4805%2015.4372%2012.2721%2015.4372%2013.0638%2017.0205C13.0638%2017.0205%2014.7869%2013.0622%2017.0221%2012.2705'%20stroke='%23003371'%20stroke-width='1.1875'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Mn = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.6673%2010.0002V12.5928C12.6673%2014.076%2012.1769%2014.6668%2010.5933%2014.6668H5.40806C3.92476%2014.6668%203.33398%2014.1764%203.33398%2012.5928V10.0002C3.33398%207.42283%205.42332%205.3335%208.00065%205.3335C10.578%205.3335%2012.6673%207.42283%2012.6673%2010.0002Z'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M10.6673%2010.0002C10.6673%208.52743%209.47338%207.3335%208.00065%207.3335C6.52789%207.3335%205.33398%208.52743%205.33398%2010.0002'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M8%2011.3333L8.66667%2010'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M10.8743%203.3335H5.12439C4.53532%203.3335%204.24079%203.3335%203.98162%203.23214C3.89554%203.19847%203.81319%203.15682%203.73579%203.10782C3.50277%202.96028%203.3394%202.72872%203.01264%202.2656C2.75798%201.90466%202.63066%201.72419%202.67455%201.57663C2.68844%201.52994%202.71294%201.48668%202.74635%201.44986C2.85194%201.3335%203.08148%201.3335%203.54058%201.3335H12.4581C12.9172%201.3335%2013.1467%201.3335%2013.2523%201.44986C13.2857%201.48668%2013.3103%201.52994%2013.3241%201.57663C13.368%201.72419%2013.2407%201.90466%2012.9861%202.2656C12.6593%202.72872%2012.4959%202.96029%2012.2629%203.10782C12.1855%203.15682%2012.1031%203.19847%2012.0171%203.23214C11.7579%203.3335%2011.4634%203.3335%2010.8743%203.3335Z'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3cpath%20d='M9.33268%205.3335V3.3335M6.66602%205.3335V3.3335'%20stroke='%23003371'%20stroke-linecap='round'/%3e%3c/svg%3e", Tn = "data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.19033%202.28511C7.10013%201.37531%207.55507%200.9204%208.06253%200.7102C8.73913%200.429933%209.4994%200.429933%2010.1761%200.7102C10.6835%200.9204%2011.1384%201.37531%2012.0482%202.28511C12.958%203.19492%2013.4129%203.64983%2013.6231%204.15729C13.9034%204.83392%2013.9034%205.59417%2013.6231%206.2708C13.4129%206.77827%2012.958%207.2332%2012.0482%208.143L8.143%2012.0482C7.2332%2012.958%206.77827%2013.4129%206.2708%2013.6231C5.59417%2013.9034%204.83392%2013.9034%204.15729%2013.6231C3.64983%2013.4129%203.19492%2012.958%202.28511%2012.0482C1.37531%2011.1384%200.9204%2010.6835%200.7102%2010.1761C0.429933%209.4994%200.429933%208.73913%200.7102%208.06253C0.9204%207.55507%201.37531%207.10013%202.28511%206.19033L6.19033%202.28511Z'%20stroke='%23003371'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Dn = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%2014.6665C7.45453%2014.6665%206.93347%2014.4464%205.89129%2014.0062C3.29709%2012.9103%202%2012.3624%202%2011.4407C2%2011.1826%202%206.7095%202%204.6665M8%2014.6665C8.54547%2014.6665%209.06653%2014.4464%2010.1087%2014.0062C12.7029%2012.9103%2014%2012.3624%2014%2011.4407V4.6665M8%2014.6665V7.5697'%20stroke='%23003371'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.55061%206.46108L3.60315%205.51873C2.53438%205.00156%202%204.74298%202%204.3335C2%203.92401%202.53438%203.66543%203.60315%203.14826L5.55061%202.20591C6.75253%201.6243%207.35353%201.3335%208%201.3335C8.64647%201.3335%209.24747%201.6243%2010.4494%202.20591L12.3969%203.14826C13.4656%203.66543%2014%203.92401%2014%204.3335C14%204.74298%2013.4656%205.00156%2012.3969%205.51873L10.4494%206.46108C9.24747%207.0427%208.64647%207.3335%208%207.3335C7.35353%207.3335%206.75253%207.0427%205.55061%206.46108Z'%20stroke='%23003371'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4%208L5.33333%208.66667'%20stroke='%23003371'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11.3327%202.6665L4.66602%205.99984'%20stroke='%23003371'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Sn = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.0026%201.33398C11.6845%201.33398%2014.6693%204.31875%2014.6693%208.00064C14.6693%2011.6826%2011.6845%2014.6673%208.0026%2014.6673C4.3207%2014.6673%201.33594%2011.6826%201.33594%208.00064M5.94194%201.65856C5.26927%201.87697%204.6435%202.19942%204.08362%202.60692M2.60889%204.08165C2.20131%204.64164%201.87882%205.26753%201.6604%205.94033'%20stroke='%23175EB6'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.0026%205.33398V10.6673M10.6693%208.00064H5.33594'%20stroke='%23175EB6'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
|
|
1026
1026
|
var Rn = {};
|
|
1027
1027
|
function _e(n) {
|
|
1028
1028
|
if (!n || n === "-" || n === "—") return "--";
|
|
@@ -1073,7 +1073,7 @@ function Be({ icon: n, label: t, value: a, isAudit: i = !1 }) {
|
|
|
1073
1073
|
] });
|
|
1074
1074
|
}
|
|
1075
1075
|
function jn({ endpoint: n, awbNumber: t }) {
|
|
1076
|
-
const [a, i] = R(!1), [r, l] = R(!1), [u, m] = R(null), [d, b] = R(null), [C, M] = R(!1), E = ut(), O = gt(), [ae, ie] = R(!1), [K, xe] = R(!1), [Ie, oe] = R(!1), [J, F] = R(!1),
|
|
1076
|
+
const [a, i] = R(!1), [r, l] = R(!1), [u, m] = R(null), [d, b] = R(null), [C, M] = R(!1), E = ut(), O = gt(), [ae, ie] = R(!1), [K, xe] = R(!1), [Ie, oe] = R(!1), [J, F] = R(!1), D = Fe(null), [G, me] = R(!1), fe = new URLSearchParams(E.search).get("endpoint"), j = n || fe || Rn.REACT_APP_TRACKING_ENDPOINT || "/api/v1/shipment-tracking/search", P = Q(() => {
|
|
1077
1077
|
if (t) return t;
|
|
1078
1078
|
const o = new URLSearchParams(E.search);
|
|
1079
1079
|
return o.get("awb") || o.get("awbNumber") || "";
|
|
@@ -1082,11 +1082,11 @@ function jn({ endpoint: n, awbNumber: t }) {
|
|
|
1082
1082
|
let o = !1;
|
|
1083
1083
|
return (async () => {
|
|
1084
1084
|
try {
|
|
1085
|
-
if (M(!0), !
|
|
1085
|
+
if (M(!0), !P) {
|
|
1086
1086
|
o || b(null);
|
|
1087
1087
|
return;
|
|
1088
1088
|
}
|
|
1089
|
-
const N = `${j}?awbNumber=${encodeURIComponent(
|
|
1089
|
+
const N = `${j}?awbNumber=${encodeURIComponent(P)}`, v = await fetch(N);
|
|
1090
1090
|
if (!v.ok) throw new Error("Request failed");
|
|
1091
1091
|
const f = await v.json();
|
|
1092
1092
|
o || b(f);
|
|
@@ -1098,8 +1098,8 @@ function jn({ endpoint: n, awbNumber: t }) {
|
|
|
1098
1098
|
})(), () => {
|
|
1099
1099
|
o = !0;
|
|
1100
1100
|
};
|
|
1101
|
-
}, [j,
|
|
1102
|
-
const Me = d?.shipmentTracking?.isRTO === !0, g = d?.shipmentTracking?.bookingInfoDto,
|
|
1101
|
+
}, [j, P]);
|
|
1102
|
+
const Me = d?.shipmentTracking?.isRTO === !0, g = d?.shipmentTracking?.bookingInfoDto, T = d?.shipmentTracking?.auditInfo || [], X = d?.shipmentTracking?.latestOperation, c = d?.shipmentTracking?.supportTicketInfo, p = {
|
|
1103
1103
|
bookingTime: g?.bookingDate || "—",
|
|
1104
1104
|
shipmentNumber: g?.awbNumber || "—",
|
|
1105
1105
|
isRTO: Me,
|
|
@@ -1150,7 +1150,7 @@ function jn({ endpoint: n, awbNumber: t }) {
|
|
|
1150
1150
|
}
|
|
1151
1151
|
}, N = (f) => {
|
|
1152
1152
|
const y = (f || "").toLowerCase(), L = o.find(
|
|
1153
|
-
(
|
|
1153
|
+
(q) => (q?.premiseName || "").toLowerCase().includes(y) || y.includes((q?.premiseName || "").toLowerCase()) || (q?.toPremisename || q?.topremisename || "").toLowerCase().includes(y) || y.includes((q?.toPremisename || q?.topremisename || "").toLowerCase())
|
|
1154
1154
|
) || null;
|
|
1155
1155
|
return h(L?.date);
|
|
1156
1156
|
}, v = d?.shipmentTracking?.route_info;
|
|
@@ -1161,11 +1161,11 @@ function jn({ endpoint: n, awbNumber: t }) {
|
|
|
1161
1161
|
})) : [];
|
|
1162
1162
|
})();
|
|
1163
1163
|
he(() => {
|
|
1164
|
-
if (!
|
|
1164
|
+
if (!D.current || w.length <= 5) {
|
|
1165
1165
|
me(!1);
|
|
1166
1166
|
return;
|
|
1167
1167
|
}
|
|
1168
|
-
const o =
|
|
1168
|
+
const o = D.current, h = () => {
|
|
1169
1169
|
const N = Array.from(o.querySelectorAll(".ho-route__row"));
|
|
1170
1170
|
if (N.length === 0) return !1;
|
|
1171
1171
|
let v = 0;
|
|
@@ -1204,7 +1204,8 @@ function jn({ endpoint: n, awbNumber: t }) {
|
|
|
1204
1204
|
"FORCE_HUB_OUTSCAN",
|
|
1205
1205
|
"EXCESS_INSCAN",
|
|
1206
1206
|
"MODE_AUDITED",
|
|
1207
|
-
"REMOVED_FROM_LCR"
|
|
1207
|
+
"REMOVED_FROM_LCR",
|
|
1208
|
+
"OUT_SCAN_TO_3PL"
|
|
1208
1209
|
].includes((o.status || "").toUpperCase()) ? o.premiseName || "—" : o.toPremisename || o.toPremiseName || "—",
|
|
1209
1210
|
locationPremiseName: ["IN_BAG_OUTSCAN_TO_CP", "OUT_SCAN_TO_CP"].includes(
|
|
1210
1211
|
(o.status || "").toUpperCase()
|
|
@@ -1284,17 +1285,17 @@ function jn({ endpoint: n, awbNumber: t }) {
|
|
|
1284
1285
|
const v = [
|
|
1285
1286
|
"SCHEDULED_FOR_TRIP",
|
|
1286
1287
|
"IN-BAG-OUTSCAN"
|
|
1287
|
-
].includes((h?.process || h?.status || "").toString().toUpperCase()), f = o.indexOf("LCR No:"), y = f >= 0, L = y ? o.slice(0, f) : o,
|
|
1288
|
+
].includes((h?.process || h?.status || "").toString().toUpperCase()), f = o.indexOf("LCR No:"), y = f >= 0, L = y ? o.slice(0, f) : o, q = y ? o.slice(f) : "", be = y ? (q.replace(/^[^:]*:\s*/i, "") || "").trim() : "";
|
|
1288
1289
|
return /* @__PURE__ */ s("span", { children: [
|
|
1289
1290
|
((ee) => {
|
|
1290
1291
|
const Y = [], se = String(ee || ""), Je = /(https?:\/\/[^\s]+|www\.[^\s]+)/gi;
|
|
1291
|
-
let re = 0,
|
|
1292
|
-
for (; (
|
|
1293
|
-
const Xe =
|
|
1292
|
+
let re = 0, De, Se = 0;
|
|
1293
|
+
for (; (De = Je.exec(se)) !== null; ) {
|
|
1294
|
+
const Xe = De.index, Bt = Je.lastIndex;
|
|
1294
1295
|
Xe > re && Y.push(
|
|
1295
1296
|
/* @__PURE__ */ e("span", { children: se.slice(re, Xe) }, `rmk-t-${Se++}`)
|
|
1296
1297
|
);
|
|
1297
|
-
const Re =
|
|
1298
|
+
const Re = De[0], Ot = Re.startsWith("http") ? Re : `https://${Re}`;
|
|
1298
1299
|
Y.push(
|
|
1299
1300
|
/* @__PURE__ */ e(
|
|
1300
1301
|
"a",
|
|
@@ -1372,23 +1373,23 @@ function jn({ endpoint: n, awbNumber: t }) {
|
|
|
1372
1373
|
],
|
|
1373
1374
|
[O]
|
|
1374
1375
|
);
|
|
1375
|
-
Q(() => (d?.shipmentTracking?.ewayInfo || []).map((h) => h?.ewaybill_no).filter((h) => !!h), [d]), Q(() =>
|
|
1376
|
+
Q(() => (d?.shipmentTracking?.ewayInfo || []).map((h) => h?.ewaybill_no).filter((h) => !!h), [d]), Q(() => T.length ? [
|
|
1376
1377
|
{
|
|
1377
1378
|
key: "audit-master",
|
|
1378
|
-
label: `Audit (${
|
|
1379
|
-
children:
|
|
1379
|
+
label: `Audit (${T.length})`,
|
|
1380
|
+
children: T.map((o, h) => ({
|
|
1380
1381
|
key: `audit-${h}`,
|
|
1381
1382
|
title: `Audit ${h + 1} - ${o.auditType || "WEIGHT"}`,
|
|
1382
1383
|
auditData: o
|
|
1383
1384
|
}))
|
|
1384
1385
|
}
|
|
1385
|
-
] : [], [
|
|
1386
|
+
] : [], [T]);
|
|
1386
1387
|
const $ = Fe(!1);
|
|
1387
1388
|
he(() => {
|
|
1388
|
-
!$.current &&
|
|
1389
|
-
}, [
|
|
1389
|
+
!$.current && T.length > 0 && (m("audit-master"), $.current = !0);
|
|
1390
|
+
}, [T]), Q(() => {
|
|
1390
1391
|
if (u && u.startsWith("audit-")) {
|
|
1391
|
-
const o = parseInt(u.split("-")[1]), h =
|
|
1392
|
+
const o = parseInt(u.split("-")[1]), h = T[o];
|
|
1392
1393
|
if (!h) return null;
|
|
1393
1394
|
const N = {
|
|
1394
1395
|
auditedBy: "—",
|
|
@@ -1408,7 +1409,7 @@ function jn({ endpoint: n, awbNumber: t }) {
|
|
|
1408
1409
|
return { header: N, bookingValue: v, auditedValue: f, note: y, index: o + 1 };
|
|
1409
1410
|
}
|
|
1410
1411
|
return null;
|
|
1411
|
-
}, [u,
|
|
1412
|
+
}, [u, T, p.bookingTime]), Q(() => {
|
|
1412
1413
|
const o = d?.shipmentTracking?.travelDtos || [];
|
|
1413
1414
|
for (let h = o.length - 1; h >= 0; h--) {
|
|
1414
1415
|
const N = (o[h]?.status || "").toUpperCase();
|
|
@@ -1417,7 +1418,7 @@ function jn({ endpoint: n, awbNumber: t }) {
|
|
|
1417
1418
|
}
|
|
1418
1419
|
return null;
|
|
1419
1420
|
}, [d]);
|
|
1420
|
-
const Ce = !!(d?.shipmentTracking && (d?.shipmentTracking?.bookingInfoDto || Array.isArray(d?.shipmentTracking?.route_info) && d?.shipmentTracking?.route_info.length || Array.isArray(d?.shipmentTracking?.travelDtos) && d?.shipmentTracking?.travelDtos.length)), z = !!c,
|
|
1421
|
+
const Ce = !!(d?.shipmentTracking && (d?.shipmentTracking?.bookingInfoDto || Array.isArray(d?.shipmentTracking?.route_info) && d?.shipmentTracking?.route_info.length || Array.isArray(d?.shipmentTracking?.travelDtos) && d?.shipmentTracking?.travelDtos.length)), z = !!c, Te = () => {
|
|
1421
1422
|
const o = sessionStorage.getItem("token") || localStorage.getItem("token") || "", h = sessionStorage.getItem("email") || localStorage.getItem("email") || "", N = sessionStorage.getItem("userId") || localStorage.getItem("userId") || "", v = sessionStorage.getItem("premiseId") || sessionStorage.getItem("smcs-premise-id") || "", f = new URLSearchParams();
|
|
1422
1423
|
f.append("source", "HUBOPS"), o && f.append("token", o), h && f.append("email", h), N && f.append("userId", N), v && f.append("premiseId", v);
|
|
1423
1424
|
const L = window.location.hostname.includes("qa") ? "https://qasupport.innofulfill.com" : "https://support.innofulfill.com";
|
|
@@ -1432,7 +1433,7 @@ function jn({ endpoint: n, awbNumber: t }) {
|
|
|
1432
1433
|
/* @__PURE__ */ e("div", { className: "ho-section-title bag-empty__title", children: /* @__PURE__ */ e("span", { className: "ho-title", children: "Details Not Found" }) }),
|
|
1433
1434
|
/* @__PURE__ */ s("div", { className: "bag-empty__text", children: [
|
|
1434
1435
|
"No details found for the provided AWB number ",
|
|
1435
|
-
|
|
1436
|
+
P,
|
|
1436
1437
|
". Please check the AWB number and try again."
|
|
1437
1438
|
] })
|
|
1438
1439
|
] }) }) })
|
|
@@ -1444,7 +1445,7 @@ function jn({ endpoint: n, awbNumber: t }) {
|
|
|
1444
1445
|
indicator: /* @__PURE__ */ e("img", { src: ve, style: { height: "100px", width: "100px" } }),
|
|
1445
1446
|
children: /* @__PURE__ */ e("div", { className: "shipment-details-page", children: /* @__PURE__ */ s(ye, { gutter: [16, 16], className: "ho-row-equal", children: [
|
|
1446
1447
|
/* @__PURE__ */ e(W, { xs: 24, lg: 10, children: /* @__PURE__ */ s(H, { className: "ho-card ho-card--equal", style: { height: "644px" }, bodyStyle: { display: "flex", flexDirection: "column", height: "100%", overflow: "hidden", padding: "12px" }, children: [
|
|
1447
|
-
/* @__PURE__ */ s("div", { className: "ho-section-title", children: [
|
|
1448
|
+
/* @__PURE__ */ s("div", { className: "ho-section-title", style: { marginTop: "10px" }, children: [
|
|
1448
1449
|
/* @__PURE__ */ s("div", { className: "ho-title-left", children: [
|
|
1449
1450
|
p.parentAwbNumber ? /* @__PURE__ */ s(
|
|
1450
1451
|
"div",
|
|
@@ -1482,7 +1483,7 @@ function jn({ endpoint: n, awbNumber: t }) {
|
|
|
1482
1483
|
/* @__PURE__ */ e("span", { className: "ho-chip__label", children: "Booked At:" }),
|
|
1483
1484
|
/* @__PURE__ */ e("span", { className: "ho-chip__value", children: Z(p.bookingTime) })
|
|
1484
1485
|
] }),
|
|
1485
|
-
/* @__PURE__ */ s("div", { className: "ho-chip ho-chip--ticket", onClick:
|
|
1486
|
+
/* @__PURE__ */ s("div", { className: "ho-chip ho-chip--ticket", onClick: Te, style: { cursor: "pointer" }, children: [
|
|
1486
1487
|
/* @__PURE__ */ e("img", { src: Sn, alt: "" }),
|
|
1487
1488
|
/* @__PURE__ */ e("span", { className: "ho-chip__label", children: "Raise Ticket" })
|
|
1488
1489
|
] })
|
|
@@ -1792,7 +1793,7 @@ function jn({ endpoint: n, awbNumber: t }) {
|
|
|
1792
1793
|
className: "ho-link-underline",
|
|
1793
1794
|
onClick: () => O(`/shipment-details-ui?awb=${encodeURIComponent(o.awbNumber)}`, {
|
|
1794
1795
|
replace: !0,
|
|
1795
|
-
state: { parentAwb:
|
|
1796
|
+
state: { parentAwb: P }
|
|
1796
1797
|
}),
|
|
1797
1798
|
children: o.awbNumber
|
|
1798
1799
|
}
|
|
@@ -2011,7 +2012,7 @@ function jn({ endpoint: n, awbNumber: t }) {
|
|
|
2011
2012
|
)}`,
|
|
2012
2013
|
{
|
|
2013
2014
|
replace: !0,
|
|
2014
|
-
state: { parentAwb:
|
|
2015
|
+
state: { parentAwb: P }
|
|
2015
2016
|
}
|
|
2016
2017
|
), F(!1);
|
|
2017
2018
|
},
|
|
@@ -2148,13 +2149,13 @@ function jn({ endpoint: n, awbNumber: t }) {
|
|
|
2148
2149
|
/* @__PURE__ */ e(W, { xs: 24, lg: 14, children: /* @__PURE__ */ s(ye, { gutter: [16, 16], children: [
|
|
2149
2150
|
/* @__PURE__ */ e(W, { xs: 24, lg: 12, children: /* @__PURE__ */ s(H, { className: "ho-card ho-card--equal", style: { height: z ? "484px" : "644px" }, children: [
|
|
2150
2151
|
/* @__PURE__ */ e("div", { className: "ho-section-title", children: /* @__PURE__ */ s("div", { className: "ho-title-left", children: [
|
|
2151
|
-
/* @__PURE__ */ e("img", { src:
|
|
2152
|
+
/* @__PURE__ */ e("img", { src: qe, className: "ho-title-icon", alt: "" }),
|
|
2152
2153
|
/* @__PURE__ */ e("span", { className: "ho-title", children: "Route" })
|
|
2153
2154
|
] }) }),
|
|
2154
2155
|
/* @__PURE__ */ e(
|
|
2155
2156
|
"div",
|
|
2156
2157
|
{
|
|
2157
|
-
ref:
|
|
2158
|
+
ref: D,
|
|
2158
2159
|
className: `ho-route ${w.length === 0 ? "ho-route--empty" : ""}`,
|
|
2159
2160
|
style: w.length === 0 ? {
|
|
2160
2161
|
display: "flex",
|
|
@@ -2200,17 +2201,17 @@ function jn({ endpoint: n, awbNumber: t }) {
|
|
|
2200
2201
|
/* @__PURE__ */ e(W, { xs: 24, lg: 12, children: /* @__PURE__ */ s(H, { className: "ho-card ho-card--equal", style: { height: z ? "484px" : "644px" }, bodyStyle: { display: "flex", flexDirection: "column", height: "100%", overflow: "hidden" }, children: [
|
|
2201
2202
|
/* @__PURE__ */ s("div", { className: "ho-section-title", children: [
|
|
2202
2203
|
/* @__PURE__ */ s("div", { className: "ho-title-left", children: [
|
|
2203
|
-
/* @__PURE__ */ e("img", { src:
|
|
2204
|
+
/* @__PURE__ */ e("img", { src: qe, className: "ho-title-icon", alt: "" }),
|
|
2204
2205
|
/* @__PURE__ */ e("span", { className: "ho-title", children: "Audit Info" })
|
|
2205
2206
|
] }),
|
|
2206
|
-
|
|
2207
|
-
|
|
2207
|
+
T.length > 0 && /* @__PURE__ */ s(x, { color: "#E9F2FF", className: "ho-chip", children: [
|
|
2208
|
+
T.length,
|
|
2208
2209
|
" Audit",
|
|
2209
|
-
|
|
2210
|
+
T.length !== 1 ? "s" : ""
|
|
2210
2211
|
] })
|
|
2211
2212
|
] }),
|
|
2212
2213
|
/* @__PURE__ */ s("div", { className: "ho-list", style: { flex: 1, display: "flex", flexDirection: "column", gap: "12px", overflow: "hidden" }, children: [
|
|
2213
|
-
!
|
|
2214
|
+
!T.length && /* @__PURE__ */ e(
|
|
2214
2215
|
"div",
|
|
2215
2216
|
{
|
|
2216
2217
|
style: {
|
|
@@ -2229,7 +2230,7 @@ function jn({ endpoint: n, awbNumber: t }) {
|
|
|
2229
2230
|
children: "No audit info available"
|
|
2230
2231
|
}
|
|
2231
2232
|
),
|
|
2232
|
-
|
|
2233
|
+
T.length > 0 && /* @__PURE__ */ s(U, { children: [
|
|
2233
2234
|
/* @__PURE__ */ s(
|
|
2234
2235
|
"button",
|
|
2235
2236
|
{
|
|
@@ -2238,7 +2239,7 @@ function jn({ endpoint: n, awbNumber: t }) {
|
|
|
2238
2239
|
children: [
|
|
2239
2240
|
/* @__PURE__ */ s("span", { className: "ho-strong", children: [
|
|
2240
2241
|
"Weight(",
|
|
2241
|
-
|
|
2242
|
+
T.length,
|
|
2242
2243
|
")"
|
|
2243
2244
|
] }),
|
|
2244
2245
|
/* @__PURE__ */ e(
|
|
@@ -2251,7 +2252,7 @@ function jn({ endpoint: n, awbNumber: t }) {
|
|
|
2251
2252
|
]
|
|
2252
2253
|
}
|
|
2253
2254
|
),
|
|
2254
|
-
u === "audit-master" && /* @__PURE__ */ e("div", { className: "ho-expand-block", style: { flex: 1, overflowY: "auto", maxHeight: "none", display: "flex", flexDirection: "column", gap: "10px" }, children:
|
|
2255
|
+
u === "audit-master" && /* @__PURE__ */ e("div", { className: "ho-expand-block", style: { flex: 1, overflowY: "auto", maxHeight: "none", display: "flex", flexDirection: "column", gap: "10px" }, children: T.map((o, h) => /* @__PURE__ */ s(
|
|
2255
2256
|
H,
|
|
2256
2257
|
{
|
|
2257
2258
|
className: "ho-subcard ho-mt-10",
|
|
@@ -2308,7 +2309,7 @@ function jn({ endpoint: n, awbNumber: t }) {
|
|
|
2308
2309
|
label: "Volumetric",
|
|
2309
2310
|
value: o.volumetricAuditedValue || "—",
|
|
2310
2311
|
isAudit: !0,
|
|
2311
|
-
icon:
|
|
2312
|
+
icon: Dn
|
|
2312
2313
|
},
|
|
2313
2314
|
`sh-${h}`
|
|
2314
2315
|
),
|
|
@@ -2317,7 +2318,7 @@ function jn({ endpoint: n, awbNumber: t }) {
|
|
|
2317
2318
|
{
|
|
2318
2319
|
label: "LWH(cm)",
|
|
2319
2320
|
value: o.auditedLength + "," + o.auditedWidth + "," + o.auditedHeight || "—",
|
|
2320
|
-
icon:
|
|
2321
|
+
icon: Tn
|
|
2321
2322
|
},
|
|
2322
2323
|
`sh-${h}`
|
|
2323
2324
|
)
|
|
@@ -2364,14 +2365,14 @@ function jn({ endpoint: n, awbNumber: t }) {
|
|
|
2364
2365
|
c?.reportedDate && /* @__PURE__ */ s(U, { children: [
|
|
2365
2366
|
/* @__PURE__ */ e("div", { style: { width: "4px", height: "4px", borderRadius: "50%", backgroundColor: "#D0D5DD" } }),
|
|
2366
2367
|
/* @__PURE__ */ s("div", { style: { display: "flex", alignItems: "center", gap: "6px" }, children: [
|
|
2367
|
-
/* @__PURE__ */ e(
|
|
2368
|
+
/* @__PURE__ */ e(Tt, {}),
|
|
2368
2369
|
" ",
|
|
2369
2370
|
c.reportedDate
|
|
2370
2371
|
] })
|
|
2371
2372
|
] }),
|
|
2372
2373
|
/* @__PURE__ */ e("div", { style: { width: "4px", height: "4px", borderRadius: "50%", backgroundColor: "#D0D5DD" } }),
|
|
2373
2374
|
/* @__PURE__ */ s("div", { style: { display: "flex", alignItems: "center", gap: "6px" }, children: [
|
|
2374
|
-
/* @__PURE__ */ e(
|
|
2375
|
+
/* @__PURE__ */ e(Dt, {}),
|
|
2375
2376
|
" Assigned To ",
|
|
2376
2377
|
c?.assignedTo ? A(c.assignedTo) : "—"
|
|
2377
2378
|
] })
|
|
@@ -2532,7 +2533,7 @@ function Un({ endpoint: n, awbNumber: t, showBackArrow: a = !1 }) {
|
|
|
2532
2533
|
c = !0;
|
|
2533
2534
|
});
|
|
2534
2535
|
}, [oe, J]);
|
|
2535
|
-
const F = l?.baggingTracking,
|
|
2536
|
+
const F = l?.baggingTracking, D = F?.baggingInfo, G = F?.travelInfoDto || l?.shipmentTracking?.travelDtos || [], me = D?.bag_barcode || G.find((c) => (c?.bagBarCode || c?.bagbarcode) && (c?.bagBarCode || c?.bagbarcode) !== "-")?.bagBarCode || "—", fe = Q(() => {
|
|
2536
2537
|
try {
|
|
2537
2538
|
return (G || []).filter((p) => (p?.status || "").toUpperCase() === "BAG_CREATED").map((p) => p?.date).filter(Boolean).sort()[0] || null;
|
|
2538
2539
|
} catch {
|
|
@@ -2557,11 +2558,11 @@ function Un({ endpoint: n, awbNumber: t, showBackArrow: a = !1 }) {
|
|
|
2557
2558
|
date: w(F?.travelInfoDto?.[_]?.date),
|
|
2558
2559
|
type: _ === 0 ? "source" : _ === $.length - 1 ? "to" : "transit"
|
|
2559
2560
|
}));
|
|
2560
|
-
})(),
|
|
2561
|
-
const p =
|
|
2561
|
+
})(), P = (c) => {
|
|
2562
|
+
const p = T[c];
|
|
2562
2563
|
return p ? p.bagIn && !p.bagOut ? "bag-chip--in" : !p.bagIn && p.bagOut ? "bag-chip--out" : "ho-badge--blue" : "ho-badge--blue";
|
|
2563
2564
|
}, Me = (Array.isArray(G) ? G : []).map((c, p) => {
|
|
2564
|
-
const w = c?.status || c?.process || c?.event || "-", S = (w || "").toUpperCase(), _ = c?.premisename || c?.location || "", $ = c?.topremisename || c?.toPremisename || c?.toPremiseName || "", Ce = `Scheduled Outscan from ${I(_)} to ${I($)}`, z = c.lcrnum || c.lcrNum || c.lcr_no || c.lcrNo || "",
|
|
2565
|
+
const w = c?.status || c?.process || c?.event || "-", S = (w || "").toUpperCase(), _ = c?.premisename || c?.location || "", $ = c?.topremisename || c?.toPremisename || c?.toPremiseName || "", Ce = `Scheduled Outscan from ${I(_)} to ${I($)}`, z = c.lcrnum || c.lcrNum || c.lcr_no || c.lcrNo || "", Te = z ? `${Ce} — LCR No: ${z}` : Ce;
|
|
2565
2566
|
return {
|
|
2566
2567
|
key: p,
|
|
2567
2568
|
time: c?.date || "-",
|
|
@@ -2571,14 +2572,14 @@ function Un({ endpoint: n, awbNumber: t, showBackArrow: a = !1 }) {
|
|
|
2571
2572
|
bag: c?.bagBarCode || "-",
|
|
2572
2573
|
user: c?.user || "-",
|
|
2573
2574
|
exception: c.exception || (c.isException, "-"),
|
|
2574
|
-
remark: S === "SCHEDULED_FOR_TRIP" ?
|
|
2575
|
+
remark: S === "SCHEDULED_FOR_TRIP" ? Te : c?.remarks || "-",
|
|
2575
2576
|
coLoader: c?.coloader || "—",
|
|
2576
2577
|
transportType: c?.travelby || "—",
|
|
2577
2578
|
flightName: c?.flightnum || "N/A",
|
|
2578
2579
|
vehicleNo: c?.vehiclenum || "—",
|
|
2579
2580
|
driverName: c?.drivername || "—"
|
|
2580
2581
|
};
|
|
2581
|
-
}), g = F?.bagShipmentNo || l?.shipmentTracking?.children?.map((c) => c.awbNumber) || [],
|
|
2582
|
+
}), g = F?.bagShipmentNo || l?.shipmentTracking?.children?.map((c) => c.awbNumber) || [], T = Q(() => {
|
|
2582
2583
|
const c = F?.bagShipmentDetails || [], p = {};
|
|
2583
2584
|
return c.forEach((w) => {
|
|
2584
2585
|
p[w.barcode] = {
|
|
@@ -2586,7 +2587,7 @@ function Un({ endpoint: n, awbNumber: t, showBackArrow: a = !1 }) {
|
|
|
2586
2587
|
bagOut: w.bagOut
|
|
2587
2588
|
};
|
|
2588
2589
|
}), p;
|
|
2589
|
-
}, [F]), X = F && (
|
|
2590
|
+
}, [F]), X = F && (D || j.length || G.length || g.length);
|
|
2590
2591
|
return !m && !X ? /* @__PURE__ */ e(
|
|
2591
2592
|
we,
|
|
2592
2593
|
{
|
|
@@ -2647,23 +2648,23 @@ function Un({ endpoint: n, awbNumber: t, showBackArrow: a = !1 }) {
|
|
|
2647
2648
|
/* @__PURE__ */ e("div", { className: "ho-box ho-box--flush", children: /* @__PURE__ */ s("div", { className: "ho-stats", children: [
|
|
2648
2649
|
/* @__PURE__ */ s("div", { className: "ho-stat", children: [
|
|
2649
2650
|
/* @__PURE__ */ e("div", { className: "ho-stat__label", children: "Content Type" }),
|
|
2650
|
-
/* @__PURE__ */ e("div", { className: "ho-stat__value", children: I(
|
|
2651
|
+
/* @__PURE__ */ e("div", { className: "ho-stat__value", children: I(D?.contentType || "—") })
|
|
2651
2652
|
] }),
|
|
2652
2653
|
/* @__PURE__ */ s("div", { className: "ho-stat", children: [
|
|
2653
2654
|
/* @__PURE__ */ e("div", { className: "ho-stat__label", children: "Type" }),
|
|
2654
|
-
/* @__PURE__ */ e("div", { className: "ho-stat__value", children: I(
|
|
2655
|
+
/* @__PURE__ */ e("div", { className: "ho-stat__value", children: I(D?.bagType || "—") })
|
|
2655
2656
|
] }),
|
|
2656
2657
|
/* @__PURE__ */ s("div", { className: "ho-stat", children: [
|
|
2657
2658
|
/* @__PURE__ */ e("div", { className: "ho-stat__label", children: "Mode" }),
|
|
2658
|
-
/* @__PURE__ */ e("div", { className: "ho-stat__value", children: I(
|
|
2659
|
+
/* @__PURE__ */ e("div", { className: "ho-stat__value", children: I(D?.mode || "—") })
|
|
2659
2660
|
] }),
|
|
2660
2661
|
/* @__PURE__ */ s("div", { className: "ho-stat", children: [
|
|
2661
2662
|
/* @__PURE__ */ e("div", { className: "ho-stat__label", children: "Product" }),
|
|
2662
|
-
/* @__PURE__ */ e("div", { className: "ho-stat__value", children: I(
|
|
2663
|
+
/* @__PURE__ */ e("div", { className: "ho-stat__value", children: I(D?.product || "—") })
|
|
2663
2664
|
] }),
|
|
2664
2665
|
/* @__PURE__ */ s("div", { className: "ho-stat", children: [
|
|
2665
|
-
/* @__PURE__ */ e("div", { className: "ho-stat__label", children:
|
|
2666
|
-
/* @__PURE__ */ e("div", { className: "ho-stat__value", children:
|
|
2666
|
+
/* @__PURE__ */ e("div", { className: "ho-stat__label", children: D?.cpId ? "Destination CP" : "Destination Hub" }),
|
|
2667
|
+
/* @__PURE__ */ e("div", { className: "ho-stat__value", children: D?.cpId ? I(D?.cpName || "—") : I(D?.destinationHubName || "—") })
|
|
2667
2668
|
] })
|
|
2668
2669
|
] }) }),
|
|
2669
2670
|
/* @__PURE__ */ e("div", { className: "ho-box", children: /* @__PURE__ */ s("div", { className: "ho-grid", children: [
|
|
@@ -2672,21 +2673,21 @@ function Un({ endpoint: n, awbNumber: t, showBackArrow: a = !1 }) {
|
|
|
2672
2673
|
/* @__PURE__ */ e("img", { src: En, className: "ho-kv-icon", alt: "" }),
|
|
2673
2674
|
"Bag Weight :"
|
|
2674
2675
|
] }),
|
|
2675
|
-
/* @__PURE__ */ e("span", { className: "ho-kv__value", style: { color: "#027A48", fontWeight: 600 }, children:
|
|
2676
|
+
/* @__PURE__ */ e("span", { className: "ho-kv__value", style: { color: "#027A48", fontWeight: 600 }, children: D?.bagWeight ?? "—" })
|
|
2676
2677
|
] }),
|
|
2677
2678
|
/* @__PURE__ */ s("div", { className: "ho-metric", style: { display: "flex", justifyContent: "space-between" }, children: [
|
|
2678
2679
|
/* @__PURE__ */ s("span", { className: "ho-kv__label", children: [
|
|
2679
2680
|
/* @__PURE__ */ e("img", { src: _n, className: "ho-kv-icon", alt: "" }),
|
|
2680
2681
|
"Total Volumetric Weight :"
|
|
2681
2682
|
] }),
|
|
2682
|
-
/* @__PURE__ */ e("span", { className: "ho-kv__value", style: { color: "#027A48", fontWeight: 600 }, children:
|
|
2683
|
+
/* @__PURE__ */ e("span", { className: "ho-kv__value", style: { color: "#027A48", fontWeight: 600 }, children: D?.totalWeight ?? "—" })
|
|
2683
2684
|
] })
|
|
2684
2685
|
] }) })
|
|
2685
2686
|
] }) }),
|
|
2686
2687
|
/* @__PURE__ */ e(W, { xs: 24, lg: 12, children: /* @__PURE__ */ s(ye, { gutter: [16, 16], children: [
|
|
2687
2688
|
/* @__PURE__ */ e(W, { span: 24, children: /* @__PURE__ */ s(H, { className: "ho-card ho-card--equal", children: [
|
|
2688
2689
|
/* @__PURE__ */ e("div", { className: "ho-section-title", children: /* @__PURE__ */ s("div", { className: "ho-title-left", children: [
|
|
2689
|
-
/* @__PURE__ */ e("img", { src:
|
|
2690
|
+
/* @__PURE__ */ e("img", { src: qe, className: "ho-title-icon", alt: "" }),
|
|
2690
2691
|
/* @__PURE__ */ e("span", { className: "ho-title", children: "Bag Route" })
|
|
2691
2692
|
] }) }),
|
|
2692
2693
|
/* @__PURE__ */ e("div", { className: `ho-route ${j.length === 0 ? "ho-route--empty" : ""}`, children: j.length === 0 ? /* @__PURE__ */ e("div", { className: "ho-route__empty", children: "Bag Route not available" }) : /* @__PURE__ */ s(U, { children: [
|
|
@@ -2783,7 +2784,7 @@ function Un({ endpoint: n, awbNumber: t, showBackArrow: a = !1 }) {
|
|
|
2783
2784
|
g.slice(0, 5).map((c, p) => /* @__PURE__ */ e(
|
|
2784
2785
|
x,
|
|
2785
2786
|
{
|
|
2786
|
-
className: `ho-badge pointer ${
|
|
2787
|
+
className: `ho-badge pointer ${P(c)}`,
|
|
2787
2788
|
style: { marginBottom: 8, textDecoration: "underline" },
|
|
2788
2789
|
onClick: () => i(`/shipment-tracker?awb=${c}`),
|
|
2789
2790
|
children: c
|
|
@@ -2838,7 +2839,7 @@ function Un({ endpoint: n, awbNumber: t, showBackArrow: a = !1 }) {
|
|
|
2838
2839
|
children: g.map((c, p) => /* @__PURE__ */ e(
|
|
2839
2840
|
x,
|
|
2840
2841
|
{
|
|
2841
|
-
className: `ho-badge pointer ${
|
|
2842
|
+
className: `ho-badge pointer ${P(c)}`,
|
|
2842
2843
|
style: {
|
|
2843
2844
|
marginBottom: 8,
|
|
2844
2845
|
display: "inline-block",
|