PageSourceSearch

https://www.barcouncilofindia.org/p__admin__excelTemplates__index.e2f09115.async.js

js barcouncilofindia.org collected 2026-10-02 08:05:32 UTC 19,747 bytes, 4 lines download raw bytes

1"use strict";(self.webpackChunkbcw1=self.webpackChunkbcw1||[]).push([[5842,7666],{63094:function(H,A,r){r.d(A,{Mi:function(){return l},kN:function(){return s},oT:function(){return e}});var M=r(99969),p=r(67294),y=r(94151),D=r(94199),m=r(71577),L=r(67294),F=Object.defineProperty,O=Object.defineProperties,Z=Object.getOwnPropertyDescriptors,C=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,W=(t,n,o)=>n in t?F(t,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[n]=o,_=(t,n)=>{for(var o in n||(n={}))g.call(n,o)&&W(t,o,n[o]);if(C)for(var o of C(n))c.call(n,o)&&W(t,o,n[o]);return t},a=(t,n)=>O(t,Z(n)),E=(t,n,o)=>new Promise((f,x)=>{var v=w=>{try{U(o.next(w))}catch(P){x(P)}},d=w=>{try{U(o.throw(w))}catch(P){x(P)}},U=w=>w.done?f(w.value):Promise.resolve(w.value).then(v,d);U((o=o.apply(t,n)).next())});const l=(t,n)=>E(void 0,null,function*(){const o=typeof t=="string"?t:t==null?void 0:t.url,f=typeof n=="string"?n:(n==null?void 0:n.filename)||(n==null?void 0:n.dfname)||"download.xlsx";if(o)try{const x=yield fetch(o);if(!x.ok){const w=document.createElement("a");w.href=o,w.download=f,w.target="_blank",document.body.appendChild(w),w.click(),document.body.removeChild(w);return}const v=yield x.blob(),d=window.URL.createObjectURL(v),U=document.createElement("a");U.href=d,U.download=f,document.body.appendChild(U),U.click(),document.body.removeChild(U),window.URL.revokeObjectURL(d)}catch(x){const v=document.createElement("a");v.href=o,v.download=f,v.target="_blank",document.body.appendChild(v),v.click(),document.body.removeChild(v)}}),s=t=>{const[n,o]=(0,p.useState)(!1),f=x=>E(void 0,null,function*(){o(!0);const{status:v,cls:d,msg:U,payload:w}=yield(0,M.hr)({params:x});if(o(!1),!v){(0,y.FB)(null,U,w,d);return}l(w==null?void 0:w.publicUrl,(w==null?void 0:w.dfname)||(w==null?void 0:w.fname))});return L.createElement(D.Z,{title:`Click to download the ${(t==null?void 0:t.dfname)||(t==null?void 0:t.fname)||"File"}`},L.createElement(m.Z,a(_({},t==null?void 0:t.btnProps),{loading:n,onClick:()=>f(t==null?void 0:t.fid)}),(t==null?void 0:t.children)||"Download"))},e=t=>{const n=t==null?void 0:t.icon,o=t==null?void 0:t.text;return L.createElement(s,a(_({},t),{btnProps:{type:"link",size:"small"}}),n," ",o)}},48435:function(H,A,r){r.d(A,{$9:function(){return Z},Jp:function(){return L},SC:function(){return m},Yc:function(){return O}});var M=r(11273),p=r(59891),y=r(89260),D=(C,g,c)=>new Promise((W,_)=>{var a=s=>{try{l(c.next(s))}catch(e){_(e)}},E=s=>{try{l(c.throw(s))}catch(e){_(e)}},l=s=>s.done?W(s.value):Promise.resolve(s.value).then(a,E);l((c=c.apply(C,g)).next())});const m="/server/api/file/upload",L="/server/api/video/upload",F=()=>{const C=buildAuthorization();return C?{Authorization:C}:{}},O={get Authorization(){return(0,M.K9)()}},Z=C=>D(void 0,null,function*(){var g,c;const{file:W,filename:_="file",data:a={},action:E=m,headers:l={},onError:s,onProgress:e,onSuccess:t,withCredentials:n=!0}=C;try{yield(0,y.jR)()}catch(f){}const o=f=>new Promise((x,v)=>{const d=new XMLHttpRequest;n&&(d.withCredentials=!0),d.upload&&e&&(d.upload.onprogress=P=>{if(P.total>0){const $=Math.round(P.loaded/P.total*100);e({percent:$},W)}}),d.onload=()=>{let P;try{P=JSON.parse(d.responseText)}catch($){P=d.responseText}d.status>=200&&d.status<300?x(P):v({status:d.status,response:P})},d.onerror=P=>{v({status:d.status,error:P})},d.open("POST",E,!0);const U=f||p.ZP.get();U&&d.setRequestHeader("Authorization",`Bearer ${U}`),l&&Object.keys(l).forEach(P=>{P.toLowerCase()!=="authorization"&&d.setRequestHeader(P,l[P])});const w=new FormData;a&&Object.keys(a).forEach(P=>{a[P]!==void 0&&a[P]!==null&&w.append(P,a[P])}),w.append(_,W),d.send(w)});try{const f=p.ZP.get();let x;try{x=yield o(f)}catch(v){if((v==null?void 0:v.status)===401&&p.ZP.getRefresh()){const d=yield(0,y.jb)();if(d)x=yield o(d);else throw v}else throw v}t&&t(x,W)}catch(f){(f==null?void 0:f.status)===401&&((c=(g=f==null?void 0:f.response)==null?void 0:g.payload)!=null&&c.logout)&&(0,y.w3)(),s&&s((f==null?void 0:f.response)||f)}})},49298:function(H,A,r){r.d(A,{h:function(){return c}});
1var M=r(88484),p=r(12461),y=r(23680),D=r(71577),m=r(67294),L=r(94151),F=r(48435),O=r(67294),Z=Object.defineProperty,C=(_,a,E)=>a in _?Z(_,a,{enumerable:!0,configurable:!0,writable:!0,value:E}):_[a]=E,g=(_,a,E)=>C(_,typeof a!="symbol"?a+"":a,E);class c extends m.Component{constructor(){super(...arguments),g(this,"state",{loading:!1,visible:!1}),g(this,"showDrawer",()=>{this.setState({visible:!0})}),g(this,"onClose",()=>{this.setState({visible:!1})}),g(this,"beforeUpload",a=>{this.setState({loading:!0});const E=a.type==="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"||a.type==="application/vnd.ms-excel"||a.type==="application/vnd.openxmlformats-officedocument.wordprocessingml.document"||a.type==="application/x-plist"||a.type==="application/pdf"||a.type==="application/msword";this.fileName(a.name),E||(this.setState({loading:!1}),p.ZP.error("You can only upload Application/xlsx file!"));const l=a.size/1024/1024<2;return l||(this.setState({loading:!1}),p.ZP.error("File must smaller than 2MB!")),E&&l}),g(this,"handleChange",a=>{if(a.file.status==="uploading"){this.setState({loading:!0});return}if(a.file.status==="error"||a.file.status==="done"){this.setState({loading:!1});const{response:E={}}=a.file,{onChange:l}=this.props;E&&(E!=null&&E.publicUrl)?l(E):(0,L.FB)(null,"Some error occurred! try with new template",{},"success")}}),g(this,"onRemove",()=>{this.setState({publicUrl:void 0}),this.props.onChange&&this.props.onChange(void 0)})}componentDidMount(){const{value:a}=this.props;a&&a.publicUrl&&this.setState({publicUrl:a.publicUrl})}componentDidUpdate(a){a.value&&this.props.value&&a.value.publicUrl!=this.props.value.publicUrl&&this.setState({publicUrl:this.props.value.publicUrl})}fileName(a){const E=new Array(".xlsx",".xls",".docx",".pdf");let l=a;return l=l.substring(l.lastIndexOf(".")),E.indexOf(l)<0?(p.ZP.error("Invalid file selected, valid files are of "+E.toString()+" types."),!1):!0}render(){const{fc:a,params:E,label:l,buttonType:s,buttonSize:e}=this.props,{loading:t}=this.state;return O.createElement("span",null,O.createElement(y.default,{name:"file",data:{fc:a,params:JSON.stringify(E)},action:F.SC,customRequest:F.$9,headers:F.Yc,onChange:this.handleChange,multiple:!1,beforeUpload:this.beforeUpload,showUploadList:!1},O.createElement(D.Z,{loading:t,icon:O.createElement(M.Z,null),type:s&&s!=""?s:"default",size:e&&e!=""?e:"middle"}," ",l||"Choose the file to upload")))}}const W=({fi:_})=>O.createElement("div",null,O.createElement(Form.Item,null,_))},60664:function(H,A,r){r.d(A,{T:function(){return E},f:function(){return a}});var M=r(29924),p=r(67241),y=r(5946),D=r(67402),m=r(67294),L=Object.defineProperty,F=Object.defineProperties,O=Object.getOwnPropertyDescriptors,Z=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,c=(l,s,e)=>s in l?L(l,s,{enumerable:!0,configurable:!0,writable:!0,value:e}):l[s]=e,W=(l,s)=>{for(var e in s||(s={}))C.call(s,e)&&c(l,e,s[e]);if(Z)for(var e of Z(s))g.call(s,e)&&c(l,e,s[e]);return l},_=(l,s)=>F(l,O(s));const a=l=>{const{fc:s}=l,e=y.N[s];return e?m.createElement(M.ZP.Group,W({},l),e.map(t=>{const{label:n}=y.s[t];return m.createElement(M.ZP,{key:t,value:t},n)})):m.createElement(p.y,{data:`Radio category (${s}) not found.`})},E=l=>{const{input:s}=l;if(!s)return m.createElement(D.Z,null);const e=y.s[s];return e!=null&&e.label?m.createElement(p.BV,_(W({},l),{data:e,color:e==null?void 0:e.type})):m.createElement(p.y,{data:s})}},45890:function(H,A,r){r.d(A,{$i:function(){return Z},Ev:function(){return O},Xp:function(){return L}});var M=r(67294);const p=1,y=10,D=["10","20","50","100"],m=!0,L={current:p,pageSize:y},F=null,O=(C,g)=>{let c=0;if(g&&"current"in g&&"pageSize"in g){const{current:W,pageSize:_}=g;c=W*_-_+C+1}else c=C+1;return M.createElement("span",{style:{padding:"0 0.5rem"}},c)},Z={defaultPageSize:y,showSizeChanger:m,pageSizeOptions:D}},7097:function(H,A,r){r.r(A),r.d(A,{default:function(){return fe}});var M=r(23487),p=r(67294),y=r(75600),D=r(11273),m=(I,u,b)=>new Promise((N,R)=>{var z=i=>{try{h(b.next(i))}catch(S){R(S)}},B=i=>{try{h(b.throw(i))}catch(S){R(S)}},h=i=>
1i.done?N(i.value):Promise.resolve(i.value).then(z,B);h((b=b.apply(I,u)).next())});function L(I){return m(this,null,function*(){return(0,D.ZP)("/server/api/admin/excel/template/list",{params:I})})}function F(I){return m(this,null,function*(){return(0,D.ZP)("/server/api/admin/excel/template/save",{method:"POST",data:I})})}var O=r(49298),Z=r(60664),C=r(94151),g=r(67241),c=r(45387),W=r(63463),_=r(20550),a=r(69677),E=r(71577),l=r(67294),s=Object.defineProperty,e=Object.defineProperties,t=Object.getOwnPropertyDescriptors,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,x=(I,u,b)=>u in I?s(I,u,{enumerable:!0,configurable:!0,writable:!0,value:b}):I[u]=b,v=(I,u)=>{for(var b in u||(u={}))o.call(u,b)&&x(I,b,u[b]);if(n)for(var b of n(u))f.call(u,b)&&x(I,b,u[b]);return I},d=(I,u)=>e(I,t(u)),U=(I,u,b)=>new Promise((N,R)=>{var z=i=>{try{h(b.next(i))}catch(S){R(S)}},B=i=>{try{h(b.throw(i))}catch(S){R(S)}},h=i=>i.done?N(i.value):Promise.resolve(i.value).then(z,B);h((b=b.apply(I,u)).next())});const w={labelCol:{span:8},wrapperCol:{span:14}},P=({isOpen:I,editRecord:u,onClose:b,onSuccess:N})=>{const[R]=c.Z.useForm(),[z,B]=(0,p.useState)(!1),[h,i]=(0,p.useState)(null),S=!!(u&&(u!=null&&u._id));(0,p.useEffect)(()=>{I&&(S?(R.setFieldsValue({uniqueId:(u==null?void 0:u.uniqueId)||"",fileName:(u==null?void 0:u.fileName)||"",templateVersion:(u==null?void 0:u.templateVersion)||"",status:(u==null?void 0:u.status)||"active"}),i((u==null?void 0:u.fileInfo)||null)):(R.resetFields(),i(null)))},[I,u]);const X=K=>{K&&K.fid&&i(K)},q=K=>U(void 0,null,function*(){var G,J,Y;if(!(h!=null&&h.fid)){(0,C.FB)(R,"Please upload a template file",{},"error");return}B(!0);const ee={_id:S?u._id:"new",uniqueId:(G=K.uniqueId)==null?void 0:G.trim(),fileName:(J=K.fileName)==null?void 0:J.trim(),templateVersion:(Y=K.templateVersion)==null?void 0:Y.trim(),status:K.status,fileInfo:h},j=yield F(ee);B(!1),j!=null&&j.status?((0,C.FB)(R,(j==null?void 0:j.message)||"Saved successfully",{},"success"),N(),b()):(0,C.FB)(R,(j==null?void 0:j.message)||"Something went wrong",j==null?void 0:j.payload,"error")});return l.createElement(W.Z,{open:I,onClose:b,title:l.createElement("span",{style:{fontWeight:600}},S?"Edit Template":"Add New Template"),width:Math.min(window.innerWidth*.5,600),destroyOnClose:!0},l.createElement(c.Z,d(v({form:R},w),{onFinish:q,layout:"horizontal"}),l.createElement(c.Z.Item,{label:"Upload Template",required:!0},l.createElement(O.h,{fc:"templates",params:{},label:"Upload",buttonType:"primary",onChange:X,value:h}),(h==null?void 0:h.fid)&&l.createElement(_.Z,{color:"blue",style:{marginTop:8}},(h==null?void 0:h.label)||(h==null?void 0:h.fname)||"Uploaded")),l.createElement(c.Z.Item,{name:"uniqueId",label:"Unique Id",rules:[{required:!0,message:"Please enter the Unique Id"}]},l.createElement(a.default,{placeholder:"Enter the Unique Id",disabled:S,style:S?{background:"#f5f5f5"}:{}})),l.createElement(c.Z.Item,{name:"fileName",label:"File Name",rules:[{required:!0,message:"Please enter the File Name"}]},l.createElement(a.default,{placeholder:"Enter the File Name",maxLength:46,showCount:!0})),l.createElement(c.Z.Item,{name:"templateVersion",label:"Template Version",rules:[{required:!0,message:"Please enter the Template Version"}]},l.createElement(a.default,{placeholder:"Enter Template Version",style:{width:160}})),l.createElement(c.Z.Item,{name:"status",label:"Status",initialValue:"active",rules:[{required:!0,message:"Please select a status"}]},l.createElement(Z.f,{fc:"status"})),l.createElement(c.Z.Item,v({},g.FA),l.createElement(E.Z,{type:"primary",htmlType:"submit",loading:z,style:{minWidth:100}},"Save"))))};var $=r(63094),te=r(45890),ne=r(97175),re=r(51042),ae=r(43471),le=r(16894),oe=r(2482),Q=r(26713),ie=r(59652),T=r(67294);const{Text:se}=oe.default,ue=({templateList:I,totalCount:u,isLoading:b,onUpload:N,onRefresh:R,onEditRecord:z})=>{const B=[{title:"S.No",dataIndex:"sno",key:"sno",width:60,render:(h,i,S)=>T.createElement("span",null,S+1)},{title:"File Id",dataIndex:"_id",key:"_id",width:180,render:h=>T.createElement(_.Z,{color:"blue",style:{fontFamily:"monospace",fontSize:11}},T.createElement(se,{copyable:!0,style:{fontSize:11}},h))},{title:"File Name",dataIndex:"fileName",key:"fileName",render:(h,i)=>{const S=(i==null?void 0:i.fileInfo)||{};return T.createElement(Q.Z,{size:6},T.createElement("span",{style:{color:"#217346",fontWeight:500}},h),(S==null?void 0:S.fid)&&T.createElement($.oT,{fid:S.fid,dfname:S.dfname||h,icon:T.createElement(ne.Z,{style:{color:"#217346"}})}))}},{title:"Version",dataIndex:"templateVersion",key:"templateVersion",width:90,render:h=>T.createElement(_.Z,{color:"geekblue"},h)},{title:"Uploaded At",dataIndex:"createdAt",key:"createdAt",width:140,render:(h,i)=>{const S=i!=null&&i.updatedAt?i==null?void 0:i.updatedAt:i==null?void 0:i.createdAt;return T.createElement(g.M0,{input:S})}},{title:"Uploaded By",dataIndex:"createdBy",key:"createdBy",width:130,render:(h,i)=>{var S;return T.createElement(Q.Z,{direction:"vertical",size:3},T.createElement(_.Z,{color:"blue"},((S=i==null?void 0:i.createdBy)==null?void 0:S.sname)||"-"),T.createElement(_.Z,{color:"cyan"}
1,(i==null?void 0:i.createdUid)||""))}},{title:"Action",key:"action",width:80,render:(h,i)=>T.createElement(E.Z,{type:"link",size:"small",onClick:()=>z(i)},"Edit")}];return T.createElement(ie.default,{bodyStyle:{padding:0},title:T.createElement("span",{style:{fontWeight:600,fontSize:15}},"Template"," ",T.createElement(_.Z,{color:"blue",style:{marginLeft:4}},u)),extra:T.createElement(Q.Z,null,T.createElement(E.Z,{type:"primary",icon:T.createElement(re.Z,null),onClick:N},"Upload Template"),T.createElement(E.Z,{icon:T.createElement(ae.Z,null),onClick:R},"Refresh"))},T.createElement(le.ZP,{search:!1,options:!1,rowKey:"_id",loading:b,ghost:!0,dataSource:I,columns:B,pagination:{pageSize:te.Xp.pageSize,showSizeChanger:!0,total:u}}))};var k=r(67294),de=(I,u,b)=>new Promise((N,R)=>{var z=i=>{try{h(b.next(i))}catch(S){R(S)}},B=i=>{try{h(b.throw(i))}catch(S){R(S)}},h=i=>i.done?N(i.value):Promise.resolve(i.value).then(z,B);h((b=b.apply(I,u)).next())});const ce=I=>{const[u,b]=(0,p.useState)([]),[N,R]=(0,p.useState)(0),[z,B]=(0,p.useState)(!1),[h,i]=(0,p.useState)(!1),[S,X]=(0,p.useState)(null),[q,K]=(0,p.useState)(0);(0,p.useEffect)(()=>{G()},[q]);const G=()=>de(void 0,null,function*(){B(!0);const V=yield L({current:1,pageSize:50});B(!1),V!=null&&V.status&&(V!=null&&V.payload)&&(b(V.payload.list||[]),R(V.payload.total||0))}),J=()=>{X(null),i(!0)},Y=V=>{X(V),i(!0)},ee=()=>{i(!1),X(null)},j=()=>{K(V=>V+1)},me=()=>{j()};return k.createElement(M.Oc,null,k.createElement(ue,{templateList:u,totalCount:N,isLoading:z,onUpload:J,onRefresh:j,onEditRecord:Y}),k.createElement(P,{isOpen:h,editRecord:S,onClose:ee,onSuccess:me}))};var fe=(0,y.connect)(({user:I})=>({currentUser:I.currentUser}))(ce)},97435:function(H,A){function r(M,p){for(var y=Object.assign({},M),D=0;D<p.length;D+=1){var m=p[D];delete y[m]}return y}A.Z=r},59209:function(H,A,r){r.d(A,{ZP:function(){return s}});var M=r(67294);function p(e,t){return F(e)||L(e,t)||D(e,t)||y()}function y(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function D(e,t){if(e){if(typeof e=="string")return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}}function m(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function L(e,t){var n=e&&(typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"]);if(n!=null){var o=[],f=!0,x=!1,v,d;try{for(n=n.call(e);!(f=(v=n.next()).done)&&(o.push(v.value),!(t&&o.length===t));f=!0);}catch(U){x=!0,d=U}finally{try{!f&&n.return!=null&&n.return()}finally{if(x)throw d}}return o}}function F(e){if(Array.isArray(e))return e}function O(e){var t=typeof window=="undefined",n=(0,M.useState)(function(){return t?!1:window.matchMedia(e).matches}),o=p(n,2),f=o[0],x=o[1];return(0,M.useLayoutEffect)(function(){if(!t){var v=window.matchMedia(e),d=function(w){return x(w.matches)};return v.addListener(d),function(){return v.removeListener(d)}}},[e]),f}function Z(e,t){return _(e)||W(e,t)||g(e,t)||C()}function C(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function g(e,t){if(e){if(typeof e=="string")return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}}function c(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function W(e,t){var n=e&&(typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"]);if(n!=null){var o=[],f=!0,x=!1,v,d;try{for(n=n.call(e);!(f=(v=n.next()).done)&&(o.push(v.value),!(t&&o.length===t));f=!0);}catch(U){x=!0,d=U}finally{try{!f&&n.return!=null&&n.return()}finally{if(x)throw d}}return o}}function _(e){if(Array.isArray(e))return e}var a={xs:{maxWidth:575,matchMedia:"(max-width: 575px)"},sm:{minWidth:576,maxWidth:767,matchMedia:"(min-width: 576px) and (max-width: 767px)"},md:{minWidth:768,maxWidth:991,matchMedia:"(min-width: 768px) and (max-width: 991px)"},lg:{minWidth:992,maxWidth:1199,matchMedia:"(min-width: 992px) and (max-width: 1199px)"},xl:{minWidth:1200,maxWidth:1599,matchMedia:"(min-width: 1200px) and (max-width: 1599px)"},xxl:{minWidth:1600,matchMedia:"(min-width: 1600px)"}},E=function(){var t="md";if(typeof window=="undefined")return t;var n=Object.keys(a).find(function(o){var f=a[o].matchMedia;return!!window.matchMedia(f).matches});return t=n,t},l=function(){var t=O(a.md.matchMedia),n=O(a.lg.matchMedia),o=O(a.xxl.matchMedia),f=O(a.xl.matchMedia),x=O(a.sm.matchMedia),v=O(a.xs.matchMedia),d=(0,M.useState)(E()),U=Z(d,2),w=U[0],P=U[1];return(0,M.useEffect)(function(){if(o){P("xxl");return}if(f){P("xl");return}if(n){P("lg");return}if(t){P("md");return}if(x){P("sm");return}if(v){P("xs");return}P("md")},[t,n,o,f,x,v]),w},s=l},37762:function(H,A,r){r.d(A,{Z:function(){return p}});var M=r(40181);function p(y,D){var m=typeof Symbol!="undefined"&&y[Symbol.iterator]||y["@@iterator"];if(!m){if(Array.isArray(y)||(m=(0,M.Z)(y))||D&&y&&typeof y.length=="number"){m&&(y=m);var L=0,F=function(){};return{s:F,n:function(){return L>=y.length?{done:!0}:{done:!1,value:y[L++]}},e:function(c){throw c},f:F}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
4In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var O,Z=!0,C=!1;return{s:function(){m=m.call(y)},n:function(){var c=m.next();return Z=c.done,c},e:function(c){C=!0,O=c},f:function(){try{Z||m.return==null||m.return()}finally{if(C)throw O}}}}},88305:function(H,A,r){r.d(A,{f:function(){return p}});var M=r(67294);function p(D){var m=M.createContext(null);function L(O){var Z=D(O.initialState);return M.createElement(m.Provider,{value:Z},O.children)}function F(){var O=M.useContext(m);if(O===null)throw new Error("Component must be wrapped with <Container.Provider>");return O}return{Provider:L,useContainer:F}}function y(D){return D.useContainer()}}}]);

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.