PageSourceSearch

https://www.covertiger.com/_next/static/chunks/pages/compare-9196a6a796a87059.js

js covertiger.com collected 2026-10-08 20:50:23 UTC 26,200 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7437],{4233:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(37876);n(14232);let l=e=>{let{show:t=!1,message:n="Loading...",spinnerColor:l="#6B61FF",zIndex:i="9999"}=e;return t?(0,r.jsx)("div",{className:"fixed inset-0 flex items-center justify-center bg-white/10 backdrop-blur-sm  ",style:{zIndex:i},children:(0,r.jsx)("div",{className:"bg-white/90 backdrop-blur-sm rounded-2xl px-8 py-6 shadow-xl border border-gray-200/50",children:(0,r.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,r.jsx)("div",{className:"relative",children:(0,r.jsx)("div",{className:"w-12 h-12 border-4 border-t-transparent rounded-full animate-spin",style:{borderColor:"".concat(l," transparent ").concat(l," ").concat(l)}})}),(0,r.jsx)("div",{className:"text-gray-700 text-lg font-medium",children:n})]})})}):null}},25072:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>eV});var r=n(14232);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let i=["children","options"],a=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce((e,t)=>(e[t.toLowerCase()]=t,e),{class:"className",for:"htmlFor"}),s={amp:"&",apos:"'",gt:">",lt:"<",nbsp:"\xa0",quot:"“"},o=["style","script","pre"],c=["src","href","data","formAction","srcDoc","action"],u=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,d=/\n{2,}$/,p=/^(\s*>[\s\S]*?)(?=\n\n|$)/,m=/^ *> ?/gm,f=/^(?:\[!([^\]]*)\]\n)?([\s\S]*)/,h=/^ {2,}\n/,x=/^(?:([-*_])( *\1){2,}) *(?:\n *)+\n/,g=/^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/,y=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,b=/^(`+)((?:\\`|(?!\1)`|[^`])+)\1/,k=/^(?:\n *)*\n/,v=/\r\n?/g,j=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,N=/^\[\^([^\]]+)]/,w=/\f/g,E=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,_=/^\s*?\[(x|\s)\]/,C=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,A=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,L=/^([^\n]+)\n *(=|-)\2{2,} *\n/,S=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,O=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,P=/^<!--[\s\S]*?(?:-->)/,F=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,R=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,$=/^\{.*\}$/,z=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,I=/^<([^ >]+[:@\/][^ >]+)>/,T=/-([a-z])?/gi,B=/^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,M=/^[^\n]+(?:  \n|\n{2,})/,H=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,q=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,W=/^\[([^\]]*)\] ?\[([^\]]*)\]/,U=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,G=/\t/g,Z=/(^ *\||\| *$)/g,D=/^ *:-+: *$/,V=/^ *:-+ *$/,X=/^ *-+: *$/,J=e=>`(?=[\\s\\S]+?\\1${e?"\\1":""})`,K="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|\\\\\\1|[\\s\\S])+?)",Q=RegExp(`^([*_])\\1${J(1)}${K}\\1\\1(?!\\1)`),Y=RegExp(`^([*_])${J(0)}${K}\\1(?!\\1)`),ee=RegExp(`^(==)${J(0)}${K}\\1`),et=RegExp(`^(~~)${J(0)}${K}\\1`),en=/^(:[a-zA-Z0-9-_]+:)/,er=/^\\([^0-9A-Za-z\s])/,el=/\\([^0-9A-Za-z\s])/g,ei=/^[\s\S](?:(?!  \n|[0-9]\.|http)[^=*_~\-\n:<`\\\[!])*/,ea=/^\n+/,es=/^([ \t]*)/,eo=/(?:^|\n)( *)$/,ec="(?:\\d+\\.)",eu="(?:[*+-])";function ed(e){return"( *)("+(1===e?ec:eu)+") +"}let ep=ed(1),em=ed(2);function ef(e){return RegExp("^"+(1===e?ep:em))}let eh=ef(1),ex=ef(2);function eg(e){return RegExp("^"+(1===e?ep:em)+"[^\\n]*(?:\\n(?!\\1"+(1===e?ec:eu)+" )[^\\n]*)*(\\n|$)","gm")}let ey=eg(1),eb=eg(2);function ek(e){let t=1===e?ec:eu;return RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}let ev=ek(1),ej=ek(2);function eN(e,t){let n=1===t,r=n?ev:ej,l=n?ey:eb,i=n?eh:ex;return{t:e=>i.test(e),o:eR(function(e,t){let n=eo.exec(t.prevCapture);return n&&(t.list||!t.inline&&!t.simple)?r.exec(e=n[1]+e):null}),i:1,u(e,t,r){let a=n?+e[2]:void 0,s=e[0].replace(d,"\n").match(l),o=!1;return{items:s.map(function(e,n){let l,a=RegExp("^ {1,"+i.exec(e)[0].length+"}","gm"),c=e.replace(a,"").replace(i,""),u=n===s.length-1,d=-1!==c.indexOf("\n\n")||u&&o;o=d;let p=r.inline,m=r.list;r.list=!0,d?(r.inline=!1,l=eC(c)+"\n\n"):(r.inline=!0,l=eC(c));let f=t(l,r);return r.inline=p,r.list=m,f}),ordered:n,start:a}},l:(t,n,r)=>e(t.ordered?"ol":"ul",{key:r.key,start:"20"===t.type?t.start:void 0},t.items.map(function(t,l){return e("li",{key:l},n(t,r))}))}}let ew=RegExp("^\\[((?:\\[[^\\[\\]]*(?:\\[[^\\[\\]]*\\][^\\[\\]]*)*\\]|[^\\[\\]])*)\\]\\(\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*\\)"),eE=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/;function e_(e){return"string"==typeof e}function eC(e){let t=e.length;for(;t>0&&e[t-1]<=" ";)t--;return e.slice(0,t)}function eA(e,t){return e.startsWith(t)}function eL(e){return e.replace(/[ÀÁÂÃÄÅàáâãä忯]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function eS(e){return X.test(e)?"right":D.test(e)?"center":V.test(e)?"left":null}function eO(e,t,n,r){let l=n.inTable;n.inTable=!0;let i=[[]],a="";function s(){if(!a)return;let e=i[i.length-1];e.push.apply(e,t(a,n)),a=""}
1return e.trim().split(/(`[^`]*`|\\\||\|)/).filter(Boolean).forEach((e,t,n)=>{"|"===e.trim()&&(s(),r)?0!==t&&t!==n.length-1&&i.push([]):a+=e}),s(),n.inTable=l,i}function eP(e,t,n){var r;n.inline=!0;let l=e[2]?e[2].replace(Z,"").split("|").map(eS):[],i=e[3]?(r=e[3],r.trim().split("\n").map(function(e){return eO(e,t,n,!0)})):[],a=eO(e[1],t,n,!!i.length);return n.inline=!1,i.length?{align:l,cells:i,header:a,type:"25"}:{children:a,type:"21"}}function eF(e,t){return null==e.align[t]?{}:{textAlign:e.align[t]}}function eR(e){return e.inline=1,e}function e$(e){return eR(function(t,n){return n.inline?e.exec(t):null})}function ez(e){return eR(function(t,n){return n.inline||n.simple?e.exec(t):null})}function eI(e){return function(t,n){return n.inline||n.simple?null:e.exec(t)}}function eT(e){return eR(function(t){return e.exec(t)})}let eB=/(javascript|vbscript|data(?!:image)):/i;function eM(e){try{let t=decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"");if(eB.test(t))return null}catch(e){return null}return e}function eH(e){return e?e.replace(el,"$1"):e}function eq(e,t,n){let r=n.inline||!1,l=n.simple||!1;n.inline=!0,n.simple=!0;let i=e(t,n);return n.inline=r,n.simple=l,i}function eW(e,t,n){let r=n.inline||!1;n.inline=!1;let l=e(t,n);return n.inline=r,l}let eU=(e,t,n)=>({children:eq(t,e[2],n)});function eG(){return{}}function eZ(){return null}function eD(e,t,n){let r=e,l=t.split(".");for(;l.length&&void 0!==(r=r[l[0]]);)l.shift();return r||n}let eV=e=>{let{children:t,options:n}=e,d=function(e,t){if(null==e)return{};var n,r,l={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(l[n]=e[n]);return l}(e,i);return r.cloneElement(function(e="",t={}){var n,i;t.overrides=t.overrides||{},t.namedCodesToUnicode=t.namedCodesToUnicode?l({},s,t.namedCodesToUnicode):s;let d=t.slugify||eL,Z=t.sanitizer||eM,D=t.createElement||r.createElement,V=[p,g,y,t.enforceAtxHeadings?A:C,L,B,ev,ej],X=[...V,M,S,P,R];function J(e,t){for(let n=0;n<e.length;n++)if(e[n].test(t))return!0;return!1}function K(e,n,...r){let i=eD(t.overrides,e+".props",{});return D(function(e,t){let n=eD(t,e);return n?"function"==typeof n||"object"==typeof n&&"render"in n?n:eD(t,e+".component",e):e}(e,t.overrides),l({},n,i,{className:function(...e){return e.filter(Boolean).join(" ")}(null==n?void 0:n.className,i.className)||void 0}),...r)}function el(e){let n;e=e.replace(E,"");let r=!1;t.forceInline?r=!0:t.forceBlock||(r=!1===U.test(e));let l=em(ep(r?e:eC(e).replace(ea,"")+"\n\n",{inline:r}));for(;e_(l[l.length-1])&&!l[l.length-1].trim();)l.pop();if(null===t.wrapper)return l;let i=t.wrapper||(r?"span":"div");if(l.length>1||t.forceWrapper)n=l;else{if(1===l.length)return"string"==typeof(n=l[0])?K("span",{key:"outer"},n):n;n=null}return D(i,{key:"outer"},n)}function eo(e,t){if(!t||!t.trim())return null;let n=t.match(u);return n?n.reduce(function(t,n){let r=n.indexOf("=");if(-1!==r){var l,i;let s=(-1!==(l=n.slice(0,r)).indexOf("-")&&null===l.match(F)&&(l=l.replace(T,function(e,t){return t.toUpperCase()})),l).trim(),o=function(e){let t=e[0];return('"'===t||"'"===t)&&e.length>=2&&e[e.length-1]===t?e.slice(1,-1):e}(n.slice(r+1).trim()),u=a[s]||s;if("ref"===u)return t;let d=t[u]=(i=o,"style"===s?(function(e){let t=[],n="",r=!1,l=!1,i="";if(!e)return t;for(let a=0;a<e.length;a++){let s=e[a];if('"'!==s&&"'"!==s||r||(l?s===i&&(l=!1,i=""):(l=!0,i=s)),"("===s&&n.endsWith("url")?r=!0:")"===s&&r&&(r=!1),";"!==s||l||r)n+=s;else{let e=n.trim();if(e){let n=e.indexOf(":");if(n>0){let r=e.slice(0,n).trim(),l=e.slice(n+1).trim();t.push([r,l])}}n=""}}let a=n.trim();if(a){let e=a.indexOf(":");if(e>0){let n=a.slice(0,e).trim(),r=a.slice(e+1).trim();t.push([n,r])}}return t})(i).reduce(function(t,[n,r]){return t[n.replace(/(-[a-z])/g,e=>e[1].toUpperCase())]=Z(r,e,n),t},{}):-1!==c.indexOf(s)?Z(eH(i),e,s):(i.match($)&&(i=eH(i.slice(1,i.length-1))),"true"===i||"false"!==i&&i));"string"==typeof d&&(S.test(d)||R.test(d))&&(t[u]=el(d.trim()))}else"style"!==n&&(t[a[n]||n]=!0);return t},{}):null}let ec=[],eu={},ed={0:{t:[">"],o:eI(p),i:1,u(e,t,n){let[,r,l]=e[0].replace(m,"").match(f);return{alert:r,children:t(l,n)}},l(e,t,n){let r={key:n.key};return e.alert&&(r.className="markdown-alert-"+d(e.alert.toLowerCase(),eL),e.children.unshift({attrs:{},children:[{type:"27",text:e.alert}],noInnerParse:!0,type:"11",tag:"header"})),K("blockquote",r,t(e.children,n))}}
vendor: 1,875 bytes, line 1
1,1:{t:["  "],o:eT(h),i:1,u:eG,l:(e,t,n)=>K("br",{key:n.key})},2:{t:["--","__","**","- ","* ","_ "],o:eI(x),i:1,u:eG,l:(e,t,n)=>K("hr",{key:n.key})},3:{t:["    "],o:eI(y),i:0,u:e=>({lang:void 0,text:eH(eC(e[0].replace(/^ {4}/gm,"")))}),l:(e,t,n)=>K("pre",{key:n.key},K("code",l({},e.attrs,{className:e.lang?"lang-"+e.lang:""}),e.text))},4:{t:["```","~~~"],o:eI(g),i:0,u:e=>({attrs:eo("code",e[3]||""),lang:e[2]||void 0,text:e[4],type:"3"})},5:{t:["`"],o:ez(b),i:3,u:e=>({text:eH(e[2])}),l:(e,t,n)=>K("code",{key:n.key},e.text)},6:{t:["[^"],o:eI(j),i:0,u:e=>(ec.push({footnote:e[2],identifier:e[1]}),{}),l:eZ},7:{t:["[^"],o:e$(N),i:1,u:e=>({target:"#"+d(e[1],eL),text:e[1]}),l:(e,t,n)=>K("a",{key:n.key,href:Z(e.target,"a","href")},K("sup",{key:n.key},e.text))},8:{t:["[ ]","[x]"],o:e$(_),i:1,u:e=>({completed:"x"===e[1].toLowerCase()}),l:(e,t,n)=>K("input",{checked:e.completed,key:n.key,readOnly:!0,type:"checkbox"})},9:{t:["#"],o:eI(t.enforceAtxHeadings?A:C),i:1,u:(e,t,n)=>({children:eq(t,e[2],n),id:d(e[2],eL),level:e[1].length}),l:(e,t,n)=>K("h"+e.level,{id:e.id,key:n.key},t(e.children,n))},10:{t:e=>{let t=e.indexOf("\n");return t>0&&t<e.length-1&&("="===e[t+1]||"-"===e[t+1])},o:eI(L),i:1,u:(e,t,n)=>({children:eq(t,e[1],n),level:"="===e[2]?1:2,type:"9"})},11:{t:["<"],o:eT(S),i:1,u(e,t,n){let[,r]=e[3].match(es),l=RegExp("^"+r,"gm"),i=e[3].replace(l,""),a=J(X,i)?eW:eq,s=e[1].toLowerCase(),c=-1!==o.indexOf(s),u=(c?s:e[1]).trim(),d={attrs:eo(u,e[2]),noInnerParse:c,tag:u};if(n.inAnchor=n.inAnchor||"a"===s,c)d.text=e[3];else{let e=n.inHTML;n.inHTML=!0,d.children=a(t,i,n),n.inHTML=e}return n.inAnchor=!1,d},l:(e,t,n)=>K(e.tag,l({key:n.key},e.attrs),e.text||(e.children?t(e.children,n):""))},13:{t:["<"],o:eT(R),i:1,u(e){let t=e[1].trim();return{attrs:eo(t,e[2]||""),tag:t}},l:(e,t,n)=>K(e.tag,l({},e.attrs,{key:n.key}))},12:{t:["\x3c!--"],o:eT(P),i:1,u:()=>({}),l:eZ}
1,14:{t:["!["],o:ez(eE),i:1,u:e=>({alt:eH(e[1]),target:eH(e[2]),title:eH(e[3])}),l:(e,t,n)=>K("img",{key:n.key,alt:e.alt||void 0,title:e.title||void 0,src:Z(e.target,"img","src")})},15:{t:["["],o:e$(ew),i:3,u:(e,t,n)=>({children:function(e,t,n){let r=n.inline||!1,l=n.simple||!1;n.inline=!1,n.simple=!0;let i=e(t,n);return n.inline=r,n.simple=l,i}(t,e[1],n),target:eH(e[2]),title:eH(e[3])}),l:(e,t,n)=>K("a",{key:n.key,href:Z(e.target,"a","href"),title:e.title},t(e.children,n))},16:{t:["<"],o:e$(I),i:0,u(e){let t=e[1],n=!1;return -1!==t.indexOf("@")&&-1===t.indexOf("//")&&(n=!0,t=t.replace("mailto:","")),{children:[{text:t,type:"27"}],target:n?"mailto:"+t:t,type:"15"}}},17:{t:(e,n)=>!n.inAnchor&&!t.disableAutoLink&&(eA(e,"http://")||eA(e,"https://")),o:e$(z),i:0,u:e=>({children:[{text:e[1],type:"27"}],target:e[1],title:void 0,type:"15"})},20:eN(K,1),33:eN(K,2),19:{t:["\n"],o:eI(k),i:3,u:eG,l:()=>"\n"},21:{o:eR(function(e,t){if(t.inline||t.simple||t.inHTML&&-1===e.indexOf("\n\n")&&-1===t.prevCapture.indexOf("\n\n"))return null;let n="",r=0;for(;;){let t=e.indexOf("\n",r),l=e.slice(r,-1===t?void 0:t+1);if(J(V,l)||(n+=l,-1===t||!l.trim()))break;r=t+1}let l=eC(n);return""===l?null:[n,,l]}),i:3,u:eU,l:(e,t,n)=>K("p",{key:n.key},t(e.children,n))},22:{t:["["],o:e$(H),i:0,u:e=>(eu[e[1]]={target:e[2],title:e[4]},{}),l:eZ},23:{t:["!["],o:ez(q),i:0,u:e=>({alt:e[1]?eH(e[1]):void 0,ref:e[2]}),l:(e,t,n)=>eu[e.ref]?K("img",{key:n.key,alt:e.alt,src:Z(eu[e.ref].target,"img","src"),title:eu[e.ref].title}):null},24:{t:e=>"["===e[0]&&-1===e.indexOf("]("),o:e$(W),i:0,u:(e,t,n)=>({children:t(e[1],n),fallbackChildren:e[0],ref:e[2]}),l:(e,t,n)=>eu[e.ref]?K("a",{key:n.key,href:Z(eu[e.ref].target,"a","href"),title:eu[e.ref].title},t(e.children,n)):K("span",{key:n.key},e.fallbackChildren)},25:{t:["|"],o:eI(B),i:1,u:eP,l:(e,t,n)=>K("table",{key:n.key},K("thead",null,K("tr",null,e.header.map(function(r,l){return K("th",{key:l,style:eF(e,l)},t(r,n))}))),K("tbody",null,e.cells.map(function(r,l){return K("tr",{key:l},r.map(function(r,l){return K("td",{key:l,style:eF(e,l)},t(r,n))}))})))},27:{o:eR(function(e,t){let n;return eA(e,":")&&(n=en.exec(e)),n||ei.exec(e)}),i:4,u(e){let n=e[0];return{text:-1===n.indexOf("&")?n:n.replace(O,(e,n)=>t.namedCodesToUnicode[n]||e)}},l:e=>e.text},28:{t:["**","__"],o:ez(Q),i:2,u:(e,t,n)=>({children:t(e[2],n)}),l:(e,t,n)=>K("strong",{key:n.key},t(e.children,n))},29:{t:e=>{let t=e[0];return("*"===t||"_"===t)&&e[1]!==t},o:ez(Y),i:3,u:(e,t,n)=>({children:t(e[2],n)}),l:(e,t,n)=>K("em",{key:n.key},t(e.children,n))},30:{t:["\\"],o:ez(er),i:1,u:e=>({text:e[1],type:"27"})},31:{t:["=="],o:ez(ee),i:3,u:eU,l:(e,t,n)=>K("mark",{key:n.key},t(e.children,n))},32:{t:["~~"],o:ez(et),i:3,u:eU,l:(e,t,n)=>K("del",{key:n.key},t(e.children,n))}};!0===t.disableParsingRawHTML&&(delete ed[11],delete ed[13]);let ep=((n=Object.keys(ed)).sort(function(e,t){return ed[e].i-ed[t].i||(e<t?-1:1)}),function(e,t){return function e(t,r){var l=[];if(r.prevCapture=r.prevCapture||"",t.trim())for(;t;)for(var i=0;i<n.length;){var a=n[i],s=ed[a];if(!s.t||function(e,t,n){if(Array.isArray(n)){for(let t=0;t<n.length;t++)if(eA(e,n[t]))return!0;return!1}return n(e,t)}(t,r,s.t)){var o=s.o(t,r);if(o&&o[0]){t=t.substring(o[0].length);var c=s.u(o,e,r);r.prevCapture+=o[0],c.type||(c.type=a),l.push(c);break}i++}else i++}return r.prevCapture="",l}(e.replace(v,"\n").replace(w,"").replace(G,"    "),t)}),em=(i=t.renderRule,function e(t,n={}){if(Array.isArray(t)){let r=n.key,l=[],i=!1;for(let r=0;r<t.length;r++){n.key=r;let a=e(t[r],n),s=e_(a);s&&i?l[l.length-1]+=a:null!==a&&l.push(a),i=s}return n.key=r,l}var r=e;let l=ed[t.type].l;return i?i(()=>l(t,r,n),t,r,n):l(t,r,n)}),ef=el(e);return ec.length?K("div",null,ef,K("footer",{key:"footer"},ec.map(function(e){return K("div",{id:d(e.identifier,eL),key:e.identifier},e.identifier,em(ep(e.footnote,{inline:!0})))}))):ef}(null==t?"":t,n),d)}},30465:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(37876);function l(e){let{onClick:t,children:n,disabled:l=!1,fullWidth:i=!0,className:a="cursor-pointer",size:s="md",style:o={},...c}=e;return(0,r.jsx)("div",{className:"".concat(i?"w-full":"inline-block"," rounded-xl cursor-pointer"),style:{border:"3px solid #A296FF80",cursor:"pointer"},children:(0,r.jsx)("button",{onClick:t,disabled:l,className:"\n          ".concat(i?"w-full":"","\n          ").concat({sm:"px-3 sm:px-4 lg:px-5 py-2 sm:py-2.5 text-xs sm:text-sm",md:"px-4 sm:px-5 lg:px-6 py-2.5 sm:py-3 lg:py-3.5 text-sm sm:text-base",lg:"px-5 sm:px-6 lg:px-8 py-3 sm:py-3.5 lg:py-4 text-base sm:text-lg"}[s],"\n          text-white font-semibold rounded-[8px] \n          transition-all duration-200\n          ").concat(l?"opacity-50 cursor-not-allowed":"hover:shadow-lg","\n          ").concat(a,"\n        "),style:{background:l?"#9CA3AF":"linear-gradient(180deg, #A296FF 0%, #6C5CE7 100%)",...o},...c,children:n})})}n(14232)},45157:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/compare",function(){return n(83215)}])},83215:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>m,default:()=>f});var r=n(37876),l=n(14232),i=n(89099),a=n(78761);n(25161);var s=n(93626),o=n(4233),c=n(30465);function u(e){let{isNewHome:t=!1,data:n,onBack:a,isInline:s=!1,onRemovePlan:o,onAddPlan:u,productIds:d=[]}=e,p=(0,i.useRouter)(),[m,f]=(0,l.useState)(!1);if((0,l.useEffect)(()=>{f(!0)},[n]),!n||!n.headers||!n.rows)return null;let h=n.headers.filter(e=>null!==e),x=h.length<3,g=e=>{o&&d[e-1]&&o(d[e-1])},y=e=>{d[e-1]&&p.push("/add-ons?plan_id=".concat(d[e-1]))};return(0,r.jsxs)("div",{className:"w-full",children:[!s&&(0,r.jsx)("div",{className:"mb-6",children:(0,r.jsx)("h1",{className:"text-2xl font-semibold text-[#1E1E1E]",children:"Compare Plans"})}),(0,r.jsxs)("div",{className:"bg-[#F8F7FC] rounded-xl border border-gray-200 overflow-x-auto",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3 p-4",children:[(0,r.jsx)("button",{onClick:()=>p.back(),className:"flex items-center justify-center w-10 h-10 rounded-full hover:bg-gray-100 transition-colors cursor-pointer",title:"Go back",children:(0,r.jsx)("svg",{className:"w-6 h-6 text-[#2D3436]",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),(0,r.jsx)("h1",{className:"text-lg font-semibold text-[#1E1E1E]",children:"Compare Plans"})]}),(0,r.jsxs)("table",{className:"w-full border-collapse",children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{className:"text-left text-xl font-bold text-[#091E42] p-2 pt-8  w-[250px] align-top"}),h.map((e,t)=>(0,r.jsx)("th",{className:"text-center align-top min-w-[300px]",children:(0,r.jsxs)("div",{className:"relative bg-white rounded-xl border border-gray-200 p-3 m-2 shadow-sm",children:[(0,r.jsx)("button",{onClick:()=>g(t+1),className:"absolute -top-2 -right-2 w-7 h-7 bg-[#6B61FF] rounded-full flex items-center justify-center text-white hover:bg-[#5b51ef] transition-colors z-10 shadow-md cursor-pointer",children:(0,r.jsx)("svg",{className:"w-3 h-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})}),(0,r.jsx)("div",{className:"mb-2",children:(0,r.jsx)("img",{src:(null==e?void 0:e.companyLogo)||"/icons/niva.svg",alt:null==e?void 0:e.companyName,className:"h-10 w-auto object-contain",onError:e=>{e.target.src="/icons/care.svg"}})}),(0,r.jsx)("h3",{className:"text-base text-start font-semibold text-[#1E1E1E] mb-2",children:(null==e?void 0:e.planName)||(null==e?void 0:e.companyName)||"Plan Name"}),(0,r.jsxs)("div",{className:"space-y-3 mb-5",children:[(0,r.jsxs)("div",{className:"flex justify-between items-center",children:[(0,r.jsx)("span",{className:"text-sm font-medium text-gray-700",children:"Cover"}),(0,r.jsx)("span",{className:"text-sm font-semibold text-[#1E1E1E]",children:(null==e?void 0:e.coverage)||"—"})]}),(0,r.jsxs)("div",{className:"flex justify-between items-center",children:[(0,r.jsx)("span",{className:"text-sm font-medium text-gray-700",children:"Premium"}),(0,r.jsx)("span",{className:"text-sm font-semibold text-[#1E1E1E]",children:(null==e?void 0:e.premium)||"—"})]})]}),(0,r.jsx)(c.A,{className:"text-sm cursor-pointer",children:"Customize Plan",onClick:()=>y(t+1),size:"sm"})]})},t)),x&&(0,r.jsx)("th",{className:"text-center align-top pt-5 min-w-[300px]",children:(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center bg-white rounded-xl border-2 border-dashed border-gray-300 p-8 m-4",children:[(0,r.jsx)("div",{className:"w-16 h-16 rounded-full border-2 border-dashed border-gray-400 flex items-center justify-center mb-4",children:(0,r.jsx)("svg",{className:"w-8 h-8 text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 4v16m8-8H4"})})}),(0,r.jsx)("button",{onClick:u,className:"px-3 py-2.5 border border-[#6
1B61FF] text-[#6C5CE7] rounded-lg font-medium hover:bg-[#5b51ef] transition-colors",children:"Add Plan to compare"})]})})]})}),(0,r.jsx)("tbody",{children:n.rows.map((e,t)=>(0,r.jsxs)("tr",{className:"",children:[(0,r.jsx)("td",{className:"p-2 text-sm font-semibold text-[#1E1E1E] align-top",children:e.label}),e.values.map((e,t)=>(0,r.jsx)("td",{className:"p-2 text-sm text-[#1E1E1E] align-top",children:"—"===e||null===e||""===e?(0,r.jsx)("div",{className:"flex justify-start",children:(0,r.jsx)("svg",{className:"w-5 h-5 text-red-500",fill:"currentColor",viewBox:"0 0 20 20",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z",clipRule:"evenodd"})})}):(0,r.jsx)("div",{className:"text-left",children:(null==e?void 0:e.length)>100?"".concat(e.slice(0,100),"..."):e})},t)),x&&(0,r.jsx)("td",{className:"p-4 align-top"})]},t))})]})]})]})}var d=n(20790),p=n(45998),m=!0;function f(){let e=(0,i.useRouter)(),[t,n]=(0,l.useState)(null),[c,m]=(0,l.useState)(!0),[f,h]=(0,l.useState)([]);(0,l.useEffect)(()=>{e.isReady&&e.query.ids&&h(e.query.ids.split(","))},[e.isReady,e.query.ids]),(0,l.useEffect)(()=>{f.length>0&&x()},[f]);let x=async()=>{m(!0);try{let t=localStorage.getItem("onboarding_token"),r=localStorage.getItem("onboarding_lead_id"),l=e.query.lead_id,i={"Content-Type":"application/json"};t&&(i.Authorization="Bearer ".concat(t));let a=await fetch("https://wxofebyviealmeyltqtm.supabase.co/functions/v1/get-plan-comparison",{method:"POST",headers:i,body:JSON.stringify({lead_id:l||r||localStorage.getItem("leadId")||"48ab14ea-d446-4bcd-b17a-299104fb6051",product_ids:f})});if(a.ok){let e=await a.json();if(console.log("Compare API Response:",e),e.success&&e.cards&&e.compare){let t=g(e);n(t)}else throw Error("Invalid API response")}else throw Error("API request failed: ".concat(a.status))}catch(e){console.error("Error fetching compare data:",e),s.P0.error("Failed to load comparison data"),n(y(f))}finally{m(!1)}},g=e=>({headers:[null,...e.cards.map(e=>({companyLogo:e.company_logo,companyName:e.company_name,planName:e.product_name||e.plan_name||e.company_name,premium:"₹".concat(parseInt(e.premium).toLocaleString("en-IN"),"/month"),coverage:(0,a.E4)(e.sum_assured)?a.ti:"₹".concat((parseInt(e.sum_assured)/1e5).toFixed(0)," Lakh")}))],rows:e.compare.rows.map(t=>{let n=e.product_ids.map(e=>{let n=t.values[e];return n?n.text:"—"});return{label:t.key,values:n}})}),y=e=>{let t=["Care plus","ReAssure 3.0 Elite","Aspire Gold+"];return{headers:[null,...e.map((e,n)=>({companyLogo:"/icons/niva.svg",companyName:"Company ".concat(n+1),planName:t[n]||"Plan ".concat(n+1),premium:"₹".concat((2e4+5e3*n).toLocaleString("en-IN"),"/month"),coverage:"₹".concat(((5e5+1e5*n)/1e5).toFixed(0)," Lakh")}))],rows:[{label:"Sum Insured",key:"sum_insured"},{label:"Room Rent",key:"room_rent"},{label:"Pre-Hospitalization",key:"pre_hosp"},{label:"Post-Hospitalization",key:"post_hosp"},{label:"Ambulance Charges",key:"ambulance"},{label:"Maternity Cover",key:"maternity"},{label:"New Born Baby Cover",key:"newborn"},{label:"Restoration Benefits",key:"restoration"},{label:"No Claim Bonus",key:"ncb"},{label:"Day Care Procedures",key:"day_care"}].map(t=>({label:t.label,values:e.map((e,n)=>{if("sum_insured"===t.key)return"₹".concat((5e5+1e5*n).toLocaleString("en-IN"));if("room_rent"===t.key)return n%2==0?"No Limit":"1% of SI";if(t.key.includes("hosp"))return"".concat(30+30*n," days");if("ambulance"===t.key)return"₹".concat((1e3+500*n).toLocaleString("en-IN"));if("ncb"===t.key)return"".concat(50+10*n,"%");else return n%2==0?"Available":"Not Available"})}))}};return c?(0,r.jsx)(o.A,{show:c,message:"Please Wait Loading ..."}):t?(0,r.jsxs)("div",{className:"relative min-h-screen bg-white",style:{background:"linear-gradient(180deg, #A29BFE -73.83%, rgba(255, 255, 255, 0) 100%)",backgroundAttachment:"fixed"},children:[(0,r.jsx)(d.A,{}),(0,r.jsx)("div",{className:"px-4 pt-[104px] mx-auto max-w-7xl sm:px-6 lg:px-12",children:(0,r.jsx)(u,{isNewHome:!0,data:t,inline:!1,onBack:()=>{e.back()},onRemovePlan:t=>{let n=f.filter(e=>e!==t);n.length>=2?e.push("/compare?ids=".concat(n.join(","),"&lead_id=").concat(e.query.lead_id||"")):e.push("/new-health-insurance")},onAddPlan:()=>{e.push("/new-health-insurance?lead_id=".concat(e.query.lead_id||""))},productIds:f})}),(0,r.jsx)(p.default,{})]}):(0,r.jsx)("div",{className:"flex justify-center items-center min-h-screen",children:(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)("p",{className:"mb-4 text-gray-600",children:"No plans selected for comparison"}),(0,r.jsx)("button",{onClick:()=>e.push("/new-health-insurance"),className:"px-6 py-3 bg-[#6B61FF] text-white rounded-lg hover:bg-[#5B51EF]",children:"Go to Listing"})]})})}}},e=>{var t=t=>e(e.s=t);e.O(0,[7043,4928,5161,636,8792],()=>t(45157)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.