diff --git a/dist/js/tool.js b/dist/js/tool.js index 7490e76..74e3da2 100644 --- a/dist/js/tool.js +++ b/dist/js/tool.js @@ -1,2 +1,2 @@ /*! For license information please see tool.js.LICENSE.txt */ -(()=>{var e={1884:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(6486),o=r.n(n),i=r(1138);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function u(){u=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",c=n.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof h?t:h,i=Object.create(o.prototype),a=new j(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return k()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=x(a,r);if(u){if(u===p)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=f(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===p)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var p={};function h(){}function d(){}function v(){}var y={};s(y,o,(function(){return this}));var g=Object.getPrototypeOf,m=g&&g(g(A([])));m&&m!==t&&r.call(m,o)&&(y=m);var b=v.prototype=h.prototype=Object.create(y);function w(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function n(o,i,u,c){var s=f(e[o],e,i);if("throw"!==s.type){var l=s.arg,p=l.value;return p&&"object"==a(p)&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){n("next",e,u,c)}),(function(e){n("throw",e,u,c)})):t.resolve(p).then((function(e){l.value=e,u(l)}),(function(e){return n("throw",e,u,c)}))}c(s.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function x(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method))return p;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=f(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,p;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function A(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(u&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:A(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},e}function c(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}const s={mixins:[r(2775).Z,i.Z],data:function(){return{visibleActionsDefault:3,actionsList:[],confirmActionModalOpened:!1,invisibleActionsOpen:!1}},created:function(){var e,t=this;return(e=u().mark((function e(){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.getDetachedActions(),Nova.$on("actionExecuted",(function(){Nova.$emit("refresh-resources")}));case 2:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){c(i,n,o,a,u,"next",e)}function u(e){c(i,n,o,a,u,"throw",e)}a(void 0)}))})()},methods:{getDetachedActions:function(){var e=this;return this.actionsList=[],Nova.request().get("/nova-api/".concat(this.resourceName,"/actions"),{params:{viaResource:this.viaResource,viaResourceId:this.viaResourceId,viaRelationship:this.viaRelationship,relationshipType:this.relationshipType}}).then((function(t){e.handleResponse(t)}))},determineActionStrategy:function(e){this.selectedActionKey=e.uriKey,this.selectedAction.withoutConfirmation?this.executeAction():this.openConfirmationModal()},handleClick:function(e){return this.determineActionStrategy(e)}},computed:{detachedActions:function(){return o().filter(this.allActions,(function(e){return e.detachedAction||!1}))},visibleActions:function(){return 0==this.visibleActionsLimit?[]:this.detachedActions.slice(0,this.visibleActionsLimit)},invisibleActions:function(){return this.detachedActions.slice(this.visibleActionsLimit)},visibleActionsLimit:function(){return this.resourceInformation.hasOwnProperty("visibleActionsLimit")?this.resourceInformation.visibleActionsLimit:this.visibleActionsDefault},allActions:function(){return this.actionsList},showInvisibleActionsArrow:function(){return!!this.resourceInformation.hasOwnProperty("showInvisibleActionsArrow")&&this.resourceInformation.showInvisibleActionsArrow},invisibleActionsIcon:function(){return this.resourceInformation.hasOwnProperty("invisibleActionsIcon")?this.resourceInformation.invisibleActionsIcon:"hero-more-horiz"},shouldShowInvisibleActions:function(){return this.detachedActions.length>this.visibleActionsLimit}}}},2775:(e,t,r)=>{"use strict";r.d(t,{Z:()=>_});var n=r(8459),o=r.n(n),i=r(587),a=r.n(i),u=r(6677),c=r.n(u),s=r(4666),l=r.n(s),f=r(2371),p=r.n(f),h=r(9014),d=r(384);function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function y(){y=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new j(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return k()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=x(a,r);if(u){if(u===l)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function f(){}function p(){}function h(){}var d={};u(d,o,(function(){return this}));var g=Object.getPrototypeOf,m=g&&g(g(A([])));m&&m!==t&&r.call(m,o)&&(d=m);var b=h.prototype=f.prototype=Object.create(d);function w(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function n(o,i,a,u){var c=s(e[o],e,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==v(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,u)}),(function(e){n("throw",e,a,u)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,u)}))}u(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function x(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,l;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function A(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(u&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:A(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}function g(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t0&&!t.standalone}))},availableStandaloneActions:function(){return a()(this.actions,(function(e){return e.standalone}))},availablePivotActions:function(){var e=this;return this.pivotActions?a()(this.pivotActions.actions,(function(t){return 0!=e.selectedResources.length||t.standalone})):[]},hasPivotActions:function(){return this.availablePivotActions.length>0}}}},1138:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(6677),o=r.n(n);const i={computed:{resourceInformation:function(){var e=this;return o()(Nova.config("resources"),(function(t){return t.uriKey==e.resourceName}))},viaResourceInformation:function(){var e=this;if(this.viaResource)return o()(Nova.config("resources"),(function(t){return t.uriKey==e.viaResource}))},authorizedToCreate:function(){var e;return!(["hasOneThrough","hasManyThrough"].indexOf(this.relationshipType)>=0)&&((null===(e=this.resourceInformation)||void 0===e?void 0:e.authorizedToCreate)||!1)}}}},6486:function(e,t,r){var n;e=r.nmd(e),function(){var o,i="Expected a function",a="__lodash_hash_undefined__",u="__lodash_placeholder__",c=16,s=32,l=64,f=128,p=256,h=1/0,d=9007199254740991,v=NaN,y=4294967295,g=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",c],["flip",512],["partial",s],["partialRight",l],["rearg",p]],m="[object Arguments]",b="[object Array]",w="[object Boolean]",_="[object Date]",x="[object Error]",S="[object Function]",O="[object GeneratorFunction]",j="[object Map]",A="[object Number]",k="[object Object]",E="[object Promise]",P="[object RegExp]",R="[object Set]",C="[object String]",N="[object Symbol]",L="[object WeakMap]",I="[object ArrayBuffer]",T="[object DataView]",D="[object Float32Array]",B="[object Float64Array]",M="[object Int8Array]",F="[object Int16Array]",$="[object Int32Array]",z="[object Uint8Array]",V="[object Uint8ClampedArray]",U="[object Uint16Array]",W="[object Uint32Array]",q=/\b__p \+= '';/g,G=/\b(__p \+=) '' \+/g,H=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Z=/&(?:amp|lt|gt|quot|#39);/g,J=/[&<>"']/g,K=RegExp(Z.source),Q=RegExp(J.source),X=/<%-([\s\S]+?)%>/g,Y=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,re=/^\w*$/,ne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oe=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(oe.source),ae=/^\s+/,ue=/\s/,ce=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,se=/\{\n\/\* \[wrapped with (.+)\] \*/,le=/,? & /,fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,pe=/[()=,{}\[\]\/\s]/,he=/\\(\\)?/g,de=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ve=/\w*$/,ye=/^[-+]0x[0-9a-f]+$/i,ge=/^0b[01]+$/i,me=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,we=/^(?:0|[1-9]\d*)$/,_e=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xe=/($^)/,Se=/['\n\r\u2028\u2029\\]/g,Oe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",je="\\u2700-\\u27bf",Ae="a-z\\xdf-\\xf6\\xf8-\\xff",ke="A-Z\\xc0-\\xd6\\xd8-\\xde",Ee="\\ufe0e\\ufe0f",Pe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Re="['’]",Ce="[\\ud800-\\udfff]",Ne="["+Pe+"]",Le="["+Oe+"]",Ie="\\d+",Te="[\\u2700-\\u27bf]",De="["+Ae+"]",Be="[^\\ud800-\\udfff"+Pe+Ie+je+Ae+ke+"]",Me="\\ud83c[\\udffb-\\udfff]",Fe="[^\\ud800-\\udfff]",$e="(?:\\ud83c[\\udde6-\\uddff]){2}",ze="[\\ud800-\\udbff][\\udc00-\\udfff]",Ve="["+ke+"]",Ue="(?:"+De+"|"+Be+")",We="(?:"+Ve+"|"+Be+")",qe="(?:['’](?:d|ll|m|re|s|t|ve))?",Ge="(?:['’](?:D|LL|M|RE|S|T|VE))?",He="(?:"+Le+"|"+Me+")"+"?",Ze="[\\ufe0e\\ufe0f]?",Je=Ze+He+("(?:\\u200d(?:"+[Fe,$e,ze].join("|")+")"+Ze+He+")*"),Ke="(?:"+[Te,$e,ze].join("|")+")"+Je,Qe="(?:"+[Fe+Le+"?",Le,$e,ze,Ce].join("|")+")",Xe=RegExp(Re,"g"),Ye=RegExp(Le,"g"),et=RegExp(Me+"(?="+Me+")|"+Qe+Je,"g"),tt=RegExp([Ve+"?"+De+"+"+qe+"(?="+[Ne,Ve,"$"].join("|")+")",We+"+"+Ge+"(?="+[Ne,Ve+Ue,"$"].join("|")+")",Ve+"?"+Ue+"+"+qe,Ve+"+"+Ge,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ie,Ke].join("|"),"g"),rt=RegExp("[\\u200d\\ud800-\\udfff"+Oe+Ee+"]"),nt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ot=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],it=-1,at={};at[D]=at[B]=at[M]=at[F]=at[$]=at[z]=at[V]=at[U]=at[W]=!0,at[m]=at[b]=at[I]=at[w]=at[T]=at[_]=at[x]=at[S]=at[j]=at[A]=at[k]=at[P]=at[R]=at[C]=at[L]=!1;var ut={};ut[m]=ut[b]=ut[I]=ut[T]=ut[w]=ut[_]=ut[D]=ut[B]=ut[M]=ut[F]=ut[$]=ut[j]=ut[A]=ut[k]=ut[P]=ut[R]=ut[C]=ut[N]=ut[z]=ut[V]=ut[U]=ut[W]=!0,ut[x]=ut[S]=ut[L]=!1;var ct={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},st=parseFloat,lt=parseInt,ft="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,pt="object"==typeof self&&self&&self.Object===Object&&self,ht=ft||pt||Function("return this")(),dt=t&&!t.nodeType&&t,vt=dt&&e&&!e.nodeType&&e,yt=vt&&vt.exports===dt,gt=yt&&ft.process,mt=function(){try{var e=vt&&vt.require&&vt.require("util").types;return e||gt&>.binding&>.binding("util")}catch(e){}}(),bt=mt&&mt.isArrayBuffer,wt=mt&&mt.isDate,_t=mt&&mt.isMap,xt=mt&&mt.isRegExp,St=mt&&mt.isSet,Ot=mt&&mt.isTypedArray;function jt(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function At(e,t,r,n){for(var o=-1,i=null==e?0:e.length;++o-1}function Nt(e,t,r){for(var n=-1,o=null==e?0:e.length;++n-1;);return r}function tr(e,t){for(var r=e.length;r--&&zt(t,e[r],0)>-1;);return r}function rr(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&++n;return n}var nr=Gt({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),or=Gt({"&":"&","<":"<",">":">",'"':""","'":"'"});function ir(e){return"\\"+ct[e]}function ar(e){return rt.test(e)}function ur(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function cr(e,t){return function(r){return e(t(r))}}function sr(e,t){for(var r=-1,n=e.length,o=0,i=[];++r",""":'"',"'":"'"});var yr=function e(t){var r,n=(t=null==t?ht:yr.defaults(ht.Object(),t,yr.pick(ht,ot))).Array,ue=t.Date,Oe=t.Error,je=t.Function,Ae=t.Math,ke=t.Object,Ee=t.RegExp,Pe=t.String,Re=t.TypeError,Ce=n.prototype,Ne=je.prototype,Le=ke.prototype,Ie=t["__core-js_shared__"],Te=Ne.toString,De=Le.hasOwnProperty,Be=0,Me=(r=/[^.]+$/.exec(Ie&&Ie.keys&&Ie.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",Fe=Le.toString,$e=Te.call(ke),ze=ht._,Ve=Ee("^"+Te.call(De).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ue=yt?t.Buffer:o,We=t.Symbol,qe=t.Uint8Array,Ge=Ue?Ue.allocUnsafe:o,He=cr(ke.getPrototypeOf,ke),Ze=ke.create,Je=Le.propertyIsEnumerable,Ke=Ce.splice,Qe=We?We.isConcatSpreadable:o,et=We?We.iterator:o,rt=We?We.toStringTag:o,ct=function(){try{var e=di(ke,"defineProperty");return e({},"",{}),e}catch(e){}}(),ft=t.clearTimeout!==ht.clearTimeout&&t.clearTimeout,pt=ue&&ue.now!==ht.Date.now&&ue.now,dt=t.setTimeout!==ht.setTimeout&&t.setTimeout,vt=Ae.ceil,gt=Ae.floor,mt=ke.getOwnPropertySymbols,Mt=Ue?Ue.isBuffer:o,Gt=t.isFinite,gr=Ce.join,mr=cr(ke.keys,ke),br=Ae.max,wr=Ae.min,_r=ue.now,xr=t.parseInt,Sr=Ae.random,Or=Ce.reverse,jr=di(t,"DataView"),Ar=di(t,"Map"),kr=di(t,"Promise"),Er=di(t,"Set"),Pr=di(t,"WeakMap"),Rr=di(ke,"create"),Cr=Pr&&new Pr,Nr={},Lr=zi(jr),Ir=zi(Ar),Tr=zi(kr),Dr=zi(Er),Br=zi(Pr),Mr=We?We.prototype:o,Fr=Mr?Mr.valueOf:o,$r=Mr?Mr.toString:o;function zr(e){if(ou(e)&&!Ha(e)&&!(e instanceof qr)){if(e instanceof Wr)return e;if(De.call(e,"__wrapped__"))return Vi(e)}return new Wr(e)}var Vr=function(){function e(){}return function(t){if(!nu(t))return{};if(Ze)return Ze(t);e.prototype=t;var r=new e;return e.prototype=o,r}}();function Ur(){}function Wr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function qr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=y,this.__views__=[]}function Gr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function ln(e,t,r,n,i,a){var u,c=1&t,s=2&t,l=4&t;if(r&&(u=i?r(e,n,i,a):r(e)),u!==o)return u;if(!nu(e))return e;var f=Ha(e);if(f){if(u=function(e){var t=e.length,r=new e.constructor(t);t&&"string"==typeof e[0]&&De.call(e,"index")&&(r.index=e.index,r.input=e.input);return r}(e),!c)return No(e,u)}else{var p=gi(e),h=p==S||p==O;if(Qa(e))return Ao(e,c);if(p==k||p==m||h&&!i){if(u=s||h?{}:bi(e),!c)return s?function(e,t){return Lo(e,yi(e),t)}(e,function(e,t){return e&&Lo(t,Tu(t),e)}(u,e)):function(e,t){return Lo(e,vi(e),t)}(e,an(u,e))}else{if(!ut[p])return i?e:{};u=function(e,t,r){var n=e.constructor;switch(t){case I:return ko(e);case w:case _:return new n(+e);case T:return function(e,t){var r=t?ko(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e,r);case D:case B:case M:case F:case $:case z:case V:case U:case W:return Eo(e,r);case j:return new n;case A:case C:return new n(e);case P:return function(e){var t=new e.constructor(e.source,ve.exec(e));return t.lastIndex=e.lastIndex,t}(e);case R:return new n;case N:return o=e,Fr?ke(Fr.call(o)):{}}var o}(e,p,c)}}a||(a=new Kr);var d=a.get(e);if(d)return d;a.set(e,u),su(e)?e.forEach((function(n){u.add(ln(n,t,r,n,e,a))})):iu(e)&&e.forEach((function(n,o){u.set(o,ln(n,t,r,o,e,a))}));var v=f?o:(l?s?ui:ai:s?Tu:Iu)(e);return kt(v||e,(function(n,o){v&&(n=e[o=n]),rn(u,o,ln(n,t,r,o,e,a))})),u}function fn(e,t,r){var n=r.length;if(null==e)return!n;for(e=ke(e);n--;){var i=r[n],a=t[i],u=e[i];if(u===o&&!(i in e)||!a(u))return!1}return!0}function pn(e,t,r){if("function"!=typeof e)throw new Re(i);return Ii((function(){e.apply(o,r)}),t)}function hn(e,t,r,n){var o=-1,i=Ct,a=!0,u=e.length,c=[],s=t.length;if(!u)return c;r&&(t=Lt(t,Qt(r))),n?(i=Nt,a=!1):t.length>=200&&(i=Yt,a=!1,t=new Jr(t));e:for(;++o-1},Hr.prototype.set=function(e,t){var r=this.__data__,n=nn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},Zr.prototype.clear=function(){this.size=0,this.__data__={hash:new Gr,map:new(Ar||Hr),string:new Gr}},Zr.prototype.delete=function(e){var t=pi(this,e).delete(e);return this.size-=t?1:0,t},Zr.prototype.get=function(e){return pi(this,e).get(e)},Zr.prototype.has=function(e){return pi(this,e).has(e)},Zr.prototype.set=function(e,t){var r=pi(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Jr.prototype.add=Jr.prototype.push=function(e){return this.__data__.set(e,a),this},Jr.prototype.has=function(e){return this.__data__.has(e)},Kr.prototype.clear=function(){this.__data__=new Hr,this.size=0},Kr.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Kr.prototype.get=function(e){return this.__data__.get(e)},Kr.prototype.has=function(e){return this.__data__.has(e)},Kr.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Hr){var n=r.__data__;if(!Ar||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Zr(n)}return r.set(e,t),this.size=r.size,this};var dn=Do(xn),vn=Do(Sn,!0);function yn(e,t){var r=!0;return dn(e,(function(e,n,o){return r=!!t(e,n,o)})),r}function gn(e,t,r){for(var n=-1,i=e.length;++n0&&r(u)?t>1?bn(u,t-1,r,n,o):It(o,u):n||(o[o.length]=u)}return o}var wn=Bo(),_n=Bo(!0);function xn(e,t){return e&&wn(e,t,Iu)}function Sn(e,t){return e&&_n(e,t,Iu)}function On(e,t){return Rt(t,(function(t){return eu(e[t])}))}function jn(e,t){for(var r=0,n=(t=xo(t,e)).length;null!=e&&rt}function Pn(e,t){return null!=e&&De.call(e,t)}function Rn(e,t){return null!=e&&t in ke(e)}function Cn(e,t,r){for(var i=r?Nt:Ct,a=e[0].length,u=e.length,c=u,s=n(u),l=1/0,f=[];c--;){var p=e[c];c&&t&&(p=Lt(p,Qt(t))),l=wr(p.length,l),s[c]=!r&&(t||a>=120&&p.length>=120)?new Jr(c&&p):o}p=e[0];var h=-1,d=s[0];e:for(;++h=u?c:c*("desc"==r[n]?-1:1)}return e.index-t.index}(e,t,r)}))}function Hn(e,t,r){for(var n=-1,o=t.length,i={};++n-1;)u!==e&&Ke.call(u,c,1),Ke.call(e,c,1);return e}function Jn(e,t){for(var r=e?t.length:0,n=r-1;r--;){var o=t[r];if(r==n||o!==i){var i=o;_i(o)?Ke.call(e,o,1):ho(e,o)}}return e}function Kn(e,t){return e+gt(Sr()*(t-e+1))}function Qn(e,t){var r="";if(!e||t<1||t>d)return r;do{t%2&&(r+=e),(t=gt(t/2))&&(e+=e)}while(t);return r}function Xn(e,t){return Ti(Pi(e,t,ac),e+"")}function Yn(e){return Xr(Uu(e))}function eo(e,t){var r=Uu(e);return Mi(r,sn(t,0,r.length))}function to(e,t,r,n){if(!nu(e))return e;for(var i=-1,a=(t=xo(t,e)).length,u=a-1,c=e;null!=c&&++ii?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=n(i);++o>>1,a=e[i];null!==a&&!fu(a)&&(r?a<=t:a=200){var s=t?null:Xo(e);if(s)return lr(s);a=!1,o=Yt,c=new Jr}else c=t?[]:u;e:for(;++n=n?e:io(e,t,r)}var jo=ft||function(e){return ht.clearTimeout(e)};function Ao(e,t){if(t)return e.slice();var r=e.length,n=Ge?Ge(r):new e.constructor(r);return e.copy(n),n}function ko(e){var t=new e.constructor(e.byteLength);return new qe(t).set(new qe(e)),t}function Eo(e,t){var r=t?ko(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function Po(e,t){if(e!==t){var r=e!==o,n=null===e,i=e==e,a=fu(e),u=t!==o,c=null===t,s=t==t,l=fu(t);if(!c&&!l&&!a&&e>t||a&&u&&s&&!c&&!l||n&&u&&s||!r&&s||!i)return 1;if(!n&&!a&&!l&&e1?r[i-1]:o,u=i>2?r[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,u&&xi(r[0],r[1],u)&&(a=i<3?o:a,i=1),t=ke(t);++n-1?i[a?t[u]:u]:o}}function Vo(e){return ii((function(t){var r=t.length,n=r,a=Wr.prototype.thru;for(e&&t.reverse();n--;){var u=t[n];if("function"!=typeof u)throw new Re(i);if(a&&!c&&"wrapper"==si(u))var c=new Wr([],!0)}for(n=c?n:r;++n1&&b.reverse(),h&&lc))return!1;var l=a.get(e),f=a.get(t);if(l&&f)return l==t&&f==e;var p=-1,h=!0,d=2&r?new Jr:o;for(a.set(e,t),a.set(t,e);++p-1&&e%1==0&&e1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(ce,"{\n/* [wrapped with "+t+"] */\n")}(n,function(e,t){return kt(g,(function(r){var n="_."+r[0];t&r[1]&&!Ct(e,n)&&e.push(n)})),e.sort()}(function(e){var t=e.match(se);return t?t[1].split(le):[]}(n),r)))}function Bi(e){var t=0,r=0;return function(){var n=_r(),i=16-(n-r);if(r=n,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Mi(e,t){var r=-1,n=e.length,i=n-1;for(t=t===o?n:t;++r1?e[t-1]:o;return r="function"==typeof r?(e.pop(),r):o,ca(e,r)}));function va(e){var t=zr(e);return t.__chain__=!0,t}function ya(e,t){return t(e)}var ga=ii((function(e){var t=e.length,r=t?e[0]:0,n=this.__wrapped__,i=function(t){return cn(t,e)};return!(t>1||this.__actions__.length)&&n instanceof qr&&_i(r)?((n=n.slice(r,+r+(t?1:0))).__actions__.push({func:ya,args:[i],thisArg:o}),new Wr(n,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));var ma=Io((function(e,t,r){De.call(e,r)?++e[r]:un(e,r,1)}));var ba=zo(Gi),wa=zo(Hi);function _a(e,t){return(Ha(e)?kt:dn)(e,fi(t,3))}function xa(e,t){return(Ha(e)?Et:vn)(e,fi(t,3))}var Sa=Io((function(e,t,r){De.call(e,r)?e[r].push(t):un(e,r,[t])}));var Oa=Xn((function(e,t,r){var o=-1,i="function"==typeof t,a=Ja(e)?n(e.length):[];return dn(e,(function(e){a[++o]=i?jt(t,e,r):Nn(e,t,r)})),a})),ja=Io((function(e,t,r){un(e,r,t)}));function Aa(e,t){return(Ha(e)?Lt:zn)(e,fi(t,3))}var ka=Io((function(e,t,r){e[r?0:1].push(t)}),(function(){return[[],[]]}));var Ea=Xn((function(e,t){if(null==e)return[];var r=t.length;return r>1&&xi(e,t[0],t[1])?t=[]:r>2&&xi(t[0],t[1],t[2])&&(t=[t[0]]),Gn(e,bn(t,1),[])})),Pa=pt||function(){return ht.Date.now()};function Ra(e,t,r){return t=r?o:t,t=e&&null==t?e.length:t,ei(e,f,o,o,o,o,t)}function Ca(e,t){var r;if("function"!=typeof t)throw new Re(i);return e=gu(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=o),r}}var Na=Xn((function(e,t,r){var n=1;if(r.length){var o=sr(r,li(Na));n|=s}return ei(e,n,t,r,o)})),La=Xn((function(e,t,r){var n=3;if(r.length){var o=sr(r,li(La));n|=s}return ei(t,n,e,r,o)}));function Ia(e,t,r){var n,a,u,c,s,l,f=0,p=!1,h=!1,d=!0;if("function"!=typeof e)throw new Re(i);function v(t){var r=n,i=a;return n=a=o,f=t,c=e.apply(i,r)}function y(e){return f=e,s=Ii(m,t),p?v(e):c}function g(e){var r=e-l;return l===o||r>=t||r<0||h&&e-f>=u}function m(){var e=Pa();if(g(e))return b(e);s=Ii(m,function(e){var r=t-(e-l);return h?wr(r,u-(e-f)):r}(e))}function b(e){return s=o,d&&n?v(e):(n=a=o,c)}function w(){var e=Pa(),r=g(e);if(n=arguments,a=this,l=e,r){if(s===o)return y(l);if(h)return jo(s),s=Ii(m,t),v(l)}return s===o&&(s=Ii(m,t)),c}return t=bu(t)||0,nu(r)&&(p=!!r.leading,u=(h="maxWait"in r)?br(bu(r.maxWait)||0,t):u,d="trailing"in r?!!r.trailing:d),w.cancel=function(){s!==o&&jo(s),f=0,n=l=a=s=o},w.flush=function(){return s===o?c:b(Pa())},w}var Ta=Xn((function(e,t){return pn(e,1,t)})),Da=Xn((function(e,t,r){return pn(e,bu(t)||0,r)}));function Ba(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Re(i);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(Ba.Cache||Zr),r}function Ma(e){if("function"!=typeof e)throw new Re(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ba.Cache=Zr;var Fa=So((function(e,t){var r=(t=1==t.length&&Ha(t[0])?Lt(t[0],Qt(fi())):Lt(bn(t,1),Qt(fi()))).length;return Xn((function(n){for(var o=-1,i=wr(n.length,r);++o=t})),Ga=Ln(function(){return arguments}())?Ln:function(e){return ou(e)&&De.call(e,"callee")&&!Je.call(e,"callee")},Ha=n.isArray,Za=bt?Qt(bt):function(e){return ou(e)&&kn(e)==I};function Ja(e){return null!=e&&ru(e.length)&&!eu(e)}function Ka(e){return ou(e)&&Ja(e)}var Qa=Mt||bc,Xa=wt?Qt(wt):function(e){return ou(e)&&kn(e)==_};function Ya(e){if(!ou(e))return!1;var t=kn(e);return t==x||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!uu(e)}function eu(e){if(!nu(e))return!1;var t=kn(e);return t==S||t==O||"[object AsyncFunction]"==t||"[object Proxy]"==t}function tu(e){return"number"==typeof e&&e==gu(e)}function ru(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=d}function nu(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ou(e){return null!=e&&"object"==typeof e}var iu=_t?Qt(_t):function(e){return ou(e)&&gi(e)==j};function au(e){return"number"==typeof e||ou(e)&&kn(e)==A}function uu(e){if(!ou(e)||kn(e)!=k)return!1;var t=He(e);if(null===t)return!0;var r=De.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Te.call(r)==$e}var cu=xt?Qt(xt):function(e){return ou(e)&&kn(e)==P};var su=St?Qt(St):function(e){return ou(e)&&gi(e)==R};function lu(e){return"string"==typeof e||!Ha(e)&&ou(e)&&kn(e)==C}function fu(e){return"symbol"==typeof e||ou(e)&&kn(e)==N}var pu=Ot?Qt(Ot):function(e){return ou(e)&&ru(e.length)&&!!at[kn(e)]};var hu=Jo($n),du=Jo((function(e,t){return e<=t}));function vu(e){if(!e)return[];if(Ja(e))return lu(e)?hr(e):No(e);if(et&&e[et])return function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(e[et]());var t=gi(e);return(t==j?ur:t==R?lr:Uu)(e)}function yu(e){return e?(e=bu(e))===h||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function gu(e){var t=yu(e),r=t%1;return t==t?r?t-r:t:0}function mu(e){return e?sn(gu(e),0,y):0}function bu(e){if("number"==typeof e)return e;if(fu(e))return v;if(nu(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=nu(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Kt(e);var r=ge.test(e);return r||be.test(e)?lt(e.slice(2),r?2:8):ye.test(e)?v:+e}function wu(e){return Lo(e,Tu(e))}function _u(e){return null==e?"":fo(e)}var xu=To((function(e,t){if(Ai(t)||Ja(t))Lo(t,Iu(t),e);else for(var r in t)De.call(t,r)&&rn(e,r,t[r])})),Su=To((function(e,t){Lo(t,Tu(t),e)})),Ou=To((function(e,t,r,n){Lo(t,Tu(t),e,n)})),ju=To((function(e,t,r,n){Lo(t,Iu(t),e,n)})),Au=ii(cn);var ku=Xn((function(e,t){e=ke(e);var r=-1,n=t.length,i=n>2?t[2]:o;for(i&&xi(t[0],t[1],i)&&(n=1);++r1),t})),Lo(e,ui(e),r),n&&(r=ln(r,7,ni));for(var o=t.length;o--;)ho(r,t[o]);return r}));var Fu=ii((function(e,t){return null==e?{}:function(e,t){return Hn(e,t,(function(t,r){return Ru(e,r)}))}(e,t)}));function $u(e,t){if(null==e)return{};var r=Lt(ui(e),(function(e){return[e]}));return t=fi(t),Hn(e,r,(function(e,r){return t(e,r[0])}))}var zu=Yo(Iu),Vu=Yo(Tu);function Uu(e){return null==e?[]:Xt(e,Iu(e))}var Wu=Fo((function(e,t,r){return t=t.toLowerCase(),e+(r?qu(t):t)}));function qu(e){return Yu(_u(e).toLowerCase())}function Gu(e){return(e=_u(e))&&e.replace(_e,nr).replace(Ye,"")}var Hu=Fo((function(e,t,r){return e+(r?"-":"")+t.toLowerCase()})),Zu=Fo((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),Ju=Mo("toLowerCase");var Ku=Fo((function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}));var Qu=Fo((function(e,t,r){return e+(r?" ":"")+Yu(t)}));var Xu=Fo((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),Yu=Mo("toUpperCase");function ec(e,t,r){return e=_u(e),(t=r?o:t)===o?function(e){return nt.test(e)}(e)?function(e){return e.match(tt)||[]}(e):function(e){return e.match(fe)||[]}(e):e.match(t)||[]}var tc=Xn((function(e,t){try{return jt(e,o,t)}catch(e){return Ya(e)?e:new Oe(e)}})),rc=ii((function(e,t){return kt(t,(function(t){t=$i(t),un(e,t,Na(e[t],e))})),e}));function nc(e){return function(){return e}}var oc=Vo(),ic=Vo(!0);function ac(e){return e}function uc(e){return Bn("function"==typeof e?e:ln(e,1))}var cc=Xn((function(e,t){return function(r){return Nn(r,e,t)}})),sc=Xn((function(e,t){return function(r){return Nn(e,r,t)}}));function lc(e,t,r){var n=Iu(t),o=On(t,n);null!=r||nu(t)&&(o.length||!n.length)||(r=t,t=e,e=this,o=On(t,Iu(t)));var i=!(nu(r)&&"chain"in r&&!r.chain),a=eu(e);return kt(o,(function(r){var n=t[r];e[r]=n,a&&(e.prototype[r]=function(){var t=this.__chain__;if(i||t){var r=e(this.__wrapped__),o=r.__actions__=No(this.__actions__);return o.push({func:n,args:arguments,thisArg:e}),r.__chain__=t,r}return n.apply(e,It([this.value()],arguments))})})),e}function fc(){}var pc=Go(Lt),hc=Go(Pt),dc=Go(Bt);function vc(e){return Si(e)?qt($i(e)):function(e){return function(t){return jn(t,e)}}(e)}var yc=Zo(),gc=Zo(!0);function mc(){return[]}function bc(){return!1}var wc=qo((function(e,t){return e+t}),0),_c=Qo("ceil"),xc=qo((function(e,t){return e/t}),1),Sc=Qo("floor");var Oc,jc=qo((function(e,t){return e*t}),1),Ac=Qo("round"),kc=qo((function(e,t){return e-t}),0);return zr.after=function(e,t){if("function"!=typeof t)throw new Re(i);return e=gu(e),function(){if(--e<1)return t.apply(this,arguments)}},zr.ary=Ra,zr.assign=xu,zr.assignIn=Su,zr.assignInWith=Ou,zr.assignWith=ju,zr.at=Au,zr.before=Ca,zr.bind=Na,zr.bindAll=rc,zr.bindKey=La,zr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ha(e)?e:[e]},zr.chain=va,zr.chunk=function(e,t,r){t=(r?xi(e,t,r):t===o)?1:br(gu(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,u=0,c=n(vt(i/t));ai?0:i+r),(n=n===o||n>i?i:gu(n))<0&&(n+=i),n=r>n?0:mu(n);r>>0)?(e=_u(e))&&("string"==typeof t||null!=t&&!cu(t))&&!(t=fo(t))&&ar(e)?Oo(hr(e),0,r):e.split(t,r):[]},zr.spread=function(e,t){if("function"!=typeof e)throw new Re(i);return t=null==t?0:br(gu(t),0),Xn((function(r){var n=r[t],o=Oo(r,0,t);return n&&It(o,n),jt(e,this,o)}))},zr.tail=function(e){var t=null==e?0:e.length;return t?io(e,1,t):[]},zr.take=function(e,t,r){return e&&e.length?io(e,0,(t=r||t===o?1:gu(t))<0?0:t):[]},zr.takeRight=function(e,t,r){var n=null==e?0:e.length;return n?io(e,(t=n-(t=r||t===o?1:gu(t)))<0?0:t,n):[]},zr.takeRightWhile=function(e,t){return e&&e.length?yo(e,fi(t,3),!1,!0):[]},zr.takeWhile=function(e,t){return e&&e.length?yo(e,fi(t,3)):[]},zr.tap=function(e,t){return t(e),e},zr.throttle=function(e,t,r){var n=!0,o=!0;if("function"!=typeof e)throw new Re(i);return nu(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),Ia(e,t,{leading:n,maxWait:t,trailing:o})},zr.thru=ya,zr.toArray=vu,zr.toPairs=zu,zr.toPairsIn=Vu,zr.toPath=function(e){return Ha(e)?Lt(e,$i):fu(e)?[e]:No(Fi(_u(e)))},zr.toPlainObject=wu,zr.transform=function(e,t,r){var n=Ha(e),o=n||Qa(e)||pu(e);if(t=fi(t,4),null==r){var i=e&&e.constructor;r=o?n?new i:[]:nu(e)&&eu(i)?Vr(He(e)):{}}return(o?kt:xn)(e,(function(e,n,o){return t(r,e,n,o)})),r},zr.unary=function(e){return Ra(e,1)},zr.union=oa,zr.unionBy=ia,zr.unionWith=aa,zr.uniq=function(e){return e&&e.length?po(e):[]},zr.uniqBy=function(e,t){return e&&e.length?po(e,fi(t,2)):[]},zr.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?po(e,o,t):[]},zr.unset=function(e,t){return null==e||ho(e,t)},zr.unzip=ua,zr.unzipWith=ca,zr.update=function(e,t,r){return null==e?e:vo(e,t,_o(r))},zr.updateWith=function(e,t,r,n){return n="function"==typeof n?n:o,null==e?e:vo(e,t,_o(r),n)},zr.values=Uu,zr.valuesIn=function(e){return null==e?[]:Xt(e,Tu(e))},zr.without=sa,zr.words=ec,zr.wrap=function(e,t){return $a(_o(t),e)},zr.xor=la,zr.xorBy=fa,zr.xorWith=pa,zr.zip=ha,zr.zipObject=function(e,t){return bo(e||[],t||[],rn)},zr.zipObjectDeep=function(e,t){return bo(e||[],t||[],to)},zr.zipWith=da,zr.entries=zu,zr.entriesIn=Vu,zr.extend=Su,zr.extendWith=Ou,lc(zr,zr),zr.add=wc,zr.attempt=tc,zr.camelCase=Wu,zr.capitalize=qu,zr.ceil=_c,zr.clamp=function(e,t,r){return r===o&&(r=t,t=o),r!==o&&(r=(r=bu(r))==r?r:0),t!==o&&(t=(t=bu(t))==t?t:0),sn(bu(e),t,r)},zr.clone=function(e){return ln(e,4)},zr.cloneDeep=function(e){return ln(e,5)},zr.cloneDeepWith=function(e,t){return ln(e,5,t="function"==typeof t?t:o)},zr.cloneWith=function(e,t){return ln(e,4,t="function"==typeof t?t:o)},zr.conformsTo=function(e,t){return null==t||fn(e,t,Iu(t))},zr.deburr=Gu,zr.defaultTo=function(e,t){return null==e||e!=e?t:e},zr.divide=xc,zr.endsWith=function(e,t,r){e=_u(e),t=fo(t);var n=e.length,i=r=r===o?n:sn(gu(r),0,n);return(r-=t.length)>=0&&e.slice(r,i)==t},zr.eq=Ua,zr.escape=function(e){return(e=_u(e))&&Q.test(e)?e.replace(J,or):e},zr.escapeRegExp=function(e){return(e=_u(e))&&ie.test(e)?e.replace(oe,"\\$&"):e},zr.every=function(e,t,r){var n=Ha(e)?Pt:yn;return r&&xi(e,t,r)&&(t=o),n(e,fi(t,3))},zr.find=ba,zr.findIndex=Gi,zr.findKey=function(e,t){return Ft(e,fi(t,3),xn)},zr.findLast=wa,zr.findLastIndex=Hi,zr.findLastKey=function(e,t){return Ft(e,fi(t,3),Sn)},zr.floor=Sc,zr.forEach=_a,zr.forEachRight=xa,zr.forIn=function(e,t){return null==e?e:wn(e,fi(t,3),Tu)},zr.forInRight=function(e,t){return null==e?e:_n(e,fi(t,3),Tu)},zr.forOwn=function(e,t){return e&&xn(e,fi(t,3))},zr.forOwnRight=function(e,t){return e&&Sn(e,fi(t,3))},zr.get=Pu,zr.gt=Wa,zr.gte=qa,zr.has=function(e,t){return null!=e&&mi(e,t,Pn)},zr.hasIn=Ru,zr.head=Ji,zr.identity=ac,zr.includes=function(e,t,r,n){e=Ja(e)?e:Uu(e),r=r&&!n?gu(r):0;var o=e.length;return r<0&&(r=br(o+r,0)),lu(e)?r<=o&&e.indexOf(t,r)>-1:!!o&&zt(e,t,r)>-1},zr.indexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var o=null==r?0:gu(r);return o<0&&(o=br(n+o,0)),zt(e,t,o)},zr.inRange=function(e,t,r){return t=yu(t),r===o?(r=t,t=0):r=yu(r),function(e,t,r){return e>=wr(t,r)&&e=-9007199254740991&&e<=d},zr.isSet=su,zr.isString=lu,zr.isSymbol=fu,zr.isTypedArray=pu,zr.isUndefined=function(e){return e===o},zr.isWeakMap=function(e){return ou(e)&&gi(e)==L},zr.isWeakSet=function(e){return ou(e)&&"[object WeakSet]"==kn(e)},zr.join=function(e,t){return null==e?"":gr.call(e,t)},zr.kebabCase=Hu,zr.last=Yi,zr.lastIndexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=n;return r!==o&&(i=(i=gu(r))<0?br(n+i,0):wr(i,n-1)),t==t?function(e,t,r){for(var n=r+1;n--;)if(e[n]===t)return n;return n}(e,t,i):$t(e,Ut,i,!0)},zr.lowerCase=Zu,zr.lowerFirst=Ju,zr.lt=hu,zr.lte=du,zr.max=function(e){return e&&e.length?gn(e,ac,En):o},zr.maxBy=function(e,t){return e&&e.length?gn(e,fi(t,2),En):o},zr.mean=function(e){return Wt(e,ac)},zr.meanBy=function(e,t){return Wt(e,fi(t,2))},zr.min=function(e){return e&&e.length?gn(e,ac,$n):o},zr.minBy=function(e,t){return e&&e.length?gn(e,fi(t,2),$n):o},zr.stubArray=mc,zr.stubFalse=bc,zr.stubObject=function(){return{}},zr.stubString=function(){return""},zr.stubTrue=function(){return!0},zr.multiply=jc,zr.nth=function(e,t){return e&&e.length?qn(e,gu(t)):o},zr.noConflict=function(){return ht._===this&&(ht._=ze),this},zr.noop=fc,zr.now=Pa,zr.pad=function(e,t,r){e=_u(e);var n=(t=gu(t))?pr(e):0;if(!t||n>=t)return e;var o=(t-n)/2;return Ho(gt(o),r)+e+Ho(vt(o),r)},zr.padEnd=function(e,t,r){e=_u(e);var n=(t=gu(t))?pr(e):0;return t&&nt){var n=e;e=t,t=n}if(r||e%1||t%1){var i=Sr();return wr(e+i*(t-e+st("1e-"+((i+"").length-1))),t)}return Kn(e,t)},zr.reduce=function(e,t,r){var n=Ha(e)?Tt:Ht,o=arguments.length<3;return n(e,fi(t,4),r,o,dn)},zr.reduceRight=function(e,t,r){var n=Ha(e)?Dt:Ht,o=arguments.length<3;return n(e,fi(t,4),r,o,vn)},zr.repeat=function(e,t,r){return t=(r?xi(e,t,r):t===o)?1:gu(t),Qn(_u(e),t)},zr.replace=function(){var e=arguments,t=_u(e[0]);return e.length<3?t:t.replace(e[1],e[2])},zr.result=function(e,t,r){var n=-1,i=(t=xo(t,e)).length;for(i||(i=1,e=o);++nd)return[];var r=y,n=wr(e,y);t=fi(t),e-=y;for(var o=Jt(n,t);++r=a)return e;var c=r-pr(n);if(c<1)return n;var s=u?Oo(u,0,c).join(""):e.slice(0,c);if(i===o)return s+n;if(u&&(c+=s.length-c),cu(i)){if(e.slice(c).search(i)){var l,f=s;for(i.global||(i=Ee(i.source,_u(ve.exec(i))+"g")),i.lastIndex=0;l=i.exec(f);)var p=l.index;s=s.slice(0,p===o?c:p)}}else if(e.indexOf(fo(i),c)!=c){var h=s.lastIndexOf(i);h>-1&&(s=s.slice(0,h))}return s+n},zr.unescape=function(e){return(e=_u(e))&&K.test(e)?e.replace(Z,vr):e},zr.uniqueId=function(e){var t=++Be;return _u(e)+t},zr.upperCase=Xu,zr.upperFirst=Yu,zr.each=_a,zr.eachRight=xa,zr.first=Ji,lc(zr,(Oc={},xn(zr,(function(e,t){De.call(zr.prototype,t)||(Oc[t]=e)})),Oc),{chain:!1}),zr.VERSION="4.17.21",kt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){zr[e].placeholder=zr})),kt(["drop","take"],(function(e,t){qr.prototype[e]=function(r){r=r===o?1:br(gu(r),0);var n=this.__filtered__&&!t?new qr(this):this.clone();return n.__filtered__?n.__takeCount__=wr(r,n.__takeCount__):n.__views__.push({size:wr(r,y),type:e+(n.__dir__<0?"Right":"")}),n},qr.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),kt(["filter","map","takeWhile"],(function(e,t){var r=t+1,n=1==r||3==r;qr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:fi(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}})),kt(["head","last"],(function(e,t){var r="take"+(t?"Right":"");qr.prototype[e]=function(){return this[r](1).value()[0]}})),kt(["initial","tail"],(function(e,t){var r="drop"+(t?"":"Right");qr.prototype[e]=function(){return this.__filtered__?new qr(this):this[r](1)}})),qr.prototype.compact=function(){return this.filter(ac)},qr.prototype.find=function(e){return this.filter(e).head()},qr.prototype.findLast=function(e){return this.reverse().find(e)},qr.prototype.invokeMap=Xn((function(e,t){return"function"==typeof e?new qr(this):this.map((function(r){return Nn(r,e,t)}))})),qr.prototype.reject=function(e){return this.filter(Ma(fi(e)))},qr.prototype.slice=function(e,t){e=gu(e);var r=this;return r.__filtered__&&(e>0||t<0)?new qr(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==o&&(r=(t=gu(t))<0?r.dropRight(-t):r.take(t-e)),r)},qr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},qr.prototype.toArray=function(){return this.take(y)},xn(qr.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),n=/^(?:head|last)$/.test(t),i=zr[n?"take"+("last"==t?"Right":""):t],a=n||/^find/.test(t);i&&(zr.prototype[t]=function(){var t=this.__wrapped__,u=n?[1]:arguments,c=t instanceof qr,s=u[0],l=c||Ha(t),f=function(e){var t=i.apply(zr,It([e],u));return n&&p?t[0]:t};l&&r&&"function"==typeof s&&1!=s.length&&(c=l=!1);var p=this.__chain__,h=!!this.__actions__.length,d=a&&!p,v=c&&!h;if(!a&&l){t=v?t:new qr(this);var y=e.apply(t,u);return y.__actions__.push({func:ya,args:[f],thisArg:o}),new Wr(y,p)}return d&&v?e.apply(this,u):(y=this.thru(f),d?n?y.value()[0]:y.value():y)})})),kt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ce[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);zr.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var o=this.value();return t.apply(Ha(o)?o:[],e)}return this[r]((function(r){return t.apply(Ha(r)?r:[],e)}))}})),xn(qr.prototype,(function(e,t){var r=zr[t];if(r){var n=r.name+"";De.call(Nr,n)||(Nr[n]=[]),Nr[n].push({name:t,func:r})}})),Nr[Uo(o,2).name]=[{name:"wrapper",func:o}],qr.prototype.clone=function(){var e=new qr(this.__wrapped__);return e.__actions__=No(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=No(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=No(this.__views__),e},qr.prototype.reverse=function(){if(this.__filtered__){var e=new qr(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},qr.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=Ha(e),n=t<0,o=r?e.length:0,i=function(e,t,r){var n=-1,o=r.length;for(;++n=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},zr.prototype.plant=function(e){for(var t,r=this;r instanceof Ur;){var n=Vi(r);n.__index__=0,n.__values__=o,t?i.__wrapped__=n:t=n;var i=n;r=r.__wrapped__}return i.__wrapped__=e,t},zr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof qr){var t=e;return this.__actions__.length&&(t=new qr(this)),(t=t.reverse()).__actions__.push({func:ya,args:[na],thisArg:o}),new Wr(t,this.__chain__)}return this.thru(na)},zr.prototype.toJSON=zr.prototype.valueOf=zr.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},zr.prototype.first=zr.prototype.head,et&&(zr.prototype[et]=function(){return this}),zr}();ht._=yr,(n=function(){return yr}.call(t,r,t,e))===o||(e.exports=n)}.call(this)},3744:(e,t)=>{"use strict";t.Z=(e,t)=>{const r=e.__vccOpts||e;for(const[e,n]of t)r[e]=n;return r}},6531:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(311),o=["data-testid","dusk","title"],i={class:"mr-1"};const a={props:{action:{type:Object,required:!0}},methods:{click:function(){this.$emit("action-button-clicked",this.action)}},computed:{actionId:function(){return"import-action-".concat(this.actionCode)},duskId:function(){return"run-action-button-".concat(this.actionCode)},actionCode:function(){return this.action.name.toLowerCase().replace(" ","-")}}};const u=(0,r(3744).Z)(a,[["render",function(e,t,r,a,u,c){return(0,n.openBlock)(),(0,n.createElementBlock)("button",{"data-testid":c.actionId,dusk:c.duskId,onClick:t[0]||(t[0]=(0,n.withModifiers)((function(){return c.click&&c.click.apply(c,arguments)}),["prevent"])),title:e.__(r.action.label),class:(0,n.normalizeClass)(["flex-shrink-0 shadow rounded focus:outline-none ring-primary-200 dark:ring-gray-600 focus:ring bg-primary-500 hover:bg-primary-400 active:bg-primary-600 text-white dark:text-gray-800 inline-flex items-center font-bold px-3 h-9 text-sm flex-shrink-0",r.action.classes])},[(0,n.createElementVNode)("span",i,[((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)("heroicons-outline-".concat(r.action.icon)),{height:"24",width:"24"}))]),(0,n.createElementVNode)("span",null,(0,n.toDisplayString)(e.__(r.action.label)),1)],10,o)}]])},2561:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(311),o=["data-testid","dusk","title"];const i={props:{action:{type:Object,required:!0}},methods:{click:function(){this.$emit("action-link-clicked",this.action)}},computed:{actionId:function(){return"import-invisible-action-".concat(this.actionCode)},duskId:function(){return"run-action-link-".concat(this.actionCode)},actionCode:function(){return this.action.name.toLowerCase().replace(" ","-")}}};const a=(0,r(3744).Z)(i,[["render",function(e,t,r,i,a,u){var c=(0,n.resolveComponent)("icon");return(0,n.openBlock)(),(0,n.createElementBlock)("a",{href:"#","data-testid":u.actionId,dusk:u.duskId,onClick:t[0]||(t[0]=(0,n.withModifiers)((function(){return u.click&&u.click.apply(u,arguments)}),["prevent"])),title:e.__(r.action.label),class:"block no-underline text-90 hover:bg-30 py-3 px-6 detached-action-link flex items-center"},[r.action.icon?((0,n.openBlock)(),(0,n.createBlock)(c,{key:0,type:r.action.icon,width:"20",height:"20","view-box":"0 0 24 24",class:(0,n.normalizeClass)(r.action.iconClasses)},null,8,["type","class"])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("span",null,(0,n.toDisplayString)(e.__(r.action.label)),1)],8,o)}]])},5841:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(311),o={class:"flex w-full justify-end items-center"};const i={mixins:[r(1884).Z],props:["shouldShowActions","resourceId","resourceName"],methods:{handleResponse:function(e){this.actionsList=_.filter(e.data.actions,(function(e){return e.showOnDetailToolbar}))}},computed:{selectedResources:function(){return[this.resourceId]}}};const a=(0,r(3744).Z)(i,[["render",function(e,t,r,i,a,u){var c=(0,n.resolveComponent)("invisible-actions"),s=(0,n.resolveComponent)("action-button");return(0,n.openBlock)(),(0,n.createElementBlock)("div",o,[e.shouldShowInvisibleActions?((0,n.openBlock)(),(0,n.createBlock)(c,{key:0,class:"mr-2",actions:e.invisibleActions.reverse(),"show-arrow":e.showInvisibleActionsArrow,"icon-type":e.invisibleActionsIcon,onDropdownLinkClick:e.handleClick},null,8,["actions","show-arrow","icon-type","onDropdownLinkClick"])):(0,n.createCommentVNode)("",!0),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(e.visibleActions,(function(t){return(0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[r.shouldShowActions||t.standalone?((0,n.openBlock)(),(0,n.createBlock)(s,{class:"mr-3",key:t.uriKey,action:t,onActionButtonClicked:e.handleClick},null,8,["action","onActionButtonClicked"])):(0,n.createCommentVNode)("",!0)],64)})),256)),e.confirmActionModalOpened?((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(e.selectedAction.component),{key:1,class:"text-left",show:e.confirmActionModalOpened,working:e.working,"selected-resources":u.selectedResources,"resource-name":r.resourceName,action:e.selectedAction,errors:e.errors,onConfirm:e.executeAction,onClose:e.closeConfirmationModal},null,40,["show","working","selected-resources","resource-name","action","errors","onConfirm","onClose"])):(0,n.createCommentVNode)("",!0),e.showActionResponseModal?((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(e.actionResponseData.modal),{key:2,onClose:e.closeActionResponseModal,show:e.showActionResponseModal,data:e.actionResponseData},null,40,["onClose","show","data"])):(0,n.createCommentVNode)("",!0)])}]])},9018:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(311),o={class:"flex justify-end items-center mr-3 ml-1"};var i=r(1884);const a={components:{ActionLink:r(6531).Z},mixins:[i.Z],props:["shouldShowActions","resourceName","selectedResources"],methods:{handleResponse:function(e){this.actionsList=_.filter(e.data.actions,(function(e){return e.showOnIndexToolbar}))}}};const u=(0,r(3744).Z)(a,[["render",function(e,t,r,i,a,u){var c=(0,n.resolveComponent)("invisible-actions"),s=(0,n.resolveComponent)("action-button");return(0,n.openBlock)(),(0,n.createElementBlock)("div",o,[e.shouldShowInvisibleActions?((0,n.openBlock)(),(0,n.createBlock)(c,{key:0,class:"mr-2",actions:e.invisibleActions.reverse(),"show-arrow":e.showInvisibleActionsArrow,"icon-type":e.invisibleActionsIcon,onDropdownLinkClick:e.handleClick},null,8,["actions","show-arrow","icon-type","onDropdownLinkClick"])):(0,n.createCommentVNode)("",!0),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(e.visibleActions,(function(t){return(0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[r.shouldShowActions||t.standalone?((0,n.openBlock)(),(0,n.createBlock)(s,{class:"mr-3",key:t.uriKey,action:t,onActionButtonClicked:e.handleClick},null,8,["action","onActionButtonClicked"])):(0,n.createCommentVNode)("",!0)],64)})),256)),e.confirmActionModalOpened?((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(e.selectedAction.component),{key:1,class:"text-left",show:e.confirmActionModalOpened,working:e.working,"selected-resources":r.selectedResources,"resource-name":r.resourceName,action:e.selectedAction,errors:e.errors,onConfirm:e.executeAction,onClose:e.closeConfirmationModal},null,40,["show","working","selected-resources","resource-name","action","errors","onConfirm","onClose"])):(0,n.createCommentVNode)("",!0),e.showActionResponseModal?((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(e.actionResponseData.modal),{key:2,onClose:e.closeActionResponseModal,show:e.showActionResponseModal,data:e.actionResponseData},null,40,["onClose","show","data"])):(0,n.createCommentVNode)("",!0)])}]])},2585:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(311),o={class:"list-reset"};const i={props:{actions:{type:Array,required:!0},showArrow:{type:Boolean,required:!1,default:!1},iconType:{type:String,required:!1,default:"hero-more-horiz"}},data:function(){return{open:!1}},methods:{click:function(e){this.$emit("dropdown-link-click",e)}}};const a=(0,r(3744).Z)(i,[["render",function(e,t,r,i,a,u){var c=(0,n.resolveComponent)("Icon"),s=(0,n.resolveComponent)("BasicButton"),l=(0,n.resolveComponent)("DropdownTrigger"),f=(0,n.resolveComponent)("action-link"),p=(0,n.resolveComponent)("ScrollWrap"),h=(0,n.resolveComponent)("DropdownMenu"),d=(0,n.resolveComponent)("Dropdown");return(0,n.openBlock)(),(0,n.createBlock)(d,null,{menu:(0,n.withCtx)((function(){return[(0,n.createVNode)(h,{width:"auto",class:"px-1"},{default:(0,n.withCtx)((function(){return[(0,n.createVNode)(p,{height:250,class:"divide-y divide-gray-100 dark:divide-gray-800 divide-solid"},{default:(0,n.withCtx)((function(){return[(0,n.createElementVNode)("ul",o,[(0,n.createElementVNode)("li",null,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(r.actions,(function(e){return(0,n.openBlock)(),(0,n.createBlock)(f,{action:e,onActionLinkClicked:function(t){return u.click(e)},key:e.uriKey},null,8,["action","onActionLinkClicked"])})),128))])])]})),_:1})]})),_:1})]})),default:(0,n.withCtx)((function(){return[(0,n.createVNode)(l,{"show-arrow":r.showArrow,class:"rounded hover:bg-gray-200 dark:hover:bg-gray-800 focus:outline-none focus:ring",active:a.open},{default:(0,n.withCtx)((function(){return[r.iconType?((0,n.openBlock)(),(0,n.createBlock)(s,{key:0,component:"span"},{default:(0,n.withCtx)((function(){return[(0,n.createVNode)(c,{solid:!0,type:r.iconType},null,8,["type"])]})),_:1})):(0,n.createCommentVNode)("",!0)]})),_:1},8,["show-arrow","active"])]})),_:1})}]])},2101:(e,t,r)=>{"use strict";r.d(t,{Z:()=>ie});var n=r(311),o={key:1},i=["dusk"],a={key:0,class:"md:flex items-center mb-3"},u={class:"flex flex-auto truncate items-center"},c={class:"ml-auto flex items-center"};var s={key:1},l=["dusk"],f={key:0,class:"md:flex items-center mb-3"},p={class:"flex flex-auto truncate items-center"},h={class:"ml-auto flex items-center"};var d=r(4666),v=r.n(d),y=r(4047),g=r.n(y),m={preventInitialLoading:{type:Boolean,default:!1},showHelpText:{type:Boolean,default:!1},shownViaNewRelationModal:{type:Boolean,default:!1},resourceId:{type:[Number,String]},resourceName:{type:String},relatedResourceId:{type:[Number,String]},relatedResourceName:{type:String},field:{type:Object,required:!0},viaResource:{type:String,required:!1},viaResourceId:{type:[String,Number],required:!1},viaRelationship:{type:String,required:!1},relationshipType:{type:String,default:""},shouldOverrideMeta:{type:Boolean,default:!1},disablePagination:{type:Boolean,default:!1},clickAction:{type:String,default:"view",validator:function(e){return["edit","select","ignore","detail"].includes(e)}},mode:{type:String,default:"form",validator:function(e){return["form","modal"].includes(e)}}};function b(e){return g()(m,e)}var w=r(384),_=r(8336);function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function S(e){for(var t=1;t=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(u&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),x(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:O(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}function W(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}const q={props:{loadCards:{type:Boolean,default:!0}},data:function(){return{cards:[]}},created:function(){this.fetchCards()},watch:{cardsEndpoint:function(){this.fetchCards()}},methods:{fetchCards:function(){var e,t=this;return(e=U().mark((function e(){var r,n;return U().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.loadCards){e.next=6;break}return e.next=3,Nova.request().get(t.cardsEndpoint,{params:t.extraCardParams});case 3:r=e.sent,n=r.data,t.cards=n;case 6:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){W(i,n,o,a,u,"next",e)}function u(e){W(i,n,o,a,u,"throw",e)}a(void 0)}))})()}},computed:{shouldShowCards:function(){return this.cards.length>0},hasDetailOnlyCards:function(){return P()(this.cards,(function(e){return 1==e.onlyOnDetail})).length>0},extraCardParams:function(){return null}}};r(9511);r(8459);r(6677),r(419);function G(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function H(e){for(var t=1;t=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(u&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),x(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:O(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}function Q(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function X(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Q(i,n,o,a,u,"next",e)}function u(e){Q(i,n,o,a,u,"throw",e)}a(void 0)}))}}function Y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ee(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:100;return Promise.all([e,new Promise((function(e){setTimeout((function(){return e()}),t)}))]).then((function(e){return e[0]}))}(Nova.request().get("/nova-api/"+this.resourceName+"/"+this.resourceId,{params:{viaResource:this.viaResource,viaResourceId:this.viaResourceId,viaRelationship:this.viaRelationship,relationshipType:this.relationshipType}})).then((function(t){var r=t.data,n=r.title,o=r.panels,i=r.resource;e.title=n,e.panels=o,e.resource=i,e.handleResourceLoaded()})).catch((function(t){if(t.response.status>=500)Nova.$emit("error",t.response.data.message);else if(404===t.response.status&&e.initialLoading)Nova.visit("/404");else if(403!==t.response.status){if(401===t.response.status)return Nova.redirectToLogin();Nova.error(e.__("This resource no longer exists")),Nova.visit("/resources/".concat(e.resourceName))}else Nova.visit("/403")}))},getActions:function(){var e=this;return this.actions=[],Nova.request().get("/nova-api/"+this.resourceName+"/actions",{params:{resourceId:this.resourceId,editing:!0,editMode:"create",display:"detail"}}).then((function(t){e.actions=t.data.actions}))},actionExecuted:function(){var e=this;return X(K().mark((function t(){return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.getResource();case 2:return t.next=4,e.getActions();case 4:case"end":return t.stop()}}),t)})))()},resolveComponentName:function(e){return v()(e.prefixComponent)||e.prefixComponent?"detail-"+e.component:e.component}}),computed:{isActionDetail:function(){return"action-events"==this.resourceName},cardsEndpoint:function(){return"/nova-api/".concat(this.resourceName,"/cards")},extraCardParams:function(){return{resourceId:this.resourceId}}}};var ne=r(3744);const oe={extends:(0,ne.Z)(re,[["render",function(e,t,r,o,i,a){var u=(0,n.resolveComponent)("Head"),c=(0,n.resolveComponent)("Cards"),d=(0,n.resolveComponent)("Heading"),v=(0,n.resolveComponent)("Badge"),y=(0,n.resolveComponent)("DetailActionDropdown"),g=(0,n.resolveComponent)("Icon"),m=(0,n.resolveComponent)("BasicButton"),b=(0,n.resolveComponent)("Link"),w=(0,n.resolveComponent)("LoadingView"),_=(0,n.resolveDirective)("tooltip");return(0,n.openBlock)(),(0,n.createBlock)(w,{loading:e.initialLoading},{default:(0,n.withCtx)((function(){return[r.shouldOverrideMeta&&e.resourceInformation&&e.title?((0,n.openBlock)(),(0,n.createBlock)(u,{key:0,title:e.__(":resource Details: :title",{resource:e.resourceInformation.singularLabel,title:e.title})},null,8,["title"])):(0,n.createCommentVNode)("",!0),e.shouldShowCards&&e.hasDetailOnlyCards?((0,n.openBlock)(),(0,n.createElementBlock)("div",s,[e.cards.length>0?((0,n.openBlock)(),(0,n.createBlock)(c,{key:0,cards:e.cards,"only-on-detail":!0,resource:e.resource,"resource-id":e.resourceId,"resource-name":e.resourceName},null,8,["cards","resource","resource-id","resource-name"])):(0,n.createCommentVNode)("",!0)])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",{class:(0,n.normalizeClass)({"mt-6":e.shouldShowCards&&e.hasDetailOnlyCards&&e.cards.length>0}),dusk:e.resourceName+"-detail-component"},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(e.panels,(function(t){return(0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(a.resolveComponentName(t)),{key:t.id,panel:t,resource:e.resource,"resource-id":e.resourceId,"resource-name":e.resourceName,class:"mb-8"},{default:(0,n.withCtx)((function(){return[t.showToolbar?((0,n.openBlock)(),(0,n.createElementBlock)("div",f,[(0,n.createElementVNode)("div",p,[(0,n.createVNode)(d,{level:1,textContent:(0,n.toDisplayString)(t.name)},null,8,["textContent"]),e.resource.softDeleted?((0,n.openBlock)(),(0,n.createBlock)(v,{key:0,label:e.__("Soft Deleted"),class:"bg-red-100 text-red-500 dark:bg-red-400 dark:text-red-900 rounded px-2 py-0.5 ml-3"},null,8,["label"])):(0,n.createCommentVNode)("",!0)]),(0,n.createElementVNode)("div",h,[e.resource?((0,n.openBlock)(),(0,n.createBlock)(y,{key:0,resource:e.resource,actions:e.actions,"via-resource":e.viaResource,"via-resource-id":e.viaResourceId,"via-relationship":e.viaRelationship,"resource-name":e.resourceName,class:"mt-1 md:mt-0 md:ml-2 md:mr-2",onActionExecuted:a.actionExecuted,onResourceDeleted:a.getResource,onResourceRestored:a.getResource},null,8,["resource","actions","via-resource","via-resource-id","via-relationship","resource-name","onActionExecuted","onResourceDeleted","onResourceRestored"])):(0,n.createCommentVNode)("",!0),e.resource.authorizedToUpdate?(0,n.withDirectives)(((0,n.openBlock)(),(0,n.createBlock)(b,{key:1,href:e.$url("/resources/".concat(e.resourceName,"/").concat(e.resourceId,"/edit")),class:"rounded hover:bg-gray-200 dark:hover:bg-gray-800 focus:outline-none focus:ring","data-testid":"edit-resource",dusk:"edit-resource-button",tabindex:"1"},{default:(0,n.withCtx)((function(){return[(0,n.createVNode)(m,{component:"span"},{default:(0,n.withCtx)((function(){return[(0,n.createVNode)(g,{type:"pencil-alt"})]})),_:1})]})),_:1},8,["href"])),[[_,{placement:"bottom",distance:10,skidding:0,content:e.__("Edit")}]]):(0,n.createCommentVNode)("",!0)])])):(0,n.createCommentVNode)("",!0)]})),_:2},1032,["panel","resource","resource-id","resource-name"])})),128))],10,l)]})),_:1},8,["loading"])}]])},ie=(0,ne.Z)(oe,[["render",function(e,t,r,s,l,f){var p=(0,n.resolveComponent)("Head"),h=(0,n.resolveComponent)("Cards"),d=(0,n.resolveComponent)("Heading"),v=(0,n.resolveComponent)("Badge"),y=(0,n.resolveComponent)("DetailActions"),g=(0,n.resolveComponent)("DetailActionDropdown"),m=(0,n.resolveComponent)("Icon"),b=(0,n.resolveComponent)("BasicButton"),w=(0,n.resolveComponent)("Link"),_=(0,n.resolveComponent)("LoadingView"),x=(0,n.resolveDirective)("tooltip");return(0,n.openBlock)(),(0,n.createBlock)(_,{loading:e.initialLoading},{default:(0,n.withCtx)((function(){return[e.shouldOverrideMeta&&e.resourceInformation&&e.title?((0,n.openBlock)(),(0,n.createBlock)(p,{key:0,title:e.__(":resource Details: :title",{resource:e.resourceInformation.singularLabel,title:e.title})},null,8,["title"])):(0,n.createCommentVNode)("",!0),e.shouldShowCards&&e.hasDetailOnlyCards?((0,n.openBlock)(),(0,n.createElementBlock)("div",o,[e.cards.length>0?((0,n.openBlock)(),(0,n.createBlock)(h,{key:0,cards:e.cards,"only-on-detail":!0,resource:e.resource,"resource-id":e.resourceId,"resource-name":e.resourceName},null,8,["cards","resource","resource-id","resource-name"])):(0,n.createCommentVNode)("",!0)])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",{class:(0,n.normalizeClass)({"mt-6":e.shouldShowCards&&e.hasDetailOnlyCards&&e.cards.length>0}),dusk:e.resourceName+"-detail-component"},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(e.panels,(function(t){return(0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(e.resolveComponentName(t)),{key:t.id,panel:t,resource:e.resource,"resource-id":e.resourceId,"resource-name":e.resourceName,class:"mb-8"},{default:(0,n.withCtx)((function(){return[t.showToolbar?((0,n.openBlock)(),(0,n.createElementBlock)("div",a,[(0,n.createElementVNode)("div",u,[(0,n.createVNode)(d,{level:1,textContent:(0,n.toDisplayString)(t.name)},null,8,["textContent"]),e.resource.softDeleted?((0,n.openBlock)(),(0,n.createBlock)(v,{key:0,label:e.__("Soft Deleted"),class:"bg-red-100 text-red-500 dark:bg-red-400 dark:text-red-900 rounded px-2 py-0.5 ml-3"},null,8,["label"])):(0,n.createCommentVNode)("",!0)]),(0,n.createElementVNode)("div",c,[(0,n.createVNode)(y,{"should-show-actions":e.shouldShowActionSelector,"resource-id":e.resource.id.value,"resource-name":e.resourceName,onActionExecuted:e.getResources},null,8,["should-show-actions","resource-id","resource-name","onActionExecuted"]),e.resource?((0,n.openBlock)(),(0,n.createBlock)(g,{key:0,resource:e.resource,actions:e.actions,"via-resource":e.viaResource,"via-resource-id":e.viaResourceId,"via-relationship":e.viaRelationship,"resource-name":e.resourceName,class:"mt-1 md:mt-0 md:ml-2 md:mr-2",onActionExecuted:e.actionExecuted,onResourceDeleted:e.getResource,onResourceRestored:e.getResource},null,8,["resource","actions","via-resource","via-resource-id","via-relationship","resource-name","onActionExecuted","onResourceDeleted","onResourceRestored"])):(0,n.createCommentVNode)("",!0),e.resource.authorizedToUpdate?(0,n.withDirectives)(((0,n.openBlock)(),(0,n.createBlock)(w,{key:1,href:e.$url("/resources/".concat(e.resourceName,"/").concat(e.resourceId,"/edit")),class:"rounded hover:bg-gray-200 dark:hover:bg-gray-800 focus:outline-none focus:ring","data-testid":"edit-resource",dusk:"edit-resource-button",tabindex:"1"},{default:(0,n.withCtx)((function(){return[(0,n.createVNode)(b,{component:"span"},{default:(0,n.withCtx)((function(){return[(0,n.createVNode)(m,{type:"pencil-alt"})]})),_:1})]})),_:1},8,["href"])),[[x,{placement:"bottom",distance:10,skidding:0,content:e.__("Edit")}]]):(0,n.createCommentVNode)("",!0)])])):(0,n.createCommentVNode)("",!0)]})),_:2},1032,["panel","resource","resource-id","resource-name"])})),128))],10,i)]})),_:1},8,["loading"])}]])},8387:(e,t,r)=>{"use strict";r.d(t,{Z:()=>g});var n=r(311),o={class:"flex items-center flex-1"},i={class:"md:ml-3"},a={class:"h-9 ml-auto flex items-center pr-2 md:pr-3"},u={class:"hidden md:flex px-2"},c={key:0,class:"flex items-center md:hidden px-2 pt-3 mt-2 md:mt-0 border-t border-gray-200 dark:border-gray-700"};var s={class:"flex items-center flex-1"},l={class:"md:ml-3"},f={class:"h-9 ml-auto flex items-center pr-2 md:pr-3"},p={class:"hidden md:flex px-2"},h={key:0,class:"flex items-center md:hidden px-2 pt-3 mt-2 md:mt-0 border-t border-gray-200 dark:border-gray-700"};const d={emits:["start-polling","stop-polling"],props:["actionsEndpoint","actionQueryString","allMatchingResourceCount","authorizedToDeleteAnyResources","authorizedToDeleteSelectedResources","authorizedToForceDeleteAnyResources","authorizedToForceDeleteSelectedResources","authorizedToRestoreAnyResources","authorizedToRestoreSelectedResources","availableActions","clearSelectedFilters","closeDeleteModal","currentlyPolling","deleteAllMatchingResources","deleteSelectedResources","filterChanged","forceDeleteAllMatchingResources","forceDeleteSelectedResources","getResources","hasFilters","haveStandaloneActions","lenses","lens","isLensView","perPage","perPageOptions","pivotActions","pivotName","resources","resourceInformation","resourceName","restoreAllMatchingResources","restoreSelectedResources","selectAllChecked","selectAllMatchingChecked","selectedResources","selectedResourcesForActionSelector","shouldShowActionSelector","shouldShowCheckBoxes","shouldShowDeleteMenu","shouldShowPollingToggle","softDeletes","toggleSelectAll","toggleSelectAllMatching","trashed","trashedChanged","trashedParameter","updatePerPageChanged","viaHasOne","viaManyToMany","viaResource"],computed:{filterPerPageOptions:function(){if(this.resourceInformation)return this.perPageOptions||this.resourceInformation.perPageOptions}}};var v=r(3744);const y={extends:(0,v.Z)(d,[["render",function(e,t,r,o,i,a){var u=(0,n.resolveComponent)("SelectAllDropdown"),c=(0,n.resolveComponent)("ActionSelector"),d=(0,n.resolveComponent)("ResourcePollingButton"),v=(0,n.resolveComponent)("LensSelector"),y=(0,n.resolveComponent)("FilterMenu"),g=(0,n.resolveComponent)("DeleteMenu");return(0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(["flex flex-col md:flex-row md:items-center",{"py-3 border-b border-gray-200 dark:border-gray-700":r.shouldShowCheckBoxes||r.shouldShowDeleteMenu||r.softDeletes||!r.viaResource||r.hasFilters||r.haveStandaloneActions}])},[(0,n.createElementVNode)("div",s,[(0,n.createElementVNode)("div",l,[r.shouldShowCheckBoxes?((0,n.openBlock)(),(0,n.createBlock)(u,{key:0,"all-matching-resource-count":r.allMatchingResourceCount,onToggleSelectAll:r.toggleSelectAll,onToggleSelectAllMatching:r.toggleSelectAllMatching},null,8,["all-matching-resource-count","onToggleSelectAll","onToggleSelectAllMatching"])):(0,n.createCommentVNode)("",!0)]),(0,n.createElementVNode)("div",f,[(0,n.createElementVNode)("div",p,[r.shouldShowActionSelector?((0,n.openBlock)(),(0,n.createBlock)(c,{key:0,"resource-name":r.resourceName,actions:r.availableActions,"pivot-actions":r.pivotActions,"pivot-name":r.pivotName,endpoint:r.actionsEndpoint,"action-query-string":r.actionQueryString,"selected-resources":r.selectedResourcesForActionSelector,onActionExecuted:r.getResources},null,8,["resource-name","actions","pivot-actions","pivot-name","endpoint","action-query-string","selected-resources","onActionExecuted"])):(0,n.createCommentVNode)("",!0)]),r.shouldShowPollingToggle?((0,n.openBlock)(),(0,n.createBlock)(d,{key:0,"currently-polling":r.currentlyPolling,onStartPolling:t[0]||(t[0]=function(t){return e.$emit("start-polling")}),onStopPolling:t[1]||(t[1]=function(t){return e.$emit("stop-polling")})},null,8,["currently-polling"])):(0,n.createCommentVNode)("",!0),r.lenses?((0,n.openBlock)(),(0,n.createBlock)(v,{key:1,"resource-name":r.resourceName,lenses:r.lenses},null,8,["resource-name","lenses"])):(0,n.createCommentVNode)("",!0),(0,n.createVNode)(y,{"resource-name":r.resourceName,"soft-deletes":r.softDeletes,"via-resource":r.viaResource,"via-has-one":r.viaHasOne,trashed:r.trashed,"per-page":r.perPage,"per-page-options":a.filterPerPageOptions,onClearSelectedFilters:t[2]||(t[2]=function(e){return r.clearSelectedFilters(r.lens||null)}),onFilterChanged:r.filterChanged,onTrashedChanged:r.trashedChanged,onPerPageChanged:r.updatePerPageChanged},null,8,["resource-name","soft-deletes","via-resource","via-has-one","trashed","per-page","per-page-options","onFilterChanged","onTrashedChanged","onPerPageChanged"]),r.shouldShowDeleteMenu?((0,n.openBlock)(),(0,n.createBlock)(g,{key:2,class:"flex",dusk:"delete-menu","soft-deletes":r.softDeletes,resources:r.resources,"selected-resources":r.selectedResources,"via-many-to-many":r.viaManyToMany,"all-matching-resource-count":r.allMatchingResourceCount,"all-matching-selected":r.selectAllMatchingChecked,"authorized-to-delete-selected-resources":r.authorizedToDeleteSelectedResources,"authorized-to-force-delete-selected-resources":r.authorizedToForceDeleteSelectedResources,"authorized-to-delete-any-resources":r.authorizedToDeleteAnyResources,"authorized-to-force-delete-any-resources":r.authorizedToForceDeleteAnyResources,"authorized-to-restore-selected-resources":r.authorizedToRestoreSelectedResources,"authorized-to-restore-any-resources":r.authorizedToRestoreAnyResources,onDeleteSelected:r.deleteSelectedResources,onDeleteAllMatching:r.deleteAllMatchingResources,onForceDeleteSelected:r.forceDeleteSelectedResources,onForceDeleteAllMatching:r.forceDeleteAllMatchingResources,onRestoreSelected:r.restoreSelectedResources,onRestoreAllMatching:r.restoreAllMatchingResources,onClose:r.closeDeleteModal,"trashed-parameter":r.trashedParameter},null,8,["soft-deletes","resources","selected-resources","via-many-to-many","all-matching-resource-count","all-matching-selected","authorized-to-delete-selected-resources","authorized-to-force-delete-selected-resources","authorized-to-delete-any-resources","authorized-to-force-delete-any-resources","authorized-to-restore-selected-resources","authorized-to-restore-any-resources","onDeleteSelected","onDeleteAllMatching","onForceDeleteSelected","onForceDeleteAllMatching","onRestoreSelected","onRestoreAllMatching","onClose","trashed-parameter"])):(0,n.createCommentVNode)("",!0)])]),r.shouldShowActionSelector?((0,n.openBlock)(),(0,n.createElementBlock)("div",h,[(0,n.createVNode)(c,{width:"full","resource-name":r.resourceName,actions:r.availableActions,"pivot-actions":r.pivotActions,"pivot-name":r.pivotName,endpoint:r.actionsEndpoint,"query-string":r.actionQueryString,"selected-resources":r.selectedResourcesForActionSelector,onActionExecuted:r.getResources},null,8,["resource-name","actions","pivot-actions","pivot-name","endpoint","query-string","selected-resources","onActionExecuted"])])):(0,n.createCommentVNode)("",!0)],2)}]])},g=(0,v.Z)(y,[["render",function(e,t,r,s,l,f){var p=(0,n.resolveComponent)("SelectAllDropdown"),h=(0,n.resolveComponent)("IndexActions"),d=(0,n.resolveComponent)("ActionSelector"),v=(0,n.resolveComponent)("ResourcePollingButton"),y=(0,n.resolveComponent)("LensSelector"),g=(0,n.resolveComponent)("FilterMenu"),m=(0,n.resolveComponent)("DeleteMenu");return(0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(["flex flex-col md:flex-row md:items-center",{"py-3 border-b border-gray-200 dark:border-gray-700":e.shouldShowCheckBoxes||e.shouldShowDeleteMenu||e.softDeletes||!e.viaResource||e.hasFilters||e.haveStandaloneActions}])},[(0,n.createElementVNode)("div",o,[(0,n.createElementVNode)("div",i,[e.shouldShowCheckBoxes?((0,n.openBlock)(),(0,n.createBlock)(p,{key:0,"all-matching-resource-count":e.allMatchingResourceCount,onToggleSelectAll:e.toggleSelectAll,onToggleSelectAllMatching:e.toggleSelectAllMatching},null,8,["all-matching-resource-count","onToggleSelectAll","onToggleSelectAllMatching"])):(0,n.createCommentVNode)("",!0)]),(0,n.createElementVNode)("div",a,[(0,n.createVNode)(h,{"should-show-actions":e.shouldShowActionSelector,"resource-name":e.resourceName,"selected-resources":e.selectedResourcesForActionSelector,onActionExecuted:e.getResources},null,8,["should-show-actions","resource-name","selected-resources","onActionExecuted"]),(0,n.createElementVNode)("div",u,[e.shouldShowActionSelector?((0,n.openBlock)(),(0,n.createBlock)(d,{key:0,"resource-name":e.resourceName,actions:e.availableActions,"pivot-actions":e.pivotActions,"pivot-name":e.pivotName,endpoint:e.actionsEndpoint,"action-query-string":e.actionQueryString,"selected-resources":e.selectedResourcesForActionSelector,onActionExecuted:e.getResources},null,8,["resource-name","actions","pivot-actions","pivot-name","endpoint","action-query-string","selected-resources","onActionExecuted"])):(0,n.createCommentVNode)("",!0)]),e.shouldShowPollingToggle?((0,n.openBlock)(),(0,n.createBlock)(v,{key:0,"currently-polling":e.currentlyPolling,onStartPolling:t[0]||(t[0]=function(t){return e.$emit("start-polling")}),onStopPolling:t[1]||(t[1]=function(t){return e.$emit("stop-polling")})},null,8,["currently-polling"])):(0,n.createCommentVNode)("",!0),e.lenses?((0,n.openBlock)(),(0,n.createBlock)(y,{key:1,"resource-name":e.resourceName,lenses:e.lenses},null,8,["resource-name","lenses"])):(0,n.createCommentVNode)("",!0),(0,n.createVNode)(g,{"resource-name":e.resourceName,"soft-deletes":e.softDeletes,"via-resource":e.viaResource,"via-has-one":e.viaHasOne,trashed:e.trashed,"per-page":e.perPage,"per-page-options":e.filterPerPageOptions,onClearSelectedFilters:t[2]||(t[2]=function(t){return e.clearSelectedFilters(e.lens||null)}),onFilterChanged:e.filterChanged,onTrashedChanged:e.trashedChanged,onPerPageChanged:e.updatePerPageChanged},null,8,["resource-name","soft-deletes","via-resource","via-has-one","trashed","per-page","per-page-options","onFilterChanged","onTrashedChanged","onPerPageChanged"]),e.shouldShowDeleteMenu?((0,n.openBlock)(),(0,n.createBlock)(m,{key:2,class:"flex",dusk:"delete-menu","soft-deletes":e.softDeletes,resources:e.resources,"selected-resources":e.selectedResources,"via-many-to-many":e.viaManyToMany,"all-matching-resource-count":e.allMatchingResourceCount,"all-matching-selected":e.selectAllMatchingChecked,"authorized-to-delete-selected-resources":e.authorizedToDeleteSelectedResources,"authorized-to-force-delete-selected-resources":e.authorizedToForceDeleteSelectedResources,"authorized-to-delete-any-resources":e.authorizedToDeleteAnyResources,"authorized-to-force-delete-any-resources":e.authorizedToForceDeleteAnyResources,"authorized-to-restore-selected-resources":e.authorizedToRestoreSelectedResources,"authorized-to-restore-any-resources":e.authorizedToRestoreAnyResources,onDeleteSelected:e.deleteSelectedResources,onDeleteAllMatching:e.deleteAllMatchingResources,onForceDeleteSelected:e.forceDeleteSelectedResources,onForceDeleteAllMatching:e.forceDeleteAllMatchingResources,onRestoreSelected:e.restoreSelectedResources,onRestoreAllMatching:e.restoreAllMatchingResources,onClose:e.closeDeleteModal,"trashed-parameter":e.trashedParameter},null,8,["soft-deletes","resources","selected-resources","via-many-to-many","all-matching-resource-count","all-matching-selected","authorized-to-delete-selected-resources","authorized-to-force-delete-selected-resources","authorized-to-delete-any-resources","authorized-to-force-delete-any-resources","authorized-to-restore-selected-resources","authorized-to-restore-any-resources","onDeleteSelected","onDeleteAllMatching","onForceDeleteSelected","onForceDeleteAllMatching","onRestoreSelected","onRestoreAllMatching","onClose","trashed-parameter"])):(0,n.createCommentVNode)("",!0)])]),e.shouldShowActionSelector?((0,n.openBlock)(),(0,n.createElementBlock)("div",c,[(0,n.createVNode)(d,{width:"full","resource-name":e.resourceName,actions:e.availableActions,"pivot-actions":e.pivotActions,"pivot-name":e.pivotName,endpoint:e.actionsEndpoint,"query-string":e.actionQueryString,"selected-resources":e.selectedResourcesForActionSelector,onActionExecuted:e.getResources},null,8,["resource-name","actions","pivot-actions","pivot-name","endpoint","query-string","selected-resources","onActionExecuted"])])):(0,n.createCommentVNode)("",!0)],2)}]])},8336:(e,t,r)=>{function n(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var o=n(r(20)),i=r(6878),a=n(r(308));function u(){return(u=Object.assign||function(e){for(var t=1;t0&&"back_forward"===window.performance.getEntriesByType("navigation")[0].type},r.handleBackForwardVisit=function(e){var t=this;window.history.state.version=e.version,this.setPage(window.history.state,{preserveScroll:!0,preserveState:!0}).then((function(){t.restoreScrollPositions(),b(e)}))},r.locationVisit=function(e,t){try{window.sessionStorage.setItem("inertiaLocationVisit",JSON.stringify({preserveScroll:t})),window.location.href=e.href,y(window.location).href===y(e).href&&window.location.reload()}catch(e){return!1}},r.isLocationVisit=function(){try{return null!==window.sessionStorage.getItem("inertiaLocationVisit")}catch(e){return!1}},r.handleLocationVisit=function(e){var t,r,n,o,i=this,a=JSON.parse(window.sessionStorage.getItem("inertiaLocationVisit")||"");window.sessionStorage.removeItem("inertiaLocationVisit"),e.url+=window.location.hash,e.rememberedState=null!=(t=null==(r=window.history.state)?void 0:r.rememberedState)?t:{},e.scrollRegions=null!=(n=null==(o=window.history.state)?void 0:o.scrollRegions)?n:[],this.setPage(e,{preserveScroll:a.preserveScroll,preserveState:!0}).then((function(){a.preserveScroll&&i.restoreScrollPositions(),b(e)}))},r.isLocationVisitResponse=function(e){return e&&409===e.status&&e.headers["x-inertia-location"]},r.isInertiaResponse=function(e){return null==e?void 0:e.headers["x-inertia"]},r.createVisitId=function(){return this.visitId={},this.visitId},r.cancelVisit=function(e,t){var r=t.cancelled,n=void 0!==r&&r,o=t.interrupted,i=void 0!==o&&o;!e||e.completed||e.cancelled||e.interrupted||(e.cancelToken.cancel(),e.onCancel(),e.completed=!1,e.cancelled=n,e.interrupted=i,m(e),e.onFinish(e))},r.finishVisit=function(e){e.cancelled||e.interrupted||(e.completed=!0,e.cancelled=!1,e.interrupted=!1,m(e),e.onFinish(e))},r.resolvePreserveOption=function(e,t){return"function"==typeof e?e(t):"errors"===e?Object.keys(t.props.errors||{}).length>0:e},r.visit=function(e,r){var n=this,i=void 0===r?{}:r,a=i.method,c=void 0===a?t.n$.GET:a,l=i.data,p=void 0===l?{}:l,h=i.replace,m=void 0!==h&&h,b=i.preserveScroll,w=void 0!==b&&b,_=i.preserveState,x=void 0!==_&&_,S=i.only,O=void 0===S?[]:S,j=i.headers,A=void 0===j?{}:j,k=i.errorBag,E=void 0===k?"":k,P=i.forceFormData,R=void 0!==P&&P,C=i.onCancelToken,N=void 0===C?function(){}:C,L=i.onBefore,I=void 0===L?function(){}:L,T=i.onStart,D=void 0===T?function(){}:T,B=i.onProgress,M=void 0===B?function(){}:B,F=i.onFinish,$=void 0===F?function(){}:F,z=i.onCancel,V=void 0===z?function(){}:z,U=i.onSuccess,W=void 0===U?function(){}:U,q=i.onError,G=void 0===q?function(){}:q,H=i.queryStringArrayFormat,Z=void 0===H?"brackets":H,J="string"==typeof e?d(e):e;if(!function e(t){return t instanceof File||t instanceof Blob||t instanceof FileList&&t.length>0||t instanceof FormData&&Array.from(t.values()).some((function(t){return e(t)}))||"object"==typeof t&&null!==t&&Object.values(t).some((function(t){return e(t)}))}(p)&&!R||p instanceof FormData||(p=f(p)),!(p instanceof FormData)){var K=v(c,J,p,Z),Q=K[1];J=d(K[0]),p=Q}var X={url:J,method:c,data:p,replace:m,preserveScroll:w,preserveState:x,only:O,headers:A,errorBag:E,forceFormData:R,queryStringArrayFormat:Z,cancelled:!1,completed:!1,interrupted:!1};if(!1!==I(X)&&function(e){return g("before",{cancelable:!0,detail:{visit:e}})}(X)){this.activeVisit&&this.cancelVisit(this.activeVisit,{interrupted:!0}),this.saveScrollPositions();var Y=this.createVisitId();this.activeVisit=u({},X,{onCancelToken:N,onBefore:I,onStart:D,onProgress:M,onFinish:$,onCancel:V,onSuccess:W,onError:G,queryStringArrayFormat:Z,cancelToken:o.CancelToken.source()}),N({cancel:function(){n.activeVisit&&n.cancelVisit(n.activeVisit,{cancelled:!0})}}),function(e){g("start",{detail:{visit:e}})}(X),D(X),o({method:c,url:y(J).href,data:c===t.n$.GET?{}:p,params:c===t.n$.GET?p:{},cancelToken:this.activeVisit.cancelToken.token,headers:u({},A,{Accept:"text/html, application/xhtml+xml","X-Requested-With":"XMLHttpRequest","X-Inertia":!0},O.length?{"X-Inertia-Partial-Component":this.page.component,"X-Inertia-Partial-Data":O.join(",")}:{},E&&E.length?{"X-Inertia-Error-Bag":E}:{},this.page.version?{"X-Inertia-Version":this.page.version}:{}),onUploadProgress:function(e){p instanceof FormData&&(e.percentage=Math.round(e.loaded/e.total*100),function(e){g("progress",{detail:{progress:e}})}(e),M(e))}}).then((function(e){var t;if(!n.isInertiaResponse(e))return Promise.reject({response:e});var r=e.data;O.length&&r.component===n.page.component&&(r.props=u({},n.page.props,r.props)),w=n.resolvePreserveOption(w,r),(x=n.resolvePreserveOption(x,r))&&null!=(t=window.history.state)&&t.rememberedState&&r.component===n.page.component&&(r.rememberedState=window.history.state.rememberedState);var o=J,i=d(r.url);return o.hash&&!i.hash&&y(o).href===i.href&&(i.hash=o.hash,r.url=i.href),n.setPage(r,{visitId:Y,replace:m,preserveScroll:w,preserveState:x})})).then((function(){var e=n.page.props.errors||{};if(Object.keys(e).length>0){var t=E?e[E]?e[E]:{}:e;return function(e){g("error",{detail:{errors:e}})}(t),G(t)}return g("success",{detail:{page:n.page}}),W(n.page)})).catch((function(e){if(n.isInertiaResponse(e.response))return n.setPage(e.response.data,{visitId:Y});if(n.isLocationVisitResponse(e.response)){var t=d(e.response.headers["x-inertia-location"]),r=J;r.hash&&!t.hash&&y(r).href===t.href&&(t.hash=r.hash),n.locationVisit(t,!0===w)}else{if(!e.response)return Promise.reject(e);g("invalid",{cancelable:!0,detail:{response:e.response}})&&s.show(e.response.data)}})).then((function(){n.activeVisit&&n.finishVisit(n.activeVisit)})).catch((function(e){if(!o.isCancel(e)){var t=g("exception",{cancelable:!0,detail:{exception:e}});if(n.activeVisit&&n.finishVisit(n.activeVisit),t)return Promise.reject(e)}}))}},r.setPage=function(e,t){var r=this,n=void 0===t?{}:t,o=n.visitId,i=void 0===o?this.createVisitId():o,a=n.replace,u=void 0!==a&&a,c=n.preserveScroll,s=void 0!==c&&c,l=n.preserveState,f=void 0!==l&&l;return Promise.resolve(this.resolveComponent(e.component)).then((function(t){i===r.visitId&&(e.scrollRegions=e.scrollRegions||[],e.rememberedState=e.rememberedState||{},(u=u||d(e.url).href===window.location.href)?r.replaceState(e):r.pushState(e),r.swapComponent({component:t,page:e,preserveState:f}).then((function(){s||r.resetScrollPositions(),u||b(e)})))}))},r.pushState=function(e){this.page=e,window.history.pushState(e,"",e.url)},r.replaceState=function(e){this.page=e,window.history.replaceState(e,"",e.url)},r.handlePopstateEvent=function(e){var t=this;if(null!==e.state){var r=e.state,n=this.createVisitId();Promise.resolve(this.resolveComponent(r.component)).then((function(e){n===t.visitId&&(t.page=r,t.swapComponent({component:e,page:r,preserveState:!1}).then((function(){t.restoreScrollPositions(),b(r)})))}))}else{var o=d(this.page.url);o.hash=window.location.hash,this.replaceState(u({},this.page,{url:o.href})),this.resetScrollPositions()}},r.get=function(e,r,n){return void 0===r&&(r={}),void 0===n&&(n={}),this.visit(e,u({},n,{method:t.n$.GET,data:r}))},r.reload=function(e){return void 0===e&&(e={}),this.visit(window.location.href,u({},e,{preserveScroll:!0,preserveState:!0}))},r.replace=function(e,t){var r;return void 0===t&&(t={}),console.warn("Inertia.replace() has been deprecated and will be removed in a future release. Please use Inertia."+(null!=(r=t.method)?r:"get")+"() instead."),this.visit(e,u({preserveState:!0},t,{replace:!0}))},r.post=function(e,r,n){return void 0===r&&(r={}),void 0===n&&(n={}),this.visit(e,u({preserveState:!0},n,{method:t.n$.POST,data:r}))},r.put=function(e,r,n){return void 0===r&&(r={}),void 0===n&&(n={}),this.visit(e,u({preserveState:!0},n,{method:t.n$.PUT,data:r}))},r.patch=function(e,r,n){return void 0===r&&(r={}),void 0===n&&(n={}),this.visit(e,u({preserveState:!0},n,{method:t.n$.PATCH,data:r}))},r.delete=function(e,r){return void 0===r&&(r={}),this.visit(e,u({preserveState:!0},r,{method:t.n$.DELETE}))},r.remember=function(e,t){var r,n;void 0===t&&(t="default"),w||this.replaceState(u({},this.page,{rememberedState:u({},null==(r=this.page)?void 0:r.rememberedState,(n={},n[t]=e,n))}))},r.restore=function(e){var t,r;if(void 0===e&&(e="default"),!w)return null==(t=window.history.state)||null==(r=t.rememberedState)?void 0:r[e]},r.on=function(e,t){var r=function(e){var r=t(e);e.cancelable&&!e.defaultPrevented&&!1===r&&e.preventDefault()};return document.addEventListener("inertia:"+e,r),function(){return document.removeEventListener("inertia:"+e,r)}},e}(),x={buildDOMElement:function(e){var t=document.createElement("template");t.innerHTML=e;var r=t.content.firstChild;if(!e.startsWith(" diff --git a/resources/js/components/DetailActions.vue b/resources/js/components/DetailActions.vue deleted file mode 100644 index cfd6935..0000000 --- a/resources/js/components/DetailActions.vue +++ /dev/null @@ -1,68 +0,0 @@ - - - diff --git a/resources/js/components/InvisibleActions.vue b/resources/js/components/InvisibleActionsDropdown.vue similarity index 100% rename from resources/js/components/InvisibleActions.vue rename to resources/js/components/InvisibleActionsDropdown.vue diff --git a/resources/js/mixins/DetachedAction.js b/resources/js/mixins/DetachedAction.js index 3468fc3..38a86ba 100644 --- a/resources/js/mixins/DetachedAction.js +++ b/resources/js/mixins/DetachedAction.js @@ -6,48 +6,23 @@ export default { mixins: [HandlesActions, InteractsWithResourceInformation], data: () => ({ - visibleActionsDefault: 3, + visibleActionsDefaultLimit: 3, actionsList: [], confirmActionModalOpened: false, invisibleActionsOpen: false, }), - /** - * Mount the component and retrieve its initial data. - */ - async created() { - this.getDetachedActions() - + created() { Nova.$on('actionExecuted', () => { Nova.$emit('refresh-resources') }) }, methods: { - /** - * Get the actions available for the current resource. - */ - getDetachedActions() { - this.actionsList = [] - return Nova.request() - .get(`/nova-api/${this.resourceName}/actions`, { - params: { - viaResource: this.viaResource, - viaResourceId: this.viaResourceId, - viaRelationship: this.viaRelationship, - relationshipType: this.relationshipType - } - }) - .then(response => { - this.handleResponse(response) - }) - }, - /** * Determine whether the action should redirect or open a confirmation modal */ determineActionStrategy(action) { - this.selectedActionKey = action.uriKey; if (this.selectedAction.withoutConfirmation) { @@ -69,10 +44,10 @@ export default { computed: { /** - * Get all of the detached actions. + * Get all the detached actions. */ detachedActions() { - return _.filter(this.allActions, a => a.detachedAction || false) + return _.filter(this.actionsList, action => action.detachedAction || false) }, /** @@ -97,14 +72,7 @@ export default { visibleActionsLimit() { return this.resourceInformation.hasOwnProperty('visibleActionsLimit') ? this.resourceInformation.visibleActionsLimit - : this.visibleActionsDefault; - }, - - /** - * Get all of the available actions. - */ - allActions() { - return this.actionsList + : this.visibleActionsDefaultLimit; }, /** diff --git a/resources/js/nova-components/ResourceDetail.vue b/resources/js/nova-components/ResourceDetail.vue index 38b71c8..8e210f3 100644 --- a/resources/js/nova-components/ResourceDetail.vue +++ b/resources/js/nova-components/ResourceDetail.vue @@ -50,12 +50,14 @@
- + :resource-id="resource.id.value" + :actions="actions" + :selected-resources="computedSelectedResources" + @actionExecuted="actionExecuted" + > !action.hasOwnProperty('detachedAction')) + : this.actions; + }, + computedStandaloneActions() { + return this.computedActions.length + ? this.computedActions.filter(action => action.standalone) + : this.computedActions; + }, + computedShouldShowActions() { + return this.computedSelectedResources.length > 0 || this.computedStandaloneActions.length > 0 + }, + computedSelectedResources() { + return [this.resource.id.value]; + }, + } }; diff --git a/resources/js/nova-components/ResourceTableToolbar.vue b/resources/js/nova-components/ResourceTableToolbar.vue index 48f7142..3b8e9e7 100644 --- a/resources/js/nova-components/ResourceTableToolbar.vue +++ b/resources/js/nova-components/ResourceTableToolbar.vue @@ -23,20 +23,22 @@
- + >