PageSourceSearch

https://www.siniat.pl/etex/js/assets/js/437.edb5f8eee3ea695c85e9.mjs

js siniat.pl collected 2026-10-07 23:23:02 UTC 6,059 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebpack=self.webpackChunkwebpack||[]).push([[437],{10886:function(e,t,n){n.d(t,{C_:function(){return a},Fi:function(){return r},OP:function(){return c},cn:function(){return l},er:function(){return d},go:function(){return i},iF:function(){return o},us:function(){return u}});class i{constructor(e,t){this.dataSheet=e,this.fileName=t}}class s{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;this.watermarkFormId=n,this.skipAuthentication=e,this.skipWatermarking=t,this.watermarkFormSubmissionId=i,this.eventCategory=s}}class o extends s{constructor(e,t,n){super(t,n,arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,arguments.length>5&&void 0!==arguments[5]?arguments[5]:null),this.packageId=e}}class c extends s{constructor(e,t,n,i,s,o){let c=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null,a=arguments.length>9&&void 0!==arguments[9]?arguments[9]:null,d=arguments.length>10&&void 0!==arguments[10]?arguments[10]:null;super(s,o,arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,arguments.length>7&&void 0!==arguments[7]?arguments[7]:null),this.documentList=e,this.entityName=i,this.dataSheetInfos=n,this.documentPacks=t,this.encodedPreFilledWatermarkLines=c,this.eventCategory=a,this.customDocumentList=d}}class a{constructor(e,t){this.documentPackRequest=e,this.authDeniedCallback=t}}class d{}d.documentPackageDownloadRequested="DOWNLOAD_DOCUMENT_PACKAGE_REQUESTED",d.documentPackageDownloadRequestHandled="DOWNLOAD_DOCUMENT_PACKAGE_REQUEST_HANDLED",d.documentPackageCreationRequested="DOWNLOAD_DOCUMENT_PACKAGE_CREATION",d.documentPackageCreationRequestedHandled="DOWNLOAD_DOCUMENT_PACKAGE_CREATION_HANDLED",d.authenticationRequested="DOWNLOAD_DOCUMENT_AUTHENTICATION_REQUESTED",d.emptyResultReceived="DOWNLOAD_EMPTY_RESULT",d.watermarkingInputRequested="DOWNLOAD_DOCUMENT_WATERMARKING_INPUT_REQUESTED",d.watermarkingSingleDocumentInputRequested="DOWNLOAD_SINGLE_DOCUMENT_WATERMARKING_INPUT_REQUESTED",d.downloadLimitationReached="DOWNLOAD_LIMITATION_REACHED",d.failedRequest="DOWNLOAD_CENTER_FAILED_REQUEST",d.exportJobRequested="EXPORT_JOB_REQUESTED",d.createPdfDocumentRequested="DOWNLOAD_CREATE_PDF_REQUESTED",d.createPdfDocumentRequestHandled="DOWNLOAD_CREATE_PDF_REQUEST_HANDLED";class l{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:()=>{};this.formCompleted=n,this.skipWatermarkingCallback=i,this.popupUrl=e,this.documentPackRequest=t}}class r{constructor(e,t){this.popupUrl=e,this.assetId=t}}class u{constructor(e,t){this.job=e,this.toasterElement=t}}},437:function(e,t,n){n.r(t);var i=n(33876),s=n(47277),o=n.n(s),c=n(70392),a=n.n(c),d=n(77370),l=n(10886),r="[data-js='specific-category-selection']",u="[data-js='all-category-selection']",h="[data-js='category-selection-dialog-body']",m="[data-js='submit-category-selection']",g="data-js-category",D="input[data-js-category='generated-data-sheet']:checked",S="input[data-js-category='custom-documents']:checked";class E extends i.Vq{constructor(e){super(e)}init(){super.init(),this.initialized||(o()(this.element).on("click",m,(()=>{this.submitCategorySelection()})),a().subscribe(d.a.categorySelectionRequested,((e,t)=>{this.handleCategorySelectionRequired(t)})),this.initialized=!0)}handleCategorySelectionRequired(e){o()(this.element).find(h).replaceWith(e.categorySelectionHtml),this.documentSet=e.documentSetContainer.documentSet,this.dataSheetInfos=e.dataSheetInfos,this.entityName=e.documentSetContainer.entityName,this.encodedPreFilledWatermarkLines=e.encodedPreFilledWatermarkLines,this.dialog=null,super.init(),this.bindDialogBodyEvents(),this.getCategoryCount()<=1?this.submitCategorySelection(e.eventCategory):(this.dialog.on("hide",(()=>{a().publish(d.a.categorySelectionDialogClosed,null)})),this.dialog.show())}submitCategorySelection(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=this.determineSelectedDocuments(),n=this.determineSelectedPacks(),i=this.determineSelectedDataSheets(),s=this.determineSelectedCustomDocuments();a().publish(l.er.documentPackageCreationRequested,new l.OP(t,n,i,this.entityName,!1,!1,null,null,this.encodedPreFilledWatermarkLines,e,s)),this.dialog.hide()}determineSelectedDocuments(){const e=[],t=this.determineSelectedCategories();return this.documentSet.documents.map(((n,i)=>{t.map((t=>{n.categoryKey===t&&e.push(n.id)}))})),e}determineSelectedDataSheets(){const e=new Array;return this.determineIsSpecificSelectionMade()?(o()(this.element).find(D).each(((t,n)=>{let i=n.getAttribute("data-js-data-sheet-source");this.dataSheetInfos.map((t=>{t.source.toString()===i&&e.push(t)}))})),e):this.dataSheetInfos}determineSelectedPacks(){const e=[],t=this.determineSelectedCategories();return this.documentSet.packs.map(((n,i)=>{t.map((t=>{n.categoryKey===t&&e.push(n.id)}))})),e}determineSelectedCustomDocuments(){const e=[];return this.determineIsSpecificSelectionMade()&&!this.element.querySelector(S)||this.documentSet.customDocuments.map(((t,n)=>{e.push(t.id)})),e}determineSelectedCategories(){const e=[];return this.determineIsSpecificSelectionMade()?o()(this.element).find(`${r}:checked`).each(((t,n)=>{e.push(o()(n).attr(g))})):o()(this.element).find(`${r}`).each(((t,n)=>{e.push(o()(n).attr(g))})),e}bindDialogBodyEvents(){o()(this.element).on("click",r,(()=>{this.setCategorySelection(!0)})),o()(this.element).on("click",u,(()=>{this.setCategorySelection(!1)}))}setCategorySelection(e){const t=o()(this.element).find(u),n=o()(this.element).find(r);if(e)t.prop("checked",!this.determineIsSpecificSelectionMade());else{const e=t.prop("checked");n.prop("checked",!e)}}determineIsSpecificSelectionMade(){return o()(this.element).find(`${r}:checked`).length>0}getCategoryCount(){return this.element.querySelectorAll(r).length}}t.default=E}}]);

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.