Arc-hive-omeka-theme/assets/js/app.js

31 lines
234 KiB
JavaScript
Raw Permalink Normal View History

2022-03-29 18:03:57 +02:00
!function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=2)}([function(t,e,n){(function(t){var n;function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}
/*!
* jQuery JavaScript Library v3.6.0
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2021-03-02T17:08Z
*/!function(e,n){"use strict";"object"===i(t)&&"object"===i(t.exports)?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,(function(o,s){"use strict";var a=[],r=Object.getPrototypeOf,l=a.slice,c=a.flat?function(t){return a.flat.call(t)}:function(t){return a.concat.apply([],t)},u=a.push,h=a.indexOf,d={},f=d.toString,p=d.hasOwnProperty,v=p.toString,m=v.call(Object),g={},y=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},b=function(t){return null!=t&&t===t.window},w=o.document,k={type:!0,src:!0,nonce:!0,noModule:!0};function $(t,e,n){var i,o,s=(n=n||w).createElement("script");if(s.text=t,e)for(i in k)(o=e[i]||e.getAttribute&&e.getAttribute(i))&&s.setAttribute(i,o);n.head.appendChild(s).parentNode.removeChild(s)}function C(t){return null==t?t+"":"object"===i(t)||"function"==typeof t?d[f.call(t)]||"object":i(t)}var x=function t(e,n){return new t.fn.init(e,n)};function _(t){var e=!!t&&"length"in t&&t.length,n=C(t);return!y(t)&&!b(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}x.fn=x.prototype={jquery:"3.6.0",constructor:x,length:0,toArray:function(){return l.call(this)},get:function(t){return null==t?l.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=x.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return x.each(this,t)},map:function(t){return this.pushStack(x.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(x.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(x.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:a.sort,splice:a.splice},x.extend=x.fn.extend=function(){var t,e,n,o,s,a,r=arguments[0]||{},l=1,c=arguments.length,u=!1;for("boolean"==typeof r&&(u=r,r=arguments[l]||{},l++),"object"===i(r)||y(r)||(r={}),l===c&&(r=this,l--);l<c;l++)if(null!=(t=arguments[l]))for(e in t)o=t[e],"__proto__"!==e&&r!==o&&(u&&o&&(x.isPlainObject(o)||(s=Array.isArray(o)))?(n=r[e],a=s&&!Array.isArray(n)?[]:s||x.isPlainObject(n)?n:{},s=!1,r[e]=x.extend(u,a,o)):void 0!==o&&(r[e]=o));return r},x.extend({expando:"jQuery"+("3.6.0"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==f.call(t)||(e=r(t))&&("function"!=typeof(n=p.call(e,"constructor")&&e.constructor)||v.call(n)!==m))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){$(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,i=0;if(_(t))for(n=t.length;i<n&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},makeArray:function(t,e){var n=e||[];return null!=t&&(_(Object(t))?x.merge(n,"string"==typeof t?[t]:t):u.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:h.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,o=t.length;i<n;i++)t[o++]=e[i];return t.length=o,t},grep:function(t,e,n){for(var i=[],o=0,s=t.length,a=!n;o<s;o++)!e(t[o],o)!==a&&i.push(t[o]);return i},map:function(t,e,n){var i,o,s=0,a=[];if(_(t))for(i=t.length;s<i;s++)null!=(o=e(t[s],s,n))&&a.push(o);else for(s in t)null!=(o=e(t[s],s,n))&&a.push(o);return c(a)},guid:1,support:g}),"function"==typeof Symbol&&(x.fn[Symbol.iterator]=a[Symbol.iterator]),x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){d["[object "+e+"]"]=e.toLowerCase()}));var T=
/*!
* Sizzle CSS Selector Engine v2.3.6
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://js.foundation/
*
* Date: 2021-02-16
*/
function(t){var e,n,i,o,s,a,r,l,c,u,h,d,f,p,v,m,g,y,b,w="sizzle"+1*new Date,k=t.document,$=0,C=0,x=lt(),_=lt(),T=lt(),z=lt(),E=function(t,e){return t===e&&(h=!0),0},A={}.hasOwnProperty,S=[],O=S.pop,L=S.push,D=S.push,H=S.slice,R=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",M="(?:\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",I="\\["+P+"*("+M+")(?:"+P+"*([*^$|!~]?=)"+P+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+P+"*\\]",N=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+I+")*)|.*)\\)|)",j=new RegExp(P+"+","g"),F=new RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),B=new RegExp("^"+P+"*,"+P+"*"),W=new RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),U=new RegExp(P+"|>"),G=new RegExp(N),Y=new RegExp("^"+M+"$"),V={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+q+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},Q=/HTML$/i,X=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\([^\\r\\n\\f])","g"),nt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},it=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ot=function(t,e){return e?"\0"===t?"<22>":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},st=function(){d()},at=wt((function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{D.apply(S=H.call(k.childNodes),k.childNodes),S[k.childNodes.length].nodeType}catch(t){D={apply:S.length?function(t,e){L.apply(t,H.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function rt(t,e,i,o){var s,r,c,u,h,p,g,y=e&&e.ownerDocument,k=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==k&&9!==k&&11!==k)return i;if(!o&&(d(e),e=e||f,v)){if(11!==k&&(h=J.exec(t)))if(s=h[1]){if(9===k){if(!(c=e.getElementById(s)))return i;if(c.id===s)return i.push(c),i}else if(y&&(c=y.getElementById(s))&&b(e,c)&&c.id===s)return i.push(c),i}else{if(h[2])return D.apply(i,e.getElementsByTagName(t)),i;if((s=h[3])&&n.getElementsByClassName&&e.getElementsByClassName)return D.apply(i,e.getElementsByClassName(s)),i}if(n.qsa&&!z[t+" "]&&(!m||!m.test(t))&&(1!==k||"object"!==e.nodeName.toLowerCase())){if(g=t,y=e,1===k&&(U.test(t)||W.test(t))){for((y=tt.test(t)&&gt(e.parentNode)||e)===e&&n.scope||((u=e.getAttribute("id"))?u=u.replace(it,ot):e.setAttribute("id",u=w)),r=(p=a(t)).length;r--;)p[r]=(u?"#"+u:":scope")+" "+bt(p[r]);g=p.join(",")}try{return D.apply(i,y.querySelectorAll(g)),i}catch(e){z(t,!0)}finally{u===w&&e.removeAttribute("id")}}}return l(t.replace(F,"$1"),e,i,o)}function lt(){var t=[];return function e(n,o){return t.push(n+" ")>i.cacheLength&&delete e[t.shift()],e[n+" "]=o}}function ct(t){return t[w]=!0,t}function ut(t){var e=f.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ht(t,e){for(var n=t.split("|"),o=n.length;o--;)i.attrHandle[n[o]]=e}function dt(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function ft(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function pt(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function vt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"
/**
* what-input - A global utility for tracking the current input method (mouse, keyboard or touch).
* @version v4.3.1
* @link https://github.com/ten1seven/what-input
* @license MIT
*/s=function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={exports:{},id:i,loaded:!1};return t[i].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=t,n.c=e,n.p="",n(0)}([function(t,e){"use strict";t.exports=function(){var t="initial",e=null,n=document.documentElement,i=["input","select","textarea"],o=[],s=[16,17,18,91,93],a=[9],r={keydown:"keyboard",keyup:"keyboard",mousedown:"mouse",mousemove:"mouse",MSPointerDown:"pointer",MSPointerMove:"pointer",pointerdown:"pointer",pointermove:"pointer",touchstart:"touch"},l=[],c=!1,u=!1,h={x:null,y:null},d={2:"touch",3:"touch",4:"mouse"},f=!1;try{var p=Object.defineProperty({},"passive",{get:function(){f=!0}});window.addEventListener("test",null,p)}catch(t){}var v=function(n){if(!c){var o=n.which,l=r[n.type];if("pointer"===l&&(l=w(n)),t!==l||e!==l){var u=document.activeElement,h=!1;(u&&u.nodeName&&-1===i.indexOf(u.nodeName.toLowerCase())||-1!==a.indexOf(o))&&(h=!0),("touch"===l||"mouse"===l||"keyboard"===l&&o&&h&&-1===s.indexOf(o))&&(t=e=l,m())}}},m=function(){n.setAttribute("data-whatinput",t),n.setAttribute("data-whatintent",t),-1===l.indexOf(t)&&(l.push(t),n.className+=" whatinput-types-"+t),b("input")},g=function(t){if(h.x!==t.screenX||h.y!==t.screenY?(u=!1,h.x=t.screenX,h.y=t.screenY):u=!0,!c&&!u){var i=r[t.type];"pointer"===i&&(i=w(t)),e!==i&&(e=i,n.setAttribute("data-whatintent",e),b("intent"))}},y=function(t){"touchstart"===t.type?(c=!1,v(t)):c=!0},b=function(t){for(var n=0,i=o.length;n<i;n++)o[n].type===t&&o[n].fn.call(void 0,e)},w=function(t){return"number"==typeof t.pointerType?d[t.pointerType]:"pen"===t.pointerType?"touch":t.pointerType},k=function(){return"onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll"};return"addEventListener"in window&&Array.prototype.indexOf&&(r[k()]="mouse",function(){var t=!!f&&{passive:!0};window.PointerEvent?(n.addEventListener("pointerdown",v),n.addEventListener("pointermove",g)):window.MSPointerEvent?(n.addEventListener("MSPointerDown",v),n.addEventListener("MSPointerMove",g)):(n.addEventListener("mousedown",v),n.addEventListener("mousemove",g),"ontouchstart"in window&&(n.addEventListener("touchstart",y,t),n.addEventListener("touchend",y))),n.addEventListener(k(),g,t),n.addEventListener("keydown",v),n.addEventListener("keyup",v)}(),m()),{ask:function(n){return"loose"===n?e:t},types:function(){return l},ignoreKeys:function(t){s=t},registerOnChange:function(t,e){o.push({fn:t,type:e||"input"})},unRegisterOnChange:function(t){var e=function(t){for(var e=0,n=o.length;e<n;e++)if(o[e].fn===t)return e}(t);e&&o.splice(e,1)}}}()}])},"object"===a(e)&&"object"===a(t)?t.exports=s():(i=[],void 0===(o="function"==typeof(n=s)?n.apply(e,i):n)||(t.exports=o))}).call(this,n(1)(t))},function(t,e,n){"use strict";n.r(e),n.d(e,"Abide",(function(){return ct})),n.d(e,"Accordion",(function(){return ut})),n.d(e,"AccordionMenu",(function(){return ht})),n.d(e,"Box",(function(){return A})),n.d(e,"Core",(function(){return T})),n.d(e,"CoreUtils",(function(){return x})),n.d(e,"Drilldown",(function(){return dt})),n.d(e,"Dropdown",(function(){return bt})),n.d(e,"DropdownMenu",(function(){return wt})),n.d(e,"Equalizer",(function(){return kt})),n.d(e,"Foundation",(function(){return T})),n.d(e,"Interchange",(function(){return $t})),n.d(e,"Keyboard",(function(){return P})),n.d(e,"Magellan",(function(){return xt})),n.d(e,"MediaQuery",(function(){return _})),n.d(e,"Motion",(function(){return N})),n.d(e,"Move",(function(){return j})),n.d(e,"Nest",(function(){return B})),n.d(e,"OffCanvas",(function(){return _t})),n.d(e,"Orbit",(function(){return Tt})),n.d(e,"ResponsiveAccordionTabs",(function(){return Nt})),n.d(e,"ResponsiveMenu",(function(){return Et})),n.d(e,"ResponsiveToggle",(function(){return At})),n.d(e,"Reveal",(function(){return St})),n.d(e,"Slider",(function(){return Ot})),n.d(e,"SmoothScroll",(function(){return Ct})),n.d(e,"Sticky",(function(){return Ht})),n.d(e,"Tabs",(function(){return qt})),n.d(e,"Timer",(function(){return W})),n.d(e,"Toggler",(function(){ret