1/*! For license information please see artist-portfolio.ef0fae99b41517e8dd02.min.js.LICENSE.txt */ 2"use strict";(self.webpackChunkVectorStockWebsite=self.webpackChunkVectorStockWebsite||[]).push([[3869,5957],{17222(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,o(r.key),r)}}function o(t){var e=function(t){if("object"!=r(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==r(e)?e:e+""}n.d(e,{l:()=>u});var a,s,l,u=function(){function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.state="requesting";var n=document.querySelector("#vs-page"),r=n.querySelectorAll(":scope > .loadbar");r.length>0&&r.forEach(function(t){return t.remove()}),this.container=document.createElement("div"),this.container.className="loadbar",this.container.dataset.state=this.state,this.bar=document.createElement("div"),this._setProgress(0),this.container.appendChild(this.bar),n.appendChild(this.container),setTimeout(function(){var n=function(r){"width"===r.propertyName&&("requesting"===e.state&&(e.state="waiting",e.container.dataset.state=e.state,setTimeout(function(){e._setProgress(t.PROGRESS_BOUNDARIES[2])},25)),e.bar.removeEventListener("transitionend",n))};e.bar.addEventListener("transitionend",n),e._setProgress(t.PROGRESS_BOUNDARIES[1])},25)}return e=t,(n=[{key:"_setProgress",value:function(t){this.bar.style.width="".concat(t,"%")}},{key:"updateProgress",value:function(e){var n=this;if("downloading"!==this.state&&(this.state="downloading",this.container.dataset.state=this.state),e>=100){var r=function(t){"width"===t.propertyName&&(n.bar.removeEventListener("transitionend",r),n.remove())};this.bar.addEventListener("transitionend",r)}var i=t.PROGRESS_BOUNDARIES[2]+(t.PROGRESS_BOUNDARIES[3]-t.PROGRESS_BOUNDARIES[2])*(e/100);this._setProgress(i)}},{key:"complete",value:function(){this.updateProgress(100)}},{key:"remove",value:function(){this.container.remove()}}])&&i(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,n}();a=u,l=[0,40,60,100],(s=o(s="PROGRESS_BOUNDARIES"))in a?Object.defineProperty(a,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[s]=l},90413(t,e,n){n.r(e),n.d(e,{PromptModule:()=>g});var r=n(15297),i=n(7546),o=n(3411),a=n(40627),s=n(47320);function l(t){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}function u(){var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof s?r:s,u=Object.create(l.prototype);return c(u,"_invoke",function(n,r,i){var o,s,l,u=0,c=i||[],d=!1,h={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(e,n){return o=e,s=0,l=t,h.n=n,a}};function p(n,r){for(s=n,l=r,e=0;!d&&u&&!i&&e<c.length;e++){var i,o=c[e],p=h.p,v=o[2];n>3?(i=v===r)&&(l=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=t):o[0]<=p&&((i=n<2&&p<o[1])?(s=0,h.v=r,h.n=o[1]):p<v&&(i=n<3||o[0]>r||r>v)&&(o[4]=n,o[5]=r,h.n=v,s=0))}if(i||n>1)return a;throw d=!0,r}return function(i,c,v){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,v),s=c,l=v;(e=s<2?t:l)||!d;){o||(s?s<3?(s>1&&(h.n=-1),p(s,l)):h.n=l:h.v=l);try{if(u=2,o){if(s||(i="next"),e=o[i]){if(!(e=e.call(o,l)))throw TypeError("iterator result is not an object");if(!e.done)return e;l=e.value,s<2&&(s=0)}else 1===s&&(e=o.return)&&e.call(o),s<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=t}else if((e=(d=h.n<0)?l:n.call(r,h))!==a)break}catch(e){o=t,s=1,l=e}finally{u=1}}return{value:e,done:d}}}(n,i,o),!0),u}var a={};function s(){}function l(){}function d(){}e=Object.getPrototypeOf;var h=[][r]?e(e([][r]())):(c(e={},r,function(){return this}),e),p=d.prototype=s.prototype=Object.create(h);function v(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,c(t,i,"GeneratorFunction")),t.prototype=Object.create(p),t}return l.prototype=d,c(p,"constructor",d),c(d,"constructor",l),l.displayName="GeneratorFunction",c(d,i,"GeneratorFunction"),c(p),c(p,i,"Generator"),c(p,r,function(){return this}),c(p,"toString",function(){return"[object Generator]"}),(u=function(){return{w:o,m:v}})()}function c(t,e,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}c=function(t,e,n,r){function o(e,n){c(t,e,function(t){return this._invoke(e,n,t)})}e?i?i(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(o("next",0),o("throw",1),o("return",2))},c(t,e,n,r)}function d(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,p(r.key),r)}}function p(t){var e=function(t){if("object"!=l(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==l(e)?e:e+""}function v(t,e,n){return e=y(e),function(t,e){if(e&&("object"==l(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,f()?Reflect.construct(e,n||[],y(t).constructor):e.apply(t,n))}function f(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(f=function(){return!!t})()}
2function y(t){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},y(t)}function m(t,e){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},m(t,e)}var g=function(t){function e(t,n){var r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"confirm",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=v(this,e)).mode=i,r.options=o,r.responded=!1,r.isClosing=!1,r._onKeyPress=r._onKeyPress.bind(r),r._onOverlayHide=r._onOverlayHide.bind(r),r._finalizeClose=r._finalizeClose.bind(r),r.overlay=new s.R({isFixed:!0}),r._build(t,n),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&m(t,e)}(e,t),n=e,r=[{key:"_build",value:(c=u().m(function t(e,n){var r,s,l,c,d,h,p,v,f,y,m,g,b=this;return u().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,a.translations.readyGlobal().catch(function(){return null});case 1:this.container=document.createElement("div"),this.container.id="vs-prompt-module",this.container.dataset.mode=this.mode,this.container.setAttribute("role","dialog"),this.container.setAttribute("aria-modal","true"),l=a.translations.gAt("actions.prompt"),c=null!==(r=this.options.cancel)&&void 0!==r?r:l("cancel","Cancel"),d=null!==(s=this.options.confirm)&&void 0!==s?s:l("confirm","Confirm"),h=i.H.populateHTMLTemplate('<div class="inner"> <header> <h4>${title}</h4> <div class="message"> ${message} </div> <fieldset id="fieldset-prompt-input" class="textinput"> <input id="vs-prompt-input" name="prompt-input" type="text" placeholder="${inputPlaceholder}" value="${inputValue}" spellcheck="false" autocomplete="off" autocorrect="off" autocapitalize="on"> </fieldset> </header> <footer> <button type="button" class="button" data-action="cancel"> <span class="label">${buttonCancel}</span> </button> <button type="button" class="button featured" data-action="confirm"> <span class="label">${buttonConfirm}</span> </button> </footer> </div>',{title:e||"",message:{value:i.H.generateParagraphsHTML(n),isHTML:!0},buttonCancel:c,buttonConfirm:d}),this.container.innerHTML=h,document.body.appendChild(this.container),(p=this.container.querySelector("header")).querySelector("h4"),v=p.querySelector(".message"),f=p.querySelector("#fieldset-prompt-input"),this.inner=this.container.querySelector(".inner"),y=this.container.querySelector("footer"),m=y.querySelector('button[data-action="cancel"]'),g=y.querySelector('button[data-action="confirm"]'),e||this.container.querySelector("header h4").remove(),"alert"===this.mode&&m.remove(),"input"===this.mode?(v.remove(),this.input=new o.a(f,n)):f.remove(),this.overlay.addEventListener("hide",this._onOverlayHide),m&&m.addEventListener("click",function(){b.setResponse(!1)}),g.addEventListener("click",function(){b.setResponse(!0)}),document.addEventListener("keydown",this._onKeyPress),requestAnimationFrame(function(){var t;null!==(t=b.container)&&void 0!==t&&t.isConnected&&!b.isClosing&&b.container.classList.add("reveal")}),this.options.noFocus||this._waitForTransition(function(){var t,e,n;!b.isClosing&&null!==(t=b.container)&&void 0!==t&&t.classList.contains("reveal")&&("input"===b.mode&&b.input?b.input.focus():null===(e=(n=m||b.container).focus)||void 0===e||e.call(n))});case 2:return t.a(2)}},t,this)}),p=function(){var t=this,e=arguments;return new Promise(function(n,r){var i=c.apply(t,e);function o(t){d(i,n,r,o,a,"next",t)}function a(t){d(i,n,r,o,a,"throw",t)}o(void 0)})},function(t,e){return p.apply(this,arguments)})},{key:"_waitForTransition",value:function(t){var e,n=this;if(null!==(e=this.inner)&&void 0!==e&&e.isConnected){var r=!1,i=function(){var e;r||(r=!0,null===(e=n.inner)||void 0===e||e.removeEventListener("transitionend",o),clearTimeout(a),null==t||t())},o=function(t){t.target===n.inner&&"transform"===t.propertyName&&i()},a=setTimeout(i,550);this.inner.addEventListener("transitionend",o)}else null==t||t()}},{key:"_onKeyPress",value:function(t){"Enter"===t.key||"Escape"===t.key&&this.setResponse("alert"===this.mode)}},{key:"_onOverlayHide",value:function(){this._triggerResponse("alert"===this.mode)}},{key:"_triggerResponse",value:function(t){if(!this.responded){this.responded=!0;var e="input"===this.mode?!!t&&this.input.value:t;this.triggerEvent("response",e),this._close()}}},{key:"_close",value:function(){var t,e;this.isClosing||(this.isClosing=!0,document.removeEventListener("keydown",this._onKeyPress),null===(t=this.overlay)||void 0===t||t.removeEventListener("hide",this._onOverlayHide),null!==(e=this.container)&&void 0!==e&&e.isConnected?(this.container.classList.add("removing"),this.container.classList.remove("reveal"),this._waitForTransition(this._finalizeClose)):this._finalizeClose())}},{key:"_finalizeClose",value:function(){var t;null!==(t=this.container)&&void 0!==t&&t.isConnected&&this.container.remove(),this.container=null,this.inner=null,this.overlay=null,this.isClosing=!1}},{key:"setResponse",value:function(t){this.overlay.removeEventListener("hide",this._onOverlayHide),this.overlay.hide(),this._triggerResponse(t)}}],l=[{key:"confirm",value:function(t,n,r){return new e(t,n,"confirm",r)}},{key:"alert",value:function(t,n,r){return new e(t,n,"alert",r)}},{key:"input",value:function(t,n,r){return new e(t,n,"input",r)}}],r&&h(n.prototype,r),l&&h(n,l),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,l,c,p}(r.b)},47320(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,u(r.key),r)}}function o(t,e,n){return e=s(e),function(t,e){if(e&&("object"==r(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,a()?Reflect.construct(e,n||[],s(t).constructor):e.apply(t,n))}function a(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(a=function(){return!!t})()}
2function s(t){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},s(t)}function l(t,e){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},l(t,e)}function u(t){var e=function(t){if("object"!=r(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==r(e)?e:e+""}n.d(e,{R:()=>h});var c,d,h=function(t){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(t=o(this,e)).isFixed=!!n.isFixed,t.skipAnimation=!!n.skipAnimation,t.isLocked=!!n.isLocked,t.variant=t._normalizeVariant(n.variant),t._isVisible=!1,t._fixedCounted=!1,t._isRemoved=!1,t._showFrame=null,t._instantCleanupFrame=null,t._removeTimeout=null,t._onContainerClick=t._onContainerClick.bind(t),t._onTransitionEnd=t._onTransitionEnd.bind(t),t.show=t.show.bind(t),t.hide=t.hide.bind(t),t.remove=t.remove.bind(t),t.container=document.createElement("div"),t.container.className="vs-overlay",t.variant&&(t.container.classList.add("vs-overlay--".concat(t.variant)),t.container.dataset.overlayVariant=t.variant),t.container.setAttribute("aria-hidden","true"),document.body.appendChild(t.container),t.isLocked||t.container.addEventListener("click",t._onContainerClick),t._showFrame=requestAnimationFrame(function(){t._showFrame=null,t._isRemoved||t.show(!!t.skipAnimation)}),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&l(t,e)}(e,t),n=e,r=[{key:"_normalizeVariant",value:function(t){return"string"!=typeof t?"":t.trim().toLowerCase().replace(/[^a-z0-9_-]+/g,"-").replace(/^-+|-+$/g,"")}},{key:"_getTransitionRemovalDelay",value:function(){if(!this.container||"undefined"==typeof window||"function"!=typeof window.getComputedStyle)return 350;for(var t=window.getComputedStyle(this.container),e=function(t){return String(t||"").split(",").map(function(t){var e=t.trim();return e.endsWith("ms")?parseFloat(e)||0:e.endsWith("s")?1e3*(parseFloat(e)||0):0})},n=e(t.transitionDuration),r=e(t.transitionDelay),i=Math.max(n.length,r.length,1),o=0,a=0;a<i;a++){var s=n[a%n.length]||0,l=r[a%r.length]||0;o=Math.max(o,s+l)}return o+50}},{key:"_onContainerClick",value:function(){this.hide()}},{key:"_cancelScheduledShow",value:function(){null!==this._showFrame&&(cancelAnimationFrame(this._showFrame),this._showFrame=null)}},{key:"_cancelPendingRemoval",value:function(){this.container&&this.container.removeEventListener("transitionend",this._onTransitionEnd),null!==this._removeTimeout&&(clearTimeout(this._removeTimeout),this._removeTimeout=null)}},{key:"_onTransitionEnd",value:function(t){t.target===this.container&&"opacity"===t.propertyName&&(this._isVisible||this.remove())}},{key:"_applyVisibility",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];!this._isRemoved&&this.container&&(null!==this._instantCleanupFrame&&(cancelAnimationFrame(this._instantCleanupFrame),this._instantCleanupFrame=null),n&&(this.container.setAttribute("data-instant","1"),this.container.offsetWidth),this.container.setAttribute("aria-hidden",t?"false":"true"),this.container.classList.toggle("reveal",t),n&&(this._instantCleanupFrame=requestAnimationFrame(function(){e._instantCleanupFrame=null,!e._isRemoved&&e.container&&e.container.removeAttribute("data-instant")})))}},{key:"show",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._isRemoved||!this.container||this._isVisible||(this._cancelScheduledShow(),this._cancelPendingRemoval(),this.isFixed&&!this._fixedCounted&&(0===e._fixedOverlayCount&&document.body.classList.add("fixed"),e._fixedOverlayCount++,this._fixedCounted=!0),this._applyVisibility(!0,t),this._isVisible=!0,this.triggerEvent("show"))}},{key:"hide",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this._isRemoved&&this.container){if(!this._isVisible){var n=null!==this._showFrame;return this._cancelScheduledShow(),void(n&&this.remove())}this._cancelPendingRemoval(),this._applyVisibility(!1,e),this._isVisible=!1,this.triggerEvent("hide"),e?this.remove():(this.container.addEventListener("transitionend",this._onTransitionEnd),this._removeTimeout=setTimeout(function(){t._removeTimeout=null,t._isVisible||t.remove()},this._getTransitionRemovalDelay()))}}},{key:"lock",value:function(){!this.isLocked&&this.container&&(this.container.removeEventListener("click",this._onContainerClick),this.isLocked=!0)}},{key:"unlock",value:function(){this.isLocked&&this.container&&(this.container.addEventListener("click",this._onContainerClick),this.isLocked=!1)}},{key:"remove",value:function(){var t;this._isRemoved||(this._isRemoved=!0,this._cancelScheduledShow(),null!==this._instantCleanupFrame&&(cancelAnimationFrame(this._instantCleanupFrame),this._instantCleanupFrame=null),this._cancelPendingRemoval(),this.isFixed&&this._fixedCounted&&(e._fixedOverlayCount=Math.max(0,e._fixedOverlayCount-1),this._fixedCounted=!1,0===e._fixedOverlayCount&&document.body.classList.remove("fixed")),this.container&&(this.container.removeEventListener("click",this._onContainerClick),this.container.removeAttribute("data-instant")),null===(t=this.container)||void 0===t||t.remove(),this.container=null,this.triggerEvent("removed"))}}],r&&i(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(n(15297).b);c=h,(d=u(d="_fixedOverlayCount"))in c?Object.defineProperty(c,d,{value:0,enumerable:!0,configurable:!0,writable:!0}):c[d]=0},14294(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,o(r.key),r)}}function o(t){var e=function(t){if("object"!=r(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==r(e)?e:e+""}function a(t,e,n){return e=l(e),function(t,e){if(e&&("object"==r(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}
2(t,s()?Reflect.construct(e,n||[],l(t).constructor):e.apply(t,n))}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}function l(t){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},l(t)}function u(t,e){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},u(t,e)}n.d(e,{f:()=>c});var c=function(t){function e(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(n=a(this,e)).selected=null,n.container=t,n.tabs=n.container.querySelectorAll(".tab"),n.tabs.forEach(function(t){var e=t.querySelector(".link");e.addEventListener("click",function(e){n._selectNewTab(t),i||e.preventDefault()}),t.classList.contains("selected")?n.selected=e.dataset.id:e.dataset.id===r&&n._selectNewTab(t,!0)}),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&u(t,e)}(e,t),n=e,(r=[{key:"_selectNewTab",value:function(t,e){var n=this.container.querySelector(".tab.selected");n&&n.classList.remove("selected"),t.classList.add("selected");var r=t.querySelector(".link");this.selected=r.dataset.id,e||this.triggerEvent("select",this.selected)}},{key:"_getTabByID",value:function(t){var e=this.container.querySelector('.tab .link[data-id="'.concat(t,'"]'));if(e){var n=e.closest(".tab");if(n)return n}return null}},{key:"select",value:function(t){var e=this._getTabByID(t);e&&this._selectNewTab(e,!0)}},{key:"remove",value:function(t){var e=this._getTabByID(t);e&&e.remove()}}])&&i(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(n(15297).b)},36853(t,e,n){n.r(e),n.d(e,{default:()=>_});var r=n(16919),i=n(77201),o=n(24793),a=n(7546),s=n(29527),l=n(17222),u=n(20154),c=n(20307),d=n(47268),h=n(35111),p=n(22451),v=n(14294),f=n(3411),y=n(40627);function m(t){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m(t)}function g(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,b(r.key),r)}}function b(t){var e=function(t){if("object"!=m(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=m(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==m(e)?e:e+""}var _=function(){return t=function t(){var e,n,i,o,s=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.apiService=r.apiService,this.pageState=c.B,this._applyState=this._applyState.bind(this),this._getState=this._getState.bind(this),this._toUrl=this._toUrl.bind(this),this.baseURL=window.location.pathname,this.artistName=window.artistName,this._noResultsMode=null,this.pageState.setProperty("artistName",this.artistName),this.pageState.setProperty("pageIndex",Number(null!==(e=window.pageIndex)&&void 0!==e?e:1)),this.pageState.setProperty("totalResults",Number(null!==(n=window.totalResults)&&void 0!==n?n:0)),this.pageState.setProperty("totalPages",Number(null!==(i=window.totalPages)&&void 0!==i?i:0)),this.pageState.setProperty("pageOrder","asc"===window.pageOrder?"asc":"desc"),this.pageState.setProperty("searchQuery",String(null!==(o=window.searchQuery)&&void 0!==o?o:"").trim()),this.ready=y.translations.readyAll().catch(function(){return null}),a.H.onDOMContentLoaded(function(){s._onDOMContentLoaded()})},e=[{key:"_onDOMContentLoaded",value:function(){var t,e,n,r,o,l,c=this;if(this.container=document.querySelector("#vs-contents"),this.container){var p=this.container.querySelector(".tab-group"),y=p?new v.f(p):null;this.imageDeck=this.container.querySelector("#tab-portfolio.image-deck");var m=null===(t=this.imageDeck)||void 0===t?void 0:t.querySelector(".deck-toolbar");
2if(m){var g=m.querySelector("#portfolio-searchbox");if(g){var b=g.querySelector("fieldset");if(b){this.searchInput=new f.a(b),this.buttonSearchSubmit=b.querySelector("#portfolio-search-submit"),this.buttonSearchClear=b.querySelector("#portfolio-search-clear");var _=m.querySelector("#f-portfolio-order .dropdown");if(_){this.dropdownOrder=new i.m(_,this.pageState.getProperty("pageOrder"));var S=m.querySelector(".controls-pagination-mini");if(this.paginationMini=S?new h._(S,this.pageState.getProperty("pageIndex"),Math.max(1,this.pageState.getProperty("totalPages"))):null,this.imagesArea=this.imageDeck.querySelector(".deck-grid"),this.imagesArea&&(this.mosaicArea=this.imagesArea.querySelector(".mosaic"),this.mosaicArea)){this.mosaicLayout=new u.D(this.mosaicArea,null,{owner:!0}),this.noResultsTitle=this.imagesArea.querySelector(".noresults h4"),this.noResultsByline=this.imagesArea.querySelector(".noresults p");var w=this.container.querySelector(".controls-pagination");if(w){this.pagination=new d.d(w,this.baseURL,this.pageState.getProperty("pageIndex"),Math.max(1,this.pageState.getProperty("totalPages"))),this.history=new s.t(this._getState,this._applyState,this._toUrl),null==y||y.addEventListener("select",function(t){a.H.goToURL(t.data)});var P=function(){var t,e,n=String(null!==(t=c.searchInput.value)&&void 0!==t?t:"").trim(),r=String(null!==(e=c.pageState.getProperty("searchQuery"))&&void 0!==e?e:"").trim();n||r?(c.pageState.setProperty("searchQuery",n),c._setPageIndex(1),c.history.pushIfChanged()):c.searchInput.focus()};this.searchInput.addEventListener("submit",P),null===(e=this.buttonSearchSubmit)||void 0===e||e.addEventListener("click",P);var O=function(){c.buttonSearchClear&&(c.buttonSearchClear.disabled=c.searchInput.isEmpty())};this.searchInput.addEventListener("change",O),null===(n=this.buttonSearchClear)||void 0===n||n.addEventListener("click",function(){c.searchInput.clear(),c.pageState.setProperty("searchQuery",""),c._setPageIndex(1),c.history.pushIfChanged()}),this.dropdownOrder.addEventListener("change",function(t){c._setPageOrder(t.data),c.history.pushIfChanged()});var k=function(t){window.scrollTo({top:0,behavior:"smooth"}),c._setPageIndex(t.data),c.history.pushIfChanged()};null===(r=this.paginationMini)||void 0===r||r.addEventListener("navigate",k),this.pagination.addEventListener("navigate",k),O();var C=Number(null!==(o=this.pageState.getProperty("totalResults"))&&void 0!==o?o:0),E=""!==String(null!==(l=this.pageState.getProperty("searchQuery"))&&void 0!==l?l:"").trim();this._noResultsMode=0===C?E?"search":"empty":null,this._updateActionStates(0===C)}}}}}}}}},{key:"_getState",value:function(){var t,e,n,r,i,o,a,s,l,u,c;return{page:Number(null!==(t=null!==(e=null===(n=this.pagination)||void 0===n||null===(r=n.getCurrentPage)||void 0===r?void 0:r.call(n))&&void 0!==e?e:this.pageState.getProperty("pageIndex"))&&void 0!==t?t:1),order:null!==(i=null!==(o=null===(a=this.dropdownOrder)||void 0===a||null===(s=a.getValue)||void 0===s?void 0:s.call(a))&&void 0!==o?o:this.pageState.getProperty("pageOrder"))&&void 0!==i?i:"desc",query:String(null!==(l=null!==(u=null===(c=this.searchInput)||void 0===c?void 0:c.value)&&void 0!==u?u:this.pageState.getProperty("searchQuery"))&&void 0!==l?l:"").trim()}}},{key:"_applyState",value:function(t,e){e.source;var n,r,i,o,a,s,l,u,c,d,h,p,v,f,y=Number(t.page)||1,m="asc"===t.order?"asc":"desc",g=String(null!==(n=t.query)&&void 0!==n?n:"").trim();null===(r=(i=this.pageState).setProperties)||void 0===r||r.call(i,{pageIndex:y,pageOrder:m,searchQuery:g});var b=Math.max(1,Number(null!==(o=this.pageState.getProperty("totalPages"))&&void 0!==o?o:0));null===(a=this.pagination)||void 0===a||null===(s=a.update)||void 0===s||s.call(a,y,b),null===(l=this.paginationMini)||void 0===l||null===(u=l.update)||void 0===u||u.call(l,y,b),null===(c=this.dropdownOrder)||void 0===c||null===(d=c.set)||void 0===d||d.call(c,m,!0),null===(h=this.searchInput)||void 0===h||null===(p=h.set)||void 0===p||p.call(h,g),this.buttonSearchClear&&(this.buttonSearchClear.disabled=!g),this._updateActionStates(0===Number(null!==(v=this.pageState.getProperty("totalResults"))&&void 0!==v?v:0)),null===(f=this._loadContent)||void 0===f||f.call(this)}},{key:"_toUrl",value:function(t){var e,n=new URLSearchParams;(0|t.page)>1&&n.set("page",t.page),"desc"!==(t.order||"desc")&&n.set("order",t.order);var r=String(null!==(e=t.query)&&void 0!==e?e:"").trim();r&&n.set("q",r);var i=n.toString(),o=i?"?".concat(i):"";return"".concat(location.pathname).concat(o)}},{key:"_setPageIndex",value:function(t){var e,n,r=Number(null!==(e=this.pageState.getProperty("totalPages"))&&void 0!==e?e:0);t=Math.max(1,Math.min(Number(t)||1,Math.max(1,r))),this.pageState.setProperty("pageIndex",t),this.pagination.update(t,Math.max(1,r)),null===(n=this.paginationMini)||void 0===n||n.update(t,Math.max(1,r))}},{key:"_setPageOrder",value:function(t){var e,n,r=Number(null!==(e=this.pageState.getProperty("totalPages"))&&void 0!==e?e:0);this.pageState.setProperty("pageIndex",1),this.pageState.setProperty("pageOrder",t),this.pagination.update(1,Math.max(1,r)),null===(n=this.paginationMini)||void 0===n||n.update(1,Math.max(1,r))}},{key:"_updateActionStates",value:function(){var t,e,n,r;arguments.length>0&&void 0!==arguments[0]&&arguments[0]?(null===(t=this.dropdownOrder)||void 0===t||t.disable(),null===(e=this.paginationMini)||void 0===e||e.disable()):(null===(n=this.dropdownOrder)||void 0===n||n.enable(),null===(r=this.paginationMini)||void 0===r||r.enable())}},{key:"_setNoResultsMode",value:function(t){var e,n;t&&t!==this._noResultsMode&&this.noResultsTitle&&this.noResultsByline&&(this._noResultsMode=t,this.noResultsTitle.textContent=String(null!==(e=y.translations.p("noresults.".concat(t,".title")))&&void 0!==e?e:""),this.noResultsByline.textContent=String(null!==(n=y.translations.p("noresults.".concat(t,".byline")))&&void 0!==n?n:""))}},{key:"_loadContent",value:function(){var t,e,n,r=this,i={page:Number(null!==(t=this.pageState.getProperty("pageIndex"))&&void 0!==t?t:1),order:null!==(e=this.pageState.getProperty("pageOrder"))&&void 0!==e?e:"desc",q:String(null!==(n=this.pageState.getProperty("searchQuery"))&&void 0!==n?n:"").trim()},a=this.apiService.pathToApiID(p.Routes.API.ARTIST.PORTFOLIO,i),s=function(){var t;return Number(r.pageState.getProperty("pageIndex"))===i.page&&r.pageState.getProperty("pageOrder")===i.order&&String(null!==(t=r.pageState.getProperty("searchQuery"))&&void 0!==t?t:"").trim()===i.q},u=new l.l;this.mosaicLayout.disable();var c=function(){u.complete(),r.mosaicLayout.enable()},d=function(t){t.data.id===a&&u.updateProgress(t.data.progress)};this.apiService.addEventListener("downloadProgress",d),this.apiService.get(p.Routes.API.ARTIST.PORTFOLIO,i,{cacheType:"memory"}).then(function(t){if(s()){var e,n,o,a,l,u,d;c();var h=Array.isArray(null===(e=t.data)||void 0===e?void 0:e.results)?t.data.results:[],p=Math.max(0,Number(null===(n=t.data)||void 0===n?void 0:n.total)||0),v=Math.max(0,Number(null===(o=t.data)||void 0===o?void 0:o.pages)||0),f=Math.max(1,v),y=0===p?1:Math.max(1,Math.min(Number(null===(a=t.data)||void 0===a?void 0:a.page)||i.page,f)),m=""!==i.q,g=0===p,b=g&&!m;if(null===(l=(u=r.pageState).setProperties)||void 0===l||l.call(u,{pageIndex:y,totalResults:p,totalPages:v}),r._updateActionStates(g),r.imageDeck.dataset.empty=b?"1":"0",r.imagesArea.dataset.empty=0===h.length?"1":"0",r.mosaicLayout.replace(h),r.pagination.update(y,f),null===(d=r.paginationMini)||void 0===d||d.update(y,f),0===h.length){var _=m||y>1?"search":"empty";r.ready.then(function(){return r._setNoResultsMode(_)})}else r._noResultsMode=null}return null}).catch(function(t){o.A.log("Artist Portfolio","Portfolio search failed to respond",{params:i,error:t}),s()&&c()}).finally(function(){r.apiService.removeEventListener("downloadProgress",d)})}}],e&&g(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e}()},93373(t,e,n){n.d(e,{d:()=>d});var r="vs_checkout_origin",i=36e5,o=Object.freeze({SEARCH_RESULTS_AD_BANNER:"search_results_ad_banner",HEADER_PRICING:"header_next_pricing",HEADER_SUBSCRIBE:"header_next_subscribe",ACCOUNT_POPOUT_VIEW_PLANS:"account_popout_view_plans",ACCOUNT_POPOUT_BUY_CREDITS:"account_popout_buy_credits",PRICING_PAGE:"pricing_page",VECTOR_PAGE:"vector_page"}),a=new Set(Object.values(o));function s(){try{return"undefined"!=typeof window&&!!window.sessionStorage}catch(t){return!1}}function l(t){if("string"!=typeof t)return"";var e=t.trim().toLowerCase();return a.has(e)?e:""}function u(){if(!s())return null;try{var t=window.sessionStorage.getItem(r);if(!t)return null;var e=JSON.parse(t),n=l(null==e?void 0:e.origin),o=Number(null==e?void 0:e.created_at)||0,a=Number(null==e?void 0:e.expires_at)||o+i;return!n||!o||Date.now()>a?(window.sessionStorage.removeItem(r),null):{origin:n,created_at:o}}catch(t){return null}}function c(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).createdAt,n=void 0===e?Date.now():e;if(!s())return!1;try{return window.sessionStorage.setItem(r,JSON.stringify({origin:t,created_at:n,expires_at:Date.now()+i})),!0}catch(t){return!1}}var d={ORIGINS:o,mark:function(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).preserveExisting,n=void 0!==e&&e,r=l(t);return!!r&&(!(!n||!u())||c(r))},getOrigin:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.fallback,n=void 0===e?"unknown":e,r=t.touch,i=void 0===r||r,o=u();return o?(i&&c(o.origin,{createdAt:o.created_at}),o.origin):n},clear:function(){if(!s())return!1;try{return window.sessionStorage.removeItem(r),!0}catch(t){return!1}}}},29527(t,e,n){n.d(e,{t:()=>l});var r=n(24793),i=n(7546);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,s(r.key),r)}}function s(t){var e=function(t){if("object"!=o(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==o(e)?e:e+""}var l=function(){return t=function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}
2(this,t),this.getState=e,this.applyState=n,this.toUrl=r,this._onPop=this._onPop.bind(this);var i=this._normalize(this.getState()),o=this.toUrl(i);location.pathname+location.search!==o?history.replaceState(i,"",o):history.replaceState(i,"",void 0),this._last=i,window.addEventListener("popstate",this._onPop)},e=[{key:"_onPop",value:function(t){try{var e,n,i=null!==(e=null!==(n=t.state)&&void 0!==n?n:this._last)&&void 0!==e?e:this._normalize(this.getState());this._last=i,this.applyState(i,{source:"pop"})}catch(e){r.A.log("HistoryController._onPop","Failed to apply popped state",{error:e,state:t.state})}}},{key:"_normalize",value:function(t){return t||{}}},{key:"destroy",value:function(){window.removeEventListener("popstate",this._onPop)}},{key:"pushIfChanged",value:function(){var t=this._normalize(this.getState());if(!i.H.shallowEqual(this._last,t))try{history.pushState(t,"",this.toUrl(t)),this._last=t}catch(e){r.A.log("HistoryController.pushIfChanged","Failed to push state",{error:e,next:t})}this.applyState(t,{source:"ui"})}},{key:"replaceCurrent",value:function(){var t=this._normalize(this.getState());try{history.replaceState(t,"",this.toUrl(t)),this._last=t}catch(e){r.A.log("HistoryController.replaceCurrent","Failed to replace state",{error:e,next:t})}this.applyState(t,{source:"ui"})}}],e&&a(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e}()}}]);
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.