PageSourceSearch

https://piscine-nostress.fr/445.738c4a097b9b8b1a.js

js piscine-nostress.fr collected 2026-10-07 22:38:17 UTC 9,391 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebclient_webpack=self.webpackChunkwebclient_webpack||[]).push([[445],{22429(P,u,o){o.d(u,{D:()=>D});var h=o(17705),f=o(35547),g=o(85802),E=o(33726),C=o(70152);let D=(()=>{class _{zone=(0,g.WQX)(g.SKi);infiniteScrollCallback=(0,h.CGW)();infiniteScrollContainer;infiniteScrollDistance=0;infiniteScrollDisabled=!1;infiniteScrollUseDocumentBottom=!1;infiniteScrollListenForEvent;zeroBased=!1;infiniteScrollParent=!1;infiniteScrollImmediateCheck=!1;elem;windowElement=window;scrollEnabled=null;checkWhenEnabled=null;container=null;scrollSubscription;sizeCheckInterval;hostProps={width:0,height:0};height(e){return isNaN(e.offsetHeight)?e.document.documentElement.clientHeight:e.offsetHeight}pageYOffset(e){return isNaN(window.scrollY)?e.document.documentElement.scrollTop:e.ownerDocument.defaultView.scrollY}offsetTop(e){if(e.getBoundingClientRect)return e.getBoundingClientRect().top+this.pageYOffset(e)}defaultHandler(){let e=0,s=0;if(this.container===this.windowElement)e=this.height(this.container)+this.pageYOffset(this.container[0].document.documentElement),s=this.offsetTop(this.elem)+this.height(this.elem);else{e=this.height(this.container);let m=0;void 0!==this.offsetTop(this.container)&&(m=this.offsetTop(this.container)),s=this.offsetTop(this.elem)-m+this.height(this.elem)}this.infiniteScrollUseDocumentBottom&&(s=this.height((this.elem[0].ownerDocument||this.elem[0].document).documentElement)),s-e<=this.height(this.container)*this.infiniteScrollDistance+(this.zeroBased?0:1)?(this.checkWhenEnabled=!0,this.scrollEnabled&&this.infiniteScrollCallback.emit()):this.checkWhenEnabled=!1}handleInfiniteScrollDisabled(e){this.scrollEnabled=!e,this.scrollEnabled&&this.checkWhenEnabled&&(this.checkWhenEnabled=!1)}changeContainer(e){void 0!==this.scrollSubscription&&(this.scrollSubscription.unsubscribe(),this.scrollSubscription=void 0),this.container=e,null!=e&&(this.scrollSubscription=(0,E.R)(e,"scroll").pipe((0,C.B)(300)).subscribe(s=>this.defaultHandler()))}handleInfiniteScrollContainer(e){if(null==e||0===e.length)return;const s=this.elem.closest(e);if(null==s)throw new Error("invalid infinite-scroll-container attribute.");this.changeContainer(s)}constructor(){const e=(0,g.WQX)(f.aKT);this.elem=e.nativeElement}ngOnChanges(e){e.infiniteScrollDisabled&&this.handleInfiniteScrollDisabled(this.infiniteScrollDisabled),e.infiniteScrollContainer&&this.handleInfiniteScrollContainer(this.infiniteScrollContainer||[])}ngAfterViewInit(){this.handleInfiniteScrollDisabled(this.infiniteScrollDisabled),this.handleInfiniteScrollContainer(this.infiniteScrollContainer||this.windowElement)}ngAfterContentInit(){const e=()=>{const s=this.elem.offsetHeight,p=this.elem.offsetWidth;(s!==this.hostProps.height||p!==this.hostProps.width)&&(this.hostProps={width:p,height:s},this.zone.run(()=>{this.defaultHandler()}))};setTimeout(()=>{e(),this.sizeCheckInterval=this.zone.runOutsideAngular(()=>setInterval(e,300))})}ngOnDestroy(){void 0!==this.scrollSubscription&&this.scrollSubscription.unsubscribe(),clearInterval(this.sizeCheckInterval)}static \u0275fac=function(s){return new(s||_)};static \u0275dir=f.FsC({type:_,selectors:[["","infiniteScroll",""]],inputs:{infiniteScrollContainer:"infiniteScrollContainer",infiniteScrollDistance:"infiniteScrollDistance",infiniteScrollDisabled:"infiniteScrollDisabled",infiniteScrollUseDocumentBottom:"infiniteScrollUseDocumentBottom",infiniteScrollListenForEvent:"infiniteScrollListenForEvent",zeroBased:"zeroBased",infiniteScrollParent:"infiniteScrollParent",infiniteScrollImmediateCheck:"infiniteScrollImmediateCheck"},outputs:{infiniteScrollCallback:"infiniteScrollCallback"},features:[f.OA$]})}return _})()},445(P,u,o){o.d(u,{K:()=>A});var h=o(85802),f=o(22972),g=o(68018),E=o(40953),C=o(91968),S=o(85260),D=o(87019),_=o(4801),R=o(59030),e=o(7673),s=o(96354),p=o(31943),b=o(49769),m=o(22429),t=o(35547);const M=(i,r)=>r.Warning,T=(i,r)=>r.Line;function v(i,r){1&i&&(t.j41(0,"p",2),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&i&&(t.R7$(),t.JRh(t.bMT(2,1,"_i18n.ImportFileHasErrors")))}function L(i,r){if(1&i&&(t.j41(0,"alert",3)(1,"pre",4),t.nrm(2,"app-server-error",5),t.k0s()()),2&i){const n=t.XpG();t.R7$(2),t.Y8G("message",n.result.Exception)}}function O(i,r){1&i&&(t.j41(0,"p",6),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&i&&(t.R7$(),t.SpI("",t.bMT(2,1,r),"."))}function B(i,r){if(1&i&&(t.j41(0,"span",9),t.nrm(1,"app-server-error",5),t.EFF(2,"."),t.k0s()),2&i){const n=r.$implicit;t.R7$(),t.Y8G("message",n.Warning)}}function x(i,r){if(1&i){const n=t.RV6();t.j41(0,"div",7,0)(2,"p",8),t.nI1(3,"async"),t.bIt("infiniteScrollCallback",function(){h.eBV(n);const l=t.XpG(2);return h.Njj(l.warningPager.nextPage())}),t.Z7z(4,B,3,1,"span",9,M),t.nI1(6,"async"),t.k0s()()}if(2&i){const n=t.XpG(2);t.R7$(2),t.Y8G("infiniteScrollContainer","#warningScrollBox")("infiniteScrollDistance",1)("infiniteScrollDisabled",t.bMT(3,3,n.warningsDisabled$)),t.R7$(2),t.Dyx(t.bMT(6,5,n.pagedWarningLines$))}}function $(i,r){if(1&i&&(t.j41(0,"tr",14)(1,"td",15),t.EFF(2),t.k0s(),t.j41(3,"td",16),t.nrm(4,"app-server-error",5),t.k0s(),t.j41(5,"td",17),t.nrm(6,"app-server-error",5),t.k0s()()),2&i){const n=r.$implicit;t.R7$(2),t.JRh(n.Line.toString(10)),t.R7$(2),t.Y8G("message",n.Reason),t.R7$(2),t.Y8G("message",n.Comment)}}function W(i,r){if(1&i){const n=t.RV6();t.j41(0,"tfoot")(1,"tr")(2,"td",18)(3,"app-paging",19),t.nI1(4,"async"),t.nI1(5,"async"),t.nI1(6,"async"),t.bIt("pageChanged",function(l){h.eBV(n);const I=t.XpG(3);return h.Njj(I.pager.pageChanged(l))}),t.k0s()()()()}if(2&i){const n=t.XpG(3);t.R7$(3),t.Y8G("currentPage",t.bMT(4,4,n.pager.currentPage$))("itemsPerPage",t.bMT(5,6,n.pager.pageSize$))("totalItems",t.bMT(6,8,n.pager.totalCount$))("showBoundaryLinks",!0)}}function w(i,r){if(1&i&&(t.j41(0,"p",10),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.j41(3,"div",11)(4,"table",12)(5,"thead")(6,"tr")(7,"th",13),t.EFF(8,"#"),t.k0s(),t.j41(9,"th"),t.EFF(10),t.nI1(11,"translate"),t.k0s(),t.j41(12,"th"),t.EFF(13),t.nI1(14,"translate"),t.k0s()()(),t.j41(15,"tbody"),t.Z7z(16,$,7,3,"tr",14,T),t.nI1(18,"async"),t.k0s(),t.nVh(19,W,7,10,"tfoot"),t.k0s()()),2&i){const n=t.XpG(2);t.R7$(),t.SpI(" ",t.bMT(2,4,n.result.importCount?"_i18n.NotAllRowsImported":"_i18n.ImportFileHasErrors"),". "),t.R7$(9),t.JRh(t.bMT(11,6,"_i18n.Reason")),t.R7$(3),t.JRh(t.bMT(14,8,"_i18n.Comment")),t.R7$(3),t.Dyx(t.bMT(18,10,n.pagedErrorLines$)),t.R7$(3),t.vxM(n.result.ErrorLines.length>n.itemsPerPage?19:-1)}}function y(i,r){if(1&i&&(t.nVh(0,O,3,3,"p",6),t.nVh(1,x,7,7,"div",7),t.nVh(2,w,20,12)),2&i){let n;const a=t.XpG();t.vxM((n=a.status)?0:-1,n),t.R7$(),t.vxM(a.result.WarningLines.length?1:-1),t.R7$(),t.vxM(a.result.ErrorLines.length?2:-1)}}let A=(()=>{class i extends f.m{destroy$=(0,h.WQX)(h.abz);result;successMessage="_i18n.ImportDone";isAsyncImport;isLargeDialog=!1;itemsPerPage=10;pager;pagedErrorLines$;warningPager;pagedWarningLines$;warningsDisabled$;get status(){const n=this.result.ErrorLines.length>0;return this.result.importCount?!n||this.isAsyncImport?this.successMessage:"_i18n.ImportComplete":n||this.result.WarningLines.length?"":"_i18n.ImportNoChanges"}ngOnInit(){this.isLargeDialog=!!(this.result?.Exception||this.result?.ErrorLines.length>0||this.result?.WarningLines.length>0);const n=this.result?.ErrorLines||[];this.pager=new _.f(this.destroy$,{resolveData:(c,d)=>(0,R.v)(()=>(0,e.of)({totalItems:n.length,value:n.slice((c-1)*d,c*d)}
1))},void 0,this.itemsPerPage),this.pagedErrorLines$=this.pager.pagedItems$.pipe((0,s.T)(({value:c=[]})=>c));const l=this.result?.WarningLines||[];this.warningPager=new _.f(this.destroy$,{resolveData:(c,d)=>(0,R.v)(()=>(0,e.of)({totalItems:l.length,value:l.slice((c-1)*d,c*d)}))},void 0,this.itemsPerPage),this.pagedWarningLines$=this.warningPager.pagedItems$.pipe((0,s.T)(({value:c=[]})=>c),(0,p.S)((c,d)=>c.concat(d),[])),this.warningsDisabled$=this.pagedWarningLines$.pipe((0,s.T)(c=>c.length>=l.length))}static \u0275fac=(()=>{let n;return function(l){return(n||(n=t.xGo(i)))(l||i)}})();static \u0275cmp=t.VBU({type:i,selectors:[["app-import-result"]],hostVars:2,hostBindings:function(a,l){2&a&&t.AVh("modal-lg",l.isLargeDialog)},inputs:{result:"result",successMessage:"successMessage",isAsyncImport:"isAsyncImport"},features:[t.Vt3],decls:4,vars:3,consts:[["warningScrollBox",""],[3,"header","containsInnerScrollable"],["data-qa","empty-result"],["type","danger"],["data-qa","exception",1,"text-md","mb-0"],[3,"message"],["data-qa","status"],["id","warningScrollBox",1,"scrollable","mb-3",2,"max-height","200px","overflow-y","auto"],["infiniteScroll","",3,"infiniteScrollCallback","infiniteScrollContainer","infiniteScrollDistance","infiniteScrollDisabled"],["data-qa","warning",1,"d-block"],["data-qa","errors-header"],[1,"scrollable"],[1,"scrollable-table"],[1,"icon"],["data-qa","error-row",1,"error-grid","py-2"],["data-qa","line"],["data-qa","reason"],["data-qa","comment"],["colspan","3"],["size","small",3,"pageChanged","currentPage","itemsPerPage","totalItems","showBoundaryLinks"]],template:function(a,l){1&a&&(t.j41(0,"app-modal-dialog",1),t.nVh(1,v,3,3,"p",2)(2,L,3,1,"alert",3)(3,y,3,3),t.k0s()),2&a&&(t.Y8G("header",null!=l.result&&l.result.importCount?"_i18n.Done":"_i18n.ImportFailed")("containsInnerScrollable",!0),t.R7$(),t.vxM(l.result?l.result.Exception?2:3:1))},dependencies:[E.p,C.J,S.Cy,D.u4,m.D,g.D9,b.Jj],encapsulation:2,changeDetection:0})}return i})()}}]);

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.