phcthemes_admin_panel_pack 5.0.0 → 5.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/smarty/core.js +28154 -0
  3. data/app/assets/javascripts/smarty/core.min.js +2 -0
  4. data/app/assets/javascripts/smarty/core.sow_builder.js +84 -0
  5. data/app/assets/javascripts/smarty/core.sow_builder.min.js +1 -0
  6. data/app/assets/javascripts/smarty/phcthemes_admin_panel_pack_smarty.js +3 -0
  7. data/app/assets/javascripts/smarty/vendor.chartjs.js +20776 -0
  8. data/app/assets/javascripts/smarty/vendor.chartjs.min.js +1 -0
  9. data/app/assets/javascripts/smarty/vendor.cocoen.js +1 -0
  10. data/app/assets/javascripts/smarty/vendor.cocoen.min.js +1 -0
  11. data/app/assets/javascripts/smarty/vendor.colorpicker.js +3 -0
  12. data/app/assets/javascripts/smarty/vendor.colorpicker.min.js +1 -0
  13. data/app/assets/javascripts/smarty/vendor.datatables.js +42928 -0
  14. data/app/assets/javascripts/smarty/vendor.datatables.min.js +1 -0
  15. data/app/assets/javascripts/smarty/vendor.datepicker.js +2039 -0
  16. data/app/assets/javascripts/smarty/vendor.datepicker.min.js +1 -0
  17. data/app/assets/javascripts/smarty/vendor.daterangepicker.js +1578 -0
  18. data/app/assets/javascripts/smarty/vendor.daterangepicker.min.js +1 -0
  19. data/app/assets/javascripts/smarty/vendor.easypie.js +364 -0
  20. data/app/assets/javascripts/smarty/vendor.easypie.min.js +1 -0
  21. data/app/assets/javascripts/smarty/vendor.fancybox.js +5632 -0
  22. data/app/assets/javascripts/smarty/vendor.fancybox.min.js +1 -0
  23. data/app/assets/javascripts/smarty/vendor.flickity.js +4597 -0
  24. data/app/assets/javascripts/smarty/vendor.flickity.min.js +1 -0
  25. data/app/assets/javascripts/smarty/vendor.flot.js +11921 -0
  26. data/app/assets/javascripts/smarty/vendor.flot.min.js +1 -0
  27. data/app/assets/javascripts/smarty/vendor.fullcalendar.js +14597 -0
  28. data/app/assets/javascripts/smarty/vendor.fullcalendar.min.js +1 -0
  29. data/app/assets/javascripts/smarty/vendor.leaflet.js +6 -0
  30. data/app/assets/javascripts/smarty/vendor.leaflet.min.js +1 -0
  31. data/app/assets/javascripts/smarty/vendor.markdowneditor.js +7 -0
  32. data/app/assets/javascripts/smarty/vendor.markdowneditor.min.js +1 -0
  33. data/app/assets/javascripts/smarty/vendor.mediumeditor.js +7893 -0
  34. data/app/assets/javascripts/smarty/vendor.mediumeditor.min.js +1 -0
  35. data/app/assets/javascripts/smarty/vendor.pdfmake.js +79493 -0
  36. data/app/assets/javascripts/smarty/vendor.pdfmake.min.js +1 -0
  37. data/app/assets/javascripts/smarty/vendor.photoswipe.js +4595 -0
  38. data/app/assets/javascripts/smarty/vendor.photoswipe.min.js +1 -0
  39. data/app/assets/javascripts/smarty/vendor.prismjs.js +7219 -0
  40. data/app/assets/javascripts/smarty/vendor.prismjs.min.js +1 -0
  41. data/app/assets/javascripts/smarty/vendor.quilleditor.js +11562 -0
  42. data/app/assets/javascripts/smarty/vendor.quilleditor.min.js +1 -0
  43. data/app/assets/javascripts/smarty/vendor.sparkline.js +3068 -0
  44. data/app/assets/javascripts/smarty/vendor.sparkline.min.js +1 -0
  45. data/app/assets/javascripts/smarty/vendor.summernoteeditor.js +10235 -0
  46. data/app/assets/javascripts/smarty/vendor.summernoteeditor.min.js +1 -0
  47. data/app/assets/javascripts/smarty/vendor.swiper.js +9899 -0
  48. data/app/assets/javascripts/smarty/vendor.swiper.min.js +1 -0
  49. data/app/assets/javascripts/smarty/vendor_bundle.js +30514 -0
  50. data/app/assets/javascripts/smarty/vendor_bundle.min.js +2 -0
  51. data/app/assets/stylesheets/smarty/default/phcthemes_admin_panel_pack_smarty.scss +7 -0
  52. data/app/assets/stylesheets/smarty/theme/css/core.css +20170 -0
  53. data/app/assets/stylesheets/smarty/theme/css/core.min.css +2 -0
  54. data/app/assets/stylesheets/smarty/theme/css/vendor.chartjs.css +55 -0
  55. data/app/assets/stylesheets/smarty/theme/css/vendor.chartjs.min.css +1 -0
  56. data/app/assets/stylesheets/smarty/theme/css/vendor.cocoen.css +59 -0
  57. data/app/assets/stylesheets/smarty/theme/css/vendor.cocoen.min.css +1 -0
  58. data/app/assets/stylesheets/smarty/theme/css/vendor.colorpicker.css +1196 -0
  59. data/app/assets/stylesheets/smarty/theme/css/vendor.colorpicker.min.css +1 -0
  60. data/app/assets/stylesheets/smarty/theme/css/vendor.datatables.css +1258 -0
  61. data/app/assets/stylesheets/smarty/theme/css/vendor.datatables.min.css +1 -0
  62. data/app/assets/stylesheets/smarty/theme/css/vendor.datepicker.css +173 -0
  63. data/app/assets/stylesheets/smarty/theme/css/vendor.datepicker.min.css +1 -0
  64. data/app/assets/stylesheets/smarty/theme/css/vendor.daterangepicker.css +545 -0
  65. data/app/assets/stylesheets/smarty/theme/css/vendor.daterangepicker.min.css +1 -0
  66. data/app/assets/stylesheets/smarty/theme/css/vendor.fancybox.css +927 -0
  67. data/app/assets/stylesheets/smarty/theme/css/vendor.fancybox.min.css +1 -0
  68. data/app/assets/stylesheets/smarty/theme/css/vendor.flickity.css +263 -0
  69. data/app/assets/stylesheets/smarty/theme/css/vendor.flickity.min.css +1 -0
  70. data/app/assets/stylesheets/smarty/theme/css/vendor.flot.css +17 -0
  71. data/app/assets/stylesheets/smarty/theme/css/vendor.flot.min.css +1 -0
  72. data/app/assets/stylesheets/smarty/theme/css/vendor.fullcalendar.css +1685 -0
  73. data/app/assets/stylesheets/smarty/theme/css/vendor.fullcalendar.min.css +1 -0
  74. data/app/assets/stylesheets/smarty/theme/css/vendor.leaflet.css +653 -0
  75. data/app/assets/stylesheets/smarty/theme/css/vendor.leaflet.min.css +1 -0
  76. data/app/assets/stylesheets/smarty/theme/css/vendor.markdowneditor.css +7 -0
  77. data/app/assets/stylesheets/smarty/theme/css/vendor.markdowneditor.min.css +1 -0
  78. data/app/assets/stylesheets/smarty/theme/css/vendor.mediumeditor.css +308 -0
  79. data/app/assets/stylesheets/smarty/theme/css/vendor.mediumeditor.min.css +1 -0
  80. data/app/assets/stylesheets/smarty/theme/css/vendor.photoswipe.css +436 -0
  81. data/app/assets/stylesheets/smarty/theme/css/vendor.photoswipe.min.css +1 -0
  82. data/app/assets/stylesheets/smarty/theme/css/vendor.prismjs.css +364 -0
  83. data/app/assets/stylesheets/smarty/theme/css/vendor.prismjs.min.css +1 -0
  84. data/app/assets/stylesheets/smarty/theme/css/vendor.quilleditor.css +953 -0
  85. data/app/assets/stylesheets/smarty/theme/css/vendor.quilleditor.min.css +1 -0
  86. data/app/assets/stylesheets/smarty/theme/css/vendor.summernoteeditor.css +710 -0
  87. data/app/assets/stylesheets/smarty/theme/css/vendor.summernoteeditor.min.css +1 -0
  88. data/app/assets/stylesheets/smarty/theme/css/vendor.swiper.css +762 -0
  89. data/app/assets/stylesheets/smarty/theme/css/vendor.swiper.min.css +1 -0
  90. data/app/assets/stylesheets/smarty/theme/css/vendor_bundle.css +168 -0
  91. data/app/assets/stylesheets/smarty/theme/css/vendor_bundle.min.css +2 -0
  92. data/app/assets/stylesheets/smarty/theme/fonts/flaticon/Flaticon.eot +0 -0
  93. data/app/assets/stylesheets/smarty/theme/fonts/flaticon/Flaticon.svg +250 -0
  94. data/app/assets/stylesheets/smarty/theme/fonts/flaticon/Flaticon.ttf +0 -0
  95. data/app/assets/stylesheets/smarty/theme/fonts/flaticon/Flaticon.woff +0 -0
  96. data/app/assets/stylesheets/smarty/theme/fonts/flaticon/Flaticon.woff2 +0 -0
  97. data/app/assets/stylesheets/smarty/theme/fonts/summernote.eot +0 -0
  98. data/app/assets/stylesheets/smarty/theme/fonts/summernote.hash +1 -0
  99. data/app/assets/stylesheets/smarty/theme/fonts/summernote.ttf +0 -0
  100. data/app/assets/stylesheets/smarty/theme/fonts/summernote.woff +0 -0
  101. data/app/assets/stylesheets/smarty/theme/fonts/summernote.woff2 +0 -0
  102. data/app/assets/stylesheets/smarty/theme/images/credit_card/2co.svg +1 -0
  103. data/app/assets/stylesheets/smarty/theme/images/credit_card/amazon.svg +1 -0
  104. data/app/assets/stylesheets/smarty/theme/images/credit_card/amazon_pay_logo.svg +1 -0
  105. data/app/assets/stylesheets/smarty/theme/images/credit_card/american_express.svg +1 -0
  106. data/app/assets/stylesheets/smarty/theme/images/credit_card/apple_pay.svg +1 -0
  107. data/app/assets/stylesheets/smarty/theme/images/credit_card/bitcoin.svg +1 -0
  108. data/app/assets/stylesheets/smarty/theme/images/credit_card/dinners_club.svg +1 -0
  109. data/app/assets/stylesheets/smarty/theme/images/credit_card/discover.svg +1 -0
  110. data/app/assets/stylesheets/smarty/theme/images/credit_card/ebay.svg +1 -0
  111. data/app/assets/stylesheets/smarty/theme/images/credit_card/jcb.svg +1 -0
  112. data/app/assets/stylesheets/smarty/theme/images/credit_card/mastercard.svg +1 -0
  113. data/app/assets/stylesheets/smarty/theme/images/credit_card/paypal.svg +1 -0
  114. data/app/assets/stylesheets/smarty/theme/images/credit_card/paypal_logo.svg +1 -0
  115. data/app/assets/stylesheets/smarty/theme/images/credit_card/shopify.svg +1 -0
  116. data/app/assets/stylesheets/smarty/theme/images/credit_card/skrill.svg +1 -0
  117. data/app/assets/stylesheets/smarty/theme/images/credit_card/switch.svg +1 -0
  118. data/app/assets/stylesheets/smarty/theme/images/credit_card/visa.svg +1 -0
  119. data/app/assets/stylesheets/smarty/theme/images/credit_card/western_union.svg +1 -0
  120. data/app/assets/stylesheets/smarty/theme/images/flags.png +0 -0
  121. data/app/assets/stylesheets/smarty/theme/images/logo/logo_dark.svg +2 -0
  122. data/app/assets/stylesheets/smarty/theme/images/logo/logo_light.svg +2 -0
  123. data/app/assets/stylesheets/smarty/theme/images/logo/logo_sm.svg +1 -0
  124. data/app/assets/stylesheets/smarty/theme/images/manifest/icon_192x192.png +0 -0
  125. data/app/assets/stylesheets/smarty/theme/images/manifest/icon_512x512.png +0 -0
  126. data/app/assets/stylesheets/smarty/theme/images/manifest/manifest.json +20 -0
  127. data/app/assets/stylesheets/smarty/theme/images/masks/shape-line-lense.svg +1 -0
  128. data/lib/phcthemes_admin_panel_pack/version.rb +1 -1
  129. metadata +128 -2
@@ -0,0 +1 @@
1
+ !function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n||(n="undefined"!=typeof window?require("jquery"):require("jquery")(e)),t(n,e,e.document)}:window.DataTable=t(jQuery,window,document)}((function(t,e,n,r){"use strict";var o,i,a,s,l=function(e,n){if(this instanceof l)return t(e).DataTable(n);n=e,this.$=function(t,e){return this.api(!0).$(t,e)},this._=function(t,e){return this.api(!0).rows(t,e).data()},this.api=function(t){return new i(t?le(this[o.iApiIndex]):this)},this.fnAddData=function(e,n){var o=this.api(!0),i=Array.isArray(e)&&(Array.isArray(e[0])||t.isPlainObject(e[0]))?o.rows.add(e):o.row.add(e);return(n===r||n)&&o.draw(),i.flatten().toArray()},this.fnAdjustColumnSizing=function(t){var e=this.api(!0).columns.adjust(),n=e.settings()[0],o=n.oScroll;t===r||t?e.draw(!1):""===o.sX&&""===o.sY||Mt(n)},this.fnClearTable=function(t){var e=this.api(!0).clear();(t===r||t)&&e.draw()},this.fnClose=function(t){this.api(!0).row(t).child.hide()},this.fnDeleteRow=function(t,e,n){var o=this.api(!0),i=o.rows(t),a=i.settings()[0],s=a.aoData[i[0][0]];return i.remove(),e&&e.call(this,a,s),(n===r||n)&&o.draw(),s},this.fnDestroy=function(t){this.api(!0).destroy(t)},this.fnDraw=function(t){this.api(!0).draw(t)},this.fnFilter=function(t,e,n,o,i,a){var s=this.api(!0);null===e||e===r?s.search(t,n,o,a):s.column(e).search(t,n,o,a),s.draw()},this.fnGetData=function(t,e){var n=this.api(!0);if(t!==r){var o=t.nodeName?t.nodeName.toLowerCase():"";return e!==r||"td"==o||"th"==o?n.cell(t,e).data():n.row(t).data()||null}return n.data().toArray()},this.fnGetNodes=function(t){var e=this.api(!0);return t!==r?e.row(t).node():e.rows().nodes().flatten().toArray()},this.fnGetPosition=function(t){var e=this.api(!0),n=t.nodeName.toUpperCase();if("TR"==n)return e.row(t).index();if("TD"==n||"TH"==n){var r=e.cell(t).index();return[r.row,r.columnVisible,r.column]}return null},this.fnIsOpen=function(t){return this.api(!0).row(t).child.isShown()},this.fnOpen=function(t,e,n){return this.api(!0).row(t).child(e,n).show().child()[0]},this.fnPageChange=function(t,e){var n=this.api(!0).page(t);(e===r||e)&&n.draw(!1)},this.fnSetColumnVis=function(t,e,n){var o=this.api(!0).column(t).visible(e);(n===r||n)&&o.columns.adjust().draw()},this.fnSettings=function(){return le(this[o.iApiIndex])},this.fnSort=function(t){this.api(!0).order(t).draw()},this.fnSortListener=function(t,e,n){this.api(!0).order.listener(t,e,n)},this.fnUpdate=function(t,e,n,o,i){var a=this.api(!0);return n===r||null===n?a.row(e).data(t):a.cell(e,n).data(t),(i===r||i)&&a.columns.adjust(),(o===r||o)&&a.draw(),0},this.fnVersionCheck=o.fnVersionCheck;var a=this,s=n===r,d=this.length;for(var c in s&&(n={}),this.oApi=this.internal=o.internal,l.ext.internal)c&&(this[c]=Pe(c));return this.each((function(){var e,o=d>1?ue({},n,!0):n,i=0,c=this.getAttribute("id"),u=!1,f=l.defaults,h=t(this);if("table"==this.nodeName.toLowerCase()){B(f),O(f.column),F(f,f,!0),F(f.column,f.column,!0),F(f,t.extend(o,h.data()),!0);var p=l.settings;for(i=0,e=p.length;i<e;i++){var m=p[i];if(m.nTable==this||m.nTHead&&m.nTHead.parentNode==this||m.nTFoot&&m.nTFoot.parentNode==this){var b=o.bRetrieve!==r?o.bRetrieve:f.bRetrieve,g=o.bDestroy!==r?o.bDestroy:f.bDestroy;if(s||b)return m.oInstance;if(g){m.oInstance.fnDestroy();break}return void de(m,0,"Cannot reinitialise DataTable",3)}if(m.sTableId==this.id){p.splice(i,1);break}}null!==c&&""!==c||(c="DataTables_Table_"+l.ext._unique++,this.id=c);var v=t.extend(!0,{},l.models.oSettings,{sDestroyWidth:h[0].style.width,sInstance:c,sTableId:c});v.nTable=this,v.oApi=a.internal,v.oInit=o,p.push(v),v.oInstance=1===a.length?a:h.dataTable(),B(o),A(o.oLanguage),o.aLengthMenu&&!o.iDisplayLength&&(o.iDisplayLength=Array.isArray(o.aLengthMenu[0])?o.aLengthMenu[0][0]:o.aLengthMenu[0]),o=ue(t.extend(!0,{},f),o),ce(v.oFeatures,o,["bPaginate","bLengthChange","bFilter","bSort","bSortMulti","bInfo","bProcessing","bAutoWidth","bSortClasses","bServerSide","bDeferRender"]),ce(v,o,["asStripeClasses","ajax","fnServerData","fnFormatNumber","sServerMethod","aaSorting","aaSortingFixed","aLengthMenu","sPaginationType","sAjaxSource","sAjaxDataProp","iStateDuration","sDom","bSortCellsTop","iTabIndex","fnStateLoadCallback","fnStateSaveCallback","renderer","searchDelay","rowId",["iCookieDuration","iStateDuration"],["oSearch","oPreviousSearch"],["aoSearchCols","aoPreSearchCols"],["iDisplayLength","_iDisplayLength"]]),ce(v.oScroll,o,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]),ce(v.oLanguage,o,"fnInfoCallback"),he(v,"aoDrawCallback",o.fnDrawCallback,"user"),he(v,"aoServerParams",o.fnServerParams,"user"),he(v,"aoStateSaveParams",o.fnStateSaveParams,"user"),he(v,"aoStateLoadParams",o.fnStateLoadParams,"user"),he(v,"aoStateLoaded",o.fnStateLoaded,"user"),he(v,"aoRowCallback",o.fnRowCallback,"user"),he(v,"aoRowCreatedCallback",o.fnCreatedRow,"user"),he(v,"aoHeaderCallback",o.fnHeaderCallback,"user"),he(v,"aoFooterCallback",o.fnFooterCallback,"user"),he(v,"aoInitComplete",o.fnInitComplete,"user"),he(v,"aoPreDrawCallback",o.fnPreDrawCallback,"user"),v.rowIdFn=J(o.rowId),N(v);var y=v.oClasses;if(t.extend(y,l.ext.classes,o.oClasses),h.addClass(y.sTable),v.iInitDisplayStart===r&&(v.iInitDisplayStart=o.iDisplayStart,v._iDisplayStart=o.iDisplayStart),null!==o.iDeferLoading){v.bDeferLoading=!0;var _=Array.isArray(o.iDeferLoading);v._iRecordsDisplay=_?o.iDeferLoading[0]:o.iDeferLoading,v._iRecordsTotal=_?o.iDeferLoading[1]:o.iDeferLoading}var w=v.oLanguage;t.extend(!0,w,o.oLanguage),w.sUrl?(t.ajax({dataType:"json",url:w.sUrl,success:function(e){F(f.oLanguage,e),A(e),t.extend(!0,w,e),pe(v,null,"i18n",[v]),Nt(v)},error:function(){Nt(v)}}),u=!0):pe(v,null,"i18n",[v]),null===o.asStripeClasses&&(v.asStripeClasses=[y.sStripeOdd,y.sStripeEven]);var x=v.asStripeClasses,C=h.children("tbody").find("tr").eq(0);-1!==t.inArray(!0,t.map(x,(function(t,e){return C.hasClass(t)})))&&(t("tbody tr",this).removeClass(x.join(" ")),v.asDestroyStripes=x.slice());var S,T=[],I=this.getElementsByTagName("thead");if(0!==I.length&&(ft(v.aoHeader,I[0]),T=ht(v)),null===o.aoColumns)for(S=[],i=0,e=T.length;i<e;i++)S.push(null);else S=o.aoColumns;for(i=0,e=S.length;i<e;i++)E(v,T?T[i]:null);if(q(v,o.aoColumnDefs,S,(function(t,e){P(v,t,e)})),C.length){var k=function(t,e){return null!==t.getAttribute("data-"+e)?e:null};t(C[0]).children("th, td").each((function(t,e){var n=v.aoColumns[t];if(n.mData===t){var o=k(e,"sort")||k(e,"order"),i=k(e,"filter")||k(e,"search");null===o&&null===i||(n.mData={_:t+".display",sort:null!==o?t+".@data-"+o:r,type:null!==o?t+".@data-"+o:r,filter:null!==i?t+".@data-"+i:r},P(v,t))}}))}var D=v.oFeatures,R=function(){if(o.aaSorting===r){var n=v.aaSorting;for(i=0,e=n.length;i<e;i++)n[i][1]=v.aoColumns[i].asSorting[0]}re(v),D.bSort&&he(v,"aoDrawCallback",(function(){if(v.bSorted){var e=Jt(v),n={};t.each(e,(function(t,e){n[e.src]=e.dir})),pe(v,null,"order",[v,e,n]),te(v)}})),he(v,"aoDrawCallback",(function(){(v.bSorted||"ssp"===ge(v)||D.bDeferRender)&&re(v)}),"sc");var a=h.children("caption").each((function(){this._captionSide=t(this).css("caption-side")})),s=h.children("thead");0===s.length&&(s=t("<thead/>").appendTo(h)),v.nTHead=s[0];var l=h.children("tbody");0===l.length&&(l=t("<tbody/>").insertAfter(s)),v.nTBody=l[0];var d=h.children("tfoot");if(0===d.length&&a.length>0&&(""!==v.oScroll.sX||""!==v.oScroll.sY)&&(d=t("<tfoot/>").appendTo(h)),0===d.length||0===d.children().length?h.addClass(y.sNoFooter):d.length>0&&(v.nTFoot=d[0],ft(v.aoFooter,v.nTFoot)),o.aaData)for(i=0;i<o.aaData.length;i++)V(v,o.aaData[i]);else(v.bDeferLoading||"dom"==ge(v))&&Z(v,t(v.nTBody).children("tr"));v.aiDisplay=v.aiDisplayMaster.slice(),v.bInitialised=!0,!1===u&&Nt(v)};he(v,"aoDrawCallback",ie,"state_save"),o.bStateSave?(D.bStateSave=!0,ae(v,o,R)):R()}else de(null,0,"Non-table node initialisation ("+this.nodeName+")",2)})),a=null,this},d={},c=/[\r\n\u2028]/g,u=/<.*?>/g,f=/^\d{2,4}[\.\/\-]\d{1,2}[\.\/\-]\d{1,2}([T ]{1}\d{1,2}[:\.]\d{2}([\.:]\d{2})?)?$/,h=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^","-"].join("|\\")+")","g"),p=/['\u00A0,$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ]/gi,m=function(t){return!t||!0===t||"-"===t},b=function(t){var e=parseInt(t,10);return!isNaN(e)&&isFinite(t)?e:null},g=function(t,e){return d[e]||(d[e]=new RegExp(Tt(e),"g")),"string"==typeof t&&"."!==e?t.replace(/\./g,"").replace(d[e],"."):t},v=function(t,e,n){var r="string"==typeof t;return!!m(t)||(e&&r&&(t=g(t,e)),n&&r&&(t=t.replace(p,"")),!isNaN(parseFloat(t))&&isFinite(t))},y=function(t,e,n){if(m(t))return!0;var r=function(t){return m(t)||"string"==typeof t}(t);return r&&!!v(S(t),e,n)||null},_=function(t,e,n){var o=[],i=0,a=t.length;if(n!==r)for(;i<a;i++)t[i]&&t[i][e]&&o.push(t[i][e][n]);else for(;i<a;i++)t[i]&&o.push(t[i][e]);return o},w=function(t,e,n,o){var i=[],a=0,s=e.length;if(o!==r)for(;a<s;a++)t[e[a]][n]&&i.push(t[e[a]][n][o]);else for(;a<s;a++)i.push(t[e[a]][n]);return i},x=function(t,e){var n,o=[];e===r?(e=0,n=t):(n=e,e=t);for(var i=e;i<n;i++)o.push(i);return o},C=function(t){for(var e=[],n=0,r=t.length;n<r;n++)t[n]&&e.push(t[n]);return e},S=function(t){return t.replace(u,"")},T=function(t){if(function(t){if(t.length<2)return!0;for(var e=t.slice().sort(),n=e[0],r=1,o=e.length;r<o;r++){if(e[r]===n)return!1;n=e[r]}return!0}(t))return t.slice();var e,n,r,o=[],i=t.length,a=0;t:for(n=0;n<i;n++){for(e=t[n],r=0;r<a;r++)if(o[r]===e)continue t;o.push(e),a++}return o},I=function(t,e){if(Array.isArray(e))for(var n=0;n<e.length;n++)I(t,e[n]);else t.push(e);return t},k=function(t,e){return e===r&&(e=0),-1!==this.indexOf(t,e)};function D(e){var n,r,o={};t.each(e,(function(t,i){(n=t.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(n[1]+" ")&&(r=t.replace(n[0],n[2].toLowerCase()),o[r]=t,"o"===n[1]&&D(e[t]))})),e._hungarianMap=o}function F(e,n,o){var i;e._hungarianMap||D(e),t.each(n,(function(a,s){(i=e._hungarianMap[a])===r||!o&&n[i]!==r||("o"===i.charAt(0)?(n[i]||(n[i]={}),t.extend(!0,n[i],n[a]),F(e[i],n[i],o)):n[i]=n[a])}))}function A(t){var e=l.defaults.oLanguage,n=e.sDecimal;if(n&&Le(n),t){var r=t.sZeroRecords;!t.sEmptyTable&&r&&"No data available in table"===e.sEmptyTable&&ce(t,t,"sZeroRecords","sEmptyTable"),!t.sLoadingRecords&&r&&"Loading..."===e.sLoadingRecords&&ce(t,t,"sZeroRecords","sLoadingRecords"),t.sInfoThousands&&(t.sThousands=t.sInfoThousands);var o=t.sDecimal;o&&n!==o&&Le(o)}}Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),Array.prototype.includes||(Array.prototype.includes=k),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}),String.prototype.includes||(String.prototype.includes=k),l.util={throttle:function(t,e){var n,o,i=e!==r?e:200;return function(){var e=this,a=+new Date,s=arguments;n&&a<n+i?(clearTimeout(o),o=setTimeout((function(){n=r,t.apply(e,s)}),i)):(n=a,t.apply(e,s))}},escapeRegex:function(t){return t.replace(h,"\\$1")},set:function(e){if(t.isPlainObject(e))return l.util.set(e._);if(null===e)return function(){};if("function"==typeof e)return function(t,n,r){e(t,"set",n,r)};if("string"!=typeof e||-1===e.indexOf(".")&&-1===e.indexOf("[")&&-1===e.indexOf("("))return function(t,n){t[e]=n};var n=function(t,e,o){for(var i,a,s,l,d,c=Y(o),u=c[c.length-1],f=0,h=c.length-1;f<h;f++){if("__proto__"===c[f]||"constructor"===c[f])throw new Error("Cannot set prototype values");if(a=c[f].match($),s=c[f].match(K),a){if(c[f]=c[f].replace($,""),t[c[f]]=[],(i=c.slice()).splice(0,f+1),d=i.join("."),Array.isArray(e))for(var p=0,m=e.length;p<m;p++)n(l={},e[p],d),t[c[f]].push(l);else t[c[f]]=e;return}s&&(c[f]=c[f].replace(K,""),t=t[c[f]](e)),null!==t[c[f]]&&t[c[f]]!==r||(t[c[f]]={}),t=t[c[f]]}u.match(K)?t=t[u.replace(K,"")](e):t[u.replace($,"")]=e};return function(t,r){return n(t,r,e)}},get:function(e){if(t.isPlainObject(e)){var n={};return t.each(e,(function(t,e){e&&(n[t]=l.util.get(e))})),function(t,e,o,i){var a=n[e]||n._;return a!==r?a(t,e,o,i):t}}if(null===e)return function(t){return t};if("function"==typeof e)return function(t,n,r,o){return e(t,n,r,o)};if("string"!=typeof e||-1===e.indexOf(".")&&-1===e.indexOf("[")&&-1===e.indexOf("("))return function(t,n){return t[e]};var o=function(t,e,n){var i,a,s,l;if(""!==n)for(var d=Y(n),c=0,u=d.length;c<u;c++){if(i=d[c].match($),a=d[c].match(K),i){if(d[c]=d[c].replace($,""),""!==d[c]&&(t=t[d[c]]),s=[],d.splice(0,c+1),l=d.join("."),Array.isArray(t))for(var f=0,h=t.length;f<h;f++)s.push(o(t[f],e,l));var p=i[0].substring(1,i[0].length-1);t=""===p?s:s.join(p);break}if(a)d[c]=d[c].replace(K,""),t=t[d[c]]();else{if(null===t||t[d[c]]===r)return r;t=t[d[c]]}}return t};return function(t,n){return o(t,n,e)}}};var R=function(t,e,n){t[e]!==r&&(t[n]=t[e])};function B(t){R(t,"ordering","bSort"),R(t,"orderMulti","bSortMulti"),R(t,"orderClasses","bSortClasses"),R(t,"orderCellsTop","bSortCellsTop"),R(t,"order","aaSorting"),R(t,"orderFixed","aaSortingFixed"),R(t,"paging","bPaginate"),R(t,"pagingType","sPaginationType"),R(t,"pageLength","iDisplayLength"),R(t,"searching","bFilter"),"boolean"==typeof t.sScrollX&&(t.sScrollX=t.sScrollX?"100%":""),"boolean"==typeof t.scrollX&&(t.scrollX=t.scrollX?"100%":"");var e=t.aoSearchCols;if(e)for(var n=0,r=e.length;n<r;n++)e[n]&&F(l.models.oSearch,e[n])}function O(t){R(t,"orderable","bSortable"),R(t,"orderData","aDataSort"),R(t,"orderSequence","asSorting"),R(t,"orderDataType","sortDataType");var e=t.aDataSort;"number"!=typeof e||Array.isArray(e)||(t.aDataSort=[e])}function N(n){if(!l.__browser){var r={};l.__browser=r;var o=t("<div/>").css({position:"fixed",top:0,left:-1*t(e).scrollLeft(),height:1,width:1,overflow:"hidden"}).append(t("<div/>").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(t("<div/>").css({width:"100%",height:10}))).appendTo("body"),i=o.children(),a=i.children();r.barWidth=i[0].offsetWidth-i[0].clientWidth,r.bScrollOversize=100===a[0].offsetWidth&&100!==i[0].clientWidth,r.bScrollbarLeft=1!==Math.round(a.offset().left),r.bBounding=!!o[0].getBoundingClientRect().width,o.remove()}t.extend(n.oBrowser,l.__browser),n.oScroll.iBarWidth=l.__browser.barWidth}function L(t,e,n,o,i,a){var s,l=o,d=!1;for(n!==r&&(s=n,d=!0);l!==i;)t.hasOwnProperty(l)&&(s=d?e(s,t[l],l,t):t[l],d=!0,l+=a);return s}function E(e,r){var o=l.defaults.column,i=e.aoColumns.length,a=t.extend({},l.models.oColumn,o,{nTh:r||n.createElement("th"),sTitle:o.sTitle?o.sTitle:r?r.innerHTML:"",aDataSort:o.aDataSort?o.aDataSort:[i],mData:o.mData?o.mData:i,idx:i});e.aoColumns.push(a);var s=e.aoPreSearchCols;s[i]=t.extend({},l.models.oSearch,s[i]),P(e,i,t(r).data())}function P(e,n,o){var i=e.aoColumns[n],a=e.oClasses,s=t(i.nTh);if(!i.sWidthOrig){i.sWidthOrig=s.attr("width")||null;var d=(s.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);d&&(i.sWidthOrig=d[1])}o!==r&&null!==o&&(O(o),F(l.defaults.column,o,!0),o.mDataProp===r||o.mData||(o.mData=o.mDataProp),o.sType&&(i._sManualType=o.sType),o.className&&!o.sClass&&(o.sClass=o.className),o.sClass&&s.addClass(o.sClass),t.extend(i,o),ce(i,o,"sWidth","sWidthOrig"),o.iDataSort!==r&&(i.aDataSort=[o.iDataSort]),ce(i,o,"aDataSort"));var c=i.mData,u=J(c),f=i.mRender?J(i.mRender):null,h=function(t){return"string"==typeof t&&-1!==t.indexOf("@")};i._bAttrSrc=t.isPlainObject(c)&&(h(c.sort)||h(c.type)||h(c.filter)),i._setter=null,i.fnGetData=function(t,e,n){var o=u(t,e,r,n);return f&&e?f(o,e,t,n):o},i.fnSetData=function(t,e,n){return Q(c)(t,e,n)},"number"!=typeof c&&(e._rowReadObject=!0),e.oFeatures.bSort||(i.bSortable=!1,s.addClass(a.sSortableNone));var p=-1!==t.inArray("asc",i.asSorting),m=-1!==t.inArray("desc",i.asSorting);i.bSortable&&(p||m)?p&&!m?(i.sSortingClass=a.sSortableAsc,i.sSortingClassJUI=a.sSortJUIAscAllowed):!p&&m?(i.sSortingClass=a.sSortableDesc,i.sSortingClassJUI=a.sSortJUIDescAllowed):(i.sSortingClass=a.sSortable,i.sSortingClassJUI=a.sSortJUI):(i.sSortingClass=a.sSortableNone,i.sSortingClassJUI="")}function z(t){if(!1!==t.oFeatures.bAutoWidth){var e=t.aoColumns;Zt(t);for(var n=0,r=e.length;n<r;n++)e[n].nTh.style.width=e[n].sWidth}var o=t.oScroll;""===o.sY&&""===o.sX||Mt(t),pe(t,null,"column-sizing",[t])}function j(t,e){var n=U(t,"bVisible");return"number"==typeof n[e]?n[e]:null}function H(e,n){var r=U(e,"bVisible"),o=t.inArray(n,r);return-1!==o?o:null}function W(e){var n=0;return t.each(e.aoColumns,(function(e,r){r.bVisible&&"none"!==t(r.nTh).css("display")&&n++})),n}function U(e,n){var r=[];return t.map(e.aoColumns,(function(t,e){t[n]&&r.push(e)})),r}function M(t){var e,n,o,i,a,s,d,c,u,f=t.aoColumns,h=t.aoData,p=l.ext.type.detect;for(e=0,n=f.length;e<n;e++)if(u=[],!(d=f[e]).sType&&d._sManualType)d.sType=d._sManualType;else if(!d.sType){for(o=0,i=p.length;o<i;o++){for(a=0,s=h.length;a<s&&(u[a]===r&&(u[a]=X(t,a,e,"type")),(c=p[o](u[a],t))||o===p.length-1)&&("html"!==c||m(u[a]));a++);if(c){d.sType=c;break}}d.sType||(d.sType="string")}}function q(e,n,o,i){var a,s,l,d,c,u,f,h=e.aoColumns;if(n)for(a=n.length-1;a>=0;a--){var p=(f=n[a]).targets!==r?f.targets:f.aTargets;for(Array.isArray(p)||(p=[p]),l=0,d=p.length;l<d;l++)if("number"==typeof p[l]&&p[l]>=0){for(;h.length<=p[l];)E(e);i(p[l],f)}else if("number"==typeof p[l]&&p[l]<0)i(h.length+p[l],f);else if("string"==typeof p[l])for(c=0,u=h.length;c<u;c++)("_all"==p[l]||t(h[c].nTh).hasClass(p[l]))&&i(c,f)}if(o)for(a=0,s=o.length;a<s;a++)i(a,o[a])}function V(e,n,o,i){var a=e.aoData.length,s=t.extend(!0,{},l.models.oRow,{src:o?"dom":"data",idx:a});s._aData=n,e.aoData.push(s);for(var d=e.aoColumns,c=0,u=d.length;c<u;c++)d[c].sType=null;e.aiDisplayMaster.push(a);var f=e.rowIdFn(n);return f!==r&&(e.aIds[f]=s),!o&&e.oFeatures.bDeferRender||it(e,a,o,i),a}function Z(e,n){var r;return n instanceof t||(n=t(n)),n.map((function(t,n){return r=ot(e,n),V(e,r.data,n,r.cells)}))}function X(t,e,n,o){"search"===o?o="filter":"order"===o&&(o="sort");var i=t.iDraw,a=t.aoColumns[n],s=t.aoData[e]._aData,d=a.sDefaultContent,c=a.fnGetData(s,o,{settings:t,row:e,col:n});if(c===r)return t.iDrawError!=i&&null===d&&(de(t,0,"Requested unknown parameter "+("function"==typeof a.mData?"{function}":"'"+a.mData+"'")+" for row "+e+", column "+n,4),t.iDrawError=i),d;if(c!==s&&null!==c||null===d||o===r){if("function"==typeof c)return c.call(s)}else c=d;if(null===c&&"display"===o)return"";if("filter"===o){var u=l.ext.type.search;u[a.sType]&&(c=u[a.sType](c))}return c}function G(t,e,n,r){var o=t.aoColumns[n],i=t.aoData[e]._aData;o.fnSetData(i,r,{settings:t,row:e,col:n})}var $=/\[.*?\]$/,K=/\(\)$/;function Y(e){return t.map(e.match(/(\\.|[^\.])+/g)||[""],(function(t){return t.replace(/\\\./g,".")}))}var J=l.util.get,Q=l.util.set;function tt(t){return _(t.aoData,"_aData")}function et(t){t.aoData.length=0,t.aiDisplayMaster.length=0,t.aiDisplay.length=0,t.aIds={}}function nt(t,e,n){for(var o=-1,i=0,a=t.length;i<a;i++)t[i]==e?o=i:t[i]>e&&t[i]--;-1!=o&&n===r&&t.splice(o,1)}function rt(t,e,n,o){var i,a,s=t.aoData[e],l=function(n,r){for(;n.childNodes.length;)n.removeChild(n.firstChild);n.innerHTML=X(t,e,r,"display")};if("dom"!==n&&(n&&"auto"!==n||"dom"!==s.src)){var d=s.anCells;if(d)if(o!==r)l(d[o],o);else for(i=0,a=d.length;i<a;i++)l(d[i],i)}else s._aData=ot(t,s,o,o===r?r:s._aData).data;s._aSortData=null,s._aFilterData=null;var c=t.aoColumns;if(o!==r)c[o].sType=null;else{for(i=0,a=c.length;i<a;i++)c[i].sType=null;at(t,s)}}function ot(t,e,n,o){var i,a,s,l=[],d=e.firstChild,c=0,u=t.aoColumns,f=t._rowReadObject;o=o!==r?o:f?{}:[];var h=function(t,e){if("string"==typeof t){var n=t.indexOf("@");if(-1!==n){var r=t.substring(n+1);Q(t)(o,e.getAttribute(r))}}},p=function(t){n!==r&&n!==c||(a=u[c],s=t.innerHTML.trim(),a&&a._bAttrSrc?(Q(a.mData._)(o,s),h(a.mData.sort,t),h(a.mData.type,t),h(a.mData.filter,t)):f?(a._setter||(a._setter=Q(a.mData)),a._setter(o,s)):o[c]=s);c++};if(d)for(;d;)"TD"!=(i=d.nodeName.toUpperCase())&&"TH"!=i||(p(d),l.push(d)),d=d.nextSibling;else for(var m=0,b=(l=e.anCells).length;m<b;m++)p(l[m]);var g=e.firstChild?e:e.nTr;if(g){var v=g.getAttribute("id");v&&Q(t.rowId)(o,v)}return{data:o,cells:l}}function it(e,r,o,i){var a,s,l,d,c,u,f=e.aoData[r],h=f._aData,p=[];if(null===f.nTr){for(a=o||n.createElement("tr"),f.nTr=a,f.anCells=p,a._DT_RowIndex=r,at(e,f),d=0,c=e.aoColumns.length;d<c;d++)l=e.aoColumns[d],(s=(u=!o)?n.createElement(l.sCellType):i[d])._DT_CellIndex={row:r,column:d},p.push(s),!u&&(!l.mRender&&l.mData===d||t.isPlainObject(l.mData)&&l.mData._===d+".display")||(s.innerHTML=X(e,r,d,"display")),l.sClass&&(s.className+=" "+l.sClass),l.bVisible&&!o?a.appendChild(s):!l.bVisible&&o&&s.parentNode.removeChild(s),l.fnCreatedCell&&l.fnCreatedCell.call(e.oInstance,s,X(e,r,d),h,r,d);pe(e,"aoRowCreatedCallback",null,[a,h,r,p])}}function at(e,n){var r=n.nTr,o=n._aData;if(r){var i=e.rowIdFn(o);if(i&&(r.id=i),o.DT_RowClass){var a=o.DT_RowClass.split(" ");n.__rowc=n.__rowc?T(n.__rowc.concat(a)):a,t(r).removeClass(n.__rowc.join(" ")).addClass(o.DT_RowClass)}o.DT_RowAttr&&t(r).attr(o.DT_RowAttr),o.DT_RowData&&t(r).data(o.DT_RowData)}}function st(e){var n,r,o,i,a,s=e.nTHead,l=e.nTFoot,d=0===t("th, td",s).length,c=e.oClasses,u=e.aoColumns;for(d&&(i=t("<tr/>").appendTo(s)),n=0,r=u.length;n<r;n++)a=u[n],o=t(a.nTh).addClass(a.sClass),d&&o.appendTo(i),e.oFeatures.bSort&&(o.addClass(a.sSortingClass),!1!==a.bSortable&&(o.attr("tabindex",e.iTabIndex).attr("aria-controls",e.sTableId),ne(e,a.nTh,n))),a.sTitle!=o[0].innerHTML&&o.html(a.sTitle),be(e,"header")(e,o,a,c);if(d&&ft(e.aoHeader,s),t(s).children("tr").children("th, td").addClass(c.sHeaderTH),t(l).children("tr").children("th, td").addClass(c.sFooterTH),null!==l){var f=e.aoFooter[0];for(n=0,r=f.length;n<r;n++)(a=u[n]).nTf=f[n].cell,a.sClass&&t(a.nTf).addClass(a.sClass)}}function lt(e,n,o){var i,a,s,l,d,c,u,f,h,p=[],m=[],b=e.aoColumns.length;if(n){for(o===r&&(o=!1),i=0,a=n.length;i<a;i++){for(p[i]=n[i].slice(),p[i].nTr=n[i].nTr,s=b-1;s>=0;s--)e.aoColumns[s].bVisible||o||p[i].splice(s,1);m.push([])}for(i=0,a=p.length;i<a;i++){if(u=p[i].nTr)for(;c=u.firstChild;)u.removeChild(c);for(s=0,l=p[i].length;s<l;s++)if(f=1,h=1,m[i][s]===r){for(u.appendChild(p[i][s].cell),m[i][s]=1;p[i+f]!==r&&p[i][s].cell==p[i+f][s].cell;)m[i+f][s]=1,f++;for(;p[i][s+h]!==r&&p[i][s].cell==p[i][s+h].cell;){for(d=0;d<f;d++)m[i+d][s+h]=1;h++}t(p[i][s].cell).attr("rowspan",f).attr("colspan",h)}}}}function dt(e,n){var o=pe(e,"aoPreDrawCallback","preDraw",[e]);if(-1===t.inArray(!1,o)){var i=[],a=0,s=e.asStripeClasses,l=s.length,d=(e.aoOpenRows.length,e.oLanguage),c=e.iInitDisplayStart,u="ssp"==ge(e),f=e.aiDisplay;e.bDrawing=!0,c!==r&&-1!==c&&(e._iDisplayStart=u?c:c>=e.fnRecordsDisplay()?0:c,e.iInitDisplayStart=-1);var h=e._iDisplayStart,p=e.fnDisplayEnd();if(e.bDeferLoading)e.bDeferLoading=!1,e.iDraw++,Wt(e,!1);else if(u){if(!e.bDestroying&&!n)return void mt(e)}else e.iDraw++;if(0!==f.length)for(var m=u?0:h,b=u?e.aoData.length:p,g=m;g<b;g++){var v=f[g],y=e.aoData[v];null===y.nTr&&it(e,v);var _=y.nTr;if(0!==l){var w=s[a%l];y._sRowStripe!=w&&(t(_).removeClass(y._sRowStripe).addClass(w),y._sRowStripe=w)}pe(e,"aoRowCallback",null,[_,y._aData,a,g,v]),i.push(_),a++}else{var x=d.sZeroRecords;1==e.iDraw&&"ajax"==ge(e)?x=d.sLoadingRecords:d.sEmptyTable&&0===e.fnRecordsTotal()&&(x=d.sEmptyTable),i[0]=t("<tr/>",{class:l?s[0]:""}).append(t("<td />",{valign:"top",colSpan:W(e),class:e.oClasses.sRowEmpty}).html(x))[0]}pe(e,"aoHeaderCallback","header",[t(e.nTHead).children("tr")[0],tt(e),h,p,f]),pe(e,"aoFooterCallback","footer",[t(e.nTFoot).children("tr")[0],tt(e),h,p,f]);var C=t(e.nTBody);C.children().detach(),C.append(t(i)),pe(e,"aoDrawCallback","draw",[e]),e.bSorted=!1,e.bFiltered=!1,e.bDrawing=!1}else Wt(e,!1)}function ct(t,e){var n=t.oFeatures,r=n.bSort,o=n.bFilter;r&&Qt(t),o?_t(t,t.oPreviousSearch):t.aiDisplay=t.aiDisplayMaster.slice(),!0!==e&&(t._iDisplayStart=0),t._drawHold=e,dt(t),t._drawHold=!1}function ut(e){var n=e.oClasses,r=t(e.nTable),o=t("<div/>").insertBefore(r),i=e.oFeatures,a=t("<div/>",{id:e.sTableId+"_wrapper",class:n.sWrapper+(e.nTFoot?"":" "+n.sNoFooter)});e.nHolding=o[0],e.nTableWrapper=a[0],e.nTableReinsertBefore=e.nTable.nextSibling;for(var s,d,c,u,f,h,p=e.sDom.split(""),m=0;m<p.length;m++){if(s=null,"<"==(d=p[m])){if(c=t("<div/>")[0],"'"==(u=p[m+1])||'"'==u){for(f="",h=2;p[m+h]!=u;)f+=p[m+h],h++;if("H"==f?f=n.sJUIHeader:"F"==f&&(f=n.sJUIFooter),-1!=f.indexOf(".")){var b=f.split(".");c.id=b[0].substr(1,b[0].length-1),c.className=b[1]}else"#"==f.charAt(0)?c.id=f.substr(1,f.length-1):c.className=f;m+=h}a.append(c),a=t(c)}else if(">"==d)a=a.parent();else if("l"==d&&i.bPaginate&&i.bLengthChange)s=Pt(e);else if("f"==d&&i.bFilter)s=yt(e);else if("r"==d&&i.bProcessing)s=Ht(e);else if("t"==d)s=Ut(e);else if("i"==d&&i.bInfo)s=Rt(e);else if("p"==d&&i.bPaginate)s=zt(e);else if(0!==l.ext.feature.length)for(var g=l.ext.feature,v=0,y=g.length;v<y;v++)if(d==g[v].cFeature){s=g[v].fnInit(e);break}if(s){var _=e.aanFeatures;_[d]||(_[d]=[]),_[d].push(s),a.append(s)}}o.replaceWith(a),e.nHolding=null}function ft(e,n){var r,o,i,a,s,l,d,c,u,f,h=t(n).children("tr"),p=function(t,e,n){for(var r=t[e];r[n];)n++;return n};for(e.splice(0,e.length),i=0,l=h.length;i<l;i++)e.push([]);for(i=0,l=h.length;i<l;i++)for(0,o=(r=h[i]).firstChild;o;){if("TD"==o.nodeName.toUpperCase()||"TH"==o.nodeName.toUpperCase())for(c=(c=1*o.getAttribute("colspan"))&&0!==c&&1!==c?c:1,u=(u=1*o.getAttribute("rowspan"))&&0!==u&&1!==u?u:1,d=p(e,i,0),f=1===c,s=0;s<c;s++)for(a=0;a<u;a++)e[i+a][d+s]={cell:o,unique:f},e[i+a].nTr=r;o=o.nextSibling}}function ht(t,e,n){var r=[];n||(n=t.aoHeader,e&&ft(n=[],e));for(var o=0,i=n.length;o<i;o++)for(var a=0,s=n[o].length;a<s;a++)!n[o][a].unique||r[a]&&t.bSortCellsTop||(r[a]=n[o][a].cell);return r}function pt(e,n,r){if(pe(e,"aoServerParams","serverParams",[n]),n&&Array.isArray(n)){var o={},i=/(.*?)\[\]$/;t.each(n,(function(t,e){var n=e.name.match(i);if(n){var r=n[0];o[r]||(o[r]=[]),o[r].push(e.value)}else o[e.name]=e.value})),n=o}var a,s=e.ajax,l=e.oInstance,d=function(t){var n=e.jqXhr?e.jqXhr.status:null;(null===t||"number"==typeof n&&204==n)&&vt(e,t={},[]);var o=t.error||t.sError;o&&de(e,0,o),e.json=t,pe(e,null,"xhr",[e,t,e.jqXHR]),r(t)};if(t.isPlainObject(s)&&s.data){var c="function"==typeof(a=s.data)?a(n,e):a;n="function"==typeof a&&c?c:t.extend(!0,n,c),delete s.data}var u={data:n,success:d,dataType:"json",cache:!1,type:e.sServerMethod,error:function(n,r,o){var i=pe(e,null,"xhr",[e,null,e.jqXHR]);-1===t.inArray(!0,i)&&("parsererror"==r?de(e,0,"Invalid JSON response",1):4===n.readyState&&de(e,0,"Ajax error",7)),Wt(e,!1)}};e.oAjaxData=n,pe(e,null,"preXhr",[e,n]),e.fnServerData?e.fnServerData.call(l,e.sAjaxSource,t.map(n,(function(t,e){return{name:e,value:t}})),d,e):e.sAjaxSource||"string"==typeof s?e.jqXHR=t.ajax(t.extend(u,{url:s||e.sAjaxSource})):"function"==typeof s?e.jqXHR=s.call(l,n,d,e):(e.jqXHR=t.ajax(t.extend(u,s)),s.data=a)}function mt(t){t.iDraw++,Wt(t,!0),pt(t,bt(t),(function(e){gt(t,e)}))}function bt(e){var n,r,o,i,a=e.aoColumns,s=a.length,d=e.oFeatures,c=e.oPreviousSearch,u=e.aoPreSearchCols,f=[],h=Jt(e),p=e._iDisplayStart,m=!1!==d.bPaginate?e._iDisplayLength:-1,b=function(t,e){f.push({name:t,value:e})};b("sEcho",e.iDraw),b("iColumns",s),b("sColumns",_(a,"sName").join(",")),b("iDisplayStart",p),b("iDisplayLength",m);var g={draw:e.iDraw,columns:[],order:[],start:p,length:m,search:{value:c.sSearch,regex:c.bRegex}};for(n=0;n<s;n++)o=a[n],i=u[n],r="function"==typeof o.mData?"function":o.mData,g.columns.push({data:r,name:o.sName,searchable:o.bSearchable,orderable:o.bSortable,search:{value:i.sSearch,regex:i.bRegex}}),b("mDataProp_"+n,r),d.bFilter&&(b("sSearch_"+n,i.sSearch),b("bRegex_"+n,i.bRegex),b("bSearchable_"+n,o.bSearchable)),d.bSort&&b("bSortable_"+n,o.bSortable);d.bFilter&&(b("sSearch",c.sSearch),b("bRegex",c.bRegex)),d.bSort&&(t.each(h,(function(t,e){g.order.push({column:e.col,dir:e.dir}),b("iSortCol_"+t,e.col),b("sSortDir_"+t,e.dir)})),b("iSortingCols",h.length));var v=l.ext.legacy.ajax;return null===v?e.sAjaxSource?f:g:v?f:g}function gt(t,e){var n=function(t,n){return e[t]!==r?e[t]:e[n]},o=vt(t,e),i=n("sEcho","draw"),a=n("iTotalRecords","recordsTotal"),s=n("iTotalDisplayRecords","recordsFiltered");if(i!==r){if(1*i<t.iDraw)return;t.iDraw=1*i}o||(o=[]),et(t),t._iRecordsTotal=parseInt(a,10),t._iRecordsDisplay=parseInt(s,10);for(var l=0,d=o.length;l<d;l++)V(t,o[l]);t.aiDisplay=t.aiDisplayMaster.slice(),dt(t,!0),t._bInitComplete||Lt(t,e),Wt(t,!1)}function vt(e,n,o){var i=t.isPlainObject(e.ajax)&&e.ajax.dataSrc!==r?e.ajax.dataSrc:e.sAjaxDataProp;if(!o)return"data"===i?n.aaData||n[i]:""!==i?J(i)(n):n;Q(i)(n,o)}function yt(e){var r=e.oClasses,o=e.sTableId,i=e.oLanguage,a=e.oPreviousSearch,s=e.aanFeatures,l='<input type="search" class="'+r.sFilterInput+'"/>',d=i.sSearch;d=d.match(/_INPUT_/)?d.replace("_INPUT_",l):d+l;var c=t("<div/>",{id:s.f?null:o+"_filter",class:r.sFilter}).append(t("<label/>").append(d)),u=function(t){s.f;var n=this.value?this.value:"";a.return&&"Enter"!==t.key||n!=a.sSearch&&(_t(e,{sSearch:n,bRegex:a.bRegex,bSmart:a.bSmart,bCaseInsensitive:a.bCaseInsensitive,return:a.return}),e._iDisplayStart=0,dt(e))},f=null!==e.searchDelay?e.searchDelay:"ssp"===ge(e)?400:0,h=t("input",c).val(a.sSearch).attr("placeholder",i.sSearchPlaceholder).on("keyup.DT search.DT input.DT paste.DT cut.DT",f?Xt(u,f):u).on("mouseup",(function(t){setTimeout((function(){u.call(h[0],t)}),10)})).on("keypress.DT",(function(t){if(13==t.keyCode)return!1})).attr("aria-controls",o);return t(e.nTable).on("search.dt.DT",(function(t,r){if(e===r)try{h[0]!==n.activeElement&&h.val(a.sSearch)}catch(t){}})),c[0]}function _t(t,e,n){var o=t.oPreviousSearch,i=t.aoPreSearchCols,a=function(t){o.sSearch=t.sSearch,o.bRegex=t.bRegex,o.bSmart=t.bSmart,o.bCaseInsensitive=t.bCaseInsensitive,o.return=t.return},s=function(t){return t.bEscapeRegex!==r?!t.bEscapeRegex:t.bRegex};if(M(t),"ssp"!=ge(t)){Ct(t,e.sSearch,n,s(e),e.bSmart,e.bCaseInsensitive,e.return),a(e);for(var l=0;l<i.length;l++)xt(t,i[l].sSearch,l,s(i[l]),i[l].bSmart,i[l].bCaseInsensitive);wt(t)}else a(e);t.bFiltered=!0,pe(t,null,"search",[t])}function wt(e){for(var n,r,o=l.ext.search,i=e.aiDisplay,a=0,s=o.length;a<s;a++){for(var d=[],c=0,u=i.length;c<u;c++)r=i[c],n=e.aoData[r],o[a](e,n._aFilterData,r,n._aData,c)&&d.push(r);i.length=0,t.merge(i,d)}}function xt(t,e,n,r,o,i){if(""!==e){for(var a,s=[],l=t.aiDisplay,d=St(e,r,o,i),c=0;c<l.length;c++)a=t.aoData[l[c]]._aFilterData[n],d.test(a)&&s.push(l[c]);t.aiDisplay=s}}function Ct(t,e,n,r,o,i){var a,s,d,c=St(e,r,o,i),u=t.oPreviousSearch.sSearch,f=t.aiDisplayMaster,h=[];if(0!==l.ext.search.length&&(n=!0),s=Dt(t),e.length<=0)t.aiDisplay=f.slice();else{for((s||n||r||u.length>e.length||0!==e.indexOf(u)||t.bSorted)&&(t.aiDisplay=f.slice()),a=t.aiDisplay,d=0;d<a.length;d++)c.test(t.aoData[a[d]]._sFilterRow)&&h.push(a[d]);t.aiDisplay=h}}function St(e,n,r,o){if(e=n?e:Tt(e),r){var i=t.map(e.match(/"[^"]+"|[^ ]+/g)||[""],(function(t){if('"'===t.charAt(0)){var e=t.match(/^"(.*)"$/);t=e?e[1]:t}return t.replace('"',"")}));e="^(?=.*?"+i.join(")(?=.*?")+").*$"}return new RegExp(e,o?"i":"")}var Tt=l.util.escapeRegex,It=t("<div>")[0],kt=It.textContent!==r;function Dt(t){var e,n,r,o,i,a,s,l=t.aoColumns,d=!1;for(e=0,r=t.aoData.length;e<r;e++)if(!(s=t.aoData[e])._aFilterData){for(i=[],n=0,o=l.length;n<o;n++)l[n].bSearchable?(null===(a=X(t,e,n,"filter"))&&(a=""),"string"!=typeof a&&a.toString&&(a=a.toString())):a="",a.indexOf&&-1!==a.indexOf("&")&&(It.innerHTML=a,a=kt?It.textContent:It.innerText),a.replace&&(a=a.replace(/[\r\n\u2028]/g,"")),i.push(a);s._aFilterData=i,s._sFilterRow=i.join(" "),d=!0}return d}function Ft(t){return{search:t.sSearch,smart:t.bSmart,regex:t.bRegex,caseInsensitive:t.bCaseInsensitive}}function At(t){return{sSearch:t.search,bSmart:t.smart,bRegex:t.regex,bCaseInsensitive:t.caseInsensitive}}function Rt(e){var n=e.sTableId,r=e.aanFeatures.i,o=t("<div/>",{class:e.oClasses.sInfo,id:r?null:n+"_info"});return r||(e.aoDrawCallback.push({fn:Bt,sName:"information"}),o.attr("role","status").attr("aria-live","polite"),t(e.nTable).attr("aria-describedby",n+"_info")),o[0]}function Bt(e){var n=e.aanFeatures.i;if(0!==n.length){var r=e.oLanguage,o=e._iDisplayStart+1,i=e.fnDisplayEnd(),a=e.fnRecordsTotal(),s=e.fnRecordsDisplay(),l=s?r.sInfo:r.sInfoEmpty;s!==a&&(l+=" "+r.sInfoFiltered),l=Ot(e,l+=r.sInfoPostFix);var d=r.fnInfoCallback;null!==d&&(l=d.call(e.oInstance,e,o,i,a,s,l)),t(n).html(l)}}function Ot(t,e){var n=t.fnFormatNumber,r=t._iDisplayStart+1,o=t._iDisplayLength,i=t.fnRecordsDisplay(),a=-1===o;return e.replace(/_START_/g,n.call(t,r)).replace(/_END_/g,n.call(t,t.fnDisplayEnd())).replace(/_MAX_/g,n.call(t,t.fnRecordsTotal())).replace(/_TOTAL_/g,n.call(t,i)).replace(/_PAGE_/g,n.call(t,a?1:Math.ceil(r/o))).replace(/_PAGES_/g,n.call(t,a?1:Math.ceil(i/o)))}function Nt(t){var e,n,r,o=t.iInitDisplayStart,i=t.aoColumns,a=t.oFeatures,s=t.bDeferLoading;if(t.bInitialised){for(ut(t),st(t),lt(t,t.aoHeader),lt(t,t.aoFooter),Wt(t,!0),a.bAutoWidth&&Zt(t),e=0,n=i.length;e<n;e++)(r=i[e]).sWidth&&(r.nTh.style.width=Yt(r.sWidth));pe(t,null,"preInit",[t]),ct(t);var l=ge(t);("ssp"!=l||s)&&("ajax"==l?pt(t,[],(function(n){var r=vt(t,n);for(e=0;e<r.length;e++)V(t,r[e]);t.iInitDisplayStart=o,ct(t),Wt(t,!1),Lt(t,n)})):(Wt(t,!1),Lt(t)))}else setTimeout((function(){Nt(t)}),200)}function Lt(t,e){t._bInitComplete=!0,(e||t.oInit.aaData)&&z(t),pe(t,null,"plugin-init",[t,e]),pe(t,"aoInitComplete","init",[t,e])}function Et(t,e){var n=parseInt(e,10);t._iDisplayLength=n,me(t),pe(t,null,"length",[t,n])}function Pt(e){for(var n=e.oClasses,r=e.sTableId,o=e.aLengthMenu,i=Array.isArray(o[0]),a=i?o[0]:o,s=i?o[1]:o,l=t("<select/>",{name:r+"_length","aria-controls":r,class:n.sLengthSelect}),d=0,c=a.length;d<c;d++)l[0][d]=new Option("number"==typeof s[d]?e.fnFormatNumber(s[d]):s[d],a[d]);var u=t("<div><label/></div>").addClass(n.sLength);return e.aanFeatures.l||(u[0].id=r+"_length"),u.children().append(e.oLanguage.sLengthMenu.replace("_MENU_",l[0].outerHTML)),t("select",u).val(e._iDisplayLength).on("change.DT",(function(n){Et(e,t(this).val()),dt(e)})),t(e.nTable).on("length.dt.DT",(function(n,r,o){e===r&&t("select",u).val(o)})),u[0]}function zt(e){var n=e.sPaginationType,r=l.ext.pager[n],o="function"==typeof r,i=function(t){dt(t)},a=t("<div/>").addClass(e.oClasses.sPaging+n)[0],s=e.aanFeatures;return o||r.fnInit(e,a,i),s.p||(a.id=e.sTableId+"_paginate",e.aoDrawCallback.push({fn:function(t){if(o){var e,n,a=t._iDisplayStart,l=t._iDisplayLength,d=t.fnRecordsDisplay(),c=-1===l,u=c?0:Math.ceil(a/l),f=c?1:Math.ceil(d/l),h=r(u,f);for(e=0,n=s.p.length;e<n;e++)be(t,"pageButton")(t,s.p[e],e,h,u,f)}else r.fnUpdate(t,i)},sName:"pagination"})),a}function jt(t,e,n){var r=t._iDisplayStart,o=t._iDisplayLength,i=t.fnRecordsDisplay();0===i||-1===o?r=0:"number"==typeof e?(r=e*o)>i&&(r=0):"first"==e?r=0:"previous"==e?(r=o>=0?r-o:0)<0&&(r=0):"next"==e?r+o<i&&(r+=o):"last"==e?r=Math.floor((i-1)/o)*o:de(t,0,"Unknown paging action: "+e,5);var a=t._iDisplayStart!==r;return t._iDisplayStart=r,a&&(pe(t,null,"page",[t]),n&&dt(t)),a}function Ht(e){return t("<div/>",{id:e.aanFeatures.r?null:e.sTableId+"_processing",class:e.oClasses.sProcessing}).html(e.oLanguage.sProcessing).insertBefore(e.nTable)[0]}function Wt(e,n){e.oFeatures.bProcessing&&t(e.aanFeatures.r).css("display",n?"block":"none"),pe(e,null,"processing",[e,n])}function Ut(e){var n=t(e.nTable),r=e.oScroll;if(""===r.sX&&""===r.sY)return e.nTable;var o=r.sX,i=r.sY,a=e.oClasses,s=n.children("caption"),l=s.length?s[0]._captionSide:null,d=t(n[0].cloneNode(!1)),c=t(n[0].cloneNode(!1)),u=n.children("tfoot"),f="<div/>",h=function(t){return t?Yt(t):null};u.length||(u=null);var p=t(f,{class:a.sScrollWrapper}).append(t(f,{class:a.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:o?h(o):"100%"}).append(t(f,{class:a.sScrollHeadInner}).css({"box-sizing":"content-box",width:r.sXInner||"100%"}).append(d.removeAttr("id").css("margin-left",0).append("top"===l?s:null).append(n.children("thead"))))).append(t(f,{class:a.sScrollBody}).css({position:"relative",overflow:"auto",width:h(o)}).append(n));u&&p.append(t(f,{class:a.sScrollFoot}).css({overflow:"hidden",border:0,width:o?h(o):"100%"}).append(t(f,{class:a.sScrollFootInner}).append(c.removeAttr("id").css("margin-left",0).append("bottom"===l?s:null).append(n.children("tfoot")))));var m=p.children(),b=m[0],g=m[1],v=u?m[2]:null;return o&&t(g).on("scroll.DT",(function(t){var e=this.scrollLeft;b.scrollLeft=e,u&&(v.scrollLeft=e)})),t(g).css("max-height",i),r.bCollapse||t(g).css("height",i),e.nScrollHead=b,e.nScrollBody=g,e.nScrollFoot=v,e.aoDrawCallback.push({fn:Mt,sName:"scrolling"}),p[0]}function Mt(n){var o,i,a,s,l,d,c,u,f,h=n.oScroll,p=h.sX,m=h.sXInner,b=h.sY,g=h.iBarWidth,v=t(n.nScrollHead),y=v[0].style,w=v.children("div"),x=w[0].style,C=w.children("table"),S=n.nScrollBody,T=t(S),I=S.style,k=t(n.nScrollFoot).children("div"),D=k.children("table"),F=t(n.nTHead),A=t(n.nTable),R=A[0],B=R.style,O=n.nTFoot?t(n.nTFoot):null,N=n.oBrowser,L=N.bScrollOversize,E=(_(n.aoColumns,"nTh"),[]),P=[],H=[],W=[],U=function(t){var e=t.style;e.paddingTop="0",e.paddingBottom="0",e.borderTopWidth="0",e.borderBottomWidth="0",e.height=0},M=S.scrollHeight>S.clientHeight;if(n.scrollBarVis!==M&&n.scrollBarVis!==r)return n.scrollBarVis=M,void z(n);n.scrollBarVis=M,A.children("thead, tfoot").remove(),O&&(d=O.clone().prependTo(A),i=O.find("tr"),s=d.find("tr")),l=F.clone().prependTo(A),o=F.find("tr"),a=l.find("tr"),l.find("th, td").removeAttr("tabindex"),p||(I.width="100%",v[0].style.width="100%"),t.each(ht(n,l),(function(t,e){c=j(n,t),e.style.width=n.aoColumns[c].sWidth})),O&&qt((function(t){t.style.width=""}),s),f=A.outerWidth(),""===p?(B.width="100%",L&&(A.find("tbody").height()>S.offsetHeight||"scroll"==T.css("overflow-y"))&&(B.width=Yt(A.outerWidth()-g)),f=A.outerWidth()):""!==m&&(B.width=Yt(m),f=A.outerWidth()),qt(U,a),qt((function(n){var r=e.getComputedStyle?e.getComputedStyle(n).width:Yt(t(n).width());H.push(n.innerHTML),E.push(r)}),a),qt((function(t,e){t.style.width=E[e]}),o),t(a).height(0),O&&(qt(U,s),qt((function(e){W.push(e.innerHTML),P.push(Yt(t(e).css("width")))}),s),qt((function(t,e){t.style.width=P[e]}),i),t(s).height(0)),qt((function(t,e){t.innerHTML='<div class="dataTables_sizing">'+H[e]+"</div>",t.childNodes[0].style.height="0",t.childNodes[0].style.overflow="hidden",t.style.width=E[e]}),a),O&&qt((function(t,e){t.innerHTML='<div class="dataTables_sizing">'+W[e]+"</div>",t.childNodes[0].style.height="0",t.childNodes[0].style.overflow="hidden",t.style.width=P[e]}),s),A.outerWidth()<f?(u=S.scrollHeight>S.offsetHeight||"scroll"==T.css("overflow-y")?f+g:f,L&&(S.scrollHeight>S.offsetHeight||"scroll"==T.css("overflow-y"))&&(B.width=Yt(u-g)),""!==p&&""===m||de(n,1,"Possible column misalignment",6)):u="100%",I.width=Yt(u),y.width=Yt(u),O&&(n.nScrollFoot.style.width=Yt(u)),b||L&&(I.height=Yt(R.offsetHeight+g));var q=A.outerWidth();C[0].style.width=Yt(q),x.width=Yt(q);var V=A.height()>S.clientHeight||"scroll"==T.css("overflow-y"),Z="padding"+(N.bScrollbarLeft?"Left":"Right");x[Z]=V?g+"px":"0px",O&&(D[0].style.width=Yt(q),k[0].style.width=Yt(q),k[0].style[Z]=V?g+"px":"0px"),A.children("colgroup").insertBefore(A.children("thead")),T.trigger("scroll"),!n.bSorted&&!n.bFiltered||n._drawHold||(S.scrollTop=0)}function qt(t,e,n){for(var r,o,i=0,a=0,s=e.length;a<s;){for(r=e[a].firstChild,o=n?n[a].firstChild:null;r;)1===r.nodeType&&(n?t(r,o,i):t(r,i),i++),r=r.nextSibling,o=n?o.nextSibling:null;a++}}var Vt=/<.*?>/g;function Zt(n){var r,o,i,a=n.nTable,s=n.aoColumns,l=n.oScroll,d=l.sY,c=l.sX,u=l.sXInner,f=s.length,h=U(n,"bVisible"),p=t("th",n.nTHead),m=a.getAttribute("width"),b=a.parentNode,g=!1,v=n.oBrowser,y=v.bScrollOversize,_=a.style.width;for(_&&-1!==_.indexOf("%")&&(m=_),r=0;r<h.length;r++)null!==(o=s[h[r]]).sWidth&&(o.sWidth=Gt(o.sWidthOrig,b),g=!0);if(y||!g&&!c&&!d&&f==W(n)&&f==p.length)for(r=0;r<f;r++){var w=j(n,r);null!==w&&(s[w].sWidth=Yt(p.eq(r).width()))}else{var x=t(a).clone().css("visibility","hidden").removeAttr("id");x.find("tbody tr").remove();var C=t("<tr/>").appendTo(x.find("tbody"));for(x.find("thead, tfoot").remove(),x.append(t(n.nTHead).clone()).append(t(n.nTFoot).clone()),x.find("tfoot th, tfoot td").css("width",""),p=ht(n,x.find("thead")[0]),r=0;r<h.length;r++)o=s[h[r]],p[r].style.width=null!==o.sWidthOrig&&""!==o.sWidthOrig?Yt(o.sWidthOrig):"",o.sWidthOrig&&c&&t(p[r]).append(t("<div/>").css({width:o.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(n.aoData.length)for(r=0;r<h.length;r++)o=s[i=h[r]],t($t(n,i)).clone(!1).append(o.sContentPadding).appendTo(C);t("[name]",x).removeAttr("name");var S=t("<div/>").css(c||d?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(x).appendTo(b);c&&u?x.width(u):c?(x.css("width","auto"),x.removeAttr("width"),x.width()<b.clientWidth&&m&&x.width(b.clientWidth)):d?x.width(b.clientWidth):m&&x.width(m);var T=0;for(r=0;r<h.length;r++){var I=t(p[r]),k=I.outerWidth()-I.width(),D=v.bBounding?Math.ceil(p[r].getBoundingClientRect().width):I.outerWidth();T+=D,s[h[r]].sWidth=Yt(D-k)}a.style.width=Yt(T),S.remove()}if(m&&(a.style.width=Yt(m)),(m||c)&&!n._reszEvt){var F=function(){t(e).on("resize.DT-"+n.sInstance,Xt((function(){z(n)})))};y?setTimeout(F,1e3):F(),n._reszEvt=!0}}var Xt=l.util.throttle;function Gt(e,r){if(!e)return 0;var o=t("<div/>").css("width",Yt(e)).appendTo(r||n.body),i=o[0].offsetWidth;return o.remove(),i}function $t(e,n){var r=Kt(e,n);if(r<0)return null;var o=e.aoData[r];return o.nTr?o.anCells[n]:t("<td/>").html(X(e,r,n,"display"))[0]}function Kt(t,e){for(var n,r=-1,o=-1,i=0,a=t.aoData.length;i<a;i++)(n=(n=(n=X(t,i,e,"display")+"").replace(Vt,"")).replace(/&nbsp;/g," ")).length>r&&(r=n.length,o=i);return o}function Yt(t){return null===t?"0px":"number"==typeof t?t<0?"0px":t+"px":t.match(/\d$/)?t+"px":t}function Jt(e){var n,o,i,a,s,d,c,u=[],f=e.aoColumns,h=e.aaSortingFixed,p=t.isPlainObject(h),m=[],b=function(e){e.length&&!Array.isArray(e[0])?m.push(e):t.merge(m,e)};for(Array.isArray(h)&&b(h),p&&h.pre&&b(h.pre),b(e.aaSorting),p&&h.post&&b(h.post),n=0;n<m.length;n++)for(o=0,i=(a=f[c=m[n][0]].aDataSort).length;o<i;o++)d=f[s=a[o]].sType||"string",m[n]._idx===r&&(m[n]._idx=t.inArray(m[n][1],f[s].asSorting)),u.push({src:c,col:s,dir:m[n][1],index:m[n]._idx,type:d,formatter:l.ext.type.order[d+"-pre"]});return u}function Qt(t){var e,n,r,o,i,a=[],s=l.ext.type.order,d=t.aoData,c=(t.aoColumns,0),u=t.aiDisplayMaster;for(M(t),e=0,n=(i=Jt(t)).length;e<n;e++)(o=i[e]).formatter&&c++,oe(t,o.col);if("ssp"!=ge(t)&&0!==i.length){for(e=0,r=u.length;e<r;e++)a[u[e]]=e;c===i.length?u.sort((function(t,e){var n,r,o,s,l,c=i.length,u=d[t]._aSortData,f=d[e]._aSortData;for(o=0;o<c;o++)if(0!==(s=(n=u[(l=i[o]).col])<(r=f[l.col])?-1:n>r?1:0))return"asc"===l.dir?s:-s;return(n=a[t])<(r=a[e])?-1:n>r?1:0})):u.sort((function(t,e){var n,r,o,l,c,u=i.length,f=d[t]._aSortData,h=d[e]._aSortData;for(o=0;o<u;o++)if(n=f[(c=i[o]).col],r=h[c.col],0!==(l=(s[c.type+"-"+c.dir]||s["string-"+c.dir])(n,r)))return l;return(n=a[t])<(r=a[e])?-1:n>r?1:0}))}t.bSorted=!0}function te(t){for(var e,n,r=t.aoColumns,o=Jt(t),i=t.oLanguage.oAria,a=0,s=r.length;a<s;a++){var l=r[a],d=l.asSorting,c=l.ariaTitle||l.sTitle.replace(/<.*?>/g,""),u=l.nTh;u.removeAttribute("aria-sort"),l.bSortable?(o.length>0&&o[0].col==a?(u.setAttribute("aria-sort","asc"==o[0].dir?"ascending":"descending"),n=d[o[0].index+1]||d[0]):n=d[0],e=c+("asc"===n?i.sSortAscending:i.sSortDescending)):e=c,u.setAttribute("aria-label",e)}}function ee(e,n,o,i){var a,s=e.aoColumns[n],l=e.aaSorting,d=s.asSorting,c=function(e,n){var o=e._idx;return o===r&&(o=t.inArray(e[1],d)),o+1<d.length?o+1:n?null:0};if("number"==typeof l[0]&&(l=e.aaSorting=[l]),o&&e.oFeatures.bSortMulti){var u=t.inArray(n,_(l,"0"));-1!==u?(null===(a=c(l[u],!0))&&1===l.length&&(a=0),null===a?l.splice(u,1):(l[u][1]=d[a],l[u]._idx=a)):(l.push([n,d[0],0]),l[l.length-1]._idx=0)}else l.length&&l[0][0]==n?(a=c(l[0]),l.length=1,l[0][1]=d[a],l[0]._idx=a):(l.length=0,l.push([n,d[0]]),l[0]._idx=0);ct(e),"function"==typeof i&&i(e)}function ne(t,e,n,r){var o=t.aoColumns[n];fe(e,{},(function(e){!1!==o.bSortable&&(t.oFeatures.bProcessing?(Wt(t,!0),setTimeout((function(){ee(t,n,e.shiftKey,r),"ssp"!==ge(t)&&Wt(t,!1)}),0)):ee(t,n,e.shiftKey,r))}))}function re(e){var n,r,o,i=e.aLastSort,a=e.oClasses.sSortColumn,s=Jt(e),l=e.oFeatures;if(l.bSort&&l.bSortClasses){for(n=0,r=i.length;n<r;n++)o=i[n].src,t(_(e.aoData,"anCells",o)).removeClass(a+(n<2?n+1:3));for(n=0,r=s.length;n<r;n++)o=s[n].src,t(_(e.aoData,"anCells",o)).addClass(a+(n<2?n+1:3))}e.aLastSort=s}function oe(t,e){var n,r,o,i=t.aoColumns[e],a=l.ext.order[i.sSortDataType];a&&(n=a.call(t.oInstance,t,e,H(t,e)));for(var s=l.ext.type.order[i.sType+"-pre"],d=0,c=t.aoData.length;d<c;d++)(r=t.aoData[d])._aSortData||(r._aSortData=[]),r._aSortData[e]&&!a||(o=a?n[d]:X(t,d,e,"sort"),r._aSortData[e]=s?s(o):o)}function ie(e){if(!e._bLoadingState){var n={time:+new Date,start:e._iDisplayStart,length:e._iDisplayLength,order:t.extend(!0,[],e.aaSorting),search:Ft(e.oPreviousSearch),columns:t.map(e.aoColumns,(function(t,n){return{visible:t.bVisible,search:Ft(e.aoPreSearchCols[n])}}))};e.oSavedState=n,pe(e,"aoStateSaveParams","stateSaveParams",[e,n]),e.oFeatures.bStateSave&&!e.bDestroying&&e.fnStateSaveCallback.call(e.oInstance,e,n)}}function ae(t,e,n){if(t.oFeatures.bStateSave){var o=t.fnStateLoadCallback.call(t.oInstance,t,(function(e){se(t,e,n)}));return o!==r&&se(t,o,n),!0}n()}function se(e,n,o){var i,a,s=e.aoColumns;e._bLoadingState=!0;var d=e._bInitComplete?new l.Api(e):null;if(!n||!n.time)return e._bLoadingState=!1,void o();var c=pe(e,"aoStateLoadParams","stateLoadParams",[e,n]);if(-1!==t.inArray(!1,c))return e._bLoadingState=!1,void o();var u=e.iStateDuration;if(u>0&&n.time<+new Date-1e3*u)return e._bLoadingState=!1,void o();if(n.columns&&s.length!==n.columns.length)return e._bLoadingState=!1,void o();if(e.oLoadedState=t.extend(!0,{},n),n.start!==r&&(e._iDisplayStart=n.start,null===d&&(e.iInitDisplayStart=n.start)),n.length!==r&&(e._iDisplayLength=n.length),n.order!==r&&(e.aaSorting=[],t.each(n.order,(function(t,n){e.aaSorting.push(n[0]>=s.length?[0,n[1]]:n)}))),n.search!==r&&t.extend(e.oPreviousSearch,At(n.search)),n.columns){for(i=0,a=n.columns.length;i<a;i++){var f=n.columns[i];f.visible!==r&&(d?d.column(i).visible(f.visible,!1):s[i].bVisible=f.visible),f.search!==r&&t.extend(e.aoPreSearchCols[i],At(f.search))}d&&d.columns.adjust()}e._bLoadingState=!1,pe(e,"aoStateLoaded","stateLoaded",[e,n]),o()}function le(e){var n=l.settings,r=t.inArray(e,_(n,"nTable"));return-1!==r?n[r]:null}function de(t,n,r,o){if(r="DataTables warning: "+(t?"table id="+t.sTableId+" - ":"")+r,o&&(r+=". For more information about this error, please see http://datatables.net/tn/"+o),n)e.console&&console.log&&console.log(r);else{var i=l.ext,a=i.sErrMode||i.errMode;if(t&&pe(t,null,"error",[t,o,r]),"alert"==a)alert(r);else{if("throw"==a)throw new Error(r);"function"==typeof a&&a(t,o,r)}}}function ce(e,n,o,i){Array.isArray(o)?t.each(o,(function(t,r){Array.isArray(r)?ce(e,n,r[0],r[1]):ce(e,n,r)})):(i===r&&(i=o),n[o]!==r&&(e[i]=n[o]))}function ue(e,n,r){var o;for(var i in n)n.hasOwnProperty(i)&&(o=n[i],t.isPlainObject(o)?(t.isPlainObject(e[i])||(e[i]={}),t.extend(!0,e[i],o)):r&&"data"!==i&&"aaData"!==i&&Array.isArray(o)?e[i]=o.slice():e[i]=o);return e}function fe(e,n,r){t(e).on("click.DT",n,(function(n){t(e).trigger("blur"),r(n)})).on("keypress.DT",n,(function(t){13===t.which&&(t.preventDefault(),r(t))})).on("selectstart.DT",(function(){return!1}))}function he(t,e,n,r){n&&t[e].push({fn:n,sName:r})}function pe(e,n,r,o){var i=[];if(n&&(i=t.map(e[n].slice().reverse(),(function(t,n){return t.fn.apply(e.oInstance,o)}))),null!==r){var a=t.Event(r+".dt");t(e.nTable).trigger(a,o),i.push(a.result)}return i}function me(t){var e=t._iDisplayStart,n=t.fnDisplayEnd(),r=t._iDisplayLength;e>=n&&(e=n-r),e-=e%r,(-1===r||e<0)&&(e=0),t._iDisplayStart=e}function be(e,n){var r=e.renderer,o=l.ext.renderer[n];return t.isPlainObject(r)&&r[n]?o[r[n]]||o._:"string"==typeof r&&o[r]||o._}function ge(t){return t.oFeatures.bServerSide?"ssp":t.ajax||t.sAjaxSource?"ajax":"dom"}var ve=[],ye=Array.prototype;i=function(e,n){if(!(this instanceof i))return new i(e,n);var r=[],o=function(e){var n=function(e){var n,r,o=l.settings,i=t.map(o,(function(t,e){return t.nTable}));return e?e.nTable&&e.oApi?[e]:e.nodeName&&"table"===e.nodeName.toLowerCase()?-1!==(n=t.inArray(e,i))?[o[n]]:null:e&&"function"==typeof e.settings?e.settings().toArray():("string"==typeof e?r=t(e):e instanceof t&&(r=e),r?r.map((function(e){return-1!==(n=t.inArray(this,i))?o[n]:null})).toArray():void 0):[]}(e);n&&r.push.apply(r,n)};if(Array.isArray(e))for(var a=0,s=e.length;a<s;a++)o(e[a]);else o(e);this.context=T(r),n&&t.merge(this,n),this.selector={rows:null,cols:null,opts:null},i.extend(this,this,ve)},l.Api=i,t.extend(i.prototype,{any:function(){return 0!==this.count()},concat:ye.concat,context:[],count:function(){return this.flatten().length},each:function(t){for(var e=0,n=this.length;e<n;e++)t.call(this,this[e],e,this);return this},eq:function(t){var e=this.context;return e.length>t?new i(e[t],this[t]):null},filter:function(t){var e=[];if(ye.filter)e=ye.filter.call(this,t,this);else for(var n=0,r=this.length;n<r;n++)t.call(this,this[n],n,this)&&e.push(this[n]);return new i(this.context,e)},flatten:function(){var t=[];return new i(this.context,t.concat.apply(t,this.toArray()))},join:ye.join,indexOf:ye.indexOf||function(t,e){for(var n=e||0,r=this.length;n<r;n++)if(this[n]===t)return n;return-1},iterator:function(t,e,n,o){var a,s,l,d,c,u,f,h,p=[],m=this.context,b=this.selector;for("string"==typeof t&&(o=n,n=e,e=t,t=!1),s=0,l=m.length;s<l;s++){var g=new i(m[s]);if("table"===e)(a=n.call(g,m[s],s))!==r&&p.push(a);else if("columns"===e||"rows"===e)(a=n.call(g,m[s],this[s],s))!==r&&p.push(a);else if("column"===e||"column-rows"===e||"row"===e||"cell"===e)for(f=this[s],"column-rows"===e&&(u=Te(m[s],b.opts)),d=0,c=f.length;d<c;d++)h=f[d],(a="cell"===e?n.call(g,m[s],h.row,h.column,s,d):n.call(g,m[s],h,s,d,u))!==r&&p.push(a)}if(p.length||o){var v=new i(m,t?p.concat.apply([],p):p),y=v.selector;return y.rows=b.rows,y.cols=b.cols,y.opts=b.opts,v}return this},lastIndexOf:ye.lastIndexOf||function(t,e){return this.indexOf.apply(this.toArray.reverse(),arguments)},length:0,map:function(t){var e=[];if(ye.map)e=ye.map.call(this,t,this);else for(var n=0,r=this.length;n<r;n++)e.push(t.call(this,this[n],n));return new i(this.context,e)},pluck:function(t){return this.map((function(e){return e[t]}))},pop:ye.pop,push:ye.push,reduce:ye.reduce||function(t,e){return L(this,t,e,0,this.length,1)},reduceRight:ye.reduceRight||function(t,e){return L(this,t,e,this.length-1,-1,-1)},reverse:ye.reverse,selector:null,shift:ye.shift,slice:function(){return new i(this.context,this)},sort:ye.sort,splice:ye.splice,toArray:function(){return ye.slice.call(this)},to$:function(){return t(this)},toJQuery:function(){return t(this)},unique:function(){return new i(this.context,T(this))},unshift:ye.unshift}),i.extend=function(t,e,n){if(n.length&&e&&(e instanceof i||e.__dt_wrapper)){var r,o,a,s=function(t,e,n){return function(){var r=e.apply(t,arguments);return i.extend(r,r,n.methodExt),r}};for(r=0,o=n.length;r<o;r++)e[(a=n[r]).name]="function"===a.type?s(t,a.val,a):"object"===a.type?{}:a.val,e[a.name].__dt_wrapper=!0,i.extend(t,e[a.name],a.propExt)}},i.register=a=function(e,n){if(Array.isArray(e))for(var r=0,o=e.length;r<o;r++)i.register(e[r],n);else{var a,s,l,d,c=e.split("."),u=ve,f=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n].name===e)return t[n];return null};for(a=0,s=c.length;a<s;a++){var h=f(u,l=(d=-1!==c[a].indexOf("()"))?c[a].replace("()",""):c[a]);h||(h={name:l,val:{},methodExt:[],propExt:[],type:"object"},u.push(h)),a===s-1?(h.val=n,h.type="function"==typeof n?"function":t.isPlainObject(n)?"object":"other"):u=d?h.methodExt:h.propExt}}},i.registerPlural=s=function(t,e,n){i.register(t,n),i.register(e,(function(){var t=n.apply(this,arguments);return t===this?this:t instanceof i?t.length?Array.isArray(t[0])?new i(t.context,t[0]):t[0]:r:t}))};var _e=function(e,n){if(Array.isArray(e))return t.map(e,(function(t){return _e(t,n)}));if("number"==typeof e)return[n[e]];var r=t.map(n,(function(t,e){return t.nTable}));return t(r).filter(e).map((function(e){var o=t.inArray(this,r);return n[o]})).toArray()};a("tables()",(function(t){return t!==r&&null!==t?new i(_e(t,this.context)):this})),a("table()",(function(t){var e=this.tables(t),n=e.context;return n.length?new i(n[0]):e})),s("tables().nodes()","table().node()",(function(){return this.iterator("table",(function(t){return t.nTable}),1)})),s("tables().body()","table().body()",(function(){return this.iterator("table",(function(t){return t.nTBody}),1)})),s("tables().header()","table().header()",(function(){return this.iterator("table",(function(t){return t.nTHead}),1)})),s("tables().footer()","table().footer()",(function(){return this.iterator("table",(function(t){return t.nTFoot}),1)})),s("tables().containers()","table().container()",(function(){return this.iterator("table",(function(t){return t.nTableWrapper}),1)})),a("draw()",(function(t){return this.iterator("table",(function(e){"page"===t?dt(e):("string"==typeof t&&(t="full-hold"!==t),ct(e,!1===t))}))})),a("page()",(function(t){return t===r?this.page.info().page:this.iterator("table",(function(e){jt(e,t)}))})),a("page.info()",(function(t){if(0===this.context.length)return r;var e=this.context[0],n=e._iDisplayStart,o=e.oFeatures.bPaginate?e._iDisplayLength:-1,i=e.fnRecordsDisplay(),a=-1===o;return{page:a?0:Math.floor(n/o),pages:a?1:Math.ceil(i/o),start:n,end:e.fnDisplayEnd(),length:o,recordsTotal:e.fnRecordsTotal(),recordsDisplay:i,serverSide:"ssp"===ge(e)}})),a("page.len()",(function(t){return t===r?0!==this.context.length?this.context[0]._iDisplayLength:r:this.iterator("table",(function(e){Et(e,t)}))}));var we=function(t,e,n){if(n){var r=new i(t);r.one("draw",(function(){n(r.ajax.json())}))}if("ssp"==ge(t))ct(t,e);else{Wt(t,!0);var o=t.jqXHR;o&&4!==o.readyState&&o.abort(),pt(t,[],(function(n){et(t);for(var r=vt(t,n),o=0,i=r.length;o<i;o++)V(t,r[o]);ct(t,e),Wt(t,!1)}))}};a("ajax.json()",(function(){var t=this.context;if(t.length>0)return t[0].json})),a("ajax.params()",(function(){var t=this.context;if(t.length>0)return t[0].oAjaxData})),a("ajax.reload()",(function(t,e){return this.iterator("table",(function(n){we(n,!1===e,t)}))})),a("ajax.url()",(function(e){var n=this.context;return e===r?0===n.length?r:(n=n[0]).ajax?t.isPlainObject(n.ajax)?n.ajax.url:n.ajax:n.sAjaxSource:this.iterator("table",(function(n){t.isPlainObject(n.ajax)?n.ajax.url=e:n.ajax=e}))})),a("ajax.url().load()",(function(t,e){return this.iterator("table",(function(n){we(n,!1===e,t)}))}));var xe=function(t,e,n,i,a){var s,l,d,c,u,f,h=[],p=typeof e;for(e&&"string"!==p&&"function"!==p&&e.length!==r||(e=[e]),d=0,c=e.length;d<c;d++)for(u=0,f=(l=e[d]&&e[d].split&&!e[d].match(/[\[\(:]/)?e[d].split(","):[e[d]]).length;u<f;u++)(s=n("string"==typeof l[u]?l[u].trim():l[u]))&&s.length&&(h=h.concat(s));var m=o.selector[t];if(m.length)for(d=0,c=m.length;d<c;d++)h=m[d](i,a,h);return T(h)},Ce=function(e){return e||(e={}),e.filter&&e.search===r&&(e.search=e.filter),t.extend({search:"none",order:"current",page:"all"},e)},Se=function(t){for(var e=0,n=t.length;e<n;e++)if(t[e].length>0)return t[0]=t[e],t[0].length=1,t.length=1,t.context=[t.context[e]],t;return t.length=0,t},Te=function(e,n){var r,o=[],i=e.aiDisplay,a=e.aiDisplayMaster,s=n.search,l=n.order,d=n.page;if("ssp"==ge(e))return"removed"===s?[]:x(0,a.length);if("current"==d)for(u=e._iDisplayStart,f=e.fnDisplayEnd();u<f;u++)o.push(i[u]);else if("current"==l||"applied"==l){if("none"==s)o=a.slice();else if("applied"==s)o=i.slice();else if("removed"==s){for(var c={},u=0,f=i.length;u<f;u++)c[i[u]]=null;o=t.map(a,(function(t){return c.hasOwnProperty(t)?null:t}))}}else if("index"==l||"original"==l)for(u=0,f=e.aoData.length;u<f;u++)("none"==s||-1===(r=t.inArray(u,i))&&"removed"==s||r>=0&&"applied"==s)&&o.push(u);return o};a("rows()",(function(e,n){e===r?e="":t.isPlainObject(e)&&(n=e,e=""),n=Ce(n);var o=this.iterator("table",(function(o){return function(e,n,o){var i;return xe("row",n,(function(n){var a=b(n),s=e.aoData;if(null!==a&&!o)return[a];if(i||(i=Te(e,o)),null!==a&&-1!==t.inArray(a,i))return[a];if(null===n||n===r||""===n)return i;if("function"==typeof n)return t.map(i,(function(t){var e=s[t];return n(t,e._aData,e.nTr)?t:null}));if(n.nodeName){var l=n._DT_RowIndex,d=n._DT_CellIndex;if(l!==r)return s[l]&&s[l].nTr===n?[l]:[];if(d)return s[d.row]&&s[d.row].nTr===n.parentNode?[d.row]:[];var c=t(n).closest("*[data-dt-row]");return c.length?[c.data("dt-row")]:[]}if("string"==typeof n&&"#"===n.charAt(0)){var u=e.aIds[n.replace(/^#/,"")];if(u!==r)return[u.idx]}var f=C(w(e.aoData,i,"nTr"));return t(f).filter(n).map((function(){return this._DT_RowIndex})).toArray()}),e,o)}(o,e,n)}),1);return o.selector.rows=e,o.selector.opts=n,o})),a("rows().nodes()",(function(){return this.iterator("row",(function(t,e){return t.aoData[e].nTr||r}),1)})),a("rows().data()",(function(){return this.iterator(!0,"rows",(function(t,e){return w(t.aoData,e,"_aData")}),1)})),s("rows().cache()","row().cache()",(function(t){return this.iterator("row",(function(e,n){var r=e.aoData[n];return"search"===t?r._aFilterData:r._aSortData}),1)})),s("rows().invalidate()","row().invalidate()",(function(t){return this.iterator("row",(function(e,n){rt(e,n,t)}))})),s("rows().indexes()","row().index()",(function(){return this.iterator("row",(function(t,e){return e}),1)})),s("rows().ids()","row().id()",(function(t){for(var e=[],n=this.context,r=0,o=n.length;r<o;r++)for(var a=0,s=this[r].length;a<s;a++){var l=n[r].rowIdFn(n[r].aoData[this[r][a]]._aData);e.push((!0===t?"#":"")+l)}return new i(n,e)})),s("rows().remove()","row().remove()",(function(){var t=this;return this.iterator("row",(function(e,n,o){var i,a,s,l,d,c,u=e.aoData,f=u[n];for(u.splice(n,1),i=0,a=u.length;i<a;i++)if(c=(d=u[i]).anCells,null!==d.nTr&&(d.nTr._DT_RowIndex=i),null!==c)for(s=0,l=c.length;s<l;s++)c[s]._DT_CellIndex.row=i;nt(e.aiDisplayMaster,n),nt(e.aiDisplay,n),nt(t[o],n,!1),e._iRecordsDisplay>0&&e._iRecordsDisplay--,me(e);var h=e.rowIdFn(f._aData);h!==r&&delete e.aIds[h]})),this.iterator("table",(function(t){for(var e=0,n=t.aoData.length;e<n;e++)t.aoData[e].idx=e})),this})),a("rows.add()",(function(e){var n=this.iterator("table",(function(t){var n,r,o,i=[];for(r=0,o=e.length;r<o;r++)(n=e[r]).nodeName&&"TR"===n.nodeName.toUpperCase()?i.push(Z(t,n)[0]):i.push(V(t,n));return i}),1),r=this.rows(-1);return r.pop(),t.merge(r,n),r})),a("row()",(function(t,e){return Se(this.rows(t,e))})),a("row().data()",(function(t){var e=this.context;if(t===r)return e.length&&this.length?e[0].aoData[this[0]]._aData:r;var n=e[0].aoData[this[0]];return n._aData=t,Array.isArray(t)&&n.nTr&&n.nTr.id&&Q(e[0].rowId)(t,n.nTr.id),rt(e[0],this[0],"data"),this})),a("row().node()",(function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]].nTr||null})),a("row.add()",(function(e){e instanceof t&&e.length&&(e=e[0]);var n=this.iterator("table",(function(t){return e.nodeName&&"TR"===e.nodeName.toUpperCase()?Z(t,e)[0]:V(t,e)}));return this.row(n[0])})),t(n).on("plugin-init.dt",(function(t,e){var n=new i(e);n.on("stateSaveParams",(function(t,e,o){var i=n.rows().iterator("row",(function(t,e){return t.aoData[e]._detailsShow?e:r}));o.childRows=n.rows(i).ids(!0).toArray()}));var o=n.state.loaded();o&&o.childRows&&n.rows(o.childRows).every((function(){pe(e,null,"requestChild",[this])}))}));var Ie=function(e,n){var o=e.context;if(o.length){var i=o[0].aoData[n!==r?n:e[0]];i&&i._details&&(i._details.remove(),i._detailsShow=r,i._details=r,t(i.nTr).removeClass("dt-hasChild"),ie(o[0]))}},ke=function(e,n){var r=e.context;if(r.length&&e.length){var o=r[0].aoData[e[0]];o._details&&(o._detailsShow=n,n?(o._details.insertAfter(o.nTr),t(o.nTr).addClass("dt-hasChild")):(o._details.detach(),t(o.nTr).removeClass("dt-hasChild")),pe(r[0],null,"childRow",[n,e.row(e[0])]),De(r[0]),ie(r[0]))}},De=function(t){var e=new i(t),n=".dt.DT_details",r="draw"+n,o="column-visibility"+n,a="destroy"+n,s=t.aoData;e.off(r+" "+o+" "+a),_(s,"_details").length>0&&(e.on(r,(function(n,r){t===r&&e.rows({page:"current"}).eq(0).each((function(t){var e=s[t];e._detailsShow&&e._details.insertAfter(e.nTr)}))})),e.on(o,(function(e,n,r,o){if(t===n)for(var i,a=W(n),l=0,d=s.length;l<d;l++)(i=s[l])._details&&i._details.children("td[colspan]").attr("colspan",a)})),e.on(a,(function(n,r){if(t===r)for(var o=0,i=s.length;o<i;o++)s[o]._details&&Ie(e,o)})))},Fe="row().child()";a(Fe,(function(e,n){var o=this.context;return e===r?o.length&&this.length?o[0].aoData[this[0]]._details:r:(!0===e?this.child.show():!1===e?Ie(this):o.length&&this.length&&function(e,n,r,o){var i=[],a=function(n,r){if(Array.isArray(n)||n instanceof t)for(var o=0,s=n.length;o<s;o++)a(n[o],r);else if(n.nodeName&&"tr"===n.nodeName.toLowerCase())i.push(n);else{var l=t("<tr><td></td></tr>").addClass(r);t("td",l).addClass(r).html(n)[0].colSpan=W(e),i.push(l[0])}};a(r,o),n._details&&n._details.detach(),n._details=t(i),n._detailsShow&&n._details.insertAfter(n.nTr)}(o[0],o[0].aoData[this[0]],e,n),this)})),a(["row().child.show()",Fe+".show()"],(function(t){return ke(this,!0),this})),a(["row().child.hide()",Fe+".hide()"],(function(){return ke(this,!1),this})),a(["row().child.remove()",Fe+".remove()"],(function(){return Ie(this),this})),a("row().child.isShown()",(function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]]._detailsShow||!1}));var Ae=/^([^:]+):(name|visIdx|visible)$/,Re=function(t,e,n,r,o){for(var i=[],a=0,s=o.length;a<s;a++)i.push(X(t,o[a],e));return i};a("columns()",(function(e,n){e===r?e="":t.isPlainObject(e)&&(n=e,e=""),n=Ce(n);var o=this.iterator("table",(function(r){return function(e,n,r){var o=e.aoColumns,i=_(o,"sName"),a=_(o,"nTh");return xe("column",n,(function(n){var s=b(n);if(""===n)return x(o.length);if(null!==s)return[s>=0?s:o.length+s];if("function"==typeof n){var l=Te(e,r);return t.map(o,(function(t,r){return n(r,Re(e,r,0,0,l),a[r])?r:null}))}var d="string"==typeof n?n.match(Ae):"";if(d)switch(d[2]){case"visIdx":case"visible":var c=parseInt(d[1],10);if(c<0){var u=t.map(o,(function(t,e){return t.bVisible?e:null}));return[u[u.length+c]]}return[j(e,c)];case"name":return t.map(i,(function(t,e){return t===d[1]?e:null}));default:return[]}if(n.nodeName&&n._DT_CellIndex)return[n._DT_CellIndex.column];var f=t(a).filter(n).map((function(){return t.inArray(this,a)})).toArray();if(f.length||!n.nodeName)return f;var h=t(n).closest("*[data-dt-column]");return h.length?[h.data("dt-column")]:[]}),e,r)}(r,e,n)}),1);return o.selector.cols=e,o.selector.opts=n,o})),s("columns().header()","column().header()",(function(t,e){return this.iterator("column",(function(t,e){return t.aoColumns[e].nTh}),1)})),s("columns().footer()","column().footer()",(function(t,e){return this.iterator("column",(function(t,e){return t.aoColumns[e].nTf}),1)})),s("columns().data()","column().data()",(function(){return this.iterator("column-rows",Re,1)})),s("columns().dataSrc()","column().dataSrc()",(function(){return this.iterator("column",(function(t,e){return t.aoColumns[e].mData}),1)})),s("columns().cache()","column().cache()",(function(t){return this.iterator("column-rows",(function(e,n,r,o,i){return w(e.aoData,i,"search"===t?"_aFilterData":"_aSortData",n)}),1)})),s("columns().nodes()","column().nodes()",(function(){return this.iterator("column-rows",(function(t,e,n,r,o){return w(t.aoData,o,"anCells",e)}),1)})),s("columns().visible()","column().visible()",(function(e,n){var o=this,i=this.iterator("column",(function(n,o){if(e===r)return n.aoColumns[o].bVisible;!function(e,n,o){var i,a,s,l,d=e.aoColumns,c=d[n],u=e.aoData;if(o===r)return c.bVisible;if(c.bVisible!==o){if(o){var f=t.inArray(!0,_(d,"bVisible"),n+1);for(a=0,s=u.length;a<s;a++)l=u[a].nTr,i=u[a].anCells,l&&l.insertBefore(i[n],i[f]||null)}else t(_(e.aoData,"anCells",n)).detach();c.bVisible=o}}(n,o,e)}));return e!==r&&this.iterator("table",(function(i){lt(i,i.aoHeader),lt(i,i.aoFooter),i.aiDisplay.length||t(i.nTBody).find("td[colspan]").attr("colspan",W(i)),ie(i),o.iterator("column",(function(t,r){pe(t,null,"column-visibility",[t,r,e,n])})),(n===r||n)&&o.columns.adjust()})),i})),s("columns().indexes()","column().index()",(function(t){return this.iterator("column",(function(e,n){return"visible"===t?H(e,n):n}),1)})),a("columns.adjust()",(function(){return this.iterator("table",(function(t){z(t)}),1)})),a("column.index()",(function(t,e){if(0!==this.context.length){var n=this.context[0];if("fromVisible"===t||"toData"===t)return j(n,e);if("fromData"===t||"toVisible"===t)return H(n,e)}})),a("column()",(function(t,e){return Se(this.columns(t,e))}));a("cells()",(function(e,n,o){if(t.isPlainObject(e)&&(e.row===r?(o=e,e=null):(o=n,n=null)),t.isPlainObject(n)&&(o=n,n=null),null===n||n===r)return this.iterator("table",(function(n){return function(e,n,o){var i,a,s,l,d,c,u,f=e.aoData,h=Te(e,o),p=C(w(f,h,"anCells")),m=t(I([],p)),b=e.aoColumns.length;return xe("cell",n,(function(n){var o="function"==typeof n;if(null===n||n===r||o){for(a=[],s=0,l=h.length;s<l;s++)for(i=h[s],d=0;d<b;d++)c={row:i,column:d},o?(u=f[i],n(c,X(e,i,d),u.anCells?u.anCells[d]:null)&&a.push(c)):a.push(c);return a}if(t.isPlainObject(n))return n.column!==r&&n.row!==r&&-1!==t.inArray(n.row,h)?[n]:[];var p=m.filter(n).map((function(t,e){return{row:e._DT_CellIndex.row,column:e._DT_CellIndex.column}})).toArray();return p.length||!n.nodeName?p:(u=t(n).closest("*[data-dt-row]")).length?[{row:u.data("dt-row"),column:u.data("dt-column")}]:[]}),e,o)}(n,e,Ce(o))}));var i,a,s,l,d=o?{page:o.page,order:o.order,search:o.search}:{},c=this.columns(n,d),u=this.rows(e,d),f=this.iterator("table",(function(t,e){var n=[];for(i=0,a=u[e].length;i<a;i++)for(s=0,l=c[e].length;s<l;s++)n.push({row:u[e][i],column:c[e][s]});return n}),1),h=o&&o.selected?this.cells(f,o):f;return t.extend(h.selector,{cols:n,rows:e,opts:o}),h})),s("cells().nodes()","cell().node()",(function(){return this.iterator("cell",(function(t,e,n){var o=t.aoData[e];return o&&o.anCells?o.anCells[n]:r}),1)})),a("cells().data()",(function(){return this.iterator("cell",(function(t,e,n){return X(t,e,n)}),1)})),s("cells().cache()","cell().cache()",(function(t){return t="search"===t?"_aFilterData":"_aSortData",this.iterator("cell",(function(e,n,r){return e.aoData[n][t][r]}),1)})),s("cells().render()","cell().render()",(function(t){return this.iterator("cell",(function(e,n,r){return X(e,n,r,t)}),1)})),s("cells().indexes()","cell().index()",(function(){return this.iterator("cell",(function(t,e,n){return{row:e,column:n,columnVisible:H(t,n)}}),1)})),s("cells().invalidate()","cell().invalidate()",(function(t){return this.iterator("cell",(function(e,n,r){rt(e,n,t,r)}))})),a("cell()",(function(t,e,n){return Se(this.cells(t,e,n))})),a("cell().data()",(function(t){var e=this.context,n=this[0];return t===r?e.length&&n.length?X(e[0],n[0].row,n[0].column):r:(G(e[0],n[0].row,n[0].column,t),rt(e[0],n[0].row,"data",n[0].column),this)})),a("order()",(function(t,e){var n=this.context;return t===r?0!==n.length?n[0].aaSorting:r:("number"==typeof t?t=[[t,e]]:t.length&&!Array.isArray(t[0])&&(t=Array.prototype.slice.call(arguments)),this.iterator("table",(function(e){e.aaSorting=t.slice()})))})),a("order.listener()",(function(t,e,n){return this.iterator("table",(function(r){ne(r,t,e,n)}))})),a("order.fixed()",(function(e){if(!e){var n=this.context,o=n.length?n[0].aaSortingFixed:r;return Array.isArray(o)?{pre:o}:o}return this.iterator("table",(function(n){n.aaSortingFixed=t.extend(!0,{},e)}))})),a(["columns().order()","column().order()"],(function(e){var n=this;return this.iterator("table",(function(r,o){var i=[];t.each(n[o],(function(t,n){i.push([n,e])})),r.aaSorting=i}))})),a("search()",(function(e,n,o,i){var a=this.context;return e===r?0!==a.length?a[0].oPreviousSearch.sSearch:r:this.iterator("table",(function(r){r.oFeatures.bFilter&&_t(r,t.extend({},r.oPreviousSearch,{sSearch:e+"",bRegex:null!==n&&n,bSmart:null===o||o,bCaseInsensitive:null===i||i}),1)}))})),s("columns().search()","column().search()",(function(e,n,o,i){return this.iterator("column",(function(a,s){var l=a.aoPreSearchCols;if(e===r)return l[s].sSearch;a.oFeatures.bFilter&&(t.extend(l[s],{sSearch:e+"",bRegex:null!==n&&n,bSmart:null===o||o,bCaseInsensitive:null===i||i}),_t(a,a.oPreviousSearch,1))}))})),a("state()",(function(){return this.context.length?this.context[0].oSavedState:null})),a("state.clear()",(function(){return this.iterator("table",(function(t){t.fnStateSaveCallback.call(t.oInstance,t,{})}))})),a("state.loaded()",(function(){return this.context.length?this.context[0].oLoadedState:null})),a("state.save()",(function(){return this.iterator("table",(function(t){ie(t)}))})),l.versionCheck=l.fnVersionCheck=function(t){for(var e,n,r=l.version.split("."),o=t.split("."),i=0,a=o.length;i<a;i++)if((e=parseInt(r[i],10)||0)!==(n=parseInt(o[i],10)||0))return e>n;return!0},l.isDataTable=l.fnIsDataTable=function(e){var n=t(e).get(0),r=!1;return e instanceof l.Api||(t.each(l.settings,(function(e,o){var i=o.nScrollHead?t("table",o.nScrollHead)[0]:null,a=o.nScrollFoot?t("table",o.nScrollFoot)[0]:null;o.nTable!==n&&i!==n&&a!==n||(r=!0)})),r)},l.tables=l.fnTables=function(e){var n=!1;t.isPlainObject(e)&&(n=e.api,e=e.visible);var r=t.map(l.settings,(function(n){if(!e||e&&t(n.nTable).is(":visible"))return n.nTable}));return n?new i(r):r},l.camelToHungarian=F,a("$()",(function(e,n){var r=this.rows(n).nodes(),o=t(r);return t([].concat(o.filter(e).toArray(),o.find(e).toArray()))})),t.each(["on","one","off"],(function(e,n){a(n+"()",(function(){var e=Array.prototype.slice.call(arguments);e[0]=t.map(e[0].split(/\s/),(function(t){return t.match(/\.dt\b/)?t:t+".dt"})).join(" ");var r=t(this.tables().nodes());return r[n].apply(r,e),this}))})),a("clear()",(function(){return this.iterator("table",(function(t){et(t)}))})),a("settings()",(function(){return new i(this.context,this.context)})),a("init()",(function(){var t=this.context;return t.length?t[0].oInit:null})),a("data()",(function(){return this.iterator("table",(function(t){return _(t.aoData,"_aData")})).flatten()})),a("destroy()",(function(n){return n=n||!1,this.iterator("table",(function(r){var o,a=r.nTableWrapper.parentNode,s=r.oClasses,d=r.nTable,c=r.nTBody,u=r.nTHead,f=r.nTFoot,h=t(d),p=t(c),m=t(r.nTableWrapper),b=t.map(r.aoData,(function(t){return t.nTr}));r.bDestroying=!0,pe(r,"aoDestroyCallback","destroy",[r]),n||new i(r).columns().visible(!0),m.off(".DT").find(":not(tbody *)").off(".DT"),t(e).off(".DT-"+r.sInstance),d!=u.parentNode&&(h.children("thead").detach(),h.append(u)),f&&d!=f.parentNode&&(h.children("tfoot").detach(),h.append(f)),r.aaSorting=[],r.aaSortingFixed=[],re(r),t(b).removeClass(r.asStripeClasses.join(" ")),t("th, td",u).removeClass(s.sSortable+" "+s.sSortableAsc+" "+s.sSortableDesc+" "+s.sSortableNone),p.children().detach(),p.append(b);var g=n?"remove":"detach";h[g](),m[g](),!n&&a&&(a.insertBefore(d,r.nTableReinsertBefore),h.css("width",r.sDestroyWidth).removeClass(s.sTable),(o=r.asDestroyStripes.length)&&p.children().each((function(e){t(this).addClass(r.asDestroyStripes[e%o])})));var v=t.inArray(r,l.settings);-1!==v&&l.settings.splice(v,1)}))})),t.each(["column","row","cell"],(function(t,e){a(e+"s().every()",(function(t){var n=this.selector.opts,o=this;return this.iterator(e,(function(i,a,s,l,d){t.call(o[e](a,"cell"===e?s:n,"cell"===e?n:r),a,s,l,d)}))}))})),a("i18n()",(function(e,n,o){var i=this.context[0],a=J(e)(i.oLanguage);return a===r&&(a=n),o!==r&&t.isPlainObject(a)&&(a=a[o]!==r?a[o]:a._),a.replace("%d",o)})),l.version="1.11.3",l.settings=[],l.models={},l.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0,return:!1},l.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null,idx:-1},l.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null},l.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(t){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(t){try{return JSON.parse((-1===t.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+t.sInstance+"_"+location.pathname))}catch(t){return{}}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(t,e){try{(-1===t.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+t.sInstance+"_"+location.pathname,JSON.stringify(e))}catch(t){}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:": activate to sort column ascending",sSortDescending:": activate to sort column descending"},oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"Processing...",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:t.extend({},l.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId"},D(l.defaults),l.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null},D(l.defaults.column),l.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1,bBounding:!1,barWidth:0},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aIds:{},aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,jqXHR:null,json:r,oAjaxData:r,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==ge(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==ge(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var t=this._iDisplayLength,e=this._iDisplayStart,n=e+t,r=this.aiDisplay.length,o=this.oFeatures,i=o.bPaginate;return o.bServerSide?!1===i||-1===t?e+r:Math.min(e+t,this._iRecordsDisplay):!i||n>r||-1===t?r:n},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null},l.ext=o={buttons:{},classes:{},builder:"-source-",errMode:"alert",feature:[],search:[],selector:{cell:[],column:[],row:[]},internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:l.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:l.version},t.extend(o,{afnFiltering:o.search,aTypes:o.type.detect,ofnSearch:o.type.search,oSort:o.type.order,afnSortData:o.order,aoFeatures:o.feature,oApi:o.internal,oStdClasses:o.classes,oPagination:o.pager}),t.extend(l.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled",sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty",sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_desc_disabled",sSortableDesc:"sorting_asc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:"dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",sJUIHeader:"",sJUIFooter:""});var Be=l.ext.pager;function Oe(t,e){var n=[],r=Be.numbers_length,o=Math.floor(r/2);return e<=r?n=x(0,e):t<=o?((n=x(0,r-2)).push("ellipsis"),n.push(e-1)):t>=e-1-o?((n=x(e-(r-2),e)).splice(0,0,"ellipsis"),n.splice(0,0,0)):((n=x(t-o+2,t+o-1)).push("ellipsis"),n.push(e-1),n.splice(0,0,"ellipsis"),n.splice(0,0,0)),n.DT_el="span",n}t.extend(Be,{simple:function(t,e){return["previous","next"]},full:function(t,e){return["first","previous","next","last"]},numbers:function(t,e){return[Oe(t,e)]},simple_numbers:function(t,e){return["previous",Oe(t,e),"next"]},full_numbers:function(t,e){return["first","previous",Oe(t,e),"next","last"]},first_last_numbers:function(t,e){return["first",Oe(t,e),"last"]},_numbers:Oe,numbers_length:7}),t.extend(!0,l.ext.renderer,{pageButton:{_:function(e,o,i,a,s,l){var d,c,u,f=e.oClasses,h=e.oLanguage.oPaginate,p=e.oLanguage.oAria.paginate||{},m=0,b=function(n,r){var o,a,u,g,v=f.sPageButtonDisabled,y=function(t){jt(e,t.data.action,!0)};for(o=0,a=r.length;o<a;o++)if(u=r[o],Array.isArray(u)){var _=t("<"+(u.DT_el||"div")+"/>").appendTo(n);b(_,u)}else{switch(d=null,c=u,g=e.iTabIndex,u){case"ellipsis":n.append('<span class="ellipsis">&#x2026;</span>');break;case"first":d=h.sFirst,0===s&&(g=-1,c+=" "+v);break;case"previous":d=h.sPrevious,0===s&&(g=-1,c+=" "+v);break;case"next":d=h.sNext,0!==l&&s!==l-1||(g=-1,c+=" "+v);break;case"last":d=h.sLast,0!==l&&s!==l-1||(g=-1,c+=" "+v);break;default:d=e.fnFormatNumber(u+1),c=s===u?f.sPageButtonActive:""}null!==d&&(fe(t("<a>",{class:f.sPageButton+" "+c,"aria-controls":e.sTableId,"aria-label":p[u],"data-dt-idx":m,tabindex:g,id:0===i&&"string"==typeof u?e.sTableId+"_"+u:null}).html(d).appendTo(n),{action:u},y),m++)}};try{u=t(o).find(n.activeElement).data("dt-idx")}catch(t){}b(t(o).empty(),a),u!==r&&t(o).find("[data-dt-idx="+u+"]").trigger("focus")}}}),t.extend(l.ext.type.detect,[function(t,e){var n=e.oLanguage.sDecimal;return v(t,n)?"num"+n:null},function(t,e){if(t&&!(t instanceof Date)&&!f.test(t))return null;var n=Date.parse(t);return null!==n&&!isNaN(n)||m(t)?"date":null},function(t,e){var n=e.oLanguage.sDecimal;return v(t,n,!0)?"num-fmt"+n:null},function(t,e){var n=e.oLanguage.sDecimal;return y(t,n)?"html-num"+n:null},function(t,e){var n=e.oLanguage.sDecimal;return y(t,n,!0)?"html-num-fmt"+n:null},function(t,e){return m(t)||"string"==typeof t&&-1!==t.indexOf("<")?"html":null}]),t.extend(l.ext.type.search,{html:function(t){return m(t)?t:"string"==typeof t?t.replace(c," ").replace(u,""):""},string:function(t){return m(t)?t:"string"==typeof t?t.replace(c," "):t}});var Ne=function(t,e,n,r){return 0===t||t&&"-"!==t?(e&&(t=g(t,e)),t.replace&&(n&&(t=t.replace(n,"")),r&&(t=t.replace(r,""))),1*t):-1/0};function Le(e){t.each({num:function(t){return Ne(t,e)},"num-fmt":function(t){return Ne(t,e,p)},"html-num":function(t){return Ne(t,e,u)},"html-num-fmt":function(t){return Ne(t,e,u,p)}},(function(t,n){o.type.order[t+e+"-pre"]=n,t.match(/^html\-/)&&(o.type.search[t+e]=o.type.search.html)}))}t.extend(o.type.order,{"date-pre":function(t){var e=Date.parse(t);return isNaN(e)?-1/0:e},"html-pre":function(t){return m(t)?"":t.replace?t.replace(/<.*?>/g,"").toLowerCase():t+""},"string-pre":function(t){return m(t)?"":"string"==typeof t?t.toLowerCase():t.toString?t.toString():""},"string-asc":function(t,e){return t<e?-1:t>e?1:0},"string-desc":function(t,e){return t<e?1:t>e?-1:0}}),Le(""),t.extend(!0,l.ext.renderer,{header:{_:function(e,n,r,o){t(e.nTable).on("order.dt.DT",(function(t,i,a,s){if(e===i){var l=r.idx;n.removeClass(o.sSortAsc+" "+o.sSortDesc).addClass("asc"==s[l]?o.sSortAsc:"desc"==s[l]?o.sSortDesc:r.sSortingClass)}}))},jqueryui:function(e,n,r,o){t("<div/>").addClass(o.sSortJUIWrapper).append(n.contents()).append(t("<span/>").addClass(o.sSortIcon+" "+r.sSortingClassJUI)).appendTo(n),t(e.nTable).on("order.dt.DT",(function(t,i,a,s){if(e===i){var l=r.idx;n.removeClass(o.sSortAsc+" "+o.sSortDesc).addClass("asc"==s[l]?o.sSortAsc:"desc"==s[l]?o.sSortDesc:r.sSortingClass),n.find("span."+o.sSortIcon).removeClass(o.sSortJUIAsc+" "+o.sSortJUIDesc+" "+o.sSortJUI+" "+o.sSortJUIAscAllowed+" "+o.sSortJUIDescAllowed).addClass("asc"==s[l]?o.sSortJUIAsc:"desc"==s[l]?o.sSortJUIDesc:r.sSortingClassJUI)}}))}}});var Ee=function(t){return Array.isArray(t)&&(t=t.join(",")),"string"==typeof t?t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"):t};function Pe(t){return function(){var e=[le(this[l.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return l.ext.internal[t].apply(this,e)}}return l.render={number:function(t,e,n,r,o){return{display:function(i){if("number"!=typeof i&&"string"!=typeof i)return i;var a=i<0?"-":"",s=parseFloat(i);if(isNaN(s))return Ee(i);s=s.toFixed(n),i=Math.abs(s);var l=parseInt(i,10),d=n?e+(i-l).toFixed(n).substring(2):"";return 0===l&&0===parseFloat(d)&&(a=""),a+(r||"")+l.toString().replace(/\B(?=(\d{3})+(?!\d))/g,t)+d+(o||"")}}},text:function(){return{display:Ee,filter:Ee}}},t.extend(l.ext.internal,{_fnExternApiFunc:Pe,_fnBuildAjax:pt,_fnAjaxUpdate:mt,_fnAjaxParameters:bt,_fnAjaxUpdateDraw:gt,_fnAjaxDataSrc:vt,_fnAddColumn:E,_fnColumnOptions:P,_fnAdjustColumnSizing:z,_fnVisibleToColumnIndex:j,_fnColumnIndexToVisible:H,_fnVisbleColumns:W,_fnGetColumns:U,_fnColumnTypes:M,_fnApplyColumnDefs:q,_fnHungarianMap:D,_fnCamelToHungarian:F,_fnLanguageCompat:A,_fnBrowserDetect:N,_fnAddData:V,_fnAddTr:Z,_fnNodeToDataIndex:function(t,e){return e._DT_RowIndex!==r?e._DT_RowIndex:null},_fnNodeToColumnIndex:function(e,n,r){return t.inArray(r,e.aoData[n].anCells)},_fnGetCellData:X,_fnSetCellData:G,_fnSplitObjNotation:Y,_fnGetObjectDataFn:J,_fnSetObjectDataFn:Q,_fnGetDataMaster:tt,_fnClearTable:et,_fnDeleteIndex:nt,_fnInvalidate:rt,_fnGetRowElements:ot,_fnCreateTr:it,_fnBuildHead:st,_fnDrawHead:lt,_fnDraw:dt,_fnReDraw:ct,_fnAddOptionsHtml:ut,_fnDetectHeader:ft,_fnGetUniqueThs:ht,_fnFeatureHtmlFilter:yt,_fnFilterComplete:_t,_fnFilterCustom:wt,_fnFilterColumn:xt,_fnFilter:Ct,_fnFilterCreateSearch:St,_fnEscapeRegex:Tt,_fnFilterData:Dt,_fnFeatureHtmlInfo:Rt,_fnUpdateInfo:Bt,_fnInfoMacros:Ot,_fnInitialise:Nt,_fnInitComplete:Lt,_fnLengthChange:Et,_fnFeatureHtmlLength:Pt,_fnFeatureHtmlPaginate:zt,_fnPageChange:jt,_fnFeatureHtmlProcessing:Ht,_fnProcessingDisplay:Wt,_fnFeatureHtmlTable:Ut,_fnScrollDraw:Mt,_fnApplyToChildren:qt,_fnCalculateColumnWidths:Zt,_fnThrottle:Xt,_fnConvertToWidth:Gt,_fnGetWidestNode:$t,_fnGetMaxLenString:Kt,_fnStringToCss:Yt,_fnSortFlatten:Jt,_fnSort:Qt,_fnSortAria:te,_fnSortListener:ee,_fnSortAttachListener:ne,_fnSortingClasses:re,_fnSortData:oe,_fnSaveState:ie,_fnLoadState:ae,_fnImplementState:se,_fnSettingsFromNode:le,_fnLog:de,_fnMap:ce,_fnBindAction:fe,_fnCallbackReg:he,_fnCallbackFire:pe,_fnLengthOverflow:me,_fnRenderer:be,_fnDataSource:ge,_fnRowAttributes:at,_fnExtend:ue,_fnCalculateEnd:function(){}}),t.fn.dataTable=l,l.$=t,t.fn.dataTableSettings=l.settings,t.fn.dataTableExt=l.ext,t.fn.DataTable=function(e){return t(this).dataTable(e).api()},t.each(l,(function(e,n){t.fn.DataTable[e]=n})),l})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net")(e,n).$),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,r){"use strict";var o=t.fn.dataTable;return t.extend(!0,o.defaults,{dom:"<'row'<'col-sm-12 col-md-6'l><'col-sm-12 col-md-6'f>><'row'<'col-sm-12'tr>><'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",renderer:"bootstrap"}),t.extend(o.ext.classes,{sWrapper:"dataTables_wrapper dt-bootstrap4",sFilterInput:"form-control form-control-sm",sLengthSelect:"custom-select custom-select-sm form-control form-control-sm",sProcessing:"dataTables_processing card",sPageButton:"paginate_button page-item"}),o.ext.renderer.pageButton.bootstrap=function(e,i,a,s,l,d){var c,u,f,h=new o.Api(e),p=e.oClasses,m=e.oLanguage.oPaginate,b=e.oLanguage.oAria.paginate||{},g=0,v=function(n,r){var o,i,s,f,y=function(e){e.preventDefault(),t(e.currentTarget).hasClass("disabled")||h.page()==e.data.action||h.page(e.data.action).draw("page")};for(o=0,i=r.length;o<i;o++)if(f=r[o],Array.isArray(f))v(n,f);else{switch(c="",u="",f){case"ellipsis":c="&#x2026;",u="disabled";break;case"first":c=m.sFirst,u=f+(l>0?"":" disabled");break;case"previous":c=m.sPrevious,u=f+(l>0?"":" disabled");break;case"next":c=m.sNext,u=f+(l<d-1?"":" disabled");break;case"last":c=m.sLast,u=f+(l<d-1?"":" disabled");break;default:c=f+1,u=l===f?"active":""}c&&(s=t("<li>",{class:p.sPageButton+" "+u,id:0===a&&"string"==typeof f?e.sTableId+"_"+f:null}).append(t("<a>",{href:"#","aria-controls":e.sTableId,"aria-label":b[f],"data-dt-idx":g,tabindex:e.iTabIndex,class:"page-link"}).html(c)).appendTo(n),e.oApi._fnBindAction(s,{action:f},y),g++)}};try{f=t(i).find(n.activeElement).data("dt-idx")}catch(t){}v(t(i).empty().html('<ul class="pagination"/>').children("ul"),s),f!==r&&t(i).find("[data-dt-idx="+f+"]").trigger("focus")},o})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net")(e,n).$),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,r){"use strict";var o=t.fn.dataTable,i=0,a=function(e,n){if(!o.versionCheck||!o.versionCheck("1.10.8"))throw"Warning: AutoFill requires DataTables 1.10.8 or greater";this.c=t.extend(!0,{},o.defaults.autoFill,a.defaults,n),this.s={dt:new o.Api(e),namespace:".autoFill"+i++,scroll:{},scrollInterval:null,handle:{height:0,width:0},enabled:!1},this.dom={handle:t('<div class="dt-autofill-handle"/>'),select:{top:t('<div class="dt-autofill-select top"/>'),right:t('<div class="dt-autofill-select right"/>'),bottom:t('<div class="dt-autofill-select bottom"/>'),left:t('<div class="dt-autofill-select left"/>')},background:t('<div class="dt-autofill-background"/>'),list:t('<div class="dt-autofill-list">'+this.s.dt.i18n("autoFill.info","")+"<ul/></div>"),dtScroll:null,offsetParent:null},this._constructor()};t.extend(a.prototype,{enabled:function(){return this.s.enabled},enable:function(t){var e=this;return!1===t?this.disable():(this.s.enabled=!0,this._focusListener(),this.dom.handle.on("mousedown",(function(t){return e._mousedown(t),!1})),this)},disable:function(){return this.s.enabled=!1,this._focusListenerRemove(),this},_constructor:function(){var e=this,n=this.s.dt,r=t("div.dataTables_scrollBody",this.s.dt.table().container());n.settings()[0].autoFill=this,r.length&&(this.dom.dtScroll=r,"static"===r.css("position")&&r.css("position","relative")),!1!==this.c.enable&&this.enable(),n.on("destroy.autoFill",(function(){e._focusListenerRemove()}))},_attach:function(e){var n=this.s.dt,r=n.cell(e).index(),o=this.dom.handle,i=this.s.handle;if(r&&-1!==n.columns(this.c.columns).indexes().indexOf(r.column)){this.dom.offsetParent||(this.dom.offsetParent=t(n.table().node()).offsetParent()),i.height&&i.width||(o.appendTo("body"),i.height=o.outerHeight(),i.width=o.outerWidth());var a=this._getPosition(e,this.dom.offsetParent);this.dom.attachedTo=e,o.css({top:a.top+e.offsetHeight-i.height,left:a.left+e.offsetWidth-i.width}).appendTo(this.dom.offsetParent)}else this._detach()},_actionSelector:function(e){var n=this,r=this.s.dt,o=a.actions,i=[];if(t.each(o,(function(t,n){n.available(r,e)&&i.push(t)})),1===i.length&&!1===this.c.alwaysAsk){var s=o[i[0]].execute(r,e);this._update(s,e)}else if(i.length>1){var l=this.dom.list.children("ul").empty();i.push("cancel"),t.each(i,(function(i,s){l.append(t("<li/>").append('<div class="dt-autofill-question">'+o[s].option(r,e)+"<div>").append(t('<div class="dt-autofill-button">').append(t('<button class="'+a.classes.btn+'">'+r.i18n("autoFill.button","&gt;")+"</button>").on("click",(function(){var i=o[s].execute(r,e,t(this).closest("li"));n._update(i,e),n.dom.background.remove(),n.dom.list.remove()})))))})),this.dom.background.appendTo("body"),this.dom.list.appendTo("body"),this.dom.list.css("margin-top",this.dom.list.outerHeight()/2*-1)}},_detach:function(){this.dom.attachedTo=null,this.dom.handle.detach()},_drawSelection:function(e,n){var r=this.s.dt,o=this.s.start,i=t(this.dom.start),a={row:this.c.vertical?r.rows({page:"current"}).nodes().indexOf(e.parentNode):o.row,column:this.c.horizontal?t(e).index():o.column},s=r.column.index("toData",a.column),l=r.row(":eq("+a.row+")",{page:"current"}),d=t(r.cell(l.index(),s).node());if(r.cell(d).any()&&-1!==r.columns(this.c.columns).indexes().indexOf(s)){var c,u,f,h,p,m;this.s.end=a,c=o.row<a.row?i:d,u=o.row<a.row?d:i,f=o.column<a.column?i:d,h=o.column<a.column?d:i,c=this._getPosition(c.get(0)).top,f=this._getPosition(f.get(0)).left,p=this._getPosition(u.get(0)).top+u.outerHeight()-c,m=this._getPosition(h.get(0)).left+h.outerWidth()-f;var b=this.dom.select;b.top.css({top:c,left:f,width:m}),b.left.css({top:c,left:f,height:p}),b.bottom.css({top:c+p,left:f,width:m}),b.right.css({top:c,left:f+m,height:p})}},_editor:function(t){var e=this.s.dt,n=this.c.editor;if(n){for(var o={},i=[],a=n.fields(),s=0,l=t.length;s<l;s++)for(var d=0,c=t[s].length;d<c;d++){var u=t[s][d],f=e.settings()[0].aoColumns[u.index.column],h=f.editField;if(h===r)for(var p=f.mData,m=0,b=a.length;m<b;m++){var g=n.field(a[m]);if(g.dataSrc()===p){h=g.name();break}}if(!h)throw"Could not automatically determine field data. Please see https://datatables.net/tn/11";o[h]||(o[h]={});var v=e.row(u.index.row).id();o[h][v]=u.set,i.push(u.index)}n.bubble(i,!1).multiSet(o).submit()}},_emitEvent:function(e,n){this.s.dt.iterator("table",(function(r,o){t(r.nTable).triggerHandler(e+".dt",n)}))},_focusListener:function(){var e=this,r=this.s.dt,o=this.s.namespace,i=null!==this.c.focus?this.c.focus:r.init().keys||r.settings()[0].keytable?"focus":"hover";"focus"===i?r.on("key-focus.autoFill",(function(t,n,r){e._attach(r.node())})).on("key-blur.autoFill",(function(t,n,r){e._detach()})):"click"===i?(t(r.table().body()).on("click"+o,"td, th",(function(t){e._attach(this)})),t(n.body).on("click"+o,(function(n){t(n.target).parents().filter(r.table().body()).length||e._detach()}))):t(r.table().body()).on("mouseenter"+o,"td, th",(function(t){e._attach(this)})).on("mouseleave"+o,(function(n){t(n.relatedTarget).hasClass("dt-autofill-handle")||e._detach()}))},_focusListenerRemove:function(){var e=this.s.dt;e.off(".autoFill"),t(e.table().body()).off(this.s.namespace),t(n.body).off(this.s.namespace)},_getPosition:function(e,n){var r,o=e,i=0,a=0;n||(n=t(t(this.s.dt.table().node())[0].offsetParent));do{var s=o.offsetTop,l=o.offsetLeft;if(r=t(o.offsetParent),i+=s+1*parseInt(r.css("border-top-width")||0),a+=l+1*parseInt(r.css("border-left-width")||0),"body"===o.nodeName.toLowerCase())break;o=r.get(0)}while(r.get(0)!==n.get(0));return{top:i,left:a}},_mousedown:function(r){var o=this,i=this.s.dt;this.dom.start=this.dom.attachedTo,this.s.start={row:i.rows({page:"current"}).nodes().indexOf(t(this.dom.start).parent()[0]),column:t(this.dom.start).index()},t(n.body).on("mousemove.autoFill",(function(t){o._mousemove(t)})).on("mouseup.autoFill",(function(t){o._mouseup(t)}));var a=this.dom.select,s=t(i.table().node()).offsetParent();a.top.appendTo(s),a.left.appendTo(s),a.right.appendTo(s),a.bottom.appendTo(s),this._drawSelection(this.dom.start,r),this.dom.handle.css("display","none");var l=this.dom.dtScroll;this.s.scroll={windowHeight:t(e).height(),windowWidth:t(e).width(),dtTop:l?l.offset().top:null,dtLeft:l?l.offset().left:null,dtHeight:l?l.outerHeight():null,dtWidth:l?l.outerWidth():null}},_mousemove:function(t){this.s.dt;var e=t.target.nodeName.toLowerCase();"td"!==e&&"th"!==e||(this._drawSelection(t.target,t),this._shiftScroll(t))},_mouseup:function(e){t(n.body).off(".autoFill");var o=this,i=this.s.dt,a=this.dom.select;a.top.remove(),a.left.remove(),a.right.remove(),a.bottom.remove(),this.dom.handle.css("display","block");var s=this.s.start,l=this.s.end;if(s.row!==l.row||s.column!==l.column){var d=i.cell(":eq("+s.row+")",s.column+":visible",{page:"current"});if(t("div.DTE",d.node()).length){var c=i.editor();return c.on("submitSuccess.dtaf close.dtaf",(function(){c.off(".dtaf"),setTimeout((function(){o._mouseup(e)}),100)})).on("submitComplete.dtaf preSubmitCancelled.dtaf close.dtaf",(function(){c.off(".dtaf")})),void c.submit()}for(var u=this._range(s.row,l.row),f=this._range(s.column,l.column),h=[],p=i.settings()[0],m=p.aoColumns,b=i.columns(this.c.columns).indexes(),g=0;g<u.length;g++)h.push(t.map(f,(function(t){var e=i.row(":eq("+u[g]+")",{page:"current"}),n=i.cell(e.index(),t+":visible"),o=n.data(),a=n.index(),s=m[a.column].editField;if(s!==r&&(o=p.oApi._fnGetObjectDataFn(s)(i.row(a.row).data())),-1!==b.indexOf(a.column))return{cell:n,data:o,label:n.data(),index:a}})));this._actionSelector(h),clearInterval(this.s.scrollInterval),this.s.scrollInterval=null}},_range:function(t,e){var n,r=[];if(t<=e)for(n=t;n<=e;n++)r.push(n);else for(n=t;n>=e;n--)r.push(n);return r},_shiftScroll:function(t){var e,r,o,i,a=this,s=(this.s.dt,this.s.scroll),l=!1,d=65,c=t.pageY-n.body.scrollTop,u=t.pageX-n.body.scrollLeft;c<d?e=-5:c>s.windowHeight-d&&(e=5),u<d?r=-5:u>s.windowWidth-d&&(r=5),null!==s.dtTop&&t.pageY<s.dtTop+d?o=-5:null!==s.dtTop&&t.pageY>s.dtTop+s.dtHeight-d&&(o=5),null!==s.dtLeft&&t.pageX<s.dtLeft+d?i=-5:null!==s.dtLeft&&t.pageX>s.dtLeft+s.dtWidth-d&&(i=5),e||r||o||i?(s.windowVert=e,s.windowHoriz=r,s.dtVert=o,s.dtHoriz=i,l=!0):this.s.scrollInterval&&(clearInterval(this.s.scrollInterval),this.s.scrollInterval=null),!this.s.scrollInterval&&l&&(this.s.scrollInterval=setInterval((function(){if(s.windowVert&&(n.body.scrollTop+=s.windowVert),s.windowHoriz&&(n.body.scrollLeft+=s.windowHoriz),s.dtVert||s.dtHoriz){var t=a.dom.dtScroll[0];s.dtVert&&(t.scrollTop+=s.dtVert),s.dtHoriz&&(t.scrollLeft+=s.dtHoriz)}}),20))},_update:function(t,e){if(!1!==t){var n,r=this.s.dt,o=r.columns(this.c.columns).indexes();if(this._emitEvent("preAutoFill",[r,e]),this._editor(e),null!==this.c.update?this.c.update:!this.c.editor){for(var i=0,a=e.length;i<a;i++)for(var s=0,l=e[i].length;s<l;s++)n=e[i][s],-1!==o.indexOf(n.index.column)&&n.cell.data(n.set);r.draw(!1)}this._emitEvent("autoFill",[r,e])}}}),a.actions={increment:{available:function(t,e){var n=e[0][0].label;return!isNaN(n-parseFloat(n))},option:function(t,e){return t.i18n("autoFill.increment",'Increment / decrement each cell by: <input type="number" value="1">')},execute:function(e,n,r){for(var o=1*n[0][0].data,i=1*t("input",r).val(),a=0,s=n.length;a<s;a++)for(var l=0,d=n[a].length;l<d;l++)n[a][l].set=o,o+=i}},fill:{available:function(t,e){return!0},option:function(t,e){return t.i18n("autoFill.fill","Fill all cells with <i>%d</i>",e[0][0].label)},execute:function(t,e,n){for(var r=e[0][0].data,o=0,i=e.length;o<i;o++)for(var a=0,s=e[o].length;a<s;a++)e[o][a].set=r}},fillHorizontal:{available:function(t,e){return e.length>1&&e[0].length>1},option:function(t,e){return t.i18n("autoFill.fillHorizontal","Fill cells horizontally")},execute:function(t,e,n){for(var r=0,o=e.length;r<o;r++)for(var i=0,a=e[r].length;i<a;i++)e[r][i].set=e[r][0].data}},fillVertical:{available:function(t,e){return e.length>1},option:function(t,e){return t.i18n("autoFill.fillVertical","Fill cells vertically")},execute:function(t,e,n){for(var r=0,o=e.length;r<o;r++)for(var i=0,a=e[r].length;i<a;i++)e[r][i].set=e[0][i].data}},cancel:{available:function(){return!1},option:function(t){return t.i18n("autoFill.cancel","Cancel")},execute:function(){return!1}}},a.version="2.3.9",a.defaults={alwaysAsk:!1,focus:null,columns:"",enable:!0,update:null,editor:null,vertical:!0,horizontal:!0},a.classes={btn:"btn"};var s=t.fn.dataTable.Api;return s.register("autoFill()",(function(){return this})),s.register("autoFill().enabled()",(function(){var t=this.context[0];return!!t.autoFill&&t.autoFill.enabled()})),s.register("autoFill().enable()",(function(t){return this.iterator("table",(function(e){e.autoFill&&e.autoFill.enable(t)}))})),s.register("autoFill().disable()",(function(){return this.iterator("table",(function(t){t.autoFill&&t.autoFill.disable()}))})),t(n).on("preInit.dt.autofill",(function(e,n,r){if("dt"===e.namespace){var i=n.oInit.autoFill,s=o.defaults.autoFill;if(i||s){var l=t.extend({},i,s);!1!==i&&new a(n,l)}}})),o.AutoFill=a,o.AutoFill=a,a})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net-bs4","datatables.net-autofill"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net-bs4")(e,n).$),n.fn.dataTable.AutoFill||require("datatables.net-autofill")(e,n),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,r){"use strict";var o=t.fn.dataTable;return o.AutoFill.classes.btn="btn btn-primary",o})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net")(e,n).$),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,r){"use strict";var o=t.fn.dataTable,i=0,a=0,s=o.ext.buttons;function l(e,n,r){t.fn.animate?e.stop().fadeIn(n,r):(e.css("display","block"),r&&r.call(e))}function d(e,n,r){t.fn.animate?e.stop().fadeOut(n,r):(e.css("display","none"),r&&r.call(e))}var c,u=function(e,n){if(!(this instanceof u))return function(t){return new u(t,e).container()};void 0===n&&(n={}),!0===n&&(n={}),Array.isArray(n)&&(n={buttons:n}),this.c=t.extend(!0,{},u.defaults,n),n.buttons&&(this.c.buttons=n.buttons),this.s={dt:new o.Api(e),buttons:[],listenKeys:"",namespace:"dtb"+i++},this.dom={container:t("<"+this.c.dom.container.tag+"/>").addClass(this.c.dom.container.className)},this._constructor()};t.extend(u.prototype,{action:function(t,e){var n=this._nodeToButton(t);return e===r?n.conf.action:(n.conf.action=e,this)},active:function(e,n){var o=this._nodeToButton(e),i=this.c.dom.button.active,a=t(o.node);return n===r?a.hasClass(i):(a.toggleClass(i,n===r||n),this)},add:function(t,e,n){var o=this.s.buttons;if("string"==typeof e){for(var i=e.split("-"),a=this.s,s=0,l=i.length-1;s<l;s++)a=a.buttons[1*i[s]];o=a.buttons,e=1*i[i.length-1]}return this._expandButton(o,t,t!==r?t.split:r,(t===r||t.split===r||0===t.split.length)&&a!==r,!1,e),n!==r&&!0!==n||this._draw(),this},collectionRebuild:function(t,e){var n=this._nodeToButton(t);if(e!==r){var o;for(o=n.buttons.length-1;o>=0;o--)this.remove(n.buttons[o].node);for(o=0;o<e.length;o++){var i=e[o];this._expandButton(n.buttons,i,i!==r&&i.config!==r&&i.config.split!==r,!0,i.parentConf!==r&&i.parentConf.split!==r,o,i.parentConf)}}this._draw(n.collection,n.buttons)},container:function(){return this.dom.container},disable:function(e){var n=this._nodeToButton(e);return t(n.node).addClass(this.c.dom.button.disabled).attr("disabled",!0),this},destroy:function(){t("body").off("keyup."+this.s.namespace);var e,n,r=this.s.buttons.slice();for(e=0,n=r.length;e<n;e++)this.remove(r[e].node);this.dom.container.remove();var o=this.s.dt.settings()[0];for(e=0,n=o.length;e<n;e++)if(o.inst===this){o.splice(e,1);break}return this},enable:function(e,n){if(!1===n)return this.disable(e);var r=this._nodeToButton(e);return t(r.node).removeClass(this.c.dom.button.disabled).removeAttr("disabled"),this},index:function(t,e,n){e||(e="",n=this.s.buttons);for(var r=0,o=n.length;r<o;r++){var i=n[r].buttons;if(n[r].node===t)return e+r;if(i&&i.length){var a=this.index(t,r+"-",i);if(null!==a)return a}}return null},name:function(){return this.c.name},node:function(e){if(!e)return this.dom.container;var n=this._nodeToButton(e);return t(n.node)},processing:function(e,n){var o=this.s.dt,i=this._nodeToButton(e);return n===r?t(i.node).hasClass("processing"):(t(i.node).toggleClass("processing",n),t(o.table().node()).triggerHandler("buttons-processing.dt",[n,o.button(e),o,t(e),i.conf]),this)},remove:function(e){var n=this._nodeToButton(e),r=this._nodeToHost(e),o=this.s.dt;if(n.buttons.length)for(var i=n.buttons.length-1;i>=0;i--)this.remove(n.buttons[i].node);n.conf.destroying=!0,n.conf.destroy&&n.conf.destroy.call(o.button(e),o,t(e),n.conf),this._removeKey(n.conf),t(n.node).remove();var a=t.inArray(n,r);return r.splice(a,1),this},text:function(e,n){var o=this._nodeToButton(e),i=this.c.dom.collection.buttonLiner,a=o.inCollection&&i&&i.tag?i.tag:this.c.dom.buttonLiner.tag,s=this.s.dt,l=t(o.node),d=function(t){return"function"==typeof t?t(s,l,o.conf):t};return n===r?d(o.conf.text):(o.conf.text=n,a?l.children(a).eq(0).filter(":not(.dt-down-arrow)").html(d(n)):l.html(d(n)),this)},_constructor:function(){var e=this,r=this.s.dt,o=r.settings()[0],i=this.c.buttons;o._buttons||(o._buttons=[]),o._buttons.push({inst:this,name:this.c.name});for(var a=0,s=i.length;a<s;a++)this.add(i[a]);r.on("destroy",(function(t,n){n===o&&e.destroy()})),t("body").on("keyup."+this.s.namespace,(function(t){if(!n.activeElement||n.activeElement===n.body){var r=String.fromCharCode(t.keyCode).toLowerCase();-1!==e.s.listenKeys.toLowerCase().indexOf(r)&&e._keypress(r,t)}}))},_addKey:function(e){e.key&&(this.s.listenKeys+=t.isPlainObject(e.key)?e.key.key:e.key)},_draw:function(t,e){t||(t=this.dom.container,e=this.s.buttons),t.children().detach();for(var n=0,r=e.length;n<r;n++)t.append(e[n].inserter),t.append(" "),e[n].buttons&&e[n].buttons.length&&this._draw(e[n].collection,e[n].buttons)},_expandButton:function(e,n,o,i,a,s,l){var d=this.s.dt,c=!1,u=Array.isArray(n)?n:[n];n===r&&(u=Array.isArray(o)?o:[o]),n!==r&&n.split!==r&&(c=!0);for(var f=0,h=u.length;f<h;f++){var p=this._resolveExtends(u[f]);if(p)if(c=!(p.config===r||!p.config.split),Array.isArray(p))this._expandButton(e,p,m!==r&&m.conf!==r?m.conf.split:r,i,l!==r&&l.split!==r,s,l);else{var m=this._buildButton(p,i,p.split!==r||p.config!==r&&p.config.split!==r,a);if(m){if(s!==r&&null!==s?(e.splice(s,0,m),s++):e.push(m),m.conf.buttons||m.conf.split){if(m.collection=t("<"+(c?this.c.dom.splitCollection.tag:this.c.dom.collection.tag)+"/>"),m.conf._collection=m.collection,m.conf.split)for(var b=0;b<m.conf.split.length;b++)"object"==typeof m.conf.split[b]&&(m.conf.split[f].parent=l,m.conf.split[b].collectionLayout===r&&(m.conf.split[b].collectionLayout=m.conf.collectionLayout),m.conf.split[b].dropup===r&&(m.conf.split[b].dropup=m.conf.dropup),m.conf.split[b].fade===r&&(m.conf.split[b].fade=m.conf.fade));else t(m.node).append(t('<span class="dt-down-arrow">'+this.c.dom.splitDropdown.text+"</span>"));this._expandButton(m.buttons,m.conf.buttons,m.conf.split,!c,c,s,m.conf)}m.conf.parent=l,p.init&&p.init.call(d.button(m.node),d,t(m.node),p)}}}},_buildButton:function(e,n,o,i){var l,d=this.c.dom.button,c=this.c.dom.buttonLiner,u=this.c.dom.collection,f=(this.c.dom.split,this.c.dom.splitCollection),h=this.c.dom.splitDropdownButton,p=this.s.dt,m=function(t){return"function"==typeof t?t(p,l,e):t};if(e.spacer){var b=t("<span></span>").addClass("dt-button-spacer "+e.style+" "+d.spacerClass).html(m(e.text));return{conf:e,node:b,inserter:b,buttons:[],inCollection:n,isSplit:o,inSplit:i,collection:null}}if(!o&&i&&f?d=h:!o&&n&&u.button&&(d=u.button),!o&&i&&f.buttonLiner?c=f.buttonLiner:!o&&n&&u.buttonLiner&&(c=u.buttonLiner),e.available&&!e.available(p,e)&&!e.hasOwnProperty("html"))return!1;if(e.hasOwnProperty("html"))l=t(e.html);else{var g=function(e,n,r,o){o.action.call(n.button(r),e,n,r,o),t(n.table().node()).triggerHandler("buttons-action.dt",[n.button(r),n,r,o])},v=e.tag||d.tag,y=e.clickBlurs===r||e.clickBlurs;if(l=t("<"+v+"/>").addClass(d.className).addClass(i?this.c.dom.splitDropdownButton.className:"").attr("tabindex",this.s.dt.settings()[0].iTabIndex).attr("aria-controls",this.s.dt.table().node().id).on("click.dtb",(function(t){t.preventDefault(),!l.hasClass(d.disabled)&&e.action&&g(t,p,l,e),y&&l.trigger("blur")})).on("keypress.dtb",(function(t){13===t.keyCode&&(t.preventDefault(),!l.hasClass(d.disabled)&&e.action&&g(t,p,l,e))})),"a"===v.toLowerCase()&&l.attr("href","#"),"button"===v.toLowerCase()&&l.attr("type","button"),c.tag){var _=t("<"+c.tag+"/>").html(m(e.text)).addClass(c.className);"a"===c.tag.toLowerCase()&&_.attr("href","#"),l.append(_)}else l.html(m(e.text));!1===e.enabled&&l.addClass(d.disabled),e.className&&l.addClass(e.className),e.titleAttr&&l.attr("title",m(e.titleAttr)),e.attr&&l.attr(e.attr),e.namespace||(e.namespace=".dt-button-"+a++),e.config!==r&&e.config.split&&(e.split=e.config.split)}var w,x,C=this.c.dom.buttonContainer;if(w=C&&C.tag?t("<"+C.tag+"/>").addClass(C.className).append(l):l,this._addKey(e),this.c.buttonCreated&&(w=this.c.buttonCreated(e,w)),o){(x=t("<div/>").addClass(this.c.dom.splitWrapper.className)).append(l);var S=t.extend(e,{text:this.c.dom.splitDropdown.text,className:this.c.dom.splitDropdown.className,attr:{"aria-haspopup":!0,"aria-expanded":!1},align:this.c.dom.splitDropdown.align,splitAlignClass:this.c.dom.splitDropdown.splitAlignClass});this._addKey(S);var T=function(e,n,r,o){s.split.action.call(n.button(t("div.dt-btn-split-wrapper")[0]),e,n,r,o),t(n.table().node()).triggerHandler("buttons-action.dt",[n.button(r),n,r,o]),r.attr("aria-expanded",!0)},I=t('<button class="'+this.c.dom.splitDropdown.className+' dt-button"><span class="dt-btn-split-drop-arrow">'+this.c.dom.splitDropdown.text+"</span></button>").on("click.dtb",(function(t){t.preventDefault(),t.stopPropagation(),I.hasClass(d.disabled)||T(t,p,I,S),y&&I.trigger("blur")})).on("keypress.dtb",(function(t){13===t.keyCode&&(t.preventDefault(),I.hasClass(d.disabled)||T(t,p,I,S))}));0===e.split.length&&I.addClass("dtb-hide-drop"),x.append(I).attr(S.attr)}return{conf:e,node:o?x.get(0):l.get(0),inserter:o?x:w,buttons:[],inCollection:n,isSplit:o,inSplit:i,collection:null}},_nodeToButton:function(t,e){e||(e=this.s.buttons);for(var n=0,r=e.length;n<r;n++){if(e[n].node===t)return e[n];if(e[n].buttons.length){var o=this._nodeToButton(t,e[n].buttons);if(o)return o}}},_nodeToHost:function(t,e){e||(e=this.s.buttons);for(var n=0,r=e.length;n<r;n++){if(e[n].node===t)return e;if(e[n].buttons.length){var o=this._nodeToHost(t,e[n].buttons);if(o)return o}}},_keypress:function(e,n){if(!n._buttonsHandled){var r=function(r,o){if(r.key)if(r.key===e)n._buttonsHandled=!0,t(o).click();else if(t.isPlainObject(r.key)){if(r.key.key!==e)return;if(r.key.shiftKey&&!n.shiftKey)return;if(r.key.altKey&&!n.altKey)return;if(r.key.ctrlKey&&!n.ctrlKey)return;if(r.key.metaKey&&!n.metaKey)return;n._buttonsHandled=!0,t(o).click()}},o=function(t){for(var e=0,n=t.length;e<n;e++)r(t[e].conf,t[e].node),t[e].buttons.length&&o(t[e].buttons)};o(this.s.buttons)}},_removeKey:function(e){if(e.key){var n=t.isPlainObject(e.key)?e.key.key:e.key,r=this.s.listenKeys.split(""),o=t.inArray(n,r);r.splice(o,1),this.s.listenKeys=r.join("")}},_resolveExtends:function(e){var n,o,i=this,a=this.s.dt,l=function(n){for(var o=0;!t.isPlainObject(n)&&!Array.isArray(n);){if(n===r)return;if("function"==typeof n){if(!(n=n.call(i,a,e)))return!1}else if("string"==typeof n){if(!s[n])return{html:n};n=s[n]}if(++o>30)throw"Buttons: Too many iterations"}return Array.isArray(n)?n:t.extend({},n)};for(e=l(e);e&&e.extend;){if(!s[e.extend])throw"Cannot extend unknown button type: "+e.extend;var d=l(s[e.extend]);if(Array.isArray(d))return d;if(!d)return!1;var c=d.className;e.config!==r&&d.config!==r&&(e.config=t.extend({},d.config,e.config)),e=t.extend({},d,e),c&&e.className!==c&&(e.className=c+" "+e.className);var u=e.postfixButtons;if(u){for(e.buttons||(e.buttons=[]),n=0,o=u.length;n<o;n++)e.buttons.push(u[n]);e.postfixButtons=null}var f=e.prefixButtons;if(f){for(e.buttons||(e.buttons=[]),n=0,o=f.length;n<o;n++)e.buttons.splice(n,0,f[n]);e.prefixButtons=null}e.extend=d.extend}return e},_popover:function(r,o,i,a){var s=o,c=this.c,f=!1,h=t.extend({align:"button-left",autoClose:!1,background:!0,backgroundClassName:"dt-button-background",contentClassName:c.dom.collection.className,collectionLayout:"",collectionTitle:"",dropup:!1,fade:400,popoverTitle:"",rightAlignClassName:"dt-button-right",splitRightAlignClassName:"dt-button-split-right",splitLeftAlignClassName:"dt-button-split-left",tag:c.dom.collection.tag},i),p=o.node(),m=function(){f=!0,d(t(".dt-button-collection"),h.fade,(function(){t(this).detach()})),t(s.buttons('[aria-haspopup="true"][aria-expanded="true"]').nodes()).attr("aria-expanded","false"),t("div.dt-button-background").off("click.dtb-collection"),u.background(!1,h.backgroundClassName,h.fade,p),t("body").off(".dtb-collection"),s.off("buttons-action.b-internal"),s.off("destroy")};if(!1!==r){var b=t(s.buttons('[aria-haspopup="true"][aria-expanded="true"]').nodes());b.length&&(p.closest("div.dt-button-collection").length&&(p=b.eq(0)),m());var g=t("<div/>").addClass("dt-button-collection").addClass(h.collectionLayout).addClass(h.splitAlignClass).css("display","none");r=t(r).addClass(h.contentClassName).attr("role","menu").appendTo(g),p.attr("aria-expanded","true"),p.parents("body")[0]!==n.body&&(p=n.body.lastChild),h.popoverTitle?g.prepend('<div class="dt-button-collection-title">'+h.popoverTitle+"</div>"):h.collectionTitle&&g.prepend('<div class="dt-button-collection-title">'+h.collectionTitle+"</div>"),l(g.insertAfter(p),h.fade);var v=t(o.table().container()),y=g.css("position");if("dt-container"===h.align&&(p=p.parent(),g.css("width",v.width())),"absolute"===y){var _=p.position(),w=t(o.node()).position();g.css({top:t(t(o[0].node).parent()[0]).hasClass("dt-buttons")?w.top+p.outerHeight():_.top+p.outerHeight(),left:_.left});var x=g.outerHeight(),C=v.offset().top+v.height(),S=w.top+p.outerHeight()+x-C,T=w.top-x,I=v.offset().top,k=I-T,D=w.top-x-5;(S>k||h.dropup)&&-D<I&&g.css("top",D);var F=v.offset().left,A=F+v.width(),R=g.offset().left,B=g.outerWidth();0===B&&g.children().length>0&&(B=t(g.children()[0]).outerWidth());var O=R+B,N=p.offset().left,L=p.outerWidth(),E=N+L;if(g.hasClass(h.rightAlignClassName)||g.hasClass(h.leftAlignClassName)||g.hasClass(h.splitAlignClass)||"dt-container"===h.align){var P=N,z=E;p.hasClass("dt-btn-split-wrapper")&&p.children("button.dt-btn-split-drop").length>0&&(z=(P=p.children("button.dt-btn-split-drop").offset().left)+p.children("button.dt-btn-split-drop").outerWidth());var j=0;if(g.hasClass(h.rightAlignClassName)){if(F>R+(j=E-O))j+=(H=F-(R+j))>(W=A-(O+j))?W:H}else if(g.hasClass(h.splitRightAlignClassName)){if(F>R+(j=z-O))j+=(H=F-(R+j))>(W=A-(O+j))?W:H}else if(g.hasClass(h.splitLeftAlignClassName)){if(A<O+(j=P-R)||F>R+j)j+=(H=F-(R+j))>(W=A-(O+j))?W:H}else{var H,W;if(A<O+(j=F-R))j+=(H=F-(R+j))>(W=A-(O+j))?W:H}g.css("left",g.position().left+j)}else{var U=p.offset().top;j=0;j="button-right"===h.align?E-O:N-R,g.css("left",g.position().left+j)}}else{(U=g.height()/2)>t(e).height()/2&&(U=t(e).height()/2),g.css("marginTop",-1*U)}h.background&&u.background(!0,h.backgroundClassName,h.fade,h.backgroundHost||p),t("div.dt-button-background").on("click.dtb-collection",(function(){})),h.autoClose&&setTimeout((function(){s.on("buttons-action.b-internal",(function(t,e,n,r){r[0]!==p[0]&&m()}))}),0),t(g).trigger("buttons-popover.dt"),s.on("destroy",m),setTimeout((function(){f=!1,t("body").on("click.dtb-collection",(function(e){if(!f){var n=t.fn.addBack?"addBack":"andSelf",o=t(e.target).parent()[0];(!t(e.target).parents()[n]().filter(r).length&&!t(o).hasClass("dt-buttons")||t(e.target).hasClass("dt-button-background"))&&m()}})).on("keyup.dtb-collection",(function(t){27===t.keyCode&&m()}))}),0)}else m()}}),u.background=function(e,o,i,a){i===r&&(i=400),a||(a=n.body),e?l(t("<div/>").addClass(o).css("display","none").insertAfter(a),i):d(t("div."+o),i,(function(){t(this).removeClass(o).remove()}))},u.instanceSelector=function(e,n){if(e===r||null===e)return t.map(n,(function(t){return t.inst}));var o=[],i=t.map(n,(function(t){return t.name})),a=function(e){if(Array.isArray(e))for(var r=0,s=e.length;r<s;r++)a(e[r]);else if("string"==typeof e)if(-1!==e.indexOf(","))a(e.split(","));else{var l=t.inArray(e.trim(),i);-1!==l&&o.push(n[l].inst)}else"number"==typeof e?o.push(n[e].inst):"object"==typeof e&&o.push(e)};return a(e),o},u.buttonSelector=function(e,n){for(var o=[],i=function(t,e,n){for(var o,a,s=0,l=e.length;s<l;s++)(o=e[s])&&(a=n!==r?n+s:s+"",t.push({node:o.node,name:o.conf.name,idx:a}),o.buttons&&i(t,o.buttons,a+"-"))},a=function(e,n){var s,l,d=[];i(d,n.s.buttons);var c=t.map(d,(function(t){return t.node}));if(Array.isArray(e)||e instanceof t)for(s=0,l=e.length;s<l;s++)a(e[s],n);else if(null===e||e===r||"*"===e)for(s=0,l=d.length;s<l;s++)o.push({inst:n,node:d[s].node});else if("number"==typeof e)n.s.buttons[e]&&o.push({inst:n,node:n.s.buttons[e].node});else if("string"==typeof e)if(-1!==e.indexOf(",")){var u=e.split(",");for(s=0,l=u.length;s<l;s++)a(u[s].trim(),n)}else if(e.match(/^\d+(\-\d+)*$/)){var f=t.map(d,(function(t){return t.idx}));o.push({inst:n,node:d[t.inArray(e,f)].node})}else if(-1!==e.indexOf(":name")){var h=e.replace(":name","");for(s=0,l=d.length;s<l;s++)d[s].name===h&&o.push({inst:n,node:d[s].node})}else t(c).filter(e).each((function(){o.push({inst:n,node:this})}));else if("object"==typeof e&&e.nodeName){var p=t.inArray(e,c);-1!==p&&o.push({inst:n,node:c[p]})}},s=0,l=e.length;s<l;s++){var d=e[s];a(n,d)}return o},u.stripData=function(t,e){return"string"!=typeof t||(t=(t=t.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"")).replace(/<!\-\-.*?\-\->/g,""),e&&!e.stripHtml||(t=t.replace(/<[^>]*>/g,"")),e&&!e.trim||(t=t.replace(/^\s+|\s+$/g,"")),e&&!e.stripNewlines||(t=t.replace(/\n/g," ")),e&&!e.decodeEntities||(b.innerHTML=t,t=b.value)),t},u.defaults={buttons:["copy","excel","csv","pdf","print"],name:"main",tabIndex:0,dom:{container:{tag:"div",className:"dt-buttons"},collection:{tag:"div",className:""},button:{tag:"button",className:"dt-button",active:"active",disabled:"disabled",spacerClass:""},buttonLiner:{tag:"span",className:""},split:{tag:"div",className:"dt-button-split"},splitWrapper:{tag:"div",className:"dt-btn-split-wrapper"},splitDropdown:{tag:"button",text:"&#x25BC;",className:"dt-btn-split-drop",align:"split-right",splitAlignClass:"dt-button-split-left"},splitDropdownButton:{tag:"button",className:"dt-btn-split-drop-button dt-button"},splitCollection:{tag:"div",className:"dt-button-split-collection"}}},u.version="2.1.1",t.extend(s,{collection:{text:function(t){return t.i18n("buttons.collection","Collection")},className:"buttons-collection",init:function(t,e,n){e.attr("aria-expanded",!1)},action:function(t,e,n,r){r._collection.parents("body").length?this.popover(!1,r):this.popover(r._collection,r)},attr:{"aria-haspopup":!0}},split:{text:function(t){return t.i18n("buttons.split","Split")},className:"buttons-split",init:function(t,e,n){return e.attr("aria-expanded",!1)},action:function(t,e,n,r){this.popover(r._collection,r)},attr:{"aria-haspopup":!0}},copy:function(t,e){if(s.copyHtml5)return"copyHtml5"},csv:function(t,e){if(s.csvHtml5&&s.csvHtml5.available(t,e))return"csvHtml5"},excel:function(t,e){if(s.excelHtml5&&s.excelHtml5.available(t,e))return"excelHtml5"},pdf:function(t,e){if(s.pdfHtml5&&s.pdfHtml5.available(t,e))return"pdfHtml5"},pageLength:function(e){var n=e.settings()[0].aLengthMenu,r=[],o=[];if(Array.isArray(n[0]))r=n[0],o=n[1];else for(var i=0;i<n.length;i++){var a=n[i];t.isPlainObject(a)?(r.push(a.value),o.push(a.label)):(r.push(a),o.push(a))}return{extend:"collection",text:function(t){return t.i18n("buttons.pageLength",{"-1":"Show all rows",_:"Show %d rows"},t.page.len())},className:"buttons-page-length",autoClose:!0,buttons:t.map(r,(function(t,e){return{text:o[e],className:"button-page-length",action:function(e,n){n.page.len(t).draw()},init:function(e,n,r){var o=this,i=function(){o.active(e.page.len()===t)};e.on("length.dt"+r.namespace,i),i()},destroy:function(t,e,n){t.off("length.dt"+n.namespace)}}})),init:function(t,e,n){var r=this;t.on("length.dt"+n.namespace,(function(){r.text(n.text)}))},destroy:function(t,e,n){t.off("length.dt"+n.namespace)}}},spacer:{style:"empty",spacer:!0,text:function(t){return t.i18n("buttons.spacer","")}}}),o.Api.register("buttons()",(function(t,e){e===r&&(e=t,t=r),this.selector.buttonGroup=t;var n=this.iterator(!0,"table",(function(n){if(n._buttons)return u.buttonSelector(u.instanceSelector(t,n._buttons),e)}),!0);return n._groupSelector=t,n})),o.Api.register("button()",(function(t,e){var n=this.buttons(t,e);return n.length>1&&n.splice(1,n.length),n})),o.Api.registerPlural("buttons().active()","button().active()",(function(t){return t===r?this.map((function(t){return t.inst.active(t.node)})):this.each((function(e){e.inst.active(e.node,t)}))})),o.Api.registerPlural("buttons().action()","button().action()",(function(t){return t===r?this.map((function(t){return t.inst.action(t.node)})):this.each((function(e){e.inst.action(e.node,t)}))})),o.Api.registerPlural("buttons().collectionRebuild()","button().collectionRebuild()",(function(t){return this.each((function(e){for(var n=0;n<t.length;n++)"object"==typeof t[n]&&(t[n].parentConf=e);e.inst.collectionRebuild(e.node,t)}))})),o.Api.register(["buttons().enable()","button().enable()"],(function(t){return this.each((function(e){e.inst.enable(e.node,t)}))})),o.Api.register(["buttons().disable()","button().disable()"],(function(){return this.each((function(t){t.inst.disable(t.node)}))})),o.Api.register("button().index()",(function(){var t=null;return this.each((function(e){var n=e.inst.index(e.node);null!==n&&(t=n)})),t})),o.Api.registerPlural("buttons().nodes()","button().node()",(function(){var e=t();return t(this.each((function(t){e=e.add(t.inst.node(t.node))}))),e})),o.Api.registerPlural("buttons().processing()","button().processing()",(function(t){return t===r?this.map((function(t){return t.inst.processing(t.node)})):this.each((function(e){e.inst.processing(e.node,t)}))})),o.Api.registerPlural("buttons().text()","button().text()",(function(t){return t===r?this.map((function(t){return t.inst.text(t.node)})):this.each((function(e){e.inst.text(e.node,t)}))})),o.Api.registerPlural("buttons().trigger()","button().trigger()",(function(){return this.each((function(t){t.inst.node(t.node).trigger("click")}))})),o.Api.register("button().popover()",(function(t,e){return this.map((function(n){return n.inst._popover(t,this.button(this[0].node),e)}))})),o.Api.register("buttons().containers()",(function(){var e=t(),n=this._groupSelector;return this.iterator(!0,"table",(function(t){if(t._buttons)for(var r=u.instanceSelector(n,t._buttons),o=0,i=r.length;o<i;o++)e=e.add(r[o].container())})),e})),o.Api.register("buttons().container()",(function(){return this.containers().eq(0)})),o.Api.register("button().add()",(function(t,e,n){var r=this.context;if(r.length){var o=u.instanceSelector(this._groupSelector,r[0]._buttons);o.length&&o[0].add(e,t,n)}return this.button(this._groupSelector,t)})),o.Api.register("buttons().destroy()",(function(){return this.pluck("inst").unique().each((function(t){t.destroy()})),this})),o.Api.registerPlural("buttons().remove()","buttons().remove()",(function(){return this.each((function(t){t.inst.remove(t.node)})),this})),o.Api.register("buttons.info()",(function(e,n,o){var i=this;return!1===e?(this.off("destroy.btn-info"),d(t("#datatables_buttons_info"),400,(function(){t(this).remove()})),clearTimeout(c),c=null,this):(c&&clearTimeout(c),t("#datatables_buttons_info").length&&t("#datatables_buttons_info").remove(),e=e?"<h2>"+e+"</h2>":"",l(t('<div id="datatables_buttons_info" class="dt-button-info"/>').html(e).append(t("<div/>")["string"==typeof n?"html":"append"](n)).css("display","none").appendTo("body")),o!==r&&0!==o&&(c=setTimeout((function(){i.buttons.info(!1)}),o)),this.on("destroy.btn-info",(function(){i.buttons.info(!1)})),this)})),o.Api.register("buttons.exportData()",(function(t){if(this.context.length)return g(new o.Api(this.context[0]),t)})),o.Api.register("buttons.exportInfo()",(function(t){return t||(t={}),{filename:f(t),title:p(t),messageTop:m(this,t.message||t.messageTop,"top"),messageBottom:m(this,t.messageBottom,"bottom")}}));var f=function(e){var n="*"===e.filename&&"*"!==e.title&&e.title!==r&&null!==e.title&&""!==e.title?e.title:e.filename;if("function"==typeof n&&(n=n()),n===r||null===n)return null;-1!==n.indexOf("*")&&(n=n.replace("*",t("head > title").text()).trim()),n=n.replace(/[^a-zA-Z0-9_\u00A1-\uFFFF\.,\-_ !\(\)]/g,"");var o=h(e.extension);return o||(o=""),n+o},h=function(t){return null===t||t===r?null:"function"==typeof t?t():t},p=function(e){var n=h(e.title);return null===n?null:-1!==n.indexOf("*")?n.replace("*",t("head > title").text()||"Exported data"):n},m=function(e,n,r){var o=h(n);if(null===o)return null;var i=t("caption",e.table().container()).eq(0);return"*"===o?i.css("caption-side")!==r?null:i.length?i.text():"":o},b=t("<textarea/>")[0],g=function(e,n){var o=t.extend(!0,{},{rows:null,columns:"",modifier:{search:"applied",order:"applied"},orthogonal:"display",stripHtml:!0,stripNewlines:!0,decodeEntities:!0,trim:!0,format:{header:function(t){return u.stripData(t,o)},footer:function(t){return u.stripData(t,o)},body:function(t){return u.stripData(t,o)}},customizeData:null},n),i=e.columns(o.columns).indexes().map((function(t){var n=e.column(t).header();return o.format.header(n.innerHTML,t,n)})).toArray(),a=e.table().footer()?e.columns(o.columns).indexes().map((function(t){var n=e.column(t).footer();return o.format.footer(n?n.innerHTML:"",t,n)})).toArray():null,s=t.extend({},o.modifier);e.select&&"function"==typeof e.select.info&&s.selected===r&&e.rows(o.rows,t.extend({selected:!0},s)).any()&&t.extend(s,{selected:!0});for(var l=e.rows(o.rows,s).indexes().toArray(),d=e.cells(l,o.columns),c=d.render(o.orthogonal).toArray(),f=d.nodes().toArray(),h=i.length,p=[],m=0,b=0,g=h>0?c.length/h:0;b<g;b++){for(var v=[h],y=0;y<h;y++)v[y]=o.format.body(c[m],b,y,f[m]),m++;p[b]=v}var _={header:i,footer:a,body:p};return o.customizeData&&o.customizeData(_),_};function v(t,e){var n=new o.Api(t),r=e||(n.init().buttons||o.defaults.buttons);return new u(n,r).container()}return t.fn.dataTable.Buttons=u,t.fn.DataTable.Buttons=u,t(n).on("init.dt plugin-init.dt",(function(t,e){if("dt"===t.namespace){var n=e.oInit.buttons||o.defaults.buttons;n&&!e._buttons&&new u(e,n).container()}})),o.ext.feature.push({fnInit:v,cFeature:"B"}),o.ext.features&&o.ext.features.register("buttons",v),u})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net","datatables.net-buttons"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n,r,o){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net")(e,n).$),n.fn.dataTable.Buttons||require("datatables.net-buttons")(e,n),t(n,e,e.document,r,o)}:t(jQuery,window,document)}((function(t,e,n,r,o,i){"use strict";var a=t.fn.dataTable;function s(){return r||e.JSZip}function l(){return o||e.pdfMake}a.Buttons.pdfMake=function(t){if(!t)return l();o=t},a.Buttons.jszip=function(t){if(!t)return s();r=t};var d=function(t){if(!(void 0===t||"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var e=t.document,n=function(){return t.URL||t.webkitURL||t},r=e.createElementNS("http://www.w3.org/1999/xhtml","a"),o="download"in r,a=/constructor/i.test(t.HTMLElement)||t.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent),l=function(e){(t.setImmediate||t.setTimeout)((function(){throw e}),0)},d=function(t){setTimeout((function(){"string"==typeof t?n().revokeObjectURL(t):t.remove()}),4e4)},c=function(t){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t},u=function(e,u,f){f||(e=c(e));var h,p=this,m="application/octet-stream"===e.type,b=function(){!function(t,e,n){for(var r=(e=[].concat(e)).length;r--;){var o=t["on"+e[r]];if("function"==typeof o)try{o.call(t,n||t)}catch(t){l(t)}}}(p,"writestart progress write writeend".split(" "))};if(p.readyState=p.INIT,o)return h=n().createObjectURL(e),void setTimeout((function(){var t,e;r.href=h,r.download=u,t=r,e=new MouseEvent("click"),t.dispatchEvent(e),b(),d(h),p.readyState=p.DONE}));!function(){if((s||m&&a)&&t.FileReader){var r=new FileReader;return r.onloadend=function(){var e=s?r.result:r.result.replace(/^data:[^;]*;/,"data:attachment/file;");t.open(e,"_blank")||(t.location.href=e),e=i,p.readyState=p.DONE,b()},r.readAsDataURL(e),void(p.readyState=p.INIT)}(h||(h=n().createObjectURL(e)),m)?t.location.href=h:t.open(h,"_blank")||(t.location.href=h);p.readyState=p.DONE,b(),d(h)}()},f=u.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(t,e,n){return e=e||t.name||"download",n||(t=c(t)),navigator.msSaveOrOpenBlob(t,e)}:(f.abort=function(){},f.readyState=f.INIT=0,f.WRITING=1,f.DONE=2,f.error=f.onwritestart=f.onprogress=f.onwrite=f.onabort=f.onerror=f.onwriteend=null,function(t,e,n){return new u(t,e||t.name||"download",n)})}}("undefined"!=typeof self&&self||void 0!==e&&e||this.content);a.fileSave=d;var c=function(t){var e="Sheet1";return t.sheetName&&(e=t.sheetName.replace(/[\[\]\*\/\\\?\:]/g,"")),e},u=function(t){return t.newline?t.newline:navigator.userAgent.match(/Windows/)?"\r\n":"\n"},f=function(t,e){for(var n=u(e),r=t.buttons.exportData(e.exportOptions),o=e.fieldBoundary,a=e.fieldSeparator,s=new RegExp(o,"g"),l=e.escapeChar!==i?e.escapeChar:"\\",d=function(t){for(var e="",n=0,r=t.length;n<r;n++)n>0&&(e+=a),e+=o?o+(""+t[n]).replace(s,l+o)+o:t[n];return e},c=e.header?d(r.header)+n:"",f=e.footer&&r.footer?n+d(r.footer):"",h=[],p=0,m=r.body.length;p<m;p++)h.push(d(r.body[p]));return{str:c+h.join(n)+f,rows:h.length}},h=function(){if(!(-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")&&-1===navigator.userAgent.indexOf("Opera")))return!1;var t=navigator.userAgent.match(/AppleWebKit\/(\d+\.\d+)/);return!!(t&&t.length>1&&1*t[1]<603.1)};function p(t){for(var e="A".charCodeAt(0),n="Z".charCodeAt(0)-e+1,r="";t>=0;)r=String.fromCharCode(t%n+e)+r,t=Math.floor(t/n)-1;return r}try{var m,b=new XMLSerializer}catch(t){}function g(n,r){m===i&&(m=-1===b.serializeToString((new e.DOMParser).parseFromString(_["xl/worksheets/sheet1.xml"],"text/xml")).indexOf("xmlns:r")),t.each(r,(function(e,r){if(t.isPlainObject(r)){g(n.folder(e),r)}else{if(m){var o,i,a=r.childNodes[0],s=[];for(o=a.attributes.length-1;o>=0;o--){var l=a.attributes[o].nodeName,d=a.attributes[o].nodeValue;-1!==l.indexOf(":")&&(s.push({name:l,value:d}),a.removeAttribute(l))}for(o=0,i=s.length;o<i;o++){var c=r.createAttribute(s[o].name.replace(":","_dt_b_namespace_token_"));c.value=s[o].value,a.setAttributeNode(c)}}var u=b.serializeToString(r);m&&(-1===u.indexOf("<?xml")&&(u='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'+u),u=(u=u.replace(/_dt_b_namespace_token_/g,":")).replace(/xmlns:NS[\d]+="" NS[\d]+:/g,"")),u=u.replace(/<([^<>]*?) xmlns=""([^<>]*?)>/g,"<$1 $2>"),n.file(e,u)}}))}function v(e,n,r){var o=e.createElement(n);return r&&(r.attr&&t(o).attr(r.attr),r.children&&t.each(r.children,(function(t,e){o.appendChild(e)})),null!==r.text&&r.text!==i&&o.appendChild(e.createTextNode(r.text))),o}function y(t,e){var n,r,o,a=t.header[e].length;t.footer&&t.footer[e].length>a&&(a=t.footer[e].length);for(var s=0,l=t.body.length;s<l;s++){var d=t.body[s][e];if(-1!==(o=null!==d&&d!==i?d.toString():"").indexOf("\n")?((r=o.split("\n")).sort((function(t,e){return e.length-t.length})),n=r[0].length):n=o.length,n>a&&(a=n),a>40)return 54}return(a*=1.35)>6?a:6}var _={"_rels/.rels":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>',"xl/_rels/workbook.xml.rels":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/></Relationships>',"[Content_Types].xml":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="xml" ContentType="application/xml" /><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" /><Default Extension="jpeg" ContentType="image/jpeg" /><Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml" /><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml" /><Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml" /></Types>',"xl/workbook.xml":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"><fileVersion appName="xl" lastEdited="5" lowestEdited="5" rupBuild="24816"/><workbookPr showInkAnnotation="0" autoCompressPictures="0"/><bookViews><workbookView xWindow="0" yWindow="0" windowWidth="25600" windowHeight="19020" tabRatio="500"/></bookViews><sheets><sheet name="Sheet1" sheetId="1" r:id="rId1"/></sheets><definedNames/></workbook>',"xl/worksheets/sheet1.xml":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"><sheetData/><mergeCells count="0"/></worksheet>',"xl/styles.xml":'<?xml version="1.0" encoding="UTF-8"?><styleSheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"><numFmts count="6"><numFmt numFmtId="164" formatCode="#,##0.00_- [$$-45C]"/><numFmt numFmtId="165" formatCode="&quot;£&quot;#,##0.00"/><numFmt numFmtId="166" formatCode="[$€-2] #,##0.00"/><numFmt numFmtId="167" formatCode="0.0%"/><numFmt numFmtId="168" formatCode="#,##0;(#,##0)"/><numFmt numFmtId="169" formatCode="#,##0.00;(#,##0.00)"/></numFmts><fonts count="5" x14ac:knownFonts="1"><font><sz val="11" /><name val="Calibri" /></font><font><sz val="11" /><name val="Calibri" /><color rgb="FFFFFFFF" /></font><font><sz val="11" /><name val="Calibri" /><b /></font><font><sz val="11" /><name val="Calibri" /><i /></font><font><sz val="11" /><name val="Calibri" /><u /></font></fonts><fills count="6"><fill><patternFill patternType="none" /></fill><fill><patternFill patternType="none" /></fill><fill><patternFill patternType="solid"><fgColor rgb="FFD9D9D9" /><bgColor indexed="64" /></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="FFD99795" /><bgColor indexed="64" /></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="ffc6efce" /><bgColor indexed="64" /></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="ffc6cfef" /><bgColor indexed="64" /></patternFill></fill></fills><borders count="2"><border><left /><right /><top /><bottom /><diagonal /></border><border diagonalUp="false" diagonalDown="false"><left style="thin"><color auto="1" /></left><right style="thin"><color auto="1" /></right><top style="thin"><color auto="1" /></top><bottom style="thin"><color auto="1" /></bottom><diagonal /></border></borders><cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" /></cellStyleXfs><cellXfs count="68"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="left"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="center"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="right"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="fill"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment textRotation="90"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment wrapText="1"/></xf><xf numFmtId="9" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="164" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="165" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="166" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="167" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="168" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="169" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="3" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="4" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="1" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="2" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="14" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/></cellXfs><cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0" /></cellStyles><dxfs count="0" /><tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4" /></styleSheet>'},w=[{match:/^\-?\d+\.\d%$/,style:60,fmt:function(t){return t/100}},{match:/^\-?\d+\.?\d*%$/,style:56,fmt:function(t){return t/100}},{match:/^\-?\$[\d,]+.?\d*$/,style:57},{match:/^\-?£[\d,]+.?\d*$/,style:58},{match:/^\-?€[\d,]+.?\d*$/,style:59},{match:/^\-?\d+$/,style:65},{match:/^\-?\d+\.\d{2}$/,style:66},{match:/^\([\d,]+\)$/,style:61,fmt:function(t){return-1*t.replace(/[\(\)]/g,"")}},{match:/^\([\d,]+\.\d{2}\)$/,style:62,fmt:function(t){return-1*t.replace(/[\(\)]/g,"")}},{match:/^\-?[\d,]+$/,style:63},{match:/^\-?[\d,]+\.\d{2}$/,style:64},{match:/^[\d]{4}\-[\d]{2}\-[\d]{2}$/,style:67,fmt:function(t){return Math.round(25569+Date.parse(t)/864e5)}}];return a.ext.buttons.copyHtml5={className:"buttons-copy buttons-html5",text:function(t){return t.i18n("buttons.copy","Copy")},action:function(e,r,o,i){this.processing(!0);var a=this,s=f(r,i),l=r.buttons.exportInfo(i),d=u(i),c=s.str,h=t("<div/>").css({height:1,width:1,overflow:"hidden",position:"fixed",top:0,left:0});l.title&&(c=l.title+d+d+c),l.messageTop&&(c=l.messageTop+d+d+c),l.messageBottom&&(c=c+d+d+l.messageBottom),i.customize&&(c=i.customize(c,i,r));var p=t("<textarea readonly/>").val(c).appendTo(h);if(n.queryCommandSupported("copy")){h.appendTo(r.table().container()),p[0].focus(),p[0].select();try{var m=n.execCommand("copy");if(h.remove(),m)return r.buttons.info(r.i18n("buttons.copyTitle","Copy to clipboard"),r.i18n("buttons.copySuccess",{1:"Copied one row to clipboard",_:"Copied %d rows to clipboard"},s.rows),2e3),void this.processing(!1)}catch(t){}}var b=t("<span>"+r.i18n("buttons.copyKeys","Press <i>ctrl</i> or <i>⌘</i> + <i>C</i> to copy the table data<br>to your system clipboard.<br><br>To cancel, click this message or press escape.")+"</span>").append(h);r.buttons.info(r.i18n("buttons.copyTitle","Copy to clipboard"),b,0),p[0].focus(),p[0].select();var g=t(b).closest(".dt-button-info"),v=function(){g.off("click.buttons-copy"),t(n).off(".buttons-copy"),r.buttons.info(!1)};g.on("click.buttons-copy",v),t(n).on("keydown.buttons-copy",(function(t){27===t.keyCode&&(v(),a.processing(!1))})).on("copy.buttons-copy cut.buttons-copy",(function(){v(),a.processing(!1)}))},exportOptions:{},fieldSeparator:"\t",fieldBoundary:"",header:!0,footer:!1,title:"*",messageTop:"*",messageBottom:"*"},a.ext.buttons.csvHtml5={bom:!1,className:"buttons-csv buttons-html5",available:function(){return e.FileReader!==i&&e.Blob},text:function(t){return t.i18n("buttons.csv","CSV")},action:function(t,e,r,o){this.processing(!0);var i=f(e,o).str,a=e.buttons.exportInfo(o),s=o.charset;o.customize&&(i=o.customize(i,o,e)),!1!==s?(s||(s=n.characterSet||n.charset),s&&(s=";charset="+s)):s="",o.bom&&(i=String.fromCharCode(65279)+i),d(new Blob([i],{type:"text/csv"+s}),a.filename,!0),this.processing(!1)},filename:"*",extension:".csv",exportOptions:{},fieldSeparator:",",fieldBoundary:'"',escapeChar:'"',charset:null,header:!0,footer:!1},a.ext.buttons.excelHtml5={className:"buttons-excel buttons-html5",available:function(){return e.FileReader!==i&&s()!==i&&!h()&&b},text:function(t){return t.i18n("buttons.excel","Excel")},action:function(e,n,r,o){this.processing(!0);var a,l,u,f,h=this,m=0,b=function(e){var n=_[e];return t.parseXML(n)},x=b("xl/worksheets/sheet1.xml"),C=x.getElementsByTagName("sheetData")[0],S={_rels:{".rels":b("_rels/.rels")},xl:{_rels:{"workbook.xml.rels":b("xl/_rels/workbook.xml.rels")},"workbook.xml":b("xl/workbook.xml"),"styles.xml":b("xl/styles.xml"),worksheets:{"sheet1.xml":x}},"[Content_Types].xml":b("[Content_Types].xml")},T=n.buttons.exportData(o.exportOptions),I=function(t){f=v(x,"row",{attr:{r:u=m+1}});for(var e=0,n=t.length;e<n;e++){var r=p(e)+""+u,a=null;if(null===t[e]||t[e]===i||""===t[e]){if(!0!==o.createEmptyCells)continue;t[e]=""}var s=t[e];t[e]="function"==typeof t[e].trim?t[e].trim():t[e];for(var l=0,d=w.length;l<d;l++){var c=w[l];if(t[e].match&&!t[e].match(/^0\d+/)&&t[e].match(c.match)){var h=t[e].replace(/[^\d\.\-]/g,"");c.fmt&&(h=c.fmt(h)),a=v(x,"c",{attr:{r:r,s:c.style},children:[v(x,"v",{text:h})]});break}}if(!a)if("number"==typeof t[e]||t[e].match&&t[e].match(/^-?\d+(\.\d+)?([eE]\-?\d+)?$/)&&!t[e].match(/^0\d+/))a=v(x,"c",{attr:{t:"n",r:r},children:[v(x,"v",{text:t[e]})]});else{var b=s.replace?s.replace(/[\x00-\x09\x0B\x0C\x0E-\x1F\x7F-\x9F]/g,""):s;a=v(x,"c",{attr:{t:"inlineStr",r:r},children:{row:v(x,"is",{children:{row:v(x,"t",{text:b,attr:{"xml:space":"preserve"}})}})}})}f.appendChild(a)}C.appendChild(f),m++};o.customizeData&&o.customizeData(T);var k=function(e,n){var r=t("mergeCells",x);r[0].appendChild(v(x,"mergeCell",{attr:{ref:"A"+e+":"+p(n)+e}})),r.attr("count",parseFloat(r.attr("count"))+1),t("row:eq("+(e-1)+") c",x).attr("s","51")},D=n.buttons.exportInfo(o);D.title&&(I([D.title]),k(m,T.header.length-1)),D.messageTop&&(I([D.messageTop]),k(m,T.header.length-1)),o.header&&(I(T.header),t("row:last c",x).attr("s","2")),a=m;for(var F=0,A=T.body.length;F<A;F++)I(T.body[F]);l=m,o.footer&&T.footer&&(I(T.footer),t("row:last c",x).attr("s","2")),D.messageBottom&&(I([D.messageBottom]),k(m,T.header.length-1));var R=v(x,"cols");t("worksheet",x).prepend(R);for(var B=0,O=T.header.length;B<O;B++)R.appendChild(v(x,"col",{attr:{min:B+1,max:B+1,width:y(T,B),customWidth:1}}));var N=S.xl["workbook.xml"];t("sheets sheet",N).attr("name",c(o)),o.autoFilter&&(t("mergeCells",x).before(v(x,"autoFilter",{attr:{ref:"A"+a+":"+p(T.header.length-1)+l}})),t("definedNames",N).append(v(N,"definedName",{attr:{name:"_xlnm._FilterDatabase",localSheetId:"0",hidden:1},text:c(o)+"!$A$"+a+":"+p(T.header.length-1)+l}))),o.customize&&o.customize(S,o,n),0===t("mergeCells",x).children().length&&t("mergeCells",x).remove();var L=new(s()),E={type:"blob",mimeType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"};g(L,S),L.generateAsync?L.generateAsync(E).then((function(t){d(t,D.filename),h.processing(!1)})):(d(L.generate(E),D.filename),this.processing(!1))},filename:"*",extension:".xlsx",exportOptions:{},header:!0,footer:!1,title:"*",messageTop:"*",messageBottom:"*",createEmptyCells:!1,autoFilter:!1,sheetName:""},a.ext.buttons.pdfHtml5={className:"buttons-pdf buttons-html5",available:function(){return e.FileReader!==i&&l()},text:function(t){return t.i18n("buttons.pdf","PDF")},action:function(e,n,r,o){this.processing(!0);var a=n.buttons.exportData(o.exportOptions),s=n.buttons.exportInfo(o),d=[];o.header&&d.push(t.map(a.header,(function(t){return{text:"string"==typeof t?t:t+"",style:"tableHeader"}})));for(var c=0,u=a.body.length;c<u;c++)d.push(t.map(a.body[c],(function(t){return null!==t&&t!==i||(t=""),{text:"string"==typeof t?t:t+"",style:c%2?"tableBodyEven":"tableBodyOdd"}})));o.footer&&a.footer&&d.push(t.map(a.footer,(function(t){return{text:"string"==typeof t?t:t+"",style:"tableFooter"}})));var f={pageSize:o.pageSize,pageOrientation:o.orientation,content:[{table:{headerRows:1,body:d},layout:"noBorders"}],styles:{tableHeader:{bold:!0,fontSize:11,color:"white",fillColor:"#2d4154",alignment:"center"},tableBodyEven:{},tableBodyOdd:{fillColor:"#f3f3f3"},tableFooter:{bold:!0,fontSize:11,color:"white",fillColor:"#2d4154"},title:{alignment:"center",fontSize:15},message:{}},defaultStyle:{fontSize:10}};s.messageTop&&f.content.unshift({text:s.messageTop,style:"message",margin:[0,0,0,12]}),s.messageBottom&&f.content.push({text:s.messageBottom,style:"message",margin:[0,0,0,12]}),s.title&&f.content.unshift({text:s.title,style:"title",margin:[0,0,0,12]}),o.customize&&o.customize(f,o,n);var p=l().createPdf(f);"open"!==o.download||h()?p.download(s.filename):p.open(),this.processing(!1)},title:"*",filename:"*",extension:".pdf",exportOptions:{},orientation:"portrait",pageSize:"A4",header:!0,footer:!1,messageTop:"*",messageBottom:"*",customize:null,download:"download"},a.Buttons})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net","datatables.net-buttons"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net")(e,n).$),n.fn.dataTable.Buttons||require("datatables.net-buttons")(e,n),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,r){"use strict";var o=t.fn.dataTable,i=n.createElement("a"),a=function(t){i.href=t;var e=i.host;return-1===e.indexOf("/")&&0!==i.pathname.indexOf("/")&&(e+="/"),i.protocol+"//"+e+i.pathname+i.search};return o.ext.buttons.print={className:"buttons-print",text:function(t){return t.i18n("buttons.print","Print")},action:function(n,o,i,s){var l=o.buttons.exportData(t.extend({decodeEntities:!1},s.exportOptions)),d=o.buttons.exportInfo(s),c=o.columns(s.exportOptions.columns).flatten().map((function(t){return o.settings()[0].aoColumns[o.column(t).index()].sClass})).toArray(),u=function(t,e){for(var n="<tr>",o=0,i=t.length;o<i;o++){var a=null===t[o]||t[o]===r?"":t[o];n+="<"+e+" "+(c[o]?'class="'+c[o]+'"':"")+">"+a+"</"+e+">"}return n+"</tr>"},f='<table class="'+o.table().node().className+'">';s.header&&(f+="<thead>"+u(l.header,"th")+"</thead>"),f+="<tbody>";for(var h=0,p=l.body.length;h<p;h++)f+=u(l.body[h],"td");f+="</tbody>",s.footer&&l.footer&&(f+="<tfoot>"+u(l.footer,"th")+"</tfoot>"),f+="</table>";var m=e.open("","");if(m){m.document.close();var b="<title>"+d.title+"</title>";t("style, link").each((function(){var e;b+=("link"===(e=t(this).clone()[0]).nodeName.toLowerCase()&&(e.href=a(e.href)),e.outerHTML)}));try{m.document.head.innerHTML=b}catch(n){t(m.document.head).html(b)}m.document.body.innerHTML="<h1>"+d.title+"</h1><div>"+(d.messageTop||"")+"</div>"+f+"<div>"+(d.messageBottom||"")+"</div>",t(m.document.body).addClass("dt-print-view"),t("img",m.document.body).each((function(t,e){e.setAttribute("src",a(e.getAttribute("src")))})),s.customize&&s.customize(m,s,o);var g=function(){s.autoPrint&&(m.print(),m.close())};navigator.userAgent.match(/Trident\/\d.\d/)?g():m.setTimeout(g,1e3)}else o.buttons.info(o.i18n("buttons.printErrorTitle","Unable to open print view"),o.i18n("buttons.printErrorMsg","Please allow popups in your browser for this site to be able to view the print view."),5e3)},title:"*",messageTop:"*",messageBottom:"*",exportOptions:{},header:!0,footer:!1,autoPrint:!0,customize:null},o.Buttons})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net","datatables.net-buttons"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net")(e,n).$),n.fn.dataTable.Buttons||require("datatables.net-buttons")(e,n),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,r){"use strict";var o=t.fn.dataTable;return t.extend(o.ext.buttons,{colvis:function(t,e){var n=null,r={extend:"collection",init:function(t,e){n=e},text:function(t){return t.i18n("buttons.colvis","Column visibility")},className:"buttons-colvis",buttons:[{extend:"columnsToggle",columns:e.columns,columnText:e.columnText}]};return t.on("column-reorder.dt"+e.namespace,(function(r,o,i){t.button(null,t.button(null,n).node()).collectionRebuild([{extend:"columnsToggle",columns:e.columns,columnText:e.columnText}])})),r},columnsToggle:function(t,e){return t.columns(e.columns).indexes().map((function(t){return{extend:"columnToggle",columns:t,columnText:e.columnText}})).toArray()},columnToggle:function(t,e){return{extend:"columnVisibility",columns:e.columns,columnText:e.columnText}},columnsVisibility:function(t,e){return t.columns(e.columns).indexes().map((function(t){return{extend:"columnVisibility",columns:t,visibility:e.visibility,columnText:e.columnText}})).toArray()},columnVisibility:{columns:r,text:function(t,e,n){return n._columnText(t,n)},className:"buttons-columnVisibility",action:function(t,e,n,o){var i=e.columns(o.columns),a=i.visible();i.visible(o.visibility!==r?o.visibility:!(a.length&&a[0]))},init:function(t,e,n){var r=this;e.attr("data-cv-idx",n.columns),t.on("column-visibility.dt"+n.namespace,(function(e,o){o.bDestroying||o.nTable!=t.settings()[0].nTable||r.active(t.column(n.columns).visible())})).on("column-reorder.dt"+n.namespace,(function(e,o,i){n.destroying||1===t.columns(n.columns).count()&&(r.text(n._columnText(t,n)),r.active(t.column(n.columns).visible()))})),this.active(t.column(n.columns).visible())},destroy:function(t,e,n){t.off("column-visibility.dt"+n.namespace).off("column-reorder.dt"+n.namespace)},_columnText:function(t,e){var n=t.column(e.columns).index(),r=t.settings()[0].aoColumns[n].sTitle;return r||(r=t.column(n).header().innerHTML),r=r.replace(/\n/g," ").replace(/<br\s*\/?>/gi," ").replace(/<select(.*?)<\/select>/g,"").replace(/<!\-\-.*?\-\->/g,"").replace(/<.*?>/g,"").replace(/^\s+|\s+$/g,""),e.columnText?e.columnText(t,n,r):r}},colvisRestore:{className:"buttons-colvisRestore",text:function(t){return t.i18n("buttons.colvisRestore","Restore visibility")},init:function(t,e,n){n._visOriginal=t.columns().indexes().map((function(e){return t.column(e).visible()})).toArray()},action:function(t,e,n,r){e.columns().every((function(t){var n=e.colReorder&&e.colReorder.transpose?e.colReorder.transpose(t,"toOriginal"):t;this.visible(r._visOriginal[n])}))}},colvisGroup:{className:"buttons-colvisGroup",action:function(t,e,n,r){e.columns(r.show).visible(!0,!1),e.columns(r.hide).visible(!1,!1),e.columns.adjust()},show:[],hide:[]}}),o.Buttons})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net-bs4","datatables.net-buttons"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net-bs4")(e,n).$),n.fn.dataTable.Buttons||require("datatables.net-buttons")(e,n),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,r){"use strict";var o=t.fn.dataTable;return t.extend(!0,o.Buttons.defaults,{dom:{container:{className:"dt-buttons btn-group flex-wrap"},button:{className:"btn btn-secondary"},collection:{tag:"div",className:"dropdown-menu",button:{tag:"a",className:"dt-button dropdown-item",active:"active",disabled:"disabled"}},splitWrapper:{tag:"div",className:"dt-btn-split-wrapper btn-group"},splitDropdown:{tag:"button",text:"",className:"btn btn-secondary dt-btn-split-drop dropdown-toggle dropdown-toggle-split",align:"split-left",splitAlignClass:"dt-button-split-left"},splitDropdownButton:{tag:"button",className:"dt-btn-split-drop-button btn btn-secondary"}},buttonCreated:function(e,n){return e.buttons?t('<div class="btn-group"/>').append(n):n}}),o.ext.buttons.collection.className+=" dropdown-toggle",o.ext.buttons.collection.rightAlignClassName="dropdown-menu-right",o.Buttons})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net")(e,n).$),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,r){"use strict";var o=t.fn.dataTable;function i(t){for(var e=[],n=0,r=t.length;n<r;n++)e[t[n]]=n;return e}function a(t,e,n){var r=t.splice(e,1)[0];t.splice(n,0,r)}function s(t,e,n){for(var r=[],o=0,i=t.childNodes.length;o<i;o++)1==t.childNodes[o].nodeType&&r.push(t.childNodes[o]);var a=r[e];null!==n?t.insertBefore(a,r[n]):t.appendChild(a)}t.fn.dataTableExt.oApi.fnColReorder=function(e,n,o,l,d){var c,u,f,h,p,m,b,g=e.aoColumns.length,v=function(t,e,n){if(t[e]&&"function"!=typeof t[e]){var r=t[e].split("."),o=r.shift();isNaN(1*o)||(t[e]=n[1*o]+"."+r.join("."))}};if(n!=o)if(n<0||n>=g)this.oApi._fnLog(e,1,"ColReorder 'from' index is out of bounds: "+n);else if(o<0||o>=g)this.oApi._fnLog(e,1,"ColReorder 'to' index is out of bounds: "+o);else{var y=[];for(c=0,u=g;c<u;c++)y[c]=c;a(y,n,o);var _=i(y);for(c=0,u=e.aaSorting.length;c<u;c++)e.aaSorting[c][0]=_[e.aaSorting[c][0]];if(null!==e.aaSortingFixed)for(c=0,u=e.aaSortingFixed.length;c<u;c++)e.aaSortingFixed[c][0]=_[e.aaSortingFixed[c][0]];for(c=0,u=g;c<u;c++){for(f=0,h=(b=e.aoColumns[c]).aDataSort.length;f<h;f++)b.aDataSort[f]=_[b.aDataSort[f]];b.idx=_[b.idx]}for(t.each(e.aLastSort,(function(t,n){e.aLastSort[t].src=_[n.src]})),c=0,u=g;c<u;c++)"number"==typeof(b=e.aoColumns[c]).mData?b.mData=_[b.mData]:t.isPlainObject(b.mData)&&(v(b.mData,"_",_),v(b.mData,"filter",_),v(b.mData,"sort",_),v(b.mData,"type",_));if(e.aoColumns[n].bVisible){var w=this.oApi._fnColumnIndexToVisible(e,n),x=null;for(c=o<n?o:o+1;null===x&&c<g;)x=this.oApi._fnColumnIndexToVisible(e,c),c++;for(c=0,u=(m=e.nTHead.getElementsByTagName("tr")).length;c<u;c++)s(m[c],w,x);if(null!==e.nTFoot)for(c=0,u=(m=e.nTFoot.getElementsByTagName("tr")).length;c<u;c++)s(m[c],w,x);for(c=0,u=e.aoData.length;c<u;c++)null!==e.aoData[c].nTr&&s(e.aoData[c].nTr,w,x)}for(a(e.aoColumns,n,o),c=0,u=g;c<u;c++)e.oApi._fnColumnOptions(e,c,{});for(a(e.aoPreSearchCols,n,o),c=0,u=e.aoData.length;c<u;c++){var C=e.aoData[c],S=C.anCells;if(S)for(a(S,n,o),f=0,p=S.length;f<p;f++)S[f]&&S[f]._DT_CellIndex&&(S[f]._DT_CellIndex.column=f);"dom"!==C.src&&Array.isArray(C._aData)&&a(C._aData,n,o)}for(c=0,u=e.aoHeader.length;c<u;c++)a(e.aoHeader[c],n,o);if(null!==e.aoFooter)for(c=0,u=e.aoFooter.length;c<u;c++)a(e.aoFooter[c],n,o);for((d||d===r)&&t.fn.dataTable.Api(e).rows().invalidate(),c=0,u=g;c<u;c++)t(e.aoColumns[c].nTh).off(".DT"),this.oApi._fnSortAttachListener(e,e.aoColumns[c].nTh,c);t(e.oInstance).trigger("column-reorder.dt",[e,{from:n,to:o,mapping:_,drop:l,iFrom:n,iTo:o,aiInvertMapping:_}])}};var l=function(e,n){var r=new t.fn.dataTable.Api(e).settings()[0];if(r._colReorder)return r._colReorder;!0===n&&(n={});var o=t.fn.dataTable.camelToHungarian;return o&&(o(l.defaults,l.defaults,!0),o(l.defaults,n||{})),this.s={dt:null,enable:null,init:t.extend(!0,{},l.defaults,n),fixed:0,fixedRight:0,reorderCallback:null,mouse:{startX:-1,startY:-1,offsetX:-1,offsetY:-1,target:-1,targetIndex:-1,fromIndex:-1},aoTargets:[]},this.dom={drag:null,pointer:null},this.s.enable=this.s.init.bEnable,this.s.dt=r,this.s.dt._colReorder=this,this._fnConstruct(),this};return t.extend(l.prototype,{fnEnable:function(t){if(!1===t)return fnDisable();this.s.enable=!0},fnDisable:function(){this.s.enable=!1},fnReset:function(){return this._fnOrderColumns(this.fnOrder()),this},fnGetCurrentOrder:function(){return this.fnOrder()},fnOrder:function(e,n){var o,a,s=[],l=this.s.dt.aoColumns;if(e===r){for(o=0,a=l.length;o<a;o++)s.push(l[o]._ColReorder_iOrigCol);return s}if(n){var d=this.fnOrder();for(o=0,a=e.length;o<a;o++)s.push(t.inArray(e[o],d));e=s}return this._fnOrderColumns(i(e)),this},fnTranspose:function(e,n){n||(n="toCurrent");var r=this.fnOrder(),o=this.s.dt.aoColumns;return"toCurrent"===n?Array.isArray(e)?t.map(e,(function(e){return t.inArray(e,r)})):t.inArray(e,r):Array.isArray(e)?t.map(e,(function(t){return o[t]._ColReorder_iOrigCol})):o[e]._ColReorder_iOrigCol},_fnConstruct:function(){var e,n=this,r=this.s.dt.aoColumns.length,o=this.s.dt.nTable;for(this.s.init.iFixedColumns&&(this.s.fixed=this.s.init.iFixedColumns),this.s.init.iFixedColumnsLeft&&(this.s.fixed=this.s.init.iFixedColumnsLeft),this.s.fixedRight=this.s.init.iFixedColumnsRight?this.s.init.iFixedColumnsRight:0,this.s.init.fnReorderCallback&&(this.s.reorderCallback=this.s.init.fnReorderCallback),e=0;e<r;e++)e>this.s.fixed-1&&e<r-this.s.fixedRight&&this._fnMouseListener(e,this.s.dt.aoColumns[e].nTh),this.s.dt.aoColumns[e]._ColReorder_iOrigCol=e;this.s.dt.oApi._fnCallbackReg(this.s.dt,"aoStateSaveParams",(function(t,e){n._fnStateSave.call(n,e)}),"ColReorder_State"),this.s.dt.oApi._fnCallbackReg(this.s.dt,"aoStateLoadParams",(function(t,e){n.s.dt._colReorder.fnOrder(e.ColReorder,!0)}));var a=null;if(this.s.init.aiOrder&&(a=this.s.init.aiOrder.slice()),this.s.dt.oLoadedState&&void 0!==this.s.dt.oLoadedState.ColReorder&&this.s.dt.oLoadedState.ColReorder.length==this.s.dt.aoColumns.length&&(a=this.s.dt.oLoadedState.ColReorder),a)if(n.s.dt._bInitComplete){var s=i(a);n._fnOrderColumns.call(n,s)}else{var l=!1;t(o).on("draw.dt.colReorder",(function(){if(!n.s.dt._bInitComplete&&!l){l=!0;var t=i(a);n._fnOrderColumns.call(n,t)}}))}else this._fnSetColumnIndexes();t(o).on("destroy.dt.colReorder",(function(){t(o).off("destroy.dt.colReorder draw.dt.colReorder"),t.each(n.s.dt.aoColumns,(function(e,n){t(n.nTh).off(".ColReorder"),t(n.nTh).removeAttr("data-column-index")})),n.s.dt._colReorder=null,n.s=null}))},_fnOrderColumns:function(e){var n=!1;if(e.length==this.s.dt.aoColumns.length){for(var r=0,o=e.length;r<o;r++){var i=t.inArray(r,e);r!=i&&(a(e,i,r),this.s.dt.oInstance.fnColReorder(i,r,!0,!1),n=!0)}this._fnSetColumnIndexes(),n&&(t.fn.dataTable.Api(this.s.dt).rows().invalidate(),""===this.s.dt.oScroll.sX&&""===this.s.dt.oScroll.sY||this.s.dt.oInstance.fnAdjustColumnSizing(!1),this.s.dt.oInstance.oApi._fnSaveState(this.s.dt),null!==this.s.reorderCallback&&this.s.reorderCallback.call(this))}else this.s.dt.oInstance.oApi._fnLog(this.s.dt,1,"ColReorder - array reorder does not match known number of columns. Skipping.")},_fnStateSave:function(e){if(null!==this.s){var n,r,o,i=this.s.dt.aoColumns;if(e.ColReorder=[],e.aaSorting){for(n=0;n<e.aaSorting.length;n++)e.aaSorting[n][0]=i[e.aaSorting[n][0]]._ColReorder_iOrigCol;var a=t.extend(!0,[],e.aoSearchCols);for(n=0,r=i.length;n<r;n++)o=i[n]._ColReorder_iOrigCol,e.aoSearchCols[o]=a[n],e.abVisCols[o]=i[n].bVisible,e.ColReorder.push(o)}else if(e.order){for(n=0;n<e.order.length;n++)e.order[n][0]=i[e.order[n][0]]._ColReorder_iOrigCol;var s=t.extend(!0,[],e.columns);for(n=0,r=i.length;n<r;n++)o=i[n]._ColReorder_iOrigCol,e.columns[o]=s[n],e.ColReorder.push(o)}}},_fnMouseListener:function(e,n){var r=this;t(n).on("mousedown.ColReorder",(function(t){r.s.enable&&1===t.which&&r._fnMouseDown.call(r,t,n)})).on("touchstart.ColReorder",(function(t){r.s.enable&&r._fnMouseDown.call(r,t,n)}))},_fnMouseDown:function(e,o){var i=this,a=t(e.target).closest("th, td").offset(),s=parseInt(t(o).attr("data-column-index"),10);s!==r&&(this.s.mouse.startX=this._fnCursorPosition(e,"pageX"),this.s.mouse.startY=this._fnCursorPosition(e,"pageY"),this.s.mouse.offsetX=this._fnCursorPosition(e,"pageX")-a.left,this.s.mouse.offsetY=this._fnCursorPosition(e,"pageY")-a.top,this.s.mouse.target=this.s.dt.aoColumns[s].nTh,this.s.mouse.targetIndex=s,this.s.mouse.fromIndex=s,this._fnRegions(),t(n).on("mousemove.ColReorder touchmove.ColReorder",(function(t){i._fnMouseMove.call(i,t)})).on("mouseup.ColReorder touchend.ColReorder",(function(t){i._fnMouseUp.call(i,t)})))},_fnMouseMove:function(t){var e,n=this;if(null===this.dom.drag){if(Math.pow(Math.pow(this._fnCursorPosition(t,"pageX")-this.s.mouse.startX,2)+Math.pow(this._fnCursorPosition(t,"pageY")-this.s.mouse.startY,2),.5)<5)return;this._fnCreateDragNode()}this.dom.drag.css({left:this._fnCursorPosition(t,"pageX")-this.s.mouse.offsetX,top:this._fnCursorPosition(t,"pageY")-this.s.mouse.offsetY});for(var r=this.s.mouse.toIndex,o=this._fnCursorPosition(t,"pageX"),i=function(t){for(;t>=0;){if(--t<=0)return null;if(n.s.aoTargets[t+1].x!==n.s.aoTargets[t].x)return n.s.aoTargets[t]}},a=function(){for(var t=0;t<n.s.aoTargets.length-1;t++)if(n.s.aoTargets[t].x!==n.s.aoTargets[t+1].x)return n.s.aoTargets[t]},s=function(){for(var t=n.s.aoTargets.length-1;t>0;t--)if(n.s.aoTargets[t].x!==n.s.aoTargets[t-1].x)return n.s.aoTargets[t]},l=1;l<this.s.aoTargets.length;l++){var d=i(l);d||(d=a());var c=d.x+(this.s.aoTargets[l].x-d.x)/2;if(this._fnIsLtr()){if(o<c){e=d;break}}else if(o>c){e=d;break}}e?(this.dom.pointer.css("left",e.x),this.s.mouse.toIndex=e.to):(this.dom.pointer.css("left",s().x),this.s.mouse.toIndex=s().to),this.s.init.bRealtime&&r!==this.s.mouse.toIndex&&(this.s.dt.oInstance.fnColReorder(this.s.mouse.fromIndex,this.s.mouse.toIndex),this.s.mouse.fromIndex=this.s.mouse.toIndex,""===this.s.dt.oScroll.sX&&""===this.s.dt.oScroll.sY||this.s.dt.oInstance.fnAdjustColumnSizing(!1),this._fnRegions())},_fnMouseUp:function(e){t(n).off(".ColReorder"),null!==this.dom.drag&&(this.dom.drag.remove(),this.dom.pointer.remove(),this.dom.drag=null,this.dom.pointer=null,this.s.dt.oInstance.fnColReorder(this.s.mouse.fromIndex,this.s.mouse.toIndex,!0),this._fnSetColumnIndexes(),""===this.s.dt.oScroll.sX&&""===this.s.dt.oScroll.sY||this.s.dt.oInstance.fnAdjustColumnSizing(!1),this.s.dt.oInstance.oApi._fnSaveState(this.s.dt),null!==this.s.reorderCallback&&this.s.reorderCallback.call(this))},_fnRegions:function(){var e=this.s.dt.aoColumns,n=this._fnIsLtr();this.s.aoTargets.splice(0,this.s.aoTargets.length);var r=t(this.s.dt.nTable).offset().left,o=[];t.each(e,(function(e,i){if(i.bVisible&&"none"!==i.nTh.style.display){var a=t(i.nTh),s=a.offset().left;n&&(s+=a.outerWidth()),o.push({index:e,bound:s}),r=s}else o.push({index:e,bound:r})}));var i=o[0],a=t(e[i.index].nTh).outerWidth();this.s.aoTargets.push({to:0,x:i.bound-a});for(var s=0;s<o.length;s++){var l=o[s],d=l.index;l.index<this.s.mouse.fromIndex&&d++,this.s.aoTargets.push({to:d,x:l.bound})}0!==this.s.fixedRight&&this.s.aoTargets.splice(this.s.aoTargets.length-this.s.fixedRight),0!==this.s.fixed&&this.s.aoTargets.splice(0,this.s.fixed)},_fnCreateDragNode:function(){var e=""!==this.s.dt.oScroll.sX||""!==this.s.dt.oScroll.sY,n=this.s.dt.aoColumns[this.s.mouse.targetIndex].nTh,r=n.parentNode,o=r.parentNode,i=o.parentNode,a=t(n).clone();this.dom.drag=t(i.cloneNode(!1)).addClass("DTCR_clonedTable").append(t(o.cloneNode(!1)).append(t(r.cloneNode(!1)).append(a[0]))).css({position:"absolute",top:0,left:0,width:t(n).outerWidth(),height:t(n).outerHeight()}).appendTo("body"),this.dom.pointer=t("<div></div>").addClass("DTCR_pointer").css({position:"absolute",top:e?t(t(this.s.dt.nScrollBody).parent()).offset().top:t(this.s.dt.nTable).offset().top,height:e?t(t(this.s.dt.nScrollBody).parent()).height():t(this.s.dt.nTable).height()}).appendTo("body")},_fnSetColumnIndexes:function(){t.each(this.s.dt.aoColumns,(function(e,n){t(n.nTh).attr("data-column-index",e)}))},_fnCursorPosition:function(t,e){return-1!==t.type.indexOf("touch")?t.originalEvent.touches[0][e]:t[e]},_fnIsLtr:function(){return"rtl"!==t(this.s.dt.nTable).css("direction")}}),l.defaults={aiOrder:null,bEnable:!0,bRealtime:!0,iFixedColumnsLeft:0,iFixedColumnsRight:0,fnReorderCallback:null},l.version="1.5.5",t.fn.dataTable.ColReorder=l,t.fn.DataTable.ColReorder=l,"function"==typeof t.fn.dataTable&&"function"==typeof t.fn.dataTableExt.fnVersionCheck&&t.fn.dataTableExt.fnVersionCheck("1.10.8")?t.fn.dataTableExt.aoFeatures.push({fnInit:function(t){var e=t.oInstance;if(t._colReorder)e.oApi._fnLog(t,1,"ColReorder attempted to initialise twice. Ignoring second");else{var n=t.oInit,r=n.colReorder||n.oColReorder||{};new l(t,r)}return null},cFeature:"R",sFeature:"ColReorder"}):alert("Warning: ColReorder requires DataTables 1.10.8 or greater - www.datatables.net/download"),t(n).on("preInit.dt.colReorder",(function(e,n){if("dt"===e.namespace){var r=n.oInit.colReorder,i=o.defaults.colReorder;if(r||i){var a=t.extend({},r,i);!1!==r&&new l(n,a)}}})),t.fn.dataTable.Api.register("colReorder.reset()",(function(){return this.iterator("table",(function(t){t._colReorder.fnReset()}))})),t.fn.dataTable.Api.register("colReorder.order()",(function(t,e){return t?this.iterator("table",(function(n){n._colReorder.fnOrder(t,e)})):this.context.length?this.context[0]._colReorder.fnOrder():null})),t.fn.dataTable.Api.register("colReorder.transpose()",(function(t,e){return this.context.length&&this.context[0]._colReorder?this.context[0]._colReorder.fnTranspose(t,e):t})),t.fn.dataTable.Api.register("colReorder.move()",(function(t,e,n,r){return this.context.length&&(this.context[0]._colReorder.s.dt.oInstance.fnColReorder(t,e,n,r),this.context[0]._colReorder._fnSetColumnIndexes()),this})),t.fn.dataTable.Api.register("colReorder.enable()",(function(t){return this.iterator("table",(function(e){e._colReorder&&e._colReorder.fnEnable(t)}))})),t.fn.dataTable.Api.register("colReorder.disable()",(function(){return this.iterator("table",(function(t){t._colReorder&&t._colReorder.fnDisable()}))})),l})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net-bs4","datatables.net-colreorder"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net-bs4")(e,n).$),n.fn.dataTable.ColReorder||require("datatables.net-colreorder")(e,n),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,r){return t.fn.dataTable})),function(){"use strict";var t,e;function n(n){e=(t=n).fn.dataTable}var r,o=function(){function n(r,o){var i=this;if(!e||!e.versionCheck||!e.versionCheck("1.10.0"))throw new Error("StateRestore requires DataTables 1.10 or newer");var a=new e.Api(r);this.classes=t.extend(!0,{},n.classes),this.c=t.extend(!0,{},n.defaults,o),void 0===o.left&&void 0!==this.c.leftColumns&&(this.c.left=this.c.leftColumns),void 0===o.right&&void 0!==this.c.rightColumns&&(this.c.right=this.c.rightColumns),this.s={barWidth:0,dt:a,rtl:"rtl"===t(a.table().node()).css("direction")};var s={"background-color":"white",bottom:"0px",display:"block",position:"absolute",width:this.s.barWidth+1+"px"};return this.dom={leftBottomBlocker:t("<div>").css(s).css("left",0).addClass(this.classes.leftBottomBlocker),leftTopBlocker:t("<div>").css(s).css({left:0,top:0}).addClass(this.classes.leftTopBlocker),rightBottomBlocker:t("<div>").css(s).css("right",0).addClass(this.classes.rightBottomBlocker),rightTopBlocker:t("<div>").css(s).css({right:0,top:0}).addClass(this.classes.rightTopBlocker)},this.s.dt.settings()[0]._bInitComplete?(this._addStyles(),this._setKeyTableListener()):a.one("preInit.dt",(function(){i._addStyles(),i._setKeyTableListener()})),a.settings()[0]._fixedColumns=this,this}return n.prototype.left=function(t){return void 0!==t&&(this.c.left=t,this._addStyles()),this.c.left},n.prototype.right=function(t){return void 0!==t&&(this.c.right=t,this._addStyles()),this.c.right},n.prototype._addStyles=function(){if(this.s.dt.settings()[0].oScroll.sY){var e=t(this.s.dt.table().node()).closest("div.dataTables_scrollBody")[0],n=this.s.dt.settings()[0].oBrowser.barWidth;e.offsetWidth-e.clientWidth>=n?this.s.barWidth=n:this.s.barWidth=0,this.dom.rightTopBlocker.css("width",this.s.barWidth+1),this.dom.leftTopBlocker.css("width",this.s.barWidth+1),this.dom.rightBottomBlocker.css("width",this.s.barWidth+1),this.dom.leftBottomBlocker.css("width",this.s.barWidth+1)}var r=null,o=this.s.dt.column(0).header(),i=null;null!==o&&(i=(o=t(o)).outerHeight()+1,r=t(o.closest("div.dataTables_scroll")).css("position","relative"));var a=this.s.dt.column(0).footer(),s=null;null!==a&&(s=(a=t(a)).outerHeight(),null===r&&(r=t(a.closest("div.dataTables_scroll")).css("position","relative")));for(var l=this.s.dt.columns().data().toArray().length,d=0,c=0,u=t(this.s.dt.table().node()).children("tbody").children("tr"),f=0,h=new Map,p=0;p<l;p++){var m=this.s.dt.column(p);if(p>0&&h.set(p-1,f),m.visible()){var b=t(m.header()),g=t(m.footer());if(p-f<this.c.left){if(t(this.s.dt.table().node()).addClass(this.classes.tableFixedLeft),r.addClass(this.classes.tableFixedLeft),p-f>0)for(var v=p;v+1<l;){if((D=this.s.dt.column(v-1,{page:"current"})).visible()){d+=t(D.nodes()[0]).outerWidth(),c+=D.header()||D.footer()?t(D.header()).outerWidth():0;break}v--}for(var y=0,_=u;y<_.length;y++){var w=_[y];t(t(w).children()[p-f]).css(this._getCellCSS(!1,d,"left")).addClass(this.classes.fixedLeft)}b.css(this._getCellCSS(!0,c,"left")).addClass(this.classes.fixedLeft),g.css(this._getCellCSS(!0,c,"left")).addClass(this.classes.fixedLeft)}else{for(var x=0,C=u;x<C.length;x++){w=C[x];(O=t(t(w).children()[p-f])).hasClass(this.classes.fixedLeft)&&O.css(this._clearCellCSS("left")).removeClass(this.classes.fixedLeft)}b.hasClass(this.classes.fixedLeft)&&b.css(this._clearCellCSS("left")).removeClass(this.classes.fixedLeft),g.hasClass(this.classes.fixedLeft)&&g.css(this._clearCellCSS("left")).removeClass(this.classes.fixedLeft)}}else f++}null===o||o.hasClass("index")||(this.s.rtl?(this.dom.leftTopBlocker.outerHeight(i),r.append(this.dom.leftTopBlocker)):(this.dom.rightTopBlocker.outerHeight(i),r.append(this.dom.rightTopBlocker))),null===a||a.hasClass("index")||(this.s.rtl?(this.dom.leftBottomBlocker.outerHeight(s),r.append(this.dom.leftBottomBlocker)):(this.dom.rightBottomBlocker.outerHeight(s),r.append(this.dom.rightBottomBlocker)));var S=0,T=0,I=0;for(p=l-1;p>=0;p--){if((m=this.s.dt.column(p)).visible()){b=t(m.header()),g=t(m.footer());var k=h.get(p);if(void 0===k&&(k=f),p+I>=l-this.c.right){if(t(this.s.dt.table().node()).addClass(this.classes.tableFixedRight),r.addClass(this.classes.tableFixedRight),p+1+I<l)for(v=p;v+1<l;){var D;if((D=this.s.dt.column(v+1,{page:"current"})).visible()){S+=t(D.nodes()[0]).outerWidth(),T+=D.header()||D.footer()?t(D.header()).outerWidth():0;break}v++}for(var F=0,A=u;F<A.length;F++){w=A[F];t(t(w).children()[p-k]).css(this._getCellCSS(!1,S,"right")).addClass(this.classes.fixedRight)}b.css(this._getCellCSS(!0,T,"right")).addClass(this.classes.fixedRight),g.css(this._getCellCSS(!0,T,"right")).addClass(this.classes.fixedRight)}else{for(var R=0,B=u;R<B.length;R++){var O;w=B[R];(O=t(t(w).children()[p-k])).hasClass(this.classes.fixedRight)&&O.css(this._clearCellCSS("right")).removeClass(this.classes.fixedRight)}b.hasClass(this.classes.fixedRight)&&b.css(this._clearCellCSS("right")).removeClass(this.classes.fixedRight),g.hasClass(this.classes.fixedRight)&&g.css(this._clearCellCSS("right")).removeClass(this.classes.fixedRight)}}else I++}o&&(this.s.rtl?(this.dom.leftTopBlocker.outerHeight(i),r.append(this.dom.leftTopBlocker)):(this.dom.rightTopBlocker.outerHeight(i),r.append(this.dom.rightTopBlocker))),a&&(this.s.rtl?(this.dom.leftBottomBlocker.outerHeight(s),r.append(this.dom.leftBottomBlocker)):(this.dom.rightBottomBlocker.outerHeight(s),r.append(this.dom.rightBottomBlocker)))},n.prototype._getCellCSS=function(t,e,n){return"left"===n?this.s.rtl?{position:"sticky",right:e+(t?this.s.barWidth:0)+"px"}:{left:e+"px",position:"sticky"}:this.s.rtl?{left:e+"px",position:"sticky"}:{position:"sticky",right:e+(t?this.s.barWidth:0)+"px"}},n.prototype._clearCellCSS=function(t){return"left"===t?this.s.rtl?{position:"",right:""}:{left:"",position:""}:this.s.rtl?{left:"",position:""}:{position:"",right:""}},n.prototype._setKeyTableListener=function(){var e=this;this.s.dt.on("key-focus",(function(n,r,o){var i=t(o.node()).offset(),a=t(t(e.s.dt.table().node()).closest("div.dataTables_scrollBody"));if(e.c.left>0){var s=t(e.s.dt.column(e.c.left-1).header()),l=s.offset(),d=s.outerWidth();if(i.left<l.left+d){var c=a.scrollLeft();a.scrollLeft(c-(l.left+d-i.left))}}if(e.c.right>0){var u=e.s.dt.columns().data().toArray().length,f=t(o.node()).outerWidth(),h=t(e.s.dt.column(u-e.c.right).header()).offset();if(i.left+f>h.left){c=a.scrollLeft();a.scrollLeft(c-(h.left-(i.left+f)))}}})),this.s.dt.on("draw",(function(){e._addStyles()})),this.s.dt.on("column-reorder",(function(){e._addStyles()})),this.s.dt.on("column-visibility",(function(){setTimeout((function(){e._addStyles()}),50)}))},n.version="4.0.1",n.classes={fixedLeft:"dtfc-fixed-left",fixedRight:"dtfc-fixed-right",leftBottomBlocker:"dtfc-left-bottom-blocker",leftTopBlocker:"dtfc-left-top-blocker",rightBottomBlocker:"dtfc-right-bottom-blocker",rightTopBlocker:"dtfc-right-top-blocker",tableFixedLeft:"dtfc-has-left",tableFixedRight:"dtfc-has-right"},n.defaults={i18n:{button:"FixedColumns"},left:1,right:0},n}();r=function(t,e,r){n(t);var i=t.fn.dataTable;t.fn.dataTable.FixedColumns=o,t.fn.DataTable.FixedColumns=o;var a=t.fn.dataTable.Api.register;function s(t,e){void 0===e&&(e=null);var n=new i.Api(t),r=e||n.init().fixedColumns||i.defaults.fixedColumns;return new o(n,r)}a("fixedColumns()",(function(){return this})),a("fixedColumns().left()",(function(t){var e=this.context[0];return void 0!==t?(e._fixedColumns.left(t),this):e._fixedColumns.left()})),a("fixedColumns().right()",(function(t){var e=this.context[0];return void 0!==t?(e._fixedColumns.right(t),this):e._fixedColumns.right()})),t.fn.dataTable.ext.buttons.fixedColumns={action:function(e,n,r,o){t(r).attr("active")?(t(r).removeAttr("active").removeClass("active"),n.fixedColumns().left(0),n.fixedColumns().right(0)):(t(r).attr("active",!0).addClass("active"),n.fixedColumns().left(o.config.left),n.fixedColumns().right(o.config.right))},config:{left:1,right:0},init:function(e,n,r){void 0===e.settings()[0]._fixedColumns&&s(e.settings(),r),t(n).attr("active",!0).addClass("active"),e.button(n).text(r.text||e.i18n("buttons.fixedColumns",e.settings()[0]._fixedColumns.c.i18n.button))},text:null},t(r).on("init.dt.dtfc",(function(t,e){"dt"===t.namespace&&(e.oInit.fixedColumns||i.defaults.fixedColumns)&&(e._fixedColumns||s(e,null))}))},"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(t){return r(t,window,document)})):"object"==typeof exports?module.exports=function(t,e){return t||(t=window),e&&e.fn.dataTable||(e=require("datatables.net")(t,e).$),r(e,0,t.document)}:r(window.jQuery,window,document)}(),function(){"use strict";var t;t=function(t){return t.fn.dataTable.fixedColumns},"function"==typeof define&&define.amd?define(["jquery","datatables.net-bs4","datatables.net-fixedcolumns"],(function(e){return t(e)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net-bs4")(e,n).$),n.fn.dataTable.SearchPanes||require("datatables.net-fixedcolumns")(e,n),t(n)}:t(jQuery)}(),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net")(e,n).$),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,r){"use strict";var o=t.fn.dataTable,i=0,a=function(n,r){if(!(this instanceof a))throw"FixedHeader must be initialised with the 'new' keyword.";!0===r&&(r={}),n=new o.Api(n),this.c=t.extend(!0,{},a.defaults,r),this.s={dt:n,position:{theadTop:0,tbodyTop:0,tfootTop:0,tfootBottom:0,width:0,left:0,tfootHeight:0,theadHeight:0,windowHeight:t(e).height(),visible:!0},headerMode:null,footerMode:null,autoWidth:n.settings()[0].oFeatures.bAutoWidth,namespace:".dtfc"+i++,scrollLeft:{header:-1,footer:-1},enable:!0},this.dom={floatingHeader:null,thead:t(n.table().header()),tbody:t(n.table().body()),tfoot:t(n.table().footer()),header:{host:null,floating:null,floatingParent:t('<div class="dtfh-floatingparent">'),placeholder:null},footer:{host:null,floating:null,floatingParent:t('<div class="dtfh-floatingparent">'),placeholder:null}},this.dom.header.host=this.dom.thead.parent(),this.dom.footer.host=this.dom.tfoot.parent();var s=n.settings()[0];if(s._fixedHeader)throw"FixedHeader already initialised on table "+s.nTable.id;s._fixedHeader=this,this._constructor()};return t.extend(a.prototype,{destroy:function(){this.s.dt.off(".dtfc"),t(e).off(this.s.namespace),this.c.header&&this._modeChange("in-place","header",!0),this.c.footer&&this.dom.tfoot.length&&this._modeChange("in-place","footer",!0)},enable:function(t,e){this.s.enable=t,(e||e===r)&&(this._positions(),this._scroll(!0))},enabled:function(){return this.s.enable},headerOffset:function(t){return t!==r&&(this.c.headerOffset=t,this.update()),this.c.headerOffset},footerOffset:function(t){return t!==r&&(this.c.footerOffset=t,this.update()),this.c.footerOffset},update:function(e){var n=this.s.dt.table().node();t(n).is(":visible")?this.enable(!0,!1):this.enable(!1,!1),0!==t(n).children("thead").length&&(this._positions(),this._scroll(e===r||e))},_constructor:function(){var n=this,r=this.s.dt;t(e).on("scroll"+this.s.namespace,(function(){n._scroll()})).on("resize"+this.s.namespace,o.util.throttle((function(){n.s.position.windowHeight=t(e).height(),n.update()}),50));var i=t(".fh-fixedHeader");!this.c.headerOffset&&i.length&&(this.c.headerOffset=i.outerHeight());var a=t(".fh-fixedFooter");!this.c.footerOffset&&a.length&&(this.c.footerOffset=a.outerHeight()),r.on("column-reorder.dt.dtfc column-visibility.dt.dtfc column-sizing.dt.dtfc responsive-display.dt.dtfc",(function(t,e){n.update()})).on("draw.dt.dtfc",(function(t,e){n.update(e!==r.settings()[0])})),r.on("destroy.dtfc",(function(){n.destroy()})),this._positions(),this._scroll()},_clone:function(e,n){var r=this.s.dt,o=this.dom[e],i="header"===e?this.dom.thead:this.dom.tfoot;if("footer"!==e||!this._scrollEnabled())if(!n&&o.floating)o.floating.removeClass("fixedHeader-floating fixedHeader-locked");else{o.floating&&(null!==o.placeholder&&o.placeholder.remove(),this._unsize(e),o.floating.children().detach(),o.floating.remove());var a=t(r.table().node()),s=t(a.parent()),l=this._scrollEnabled();o.floating=t(r.table().node().cloneNode(!1)).attr("aria-hidden","true").css({"table-layout":"fixed",top:0,left:0}).removeAttr("id").append(i),o.floatingParent.css({width:s.width(),overflow:"hidden",height:"fit-content",position:"fixed",left:l?a.offset().left+s.scrollLeft():0}).css("header"===e?{top:this.c.headerOffset,bottom:""}:{top:"",bottom:this.c.footerOffset}).addClass("footer"===e?"dtfh-floatingparentfoot":"dtfh-floatingparenthead").append(o.floating).appendTo("body"),this._stickyPosition(o.floating,"-");var d=()=>{var t=s.scrollLeft();this.s.scrollLeft={footer:t,header:t},o.floatingParent.scrollLeft(this.s.scrollLeft.header)};d(),s.scroll(d),o.placeholder=i.clone(!1),o.placeholder.find("*[id]").removeAttr("id"),o.host.prepend(o.placeholder),this._matchWidths(o.placeholder,o.floating)}},_stickyPosition(e,n){if(this._scrollEnabled()){var r=this,o="rtl"===t(r.s.dt.table().node()).css("direction");e.find("th").each((function(){if("sticky"===t(this).css("position")){var e=t(this).css("right"),i=t(this).css("left");if("auto"===e||o){if("auto"!==i&&o){a=+i.replace(/px/g,"")+("-"===n?-1:1)*r.s.dt.settings()[0].oBrowser.barWidth;t(this).css("left",a>0?a:0)}}else{var a=+e.replace(/px/g,"")+("-"===n?-1:1)*r.s.dt.settings()[0].oBrowser.barWidth;t(this).css("right",a>0?a:0)}}}))}},_matchWidths:function(e,n){var r=function(n){return t(n,e).map((function(){return 1*t(this).css("width").replace(/[^\d\.]/g,"")})).toArray()},o=function(e,r){t(e,n).each((function(e){t(this).css({width:r[e],minWidth:r[e]})}))},i=r("th"),a=r("td");o("th",i),o("td",a)},_unsize:function(e){var n=this.dom[e].floating;n&&("footer"===e||"header"===e&&!this.s.autoWidth)?t("th, td",n).css({width:"",minWidth:""}):n&&"header"===e&&t("th, td",n).css("min-width","")},_horizontal:function(e,n){var r=this.dom[e],o=(this.s.position,this.s.scrollLeft);if(r.floating&&o[e]!==n){if(this._scrollEnabled()){var i=t(t(this.s.dt.table().node()).parent()).scrollLeft();r.floating.scrollLeft(i),r.floatingParent.scrollLeft(i)}o[e]=n}},_modeChange:function(r,o,i){this.s.dt;var a=this.dom[o],s=this.s.position,l=this._scrollEnabled();if("footer"!==o||!l){var d=function(t){a.floating.attr("style",(function(e,n){return(n||"")+"width: "+t+"px !important;"})),l||a.floatingParent.attr("style",(function(e,n){return(n||"")+"width: "+t+"px !important;"}))},c=this.dom["footer"===o?"tfoot":"thead"],u=t.contains(c[0],n.activeElement)?n.activeElement:null,f=t(t(this.s.dt.table().node()).parent());if("in-place"===r)a.placeholder&&(a.placeholder.remove(),a.placeholder=null),this._unsize(o),"header"===o?a.host.prepend(c):a.host.append(c),a.floating&&(a.floating.remove(),a.floating=null,this._stickyPosition(a.host,"+")),a.floatingParent&&a.floatingParent.remove(),t(t(a.host.parent()).parent()).scrollLeft(f.scrollLeft());else if("in"===r){this._clone(o,i);var h=f.offset(),p=t(n).scrollTop(),m=p+t(e).height(),b=l?h.top:s.tbodyTop,g=l?h.top+f.outerHeight():s.tfootTop,v="footer"===o?b>m?s.tfootHeight:b+s.tfootHeight-m:p+this.c.headerOffset+s.theadHeight-g,y="header"===o?"top":"bottom",_=this.c[o+"Offset"]-(v>0?v:0);a.floating.addClass("fixedHeader-floating"),a.floatingParent.css(y,_).css({left:s.left,height:"header"===o?s.theadHeight:s.tfootHeight,"z-index":2}).append(a.floating),d(s.width),"footer"===o&&a.floating.css("top","")}else"below"===r?(this._clone(o,i),a.floating.addClass("fixedHeader-locked"),a.floatingParent.css({position:"absolute",top:s.tfootTop-s.theadHeight,left:s.left+"px"}),d(s.width)):"above"===r&&(this._clone(o,i),a.floating.addClass("fixedHeader-locked"),a.floatingParent.css({position:"absolute",top:s.tbodyTop,left:s.left+"px"}),d(s.width));u&&u!==n.activeElement&&setTimeout((function(){u.focus()}),10),this.s.scrollLeft.header=-1,this.s.scrollLeft.footer=-1,this.s[o+"Mode"]=r}},_positions:function(){var e=this.s.dt,n=e.table(),r=this.s.position,o=this.dom,i=t(n.node()),a=this._scrollEnabled(),s=t(e.table().header()),l=t(e.table().footer()),d=o.tbody,c=i.parent();r.visible=i.is(":visible"),r.width=i.outerWidth(),r.left=i.offset().left,r.theadTop=s.offset().top,r.tbodyTop=a?c.offset().top:d.offset().top,r.tbodyHeight=a?c.outerHeight():d.outerHeight(),r.theadHeight=s.outerHeight(),r.theadBottom=r.theadTop+r.theadHeight,l.length?(r.tfootTop=r.tbodyTop+r.tbodyHeight,r.tfootBottom=r.tfootTop+l.outerHeight(),r.tfootHeight=l.outerHeight()):(r.tfootTop=r.tbodyTop+d.outerHeight(),r.tfootBottom=r.tfootTop,r.tfootHeight=r.tfootTop)},_scroll:function(o){var i,a,s=this._scrollEnabled(),l=(y=t(this.s.dt.table().node()).parent()).offset(),d=y.outerHeight(),c=t(n).scrollLeft(),u=t(n).scrollTop(),f=t(e).height(),h=this.s.position,p=s?l.top:h.tbodyTop,m=s?l.left:h.left,b=s?l.top+d:h.tfootTop,g=s?y.outerWidth():h.tbodyWidth,v=u+f;if(this.c.header){if(this.s.enable)if(!h.visible||u+this.c.headerOffset+h.theadHeight<=p)i="in-place";else if(u+this.c.headerOffset+h.theadHeight>p&&u+this.c.headerOffset<b){i="in";var y=t(t(this.s.dt.table().node()).parent());u+this.c.headerOffset+h.theadHeight>b||this.dom.header.floatingParent===r?o=!0:this.dom.header.floatingParent.css({top:this.c.headerOffset,position:"fixed"}).append(this.dom.header.floating)}else i="below";else i="in-place";(o||i!==this.s.headerMode)&&this._modeChange(i,"header",o),this._horizontal("header",c)}var _={offset:{top:0,left:0},height:0},w={offset:{top:0,left:0},height:0};if(this.c.footer&&this.dom.tfoot.length){this.s.enable?!h.visible||h.tfootBottom+this.c.footerOffset<=v?a="in-place":b+h.tfootHeight+this.c.footerOffset>v&&p+this.c.footerOffset<v?(a="in",o=!0):a="above":a="in-place",(o||a!==this.s.footerMode)&&this._modeChange(a,"footer",o),this._horizontal("footer",c);var x=t=>({offset:t.offset(),height:t.outerHeight()});if(_=this.dom.header.floating?x(this.dom.header.floating):x(this.dom.thead),w=this.dom.footer.floating?x(this.dom.footer.floating):x(this.dom.tfoot),s&&w.offset.top>u){var C=u-l.top,S=v+(C>-_.height?C:0)-(_.offset.top+(C<-_.height?_.height:0)+w.height);S<0&&(S=0),y.outerHeight(S),Math.round(y.outerHeight())>=Math.round(S)?t(this.dom.tfoot.parent()).addClass("fixedHeader-floating"):t(this.dom.tfoot.parent()).removeClass("fixedHeader-floating")}}if(this.dom.header.floating&&this.dom.header.floatingParent.css("left",m-c),this.dom.footer.floating&&this.dom.footer.floatingParent.css("left",m-c),this.s.dt.settings()[0]._fixedColumns!==r){var T=(e,n,o)=>{if(o===r){let r=t("div.dtfc-"+e+"-"+n+"-blocker");o=0===r.length?null:r.clone().appendTo("body").css("z-index",1)}return null!==o&&o.css({top:"top"===n?_.offset.top:w.offset.top,left:"right"===e?m+g-o.width():m}),o};this.dom.header.rightBlocker=T("right","top",this.dom.header.rightBlocker),this.dom.header.leftBlocker=T("left","top",this.dom.header.leftBlocker),this.dom.footer.rightBlocker=T("right","bottom",this.dom.footer.rightBlocker),this.dom.footer.leftBlocker=T("left","bottom",this.dom.footer.leftBlocker)}},_scrollEnabled:function(){var t=this.s.dt.settings()[0].oScroll;return""!==t.sY||""!==t.sX}}),a.version="3.2.1",a.defaults={header:!0,footer:!1,headerOffset:0,footerOffset:0},t.fn.dataTable.FixedHeader=a,t.fn.DataTable.FixedHeader=a,t(n).on("init.dt.dtfh",(function(e,n,r){if("dt"===e.namespace){var i=n.oInit.fixedHeader,s=o.defaults.fixedHeader;if((i||s)&&!n._fixedHeader){var l=t.extend({},s,i);!1!==i&&new a(n,l)}}})),o.Api.register("fixedHeader()",(function(){})),o.Api.register("fixedHeader.adjust()",(function(){return this.iterator("table",(function(t){var e=t._fixedHeader;e&&e.update()}))})),o.Api.register("fixedHeader.enable()",(function(t){return this.iterator("table",(function(e){var n=e._fixedHeader;t=t===r||t,n&&t!==n.enabled()&&n.enable(t)}))})),o.Api.register("fixedHeader.enabled()",(function(){if(this.context.length){var t=this.context[0]._fixedHeader;if(t)return t.enabled()}return!1})),o.Api.register("fixedHeader.disable()",(function(){return this.iterator("table",(function(t){var e=t._fixedHeader;e&&e.enabled()&&e.enable(!1)}))})),t.each(["header","footer"],(function(t,e){o.Api.register("fixedHeader."+e+"Offset()",(function(t){var n=this.context;return t===r?n.length&&n[0]._fixedHeader?n[0]._fixedHeader[e+"Offset"]():r:this.iterator("table",(function(n){var r=n._fixedHeader;r&&r[e+"Offset"](t)}))}))})),a})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net-bs4","datatables.net-fixedheader"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net-bs4")(e,n).$),n.fn.dataTable.FixedHeader||require("datatables.net-fixedheader")(e,n),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,r){return t.fn.dataTable})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net")(e,n).$),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,r){"use strict";var o=t.fn.dataTable,i=0,a=0,s=function(e,n){if(!o.versionCheck||!o.versionCheck("1.10.8"))throw"KeyTable requires DataTables 1.10.8 or newer";this.c=t.extend(!0,{},o.defaults.keyTable,s.defaults,n),this.s={dt:new o.Api(e),enable:!0,focusDraw:!1,waitingForDraw:!1,lastFocus:null,namespace:".keyTable-"+i++,tabInput:null},this.dom={};var r=this.s.dt.settings()[0],a=r.keytable;if(a)return a;r.keytable=this,this._constructor()};return t.extend(s.prototype,{blur:function(){this._blur()},enable:function(t){this.s.enable=t},enabled:function(){return this.s.enable},focus:function(t,e){this._focus(this.s.dt.cell(t,e))},focused:function(t){if(!this.s.lastFocus)return!1;var e=this.s.lastFocus.cell.index();return t.row===e.row&&t.column===e.column},_constructor:function(){this._tabInput();var e=this,r=this.s.dt,o=t(r.table().node()),i=this.s.namespace,a=!1;if("static"===o.css("position")&&o.css("position","relative"),t(r.table().body()).on("click"+i,"th, td",(function(t){if(!1!==e.s.enable){var n=r.cell(this);n.any()&&e._focus(n,null,!1,t)}})),t(n).on("keydown"+i,(function(t){a||e._key(t)})),this.c.blurable&&t(n).on("mousedown"+i,(function(n){t(n.target).parents(".dataTables_filter").length&&e._blur(),t(n.target).parents().filter(r.table().container()).length||t(n.target).parents("div.DTE").length||t(n.target).parents("div.editor-datetime").length||t(n.target).parents("div.dt-datetime").length||t(n.target).parents().filter(".DTFC_Cloned").length||e._blur()})),this.c.editor){var s=this.c.editor;s.on("open.keyTableMain",(function(t,n,r){"inline"!==n&&e.s.enable&&(e.enable(!1),s.one("close"+i,(function(){e.enable(!0)})))})),this.c.editOnFocus&&r.on("key-focus"+i+" key-refocus"+i,(function(t,n,r,o){e._editor(null,o,!0)})),r.on("key"+i,(function(t,n,r,o,i){e._editor(r,i,!1)})),t(r.table().body()).on("dblclick"+i,"th, td",(function(t){!1!==e.s.enable&&(r.cell(this).any()&&(e.s.lastFocus&&this!==e.s.lastFocus.cell.node()||e._editor(null,t,!0)))})),s.on("preSubmit",(function(){a=!0})).on("preSubmitCancelled",(function(){a=!1})).on("submitComplete",(function(){a=!1}))}r.settings()[0].oFeatures.bStateSave&&r.on("stateSaveParams"+i,(function(t,n,r){r.keyTable=e.s.lastFocus?e.s.lastFocus.cell.index():null})),r.on("column-visibility"+i,(function(t){e._tabInput()})),r.on("draw"+i,(function(t){if((e._tabInput(),!e.s.focusDraw)&&e.s.lastFocus){var n=e.s.lastFocus.relative,o=r.page.info(),i=n.row+o.start;if(0===o.recordsDisplay)return;i>=o.recordsDisplay&&(i=o.recordsDisplay-1),e._focus(i,n.column,!0,t)}})),this.c.clipboard&&this._clipboard(),r.on("destroy"+i,(function(){e._blur(!0),r.off(i),t(r.table().body()).off("click"+i,"th, td").off("dblclick"+i,"th, td"),t(n).off("mousedown"+i).off("keydown"+i).off("copy"+i).off("paste"+i)}));var l=r.state.loaded();l&&l.keyTable?r.one("init",(function(){var t=r.cell(l.keyTable);t.any()&&t.focus()})):this.c.focus&&r.cell(this.c.focus).focus()},_blur:function(e){if(this.s.enable&&this.s.lastFocus){var n=this.s.lastFocus.cell;t(n.node()).removeClass(this.c.className),this.s.lastFocus=null,e||(this._updateFixedColumns(n.index().column),this._emitEvent("key-blur",[this.s.dt,n]))}},_clipboard:function(){var r=this.s.dt,o=this,i=this.s.namespace;e.getSelection&&(t(n).on("copy"+i,(function(t){var n=t.originalEvent,r=e.getSelection().toString(),i=o.s.lastFocus;!r&&i&&(n.clipboardData.setData("text/plain",i.cell.render(o.c.clipboardOrthogonal)),n.preventDefault())})),t(n).on("paste"+i,(function(t){var i,a=t.originalEvent,s=o.s.lastFocus,l=n.activeElement,d=o.c.editor;if(s&&(!l||"body"===l.nodeName.toLowerCase()))if(a.preventDefault(),e.clipboardData&&e.clipboardData.getData?i=e.clipboardData.getData("Text"):a.clipboardData&&a.clipboardData.getData&&(i=a.clipboardData.getData("text/plain")),d){var c=o._inlineOptions(s.cell.index());d.inline(c.cell,c.field,c.options).set(d.displayed()[0],i).submit()}else s.cell.data(i),r.draw(!1)})))},_columns:function(){var t=this.s.dt,e=t.columns(this.c.columns).indexes(),n=[];return t.columns(":visible").every((function(t){-1!==e.indexOf(t)&&n.push(t)})),n},_editor:function(e,r,o){if(this.s.lastFocus&&(!r||"draw"!==r.type)){var i=this,s=this.s.dt,l=this.c.editor,d=this.s.lastFocus.cell,c=this.s.namespace+"e"+a++;if(!(t("div.DTE",d.node()).length||null!==e&&(e>=0&&e<=9||11===e||12===e||e>=14&&e<=31||e>=112&&e<=123||e>=127&&e<=159))){r&&(r.stopPropagation(),13===e&&r.preventDefault());var u=function(){var e=i._inlineOptions(d.index());l.one("open"+c,(function(){l.off("cancelOpen"+c),o||t("div.DTE_Field_InputControl input, div.DTE_Field_InputControl textarea").select(),s.keys.enable(o?"tab-only":"navigation-only"),s.on("key-blur.editor",(function(t,e,n){l.displayed()&&n.node()===d.node()&&l.submit()})),o&&t(s.table().container()).addClass("dtk-focus-alt"),l.on("preSubmitCancelled"+c,(function(){setTimeout((function(){i._focus(d,null,!1)}),50)})),l.on("submitUnsuccessful"+c,(function(){i._focus(d,null,!1)})),l.one("close"+c,(function(){s.keys.enable(!0),s.off("key-blur.editor"),l.off(c),t(s.table().container()).removeClass("dtk-focus-alt"),i.s.returnSubmit&&(i.s.returnSubmit=!1,i._emitEvent("key-return-submit",[s,d]))}))})).one("cancelOpen"+c,(function(){l.off(c)})).inline(e.cell,e.field,e.options)};13===e?(o=!0,t(n).one("keyup",(function(){u()}))):u()}}},_inlineOptions:function(t){return this.c.editorOptions?this.c.editorOptions(t):{cell:t,field:r,options:r}},_emitEvent:function(e,n){this.s.dt.iterator("table",(function(r,o){t(r.nTable).triggerHandler(e,n)}))},_focus:function(o,i,a,s){var l=this,d=this.s.dt,c=d.page.info(),u=this.s.lastFocus;if(s||(s=null),this.s.enable){if("number"!=typeof o){if(!o.any())return;var f=o.index();if(i=f.column,(o=d.rows({filter:"applied",order:"applied"}).indexes().indexOf(f.row))<0)return;c.serverSide&&(o+=c.start)}if(-1!==c.length&&(o<c.start||o>=c.start+c.length))return this.s.focusDraw=!0,this.s.waitingForDraw=!0,void d.one("draw",(function(){l.s.focusDraw=!1,l.s.waitingForDraw=!1,l._focus(o,i,r,s)})).page(Math.floor(o/c.length)).draw(!1);if(-1!==t.inArray(i,this._columns())){c.serverSide&&(o-=c.start);var h=d.cells(null,i,{search:"applied",order:"applied"}).flatten(),p=d.cell(h[o]);if(u){if(u.node===p.node())return void this._emitEvent("key-refocus",[this.s.dt,p,s||null]);this._blur()}this._removeOtherFocus();var m=t(p.node());if(m.addClass(this.c.className),this._updateFixedColumns(i),a===r||!0===a){this._scroll(t(e),t(n.body),m,"offset");var b=d.table().body().parentNode;if(b!==d.table().header().parentNode){var g=t(b.parentNode);this._scroll(g,g,m,"position")}}this.s.lastFocus={cell:p,node:p.node(),relative:{row:d.rows({page:"current"}).indexes().indexOf(p.index().row),column:p.index().column}},this._emitEvent("key-focus",[this.s.dt,p,s||null]),d.state.save()}}},_key:function(e){if(this.s.waitingForDraw)e.preventDefault();else{var n=this.s.enable;this.s.returnSubmit=("navigation-only"===n||"tab-only"===n)&&13===e.keyCode;var r=!0===n||"navigation-only"===n;if(n&&(!(0===e.keyCode||e.ctrlKey||e.metaKey||e.altKey)||e.ctrlKey&&e.altKey)){var o=this.s.lastFocus;if(o)if(this.s.dt.cell(o.node).any()){var i=this.s.dt,a=!!this.s.dt.settings()[0].oScroll.sY;if(!this.c.keys||-1!==t.inArray(e.keyCode,this.c.keys))switch(e.keyCode){case 9:this._shift(e,e.shiftKey?"left":"right",!0);break;case 27:this.c.blurable&&!0===n&&this._blur();break;case 33:case 34:r&&!a&&(e.preventDefault(),i.page(33===e.keyCode?"previous":"next").draw(!1));break;case 35:case 36:if(r){e.preventDefault();var s=i.cells({page:"current"}).indexes(),l=this._columns();this._focus(i.cell(s[35===e.keyCode?s.length-1:l[0]]),null,!0,e)}break;case 37:r&&this._shift(e,"left");break;case 38:r&&this._shift(e,"up");break;case 39:r&&this._shift(e,"right");break;case 40:r&&this._shift(e,"down");break;case 113:if(this.c.editor){this._editor(null,e,!0);break}default:!0===n&&this._emitEvent("key",[i,e.keyCode,this.s.lastFocus.cell,e])}}else this.s.lastFocus=null}}},_removeOtherFocus:function(){var e=this.s.dt.table().node();t.fn.dataTable.tables({api:!0}).iterator("table",(function(t){this.table().node()!==e&&this.cell.blur()}))},_scroll:function(t,e,n,r){var o=n[r](),i=n.outerHeight(),a=n.outerWidth(),s=e.scrollTop(),l=e.scrollLeft(),d=t.height(),c=t.width();"position"===r&&(o.top+=parseInt(n.closest("table").css("top"),10)),o.top<s&&e.scrollTop(o.top),o.left<l&&e.scrollLeft(o.left),o.top+i>s+d&&i<d&&e.scrollTop(o.top+i-d),o.left+a>l+c&&a<c&&e.scrollLeft(o.left+a-c)},_shift:function(e,n,r){var o=this.s.dt,i=o.page.info(),a=i.recordsDisplay,s=this._columns(),l=this.s.lastFocus;if(l){var d=l.cell;if(d){var c=o.rows({filter:"applied",order:"applied"}).indexes().indexOf(d.index().row);i.serverSide&&(c+=i.start);var u=o.columns(s).indexes().indexOf(d.index().column),f=c,h=s[u];"rtl"===t(o.table().node()).css("direction")&&("right"===n?n="left":"left"===n&&(n="right")),"right"===n?u>=s.length-1?(f++,h=s[0]):h=s[u+1]:"left"===n?0===u?(f--,h=s[s.length-1]):h=s[u-1]:"up"===n?f--:"down"===n&&f++,f>=0&&f<a&&-1!==t.inArray(h,s)?(e&&e.preventDefault(),this._focus(f,h,!0,e)):r&&this.c.blurable?this._blur():e&&e.preventDefault()}}},_tabInput:function(){var e=this,n=this.s.dt,r=null!==this.c.tabIndex?this.c.tabIndex:n.settings()[0].iTabIndex;if(-1!=r){if(!this.s.tabInput){var o=t('<div><input type="text" tabindex="'+r+'"/></div>').css({position:"absolute",height:1,width:0,overflow:"hidden"});o.children().on("focus",(function(t){var r=n.cell(":eq(0)",e._columns(),{page:"current"});r.any()&&e._focus(r,null,!0,t)})),this.s.tabInput=o}var i=this.s.dt.cell(":eq(0)","0:visible",{page:"current",order:"current"}).node();i&&t(i).prepend(this.s.tabInput)}},_updateFixedColumns:function(t){var e=this.s.dt,n=e.settings()[0];if(n._oFixedColumns){var r=n._oFixedColumns.s.iLeftColumns,o=n.aoColumns.length-n._oFixedColumns.s.iRightColumns;(t<r||t>=o)&&e.fixedColumns().update()}}}),s.defaults={blurable:!0,className:"focus",clipboard:!0,clipboardOrthogonal:"display",columns:"",editor:null,editOnFocus:!1,editorOptions:null,focus:null,keys:null,tabIndex:null},s.version="2.6.4",t.fn.dataTable.KeyTable=s,t.fn.DataTable.KeyTable=s,o.Api.register("cell.blur()",(function(){return this.iterator("table",(function(t){t.keytable&&t.keytable.blur()}))})),o.Api.register("cell().focus()",(function(){return this.iterator("cell",(function(t,e,n){t.keytable&&t.keytable.focus(e,n)}))})),o.Api.register("keys.disable()",(function(){return this.iterator("table",(function(t){t.keytable&&t.keytable.enable(!1)}))})),o.Api.register("keys.enable()",(function(t){return this.iterator("table",(function(e){e.keytable&&e.keytable.enable(t===r||t)}))})),o.Api.register("keys.enabled()",(function(t){var e=this.context;return!!e.length&&(!!e[0].keytable&&e[0].keytable.enabled())})),o.Api.register("keys.move()",(function(t){return this.iterator("table",(function(e){e.keytable&&e.keytable._shift(null,t,!1)}))})),o.ext.selector.cell.push((function(t,e,n){var o=e.focused,i=t.keytable,a=[];if(!i||o===r)return n;for(var s=0,l=n.length;s<l;s++)(!0===o&&i.focused(n[s])||!1===o&&!i.focused(n[s]))&&a.push(n[s]);return a})),t(n).on("preInit.dt.dtk",(function(e,n,r){if("dt"===e.namespace){var i=n.oInit.keys,a=o.defaults.keys;if(i||a){var l=t.extend({},a,i);!1!==i&&new s(n,l)}}})),s})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net-bs4","datatables.net-keytable"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net-bs4")(e,n).$),n.fn.dataTable.KeyTable||require("datatables.net-keytable")(e,n),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,r){return t.fn.dataTable})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net")(e,n).$),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,r){"use strict";var o=t.fn.dataTable,i=function(e,n){if(!o.versionCheck||!o.versionCheck("1.10.10"))throw"DataTables Responsive requires DataTables 1.10.10 or newer";this.s={dt:new o.Api(e),columns:[],current:[]},this.s.dt.settings()[0].responsive||(n&&"string"==typeof n.details?n.details={type:n.details}:n&&!1===n.details?n.details={type:!1}:n&&!0===n.details&&(n.details={type:"inline"}),this.c=t.extend(!0,{},i.defaults,o.defaults.responsive,n),e.responsive=this,this._constructor())};t.extend(i.prototype,{_constructor:function(){var n=this,r=this.s.dt,i=r.settings()[0],a=t(e).innerWidth();r.settings()[0]._responsive=this,t(e).on("resize.dtr orientationchange.dtr",o.util.throttle((function(){var r=t(e).innerWidth();r!==a&&(n._resize(),a=r)}))),i.oApi._fnCallbackReg(i,"aoRowCreatedCallback",(function(e,o,i){-1!==t.inArray(!1,n.s.current)&&t(">td, >th",e).each((function(e){var o=r.column.index("toData",e);!1===n.s.current[o]&&t(this).css("display","none")}))})),r.on("destroy.dtr",(function(){r.off(".dtr"),t(r.table().body()).off(".dtr"),t(e).off("resize.dtr orientationchange.dtr"),r.cells(".dtr-control").nodes().to$().removeClass("dtr-control"),t.each(n.s.current,(function(t,e){!1===e&&n._setColumnVis(t,!0)}))})),this.c.breakpoints.sort((function(t,e){return t.width<e.width?1:t.width>e.width?-1:0})),this._classLogic(),this._resizeAuto();var s=this.c.details;!1!==s.type&&(n._detailsInit(),r.on("column-visibility.dtr",(function(){n._timer&&clearTimeout(n._timer),n._timer=setTimeout((function(){n._timer=null,n._classLogic(),n._resizeAuto(),n._resize(!0),n._redrawChildren()}),100)})),r.on("draw.dtr",(function(){n._redrawChildren()})),t(r.table().node()).addClass("dtr-"+s.type)),r.on("column-reorder.dtr",(function(t,e,r){n._classLogic(),n._resizeAuto(),n._resize(!0)})),r.on("column-sizing.dtr",(function(){n._resizeAuto(),n._resize()})),r.on("preXhr.dtr",(function(){var t=[];r.rows().every((function(){this.child.isShown()&&t.push(this.id(!0))})),r.one("draw.dtr",(function(){n._resizeAuto(),n._resize(),r.rows(t).every((function(){n._detailsDisplay(this,!1)}))}))})),r.on("draw.dtr",(function(){n._controlClass()})).on("init.dtr",(function(e,o,i){"dt"===e.namespace&&(n._resizeAuto(),n._resize(),t.inArray(!1,n.s.current)&&r.columns.adjust())})),this._resize()},_columnsVisiblity:function(e){var n,r,o=this.s.dt,i=this.s.columns,a=i.map((function(t,e){return{columnIdx:e,priority:t.priority}})).sort((function(t,e){return t.priority!==e.priority?t.priority-e.priority:t.columnIdx-e.columnIdx})),s=t.map(i,(function(n,r){return!1===o.column(r).visible()?"not-visible":(!n.auto||null!==n.minWidth)&&(!0===n.auto?"-":-1!==t.inArray(e,n.includeIn))})),l=0;for(n=0,r=s.length;n<r;n++)!0===s[n]&&(l+=i[n].minWidth);var d=o.settings()[0].oScroll,c=d.sY||d.sX?d.iBarWidth:0,u=o.table().container().offsetWidth-c-l;for(n=0,r=s.length;n<r;n++)i[n].control&&(u-=i[n].minWidth);var f=!1;for(n=0,r=a.length;n<r;n++){var h=a[n].columnIdx;"-"===s[h]&&!i[h].control&&i[h].minWidth&&(f||u-i[h].minWidth<0?(f=!0,s[h]=!1):s[h]=!0,u-=i[h].minWidth)}var p=!1;for(n=0,r=i.length;n<r;n++)if(!i[n].control&&!i[n].never&&!1===s[n]){p=!0;break}for(n=0,r=i.length;n<r;n++)i[n].control&&(s[n]=p),"not-visible"===s[n]&&(s[n]=!1);return-1===t.inArray(!0,s)&&(s[0]=!0),s},_classLogic:function(){var e=this,n=this.c.breakpoints,o=this.s.dt,i=o.columns().eq(0).map((function(t){var e=this.column(t),n=e.header().className,i=o.settings()[0].aoColumns[t].responsivePriority,a=e.header().getAttribute("data-priority");return i===r&&(i=a===r||null===a?1e4:1*a),{className:n,includeIn:[],auto:!1,control:!1,never:!!n.match(/\bnever\b/),priority:i}})),a=function(e,n){var r=i[e].includeIn;-1===t.inArray(n,r)&&r.push(n)},s=function(t,r,o,s){var l,d,c;if(o){if("max-"===o)for(l=e._find(r).width,d=0,c=n.length;d<c;d++)n[d].width<=l&&a(t,n[d].name);else if("min-"===o)for(l=e._find(r).width,d=0,c=n.length;d<c;d++)n[d].width>=l&&a(t,n[d].name);else if("not-"===o)for(d=0,c=n.length;d<c;d++)-1===n[d].name.indexOf(s)&&a(t,n[d].name)}else i[t].includeIn.push(r)};i.each((function(e,r){for(var o=e.className.split(" "),i=!1,a=0,l=o.length;a<l;a++){var d=o[a].trim();if("all"===d)return i=!0,void(e.includeIn=t.map(n,(function(t){return t.name})));if("none"===d||e.never)return void(i=!0);if("control"===d||"dtr-control"===d)return i=!0,void(e.control=!0);t.each(n,(function(t,e){var n=e.name.split("-"),o=new RegExp("(min\\-|max\\-|not\\-)?("+n[0]+")(\\-[_a-zA-Z0-9])?"),a=d.match(o);a&&(i=!0,a[2]===n[0]&&a[3]==="-"+n[1]?s(r,e.name,a[1],a[2]+a[3]):a[2]!==n[0]||a[3]||s(r,e.name,a[1],a[2]))}))}i||(e.auto=!0)})),this.s.columns=i},_controlClass:function(){if("inline"===this.c.details.type){var e=this.s.dt,n=this.s.current,r=t.inArray(!0,n);e.cells(null,(function(t){return t!==r}),{page:"current"}).nodes().to$().filter(".dtr-control").removeClass("dtr-control"),e.cells(null,r,{page:"current"}).nodes().to$().addClass("dtr-control")}},_detailsDisplay:function(e,n){var r=this,o=this.s.dt,i=this.c.details;if(i&&!1!==i.type){var a=i.display(e,n,(function(){return i.renderer(o,e[0],r._detailsObj(e[0]))}));!0!==a&&!1!==a||t(o.table().node()).triggerHandler("responsive-display.dt",[o,e,a,n])}},_detailsInit:function(){var e=this,n=this.s.dt,o=this.c.details;"inline"===o.type&&(o.target="td.dtr-control, th.dtr-control"),n.on("draw.dtr",(function(){e._tabIndexes()})),e._tabIndexes(),t(n.table().body()).on("keyup.dtr","td, th",(function(e){13===e.keyCode&&t(this).data("dtr-keyboard")&&t(this).click()}));var i=o.target,a="string"==typeof i?i:"td, th";i===r&&null===i||t(n.table().body()).on("click.dtr mousedown.dtr mouseup.dtr",a,(function(r){if(t(n.table().node()).hasClass("collapsed")&&-1!==t.inArray(t(this).closest("tr").get(0),n.rows().nodes().toArray())){if("number"==typeof i){var o=i<0?n.columns().eq(0).length+i:i;if(n.cell(this).index().column!==o)return}var a=n.row(t(this).closest("tr"));"click"===r.type?e._detailsDisplay(a,!1):"mousedown"===r.type?t(this).css("outline","none"):"mouseup"===r.type&&t(this).trigger("blur").css("outline","")}}))},_detailsObj:function(e){var n=this,r=this.s.dt;return t.map(this.s.columns,(function(o,i){if(!o.never&&!o.control){var a=r.settings()[0].aoColumns[i];return{className:a.sClass,columnIndex:i,data:r.cell(e,i).render(n.c.orthogonal),hidden:r.column(i).visible()&&!n.s.current[i],rowIndex:e,title:null!==a.sTitle?a.sTitle:t(r.column(i).header()).text()}}}))},_find:function(t){for(var e=this.c.breakpoints,n=0,r=e.length;n<r;n++)if(e[n].name===t)return e[n]},_redrawChildren:function(){var t=this,e=this.s.dt;e.rows({page:"current"}).iterator("row",(function(n,r){e.row(r);t._detailsDisplay(e.row(r),!0)}))},_resize:function(n){var r,o,i=this,a=this.s.dt,s=t(e).innerWidth(),l=this.c.breakpoints,d=l[0].name,c=this.s.columns,u=this.s.current.slice();for(r=l.length-1;r>=0;r--)if(s<=l[r].width){d=l[r].name;break}var f=this._columnsVisiblity(d);this.s.current=f;var h=!1;for(r=0,o=c.length;r<o;r++)if(!1===f[r]&&!c[r].never&&!c[r].control&&!1==!a.column(r).visible()){h=!0;break}t(a.table().node()).toggleClass("collapsed",h);var p=!1,m=0;a.columns().eq(0).each((function(t,e){!0===f[e]&&m++,(n||f[e]!==u[e])&&(p=!0,i._setColumnVis(t,f[e]))})),p&&(this._redrawChildren(),t(a.table().node()).trigger("responsive-resize.dt",[a,this.s.current]),0===a.page.info().recordsDisplay&&t("td",a.table().body()).eq(0).attr("colspan",m)),i._controlClass()},_resizeAuto:function(){var e=this.s.dt,n=this.s.columns;if(this.c.auto&&-1!==t.inArray(!0,t.map(n,(function(t){return t.auto})))){t.isEmptyObject(a)||t.each(a,(function(t){var n=t.split("-");s(e,1*n[0],1*n[1])}));e.table().node().offsetWidth,e.columns;var r=e.table().node().cloneNode(!1),o=t(e.table().header().cloneNode(!1)).appendTo(r),i=t(e.table().body()).clone(!1,!1).empty().appendTo(r);r.style.width="auto";var l=e.columns().header().filter((function(t){return e.column(t).visible()})).to$().clone(!1).css("display","table-cell").css("width","auto").css("min-width",0);t(i).append(t(e.rows({page:"current"}).nodes()).clone(!1)).find("th, td").css("display","");var d=e.table().footer();if(d){var c=t(d.cloneNode(!1)).appendTo(r),u=e.columns().footer().filter((function(t){return e.column(t).visible()})).to$().clone(!1).css("display","table-cell");t("<tr/>").append(u).appendTo(c)}t("<tr/>").append(l).appendTo(o),"inline"===this.c.details.type&&t(r).addClass("dtr-inline collapsed"),t(r).find("[name]").removeAttr("name"),t(r).css("position","relative");var f=t("<div/>").css({width:1,height:1,overflow:"hidden",clear:"both"}).append(r);f.insertBefore(e.table().node()),l.each((function(t){var r=e.column.index("fromVisible",t);n[r].minWidth=this.offsetWidth||0})),f.remove()}},_responsiveOnlyHidden:function(){var e=this.s.dt;return t.map(this.s.current,(function(t,n){return!1===e.column(n).visible()||t}))},_setColumnVis:function(e,n){var r=this.s.dt,o=n?"":"none";t(r.column(e).header()).css("display",o),t(r.column(e).footer()).css("display",o),r.column(e).nodes().to$().css("display",o),t.isEmptyObject(a)||r.cells(null,e).indexes().each((function(t){s(r,t.row,t.column)}))},_tabIndexes:function(){var e=this.s.dt,n=e.cells({page:"current"}).nodes().to$(),r=e.settings()[0],o=this.c.details.target;n.filter("[data-dtr-keyboard]").removeData("[data-dtr-keyboard]"),"number"==typeof o?e.cells(null,o,{page:"current"}).nodes().to$().attr("tabIndex",r.iTabIndex).data("dtr-keyboard",1):("td:first-child, th:first-child"===o&&(o=">td:first-child, >th:first-child"),t(o,e.rows({page:"current"}).nodes()).attr("tabIndex",r.iTabIndex).data("dtr-keyboard",1))}}),i.breakpoints=[{name:"desktop",width:1/0},{name:"tablet-l",width:1024},{name:"tablet-p",width:768},{name:"mobile-l",width:480},{name:"mobile-p",width:320}],i.display={childRow:function(e,n,r){return n?t(e.node()).hasClass("parent")?(e.child(r(),"child").show(),!0):void 0:e.child.isShown()?(e.child(!1),t(e.node()).removeClass("parent"),!1):(e.child(r(),"child").show(),t(e.node()).addClass("parent"),!0)},childRowImmediate:function(e,n,r){return!n&&e.child.isShown()||!e.responsive.hasHidden()?(e.child(!1),t(e.node()).removeClass("parent"),!1):(e.child(r(),"child").show(),t(e.node()).addClass("parent"),!0)},modal:function(e){return function(r,o,i){if(o)t("div.dtr-modal-content").empty().append(i());else{var a=function(){s.remove(),t(n).off("keypress.dtr")},s=t('<div class="dtr-modal"/>').append(t('<div class="dtr-modal-display"/>').append(t('<div class="dtr-modal-content"/>').append(i())).append(t('<div class="dtr-modal-close">&times;</div>').click((function(){a()})))).append(t('<div class="dtr-modal-background"/>').click((function(){a()}))).appendTo("body");t(n).on("keyup.dtr",(function(t){27===t.keyCode&&(t.stopPropagation(),a())}))}e&&e.header&&t("div.dtr-modal-content").prepend("<h2>"+e.header(r)+"</h2>")}}};var a={};function s(t,e,n){var o=e+"-"+n;if(a[o]){for(var i=t.cell(e,n).node(),s=a[o][0].parentNode.childNodes,l=[],d=0,c=s.length;d<c;d++)l.push(s[d]);for(var u=0,f=l.length;u<f;u++)i.appendChild(l[u]);a[o]=r}}i.renderer={listHiddenNodes:function(){return function(e,n,r){var o=t('<ul data-dtr-index="'+n+'" class="dtr-details"/>'),i=!1;t.each(r,(function(n,r){if(r.hidden){var s=r.className?'class="'+r.className+'"':"";t("<li "+s+' data-dtr-index="'+r.columnIndex+'" data-dt-row="'+r.rowIndex+'" data-dt-column="'+r.columnIndex+'"><span class="dtr-title">'+r.title+"</span> </li>").append(t('<span class="dtr-data"/>').append(function(t,e,n){var r=e+"-"+n;if(a[r])return a[r];for(var o=[],i=t.cell(e,n).node().childNodes,s=0,l=i.length;s<l;s++)o.push(i[s]);return a[r]=o,o}(e,r.rowIndex,r.columnIndex))).appendTo(o),i=!0}}));return!!i&&o}},listHidden:function(){return function(e,n,r){var o=t.map(r,(function(t){var e=t.className?'class="'+t.className+'"':"";return t.hidden?"<li "+e+' data-dtr-index="'+t.columnIndex+'" data-dt-row="'+t.rowIndex+'" data-dt-column="'+t.columnIndex+'"><span class="dtr-title">'+t.title+'</span> <span class="dtr-data">'+t.data+"</span></li>":""})).join("");return!!o&&t('<ul data-dtr-index="'+n+'" class="dtr-details"/>').append(o)}},tableAll:function(e){return e=t.extend({tableClass:""},e),function(n,r,o){var i=t.map(o,(function(t){return"<tr "+(t.className?'class="'+t.className+'"':"")+' data-dt-row="'+t.rowIndex+'" data-dt-column="'+t.columnIndex+'"><td>'+t.title+":</td> <td>"+t.data+"</td></tr>"})).join("");return t('<table class="'+e.tableClass+' dtr-details" width="100%"/>').append(i)}}},i.defaults={breakpoints:i.breakpoints,auto:!0,details:{display:i.display.childRow,renderer:i.renderer.listHidden(),target:0,type:"inline"},orthogonal:"display"};var l=t.fn.dataTable.Api;return l.register("responsive()",(function(){return this})),l.register("responsive.index()",(function(e){return{column:(e=t(e)).data("dtr-index"),row:e.parent().data("dtr-index")}})),l.register("responsive.rebuild()",(function(){return this.iterator("table",(function(t){t._responsive&&t._responsive._classLogic()}))})),l.register("responsive.recalc()",(function(){return this.iterator("table",(function(t){t._responsive&&(t._responsive._resizeAuto(),t._responsive._resize())}))})),l.register("responsive.hasHidden()",(function(){var e=this.context[0];return!!e._responsive&&-1!==t.inArray(!1,e._responsive._responsiveOnlyHidden())})),l.registerPlural("columns().responsiveHidden()","column().responsiveHidden()",(function(){return this.iterator("column",(function(t,e){return!!t._responsive&&t._responsive._responsiveOnlyHidden()[e]}),1)})),i.version="2.2.9",t.fn.dataTable.Responsive=i,t.fn.DataTable.Responsive=i,t(n).on("preInit.dt.dtr",(function(e,n,r){if("dt"===e.namespace&&(t(n.nTable).hasClass("responsive")||t(n.nTable).hasClass("dt-responsive")||n.oInit.responsive||o.defaults.responsive)){var a=n.oInit.responsive;!1!==a&&new i(n,t.isPlainObject(a)?a:{})}})),i})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net-bs4","datatables.net-responsive"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net-bs4")(e,n).$),n.fn.dataTable.Responsive||require("datatables.net-responsive")(e,n),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,r){"use strict";var o=t.fn.dataTable,i=o.Responsive.display,a=i.modal,s=t('<div class="modal fade dtr-bs-modal" role="dialog"><div class="modal-dialog" role="document"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button></div><div class="modal-body"/></div></div></div>');return i.modal=function(e){return function(n,r,o){if(t.fn.modal){if(!r){if(e&&e.header){var i=s.find("div.modal-header"),l=i.find("button").detach();i.empty().append('<h4 class="modal-title">'+e.header(n)+"</h4>").append(l)}s.find("div.modal-body").empty().append(o()),s.appendTo("body").modal()}}else a(n,r,o)}},o.Responsive})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net")(e,n).$),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,r){"use strict";var o=t.fn.dataTable,i=function(e,n){if(!o.versionCheck||!o.versionCheck("1.10.8"))throw"RowGroup requires DataTables 1.10.8 or newer";this.c=t.extend(!0,{},o.defaults.rowGroup,i.defaults,n),this.s={dt:new o.Api(e)},this.dom={};var r=this.s.dt.settings()[0],a=r.rowGroup;if(a)return a;r.rowGroup=this,this._constructor()};return t.extend(i.prototype,{dataSrc:function(e){if(e===r)return this.c.dataSrc;var n=this.s.dt;return this.c.dataSrc=e,t(n.table().node()).triggerHandler("rowgroup-datasrc.dt",[n,e]),this},disable:function(){return this.c.enable=!1,this},enable:function(t){return!1===t?this.disable():(this.c.enable=!0,this)},enabled:function(){return this.c.enable},_constructor:function(){var t=this,e=this.s.dt,n=e.settings()[0];e.on("draw.dtrg",(function(e,r){t.c.enable&&n===r&&t._draw()})),e.on("column-visibility.dt.dtrg responsive-resize.dt.dtrg",(function(){t._adjustColspan()})),e.on("destroy",(function(){e.off(".dtrg")}))},_adjustColspan:function(){t("tr."+this.c.className,this.s.dt.table().body()).find("td:visible").attr("colspan",this._colspan())},_colspan:function(){return this.s.dt.columns().visible().reduce((function(t,e){return t+e}),0)},_draw:function(){var t=this.s.dt,e=this._group(0,t.rows({page:"current"}).indexes());this._groupDisplay(0,e)},_group:function(t,e){for(var n,i=Array.isArray(this.c.dataSrc)?this.c.dataSrc:[this.c.dataSrc],a=o.ext.oApi._fnGetObjectDataFn(i[t]),s=this.s.dt,l=[],d=0,c=e.length;d<c;d++){var u,f=e[d];null!==(u=a(s.row(f).data()))&&u!==r||(u=this.c.emptyDataGroup),n!==r&&u===n||(l.push({dataPoint:u,rows:[]}),n=u),l[l.length-1].rows.push(f)}if(i[t+1]!==r)for(d=0,c=l.length;d<c;d++)l[d].children=this._group(t+1,l[d].rows);return l},_groupDisplay:function(t,e){for(var n,r=this.s.dt,o=0,i=e.length;o<i;o++){var a,s=e[o],l=s.dataPoint,d=s.rows;this.c.startRender&&(n=this.c.startRender.call(this,r.rows(d),l,t),(a=this._rowWrap(n,this.c.startClassName,t))&&a.insertBefore(r.row(d[0]).node())),this.c.endRender&&(n=this.c.endRender.call(this,r.rows(d),l,t),(a=this._rowWrap(n,this.c.endClassName,t))&&a.insertAfter(r.row(d[d.length-1]).node())),s.children&&this._groupDisplay(t+1,s.children)}},_rowWrap:function(e,n,o){return null!==e&&""!==e||(e=this.c.emptyDataGroup),e===r||null===e?null:("object"==typeof e&&e.nodeName&&"tr"===e.nodeName.toLowerCase()?t(e):e instanceof t&&e.length&&"tr"===e[0].nodeName.toLowerCase()?e:t("<tr/>").append(t("<td/>").attr("colspan",this._colspan()).append(e))).addClass(this.c.className).addClass(n).addClass("dtrg-level-"+o)}}),i.defaults={className:"dtrg-group",dataSrc:0,emptyDataGroup:"No group",enable:!0,endClassName:"dtrg-end",endRender:null,startClassName:"dtrg-start",startRender:function(t,e){return e}},i.version="1.1.4",t.fn.dataTable.RowGroup=i,t.fn.DataTable.RowGroup=i,o.Api.register("rowGroup()",(function(){return this})),o.Api.register("rowGroup().disable()",(function(){return this.iterator("table",(function(t){t.rowGroup&&t.rowGroup.enable(!1)}))})),o.Api.register("rowGroup().enable()",(function(t){return this.iterator("table",(function(e){e.rowGroup&&e.rowGroup.enable(t===r||t)}))})),o.Api.register("rowGroup().enabled()",(function(){var t=this.context;return!(!t.length||!t[0].rowGroup)&&t[0].rowGroup.enabled()})),o.Api.register("rowGroup().dataSrc()",(function(t){return t===r?this.context[0].rowGroup.dataSrc():this.iterator("table",(function(e){e.rowGroup&&e.rowGroup.dataSrc(t)}))})),t(n).on("preInit.dt.dtrg",(function(e,n,r){if("dt"===e.namespace){var a=n.oInit.rowGroup,s=o.defaults.rowGroup;if(a||s){var l=t.extend({},s,a);!1!==a&&new i(n,l)}}})),i})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net-bs4","datatables.net-rowgroup"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net-bs4")(e,n).$),n.fn.dataTable.RowGroup||require("datatables.net-rowgroup")(e,n),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,r){return t.fn.dataTable})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net")(e,n).$),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,r){"use strict";var o=t.fn.dataTable,i=function(e,n){if(!o.versionCheck||!o.versionCheck("1.10.8"))throw"DataTables RowReorder requires DataTables 1.10.8 or newer";this.c=t.extend(!0,{},o.defaults.rowReorder,i.defaults,n),this.s={bodyTop:null,dt:new o.Api(e),getDataFn:o.ext.oApi._fnGetObjectDataFn(this.c.dataSrc),middles:null,scroll:{},scrollInterval:null,setDataFn:o.ext.oApi._fnSetObjectDataFn(this.c.dataSrc),start:{top:0,left:0,offsetTop:0,offsetLeft:0,nodes:[]},windowHeight:0,documentOuterHeight:0,domCloneOuterHeight:0},this.dom={clone:null,dtScroll:t("div.dataTables_scrollBody",this.s.dt.table().container())};var r=this.s.dt.settings()[0],a=r.rowreorder;if(a)return a;this.dom.dtScroll.length||(this.dom.dtScroll=t(this.s.dt.table().container(),"tbody")),r.rowreorder=this,this._constructor()};t.extend(i.prototype,{_constructor:function(){var e=this,n=this.s.dt,r=t(n.table().node());"static"===r.css("position")&&r.css("position","relative"),t(n.table().container()).on("mousedown.rowReorder touchstart.rowReorder",this.c.selector,(function(r){if(e.c.enable){if(t(r.target).is(e.c.excludedChildren))return!0;var o=t(this).closest("tr"),i=n.row(o);return i.any()?(e._emitEvent("pre-row-reorder",{node:i.node(),index:i.index()}),e._mouseDown(r,o),!1):void 0}})),n.on("destroy.rowReorder",(function(){t(n.table().container()).off(".rowReorder"),n.off(".rowReorder")}))},_cachePositions:function(){var r=this.s.dt,o=t(r.table().node()).find("thead").outerHeight(),i=t.unique(r.rows({page:"current"}).nodes().toArray()),a=t.map(i,(function(e,n){var r=t(e).position().top-o;return(r+r+t(e).outerHeight())/2}));this.s.middles=a,this.s.bodyTop=t(r.table().body()).offset().top,this.s.windowHeight=t(e).height(),this.s.documentOuterHeight=t(n).outerHeight()},_clone:function(e){var n=this.s.dt,r=t(n.table().node().cloneNode(!1)).addClass("dt-rowReorder-float").append("<tbody/>").append(e.clone(!1)),o=e.outerWidth(),i=e.outerHeight(),a=e.children().map((function(){return t(this).width()}));r.width(o).height(i).find("tr").children().each((function(t){this.style.width=a[t]+"px"})),r.appendTo("body"),this.dom.clone=r,this.s.domCloneOuterHeight=r.outerHeight()},_clonePosition:function(t){var e,n=this.s.start,r=this._eventToPage(t,"Y")-n.top,o=this._eventToPage(t,"X")-n.left,i=this.c.snapX,a=r+n.offsetTop;e=!0===i?n.offsetLeft:"number"==typeof i?n.offsetLeft+i:o+n.offsetLeft,a<0?a=0:a+this.s.domCloneOuterHeight>this.s.documentOuterHeight&&(a=this.s.documentOuterHeight-this.s.domCloneOuterHeight),this.dom.clone.css({top:a,left:e})},_emitEvent:function(e,n){this.s.dt.iterator("table",(function(r,o){t(r.nTable).triggerHandler(e+".dt",n)}))},_eventToPage:function(t,e){return-1!==t.type.indexOf("touch")?t.originalEvent.touches[0]["page"+e]:t["page"+e]},_mouseDown:function(r,o){var i=this,a=this.s.dt,s=this.s.start,l=o.offset();s.top=this._eventToPage(r,"Y"),s.left=this._eventToPage(r,"X"),s.offsetTop=l.top,s.offsetLeft=l.left,s.nodes=t.unique(a.rows({page:"current"}).nodes().toArray()),this._cachePositions(),this._clone(o),this._clonePosition(r),this.dom.target=o,o.addClass("dt-rowReorder-moving"),t(n).on("mouseup.rowReorder touchend.rowReorder",(function(t){i._mouseUp(t)})).on("mousemove.rowReorder touchmove.rowReorder",(function(t){i._mouseMove(t)})),t(e).width()===t(n).width()&&t(n.body).addClass("dt-rowReorder-noOverflow");var d=this.dom.dtScroll;this.s.scroll={windowHeight:t(e).height(),windowWidth:t(e).width(),dtTop:d.length?d.offset().top:null,dtLeft:d.length?d.offset().left:null,dtHeight:d.length?d.outerHeight():null,dtWidth:d.length?d.outerWidth():null}},_mouseMove:function(e){this._clonePosition(e);for(var n=this._eventToPage(e,"Y")-this.s.bodyTop,r=this.s.middles,o=null,i=this.s.dt,a=0,s=r.length;a<s;a++)if(n<r[a]){o=a;break}if(null===o&&(o=r.length),null===this.s.lastInsert||this.s.lastInsert!==o){var l=t.unique(i.rows({page:"current"}).nodes().toArray());o>this.s.lastInsert?this.dom.target.insertAfter(l[o-1]):this.dom.target.insertBefore(l[o]),this._cachePositions(),this.s.lastInsert=o}this._shiftScroll(e)},_mouseUp:function(e){var r,o,i=this,a=this.s.dt,s=this.c.dataSrc;this.dom.clone.remove(),this.dom.clone=null,this.dom.target.removeClass("dt-rowReorder-moving"),t(n).off(".rowReorder"),t(n.body).removeClass("dt-rowReorder-noOverflow"),clearInterval(this.s.scrollInterval),this.s.scrollInterval=null;var l=this.s.start.nodes,d=t.unique(a.rows({page:"current"}).nodes().toArray()),c={},u=[],f=[],h=this.s.getDataFn,p=this.s.setDataFn;for(r=0,o=l.length;r<o;r++)if(l[r]!==d[r]){var m=a.row(d[r]).id(),b=a.row(d[r]).data(),g=a.row(l[r]).data();m&&(c[m]=h(g)),u.push({node:d[r],oldData:h(b),newData:h(g),newPosition:r,oldPosition:t.inArray(d[r],l)}),f.push(d[r])}var v=[u,{dataSrc:s,nodes:f,values:c,triggerRow:a.row(this.dom.target),originalEvent:e}];this._emitEvent("row-reorder",v);var y=function(){if(i.c.update){for(r=0,o=u.length;r<o;r++){var t=a.row(u[r].node).data();p(t,u[r].newData),a.columns().every((function(){this.dataSrc()===s&&a.cell(u[r].node,this.index()).invalidate("data")}))}i._emitEvent("row-reordered",v),a.draw(!1)}};this.c.editor?(this.c.enable=!1,this.c.editor.edit(f,!1,t.extend({submit:"changed"},this.c.formOptions)).multiSet(s,c).one("preSubmitCancelled.rowReorder",(function(){i.c.enable=!0,i.c.editor.off(".rowReorder"),a.draw(!1)})).one("submitUnsuccessful.rowReorder",(function(){a.draw(!1)})).one("submitSuccess.rowReorder",(function(){y()})).one("submitComplete",(function(){i.c.enable=!0,i.c.editor.off(".rowReorder")})).submit()):y()},_shiftScroll:function(r){var o,i,a=this,s=(this.s.dt,this.s.scroll),l=!1,d=r.pageY-n.body.scrollTop;d<t(e).scrollTop()+65?o=-5:d>s.windowHeight+t(e).scrollTop()-65&&(o=5),null!==s.dtTop&&r.pageY<s.dtTop+65?i=-5:null!==s.dtTop&&r.pageY>s.dtTop+s.dtHeight-65&&(i=5),o||i?(s.windowVert=o,s.dtVert=i,l=!0):this.s.scrollInterval&&(clearInterval(this.s.scrollInterval),this.s.scrollInterval=null),!this.s.scrollInterval&&l&&(this.s.scrollInterval=setInterval((function(){if(s.windowVert){var e=t(n).scrollTop();if(t(n).scrollTop(e+s.windowVert),e!==t(n).scrollTop()){var r=parseFloat(a.dom.clone.css("top"));a.dom.clone.css("top",r+s.windowVert)}}if(s.dtVert){var o=a.dom.dtScroll[0];s.dtVert&&(o.scrollTop+=s.dtVert)}}),20))}}),i.defaults={dataSrc:0,editor:null,enable:!0,formOptions:{},selector:"td:first-child",snapX:!1,update:!0,excludedChildren:"a"};var a=t.fn.dataTable.Api;return a.register("rowReorder()",(function(){return this})),a.register("rowReorder.enable()",(function(t){return t===r&&(t=!0),this.iterator("table",(function(e){e.rowreorder&&(e.rowreorder.c.enable=t)}))})),a.register("rowReorder.disable()",(function(){return this.iterator("table",(function(t){t.rowreorder&&(t.rowreorder.c.enable=!1)}))})),i.version="1.2.8",t.fn.dataTable.RowReorder=i,t.fn.DataTable.RowReorder=i,t(n).on("init.dt.dtr",(function(e,n,r){if("dt"===e.namespace){var a=n.oInit.rowReorder,s=o.defaults.rowReorder;if(a||s){var l=t.extend({},a,s);!1!==a&&new i(n,l)}}})),i})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net-bs4","datatables.net-rowreorder"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net-bs4")(e,n).$),n.fn.dataTable.RowReorder||require("datatables.net-rowreorder")(e,n),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,r){return t.fn.dataTable})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net")(e,n).$),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,r){"use strict";var o=t.fn.dataTable,i=function(e,o){if(this instanceof i){o===r&&(o={});var a=t.fn.dataTable.Api(e);this.s={dt:a.settings()[0],dtApi:a,tableTop:0,tableBottom:0,redrawTop:0,redrawBottom:0,autoHeight:!0,viewportRows:0,stateTO:null,stateSaveThrottle:function(){},drawTO:null,heights:{jump:null,page:null,virtual:null,scroll:null,row:null,viewport:null,labelHeight:0,xbar:0},topRowFloat:0,scrollDrawDiff:null,loaderVisible:!1,forceReposition:!1,baseRowTop:0,baseScrollTop:0,mousedown:!1,lastScrollTop:0},this.s=t.extend(this.s,i.oDefaults,o),this.s.heights.row=this.s.rowHeight,this.dom={force:n.createElement("div"),label:t('<div class="dts_label">0</div>'),scroller:null,table:null,loader:null},this.s.dt.oScroller||(this.s.dt.oScroller=this,this.construct())}else alert("Scroller warning: Scroller must be initialised with the 'new' keyword.")};t.extend(i.prototype,{measure:function(e){this.s.autoHeight&&this._calcRowHeight();var n=this.s.heights;n.row&&(n.viewport=this._parseHeight(t(this.dom.scroller).css("max-height")),this.s.viewportRows=parseInt(n.viewport/n.row,10)+1,this.s.dt._iDisplayLength=this.s.viewportRows*this.s.displayBuffer);var o=this.dom.label.outerHeight();n.xbar=this.dom.scroller.offsetHeight-this.dom.scroller.clientHeight,n.labelHeight=o,(e===r||e)&&this.s.dt.oInstance.fnDraw(!1)},pageInfo:function(){var t=this.s.dt,e=this.dom.scroller.scrollTop,n=t.fnRecordsDisplay(),r=Math.ceil(this.pixelsToRow(e+this.s.heights.viewport,!1,this.s.ani));return{start:Math.floor(this.pixelsToRow(e,!1,this.s.ani)),end:n<r?n-1:r-1}},pixelsToRow:function(t,e,n){var o=t-this.s.baseScrollTop,i=n?(this._domain("physicalToVirtual",this.s.baseScrollTop)+o)/this.s.heights.row:o/this.s.heights.row+this.s.baseRowTop;return e||e===r?parseInt(i,10):i},rowToPixels:function(t,e,n){var o,i=t-this.s.baseRowTop;return n?(o=this._domain("virtualToPhysical",this.s.baseScrollTop),o+=i*this.s.heights.row):(o=this.s.baseScrollTop,o+=i*this.s.heights.row),e||e===r?parseInt(o,10):o},scrollToRow:function(e,n){var o=this,i=!1,a=this.rowToPixels(e),s=e-(this.s.displayBuffer-1)/2*this.s.viewportRows;s<0&&(s=0),(a>this.s.redrawBottom||a<this.s.redrawTop)&&this.s.dt._iDisplayStart!==s&&(i=!0,a=this._domain("virtualToPhysical",e*this.s.heights.row),this.s.redrawTop<a&&a<this.s.redrawBottom&&(this.s.forceReposition=!0,n=!1)),n===r||n?(this.s.ani=i,t(this.dom.scroller).animate({scrollTop:a},(function(){setTimeout((function(){o.s.ani=!1}),250)}))):t(this.dom.scroller).scrollTop(a)},construct:function(){var n=this,r=this.s.dtApi;if(this.s.dt.oFeatures.bPaginate){this.dom.force.style.position="relative",this.dom.force.style.top="0px",this.dom.force.style.left="0px",this.dom.force.style.width="1px",this.dom.scroller=t("div."+this.s.dt.oClasses.sScrollBody,this.s.dt.nTableWrapper)[0],this.dom.scroller.appendChild(this.dom.force),this.dom.scroller.style.position="relative",this.dom.table=t(">table",this.dom.scroller)[0],this.dom.table.style.position="absolute",this.dom.table.style.top="0px",this.dom.table.style.left="0px",t(r.table().container()).addClass("dts DTS"),this.s.loadingIndicator&&(this.dom.loader=t('<div class="dataTables_processing dts_loading">'+this.s.dt.oLanguage.sLoadingRecords+"</div>").css("display","none"),t(this.dom.scroller.parentNode).css("position","relative").append(this.dom.loader)),this.dom.label.appendTo(this.dom.scroller),this.s.heights.row&&"auto"!=this.s.heights.row&&(this.s.autoHeight=!1),this.s.ingnoreScroll=!0,t(this.dom.scroller).on("scroll.dt-scroller",(function(t){n._scroll.call(n)})),t(this.dom.scroller).on("touchstart.dt-scroller",(function(){n._scroll.call(n)})),t(this.dom.scroller).on("mousedown.dt-scroller",(function(){n.s.mousedown=!0})).on("mouseup.dt-scroller",(function(){n.s.labelVisible=!1,n.s.mousedown=!1,n.dom.label.css("display","none")})),t(e).on("resize.dt-scroller",(function(){n.measure(!1),n._info()}));var o=!0,i=r.state.loaded();r.on("stateSaveParams.scroller",(function(t,e,r){o&&i?(r.scroller=i.scroller,o=!1):r.scroller={topRow:n.s.topRowFloat,baseScrollTop:n.s.baseScrollTop,baseRowTop:n.s.baseRowTop,scrollTop:n.s.lastScrollTop}})),i&&i.scroller&&(this.s.topRowFloat=i.scroller.topRow,this.s.baseScrollTop=i.scroller.baseScrollTop,this.s.baseRowTop=i.scroller.baseRowTop),this.measure(!1),n.s.stateSaveThrottle=n.s.dt.oApi._fnThrottle((function(){n.s.dtApi.state.save()}),500),r.on("init.scroller",(function(){n.measure(!1),n.s.scrollType="jump",n._draw(),r.on("draw.scroller",(function(){n._draw()}))})),r.on("preDraw.dt.scroller",(function(){n._scrollForce()})),r.on("destroy.scroller",(function(){t(e).off("resize.dt-scroller"),t(n.dom.scroller).off(".dt-scroller"),t(n.s.dt.nTable).off(".scroller"),t(n.s.dt.nTableWrapper).removeClass("DTS"),t("div.DTS_Loading",n.dom.scroller.parentNode).remove(),n.dom.table.style.position="",n.dom.table.style.top="",n.dom.table.style.left=""}))}else this.s.dt.oApi._fnLog(this.s.dt,0,"Pagination must be enabled for Scroller")},_calcRowHeight:function(){var e=this.s.dt,n=e.nTable,r=n.cloneNode(!1),o=t("<tbody/>").appendTo(r),i=t('<div class="'+e.oClasses.sWrapper+' DTS"><div class="'+e.oClasses.sScrollWrapper+'"><div class="'+e.oClasses.sScrollBody+'"></div></div></div>');t("tbody tr:lt(4)",n).clone().appendTo(o);var a=t("tr",o).length;if(1===a)o.prepend("<tr><td>&#160;</td></tr>"),o.append("<tr><td>&#160;</td></tr>");else for(;a<3;a++)o.append("<tr><td>&#160;</td></tr>");t("div."+e.oClasses.sScrollBody,i).append(r);var s=this.s.dt.nHolding||n.parentNode;t(s).is(":visible")||(s="body"),i.find("input").removeAttr("name"),i.appendTo(s),this.s.heights.row=t("tr",o).eq(1).outerHeight(),i.remove()},_draw:function(){var e=this,n=this.s.heights,r=this.dom.scroller.scrollTop,o=t(this.s.dt.nTable).height(),i=this.s.dt._iDisplayStart,a=this.s.dt._iDisplayLength,s=this.s.dt.fnRecordsDisplay();this.s.skip=!0,!this.s.dt.bSorted&&!this.s.dt.bFiltered||0!==i||this.s.dt._drawHold||(this.s.topRowFloat=0),r="jump"===this.s.scrollType?this._domain("virtualToPhysical",this.s.topRowFloat*n.row):r,this.s.baseScrollTop=r,this.s.baseRowTop=this.s.topRowFloat;var l=r-(this.s.topRowFloat-i)*n.row;0===i?l=0:i+a>=s&&(l=n.scroll-o),this.dom.table.style.top=l+"px",this.s.tableTop=l,this.s.tableBottom=o+this.s.tableTop;var d=(r-this.s.tableTop)*this.s.boundaryScale;if(this.s.redrawTop=r-d,this.s.redrawBottom=r+d>n.scroll-n.viewport-n.row?n.scroll-n.viewport-n.row:r+d,this.s.skip=!1,this.s.dt.oFeatures.bStateSave&&null!==this.s.dt.oLoadedState&&void 0!==this.s.dt.oLoadedState.scroller){var c=!(!this.s.dt.sAjaxSource&&!e.s.dt.ajax||this.s.dt.oFeatures.bServerSide);(c&&2==this.s.dt.iDraw||!c&&1==this.s.dt.iDraw)&&setTimeout((function(){t(e.dom.scroller).scrollTop(e.s.dt.oLoadedState.scroller.scrollTop),setTimeout((function(){e.s.ingnoreScroll=!1}),0)}),0)}else e.s.ingnoreScroll=!1;this.s.dt.oFeatures.bInfo&&setTimeout((function(){e._info.call(e)}),0),t(this.s.dt.nTable).triggerHandler("position.dts.dt",l),this.dom.loader&&this.s.loaderVisible&&(this.dom.loader.css("display","none"),this.s.loaderVisible=!1)},_domain:function(t,e){var n,r=this.s.heights,o=1e4;if(r.virtual===r.scroll)return e;if(e<o)return e;if("virtualToPhysical"===t&&e>=r.virtual-o)return n=r.virtual-e,r.scroll-n;if("physicalToVirtual"===t&&e>=r.scroll-o)return n=r.scroll-e,r.virtual-n;var i=(r.virtual-o-o)/(r.scroll-o-o),a=o-i*o;return"virtualToPhysical"===t?(e-a)/i:i*e+a},_info:function(){if(this.s.dt.oFeatures.bInfo){var e,n=this.s.dt,r=n.oLanguage,o=this.dom.scroller.scrollTop,i=Math.floor(this.pixelsToRow(o,!1,this.s.ani)+1),a=n.fnRecordsTotal(),s=n.fnRecordsDisplay(),l=Math.ceil(this.pixelsToRow(o+this.s.heights.viewport,!1,this.s.ani)),d=s<l?s:l,c=n.fnFormatNumber(i),u=n.fnFormatNumber(d),f=n.fnFormatNumber(a),h=n.fnFormatNumber(s);e=0===n.fnRecordsDisplay()&&n.fnRecordsDisplay()==n.fnRecordsTotal()?r.sInfoEmpty+r.sInfoPostFix:0===n.fnRecordsDisplay()?r.sInfoEmpty+" "+r.sInfoFiltered.replace("_MAX_",f)+r.sInfoPostFix:n.fnRecordsDisplay()==n.fnRecordsTotal()?r.sInfo.replace("_START_",c).replace("_END_",u).replace("_MAX_",f).replace("_TOTAL_",h)+r.sInfoPostFix:r.sInfo.replace("_START_",c).replace("_END_",u).replace("_MAX_",f).replace("_TOTAL_",h)+" "+r.sInfoFiltered.replace("_MAX_",n.fnFormatNumber(n.fnRecordsTotal()))+r.sInfoPostFix;var p=r.fnInfoCallback;p&&(e=p.call(n.oInstance,n,i,d,a,s,e));var m=n.aanFeatures.i;if(void 0!==m)for(var b=0,g=m.length;b<g;b++)t(m[b]).html(e);t(n.nTable).triggerHandler("info.dt")}},_parseHeight:function(n){var r,o=/^([+-]?(?:\d+(?:\.\d+)?|\.\d+))(px|em|rem|vh)$/.exec(n);if(null===o)return 0;var i=parseFloat(o[1]),a=o[2];return"px"===a?r=i:"vh"===a?r=i/100*t(e).height():"rem"===a?r=i*parseFloat(t(":root").css("font-size")):"em"===a&&(r=i*parseFloat(t("body").css("font-size"))),r||0},_scroll:function(){var e,n=this,r=this.s.heights,o=this.dom.scroller.scrollTop;if(!this.s.skip&&!this.s.ingnoreScroll&&o!==this.s.lastScrollTop)if(this.s.dt.bFiltered||this.s.dt.bSorted)this.s.lastScrollTop=0;else{if(this._info(),clearTimeout(this.s.stateTO),this.s.stateTO=setTimeout((function(){n.s.dtApi.state.save()}),250),this.s.scrollType=Math.abs(o-this.s.lastScrollTop)>r.viewport?"jump":"cont",this.s.topRowFloat="cont"===this.s.scrollType?this.pixelsToRow(o,!1,!1):this._domain("physicalToVirtual",o)/r.row,this.s.topRowFloat<0&&(this.s.topRowFloat=0),this.s.forceReposition||o<this.s.redrawTop||o>this.s.redrawBottom){var i=Math.ceil((this.s.displayBuffer-1)/2*this.s.viewportRows);if(e=parseInt(this.s.topRowFloat,10)-i,this.s.forceReposition=!1,e<=0?e=0:e+this.s.dt._iDisplayLength>this.s.dt.fnRecordsDisplay()?(e=this.s.dt.fnRecordsDisplay()-this.s.dt._iDisplayLength)<0&&(e=0):e%2!=0&&e++,this.s.targetTop=e,e!=this.s.dt._iDisplayStart){this.s.tableTop=t(this.s.dt.nTable).offset().top,this.s.tableBottom=t(this.s.dt.nTable).height()+this.s.tableTop;var a=function(){n.s.dt._iDisplayStart=n.s.targetTop,n.s.dt.oApi._fnDraw(n.s.dt)};this.s.dt.oFeatures.bServerSide?(this.s.forceReposition=!0,clearTimeout(this.s.drawTO),this.s.drawTO=setTimeout(a,this.s.serverWait)):a(),this.dom.loader&&!this.s.loaderVisible&&(this.dom.loader.css("display","block"),this.s.loaderVisible=!0)}}else this.s.topRowFloat=this.pixelsToRow(o,!1,!0);if(this.s.lastScrollTop=o,this.s.stateSaveThrottle(),"jump"===this.s.scrollType&&this.s.mousedown&&(this.s.labelVisible=!0),this.s.labelVisible){var s=(r.viewport-r.labelHeight-r.xbar)/r.scroll;this.dom.label.html(this.s.dt.fnFormatNumber(parseInt(this.s.topRowFloat,10)+1)).css("top",o+o*s).css("display","block")}}},_scrollForce:function(){var t=this.s.heights,e=1e6;t.virtual=t.row*this.s.dt.fnRecordsDisplay(),t.scroll=t.virtual,t.scroll>e&&(t.scroll=e),this.dom.force.style.height=t.scroll>this.s.heights.row?t.scroll+"px":this.s.heights.row+"px"}}),i.defaults={boundaryScale:.5,displayBuffer:9,loadingIndicator:!1,rowHeight:"auto",serverWait:200},i.oDefaults=i.defaults,i.version="2.0.5",t(n).on("preInit.dt.dtscroller",(function(e,n){if("dt"===e.namespace){var r=n.oInit.scroller,a=o.defaults.scroller;if(r||a){var s=t.extend({},r,a);!1!==r&&new i(n,s)}}})),t.fn.dataTable.Scroller=i,t.fn.DataTable.Scroller=i;var a=t.fn.dataTable.Api;return a.register("scroller()",(function(){return this})),a.register("scroller().rowToPixels()",(function(t,e,n){var r=this.context;if(r.length&&r[0].oScroller)return r[0].oScroller.rowToPixels(t,e,n)})),a.register("scroller().pixelsToRow()",(function(t,e,n){var r=this.context;if(r.length&&r[0].oScroller)return r[0].oScroller.pixelsToRow(t,e,n)})),a.register(["scroller().scrollToRow()","scroller.toPosition()"],(function(t,e){return this.iterator("table",(function(n){n.oScroller&&n.oScroller.scrollToRow(t,e)})),this})),a.register("row().scrollTo()",(function(t){var e=this;return this.iterator("row",(function(n,r){if(n.oScroller){var o=e.rows({order:"applied",search:"applied"}).indexes().indexOf(r);n.oScroller.scrollToRow(o,t)}})),this})),a.register("scroller.measure()",(function(t){return this.iterator("table",(function(e){e.oScroller&&e.oScroller.measure(t)})),this})),a.register("scroller.page()",(function(){var t=this.context;if(t.length&&t[0].oScroller)return t[0].oScroller.pageInfo()})),i})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net-bs4","datatables.net-scroller"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net-bs4")(e,n).$),n.fn.dataTable.Scroller||require("datatables.net-scroller")(e,n),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,r){return t.fn.dataTable})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net")(e,n).$),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,r){"use strict";var o=t.fn.dataTable;function i(t,e,n){var r,o,i,a=function(e,n){if(e>n){var r=n;n=e,e=r}var o=!1;return t.columns(":visible").indexes().filter((function(t){return t===e&&(o=!0),t===n?(o=!1,!0):o}))},s=function(e,n){var r=t.rows({search:"applied"}).indexes();if(r.indexOf(e)>r.indexOf(n)){var o=n;n=e,e=o}var i=!1;return r.filter((function(t){return t===e&&(i=!0),t===n?(i=!1,!0):i}))};t.cells({selected:!0}).any()||n?(o=a(n.column,e.column),i=s(n.row,e.row)):(o=a(0,e.column),i=s(0,e.row)),r=t.cells(i,o).flatten(),t.cells(e,{selected:!0}).any()?t.cells(r).deselect():t.cells(r).select()}function a(e){var n=e.settings()[0]._select.selector;t(e.table().container()).off("mousedown.dtSelect",n).off("mouseup.dtSelect",n).off("click.dtSelect",n),t("body").off("click.dtSelect"+h(e.table().node()))}function s(n){var r,o=t(n.table().container()),i=n.settings()[0],a=i._select.selector;o.on("mousedown.dtSelect",a,(function(t){(t.shiftKey||t.metaKey||t.ctrlKey)&&o.css("-moz-user-select","none").one("selectstart.dtSelect",a,(function(){return!1})),e.getSelection&&(r=e.getSelection())})).on("mouseup.dtSelect",a,(function(){o.css("-moz-user-select","")})).on("click.dtSelect",a,(function(o){var i,a=n.select.items();if(r){var s=e.getSelection();if((!s.anchorNode||t(s.anchorNode).closest("table")[0]===n.table().node())&&s!==r)return}var d=n.settings()[0],c=n.settings()[0].oClasses.sWrapper.trim().replace(/ +/g,".");if(t(o.target).closest("div."+c)[0]==n.table().container()){var u=n.cell(t(o.target).closest("td, th"));if(u.any()){var h=t.Event("user-select.dt");if(l(n,h,[a,u,o]),!h.isDefaultPrevented()){var p=u.index();"row"===a?(i=p.row,f(o,n,d,"row",i)):"column"===a?(i=u.index().column,f(o,n,d,"column",i)):"cell"===a&&(i=u.index(),f(o,n,d,"cell",i)),d._select_lastCell=p}}}})),t("body").on("click.dtSelect"+h(n.table().node()),(function(e){if(i._select.blurable){if(t(e.target).parents().filter(n.table().container()).length)return;if(0===t(e.target).parents("html").length)return;if(t(e.target).parents("div.DTE").length)return;u(i,!0)}}))}function l(e,n,r,o){o&&!e.flatten().length||("string"==typeof n&&(n+=".dt"),r.unshift(e),t(e.table().node()).trigger(n,r))}function d(e){var n=new o.Api(e);e._select_init=!0,e.aoRowCreatedCallback.push({fn:function(n,r,o){var i,a,s=e.aoData[o];for(s._select_selected&&t(n).addClass(e._select.className),i=0,a=e.aoColumns.length;i<a;i++)(e.aoColumns[i]._select_selected||s._selected_cells&&s._selected_cells[i])&&t(s.anCells[i]).addClass(e._select.className)},sName:"select-deferRender"}),n.on("preXhr.dt.dtSelect",(function(t,e){if(e===n.settings()[0]){var o=n.rows({selected:!0}).ids(!0).filter((function(t){return t!==r})),i=n.cells({selected:!0}).eq(0).map((function(t){var e=n.row(t.row).id(!0);return e?{row:e,column:t.column}:r})).filter((function(t){return t!==r}));n.one("draw.dt.dtSelect",(function(){n.rows(o).select(),i.any()&&i.each((function(t){n.cells(t.row,t.column).select()}))}))}})),n.on("draw.dtSelect.dt select.dtSelect.dt deselect.dtSelect.dt info.dt",(function(){!function(e){var n=e.settings()[0];if(n._select.info&&n.aanFeatures.i&&"api"!==e.select.style()){var r=e.rows({selected:!0}).flatten().length,o=e.columns({selected:!0}).flatten().length,i=e.cells({selected:!0}).flatten().length,a=function(n,r,o){n.append(t('<span class="select-item"/>').append(e.i18n("select."+r+"s",{_:"%d "+r+"s selected",0:"",1:"1 "+r+" selected"},o)))};t.each(n.aanFeatures.i,(function(e,n){n=t(n);var s=t('<span class="select-info"/>');a(s,"row",r),a(s,"column",o),a(s,"cell",i);var l=n.children("span.select-info");l.length&&l.remove(),""!==s.text()&&n.append(s)}))}}(n),n.state.save()})),n.on("destroy.dtSelect",(function(){n.rows({selected:!0}).deselect(),a(n),n.off(".dtSelect"),t("body").off(".dtSelect"+h(n.table().node()))}))}function c(e,n,r,o){var i=e[n+"s"]({search:"applied"}).indexes(),a=t.inArray(o,i),s=t.inArray(r,i);if(e[n+"s"]({selected:!0}).any()||-1!==a){if(a>s){var l=s;s=a,a=l}i.splice(s+1,i.length),i.splice(0,a)}else i.splice(t.inArray(r,i)+1,i.length);e[n](r,{selected:!0}).any()?(i.splice(t.inArray(r,i),1),e[n+"s"](i).deselect()):e[n+"s"](i).select()}function u(t,e){if(e||"single"===t._select.style){var n=new o.Api(t);n.rows({selected:!0}).deselect(),n.columns({selected:!0}).deselect(),n.cells({selected:!0}).deselect()}}function f(t,e,n,r,o){var a=e.select.style(),s=e.select.toggleable(),l=e[r](o,{selected:!0}).any();if(!l||s)if("os"===a)if(t.ctrlKey||t.metaKey)e[r](o).select(!l);else if(t.shiftKey)"cell"===r?i(e,o,n._select_lastCell||null):c(e,r,o,n._select_lastCell?n._select_lastCell[r]:null);else{var d=e[r+"s"]({selected:!0});l&&1===d.flatten().length?e[r](o).deselect():(d.deselect(),e[r](o).select())}else"multi+shift"==a&&t.shiftKey?"cell"===r?i(e,o,n._select_lastCell||null):c(e,r,o,n._select_lastCell?n._select_lastCell[r]:null):e[r](o).select(!l)}function h(t){return t.id.replace(/[^a-zA-Z0-9\-\_]/g,"-")}o.select={},o.select.version="1.3.4-dev",o.select.init=function(e){var n=e.settings()[0];if(!n._select){var i=e.state.loaded(),a=function(t,n,o){if(null!==o&&o.select!==r){if(e.rows().deselect(),e.columns().deselect(),e.cells().deselect(),o.select.rows!==r&&e.rows(o.select.rows).select(),o.select.columns!==r&&e.columns(o.select.columns).select(),o.select.cells!==r)for(var i=0;i<o.select.cells.length;i++)e.cell(o.select.cells[i].row,o.select.cells[i].column).select();e.state.save()}};e.one("init",(function(){e.on("stateSaveParams",(function(t,n,r){r.select={},r.select.rows=e.rows({selected:!0}).ids(!0).toArray(),r.select.columns=e.columns({selected:!0})[0],r.select.cells=e.cells({selected:!0})[0].map((function(t){return{row:e.row(t.row).id(!0),column:t.column}}))})),a(0,0,i),e.on("stateLoaded stateLoadParams",a)}));var s=n.oInit.select,l=o.defaults.select,d=s===r?l:s,c="row",u="api",f=!1,h=!0,p=!0,m="td, th",b="selected",g=!1;n._select={},!0===d?(u="os",g=!0):"string"==typeof d?(u=d,g=!0):t.isPlainObject(d)&&(d.blurable!==r&&(f=d.blurable),d.toggleable!==r&&(h=d.toggleable),d.info!==r&&(p=d.info),d.items!==r&&(c=d.items),d.style!==r?(u=d.style,g=!0):(u="os",g=!0),d.selector!==r&&(m=d.selector),d.className!==r&&(b=d.className)),e.select.selector(m),e.select.items(c),e.select.style(u),e.select.blurable(f),e.select.toggleable(h),e.select.info(p),n._select.className=b,t.fn.dataTable.ext.order["select-checkbox"]=function(e,n){return this.api().column(n,{order:"index"}).nodes().map((function(n){return"row"===e._select.items?t(n).parent().hasClass(e._select.className):"cell"===e._select.items&&t(n).hasClass(e._select.className)}))},!g&&t(e.table().node()).hasClass("selectable")&&e.select.style("os")}},t.each([{type:"row",prop:"aoData"},{type:"column",prop:"aoColumns"}],(function(t,e){o.ext.selector[e.type].push((function(t,n,r){var o,i=n.selected,a=[];if(!0!==i&&!1!==i)return r;for(var s=0,l=r.length;s<l;s++)o=t[e.prop][r[s]],(!0===i&&!0===o._select_selected||!1===i&&!o._select_selected)&&a.push(r[s]);return a}))})),o.ext.selector.cell.push((function(t,e,n){var o,i=e.selected,a=[];if(i===r)return n;for(var s=0,l=n.length;s<l;s++)o=t.aoData[n[s].row],(!0===i&&o._selected_cells&&!0===o._selected_cells[n[s].column]||!1===i&&(!o._selected_cells||!o._selected_cells[n[s].column]))&&a.push(n[s]);return a}));var p=o.Api.register,m=o.Api.registerPlural;function b(t,e){return function(n){return n.i18n("buttons."+t,e)}}function g(t){var e=t._eventNamespace;return"draw.dt.DT"+e+" select.dt.DT"+e+" deselect.dt.DT"+e}p("select()",(function(){return this.iterator("table",(function(t){o.select.init(new o.Api(t))}))})),p("select.blurable()",(function(t){return t===r?this.context[0]._select.blurable:this.iterator("table",(function(e){e._select.blurable=t}))})),p("select.toggleable()",(function(t){return t===r?this.context[0]._select.toggleable:this.iterator("table",(function(e){e._select.toggleable=t}))})),p("select.info()",(function(t){return t===r?this.context[0]._select.info:this.iterator("table",(function(e){e._select.info=t}))})),p("select.items()",(function(t){return t===r?this.context[0]._select.items:this.iterator("table",(function(e){e._select.items=t,l(new o.Api(e),"selectItems",[t])}))})),p("select.style()",(function(t){return t===r?this.context[0]._select.style:this.iterator("table",(function(e){e._select||o.select.init(new o.Api(e)),e._select_init||d(e),e._select.style=t;var n=new o.Api(e);a(n),"api"!==t&&s(n),l(new o.Api(e),"selectStyle",[t])}))})),p("select.selector()",(function(t){return t===r?this.context[0]._select.selector:this.iterator("table",(function(e){a(new o.Api(e)),e._select.selector=t,"api"!==e._select.style&&s(new o.Api(e))}))})),m("rows().select()","row().select()",(function(e){var n=this;return!1===e?this.deselect():(this.iterator("row",(function(e,n){u(e),e.aoData[n]._select_selected=!0,t(e.aoData[n].nTr).addClass(e._select.className)})),this.iterator("table",(function(t,e){l(n,"select",["row",n[e]],!0)})),this)})),m("columns().select()","column().select()",(function(e){var n=this;return!1===e?this.deselect():(this.iterator("column",(function(e,n){u(e),e.aoColumns[n]._select_selected=!0;var r=new o.Api(e).column(n);t(r.header()).addClass(e._select.className),t(r.footer()).addClass(e._select.className),r.nodes().to$().addClass(e._select.className)})),this.iterator("table",(function(t,e){l(n,"select",["column",n[e]],!0)})),this)})),m("cells().select()","cell().select()",(function(e){var n=this;return!1===e?this.deselect():(this.iterator("cell",(function(e,n,o){u(e);var i=e.aoData[n];i._selected_cells===r&&(i._selected_cells=[]),i._selected_cells[o]=!0,i.anCells&&t(i.anCells[o]).addClass(e._select.className)})),this.iterator("table",(function(t,e){l(n,"select",["cell",n.cells(n[e]).indexes().toArray()],!0)})),this)})),m("rows().deselect()","row().deselect()",(function(){var e=this;return this.iterator("row",(function(e,n){e.aoData[n]._select_selected=!1,e._select_lastCell=null,t(e.aoData[n].nTr).removeClass(e._select.className)})),this.iterator("table",(function(t,n){l(e,"deselect",["row",e[n]],!0)})),this})),m("columns().deselect()","column().deselect()",(function(){var e=this;return this.iterator("column",(function(e,n){e.aoColumns[n]._select_selected=!1;var r=new o.Api(e),i=r.column(n);t(i.header()).removeClass(e._select.className),t(i.footer()).removeClass(e._select.className),r.cells(null,n).indexes().each((function(n){var r=e.aoData[n.row],o=r._selected_cells;!r.anCells||o&&o[n.column]||t(r.anCells[n.column]).removeClass(e._select.className)}))})),this.iterator("table",(function(t,n){l(e,"deselect",["column",e[n]],!0)})),this})),m("cells().deselect()","cell().deselect()",(function(){var e=this;return this.iterator("cell",(function(e,n,o){var i=e.aoData[n];i._selected_cells!==r&&(i._selected_cells[o]=!1),i.anCells&&!e.aoColumns[o]._select_selected&&t(i.anCells[o]).removeClass(e._select.className)})),this.iterator("table",(function(t,n){l(e,"deselect",["cell",e[n]],!0)})),this}));var v=0;return t.extend(o.ext.buttons,{selected:{text:b("selected","Selected"),className:"buttons-selected",limitTo:["rows","columns","cells"],init:function(e,n,r){var o=this;r._eventNamespace=".select"+v++,e.on(g(r),(function(){o.enable(function(e,n){return!(-1===t.inArray("rows",n.limitTo)||!e.rows({selected:!0}).any())||!(-1===t.inArray("columns",n.limitTo)||!e.columns({selected:!0}).any())||!(-1===t.inArray("cells",n.limitTo)||!e.cells({selected:!0}).any())}(e,r))})),this.disable()},destroy:function(t,e,n){t.off(n._eventNamespace)}},selectedSingle:{text:b("selectedSingle","Selected single"),className:"buttons-selected-single",init:function(t,e,n){var r=this;n._eventNamespace=".select"+v++,t.on(g(n),(function(){var e=t.rows({selected:!0}).flatten().length+t.columns({selected:!0}).flatten().length+t.cells({selected:!0}).flatten().length;r.enable(1===e)})),this.disable()},destroy:function(t,e,n){t.off(n._eventNamespace)}},selectAll:{text:b("selectAll","Select all"),className:"buttons-select-all",action:function(){this[this.select.items()+"s"]().select()}},selectNone:{text:b("selectNone","Deselect all"),className:"buttons-select-none",action:function(){u(this.settings()[0],!0)},init:function(t,e,n){var r=this;n._eventNamespace=".select"+v++,t.on(g(n),(function(){var e=t.rows({selected:!0}).flatten().length+t.columns({selected:!0}).flatten().length+t.cells({selected:!0}).flatten().length;r.enable(e>0)})),this.disable()},destroy:function(t,e,n){t.off(n._eventNamespace)}}}),t.each(["Row","Column","Cell"],(function(t,e){var n=e.toLowerCase();o.ext.buttons["select"+e+"s"]={text:b("select"+e+"s","Select "+n+"s"),className:"buttons-select-"+n+"s",action:function(){this.select.items(n)},init:function(t){var e=this;t.on("selectItems.dt.DT",(function(t,r,o){e.active(o===n)}))}}})),t(n).on("preInit.dt.dtSelect",(function(t,e){"dt"===t.namespace&&o.select.init(new o.Api(e))})),o.select})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net-bs4","datatables.net-select"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net-bs4")(e,n).$),n.fn.dataTable.select||require("datatables.net-select")(e,n),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,r){return t.fn.dataTable})),function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).JSZip=t()}}((function(){return function t(e,n,r){function o(a,s){if(!n[a]){if(!e[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(i)return i(a,!0);var d=new Error("Cannot find module '"+a+"'");throw d.code="MODULE_NOT_FOUND",d}var c=n[a]={exports:{}};e[a][0].call(c.exports,(function(t){var n=e[a][1][t];return o(n||t)}),c,c.exports,t,e,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(t,e,n){"use strict";var r=t("./utils"),o=t("./support"),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(t){for(var e,n,o,a,s,l,d,c=[],u=0,f=t.length,h=f,p="string"!==r.getTypeOf(t);u<t.length;)h=f-u,p?(e=t[u++],n=u<f?t[u++]:0,o=u<f?t[u++]:0):(e=t.charCodeAt(u++),n=u<f?t.charCodeAt(u++):0,o=u<f?t.charCodeAt(u++):0),a=e>>2,s=(3&e)<<4|n>>4,l=h>1?(15&n)<<2|o>>6:64,d=h>2?63&o:64,c.push(i.charAt(a)+i.charAt(s)+i.charAt(l)+i.charAt(d));return c.join("")},n.decode=function(t){var e,n,r,a,s,l,d=0,c=0,u="data:";if(t.substr(0,u.length)===u)throw new Error("Invalid base64 input, it looks like a data url.");var f,h=3*(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(t.charAt(t.length-1)===i.charAt(64)&&h--,t.charAt(t.length-2)===i.charAt(64)&&h--,h%1!=0)throw new Error("Invalid base64 input, bad content length.");for(f=o.uint8array?new Uint8Array(0|h):new Array(0|h);d<t.length;)e=i.indexOf(t.charAt(d++))<<2|(a=i.indexOf(t.charAt(d++)))>>4,n=(15&a)<<4|(s=i.indexOf(t.charAt(d++)))>>2,r=(3&s)<<6|(l=i.indexOf(t.charAt(d++))),f[c++]=e,64!==s&&(f[c++]=n),64!==l&&(f[c++]=r);return f}},{"./support":30,"./utils":32}],2:[function(t,e,n){"use strict";var r=t("./external"),o=t("./stream/DataWorker"),i=t("./stream/Crc32Probe"),a=t("./stream/DataLengthProbe");function s(t,e,n,r,o){this.compressedSize=t,this.uncompressedSize=e,this.crc32=n,this.compression=r,this.compressedContent=o}s.prototype={getContentWorker:function(){var t=new o(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),e=this;return t.on("end",(function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),t},getCompressedWorker:function(){return new o(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(t,e,n){return t.pipe(new i).pipe(new a("uncompressedSize")).pipe(e.compressWorker(n)).pipe(new a("compressedSize")).withStreamInfo("compression",e)},e.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,e,n){"use strict";var r=t("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(t){return new r("STORE compression")},uncompressWorker:function(){return new r("STORE decompression")}},n.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,e,n){"use strict";var r=t("./utils");var o=function(){for(var t,e=[],n=0;n<256;n++){t=n;for(var r=0;r<8;r++)t=1&t?3988292384^t>>>1:t>>>1;e[n]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?"string"!==r.getTypeOf(t)?function(t,e,n,r){var i=o,a=r+n;t^=-1;for(var s=r;s<a;s++)t=t>>>8^i[255&(t^e[s])];return-1^t}(0|e,t,t.length,0):function(t,e,n,r){var i=o,a=r+n;t^=-1;for(var s=r;s<a;s++)t=t>>>8^i[255&(t^e.charCodeAt(s))];return-1^t}(0|e,t,t.length,0):0}},{"./utils":32}],5:[function(t,e,n){"use strict";n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(t,e,n){"use strict";var r=null;r="undefined"!=typeof Promise?Promise:t("lie"),e.exports={Promise:r}},{lie:37}],7:[function(t,e,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,o=t("pako"),i=t("./utils"),a=t("./stream/GenericWorker"),s=r?"uint8array":"array";function l(t,e){a.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}n.magic="\b\0",i.inherits(l,a),l.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(i.transformTo(s,t.data),!1)},l.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new o[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.meta})}},n.compressWorker=function(t){return new l("Deflate",t)},n.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,e,n){"use strict";var r=t("../utils"),o=t("../stream/GenericWorker"),i=t("../utf8"),a=t("../crc32"),s=t("../signature"),l=function(t,e){var n,r="";for(n=0;n<e;n++)r+=String.fromCharCode(255&t),t>>>=8;return r},d=function(t,e,n,o,d,c){var u,f,h=t.file,p=t.compression,m=c!==i.utf8encode,b=r.transformTo("string",c(h.name)),g=r.transformTo("string",i.utf8encode(h.name)),v=h.comment,y=r.transformTo("string",c(v)),_=r.transformTo("string",i.utf8encode(v)),w=g.length!==h.name.length,x=_.length!==v.length,C="",S="",T="",I=h.dir,k=h.date,D={crc32:0,compressedSize:0,uncompressedSize:0};e&&!n||(D.crc32=t.crc32,D.compressedSize=t.compressedSize,D.uncompressedSize=t.uncompressedSize);var F=0;e&&(F|=8),m||!w&&!x||(F|=2048);var A,R,B,O=0,N=0;I&&(O|=16),"UNIX"===d?(N=798,O|=(A=h.unixPermissions,R=I,B=A,A||(B=R?16893:33204),(65535&B)<<16)):(N=20,O|=63&(h.dosPermissions||0)),u=k.getUTCHours(),u<<=6,u|=k.getUTCMinutes(),u<<=5,u|=k.getUTCSeconds()/2,f=k.getUTCFullYear()-1980,f<<=4,f|=k.getUTCMonth()+1,f<<=5,f|=k.getUTCDate(),w&&(S=l(1,1)+l(a(b),4)+g,C+="up"+l(S.length,2)+S),x&&(T=l(1,1)+l(a(y),4)+_,C+="uc"+l(T.length,2)+T);var L="";return L+="\n\0",L+=l(F,2),L+=p.magic,L+=l(u,2),L+=l(f,2),L+=l(D.crc32,4),L+=l(D.compressedSize,4),L+=l(D.uncompressedSize,4),L+=l(b.length,2),L+=l(C.length,2),{fileRecord:s.LOCAL_FILE_HEADER+L+b+C,dirRecord:s.CENTRAL_FILE_HEADER+l(N,2)+L+l(y.length,2)+"\0\0\0\0"+l(O,4)+l(o,4)+b+C+y}},c=function(t){return s.DATA_DESCRIPTOR+l(t.crc32,4)+l(t.compressedSize,4)+l(t.uncompressedSize,4)};function u(t,e,n,r){o.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}r.inherits(u,o),u.prototype.push=function(t){var e=t.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,o.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:n?(e+100*(n-r-1))/n:100}}))},u.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var n=d(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(t){this.accumulate=!1;var e=this.streamFiles&&!t.file.dir,n=d(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),e)this.push({data:c(t),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e<this.dirRecords.length;e++)this.push({data:this.dirRecords[e],meta:{percent:100}});var n=this.bytesWritten-t,o=function(t,e,n,o,i){var a=r.transformTo("string",i(o));return s.CENTRAL_DIRECTORY_END+"\0\0\0\0"+l(t,2)+l(t,2)+l(e,4)+l(n,4)+l(a.length,2)+a}(this.dirRecords.length,n,t,this.zipComment,this.encodeFileName);this.push({data:o,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.prototype.registerPrevious=function(t){this._sources.push(t);var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.closedSource(e.previous.streamInfo),e._sources.length?e.prepareNextSource():e.end()})),t.on("error",(function(t){e.error(t)})),this},u.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(t){var e=this._sources;if(!o.prototype.error.call(this,t))return!1;for(var n=0;n<e.length;n++)try{e[n].error(t)}catch(t){}return!0},u.prototype.lock=function(){o.prototype.lock.call(this);for(var t=this._sources,e=0;e<t.length;e++)t[e].lock()},e.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(t,e,n){"use strict";var r=t("../compressions"),o=t("./ZipFileWorker");n.generateWorker=function(t,e,n){var i=new o(e.streamFiles,n,e.platform,e.encodeFileName),a=0;try{t.forEach((function(t,n){a++;var o=function(t,e){var n=t||e,o=r[n];if(!o)throw new Error(n+" is not a valid compression method !");return o}(n.options.compression,e.compression),s=n.options.compressionOptions||e.compressionOptions||{},l=n.dir,d=n.date;n._compressWorker(o,s).withStreamInfo("file",{name:t,dir:l,date:d,comment:n.comment||"",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(i)})),i.entriesCount=a}catch(t){i.error(t)}return i}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(t,e,n){"use strict";function r(){if(!(this instanceof r))return new r;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var t=new r;for(var e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}r.prototype=t("./object"),r.prototype.loadAsync=t("./load"),r.support=t("./support"),r.defaults=t("./defaults"),r.version="3.7.1",r.loadAsync=function(t,e){return(new r).loadAsync(t,e)},r.external=t("./external"),e.exports=r},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(t,e,n){"use strict";var r=t("./utils"),o=t("./external"),i=t("./utf8"),a=t("./zipEntries"),s=t("./stream/Crc32Probe"),l=t("./nodejsUtils");function d(t){return new o.Promise((function(e,n){var r=t.decompressed.getContentWorker().pipe(new s);r.on("error",(function(t){n(t)})).on("end",(function(){r.streamInfo.crc32!==t.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):e()})).resume()}))}e.exports=function(t,e){var n=this;return e=r.extend(e||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:i.utf8decode}),l.isNode&&l.isStream(t)?o.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):r.prepareContent("the loaded zip file",t,!0,e.optimizedBinaryString,e.base64).then((function(t){var n=new a(e);return n.load(t),n})).then((function(t){var n=[o.Promise.resolve(t)],r=t.files;if(e.checkCRC32)for(var i=0;i<r.length;i++)n.push(d(r[i]));return o.Promise.all(n)})).then((function(t){for(var r=t.shift(),o=r.files,i=0;i<o.length;i++){var a=o[i];n.file(a.fileNameStr,a.decompressed,{binary:!0,optimizedBinaryString:!0,date:a.date,dir:a.dir,comment:a.fileCommentStr.length?a.fileCommentStr:null,unixPermissions:a.unixPermissions,dosPermissions:a.dosPermissions,createFolders:e.createFolders})}return r.zipComment.length&&(n.comment=r.zipComment),n}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(t,e,n){"use strict";var r=t("../utils"),o=t("../stream/GenericWorker");function i(t,e){o.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(e)}r.inherits(i,o),i.prototype._bindStream=function(t){var e=this;this._stream=t,t.pause(),t.on("data",(function(t){e.push({data:t,meta:{percent:0}})})).on("error",(function(t){e.isPaused?this.generatedError=t:e.error(t)})).on("end",(function(){e.isPaused?e._upstreamEnded=!0:e.end()}))},i.prototype.pause=function(){return!!o.prototype.pause.call(this)&&(this._stream.pause(),!0)},i.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},e.exports=i},{"../stream/GenericWorker":28,"../utils":32}],13:[function(t,e,n){"use strict";var r=t("readable-stream").Readable;function o(t,e,n){r.call(this,e),this._helper=t;var o=this;t.on("data",(function(t,e){o.push(t)||o._helper.pause(),n&&n(e)})).on("error",(function(t){o.emit("error",t)})).on("end",(function(){o.push(null)}))}t("../utils").inherits(o,r),o.prototype._read=function(){this._helper.resume()},e.exports=o},{"../utils":32,"readable-stream":16}],14:[function(t,e,n){"use strict";e.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(t,e){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(t,e);if("number"==typeof t)throw new Error('The "data" argument must not be a number');return new Buffer(t,e)},allocBuffer:function(t){if(Buffer.alloc)return Buffer.alloc(t);var e=new Buffer(t);return e.fill(0),e},isBuffer:function(t){return Buffer.isBuffer(t)},isStream:function(t){return t&&"function"==typeof t.on&&"function"==typeof t.pause&&"function"==typeof t.resume}}},{}],15:[function(t,e,n){"use strict";var r=t("./utf8"),o=t("./utils"),i=t("./stream/GenericWorker"),a=t("./stream/StreamHelper"),s=t("./defaults"),l=t("./compressedObject"),d=t("./zipObject"),c=t("./generate"),u=t("./nodejsUtils"),f=t("./nodejs/NodejsStreamInputAdapter"),h=function(t,e,n){var r,a=o.getTypeOf(e),c=o.extend(n||{},s);c.date=c.date||new Date,null!==c.compression&&(c.compression=c.compression.toUpperCase()),"string"==typeof c.unixPermissions&&(c.unixPermissions=parseInt(c.unixPermissions,8)),c.unixPermissions&&16384&c.unixPermissions&&(c.dir=!0),c.dosPermissions&&16&c.dosPermissions&&(c.dir=!0),c.dir&&(t=m(t)),c.createFolders&&(r=p(t))&&b.call(this,r,!0);var h="string"===a&&!1===c.binary&&!1===c.base64;n&&void 0!==n.binary||(c.binary=!h),(e instanceof l&&0===e.uncompressedSize||c.dir||!e||0===e.length)&&(c.base64=!1,c.binary=!0,e="",c.compression="STORE",a="string");var g=null;g=e instanceof l||e instanceof i?e:u.isNode&&u.isStream(e)?new f(t,e):o.prepareContent(t,e,c.binary,c.optimizedBinaryString,c.base64);var v=new d(t,g,c);this.files[t]=v},p=function(t){"/"===t.slice(-1)&&(t=t.substring(0,t.length-1));var e=t.lastIndexOf("/");return e>0?t.substring(0,e):""},m=function(t){return"/"!==t.slice(-1)&&(t+="/"),t},b=function(t,e){return e=void 0!==e?e:s.createFolders,t=m(t),this.files[t]||h.call(this,t,null,{dir:!0,createFolders:e}),this.files[t]};function g(t){return"[object RegExp]"===Object.prototype.toString.call(t)}var v={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(t){var e,n,r;for(e in this.files)r=this.files[e],(n=e.slice(this.root.length,e.length))&&e.slice(0,this.root.length)===this.root&&t(n,r)},filter:function(t){var e=[];return this.forEach((function(n,r){t(n,r)&&e.push(r)})),e},file:function(t,e,n){if(1===arguments.length){if(g(t)){var r=t;return this.filter((function(t,e){return!e.dir&&r.test(t)}))}var o=this.files[this.root+t];return o&&!o.dir?o:null}return t=this.root+t,h.call(this,t,e,n),this},folder:function(t){if(!t)return this;if(g(t))return this.filter((function(e,n){return n.dir&&t.test(e)}));var e=this.root+t,n=b.call(this,e),r=this.clone();return r.root=n.name,r},remove:function(t){t=this.root+t;var e=this.files[t];if(e||("/"!==t.slice(-1)&&(t+="/"),e=this.files[t]),e&&!e.dir)delete this.files[t];else for(var n=this.filter((function(e,n){return n.name.slice(0,t.length)===t})),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(t){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(t){var e,n={};try{if((n=o.extend(t||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:r.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),"binarystring"===n.type&&(n.type="string"),!n.type)throw new Error("No output type specified.");o.checkSupport(n.type),"darwin"!==n.platform&&"freebsd"!==n.platform&&"linux"!==n.platform&&"sunos"!==n.platform||(n.platform="UNIX"),"win32"===n.platform&&(n.platform="DOS");var s=n.comment||this.comment||"";e=c.generateWorker(this,n,s)}catch(t){(e=new i("error")).error(t)}return new a(e,n.type||"string",n.mimeType)},generateAsync:function(t,e){return this.generateInternalStream(t).accumulate(e)},generateNodeStream:function(t,e){return(t=t||{}).type||(t.type="nodebuffer"),this.generateInternalStream(t).toNodejsStream(e)}};e.exports=v},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(t,e,n){e.exports=t("stream")},{stream:void 0}],17:[function(t,e,n){"use strict";var r=t("./DataReader");function o(t){r.call(this,t);for(var e=0;e<this.data.length;e++)t[e]=255&t[e]}t("../utils").inherits(o,r),o.prototype.byteAt=function(t){return this.data[this.zero+t]},o.prototype.lastIndexOfSignature=function(t){for(var e=t.charCodeAt(0),n=t.charCodeAt(1),r=t.charCodeAt(2),o=t.charCodeAt(3),i=this.length-4;i>=0;--i)if(this.data[i]===e&&this.data[i+1]===n&&this.data[i+2]===r&&this.data[i+3]===o)return i-this.zero;return-1},o.prototype.readAndCheckSignature=function(t){var e=t.charCodeAt(0),n=t.charCodeAt(1),r=t.charCodeAt(2),o=t.charCodeAt(3),i=this.readData(4);return e===i[0]&&n===i[1]&&r===i[2]&&o===i[3]},o.prototype.readData=function(t){if(this.checkOffset(t),0===t)return[];var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=o},{"../utils":32,"./DataReader":18}],18:[function(t,e,n){"use strict";var r=t("../utils");function o(t){this.data=t,this.length=t.length,this.index=0,this.zero=0}o.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<this.zero+t||t<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(t){},readInt:function(t){var e,n=0;for(this.checkOffset(t),e=this.index+t-1;e>=this.index;e--)n=(n<<8)+this.byteAt(e);return this.index+=t,n},readString:function(t){return r.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=o},{"../utils":32}],19:[function(t,e,n){"use strict";var r=t("./Uint8ArrayReader");function o(t){r.call(this,t)}t("../utils").inherits(o,r),o.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=o},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,e,n){"use strict";var r=t("./DataReader");function o(t){r.call(this,t)}t("../utils").inherits(o,r),o.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},o.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},o.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},o.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=o},{"../utils":32,"./DataReader":18}],21:[function(t,e,n){"use strict";var r=t("./ArrayReader");function o(t){r.call(this,t)}t("../utils").inherits(o,r),o.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=o},{"../utils":32,"./ArrayReader":17}],22:[function(t,e,n){"use strict";var r=t("../utils"),o=t("../support"),i=t("./ArrayReader"),a=t("./StringReader"),s=t("./NodeBufferReader"),l=t("./Uint8ArrayReader");e.exports=function(t){var e=r.getTypeOf(t);return r.checkSupport(e),"string"!==e||o.uint8array?"nodebuffer"===e?new s(t):o.uint8array?new l(r.transformTo("uint8array",t)):new i(r.transformTo("array",t)):new a(t)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,e,n){"use strict";n.LOCAL_FILE_HEADER="PK",n.CENTRAL_FILE_HEADER="PK",n.CENTRAL_DIRECTORY_END="PK",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",n.ZIP64_CENTRAL_DIRECTORY_END="PK",n.DATA_DESCRIPTOR="PK\b"},{}],24:[function(t,e,n){"use strict";var r=t("./GenericWorker"),o=t("../utils");function i(t){r.call(this,"ConvertWorker to "+t),this.destType=t}o.inherits(i,r),i.prototype.processChunk=function(t){this.push({data:o.transformTo(this.destType,t.data),meta:t.meta})},e.exports=i},{"../utils":32,"./GenericWorker":28}],25:[function(t,e,n){"use strict";var r=t("./GenericWorker"),o=t("../crc32");function i(){r.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(i,r),i.prototype.processChunk=function(t){this.streamInfo.crc32=o(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=i},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,e,n){"use strict";var r=t("../utils"),o=t("./GenericWorker");function i(t){o.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}r.inherits(i,o),i.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}o.prototype.processChunk.call(this,t)},e.exports=i},{"../utils":32,"./GenericWorker":28}],27:[function(t,e,n){"use strict";var r=t("../utils"),o=t("./GenericWorker");function i(t){o.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then((function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=r.getTypeOf(t),e.isPaused||e._tickAndRepeat()}),(function(t){e.error(t)}))}r.inherits(i,o),i.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this.data=null},i.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},i.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},i.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=i},{"../utils":32,"./GenericWorker":28}],28:[function(t,e,n){"use strict";function r(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}r.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var n=0;n<this._listeners[t].length;n++)this._listeners[t][n].call(this,e)},pipe:function(t){return t.registerPrevious(this)},registerPrevious:function(t){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=t.streamInfo,this.mergeStreamInfo(),this.previous=t;var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.end()})),t.on("error",(function(t){e.error(t)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var t=!1;return this.generatedError&&(this.error(this.generatedError),t=!0),this.previous&&this.previous.resume(),!t},flush:function(){},processChunk:function(t){this.push(t)},withStreamInfo:function(t,e){return this.extraStreamInfo[t]=e,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var t in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(t)&&(this.streamInfo[t]=this.extraStreamInfo[t])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var t="Worker "+this.name;return this.previous?this.previous+" -> "+t:t}},e.exports=r},{}],29:[function(t,e,n){"use strict";var r=t("../utils"),o=t("./ConvertWorker"),i=t("./GenericWorker"),a=t("../base64"),s=t("../support"),l=t("../external"),d=null;if(s.nodestream)try{d=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function c(t,e){return new l.Promise((function(n,o){var i=[],s=t._internalType,l=t._outputType,d=t._mimeType;t.on("data",(function(t,n){i.push(t),e&&e(n)})).on("error",(function(t){i=[],o(t)})).on("end",(function(){try{var t=function(t,e,n){switch(t){case"blob":return r.newBlob(r.transformTo("arraybuffer",e),n);case"base64":return a.encode(e);default:return r.transformTo(t,e)}}(l,function(t,e){var n,r=0,o=null,i=0;for(n=0;n<e.length;n++)i+=e[n].length;switch(t){case"string":return e.join("");case"array":return Array.prototype.concat.apply([],e);case"uint8array":for(o=new Uint8Array(i),n=0;n<e.length;n++)o.set(e[n],r),r+=e[n].length;return o;case"nodebuffer":return Buffer.concat(e);default:throw new Error("concat : unsupported type '"+t+"'")}}(s,i),d);n(t)}catch(t){o(t)}i=[]})).resume()}))}function u(t,e,n){var a=e;switch(e){case"blob":case"arraybuffer":a="uint8array";break;case"base64":a="string"}try{this._internalType=a,this._outputType=e,this._mimeType=n,r.checkSupport(a),this._worker=t.pipe(new o(a)),t.lock()}catch(t){this._worker=new i("error"),this._worker.error(t)}}u.prototype={accumulate:function(t){return c(this,t)},on:function(t,e){var n=this;return"data"===t?this._worker.on(t,(function(t){e.call(n,t.data,t.meta)})):this._worker.on(t,(function(){r.delay(e,arguments,n)})),this},resume:function(){return r.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(t){if(r.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new d(this,{objectMode:"nodebuffer"!==this._outputType},t)}},e.exports=u},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(t,e,n){"use strict";if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,n.nodebuffer="undefined"!=typeof Buffer,n.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)n.blob=!1;else{var r=new ArrayBuffer(0);try{n.blob=0===new Blob([r],{type:"application/zip"}).size}catch(t){try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);o.append(r),n.blob=0===o.getBlob("application/zip").size}catch(t){n.blob=!1}}}try{n.nodestream=!!t("readable-stream").Readable}catch(t){n.nodestream=!1}},{"readable-stream":16}],31:[function(t,e,n){"use strict";for(var r=t("./utils"),o=t("./support"),i=t("./nodejsUtils"),a=t("./stream/GenericWorker"),s=new Array(256),l=0;l<256;l++)s[l]=l>=252?6:l>=248?5:l>=240?4:l>=224?3:l>=192?2:1;s[254]=s[254]=1;function d(){a.call(this,"utf-8 decode"),this.leftOver=null}function c(){a.call(this,"utf-8 encode")}n.utf8encode=function(t){return o.nodebuffer?i.newBufferFrom(t,"utf-8"):function(t){var e,n,r,i,a,s=t.length,l=0;for(i=0;i<s;i++)55296==(64512&(n=t.charCodeAt(i)))&&i+1<s&&56320==(64512&(r=t.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),l+=n<128?1:n<2048?2:n<65536?3:4;for(e=o.uint8array?new Uint8Array(l):new Array(l),a=0,i=0;a<l;i++)55296==(64512&(n=t.charCodeAt(i)))&&i+1<s&&56320==(64512&(r=t.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),n<128?e[a++]=n:n<2048?(e[a++]=192|n>>>6,e[a++]=128|63&n):n<65536?(e[a++]=224|n>>>12,e[a++]=128|n>>>6&63,e[a++]=128|63&n):(e[a++]=240|n>>>18,e[a++]=128|n>>>12&63,e[a++]=128|n>>>6&63,e[a++]=128|63&n);return e}(t)},n.utf8decode=function(t){return o.nodebuffer?r.transformTo("nodebuffer",t).toString("utf-8"):function(t){var e,n,o,i,a=t.length,l=new Array(2*a);for(n=0,e=0;e<a;)if((o=t[e++])<128)l[n++]=o;else if((i=s[o])>4)l[n++]=65533,e+=i-1;else{for(o&=2===i?31:3===i?15:7;i>1&&e<a;)o=o<<6|63&t[e++],i--;i>1?l[n++]=65533:o<65536?l[n++]=o:(o-=65536,l[n++]=55296|o>>10&1023,l[n++]=56320|1023&o)}return l.length!==n&&(l.subarray?l=l.subarray(0,n):l.length=n),r.applyFromCharCode(l)}(t=r.transformTo(o.uint8array?"uint8array":"array",t))},r.inherits(d,a),d.prototype.processChunk=function(t){var e=r.transformTo(o.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(o.uint8array){var i=e;(e=new Uint8Array(i.length+this.leftOver.length)).set(this.leftOver,0),e.set(i,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var a=function(t,e){var n;for((e=e||t.length)>t.length&&(e=t.length),n=e-1;n>=0&&128==(192&t[n]);)n--;return n<0||0===n?e:n+s[t[n]]>e?n:e}(e),l=e;a!==e.length&&(o.uint8array?(l=e.subarray(0,a),this.leftOver=e.subarray(a,e.length)):(l=e.slice(0,a),this.leftOver=e.slice(a,e.length))),this.push({data:n.utf8decode(l),meta:t.meta})},d.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=d,r.inherits(c,a),c.prototype.processChunk=function(t){this.push({data:n.utf8encode(t.data),meta:t.meta})},n.Utf8EncodeWorker=c},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,e,n){"use strict";var r=t("./support"),o=t("./base64"),i=t("./nodejsUtils"),a=t("set-immediate-shim"),s=t("./external");function l(t){return t}function d(t,e){for(var n=0;n<t.length;++n)e[n]=255&t.charCodeAt(n);return e}n.newBlob=function(t,e){n.checkSupport("blob");try{return new Blob([t],{type:e})}catch(n){try{var r=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return r.append(t),r.getBlob(e)}catch(t){throw new Error("Bug : can't construct the Blob.")}}};var c={stringifyByChunk:function(t,e,n){var r=[],o=0,i=t.length;if(i<=n)return String.fromCharCode.apply(null,t);for(;o<i;)"array"===e||"nodebuffer"===e?r.push(String.fromCharCode.apply(null,t.slice(o,Math.min(o+n,i)))):r.push(String.fromCharCode.apply(null,t.subarray(o,Math.min(o+n,i)))),o+=n;return r.join("")},stringifyByChar:function(t){for(var e="",n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e},applyCanBeUsed:{uint8array:function(){try{return r.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){return!1}}(),nodebuffer:function(){try{return r.nodebuffer&&1===String.fromCharCode.apply(null,i.allocBuffer(1)).length}catch(t){return!1}}()}};function u(t){var e=65536,r=n.getTypeOf(t),o=!0;if("uint8array"===r?o=c.applyCanBeUsed.uint8array:"nodebuffer"===r&&(o=c.applyCanBeUsed.nodebuffer),o)for(;e>1;)try{return c.stringifyByChunk(t,r,e)}catch(t){e=Math.floor(e/2)}return c.stringifyByChar(t)}function f(t,e){for(var n=0;n<t.length;n++)e[n]=t[n];return e}n.applyFromCharCode=u;var h={};h.string={string:l,array:function(t){return d(t,new Array(t.length))},arraybuffer:function(t){return h.string.uint8array(t).buffer},uint8array:function(t){return d(t,new Uint8Array(t.length))},nodebuffer:function(t){return d(t,i.allocBuffer(t.length))}},h.array={string:u,array:l,arraybuffer:function(t){return new Uint8Array(t).buffer},uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return i.newBufferFrom(t)}},h.arraybuffer={string:function(t){return u(new Uint8Array(t))},array:function(t){return f(new Uint8Array(t),new Array(t.byteLength))},arraybuffer:l,uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return i.newBufferFrom(new Uint8Array(t))}},h.uint8array={string:u,array:function(t){return f(t,new Array(t.length))},arraybuffer:function(t){return t.buffer},uint8array:l,nodebuffer:function(t){return i.newBufferFrom(t)}},h.nodebuffer={string:u,array:function(t){return f(t,new Array(t.length))},arraybuffer:function(t){return h.nodebuffer.uint8array(t).buffer},uint8array:function(t){return f(t,new Uint8Array(t.length))},nodebuffer:l},n.transformTo=function(t,e){if(e||(e=""),!t)return e;n.checkSupport(t);var r=n.getTypeOf(e);return h[r][t](e)},n.getTypeOf=function(t){return"string"==typeof t?"string":"[object Array]"===Object.prototype.toString.call(t)?"array":r.nodebuffer&&i.isBuffer(t)?"nodebuffer":r.uint8array&&t instanceof Uint8Array?"uint8array":r.arraybuffer&&t instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(t){if(!r[t.toLowerCase()])throw new Error(t+" is not supported by this platform")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(t){var e,n,r="";for(n=0;n<(t||"").length;n++)r+="\\x"+((e=t.charCodeAt(n))<16?"0":"")+e.toString(16).toUpperCase();return r},n.delay=function(t,e,n){a((function(){t.apply(n||null,e||[])}))},n.inherits=function(t,e){var n=function(){};n.prototype=e.prototype,t.prototype=new n},n.extend=function(){var t,e,n={};for(t=0;t<arguments.length;t++)for(e in arguments[t])arguments[t].hasOwnProperty(e)&&void 0===n[e]&&(n[e]=arguments[t][e]);return n},n.prepareContent=function(t,e,i,a,l){return s.Promise.resolve(e).then((function(t){return r.blob&&(t instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(t)))&&"undefined"!=typeof FileReader?new s.Promise((function(e,n){var r=new FileReader;r.onload=function(t){e(t.target.result)},r.onerror=function(t){n(t.target.error)},r.readAsArrayBuffer(t)})):t})).then((function(e){var c,u=n.getTypeOf(e);return u?("arraybuffer"===u?e=n.transformTo("uint8array",e):"string"===u&&(l?e=o.decode(e):i&&!0!==a&&(e=d(c=e,r.uint8array?new Uint8Array(c.length):new Array(c.length)))),e):s.Promise.reject(new Error("Can't read the data of '"+t+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"set-immediate-shim":54}],33:[function(t,e,n){"use strict";var r=t("./reader/readerFor"),o=t("./utils"),i=t("./signature"),a=t("./zipEntry"),s=(t("./utf8"),t("./support"));function l(t){this.files=[],this.loadOptions=t}l.prototype={checkSignature:function(t){if(!this.reader.readAndCheckSignature(t)){this.reader.index-=4;var e=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+o.pretty(e)+", expected "+o.pretty(t)+")")}},isSignature:function(t,e){var n=this.reader.index;this.reader.setIndex(t);var r=this.reader.readString(4)===e;return this.reader.setIndex(n),r},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var t=this.reader.readData(this.zipCommentLength),e=s.uint8array?"uint8array":"array",n=o.transformTo(e,t);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var t,e,n,r=this.zip64EndOfCentralSize-44;0<r;)t=this.reader.readInt(2),e=this.reader.readInt(4),n=this.reader.readData(e),this.zip64ExtensibleData[t]={id:t,length:e,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var t,e;for(t=0;t<this.files.length;t++)e=this.files[t],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(i.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var t;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(i.CENTRAL_FILE_HEADER);)(t=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(t);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var t=this.reader.lastIndexOfSignature(i.CENTRAL_DIRECTORY_END);if(t<0)throw!this.isSignature(0,i.LOCAL_FILE_HEADER)?new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html"):new Error("Corrupted zip: can't find end of central directory");this.reader.setIndex(t);var e=t;if(this.checkSignature(i.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===o.MAX_VALUE_16BITS||this.diskWithCentralDirStart===o.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===o.MAX_VALUE_16BITS||this.centralDirRecords===o.MAX_VALUE_16BITS||this.centralDirSize===o.MAX_VALUE_32BITS||this.centralDirOffset===o.MAX_VALUE_32BITS){if(this.zip64=!0,(t=this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(t),this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,i.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var r=e-n;if(r>0)this.isSignature(e,i.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw new Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(t){this.reader=r(t)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},e.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(t,e,n){"use strict";var r=t("./reader/readerFor"),o=t("./utils"),i=t("./compressedObject"),a=t("./crc32"),s=t("./utf8"),l=t("./compressions"),d=t("./support");function c(t,e){this.options=t,this.loadOptions=e}c.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(t){var e,n;if(t.skip(22),this.fileNameLength=t.readInt(2),n=t.readInt(2),this.fileName=t.readData(this.fileNameLength),t.skip(n),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(e=function(t){for(var e in l)if(l.hasOwnProperty(e)&&l[e].magic===t)return l[e];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+o.pretty(this.compressionMethod)+" unknown (inner file : "+o.transformTo("string",this.fileName)+")");this.decompressed=new i(this.compressedSize,this.uncompressedSize,this.crc32,e,t.readData(this.compressedSize))},readCentralPart:function(t){this.versionMadeBy=t.readInt(2),t.skip(2),this.bitFlag=t.readInt(2),this.compressionMethod=t.readString(2),this.date=t.readDate(),this.crc32=t.readInt(4),this.compressedSize=t.readInt(4),this.uncompressedSize=t.readInt(4);var e=t.readInt(2);if(this.extraFieldsLength=t.readInt(2),this.fileCommentLength=t.readInt(2),this.diskNumberStart=t.readInt(2),this.internalFileAttributes=t.readInt(2),this.externalFileAttributes=t.readInt(4),this.localHeaderOffset=t.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");t.skip(e),this.readExtraFields(t),this.parseZIP64ExtraField(t),this.fileComment=t.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var t=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0===t&&(this.dosPermissions=63&this.externalFileAttributes),3===t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){if(this.extraFields[1]){var e=r(this.extraFields[1].value);this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(t){var e,n,r,o=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4<o;)e=t.readInt(2),n=t.readInt(2),r=t.readData(n),this.extraFields[e]={id:e,length:n,value:r};t.setIndex(o)},handleUTF8:function(){var t=d.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var e=this.findExtraFieldUnicodePath();if(null!==e)this.fileNameStr=e;else{var n=o.transformTo(t,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(null!==r)this.fileCommentStr=r;else{var i=o.transformTo(t,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var e=r(t.value);return 1!==e.readInt(1)||a(this.fileName)!==e.readInt(4)?null:s.utf8decode(e.readData(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var e=r(t.value);return 1!==e.readInt(1)||a(this.fileComment)!==e.readInt(4)?null:s.utf8decode(e.readData(t.length-5))}return null}},e.exports=c},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(t,e,n){"use strict";var r=t("./stream/StreamHelper"),o=t("./stream/DataWorker"),i=t("./utf8"),a=t("./compressedObject"),s=t("./stream/GenericWorker"),l=function(t,e,n){this.name=t,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=e,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}};l.prototype={internalStream:function(t){var e=null,n="string";try{if(!t)throw new Error("No output type specified.");var o="string"===(n=t.toLowerCase())||"text"===n;"binarystring"!==n&&"text"!==n||(n="string"),e=this._decompressWorker();var a=!this._dataBinary;a&&!o&&(e=e.pipe(new i.Utf8EncodeWorker)),!a&&o&&(e=e.pipe(new i.Utf8DecodeWorker))}catch(t){(e=new s("error")).error(t)}return new r(e,n,"")},async:function(t,e){return this.internalStream(t).accumulate(e)},nodeStream:function(t,e){return this.internalStream(t||"nodebuffer").toNodejsStream(e)},_compressWorker:function(t,e){if(this._data instanceof a&&this._data.compression.magic===t.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new i.Utf8EncodeWorker)),a.createWorkerFrom(n,t,e)},_decompressWorker:function(){return this._data instanceof a?this._data.getContentWorker():this._data instanceof s?this._data:new o(this._data)}};for(var d=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],c=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},u=0;u<d.length;u++)l.prototype[d[u]]=c;e.exports=l},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(t,e,n){(function(t){"use strict";var n,r,o=t.MutationObserver||t.WebKitMutationObserver;if(o){var i=0,a=new o(c),s=t.document.createTextNode("");a.observe(s,{characterData:!0}),n=function(){s.data=i=++i%2}}else if(t.setImmediate||void 0===t.MessageChannel)n="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var e=t.document.createElement("script");e.onreadystatechange=function(){c(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},t.document.documentElement.appendChild(e)}:function(){setTimeout(c,0)};else{var l=new t.MessageChannel;l.port1.onmessage=c,n=function(){l.port2.postMessage(0)}}var d=[];function c(){var t,e;r=!0;for(var n=d.length;n;){for(e=d,d=[],t=-1;++t<n;)e[t]();n=d.length}r=!1}e.exports=function(t){1!==d.push(t)||r||n()}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(t,e,n){"use strict";var r=t("immediate");function o(){}var i={},a=["REJECTED"],s=["FULFILLED"],l=["PENDING"];function d(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,t!==o&&h(this,t)}function c(t,e,n){this.promise=t,"function"==typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function u(t,e,n){r((function(){var r;try{r=e(n)}catch(e){return i.reject(t,e)}r===t?i.reject(t,new TypeError("Cannot resolve promise with itself")):i.resolve(t,r)}))}function f(t){var e=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof e)return function(){e.apply(t,arguments)}}function h(t,e){var n=!1;function r(e){n||(n=!0,i.reject(t,e))}function o(e){n||(n=!0,i.resolve(t,e))}var a=p((function(){e(o,r)}));"error"===a.status&&r(a.value)}function p(t,e){var n={};try{n.value=t(e),n.status="success"}catch(t){n.status="error",n.value=t}return n}e.exports=d,d.prototype.finally=function(t){if("function"!=typeof t)return this;var e=this.constructor;return this.then((function(n){return e.resolve(t()).then((function(){return n}))}),(function(n){return e.resolve(t()).then((function(){throw n}))}))},d.prototype.catch=function(t){return this.then(null,t)},d.prototype.then=function(t,e){if("function"!=typeof t&&this.state===s||"function"!=typeof e&&this.state===a)return this;var n=new this.constructor(o);this.state!==l?u(n,this.state===s?t:e,this.outcome):this.queue.push(new c(n,t,e));return n},c.prototype.callFulfilled=function(t){i.resolve(this.promise,t)},c.prototype.otherCallFulfilled=function(t){u(this.promise,this.onFulfilled,t)},c.prototype.callRejected=function(t){i.reject(this.promise,t)},c.prototype.otherCallRejected=function(t){u(this.promise,this.onRejected,t)},i.resolve=function(t,e){var n=p(f,e);if("error"===n.status)return i.reject(t,n.value);var r=n.value;if(r)h(t,r);else{t.state=s,t.outcome=e;for(var o=-1,a=t.queue.length;++o<a;)t.queue[o].callFulfilled(e)}return t},i.reject=function(t,e){t.state=a,t.outcome=e;for(var n=-1,r=t.queue.length;++n<r;)t.queue[n].callRejected(e);return t},d.resolve=function(t){if(t instanceof this)return t;return i.resolve(new this(o),t)},d.reject=function(t){var e=new this(o);return i.reject(e,t)},d.all=function(t){var e=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var n=t.length,r=!1;if(!n)return this.resolve([]);var a=new Array(n),s=0,l=-1,d=new this(o);for(;++l<n;)c(t[l],l);return d;function c(t,o){e.resolve(t).then((function(t){a[o]=t,++s!==n||r||(r=!0,i.resolve(d,a))}),(function(t){r||(r=!0,i.reject(d,t))}))}},d.race=function(t){var e=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var n=t.length,r=!1;if(!n)return this.resolve([]);var a=-1,s=new this(o);for(;++a<n;)l=t[a],e.resolve(l).then((function(t){r||(r=!0,i.resolve(s,t))}),(function(t){r||(r=!0,i.reject(s,t))}));var l;return s}},{immediate:36}],38:[function(t,e,n){"use strict";var r={};(0,t("./lib/utils/common").assign)(r,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),e.exports=r},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(t,e,n){"use strict";var r=t("./zlib/deflate"),o=t("./utils/common"),i=t("./utils/strings"),a=t("./zlib/messages"),s=t("./zlib/zstream"),l=Object.prototype.toString;function d(t){if(!(this instanceof d))return new d(t);this.options=o.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(0!==n)throw new Error(a[n]);if(e.header&&r.deflateSetHeader(this.strm,e.header),e.dictionary){var c;if(c="string"==typeof e.dictionary?i.string2buf(e.dictionary):"[object ArrayBuffer]"===l.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,0!==(n=r.deflateSetDictionary(this.strm,c)))throw new Error(a[n]);this._dict_set=!0}}function c(t,e){var n=new d(e);if(n.push(t,!0),n.err)throw n.msg||a[n.err];return n.result}d.prototype.push=function(t,e){var n,a,s=this.strm,d=this.options.chunkSize;if(this.ended)return!1;a=e===~~e?e:!0===e?4:0,"string"==typeof t?s.input=i.string2buf(t):"[object ArrayBuffer]"===l.call(t)?s.input=new Uint8Array(t):s.input=t,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new o.Buf8(d),s.next_out=0,s.avail_out=d),1!==(n=r.deflate(s,a))&&0!==n)return this.onEnd(n),this.ended=!0,!1;0!==s.avail_out&&(0!==s.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(i.buf2binstring(o.shrinkBuf(s.output,s.next_out))):this.onData(o.shrinkBuf(s.output,s.next_out)))}while((s.avail_in>0||0===s.avail_out)&&1!==n);return 4===a?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,0===n):2!==a||(this.onEnd(0),s.avail_out=0,!0)},d.prototype.onData=function(t){this.chunks.push(t)},d.prototype.onEnd=function(t){0===t&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},n.Deflate=d,n.deflate=c,n.deflateRaw=function(t,e){return(e=e||{}).raw=!0,c(t,e)},n.gzip=function(t,e){return(e=e||{}).gzip=!0,c(t,e)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(t,e,n){"use strict";var r=t("./zlib/inflate"),o=t("./utils/common"),i=t("./utils/strings"),a=t("./zlib/constants"),s=t("./zlib/messages"),l=t("./zlib/zstream"),d=t("./zlib/gzheader"),c=Object.prototype.toString;function u(t){if(!(this instanceof u))return new u(t);this.options=o.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,e.windowBits);if(n!==a.Z_OK)throw new Error(s[n]);this.header=new d,r.inflateGetHeader(this.strm,this.header)}function f(t,e){var n=new u(e);if(n.push(t,!0),n.err)throw n.msg||s[n.err];return n.result}u.prototype.push=function(t,e){var n,s,l,d,u,f,h=this.strm,p=this.options.chunkSize,m=this.options.dictionary,b=!1;if(this.ended)return!1;s=e===~~e?e:!0===e?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof t?h.input=i.binstring2buf(t):"[object ArrayBuffer]"===c.call(t)?h.input=new Uint8Array(t):h.input=t,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new o.Buf8(p),h.next_out=0,h.avail_out=p),(n=r.inflate(h,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&m&&(f="string"==typeof m?i.string2buf(m):"[object ArrayBuffer]"===c.call(m)?new Uint8Array(m):m,n=r.inflateSetDictionary(this.strm,f)),n===a.Z_BUF_ERROR&&!0===b&&(n=a.Z_OK,b=!1),n!==a.Z_STREAM_END&&n!==a.Z_OK)return this.onEnd(n),this.ended=!0,!1;h.next_out&&(0!==h.avail_out&&n!==a.Z_STREAM_END&&(0!==h.avail_in||s!==a.Z_FINISH&&s!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(l=i.utf8border(h.output,h.next_out),d=h.next_out-l,u=i.buf2string(h.output,l),h.next_out=d,h.avail_out=p-d,d&&o.arraySet(h.output,h.output,l,d,0),this.onData(u)):this.onData(o.shrinkBuf(h.output,h.next_out)))),0===h.avail_in&&0===h.avail_out&&(b=!0)}while((h.avail_in>0||0===h.avail_out)&&n!==a.Z_STREAM_END);return n===a.Z_STREAM_END&&(s=a.Z_FINISH),s===a.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===a.Z_OK):s!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),h.avail_out=0,!0)},u.prototype.onData=function(t){this.chunks.push(t)},u.prototype.onEnd=function(t){t===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},n.Inflate=u,n.inflate=f,n.inflateRaw=function(t,e){return(e=e||{}).raw=!0,f(t,e)},n.ungzip=f},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(t,e,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var n=e.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)n.hasOwnProperty(r)&&(t[r]=n[r])}}return t},n.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var o={arraySet:function(t,e,n,r,o){if(e.subarray&&t.subarray)t.set(e.subarray(n,n+r),o);else for(var i=0;i<r;i++)t[o+i]=e[n+i]},flattenChunks:function(t){var e,n,r,o,i,a;for(r=0,e=0,n=t.length;e<n;e++)r+=t[e].length;for(a=new Uint8Array(r),o=0,e=0,n=t.length;e<n;e++)i=t[e],a.set(i,o),o+=i.length;return a}},i={arraySet:function(t,e,n,r,o){for(var i=0;i<r;i++)t[o+i]=e[n+i]},flattenChunks:function(t){return[].concat.apply([],t)}};n.setTyped=function(t){t?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,o)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,i))},n.setTyped(r)},{}],42:[function(t,e,n){"use strict";var r=t("./common"),o=!0,i=!0;try{String.fromCharCode.apply(null,[0])}catch(t){o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){i=!1}for(var a=new r.Buf8(256),s=0;s<256;s++)a[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;function l(t,e){if(e<65537&&(t.subarray&&i||!t.subarray&&o))return String.fromCharCode.apply(null,r.shrinkBuf(t,e));for(var n="",a=0;a<e;a++)n+=String.fromCharCode(t[a]);return n}a[254]=a[254]=1,n.string2buf=function(t){var e,n,o,i,a,s=t.length,l=0;for(i=0;i<s;i++)55296==(64512&(n=t.charCodeAt(i)))&&i+1<s&&56320==(64512&(o=t.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(o-56320),i++),l+=n<128?1:n<2048?2:n<65536?3:4;for(e=new r.Buf8(l),a=0,i=0;a<l;i++)55296==(64512&(n=t.charCodeAt(i)))&&i+1<s&&56320==(64512&(o=t.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(o-56320),i++),n<128?e[a++]=n:n<2048?(e[a++]=192|n>>>6,e[a++]=128|63&n):n<65536?(e[a++]=224|n>>>12,e[a++]=128|n>>>6&63,e[a++]=128|63&n):(e[a++]=240|n>>>18,e[a++]=128|n>>>12&63,e[a++]=128|n>>>6&63,e[a++]=128|63&n);return e},n.buf2binstring=function(t){return l(t,t.length)},n.binstring2buf=function(t){for(var e=new r.Buf8(t.length),n=0,o=e.length;n<o;n++)e[n]=t.charCodeAt(n);return e},n.buf2string=function(t,e){var n,r,o,i,s=e||t.length,d=new Array(2*s);for(r=0,n=0;n<s;)if((o=t[n++])<128)d[r++]=o;else if((i=a[o])>4)d[r++]=65533,n+=i-1;else{for(o&=2===i?31:3===i?15:7;i>1&&n<s;)o=o<<6|63&t[n++],i--;i>1?d[r++]=65533:o<65536?d[r++]=o:(o-=65536,d[r++]=55296|o>>10&1023,d[r++]=56320|1023&o)}return l(d,r)},n.utf8border=function(t,e){var n;for((e=e||t.length)>t.length&&(e=t.length),n=e-1;n>=0&&128==(192&t[n]);)n--;return n<0||0===n?e:n+a[t[n]]>e?n:e}},{"./common":41}],43:[function(t,e,n){"use strict";e.exports=function(t,e,n,r){for(var o=65535&t|0,i=t>>>16&65535|0,a=0;0!==n;){n-=a=n>2e3?2e3:n;do{i=i+(o=o+e[r++]|0)|0}while(--a);o%=65521,i%=65521}return o|i<<16|0}},{}],44:[function(t,e,n){"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(t,e,n){"use strict";var r=function(){for(var t,e=[],n=0;n<256;n++){t=n;for(var r=0;r<8;r++)t=1&t?3988292384^t>>>1:t>>>1;e[n]=t}return e}();e.exports=function(t,e,n,o){var i=r,a=o+n;t^=-1;for(var s=o;s<a;s++)t=t>>>8^i[255&(t^e[s])];return-1^t}},{}],46:[function(t,e,n){"use strict";var r,o=t("../utils/common"),i=t("./trees"),a=t("./adler32"),s=t("./crc32"),l=t("./messages"),d=-2,c=258,u=262,f=103,h=113,p=666;function m(t,e){return t.msg=l[e],e}function b(t){return(t<<1)-(t>4?9:0)}function g(t){for(var e=t.length;--e>=0;)t[e]=0}function v(t){var e=t.state,n=e.pending;n>t.avail_out&&(n=t.avail_out),0!==n&&(o.arraySet(t.output,e.pending_buf,e.pending_out,n,t.next_out),t.next_out+=n,e.pending_out+=n,t.total_out+=n,t.avail_out-=n,e.pending-=n,0===e.pending&&(e.pending_out=0))}function y(t,e){i._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,v(t.strm)}function _(t,e){t.pending_buf[t.pending++]=e}function w(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function x(t,e){var n,r,o=t.max_chain_length,i=t.strstart,a=t.prev_length,s=t.nice_match,l=t.strstart>t.w_size-u?t.strstart-(t.w_size-u):0,d=t.window,f=t.w_mask,h=t.prev,p=t.strstart+c,m=d[i+a-1],b=d[i+a];t.prev_length>=t.good_match&&(o>>=2),s>t.lookahead&&(s=t.lookahead);do{if(d[(n=e)+a]===b&&d[n+a-1]===m&&d[n]===d[i]&&d[++n]===d[i+1]){i+=2,n++;do{}while(d[++i]===d[++n]&&d[++i]===d[++n]&&d[++i]===d[++n]&&d[++i]===d[++n]&&d[++i]===d[++n]&&d[++i]===d[++n]&&d[++i]===d[++n]&&d[++i]===d[++n]&&i<p);if(r=c-(p-i),i=p-c,r>a){if(t.match_start=e,a=r,r>=s)break;m=d[i+a-1],b=d[i+a]}}}while((e=h[e&f])>l&&0!=--o);return a<=t.lookahead?a:t.lookahead}function C(t){var e,n,r,i,l,d,c,f,h,p,m=t.w_size;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=m+(m-u)){o.arraySet(t.window,t.window,m,m,0),t.match_start-=m,t.strstart-=m,t.block_start-=m,e=n=t.hash_size;do{r=t.head[--e],t.head[e]=r>=m?r-m:0}while(--n);e=n=m;do{r=t.prev[--e],t.prev[e]=r>=m?r-m:0}while(--n);i+=m}if(0===t.strm.avail_in)break;if(d=t.strm,c=t.window,f=t.strstart+t.lookahead,h=i,p=void 0,(p=d.avail_in)>h&&(p=h),n=0===p?0:(d.avail_in-=p,o.arraySet(c,d.input,d.next_in,p,f),1===d.state.wrap?d.adler=a(d.adler,c,p,f):2===d.state.wrap&&(d.adler=s(d.adler,c,p,f)),d.next_in+=p,d.total_in+=p,p),t.lookahead+=n,t.lookahead+t.insert>=3)for(l=t.strstart-t.insert,t.ins_h=t.window[l],t.ins_h=(t.ins_h<<t.hash_shift^t.window[l+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[l+3-1])&t.hash_mask,t.prev[l&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=l,l++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<u&&0!==t.strm.avail_in)}function S(t,e){for(var n,r;;){if(t.lookahead<u){if(C(t),t.lookahead<u&&0===e)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==n&&t.strstart-n<=t.w_size-u&&(t.match_length=x(t,n)),t.match_length>=3)if(r=i._tr_tally(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else r=i._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(r&&(y(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(y(t,!1),0===t.strm.avail_out)?1:2}function T(t,e){for(var n,r,o;;){if(t.lookahead<u){if(C(t),t.lookahead<u&&0===e)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==n&&t.prev_length<t.max_lazy_match&&t.strstart-n<=t.w_size-u&&(t.match_length=x(t,n),t.match_length<=5&&(1===t.strategy||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){o=t.strstart+t.lookahead-3,r=i._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=o&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,r&&(y(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((r=i._tr_tally(t,0,t.window[t.strstart-1]))&&y(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(r=i._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(y(t,!1),0===t.strm.avail_out)?1:2}function I(t,e,n,r,o){this.good_length=t,this.max_lazy=e,this.nice_length=n,this.max_chain=r,this.func=o}function k(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new o.Buf16(1146),this.dyn_dtree=new o.Buf16(122),this.bl_tree=new o.Buf16(78),g(this.dyn_ltree),g(this.dyn_dtree),g(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new o.Buf16(16),this.heap=new o.Buf16(573),g(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new o.Buf16(573),g(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function D(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=2,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:h,t.adler=2===e.wrap?0:1,e.last_flush=0,i._tr_init(e),0):m(t,d)}function F(t){var e,n=D(t);return 0===n&&((e=t.state).window_size=2*e.w_size,g(e.head),e.max_lazy_match=r[e.level].max_lazy,e.good_match=r[e.level].good_length,e.nice_match=r[e.level].nice_length,e.max_chain_length=r[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),n}function A(t,e,n,r,i,a){if(!t)return d;var s=1;if(-1===e&&(e=6),r<0?(s=0,r=-r):r>15&&(s=2,r-=16),i<1||i>9||8!==n||r<8||r>15||e<0||e>9||a<0||a>4)return m(t,d);8===r&&(r=9);var l=new k;return t.state=l,l.strm=t,l.wrap=s,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=i+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+3-1)/3),l.window=new o.Buf8(2*l.w_size),l.head=new o.Buf16(l.hash_size),l.prev=new o.Buf16(l.w_size),l.lit_bufsize=1<<i+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new o.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=e,l.strategy=a,l.method=n,F(t)}r=[new I(0,0,0,0,(function(t,e){var n=65535;for(n>t.pending_buf_size-5&&(n=t.pending_buf_size-5);;){if(t.lookahead<=1){if(C(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var r=t.block_start+n;if((0===t.strstart||t.strstart>=r)&&(t.lookahead=t.strstart-r,t.strstart=r,y(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-u&&(y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(y(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(y(t,!1),t.strm.avail_out),1)})),new I(4,4,8,4,S),new I(4,5,16,8,S),new I(4,6,32,32,S),new I(4,4,16,16,T),new I(8,16,32,32,T),new I(8,16,128,128,T),new I(8,32,128,256,T),new I(32,128,258,1024,T),new I(32,258,258,4096,T)],n.deflateInit=function(t,e){return A(t,e,8,15,8,0)},n.deflateInit2=A,n.deflateReset=F,n.deflateResetKeep=D,n.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?d:(t.state.gzhead=e,0):d},n.deflate=function(t,e){var n,o,a,l;if(!t||!t.state||e>5||e<0)return t?m(t,d):d;if(o=t.state,!t.output||!t.input&&0!==t.avail_in||o.status===p&&4!==e)return m(t,0===t.avail_out?-5:d);if(o.strm=t,n=o.last_flush,o.last_flush=e,42===o.status)if(2===o.wrap)t.adler=0,_(o,31),_(o,139),_(o,8),o.gzhead?(_(o,(o.gzhead.text?1:0)+(o.gzhead.hcrc?2:0)+(o.gzhead.extra?4:0)+(o.gzhead.name?8:0)+(o.gzhead.comment?16:0)),_(o,255&o.gzhead.time),_(o,o.gzhead.time>>8&255),_(o,o.gzhead.time>>16&255),_(o,o.gzhead.time>>24&255),_(o,9===o.level?2:o.strategy>=2||o.level<2?4:0),_(o,255&o.gzhead.os),o.gzhead.extra&&o.gzhead.extra.length&&(_(o,255&o.gzhead.extra.length),_(o,o.gzhead.extra.length>>8&255)),o.gzhead.hcrc&&(t.adler=s(t.adler,o.pending_buf,o.pending,0)),o.gzindex=0,o.status=69):(_(o,0),_(o,0),_(o,0),_(o,0),_(o,0),_(o,9===o.level?2:o.strategy>=2||o.level<2?4:0),_(o,3),o.status=h);else{var u=8+(o.w_bits-8<<4)<<8;u|=(o.strategy>=2||o.level<2?0:o.level<6?1:6===o.level?2:3)<<6,0!==o.strstart&&(u|=32),u+=31-u%31,o.status=h,w(o,u),0!==o.strstart&&(w(o,t.adler>>>16),w(o,65535&t.adler)),t.adler=1}if(69===o.status)if(o.gzhead.extra){for(a=o.pending;o.gzindex<(65535&o.gzhead.extra.length)&&(o.pending!==o.pending_buf_size||(o.gzhead.hcrc&&o.pending>a&&(t.adler=s(t.adler,o.pending_buf,o.pending-a,a)),v(t),a=o.pending,o.pending!==o.pending_buf_size));)_(o,255&o.gzhead.extra[o.gzindex]),o.gzindex++;o.gzhead.hcrc&&o.pending>a&&(t.adler=s(t.adler,o.pending_buf,o.pending-a,a)),o.gzindex===o.gzhead.extra.length&&(o.gzindex=0,o.status=73)}else o.status=73;if(73===o.status)if(o.gzhead.name){a=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>a&&(t.adler=s(t.adler,o.pending_buf,o.pending-a,a)),v(t),a=o.pending,o.pending===o.pending_buf_size)){l=1;break}l=o.gzindex<o.gzhead.name.length?255&o.gzhead.name.charCodeAt(o.gzindex++):0,_(o,l)}while(0!==l);o.gzhead.hcrc&&o.pending>a&&(t.adler=s(t.adler,o.pending_buf,o.pending-a,a)),0===l&&(o.gzindex=0,o.status=91)}else o.status=91;if(91===o.status)if(o.gzhead.comment){a=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>a&&(t.adler=s(t.adler,o.pending_buf,o.pending-a,a)),v(t),a=o.pending,o.pending===o.pending_buf_size)){l=1;break}l=o.gzindex<o.gzhead.comment.length?255&o.gzhead.comment.charCodeAt(o.gzindex++):0,_(o,l)}while(0!==l);o.gzhead.hcrc&&o.pending>a&&(t.adler=s(t.adler,o.pending_buf,o.pending-a,a)),0===l&&(o.status=f)}else o.status=f;if(o.status===f&&(o.gzhead.hcrc?(o.pending+2>o.pending_buf_size&&v(t),o.pending+2<=o.pending_buf_size&&(_(o,255&t.adler),_(o,t.adler>>8&255),t.adler=0,o.status=h)):o.status=h),0!==o.pending){if(v(t),0===t.avail_out)return o.last_flush=-1,0}else if(0===t.avail_in&&b(e)<=b(n)&&4!==e)return m(t,-5);if(o.status===p&&0!==t.avail_in)return m(t,-5);if(0!==t.avail_in||0!==o.lookahead||0!==e&&o.status!==p){var x=2===o.strategy?function(t,e){for(var n;;){if(0===t.lookahead&&(C(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,n=i._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,n&&(y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(y(t,!1),0===t.strm.avail_out)?1:2}(o,e):3===o.strategy?function(t,e){for(var n,r,o,a,s=t.window;;){if(t.lookahead<=c){if(C(t),t.lookahead<=c&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(r=s[o=t.strstart-1])===s[++o]&&r===s[++o]&&r===s[++o]){a=t.strstart+c;do{}while(r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&o<a);t.match_length=c-(a-o),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(n=i._tr_tally(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(n=i._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),n&&(y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(y(t,!1),0===t.strm.avail_out)?1:2}(o,e):r[o.level].func(o,e);if(3!==x&&4!==x||(o.status=p),1===x||3===x)return 0===t.avail_out&&(o.last_flush=-1),0;if(2===x&&(1===e?i._tr_align(o):5!==e&&(i._tr_stored_block(o,0,0,!1),3===e&&(g(o.head),0===o.lookahead&&(o.strstart=0,o.block_start=0,o.insert=0))),v(t),0===t.avail_out))return o.last_flush=-1,0}return 4!==e?0:o.wrap<=0?1:(2===o.wrap?(_(o,255&t.adler),_(o,t.adler>>8&255),_(o,t.adler>>16&255),_(o,t.adler>>24&255),_(o,255&t.total_in),_(o,t.total_in>>8&255),_(o,t.total_in>>16&255),_(o,t.total_in>>24&255)):(w(o,t.adler>>>16),w(o,65535&t.adler)),v(t),o.wrap>0&&(o.wrap=-o.wrap),0!==o.pending?0:1)},n.deflateEnd=function(t){var e;return t&&t.state?42!==(e=t.state.status)&&69!==e&&73!==e&&91!==e&&e!==f&&e!==h&&e!==p?m(t,d):(t.state=null,e===h?m(t,-3):0):d},n.deflateSetDictionary=function(t,e){var n,r,i,s,l,c,u,f,h=e.length;if(!t||!t.state)return d;if(2===(s=(n=t.state).wrap)||1===s&&42!==n.status||n.lookahead)return d;for(1===s&&(t.adler=a(t.adler,e,h,0)),n.wrap=0,h>=n.w_size&&(0===s&&(g(n.head),n.strstart=0,n.block_start=0,n.insert=0),f=new o.Buf8(n.w_size),o.arraySet(f,e,h-n.w_size,n.w_size,0),e=f,h=n.w_size),l=t.avail_in,c=t.next_in,u=t.input,t.avail_in=h,t.next_in=0,t.input=e,C(n);n.lookahead>=3;){r=n.strstart,i=n.lookahead-2;do{n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+3-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++}while(--i);n.strstart=r,n.lookahead=2,C(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=c,t.input=u,t.avail_in=l,n.wrap=s,0},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(t,e,n){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(t,e,n){"use strict";e.exports=function(t,e){var n,r,o,i,a,s,l,d,c,u,f,h,p,m,b,g,v,y,_,w,x,C,S,T,I;n=t.state,r=t.next_in,T=t.input,o=r+(t.avail_in-5),i=t.next_out,I=t.output,a=i-(e-t.avail_out),s=i+(t.avail_out-257),l=n.dmax,d=n.wsize,c=n.whave,u=n.wnext,f=n.window,h=n.hold,p=n.bits,m=n.lencode,b=n.distcode,g=(1<<n.lenbits)-1,v=(1<<n.distbits)-1;t:do{p<15&&(h+=T[r++]<<p,p+=8,h+=T[r++]<<p,p+=8),y=m[h&g];e:for(;;){if(h>>>=_=y>>>24,p-=_,0===(_=y>>>16&255))I[i++]=65535&y;else{if(!(16&_)){if(0==(64&_)){y=m[(65535&y)+(h&(1<<_)-1)];continue e}if(32&_){n.mode=12;break t}t.msg="invalid literal/length code",n.mode=30;break t}w=65535&y,(_&=15)&&(p<_&&(h+=T[r++]<<p,p+=8),w+=h&(1<<_)-1,h>>>=_,p-=_),p<15&&(h+=T[r++]<<p,p+=8,h+=T[r++]<<p,p+=8),y=b[h&v];n:for(;;){if(h>>>=_=y>>>24,p-=_,!(16&(_=y>>>16&255))){if(0==(64&_)){y=b[(65535&y)+(h&(1<<_)-1)];continue n}t.msg="invalid distance code",n.mode=30;break t}if(x=65535&y,p<(_&=15)&&(h+=T[r++]<<p,(p+=8)<_&&(h+=T[r++]<<p,p+=8)),(x+=h&(1<<_)-1)>l){t.msg="invalid distance too far back",n.mode=30;break t}if(h>>>=_,p-=_,x>(_=i-a)){if((_=x-_)>c&&n.sane){t.msg="invalid distance too far back",n.mode=30;break t}if(C=0,S=f,0===u){if(C+=d-_,_<w){w-=_;do{I[i++]=f[C++]}while(--_);C=i-x,S=I}}else if(u<_){if(C+=d+u-_,(_-=u)<w){w-=_;do{I[i++]=f[C++]}while(--_);if(C=0,u<w){w-=_=u;do{I[i++]=f[C++]}while(--_);C=i-x,S=I}}}else if(C+=u-_,_<w){w-=_;do{I[i++]=f[C++]}while(--_);C=i-x,S=I}for(;w>2;)I[i++]=S[C++],I[i++]=S[C++],I[i++]=S[C++],w-=3;w&&(I[i++]=S[C++],w>1&&(I[i++]=S[C++]))}else{C=i-x;do{I[i++]=I[C++],I[i++]=I[C++],I[i++]=I[C++],w-=3}while(w>2);w&&(I[i++]=I[C++],w>1&&(I[i++]=I[C++]))}break}}break}}while(r<o&&i<s);r-=w=p>>3,h&=(1<<(p-=w<<3))-1,t.next_in=r,t.next_out=i,t.avail_in=r<o?o-r+5:5-(r-o),t.avail_out=i<s?s-i+257:257-(i-s),n.hold=h,n.bits=p}},{}],49:[function(t,e,n){"use strict";var r=t("../utils/common"),o=t("./adler32"),i=t("./crc32"),a=t("./inffast"),s=t("./inftrees"),l=-2,d=12,c=30;function u(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function f(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function h(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=1,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new r.Buf32(852),e.distcode=e.distdyn=new r.Buf32(592),e.sane=1,e.back=-1,0):l}function p(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,h(t)):l}function m(t,e){var n,r;return t&&t.state?(r=t.state,e<0?(n=0,e=-e):(n=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?l:(null!==r.window&&r.wbits!==e&&(r.window=null),r.wrap=n,r.wbits=e,p(t))):l}function b(t,e){var n,r;return t?(r=new f,t.state=r,r.window=null,0!==(n=m(t,e))&&(t.state=null),n):l}var g,v,y=!0;function _(t){if(y){var e;for(g=new r.Buf32(512),v=new r.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(s(1,t.lens,0,288,g,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;s(2,t.lens,0,32,v,0,t.work,{bits:5}),y=!1}t.lencode=g,t.lenbits=9,t.distcode=v,t.distbits=5}function w(t,e,n,o){var i,a=t.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new r.Buf8(a.wsize)),o>=a.wsize?(r.arraySet(a.window,e,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((i=a.wsize-a.wnext)>o&&(i=o),r.arraySet(a.window,e,n-o,i,a.wnext),(o-=i)?(r.arraySet(a.window,e,n-o,o,0),a.wnext=o,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0}n.inflateReset=p,n.inflateReset2=m,n.inflateResetKeep=h,n.inflateInit=function(t){return b(t,15)},n.inflateInit2=b,n.inflate=function(t,e){var n,f,h,p,m,b,g,v,y,x,C,S,T,I,k,D,F,A,R,B,O,N,L,E,P=0,z=new r.Buf8(4),j=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return l;(n=t.state).mode===d&&(n.mode=13),m=t.next_out,h=t.output,g=t.avail_out,p=t.next_in,f=t.input,b=t.avail_in,v=n.hold,y=n.bits,x=b,C=g,N=0;t:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;y<16;){if(0===b)break t;b--,v+=f[p++]<<y,y+=8}if(2&n.wrap&&35615===v){n.check=0,z[0]=255&v,z[1]=v>>>8&255,n.check=i(n.check,z,2,0),v=0,y=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&v)<<8)+(v>>8))%31){t.msg="incorrect header check",n.mode=c;break}if(8!=(15&v)){t.msg="unknown compression method",n.mode=c;break}if(y-=4,O=8+(15&(v>>>=4)),0===n.wbits)n.wbits=O;else if(O>n.wbits){t.msg="invalid window size",n.mode=c;break}n.dmax=1<<O,t.adler=n.check=1,n.mode=512&v?10:d,v=0,y=0;break;case 2:for(;y<16;){if(0===b)break t;b--,v+=f[p++]<<y,y+=8}if(n.flags=v,8!=(255&n.flags)){t.msg="unknown compression method",n.mode=c;break}if(57344&n.flags){t.msg="unknown header flags set",n.mode=c;break}n.head&&(n.head.text=v>>8&1),512&n.flags&&(z[0]=255&v,z[1]=v>>>8&255,n.check=i(n.check,z,2,0)),v=0,y=0,n.mode=3;case 3:for(;y<32;){if(0===b)break t;b--,v+=f[p++]<<y,y+=8}n.head&&(n.head.time=v),512&n.flags&&(z[0]=255&v,z[1]=v>>>8&255,z[2]=v>>>16&255,z[3]=v>>>24&255,n.check=i(n.check,z,4,0)),v=0,y=0,n.mode=4;case 4:for(;y<16;){if(0===b)break t;b--,v+=f[p++]<<y,y+=8}n.head&&(n.head.xflags=255&v,n.head.os=v>>8),512&n.flags&&(z[0]=255&v,z[1]=v>>>8&255,n.check=i(n.check,z,2,0)),v=0,y=0,n.mode=5;case 5:if(1024&n.flags){for(;y<16;){if(0===b)break t;b--,v+=f[p++]<<y,y+=8}n.length=v,n.head&&(n.head.extra_len=v),512&n.flags&&(z[0]=255&v,z[1]=v>>>8&255,n.check=i(n.check,z,2,0)),v=0,y=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((S=n.length)>b&&(S=b),S&&(n.head&&(O=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,f,p,S,O)),512&n.flags&&(n.check=i(n.check,f,S,p)),b-=S,p+=S,n.length-=S),n.length))break t;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===b)break t;S=0;do{O=f[p+S++],n.head&&O&&n.length<65536&&(n.head.name+=String.fromCharCode(O))}while(O&&S<b);if(512&n.flags&&(n.check=i(n.check,f,S,p)),b-=S,p+=S,O)break t}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===b)break t;S=0;do{O=f[p+S++],n.head&&O&&n.length<65536&&(n.head.comment+=String.fromCharCode(O))}while(O&&S<b);if(512&n.flags&&(n.check=i(n.check,f,S,p)),b-=S,p+=S,O)break t}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;y<16;){if(0===b)break t;b--,v+=f[p++]<<y,y+=8}if(v!==(65535&n.check)){t.msg="header crc mismatch",n.mode=c;break}v=0,y=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),t.adler=n.check=0,n.mode=d;break;case 10:for(;y<32;){if(0===b)break t;b--,v+=f[p++]<<y,y+=8}t.adler=n.check=u(v),v=0,y=0,n.mode=11;case 11:if(0===n.havedict)return t.next_out=m,t.avail_out=g,t.next_in=p,t.avail_in=b,n.hold=v,n.bits=y,2;t.adler=n.check=1,n.mode=d;case d:if(5===e||6===e)break t;case 13:if(n.last){v>>>=7&y,y-=7&y,n.mode=27;break}for(;y<3;){if(0===b)break t;b--,v+=f[p++]<<y,y+=8}switch(n.last=1&v,y-=1,3&(v>>>=1)){case 0:n.mode=14;break;case 1:if(_(n),n.mode=20,6===e){v>>>=2,y-=2;break t}break;case 2:n.mode=17;break;case 3:t.msg="invalid block type",n.mode=c}v>>>=2,y-=2;break;case 14:for(v>>>=7&y,y-=7&y;y<32;){if(0===b)break t;b--,v+=f[p++]<<y,y+=8}if((65535&v)!=(v>>>16^65535)){t.msg="invalid stored block lengths",n.mode=c;break}if(n.length=65535&v,v=0,y=0,n.mode=15,6===e)break t;case 15:n.mode=16;case 16:if(S=n.length){if(S>b&&(S=b),S>g&&(S=g),0===S)break t;r.arraySet(h,f,p,S,m),b-=S,p+=S,g-=S,m+=S,n.length-=S;break}n.mode=d;break;case 17:for(;y<14;){if(0===b)break t;b--,v+=f[p++]<<y,y+=8}if(n.nlen=257+(31&v),v>>>=5,y-=5,n.ndist=1+(31&v),v>>>=5,y-=5,n.ncode=4+(15&v),v>>>=4,y-=4,n.nlen>286||n.ndist>30){t.msg="too many length or distance symbols",n.mode=c;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;y<3;){if(0===b)break t;b--,v+=f[p++]<<y,y+=8}n.lens[j[n.have++]]=7&v,v>>>=3,y-=3}for(;n.have<19;)n.lens[j[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,L={bits:n.lenbits},N=s(0,n.lens,0,19,n.lencode,0,n.work,L),n.lenbits=L.bits,N){t.msg="invalid code lengths set",n.mode=c;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;D=(P=n.lencode[v&(1<<n.lenbits)-1])>>>16&255,F=65535&P,!((k=P>>>24)<=y);){if(0===b)break t;b--,v+=f[p++]<<y,y+=8}if(F<16)v>>>=k,y-=k,n.lens[n.have++]=F;else{if(16===F){for(E=k+2;y<E;){if(0===b)break t;b--,v+=f[p++]<<y,y+=8}if(v>>>=k,y-=k,0===n.have){t.msg="invalid bit length repeat",n.mode=c;break}O=n.lens[n.have-1],S=3+(3&v),v>>>=2,y-=2}else if(17===F){for(E=k+3;y<E;){if(0===b)break t;b--,v+=f[p++]<<y,y+=8}y-=k,O=0,S=3+(7&(v>>>=k)),v>>>=3,y-=3}else{for(E=k+7;y<E;){if(0===b)break t;b--,v+=f[p++]<<y,y+=8}y-=k,O=0,S=11+(127&(v>>>=k)),v>>>=7,y-=7}if(n.have+S>n.nlen+n.ndist){t.msg="invalid bit length repeat",n.mode=c;break}for(;S--;)n.lens[n.have++]=O}}if(n.mode===c)break;if(0===n.lens[256]){t.msg="invalid code -- missing end-of-block",n.mode=c;break}if(n.lenbits=9,L={bits:n.lenbits},N=s(1,n.lens,0,n.nlen,n.lencode,0,n.work,L),n.lenbits=L.bits,N){t.msg="invalid literal/lengths set",n.mode=c;break}if(n.distbits=6,n.distcode=n.distdyn,L={bits:n.distbits},N=s(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,L),n.distbits=L.bits,N){t.msg="invalid distances set",n.mode=c;break}if(n.mode=20,6===e)break t;case 20:n.mode=21;case 21:if(b>=6&&g>=258){t.next_out=m,t.avail_out=g,t.next_in=p,t.avail_in=b,n.hold=v,n.bits=y,a(t,C),m=t.next_out,h=t.output,g=t.avail_out,p=t.next_in,f=t.input,b=t.avail_in,v=n.hold,y=n.bits,n.mode===d&&(n.back=-1);break}for(n.back=0;D=(P=n.lencode[v&(1<<n.lenbits)-1])>>>16&255,F=65535&P,!((k=P>>>24)<=y);){if(0===b)break t;b--,v+=f[p++]<<y,y+=8}if(D&&0==(240&D)){for(A=k,R=D,B=F;D=(P=n.lencode[B+((v&(1<<A+R)-1)>>A)])>>>16&255,F=65535&P,!(A+(k=P>>>24)<=y);){if(0===b)break t;b--,v+=f[p++]<<y,y+=8}v>>>=A,y-=A,n.back+=A}if(v>>>=k,y-=k,n.back+=k,n.length=F,0===D){n.mode=26;break}if(32&D){n.back=-1,n.mode=d;break}if(64&D){t.msg="invalid literal/length code",n.mode=c;break}n.extra=15&D,n.mode=22;case 22:if(n.extra){for(E=n.extra;y<E;){if(0===b)break t;b--,v+=f[p++]<<y,y+=8}n.length+=v&(1<<n.extra)-1,v>>>=n.extra,y-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;D=(P=n.distcode[v&(1<<n.distbits)-1])>>>16&255,F=65535&P,!((k=P>>>24)<=y);){if(0===b)break t;b--,v+=f[p++]<<y,y+=8}if(0==(240&D)){for(A=k,R=D,B=F;D=(P=n.distcode[B+((v&(1<<A+R)-1)>>A)])>>>16&255,F=65535&P,!(A+(k=P>>>24)<=y);){if(0===b)break t;b--,v+=f[p++]<<y,y+=8}v>>>=A,y-=A,n.back+=A}if(v>>>=k,y-=k,n.back+=k,64&D){t.msg="invalid distance code",n.mode=c;break}n.offset=F,n.extra=15&D,n.mode=24;case 24:if(n.extra){for(E=n.extra;y<E;){if(0===b)break t;b--,v+=f[p++]<<y,y+=8}n.offset+=v&(1<<n.extra)-1,v>>>=n.extra,y-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){t.msg="invalid distance too far back",n.mode=c;break}n.mode=25;case 25:if(0===g)break t;if(S=C-g,n.offset>S){if((S=n.offset-S)>n.whave&&n.sane){t.msg="invalid distance too far back",n.mode=c;break}S>n.wnext?(S-=n.wnext,T=n.wsize-S):T=n.wnext-S,S>n.length&&(S=n.length),I=n.window}else I=h,T=m-n.offset,S=n.length;S>g&&(S=g),g-=S,n.length-=S;do{h[m++]=I[T++]}while(--S);0===n.length&&(n.mode=21);break;case 26:if(0===g)break t;h[m++]=n.length,g--,n.mode=21;break;case 27:if(n.wrap){for(;y<32;){if(0===b)break t;b--,v|=f[p++]<<y,y+=8}if(C-=g,t.total_out+=C,n.total+=C,C&&(t.adler=n.check=n.flags?i(n.check,h,C,m-C):o(n.check,h,C,m-C)),C=g,(n.flags?v:u(v))!==n.check){t.msg="incorrect data check",n.mode=c;break}v=0,y=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;y<32;){if(0===b)break t;b--,v+=f[p++]<<y,y+=8}if(v!==(4294967295&n.total)){t.msg="incorrect length check",n.mode=c;break}v=0,y=0}n.mode=29;case 29:N=1;break t;case c:N=-3;break t;case 31:return-4;default:return l}return t.next_out=m,t.avail_out=g,t.next_in=p,t.avail_in=b,n.hold=v,n.bits=y,(n.wsize||C!==t.avail_out&&n.mode<c&&(n.mode<27||4!==e))&&w(t,t.output,t.next_out,C-t.avail_out)?(n.mode=31,-4):(x-=t.avail_in,C-=t.avail_out,t.total_in+=x,t.total_out+=C,n.total+=C,n.wrap&&C&&(t.adler=n.check=n.flags?i(n.check,h,C,t.next_out-C):o(n.check,h,C,t.next_out-C)),t.data_type=n.bits+(n.last?64:0)+(n.mode===d?128:0)+(20===n.mode||15===n.mode?256:0),(0===x&&0===C||4===e)&&0===N&&(N=-5),N)},n.inflateEnd=function(t){if(!t||!t.state)return l;var e=t.state;return e.window&&(e.window=null),t.state=null,0},n.inflateGetHeader=function(t,e){var n;return t&&t.state?0==(2&(n=t.state).wrap)?l:(n.head=e,e.done=!1,0):l},n.inflateSetDictionary=function(t,e){var n,r=e.length;return t&&t.state?0!==(n=t.state).wrap&&11!==n.mode?l:11===n.mode&&o(1,e,r,0)!==n.check?-3:w(t,e,r,r)?(n.mode=31,-4):(n.havedict=1,0):l},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(t,e,n){"use strict";var r=t("../utils/common"),o=15,i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],a=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],s=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(t,e,n,d,c,u,f,h){var p,m,b,g,v,y,_,w,x,C=h.bits,S=0,T=0,I=0,k=0,D=0,F=0,A=0,R=0,B=0,O=0,N=null,L=0,E=new r.Buf16(16),P=new r.Buf16(16),z=null,j=0;for(S=0;S<=o;S++)E[S]=0;for(T=0;T<d;T++)E[e[n+T]]++;for(D=C,k=o;k>=1&&0===E[k];k--);if(D>k&&(D=k),0===k)return c[u++]=20971520,c[u++]=20971520,h.bits=1,0;for(I=1;I<k&&0===E[I];I++);for(D<I&&(D=I),R=1,S=1;S<=o;S++)if(R<<=1,(R-=E[S])<0)return-1;if(R>0&&(0===t||1!==k))return-1;for(P[1]=0,S=1;S<o;S++)P[S+1]=P[S]+E[S];for(T=0;T<d;T++)0!==e[n+T]&&(f[P[e[n+T]]++]=T);if(0===t?(N=z=f,y=19):1===t?(N=i,L-=257,z=a,j-=257,y=256):(N=s,z=l,y=-1),O=0,T=0,S=I,v=u,F=D,A=0,b=-1,g=(B=1<<D)-1,1===t&&B>852||2===t&&B>592)return 1;for(;;){_=S-A,f[T]<y?(w=0,x=f[T]):f[T]>y?(w=z[j+f[T]],x=N[L+f[T]]):(w=96,x=0),p=1<<S-A,I=m=1<<F;do{c[v+(O>>A)+(m-=p)]=_<<24|w<<16|x|0}while(0!==m);for(p=1<<S-1;O&p;)p>>=1;if(0!==p?(O&=p-1,O+=p):O=0,T++,0==--E[S]){if(S===k)break;S=e[n+f[T]]}if(S>D&&(O&g)!==b){for(0===A&&(A=D),v+=I,R=1<<(F=S-A);F+A<k&&!((R-=E[F+A])<=0);)F++,R<<=1;if(B+=1<<F,1===t&&B>852||2===t&&B>592)return 1;c[b=O&g]=D<<24|F<<16|v-u|0}}return 0!==O&&(c[v+O]=S-A<<24|64<<16|0),h.bits=D,0}},{"../utils/common":41}],51:[function(t,e,n){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(t,e,n){"use strict";var r=t("../utils/common");function o(t){for(var e=t.length;--e>=0;)t[e]=0}var i=256,a=286,s=30,l=15,d=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],c=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],u=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],f=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],h=new Array(576);o(h);var p=new Array(60);o(p);var m=new Array(512);o(m);var b=new Array(256);o(b);var g=new Array(29);o(g);var v,y,_,w=new Array(s);function x(t,e,n,r,o){this.static_tree=t,this.extra_bits=e,this.extra_base=n,this.elems=r,this.max_length=o,this.has_stree=t&&t.length}function C(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function S(t){return t<256?m[t]:m[256+(t>>>7)]}function T(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function I(t,e,n){t.bi_valid>16-n?(t.bi_buf|=e<<t.bi_valid&65535,T(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=n-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=n)}function k(t,e,n){I(t,n[2*e],n[2*e+1])}function D(t,e){var n=0;do{n|=1&t,t>>>=1,n<<=1}while(--e>0);return n>>>1}function F(t,e,n){var r,o,i=new Array(16),a=0;for(r=1;r<=l;r++)i[r]=a=a+n[r-1]<<1;for(o=0;o<=e;o++){var s=t[2*o+1];0!==s&&(t[2*o]=D(i[s]++,s))}}function A(t){var e;for(e=0;e<a;e++)t.dyn_ltree[2*e]=0;for(e=0;e<s;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function R(t){t.bi_valid>8?T(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function B(t,e,n,r){var o=2*e,i=2*n;return t[o]<t[i]||t[o]===t[i]&&r[e]<=r[n]}function O(t,e,n){for(var r=t.heap[n],o=n<<1;o<=t.heap_len&&(o<t.heap_len&&B(e,t.heap[o+1],t.heap[o],t.depth)&&o++,!B(e,r,t.heap[o],t.depth));)t.heap[n]=t.heap[o],n=o,o<<=1;t.heap[n]=r}function N(t,e,n){var r,o,a,s,l=0;if(0!==t.last_lit)do{r=t.pending_buf[t.d_buf+2*l]<<8|t.pending_buf[t.d_buf+2*l+1],o=t.pending_buf[t.l_buf+l],l++,0===r?k(t,o,e):(k(t,(a=b[o])+i+1,e),0!==(s=d[a])&&I(t,o-=g[a],s),k(t,a=S(--r),n),0!==(s=c[a])&&I(t,r-=w[a],s))}while(l<t.last_lit);k(t,256,e)}function L(t,e){var n,r,o,i=e.dyn_tree,a=e.stat_desc.static_tree,s=e.stat_desc.has_stree,d=e.stat_desc.elems,c=-1;for(t.heap_len=0,t.heap_max=573,n=0;n<d;n++)0!==i[2*n]?(t.heap[++t.heap_len]=c=n,t.depth[n]=0):i[2*n+1]=0;for(;t.heap_len<2;)i[2*(o=t.heap[++t.heap_len]=c<2?++c:0)]=1,t.depth[o]=0,t.opt_len--,s&&(t.static_len-=a[2*o+1]);for(e.max_code=c,n=t.heap_len>>1;n>=1;n--)O(t,i,n);o=d;do{n=t.heap[1],t.heap[1]=t.heap[t.heap_len--],O(t,i,1),r=t.heap[1],t.heap[--t.heap_max]=n,t.heap[--t.heap_max]=r,i[2*o]=i[2*n]+i[2*r],t.depth[o]=(t.depth[n]>=t.depth[r]?t.depth[n]:t.depth[r])+1,i[2*n+1]=i[2*r+1]=o,t.heap[1]=o++,O(t,i,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var n,r,o,i,a,s,d=e.dyn_tree,c=e.max_code,u=e.stat_desc.static_tree,f=e.stat_desc.has_stree,h=e.stat_desc.extra_bits,p=e.stat_desc.extra_base,m=e.stat_desc.max_length,b=0;for(i=0;i<=l;i++)t.bl_count[i]=0;for(d[2*t.heap[t.heap_max]+1]=0,n=t.heap_max+1;n<573;n++)(i=d[2*d[2*(r=t.heap[n])+1]+1]+1)>m&&(i=m,b++),d[2*r+1]=i,r>c||(t.bl_count[i]++,a=0,r>=p&&(a=h[r-p]),s=d[2*r],t.opt_len+=s*(i+a),f&&(t.static_len+=s*(u[2*r+1]+a)));if(0!==b){do{for(i=m-1;0===t.bl_count[i];)i--;t.bl_count[i]--,t.bl_count[i+1]+=2,t.bl_count[m]--,b-=2}while(b>0);for(i=m;0!==i;i--)for(r=t.bl_count[i];0!==r;)(o=t.heap[--n])>c||(d[2*o+1]!==i&&(t.opt_len+=(i-d[2*o+1])*d[2*o],d[2*o+1]=i),r--)}}(t,e),F(i,c,t.bl_count)}function E(t,e,n){var r,o,i=-1,a=e[1],s=0,l=7,d=4;for(0===a&&(l=138,d=3),e[2*(n+1)+1]=65535,r=0;r<=n;r++)o=a,a=e[2*(r+1)+1],++s<l&&o===a||(s<d?t.bl_tree[2*o]+=s:0!==o?(o!==i&&t.bl_tree[2*o]++,t.bl_tree[32]++):s<=10?t.bl_tree[34]++:t.bl_tree[36]++,s=0,i=o,0===a?(l=138,d=3):o===a?(l=6,d=3):(l=7,d=4))}function P(t,e,n){var r,o,i=-1,a=e[1],s=0,l=7,d=4;for(0===a&&(l=138,d=3),r=0;r<=n;r++)if(o=a,a=e[2*(r+1)+1],!(++s<l&&o===a)){if(s<d)do{k(t,o,t.bl_tree)}while(0!=--s);else 0!==o?(o!==i&&(k(t,o,t.bl_tree),s--),k(t,16,t.bl_tree),I(t,s-3,2)):s<=10?(k(t,17,t.bl_tree),I(t,s-3,3)):(k(t,18,t.bl_tree),I(t,s-11,7));s=0,i=o,0===a?(l=138,d=3):o===a?(l=6,d=3):(l=7,d=4)}}o(w);var z=!1;function j(t,e,n,o){I(t,0+(o?1:0),3),function(t,e,n,o){R(t),o&&(T(t,n),T(t,~n)),r.arraySet(t.pending_buf,t.window,e,n,t.pending),t.pending+=n}(t,e,n,!0)}n._tr_init=function(t){z||(!function(){var t,e,n,r,o,i=new Array(16);for(n=0,r=0;r<28;r++)for(g[r]=n,t=0;t<1<<d[r];t++)b[n++]=r;for(b[n-1]=r,o=0,r=0;r<16;r++)for(w[r]=o,t=0;t<1<<c[r];t++)m[o++]=r;for(o>>=7;r<s;r++)for(w[r]=o<<7,t=0;t<1<<c[r]-7;t++)m[256+o++]=r;for(e=0;e<=l;e++)i[e]=0;for(t=0;t<=143;)h[2*t+1]=8,t++,i[8]++;for(;t<=255;)h[2*t+1]=9,t++,i[9]++;for(;t<=279;)h[2*t+1]=7,t++,i[7]++;for(;t<=287;)h[2*t+1]=8,t++,i[8]++;for(F(h,287,i),t=0;t<s;t++)p[2*t+1]=5,p[2*t]=D(t,5);v=new x(h,d,257,a,l),y=new x(p,c,0,s,l),_=new x(new Array(0),u,0,19,7)}(),z=!0),t.l_desc=new C(t.dyn_ltree,v),t.d_desc=new C(t.dyn_dtree,y),t.bl_desc=new C(t.bl_tree,_),t.bi_buf=0,t.bi_valid=0,A(t)},n._tr_stored_block=j,n._tr_flush_block=function(t,e,n,r){var o,a,s=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<i;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),L(t,t.l_desc),L(t,t.d_desc),s=function(t){var e;for(E(t,t.dyn_ltree,t.l_desc.max_code),E(t,t.dyn_dtree,t.d_desc.max_code),L(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*f[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),o=t.opt_len+3+7>>>3,(a=t.static_len+3+7>>>3)<=o&&(o=a)):o=a=n+5,n+4<=o&&-1!==e?j(t,e,n,r):4===t.strategy||a===o?(I(t,2+(r?1:0),3),N(t,h,p)):(I(t,4+(r?1:0),3),function(t,e,n,r){var o;for(I(t,e-257,5),I(t,n-1,5),I(t,r-4,4),o=0;o<r;o++)I(t,t.bl_tree[2*f[o]+1],3);P(t,t.dyn_ltree,e-1),P(t,t.dyn_dtree,n-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,s+1),N(t,t.dyn_ltree,t.dyn_dtree)),A(t),r&&R(t)},n._tr_tally=function(t,e,n){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(b[n]+i+1)]++,t.dyn_dtree[2*S(e)]++),t.last_lit===t.lit_bufsize-1},n._tr_align=function(t){I(t,2,3),k(t,256,h),function(t){16===t.bi_valid?(T(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},{"../utils/common":41}],53:[function(t,e,n){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(t,e,n){"use strict";e.exports="function"==typeof setImmediate?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}},{}]},{},[10])(10)}));