mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-25 11:07:22 +00:00
7ba014ba49
Fix metadata excration of comic books updated bootstrap table updated handling of upload formats restrictions
11 lines
9.2 KiB
JavaScript
11 lines
9.2 KiB
JavaScript
/**
|
|
* 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.16.0
|
|
* @homepage https://bootstrap-table.com
|
|
* @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)
|
|
* @license MIT
|
|
*/
|
|
|
|
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],n):n((t=t||self).jQuery)}(this,(function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t,n){return t(n={exports:{}},n.exports),n.exports}var e=function(t){return t&&t.Math==Math&&t},o=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||Function("return this")(),i=function(t){try{return!!t()}catch(t){return!0}},u=!i((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),c={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,f={f:a&&!c.call({1:2},1)?function(t){var n=a(this,t);return!!n&&n.enumerable}:c},l=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},s={}.toString,p=function(t){return s.call(t).slice(8,-1)},y="".split,g=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==p(t)?y.call(t,""):Object(t)}:Object,d=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},h=function(t){return g(d(t))},m=function(t){return"object"==typeof t?null!==t:"function"==typeof t},v=function(t,n){if(!m(t))return t;var r,e;if(n&&"function"==typeof(r=t.toString)&&!m(e=r.call(t)))return e;if("function"==typeof(r=t.valueOf)&&!m(e=r.call(t)))return e;if(!n&&"function"==typeof(r=t.toString)&&!m(e=r.call(t)))return e;throw TypeError("Can't convert object to primitive value")},b={}.hasOwnProperty,w=function(t,n){return b.call(t,n)},S=o.document,O=m(S)&&m(S.createElement),j=!u&&!i((function(){return 7!=Object.defineProperty((t="div",O?S.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),P=Object.getOwnPropertyDescriptor,T={f:u?P:function(t,n){if(t=h(t),n=v(n,!0),j)try{return P(t,n)}catch(t){}if(w(t,n))return l(!f.f.call(t,n),t[n])}},x=function(t){if(!m(t))throw TypeError(String(t)+" is not an object");return t},k=Object.defineProperty,A={f:u?k:function(t,n,r){if(x(t),n=v(n,!0),x(r),j)try{return k(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},E=u?function(t,n,r){return A.f(t,n,l(1,r))}:function(t,n,r){return t[n]=r,t},M=function(t,n){try{E(o,t,n)}catch(r){o[t]=n}return n},_=o["__core-js_shared__"]||M("__core-js_shared__",{}),z=Function.toString;"function"!=typeof _.inspectSource&&(_.inspectSource=function(t){return z.call(t)});var C,R,N,F,I=_.inspectSource,L=o.WeakMap,D="function"==typeof L&&/native code/.test(I(L)),q=r((function(t){(t.exports=function(t,n){return _[t]||(_[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.6.0",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),G=0,K=Math.random(),V=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++G+K).toString(36)},Z=q("keys"),B={},H=o.WeakMap;if(D){var W=new H,J=W.get,Q=W.has,U=W.set;C=function(t,n){return U.call(W,t,n),n},R=function(t){return J.call(W,t)||{}},N=function(t){return Q.call(W,t)}}else{var Y=Z[F="state"]||(Z[F]=V(F));B[Y]=!0,C=function(t,n){return E(t,Y,n),n},R=function(t){return w(t,Y)?t[Y]:{}},N=function(t){return w(t,Y)}}var X,$,tt={set:C,get:R,has:N,enforce:function(t){return N(t)?R(t):C(t,{})},getterFor:function(t){return function(n){var r;if(!m(n)||(r=R(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},nt=r((function(t){var n=tt.get,r=tt.enforce,e=String(String).split("String");(t.exports=function(t,n,i,u){var c=!!u&&!!u.unsafe,a=!!u&&!!u.enumerable,f=!!u&&!!u.noTargetGet;"function"==typeof i&&("string"!=typeof n||w(i,"name")||E(i,"name",n),r(i).source=e.join("string"==typeof n?n:"")),t!==o?(c?!f&&t[n]&&(a=!0):delete t[n],a?t[n]=i:E(t,n,i)):a?t[n]=i:M(n,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&n(this).source||I(this)}))})),rt=o,et=function(t){return"function"==typeof t?t:void 0},ot=function(t,n){return arguments.length<2?et(rt[t])||et(o[t]):rt[t]&&rt[t][n]||o[t]&&o[t][n]},it=Math.ceil,ut=Math.floor,ct=function(t){return isNaN(t=+t)?0:(t>0?ut:it)(t)},at=Math.min,ft=function(t){return t>0?at(ct(t),9007199254740991):0},lt=Math.max,st=Math.min,pt=function(t){return function(n,r,e){var o,i=h(n),u=ft(i.length),c=function(t,n){var r=ct(t);return r<0?lt(r+n,0):st(r,n)}(e,u);if(t&&r!=r){for(;u>c;)if((o=i[c++])!=o)return!0}else for(;u>c;c++)if((t||c in i)&&i[c]===r)return t||c||0;return!t&&-1}},yt={includes:pt(!0),indexOf:pt(!1)}.indexOf,gt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),dt={f:Object.getOwnPropertyNames||function(t){return function(t,n){var r,e=h(t),o=0,i=[];for(r in e)!w(B,r)&&w(e,r)&&i.push(r);for(;n.length>o;)w(e,r=n[o++])&&(~yt(i,r)||i.push(r));return i}(t,gt)}},ht={f:Object.getOwnPropertySymbols},mt=ot("Reflect","ownKeys")||function(t){var n=dt.f(x(t)),r=ht.f;return r?n.concat(r(t)):n},vt=function(t,n){for(var r=mt(n),e=A.f,o=T.f,i=0;i<r.length;i++){var u=r[i];w(t,u)||e(t,u,o(n,u))}},bt=/#|\.prototype\./,wt=function(t,n){var r=Ot[St(t)];return r==Pt||r!=jt&&("function"==typeof n?i(n):!!n)},St=wt.normalize=function(t){return String(t).replace(bt,".").toLowerCase()},Ot=wt.data={},jt=wt.NATIVE="N",Pt=wt.POLYFILL="P",Tt=wt,xt=T.f,kt=Array.isArray||function(t){return"Array"==p(t)},At=function(t){return Object(d(t))},Et=function(t,n,r){var e=v(n);e in t?A.f(t,e,l(0,r)):t[e]=r},Mt=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())})),_t=Mt&&!Symbol.sham&&"symbol"==typeof Symbol(),zt=q("wks"),Ct=o.Symbol,Rt=_t?Ct:V,Nt=function(t){return w(zt,t)||(Mt&&w(Ct,t)?zt[t]=Ct[t]:zt[t]=Rt("Symbol."+t)),zt[t]},Ft=Nt("species"),It=function(t,n){var r;return kt(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!kt(r.prototype)?m(r)&&null===(r=r[Ft])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===n?0:n)},Lt=ot("navigator","userAgent")||"",Dt=o.process,qt=Dt&&Dt.versions,Gt=qt&&qt.v8;Gt?$=(X=Gt.split("."))[0]+X[1]:Lt&&(!(X=Lt.match(/Edge\/(\d+)/))||X[1]>=74)&&(X=Lt.match(/Chrome\/(\d+)/))&&($=X[1]);var Kt,Vt=$&&+$,Zt=Nt("species"),Bt=Nt("isConcatSpreadable"),Ht=Vt>=51||!i((function(){var t=[];return t[Bt]=!1,t.concat()[0]!==t})),Wt=(Kt="concat",Vt>=51||!i((function(){var t=[];return(t.constructor={})[Zt]=function(){return{foo:1}},1!==t[Kt](Boolean).foo}))),Jt=function(t){if(!m(t))return!1;var n=t[Bt];return void 0!==n?!!n:kt(t)};!function(t,n){var r,e,i,u,c,a=t.target,f=t.global,l=t.stat;if(r=f?o:l?o[a]||M(a,{}):(o[a]||{}).prototype)for(e in n){if(u=n[e],i=t.noTargetGet?(c=xt(r,e))&&c.value:r[e],!Tt(f?e:a+(l?".":"#")+e,t.forced)&&void 0!==i){if(typeof u==typeof i)continue;vt(u,i)}(t.sham||i&&i.sham)&&E(u,"sham",!0),nt(r,e,u,t)}}({target:"Array",proto:!0,forced:!Ht||!Wt},{concat:function(t){var n,r,e,o,i,u=At(this),c=It(u,0),a=0;for(n=-1,e=arguments.length;n<e;n++)if(i=-1===n?u:arguments[n],Jt(i)){if(a+(o=ft(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<o;r++,a++)r in i&&Et(c,a,i[r])}else{if(a>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Et(c,a++,i)}return c.length=a,c}}),t.fn.bootstrapTable.locales["sk-SK"]={formatLoadingMessage:function(){return"Prosím čakajte"},formatRecordsPerPage:function(t){return"".concat(t," záznamov na stranu")},formatShowingRows:function(t,n,r,e){return void 0!==e&&e>0&&e>r?"Zobrazená ".concat(t,". - ").concat(n,". položka z celkových ").concat(r," (filtered from ").concat(e," total rows)"):"Zobrazená ".concat(t,". - ").concat(n,". položka z celkových ").concat(r)},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Odstráň filtre"},formatSearch:function(){return"Vyhľadávanie"},formatNoMatches:function(){return"Nenájdená žiadna vyhovujúca položka"},formatPaginationSwitch:function(){return"Skry/Zobraz stránkovanie"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Obnoviť"},formatToggle:function(){return"Prepni"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Stĺpce"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Všetky"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Exportuj dáta"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"}},t.extend(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["sk-SK"])}));
|