zb-admin/docs/assets/index.83e47280.js

7 lines
11 KiB
JavaScript
Raw Normal View History

2023-02-27 11:43:11 +00:00
import{Q as q,R as tt,M as B,g as et,i as V,r as C,o as nt,c as rt,a as M,b as w,w as F,d as ot}from"./index.8ab1f836.js";var z={exports:{}};/*!
2022-11-25 04:42:25 +00:00
* clipboard.js v2.0.11
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
2022-12-15 13:41:01 +00:00
*/(function(A,E){(function(S,h){A.exports=h()})(q,function(){return function(){var b={686:function(u,a,t){t.d(a,{default:function(){return Z}});var c=t(279),s=t.n(c),f=t(370),y=t.n(f),v=t(817),g=t.n(v);function d(i){try{return document.execCommand(i)}catch{return!1}}var m=function(n){var e=g()(n);return d("cut"),e},p=m;function x(i){var n=document.documentElement.getAttribute("dir")==="rtl",e=document.createElement("textarea");e.style.fontSize="12pt",e.style.border="0",e.style.padding="0",e.style.margin="0",e.style.position="absolute",e.style[n?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;return e.style.top="".concat(r,"px"),e.setAttribute("readonly",""),e.value=i,e}var P=function(n,e){var r=x(n);e.container.appendChild(r);var o=g()(r);return d("copy"),r.remove(),o},H=function(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},r="";return typeof n=="string"?r=P(n,e):n instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(n==null?void 0:n.type)?r=P(n.value,e):(r=g()(n),d("copy")),r},L=H;function O(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(e){return typeof e}:O=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O(i)}var I=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=n.action,r=e===void 0?"copy":e,o=n.container,l=n.target,_=n.text;if(r!=="copy"&&r!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(l!==void 0)if(l&&O(l)==="object"&&l.nodeType===1){if(r==="copy"&&l.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(r==="cut"&&(l.hasAttribute("readonly")||l.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(_)return L(_,{container:o});if(l)return r==="cut"?p(l):L(l,{container:o})},U=I;function T(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(e){return typeof e}:T=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},T(i)}function Y(i,n){if(!(i instanceof n))throw new TypeError("Cannot call a class as a function")}function j(i,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(i,r.key,r)}}function G(i,n,e){return n&&j(i.prototype,n),e&&j(i,e),i}function Q(i,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(n&&n.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),n&&N(i,n)}function N(i,n){return N=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},N(i,n)}function X(i){var n=K();return function(){var r=k(i),o;if(n){var l=k(this).constructor;o=Reflect.construct(r,arguments,l)}else o=r.apply(this,arguments);return $(this,o)}}function $(i,n){return n&&(T(n)==="object"||typeof n=="function")?n:J(i)}function J(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function K(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function k(i){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},k(i)}function R(i,n){var e="data-clipboard-".concat(i);if(!!n.hasAttribute(e))return n.getAttribute(e)}var W=function(i){Q(e,i);var n=X(e);function e(r,o){var l;return Y(this,e),l=n.call(this),l.resolveOptions(o),l.listenClick(r),l}return G(e,[{key:"resolveOptions",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof o.action=="function"