zoneminder/web/skins/classic/js/bootstrap-table.min.js

11 lines
118 KiB
JavaScript
Raw Normal View History

2020-08-16 04:27:58 +08:00
/**
* bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)
*
* @version v1.18.1
2020-08-16 04:27:58 +08:00
* @homepage https://bootstrap-table.com
* @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)
* @license MIT
*/
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):(t="undefined"!=typeof globalThis?globalThis:t||self).BootstrapTable=e(t.jQuery)}(this,(function(t){"use strict";function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(t,e){return t(e={exports:{}},e.exports),e.exports}var a=function(t){return t&&t.Math==Math&&t},s=a("object"==typeof globalThis&&globalThis)||a("object"==typeof window&&window)||a("object"==typeof self&&self)||a("object"==typeof n&&n)||Function("return this")(),r=function(t){try{return!!t()}catch(t){return!0}},l=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,u={f:h&&!c.call({1:2},1)?function(t){var e=h(this,t);return!!e&&e.enumerable}:c},d=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},f={}.toString,p=function(t){return f.call(t).slice(8,-1)},g="".split,v=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==p(t)?g.call(t,""):Object(t)}:Object,b=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},m=function(t){return v(b(t))},y=function(t){return"object"==typeof t?null!==t:"function"==typeof t},w=function(t,e){if(!y(t))return t;var i,n;if(e&&"function"==typeof(i=t.toString)&&!y(n=i.call(t)))return n;if("function"==typeof(i=t.valueOf)&&!y(n=i.call(t)))return n;if(!e&&"function"==typeof(i=t.toString)&&!y(n=i.call(t)))return n;throw TypeError("Can't convert object to primitive value")},S={}.hasOwnProperty,x=function(t,e){return S.call(t,e)},k=s.document,O=y(k)&&y(k.createElement),C=function(t){return O?k.createElement(t):{}},T=!l&&!r((function(){return 7!=Object.defineProperty(C("div"),"a",{get:function(){return 7}}).a})),P=Object.getOwnPropertyDescriptor,A={f:l?P:function(t,e){if(t=m(t),e=w(e,!0),T)try{return P(t,e)}catch(t){}if(x(t,e))return d(!u.f.call(t,e),t[e])}},I=function(t){if(!y(t))throw TypeError(String(t)+" is not an object");return t},$=Object.defineProperty,E={f:l?$:function(t,e,i){if(I(t),e=w(e,!0),I(i),T)try{return $(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},R=l?function(t,e,i){return E.f(t,e,d(1,i))}:function(t,e,i){return t[e]=i,t},j=function(t,e){try{R(s,t,e)}catch(i){s[t]=e}return e},_="__core-js_shared__",N=s[_]||j(_,{}),F=Function.toString;"function"!=typeof N.inspectSource&&(N.inspectSource=function(t){return F.call(t)});var D,V,B,L=N.inspectSource,H=s.WeakMap,M="function"==typeof H&&/native code/.test(L(H)),U=o((function(t){(t.exports=function(t,e){return N[t]||(N[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),z=0,q=Math.random(),W=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++z+q).toString(36)},G=U("keys"),K=function(t){return G[t]||(G[t]=W(t))},Y={},X=s.WeakMap;if(M){var J=new X,Q=J.get,Z=J.has,tt=J.set;D=function(t,e){return tt.call(J,t,e),e},V=function(t){return Q.call(J,t)||{}},B=function(t){return Z.call(J,t)}}else{var et=K("state");Y[et]=!0,D=function(t,e){return R(t,et,e),e},V=function(t){return x(t,et)?t[et]:{}},B=function(t){return x(t,et)}}var it,nt,ot={set:D,get:V,has:B,enforce:function(t){return B(t)?V(t):D(t,{})},getterFor:function(t){return function(e){var i;if(!y(e)||(i=V(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return i}}},at=o((function(t){var e=ot.get,i=ot.enforce,n=String(String).split("String");(t.exports=function(t,e,o,a){var r=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet;"function"==typeof o&&("string"!=typeof e||x(o,"name")||R(o,"name",e),i(o).source=n.join("string"==typeof e?e:"")),t!==s?(r?!c&&t[e]&&(l=!0):delete t[e],l?t[e]=o:R(t,e,o)):l?t[e]=o:j(e,o)})(Function.