1/*! For license information please see portlets.js.LICENSE.txt */ 2(()=>{var e,t,n={6961(e,t,n){var i,o,s;s="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global,i=[n(1173),n(3501),t],o=function(e,t,n){s.Backbone=function(e,t,n,i){var o=e.Backbone,s=Array.prototype.slice;t.VERSION="1.6.1",t.$=i,t.noConflict=function(){return e.Backbone=o,this},t.emulateHTTP=!1,t.emulateJSON=!1;var r,a=t.Events={},l=/\s+/,c=function(e,t,i,o,s){var r,a=0;if(i&&"object"==typeof i){void 0!==o&&"context"in s&&void 0===s.context&&(s.context=o);for(r=n.keys(i);a<r.length;a++)t=c(e,t,r[a],i[r[a]],s)}else if(i&&l.test(i))for(r=i.split(l);a<r.length;a++)t=e(t,r[a],o,s);else t=e(t,i,o,s);return t};a.on=function(e,t,n){return this._events=c(d,this._events||{},e,t,{context:n,ctx:this,listening:r}),r&&((this._listeners||(this._listeners={}))[r.id]=r,r.interop=!1),this},a.listenTo=function(e,t,i){if(!e)return this;var o=e._listenId||(e._listenId=n.uniqueId("l")),s=this._listeningTo||(this._listeningTo={}),a=r=s[o];a||(this._listenId||(this._listenId=n.uniqueId("l")),a=r=s[o]=new v(this,e));var l=h(e,t,i,this);if(r=void 0,l)throw l;return a.interop&&a.on(t,i),this};var d=function(e,t,n,i){if(n){var o=e[t]||(e[t]=[]),s=i.context,r=i.ctx,a=i.listening;a&&a.count++,o.push({callback:n,context:s,ctx:s||r,listening:a})}return e},h=function(e,t,n,i){try{e.on(t,n,i)}catch(e){return e}};a.off=function(e,t,n){return this._events?(this._events=c(u,this._events,e,t,{context:n,listeners:this._listeners}),this):this},a.stopListening=function(e,t,i){var o=this._listeningTo;if(!o)return this;for(var s=e?[e._listenId]:n.keys(o),r=0;r<s.length;r++){var a=o[s[r]];if(!a)break;a.obj.off(t,i,this),a.interop&&a.off(t,i)}return n.isEmpty(o)&&(this._listeningTo=void 0),this};var u=function(e,t,i,o){if(e){var s,r=o.context,a=o.listeners,l=0;if(t||r||i){for(s=t?[t]:n.keys(e);l<s.length;l++){var c=e[t=s[l]];if(!c)break;for(var d=[],h=0;h<c.length;h++){var u=c[h];if(i&&i!==u.callback&&i!==u.callback._callback||r&&r!==u.context)d.push(u);else{var m=u.listening;m&&m.off(t,i)}}d.length?e[t]=d:delete e[t]}return e}for(s=n.keys(a);l<s.length;l++)a[s[l]].cleanup()}};a.once=function(e,t,n){var i=c(m,{},e,t,this.off.bind(this));return"string"==typeof e&&null==n&&(t=void 0),this.on(i,t,n)},a.listenToOnce=function(e,t,n){var i=c(m,{},t,n,this.stopListening.bind(this,e));return this.listenTo(e,i)};var m=function(e,t,i,o){if(i){var s=e[t]=n.once(function(){o(t,s),i.apply(this,arguments)});s._callback=i}return e};a.trigger=function(e){if(!this._events)return this;for(var t=Math.max(0,arguments.length-1),n=Array(t),i=0;i<t;i++)n[i]=arguments[i+1];return c(f,this._events,e,void 0,n),this};var f=function(e,t,n,i){if(e){var o=e[t],s=e.all;o&&s&&(s=s.slice()),o&&p(o,i),s&&p(s,[t].concat(i))}return e},p=function(e,t){var n,i=-1,o=e.length,s=t[0],r=t[1],a=t[2];switch(t.length){case 0:for(;++i<o;)(n=e[i]).callback.call(n.ctx);return;case 1:for(;++i<o;)(n=e[i]).callback.call(n.ctx,s);return;case 2:for(;++i<o;)(n=e[i]).callback.call(n.ctx,s,r);return;case 3:for(;++i<o;)(n=e[i]).callback.call(n.ctx,s,r,a);return;default:for(;++i<o;)(n=e[i]).callback.apply(n.ctx,t);return}},v=function(e,t){this.id=e._listenId,this.listener=e,this.obj=t,this.interop=!0,this.count=0,this._events=void 0};v.prototype.on=a.on,v.prototype.off=function(e,t){var n;this.interop?(this._events=c(u,this._events,e,t,{context:void 0,listeners:void 0}),n=!this._events):(this.count--,n=0===this.count),n&&this.cleanup()},v.prototype.cleanup=function(){delete this.listener._listeningTo[this.obj._listenId],this.interop||delete this.obj._listeners[this.id]},a.bind=a.on,a.unbind=a.off,n.extend(t,a);var g=t.Model=function(e,t){var i=e||{};t||(t={}),this.preinitialize.apply(this,arguments),this.cid=n.uniqueId(this.cidPrefix),this.attributes={},t.collection&&(this.collection=t.collection),t.parse&&(i=this.parse(i,t)||{});var o=n.result(this,"defaults");i=n.defaults(n.extend({},o,i),o),this.set(i,t),this.changed={},this.initialize.apply(this,arguments)};n.extend(g.prototype,a,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",preinitialize:function(){},initialize:function(){},toJSON:function(e){return n.clone(this.attributes)},sync:function(){return t.sync.apply(this,arguments)},get:function(e){return this.attributes[e]},escape:function(e){return n.escape(this.get(e))},has:function(e){return null!=this.get(e)},matches:function(e){return!!n.iteratee(e,this)(this.attributes)},set:function(e,t,i){if(null==e)return this;var o;if("object"==typeof e?(o=e,i=t):(o={})[e]=t,i||(i={}
2),!this._validate(o,i))return!1;var s=i.unset,r=i.silent,a=[],l=this._changing;this._changing=!0,l||(this._previousAttributes=n.clone(this.attributes),this.changed={});var c=this.attributes,d=this.changed,h=this._previousAttributes;for(var u in o)t=o[u],n.isEqual(c[u],t)||a.push(u),n.isEqual(h[u],t)?delete d[u]:d[u]=t,s?delete c[u]:c[u]=t;if(this.idAttribute in o){var m=this.id;this.id=this.get(this.idAttribute),this.id!==m&&this.trigger("changeId",this,m,i)}if(!r){a.length&&(this._pending=i);for(var f=0;f<a.length;f++)this.trigger("change:"+a[f],this,c[a[f]],i)}if(l)return this;if(!r)for(;this._pending;)i=this._pending,this._pending=!1,this.trigger("change",this,i);return this._pending=!1,this._changing=!1,this},unset:function(e,t){return this.set(e,void 0,n.extend({},t,{unset:!0}))},clear:function(e){var t={};for(var i in this.attributes)t[i]=void 0;return this.set(t,n.extend({},e,{unset:!0}))},hasChanged:function(e){return null==e?!n.isEmpty(this.changed):n.has(this.changed,e)},changedAttributes:function(e){if(!e)return!!this.hasChanged()&&n.clone(this.changed);var t,i=this._changing?this._previousAttributes:this.attributes,o={};for(var s in e){var r=e[s];n.isEqual(i[s],r)||(o[s]=r,t=!0)}return!!t&&o},previous:function(e){return null!=e&&this._previousAttributes?this._previousAttributes[e]:null},previousAttributes:function(){return n.clone(this._previousAttributes)},fetch:function(e){e=n.extend({parse:!0},e);var t=this,i=e.success;return e.success=function(n){var o=e.parse?t.parse(n,e):n;if(!t.set(o,e))return!1;i&&i.call(e.context,t,n,e),t.trigger("sync",t,n,e)},G(this,e),this.sync("read",this,e)},save:function(e,t,i){var o;null==e||"object"==typeof e?(o=e,i=t):(o={})[e]=t;var s=(i=n.extend({validate:!0,parse:!0},i)).wait;if(o&&!s){if(!this.set(o,i))return!1}else if(!this._validate(o,i))return!1;var r=this,a=i.success,l=this.attributes;i.success=function(e){r.attributes=l;var t=i.parse?r.parse(e,i):e;if(s&&(t=n.extend({},o,t)),t&&!r.set(t,i))return!1;a&&a.call(i.context,r,e,i),r.trigger("sync",r,e,i)},G(this,i),o&&s&&(this.attributes=n.extend({},l,o));var c=this.isNew()?"create":i.patch?"patch":"update";"patch"!==c||i.attrs||(i.attrs=o);var d=this.sync(c,this,i);return this.attributes=l,d},destroy:function(e){e=e?n.clone(e):{};var t=this,i=e.success,o=e.wait,s=function(){t.stopListening(),t.trigger("destroy",t,t.collection,e)};e.success=function(n){o&&s(),i&&i.call(e.context,t,n,e),t.isNew()||t.trigger("sync",t,n,e)};var r=!1;return this.isNew()?n.defer(e.success):(G(this,e),r=this.sync("delete",this,e)),o||s(),r},url:function(){var e=n.result(this,"urlRoot")||n.result(this.collection,"url")||z();if(this.isNew())return e;var t=this.get(this.idAttribute);return e.replace(/[^\/]$/,"$&/")+encodeURIComponent(t)},parse:function(e,t){return e},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(e){return this._validate({},n.extend({},e,{validate:!0}))},_validate:function(e,t){if(!t.validate||!this.validate)return!0;e=n.extend({},this.attributes,e);var i=this.validationError=this.validate(e,t)||null;return!i||(this.trigger("invalid",this,i,n.extend(t,{validationError:i})),!1)}});var b=t.Collection=function(e,t){t||(t={}),this.preinitialize.apply(this,arguments),t.model&&(this.model=t.model),void 0!==t.comparator&&(this.comparator=t.comparator),this._reset(),this.initialize.apply(this,arguments),e&&this.reset(e,n.extend({silent:!0},t))},y={add:!0,remove:!0,merge:!0},w={add:!0,remove:!1},C=function(e,t,n){n=Math.min(Math.max(n,0),e.length);var i,o=Array(e.length-n),s=t.length;for(i=0;i<o.length;i++)o[i]=e[i+n];for(i=0;i<s;i++)e[i+n]=t[i];for(i=0;i<o.length;i++)e[i+s+n]=o[i]};n.extend(b.prototype,a,{model:g,preinitialize:function(){},initialize:function(){},toJSON:function(e){return this.map(function(t){return t.toJSON(e)})},sync:function(){return t.sync.apply(this,arguments)},add:function(e,t){return this.set(e,n.extend({merge:!1},t,w))},remove:function(e,t){t=n.extend({},t);var i=!n.isArray(e);e=i?[e]:e.slice();var o=this._removeModels(e,t);return!t.silent&&o.length&&(t.changes={added:[],merged:[],removed:o},this.trigger("update",this,t)),i?o[0]:o},set:function(e,t){if(null!=e){(t=n.extend({},y,t)).parse&&!this._isModel(e)&&(e=this.parse(e,t)||[]);var i=!n.isArray(e);e=i?[e]:e.slice();var o=t.at;null!=o&&(o=+o),o>this.length&&(o=this.length),o<0&&(o+=this.length+1);var s,r,a=[],l=[],c=[],d=[],h={},u=t.add,m=t.merge,f=t.remove,p=!1,v=this.comparator&&null==o&&!1!==t.sort,g=n.isString(this.comparator)?this.comparator:null;for(r=0;r<e.length;r++){s=e[r];var b=this.get(s);if(b){if(m&&s!==b){var w=this._isModel(s)?s.attributes:s;t.parse&&(w=b.parse(w,t)),b.set(w,t),c.push(b),v&&!p&&(p=b.hasChanged(g))}h[b.cid]||(h[b.cid]=!0,a.push(b)),e[r]=b}else u&&(s=e[r]=this._prepareModel(s,t))&&(l.push(s),this._addReference(s,t),h[s.cid]=!0,a.push(s))}if(f){for(r=0;r<this.length;r++)h[(s=this.models[r]).cid]||d.push(s);d.length&&this._removeModels(d,t)}var x=!1,k=!v&&u&&f;if(a.length&&k?(x=this.length!==a.length||n.some(this.models,function(e,t){return e!==a[t]}),this.models.length=0,C(this.models,a,0),this.length=this.models.length):l.length&&(v&&(p=!0),C(this.models,l,o??this.length),this.length=this.models.length),p&&this.sort({silent:!0}),!t.silent){for(r=0;r<l.length;r++)null!=o&&(t.index=o+r),(s=l[r]).trigger("add",s,this,t);(p||x)&&this.trigger("sort",this,t),(l.length||d.length||c.length)&&(t.changes={added:l,removed:d,merged:c},this.trigger("update",this,t))}return i?e[0]:e}},reset:function(e,t){t=t?n.clone(t):{};for(var i=0;i<this.models.length;i++)this._removeReference(this.models[i],t);return t.previousModels=this.models,this._reset(),e=this.add(e,n.extend({silent:!0},t)),t.silent||this.trigger("reset",this,t),e},push:function(e,t){return this.add(e,n.extend({at:this.length},t))},pop:function(e){var t=this.at(this.length-1);return this.remove(t,e)},unshift:function(e,t){return this.add(e,n.extend({at:0},t))},shift:function(e){var t=this.at(0);return this.remove(t,e)},slice:function(){return s.apply(this.models,arguments)},get:function(e){if(null!=e)return this._byId[e]||this._byId[this.modelId(this._isModel(e)?e.attributes:e,e.idAttribute)]||e.cid&&this._byId[e.cid]},has:function(e){return null!=this.get(e)},at:function(e){return e<0&&(e+=this.length),this.models[e]},where:function(e,t){return this[t?"find":"filter"](e)},findWhere:function(e){return this.where(e,!0)},sort:function(e){var t=this.comparator;if(!t)throw new Error("Cannot sort a set without a comparator");e||(e={});var i=t.length;return n.isFunction(t)&&(t=t.bind(this)),1===i||n.isString(t)?this.models=this.sortBy(t):this.models.sort(t),e.silent||this.trigger("sort",this,e),this},pluck:function(e){return this.map(e+"")},fetch:function(e){var t=(e=n.extend({parse:!0},e)).success,i=this;return e.success=function(n){var o=e.reset?"reset":"set";i[o](n,e),t&&t.call(e.context,i,n,e),i.trigger("sync",i,n,e)},G(this,e),this.sync("read",this,e)},create:function(e,t){var i=(t=t?n.clone(t):{}).wait;if(!(e=this._prepareModel(e,t)))return!1;i||this.add(e,t);var o=this,s=t.success;return t.success=function(e,t,n){i&&(e.off("error",o._forwardPristineError,o),o.add(e,n)),s&&s.call(n.context,e,t,n)},i&&e.once("error",this._forwardPristineError,this),e.save(null,t),e},parse:function(e,t){return e},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(e,t){return e[t||this.model.prototype.idAttribute||"id"]},values:function(){return new k(this,T)},keys:function(){return new k(this,E)},entries:function(){return new k(this,$)},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(e,t){return this._isModel(e)?(e.collection||(e.collection=this),e):((t=t?n.clone(t):{}
2).collection=this,(i=this.model.prototype?new this.model(e,t):this.model(e,t)).validationError?(this.trigger("invalid",this,i.validationError,t),!1):i);var i},_removeModels:function(e,t){for(var n=[],i=0;i<e.length;i++){var o=this.get(e[i]);if(o){var s=this.indexOf(o);this.models.splice(s,1),this.length--,delete this._byId[o.cid];var r=this.modelId(o.attributes,o.idAttribute);null!=r&&delete this._byId[r],t.silent||(t.index=s,o.trigger("remove",o,this,t)),n.push(o),this._removeReference(o,t)}}return e.length>0&&!t.silent&&delete t.index,n},_isModel:function(e){return e instanceof g},_addReference:function(e,t){this._byId[e.cid]=e;var n=this.modelId(e.attributes,e.idAttribute);null!=n&&(this._byId[n]=e),e.on("all",this._onModelEvent,this)},_removeReference:function(e,t){delete this._byId[e.cid];var n=this.modelId(e.attributes,e.idAttribute);null!=n&&delete this._byId[n],this===e.collection&&delete e.collection,e.off("all",this._onModelEvent,this)},_onModelEvent:function(e,t,n,i){if(t){if(("add"===e||"remove"===e)&&n!==this)return;if("destroy"===e&&this.remove(t,i),"changeId"===e){var o=this.modelId(t.previousAttributes(),t.idAttribute),s=this.modelId(t.attributes,t.idAttribute);null!=o&&delete this._byId[o],null!=s&&(this._byId[s]=t)}}this.trigger.apply(this,arguments)},_forwardPristineError:function(e,t,n){this.has(e)||this._onModelEvent("error",e,t,n)}});var x="function"==typeof Symbol&&Symbol.iterator;x&&(b.prototype[x]=b.prototype.values);var k=function(e,t){this._collection=e,this._kind=t,this._index=0},T=1,E=2,$=3;x&&(k.prototype[x]=function(){return this}),k.prototype.next=function(){if(this._collection){if(this._index<this._collection.length){var e,t=this._collection.at(this._index);if(this._index++,this._kind===T)e=t;else{var n=this._collection.modelId(t.attributes,t.idAttribute);e=this._kind===E?n:[n,t]}return{value:e,done:!1}}this._collection=void 0}return{value:void 0,done:!0}};var _=t.View=function(e){this.cid=n.uniqueId("view"),this.preinitialize.apply(this,arguments),n.extend(this,n.pick(e,A)),this._ensureElement(),this.initialize.apply(this,arguments)},S=/^(\S+)\s*(.*)$/,A=["model","collection","el","id","attributes","className","tagName","events"];n.extend(_.prototype,a,{tagName:"div",$:function(e){return this.$el.find(e)},preinitialize:function(){},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(e){return this.undelegateEvents(),this._setElement(e),this.delegateEvents(),this},_setElement:function(e){this.$el=e instanceof t.$?e:t.$(e),this.el=this.$el[0]},delegateEvents:function(e){if(e||(e=n.result(this,"events")),!e)return this;for(var t in this.undelegateEvents(),e){var i=e[t];if(n.isFunction(i)||(i=this[i]),i){var o=t.match(S);this.delegate(o[1],o[2],i.bind(this))}}return this},delegate:function(e,t,n){return this.$el.on(e+".delegateEvents"+this.cid,t,n),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(e,t,n){return this.$el.off(e+".delegateEvents"+this.cid,t,n),this},_createElement:function(e){return document.createElement(e)},_ensureElement:function(){if(this.el)this.setElement(n.result(this,"el"));else{var e=n.extend({},n.result(this,"attributes"));this.id&&(e.id=n.result(this,"id")),this.className&&(e.class=n.result(this,"className")),this.setElement(this._createElement(n.result(this,"tagName"))),this._setAttributes(e)}},_setAttributes:function(e){this.$el.attr(e)}});var I=function(e,t,n,i){switch(t){case 1:return function(){return e[n](this[i])};case 2:return function(t){return e[n](this[i],t)};case 3:return function(t,o){return e[n](this[i],L(t,this),o)};case 4:return function(t,o,s){return e[n](this[i],L(t,this),o,s)};default:return function(){var t=s.call(arguments);return t.unshift(this[i]),e[n].apply(e,t)}}},R=function(e,t,i,o){n.each(i,function(n,i){t[i]&&(e.prototype[i]=I(t,n,i,o))})},L=function(e,t){return n.isFunction(e)?e:n.isObject(e)&&!t._isModel(e)?N(e):n.isString(e)?function(t){return t.get(e)}:e},N=function(e){var t=n.matches(e);return function(e){return t(e.attributes)}},D={forEach:3,each:3,map:3,collect:3,reduce:0,foldl:0,inject:0,reduceRight:0,foldr:0,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3,findIndex:3,findLastIndex:3}
2,F={keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1};n.each([[b,D,"models"],[g,F,"attributes"]],function(e){var t=e[0],i=e[1],o=e[2];t.mixin=function(e){var i=n.reduce(n.functions(e),function(e,t){return e[t]=0,e},{});R(t,e,i,o)},R(t,n,i,o)}),t.sync=function(e,i,o){var s=P[e];n.defaults(o||(o={}),{emulateHTTP:t.emulateHTTP,emulateJSON:t.emulateJSON});var r={type:s,dataType:"json"};if(o.url||(r.url=n.result(i,"url")||z()),null!=o.data||!i||"create"!==e&&"update"!==e&&"patch"!==e||(r.contentType="application/json",r.data=JSON.stringify(o.attrs||i.toJSON(o))),o.emulateJSON&&(r.contentType="application/x-www-form-urlencoded",r.data=r.data?{model:r.data}:{}),o.emulateHTTP&&("PUT"===s||"DELETE"===s||"PATCH"===s)){r.type="POST",o.emulateJSON&&(r.data._method=s);var a=o.beforeSend;o.beforeSend=function(e){if(e.setRequestHeader("X-HTTP-Method-Override",s),a)return a.apply(this,arguments)}}"GET"===r.type||o.emulateJSON||(r.processData=!1);var l=o.error;o.error=function(e,t,n){o.textStatus=t,o.errorThrown=n,l&&l.call(o.context,e,t,n)};var c=o.xhr=t.ajax(n.extend(r,o));return i.trigger("request",i,c,o),c};var P={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};t.ajax=function(){return t.$.ajax.apply(t.$,arguments)};var B=t.Router=function(e){e||(e={}),this.preinitialize.apply(this,arguments),e.routes&&(this.routes=e.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},H=/\((.*?)\)/g,U=/(\(\?)?:\w+/g,M=/\*\w+/g,O=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(B.prototype,a,{preinitialize:function(){},initialize:function(){},route:function(e,i,o){n.isRegExp(e)||(e=this._routeToRegExp(e)),n.isFunction(i)&&(o=i,i=""),o||(o=this[i]);var s=this;return t.history.route(e,function(n){var r=s._extractParameters(e,n);!1!==s.execute(o,r,i)&&(s.trigger.apply(s,["route:"+i].concat(r)),s.trigger("route",i,r),t.history.trigger("route",s,i,r))}),this},execute:function(e,t,n){e&&e.apply(this,t)},navigate:function(e,n){return t.history.navigate(e,n),this},_bindRoutes:function(){if(this.routes){this.routes=n.result(this,"routes");for(var e,t=n.keys(this.routes);null!=(e=t.pop());)this.route(e,this.routes[e])}},_routeToRegExp:function(e){return e=e.replace(O,"\\$&").replace(H,"(?:$1)?").replace(U,function(e,t){return t?e:"([^/?]+)"}).replace(M,"([^?]*?)"),new RegExp("^"+e+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(e,t){var i=e.exec(t).slice(1);return n.map(i,function(e,t){return t===i.length-1?e||null:e?decodeURIComponent(e):null})}});var j=t.History=function(){this.handlers=[],this.checkUrl=this.checkUrl.bind(this),"undefined"!=typeof window&&(this.location=window.location,this.history=window.history)},q=/^[#\/]|\s+$/g,V=/^\/+|\/+$/g,K=/#.*$/;j.started=!1,n.extend(j.prototype,a,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root&&!this.getSearch()},matchRoot:function(){return this.decodeFragment(this.location.pathname).slice(0,this.root.length-1)+"/"===this.root},decodeFragment:function(e){return decodeURI(e.replace(/%25/g,"%2525"))},getSearch:function(){var e=this.location.href.replace(/#.*/,"").match(/\?.+/);return e?e[0]:""},getHash:function(e){var t=(e||this).location.href.match(/#(.*)$/);return t?t[1]:""},getPath:function(){var e=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return"/"===e.charAt(0)?e.slice(1):e},getFragment:function(e){return null==e&&(e=this._usePushState||!this._wantsHashChange?this.getPath():this.getHash()),e.replace(q,"")},start:function(e){if(j.started)throw new Error("Backbone.history has already been started");if(j.started=!0,this.options=n.extend({root:"/"},this.options,e),this.root=this.options.root,this._trailingSlash=this.options.trailingSlash,this._wantsHashChange=!1!==this.options.hashChange,this._hasHashChange="onhashchange"in window&&(void 0===document.documentMode||document.documentMode>7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(V,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var t=this.root.slice(0,-1)||"/";return this.location.replace(t+"#"+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var i=document.body,o=i.insertBefore(this.iframe,i.firstChild).contentWindow;o.document.open(),o.document.close(),o.location.hash="#"+this.fragment}var s=window.addEventListener||function(e,t){return attachEvent("on"+e,t)};if(this._usePushState?s("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?s("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var e=window.removeEventListener||function(e,t){return detachEvent("on"+e,t)};this._usePushState?e("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&e("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),j.started=!1},route:function(e,t){this.handlers.unshift({route:e,callback:t})},checkUrl:function(e){var t=this.getFragment();if(t===this.fragment&&this.iframe&&(t=this.getHash(this.iframe.contentWindow)),t===this.fragment)return!this.matchRoot()&&this.notfound();this.iframe&&this.navigate(t),this.loadUrl()},loadUrl:function(e){return this.matchRoot()?(e=this.fragment=this.getFragment(e),n.some(this.handlers,function(t){if(t.route.test(e))return t.callback(e),!0})||this.notfound()):this.notfound()},notfound:function(){return this.trigger("notfound"),!1},navigate:function(e,t){if(!j.started)return!1;t&&!0!==t||(t={trigger:!!t}),e=this.getFragment(e||"");var n=this.root;this._trailingSlash||""!==e&&"?"!==e.charAt(0)||(n=n.slice(0,-1)||"/");var i=n+e;e=e.replace(K,"");var o=this.decodeFragment(e);
2if(this.fragment!==o){if(this.fragment=o,this._usePushState)this.history[t.replace?"replaceState":"pushState"]({},document.title,i);else{if(!this._wantsHashChange)return this.location.assign(i);if(this._updateHash(this.location,e,t.replace),this.iframe&&e!==this.getHash(this.iframe.contentWindow)){var s=this.iframe.contentWindow;t.replace||(s.document.open(),s.document.close()),this._updateHash(s.location,e,t.replace)}}return t.trigger?this.loadUrl(e):void 0}},_updateHash:function(e,t,n){if(n){var i=e.href.replace(/(javascript:|#).*$/,"");e.replace(i+"#"+t)}else e.hash="#"+t}}),t.history=new j;var W=function(e,t){var i,o=this;return i=e&&n.has(e,"constructor")?e.constructor:function(){return o.apply(this,arguments)},n.extend(i,o,t),i.prototype=n.create(o.prototype,e),i.prototype.constructor=i,i.__super__=o.prototype,i};g.extend=b.extend=B.extend=_.extend=j.extend=W;var z=function(){throw new Error('A "url" property or function must be specified')},G=function(e,t){var n=t.error;t.error=function(i){n&&n.call(t.context,e,i,t),e.trigger("error",e,i,t)}};return t._debug=function(){return{root:e,_:n}},t}(s,n,e,t)}.apply(t,i),void 0===o||(e.exports=o)},8346(e,t,n){"use strict";n.d(t,{A:()=>h});var i=n(6961),o=n.n(i),s=n(7834),r=n(3501),a=n.n(r),l=n(1173),c=n.n(l),d=window.SVBackbone=o().noConflict();d.$=a();const h=d;var u=d.Model.prototype.fetch,m=d.Model.prototype.save,f=d.Model.prototype.destroy,p=d.Collection.prototype.fetch;function v(e,t,n){s.ErrorUtil.handleBackboneError(e,t,n)}d.Model.prototype.fetch=function(e){return(e=e||{}).error=e.error||v,u.apply(this,[e])},d.Model.prototype.save=function(e,t,n){return null==e||"object"==typeof e?(t=t||{}).error=t.error||v:(n=n||{}).error=n.error||v,m.apply(this,[e,t,n])},d.Model.prototype.destroy=function(e){return(e=e||{}).error=e.error||v,f.apply(this,[e])},d.Collection.prototype.fetch=function(e){return(e=e||{}).error=e.error||v,p.apply(this,[e])},d.View.prototype.preinitialize=function(e){this.options&&(e=c().extend({},c().result(this,"options"),e)),this.options=e}},4343(e,t,n){"use strict";var i=n(8346),o=n(3501),s=n.n(o),r=n(7834),a=n.n(r),l=n(8804),c=n(1257);const d=r.KeyUtil.KEY,h={},u="sv-comments2-full-name",m={triggers:{"@":{source:(0,c.h$)(a().PageContext.pageId,"userIdentitySearch",a().PageContext.pageId),searchKey:"term",allowWhiteSpace:!0,maxWhiteSpace:2,parse:function(e){return e.hits}}},minLength:2,replacer:function(e){return e.trigger+'{"value":"'+e.name+'","id":"'+e.id+'"}'}};let f,p,v;var g=function(e,t){var n;return!t&&h[e]?h[e]:(n=a().i18n.getText("portlet.comments2.comments",e,t),t||(h[e]=n),n)},b=function(e,t){e.find("a[data-user-identity]").each(function(){var e=s()(this);e.attr("href",t+"?identity="+e.data("user-identity"))})},y=function(e,t){e.find("a[data-social-tag-id]").each(function(){var e=s()(this);e.attr("href",t+"?tag="+encodeURIComponent(e.data("social-tag-name")))})},w=i.A.Model.extend({url:function(){return this.collection?this.collection.url()+"&commentId="+this.get("id"):"?commentId="+this.get("id")}}),C=i.A.Collection.extend({model:w,initialize:function(e,t){this.options=t,a().PageContext.userIdentityId&&this.bindServerEvents()},bindServerEvents:function(){var e=this;r.Events.on("server-pagecomment-added-"+a().PageContext.pageId,function(t){const n=t.content.author.id===a().PageContext.userIdentityId,i=e.length>0&&e.at(0).get("isAdmin"),o={...t.content,isEditable:n||i,isRemovable:n||i,isAdmin:i};e.add(o,{append:!0})})},url:function(){return(0,c.RY)(this.options.portletId,"comment")+"&file="+this.options.id}}),x=w.extend({url:function(){return this.collection?(0,c.RY)(this.collection.portletId,"subComment")+"&commentId="+this.collection.id+"&subCommentId="+this.get("id"):"?subCommentId="+this.get("id")}}),k=i.A.Collection.extend({model:x,initialize:function(e,t){this.id=t.id,this.portletId=t.portletId,this.pageCommentId=t.pageCommentId},url:function(){return(0,c.RY)(this.portletId,"subComments")+"&commentId="+this.pageCommentId},parse:function(e){return this.isAllowedToComment=e.isAllowedToComment,this.trigger("updateCommentArea",this.isAllowedToComment),e}}),T=i.A.View.extend({tagName:"li",className:function(){return this.model.get("hidden")?"sv-comment2-comment sv-comment-hidden":"sv-comment2-comment"},events:function(){return this.model.get("isSubComment")?{"click [data-fn-destroy-subcomment]":"showDestroyDialog","click [data-fn-edit-subcomment]":"editComment","click [data-fn-hide-subcomment]":"doHide","click [data-fn-show-subcomment]":"doHide"}:{"click [data-fn-destroy-comment]":"showDestroyDialog","click [data-fn-edit-comment]":"editComment","click [data-fn-hide-comment]":"doHide","click [data-fn-show-comment]":"doHide","click [data-fn-show-comments]":"handleShowCommentsClick","click [data-fn-expand-subcomments]":"handleShowCommentsClick","click [data-fn-shrink-subcomments]":"handleHideCommentsClick"}},initialize:function(){this.listenTo(this.model,"change:comment",this.updateComment,this),this.listenTo(this.model,"de
2stroy",this.remove,this),this.listenTo(this.model,"change:hidden",this.hide,this)},showDestroyDialog:function(){var e=this,t=this.model.get("isSubComment")?g("removeReplyTitle"):g("removeCommentTitle"),n=this.model.get("isSubComment")?g("removeReplyBody"):g("removeCommentBody");return a().DialogUtil.showConfirmDialog(t,n,function(t){t&&e.model.destroy({wait:!0})}),!1},editComment:function(e){return e.preventDefault(),r.Ajax.doGet({context:this,url:this.model.url()}).done(function(e){this.showEditComment(e.plainMessage,e.mentions)}),!1},showEditComment:function(e,t){var n=this,i=s()("<div/>"),o=s()('<span class="sv-float-right">'+(f-e.length)+"</span>"),l=s()("<textarea/>").attr("id","editComment").addClass("sv-comment-input sv-border-box").on("keyup",e=>{var t=f-e.currentTarget.value.length;t<0?(o.addClass("sv-character-limit-exceeded"),this.getSaveEditCommentButton().addClass("disabled").attr("disabled","disabled")):(o.removeClass("sv-character-limit-exceeded"),this.getSaveEditCommentButton().removeClass("disabled").prop("disabled",!1)),o.text(t)}).val(e);i.addClass("sv-comments2-portlet").append(l).append(o);var c=[{text:g("save"),callback:s().proxy(function(){r.Ajax.doPut({url:n.model.url(),data:{comment:l.triggeredInput("getRichContent")},context:this}).done(function(e){this.model.set(e)})},this)}];return a().DialogUtil.showDialog({title:this.model.get("isSubComment")?g("editReplyTitle"):g("editCommentTitle"),body:i,buttons:c,shownCallback:function(){l.triggeredInput(m).triggeredInput("setIds",t).elastic()}}),!1},getSaveEditCommentButton:function(){return this.$saveEditButton||(this.$saveEditButton=s()(".modal-footer button")),this.$saveEditButton},updateComment:function(e){e.get("hidden")&&!e.get("isAdmin")?e.collection.remove(e):(this.render(),r.Events.trigger(r.Events.types.updateLikables,this.$el),r.Events.trigger(r.Events.types.updateRelativeDates,this.$el))},doHide:function(e){e.preventDefault(),this.model.set({hidden:!this.model.get("hidden")}),this.model.save({},{url:(0,c.RY)(this.options.portletId,"toggleVisibleComment")+"&commentId="+this.model.id})},updateCommentsCount:function(e){var t;switch(e){case 0:t=g("doReply");break;case 1:t=e+" "+g("reply");break;default:t=e+" "+g("replies")}this.$el.find("[data-fn-subcomment-counter]").text(t)},handleShowCommentsClick:function(e){e.preventDefault(),this.doShowComments()},handleHideCommentsClick:function(e){e.preventDefault();var t=this.$el.find("[data-comments2-subcomment-container]"),n=this.$el.find("[data-fn-expand-subcomments]"),i=this.$el.find("[data-fn-shrink-subcomments]");t.fadeOut("fast"),i.hide(),n.show()},doShowComments:function(){var e=this.model.get("id"),t=this.$el.find("[data-comments2-subcomment-container]"),n=this.$el.find("[data-fn-expand-subcomments]"),i=this.$el.find("[data-fn-shrink-subcomments]"),o=this;this.subComments?(t.removeClass("env-d--none"),t.fadeIn("fast"),i.removeClass("env-d--none"),i.show(),n.hide()):(this.subComments=new k([],{id:this.model.id,portletId:this.options.portletId,pageCommentId:e}),this.subCommentsView=new E({el:t,collection:this.subComments,commentTemplate:(0,c.$F)(s()("#"+a().ObjectUtil.getHtmlId(this.options.portletId)),"comments2-subcomment"),portletId:this.options.portletId,profilePageURL:this.options.profilePageURL,tagResultPageURL:this.options.tagResultPageURL,$list:t.find("[data-comments2-subcomments]")}),this.listenTo(this.subComments,"add destroy",function(){o.updateCommentsCount.call(o,o.subComments.length)}),this.subComments.fetch({success:function(e){o.subCommentsView.render(),o.updateCommentsCount(e.length),t.removeClass("env-d--none"),t.fadeIn("fast",function(){t.find("textarea").triggerHandler("focus")}),i.removeClass("env-d--none"),i.show(),n.hide()}}))},hide:function(){if(this.model.get("hidden")){var e=this.model.get("isSubComment")?"hiddenReply":"hiddenComment";this.$el.addClass("sv-comment-hidden"),this.$el.attr("title",g(e)),this.$el.find("[data-fn-hide-comment]").addClass("env-d--none"),this.$el.find("[data-fn-show-comment]").removeClass("env-d--none"),this.$el.find("[data-fn-hide-subcomment]").addClass("env-d--none"),this.$el.find("[data-fn-show-subcomment]").removeClass("env-d--none"),this.$el.find(".sv-comments2-hidden-comment-text").removeClass("env-d--none")}else this.$el.removeClass("sv-comment-hidden"),this.$el.removeAttr("title"),this.$el.find("[data-fn-hide-comment]").removeClass("env-d--none"),this.$el.find("[data-fn-show-comment]").addClass("env-d--none"),this.$el.find("[data-fn-hide-subcomment]").removeClass("env-d--none"),this.$el.find("[data-fn-show-subcomment]").addClass("env-d--none"),this.$el.find(".sv-comments2-hidden-comment-text").addClass("env-d--none")},render:function(){if(this.$el.html(this.options.template(this.model.toJSON())),this.model.toJSON().hidden){var e=this.model.get("isSubComment")?"hiddenReply":"hiddenComment";this.$el.attr("title",g(e))}return b(this.$el,this.options.profilePageURL),y(this.$el,this.options.tagResultPageURL),this.model.id===(0,c.nL)("pagecomment")&&this.doShowComments(),this}}),E=i.A.View.extend({initialize:function(){this.$list=this.options.$list,this.collection.on("add",this.addNewComment,this),this.collection.on("remove",this.removeComment,this),this.$el.find("[data-fn-comments2-input]").triggeredInput(m).elastic(),this.collection.length>0&&this.render()},render:function(){this.clearList(),this.collection.each(function(e){this.appendOne(e,!1)},this),r.Events.trigger(r.Events.types.updateRelativeDates,this.$el),r.Events.trigger(r.Events.types.updateLikables,this.$el),window.onloadCallback&&this.collection.id&&window.onloadCallback(this.$el.find("[data-sv-recaptcha]").attr("id"))},clearList:function(){this.$list.empty()},appendOne:function(e,t){var n,i=new T({model:e,portletId:this.options.portletId,template:this.options.commentTemplate,profilePageURL:this.options.profilePageURL,tagResultPageURL:this.options.tagResultPageURL}).render().$el,o=i.find(".sv-comments2-content").find(".sv-truncate-more");o.length>0&&(this.addShowMoreLink(o),n=!0),t?this.$list.prepend(i):this.$list.append(i),n&&this.bindShowMoreEvents(i)},bindShowMoreEvents:function(e){var t={moreText:g("showMore"),lessText:g("showLess")},n=s()(".sv-truncate-more-link",e),i=s()(".sv-truncate-more",e),o=s()(".sv-truncate-ellipsis",e);n.on("click",function(e){e.preventDefault(),n.text()===t.moreText?(i.show(),n.text(t.lessText),o.css("display","none")):(i.hide(),n.text(t.moreText),o.css("display","inline"))})},addShowMoreLink:function(e){s()('<span class="sv-truncate-ellipsis">...</span>').insertBefore(e),s()('<div><a href="#" class="sv-truncate-more-link">'+g("showMore")+"</a></div>").insertAfter(e),e.css("display","none")},addNewComment:function(e){void 0!==e.toJSON().author?this.appendOne(e,v):r.Events.trigger(r.Events.types.notifyUser,{type:"default",heading:g("moderatedHeading"),message:g("moderatedBody"),transient:!0}),r.Events.trigger(r.Events.types.updateRelativeDates,this.$el),r.Events.trigger(r.Events.types.updateLikables,this.$el)},removeComment:function(e){this.render(),e.get("hidden")&&r.Events.trigger(r.Events.types.notifyUser,{type:"default",heading:g("moderatedHeading"),message:g("moderatedBody"),transient:!0})},getLoader:function(){return this.$loader||(this.$loader=s()('<img src="'+l+'">').css("vertical-align","middle").appendTo(this.$el.find("[data-fn-comment-input]").parent())),this.$loader},events:{"focus [data-fn-comments2-input]":"expandTextfield","click [data-fn-comments2-input]":"expandTextfield","keyup [data-fn-comments2-input]":"countdownCharactersLeft","keyup [data-fn-comments2-input-name]":"countdownCharactersLeft","keydown [data-fn-comments2-input]":"checkKeyDown","submit [data-fn-comments2-form]":"postComment"},expandTextfield:function(e){var t=s()(e.currentTarget);t.addClass("sv-message-input-expanded"),this.getInputControls(t).removeClass("env-d--none").show(),this.countdownCharactersLeft(e)},shrinkTextfield:function(e){e.removeClass("sv-message-input-expanded"),this.getInputControls(e).hide()},getTextField:function(e){return e.find("[data-fn-comments2-input]")},getInputControls:function(e){return e.closest("form").find(".sv-submit-control
2s")},countdownCharactersLeft:function(e){var t=s()(e.currentTarget),n=t.val(),i=f-n.length,o=t.parent().find("[data-fn-comments2-input-size]"),r=t.closest("form");i<0?o.addClass("sv-character-limit-exceeded"):o.removeClass("sv-character-limit-exceeded"),o.text(i),""!==t.val()&&i>=0&&!this.activeConnection?this.enableSubmitButton(r):this.disableSubmitButton(r)},checkKeyDown:function(e){if(r.KeyUtil.getKeyCodeFromEvent(e)===d.RETURN&&e.ctrlKey)return this.getSubmitButton(s()(e.target).closest("form")).trigger("focus"),this.$el.find("[data-fn-comments2-form]").trigger("submit"),!1},postComment:function(e){var t,n,i,o,a,l,c=this;if(!e.isPropagationStopped()&&!e.isDefaultPrevented()){if(e.preventDefault(),this.activeConnection)return!1;var d=s()(e.target);if(t=this.getTextField(d),a=c.getNameField(d),i=t.val().length,1===a.length&&0===a.val().length)return r.Events.trigger(r.Events.types.notifyUser,{type:"default",heading:g("noNameHeading"),message:g("noNameBody"),transient:!0}),!1;if(i>0&&i<=f){if(p){var h=this.$el.find("#g-recaptcha-response");if(h.length||(h=this.$el.find(".g-recaptcha-response")),h.length||(h=this.$el.closest(".sv-comments2-portlet").find("[name=frc-captcha-response]")),h.length||(h=this.$el.closest(".sv-comments2-portlet").find("[name=frc-captcha-solution]")),!(l=h&&h[0].value))return this.$el.find(".sv-help-block-verify").show(),!1}this.disableSubmitButton(s()(e.target)),this.activeConnection=!0,n=this.collection.id?new x({comment:t.triggeredInput("getRichContent"),fullName:a.val(),useCaptcha:p,recaptchaResponse:l||""}):new w({comment:t.triggeredInput("getRichContent"),fullName:a.val(),useCaptcha:p,recaptchaResponse:l||""});var m=c.$el.find("[data-sv-spam-marker]");m.length>0&&(n.attributes[m.attr("name")]=m.val()),o=setTimeout(function(){c.getLoader().show()},400),this.collection.create(n,{wait:!0,success:function(){var e;t.val(""),c.activeConnection=!1,c.getLoader().hide(),clearTimeout(o),(e=a.val())&&"localStorage"in window&&null!==window.localStorage&&window.localStorage.setItem(u,e),p&&(c.collection.id?c.$el.find("[data-sv-recaptcha-container]").hide():c.$el.find("#recaptcha-container").hide())},error:function(){c.activeConnection=!1,c.getLoader().hide(),clearTimeout(o),c.enableSubmitButton(s()(e.target)),r.Events.trigger(r.Events.types.notifyUser,{type:"error",heading:g("postFailedHeading"),message:g("postFailedBody"),transient:!0})}}),this.shrinkTextfield(t)}else i>f&&r.Events.trigger(r.Events.types.notifyUser,{type:"default",heading:g("commentToLongHeading"),message:g("commentToLongBody"),transient:!0});return!1}},getSubmitButton:function(e){return e.find("[data-fn-comments2-submit]")},getNameField:function(e){return e.find("[data-fn-comments2-input-name]")},disableSubmitButton:function(e){this.getSubmitButton(e).addClass("disabled").attr("disabled","disabled")},nameFieldOK:function(e){var t=this.getNameField(e);return!(0!==t.length&&!t.val())},enableSubmitButton:function(e){""!==this.getTextField(e).val()&&this.nameFieldOK(e)&&this.getSubmitButton(e).removeClass("disabled").prop("disabled",!1)}});function $(e){var t=e.find("[data-comments2-entry]");if(function(e){var t=r.ObjectUtil.getObjectId(e.attr("id"));e.off("click","[data-fn-comment2-toggle-close]"),e.on("click","[data-fn-comment2-toggle-close]",function(n){n.preventDefault();var i=(0,c.PD)(t,"toggleVisible");s().get(i,function(t){e.find(".sv-comments2-portlet-content").html(t),$(e)})}),e.off("click","[data-fn-comment2-toggle-mutable]"),e.on("click","[data-fn-comment2-toggle-mutable]",function(n){n.preventDefault();var i=(0,c.PD)(t,"toggleMutable");s().get(i,function(){e.find("[data-sv-comments2-closed-title]").hasClass("env-d--none")?(e.find("[data-sv-comments2-closed-title]").removeClass("env-d--none"),e.find(".sv-comments2-form").addClass("env-d--none"),e.find("[data-sv-comments2-disallow-comments]").addClass("env-d--none"),e.find("[data-sv-comments2-allow-comments]").removeClass("env-d--none")):(e.find("[data-sv-comments2-closed-title]").addClass("env-d--none"),e.find(".sv-comments2-form").removeClass("env-d--none"),e.find("[data-sv-comments2-disallow-comments]").removeClass("env-d--none"),e.find("[data-sv-comments2-allow-comments]").addClass("env-d--none"))})})}(e),0!==t.length){var n=r.ObjectUtil.getObjectId(e.attr("id")),i=t.data("js-namespace"),o=n,l=t.data("profilepageurl"),d=t.data("tagresultpageurl"),h=new C(a()[i].comments||[],{id:o,portletId:n});f=a()[i].maxCharacterCount,p=a()[i].useCaptcha,v=a()[i].reverseOrder,new E({el:e,collection:h,commentTemplate:(0,c.$F)(e,"comments2-comment"),portletId:n,profilePageURL:l,tagResultPageURL:d,$list:e.find("[data-fn-comments2]")});var m=e.find(".sv-comments2-comments");m.length>0&&(b(m,l),y(m,d));var w=function(){if("localStorage"in window&&null!==window.localStorage)return window.localStorage.getItem(u)}();w&&w.length>0&&e.find("[data-fn-comments2-input-name]").val(w),e.find(".sv-comment-hidden").attr("title",g("hiddenComment"))}}s()(".sv-comments2-portlet").each(function(){var e=s()(this);Promise.all([n.e(9214),n.e(6961),n.e(1518),n.e(7270),n.e(7015),n.e(3138)]).then(n.bind(n,6135)).then(()=>{$(e)})})},2700(){document.addEventListener("click",e=>{if(!(e.target instanceof Element))return;const t=e.target.closest(".sv-form-portlet [data-sv-form-popup], .sv-dbform-portlet [data-sv-form-popup], .sv-survey-portlet [data-sv-form-popup], .sv-booking-portlet [data-sv-form-popup]");if(t)return e.preventDefault(),void(e=>{const t=e.dataset.svFormPopupUrl||e.getAttribute("href");if(!t)return!1;const n=Number.parseInt(e.dataset.svFormPopupWidth,10),i=Number.parseInt(e.dataset.svFormPopupHeight,10),o=e.dataset.svFormPopupName||"svFormValues",s=["toolbar=0","scrollbars=1","location=0","statusbar=0","menubar=0","resizable=1",`width=${n}`,`height=${i}`,"left="+(Number.isNaN(n)?0:(screen.width-n)/2),"top="+(Number.isNaN(i)?0:(screen.height-i)/2)].join(",");window.open(t,o,s)?.focus()})(t);const n=e.target.closest(".sv-signup-portlet [data-sv-form-confirm-msg], .sv-dbform-portlet [data-sv-form-confirm-msg], .sv-survey-portlet [data-sv-form-confirm-msg], .sv-booking-portlet [data-sv-form-confirm-msg]");if(n){const t=n.dataset.svFormConfirmMsg;if(!t)return;if(!window.confirm(t))return void e.preventDefault();const i=(e=>"A"===e.tagName?e.getAttribute("href"):e.dataset.svFormNewLocation)(n);return void(i&&(e.preventDefault(),window.location.href=i))}const i=e.target.closest(".sv-dbform-portlet [data-sv-form-new-location], .sv-survey-portlet [data-sv-form-new-location], .sv-booking-portlet [data-sv-form-new-location]");if(i){const t=i.dataset.svFormNewLocation;return void(t&&(e.preventDefault(),window.location.href=t))}if(e.target.closest(".sv-survey-portlet [data-sv-form-history-back]"))return e.preventDefault(),void window.history.back();const o=e.target.closest("[data-sv-form-close-action]");if(!o)return;e.preventDefault();const s=o.dataset.svFormCloseAction;return"reload-opener-top"===s?(window.opener?.top?.location?.reload(),void window.close()):"reload-opener"===s?(window.opener?.location?.reload(),void window.close()):void("close"===s&&window.close())}),document.addEventListener("change",e=>
2{if(!(e.target instanceof HTMLSelectElement))return;const t=e.target.closest(".sv-survey-portlet [data-sv-form-new-location-on-change]");if(!t)return;const n=t.value;n&&(window.location.href=n)})},1119(){const e=(e,t,n)=>{if(!e||e.selectedIndex<0)return;const i=e.options[e.selectedIndex].value;try{const e=new URL(n,window.location.href);e.searchParams.set(t,i),window.location.href=e.toString()}catch{const e=String(n||""),o=-1===e.indexOf("?")?"?":"&";window.location.href=e+o+encodeURIComponent(t)+"="+encodeURIComponent(i)}},t=document.querySelectorAll("[data-sv-select-action-url]");for(const n of t)n.addEventListener("change",t=>{const n=t.currentTarget,i=n.getAttribute("data-sv-select-action-url")||n.dataset.svSelectActionUrl||"",o=n.getAttribute("name");e(n,o,i)})},9357(e,t,n){"use strict";n.d(t,{I:()=>i.IQ});n(3552);var i=n(5348)},3552(e,t,n){"use strict";var i=n(5348);!function(e){const t="svAutoComplete",n=`plugin_${t}`;e.fn[t]=function(t){return this.each(function(){if(!e.data(this,n)){console.warn("WARNING: $.fn.svAutoComplete is deprecated and will be removed in a future release. Please remove Velocity template-level custom initialization.");const o=(0,i.IQ)(this,t);o&&e.data(this,n,o)}})}}(window.$svjq)},5348(e,t,n){"use strict";n.d(t,{IQ:()=>l,Tf:()=>i});const i='input[type="search"], input[type="text"]',o=new WeakMap,s="sv-autocomplete-result-item",r="sv-autocomplete-result-item-active";class a{constructor(e,t){this.options=Object.assign({},t),this.element=e,this.form=e.form||e.closest("form"),this.element.id||(this.element.id=`${this.element.closest(".sv-portlet[id]")?.id}
2_sv-autocomplete`),this.list=this.createList(),this.cache={},this.requestSequence=0,this.abortController=null,this.results=[],this.activeIndex=-1,this.isOpen=!1,this.blurTimer=null,this.positionList(),this.prepareMarkup(),this.bindEvents()}createList(){const e=document.createElement("ul");return e.id=`${this.element.id}_listbox`,e.className="sv-autocomplete-search-result",e.setAttribute("role","listbox"),e.hidden=!0,document.body.insertAdjacentElement("beforeend",e),e}prepareMarkup(){["data-aria-owns","data-aria-controls","role","aria-haspopup","aria-autocomplete","aria-expanded","aria-controls","aria-owns"].forEach(e=>this.element.removeAttribute(e)),this.element.setAttribute("role","combobox"),this.element.setAttribute("aria-haspopup","listbox"),this.element.setAttribute("aria-expanded","false"),this.element.setAttribute("aria-controls",this.list.id),this.element.setAttribute("aria-autocomplete","list"),this.element.setAttribute("autocomplete","off")}handleFocus(){this.element.value.length>=2&&this.updateSuggestions(this.element.value)}handleBlur(){this.blurTimer=window.setTimeout(()=>{this.close()},150)}handleKeydown(e){switch(e.key){case"ArrowDown":return e.preventDefault(),this.isOpen?void this.moveActive(1):void this.updateSuggestions(this.element.value).then(()=>{this.isOpen&&-1===this.activeIndex&&this.moveActive(1)});case"ArrowUp":return e.preventDefault(),this.isOpen?void this.moveActive(-1):void this.updateSuggestions(this.element.value).then(()=>{this.isOpen&&-1===this.activeIndex&&this.moveActive(-1)});case"Enter":return void(this.isOpen&&this.activeIndex>=0&&(e.preventDefault(),this.select(this.activeIndex),this.moveCursorToEnd(),this.form.requestSubmit()));case"Tab":return void(this.isOpen&&this.activeIndex>=0&&(this.select(this.activeIndex),this.moveCursorToEnd()));case"Home":return void(this.isOpen&&(e.preventDefault(),this.moveToIndex(0)));case"End":return void(this.isOpen&&(e.preventDefault(),this.moveToIndex(this.results.length-1)));case"Escape":return void(this.isOpen?(e.preventDefault(),this.close()):this.element.value&&(e.preventDefault(),this.element.value=""))}}handleListMouseDown(e){window.clearTimeout(this.blurTimer),e.preventDefault()}handleListClick(e){const t=e.target.closest(`.${s}`),n=Number(t?.dataset.index);t&&!Number.isNaN(n)&&(this.select(n),this.form.requestSubmit())}handleViewportChange(){this.isOpen&&this.positionList()}bindEvents(){const e=((e,t)=>{let n=null;return(...i)=>{window.clearTimeout(n),n=window.setTimeout(()=>e(...i),t)}})(()=>{this.updateSuggestions(this.element.value)},200);this.element.addEventListener("input",e.bind(this)),this.element.addEventListener("focus",this.handleFocus.bind(this)),this.element.addEventListener("blur",this.handleBlur.bind(this)),this.element.addEventListener("keydown",this.handleKeydown.bind(this)),this.list.addEventListener("mousedown",this.handleListMouseDown.bind(this)),this.list.addEventListener("click",this.handleListClick.bind(this)),window.addEventListener("resize",this.handleViewportChange.bind(this)),window.addEventListener("scroll",this.handleViewportChange.bind(this),!0)}async updateSuggestions(e){if(e.length<2)return void this.close();
2const t=await this.getSuggestions(e);e===this.element.value&&this.renderResults(t)}async getSuggestions(e){const t=this.cache[e],n=++this.requestSequence;if(t&&t.timestamp>Date.now()-3e5)return t.value;if(!this.options.source)return[];this.abortController&&this.abortController.abort();const i=window.AbortController?new window.AbortController:null;this.abortController=i;try{const t={headers:{Accept:"application/json"}};i&&(t.signal=i.signal);const o=await window.fetch(((e,t)=>{const n=-1===e.indexOf("?")?"?":"&";return`${e}${n}term=${encodeURIComponent(t)}`})(this.options.source,e),t);if(n!==this.requestSequence||!o.ok)return[];const s=await o.json(),r=Array.isArray(s)?s.map(String):[];return this.cache[e]={value:r,timestamp:Date.now()},r}catch{return[]}finally{i&&this.abortController===i&&(this.abortController=null)}}renderResults(e){if(this.results=e,this.activeIndex=-1,this.element.removeAttribute("aria-activedescendant"),this.list.innerHTML="",!e.length)return void this.close();const t=document.createDocumentFragment();e.forEach((e,n)=>{const i=document.createElement("li");i.id=`${this.element.id}_listitem_${n}`,i.className=s,i.dataset.index=String(n),i.setAttribute("role","option"),i.setAttribute("aria-selected","false"),i.textContent=e,t.appendChild(i)}),this.list.appendChild(t),this.open()}open(){this.positionList(),this.list.hidden=!1,this.element.setAttribute("aria-expanded","true"),this.isOpen=!0}close(){this.clearActiveItem(),this.activeIndex=-1,this.list.hidden=!0,this.element.setAttribute("aria-expanded","false"),this.element.removeAttribute("aria-activedescendant"),this.isOpen=!1}clearActiveItem(){const e=this.list.querySelector(`.${r}`);e&&(e.classList.remove(r),e.setAttribute("aria-selected","false"))}moveActive(e){const t=this.list.querySelectorAll(`.${s}`);if(!t.length)return;this.clearActiveItem();let n=this.activeIndex+e;n<0?n=t.length-1:n>=t.length&&(n=0),this.moveToIndex(n)}moveToIndex(e){const t=this.list.querySelectorAll(`.${s}`);if(!t.length||e<0||e>=t.length)return;this.clearActiveItem();const n=t[e];this.element.setAttribute("aria-activedescendant",n.id),n.classList.add(r),n.setAttribute("aria-selected","true"),n.scrollIntoView({block:"nearest"}),this.activeIndex=e}select(e){e<0||e>=this.results.length||(this.element.value=this.results[e],this.close())}moveCursorToEnd(){if("function"==typeof this.element.setSelectionRange&&"string"==typeof this.element.value){const e=this.element.value.length;this.element.setSelectionRange(e,e)}}positionList(){const e=this.element.getBoundingClientRect(),t=this.list.offsetParent;let n,i;if(t&&t!==document.body&&t!==document.documentElement){const o=t.getBoundingClientRect();n=e.left-o.left+t.scrollLeft,i=e.bottom-o.top+t.scrollTop}else n=e.left+window.pageXOffset,i=e.bottom+window.pageYOffset;this.list.style.left=`${n}px`,this.list.style.top=`${i}px`,this.list.style.width=`${e.width}px`}}function l(e,t){let n;e&&e.matches&&e.matches(i)?n=e:e&&e.querySelector&&(n=e.querySelector(i));let s=n?o.get(n):null;if(s)return s;const r=n?n.form||n.closest("form"):null;return n&&r&&t&&t.source?(s=new a(n,t),o.set(n,s),s):null}},7425(e,t,n){document.querySelector(".sv-tagcloudresult-portlet")&&Promise.resolve().then(n.bind(n,3173))},7503(e,t,n){document.querySelector(".sv-twittersearch-portlet")&&Promise.all([n.e(9214),n.e(7015)]).then(n.bind(n,2461))},9821(){sv.i18n.util=sv.i18n.util||{},sv.i18n.util.viewutil=sv.i18n.util.viewutil||{},sv.i18n.util.viewutil.de={selectView:"Ansicht auswählen"},sv.i18n.util.viewutil.en={selectView:"Select view"},sv.i18n.util.viewutil.es={selectView:"Seleccionar vista"},sv.i18n.util.viewutil.fi={selectView:"Valitse näkymä"},sv.i18n.util.viewutil.fr={selectView:"Sélectionner une vue"},sv.i18n.util.viewutil.no={selectView:"Velg visning"},sv.i18n.util.viewutil.sv={selectView:"Välj vy"}},4934(){sv.i18n.portlet=sv.i18n.portlet||{},sv.i18n.portlet.archive=sv.i18n.portlet.archive||{},sv.i18n.portlet.archive.archive=sv.i18n.portlet.archive.archive||{},sv.i18n.portlet.archive.archive.de={creatingArticle:"Artikel wird erstellt..."},sv.i18n.portlet.archive.archive.en={creatingArticle:"Creating article..."},sv.i18n.portlet.archive.archive.es={creatingArticle:"Creando artÃÂculo..."},sv.i18n.portlet.archive.archive.fi={creatingArticle:"Luo artikkelia..."},sv.i18n.portlet.archive.archive.fr={creatingArticle:"Créer des articles..."},sv.i18n.portlet.archive.archive.no={creatingArticle:"Oppretter artikkel ..."}
2,sv.i18n.portlet.archive.archive.sv={creatingArticle:"Skapar artikel..."},sv.i18n.portlet=sv.i18n.portlet||{},sv.i18n.portlet.blog=sv.i18n.portlet.blog||{},sv.i18n.portlet.blog.blog=sv.i18n.portlet.blog.blog||{},sv.i18n.portlet.blog.blog.de={creatingBlogEntry:"Blogbeitrag wird erstellt..."},sv.i18n.portlet.blog.blog.en={creatingBlogEntry:"Creating blog entry..."},sv.i18n.portlet.blog.blog.es={creatingBlogEntry:"Creando entrada de blog..."},sv.i18n.portlet.blog.blog.fi={creatingBlogEntry:"Luo blogiyhteyttä..."},sv.i18n.portlet.blog.blog.fr={creatingBlogEntry:"Créer des articles de blog..."},sv.i18n.portlet.blog.blog.no={creatingBlogEntry:"Oppretter blogginnlegg ..."},sv.i18n.portlet.blog.blog.sv={creatingBlogEntry:"Skapar blogginlägg..."},sv.i18n.portlet=sv.i18n.portlet||{},sv.i18n.portlet.comments2=sv.i18n.portlet.comments2||{},sv.i18n.portlet.comments2.comments=sv.i18n.portlet.comments2.comments||{},sv.i18n.portlet.comments2.comments.de={moderatedBody:"Die Kommentarfunktion wird moderiert.\nIhr Kommentar wird erst sichtbar, wenn ein Moderator ihn genehmigt hat.",removeReplyTitle:"Antwort entfernen",noNameHeading:"Kein Name",showLess:"Weniger anzeigen",postFailedHeading:"FEHLER",hiddenComment:"Verborgener Kommentar",removeReplyBody:"Sind Sie sicher, dass Sie die Antwort löschen möchten?",editReplyTitle:"Antwort bearbeiten",removeCommentBody:"Sind Sie sicher, dass Sie den Kommentar löschen möchten?",moderatedHeading:"Modereriertes Kommentarfeld",doReply:"Antworten",removeCommentTitle:"Kommentar entfernen",reply:"Antworten",commentToLongHeading:"Zu lang",replies:"Antworten",hiddenReply:"Verborgene Antwort",commentToLongBody:"Der Kommentar, den Sie senden wollten, war zu lang.",editCommentTitle:"Kommentar bearbeiten",save:"Speichern",showMore:"Mehr anzeigen",postFailedBody:"Es ist ein Fehler aufgetreten, der Kommentar wurde nicht veröffentlicht.",noNameBody:"Kein Name angegeben Name ist obligatorisch"},sv.i18n.portlet.comments2.comments.en={moderatedBody:"The comments function is moderated.\nYour comment will become visible only after a moderator has approved it.",removeReplyTitle:"Delete reply",noNameHeading:"No name",showLess:"Show less",postFailedHeading:"ERROR",hiddenComment:"Hidden comment",removeReplyBody:"Are you sure you want to delete the reply?",editReplyTitle:"Edit reply",removeCommentBody:"Are you sure you want to delete the comment?",moderatedHeading:"Moderated comments field",doReply:"Reply",removeCommentTitle:"Delete comment",reply:"reply",commentToLongHeading:"Too long",replies:"replies",hiddenReply:"Hidden reply",showMore:"Show more",commentToLongBody:"The comment you where trying to post was too long.",editCommentTitle:"Edit comment",save:"Save",postFailedBody:"An error has occurred, the comment was not published.",noNameBody:"No name given. Name is mandatory"},sv.i18n.portlet.comments2.comments.es={moderatedBody:"La función de comentarios tiene moderador.\nTu comentario será visible cuando el moderador lo apruebe.",removeReplyTitle:"Eliminar respuesta",noNameHeading:"Sin nombre",showLess:"Mostrar menos",postFailedHeading:"ERROR",hiddenComment:"Comentario oculto",removeReplyBody:"¿Estás seguro de que deseas eliminar la respuesta?",editReplyTitle:"Editar respuesta",removeCommentBody:"¿Estás seguro de que deseas eliminar el comentario?",moderatedHeading:"Campo de comentario con moderador",doReply:"Responder",removeCommentTitle:"Eliminar comentario",reply:"respuesta",commentToLongHeading:"Demasiado largo",replies:"respuesta",hiddenReply:"Respuesta oculta",commentToLongBody:"El comentario que intentabas enviar era demasiado largo...",editCommentTitle:"Editar comentario",save:"Guardar",showMore:"Mostrar más",postFailedBody:"Ha ocurrido un error, el comentario no se ha publicado.",noNameBody:"No se ha indicado nombre. El nombre es obligatorio"},sv.i18n.portlet.comments2.comments.fi={removeCommentBody:"Oletko varma, että haluat poistaa kommentin?",commentToLongHeading:"Liian pitkä",removeCommentTitle:"Poista kommentti",showMore:"Näytä lisää",noNameBody:"Nimeä ei annettu. Nimi on pakollinen",showLess:"Näytä vähemmän",commentToLongBody:"Yritit lähettää liian pitkän kommentin.",moderatedHeading:"Moderoitu kommenttikenttä",save:"Tallenna",moderatedBody:"Kommentointitoiminto on moderoitu.\nKommenttisi tulee näkyviin, kun moderaattori on hyväksynyt sen.",hiddenComment:"Poistunut kommentti",noNameHeading:"Ei nimeä",postFailedHeading:"VIRHE",postFailedBody:"Tapahtui virhe, kommenttia ei julkaistu."},sv.i18n.portlet.comments2.comments.fr={moderatedBody:"La fonction de commentaire est modérée.\nVotre commentaire ne sera visible que lorsqu'un modérateur l'aura approuvé.",removeReplyTitle:"Supprimer les réponses",noNameHeading:"Pas de nom",showLess:"Afficher moins",postFailedHeading:"ERREUR",hiddenComment:"Commentaire masqué",removeReplyBody:"Voulez-vous vraiment supprimer la réponse ?",editReplyTitle:"Editer la réponse",removeCommentBody:"Voulez-vous vraiment supprimer le commentaire ?",moderatedHeading:"Champ de commentaires modéré",doReply:"Répondre",removeCommentTitle:"Supprimer le commentaire",reply:"réponse",commentToLongHeading:"Trop long",replies:"réponse",hiddenReply:"Réponse masquée",commentToLongBody:"Le commentaire que vous avez essayé d'envoyer était trop long.",editCommentTitle:"Editer le commentaire",save:"Sauvegarder",showMore:"Afficher plus",postFailedBody:"Une erreur s'est produite, le commentaire n'a pas été publié.",noNameBody:"Aucun nom n'est indiqué. Le nom est obligatoire"},sv.i18n.portlet.comments2.comments.no={Din:"kommentar blir synlig først når en moderator har godkjent den.",moderatedBody:"Kommentarfunksjonen er moderert.",removeReplyTitle:"Fjern svar",noNameHeading:"Intet navn",showLess:"Vis mindre",postFailedHeading:"FEIL",hiddenComment:"Skjult kommentar",removeReplyBody:"Er du sikker på at du vil fjerne svaret?",editReplyTitle:"Rediger svar",removeCommentBody:"Er du sikker på at du vil fjerne kommentaren?",moderatedHeading:"Moderert kommentarfelt",doReply:"Svar",removeCommentTitle:"Fjern kommentar",reply:"svar",commentToLongHeading:"For lang",replies:"svar",hiddenReply:"Skjult svar",showMore:"Vis mer",commentToLongBody:"Kommentaren du forsøkte å sende, var for lang.",save:"Lagre",editCommentTitle:"Rediger kommentar",postFailedBody:"Det oppsto en feil, kommentaren ble ikke publisert.",noNameBody:"Intet navn angitt. Navn er obligatorisk"},sv.i18n.portlet.comments2.comments.sv={moderatedBody:"Kommentarsfunktionen är modererad.\nDin kommentar blir synlig först när en moderator godkänt den.",removeReplyTitle:"Ta bort svar",n
2oNameHeading:"Inget namn",showLess:"Visa mindre",postFailedHeading:"FEL",hiddenComment:"Dold kommentar",removeReplyBody:"Är du säker på att du vill ta bort svaret?",editReplyTitle:"Redigera svar",removeCommentBody:"Är du säker på att du vill ta bort kommentaren?",moderatedHeading:"Modererat kommentarsfält",doReply:"Svara",removeCommentTitle:"Ta bort kommentar",reply:"svar",commentToLongHeading:"För lång",replies:"svar",hiddenReply:"Dolt svar",showMore:"Visa mer",commentToLongBody:"Kommentaren du försökte skicka var för lång.",editCommentTitle:"Redigera kommentar",save:"Spara",postFailedBody:"Ett fel har uppstått, kommentaren publicerades inte.",noNameBody:"Inget namn angivet. Namn är obligatoriskt"},sv.i18n.common=sv.i18n.common||{},sv.i18n.common.de={networkErrorText:"Die Information konnte nicht aktualisiert werden. Es konnte kein Kontakt zum Server hergestellt werden.",networkErrorTitle:"Fehler bei der Serverkommunikation",decimal:",",cancel:"Abbrechen",mins:"Min","error-fileExists":"{0} ist bereits vorhanden.",ok:"OK","error-fileRenameHeading":"Der Name der Datei konnte nicht geändert werden",add:"Hinzufügen",close:"Beenden",new:"Neu",error:"Fehler","error-fileExistsHeading":"Die Datei konnte nicht hinzugefügt werden",help:"Hilfe",save:"Speichern",hrs:"Std.","error-unknown":"Unbekannter Fehler.",hr:"Std.",remove:"Löschen"},sv.i18n.common.en={networkErrorText:"Information could not be updated. Could not contact server.",networkErrorTitle:"Communication with server failed",decimal:".",cancel:"Cancel",mins:"mins","error-fileExists":"{0} already exists.",ok:"OK","error-fileRenameHeading":"Could not rename file",add:"Add",close:"Close",new:"New",error:"Error","error-fileExistsHeading":"Could not add file",help:"Help",save:"Save",hrs:"hrs","error-unknown":"Unknown error.",remove:"Delete",hr:"hr"},sv.i18n.common.es={networkErrorText:"No se ha podido actualizar la información. No se ha podido establecer contacto con el servidor.",networkErrorTitle:"Error en la comunicación con el servidor.",decimal:",",cancel:"Cancelar",mins:"min","error-fileExists":"{0} ya existe.",ok:"Aceptar","error-fileRenameHeading":"No se ha podido cambiar el nombre del fichero",add:"Añadir",close:"Cerrar",new:"Nuevo",error:"Error","error-fileExistsHeading":"No se ha podido añadir el fichero",help:"Ayuda",save:"Guardar",hrs:"hora","error-unknown":"Error desconocido.",hr:"hora",remove:"Eliminar"},sv.i18n.common.fi={networkErrorText:"Aineistoa ei voitu päivittää. Palvelimeen ei saada yhteyttä.",networkErrorTitle:"Ongelma palvelinyhteydessä.",decimal:",",cancel:"Peruuta",mins:"min","error-fileExists":"{0} tiedosto on jo olemassa.",ok:"OK","error-fileRenameHeading":"Tiedoston nimen vaihto ei onnistunut",add:"Luo tili",close:"Sulje",new:"Uusi",error:"Virhe","error-fileExistsHeading":"Tiedoston lisääminen ei onnistunut",help:"Ohje",save:"Tallenna",hrs:"tuntia","error-unknown":"Tuntematon virhe.",remove:"Poista",hr:"tunti"},sv.i18n.common.fr={networkErrorText:"Les informations n'ont pas pu être mises àjour. Impossible de contacter le serveur.",networkErrorTitle:"Erreurs de communication avec le serveur",decimal:",",cancel:"Annuler",mins:"min","error-fileExists":"{0} existe déjà.",ok:"OK","error-fileRenameHeading":"Le fichier n'a pas pu être renommé",add:"Ajouter",close:"Fermer",new:"Nouveau",error:"Erreur","error-fileExistsHeading":"Impossible d'ajouter le fichier",help:"Aide",save:"Sauvegarder",hrs:"heure","error-unknown":"Erreur inconnue.",hr:"heure",remove:"Supprimer"},sv.i18n.common.no={networkErrorText:"Informasjonen kunne ikke oppdateres. Kunne ikke kontakte serveren.",networkErrorTitle:"Feil ved serverkommunikasjon",decimal:",",cancel:"Avbryt",mins:"min","error-fileExists":"{0} finnes allerede.",ok:"OK","error-fileRenameHeading":"Det var ikke mulig å bytte navn på filen",add:"Legg til",close:"Lukk",new:"Ny",error:"Feil","error-fileExistsHeading":"Det var ikke mulig å legge til filen",help:"Hjelp",save:"Lagre",hrs:"time","error-unknown":"Ukjent feil.",remove:"Fjern",hr:"time"},sv.i18n.common.pt={cancel:"Cancelar"},sv.i18n.common.sv={networkErrorText:"Informationen kunde inte uppdateras. Kunde inte kontakta servern.",networkErrorTitle:"Fel vid serverkommunikation",decimal:",",cancel:"Avbryt",mins:"min","error-fileExists":"{0} finns redan.",ok:"OK","error-fileRenameHeading":"Det gick inte att byta namn på filen",add:"Lägg till",close:"Stäng",new:"Ny",error:"Fel","error-fileExistsHeading":"Det gick inte att lägga till filen",help:"Hjälp",save:"Spara",hrs:"tim","error-unknown":"Okänt fel.",remove:"Ta bort",hr:"tim"},sv.i18n.util=sv.i18n.util||{},sv.i18n.util.dialogutil=sv.i18n.util.dialogutil||{},sv.i18n.util.dialogutil.de={ok:"OK",cancel:"Abbrechen",closeModal:"Modal schließen"},sv.i18n.util.dialogutil.en={ok:"OK",cancel:"Cancel",closeModal:"Close modal"},sv.i18n.util.dialogutil.es={ok:"Aceptar",cancel:"Cancelar",closeModal:"Cerrar ventana modal"},sv.i18n.util.dialogutil.fi={ok:"OK",cancel:"Peruuta",closeModal:"Sulje valintaikkuna"},sv.i18n.util.dialogutil.fr={ok:"OK",cancel:"Annuler",closeModal:"Fermer la fenêtre modale"},sv.i18n.util.dialogutil.no={ok:"OK",cancel:"Avbryt",closeModal:"Lukk modal"},sv.i18n.util.dialogutil.sv={ok:"OK",cancel:"Avbryt",closeModal:"Stäng modal"},sv.i18n.util=sv.i18n.util||{},sv.i18n.util.errorutil=sv.i18n.util.errorutil||{},sv.i18n.util.errorutil.de={errorMessage:"Es ist ein Problem aufgetreten, das dazu geführt hat, dass die Aufgabe nicht wie vorgesehen ausgeführt werden konnte ({0})",connectionErrorMessageTitle:"Verbindungsproblem",errorMessageTitle:"Es ist ein Fehler aufgetreten",connectionErrorMessage:"Es konnte keine Verbindung zum Server hergestellt werden. Bitte versuchen Sie es später erneut"},sv.i18n.util.errorutil.en={errorMessage:"A problem occurred that prevented the task from being performed ({0})",connectionErrorMessageTitle:"Connection error",errorMessageTitle:"An error occurred",connectionErrorMessage:"Could not connect to the server, please try again later"},sv.i18n.util.errorutil.es={errorMessage:"Se produjo un problema que impidió que la tarea se realizara según lo previsto ({0}).",connectionErrorMessageTitle:"Problema de conexión",errorMessageTitle:"Ha ocurrido un error",connectionErrorMessage:"No se ha podido conectar con el servidor. Inténtalo de nuevo más tarde."},sv.i18n.util.errorutil.fi={errorMessage:"Toimintoa ei voitu virheen takia suorittaa pyydetyllä tavalla ({0})",connectionErrorMessageTitle:"Yhteysongelma",errorMessageTitle:"Tapahtui virhe",connectionErrorMessage:"Palvelimeen ei saatu yhteyttä, kokeile myöhemmin uudelleen"},sv.i18n.util.errorutil.fr={errorMessage:"Un problème s'est produit qui a empêché l'exécution de la tâche comme prévu ({0}).",connectionErrorMessageTitle:"Problèmes de connexion",errorMessageTitle:"Une erreur s'est produite",connectionErrorMessage:"Impossible de se connecter au serveur, veuillez réessayer plus tard"},sv.i18n.util.errorutil.no={errorMessage:"Det oppsto et problem som gjorde at opplysningen ikke kunne utføres slik det var tenkt ({0})",connectionErrorMessageTitle:"Tilkoblingsproblem",errorMessageTitle:"Det oppsto en feil",connectionErrorMessage:"Kunne ikke koble til serveren, prøv igjen senere"},sv.i18n.util.errorutil.sv={errorMessage:"Ett problem uppstod som gjorde att uppgiften inte kunde utföras som det var tänkt ({0})",connectionErrorMessageTitle:"Anslutningsproblem",errorMessageTitle:"Ett fel inträffade",connectionErrorMessage:"Kunde inte ansluta till servern, var god försök igen sen
2are"},sv.i18n.portlet=sv.i18n.portlet||{},sv.i18n.portlet.search=sv.i18n.portlet.search||{},sv.i18n.portlet.search.searchform2=sv.i18n.portlet.search.searchform2||{},sv.i18n.portlet.search.searchform2.searchform2=sv.i18n.portlet.search.searchform2.searchform2||{},sv.i18n.portlet.search.searchform2.searchform2.de={ugc:"Benutzergenerierte Inhalte",results:"Suchergebnis",content:"Inhalt",searchFailed:"Die Suche mit dem Fehlercode {0} ist fehlgeschlagen.",users:"Personen"},sv.i18n.portlet.search.searchform2.searchform2.en={ugc:"User generated content",results:"search results",content:"Content",searchFailed:"Search failed with error code {0}.",users:"Users"},sv.i18n.portlet.search.searchform2.searchform2.es={ugc:"Contenido generado por el usuario",results:"Resultado de búsqueda",content:"Contenido",searchFailed:"La búsqueda falló con el código de error {0}.",users:"Personas"},sv.i18n.portlet.search.searchform2.searchform2.fi={searchFailed:"Haku epäonnistui, virhekoodi {0}."},sv.i18n.portlet.search.searchform2.searchform2.fr={ugc:"Contenu généré par les utilisateurs",results:"résultat de recherche",content:"Contenu",searchFailed:"La recherche a échoué avec le code d'erreur {0}.",users:"Personnes"},sv.i18n.portlet.search.searchform2.searchform2.no={ugc:"Brukergenerert innhold",results:"søkeresultat",content:"Innhold",searchFailed:"Søket mislyktes med feilkode {0}.",users:"Personer"},sv.i18n.portlet.search.searchform2.searchform2.sv={ugc:"Användargenererat innehÃ¥ll",results:"sökresultat",content:"InnehÃ¥ll",searchFailed:"Sökningen misslyckades med felkod {0}.",users:"Personer"},sv.i18n.portlet=sv.i18n.portlet||{},sv.i18n.portlet.sharepoint=sv.i18n.portlet.sharepoint||{},sv.i18n.portlet.sharepoint.sharepointfile=sv.i18n.portlet.sharepoint.sharepointfile||{},sv.i18n.portlet.sharepoint.sharepointfile.de={loginButton:"Anmeldung",connectToSharePoint:"An SharePoint anschließen"},sv.i18n.portlet.sharepoint.sharepointfile.en={loginButton:"Log in",connectToSharePoint:"Connect to SharePoint"},sv.i18n.portlet.sharepoint.sharepointfile.es={loginButton:"Iniciar sesión",connectToSharePoint:"Conéctate a SharePoint"},sv.i18n.portlet.sharepoint.sharepointfile.fi={},sv.i18n.portlet.sharepoint.sharepointfile.fr={loginButton:"Se connecter",connectToSharePoint:"Se connecter àSharePoint"},sv.i18n.portlet.sharepoint.sharepointfile.no={loginButton:"Logg inn",connectToSharePoint:"Koble til SharePoint"},sv.i18n.portlet.sharepoint.sharepointfile.sv={loginButton:"Logga in",connectToSharePoint:"Anslut till SharePoint"},sv.i18n.util=sv.i18n.util||{},sv.i18n.util.viewutil=sv.i18n.util.viewutil||{},sv.i18n.util.viewutil.de={selectView:"Ansicht auswählen"},sv.i18n.util.viewutil.en={selectView:"Select view"},sv.i18n.util.viewutil.es={selectView:"Seleccionar vista"},sv.i18n.util.viewutil.fi={selectView:"Valitse näkymä"},sv.i18n.util.viewutil.fr={selectView:"Sélectionner une vue"},sv.i18n.util.viewutil.no={selectView:"Velg visning"},sv.i18n.util.viewutil.sv={selectView:"Välj vy"}},6281(e,t,n){"use strict";var i=n(7834),o=n.n(i),s=n(3501),r=n.n(s);const a=({attributes:e,classNames:t,text:n})=>`<button ${e} class="btn sv-dialog-footer-button ${t}">${n}</button>`,l=({closeModal:e,title:t,titleHelp:n,errorContent:i,modalBody:o,footerButtons:s})=>`\n<dialog class="modal hide fade bootstrap">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button class="close sv-dialog-close-button" type="button" data-dismiss="modal" aria-label="${e}">×</button>\n <h2 class="sv-dialog-title">${t}</h2>\n </div>\n <div class="modal-body">\n ${n}\n ${i}\n ${o}\n </div>\n <div class="modal-footer">${s}</div>\n </div>\n </div>\n</dialog>\n`;function c(e,t){return i.i18n.getText("util.dialogutil",e,t)}function d(e){var t=e;if("string"==typeof(t=r().extend({title:"",modalBody:"",footerButtons:"",titleHelp:"",errorContent:"",closeModal:c("closeModal")},t)).modalBody)return r()(l(t));t.modalBody="";var n=r()(l(t));return n.find(".modal-body").append(e.modalBody),n}function h(){return a({classNames:"btn-primary",attributes:'data-dismiss="modal" data-ok="true"',text:c("ok")})+a({classNames:"",attributes:'data-dismiss="modal" data-ok="false"',text:c("cancel")})}function u(e,t){e.on("shown.bs.modal",function(){var t=e.find("[data-fn-request-focus]");t.length?t.first().trigger("focus"):function(e){var t=Array.from(e.find('a[href], area[href], button, *[contenteditable], embed, input
2:not([type=hidden]), object, textarea, select, details,[tabindex]:not([tabindex="-1"])')).filter(e=>!(e.classList.contains("close")||e.classList.contains("jcrop-keymgr")||e.hasAttribute("disabled")||e.getAttribute("aria-hidden")||"-1"===e.getAttribute("tabindex")||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)||"hidden"===window.getComputedStyle(e).visibility));t.length>0&&t[0].focus()}(e),r()(document.body).addClass("modal-open")}),e.on("hidden.bs.modal",function(){!1!==t&&e.remove(),r()(document.body).removeClass("modal-open")})}o().DialogUtil={showInputDialog:function(e,t,n,o,s){var a,l,c;const m={id:`sv-dialog-${t}`||"",value:o||""};return c=n?(({id:e,value:t})=>`<textarea class="ui-widget-content ui-corner-all sv-eventfeed-input sv-eventfeed-message-input" id="${e}">${t}</textarea>`)(m):(({id:e,value:t})=>`<input type="text" value="${t}" class="ui-widget-content ui-corner-all sv-eventfeed-input" id="${e}">`)(m),l=(({id:e,label:t,input:n})=>`\n <form class="form-horizontal sv-dialog-form-container">\n <div class="control-group">\n <label class="control-label sv-dialog-form-label" for="${e}">${t}</label>\n <div class="controls">${n}</div>\n </div>\n </form>\n`)({input:c,label:t||"",id:`sv-dialog-${t}`||""}),(a=d({title:i.TemplateUtil.htmlEncode(e),modalBody:l,footerButtons:h()})).on("click",".modal-footer .btn",function(){r()(this).data("ok")?s({result:!0,text:a.find(".sv-eventfeed-input").val()}):s({result:!1})}),a.on("submit","form",function(e){e.preventDefault(),a.modal("hide"),s({result:!0,text:a.find(".sv-eventfeed-input").val()})}),u(a),a.modal(),a},showConfirmDialog:function(e,t,n){var o;return(o=d({title:i.TemplateUtil.htmlEncode(e),modalBody:i.TemplateUtil.htmlEncode(t),footerButtons:h()})).on("click",".modal-footer .btn",function(){n(!!r()(this).data("ok"))}),u(o),o.modal(),o},showMessageDialog:function(e,t,n){var o,s;return s=a({classNames:"btn-primary",attributes:'data-dismiss="modal"',text:n||"Close"}),u(o=d({title:i.TemplateUtil.htmlEncode(e),modalBody:t,footerButtons:s})),o.modal(),o},showDialog:function(e){var t,n,o,s;return o=e.titleHelp?(({text:e})=>`<p>${e}</p>`)({text:e.titleHelp}):"",s=e.errorTitle&&e.errorMsg?(({errorTitle:e,errorMsg:t})=>`\n <div class="alert alert-error" style="display: none">\n <h4 class="alert-title">${e}</h4>\n <p class="alert-message">${t}</p>\n </div>\n`)({errorTitle:e.errorTitle,errorMsg:e.errorMsg}):"",t=d({title:i.TemplateUtil.htmlEncode(e.title),modalBody:e.body,titleHelp:o,errorContent:s}),n=t.find(".modal-footer"),r().each(e.buttons,function(e,t){var i,o,s;s=t.skipDismiss?"":' data-dismiss="modal" ',o=t.primary?" btn-primary ":"",o+=t.danger?" btn-danger ":"",i=r()(a({classNames:o,text:t.text,attributes:s})),t.callback&&i.on("click",t.callback),n.append(i)}),e.shownCallback&&"function"==typeof e.shownCallback&&t.on("shown.bs.modal",function(t){e.shownCallback.call(this,t)}),!1!==e.removeOnHide&&e.hiddenCallback&&"function"==typeof e.hiddenCallback&&t.on("hidden.bs.modal",function(t){e.hiddenCallback.call(this,t)}),u(t,e.removeOnHide),t.modal(),t}}},5074(e,t,n){"use strict";var i=n(7834),o=n.n(i),s=n(1257);const r=e=>`\n <div class="sv-oembed-container">\n <div class="sv-iframeEmbed-16_9">\n ${e}\n </div>\n </div>\n`,a=e=>`\n <div class="sv-oembed-container">\n ${e}\n </div>\n`,l=[{name:"Dreambroker",scheme:new RegExp("dreambroker.com/channel/.+"),callback:function(e,t){i.Ajax.doGet({url:(0,s.h$)(o().PageContext.pageId,"embed"),data:{url:e,provider:"dreambroker"}}).done(function(e){e&&e.html&&t(r(e.html))})}},{name:"Instagram",scheme:new RegExp("instagr\\.?am(\\.com)?/.+"),callback:function(e,t){i.Ajax.doGet({url:"https://api.instagram.com/oembed",data:{url:e}}).done(function(e){e&&e.html&&t(a(e.html))})}},{name:"Youtube",scheme:new RegExp("^(https?://)?(www.)?(youtube.com|youtu.?be)/.+$"),callback:function(e,t){var n=e.match(/.*(?:v=|be\/|embed\/)([\w-]+)&?.*/);if(n&&n.length>0){var i="https://www.youtube.com/embed/"+n[1];t(r('<iframe src="'+i+'" allowfullscreen="true" frameborder="0"></iframe>'))}}},{name:"GIPHY",scheme:new RegExp("giphy.com/.*"),callback:function(e,t){t(a('<img class="giphy-img" src="'+e+'" alt="GIPHY">'))}},{name:"Youtube no cookie",scheme:new RegExp("^(https?://)?(www.)?(youtube-nocookie.com)/.+$"),callback:function(e,t){var n=e.match(/.*(?:v=|be\/|embed\/)([\w-]+)&?.*/);if(n&&n.length>0){var i="https://www.youtube-nocookie.com/embed/"+n[1];t(r('<iframe src="'+i+'" allowfullscreen="true" frameborder="0"></iframe>'))}}},{name:"Vimeo",scheme:new RegExp("vimeo.com/.*"),callback:function(e,t){i.Ajax.doGet({url:"https://vimeo.com/api/oembed.json",data:{url:e}}).done(function(e){e&&e.html&&t(r(e.html))})}},{name:"Wistia",scheme:new RegExp("https?://(.+)?(wistia.com|wi.st)/.*"),callback:function(e,t){i.Ajax.doGet({url:"https://fast.wistia.com/oembed",data:{url:e}}).done(function(e){e&&e.html&&t(r(e.html))})}},{name:"Screen9",scheme:new RegExp("screen9.com/.+|screen9.tv/.+"),callback:function(e,t){i.Ajax.doGet({url:"https://api.screen9.com/oembed",data:{url:e}}).done(function(e){e&&e.html&&t(r(e.html))})}},{name:"Soundcloud",scheme:new RegExp("soundcloud.com/.+|snd.sc/.+"),callback:function(e,t){i.Ajax.doGet({url:"https://soundcloud.com/oembed",data:{url:e}}).done(function(e){e&&e.html&&t(r(e.html))})}},{name:"Spotify",scheme:new RegExp("open.spotify.com/.+"),callback:function(e,t){i.Ajax.doGet({url:(0,s.h$)(o().PageContext.pageId,"embed"),data:{url:e,provider:"spotify"}}).done(function(e){e&&e.html&&t(r(e.html))})}}],c=function(e,t){return e&&e.replace?function(n){if(e.useTitle){const t=(new DOMParser).parseFromString(n,"text/html"),i=t.getElementsByTagName("iframe")[0];i&&(i.setAttribute("title",e.title),n=t.body.innerHTML)}t.find(".sv-embed").first().replaceWith(n)}:function(e){t.find(".sv-message-content > .sv-embed").parent().first().after(e)}};i.Events.on(i.Events.types.updateOembedLinks,function(e,t){if(!e||!e.length)return;let n=e.find(".sv-embed").first();if(!n.length)return;let i=n.attr("href");if(i)for(var o=0;o<l.length;o++){let n=l[o];if(n.scheme.test(i)){n.callback(i,c(t,e));break}}})},1257(e,t,n){"use strict";n.d(t,{$F:()=>v,PD:()=>u,RY:()=>m,h$:()=>d,l0:()=>h,nL:()=>c,uX:()=>f});var i=n(7834),o=n.n(i),s=n(3501),r=n.n(s),a=n(1173),l=n.n(a);const c=function(e){var t=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.href);return t?t[1]:null},d=function(e,t,n){var i="/modelobjectapi/1/"+o().PageContext.pageId+"/"+e+"/"+t;return n&&(i+="/"+n),i},h=function(e){var t=e.modelHandler,n=e.objectId,i=e.operationObjectId,s=e.contextNodeId||o().PageContext.pageId;"string"==typeof e&&(t=e),n||(n=o().PageContext.pageId);var r="/edit-api/1/"+s+"/"+n+"/"+t;return i&&(r+="/"+i),r},u=function(e,t,n){return`/${o().PageContext.pageId}/${e}.${n?"json":"htm"}?state=${t}`},m=function(e,t){var n=c("identity"),i=c("group"),s=c("tag");return"/portletresource/"+o().PageContext.pageId+"/"+e+"?state="+t+(n?"&identity="+n:"")+(i?"&group="+i:"")+(s?"&tag="+s:"")},f=function(e,t,n){let i;i="string"==typeof e?r()(e):e,r().get(t,function(t){i.fadeOut("fast",function(){i.html(t),i.fadeIn(),"function"==typeof n&&n.call(this,e)})})};var p={};const v=function(e,t){var n,o=e.attr("id");if(o){if(o=o.replace(".","_"),!p[o+t]){if(0===(n=e.find("script.sv-tmpl-"+t)).length)return void i.Log.warn("portletUtil","Could not find template with name "+t+" for portlet "+o);p[o+t]=l().template(n.html())}return p[o+t]}i.Log.warn("portletUtil","Tried to get template from invalid element")};o().PortletUtil={getModelObjectUri:d,getEditApiUri:h,getPortletUri:u,getPortletResourceUri:m,reloadPortletsByType:function(e,t){var n=r()(e);r().each(n,function(){var e=r()(this),n=e.attr("id"),s=i.ObjectUtil.getObjectId(n);f(e,"/"+o().PageContext.pageId+"/"+s+".htm"+(t||""))})},doGetWithFade:f,doGet:function(e,t,n){r().get(t,function(t){r()(e).html(t),"function"==typeof n&&n.call(this,e)})},getTemplate:v,parseRequestParameters:c}},3173(e,t,n){"use strict";n.r(t);n(5020),n(9357),n(1484)},984(e,t,n){(e=>{const t="SVWebAppCaptchaStateChanged",i=()=>{const t=e.querySelector(".frc-captcha:not([data-friendly-captcha-v2])"),i=e.querySelectorAll(".frc-captcha[data-friendly-captcha-v2]");t&&n.e(9946).then(n.bind(n,8948)),i.length&&n.e(1783).then(n.bind(n,3817)).then(({FriendlyCaptchaSDK:e})=>{const t=new e,n=[];for(let e=0;e<i.length;e++)n[n.length]=i[e];t.attach(n)})};"loading"!==e.readyState?i():e.addEventListener("DOMContentLoaded",i),e.addEventListener("frc:widget.statechange",n=>{const i=n.target;var o;i&&"friendly"===i.getAttribute("data-sv-captcha-provider")&&((n,i)=>{if(n.getAttribute("data-sv-captcha-state")===i)return;let o;n.setAttribute("data-sv-captcha-state",i),"function"==typeof window.CustomEvent?o=new CustomEvent(t,{bubbles:!0}):(o=e.createEvent("CustomEvent"),o.initCustomEvent(t,!0,!1,null)),n.dispatchEvent(o)})(i,"completed"===(o=n.detail.state)?"verified":"expired"===o?"expired":"error"===o||"destroyed"===o?"error":"pending")}),e.addEventListener("SVInitCaptchaTrigger",i)})(document)}
vendor: 4,392 bytes, line 2
2,1467(e,t,n){"use strict";n(984)},1484(e,t,n){var i,o,s;!function(){"use strict";o=[n(3501)],i=function(e){e.ui=e.ui||{};e.ui.version="1.13.2";!function(){var t,n=Math.max,i=Math.abs,o=/left|center|right/,s=/top|center|bottom/,r=/[\+\-]\d+(\.[\d]+)?%?/,a=/^\w+/,l=/%$/,c=e.fn.position;function d(e,t,n){return[parseFloat(e[0])*(l.test(e[0])?t/100:1),parseFloat(e[1])*(l.test(e[1])?n/100:1)]}function h(t,n){return parseInt(e.css(t,n),10)||0}function u(e){return null!=e&&e===e.window}function m(e){var t=e[0];return 9===t.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:u(t)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:t.preventDefault?{width:0,height:0,offset:{top:t.pageY,left:t.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}e.position={scrollbarWidth:function(){if(void 0!==t)return t;var n,i,o=e("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>"),s=o.children()[0];return e("body").append(o),n=s.offsetWidth,o.css("overflow","scroll"),n===(i=s.offsetWidth)&&(i=o[0].clientWidth),o.remove(),t=n-i},getScrollInfo:function(t){var n=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),o="scroll"===n||"auto"===n&&t.width<t.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight?e.position.scrollbarWidth():0,height:o?e.position.scrollbarWidth():0}},getWithinInfo:function(t){var n=e(t||window),i=u(n[0]),o=!!n[0]&&9===n[0].nodeType;return{element:n,isWindow:i,isDocument:o,offset:!i&&!o?e(t).offset():{left:0,top:0},scrollLeft:n.scrollLeft(),scrollTop:n.scrollTop(),width:n.outerWidth(),height:n.outerHeight()}}},e.fn.position=function(t){if(!t||!t.of)return c.apply(this,arguments);var l,u,f,p,v,g,b="string"==typeof(t=e.extend({},t)).of?e(document).find(t.of):e(t.of),y=e.position.getWithinInfo(t.within),w=e.position.getScrollInfo(y),C=(t.collision||"flip").split(" "),x={};return g=m(b),b[0].preventDefault&&(t.at="left top"),u=g.width,f=g.height,p=g.offset,v=e.extend({},p),e.each(["my","at"],function(){var e,n,i=(t[this]||"").split(" ");1===i.length&&(i=o.test(i[0])?i.concat(["center"]):s.test(i[0])?["center"].concat(i):["center","center"]),i[0]=o.test(i[0])?i[0]:"center",i[1]=s.test(i[1])?i[1]:"center",e=r.exec(i[0]),n=r.exec(i[1]),x[this]=[e?e[0]:0,n?n[0]:0],t[this]=[a.exec(i[0])[0],a.exec(i[1])[0]]}),1===C.length&&(C[1]=C[0]),"right"===t.at[0]?v.left+=u:"center"===t.at[0]&&(v.left+=u/2),"bottom"===t.at[1]?v.top+=f:"center"===t.at[1]&&(v.top+=f/2),l=d(x.at,u,f),v.left+=l[0],v.top+=l[1],this.each(function(){var o,s,r=e(this),a=r.outerWidth(),c=r.outerHeight(),m=h(this,"marginLeft"),g=h(this,"marginTop"),k=a+m+h(this,"marginRight")+w.width,T=c+g+h(this,"marginBottom")+w.height,E=e.extend({},v),$=d(x.my,r.outerWidth(),r.outerHeight());"right"===t.my[0]?E.left-=a:"center"===t.my[0]&&(E.left-=a/2),"bottom"===t.my[1]?E.top-=c:"center"===t.my[1]&&(E.top-=c/2),E.left+=$[0],E.top+=$[1],o={marginLeft:m,marginTop:g},e.each(["left","top"],function(n,i){e.ui.position[C[n]]&&e.ui.position[C[n]][i](E,{targetWidth:u,targetHeight:f,elemWidth:a,elemHeight:c,collisionPosition:o,collisionWidth:k,collisionHeight:T,offset:[l[0]+$[0],l[1]+$[1]],my:t.my,at:t.at,within:y,elem:r})}),t.using&&(s=function(e){var o=p.left-E.left,s=o+u-a,l=p.top-E.top,d=l+f-c,h={target:{element:b,left:p.left,top:p.top,width:u,height:f},element:{element:r,left:E.left,top:E.top,width:a,height:c},horizontal:s<0?"left":o>0?"right":"center",vertical:d<0?"top":l>0?"bottom":"middle"};u<a&&i(o+s)<u&&(h.horizontal="center"),f<c&&i(l+d)<f&&(h.vertical="middle"),n(i(o),i(s))>n(i(l),i(d))?h.important="horizontal":h.important="vertical",t.using.call(this,e,h)}),r.offset(e.extend(E,{using:s}))})},e.ui.position={fit:{left:function(e,t){var i,o=t.within,s=o.isWindow?o.scrollLeft:o.offset.left,r=o.width,a=e.left-t.collisionPosition.marginLeft,l=s-a,c=a+t.collisionWidth-r-s;t.collisionWidth>r?l>0&&c<=0?(i=e.left+l+t.collisionWidth-r-s,e.left+=l-i):e.left=c>0&&l<=0?s:l>c?s+r-t.collisionWidth:s:l>0?e.left+=l:c>0?e.left-=c:e.left=n(e.left-a,e.left)},top:function(e,t){var i,o=t.within,s=o.isWindow?o.scrollTop:o.offset.top,r=t.within.height,a=e.top-t.collisionPosition.marginTop,l=s-a,c=a+t.collisionHeight-r-s;t.collisionHeight>r?l>
20&&c<=0?(i=e.top+l+t.collisionHeight-r-s,e.top+=l-i):e.top=c>0&&l<=0?s:l>c?s+r-t.collisionHeight:s:l>0?e.top+=l:c>0?e.top-=c:e.top=n(e.top-a,e.top)}},flip:{left:function(e,t){var n,o,s=t.within,r=s.offset.left+s.scrollLeft,a=s.width,l=s.isWindow?s.scrollLeft:s.offset.left,c=e.left-t.collisionPosition.marginLeft,d=c-l,h=c+t.collisionWidth-a-l,u="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,m="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,f=-2*t.offset[0];d<0?((n=e.left+u+m+f+t.collisionWidth-a-r)<0||n<i(d))&&(e.left+=u+m+f):h>0&&((o=e.left-t.collisionPosition.marginLeft+u+m+f-l)>0||i(o)<h)&&(e.left+=u+m+f)},top:function(e,t){var n,o,s=t.within,r=s.offset.top+s.scrollTop,a=s.height,l=s.isWindow?s.scrollTop:s.offset.top,c=e.top-t.collisionPosition.marginTop,d=c-l,h=c+t.collisionHeight-a-l,u="top"===t.my[1]?-t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,m="top"===t.at[1]?t.targetHeight:"bottom"===t.at[1]?-t.targetHeight:0,f=-2*t.offset[1];d<0?((o=e.top+u+m+f+t.collisionHeight-a-r)<0||o<i(d))&&(e.top+=u+m+f):h>0&&((n=e.top-t.collisionPosition.marginTop+u+m+f-l)>0||i(n)<h)&&(e.top+=u+m+f)}},flipfit:{left:function(){e.ui.position.flip.left.apply(this,arguments),e.ui.position.fit.left.apply(this,arguments)},top:function(){e.ui.position.flip.top.apply(this,arguments),e.ui.position.fit.top.apply(this,arguments)}}}}();e.ui.position},void 0===(s="function"==typeof i?i.apply(t,o):i)||(e.exports=s)}()},5020(e,t,n){"use strict";n(9014)},9014(){var e;(e=window.$svjq).fn.pagination=function(t){if("number"==typeof t)return;const n=this,i=`.${t.hitContainer}`,o=Math.ceil((t.hitCount||0)/t.hitsPerPage),s=`${t.hitContainer.replace("hits","result")}`,r=document.getElementById(s);let a=t.startAtHit?Math.floor(parseInt(t.startAtHit,10)/t.hitsPerPage)+1:1;function l(e){return`<li><a\n href="#${s}"\n data-page="${e}">\n <span class="env-assistive-text">${t.text.goToPage}</span>\n ${e}\n </a></li>`}function c(e){return`<li><span aria-current="page" class="current"><span class="env-assistive-text">${t.text.currentPage}</span> ${e}</span></li>`}function d(e){const n=`#${s}`,i=t.text.prev,r=t.text.next,d=t.text.paginationLabel;let h="";return h+=a<=1?`<li><span class="current prev">${i}</span></li>`:`<li><a href="${n}" class="prev" data-page="prev">${i}</a></li>`,h+=function(e,n){let i="",s=1;if(e<2)for(s=1;s<e;s++)i+=s===a?c(s):l(s);else i+=l(s),i+=`<li aria-label="${t.text.morePages}"><span aria-hidden="true">...</span></li>`;for(s=e;s<=n;s++)i+=s===a?c(s):l(s);if(n>=o-2)for(s=n+1;s<=o;s++)i+=l(s);else i+=`<li aria-label="${t.text.morePages}"><span aria-hidden="true">...</span></li>`,i+=l(o);return i}(e.rangeStart,e.rangeEnd),h+=a>=o?`<li><span class="current next">${r}</span></li>`:`<li><a href="${n}" class="next" data-page="next">${r}</a></li>`,`<nav aria-labelledby="${t.hitContainer}_pagination"><h2 class="env-assistive-text" id="${t.hitContainer}_pagination">${d}</h2><ul class="pagination env-list env-list--horizontal env-flex--wrap">${h}</ul></nav>`}function h(){let e=a-2,t=a+2;return t>o&&(t=o,e=o-4,e=e<1?1:e),e<=1&&(e=1,t=Math.min(5,o)),{rangeStart:e,rangeEnd:t}}n.html(d(h())),e(r).off("click",".pagination a").on("click",".pagination a",function(o){o.preventDefault();const s=e(o.target).closest("[data-page]").data("page");switch(s){case"prev":a--;break;case"next":a++;break;default:a=s}const l=t.baseUrl+(a-1)*t.hitsPerPage;n.html(d(h())),t.callback instanceof Function&&t.callback(l),sv.PortletUtil.doGetWithFade(i,l,()=>{window.requestAnimationFrame(()=>{r&&r.scrollIntoView()})})})}},9608(){!function(e,t,n){var i="svDialog",o={cssClasses:{},open:!1,modal:!0,movable:!1,url:void 0,title:"My fancy dialog",closeOnEscape:!0,onClose:null,closeButtonLabel:"Close"};function s(t,n){this.element=t,this.$element=e(t),this.options=e.extend({},o,n),this._defaults=o,this._name=i,this.init()}s.prototype={init:function(){var t,n;this.$dialogWrapper=(t=this.options.modal,n="",t&&(n+='<div class="sv-dialog-container"><div class="sv-dialog-backdrop"></div>'),n+='<div class="sv-dialog" role="dialog" aria-hidden="true" aria-labelledby="sv-dialog-title"><div class="sv-dialog-content"><div class="sv-dialog-header"><button class="sv-dialog-close"><span aria-hidden="true">×</span></button><h4 id="sv-dialog-title"></h4></div><div class="sv-dialog-body"></div><div class="sv-dialog-footer"></div></div></div>',t&&(n+="</div>"),e(n)),this.$dialogWrapper.find(".sv-dialog-body").append(this.element),this.options.buttons&&this.setupButtons(),this.bindEvents(),this.options.modal||(this.$dialogWrapper.addClass("sv-
2dialog-movable"),this.$dialogWrapper.draggable({handle:".sv-dialog-header",containment:"body",distance:10})),this.options.open&&this.open()},open:function(){this.options.url?e.get(this.options.url).done(e.proxy(this.handleRemoteContent,this)):this._open()},handleRemoteContent:function(e){this.$element.html(e),this._open()},_open:function(){this.$dialogWrapper.appendTo("body"),this.setTitle(),this.setCloseButton(),this.setAriaHidden(!1),this.$dialogWrapper.find(".sv-dialog-container").css("height",e(t).height()),this.options.modal?e("body").addClass("sv-dialog-open"):this.positionDialog(),this.$dialogWrapper.show(),this.setFocus(),this.setupFocusTrap(),this.$element.trigger("open:dialog.sv-dialog")},setCloseButton:function(){this.$dialogWrapper.find(".sv-dialog-close").attr("aria-label",this.options.closeButtonLabel)},setTitle:function(){this.$dialogWrapper.find("#sv-dialog-title").html(this.options.title)},setAriaHidden:function(e){(this.options.modal?this.$dialogWrapper.find(".sv-dialog"):this.$dialogWrapper).attr("aria-hidden",e)},positionDialog:function(){var e=this.$dialogWrapper.outerWidth();this.$dialogWrapper.css({position:"fixed",top:"30px",left:"50%",marginLeft:"-"+t.parseInt(e,10)/2+"px"})},setupButtons:function(){e.each(this.options.buttons,e.proxy(function(t,n){var i=e('<button class="sv-dialog-btn" />');switch(i.text(n.text).on("click",n.callback),n.type){case"primary":i.addClass("sv-dialog-btn-primary");break;case"link":i.addClass("sv-dialog-btn-link")}i.prependTo(this.$dialogWrapper.find(".sv-dialog-footer"))},this))},setupFocusTrap:function(){var e=this,t=this.$dialogWrapper.find(".sv-dialog-content");this.getFocusableElements=function(){return t.find('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])').filter(":visible").not(":disabled")},t.off("keydown.focustrap").on("keydown.focustrap",function(t){if("Escape"===t.key&&e.options.closeOnEscape)return t.preventDefault(),void e.close();if("Tab"===t.key){var i=e.getFocusableElements();if(0===i.length)return;var o=i.first()[0],s=i.last()[0];t.shiftKey?n.activeElement===o&&(t.preventDefault(),s.focus()):n.activeElement===s&&(t.preventDefault(),o.focus())}})},removeFocusTrap:function(){this.$dialogWrapper&&this.$dialogWrapper.find(".sv-dialog-content").off("keydown.focustrap")},close:function(){this.removeFocusTrap(),this.$dialogWrapper.hide(),this.setAriaHidden(!0),e("body").removeClass("sv-
2dialog-open"),this.options.onClose&&"function"==typeof this.options.onClose&&this.options.onClose()},remove:function(){e("body").removeClass("sv-dialog-open"),this.removeFocusTrap(),this.$dialogWrapper.remove()},setFocus:function(){var e=this.$element.find("input:not([type=hidden], .svhidden, .sv-hidden, .env-d--none),select");e.length&&e.first().trigger("focus")},enableSubmitButton:function(){this.$dialogWrapper.find("button.sv-dialog-btn-primary").prop("disabled",!1)},disableSubmitButton:function(){this.$dialogWrapper.find("button.sv-dialog-btn-primary").prop("disabled",!0)},bindEvents:function(){this.$dialogWrapper.off("click.sv-dialog.close").on("click.sv-dialog.close",".sv-dialog-close",e.proxy(this.close,this))},setURL:function(e){this.options.url=e}},e.fn[i]=function(t,n){return this.each(function(){var o=e.data(this,"plugin_"+i);o?"string"==typeof t&&o[t](n):e.data(this,"plugin_"+i,new s(this,t))})}}(window.$svjq,window,document)},8804(e,t,n){"use strict";e.exports=n.p+"../img/loading_16_grey.gif"},3501(e){"use strict";e.exports=$svjq},1173(e){"use strict";e.exports=_sv},7834(e){"use strict";e.exports=sv}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var s=i[e]={id:e,loaded:!1,exports:{}};return n[e].call(s.exports,s,s.exports,o),s.loaded=!0,s.exports}o.m=n,o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((t,n)=>(o.f[n](e,t),t),[])),o.u=e=>(({372:"svdialog",995:"tablesorter-plugins",1783:"friendly-c-v2",3138:"comments2-plugins",4510:"slideshow-plugins",5771:"imagemap-plugins",5943:"rating-plugins",6172:"imagealbum-plugins",6420:"viewUtilPlugins",6755:"tab-plugins",6856:"archive-plugins",7015:"relativeDateUtil",9946:"friendly-c"}[e]||e)+".js"),o.miniCssF=e=>"../css/"+({372:"svdialog",995:"tablesorter-plugins",3138:"comments2-plugins",4510:"slideshow-plugins",5943:"rating-plugins",6172:"imagealbum-plugins",6755:"tab-plugins",6856:"archive-plugins"}[e]||e)+".css",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="@sv/portlet:",o.l=(n,i,s,r)=>{if(e[n])e[n].push(i);else{var a,l;if(void 0!==s)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var h=c[d];if(h.getAttribute("src")==n||h.getAttribute("data-webpack")==t+s){a=h;break}}a||(l=!0,(a=document.createElement("script")).charset="utf-8",o.nc&&a.setAttribute("nonce",o.nc),a.setAttribute("data-webpack",t+s),a.src=n),e[n]=[i];var u=(t,i)=>{a.onerror=a.onload=null,clearTimeout(m);var o=e[n];if(delete e[n],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach(e=>e(i)),t)return t(i)},m=setTimeout(u.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=u.bind(null,a.onerror),a.onload=u.bind(null,a.onload),l&&document.head.appendChild(a)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),o.p="/sitevision/system-resource/706c47851a9c6e84fdd504e8751c1353feb89c77fbc171ef52fc04ec9b767285/js/",(()=>{if("undefined"!=typeof document){var e=e=>new Promise((t,n)=>{var i=o.miniCssF(e),s=o.p+i;if(((e,t)=>{for(var n=document.getElementsByTagName("link"),i=0;i<n.length;i++){var o=(r=n[i]).getAttribute("data-href")||r.getAttribute("href");if("stylesheet"===r.rel&&(o===e||o===t))return r}var s=document.getElementsByTagName("style");for(i=0;i<s.length;i++){var r;if((o=(r=s[i]).getAttribute("data-href"))===e||o===t)return r}})(i,s))return t();((e,t,n,i,s)=>{var r=document.createElement("link");r.rel="stylesheet",r.type="text/css",o.nc&&(r.nonce=o.nc),r.onerror=r.onload=n=>{if(r.onerror=r.onload=null,"load"===n.type)i();else{var o=n&&n.type,a=n&&n.target&&n.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+o+": "+a+")");l.name="ChunkLoadError",l.code="CSS_CHUNK_LOAD_FAILED",l.type=o,l.request=a,r.parentNode&&r.parentNode.removeChild(r),s(l)}},r.href=t,function(e){try{var t=document.querySelectorAll('[href*="portlets.css"],[href*="portlets-social.css"],[href*="portlets-slim.css"]')[0];t.parentElement.insertBefore(e,t)}catch{document.head.appendChild(e)}}(r)})(e,s,0,t,n)}),t={6961:0,7628:0,8576:0};o.f.miniCss=(n,i)=>{t[n]?i.push(t[n]):0!==t[n]&&{372:1,995:1,1518:1,3138:1,4510:1,5943:1,6172:1,6755:1,6856:1}[n]&&i.push(t[n]=e(n).then(()=>{t[n]=0},e=>{throw delete t[n],e}))}}})(),(()=>{var e={6961:0,7628:0,8576:0};o.f.j=(t,n)=>{var i=o.o(e,t)?e[t]:void 0;if(0!==i)if(i)n.push(i[2]);else{var s=new Promise((n,o)=>
2i=e[t]=[n,o]);n.push(i[2]=s);var r=o.p+o.u(t),a=new Error;o.l(r,n=>{if(o.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var s=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+s+": "+r+")",a.name="ChunkLoadError",a.type=s,a.request=r,i[1](a)}},"chunk-"+t,t)}};var t=(t,n)=>{var i,s,[r,a,l]=n,c=0;if(r.some(t=>0!==e[t])){for(i in a)o.o(a,i)&&(o.m[i]=a[i]);if(l)l(o)}for(t&&t(n);c<r.length;c++)s=r[c],o.o(e,s)&&e[s]&&e[s][0](),e[s]=0},n=globalThis.webpackChunk_sv_portlet=globalThis.webpackChunk_sv_portlet||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),(()=>{"use strict";o(3173),o(5074);var e=o(3501),t=o.n(e);t()("body").on("click",'a[rel*="external"]',function(){const e=t()(this);e.is(".sv-editing-mode .sv-text-portlet-content *")||e.attr("href")&&e.attr("target","_blank")});o(6281),o(1467);var n=o(7834),i=o.n(n),s=o(1257);t()(".sv-archive-portlet").on("click",".sv-create-article-entry",function(){const e=t()(this),i=e.data("archive-id"),o=e.data("template-id"),r=e.parent(),a=t()("<div>").addClass("sv-loading-icon").text(n.i18n.getText("portlet.archive.archive","creatingArticle"));return r.empty().append(a),n.Ajax.doPost({url:(0,s.l0)({objectId:i,contextNodeId:i,modelHandler:"article"}),data:{template:o,portletType:"archive"},success:function(e){window.location.href=`/edit/${e.nodeId}`}}),!1}),t()(".sv-archive-portlet").length&&i().Events.trigger(i().Events.types.updateLikables),t()(".sv-archive-portlet").on("click","[data-fn-comment]",e=>{const n=t()(e.currentTarget);return Promise.all([o.e(1518),o.e(7270),o.e(6856)]).then(o.bind(o,7942)).then(({initComment:e})=>{e(n)}),!1}),t()(".sv-blog-portlet").on("click",".sv-create-blog-entry",function(){var e=t()(this),i=e.data("archive-id"),o=e.data("template-id"),r=e.parent(),a=t()("<div>").addClass("sv-loading-icon").text(n.i18n.getText("portlet.blog.blog","creatingBlogEntry"));return r.empty().append(a),n.Ajax.doPost({url:(0,s.l0)({objectId:i,contextNodeId:i,modelHandler:"article"}),data:{template:o,portletType:"blog"},success:function(e){window.location.href="/edit/"+e.nodeId}}),!1});o(4343),o(9608);const r=/^[A-Z0-9._%+\-]+@([A-Z0-9][.\-]?)+[A-Z0-9]+\.[A-Z]{2,6}$/i;function a(e){this.options=e,this.bindLinkListener()}a.prototype={bindLinkListener:function(){var e=this;this.options.$portlet.find("."+this.options.linkClass).on("click",function(){return e.openDialog.call(e,this),!1})},getDialogContainer:function(){return this.$dialogContainer||(this.$dialogContainer=t()("<div/>")),this.$dialogContainer},showMessageDialog:function(e){this.$subDialogContainer?this.$subDialogContainer.html(e).svDialog("open"):this.$subDialogContainer=t()("<div/>").html(e).svDialog({open:!0,title:this.options.sendMessageTitle,closeButtonLabel:this.options.closeButtonText,buttons:[{text:this.options.closeButtonText,type:"primary",callback:t().proxy(function(){this.$subDialogContainer.svDialog("close")},this)}]})},validateForm:function(){var e=!0,n=this.getDialogContainer().find("form"),i=n.find("input[data-sv-form-consent-checkbox]");if(t().each(this.options.requiredFields,t().proxy(function(t,i){var o=n.find("[name="+i+"]");this.validateField(o)||(e=!1)},this)),this.options.attachmentField){var o=n.find("[name=attachment]");this.checkAttachmentSize(o)||(e=!1)}return this.validateConsent(i)||(e=!1),e},validateField:function(e){var t=e.is("[name=emailAddress]"),n=e.is("[name=attachment]");return this.checkRequiredField(e)?t&&!this.checkEmailAddress(e)?(this.appendErrorMessage(e,this.options.errorMessages.invalidEmail),!1):n&&!this.checkAttachmentSize(e)?(this.appendErrorMessage(e,this.options.errorMessages.fileSizeExceeded),!1):(this.removeValidationErrors(e),!0):(this.appendErrorMessage(e,this.options.errorMessages[e.attr("name")]),!1)},validateConsent:function(e){return e.length&&!e.is(":checked")?(this.appendConsentErrorMessage(e),!1):(this.removeConsentValidationErrors(e),!0)},checkEmailAddress:function(e){if(0===e.length)return!0;var n=e.val();return""===n.trim()&&-1===t().inArray("emailAddress",this.options.requiredFields)||r.test(n)},checkAttachmentSize:function(e){if(0===e[0].files.length)return!0;var t=this.options.maxMailSize;return e[0].files[0].size<t},checkRequiredField:function(e){return-1===t().inArray(e.attr("name"),this.options.requiredFields)||(e.is("[type=checkbox]")?e.is(":checked")||e.siblings("input[type=checkbox]").filter(":checked").length>0:!!e.val().trim())},appendErrorMessage:function(e,n){e.siblings(".sv-contact2-error-message-container").remove(),e.addClass("sv-contact2-warned");var i=t()("<label/>",{for:e.attr("id"),role:"alert",class:this.options.errorFont}).html('<img alt="" style="border:none; width:16px; height:16px; vertical-align:middle" src="'+this.options.errorImageSrc+'"> '+n);t()('<div class="sv-contact2-error-message-container"/>').append(i).appendTo(e.parent())},appendConsentErrorMessage:function(e){e.siblings(".sv-form-consent-error-message-container").remove(),e.addClass("sv-contact2-warned");var n=t()("<label/>",{for:e.attr("id"),role:"alert",class:this.options.errorFont}).html('<img alt="" style="border:none; width:16px; height:16px; vertical-align:middle" src="'+this.options.errorImageSrc+'"> '+this.options.errorMessages.consentMissing);t()('<div class="sv-form-consent-error-message-container"/>').append(n).appendTo(e.parent())},removeValidationErrors:function(e){(e?e.parent():this.getDialogContainer()).find(".sv-contact2-error-message-container").remove()},removeConsentValidationErrors:function(e){(e?e.parent():this.getDialogContainer()).find(".sv-form-consent-error-message-container").remove()},handleSubmit:function(){var e,n=this.options.ajaxFormUrl;this.validateForm()&&(this.options.attachmentField?this.getDialogContainer().find("form").trigger("submit"):(e=this.getDialogContainer().find("form").serialize(),t().post(n,e,t().proxy(function(e){this.closeDialog(),this.showMessageDialog(e)},this))))},closeDialog:function(){this.getDialogContainer().svDialog("close")},buildDialogUrl:function(e){return this.options.ajaxSendBaseUrl+"&contactUserId="+e.substring(3).replace("_",".")},openDialog:function(e){var n=this.getDialogContainer();if(this.dialogCreated)n.svDialog("setURL",this.buildDialogUrl(e.id)).svDialog("open");else{n.svDialog({open:!0,url:this.buildDialogUrl(e.id),title:this.options.sendMessageTitle,modal:this.options.useModalDialog,closeButtonLabel:this.options.closeButtonText,buttons:[{text:this.options.submitButtonText,type:"primary",callback:t().proxy(this.handleSubmit,this)},{text:this.options.cancelButtonText,type:"link",callback:t().proxy(this.closeDialog,this)}]});var o=this;n.on("change","input, textarea",function(){o.validateField(t()(this))}),n.on("keydown","input[type=text]",function(e){if(e.which===i().KeyUtil.KEY.RETURN){e.preventDefault();var t=n.find("input[data-sv-form-consent-checkbox]");if(t.length&&!t.is(":checked"))return o.validateForm(),!1;o.handleSubmit()}}),n.on("change","input[data-sv-form-consent-checkbox]",function(){o.validateConsent(t()(this))}),n.on("keyup","input[type=text].sv-contact2-warned, textarea.sv-contact2-warned",function(){o.validateField(t()(this))}),this.dialogCreated=!0}}},t()(".sv-contact2-portlet").each(function(){var e=t()(this),n=i().contact2&&i().contact2[this.id.substring(4)];if(n){n.$portlet=e;var o=new a(n);e.data("sv-contact2-portlet",o)}});const l=function(e,n){o.e(4510).then(o.bind(o,5147)).then(()=>{n=n||{};const i=t()(e).find(".sv-carousel").first();n.autoplay?i.trigger("play.owl.autoplay",[n.autoplayTimeout]):i.trigger("stop.owl.autoplay"),i.svCarousel(n),!i.is(":visible")&&"IntersectionObserver"in window&&new IntersectionObserver((e,t)=>
2{e.forEach(()=>{i.is(":visible")&&(i.svCarousel("refresh"),t.disconnect())})}).observe(i[0])})};i().imgSlideshow=l,document.querySelectorAll(".sv-contentlist-portlet").forEach(e=>{const t=e.querySelector(".env-tabs"),n=e.querySelector(".sv-tab");t&&envision.tabs(t),n&&o.e(6755).then(o.bind(o,8410))}),t()("form[data-sv-single-click]").one("submit",function(){t()(this).find("input[type=submit]").prop("disabled",!0)}),t()(".sv-has-error").each(function(){const e=t()(this),n="input, textarea, select",i=e.is(n)?e:e.find(n);i.attr("aria-invalid","true"),e.on("change keyup",function(){e.removeClass("sv-has-error"),i.removeAttr("aria-invalid"),e.off()})});const c=(e,n)=>{const i=parseInt(e.val(),10),o=e.closest("table").find("[data-sv-form-participants-row]"),s=(e,t,n)=>{e.attr(n,e.attr(t)),e.removeAttr(t)};o.slice(0,i).show(),o.slice(i).hide(),n&&(o.slice(0,i).find("input").each((e,n)=>{const i=t()(n);i.prop("required",!0),s(i,"data-sv-form-req-invalid-disabled","data-sv-form-req-invalid")}),o.slice(i).find("input").each((e,n)=>{const i=t()(n);i.prop("required",!1),s(i,"data-sv-form-req-invalid","data-sv-form-req-invalid-disabled")}))};t()("[data-sv-form-participants]").each((e,n)=>{const i=t()(n),o=i.data("sv-form-participants");i.on("change",()=>{c(i,o)}),c(i,o)});const d=(e,t,n)=>{e.removeAttr("aria-invalid").closest(e.data("sv-form-req-error-selector")||"div").removeClass("sv-has-error").find(".sv-form-field-message").remove(),t?(e[0].setCustomValidity(n),e.attr("aria-invalid","true").closest(e.data("sv-form-req-error-selector")||"div").addClass("sv-has-error").append(`<div class="sv-form-field-message" style="margin-top: 1p
2x">\n <span id="sv-field-message-${e[0].id}"\n role="alert"\n style="vertical-align:top"\n class="normal">\n ${n}</span>\n <br></div>`)):e[0].setCustomValidity("")},h=e=>{let n=!0;return t()(e.target).closest("form").find("[data-sv-form-req-invalid]").each(function(e,i){const o=t()(i),s=i.validity;s.valueMissing&&(n=!1),d(o,s.valueMissing,o.attr("data-sv-form-req-invalid"))}),n};t()("[data-sv-form-req-invalid]").each((e,n)=>{const i=t()(n),o=i.closest("form");i.on("input",e=>{const n=t()(e.target);d(n,e.target.validity.valueMissing,n.attr("data-sv-form-req-invalid"))}),o.data("sv-form-req-invalid-listener")||o.on("submit",h).on("click","[type=submit]",h).attr("novalidate","novalidate").data("sv-form-req-invalid-listener",!0)});const u={},m=function(e){const t=e.val(),n=t?t.trim():"",i=u[e.attr("id")],o=i.initialSize-n.length;o<0?i.$el.addClass("sv-textfield-limit-exceeded"):i.$el.removeClass("sv-textfield-limit-exceeded"),i.$el.text(o)};t()(".sv-form-textfield.sv-limit-characters").each(function(){const e=t()(this),n=e.parent().find(".sv-textfield-input-size"),i=e.attr("id");u[i]={$el:n,initialSize:n.text()},e.on("keyup",function(e){m(t()(e.currentTarget))}),e.val().length&&m(e)});o(1119),o(2700);i().ImageAlbumUtil={createSlideShow:function(e,t,n,s,r,a){o.e(6172).then(o.bind(o,6445)).then(()=>{!function(e,t,n,o,s,r){var a=window.hs,l=i().i18n.getLanguage();"de"!==l&&"no"!==l&&"sv"!==l||(a.lang=a.lang[l]);a.numberingClass=e;var c={interval:t,repeat:!0,useControls:!s,fixedControls:"fit"};s||(c.overlayOptions={position:"bottom right",hideOnMouseOut:o,offsetY:n,offsetX:-3});r||(c.thumbstrip={position:"above",mode:"horizontal",relativeTo:"expander"});a.addSlideshow(c)}(e,t,n,s,r,a)})}},t()(".sv-imagemap-portlet").each((e,n)=>{const i=t()(n);o.e(5771).then(o.bind(o,7243)).then(()=>{i.find(".sv-imagemap").rwdImageMaps()})});const f='<svg class="env-icon env-icon--xx-small" width="800" height="800" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13.5 4.1v15.8c0 1.5.64 2.1 2.23 2.1h4.04c1.59 0 2.23-.6 2.23-2.1V4.1c0-1.5-.64-2.1-2.23-2.1h-4.04c-1.59 0-2.23.6-2.23 2.1ZM2 4.1v15.8c0 1.5.64 2.1 2.23 2.1h4.04c1.59 0 2.23-.6 2.23-2.1V4.1c0-1.5-.64-2.1-2.23-2.1H4.23C2.64 2 2 2.6 2 4.1Z"/></svg>';i().createAndLoadSlideshowForId=function(e){const n=t()(e),i="#"+n.attr("id"),o=n.find(".sv-carousel"),s=o.data("fn-autoplay"),r=o.data("fn-interval"),a={autoplay:s};if(s&&r&&(a.autoplayTimeout=r),l(i,a),s){const e=n.find(".sv-carousel_togglePlay_btn");e.data("fnIsPlaying",!0);e.find(".sv-carousel_toggle_icon").html(f);const i=e=>{const n=t()(e.target).closest("button"),i=n.prev(),o=n.data("fnIsPlaying");n.data("fnIsPlaying",!o),n.find(".sv-carousel_toggle_icon").html(o?'<svg class="env-icon env-icon--xx-small imgSlideshowPlayIcon" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="enable-background:new 0 0 92.2 122.88" viewBox="0 0 92.2 122.88"><path d="M92.2 60.97 0 122.88V0l92.2 60.97z" style="fill-rule:evenodd;clip-rule:evenodd"/></svg>':f),i.trigger(o?"stop.owl.autoplay":"play.owl.autoplay")};e.on("click",i)}},t()(".sv-login-form").each(function(){var e=t()(this).find("form"),n=e.find("[name=name]"),i=e.find("[name=pwd]"),o=e.find(".sv-login-error-message");o.length?o.trigger("focus"):e.hasClass("sv-login-name-focus")&&n.trigger("focus"),e.hasClass("sv-login-autocomplete-off")?e.attr("autocomplete","off"):(n.attr("autocomplete","username"),i.attr("autocomplete","current-password"))}),t()(".sv-rating-portlet").each(function(){o.e(5943).then(o.bind(o,960)).then(()=>{var e=t()(this);e.find(".sv-rating-voted input").rating(),e.find(".sv-rating-voted input").rating("disable"),e.find(".sv-rating-labelcontainer").removeClass("env-d--inline").addClass("env-d--none"),e.find(".sv-rating-submit").addClass("env-d--none"),e.find(".sv-star-container input[type=radio]").rating({callback:function(){var e=t()(this).parents("form"),n=e.serialize(),i=e.data("ajax-posturl");t().post(i,n,function(t){var n=e.closest(".sv-rating-portlet");e.remove(),n.append(t)})}}),e.find(".sv-thumb-rating input").on("click keypress",function(e){e.preventDefault();var n=t()(this),i=n.closest("form"),o=n.data("value")?n.data("value"):n.attr("value"),s=i.serialize()+"&ratingV
2alue="+o,r=i.data("ajax-posturl");t().post(r,s,function(e){var t=i.closest(".sv-rating-portlet");i.remove(),t.append(e)})})})});const p="sv-responsiveTable",v={classNames:{},selectors:{}};t().each([["groupName",""],["scroll","--scroll"],["fixedFirst","--fixedFirst"],["stackGroupName","--stacked"],["stackTable","--stackTable"],["stackColumns","--stackColumns"]],function(e,t){v.classNames[t[0]]=p+t[1],v.selectors[t[0]]="."+p+t[1]}),v.config={breakpoint:"767px"};const g=({classNames:e})=>`<div class="${e}" />`,b=({classNames:e,styleAttr:t})=>`<div class="${e}" style="${t}" />`,y=({classNames:e})=>`<table class="${e}"><tbody></tbody></table>`,w=({trClassNames:e,thClassNames:t,colSpan:n,content:i})=>`<tr class="${e}"><th class="${t}" colspan="${n}">${i}</th></tr>`,C=v.classNames,x=v.selectors;t().svRespTables||(t().svRespTables={}),t().svRespTables.scroll=function(e){this.init=()=>{t()(e).removeClass(C.groupName).wrap(g({classNames:C.groupName}))},this.init()},t().fn.svRespTables_scroll=function(){return this.each(function(){new(t().svRespTables.scroll)(this)})},t().svRespTables.fixedFirst=function(e){var n=this,i=v.mql;const o=C.groupName+" "+C.fixedFirst;let s=!1;n.$el=t()(e),n.$el.data("svRespTables.fixedFirst",n),n.init=function(){n.$el.removeClass(o).wrap(g({classNames:o}))},n.splitTable=function(){n.$copy=n.$el.clone(),n.$copy.find("td:not(:first-child), th:not(:first-child)").hide().end().find("caption").html(" "),n.$el.closest(".sv-responsiveTable--fixedFirst").append(n.$copy),n.$copy.wrap(b({classNames:C.fixedFirst+"__pinned"})),n.$el.wrap(b({classNames:C.fixedFirst+"__scrollable"})),n.setCellHeights()},n.unSplitTable=function(){n.$el.closest(x.fixedFirst).find(x.fixedFirst+"__pinned").remove(),n.$el.unwrap(),n.$copy=void 0,n.unSetCellHeights()},n.setCellHeights=function(){var e=n.$el.find("tr"),i=n.$copy.find("tr"),o=[];e.each(function(e,n){t()(n).find("th, td").each(function(){const n=t()(this).outerHeight(!0);o[e]=o[e]||0,n>o[e]&&(o[e]=n)})}),i.each(function(n,i){t()(i).height(o[n]),e.eq(n).height(o[n])})},n.unSetCellHeights=function(){n.$el.find("tr").each(function(e,t){t.style.height="auto"})},n.updateTables=function(){!i.matches&&s?(s=!1,n.unSplitTable()):i.matches&&!s&&(s=!0,n.splitTable())},i.addListener(n.updateTables),t()(n.updateTables),n.init()},t().fn.svRespTables_fixedFirst=function(){return this.each(function(){new(t().svRespTables.fixedFirst)(this)})},t().svRespTables.stackTable=function(e){var n=this,i=v.mql;n.$el=t()(e),n.$el.data("svRespTables.stackTable",n),n.init=function(){let e="";i.removeListener(n.init),n.$copy=t()(y({classNames:n.$el.prop("class")+" "+C.stackGroupName+"__smallOnly"})),n.$el.addClass(C.stackGroupName+"__largeOnly");const o=n.$el.find("caption").clone(),s=n.$el.find("tr").eq(0);n.$el.find("tr").each(function(n,i){var o=t()(i);let r="",a="";const l=o.prop("class");0===n?e+=w({trClassNames:l,thClassNames:C.stackGroupName+"__headRow "+C.stackGroupName+"__headRow--main",colSpan:2,content:o.find("th, td").eq(0).html()}):(o.find("td, th").each(function(e,n){const i=t()(n),o=i.html();if((o?o.trim():"").length>0)if(0===e)r+=w({trClassNames:l,thClassNames:C.stackGroupName+"__headRow",colSpan:2,content:o});else{const t=s.find("td,th").eq(e).html();a+=(({trClassNames:e,groupName:t,keyContent:n,cellClassName:i,valueContent:o})=>`<tr class="${e}"><td class="${t}__key">${n}</td><td class="${t}__value ${i}">${o}</td></tr>`)({trClassNames:l,groupName:C.stackGroupName,keyContent:t?t.trim():"",cellClassName:i.prop("class"),valueContent:o})}}),e+=r+a)}),n.$copy.find("tbody").before(o).html(e),n.$el.before(n.$copy)},i.matches?n.init():i.addListener(n.init)},t().fn.svRespTables_stackTable=function(){return this.each(function(){new(t().svRespTables.stackTable)(this)})},t().svRespTables.stackColumns=function(e){var n=this,i=v.mql;n.$el=t()(e),n.$el.data("svRespTables.stackColumns",n),n.init=function(){var e,o=n.$el.find("tr").eq(0).find("td, th").length,s=1;if(i.removeListener(n.init),!(o<3)){for(n.$copy=t()(y({classNames:n.$el.prop("class")+" "+C.stackGroupName+"__smallOnly"})),n.$el.addClass(C.stackGroupName+"__largeOnly"),n.$el.find("caption").length&&n.$copy.find("tbody").before(n.$el.find("caption").clone()),e=t()("<tbody />");s<o;)n.$el.find("tr").each(r),++s;n.$copy.find("tbody").append(e.html()),n.$el.before(n.$copy)}function r(n,i){var o,r,a,l,c=t()(i),d=t()("<tr></tr>").addClass(c.attr("class"));0===n&&d.addClass(C.stackGroupName+"__headRow "+C.stackGroupName+"__headRow--main"),o=c.find("td, th").eq(0).clone().addClass(C.stackGroupName+"__key"),a=s,c.find("*[colspan]").length&&(l=0,c.find("td, th").each(function(e,n){var i=t()(n).attr("colspan");if(l>s)return!1;i?(i=parseInt(i,10),a-=i-1,l+i>s&&(a+=l+i-s-1),l+=i):l++})),(r=c.find("td, th").eq(a).clone()).addClass(C.stackGroupName+"__value").removeAttr("colspan"),d.append(o,r),e.append(d)}},i.matches?n.init():i.addListener(n.init)},t().fn.svRespTables_stackColumns=function(){return this.each(function(){new(t().svRespTables.stackColumns)(this)})},v.init=function(){const e=t()(document.getElementsByTagName("table")).filter(x.groupName);e.length>0&&e.filter(x.scroll).svRespTables_scroll().end().filter(x.fixedFirst).svRespTables_fixedFirst().end().filter(x.stackTable).svRespTables_stackTable().end().filter(x.stackColumns).svRespTables_stackColumns()},t()(function(){const e=t()(document.body);e.hasClass("sv-responsive")&&!e.hasClass("sv-editing-mode")&&(v.mql=window.matchMedia(`(max-width: ${v.config.breakpoint}
2)`),v.init())});o(3552);var k=o(5348);const T=new WeakMap;document.querySelectorAll(".sv-searchform-portlet").forEach(e=>{const t=e.querySelector(k.Tf),n=t?t.form||t.closest("form"):null;if(!t||!n||T.has(t))return;T.set(t,!0);const o=e.querySelector(".sv-searchform-portlet-settings"),s=((e,t,n)=>{const o={};if(n&&Object.assign(o,n.dataset),!o.fnAutoCompleteUrl&&t){const t=i().ObjectUtil.getObjectId(e.id);Object.assign(o,{fnAutoCompleteUrl:`/${i().PageContext.pageId}/${t}.json?state=autoComplete`})}return o})(e,t,o);o&&o.parentNode.removeChild(o),((e,t,n)=>{n.escapedSearchHereText&&t.value===n.escapedSearchHereText&&(t.value="",t.hasAttribute("placeholder")||t.setAttribute("placeholder",n.escapedSearchHereText))})(0,t,s),((e,t)=>{e&&e.addEventListener("submit",e=>{if(""===t.value.replace(/\s/g,""))return e.preventDefault(),!1})})(n,t),s.fnAutoCompleteUrl&&"false"!==t.dataset.useAutocomplete&&(0,k.IQ)(t,{source:s.fnAutoCompleteUrl})});var E=o(1173),$=o.n(E);let _;const S=function(e){const i=e.portletId,o=n.ObjectUtil.getHtmlId(i),r=e.inputField,a=e.resultDiv,l=e.portletDiv;let c=-1,d=-1;const h="sv-clearfix sv-searchform2-search-hit sv-searchform2-more-hits",u=function(e,t){const i=n.i18n.getText("portlet.search.searchform2.searchform2","users");return`\n <div id="${o}_sv-user-search-results" aria-label="${i}" class="sv-border-box sv-searchform2-content-container">\n <<%= facetTag %> tabindex="0" class="sv-searchform2-content-header <%= facetTagClass %>">\n <%- name %>\n </<%= facetTag %>>\n <div class="sv-border-box sv-searchform2-facet-column'${e}" style="width:${t}px">\n <ul aria-labelledby="${o}_sv-user-search-results" role="listbox" id="${o}_user_results" class="${`sv-defaultlist sv-user-search-list sv-searchform2-search-list sv-searchform2-search-list-column${e}`}">\n <% _.each(hits, function(hit, index){ %>\n <li aria-selected="false" role="option" id="${o}_user_<%= index %>" class="sv-clearfix sv-searchform2-search-hit" >\n <img class="sv-buddy-icon sv-searchform2-user-img" src="<%= hit.iconURL %>">\n <% if (hit.isContact) { %>\n <div style="float:right">\n <i class="halflings-icon ok"></i>\n </div>\n <% } %>\n <div class="sv-searchform2-user-container">\n <<%= userBlockTag %> class="sv-searchform2-user-name <%= userTagClass %>">\n <a href="<%= hit.profileURL %>" onclick="<%= hit.onClick %>"><%= hit.name %></a>\n </<%= userBlockTag %>>\n <% if (typeof(hit.userfields) !== 'undefined') { %>\n <ul class="sv-searchform2-userfield-list">\n <% _.each(hit.userfields, function(userfield){ %>\n <li class="<%= textTagClass %> sv-wrap-words">\n <%= userfield.value %>\n </li>\n <% }); %>\n </ul>\n <% } %>\n </div>\n </li>\n <% }); %>\n <% if (showDetails) { %>\n <li id="${o}_user_more" aria-selected="false" role="option" class="${h}">\n <<%= textTag %> class="<%= textTagClass %>">\n <a href="<%= showDetailsURL %>"><%= showDetailsText %></a>\n </<%= textTag %>>\n </li>\n <% } %>\n </ul>\n </div>\n </div>`},m=function(e,t){const i=n.i18n.getText("portlet.search.searchform2.searchform2","ugc");return`\n <div id="${o}_sv-ugc-search-results" aria-label="${i}" class="${`sv-border-box sv-searchform2-facet-column${e}" style="width:${t}px`}">\n <ul aria-labelledby="${o}_sv-ugc-search-results" role="listbox" id="${o}_ugc_results" class="${`sv-defaultlist sv-user-search-list sv-searchform2-search-list sv-searchform2-search-list-column${e}`}">\n <% _.each(hits, function(hit, index){ %>\n <li aria-selected="false" role="option" id="${o}_ugc_<%= index %>" class="sv-clearfix sv-searchform2-search-hit sv-wrap-words">\n <img class="sv-buddy-icon sv-searchform2-user-img" src="<%= hit.iconURL %>">\n <% if (hit.isContact) { %>\n <div style="float:right">\n <i class="halflings-icon ok"></i>\n </div>\n <% } %>\n <div class="sv-searchform2-user-container">\n <<%= userBlockTag %> class="sv-searchform2-user-name <%= userTagClass %>">\n <a href="<%= hit.entryURL %>" onclick="<%= hit.onClick %>"><%= hit.entryText %></a>\n </<%= userBlockTag %>>\n <% if (typeof(hit.userfields) !== 'undefined') { %>\n <ul class="sv-searchform2-userfield-list">\n <% _.each(hit.userfields, function(userfield){ %>\n <li class="<%= textTagClass %> sv-wrap-words">\n <%= userfield.value %></li>\n <% }); %>\n </ul>\n <% } %>\n </div>\n </li>\n <% }); %>
2\n <% if (showDetails) { %>\n <li id="${o}_ugc_more" aria-selected="false" role="option" class="${h}">\n <<%= textTag %> class="<%= textTagClass %>">\n <a href="<%= showDetailsURL %>"><%= showDetailsText %></a>\n </<%= textTag %>>\n </li>\n <% } %>\n </ul>\n </div>`},f=function(e,t){const i=n.i18n.getText("portlet.search.searchform2.searchform2","content"),s=n.PageContext.siteId;return`\n <div aria-label="${i}" id="${o}_sv-content-search-results" class="${`sv-border-box sv-searchform2-facet-column${e}" style="width:${t}px`}">\n <ul aria-labelledby="${o}_sv-content-search-results" role="listbox" id="${o}_content_results" class="${`sv-defaultlist sv-user-search-list sv-searchform2-search-list sv-searchform2-search-list-column${e}`}">\n <% _.each(hits, function(hit, index) { %>\n <li aria-selected="false" role="option" id="${o}_content_<%= index %>" class="sv-searchform2-search-hit sv-wrap-words">\n <a class="env-align--middle <%= contentTagClass %>" href="<%= hit.site === '${s}'? hit.URL : hit.absoluteURL %>" onclick="<%= hit.onClick %>">\n <%= hit.name %>\n </a>\n <% if (typeof(hit.iconURL) !== 'undefined') { %>\n <img alt="<%= hit.iconDescription %>" class="sv-noborder-vamiddle" src="<%= hit.iconURL %>" style="margin-left: 3px;">\n <% } %>\n </li>\n <% }); %>\n <% if (showDetails) { %>\n <li id="${o}_content_more" aria-selected="false" role="option" class="${h}" role="option">\n <<%= textTag %> class="<%= textTagClass %>">\n <a href="<%= showDetailsURL %>"><%= showDetailsText %></a>\n </<%= textTag %>>\n </li>\n <% } %>\n </ul>\n </div>`},p=function(){a.hide()};t()("body").on("click",p);const v=function(e,t){if(e>-1){var n=t.find(`.sv-searchform2-search-list-column${e}`);if(1===n.length)return n}},g=function(e,n){return e>-1&&e<n.children().length?t()(n.children()[e]):void 0},b=function(e){return e.children().length},y=function(e){if(!e)return;e.children().removeClass("active").attr("aria-selected",!1),r.removeAttr("aria-activedescendant")},w=function(e){e.addClass("active").attr("aria-selected",!0),r.attr("aria-activedescendant",e.attr("id"))},C=function(e){return e.find("a").attr("href")};r.on("keydown",function(e){var t=n.KeyUtil.getKeyCodeFromEvent(e);if(t===n.KeyUtil.KEY.RETURN)return e.preventDefault(),!1;const i=v(0,a),o=v(1,a),s=v(2,a);if(void 0!==i&&void 0!==o&&(t===n.KeyUtil.KEY.RIGHT&&0===d?(d=1,c=-1,y(i),y(s),t=n.KeyUtil.KEY.DOWN):t===n.KeyUtil.KEY.LEFT&&1===d?(d=0,c=-1,y(o),y(s),t=n.KeyUtil.KEY.DOWN):t===n.KeyUtil.KEY.RIGHT&&1===d?(d=2,c=-1,y(i),y(o),t=n.KeyUtil.KEY.DOWN):t===n.KeyUtil.KEY.LEFT&&2===d&&(d=1,c=-1,y(i),y(s),t=n.KeyUtil.KEY.DOWN)),t===n.KeyUtil.KEY.DOWN||t===n.KeyUtil.KEY.UP){let e;if(0===d&&void 0!==i?e=i:1===d&&void 0!==o?e=o:2===d&&void 0!==s?e=s:-1===d&&("left"===function(e){return e.hasClass("sv-searchform2-result-container-alignment-left")?"left":"right"}(a)?void 0!==i&&(d=0,e=i):void 0!==i?(d=0,e=i):void 0!==o&&(d=1,e=o)),t===n.KeyUtil.KEY.DOWN&&void 0!==e&&function(e,t){return e<b(t)}(c+1,e)){var r=g(c+1,e);c++,y(e),w(r)}else if(t===n.KeyUtil.KEY.UP&&void 0!==e&&c>-1)if(c--,y(e),c>=0){var l=g(c,e);w(l)}else d=-1;return!1}}).on("keyup",function(e){const t=n.KeyUtil.getKeyCodeFromEvent(e);if(t===n.KeyUtil.KEY.ESC)p();else if(t===n.KeyUtil.KEY.RETURN){let e=function(e,t,n){const i=v(e,n);return void 0!==i?g(t,i):void 0}(d,c,a);if(void 0!==e)location.href=C(e);else if(1===function(e){let t=0;return void 0!==v(0,e)&&t++,void 0!==v(1,e)&&t++,void 0!==v(2,e)&&t++,t}(a)){const e=v(0,a).find(".sv-searchform2-more-hits");1===e.length&&(location.href=e.find("a").attr("href"))}}return!1}).on("input",function(){return void 0!==_&&clearTimeout(_),_=setTimeout(function(){const e=r.val();if(c=-1,d=-1,""===e||e.length<2)a.css("display","none");else{const o=(0,s.RY)(i,"query");t().ajax({url:o,data:{term:e}}).fail(function(e){a.html(`<div class="sv-searchform2-message">\n ${n.i18n.getText("portlet.search.searchform2.searchform2","searchFailed",e.status)}\n </div>`)}).done(function(i){if(e===i.term){const e=i.facets;a.empty(),a.css("width","auto");
2const k=l.find(".sv-search-results-count");let T=0;for(let e=0;e<i.facets.length;e++)T+=i.facets[e].hits.length;if(k.text(`${T} ${n.i18n.getText("portlet.search.searchform2.searchform2","results")}`),0===e.length){const e=$().template('\n <div class="sv-searchform2-message">\n <<%= noHitsTag %> class="<%= noHitsClass %>"><%= noHitsText %></<%= noHitsTag %>>\n </div>');a.append(t()(e(i)))}else{var o=document.documentElement.clientWidth,s=i.width/2,h=i.contentColumns,p=s*e.length,v=!1,g=!1,b="";p>o&&(o>300?p=(s=o/2)*e.length:s>o?(s=o,p=o):p=s);for(var x=0;x<e.length;x++){const t=e[x];let i;"content"===t.type?(v=!0,i=f(x,s)):"ugc"===t.type?(v=!0,i=m(x,s)):"users"===t.type?(i=u(x,s),v=!1):(i="",n.Log.error(`Skipping unsupported facet type ${t.type}`)),a.css("width",p),v?(g||(i=`<div class="sv-border-box sv-searchform2-content-container" style="width: ${s*h}px">\n <<%= facetTag %> tabindex="0" class="sv-searchform2-content-header <%= facetTagClass %>"><%- name %></<%= facetTag %>>\n ${i}`),g=!0):g&&(i=`</div>${i}`),b+=$().template(i)(t)}a.append(t()(b));const l=a.find("ul.sv-user-search-list");l.find("li.sv-searchform2-search-hit").on("mouseenter",function(){var e=t()(this);d=function(e){const t=e.parent();return t.hasClass("sv-searchform2-search-list-column0")?0:t.hasClass("sv-searchform2-search-list-column1")?1:t.hasClass("sv-searchform2-search-list-column2")?2:-1}(e),c=function(e){return e.index()}(e),y(l),w(e)}).on("mouseleave",function(){d=-1,c=-1,t()(this).removeClass("active").attr("aria-selected",!1),r.removeAttr("aria-activedescendant")}).on("click",function(e){if(!t()(e.target).is("a")){var n=t()(this);location.href=C(n)}})}const E=i.facetAlignment+" top",_=i.facetAlignment+" bottom";r.removeAttr("aria-activedescendant"),a.attr("aria-expanded",!0),a.show(),a.position({my:E,at:_,of:r,offset:"0 1",collision:"none"})}})}},200),!1})};t()(".sv-searchform2-portlet").each((e,i)=>{const o=t()(i),s=n.ObjectUtil.getObjectId(o.attr("id")),r=o.find(".sv-searchform2-result-container"),a=o.find(".sv-searchform2-input");a.attr("autocomplete","off"),S({portletId:s,inputField:a,resultDiv:r,portletDiv:o})});const A=e=>"string"==typeof e?t()(`.${e}`):e&&e.jquery?e:e instanceof HTMLElement?t()(e):t()(),I=(e,t)=>{t||(t=R(e));const n=e.find(".sv-search-portlet-paging-settings");if(t.length&&n.length){const e=Object.assign({},n[0].dataset,t[0].dataset);Object.assign(t[0].dataset,e),n[0].parentNode.removeChild(n[0])}},R=e=>{const n=(e=>{if(e)return(e.jquery?e:t()(e)).closest(".sv-portlet");return t()()})(e);if(!n.length)return t()();let i=n.find("[data-fn-sv-paging]");if(!i.length){const e=n.find("form");e.length&&e.data("pagingDivClass")&&(i=n.find(`.${e.data("pagingDivClass")}`)),i.length&&i[0].setAttribute("data-fn-sv-paging","true")}return i},L=e=>{A(e).each((e,n)=>{const i=t()(n),o=i.find(".sv-search-portlet-settings")[0];let s=i.find("form")[0];if(s||(s=document.createElement("form"),i.prepend(s)),o&&s){const e=Object.assign({},o.dataset,s.dataset);Object.assign(s.dataset,e),o.parentNode.removeChild(o)}s.dataset.fnIsLegacyMode="true",I(i)})};var N=o(9357);o(5020);const D="query",F="100.",P="csrtp",B="startAtHit",H="submitButton",U=e=>{const t=[];for(const n of e.keys())n.startsWith(F)&&t.push(n);t.forEach(t=>e.delete(t))},M=e=>[...e.keys()].some(e=>e.startsWith(F))||e.has(P)?"refinement":e.has(B)?"pagination":e.has(D)?"query":"",O=(e,t)=>{const n=new URL(window.location.href),i=new URLSearchParams(e.split("?").at(-1)),o=n.searchParams,s=t||M(i);"query"===s&&(o.delete(B),o.delete(P),U(o)),"refinement"===s&&(o.delete(B),o.delete(P),U(o),((e,t)=>{for(const[n,i]of t.entries())n.startsWith(F)?e.append(n,i):n===P&&e.set(n,i)})(o,i)),i.has(D)&&o.set(D,i.get(D)),"query"!==s&&"refinement"!==s&&i.has(P)&&o.set(P,i.get(P)),("pagination"===s&&i.has(B)||!s&&i.has(B))&&o.set(B,i.get(B)),o.delete(H),history.replaceState({},"",n)},j=(e,n)=>{const o=A(e);if(0===o.length)return;const s=(e,n,o)=>{if(!n)return!1;const s=e.find("form").first(),r=s.data("fnBaseUrl")+n,a=s.data("fnResultContainer"),l=t()(a);O(r,o),i().PortletUtil.doGetWithFade(l,r,q)};if(n&&((e,n)=>{e.each((e,i)=>{const o=i.querySelector("form"),s=o?o.dataset:{},r=t()(i);if(o&&s.updateFunctionName&&(window[s.updateFunctionName]=e=>{n(r,e,"refinement")}),o&&s.searchInputId&&s.escapedSearchHereText){const e=document.getElementById(s.searchInputId);e&&e.value===s.escapedSearchHereText&&!e.hasAttribute("placeholder")&&(e.value="",e.setAttribute("placeholder",s.escapedSearchHereText))}})})(o,s),window.location.hash.indexOf("#query/")>-1&&window.location.hash.length>7){const e=window.location.hash.indexOf("#query/")+7,n=window.location.hash.substring(e),i=decodeURIComponent(n);i&&(o.each((e,o)=>{const r=t()(o),a=r.find("input[name=query]");a.length&&(a.val(i),s(r,n,"query"))}),history.replaceState(null,"",window.location.href.split("#")[0]))}o.each((e,n)=>{const i=t()(n).find("[data-fn-use-auto-complete]").first();if(i.length){const e=i.find("input[name=query]");e.attr("autocomplete","off"),(0,N.I)(e[0],{source:i.data("fnAutoCompleteUrl")})}}),o.find("form").on("submit",e=>{const n=t()(e.target),i=encodeURIComponent(e.target.elements.query.value);return s(n.parent(),i,"query"),n.find("[type=submit]").trigger("focus"),!1}),q(e),o.on("click","[data-sv-tracking-uri]",e=>{const n=t()(e.target).data("sv-tracking-uri");t().ajax({url:n,async:!1})})},q=e=>{const n=new URLSearchParams(window.location.search);A(e).each((e,i)=>{const o=t()(i),s=R(i);I(o,s),s.length&&s.pagination({hitCount:s.data("hitcount"),hitContainer:s.data("hitcontainer"),baseUrl:s.data("baseurl"),hitsPerPage:s.data("hitsperpage"),callback:e=>O(e,"pagination"),startAtHit:n.get("startAtHit"),text:{prev:s.data("prevtext"),next:s.data("nexttext"),goToPage:s.data("gotopage"),paginationLabel:s.data("paginationlabel"),currentPage:s.data("currentpage"),morePages:s.data("morepages")}})})};L("sv-facetedsearch-portlet"),(()=>{const e=t()(".sv-facetedsearch-portlet"),n=e.find("form");if(n.length&&void 0!==n.data("fnUseInstantSearch")){const e=n.find("input[name=query]");e.data("fnQueryLength",0);let i=0;e.on("input",e=>{const n=t()(e.target),o=n.val(),r=o.length;n.data("fnQueryLength",r);const a=n.closest("form"),l=a.data("fnResultContainer"),c=t()(l);if(0===r)i=0,c.html(""),O("query=","query");else if(r>1||r<i){const e=encodeURIComponent(o),t=`${l.substring(1)}Timeout`;i=r,window[t]&&window.clearTimeout(window[t]),window[t]=window.setTimeout(()=>{O(`query=${e}`,"query");const t=a.data("fnBaseUrl")+o;(0,s.uX)(c,t,q)},500)}return!1})}e.on("click","[data-fn-search-facet], [data-fn-search-sort]",e=>{e.preventDefault();const n=t()(e.target).closest("[data-fn-search-facet], [data-fn-search-sort]"),i=n.closest(".sv-portlet").children("form").data("fnResultContainer"),o=n.data("fnSearchFacet"),r=n.data("fnSearchSort"),a=o||r;return O(a,"refinement"),(0,s.uX)(t()(i),a,(...e)=>{q(...e)}),!1})})(),j("sv-facetedsearch-portlet",!0),L("sv-standardsearch-portlet"),j("sv-standardsearch-portlet",!0);const V={},K=function(e,t){let i;return!t&&V[e]?V[e]:(i=n.i18n.getText("portlet.sharepoint.sharepointfile",e,t),t||(V[e]=i),i)},W=function(e,t){return n.i18n.getText("common",e,t)};t()(".sv-sharepointfile-portlet, .sv-sharepointsearchfilelist-portlet").each(function(){var e=t()(this),n=e.find(".sv-sharepoint-login-modal");o.e(372).then(o.bind(o,10)).then(()=>
2{n.svDialog({title:K("connectToSharePoint"),open:!1,modal:!0,closeButtonLabel:W("close"),buttons:[{text:K("loginButton"),type:"primary",callback:function(e){e.preventDefault(),n.find("form").trigger("submit")}},{text:W("cancel"),type:"link",callback:function(){n.svDialog("close")}}]}),e.find(".sv-sharepoint-modal-button").on("click",function(){n.svDialog("open")})})});var z=o(8346),G=z.A.Model.extend({getViewUrl:function(){return this.get("url")},isFolder:function(){return this.get("isFolder")}}),Y=z.A.Collection.extend({model:G,initialize:function(e,t){this.portletId=t.portletId,this.currentFolderProps=t.currentFolderProps},url:function(){return(0,s.RY)(this.portletId,"files")},setCurrentFolderProps:function(e){this.currentFolderProps=e},getCurrentFolderProps:function(){return this.currentFolderProps},parse:function(e){return this.setCurrentFolderProps(e.currentFolderProps),e.items}}),J=z.A.View.extend({tagName:"tr",events:{"click [data-fetch-item]":"fetchItem"},initialize:function(){this.template=this.options.template,this.model.set("fontClass",this.model.isFolder()?this.options.folderFontClass:this.options.fileFontClass),this.portletView=this.options.portletView},render:function(){return this.$el.html(this.template(this.model.toJSON(),this.model)),this},fetchItem:function(e){this.model.isFolder()&&(e.preventDefault(),this.portletView.fetchFolder(this.model))}}),X=z.A.View.extend({initialize:function(){this.itemTemplate=this.options.itemTemplate,this.fileFontClass=this.options.fileFontClass,this.folderFontClass=this.options.folderFontClass,this.portletView=null},render:function(){this.clearTable(),this.collection.each(function(e){this.appendOne(e)},this)},appendOne:function(e){var t=new J({model:e,template:this.itemTemplate,portletView:this.portletView,fileFontClass:this.fileFontClass,folderFontClass:this.folderFontClass});this.$el.append(t.render().el)},clearTable:function(){this.$el.empty()}}),Z=G.extend({isFolder:function(){return!0}}),Q=z.A.View.extend({tagName:"li",className:"env-breadcrumb__item",events:{"click [data-fetch-folder]":"fetchFolder"},initialize:function(){this.template=this.options.template,this.portletView=this.options.portletView,this.model.set("isActive",this.options.isActive)},render:function(){return this.$el.html(this.template(this.model.toJSON(),this.model)),this},fetchFolder:function(e){e.preventDefault(),this.portletView.fetchFolder(this.model)}}),ee=z.A.View.extend({initialize:function(){this.breadcrumbTemplate=this.options.breadcrumbTemplate,this.portletView=null},render:function(){this.clearList(),this.collection.each(function(e,t){this.appendOne(e,t===this.collection.length-1)},this)},appendOne:function(e,t){var n=new Q({model:e,template:this.breadcrumbTemplate,portletView:this.portletView,isActive:t});this.$el.append(n.render().el)},clearList:function(){this.$el.empty()}}),te=z.A.View.extend({initialize:function(){this.breadcrumbCollectionView=this.options.breadcrumbCollectionView,this.breadcrumbCollection=this.breadcrumbCollectionView.collection,this.itemCollectionView=this.options.itemCollectionView,this.itemCollection=this.itemCollectionView.collection,this.breadcrumbCollectionView.portletView=this,this.itemCollectionView.portletView=this},render:function(){this.breadcrumbCollectionView.render(),this.itemCollectionView.render()},fetchFolder:function(e){var t=this.itemCollection.getCurrentFolderProps();this.itemCollection.fetch({data:{sharePointFolderId:e.id,trail:t.trail,trailTime:t.trailTime},context:this}).done(function(t){t.unauthorized?window.location.href=e.getViewUrl():(this.breadcrumbCollection.reset(t.breadcrumbs),this.render())})}});t()(".sv-sharepointfile-portlet").each(function(){var e=t()(this),i=n.ObjectUtil.getObjectId(e.attr("id")),o=e.find(".sv-sharepointfile-root"),r=o.data("js-namespace"),a=window.sv[r]||[];if(0!==a.length){var l=o.find(".sv-sharepointfile-breadcrumbs"),c=o.find(".sv-sharepointfile-files tbody"),d=c.data("file-font-class"),h=c.data("folder-font-class"),u=a.items,m=a.currentFolderProps,f=a.breadcrumbs,p=(0,s.$F)(e,"sharepointitem"),v=(0,s.$F)(e,"sharepointbreadcrumb"),g=new z.A.Collection(f,{model:Z}),b=new ee({el:l,collection:g,breadcrumbTemplate:v}),y=new Y(u,{portletId:i,currentFolderProps:m}),w=new X({el:c,collection:y,breadcrumbCollectionView:b,fileFontClass:d,folderFontClass:h,itemTemplate:p});new te({breadcrumbCollectionView:b,itemCollectionView:w}
2).render()}});o(7425);let ne,ie;function oe(){return ne&&0!==ne.length||(ne=t()("<div/>")),ne}function se(e){e.preventDefault();var n=oe().find("form");t().post(n.attr("action"),n.serialize(),function(e){var n;re(),-1!==e.indexOf('http-equiv="Refresh"')?window.location.href=t()("input[name=redirectURL]").attr("value"):t()(e).find("div#error-messages").length>0?(n=e,ne=t()("<div/>").html(n).svDialog({open:!0,title:t()("input[name=windowTitle]").attr("value"),closeButtonLabel:t()("input[name=closeButtonText]").attr("value"),buttons:[{text:t()("input[name=buttonText]").attr("value"),type:"primary",callback:se},{text:t()("input[name=closeButtonText]").attr("value"),type:"link",callback:re}]})):function(e){ne=oe(),ie?ie.html(e).svDialog("open"):ie=t()("<div/>").html(e).svDialog({open:!0,title:t()("input[name=windowTitle]").attr("value"),closeButtonLabel:t()("input[name=closeButtonText]").attr("value"),buttons:[{text:t()("input[name=closeButtonText]").attr("value"),type:"primary",callback:ae}]})}(e)})}function re(){ne.svDialog("remove")}function ae(){ie.svDialog("close")}function le(e){var n=t()("#"+e);ne=oe(),n.on("click",function(e){e.preventDefault(),ne.svDialog({open:!0,url:this.href,title:t()("input[name=windowTitle]").attr("value"),modal:!0,closeButtonLabel:t()("input[name=closeButtonText]").attr("value"),buttons:[{text:t()("input[name=buttonText]").attr("value"),type:"primary",callback:se},{text:t()("input[name=closeButtonText]").attr("value"),type:"link",callback:re}]})})}if(i().tellfriend2&&i().tellfriend2.length)for(let e=0;e<i().tellfriend2.length;e+=1)le(i().tellfriend2[e]);const ce=t()(".sv-text-portlet .sv-tablesorter");ce.length&&o.e(995).then(o.bind(o,3666)).then(()=>{i().sortableTables=i().sortableTables||{},i().sortableTables.dateFormat=i().sortableTables.dateFormat||"ddmmyyyy",ce.tablesorter({dateFormat:i().sortableTables.dateFormat})});o(7503),o(4934),o(9821);t().fn.sortableViewLayout=function(){function e(e,t){for(var n=[],i=e.sortable("toArray"),o=0;o<i.length;o++){var s=t.find("#"+i[o]);s.closest(".sv-sortable-view-container").attr("id")===t.attr("id")&&n.push(s.attr("id"))}return n}function n(e,t){var n=t.find(".sv-view-mouseover");e.hasClass("sv-keyboard-selected")?e.removeClass("sv-keyboard-selected").attr("aria-selected","false"):(n.removeClass("sv-keyboard-selected").attr("aria-selected","false"),e.addClass("sv-keyboard-selected").attr("aria-selected","true"))}function i(e){e.find(".sv-view-mouseover").removeClass("sv-keyboard-selected").attr("aria-selected","false")}function o(e,t,n){var i=t.find(".sv-view-mouseover"),o=i.index(e);switch(n){case"up":o>0&&(e.insertBefore(i.eq(o-1)),s(t));break;case"down":o<i.length-1&&(e.insertAfter(i.eq(o+1)),s(t));break;case"first":o>0&&(t.prepend(e),s(t));break;case"last":o<i.length-1&&(t.append(e),s(t))}e[0].focus()}function s(n){var i=n,o=e(n,i).join(",");o=(o=o.replace(/svid|,,/g,"")).replace(/_/g,"."),t().post(i.data("view-container-url")+"&return=none&updateViews=true&viewId="+o)}return this.each(function(){var s,r=t()(this),a=r.attr("id"),l=r.hasClass("sv-horizontal"),c=r.find(".sv-view-mouseover");if((r.hasClass("ui-sortable")&&r.sortable("destroy"),!(c.length<2))&&((s=r).find(".sv-view-mouseover").each(function(){var e=t()(this);e.attr("tabindex")||e.attr("tabindex","0")}),s.off("keydown.sortable").on("keydown.sortable",".sv-view-mouseover",function(e){var r=t()(this),a=s.find(".sv-view-mouseover"),l=a.index(r),c=r.hasClass("sv-keyboard-selected");switch(e.key){case"ArrowUp":e.preventDefault(),c?o(r,s,"up"):l>0&&a.eq(l-1)[0].focus();break;case"ArrowDown":e.preventDefault(),c?o(r,s,"down"):l<a.length-1&&a.eq(l+1)[0].focus();break;case" ":var d=e.target;"INPUT"===d.tagName||"SELECT"===d.tagName||"TEXTAREA"===d.tagName||"BUTTON"===d.tagName||d.hasAttribute("role")&&("button"===d.getAttribute("role")||"checkbox"===d.getAttribute("role")||"radio"===d.getAttribute("role"))||(e.preventDefault(),n(r,s));break;case"Enter":("BUTTON"!==e.target.tagName&&!e.target.hasAttribute("role")||"button"!==e.target.getAttribute("role"))&&(e.preventDefault(),n(r,s));break;case"Escape":s.find(".sv-keyboard-selected").length>0&&(e.preventDefault(),e.stopPropagation(),i(s));break;case"Home":e.preventDefault(),c?o(r,s,"first"):a.first()[0].focus();break;
2case"End":e.preventDefault(),c?o(r,s,"last"):a.last()[0].focus()}}),!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))){var d=r.data("connect-with");r.sortable({containment:!d&&"#"+a,connectWith:!!d&&".sv-sortable-view-container",placeholder:"sv-view-selection-placeholder",forcePlaceholderSize:!0,distance:10,items:".sv-view-mouseover",opacity:.6,stop:function(e,t){t.item.hide(),t.item.show("blind"),i(r)},update:function(n,i){var o=t()(this);o.find(i.item).length>0&&(l?i.item.addClass("sv-horizontal-column"):i.item.removeClass("sv-horizontal-column"));var s=e(o,r).join(",");s=(s=s.replace(/svid|,,/g,"")).replace(/_/g,"."),t().post(r.data("view-container-url")+"&return=none&updateViews=true&viewId="+s),r.find(".sv-sortable-view-container").push(r)}})}})},t()(function(){var e=t()("body");function n(e,t){var n=t.find(".sv-custom-views-list-item");e.hasClass("sv-keyboard-selected")?e.removeClass("sv-keyboard-selected").attr("aria-selected","false"):(n.removeClass("sv-keyboard-selected").attr("aria-selected","false"),e.addClass("sv-keyboard-selected").attr("aria-selected","true"))}function s(e,t,n){var i=t.attr("id").replace("svid","").replace("_","."),o=e.attr("href");return"/"+o.substring(o.indexOf("page=")+5,o.length)+"/"+i+".htm?sv.state="+n+"&sv.url="+i}e.on("click",".sv-view-selector",function(){var e=t()(this),o=e.attr("href"),s=e.attr("id").substr(15),r=t()("#sv-view-selector-dialog-"+s);return r.length>0?r.svDialog("open"):((r=t()("<div/>",{id:"sv-view-selector-dialog-"+s})).on("open:dialog.sv-dialog",function(){var e,i=t()(this),o=i.find(".sv-custom-views-list");o.length&&(o.sortable({containment:i.closest(".sv-dialog"),axis:"y",delay:300}),(e=o).find(".sv-custom-views-list-item").each(function(){var e=t()(this);e.attr("tabindex")||e.attr("tabindex","0")}),e.off("keydown.dialog-sortable").on("keydown.dialog-sortable",".sv-custom-views-list-item",function(i){var o=t()(this),s=e.find(".sv-custom-views-list-item"),r=s.index(o),a=o.hasClass("sv-keyboard-selected");switch(i.key){case"ArrowUp":i.preventDefault(),a?r>0&&(o.insertBefore(s.eq(r-1)),o[0].focus()):r>0&&s.eq(r-1)[0].focus();break;case"ArrowDown":i.preventDefault(),a?r<s.length-1&&(o.insertAfter(s.eq(r+1)),o[0].focus()):r<s.length-1&&s.eq(r+1)[0].focus();break;case" ":var l=i.target;"INPUT"===l.tagName||"SELECT"===l.tagName||"TEXTAREA"===l.tagName||"BUTTON"===l.tagName||l.hasAttribute("role")&&("button"===l.getAttribute("role")||"checkbox"===l.getAttribute("role")||"radio"===l.getAttribute("role"))||(i.preventDefault(),n(o,e));break;case"Enter":("BUTTON"!==i.target.tagName&&!i.target.hasAttribute("role")||"button"!==i.target.getAttribute("role"))&&(i.preventDefault(),n(o,e));break;case"Escape":e.find(".sv-keyboard-selected").length>0&&(i.preventDefault(),i.stopPropagation(),function(e){e.find(".sv-custom-views-list-item").removeClass("sv-keyboard-selected").attr("aria-selected","false")}(e))}}))}),r.svDialog({title:i().i18n.getText("util.viewutil","selectView"),open:!0,url:o,modal:!0,closeButtonLabel:i().i18n.getText("common","close"),onClose:function(){var n=t()("#"+s);if(n.length){var i=n.find("#"+e[0].id);i.length&&i[0].focus()}},buttons:[{text:i().i18n.getText("common","save"),type:"primary",callback:function(){var n=r.find("form");t().post(o,n.serialize(),function(){t().get(i()[s].layoutURL,function(n){var i=t()("#"+s);i.html(n),t()(".sv-sortable-view-container").sortableViewLayout(),r.svDialog("close"),i.find("#"+e[0].id)[0].focus()})})}},{text:i().i18n.getText("common","cancel"),type:"link",callback:function(){r.svDialog("close")}}]})),!1}),e.on("click",".sv-layout-minimize",function(){var e=t()(this),n=e.closest("[id^=svid10_]"),i=s(e,n,"minimized");return t().get(i,function(t){e.closest(".sv-toolbar").siblings().hide(),n.html(t)}),!1}),e.on("click",".sv-layout-restore",function(){var e=t()(this),n=e.closest("[id^=svid10_]"),i=s(e,n,"normal");return t().get(i,function(e){n.html(e).show()}),!1}),e.on("click",".sv-portlet-restore",function(){var e=t()(this),n=e.closest(".pagecontent"),i=n.attr("id").replace("svid","").replace("_","."),o=e.attr("href"),s="/"+o.substring(o.indexOf("page=")+5,o.length)+"/"+i+".htm"+o.substring(o.indexOf("?"),o.length);return t().get(s,function(e){n.html(e).show()}),!1});var r=t()(".sv-sortable-view-container");r.length&&(t().ui&&t().ui.sortable?r.sortableViewLayout():o.e(6420).then(o.bind(o,3843)).then(()=>
2r.sortableViewLayout()))})})()})(); 3//# sourceMappingURL=portlets.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.