/*! For license information please see 3595.55ead589.js.LICENSE.txt */ (self.webpackChunkiride=self.webpackChunkiride||[]).push([[3595],{99276:(t,e,n)=>{var r,a;r=[n(19755),n(30991)],void 0===(a=function(t){return function(t,e,n,r){"use strict";var a=t.fn.dataTable,o=0,i=0,s=a.ext.buttons;function l(e,n,r){t.fn.animate?e.stop().fadeIn(n,r):(e.css("display","block"),r&&r.call(e))}function u(e,n,r){t.fn.animate?e.stop().fadeOut(n,r):(e.css("display","none"),r&&r.call(e))}var c,d=function(e,n){if(!(this instanceof d))return function(t){return new d(t,e).container()};void 0===n&&(n={}),!0===n&&(n={}),Array.isArray(n)&&(n={buttons:n}),this.c=t.extend(!0,{},d.defaults,n),n.buttons&&(this.c.buttons=n.buttons),this.s={dt:new a.Api(e),buttons:[],listenKeys:"",namespace:"dtb"+o++},this.dom={container:t("<"+this.c.dom.container.tag+"/>").addClass(this.c.dom.container.className)},this._constructor()};t.extend(d.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 a=this._nodeToButton(e),o=this.c.dom.button.active,i=t(a.node);return n===r?i.hasClass(o):(i.toggleClass(o,n===r||n),this)},add:function(t,e){var n=this.s.buttons;if("string"==typeof e){for(var a=e.split("-"),o=this.s,i=0,s=a.length-1;i=0;o--)this.remove(n.buttons[o].node);n.conf.destroy&&n.conf.destroy.call(a.button(e),a,t(e),n.conf),this._removeKey(n.conf),t(n.node).remove();var i=t.inArray(n,r);return r.splice(i,1),this},text:function(e,n){var a=this._nodeToButton(e),o=this.c.dom.collection.buttonLiner,i=a.inCollection&&o&&o.tag?o.tag:this.c.dom.buttonLiner.tag,s=this.s.dt,l=t(a.node),u=function(t){return"function"==typeof t?t(s,l,a.conf):t};return n===r?u(a.conf.text):(a.conf.text=n,i?l.children(i).html(u(n)):l.html(u(n)),this)},_constructor:function(){var e=this,r=this.s.dt,a=r.settings()[0],o=this.c.buttons;a._buttons||(a._buttons=[]),a._buttons.push({inst:this,name:this.c.name});for(var i=0,s=o.length;i"),d.conf._collection=d.collection,this._expandButton(d.buttons,d.conf.buttons,!0,o)),c.init&&c.init.call(i.button(d.node),i,t(d.node),c))}}},_buildButton:function(e,n){var a=this.c.dom.button,o=this.c.dom.buttonLiner,s=this.c.dom.collection,l=this.s.dt,u=function(t){return"function"==typeof t?t(l,h,e):t};if(n&&s.button&&(a=s.button),n&&s.buttonLiner&&(o=s.buttonLiner),e.available&&!e.available(l,e))return!1;var c=function(e,n,r,a){a.action.call(n.button(r),e,n,r,a),t(n.table().node()).triggerHandler("buttons-action.dt",[n.button(r),n,r,a])},d=e.tag||a.tag,f=e.clickBlurs===r||e.clickBlurs,h=t("<"+d+"/>").addClass(a.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(),!h.hasClass(a.disabled)&&e.action&&c(t,l,h,e),f&&h.trigger("blur")})).on("keyup.dtb",(function(t){13===t.keyCode&&!h.hasClass(a.disabled)&&e.action&&c(t,l,h,e)}));if("a"===d.toLowerCase()&&h.attr("href","#"),"button"===d.toLowerCase()&&h.attr("type","button"),o.tag){var p=t("<"+o.tag+"/>").html(u(e.text)).addClass(o.className);"a"===o.tag.toLowerCase()&&p.attr("href","#"),h.append(p)}else h.html(u(e.text));!1===e.enabled&&h.addClass(a.disabled),e.className&&h.addClass(e.className),e.titleAttr&&h.attr("title",u(e.titleAttr)),e.attr&&h.attr(e.attr),e.namespace||(e.namespace=".dt-button-"+i++);var g,v=this.c.dom.buttonContainer;return g=v&&v.tag?t("<"+v.tag+"/>").addClass(v.className).append(h):h,this._addKey(e),this.c.buttonCreated&&(g=this.c.buttonCreated(e,g)),{conf:e,node:h.get(0),inserter:g,buttons:[],inCollection:n,collection:null}},_nodeToButton:function(t,e){e||(e=this.s.buttons);for(var n=0,r=e.length;n30)throw"Buttons: Too many iterations"}return Array.isArray(n)?n:t.extend({},n)};for(e=i(e);e&&e.extend;){if(!s[e.extend])throw"Cannot extend unknown button type: "+e.extend;var l=i(s[e.extend]);if(Array.isArray(l))return l;if(!l)return!1;var u=l.className;e=t.extend({},l,e),u&&e.className!==u&&(e.className=u+" "+e.className);var c=e.postfixButtons;if(c){for(e.buttons||(e.buttons=[]),n=0,a=c.length;n").addClass("dt-button-collection").addClass(c.collectionLayout).css("display","none");r=t(r).addClass(c.contentClassName).attr("role","menu").appendTo(g),f.attr("aria-expanded","true"),f.parents("body")[0]!==n.body&&(f=n.body.lastChild),c.collectionTitle&&g.prepend('
'+c.collectionTitle+"
"),l(g.insertAfter(f),c.fade);var v=t(a.table().container()),b=g.css("position");if("dt-container"===c.align&&(f=f.parent(),g.css("width",v.width())),"absolute"===b){var m=f.position(),y=t(a.node()).position();g.css({top:y.top+f.outerHeight(),left:m.left});var S=g.outerHeight(),D=v.offset().top+v.height(),_=y.top+f.outerHeight()+S-D,w=y.top-S,x=v.offset().top,C=x-w,T=y.top-S-5;(_>C||c.dropup)&&-TF+(N=j-L)&&(N+=(R=A-(F+N))>(k=I-(L+N))?k:R):I(k=I-(L+N))?k:R),g.css("left",g.position().left+N)}else{var H=f.offset().top;N=0,N="button-right"===c.align?j-L:P-F,g.css("left",g.position().left+N)}}else(H=g.height()/2)>t(e).height()/2&&(H=t(e).height()/2),g.css("marginTop",-1*H);c.background&&d.background(!0,c.backgroundClassName,c.fade,f),t("div.dt-button-background").on("click.dtb-collection",(function(){})),t("body").on("click.dtb-collection",(function(e){var n=t.fn.addBack?"addBack":"andSelf",a=t(e.target).parent()[0];(!t(e.target).parents()[n]().filter(r).length&&!t(a).hasClass("dt-buttons")||t(e.target).hasClass("dt-button-background"))&&h()})).on("keyup.dtb-collection",(function(t){27===t.keyCode&&h()})),c.autoClose&&setTimeout((function(){i.on("buttons-action.b-internal",(function(t,e,n,r){r[0]!==f[0]&&h()}))}),0),t(g).trigger("buttons-popover.dt")}}),d.background=function(e,a,o,i){o===r&&(o=400),i||(i=n.body),e?l(t("
").addClass(a).css("display","none").insertAfter(i),o):u(t("div."+a),o,(function(){t(this).removeClass(a).remove()}))},d.instanceSelector=function(e,n){if(e===r||null===e)return t.map(n,(function(t){return t.inst}));var a=[],o=t.map(n,(function(t){return t.name})),i=function(e){if(Array.isArray(e))for(var r=0,s=e.length;r)<[^<]*)*<\/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||(v.innerHTML=t,t=v.value)),t},d.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"},buttonLiner:{tag:"span",className:""}}},d.version="1.7.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){t.stopPropagation(),r._collection.parents("body").length?this.popover(!1,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=[],a=[],o=function(t){return t.i18n("buttons.pageLength",{"-1":"Show all rows",_:"Show %d rows"},t.page.len())};if(Array.isArray(n[0]))r=n[0],a=n[1];else for(var i=0;i1&&n.splice(1,n.length),n})),a.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)}))})),a.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)}))})),a.Api.register(["buttons().enable()","button().enable()"],(function(t){return this.each((function(e){e.inst.enable(e.node,t)}))})),a.Api.register(["buttons().disable()","button().disable()"],(function(){return this.each((function(t){t.inst.disable(t.node)}))})),a.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})),a.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)}))})),a.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)}))})),a.Api.registerPlural("buttons().trigger()","button().trigger()",(function(){return this.each((function(t){t.inst.node(t.node).trigger("click")}))})),a.Api.register("button().popover()",(function(t,e){return this.map((function(n){return n.inst._popover(t,this.button(this[0].node),e)}))})),a.Api.register("buttons().containers()",(function(){var e=t(),n=this._groupSelector;return this.iterator(!0,"table",(function(t){if(t._buttons)for(var r=d.instanceSelector(n,t._buttons),a=0,o=r.length;a"+e+"":"",l(t('
').html(e).append(t("
")["string"==typeof n?"html":"append"](n)).css("display","none").appendTo("body")),a!==r&&0!==a&&(c=setTimeout((function(){o.buttons.info(!1)}),a)),this.on("destroy.btn-info",(function(){o.buttons.info(!1)})),this)})),a.Api.register("buttons.exportData()",(function(t){if(this.context.length)return b(new a.Api(this.context[0]),t)})),a.Api.register("buttons.exportInfo()",(function(t){return t||(t={}),{filename:f(t),title:p(t),messageTop:g(this,t.message||t.messageTop,"top"),messageBottom:g(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 a=h(e.extension);return a||(a=""),n+a},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},g=function(e,n,r){var a=h(n);if(null===a)return null;var o=t("caption",e.table().container()).eq(0);return"*"===a?o.css("caption-side")!==r?null:o.length?o.text():"":a},v=t("