1(self.webpackChunkCMS=self.webpackChunkCMS||[]).push([[6425],{98464:(t,e,i)=>{let a=i(19755);a('[data-webpack-module*="ics"]').each((function(){var t=a(this).data("ics-url")||"",e=a(this).data("limit")||-1,i=a(this).data("id")||0,d=a(this).data("id-column")||"",n=a(this).data("ics-button-id")||"",o=a(this).data("table-id")||"",c={};""!==n&&a(n).on("click",(function(n){(n.preventDefault(),c.limit=e,c.idList=[],""!==o)?a(o).DataTable().rows({search:"applied"}).every((function(t,e,i){var a=this.data();""!==d?c.idList.push(a[d]):c.idList.push(a.id)})):0!==i&&c.idList.push(i);c.idList.length>0&&fetch(t,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(c)}).then((t=>{if(t.ok)return t.blob();throw new Error("Failed to export ICS")})).then((t=>{const e=window.URL.createObjectURL(t),i=document.createElement("a");i.href=e,i.download="calendar.ics",document.body.appendChild(i),i.click(),i.remove()})).catch((t=>{console.error(t)}))}))}))}}]);
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.