diff --git a/Resources/Public/AssetEditor/Plugin.css b/Resources/Public/AssetEditor/Plugin.css index 41e23bef7..d3e0d97e9 100644 --- a/Resources/Public/AssetEditor/Plugin.css +++ b/Resources/Public/AssetEditor/Plugin.css @@ -1426,27 +1426,25 @@ .SortOrderSelector-module__selectBox___g81tx { min-width: 0; + display: flex; } .AssetsFilter-module__assetsFilter___3rCkH { position: relative; } -.AssetsFilter-module__assetsFilter___3rCkH summary { +.AssetsFilter-module__assetsFilter___3rCkH > summary { background-color: var(--theme-colors-captionBackground); padding: 0 1em; cursor: pointer; + list-style-type: none; } .AssetsFilter-module__assetsFilter___3rCkH summary:hover { background-color: var(--theme-colors-PrimaryBlue); } -.AssetsFilter-module__assetsFilter___3rCkH > summary { - list-style-type: none; -} - -.AssetsFilter-module__assetsFilter___3rCkH[open] > summary::-webkit-details-marker { +.AssetsFilter-module__assetsFilter___3rCkH > summary::-webkit-details-marker { display: none; } @@ -1492,17 +1490,25 @@ } .SearchBox-module__searchBox___3GzI7 { + display: flex; + flex-direction: row; + flex-grow: 1; +} + +.SearchBox-module__searchBox__inputWrapper___1ZW3b { flex: 1; } -.SearchBox-module__searchBox___3GzI7 input[type="search"] { - -webkit-appearance: searchfield; +.SearchBox-module__searchBox__inputWrapper___1ZW3b > input { width: 100%; } -.SearchBox-module__searchBox___3GzI7 input[type="search"]::-webkit-search-cancel-button { - -webkit-appearance: searchfield-cancel-button; - cursor: pointer; +.SearchBox-module__searchBox__searchButton___1Khrw { + +} + +.SearchBox-module__searchBox__clearButton___3s_q4 { + } .TopBar-module__topBar___3QcJr { @@ -1778,6 +1784,8 @@ grid-template-columns: var(--grid-columns); grid-template-areas: var(--grid-areas); gap: var(--theme-spacing-Full); + /* Padding is necessary to prevent cutting of button outlines in the topbar */ + padding-top: 1px; line-height: 1.5; overflow: hidden; } @@ -1844,6 +1852,10 @@ body > [class*="_selectBox__contents_"] { z-index: 99999; } +[class*="_dropDown__btn"] { + padding-left: 0; +} + .MediaSelectionScreen-module__mediaSelectionScreen___2qXAm { transform: translateZ(0); height: 100%; diff --git a/Resources/Public/AssetEditor/Plugin.js b/Resources/Public/AssetEditor/Plugin.js index 44b61d57c..68f26a8ad 100644 --- a/Resources/Public/AssetEditor/Plugin.js +++ b/Resources/Public/AssetEditor/Plugin.js @@ -1,4 +1,4 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=166)}([function(e,t,n){"use strict";var r,o=n(40),a=(r=o)&&r.__esModule?r:{default:r};e.exports=(0,a.default)("vendor")().React},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return cs})),n.d(t,"b",(function(){return us})),n.d(t,"c",(function(){return fs})),n.d(t,"d",(function(){return ds})),n.d(t,"e",(function(){return ps})),n.d(t,"f",(function(){return ms})),n.d(t,"g",(function(){return hs})),n.d(t,"h",(function(){return vs}));var r=n(0),o=n.n(r),a=n(71),i=n.n(a);var s=function(e){const t=new Error(e);if(void 0===t.stack)try{throw t}catch(e){}return t};var l=function(e){return!!e&&"function"==typeof e.then};var c=function(e,t){if(null!=e)return e;throw s(null!=t?t:"Got unexpected null or undefined")};function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class d{getValue(){throw s("BaseLoadable")}toPromise(){throw s("BaseLoadable")}valueMaybe(){throw s("BaseLoadable")}valueOrThrow(){throw s(`Loadable expected value, but in "${this.state}" state`)}promiseMaybe(){throw s("BaseLoadable")}promiseOrThrow(){throw s(`Loadable expected promise, but in "${this.state}" state`)}errorMaybe(){throw s("BaseLoadable")}errorOrThrow(){throw s(`Loadable expected error, but in "${this.state}" state`)}is(e){return e.state===this.state&&e.contents===this.contents}map(e){throw s("BaseLoadable")}}class f extends d{constructor(e){super(),u(this,"state","hasValue"),u(this,"contents",void 0),this.contents=e}getValue(){return this.contents}toPromise(){return Promise.resolve(this.contents)}valueMaybe(){return this.contents}valueOrThrow(){return this.contents}promiseMaybe(){}errorMaybe(){}map(e){try{const t=e(this.contents);return l(t)?b(t):_(t)?t:m(t)}catch(t){return l(t)?b(t.next(()=>this.map(e))):v(t)}}}class p extends d{constructor(e){super(),u(this,"state","hasError"),u(this,"contents",void 0),this.contents=e}getValue(){throw this.contents}toPromise(){return Promise.reject(this.contents)}valueMaybe(){}promiseMaybe(){}errorMaybe(){return this.contents}errorOrThrow(){return this.contents}map(e){return this}}class h extends d{constructor(e){super(),u(this,"state","loading"),u(this,"contents",void 0),this.contents=e}getValue(){throw this.contents}toPromise(){return this.contents}valueMaybe(){}promiseMaybe(){return this.contents}promiseOrThrow(){return this.contents}errorMaybe(){}map(e){return b(this.contents.then(t=>{const n=e(t);if(_(n)){const e=n;switch(e.state){case"hasValue":return e.contents;case"hasError":throw e.contents;case"loading":return e.contents}}return n}).catch(t=>{if(l(t))return t.then(()=>this.map(e).contents);throw t}))}}function m(e){return Object.freeze(new f(e))}function v(e){return Object.freeze(new p(e))}function b(e){return Object.freeze(new h(e))}function y(){return Object.freeze(new h(new Promise(()=>{})))}function g(e){const t=function(e){return e.every(e=>"hasValue"===e.state)?m(e.map(e=>e.contents)):e.some(e=>"hasError"===e.state)?v(c(e.find(e=>"hasError"===e.state),"Invalid loadable passed to loadableAll").contents):b(Promise.all(e.map(e=>e.contents)))}((Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(t=>e[t])).map(e=>_(e)?e:l(e)?b(e):m(e)));return Array.isArray(e)?t:t.map(t=>Object.getOwnPropertyNames(e).reduce((e,n,r)=>({...e,[n]:t[r]}),{}))}function _(e){return e instanceof d}const O={of:e=>l(e)?b(e):_(e)?e:m(e),error:e=>v(e),loading:()=>y(),all:g,isLoadable:_};var S={loadableWithValue:m,loadableWithError:v,loadableWithPromise:b,loadableLoading:y,loadableAll:g,isLoadable:_,RecoilLoadable:O},E=S.loadableWithValue,w=S.loadableWithError,C=S.loadableWithPromise,T=S.loadableLoading,A=S.loadableAll,j=S.isLoadable,k=S.RecoilLoadable,I=Object.freeze({__proto__:null,loadableWithValue:E,loadableWithError:w,loadableWithPromise:C,loadableLoading:T,loadableAll:A,isLoadable:j,RecoilLoadable:k});const N={RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED:!0,RECOIL_GKS_ENABLED:new Set(["recoil_hamt_2020","recoil_sync_external_store","recoil_suppress_rerender_in_callback","recoil_memory_managament_2020"])};var x;void 0!==e&&null!=(null===(x=e)||void 0===x?void 0:x.env)&&(function(t,n){var r,o;const a=null===(r=e.env[t])||void 0===r||null===(o=r.toLowerCase())||void 0===o?void 0:o.trim();if(null!=a&&""!==a){if(!["true","false"].includes(a))throw s(`process.env.${t} value must be 'true', 'false', or empty: ${a}`);n("true"===a)}}("RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED",e=>{N.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED=e}),function(t,n){var r;const o=null===(r=e.env[t])||void 0===r?void 0:r.trim();null!=o&&""!==o&&n(o.split(/\s*,\s*|\s+/))}("RECOIL_GKS_ENABLED",e=>{e.forEach(e=>{N.RECOIL_GKS_ENABLED.add(e)})}));var R=N;function D(e){return R.RECOIL_GKS_ENABLED.has(e)}D.setPass=e=>{R.RECOIL_GKS_ENABLED.add(e)},D.setFail=e=>{R.RECOIL_GKS_ENABLED.delete(e)},D.clear=()=>{R.RECOIL_GKS_ENABLED.clear()};var M=D;var L,P,F,B=function(e,t,{error:n}={}){return null};const U=null!==(L=o.a.createMutableSource)&&void 0!==L?L:o.a.unstable_createMutableSource,V=null!==(P=o.a.useMutableSource)&&void 0!==P?P:o.a.unstable_useMutableSource,q=null!==(F=o.a.useSyncExternalStore)&&void 0!==F?F:o.a.unstable_useSyncExternalStore;let z=!1;var Q={createMutableSource:U,useMutableSource:V,useSyncExternalStore:q,currentRendererSupportsUseSyncExternalStore:function(){var e;const{ReactCurrentDispatcher:t,ReactCurrentOwner:n}=o.a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,r=null!=(null!==(e=null==t?void 0:t.current)&&void 0!==e?e:n.currentDispatcher).useSyncExternalStore;return!q||r||z||(z=!0,B("A React renderer without React 18+ API support is being used with React 18+.")),r},reactMode:function(){return M("recoil_transition_support")?{mode:"TRANSITION_SUPPORT",early:!0,concurrent:!0}:M("recoil_sync_external_store")&&null!=q?{mode:"SYNC_EXTERNAL_STORE",early:!0,concurrent:!1}:M("recoil_mutable_source")&&null!=V&&"undefined"!=typeof window&&!window.$disableRecoilValueMutableSource_TEMP_HACK_DO_NOT_USE?M("recoil_suppress_rerender_in_callback")?{mode:"MUTABLE_SOURCE",early:!0,concurrent:!0}:{mode:"MUTABLE_SOURCE",early:!1,concurrent:!1}:M("recoil_suppress_rerender_in_callback")?{mode:"LEGACY",early:!0,concurrent:!1}:{mode:"LEGACY",early:!1,concurrent:!1}},isFastRefreshEnabled:function(){return!1}};class ${constructor(e){u(this,"key",void 0),this.key=e}toJSON(){return{key:this.key}}}class W extends ${}class H extends ${}var K={AbstractRecoilValue:$,RecoilState:W,RecoilValueReadOnly:H,isRecoilValue:function(e){return e instanceof W||e instanceof H}},G=K.AbstractRecoilValue,Y=K.RecoilState,X=K.RecoilValueReadOnly,J=K.isRecoilValue,Z=Object.freeze({__proto__:null,AbstractRecoilValue:G,RecoilState:Y,RecoilValueReadOnly:X,isRecoilValue:J});var ee=function(e,...t){0};var te=function(e,t){return function*(){let n=0;for(const r of e)yield t(r,n++)}()};const{isFastRefreshEnabled:ne}=Q;class re{}const oe=new re,ae=new Map,ie=new Map;class se extends Error{}const le=new Map;function ce(e){return le.get(e)}var ue={nodes:ae,recoilValues:ie,registerNode:function(e){R.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED&&function(e){if(ae.has(e)){const t=`Duplicate atom key "${e}". This is a FATAL ERROR in\n production. But it is safe to ignore this warning if it occurred because of\n hot module replacement.`;console.warn(t)}}(e.key),ae.set(e.key,e);const t=null==e.set?new Z.RecoilValueReadOnly(e.key):new Z.RecoilState(e.key);return ie.set(e.key,t),t},getNode:function(e){const t=ae.get(e);if(null==t)throw new se(`Missing definition for RecoilValue: "${e}""`);return t},getNodeMaybe:function(e){return ae.get(e)},deleteNodeConfigIfPossible:function(e){var t;if(!M("recoil_memory_managament_2020"))return;const n=ae.get(e);var r;null!=n&&null!==(t=n.shouldDeleteConfigOnRelease)&&void 0!==t&&t.call(n)&&(ae.delete(e),null===(r=ce(e))||void 0===r||r(),le.delete(e))},setConfigDeletionHandler:function(e,t){M("recoil_memory_managament_2020")&&(void 0===t?le.delete(e):le.set(e,t))},getConfigDeletionHandler:ce,recoilValuesForKeys:function(e){return te(e,e=>c(ie.get(e)))},NodeMissingError:se,DefaultValue:re,DEFAULT_VALUE:oe};var de={enqueueExecution:function(e,t){t()}};var fe=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e){var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n={},r=Math.pow(2,5),o=r-1,a=r/2,i=r/4,s={},l=function(e){return function(){return e}},c=n.hash=function(e){var n=void 0===e?"undefined":t(e);if("number"===n)return e;"string"!==n&&(e+="");for(var r=0,o=0,a=e.length;o>>e&o},d=function(e){return 1<>1&1431655765))+(n>>2&858993459))+(n>>4)&252645135,n+=n>>8,127&(n+=n>>16);var n},p=function(e,t,n,r){var o=r;if(!e){var a=r.length;o=new Array(a);for(var i=0;i1?y(e,this.hash,l):l[0]}var c=r();return c===s?this:(++i.value,O(e,n,this.hash,this,o,b(e,o,a,c)))},C=function(e,t,n,r,o,i,s){var l=this.mask,c=this.children,b=u(n,o),y=d(b),O=f(l,y),E=l&y,w=E?c[O]:m,C=w._modify(e,t,n+5,r,o,i,s);if(w===C)return this;var T,A=S(e,this),j=l,k=void 0;if(E&&v(C)){if(!(j&=~y))return m;if(c.length<=2&&((T=c[1^O])===m||1===T.type||2===T.type))return c[1^O];k=h(A,O,c)}else if(E||v(C))k=p(A,O,C,c);else{if(c.length>=a)return function(e,t,n,r,o){for(var a=[],i=r,s=0,l=0;i;++l)1&i&&(a[l]=o[s++]),i>>>=1;return a[t]=n,_(e,s+1,a)}(e,b,C,l,c);j|=y,k=function(e,t,n,r){var o=r.length;if(e){for(var a=o;a>=t;)r[a--]=r[a];return r[t]=n,r}for(var i=0,s=0,l=new Array(o+1);i{n.set(r,t(e,r))}),n};function _e(e,t,n,r){const{nodeDeps:o,nodeToNodeSubscriptions:a}=n,i=o.get(e);if(i&&r&&i!==r.nodeDeps.get(e))return;o.set(e,t);const s=null==i?t:ye(t,i);for(const t of s){a.has(t)||a.set(t,new Set);c(a.get(t)).add(e)}if(i){const n=ye(i,t);for(const t of n){if(!a.has(t))return;const n=c(a.get(t));n.delete(e),0===n.size&&a.delete(t)}}}var Oe={cloneGraph:function(e){return{nodeDeps:ge(e.nodeDeps,e=>new Set(e)),nodeToNodeSubscriptions:ge(e.nodeToNodeSubscriptions,e=>new Set(e))}},graph:function(){return{nodeDeps:new Map,nodeToNodeSubscriptions:new Map}},saveDepsToStore:function(e,t,n,r){var o,a,i,s;const l=n.getState();r!==l.currentTree.version&&r!==(null===(o=l.nextTree)||void 0===o?void 0:o.version)&&r!==(null===(a=l.previousTree)||void 0===a?void 0:a.version)&&B("Tried to save dependencies to a discarded tree");const c=n.getGraph(r);if(_e(e,t,c),r===(null===(i=l.previousTree)||void 0===i?void 0:i.version)){_e(e,t,n.getGraph(l.currentTree.version),c)}if(r===(null===(s=l.previousTree)||void 0===s?void 0:s.version)||r===l.currentTree.version){var u;const r=null===(u=l.nextTree)||void 0===u?void 0:u.version;if(void 0!==r){_e(e,t,n.getGraph(r),c)}}}};let Se=0;let Ee=0;let we=0;var Ce={getNextTreeStateVersion:()=>Se++,getNextStoreID:()=>Ee++,getNextComponentID:()=>we++};const{persistentMap:Te}=be,{graph:Ae}=Oe,{getNextTreeStateVersion:je}=Ce;function ke(){const e=je();return{version:e,stateID:e,transactionMetadata:{},dirtyAtoms:new Set,atomValues:Te(),nonvalidatedAtoms:Te()}}var Ie={makeEmptyTreeState:ke,makeEmptyStoreState:function(){const e=ke();return{currentTree:e,nextTree:null,previousTree:null,commitDepth:0,knownAtoms:new Set,knownSelectors:new Set,transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:(new Map).set(e.version,Ae()),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map}},getNextTreeStateVersion:je};class Ne{}var xe={RetentionZone:Ne,retentionZone:function(){return new Ne}};var Re={setByAddingToSet:function(e,t){const n=new Set(e);return n.add(t),n},setByDeletingFromSet:function(e,t){const n=new Set(e);return n.delete(t),n},mapBySettingInMap:function(e,t,n){const r=new Map(e);return r.set(t,n),r},mapByUpdatingInMap:function(e,t,n){const r=new Map(e);return r.set(t,n(r.get(t))),r},mapByDeletingFromMap:function(e,t){const n=new Map(e);return n.delete(t),n},mapByDeletingMultipleFromMap:function(e,t){const n=new Map(e);return t.forEach(e=>n.delete(e)),n}};var De=function*(e,t){let n=0;for(const r of e)t(r,n++)&&(yield r)};var Me=function(e,t){return new Proxy(e,{get:(e,n)=>(!(n in e)&&n in t&&(e[n]=t[n]()),e[n]),ownKeys:e=>Object.keys(e)})};const{getNode:Le,getNodeMaybe:Pe,recoilValuesForKeys:Fe}=ue,{RetentionZone:Be}=xe,{setByAddingToSet:Ue}=Re,Ve=Object.freeze(new Set);class qe extends Error{}function ze(e,t,n,r){const o=e.getState();if(o.nodeCleanupFunctions.has(n))return;const a=Le(n),i=function(e,t,n){if(!M("recoil_memory_managament_2020"))return()=>{};const{nodesRetainedByZone:r}=e.getState().retention;function o(e){let n=r.get(e);n||r.set(e,n=new Set),n.add(t)}if(n instanceof Be)o(n);else if(Array.isArray(n))for(const e of n)o(e);return()=>{if(!M("recoil_memory_managament_2020"))return;const{retention:r}=e.getState();function o(e){const n=r.nodesRetainedByZone.get(e);null==n||n.delete(t),n&&0===n.size&&r.nodesRetainedByZone.delete(e)}if(n instanceof Be)o(n);else if(Array.isArray(n))for(const e of n)o(e)}}(e,n,a.retainedBy),s=a.init(e,t,r);o.nodeCleanupFunctions.set(n,()=>{s(),i()})}function Qe(e,t,n){return Le(n).peek(e,t)}function $e(e,t,n){const r=new Set,o=Array.from(n),a=e.getGraph(t.version);for(let e=o.pop();e;e=o.pop()){var i;r.add(e);const t=null!==(i=a.nodeToNodeSubscriptions.get(e))&&void 0!==i?i:Ve;for(const e of t)r.has(e)||o.push(e)}return r}var We={getNodeLoadable:function(e,t,n){return ze(e,t,n,"get"),Le(n).get(e,t)},peekNodeLoadable:Qe,setNodeValue:function(e,t,n,r){const o=Le(n);if(null==o.set)throw new qe("Attempt to set read-only RecoilValue: "+n);const a=o.set;return ze(e,t,n,"set"),a(e,t,r)},initializeNode:function(e,t,n){ze(e,e.getState().currentTree,t,n)},cleanUpNode:function(e,t){var n;const r=e.getState();null===(n=r.nodeCleanupFunctions.get(t))||void 0===n||n(),r.nodeCleanupFunctions.delete(t)},setUnvalidatedAtomValue_DEPRECATED:function(e,t,n){var r;const o=Pe(t);return null==o||null===(r=o.invalidate)||void 0===r||r.call(o,e),{...e,atomValues:e.atomValues.clone().delete(t),nonvalidatedAtoms:e.nonvalidatedAtoms.clone().set(t,n),dirtyAtoms:Ue(e.dirtyAtoms,t)}},peekNodeInfo:function(e,t,n){const r=e.getState(),o=e.getGraph(t.version),a=Le(n).nodeType;return Me({type:a},{loadable:()=>Qe(e,t,n),isActive:()=>r.knownAtoms.has(n)||r.knownSelectors.has(n),isSet:()=>"selector"!==a&&t.atomValues.has(n),isModified:()=>t.dirtyAtoms.has(n),deps:()=>{var e;return Fe(null!==(e=o.nodeDeps.get(n))&&void 0!==e?e:[])},subscribers:()=>{var o,a;return{nodes:Fe(De($e(e,t,new Set([n])),e=>e!==n)),components:te(null!==(o=null===(a=r.nodeToComponentSubscriptions.get(n))||void 0===a?void 0:a.values())&&void 0!==o?o:[],([e])=>({name:e}))}}})},getDownstreamNodes:$e};let He=null;var Ke={setInvalidateMemoizedSnapshot:function(e){He=e},invalidateMemoizedSnapshot:function(){var e;null===(e=He)||void 0===e||e()}};const{getDownstreamNodes:Ge,getNodeLoadable:Ye,setNodeValue:Xe}=We,{getNextComponentID:Je}=Ce,{getNode:Ze,getNodeMaybe:et}=ue,{DefaultValue:tt}=ue,{reactMode:nt}=Q,{AbstractRecoilValue:rt,RecoilState:ot,RecoilValueReadOnly:at,isRecoilValue:it}=Z,{invalidateMemoizedSnapshot:st}=Ke;function lt(e,t,n){if("set"===n.type){const{recoilValue:r,valueOrUpdater:o}=n,a=function(e,t,{key:n},r){if("function"==typeof r){const o=Ye(e,t,n);if("loading"===o.state){const e=`Tried to set atom or selector "${n}" using an updater function while the current state is pending, this is not currently supported.`;throw B(e),s(e)}if("hasError"===o.state)throw o.contents;return r(o.contents)}return r}(e,t,r,o),i=Xe(e,t,r.key,a);for(const[e,n]of i.entries())ct(t,e,n)}else if("setLoadable"===n.type){const{recoilValue:{key:e},loadable:r}=n;ct(t,e,r)}else if("markModified"===n.type){const{recoilValue:{key:e}}=n;t.dirtyAtoms.add(e)}else if("setUnvalidated"===n.type){var r;const{recoilValue:{key:e},unvalidatedValue:o}=n,a=et(e);null==a||null===(r=a.invalidate)||void 0===r||r.call(a,t),t.atomValues.delete(e),t.nonvalidatedAtoms.set(e,o),t.dirtyAtoms.add(e)}else B("Unknown action "+n.type)}function ct(e,t,n){"hasValue"===n.state&&n.contents instanceof tt?e.atomValues.delete(t):e.atomValues.set(t,n),e.dirtyAtoms.add(t),e.nonvalidatedAtoms.delete(t)}function ut(e,t){e.replaceState(n=>{const r=pt(n);for(const n of t)lt(e,r,n);return ht(e,r),st(),r})}function dt(e,t){if(ft.length){const n=ft[ft.length-1];let r=n.get(e);r||n.set(e,r=[]),r.push(t)}else ut(e,[t])}const ft=[];function pt(e){return{...e,atomValues:e.atomValues.clone(),nonvalidatedAtoms:e.nonvalidatedAtoms.clone(),dirtyAtoms:new Set(e.dirtyAtoms)}}function ht(e,t){const n=Ge(e,t,t.dirtyAtoms);for(const e of n){var r,o;null===(r=et(e))||void 0===r||null===(o=r.invalidate)||void 0===o||o.call(r,t)}}function mt(e,t,n){dt(e,{type:"set",recoilValue:t,valueOrUpdater:n})}var vt={RecoilValueReadOnly:at,AbstractRecoilValue:rt,RecoilState:ot,getRecoilValueAsLoadable:function(e,{key:t},n=e.getState().currentTree){var r,o;const a=e.getState();n.version!==a.currentTree.version&&n.version!==(null===(r=a.nextTree)||void 0===r?void 0:r.version)&&n.version!==(null===(o=a.previousTree)||void 0===o?void 0:o.version)&&B("Tried to read from a discarded tree");const i=Ye(e,n,t);return"loading"===i.state&&i.contents.catch(()=>{}),i},setRecoilValue:mt,setRecoilValueLoadable:function(e,t,n){if(n instanceof tt)return mt(e,t,n);dt(e,{type:"setLoadable",recoilValue:t,loadable:n})},markRecoilValueModified:function(e,t){dt(e,{type:"markModified",recoilValue:t})},setUnvalidatedRecoilValue:function(e,t,n){dt(e,{type:"setUnvalidated",recoilValue:t,unvalidatedValue:n})},subscribeToRecoilValue:function(e,{key:t},n,r=null){const o=Je(),a=e.getState();a.nodeToComponentSubscriptions.has(t)||a.nodeToComponentSubscriptions.set(t,new Map),c(a.nodeToComponentSubscriptions.get(t)).set(o,[null!=r?r:"",n]);const i=nt();if(i.early&&("LEGACY"===i.mode||"MUTABLE_SOURCE"===i.mode)){const r=e.getState().nextTree;r&&r.dirtyAtoms.has(t)&&n(r)}return{release:()=>{const n=e.getState(),r=n.nodeToComponentSubscriptions.get(t);void 0!==r&&r.has(o)?(r.delete(o),0===r.size&&n.nodeToComponentSubscriptions.delete(t)):B(`Subscription missing at release time for atom ${t}. This is a bug in Recoil.`)}}},isRecoilValue:it,applyAtomValueWrites:function(e,t){const n=e.clone();return t.forEach((e,t)=>{"hasValue"===e.state&&e.contents instanceof tt?n.delete(t):n.set(t,e)}),n},batchStart:function(){const e=new Map;return ft.push(e),()=>{for(const[t,n]of e)ut(t,n);ft.pop()!==e&&B("Incorrect order of batch popping")}},writeLoadableToTreeState:ct,invalidateDownstreams:ht,copyTreeState:pt,refreshRecoilValue:function(e,t){var n;const{currentTree:r}=e.getState(),o=Ze(t.key);null===(n=o.clearCache)||void 0===n||n.call(o,e,r)}};var bt=function(e,t,n){const r=e.entries();let o=r.next();for(;!o.done;){const a=o.value;if(t.call(n,a[1],a[0],e))return!0;o=r.next()}return!1};const{cleanUpNode:yt}=We,{deleteNodeConfigIfPossible:gt,getNode:_t}=ue,{RetentionZone:Ot}=xe,St=new Set;function Et(e,t){const n=e.getState(),r=n.currentTree;if(n.nextTree)return void B("releaseNodesNowOnCurrentTree should only be called at the end of a batch");const o=new Set;for(const e of t)if(e instanceof Ot)for(const t of Ct(n,e))o.add(t);else o.add(e);const a=function(e,t){const n=e.getState(),r=n.currentTree,o=e.getGraph(r.version),a=new Set,i=new Set;return s(t),a;function s(t){const l=new Set,u=function(e,t,n,r,o){const a=e.getGraph(t.version),i=[],s=new Set;for(;n.size>0;)l(c(n.values().next().value));return i;function l(e){if(r.has(e)||o.has(e))return void n.delete(e);if(s.has(e))return;const t=a.nodeToNodeSubscriptions.get(e);if(t)for(const e of t)l(e);s.add(e),n.delete(e),i.push(e)}}(e,r,t,a,i);for(const e of u){var d;if("recoilRoot"===_t(e).retainedBy){i.add(e);continue}if((null!==(d=n.retention.referenceCounts.get(e))&&void 0!==d?d:0)>0){i.add(e);continue}if(Tt(e).some(e=>n.retention.referenceCounts.get(e))){i.add(e);continue}const t=o.nodeToNodeSubscriptions.get(e);t&&bt(t,e=>i.has(e))?i.add(e):(a.add(e),l.add(e))}const f=new Set;for(const e of l)for(const t of null!==(p=o.nodeDeps.get(e))&&void 0!==p?p:St){var p;a.has(t)||f.add(t)}f.size&&s(f)}}(e,o);for(const t of a)wt(e,r,t)}function wt(e,t,n){if(!M("recoil_memory_managament_2020"))return;yt(e,n);const r=e.getState();r.knownAtoms.delete(n),r.knownSelectors.delete(n),r.nodeTransactionSubscriptions.delete(n),r.retention.referenceCounts.delete(n);const o=Tt(n);for(const e of o){var a;null===(a=r.retention.nodesRetainedByZone.get(e))||void 0===a||a.delete(n)}t.atomValues.delete(n),t.dirtyAtoms.delete(n),t.nonvalidatedAtoms.delete(n);const i=r.graphsByVersion.get(t.version);if(i){const e=i.nodeDeps.get(n);if(void 0!==e){i.nodeDeps.delete(n);for(const t of e){var s;null===(s=i.nodeToNodeSubscriptions.get(t))||void 0===s||s.delete(n)}}i.nodeToNodeSubscriptions.delete(n)}gt(n)}function Ct(e,t){var n;return null!==(n=e.retention.nodesRetainedByZone.get(t))&&void 0!==n?n:St}function Tt(e){const t=_t(e).retainedBy;return void 0===t||"components"===t||"recoilRoot"===t?[]:t instanceof Ot?[t]:t}function At(e,t){if(!M("recoil_memory_managament_2020"))return;e.getState().retention.referenceCounts.delete(t),function(e,t){const n=e.getState();n.nextTree?n.retention.retainablesToCheckForRelease.add(t):Et(e,new Set([t]))}(e,t)}var jt={SUSPENSE_TIMEOUT_MS:12e4,updateRetainCount:function(e,t,n){var r;if(!M("recoil_memory_managament_2020"))return;const o=e.getState().retention.referenceCounts,a=(null!==(r=o.get(t))&&void 0!==r?r:0)+n;0===a?At(e,t):o.set(t,a)},updateRetainCountToZero:At,releaseScheduledRetainablesNow:function(e){if(!M("recoil_memory_managament_2020"))return;const t=e.getState();Et(e,t.retention.retainablesToCheckForRelease),t.retention.retainablesToCheckForRelease.clear()},retainedByOptionWithDefault:function(e){return void 0===e?"recoilRoot":e}};const{unstable_batchedUpdates:kt}=i.a;var It={unstable_batchedUpdates:kt};const{unstable_batchedUpdates:Nt}=It;var xt={unstable_batchedUpdates:Nt};const{batchStart:Rt}=vt,{unstable_batchedUpdates:Dt}=xt;let Mt=Dt||(e=>e());var Lt={getBatcher:()=>Mt,setBatcher:e=>{Mt=e},batchUpdates:e=>{Mt(()=>{let t=()=>{};try{t=Rt(),e()}finally{t()}})}};var Pt=function*(e){for(const t of e)for(const e of t)yield e};const Ft="undefined"==typeof Window||"undefined"==typeof window,Bt="undefined"!=typeof navigator&&"ReactNative"===navigator.product;var Ut={isSSR:Ft,isReactNative:Bt,isWindow:e=>!Ft&&(e===window||e instanceof Window)};var Vt={memoizeWithArgsHash:function(e,t){let n;return(...r)=>{n||(n={});const o=t(...r);return Object.hasOwnProperty.call(n,o)||(n[o]=e(...r)),n[o]}},memoizeOneWithArgsHash:function(e,t){let n,r;return(...o)=>{const a=t(...o);return n===a||(n=a,r=e(...o)),r}},memoizeOneWithArgsHashAndInvalidation:function(e,t){let n,r;return[(...o)=>{const a=t(...o);return n===a||(n=a,r=e(...o)),r},()=>{n=null}]}};const{batchUpdates:qt}=Lt,{initializeNode:zt,peekNodeInfo:Qt}=We,{graph:$t}=Oe,{getNextStoreID:Wt}=Ce,{DEFAULT_VALUE:Ht,recoilValues:Kt,recoilValuesForKeys:Gt}=ue,{AbstractRecoilValue:Yt,getRecoilValueAsLoadable:Xt,setRecoilValue:Jt,setUnvalidatedRecoilValue:Zt}=vt,{updateRetainCount:en}=jt,{setInvalidateMemoizedSnapshot:tn}=Ke,{getNextTreeStateVersion:nn,makeEmptyStoreState:rn}=Ie,{isSSR:on}=Ut,{memoizeOneWithArgsHashAndInvalidation:an}=Vt;class sn{constructor(e,t){u(this,"_store",void 0),u(this,"_refCount",1),u(this,"getLoadable",e=>(this.checkRefCount_INTERNAL(),Xt(this._store,e))),u(this,"getPromise",e=>(this.checkRefCount_INTERNAL(),this.getLoadable(e).toPromise())),u(this,"getNodes_UNSTABLE",e=>{if(this.checkRefCount_INTERNAL(),!0===(null==e?void 0:e.isModified)){if(!1===(null==e?void 0:e.isInitialized))return[];const t=this._store.getState().currentTree;return Gt(t.dirtyAtoms)}const t=this._store.getState().knownAtoms,n=this._store.getState().knownSelectors;return null==(null==e?void 0:e.isInitialized)?Kt.values():!0===e.isInitialized?Gt(Pt([t,n])):De(Kt.values(),({key:e})=>!t.has(e)&&!n.has(e))}),u(this,"getInfo_UNSTABLE",({key:e})=>(this.checkRefCount_INTERNAL(),Qt(this._store,this._store.getState().currentTree,e))),u(this,"map",e=>{this.checkRefCount_INTERNAL();const t=new dn(this,qt);return e(t),t}),u(this,"asyncMap",async e=>{this.checkRefCount_INTERNAL();const t=new dn(this,qt);return t.retain(),await e(t),t.autoRelease_INTERNAL(),t}),this._store={storeID:Wt(),parentStoreID:t,getState:()=>e,replaceState:t=>{e.currentTree=t(e.currentTree)},getGraph:t=>{const n=e.graphsByVersion;if(n.has(t))return c(n.get(t));const r=$t();return n.set(t,r),r},subscribeToTransactions:()=>({release:()=>{}}),addTransactionMetadata:()=>{throw s("Cannot subscribe to Snapshots")}};for(const e of this._store.getState().knownAtoms)zt(this._store,e,"get"),en(this._store,e,1);this.autoRelease_INTERNAL()}retain(){this._refCount<=0&&B("Attempt to retain() Snapshot that was already released."),this._refCount++;let e=!1;return()=>{e||(e=!0,this._release())}}autoRelease_INTERNAL(){on||window.setTimeout(()=>this._release(),10)}_release(){if(this._refCount--,0===this._refCount){if(this._store.getState().nodeCleanupFunctions.forEach(e=>e()),this._store.getState().nodeCleanupFunctions.clear(),!M("recoil_memory_managament_2020"))return}else this._refCount}isRetained(){return this._refCount>0}checkRefCount_INTERNAL(){M("recoil_memory_managament_2020")&&this._refCount}getStore_INTERNAL(){return this.checkRefCount_INTERNAL(),this._store}getID(){return this.checkRefCount_INTERNAL(),this._store.getState().currentTree.stateID}getStoreID(){return this.checkRefCount_INTERNAL(),this._store.storeID}}function ln(e,t,n=!1){const r=e.getState(),o=n?nn():t.version;return{currentTree:{version:n?o:t.version,stateID:n?o:t.stateID,transactionMetadata:{...t.transactionMetadata},dirtyAtoms:new Set(t.dirtyAtoms),atomValues:t.atomValues.clone(),nonvalidatedAtoms:t.nonvalidatedAtoms.clone()},commitDepth:0,nextTree:null,previousTree:null,knownAtoms:new Set(r.knownAtoms),knownSelectors:new Set(r.knownSelectors),transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:(new Map).set(o,e.getGraph(t.version)),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map(te(r.nodeCleanupFunctions.entries(),([e])=>[e,()=>{}]))}}const[cn,un]=an((e,t)=>{var n;const r=e.getState(),o="latest"===t?null!==(n=r.nextTree)&&void 0!==n?n:r.currentTree:c(r.previousTree);return new sn(ln(e,o),e.storeID)},(e,t)=>{var n,r;return String(t)+String(e.storeID)+String(null===(n=e.getState().nextTree)||void 0===n?void 0:n.version)+String(e.getState().currentTree.version)+String(null===(r=e.getState().previousTree)||void 0===r?void 0:r.version)});tn(un);class dn extends sn{constructor(e,t){super(ln(e.getStore_INTERNAL(),e.getStore_INTERNAL().getState().currentTree,!0),e.getStoreID()),u(this,"_batch",void 0),u(this,"set",(e,t)=>{this.checkRefCount_INTERNAL();const n=this.getStore_INTERNAL();this._batch(()=>{en(n,e.key,1),Jt(this.getStore_INTERNAL(),e,t)})}),u(this,"reset",e=>{this.checkRefCount_INTERNAL();const t=this.getStore_INTERNAL();this._batch(()=>{en(t,e.key,1),Jt(this.getStore_INTERNAL(),e,Ht)})}),u(this,"setUnvalidatedAtomValues_DEPRECATED",e=>{this.checkRefCount_INTERNAL();const t=this.getStore_INTERNAL();qt(()=>{for(const[n,r]of e.entries())en(t,n,1),Zt(t,new Yt(n),r)})}),this._batch=t}}var fn={Snapshot:sn,MutableSnapshot:dn,freshSnapshot:function(e){const t=new sn(rn());return null!=e?t.map(e):t},cloneSnapshot:function(e,t="latest"){const n=cn(e,t);return n.isRetained()?n:(un(),cn(e,t))}},pn=fn.Snapshot,hn=fn.MutableSnapshot,mn=fn.freshSnapshot,vn=fn.cloneSnapshot,bn=Object.freeze({__proto__:null,Snapshot:pn,MutableSnapshot:hn,freshSnapshot:mn,cloneSnapshot:vn});var yn=function(...e){const t=new Set;for(const n of e)for(const e of n)t.add(e);return t};const{useRef:gn}=o.a;var _n=function(e){const t=gn(e);return t.current===e&&"function"==typeof e&&(t.current=e()),t};const{getNextTreeStateVersion:On,makeEmptyStoreState:Sn}=Ie,{cleanUpNode:En,getDownstreamNodes:wn,initializeNode:Cn,setNodeValue:Tn,setUnvalidatedAtomValue_DEPRECATED:An}=We,{graph:jn}=Oe,{cloneGraph:kn}=Oe,{getNextStoreID:In}=Ce,{createMutableSource:Nn,reactMode:xn}=Q,{applyAtomValueWrites:Rn}=vt,{releaseScheduledRetainablesNow:Dn}=jt,{freshSnapshot:Mn}=bn,{useCallback:Ln,useContext:Pn,useEffect:Fn,useMemo:Bn,useRef:Un,useState:Vn}=o.a;function qn(){throw s("This component must be used inside a component.")}const zn=Object.freeze({storeID:In(),getState:qn,replaceState:qn,getGraph:qn,subscribeToTransactions:qn,addTransactionMetadata:qn});let Qn=!1;function $n(e){if(Qn)throw s("An atom update was triggered within the execution of a state updater function. State updater functions provided to Recoil must be pure functions.");const t=e.getState();if(null===t.nextTree){M("recoil_memory_managament_2020")&&M("recoil_release_on_cascading_update_killswitch_2021")&&t.commitDepth>0&&Dn(e);const n=t.currentTree.version,r=On();t.nextTree={...t.currentTree,version:r,stateID:r,dirtyAtoms:new Set,transactionMetadata:{}},t.graphsByVersion.set(r,kn(c(t.graphsByVersion.get(n))))}}const Wn=o.a.createContext({current:zn}),Hn=()=>Pn(Wn),Kn=o.a.createContext(null);function Gn(e,t,n){const r=wn(e,n,n.dirtyAtoms);for(const e of r){const r=t.nodeToComponentSubscriptions.get(e);if(r)for(const[e,[t,o]]of r)o(n)}}function Yn(e){const t=e.getState(),n=t.currentTree,r=n.dirtyAtoms;if(r.size){for(const[n,o]of t.nodeTransactionSubscriptions)if(r.has(n))for(const[t,n]of o)n(e);for(const[n,r]of t.transactionSubscriptions)r(e);(!xn().early||t.suspendedComponentResolvers.size>0)&&(Gn(e,t,n),t.suspendedComponentResolvers.forEach(e=>e()),t.suspendedComponentResolvers.clear())}t.queuedComponentCallbacks_DEPRECATED.forEach(e=>e(n)),t.queuedComponentCallbacks_DEPRECATED.splice(0,t.queuedComponentCallbacks_DEPRECATED.length)}function Xn({setNotifyBatcherOfChange:e}){const t=Hn(),[,n]=Vn([]);return e(()=>n({})),Fn(()=>(e(()=>n({})),()=>{e(()=>{})}),[e]),Fn(()=>{de.enqueueExecution("Batcher",()=>{!function(e){const t=e.getState();t.commitDepth++;try{const{nextTree:n}=t;if(null==n)return;t.previousTree=t.currentTree,t.currentTree=n,t.nextTree=null,Yn(e),null!=t.previousTree?t.graphsByVersion.delete(t.previousTree.version):B("Ended batch with no previous state, which is unexpected","recoil"),t.previousTree=null,M("recoil_memory_managament_2020")&&null==n&&Dn(e)}finally{t.commitDepth--}}(t.current)})}),null}let Jn=0;function Zn({initializeState_DEPRECATED:e,initializeState:t,store_INTERNAL:n,children:r}){let a;const i=e=>{const t=a.current.graphsByVersion;if(t.has(e))return c(t.get(e));const n=jn();return t.set(e,n),n},s=(e,t)=>{if(null==t){const{transactionSubscriptions:t}=p.current.getState(),n=Jn++;return t.set(n,e),{release:()=>{t.delete(n)}}}{const{nodeTransactionSubscriptions:n}=p.current.getState();n.has(t)||n.set(t,new Map);const r=Jn++;return c(n.get(t)).set(r,e),{release:()=>{const e=n.get(t);e&&(e.delete(r),0===e.size&&n.delete(t))}}}},l=e=>{$n(p.current);for(const t of Object.keys(e))c(p.current.getState().nextTree).transactionMetadata[t]=e[t]},u=e=>{$n(p.current);const t=c(a.current.nextTree);let n;try{Qn=!0,n=e(t)}finally{Qn=!1}n!==t&&(a.current.nextTree=n,xn().early&&Gn(p.current,a.current,n),c(d.current)())},d=Un(null),f=Ln(e=>{d.current=e},[d]),p=_n(()=>null!=n?n:{storeID:In(),getState:()=>a.current,replaceState:u,getGraph:i,subscribeToTransactions:s,addTransactionMetadata:l});null!=n&&(p.current=n),a=_n(()=>null!=e?function(e,t){const n=Sn();return t({set:(t,r)=>{const o=n.currentTree,a=Tn(e,o,t.key,r),i=new Set(a.keys()),s=o.nonvalidatedAtoms.clone();for(const e of i)s.delete(e);n.currentTree={...o,dirtyAtoms:yn(o.dirtyAtoms,i),atomValues:Rn(o.atomValues,a),nonvalidatedAtoms:s}},setUnvalidatedAtomValues:e=>{e.forEach((e,t)=>{n.currentTree=An(n.currentTree,t,e)})}}),n}(p.current,e):null!=t?function(e){const t=Mn(e),n=t.getStore_INTERNAL().getState();return t.retain(),n.nodeCleanupFunctions.forEach(e=>e()),n.nodeCleanupFunctions.clear(),n}(t):Sn());const h=Bn(()=>null==Nn?void 0:Nn(a,()=>a.current.currentTree.version),[a]);return Fn(()=>{const e=p.current;for(const t of new Set(e.getState().knownAtoms))Cn(e,t,"get");return()=>{for(const t of e.getState().knownAtoms)En(e,t)}},[p]),o.a.createElement(Wn.Provider,{value:p},o.a.createElement(Kn.Provider,{value:h},o.a.createElement(Xn,{setNotifyBatcherOfChange:f}),r))}var er={RecoilRoot:function(e){const{override:t,...n}=e,r=Hn();return!1===t&&r.current!==zn?e.children:o.a.createElement(Zn,n)},useStoreRef:Hn,useRecoilMutableSource:function(){const e=Pn(Kn);return null==e&&ee("Attempted to use a Recoil hook outside of a . must be an ancestor of any component that uses Recoil hooks."),e},useRecoilStoreID:function(){return Hn().current.storeID},notifyComponents_FOR_TESTING:Gn,sendEndOfBatchNotifications_FOR_TESTING:Yn};var tr=function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n{t.current=e}),t.current};const{useStoreRef:ar}=er,{SUSPENSE_TIMEOUT_MS:ir}=jt,{updateRetainCount:sr}=jt,{RetentionZone:lr}=xe,{useEffect:cr,useRef:ur}=o.a,{isSSR:dr}=Ut;var fr=function(e){if(M("recoil_memory_managament_2020"))return function(e){const t=(Array.isArray(e)?e:[e]).map(e=>e instanceof lr?e:e.key),n=ar();cr(()=>{if(!M("recoil_memory_managament_2020"))return;const e=n.current;if(r.current&&!dr)window.clearTimeout(r.current),r.current=null;else for(const n of t)sr(e,n,1);return()=>{for(const n of t)sr(e,n,-1)}},[n,...t]);const r=ur(),o=or(t);if(!(dr||void 0!==o&&tr(o,t))){const e=n.current;for(const n of t)sr(e,n,1);if(o)for(const t of o)sr(e,t,-1);r.current&&window.clearTimeout(r.current),r.current=window.setTimeout(()=>{r.current=null;for(const n of t)sr(e,n,-1)},ir)}}(e)};var pr=function(){return""};const{batchUpdates:hr}=Lt,{DEFAULT_VALUE:mr}=ue,{currentRendererSupportsUseSyncExternalStore:vr,reactMode:br,useMutableSource:yr,useSyncExternalStore:gr}=Q,{useRecoilMutableSource:_r,useStoreRef:Or}=er,{isRecoilValue:Sr}=Z,{AbstractRecoilValue:Er,getRecoilValueAsLoadable:wr,setRecoilValue:Cr,setUnvalidatedRecoilValue:Tr,subscribeToRecoilValue:Ar}=vt,{useCallback:jr,useEffect:kr,useMemo:Ir,useRef:Nr,useState:xr}=o.a,{setByAddingToSet:Rr}=Re,{isSSR:Dr}=Ut;function Mr(e,t,n){if("hasValue"===e.state)return e.contents;if("loading"===e.state){throw new Promise(t=>{const r=n.current.getState().suspendedComponentResolvers;r.add(t),Dr&&l(e.contents)&&e.contents.finally(()=>{r.delete(t)})})}throw"hasError"===e.state?e.contents:s(`Invalid value of loadable atom "${t.key}"`)}function Lr(e){const t=Or(),n=pr(),r=jr(()=>{var n;const r=t.current,o=r.getState(),a=br().early&&null!==(n=o.nextTree)&&void 0!==n?n:o.currentTree;return{loadable:wr(r,e,a),key:e.key}},[t,e]),o=jr(e=>{let t;return()=>{var n,r;const o=e();return null!==(n=t)&&void 0!==n&&n.loadable.is(o.loadable)&&(null===(r=t)||void 0===r?void 0:r.key)===o.key?t:(t=o,o)}},[]),a=Ir(()=>o(r),[r,o]),i=jr(r=>{const o=t.current;return Ar(o,e,r,n).release},[t,e,n]);return gr(i,a,a).loadable}function Pr(e){const t=Or(),n=jr(()=>{var n;const r=t.current,o=r.getState(),a=br().early&&null!==(n=o.nextTree)&&void 0!==n?n:o.currentTree;return wr(r,e,a)},[t,e]),r=jr(()=>n(),[n]),o=pr(),a=jr((r,a)=>{const i=t.current;return Ar(i,e,()=>{if(!M("recoil_suppress_rerender_in_callback"))return a();const e=n();c.current.is(e)||a(),c.current=e},o).release},[t,e,o,n]),i=_r();if(null==i)throw s("Recoil hooks must be used in components contained within a component.");const l=yr(i,r,a),c=Nr(l);return kr(()=>{c.current=l}),l}function Fr(e){const t=Or(),n=pr(),r=jr(()=>{var n;const r=t.current,o=r.getState(),a=br().early&&null!==(n=o.nextTree)&&void 0!==n?n:o.currentTree;return wr(r,e,a)},[t,e]),o=jr(()=>({loadable:r(),key:e.key}),[r,e.key]),a=jr(e=>{const t=o();return e.loadable.is(t.loadable)&&e.key===t.key?e:t},[o]);kr(()=>{const r=Ar(t.current,e,e=>{s(a)},n);return s(a),r.release},[n,e,t,a]);const[i,s]=xr(o);return i.key!==e.key?o().loadable:i.loadable}function Br(e){const t=Or(),[,n]=xr([]),r=pr(),o=jr(()=>{var n;const r=t.current,o=r.getState(),a=br().early&&null!==(n=o.nextTree)&&void 0!==n?n:o.currentTree;return wr(r,e,a)},[t,e]),a=o(),i=Nr(a);return kr(()=>{i.current=a}),kr(()=>{const a=t.current,s=a.getState(),l=Ar(a,e,e=>{var t;if(!M("recoil_suppress_rerender_in_callback"))return n([]);const r=o();null!==(t=i.current)&&void 0!==t&&t.is(r)||n(r),i.current=r},r);if(s.nextTree)a.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{i.current=null,n([])});else{var c;if(!M("recoil_suppress_rerender_in_callback"))return n([]);const e=o();null!==(c=i.current)&&void 0!==c&&c.is(e)||n(e),i.current=e}return l.release},[r,o,e,t]),a}function Ur(e){return M("recoil_memory_managament_2020")&&fr(e),{TRANSITION_SUPPORT:Fr,SYNC_EXTERNAL_STORE:vr()?Lr:Fr,MUTABLE_SOURCE:Pr,LEGACY:Br}[br().mode](e)}function Vr(e){const t=Or();return Mr(Ur(e),e,t)}function qr(e){const t=Or();return jr(n=>{Cr(t.current,e,n)},[t,e])}function zr(e){return M("recoil_memory_managament_2020")&&fr(e),Fr(e)}function Qr(e){const t=Or();return Mr(zr(e),e,t)}var $r={recoilComponentGetRecoilValueCount_FOR_TESTING:{current:0},useRecoilInterface:function(){const e=pr(),t=Or(),[,n]=xr([]),r=Nr(new Set);r.current=new Set;const o=Nr(new Set),a=Nr(new Map),i=jr(e=>{const t=a.current.get(e);t&&(t.release(),a.current.delete(e))},[a]),s=jr((e,t)=>{a.current.has(t)&&n([])},[]);return kr(()=>{const n=t.current;ye(r.current,o.current).forEach(t=>{if(a.current.has(t))return void ee(`Double subscription to RecoilValue "${t}"`);const r=Ar(n,new Er(t),e=>s(e,t),e);a.current.set(t,r);n.getState().nextTree?n.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{s(n.getState(),t)}):s(n.getState(),t)}),ye(o.current,r.current).forEach(e=>{i(e)}),o.current=r.current}),kr(()=>{const n=a.current;return ye(r.current,new Set(n.keys())).forEach(r=>{const o=Ar(t.current,new Er(r),e=>s(e,r),e);n.set(r,o)}),()=>n.forEach((e,t)=>i(t))},[e,t,i,s]),Ir(()=>{function e(e){return n=>{Cr(t.current,e,n)}}function n(e){var n;r.current.has(e.key)||(r.current=Rr(r.current,e.key));const o=t.current.getState();return wr(t.current,e,br().early&&null!==(n=o.nextTree)&&void 0!==n?n:o.currentTree)}function o(e){return Mr(n(e),e,t)}return{getRecoilValue:o,getRecoilValueLoadable:n,getRecoilState:function(t){return[o(t),e(t)]},getRecoilStateLoadable:function(t){return[n(t),e(t)]},getSetRecoilState:e,getResetRecoilState:function(e){return()=>Cr(t.current,e,mr)}}},[r,t])},useRecoilState:function(e){return[Vr(e),qr(e)]},useRecoilStateLoadable:function(e){return[Ur(e),qr(e)]},useRecoilValue:Vr,useRecoilValueLoadable:Ur,useResetRecoilState:function(e){const t=Or();return jr(()=>{Cr(t.current,e,mr)},[t,e])},useSetRecoilState:qr,useSetUnvalidatedAtomValues:function(){const e=Or();return(t,n={})=>{hr(()=>{e.current.addTransactionMetadata(n),t.forEach((t,n)=>Tr(e.current,new Er(n),t))})}},useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:zr,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:Qr,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:function(e){return[Qr(e),qr(e)]}};var Wr=function(e,t){const n=new Map;for(const[r,o]of e)t(o,r)&&n.set(r,o);return n};var Hr=function(e,t){const n=new Set;for(const r of e)t(r)&&n.add(r);return n};var Kr=function(...e){const t=new Map;for(let n=0;nt.current.subscribeToTransactions(e).release,[e,t])}function uo(e){const t=e.atomValues.toMap(),n=ge(Wr(t,(e,t)=>{const n=Xr(t).persistence_UNSTABLE;return null!=n&&"none"!==n.type&&"hasValue"===e.state}),e=>e.contents);return Kr(e.nonvalidatedAtoms.toMap(),n)}function fo(e,t){var n;const r=e.getState(),o=null!==(n=r.nextTree)&&void 0!==n?n:r.currentTree,a=t.getStore_INTERNAL().getState().currentTree;Gr(()=>{const n=new Set;for(const e of[o.atomValues.keys(),a.atomValues.keys()])for(const t of e){var r,i;(null===(r=o.atomValues.get(t))||void 0===r?void 0:r.contents)!==(null===(i=a.atomValues.get(t))||void 0===i?void 0:i.contents)&&Xr(t).shouldRestoreFromSnapshots&&n.add(t)}n.forEach(t=>{to(e,new eo(t),a.atomValues.has(t)?c(a.atomValues.get(t)):Yr)}),e.replaceState(e=>({...e,stateID:t.getID()}))})}var po={useRecoilSnapshot:function(){const e=Zr(),[t,n]=so(()=>ro(e.current)),r=or(t),o=io(),a=io();if(co(oo(e=>n(ro(e)),[])),ao(()=>{const e=t.retain();var n;o.current&&!lo&&(window.clearTimeout(o.current),o.current=null,null===(n=a.current)||void 0===n||n.call(a),a.current=null);return()=>{window.setTimeout(e,10)}},[t]),r!==t&&!lo){var i;if(o.current)window.clearTimeout(o.current),o.current=null,null===(i=a.current)||void 0===i||i.call(a),a.current=null;a.current=t.retain(),o.current=window.setTimeout(()=>{var e;o.current=null,null===(e=a.current)||void 0===e||e.call(a),a.current=null},no)}return t},gotoSnapshot:fo,useGotoRecoilSnapshot:function(){const e=Zr();return oo(t=>fo(e.current,t),[e])},useRecoilTransactionObserver:function(e){co(oo(t=>{const n=ro(t,"latest"),r=ro(t,"previous");e({snapshot:n,previousSnapshot:r})},[e]))},useTransactionObservation_DEPRECATED:function(e){co(oo(t=>{let n=t.getState().previousTree;const r=t.getState().currentTree;n||(B("Transaction subscribers notified without a previous tree being present -- this is a bug in Recoil"),n=t.getState().currentTree);const o=uo(r),a=uo(n),i=ge(Jr,e=>{var t,n,r,o;return{persistence_UNSTABLE:{type:null!==(t=null===(n=e.persistence_UNSTABLE)||void 0===n?void 0:n.type)&&void 0!==t?t:"none",backButton:null!==(r=null===(o=e.persistence_UNSTABLE)||void 0===o?void 0:o.backButton)&&void 0!==r&&r}}}),s=Hr(r.dirtyAtoms,e=>o.has(e)||a.has(e));e({atomValues:o,previousAtomValues:a,atomInfo:i,modifiedAtoms:s,transactionMetadata:{...r.transactionMetadata}})},[e]))},useTransactionSubscription_DEPRECATED:co};const{peekNodeInfo:ho}=We,{useStoreRef:mo}=er;var vo=function(){const e=mo();return({key:t})=>ho(e.current,e.current.getState().currentTree,t)};const{reactMode:bo}=Q,{RecoilRoot:yo,useStoreRef:go}=er,{useMemo:_o}=o.a;var Oo=function(){"MUTABLE_SOURCE"===bo().mode&&console.warn("Warning: There are known issues using useRecoilBridgeAcrossReactRoots() in recoil_mutable_source rendering mode. Please consider upgrading to recoil_sync_external_store mode.");const e=go().current;return _o(()=>function({children:t}){return o.a.createElement(yo,{store_INTERNAL:e},t)},[e])};const{loadableWithValue:So}=I,{initializeNode:Eo}=We,{DEFAULT_VALUE:wo,getNode:Co}=ue,{copyTreeState:To,getRecoilValueAsLoadable:Ao,invalidateDownstreams:jo,writeLoadableToTreeState:ko}=vt;function Io(e){return"atom"===Co(e.key).nodeType}class No{constructor(e,t){u(this,"_store",void 0),u(this,"_treeState",void 0),u(this,"_changes",void 0),u(this,"get",e=>{if(this._changes.has(e.key))return this._changes.get(e.key);if(!Io(e))throw s("Reading selectors within atomicUpdate is not supported");const t=Ao(this._store,e,this._treeState);if("hasValue"===t.state)return t.contents;throw"hasError"===t.state?t.contents:s(`Expected Recoil atom ${e.key} to have a value, but it is in a loading state.`)}),u(this,"set",(e,t)=>{if(!Io(e))throw s("Setting selectors within atomicUpdate is not supported");if("function"==typeof t){const n=this.get(e);this._changes.set(e.key,t(n))}else Eo(this._store,e.key,"set"),this._changes.set(e.key,t)}),u(this,"reset",e=>{this.set(e,wo)}),this._store=e,this._treeState=t,this._changes=new Map}newTreeState_INTERNAL(){if(0===this._changes.size)return this._treeState;const e=To(this._treeState);for(const[t,n]of this._changes)ko(e,t,So(n));return jo(this._store,e),e}}var xo=function(e){return t=>{e.replaceState(n=>{const r=new No(e,n);return t(r),r.newTreeState_INTERNAL()})}},Ro=Object.freeze({__proto__:null,atomicUpdater:xo});var Do=function(e,t){if(!e)throw new Error(t)};const{atomicUpdater:Mo}=Ro,{batchUpdates:Lo}=Lt,{DEFAULT_VALUE:Po}=ue,{useStoreRef:Fo}=er,{refreshRecoilValue:Bo,setRecoilValue:Uo}=vt,{cloneSnapshot:Vo}=bn,{gotoSnapshot:qo}=po,{useCallback:zo}=o.a;class Qo{}const $o=new Qo;function Wo(e,t,n,r){let o,a=$o;var i;(Lo(()=>{const i="useRecoilCallback() expects a function that returns a function: it accepts a function of the type (RecoilInterface) => (Args) => ReturnType and returns a callback function (Args) => ReturnType, where RecoilInterface is an object {snapshot, set, ...} and Args and ReturnType are the argument and return types of the callback you want to create. Please see the docs at recoiljs.org for details.";if("function"!=typeof t)throw s(i);const l=Me({...null!=r?r:{},set:(t,n)=>Uo(e,t,n),reset:t=>Uo(e,t,Po),refresh:t=>Bo(e,t),gotoSnapshot:t=>qo(e,t),transact_UNSTABLE:t=>Mo(e)(t)},{snapshot:()=>{const t=Vo(e);return o=t.retain(),t}}),c=t(l);if("function"!=typeof c)throw s(i);a=c(...n)}),a instanceof Qo&&Do(!1),l(a))?a=a.finally(()=>{var e;null===(e=o)||void 0===e||e()}):null===(i=o)||void 0===i||i();return a}var Ho={recoilCallback:Wo,useRecoilCallback:function(e,t){const n=Fo();return zo((...t)=>Wo(n.current,e,t),null!=t?[...t,n]:void 0)}};const{useStoreRef:Ko}=er,{refreshRecoilValue:Go}=vt,{useCallback:Yo}=o.a;var Xo=function(e){const t=Ko();return Yo(()=>{const n=t.current;Go(n,e)},[e,t])};const{atomicUpdater:Jo}=Ro,{useStoreRef:Zo}=er,{useMemo:ea}=o.a;var ta=function(e,t){const n=Zo();return ea(()=>(...t)=>{Jo(n.current)(n=>{e(n)(...t)})},null!=t?[...t,n]:void 0)};var na=class{constructor(e){u(this,"value",void 0),this.value=e}},ra=Object.freeze({__proto__:null,WrappedValue:na});const{isFastRefreshEnabled:oa}=Q;class aa extends Error{}var ia=class{constructor(e){var t,n,r;u(this,"_name",void 0),u(this,"_numLeafs",void 0),u(this,"_root",void 0),u(this,"_onHit",void 0),u(this,"_onSet",void 0),u(this,"_mapNodeValue",void 0),this._name=null==e?void 0:e.name,this._numLeafs=0,this._root=null,this._onHit=null!==(t=null==e?void 0:e.onHit)&&void 0!==t?t:()=>{},this._onSet=null!==(n=null==e?void 0:e.onSet)&&void 0!==n?n:()=>{},this._mapNodeValue=null!==(r=null==e?void 0:e.mapNodeValue)&&void 0!==r?r:e=>e}size(){return this._numLeafs}root(){return this._root}get(e,t){var n;return null===(n=this.getLeafNode(e,t))||void 0===n?void 0:n.value}getLeafNode(e,t){if(null==this._root)return;let n=this._root;for(;n;){if(null==t||t.onNodeVisit(n),"leaf"===n.type)return this._onHit(n),n;const r=this._mapNodeValue(e(n.nodeKey));n=n.branches.get(r)}}set(e,t,n){const r=()=>{var r,o,a,i;let s,l;for(const[t,r]of e){var c,u,d;const e=this._root;if("leaf"===(null==e?void 0:e.type))throw this.invalidCacheError();const o=s;if(s=o?o.branches.get(l):e,s=null!==(c=s)&&void 0!==c?c:{type:"branch",nodeKey:t,parent:o,branches:new Map,branchKey:l},"branch"!==s.type||s.nodeKey!==t)throw this.invalidCacheError();null==o||o.branches.set(l,s),null==n||null===(u=n.onNodeVisit)||void 0===u||u.call(n,s),l=this._mapNodeValue(r),this._root=null!==(d=this._root)&&void 0!==d?d:s}const f=s?null===(r=s)||void 0===r?void 0:r.branches.get(l):this._root;if(null!=f&&("leaf"!==f.type||f.branchKey!==l))throw this.invalidCacheError();const p={type:"leaf",value:t,parent:s,branchKey:l};null===(o=s)||void 0===o||o.branches.set(l,p),this._root=null!==(a=this._root)&&void 0!==a?a:p,this._numLeafs++,this._onSet(p),null==n||null===(i=n.onNodeVisit)||void 0===i||i.call(n,p)};try{r()}catch(e){if(!(e instanceof aa))throw e;this.clear(),r()}}delete(e){const t=this.root();if(!t)return!1;if(e===t)return this._root=null,this._numLeafs=0,!0;let n=e.parent,r=e.branchKey;for(;n;){var o;if(n.branches.delete(r),n===t)return 0===n.branches.size?(this._root=null,this._numLeafs=0):this._numLeafs--,!0;if(n.branches.size>0)break;r=null===(o=n)||void 0===o?void 0:o.branchKey,n=n.parent}for(;n!==t;n=n.parent)if(null==n)return!1;return this._numLeafs--,!0}clear(){this._numLeafs=0,this._root=null}invalidCacheError(){const e=oa()?"Possible Fast Refresh module reload detected. This may also be caused by an selector returning inconsistent values. Resetting cache.":"Invalid cache values. This happens when selectors do not return consistent values for the same input dependency values. That may also be caused when using Fast Refresh to change a selector implementation. Resetting cache.";throw B(e+(null!=this._name?" - "+this._name:"")),new aa}},sa=Object.freeze({__proto__:null,TreeCache:ia});var la=class{constructor(e){var t;u(this,"_maxSize",void 0),u(this,"_size",void 0),u(this,"_head",void 0),u(this,"_tail",void 0),u(this,"_map",void 0),u(this,"_keyMapper",void 0),this._maxSize=e.maxSize,this._size=0,this._head=null,this._tail=null,this._map=new Map,this._keyMapper=null!==(t=e.mapKey)&&void 0!==t?t:e=>e}head(){return this._head}tail(){return this._tail}size(){return this._size}maxSize(){return this._maxSize}has(e){return this._map.has(this._keyMapper(e))}get(e){const t=this._keyMapper(e),n=this._map.get(t);if(n)return this.set(e,n.value),n.value}set(e,t){const n=this._keyMapper(e);this._map.get(n)&&this.delete(e);const r=this.head(),o={key:e,right:r,left:null,value:t};r?r.left=o:this._tail=o,this._map.set(n,o),this._head=o,this._size++,this._maybeDeleteLRU()}_maybeDeleteLRU(){this.size()>this.maxSize()&&this.deleteLru()}deleteLru(){const e=this.tail();e&&this.delete(e.key)}delete(e){const t=this._keyMapper(e);if(!this._size||!this._map.has(t))return;const n=c(this._map.get(t)),r=n.right,o=n.left;r&&(r.left=n.left),o&&(o.right=n.right),n===this.head()&&(this._head=r),n===this.tail()&&(this._tail=o),this._map.delete(t),this._size--}clear(){this._size=0,this._head=null,this._tail=null,this._map=new Map}},ca=Object.freeze({__proto__:null,LRUCache:la});const{LRUCache:ua}=ca,{TreeCache:da}=sa;var fa=function({name:e,maxSize:t,mapNodeValue:n=(e=>e)}){const r=new ua({maxSize:t}),o=new da({name:e,mapNodeValue:n,onHit:e=>{r.set(e,!0)},onSet:e=>{const n=r.tail();r.set(e,!0),n&&o.size()>t&&o.delete(n.key)}});return o};var pa=function(e,t={allowFunctions:!1}){return function e(t,n,r){if("string"==typeof t&&!t.includes('"')&&!t.includes("\\"))return`"${t}"`;switch(typeof t){case"undefined":return"";case"boolean":return t?"true":"false";case"number":case"symbol":return String(t);case"string":return JSON.stringify(t);case"function":if(!0!==(null==n?void 0:n.allowFunctions))throw s("Attempt to serialize function in a Recoil cache key");return`__FUNCTION(${t.name})__`}if(null===t)return"null";var o;if("object"!=typeof t)return null!==(o=JSON.stringify(t))&&void 0!==o?o:"";if(l(t))return"__PROMISE__";if(Array.isArray(t))return`[${t.map((t,r)=>e(t,n,r.toString()))}]`;if("function"==typeof t.toJSON)return e(t.toJSON(r),n,r);if(t instanceof Map){const o={};for(const[r,a]of t)o["string"==typeof r?r:e(r,n)]=a;return e(o,n,r)}return t instanceof Set?e(Array.from(t).sort((t,r)=>e(t,n).localeCompare(e(r,n))),n,r):void 0!==Symbol&&null!=t[Symbol.iterator]&&"function"==typeof t[Symbol.iterator]?e(Array.from(t),n,r):`{${Object.keys(t).filter(e=>void 0!==t[e]).sort().map(r=>`${e(r,n)}:${e(t[r],n,r)}`).join(",")}}`}(e,t)};const{TreeCache:ha}=sa,ma={equality:"reference",eviction:"keep-all",maxSize:1/0};var va=function({equality:e=ma.equality,eviction:t=ma.eviction,maxSize:n=ma.maxSize}=ma,r){return function(e,t,n,r){switch(e){case"keep-all":return new ha({name:r,mapNodeValue:n});case"lru":return fa({name:r,maxSize:c(t),mapNodeValue:n});case"most-recent":return fa({name:r,maxSize:1,mapNodeValue:n})}throw s("Unrecognized eviction policy "+e)}(t,n,function(e){switch(e){case"reference":return e=>e;case"value":return e=>pa(e)}throw s("Unrecognized equality policy "+e)}(e),r)};const{isReactNative:ba,isWindow:ya}=Ut;var ga={startPerfBlock:function(e){return()=>null}};const{isLoadable:_a,loadableWithError:Oa,loadableWithPromise:Sa,loadableWithValue:Ea}=I,{WrappedValue:wa}=ra,{getNodeLoadable:Ca,peekNodeLoadable:Ta,setNodeValue:Aa}=We,{saveDepsToStore:ja}=Oe,{DEFAULT_VALUE:ka,getConfigDeletionHandler:Ia,getNode:Na,registerNode:xa}=ue,{isRecoilValue:Ra}=Z,{markRecoilValueModified:Da}=vt,{retainedByOptionWithDefault:Ma}=jt,{recoilCallback:La}=Ho,{startPerfBlock:Pa}=ga;class Fa{}const Ba=new Fa,Ua=[],Va=new Map,qa=(()=>{let e=0;return()=>e++})();function za(e){let t=null;const{key:n,get:r,cachePolicy_UNSTABLE:o}=e,a=null!=e.set?e.set:void 0;const i=new Set,u=va(null!=o?o:{equality:"reference",eviction:"keep-all"},n),d=Ma(e.retainedBy_UNSTABLE),f=new Map;let p=0;function h(){return!M("recoil_memory_managament_2020")||p>0}function m(e){return e.getState().knownSelectors.add(n),p++,()=>{p--}}function v(){return void 0!==Ia(n)&&!h()}function b(e,t,n,r,o){I(t,r,o),y(e,n)}function y(e,t){k(e,t)&&j(e),g(t,!0)}function g(e,n){const r=Va.get(e);if(null!=r){for(const e of r)Da(e,c(t));n&&Va.delete(e)}}function _(e,t){let n=Va.get(t);null==n&&Va.set(t,n=new Set),n.add(e)}function O(e,t,n,r,o,a){return t.then(r=>{if(!h())throw j(e),Ba;null!=a.loadingDepKey&&a.loadingDepPromise===t?n.atomValues.set(a.loadingDepKey,Ea(r)):e.getState().knownSelectors.forEach(e=>{n.atomValues.delete(e)});const i=w(e,n);if(i&&"loading"!==i.state){if((k(e,o)||null==A(e))&&y(e,o),"hasValue"===i.state)return i.contents;throw i.contents}if(!k(e,o)){const t=T(e,n);if(null!=t)return t.loadingLoadable.contents}const[s,l]=E(e,n,o);if("loading"!==s.state&&b(e,n,o,s,l),"hasError"===s.state)throw s.contents;return s.contents}).catch(t=>{if(t instanceof Fa)throw Ba;if(!h())throw j(e),Ba;const a=Oa(t);throw b(e,n,o,a,r),t})}function S(e,t,r,o){var a,s,l,c,u,d,f;(k(e,o)||t.version===(null===(a=e.getState())||void 0===a||null===(s=a.currentTree)||void 0===s?void 0:s.version)||t.version===(null===(l=e.getState())||void 0===l||null===(c=l.nextTree)||void 0===c?void 0:c.version))&&ja(n,r,e,null!==(u=null===(d=e.getState())||void 0===d||null===(f=d.nextTree)||void 0===f?void 0:f.version)&&void 0!==u?u:e.getState().currentTree.version);for(const e of r)i.add(e)}function E(e,o,a){const i=Pa(n);let u=!0,d=!0;const f=()=>{i(),d=!1};let p,m,v=!1;const y={loadingDepKey:null,loadingDepPromise:null},_=new Map;function E({key:t}){const n=Ca(e,o,t);switch(_.set(t,n),u||(S(e,o,new Set(_.keys()),a),function(e,t){if(k(e,t)){c(A(e)).stateVersions.clear(),g(t,!1)}}(e,a)),n.state){case"hasValue":return n.contents;case"hasError":throw n.contents;case"loading":throw y.loadingDepKey=t,y.loadingDepPromise=n.contents,n.contents}throw s("Invalid Loadable state")}const w=n=>(...r)=>{if(d)throw s("Callbacks from getCallback() should only be called asynchronously after the selector is evalutated. It can be used for selectors to return objects with callbacks that can work with Recoil state without a subscription.");return null==t&&Do(!1),La(e,n,r,{node:t})};try{p=r({get:E,getCallback:w}),p=Ra(p)?E(p):p,_a(p)&&("hasError"===p.state&&(v=!0),p=p.contents),l(p)?p=function(e,t,n,r,o,a){return t.then(t=>{if(!h())throw j(e),Ba;const a=Ea(t);return b(e,n,o,a,r),t}).catch(t=>{if(!h())throw j(e),Ba;if(l(t))return O(e,t,n,r,o,a);const i=Oa(t);throw b(e,n,o,i,r),t})}(e,p,o,_,a,y).finally(f):f(),p=p instanceof wa?p.value:p}catch(t){p=t,l(p)?p=O(e,p,o,_,a,y).finally(f):(v=!0,f())}return m=v?Oa(p):l(p)?Sa(p):Ea(p),u=!1,function(e,t,n){if(k(e,t)){const t=A(e);null!=t&&(t.depValuesDiscoveredSoFarDuringAsyncWork=n)}}(e,a,_),S(e,o,new Set(_.keys()),a),[m,_]}function w(e,t){let r=t.atomValues.get(n);if(null!=r)return r;const o=new Set;try{r=u.get(n=>("string"!=typeof n&&Do(!1),Ca(e,t,n).contents),{onNodeVisit:e=>{"branch"===e.type&&e.nodeKey!==n&&o.add(e.nodeKey)}})}catch(e){throw s(`Problem with cache lookup for selector "${n}": ${e.message}`)}var a;r&&(t.atomValues.set(n,r),S(e,t,o,null===(a=A(e))||void 0===a?void 0:a.executionID));return r}function C(e,t){const n=w(e,t);if(null!=n)return j(e),n;const r=T(e,t);var o;if(null!=r)return"loading"===(null===(o=r.loadingLoadable)||void 0===o?void 0:o.state)&&_(e,r.executionID),r.loadingLoadable;const a=qa(),[i,s]=E(e,t,a);return"loading"===i.state?(!function(e,t,n,r,o){f.set(e,{depValuesDiscoveredSoFarDuringAsyncWork:r,executionID:t,loadingLoadable:n,stateVersions:new Map([[o.version,!0]])})}(e,a,i,s,t),_(e,a)):(j(e),I(t,i,s)),i}function T(e,t){const n=Pt([f.has(e)?[c(f.get(e))]:[],te(De(f,([t])=>t!==e),([,e])=>e)]);function r(n){for(const[r,o]of n)if(!Ca(e,t,r).is(o))return!0;return!1}for(const e of n){if(e.stateVersions.get(t.version)||!r(e.depValuesDiscoveredSoFarDuringAsyncWork))return e.stateVersions.set(t.version,!0),e;e.stateVersions.set(t.version,!1)}}function A(e){return f.get(e)}function j(e){f.delete(e)}function k(e,t){var n;return t===(null===(n=A(e))||void 0===n?void 0:n.executionID)}function I(e,t,r){e.atomValues.set(n,t);try{u.set(function(e){return Array.from(e.entries()).map(([e,t])=>[e,t.contents])}(r),t)}catch(e){throw s(`Problem with setting cache for selector "${n}": ${e.message}`)}}function N(e,t){const r=t.atomValues.get(n);return null!=r?r:u.get(n=>{var r;return"string"!=typeof n&&Do(!1),null===(r=Ta(e,t,n))||void 0===r?void 0:r.contents})}function x(e,t){return function(e){if(Ua.includes(n)){const e="Recoil selector has circular dependencies: "+Ua.slice(Ua.indexOf(n)).join(" → ");return Oa(s(e))}Ua.push(n);try{return e()}finally{Ua.pop()}}(()=>C(e,t))}function R(e){e.atomValues.delete(n)}function D(e,n){null==t&&Do(!1);for(const t of i){var r;const o=Na(t);null===(r=o.clearCache)||void 0===r||r.call(o,e,n)}i.clear(),R(n),u.clear(),Da(e,t)}if(null!=a){return t=xa({key:n,nodeType:"selector",peek:N,get:x,set:(e,t,r)=>{let o=!1;const i=new Map;function c({key:r}){if(o)throw s("Recoil: Async selector sets are not currently supported.");const a=Ca(e,t,r);if("hasValue"===a.state)return a.contents;if("loading"===a.state){const e=`Getting value of asynchronous atom or selector "${r}" in a pending state while setting selector "${n}" is not yet supported.`;throw B(e),s(e)}throw a.contents}function u(n,r){if(o){const e="Recoil: Async selector sets are not currently supported.";throw B(e),s(e)}const a="function"==typeof r?r(c(n)):r;Aa(e,t,n.key,a).forEach((e,t)=>i.set(t,e))}const d=a({set:u,get:c,reset:function(e){u(e,ka)}},r);if(void 0!==d)throw l(d)?s("Recoil: Async selector sets are not currently supported."):s("Recoil: selector set should be a void function.");return o=!0,i},init:m,invalidate:R,clearCache:D,shouldDeleteConfigOnRelease:v,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:d})}return t=xa({key:n,nodeType:"selector",peek:N,get:x,init:m,invalidate:R,clearCache:D,shouldDeleteConfigOnRelease:v,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:d})}za.value=e=>new wa(e);var Qa=za;const{isLoadable:$a,loadableWithError:Wa,loadableWithPromise:Ha,loadableWithValue:Ka}=I,{WrappedValue:Ga}=ra,{peekNodeInfo:Ya}=We,{DEFAULT_VALUE:Xa,DefaultValue:Ja,getConfigDeletionHandler:Za,registerNode:ei,setConfigDeletionHandler:ti}=ue,{isRecoilValue:ni}=Z,{getRecoilValueAsLoadable:ri,markRecoilValueModified:oi,setRecoilValue:ai,setRecoilValueLoadable:ii}=vt,{retainedByOptionWithDefault:si}=jt,li=e=>e instanceof Ga?e.value:e;function ci(e){const{key:t,persistence_UNSTABLE:n}=e,r=si(e.retainedBy_UNSTABLE);let o=0;function a(e){return Ha(e.then(e=>(i=Ka(e),e)).catch(e=>{throw i=Wa(e),e}))}let i=l(e.default)?a(e.default):$a(e.default)?"loading"===e.default.state?a(e.default.contents):e.default:Ka(li(e.default));f(i.contents);let u=void 0;const d=new Map;function f(e){return e}function p(e,n){var r,o;return null!==(r=null!==(o=n.atomValues.get(t))&&void 0!==o?o:u)&&void 0!==r?r:i}const h=ei({key:t,nodeType:"atom",peek:p,get:function(e,r){if(r.atomValues.has(t))return c(r.atomValues.get(t));if(r.nonvalidatedAtoms.has(t)){if(null!=u)return u;if(null==n)return ee(`Tried to restore a persisted value for atom ${t} but it has no persistence settings.`),i;const e=r.nonvalidatedAtoms.get(t),o=n.validator(e,Xa),a=o instanceof Ja?i:Ka(o);return u=a,u}return i},set:function(e,n,r){if(n.atomValues.has(t)){const e=c(n.atomValues.get(t));if("hasValue"===e.state&&r===e.contents)return new Map}else if(!n.nonvalidatedAtoms.has(t)&&r instanceof Ja)return new Map;return u=void 0,(new Map).set(t,Ka(r))},init:function(n,r,a){var c;if(o++,n.getState().knownAtoms.add(t),"loading"===i.state){const e=()=>{var e;(null!==(e=n.getState().nextTree)&&void 0!==e?e:n.getState().currentTree).atomValues.has(t)||oi(n,h)};i.contents.finally(e)}const u=null!==(c=e.effects)&&void 0!==c?c:e.effects_UNSTABLE;if(null!=u){let e=Xa,o=!0,c=!1,g=null;function f(a){if(o&&a.key===t){const t=e;return t instanceof Ja?p(n,r):l(t)?Ha(t.then(e=>e instanceof Ja?i.toPromise():e)):Ka(t)}return ri(n,a)}function m(e){return f(e).toPromise()}function v(r){var a;const i=Ya(n,null!==(a=n.getState().nextTree)&&void 0!==a?a:n.getState().currentTree,r.key);return!o||r.key!==t||e instanceof Ja?i:{...i,isSet:!0,loadable:f(r)}}const _=t=>r=>{if(o){const n=f(h),o="hasValue"===n.state?n.contents:Xa;e="function"==typeof r?r(o):r,l(e)&&(e=e.then(e=>(g={effect:t,value:e},e)))}else{if(l(r))throw s("Setting atoms to async values is not implemented.");"function"!=typeof r&&(g={effect:t,value:li(r)}),ai(n,h,"function"==typeof r?e=>{const n=li(r(e));return g={effect:t,value:n},n}:li(r))}},O=e=>()=>_(e)(Xa),S=e=>r=>{var o;const{release:a}=n.subscribeToTransactions(n=>{var o;let{currentTree:a,previousTree:s}=n.getState();s||(B("Transaction subscribers notified without a next tree being present -- this is a bug in Recoil"),s=a);const l=null!==(o=a.atomValues.get(t))&&void 0!==o?o:i;if("hasValue"===l.state){var c,u,d,f;const n=l.contents,o=null!==(c=s.atomValues.get(t))&&void 0!==c?c:i,p="hasValue"===o.state?o.contents:Xa;(null===(u=g)||void 0===u?void 0:u.effect)!==e||(null===(d=g)||void 0===d?void 0:d.value)!==n?r(n,p,!a.atomValues.has(t)):(null===(f=g)||void 0===f?void 0:f.effect)===e&&(g=null)}},t);d.set(n,[...null!==(o=d.get(n))&&void 0!==o?o:[],a])};for(const t of u)try{const e=t({node:h,storeID:n.storeID,parentStoreID_UNSTABLE:n.parentStoreID,trigger:a,setSelf:_(t),resetSelf:O(t),onSet:S(t),getPromise:m,getLoadable:f,getInfo_UNSTABLE:v});var b;if(null!=e)d.set(n,[...null!==(b=d.get(n))&&void 0!==b?b:[],e])}catch(t){e=t,c=!0}if(o=!1,!(e instanceof Ja)){var y;const o=c?Wa(e):l(e)?Ha(function(e,n){const r=n.then(n=>{var o,a;return(null===(a=(null!==(o=e.getState().nextTree)&&void 0!==o?o:e.getState().currentTree).atomValues.get(t))||void 0===a?void 0:a.contents)===r&&ai(e,h,n),n}).catch(n=>{var o,a;throw(null===(a=(null!==(o=e.getState().nextTree)&&void 0!==o?o:e.getState().currentTree).atomValues.get(t))||void 0===a?void 0:a.contents)===r&&ii(e,h,Wa(n)),n});return r}(n,e)):Ka(li(e));o.contents,r.atomValues.set(t,o),null===(y=n.getState().nextTree)||void 0===y||y.atomValues.set(t,o)}}return()=>{var e;o--,null===(e=d.get(n))||void 0===e||e.forEach(e=>e()),d.delete(n)}},invalidate:function(){u=void 0},shouldDeleteConfigOnRelease:function(){return void 0!==Za(t)&&o<=0},dangerouslyAllowMutability:e.dangerouslyAllowMutability,persistence_UNSTABLE:e.persistence_UNSTABLE?{type:e.persistence_UNSTABLE.type,backButton:e.persistence_UNSTABLE.backButton}:void 0,shouldRestoreFromSnapshots:!0,retainedBy:r});return h}function ui(e){const{...t}=e,n="default"in e?e.default:new Promise(()=>{});return ni(n)?function(e){const t=ui({...e,default:Xa,persistence_UNSTABLE:void 0===e.persistence_UNSTABLE?void 0:{...e.persistence_UNSTABLE,validator:t=>t instanceof Ja?t:c(e.persistence_UNSTABLE).validator(t,Xa)},effects:e.effects,effects_UNSTABLE:e.effects_UNSTABLE}),n=Qa({key:e.key+"__withFallback",get:({get:n})=>{const r=n(t);return r instanceof Ja?e.default:r},set:({set:e},n)=>e(t,n),cachePolicy_UNSTABLE:{eviction:"most-recent"},dangerouslyAllowMutability:e.dangerouslyAllowMutability});return ti(n.key,Za(e.key)),n}({...t,default:n}):ci({...t,default:n})}ui.value=e=>new Ga(e);var di=ui;var fi=class{constructor(e){var t;u(this,"_map",void 0),u(this,"_keyMapper",void 0),this._map=new Map,this._keyMapper=null!==(t=null==e?void 0:e.mapKey)&&void 0!==t?t:e=>e}size(){return this._map.size}has(e){return this._map.has(this._keyMapper(e))}get(e){return this._map.get(this._keyMapper(e))}set(e,t){this._map.set(this._keyMapper(e),t)}delete(e){this._map.delete(this._keyMapper(e))}clear(){this._map.clear()}},pi=Object.freeze({__proto__:null,MapCache:fi});const{LRUCache:hi}=ca,{MapCache:mi}=pi,vi={equality:"reference",eviction:"none",maxSize:1/0};var bi=function({equality:e=vi.equality,eviction:t=vi.eviction,maxSize:n=vi.maxSize}=vi){return function(e,t,n){switch(e){case"keep-all":return new mi({mapKey:n});case"lru":return new hi({mapKey:n,maxSize:c(t)});case"most-recent":return new hi({mapKey:n,maxSize:1})}throw s("Unrecognized eviction policy "+e)}(t,n,function(e){switch(e){case"reference":return e=>e;case"value":return e=>pa(e)}throw s("Unrecognized equality policy "+e)}(e))};const{setConfigDeletionHandler:yi}=ue;var gi=function(e){var t,n;const r=bi({equality:null!==(t=null===(n=e.cachePolicyForParams_UNSTABLE)||void 0===n?void 0:n.equality)&&void 0!==t?t:"value",eviction:"keep-all"});return t=>{var n,o;const a=r.get(t);if(null!=a)return a;const{cachePolicyForParams_UNSTABLE:i,...s}=e,l="default"in e?e.default:new Promise(()=>{}),c=di({...s,key:`${e.key}__${null!==(n=pa(t))&&void 0!==n?n:"void"}`,default:"function"==typeof l?l(t):l,retainedBy_UNSTABLE:"function"==typeof e.retainedBy_UNSTABLE?e.retainedBy_UNSTABLE(t):e.retainedBy_UNSTABLE,effects:"function"==typeof e.effects?e.effects(t):"function"==typeof e.effects_UNSTABLE?e.effects_UNSTABLE(t):null!==(o=e.effects)&&void 0!==o?o:e.effects_UNSTABLE});return r.set(t,c),yi(c.key,()=>{r.delete(t)}),c}};const{setConfigDeletionHandler:_i}=ue;let Oi=0;var Si=function(e){var t,n;const r=bi({equality:null!==(t=null===(n=e.cachePolicyForParams_UNSTABLE)||void 0===n?void 0:n.equality)&&void 0!==t?t:"value",eviction:"keep-all"});return t=>{var n;let o;try{o=r.get(t)}catch(t){throw s(`Problem with cache lookup for selector ${e.key}: ${t.message}`)}if(null!=o)return o;const a=`${e.key}__selectorFamily/${null!==(n=pa(t,{allowFunctions:!0}))&&void 0!==n?n:"void"}/${Oi++}`,i=n=>e.get(t)(n),l=e.cachePolicy_UNSTABLE,c="function"==typeof e.retainedBy_UNSTABLE?e.retainedBy_UNSTABLE(t):e.retainedBy_UNSTABLE;let u;if(null!=e.set){const n=e.set;u=Qa({key:a,get:i,set:(e,r)=>n(t)(e,r),cachePolicy_UNSTABLE:l,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:c})}else u=Qa({key:a,get:i,cachePolicy_UNSTABLE:l,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:c});return r.set(t,u),_i(u.key,()=>{r.delete(t)}),u}};const Ei=Si({key:"__constant",get:e=>()=>e,cachePolicyForParams_UNSTABLE:{equality:"reference"}});var wi=function(e){return Ei(e)};const Ci=Si({key:"__error",get:e=>()=>{throw s(e)},cachePolicyForParams_UNSTABLE:{equality:"reference"}});var Ti=function(e){return Ci(e)};var Ai=function(e){return e};const{loadableWithError:ji,loadableWithPromise:ki,loadableWithValue:Ii}=I;function Ni(e,t){const n=Array(t.length).fill(void 0),r=Array(t.length).fill(void 0);for(const[o,a]of t.entries())try{n[o]=e(a)}catch(e){r[o]=e}return[n,r]}function xi(e){return null!=e&&!l(e)}function Ri(e){return Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(t=>e[t])}function Di(e,t){return Array.isArray(e)?t:Object.getOwnPropertyNames(e).reduce((e,n,r)=>({...e,[n]:t[r]}),{})}function Mi(e,t,n){return Di(e,n.map((e,n)=>null==e?Ii(t[n]):l(e)?ki(e):ji(e)))}var Li={waitForNone:Si({key:"__waitForNone",get:e=>({get:t})=>{const n=Ri(e),[r,o]=Ni(t,n);return Mi(e,r,o)},dangerouslyAllowMutability:!0}),waitForAny:Si({key:"__waitForAny",get:e=>({get:t})=>{const n=Ri(e),[r,o]=Ni(t,n);return o.some(e=>!l(e))?Mi(e,r,o):new Promise(t=>{for(const[n,a]of o.entries())l(a)&&a.then(a=>{r[n]=a,o[n]=void 0,t(Mi(e,r,o))}).catch(a=>{o[n]=a,t(Mi(e,r,o))})})},dangerouslyAllowMutability:!0}),waitForAll:Si({key:"__waitForAll",get:e=>({get:t})=>{const n=Ri(e),[r,o]=Ni(t,n);if(o.every(e=>null==e))return Di(e,r);const a=o.find(xi);if(null!=a)throw a;return Promise.all(o).then(t=>{return Di(e,(n=r,t.map((e,t)=>void 0===e?n[t]:e)));var n})},dangerouslyAllowMutability:!0}),waitForAllSettled:Si({key:"__waitForAllSettled",get:e=>({get:t})=>{const n=Ri(e),[r,o]=Ni(t,n);return o.every(e=>!l(e))?Mi(e,r,o):Promise.all(o.map((e,t)=>l(e)?e.then(e=>{r[t]=e,o[t]=void 0}).catch(e=>{r[t]=void 0,o[t]=e}):null)).then(()=>Mi(e,r,o))},dangerouslyAllowMutability:!0}),noWait:Si({key:"__noWait",get:e=>({get:t})=>{try{return Qa.value(Ii(t(e)))}catch(e){return Qa.value(l(e)?ki(e):ji(e))}},dangerouslyAllowMutability:!0})};const{RecoilLoadable:Pi}=I,{DefaultValue:Fi}=ue,{RecoilRoot:Bi,useRecoilStoreID:Ui}=er,{isRecoilValue:Vi}=Z,{retentionZone:qi}=xe,{freshSnapshot:zi}=bn,{useRecoilState:Qi,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:$i,useRecoilStateLoadable:Wi,useRecoilValue:Hi,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:Ki,useRecoilValueLoadable:Gi,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:Yi,useResetRecoilState:Xi,useSetRecoilState:Ji}=$r,{useGotoRecoilSnapshot:Zi,useRecoilSnapshot:es,useRecoilTransactionObserver:ts}=po,{useRecoilCallback:ns}=Ho,{noWait:rs,waitForAll:os,waitForAllSettled:as,waitForAny:is,waitForNone:ss}=Li;var ls={DefaultValue:Fi,isRecoilValue:Vi,RecoilLoadable:Pi,RecoilEnv:R,RecoilRoot:Bi,useRecoilStoreID:Ui,useRecoilBridgeAcrossReactRoots_UNSTABLE:Oo,atom:di,selector:Qa,atomFamily:gi,selectorFamily:Si,constSelector:wi,errorSelector:Ti,readOnlySelector:Ai,noWait:rs,waitForNone:ss,waitForAny:is,waitForAll:os,waitForAllSettled:as,useRecoilValue:Hi,useRecoilValueLoadable:Gi,useRecoilState:Qi,useRecoilStateLoadable:Wi,useSetRecoilState:Ji,useResetRecoilState:Xi,useGetRecoilValueInfo_UNSTABLE:vo,useRecoilRefresher_UNSTABLE:Xo,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:Yi,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:Ki,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:$i,useRecoilCallback:ns,useRecoilTransaction_UNSTABLE:ta,useGotoRecoilSnapshot:Zi,useRecoilSnapshot:es,useRecoilTransactionObserver_UNSTABLE:ts,snapshot_UNSTABLE:zi,useRetain:fr,retentionZone:qi},cs=ls.RecoilRoot,us=ls.atom,ds=ls.selector,fs=ls.atomFamily,ps=ls.selectorFamily,hs=ls.useRecoilValue,ms=ls.useRecoilState,vs=ls.useSetRecoilState}).call(this,n(97))},function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return a})),n.d(t,"e",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"f",(function(){return c})); +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=166)}([function(e,t,n){"use strict";var r,o=n(40),a=(r=o)&&r.__esModule?r:{default:r};e.exports=(0,a.default)("vendor")().React},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return cs})),n.d(t,"b",(function(){return us})),n.d(t,"c",(function(){return fs})),n.d(t,"d",(function(){return ds})),n.d(t,"e",(function(){return ps})),n.d(t,"f",(function(){return ms})),n.d(t,"g",(function(){return hs})),n.d(t,"h",(function(){return vs}));var r=n(0),o=n.n(r),a=n(71),i=n.n(a);var s=function(e){const t=new Error(e);if(void 0===t.stack)try{throw t}catch(e){}return t};var l=function(e){return!!e&&"function"==typeof e.then};var c=function(e,t){if(null!=e)return e;throw s(null!=t?t:"Got unexpected null or undefined")};function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class d{getValue(){throw s("BaseLoadable")}toPromise(){throw s("BaseLoadable")}valueMaybe(){throw s("BaseLoadable")}valueOrThrow(){throw s(`Loadable expected value, but in "${this.state}" state`)}promiseMaybe(){throw s("BaseLoadable")}promiseOrThrow(){throw s(`Loadable expected promise, but in "${this.state}" state`)}errorMaybe(){throw s("BaseLoadable")}errorOrThrow(){throw s(`Loadable expected error, but in "${this.state}" state`)}is(e){return e.state===this.state&&e.contents===this.contents}map(e){throw s("BaseLoadable")}}class f extends d{constructor(e){super(),u(this,"state","hasValue"),u(this,"contents",void 0),this.contents=e}getValue(){return this.contents}toPromise(){return Promise.resolve(this.contents)}valueMaybe(){return this.contents}valueOrThrow(){return this.contents}promiseMaybe(){}errorMaybe(){}map(e){try{const t=e(this.contents);return l(t)?b(t):_(t)?t:m(t)}catch(t){return l(t)?b(t.next(()=>this.map(e))):v(t)}}}class p extends d{constructor(e){super(),u(this,"state","hasError"),u(this,"contents",void 0),this.contents=e}getValue(){throw this.contents}toPromise(){return Promise.reject(this.contents)}valueMaybe(){}promiseMaybe(){}errorMaybe(){return this.contents}errorOrThrow(){return this.contents}map(e){return this}}class h extends d{constructor(e){super(),u(this,"state","loading"),u(this,"contents",void 0),this.contents=e}getValue(){throw this.contents}toPromise(){return this.contents}valueMaybe(){}promiseMaybe(){return this.contents}promiseOrThrow(){return this.contents}errorMaybe(){}map(e){return b(this.contents.then(t=>{const n=e(t);if(_(n)){const e=n;switch(e.state){case"hasValue":return e.contents;case"hasError":throw e.contents;case"loading":return e.contents}}return n}).catch(t=>{if(l(t))return t.then(()=>this.map(e).contents);throw t}))}}function m(e){return Object.freeze(new f(e))}function v(e){return Object.freeze(new p(e))}function b(e){return Object.freeze(new h(e))}function y(){return Object.freeze(new h(new Promise(()=>{})))}function g(e){const t=function(e){return e.every(e=>"hasValue"===e.state)?m(e.map(e=>e.contents)):e.some(e=>"hasError"===e.state)?v(c(e.find(e=>"hasError"===e.state),"Invalid loadable passed to loadableAll").contents):b(Promise.all(e.map(e=>e.contents)))}((Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(t=>e[t])).map(e=>_(e)?e:l(e)?b(e):m(e)));return Array.isArray(e)?t:t.map(t=>Object.getOwnPropertyNames(e).reduce((e,n,r)=>({...e,[n]:t[r]}),{}))}function _(e){return e instanceof d}const O={of:e=>l(e)?b(e):_(e)?e:m(e),error:e=>v(e),loading:()=>y(),all:g,isLoadable:_};var S={loadableWithValue:m,loadableWithError:v,loadableWithPromise:b,loadableLoading:y,loadableAll:g,isLoadable:_,RecoilLoadable:O},E=S.loadableWithValue,w=S.loadableWithError,C=S.loadableWithPromise,T=S.loadableLoading,A=S.loadableAll,j=S.isLoadable,k=S.RecoilLoadable,I=Object.freeze({__proto__:null,loadableWithValue:E,loadableWithError:w,loadableWithPromise:C,loadableLoading:T,loadableAll:A,isLoadable:j,RecoilLoadable:k});const N={RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED:!0,RECOIL_GKS_ENABLED:new Set(["recoil_hamt_2020","recoil_sync_external_store","recoil_suppress_rerender_in_callback","recoil_memory_managament_2020"])};var x;void 0!==e&&null!=(null===(x=e)||void 0===x?void 0:x.env)&&(function(t,n){var r,o;const a=null===(r=e.env[t])||void 0===r||null===(o=r.toLowerCase())||void 0===o?void 0:o.trim();if(null!=a&&""!==a){if(!["true","false"].includes(a))throw s(`process.env.${t} value must be 'true', 'false', or empty: ${a}`);n("true"===a)}}("RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED",e=>{N.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED=e}),function(t,n){var r;const o=null===(r=e.env[t])||void 0===r?void 0:r.trim();null!=o&&""!==o&&n(o.split(/\s*,\s*|\s+/))}("RECOIL_GKS_ENABLED",e=>{e.forEach(e=>{N.RECOIL_GKS_ENABLED.add(e)})}));var R=N;function D(e){return R.RECOIL_GKS_ENABLED.has(e)}D.setPass=e=>{R.RECOIL_GKS_ENABLED.add(e)},D.setFail=e=>{R.RECOIL_GKS_ENABLED.delete(e)},D.clear=()=>{R.RECOIL_GKS_ENABLED.clear()};var M=D;var L,P,F,B=function(e,t,{error:n}={}){return null};const U=null!==(L=o.a.createMutableSource)&&void 0!==L?L:o.a.unstable_createMutableSource,V=null!==(P=o.a.useMutableSource)&&void 0!==P?P:o.a.unstable_useMutableSource,q=null!==(F=o.a.useSyncExternalStore)&&void 0!==F?F:o.a.unstable_useSyncExternalStore;let z=!1;var Q={createMutableSource:U,useMutableSource:V,useSyncExternalStore:q,currentRendererSupportsUseSyncExternalStore:function(){var e;const{ReactCurrentDispatcher:t,ReactCurrentOwner:n}=o.a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,r=null!=(null!==(e=null==t?void 0:t.current)&&void 0!==e?e:n.currentDispatcher).useSyncExternalStore;return!q||r||z||(z=!0,B("A React renderer without React 18+ API support is being used with React 18+.")),r},reactMode:function(){return M("recoil_transition_support")?{mode:"TRANSITION_SUPPORT",early:!0,concurrent:!0}:M("recoil_sync_external_store")&&null!=q?{mode:"SYNC_EXTERNAL_STORE",early:!0,concurrent:!1}:M("recoil_mutable_source")&&null!=V&&"undefined"!=typeof window&&!window.$disableRecoilValueMutableSource_TEMP_HACK_DO_NOT_USE?M("recoil_suppress_rerender_in_callback")?{mode:"MUTABLE_SOURCE",early:!0,concurrent:!0}:{mode:"MUTABLE_SOURCE",early:!1,concurrent:!1}:M("recoil_suppress_rerender_in_callback")?{mode:"LEGACY",early:!0,concurrent:!1}:{mode:"LEGACY",early:!1,concurrent:!1}},isFastRefreshEnabled:function(){return!1}};class ${constructor(e){u(this,"key",void 0),this.key=e}toJSON(){return{key:this.key}}}class W extends ${}class H extends ${}var K={AbstractRecoilValue:$,RecoilState:W,RecoilValueReadOnly:H,isRecoilValue:function(e){return e instanceof W||e instanceof H}},G=K.AbstractRecoilValue,Y=K.RecoilState,X=K.RecoilValueReadOnly,J=K.isRecoilValue,Z=Object.freeze({__proto__:null,AbstractRecoilValue:G,RecoilState:Y,RecoilValueReadOnly:X,isRecoilValue:J});var ee=function(e,...t){0};var te=function(e,t){return function*(){let n=0;for(const r of e)yield t(r,n++)}()};const{isFastRefreshEnabled:ne}=Q;class re{}const oe=new re,ae=new Map,ie=new Map;class se extends Error{}const le=new Map;function ce(e){return le.get(e)}var ue={nodes:ae,recoilValues:ie,registerNode:function(e){R.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED&&function(e){if(ae.has(e)){const t=`Duplicate atom key "${e}". This is a FATAL ERROR in\n production. But it is safe to ignore this warning if it occurred because of\n hot module replacement.`;console.warn(t)}}(e.key),ae.set(e.key,e);const t=null==e.set?new Z.RecoilValueReadOnly(e.key):new Z.RecoilState(e.key);return ie.set(e.key,t),t},getNode:function(e){const t=ae.get(e);if(null==t)throw new se(`Missing definition for RecoilValue: "${e}""`);return t},getNodeMaybe:function(e){return ae.get(e)},deleteNodeConfigIfPossible:function(e){var t;if(!M("recoil_memory_managament_2020"))return;const n=ae.get(e);var r;null!=n&&null!==(t=n.shouldDeleteConfigOnRelease)&&void 0!==t&&t.call(n)&&(ae.delete(e),null===(r=ce(e))||void 0===r||r(),le.delete(e))},setConfigDeletionHandler:function(e,t){M("recoil_memory_managament_2020")&&(void 0===t?le.delete(e):le.set(e,t))},getConfigDeletionHandler:ce,recoilValuesForKeys:function(e){return te(e,e=>c(ie.get(e)))},NodeMissingError:se,DefaultValue:re,DEFAULT_VALUE:oe};var de={enqueueExecution:function(e,t){t()}};var fe=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e){var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n={},r=Math.pow(2,5),o=r-1,a=r/2,i=r/4,s={},l=function(e){return function(){return e}},c=n.hash=function(e){var n=void 0===e?"undefined":t(e);if("number"===n)return e;"string"!==n&&(e+="");for(var r=0,o=0,a=e.length;o>>e&o},d=function(e){return 1<>1&1431655765))+(n>>2&858993459))+(n>>4)&252645135,n+=n>>8,127&(n+=n>>16);var n},p=function(e,t,n,r){var o=r;if(!e){var a=r.length;o=new Array(a);for(var i=0;i1?y(e,this.hash,l):l[0]}var c=r();return c===s?this:(++i.value,O(e,n,this.hash,this,o,b(e,o,a,c)))},C=function(e,t,n,r,o,i,s){var l=this.mask,c=this.children,b=u(n,o),y=d(b),O=f(l,y),E=l&y,w=E?c[O]:m,C=w._modify(e,t,n+5,r,o,i,s);if(w===C)return this;var T,A=S(e,this),j=l,k=void 0;if(E&&v(C)){if(!(j&=~y))return m;if(c.length<=2&&((T=c[1^O])===m||1===T.type||2===T.type))return c[1^O];k=h(A,O,c)}else if(E||v(C))k=p(A,O,C,c);else{if(c.length>=a)return function(e,t,n,r,o){for(var a=[],i=r,s=0,l=0;i;++l)1&i&&(a[l]=o[s++]),i>>>=1;return a[t]=n,_(e,s+1,a)}(e,b,C,l,c);j|=y,k=function(e,t,n,r){var o=r.length;if(e){for(var a=o;a>=t;)r[a--]=r[a];return r[t]=n,r}for(var i=0,s=0,l=new Array(o+1);i{n.set(r,t(e,r))}),n};function _e(e,t,n,r){const{nodeDeps:o,nodeToNodeSubscriptions:a}=n,i=o.get(e);if(i&&r&&i!==r.nodeDeps.get(e))return;o.set(e,t);const s=null==i?t:ye(t,i);for(const t of s){a.has(t)||a.set(t,new Set);c(a.get(t)).add(e)}if(i){const n=ye(i,t);for(const t of n){if(!a.has(t))return;const n=c(a.get(t));n.delete(e),0===n.size&&a.delete(t)}}}var Oe={cloneGraph:function(e){return{nodeDeps:ge(e.nodeDeps,e=>new Set(e)),nodeToNodeSubscriptions:ge(e.nodeToNodeSubscriptions,e=>new Set(e))}},graph:function(){return{nodeDeps:new Map,nodeToNodeSubscriptions:new Map}},saveDepsToStore:function(e,t,n,r){var o,a,i,s;const l=n.getState();r!==l.currentTree.version&&r!==(null===(o=l.nextTree)||void 0===o?void 0:o.version)&&r!==(null===(a=l.previousTree)||void 0===a?void 0:a.version)&&B("Tried to save dependencies to a discarded tree");const c=n.getGraph(r);if(_e(e,t,c),r===(null===(i=l.previousTree)||void 0===i?void 0:i.version)){_e(e,t,n.getGraph(l.currentTree.version),c)}if(r===(null===(s=l.previousTree)||void 0===s?void 0:s.version)||r===l.currentTree.version){var u;const r=null===(u=l.nextTree)||void 0===u?void 0:u.version;if(void 0!==r){_e(e,t,n.getGraph(r),c)}}}};let Se=0;let Ee=0;let we=0;var Ce={getNextTreeStateVersion:()=>Se++,getNextStoreID:()=>Ee++,getNextComponentID:()=>we++};const{persistentMap:Te}=be,{graph:Ae}=Oe,{getNextTreeStateVersion:je}=Ce;function ke(){const e=je();return{version:e,stateID:e,transactionMetadata:{},dirtyAtoms:new Set,atomValues:Te(),nonvalidatedAtoms:Te()}}var Ie={makeEmptyTreeState:ke,makeEmptyStoreState:function(){const e=ke();return{currentTree:e,nextTree:null,previousTree:null,commitDepth:0,knownAtoms:new Set,knownSelectors:new Set,transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:(new Map).set(e.version,Ae()),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map}},getNextTreeStateVersion:je};class Ne{}var xe={RetentionZone:Ne,retentionZone:function(){return new Ne}};var Re={setByAddingToSet:function(e,t){const n=new Set(e);return n.add(t),n},setByDeletingFromSet:function(e,t){const n=new Set(e);return n.delete(t),n},mapBySettingInMap:function(e,t,n){const r=new Map(e);return r.set(t,n),r},mapByUpdatingInMap:function(e,t,n){const r=new Map(e);return r.set(t,n(r.get(t))),r},mapByDeletingFromMap:function(e,t){const n=new Map(e);return n.delete(t),n},mapByDeletingMultipleFromMap:function(e,t){const n=new Map(e);return t.forEach(e=>n.delete(e)),n}};var De=function*(e,t){let n=0;for(const r of e)t(r,n++)&&(yield r)};var Me=function(e,t){return new Proxy(e,{get:(e,n)=>(!(n in e)&&n in t&&(e[n]=t[n]()),e[n]),ownKeys:e=>Object.keys(e)})};const{getNode:Le,getNodeMaybe:Pe,recoilValuesForKeys:Fe}=ue,{RetentionZone:Be}=xe,{setByAddingToSet:Ue}=Re,Ve=Object.freeze(new Set);class qe extends Error{}function ze(e,t,n,r){const o=e.getState();if(o.nodeCleanupFunctions.has(n))return;const a=Le(n),i=function(e,t,n){if(!M("recoil_memory_managament_2020"))return()=>{};const{nodesRetainedByZone:r}=e.getState().retention;function o(e){let n=r.get(e);n||r.set(e,n=new Set),n.add(t)}if(n instanceof Be)o(n);else if(Array.isArray(n))for(const e of n)o(e);return()=>{if(!M("recoil_memory_managament_2020"))return;const{retention:r}=e.getState();function o(e){const n=r.nodesRetainedByZone.get(e);null==n||n.delete(t),n&&0===n.size&&r.nodesRetainedByZone.delete(e)}if(n instanceof Be)o(n);else if(Array.isArray(n))for(const e of n)o(e)}}(e,n,a.retainedBy),s=a.init(e,t,r);o.nodeCleanupFunctions.set(n,()=>{s(),i()})}function Qe(e,t,n){return Le(n).peek(e,t)}function $e(e,t,n){const r=new Set,o=Array.from(n),a=e.getGraph(t.version);for(let e=o.pop();e;e=o.pop()){var i;r.add(e);const t=null!==(i=a.nodeToNodeSubscriptions.get(e))&&void 0!==i?i:Ve;for(const e of t)r.has(e)||o.push(e)}return r}var We={getNodeLoadable:function(e,t,n){return ze(e,t,n,"get"),Le(n).get(e,t)},peekNodeLoadable:Qe,setNodeValue:function(e,t,n,r){const o=Le(n);if(null==o.set)throw new qe("Attempt to set read-only RecoilValue: "+n);const a=o.set;return ze(e,t,n,"set"),a(e,t,r)},initializeNode:function(e,t,n){ze(e,e.getState().currentTree,t,n)},cleanUpNode:function(e,t){var n;const r=e.getState();null===(n=r.nodeCleanupFunctions.get(t))||void 0===n||n(),r.nodeCleanupFunctions.delete(t)},setUnvalidatedAtomValue_DEPRECATED:function(e,t,n){var r;const o=Pe(t);return null==o||null===(r=o.invalidate)||void 0===r||r.call(o,e),{...e,atomValues:e.atomValues.clone().delete(t),nonvalidatedAtoms:e.nonvalidatedAtoms.clone().set(t,n),dirtyAtoms:Ue(e.dirtyAtoms,t)}},peekNodeInfo:function(e,t,n){const r=e.getState(),o=e.getGraph(t.version),a=Le(n).nodeType;return Me({type:a},{loadable:()=>Qe(e,t,n),isActive:()=>r.knownAtoms.has(n)||r.knownSelectors.has(n),isSet:()=>"selector"!==a&&t.atomValues.has(n),isModified:()=>t.dirtyAtoms.has(n),deps:()=>{var e;return Fe(null!==(e=o.nodeDeps.get(n))&&void 0!==e?e:[])},subscribers:()=>{var o,a;return{nodes:Fe(De($e(e,t,new Set([n])),e=>e!==n)),components:te(null!==(o=null===(a=r.nodeToComponentSubscriptions.get(n))||void 0===a?void 0:a.values())&&void 0!==o?o:[],([e])=>({name:e}))}}})},getDownstreamNodes:$e};let He=null;var Ke={setInvalidateMemoizedSnapshot:function(e){He=e},invalidateMemoizedSnapshot:function(){var e;null===(e=He)||void 0===e||e()}};const{getDownstreamNodes:Ge,getNodeLoadable:Ye,setNodeValue:Xe}=We,{getNextComponentID:Je}=Ce,{getNode:Ze,getNodeMaybe:et}=ue,{DefaultValue:tt}=ue,{reactMode:nt}=Q,{AbstractRecoilValue:rt,RecoilState:ot,RecoilValueReadOnly:at,isRecoilValue:it}=Z,{invalidateMemoizedSnapshot:st}=Ke;function lt(e,t,n){if("set"===n.type){const{recoilValue:r,valueOrUpdater:o}=n,a=function(e,t,{key:n},r){if("function"==typeof r){const o=Ye(e,t,n);if("loading"===o.state){const e=`Tried to set atom or selector "${n}" using an updater function while the current state is pending, this is not currently supported.`;throw B(e),s(e)}if("hasError"===o.state)throw o.contents;return r(o.contents)}return r}(e,t,r,o),i=Xe(e,t,r.key,a);for(const[e,n]of i.entries())ct(t,e,n)}else if("setLoadable"===n.type){const{recoilValue:{key:e},loadable:r}=n;ct(t,e,r)}else if("markModified"===n.type){const{recoilValue:{key:e}}=n;t.dirtyAtoms.add(e)}else if("setUnvalidated"===n.type){var r;const{recoilValue:{key:e},unvalidatedValue:o}=n,a=et(e);null==a||null===(r=a.invalidate)||void 0===r||r.call(a,t),t.atomValues.delete(e),t.nonvalidatedAtoms.set(e,o),t.dirtyAtoms.add(e)}else B("Unknown action "+n.type)}function ct(e,t,n){"hasValue"===n.state&&n.contents instanceof tt?e.atomValues.delete(t):e.atomValues.set(t,n),e.dirtyAtoms.add(t),e.nonvalidatedAtoms.delete(t)}function ut(e,t){e.replaceState(n=>{const r=pt(n);for(const n of t)lt(e,r,n);return ht(e,r),st(),r})}function dt(e,t){if(ft.length){const n=ft[ft.length-1];let r=n.get(e);r||n.set(e,r=[]),r.push(t)}else ut(e,[t])}const ft=[];function pt(e){return{...e,atomValues:e.atomValues.clone(),nonvalidatedAtoms:e.nonvalidatedAtoms.clone(),dirtyAtoms:new Set(e.dirtyAtoms)}}function ht(e,t){const n=Ge(e,t,t.dirtyAtoms);for(const e of n){var r,o;null===(r=et(e))||void 0===r||null===(o=r.invalidate)||void 0===o||o.call(r,t)}}function mt(e,t,n){dt(e,{type:"set",recoilValue:t,valueOrUpdater:n})}var vt={RecoilValueReadOnly:at,AbstractRecoilValue:rt,RecoilState:ot,getRecoilValueAsLoadable:function(e,{key:t},n=e.getState().currentTree){var r,o;const a=e.getState();n.version!==a.currentTree.version&&n.version!==(null===(r=a.nextTree)||void 0===r?void 0:r.version)&&n.version!==(null===(o=a.previousTree)||void 0===o?void 0:o.version)&&B("Tried to read from a discarded tree");const i=Ye(e,n,t);return"loading"===i.state&&i.contents.catch(()=>{}),i},setRecoilValue:mt,setRecoilValueLoadable:function(e,t,n){if(n instanceof tt)return mt(e,t,n);dt(e,{type:"setLoadable",recoilValue:t,loadable:n})},markRecoilValueModified:function(e,t){dt(e,{type:"markModified",recoilValue:t})},setUnvalidatedRecoilValue:function(e,t,n){dt(e,{type:"setUnvalidated",recoilValue:t,unvalidatedValue:n})},subscribeToRecoilValue:function(e,{key:t},n,r=null){const o=Je(),a=e.getState();a.nodeToComponentSubscriptions.has(t)||a.nodeToComponentSubscriptions.set(t,new Map),c(a.nodeToComponentSubscriptions.get(t)).set(o,[null!=r?r:"",n]);const i=nt();if(i.early&&("LEGACY"===i.mode||"MUTABLE_SOURCE"===i.mode)){const r=e.getState().nextTree;r&&r.dirtyAtoms.has(t)&&n(r)}return{release:()=>{const n=e.getState(),r=n.nodeToComponentSubscriptions.get(t);void 0!==r&&r.has(o)?(r.delete(o),0===r.size&&n.nodeToComponentSubscriptions.delete(t)):B(`Subscription missing at release time for atom ${t}. This is a bug in Recoil.`)}}},isRecoilValue:it,applyAtomValueWrites:function(e,t){const n=e.clone();return t.forEach((e,t)=>{"hasValue"===e.state&&e.contents instanceof tt?n.delete(t):n.set(t,e)}),n},batchStart:function(){const e=new Map;return ft.push(e),()=>{for(const[t,n]of e)ut(t,n);ft.pop()!==e&&B("Incorrect order of batch popping")}},writeLoadableToTreeState:ct,invalidateDownstreams:ht,copyTreeState:pt,refreshRecoilValue:function(e,t){var n;const{currentTree:r}=e.getState(),o=Ze(t.key);null===(n=o.clearCache)||void 0===n||n.call(o,e,r)}};var bt=function(e,t,n){const r=e.entries();let o=r.next();for(;!o.done;){const a=o.value;if(t.call(n,a[1],a[0],e))return!0;o=r.next()}return!1};const{cleanUpNode:yt}=We,{deleteNodeConfigIfPossible:gt,getNode:_t}=ue,{RetentionZone:Ot}=xe,St=new Set;function Et(e,t){const n=e.getState(),r=n.currentTree;if(n.nextTree)return void B("releaseNodesNowOnCurrentTree should only be called at the end of a batch");const o=new Set;for(const e of t)if(e instanceof Ot)for(const t of Ct(n,e))o.add(t);else o.add(e);const a=function(e,t){const n=e.getState(),r=n.currentTree,o=e.getGraph(r.version),a=new Set,i=new Set;return s(t),a;function s(t){const l=new Set,u=function(e,t,n,r,o){const a=e.getGraph(t.version),i=[],s=new Set;for(;n.size>0;)l(c(n.values().next().value));return i;function l(e){if(r.has(e)||o.has(e))return void n.delete(e);if(s.has(e))return;const t=a.nodeToNodeSubscriptions.get(e);if(t)for(const e of t)l(e);s.add(e),n.delete(e),i.push(e)}}(e,r,t,a,i);for(const e of u){var d;if("recoilRoot"===_t(e).retainedBy){i.add(e);continue}if((null!==(d=n.retention.referenceCounts.get(e))&&void 0!==d?d:0)>0){i.add(e);continue}if(Tt(e).some(e=>n.retention.referenceCounts.get(e))){i.add(e);continue}const t=o.nodeToNodeSubscriptions.get(e);t&&bt(t,e=>i.has(e))?i.add(e):(a.add(e),l.add(e))}const f=new Set;for(const e of l)for(const t of null!==(p=o.nodeDeps.get(e))&&void 0!==p?p:St){var p;a.has(t)||f.add(t)}f.size&&s(f)}}(e,o);for(const t of a)wt(e,r,t)}function wt(e,t,n){if(!M("recoil_memory_managament_2020"))return;yt(e,n);const r=e.getState();r.knownAtoms.delete(n),r.knownSelectors.delete(n),r.nodeTransactionSubscriptions.delete(n),r.retention.referenceCounts.delete(n);const o=Tt(n);for(const e of o){var a;null===(a=r.retention.nodesRetainedByZone.get(e))||void 0===a||a.delete(n)}t.atomValues.delete(n),t.dirtyAtoms.delete(n),t.nonvalidatedAtoms.delete(n);const i=r.graphsByVersion.get(t.version);if(i){const e=i.nodeDeps.get(n);if(void 0!==e){i.nodeDeps.delete(n);for(const t of e){var s;null===(s=i.nodeToNodeSubscriptions.get(t))||void 0===s||s.delete(n)}}i.nodeToNodeSubscriptions.delete(n)}gt(n)}function Ct(e,t){var n;return null!==(n=e.retention.nodesRetainedByZone.get(t))&&void 0!==n?n:St}function Tt(e){const t=_t(e).retainedBy;return void 0===t||"components"===t||"recoilRoot"===t?[]:t instanceof Ot?[t]:t}function At(e,t){if(!M("recoil_memory_managament_2020"))return;e.getState().retention.referenceCounts.delete(t),function(e,t){const n=e.getState();n.nextTree?n.retention.retainablesToCheckForRelease.add(t):Et(e,new Set([t]))}(e,t)}var jt={SUSPENSE_TIMEOUT_MS:12e4,updateRetainCount:function(e,t,n){var r;if(!M("recoil_memory_managament_2020"))return;const o=e.getState().retention.referenceCounts,a=(null!==(r=o.get(t))&&void 0!==r?r:0)+n;0===a?At(e,t):o.set(t,a)},updateRetainCountToZero:At,releaseScheduledRetainablesNow:function(e){if(!M("recoil_memory_managament_2020"))return;const t=e.getState();Et(e,t.retention.retainablesToCheckForRelease),t.retention.retainablesToCheckForRelease.clear()},retainedByOptionWithDefault:function(e){return void 0===e?"recoilRoot":e}};const{unstable_batchedUpdates:kt}=i.a;var It={unstable_batchedUpdates:kt};const{unstable_batchedUpdates:Nt}=It;var xt={unstable_batchedUpdates:Nt};const{batchStart:Rt}=vt,{unstable_batchedUpdates:Dt}=xt;let Mt=Dt||(e=>e());var Lt={getBatcher:()=>Mt,setBatcher:e=>{Mt=e},batchUpdates:e=>{Mt(()=>{let t=()=>{};try{t=Rt(),e()}finally{t()}})}};var Pt=function*(e){for(const t of e)for(const e of t)yield e};const Ft="undefined"==typeof Window||"undefined"==typeof window,Bt="undefined"!=typeof navigator&&"ReactNative"===navigator.product;var Ut={isSSR:Ft,isReactNative:Bt,isWindow:e=>!Ft&&(e===window||e instanceof Window)};var Vt={memoizeWithArgsHash:function(e,t){let n;return(...r)=>{n||(n={});const o=t(...r);return Object.hasOwnProperty.call(n,o)||(n[o]=e(...r)),n[o]}},memoizeOneWithArgsHash:function(e,t){let n,r;return(...o)=>{const a=t(...o);return n===a||(n=a,r=e(...o)),r}},memoizeOneWithArgsHashAndInvalidation:function(e,t){let n,r;return[(...o)=>{const a=t(...o);return n===a||(n=a,r=e(...o)),r},()=>{n=null}]}};const{batchUpdates:qt}=Lt,{initializeNode:zt,peekNodeInfo:Qt}=We,{graph:$t}=Oe,{getNextStoreID:Wt}=Ce,{DEFAULT_VALUE:Ht,recoilValues:Kt,recoilValuesForKeys:Gt}=ue,{AbstractRecoilValue:Yt,getRecoilValueAsLoadable:Xt,setRecoilValue:Jt,setUnvalidatedRecoilValue:Zt}=vt,{updateRetainCount:en}=jt,{setInvalidateMemoizedSnapshot:tn}=Ke,{getNextTreeStateVersion:nn,makeEmptyStoreState:rn}=Ie,{isSSR:on}=Ut,{memoizeOneWithArgsHashAndInvalidation:an}=Vt;class sn{constructor(e,t){u(this,"_store",void 0),u(this,"_refCount",1),u(this,"getLoadable",e=>(this.checkRefCount_INTERNAL(),Xt(this._store,e))),u(this,"getPromise",e=>(this.checkRefCount_INTERNAL(),this.getLoadable(e).toPromise())),u(this,"getNodes_UNSTABLE",e=>{if(this.checkRefCount_INTERNAL(),!0===(null==e?void 0:e.isModified)){if(!1===(null==e?void 0:e.isInitialized))return[];const t=this._store.getState().currentTree;return Gt(t.dirtyAtoms)}const t=this._store.getState().knownAtoms,n=this._store.getState().knownSelectors;return null==(null==e?void 0:e.isInitialized)?Kt.values():!0===e.isInitialized?Gt(Pt([t,n])):De(Kt.values(),({key:e})=>!t.has(e)&&!n.has(e))}),u(this,"getInfo_UNSTABLE",({key:e})=>(this.checkRefCount_INTERNAL(),Qt(this._store,this._store.getState().currentTree,e))),u(this,"map",e=>{this.checkRefCount_INTERNAL();const t=new dn(this,qt);return e(t),t}),u(this,"asyncMap",async e=>{this.checkRefCount_INTERNAL();const t=new dn(this,qt);return t.retain(),await e(t),t.autoRelease_INTERNAL(),t}),this._store={storeID:Wt(),parentStoreID:t,getState:()=>e,replaceState:t=>{e.currentTree=t(e.currentTree)},getGraph:t=>{const n=e.graphsByVersion;if(n.has(t))return c(n.get(t));const r=$t();return n.set(t,r),r},subscribeToTransactions:()=>({release:()=>{}}),addTransactionMetadata:()=>{throw s("Cannot subscribe to Snapshots")}};for(const e of this._store.getState().knownAtoms)zt(this._store,e,"get"),en(this._store,e,1);this.autoRelease_INTERNAL()}retain(){this._refCount<=0&&B("Attempt to retain() Snapshot that was already released."),this._refCount++;let e=!1;return()=>{e||(e=!0,this._release())}}autoRelease_INTERNAL(){on||window.setTimeout(()=>this._release(),10)}_release(){if(this._refCount--,0===this._refCount){if(this._store.getState().nodeCleanupFunctions.forEach(e=>e()),this._store.getState().nodeCleanupFunctions.clear(),!M("recoil_memory_managament_2020"))return}else this._refCount}isRetained(){return this._refCount>0}checkRefCount_INTERNAL(){M("recoil_memory_managament_2020")&&this._refCount}getStore_INTERNAL(){return this.checkRefCount_INTERNAL(),this._store}getID(){return this.checkRefCount_INTERNAL(),this._store.getState().currentTree.stateID}getStoreID(){return this.checkRefCount_INTERNAL(),this._store.storeID}}function ln(e,t,n=!1){const r=e.getState(),o=n?nn():t.version;return{currentTree:{version:n?o:t.version,stateID:n?o:t.stateID,transactionMetadata:{...t.transactionMetadata},dirtyAtoms:new Set(t.dirtyAtoms),atomValues:t.atomValues.clone(),nonvalidatedAtoms:t.nonvalidatedAtoms.clone()},commitDepth:0,nextTree:null,previousTree:null,knownAtoms:new Set(r.knownAtoms),knownSelectors:new Set(r.knownSelectors),transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:(new Map).set(o,e.getGraph(t.version)),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map(te(r.nodeCleanupFunctions.entries(),([e])=>[e,()=>{}]))}}const[cn,un]=an((e,t)=>{var n;const r=e.getState(),o="latest"===t?null!==(n=r.nextTree)&&void 0!==n?n:r.currentTree:c(r.previousTree);return new sn(ln(e,o),e.storeID)},(e,t)=>{var n,r;return String(t)+String(e.storeID)+String(null===(n=e.getState().nextTree)||void 0===n?void 0:n.version)+String(e.getState().currentTree.version)+String(null===(r=e.getState().previousTree)||void 0===r?void 0:r.version)});tn(un);class dn extends sn{constructor(e,t){super(ln(e.getStore_INTERNAL(),e.getStore_INTERNAL().getState().currentTree,!0),e.getStoreID()),u(this,"_batch",void 0),u(this,"set",(e,t)=>{this.checkRefCount_INTERNAL();const n=this.getStore_INTERNAL();this._batch(()=>{en(n,e.key,1),Jt(this.getStore_INTERNAL(),e,t)})}),u(this,"reset",e=>{this.checkRefCount_INTERNAL();const t=this.getStore_INTERNAL();this._batch(()=>{en(t,e.key,1),Jt(this.getStore_INTERNAL(),e,Ht)})}),u(this,"setUnvalidatedAtomValues_DEPRECATED",e=>{this.checkRefCount_INTERNAL();const t=this.getStore_INTERNAL();qt(()=>{for(const[n,r]of e.entries())en(t,n,1),Zt(t,new Yt(n),r)})}),this._batch=t}}var fn={Snapshot:sn,MutableSnapshot:dn,freshSnapshot:function(e){const t=new sn(rn());return null!=e?t.map(e):t},cloneSnapshot:function(e,t="latest"){const n=cn(e,t);return n.isRetained()?n:(un(),cn(e,t))}},pn=fn.Snapshot,hn=fn.MutableSnapshot,mn=fn.freshSnapshot,vn=fn.cloneSnapshot,bn=Object.freeze({__proto__:null,Snapshot:pn,MutableSnapshot:hn,freshSnapshot:mn,cloneSnapshot:vn});var yn=function(...e){const t=new Set;for(const n of e)for(const e of n)t.add(e);return t};const{useRef:gn}=o.a;var _n=function(e){const t=gn(e);return t.current===e&&"function"==typeof e&&(t.current=e()),t};const{getNextTreeStateVersion:On,makeEmptyStoreState:Sn}=Ie,{cleanUpNode:En,getDownstreamNodes:wn,initializeNode:Cn,setNodeValue:Tn,setUnvalidatedAtomValue_DEPRECATED:An}=We,{graph:jn}=Oe,{cloneGraph:kn}=Oe,{getNextStoreID:In}=Ce,{createMutableSource:Nn,reactMode:xn}=Q,{applyAtomValueWrites:Rn}=vt,{releaseScheduledRetainablesNow:Dn}=jt,{freshSnapshot:Mn}=bn,{useCallback:Ln,useContext:Pn,useEffect:Fn,useMemo:Bn,useRef:Un,useState:Vn}=o.a;function qn(){throw s("This component must be used inside a component.")}const zn=Object.freeze({storeID:In(),getState:qn,replaceState:qn,getGraph:qn,subscribeToTransactions:qn,addTransactionMetadata:qn});let Qn=!1;function $n(e){if(Qn)throw s("An atom update was triggered within the execution of a state updater function. State updater functions provided to Recoil must be pure functions.");const t=e.getState();if(null===t.nextTree){M("recoil_memory_managament_2020")&&M("recoil_release_on_cascading_update_killswitch_2021")&&t.commitDepth>0&&Dn(e);const n=t.currentTree.version,r=On();t.nextTree={...t.currentTree,version:r,stateID:r,dirtyAtoms:new Set,transactionMetadata:{}},t.graphsByVersion.set(r,kn(c(t.graphsByVersion.get(n))))}}const Wn=o.a.createContext({current:zn}),Hn=()=>Pn(Wn),Kn=o.a.createContext(null);function Gn(e,t,n){const r=wn(e,n,n.dirtyAtoms);for(const e of r){const r=t.nodeToComponentSubscriptions.get(e);if(r)for(const[e,[t,o]]of r)o(n)}}function Yn(e){const t=e.getState(),n=t.currentTree,r=n.dirtyAtoms;if(r.size){for(const[n,o]of t.nodeTransactionSubscriptions)if(r.has(n))for(const[t,n]of o)n(e);for(const[n,r]of t.transactionSubscriptions)r(e);(!xn().early||t.suspendedComponentResolvers.size>0)&&(Gn(e,t,n),t.suspendedComponentResolvers.forEach(e=>e()),t.suspendedComponentResolvers.clear())}t.queuedComponentCallbacks_DEPRECATED.forEach(e=>e(n)),t.queuedComponentCallbacks_DEPRECATED.splice(0,t.queuedComponentCallbacks_DEPRECATED.length)}function Xn({setNotifyBatcherOfChange:e}){const t=Hn(),[,n]=Vn([]);return e(()=>n({})),Fn(()=>(e(()=>n({})),()=>{e(()=>{})}),[e]),Fn(()=>{de.enqueueExecution("Batcher",()=>{!function(e){const t=e.getState();t.commitDepth++;try{const{nextTree:n}=t;if(null==n)return;t.previousTree=t.currentTree,t.currentTree=n,t.nextTree=null,Yn(e),null!=t.previousTree?t.graphsByVersion.delete(t.previousTree.version):B("Ended batch with no previous state, which is unexpected","recoil"),t.previousTree=null,M("recoil_memory_managament_2020")&&null==n&&Dn(e)}finally{t.commitDepth--}}(t.current)})}),null}let Jn=0;function Zn({initializeState_DEPRECATED:e,initializeState:t,store_INTERNAL:n,children:r}){let a;const i=e=>{const t=a.current.graphsByVersion;if(t.has(e))return c(t.get(e));const n=jn();return t.set(e,n),n},s=(e,t)=>{if(null==t){const{transactionSubscriptions:t}=p.current.getState(),n=Jn++;return t.set(n,e),{release:()=>{t.delete(n)}}}{const{nodeTransactionSubscriptions:n}=p.current.getState();n.has(t)||n.set(t,new Map);const r=Jn++;return c(n.get(t)).set(r,e),{release:()=>{const e=n.get(t);e&&(e.delete(r),0===e.size&&n.delete(t))}}}},l=e=>{$n(p.current);for(const t of Object.keys(e))c(p.current.getState().nextTree).transactionMetadata[t]=e[t]},u=e=>{$n(p.current);const t=c(a.current.nextTree);let n;try{Qn=!0,n=e(t)}finally{Qn=!1}n!==t&&(a.current.nextTree=n,xn().early&&Gn(p.current,a.current,n),c(d.current)())},d=Un(null),f=Ln(e=>{d.current=e},[d]),p=_n(()=>null!=n?n:{storeID:In(),getState:()=>a.current,replaceState:u,getGraph:i,subscribeToTransactions:s,addTransactionMetadata:l});null!=n&&(p.current=n),a=_n(()=>null!=e?function(e,t){const n=Sn();return t({set:(t,r)=>{const o=n.currentTree,a=Tn(e,o,t.key,r),i=new Set(a.keys()),s=o.nonvalidatedAtoms.clone();for(const e of i)s.delete(e);n.currentTree={...o,dirtyAtoms:yn(o.dirtyAtoms,i),atomValues:Rn(o.atomValues,a),nonvalidatedAtoms:s}},setUnvalidatedAtomValues:e=>{e.forEach((e,t)=>{n.currentTree=An(n.currentTree,t,e)})}}),n}(p.current,e):null!=t?function(e){const t=Mn(e),n=t.getStore_INTERNAL().getState();return t.retain(),n.nodeCleanupFunctions.forEach(e=>e()),n.nodeCleanupFunctions.clear(),n}(t):Sn());const h=Bn(()=>null==Nn?void 0:Nn(a,()=>a.current.currentTree.version),[a]);return Fn(()=>{const e=p.current;for(const t of new Set(e.getState().knownAtoms))Cn(e,t,"get");return()=>{for(const t of e.getState().knownAtoms)En(e,t)}},[p]),o.a.createElement(Wn.Provider,{value:p},o.a.createElement(Kn.Provider,{value:h},o.a.createElement(Xn,{setNotifyBatcherOfChange:f}),r))}var er={RecoilRoot:function(e){const{override:t,...n}=e,r=Hn();return!1===t&&r.current!==zn?e.children:o.a.createElement(Zn,n)},useStoreRef:Hn,useRecoilMutableSource:function(){const e=Pn(Kn);return null==e&&ee("Attempted to use a Recoil hook outside of a . must be an ancestor of any component that uses Recoil hooks."),e},useRecoilStoreID:function(){return Hn().current.storeID},notifyComponents_FOR_TESTING:Gn,sendEndOfBatchNotifications_FOR_TESTING:Yn};var tr=function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n{t.current=e}),t.current};const{useStoreRef:ar}=er,{SUSPENSE_TIMEOUT_MS:ir}=jt,{updateRetainCount:sr}=jt,{RetentionZone:lr}=xe,{useEffect:cr,useRef:ur}=o.a,{isSSR:dr}=Ut;var fr=function(e){if(M("recoil_memory_managament_2020"))return function(e){const t=(Array.isArray(e)?e:[e]).map(e=>e instanceof lr?e:e.key),n=ar();cr(()=>{if(!M("recoil_memory_managament_2020"))return;const e=n.current;if(r.current&&!dr)window.clearTimeout(r.current),r.current=null;else for(const n of t)sr(e,n,1);return()=>{for(const n of t)sr(e,n,-1)}},[n,...t]);const r=ur(),o=or(t);if(!(dr||void 0!==o&&tr(o,t))){const e=n.current;for(const n of t)sr(e,n,1);if(o)for(const t of o)sr(e,t,-1);r.current&&window.clearTimeout(r.current),r.current=window.setTimeout(()=>{r.current=null;for(const n of t)sr(e,n,-1)},ir)}}(e)};var pr=function(){return""};const{batchUpdates:hr}=Lt,{DEFAULT_VALUE:mr}=ue,{currentRendererSupportsUseSyncExternalStore:vr,reactMode:br,useMutableSource:yr,useSyncExternalStore:gr}=Q,{useRecoilMutableSource:_r,useStoreRef:Or}=er,{isRecoilValue:Sr}=Z,{AbstractRecoilValue:Er,getRecoilValueAsLoadable:wr,setRecoilValue:Cr,setUnvalidatedRecoilValue:Tr,subscribeToRecoilValue:Ar}=vt,{useCallback:jr,useEffect:kr,useMemo:Ir,useRef:Nr,useState:xr}=o.a,{setByAddingToSet:Rr}=Re,{isSSR:Dr}=Ut;function Mr(e,t,n){if("hasValue"===e.state)return e.contents;if("loading"===e.state){throw new Promise(t=>{const r=n.current.getState().suspendedComponentResolvers;r.add(t),Dr&&l(e.contents)&&e.contents.finally(()=>{r.delete(t)})})}throw"hasError"===e.state?e.contents:s(`Invalid value of loadable atom "${t.key}"`)}function Lr(e){const t=Or(),n=pr(),r=jr(()=>{var n;const r=t.current,o=r.getState(),a=br().early&&null!==(n=o.nextTree)&&void 0!==n?n:o.currentTree;return{loadable:wr(r,e,a),key:e.key}},[t,e]),o=jr(e=>{let t;return()=>{var n,r;const o=e();return null!==(n=t)&&void 0!==n&&n.loadable.is(o.loadable)&&(null===(r=t)||void 0===r?void 0:r.key)===o.key?t:(t=o,o)}},[]),a=Ir(()=>o(r),[r,o]),i=jr(r=>{const o=t.current;return Ar(o,e,r,n).release},[t,e,n]);return gr(i,a,a).loadable}function Pr(e){const t=Or(),n=jr(()=>{var n;const r=t.current,o=r.getState(),a=br().early&&null!==(n=o.nextTree)&&void 0!==n?n:o.currentTree;return wr(r,e,a)},[t,e]),r=jr(()=>n(),[n]),o=pr(),a=jr((r,a)=>{const i=t.current;return Ar(i,e,()=>{if(!M("recoil_suppress_rerender_in_callback"))return a();const e=n();c.current.is(e)||a(),c.current=e},o).release},[t,e,o,n]),i=_r();if(null==i)throw s("Recoil hooks must be used in components contained within a component.");const l=yr(i,r,a),c=Nr(l);return kr(()=>{c.current=l}),l}function Fr(e){const t=Or(),n=pr(),r=jr(()=>{var n;const r=t.current,o=r.getState(),a=br().early&&null!==(n=o.nextTree)&&void 0!==n?n:o.currentTree;return wr(r,e,a)},[t,e]),o=jr(()=>({loadable:r(),key:e.key}),[r,e.key]),a=jr(e=>{const t=o();return e.loadable.is(t.loadable)&&e.key===t.key?e:t},[o]);kr(()=>{const r=Ar(t.current,e,e=>{s(a)},n);return s(a),r.release},[n,e,t,a]);const[i,s]=xr(o);return i.key!==e.key?o().loadable:i.loadable}function Br(e){const t=Or(),[,n]=xr([]),r=pr(),o=jr(()=>{var n;const r=t.current,o=r.getState(),a=br().early&&null!==(n=o.nextTree)&&void 0!==n?n:o.currentTree;return wr(r,e,a)},[t,e]),a=o(),i=Nr(a);return kr(()=>{i.current=a}),kr(()=>{const a=t.current,s=a.getState(),l=Ar(a,e,e=>{var t;if(!M("recoil_suppress_rerender_in_callback"))return n([]);const r=o();null!==(t=i.current)&&void 0!==t&&t.is(r)||n(r),i.current=r},r);if(s.nextTree)a.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{i.current=null,n([])});else{var c;if(!M("recoil_suppress_rerender_in_callback"))return n([]);const e=o();null!==(c=i.current)&&void 0!==c&&c.is(e)||n(e),i.current=e}return l.release},[r,o,e,t]),a}function Ur(e){return M("recoil_memory_managament_2020")&&fr(e),{TRANSITION_SUPPORT:Fr,SYNC_EXTERNAL_STORE:vr()?Lr:Fr,MUTABLE_SOURCE:Pr,LEGACY:Br}[br().mode](e)}function Vr(e){const t=Or();return Mr(Ur(e),e,t)}function qr(e){const t=Or();return jr(n=>{Cr(t.current,e,n)},[t,e])}function zr(e){return M("recoil_memory_managament_2020")&&fr(e),Fr(e)}function Qr(e){const t=Or();return Mr(zr(e),e,t)}var $r={recoilComponentGetRecoilValueCount_FOR_TESTING:{current:0},useRecoilInterface:function(){const e=pr(),t=Or(),[,n]=xr([]),r=Nr(new Set);r.current=new Set;const o=Nr(new Set),a=Nr(new Map),i=jr(e=>{const t=a.current.get(e);t&&(t.release(),a.current.delete(e))},[a]),s=jr((e,t)=>{a.current.has(t)&&n([])},[]);return kr(()=>{const n=t.current;ye(r.current,o.current).forEach(t=>{if(a.current.has(t))return void ee(`Double subscription to RecoilValue "${t}"`);const r=Ar(n,new Er(t),e=>s(e,t),e);a.current.set(t,r);n.getState().nextTree?n.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{s(n.getState(),t)}):s(n.getState(),t)}),ye(o.current,r.current).forEach(e=>{i(e)}),o.current=r.current}),kr(()=>{const n=a.current;return ye(r.current,new Set(n.keys())).forEach(r=>{const o=Ar(t.current,new Er(r),e=>s(e,r),e);n.set(r,o)}),()=>n.forEach((e,t)=>i(t))},[e,t,i,s]),Ir(()=>{function e(e){return n=>{Cr(t.current,e,n)}}function n(e){var n;r.current.has(e.key)||(r.current=Rr(r.current,e.key));const o=t.current.getState();return wr(t.current,e,br().early&&null!==(n=o.nextTree)&&void 0!==n?n:o.currentTree)}function o(e){return Mr(n(e),e,t)}return{getRecoilValue:o,getRecoilValueLoadable:n,getRecoilState:function(t){return[o(t),e(t)]},getRecoilStateLoadable:function(t){return[n(t),e(t)]},getSetRecoilState:e,getResetRecoilState:function(e){return()=>Cr(t.current,e,mr)}}},[r,t])},useRecoilState:function(e){return[Vr(e),qr(e)]},useRecoilStateLoadable:function(e){return[Ur(e),qr(e)]},useRecoilValue:Vr,useRecoilValueLoadable:Ur,useResetRecoilState:function(e){const t=Or();return jr(()=>{Cr(t.current,e,mr)},[t,e])},useSetRecoilState:qr,useSetUnvalidatedAtomValues:function(){const e=Or();return(t,n={})=>{hr(()=>{e.current.addTransactionMetadata(n),t.forEach((t,n)=>Tr(e.current,new Er(n),t))})}},useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:zr,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:Qr,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:function(e){return[Qr(e),qr(e)]}};var Wr=function(e,t){const n=new Map;for(const[r,o]of e)t(o,r)&&n.set(r,o);return n};var Hr=function(e,t){const n=new Set;for(const r of e)t(r)&&n.add(r);return n};var Kr=function(...e){const t=new Map;for(let n=0;nt.current.subscribeToTransactions(e).release,[e,t])}function uo(e){const t=e.atomValues.toMap(),n=ge(Wr(t,(e,t)=>{const n=Xr(t).persistence_UNSTABLE;return null!=n&&"none"!==n.type&&"hasValue"===e.state}),e=>e.contents);return Kr(e.nonvalidatedAtoms.toMap(),n)}function fo(e,t){var n;const r=e.getState(),o=null!==(n=r.nextTree)&&void 0!==n?n:r.currentTree,a=t.getStore_INTERNAL().getState().currentTree;Gr(()=>{const n=new Set;for(const e of[o.atomValues.keys(),a.atomValues.keys()])for(const t of e){var r,i;(null===(r=o.atomValues.get(t))||void 0===r?void 0:r.contents)!==(null===(i=a.atomValues.get(t))||void 0===i?void 0:i.contents)&&Xr(t).shouldRestoreFromSnapshots&&n.add(t)}n.forEach(t=>{to(e,new eo(t),a.atomValues.has(t)?c(a.atomValues.get(t)):Yr)}),e.replaceState(e=>({...e,stateID:t.getID()}))})}var po={useRecoilSnapshot:function(){const e=Zr(),[t,n]=so(()=>ro(e.current)),r=or(t),o=io(),a=io();if(co(oo(e=>n(ro(e)),[])),ao(()=>{const e=t.retain();var n;o.current&&!lo&&(window.clearTimeout(o.current),o.current=null,null===(n=a.current)||void 0===n||n.call(a),a.current=null);return()=>{window.setTimeout(e,10)}},[t]),r!==t&&!lo){var i;if(o.current)window.clearTimeout(o.current),o.current=null,null===(i=a.current)||void 0===i||i.call(a),a.current=null;a.current=t.retain(),o.current=window.setTimeout(()=>{var e;o.current=null,null===(e=a.current)||void 0===e||e.call(a),a.current=null},no)}return t},gotoSnapshot:fo,useGotoRecoilSnapshot:function(){const e=Zr();return oo(t=>fo(e.current,t),[e])},useRecoilTransactionObserver:function(e){co(oo(t=>{const n=ro(t,"latest"),r=ro(t,"previous");e({snapshot:n,previousSnapshot:r})},[e]))},useTransactionObservation_DEPRECATED:function(e){co(oo(t=>{let n=t.getState().previousTree;const r=t.getState().currentTree;n||(B("Transaction subscribers notified without a previous tree being present -- this is a bug in Recoil"),n=t.getState().currentTree);const o=uo(r),a=uo(n),i=ge(Jr,e=>{var t,n,r,o;return{persistence_UNSTABLE:{type:null!==(t=null===(n=e.persistence_UNSTABLE)||void 0===n?void 0:n.type)&&void 0!==t?t:"none",backButton:null!==(r=null===(o=e.persistence_UNSTABLE)||void 0===o?void 0:o.backButton)&&void 0!==r&&r}}}),s=Hr(r.dirtyAtoms,e=>o.has(e)||a.has(e));e({atomValues:o,previousAtomValues:a,atomInfo:i,modifiedAtoms:s,transactionMetadata:{...r.transactionMetadata}})},[e]))},useTransactionSubscription_DEPRECATED:co};const{peekNodeInfo:ho}=We,{useStoreRef:mo}=er;var vo=function(){const e=mo();return({key:t})=>ho(e.current,e.current.getState().currentTree,t)};const{reactMode:bo}=Q,{RecoilRoot:yo,useStoreRef:go}=er,{useMemo:_o}=o.a;var Oo=function(){"MUTABLE_SOURCE"===bo().mode&&console.warn("Warning: There are known issues using useRecoilBridgeAcrossReactRoots() in recoil_mutable_source rendering mode. Please consider upgrading to recoil_sync_external_store mode.");const e=go().current;return _o(()=>function({children:t}){return o.a.createElement(yo,{store_INTERNAL:e},t)},[e])};const{loadableWithValue:So}=I,{initializeNode:Eo}=We,{DEFAULT_VALUE:wo,getNode:Co}=ue,{copyTreeState:To,getRecoilValueAsLoadable:Ao,invalidateDownstreams:jo,writeLoadableToTreeState:ko}=vt;function Io(e){return"atom"===Co(e.key).nodeType}class No{constructor(e,t){u(this,"_store",void 0),u(this,"_treeState",void 0),u(this,"_changes",void 0),u(this,"get",e=>{if(this._changes.has(e.key))return this._changes.get(e.key);if(!Io(e))throw s("Reading selectors within atomicUpdate is not supported");const t=Ao(this._store,e,this._treeState);if("hasValue"===t.state)return t.contents;throw"hasError"===t.state?t.contents:s(`Expected Recoil atom ${e.key} to have a value, but it is in a loading state.`)}),u(this,"set",(e,t)=>{if(!Io(e))throw s("Setting selectors within atomicUpdate is not supported");if("function"==typeof t){const n=this.get(e);this._changes.set(e.key,t(n))}else Eo(this._store,e.key,"set"),this._changes.set(e.key,t)}),u(this,"reset",e=>{this.set(e,wo)}),this._store=e,this._treeState=t,this._changes=new Map}newTreeState_INTERNAL(){if(0===this._changes.size)return this._treeState;const e=To(this._treeState);for(const[t,n]of this._changes)ko(e,t,So(n));return jo(this._store,e),e}}var xo=function(e){return t=>{e.replaceState(n=>{const r=new No(e,n);return t(r),r.newTreeState_INTERNAL()})}},Ro=Object.freeze({__proto__:null,atomicUpdater:xo});var Do=function(e,t){if(!e)throw new Error(t)};const{atomicUpdater:Mo}=Ro,{batchUpdates:Lo}=Lt,{DEFAULT_VALUE:Po}=ue,{useStoreRef:Fo}=er,{refreshRecoilValue:Bo,setRecoilValue:Uo}=vt,{cloneSnapshot:Vo}=bn,{gotoSnapshot:qo}=po,{useCallback:zo}=o.a;class Qo{}const $o=new Qo;function Wo(e,t,n,r){let o,a=$o;var i;(Lo(()=>{const i="useRecoilCallback() expects a function that returns a function: it accepts a function of the type (RecoilInterface) => (Args) => ReturnType and returns a callback function (Args) => ReturnType, where RecoilInterface is an object {snapshot, set, ...} and Args and ReturnType are the argument and return types of the callback you want to create. Please see the docs at recoiljs.org for details.";if("function"!=typeof t)throw s(i);const l=Me({...null!=r?r:{},set:(t,n)=>Uo(e,t,n),reset:t=>Uo(e,t,Po),refresh:t=>Bo(e,t),gotoSnapshot:t=>qo(e,t),transact_UNSTABLE:t=>Mo(e)(t)},{snapshot:()=>{const t=Vo(e);return o=t.retain(),t}}),c=t(l);if("function"!=typeof c)throw s(i);a=c(...n)}),a instanceof Qo&&Do(!1),l(a))?a=a.finally(()=>{var e;null===(e=o)||void 0===e||e()}):null===(i=o)||void 0===i||i();return a}var Ho={recoilCallback:Wo,useRecoilCallback:function(e,t){const n=Fo();return zo((...t)=>Wo(n.current,e,t),null!=t?[...t,n]:void 0)}};const{useStoreRef:Ko}=er,{refreshRecoilValue:Go}=vt,{useCallback:Yo}=o.a;var Xo=function(e){const t=Ko();return Yo(()=>{const n=t.current;Go(n,e)},[e,t])};const{atomicUpdater:Jo}=Ro,{useStoreRef:Zo}=er,{useMemo:ea}=o.a;var ta=function(e,t){const n=Zo();return ea(()=>(...t)=>{Jo(n.current)(n=>{e(n)(...t)})},null!=t?[...t,n]:void 0)};var na=class{constructor(e){u(this,"value",void 0),this.value=e}},ra=Object.freeze({__proto__:null,WrappedValue:na});const{isFastRefreshEnabled:oa}=Q;class aa extends Error{}var ia=class{constructor(e){var t,n,r;u(this,"_name",void 0),u(this,"_numLeafs",void 0),u(this,"_root",void 0),u(this,"_onHit",void 0),u(this,"_onSet",void 0),u(this,"_mapNodeValue",void 0),this._name=null==e?void 0:e.name,this._numLeafs=0,this._root=null,this._onHit=null!==(t=null==e?void 0:e.onHit)&&void 0!==t?t:()=>{},this._onSet=null!==(n=null==e?void 0:e.onSet)&&void 0!==n?n:()=>{},this._mapNodeValue=null!==(r=null==e?void 0:e.mapNodeValue)&&void 0!==r?r:e=>e}size(){return this._numLeafs}root(){return this._root}get(e,t){var n;return null===(n=this.getLeafNode(e,t))||void 0===n?void 0:n.value}getLeafNode(e,t){if(null==this._root)return;let n=this._root;for(;n;){if(null==t||t.onNodeVisit(n),"leaf"===n.type)return this._onHit(n),n;const r=this._mapNodeValue(e(n.nodeKey));n=n.branches.get(r)}}set(e,t,n){const r=()=>{var r,o,a,i;let s,l;for(const[t,r]of e){var c,u,d;const e=this._root;if("leaf"===(null==e?void 0:e.type))throw this.invalidCacheError();const o=s;if(s=o?o.branches.get(l):e,s=null!==(c=s)&&void 0!==c?c:{type:"branch",nodeKey:t,parent:o,branches:new Map,branchKey:l},"branch"!==s.type||s.nodeKey!==t)throw this.invalidCacheError();null==o||o.branches.set(l,s),null==n||null===(u=n.onNodeVisit)||void 0===u||u.call(n,s),l=this._mapNodeValue(r),this._root=null!==(d=this._root)&&void 0!==d?d:s}const f=s?null===(r=s)||void 0===r?void 0:r.branches.get(l):this._root;if(null!=f&&("leaf"!==f.type||f.branchKey!==l))throw this.invalidCacheError();const p={type:"leaf",value:t,parent:s,branchKey:l};null===(o=s)||void 0===o||o.branches.set(l,p),this._root=null!==(a=this._root)&&void 0!==a?a:p,this._numLeafs++,this._onSet(p),null==n||null===(i=n.onNodeVisit)||void 0===i||i.call(n,p)};try{r()}catch(e){if(!(e instanceof aa))throw e;this.clear(),r()}}delete(e){const t=this.root();if(!t)return!1;if(e===t)return this._root=null,this._numLeafs=0,!0;let n=e.parent,r=e.branchKey;for(;n;){var o;if(n.branches.delete(r),n===t)return 0===n.branches.size?(this._root=null,this._numLeafs=0):this._numLeafs--,!0;if(n.branches.size>0)break;r=null===(o=n)||void 0===o?void 0:o.branchKey,n=n.parent}for(;n!==t;n=n.parent)if(null==n)return!1;return this._numLeafs--,!0}clear(){this._numLeafs=0,this._root=null}invalidCacheError(){const e=oa()?"Possible Fast Refresh module reload detected. This may also be caused by an selector returning inconsistent values. Resetting cache.":"Invalid cache values. This happens when selectors do not return consistent values for the same input dependency values. That may also be caused when using Fast Refresh to change a selector implementation. Resetting cache.";throw B(e+(null!=this._name?" - "+this._name:"")),new aa}},sa=Object.freeze({__proto__:null,TreeCache:ia});var la=class{constructor(e){var t;u(this,"_maxSize",void 0),u(this,"_size",void 0),u(this,"_head",void 0),u(this,"_tail",void 0),u(this,"_map",void 0),u(this,"_keyMapper",void 0),this._maxSize=e.maxSize,this._size=0,this._head=null,this._tail=null,this._map=new Map,this._keyMapper=null!==(t=e.mapKey)&&void 0!==t?t:e=>e}head(){return this._head}tail(){return this._tail}size(){return this._size}maxSize(){return this._maxSize}has(e){return this._map.has(this._keyMapper(e))}get(e){const t=this._keyMapper(e),n=this._map.get(t);if(n)return this.set(e,n.value),n.value}set(e,t){const n=this._keyMapper(e);this._map.get(n)&&this.delete(e);const r=this.head(),o={key:e,right:r,left:null,value:t};r?r.left=o:this._tail=o,this._map.set(n,o),this._head=o,this._size++,this._maybeDeleteLRU()}_maybeDeleteLRU(){this.size()>this.maxSize()&&this.deleteLru()}deleteLru(){const e=this.tail();e&&this.delete(e.key)}delete(e){const t=this._keyMapper(e);if(!this._size||!this._map.has(t))return;const n=c(this._map.get(t)),r=n.right,o=n.left;r&&(r.left=n.left),o&&(o.right=n.right),n===this.head()&&(this._head=r),n===this.tail()&&(this._tail=o),this._map.delete(t),this._size--}clear(){this._size=0,this._head=null,this._tail=null,this._map=new Map}},ca=Object.freeze({__proto__:null,LRUCache:la});const{LRUCache:ua}=ca,{TreeCache:da}=sa;var fa=function({name:e,maxSize:t,mapNodeValue:n=(e=>e)}){const r=new ua({maxSize:t}),o=new da({name:e,mapNodeValue:n,onHit:e=>{r.set(e,!0)},onSet:e=>{const n=r.tail();r.set(e,!0),n&&o.size()>t&&o.delete(n.key)}});return o};var pa=function(e,t={allowFunctions:!1}){return function e(t,n,r){if("string"==typeof t&&!t.includes('"')&&!t.includes("\\"))return`"${t}"`;switch(typeof t){case"undefined":return"";case"boolean":return t?"true":"false";case"number":case"symbol":return String(t);case"string":return JSON.stringify(t);case"function":if(!0!==(null==n?void 0:n.allowFunctions))throw s("Attempt to serialize function in a Recoil cache key");return`__FUNCTION(${t.name})__`}if(null===t)return"null";var o;if("object"!=typeof t)return null!==(o=JSON.stringify(t))&&void 0!==o?o:"";if(l(t))return"__PROMISE__";if(Array.isArray(t))return`[${t.map((t,r)=>e(t,n,r.toString()))}]`;if("function"==typeof t.toJSON)return e(t.toJSON(r),n,r);if(t instanceof Map){const o={};for(const[r,a]of t)o["string"==typeof r?r:e(r,n)]=a;return e(o,n,r)}return t instanceof Set?e(Array.from(t).sort((t,r)=>e(t,n).localeCompare(e(r,n))),n,r):void 0!==Symbol&&null!=t[Symbol.iterator]&&"function"==typeof t[Symbol.iterator]?e(Array.from(t),n,r):`{${Object.keys(t).filter(e=>void 0!==t[e]).sort().map(r=>`${e(r,n)}:${e(t[r],n,r)}`).join(",")}}`}(e,t)};const{TreeCache:ha}=sa,ma={equality:"reference",eviction:"keep-all",maxSize:1/0};var va=function({equality:e=ma.equality,eviction:t=ma.eviction,maxSize:n=ma.maxSize}=ma,r){return function(e,t,n,r){switch(e){case"keep-all":return new ha({name:r,mapNodeValue:n});case"lru":return fa({name:r,maxSize:c(t),mapNodeValue:n});case"most-recent":return fa({name:r,maxSize:1,mapNodeValue:n})}throw s("Unrecognized eviction policy "+e)}(t,n,function(e){switch(e){case"reference":return e=>e;case"value":return e=>pa(e)}throw s("Unrecognized equality policy "+e)}(e),r)};const{isReactNative:ba,isWindow:ya}=Ut;var ga={startPerfBlock:function(e){return()=>null}};const{isLoadable:_a,loadableWithError:Oa,loadableWithPromise:Sa,loadableWithValue:Ea}=I,{WrappedValue:wa}=ra,{getNodeLoadable:Ca,peekNodeLoadable:Ta,setNodeValue:Aa}=We,{saveDepsToStore:ja}=Oe,{DEFAULT_VALUE:ka,getConfigDeletionHandler:Ia,getNode:Na,registerNode:xa}=ue,{isRecoilValue:Ra}=Z,{markRecoilValueModified:Da}=vt,{retainedByOptionWithDefault:Ma}=jt,{recoilCallback:La}=Ho,{startPerfBlock:Pa}=ga;class Fa{}const Ba=new Fa,Ua=[],Va=new Map,qa=(()=>{let e=0;return()=>e++})();function za(e){let t=null;const{key:n,get:r,cachePolicy_UNSTABLE:o}=e,a=null!=e.set?e.set:void 0;const i=new Set,u=va(null!=o?o:{equality:"reference",eviction:"keep-all"},n),d=Ma(e.retainedBy_UNSTABLE),f=new Map;let p=0;function h(){return!M("recoil_memory_managament_2020")||p>0}function m(e){return e.getState().knownSelectors.add(n),p++,()=>{p--}}function v(){return void 0!==Ia(n)&&!h()}function b(e,t,n,r,o){I(t,r,o),y(e,n)}function y(e,t){k(e,t)&&j(e),g(t,!0)}function g(e,n){const r=Va.get(e);if(null!=r){for(const e of r)Da(e,c(t));n&&Va.delete(e)}}function _(e,t){let n=Va.get(t);null==n&&Va.set(t,n=new Set),n.add(e)}function O(e,t,n,r,o,a){return t.then(r=>{if(!h())throw j(e),Ba;null!=a.loadingDepKey&&a.loadingDepPromise===t?n.atomValues.set(a.loadingDepKey,Ea(r)):e.getState().knownSelectors.forEach(e=>{n.atomValues.delete(e)});const i=w(e,n);if(i&&"loading"!==i.state){if((k(e,o)||null==A(e))&&y(e,o),"hasValue"===i.state)return i.contents;throw i.contents}if(!k(e,o)){const t=T(e,n);if(null!=t)return t.loadingLoadable.contents}const[s,l]=E(e,n,o);if("loading"!==s.state&&b(e,n,o,s,l),"hasError"===s.state)throw s.contents;return s.contents}).catch(t=>{if(t instanceof Fa)throw Ba;if(!h())throw j(e),Ba;const a=Oa(t);throw b(e,n,o,a,r),t})}function S(e,t,r,o){var a,s,l,c,u,d,f;(k(e,o)||t.version===(null===(a=e.getState())||void 0===a||null===(s=a.currentTree)||void 0===s?void 0:s.version)||t.version===(null===(l=e.getState())||void 0===l||null===(c=l.nextTree)||void 0===c?void 0:c.version))&&ja(n,r,e,null!==(u=null===(d=e.getState())||void 0===d||null===(f=d.nextTree)||void 0===f?void 0:f.version)&&void 0!==u?u:e.getState().currentTree.version);for(const e of r)i.add(e)}function E(e,o,a){const i=Pa(n);let u=!0,d=!0;const f=()=>{i(),d=!1};let p,m,v=!1;const y={loadingDepKey:null,loadingDepPromise:null},_=new Map;function E({key:t}){const n=Ca(e,o,t);switch(_.set(t,n),u||(S(e,o,new Set(_.keys()),a),function(e,t){if(k(e,t)){c(A(e)).stateVersions.clear(),g(t,!1)}}(e,a)),n.state){case"hasValue":return n.contents;case"hasError":throw n.contents;case"loading":throw y.loadingDepKey=t,y.loadingDepPromise=n.contents,n.contents}throw s("Invalid Loadable state")}const w=n=>(...r)=>{if(d)throw s("Callbacks from getCallback() should only be called asynchronously after the selector is evalutated. It can be used for selectors to return objects with callbacks that can work with Recoil state without a subscription.");return null==t&&Do(!1),La(e,n,r,{node:t})};try{p=r({get:E,getCallback:w}),p=Ra(p)?E(p):p,_a(p)&&("hasError"===p.state&&(v=!0),p=p.contents),l(p)?p=function(e,t,n,r,o,a){return t.then(t=>{if(!h())throw j(e),Ba;const a=Ea(t);return b(e,n,o,a,r),t}).catch(t=>{if(!h())throw j(e),Ba;if(l(t))return O(e,t,n,r,o,a);const i=Oa(t);throw b(e,n,o,i,r),t})}(e,p,o,_,a,y).finally(f):f(),p=p instanceof wa?p.value:p}catch(t){p=t,l(p)?p=O(e,p,o,_,a,y).finally(f):(v=!0,f())}return m=v?Oa(p):l(p)?Sa(p):Ea(p),u=!1,function(e,t,n){if(k(e,t)){const t=A(e);null!=t&&(t.depValuesDiscoveredSoFarDuringAsyncWork=n)}}(e,a,_),S(e,o,new Set(_.keys()),a),[m,_]}function w(e,t){let r=t.atomValues.get(n);if(null!=r)return r;const o=new Set;try{r=u.get(n=>("string"!=typeof n&&Do(!1),Ca(e,t,n).contents),{onNodeVisit:e=>{"branch"===e.type&&e.nodeKey!==n&&o.add(e.nodeKey)}})}catch(e){throw s(`Problem with cache lookup for selector "${n}": ${e.message}`)}var a;r&&(t.atomValues.set(n,r),S(e,t,o,null===(a=A(e))||void 0===a?void 0:a.executionID));return r}function C(e,t){const n=w(e,t);if(null!=n)return j(e),n;const r=T(e,t);var o;if(null!=r)return"loading"===(null===(o=r.loadingLoadable)||void 0===o?void 0:o.state)&&_(e,r.executionID),r.loadingLoadable;const a=qa(),[i,s]=E(e,t,a);return"loading"===i.state?(!function(e,t,n,r,o){f.set(e,{depValuesDiscoveredSoFarDuringAsyncWork:r,executionID:t,loadingLoadable:n,stateVersions:new Map([[o.version,!0]])})}(e,a,i,s,t),_(e,a)):(j(e),I(t,i,s)),i}function T(e,t){const n=Pt([f.has(e)?[c(f.get(e))]:[],te(De(f,([t])=>t!==e),([,e])=>e)]);function r(n){for(const[r,o]of n)if(!Ca(e,t,r).is(o))return!0;return!1}for(const e of n){if(e.stateVersions.get(t.version)||!r(e.depValuesDiscoveredSoFarDuringAsyncWork))return e.stateVersions.set(t.version,!0),e;e.stateVersions.set(t.version,!1)}}function A(e){return f.get(e)}function j(e){f.delete(e)}function k(e,t){var n;return t===(null===(n=A(e))||void 0===n?void 0:n.executionID)}function I(e,t,r){e.atomValues.set(n,t);try{u.set(function(e){return Array.from(e.entries()).map(([e,t])=>[e,t.contents])}(r),t)}catch(e){throw s(`Problem with setting cache for selector "${n}": ${e.message}`)}}function N(e,t){const r=t.atomValues.get(n);return null!=r?r:u.get(n=>{var r;return"string"!=typeof n&&Do(!1),null===(r=Ta(e,t,n))||void 0===r?void 0:r.contents})}function x(e,t){return function(e){if(Ua.includes(n)){const e="Recoil selector has circular dependencies: "+Ua.slice(Ua.indexOf(n)).join(" → ");return Oa(s(e))}Ua.push(n);try{return e()}finally{Ua.pop()}}(()=>C(e,t))}function R(e){e.atomValues.delete(n)}function D(e,n){null==t&&Do(!1);for(const t of i){var r;const o=Na(t);null===(r=o.clearCache)||void 0===r||r.call(o,e,n)}i.clear(),R(n),u.clear(),Da(e,t)}if(null!=a){return t=xa({key:n,nodeType:"selector",peek:N,get:x,set:(e,t,r)=>{let o=!1;const i=new Map;function c({key:r}){if(o)throw s("Recoil: Async selector sets are not currently supported.");const a=Ca(e,t,r);if("hasValue"===a.state)return a.contents;if("loading"===a.state){const e=`Getting value of asynchronous atom or selector "${r}" in a pending state while setting selector "${n}" is not yet supported.`;throw B(e),s(e)}throw a.contents}function u(n,r){if(o){const e="Recoil: Async selector sets are not currently supported.";throw B(e),s(e)}const a="function"==typeof r?r(c(n)):r;Aa(e,t,n.key,a).forEach((e,t)=>i.set(t,e))}const d=a({set:u,get:c,reset:function(e){u(e,ka)}},r);if(void 0!==d)throw l(d)?s("Recoil: Async selector sets are not currently supported."):s("Recoil: selector set should be a void function.");return o=!0,i},init:m,invalidate:R,clearCache:D,shouldDeleteConfigOnRelease:v,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:d})}return t=xa({key:n,nodeType:"selector",peek:N,get:x,init:m,invalidate:R,clearCache:D,shouldDeleteConfigOnRelease:v,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:d})}za.value=e=>new wa(e);var Qa=za;const{isLoadable:$a,loadableWithError:Wa,loadableWithPromise:Ha,loadableWithValue:Ka}=I,{WrappedValue:Ga}=ra,{peekNodeInfo:Ya}=We,{DEFAULT_VALUE:Xa,DefaultValue:Ja,getConfigDeletionHandler:Za,registerNode:ei,setConfigDeletionHandler:ti}=ue,{isRecoilValue:ni}=Z,{getRecoilValueAsLoadable:ri,markRecoilValueModified:oi,setRecoilValue:ai,setRecoilValueLoadable:ii}=vt,{retainedByOptionWithDefault:si}=jt,li=e=>e instanceof Ga?e.value:e;function ci(e){const{key:t,persistence_UNSTABLE:n}=e,r=si(e.retainedBy_UNSTABLE);let o=0;function a(e){return Ha(e.then(e=>(i=Ka(e),e)).catch(e=>{throw i=Wa(e),e}))}let i=l(e.default)?a(e.default):$a(e.default)?"loading"===e.default.state?a(e.default.contents):e.default:Ka(li(e.default));f(i.contents);let u=void 0;const d=new Map;function f(e){return e}function p(e,n){var r,o;return null!==(r=null!==(o=n.atomValues.get(t))&&void 0!==o?o:u)&&void 0!==r?r:i}const h=ei({key:t,nodeType:"atom",peek:p,get:function(e,r){if(r.atomValues.has(t))return c(r.atomValues.get(t));if(r.nonvalidatedAtoms.has(t)){if(null!=u)return u;if(null==n)return ee(`Tried to restore a persisted value for atom ${t} but it has no persistence settings.`),i;const e=r.nonvalidatedAtoms.get(t),o=n.validator(e,Xa),a=o instanceof Ja?i:Ka(o);return u=a,u}return i},set:function(e,n,r){if(n.atomValues.has(t)){const e=c(n.atomValues.get(t));if("hasValue"===e.state&&r===e.contents)return new Map}else if(!n.nonvalidatedAtoms.has(t)&&r instanceof Ja)return new Map;return u=void 0,(new Map).set(t,Ka(r))},init:function(n,r,a){var c;if(o++,n.getState().knownAtoms.add(t),"loading"===i.state){const e=()=>{var e;(null!==(e=n.getState().nextTree)&&void 0!==e?e:n.getState().currentTree).atomValues.has(t)||oi(n,h)};i.contents.finally(e)}const u=null!==(c=e.effects)&&void 0!==c?c:e.effects_UNSTABLE;if(null!=u){let e=Xa,o=!0,c=!1,g=null;function f(a){if(o&&a.key===t){const t=e;return t instanceof Ja?p(n,r):l(t)?Ha(t.then(e=>e instanceof Ja?i.toPromise():e)):Ka(t)}return ri(n,a)}function m(e){return f(e).toPromise()}function v(r){var a;const i=Ya(n,null!==(a=n.getState().nextTree)&&void 0!==a?a:n.getState().currentTree,r.key);return!o||r.key!==t||e instanceof Ja?i:{...i,isSet:!0,loadable:f(r)}}const _=t=>r=>{if(o){const n=f(h),o="hasValue"===n.state?n.contents:Xa;e="function"==typeof r?r(o):r,l(e)&&(e=e.then(e=>(g={effect:t,value:e},e)))}else{if(l(r))throw s("Setting atoms to async values is not implemented.");"function"!=typeof r&&(g={effect:t,value:li(r)}),ai(n,h,"function"==typeof r?e=>{const n=li(r(e));return g={effect:t,value:n},n}:li(r))}},O=e=>()=>_(e)(Xa),S=e=>r=>{var o;const{release:a}=n.subscribeToTransactions(n=>{var o;let{currentTree:a,previousTree:s}=n.getState();s||(B("Transaction subscribers notified without a next tree being present -- this is a bug in Recoil"),s=a);const l=null!==(o=a.atomValues.get(t))&&void 0!==o?o:i;if("hasValue"===l.state){var c,u,d,f;const n=l.contents,o=null!==(c=s.atomValues.get(t))&&void 0!==c?c:i,p="hasValue"===o.state?o.contents:Xa;(null===(u=g)||void 0===u?void 0:u.effect)!==e||(null===(d=g)||void 0===d?void 0:d.value)!==n?r(n,p,!a.atomValues.has(t)):(null===(f=g)||void 0===f?void 0:f.effect)===e&&(g=null)}},t);d.set(n,[...null!==(o=d.get(n))&&void 0!==o?o:[],a])};for(const t of u)try{const e=t({node:h,storeID:n.storeID,parentStoreID_UNSTABLE:n.parentStoreID,trigger:a,setSelf:_(t),resetSelf:O(t),onSet:S(t),getPromise:m,getLoadable:f,getInfo_UNSTABLE:v});var b;if(null!=e)d.set(n,[...null!==(b=d.get(n))&&void 0!==b?b:[],e])}catch(t){e=t,c=!0}if(o=!1,!(e instanceof Ja)){var y;const o=c?Wa(e):l(e)?Ha(function(e,n){const r=n.then(n=>{var o,a;return(null===(a=(null!==(o=e.getState().nextTree)&&void 0!==o?o:e.getState().currentTree).atomValues.get(t))||void 0===a?void 0:a.contents)===r&&ai(e,h,n),n}).catch(n=>{var o,a;throw(null===(a=(null!==(o=e.getState().nextTree)&&void 0!==o?o:e.getState().currentTree).atomValues.get(t))||void 0===a?void 0:a.contents)===r&&ii(e,h,Wa(n)),n});return r}(n,e)):Ka(li(e));o.contents,r.atomValues.set(t,o),null===(y=n.getState().nextTree)||void 0===y||y.atomValues.set(t,o)}}return()=>{var e;o--,null===(e=d.get(n))||void 0===e||e.forEach(e=>e()),d.delete(n)}},invalidate:function(){u=void 0},shouldDeleteConfigOnRelease:function(){return void 0!==Za(t)&&o<=0},dangerouslyAllowMutability:e.dangerouslyAllowMutability,persistence_UNSTABLE:e.persistence_UNSTABLE?{type:e.persistence_UNSTABLE.type,backButton:e.persistence_UNSTABLE.backButton}:void 0,shouldRestoreFromSnapshots:!0,retainedBy:r});return h}function ui(e){const{...t}=e,n="default"in e?e.default:new Promise(()=>{});return ni(n)?function(e){const t=ui({...e,default:Xa,persistence_UNSTABLE:void 0===e.persistence_UNSTABLE?void 0:{...e.persistence_UNSTABLE,validator:t=>t instanceof Ja?t:c(e.persistence_UNSTABLE).validator(t,Xa)},effects:e.effects,effects_UNSTABLE:e.effects_UNSTABLE}),n=Qa({key:e.key+"__withFallback",get:({get:n})=>{const r=n(t);return r instanceof Ja?e.default:r},set:({set:e},n)=>e(t,n),cachePolicy_UNSTABLE:{eviction:"most-recent"},dangerouslyAllowMutability:e.dangerouslyAllowMutability});return ti(n.key,Za(e.key)),n}({...t,default:n}):ci({...t,default:n})}ui.value=e=>new Ga(e);var di=ui;var fi=class{constructor(e){var t;u(this,"_map",void 0),u(this,"_keyMapper",void 0),this._map=new Map,this._keyMapper=null!==(t=null==e?void 0:e.mapKey)&&void 0!==t?t:e=>e}size(){return this._map.size}has(e){return this._map.has(this._keyMapper(e))}get(e){return this._map.get(this._keyMapper(e))}set(e,t){this._map.set(this._keyMapper(e),t)}delete(e){this._map.delete(this._keyMapper(e))}clear(){this._map.clear()}},pi=Object.freeze({__proto__:null,MapCache:fi});const{LRUCache:hi}=ca,{MapCache:mi}=pi,vi={equality:"reference",eviction:"none",maxSize:1/0};var bi=function({equality:e=vi.equality,eviction:t=vi.eviction,maxSize:n=vi.maxSize}=vi){return function(e,t,n){switch(e){case"keep-all":return new mi({mapKey:n});case"lru":return new hi({mapKey:n,maxSize:c(t)});case"most-recent":return new hi({mapKey:n,maxSize:1})}throw s("Unrecognized eviction policy "+e)}(t,n,function(e){switch(e){case"reference":return e=>e;case"value":return e=>pa(e)}throw s("Unrecognized equality policy "+e)}(e))};const{setConfigDeletionHandler:yi}=ue;var gi=function(e){var t,n;const r=bi({equality:null!==(t=null===(n=e.cachePolicyForParams_UNSTABLE)||void 0===n?void 0:n.equality)&&void 0!==t?t:"value",eviction:"keep-all"});return t=>{var n,o;const a=r.get(t);if(null!=a)return a;const{cachePolicyForParams_UNSTABLE:i,...s}=e,l="default"in e?e.default:new Promise(()=>{}),c=di({...s,key:`${e.key}__${null!==(n=pa(t))&&void 0!==n?n:"void"}`,default:"function"==typeof l?l(t):l,retainedBy_UNSTABLE:"function"==typeof e.retainedBy_UNSTABLE?e.retainedBy_UNSTABLE(t):e.retainedBy_UNSTABLE,effects:"function"==typeof e.effects?e.effects(t):"function"==typeof e.effects_UNSTABLE?e.effects_UNSTABLE(t):null!==(o=e.effects)&&void 0!==o?o:e.effects_UNSTABLE});return r.set(t,c),yi(c.key,()=>{r.delete(t)}),c}};const{setConfigDeletionHandler:_i}=ue;let Oi=0;var Si=function(e){var t,n;const r=bi({equality:null!==(t=null===(n=e.cachePolicyForParams_UNSTABLE)||void 0===n?void 0:n.equality)&&void 0!==t?t:"value",eviction:"keep-all"});return t=>{var n;let o;try{o=r.get(t)}catch(t){throw s(`Problem with cache lookup for selector ${e.key}: ${t.message}`)}if(null!=o)return o;const a=`${e.key}__selectorFamily/${null!==(n=pa(t,{allowFunctions:!0}))&&void 0!==n?n:"void"}/${Oi++}`,i=n=>e.get(t)(n),l=e.cachePolicy_UNSTABLE,c="function"==typeof e.retainedBy_UNSTABLE?e.retainedBy_UNSTABLE(t):e.retainedBy_UNSTABLE;let u;if(null!=e.set){const n=e.set;u=Qa({key:a,get:i,set:(e,r)=>n(t)(e,r),cachePolicy_UNSTABLE:l,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:c})}else u=Qa({key:a,get:i,cachePolicy_UNSTABLE:l,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:c});return r.set(t,u),_i(u.key,()=>{r.delete(t)}),u}};const Ei=Si({key:"__constant",get:e=>()=>e,cachePolicyForParams_UNSTABLE:{equality:"reference"}});var wi=function(e){return Ei(e)};const Ci=Si({key:"__error",get:e=>()=>{throw s(e)},cachePolicyForParams_UNSTABLE:{equality:"reference"}});var Ti=function(e){return Ci(e)};var Ai=function(e){return e};const{loadableWithError:ji,loadableWithPromise:ki,loadableWithValue:Ii}=I;function Ni(e,t){const n=Array(t.length).fill(void 0),r=Array(t.length).fill(void 0);for(const[o,a]of t.entries())try{n[o]=e(a)}catch(e){r[o]=e}return[n,r]}function xi(e){return null!=e&&!l(e)}function Ri(e){return Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(t=>e[t])}function Di(e,t){return Array.isArray(e)?t:Object.getOwnPropertyNames(e).reduce((e,n,r)=>({...e,[n]:t[r]}),{})}function Mi(e,t,n){return Di(e,n.map((e,n)=>null==e?Ii(t[n]):l(e)?ki(e):ji(e)))}var Li={waitForNone:Si({key:"__waitForNone",get:e=>({get:t})=>{const n=Ri(e),[r,o]=Ni(t,n);return Mi(e,r,o)},dangerouslyAllowMutability:!0}),waitForAny:Si({key:"__waitForAny",get:e=>({get:t})=>{const n=Ri(e),[r,o]=Ni(t,n);return o.some(e=>!l(e))?Mi(e,r,o):new Promise(t=>{for(const[n,a]of o.entries())l(a)&&a.then(a=>{r[n]=a,o[n]=void 0,t(Mi(e,r,o))}).catch(a=>{o[n]=a,t(Mi(e,r,o))})})},dangerouslyAllowMutability:!0}),waitForAll:Si({key:"__waitForAll",get:e=>({get:t})=>{const n=Ri(e),[r,o]=Ni(t,n);if(o.every(e=>null==e))return Di(e,r);const a=o.find(xi);if(null!=a)throw a;return Promise.all(o).then(t=>{return Di(e,(n=r,t.map((e,t)=>void 0===e?n[t]:e)));var n})},dangerouslyAllowMutability:!0}),waitForAllSettled:Si({key:"__waitForAllSettled",get:e=>({get:t})=>{const n=Ri(e),[r,o]=Ni(t,n);return o.every(e=>!l(e))?Mi(e,r,o):Promise.all(o.map((e,t)=>l(e)?e.then(e=>{r[t]=e,o[t]=void 0}).catch(e=>{r[t]=void 0,o[t]=e}):null)).then(()=>Mi(e,r,o))},dangerouslyAllowMutability:!0}),noWait:Si({key:"__noWait",get:e=>({get:t})=>{try{return Qa.value(Ii(t(e)))}catch(e){return Qa.value(l(e)?ki(e):ji(e))}},dangerouslyAllowMutability:!0})};const{RecoilLoadable:Pi}=I,{DefaultValue:Fi}=ue,{RecoilRoot:Bi,useRecoilStoreID:Ui}=er,{isRecoilValue:Vi}=Z,{retentionZone:qi}=xe,{freshSnapshot:zi}=bn,{useRecoilState:Qi,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:$i,useRecoilStateLoadable:Wi,useRecoilValue:Hi,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:Ki,useRecoilValueLoadable:Gi,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:Yi,useResetRecoilState:Xi,useSetRecoilState:Ji}=$r,{useGotoRecoilSnapshot:Zi,useRecoilSnapshot:es,useRecoilTransactionObserver:ts}=po,{useRecoilCallback:ns}=Ho,{noWait:rs,waitForAll:os,waitForAllSettled:as,waitForAny:is,waitForNone:ss}=Li;var ls={DefaultValue:Fi,isRecoilValue:Vi,RecoilLoadable:Pi,RecoilEnv:R,RecoilRoot:Bi,useRecoilStoreID:Ui,useRecoilBridgeAcrossReactRoots_UNSTABLE:Oo,atom:di,selector:Qa,atomFamily:gi,selectorFamily:Si,constSelector:wi,errorSelector:Ti,readOnlySelector:Ai,noWait:rs,waitForNone:ss,waitForAny:is,waitForAll:os,waitForAllSettled:as,useRecoilValue:Hi,useRecoilValueLoadable:Gi,useRecoilState:Qi,useRecoilStateLoadable:Wi,useSetRecoilState:Ji,useResetRecoilState:Xi,useGetRecoilValueInfo_UNSTABLE:vo,useRecoilRefresher_UNSTABLE:Xo,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:Yi,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:Ki,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:$i,useRecoilCallback:ns,useRecoilTransaction_UNSTABLE:ta,useGotoRecoilSnapshot:Zi,useRecoilSnapshot:es,useRecoilTransactionObserver_UNSTABLE:ts,snapshot_UNSTABLE:zi,useRetain:fr,retentionZone:qi},cs=ls.RecoilRoot,us=ls.atom,ds=ls.selector,fs=ls.atomFamily,ps=ls.selectorFamily,hs=ls.useRecoilValue,ms=ls.useRecoilState,vs=ls.useSetRecoilState}).call(this,n(99))},function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return a})),n.d(t,"e",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"f",(function(){return c})); /*! ***************************************************************************** Copyright (c) Microsoft Corporation. @@ -13,7 +13,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ -var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]-1}))}function s(e){return e&&i(["client"],e)&&i(["export"],e)}var l=n(2);function c(e,t){var n=t,r=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw new o.a(42);"FragmentDefinition"===e.kind&&r.push(e)})),void 0===n&&(Object(o.b)(1===r.length,43),n=r[0].name.value),Object(l.a)(Object(l.a)({},e),{definitions:Object(l.f)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions)})}function u(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function d(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var n=t&&t[e.name.value];return Object(o.b)(n,44),n;default:return null}}var f=n(136),p=n.n(f);function h(e){return{__ref:String(e)}}function m(e){return Boolean(e&&"object"==typeof e&&"string"==typeof e.__ref)}function v(e,t,n,r){if(function(e){return"IntValue"===e.kind}(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var a={};n.fields.map((function(e){return v(a,e.name,e.value,r)})),e[t.value]=a}else if(function(e){return"Variable"===e.kind}(n)){var i=(r||{})[n.name.value];e[t.value]=i}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map((function(e){var n={};return v(n,t,e,r),n[t.value]}));else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw new o.a(53);e[t.value]=null}}function b(e,t){var n=null;e.directives&&(n={},e.directives.forEach((function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach((function(r){var o=r.name,a=r.value;return v(n[e.name.value],o,a,t)}))})));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach((function(e){var n=e.name,o=e.value;return v(r,n,o,t)}))),g(e.name.value,r,n)}var y=["connection","include","skip","client","rest","export"];function g(e,t,n){if(t&&n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var o={};return r.forEach((function(e){o[e]=t[e]})),n.connection.key+"("+JSON.stringify(o)+")"}return n.connection.key}var a=e;if(t){var i=p()(t);a+="("+i+")"}return n&&Object.keys(n).forEach((function(e){-1===y.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?a+="@"+e+"("+JSON.stringify(n[e])+")":a+="@"+e)})),a}function _(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach((function(e){var r=e.name,o=e.value;return v(n,r,o,t)})),n}return null}function O(e){return e.alias?e.alias.value:e.name.value}function S(e,t,n){if("string"==typeof e.__typename)return e.__typename;for(var r=0,o=t.selections;r1)for(var r=new H,o=1;o0}function ie(e){return e.errors&&e.errors.length>0||!1}ne(oe);var se="function"==typeof WeakMap&&!("object"==typeof navigator&&"ReactNative"===navigator.product);function le(){for(var e=[],t=0;te(o).map(e=>({assetId:e.id,assetSourceId:e.assetSource.id}))}),i=Object(r.b)({key:"ConstraintsState",default:{assetSources:[],mediaTypes:[]}});var s=n(22);const l=Object(r.b)({key:"currentPageState",default:1,effects:[Object(s.a)("currentPageState",e=>isNaN(e)?1:e)]}),c=Object(r.b)({key:"FeatureFlagsState",default:{useNewMediaSelection:!0,queryAssetUsage:!1,pollForChanges:!0,showSimilarAssets:!1,showVariantsEditor:!1,createAssetRedirectsOption:!0,pagination:{assetsPerPage:20,maximumLinks:5},propertyEditor:{collapsed:!1},limitToSingleAssetCollectionPerAsset:!0,mediaTypeFilterOptions:{all:{},image:{},video:{},document:{},audio:{}}}}),u=Object(r.b)({key:"InitialLoadCompleteState",default:!1}),d=Object(r.b)({key:"loadingState",default:!1});var f=n(53);const p=Object(r.b)({key:"searchTermState",default:f.a.fromString(""),effects:[Object(s.a)("searchTermState",({value:e})=>{const t=f.a.fromString(e);return t.empty()?void 0:t})]});var h=n(14),m=n(12),v=n(20);const b=Object(r.b)({key:"applicationContext",default:"browser"}),y=Object(r.c)({key:"selectedInspectorViewForContextState",default:null,effects:e=>[Object(s.a)("selectedInspectorViewState",void 0,e)]}),g=Object(r.d)({key:"selectedInspectorViewState",get:({get:e})=>e(y(e(b))),set:({get:e,set:t},n)=>t(y(e(b)),n)}),_=Object(r.c)({key:"selectedAssetIdForContextState",default:null,effects:e=>[Object(s.a)("selectedAssetIdForContextState",void 0,e)]}),O=Object(r.d)({key:"selectedAssetIdState",get:({get:e})=>e(_(e(b))),set:({get:e,set:t},n)=>t(_(e(b)),n)}),S=Object(r.d)({key:"SelectedTagIdProxySelector",get:({get:e})=>({tagId:e(h.c),assetCollectionId:e(m.f)}),set:({set:e},t)=>{e(g,t.tagId?"tag":"assetCollection"),e(h.c,t.tagId),e(O,null),e(l,1),e(m.f,t.assetCollectionId),e(v.f,!1)}}),E=Object(r.b)({key:"selectedMediaTypeState",default:"",effects:[Object(s.a)("selectedMediaTypeState")]}),w=Object(r.b)({key:"selectedAssetTypeInternalState",default:"",effects:[Object(s.a)("selectedAssetTypeState")]}),C=Object(r.d)({key:"selectedAssetTypeState",get:({get:e})=>{const t=e(w),n=e(i);return(null==n?void 0:n.assetType)?n.assetType:t},set:({get:e,set:t},n)=>{const r=e(i);(null==r?void 0:r.assetType)&&r.assetType!==n&&(n=r.assetType),t(w,n)}});var T=n(31)},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return d}));var r=n(134),o=Object.setPrototypeOf,a=void 0===o?function(e,t){return e.__proto__=t,e}:o,i=function(e){function t(n){void 0===n&&(n="Invariant Violation");var r=e.call(this,"number"==typeof n?"Invariant Violation: "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name="Invariant Violation",a(r,t.prototype),r}return Object(r.a)(t,e),t}(Error);function s(e,t){if(!e)throw new i(t)}var l=["log","warn","error","silent"],c=l.indexOf("log");function u(e){return function(){if(l.indexOf(e)>=c)return console[e].apply(console,arguments)}}function d(e){var t=l[c];return c=Math.max(0,l.indexOf(e)),t}!function(e){e.log=u("log"),e.warn=u("warn"),e.error=u("error")}(s||(s={}));"object"==typeof e&&e.env}).call(this,n(97))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r.a})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return S})),n.d(t,"f",(function(){return E})),n.d(t,"g",(function(){return w})),n.d(t,"h",(function(){return T})),n.d(t,"i",(function(){return A})),n.d(t,"j",(function(){return j})),n.d(t,"k",(function(){return k})),n.d(t,"l",(function(){return I}));var r=n(84),o=n(4),a=n(37);function i(e){const{data:t,loading:n,refetch:r}=Object(o.useQuery)(a.a,{variables:{id:null==e?void 0:e.assetId,assetSourceId:null==e?void 0:e.assetSourceId},skip:!e});return{asset:(null==t?void 0:t.asset)||null,loading:n,refetch:r}}var s=n(0),l=n(1),c=n(14),u=n(12),d=n(23),f=n(7);var p=()=>{const{pagination:{assetsPerPage:e}}=Object(l.g)(f.f),t=Object(l.g)(f.j),n=Object(l.g)(u.f),r=Object(l.g)(d.d),i=Object(l.g)(c.c),p=Object(l.g)(f.o),h=Object(l.g)(f.m),m=Object(l.g)(f.p),v=Object(l.g)(f.e),b=Object(l.h)(f.h),y=Object(l.h)(f.g),[g,_]=Object(l.f)(f.c),O=(v-1)*e,[S,{loading:E,error:w,data:C,refetch:T}]=Object(o.useLazyQuery)(a.b,{notifyOnNetworkStatusChange:!1,variables:{searchTerm:t.toString(),assetSourceId:r,assetCollectionId:n,assetType:h,mediaType:p,tagId:i,limit:e,offset:O,sortBy:m.sortBy,sortDirection:m.sortDirection}});return Object(s.useEffect)(()=>{E||(S({variables:{searchTerm:t.toString(),assetSourceId:r,assetCollectionId:n,assetType:h,mediaType:p,tagId:i,limit:e,offset:O,sortBy:m.sortBy,sortDirection:m.sortDirection}}),b(!0))},[S,E,O,t,r,n,p,i,m,h,e,b]),Object(s.useEffect)(()=>{!E&&C&&(_(e=>C&&JSON.stringify(e)==JSON.stringify(C.assets)?e:C.assets||[]),b(!1),y(!0))},[E,C,_,y,b]),{error:w,assets:g,refetch:T}};var h=()=>{const{data:e,loading:t}=Object(o.useQuery)(a.d);return{config:null==e?void 0:e.config,loading:t}};var m=o.gql` +`;n(38),n(11),n(48)},function(e,t,n){"use strict";n.d(t,"L",(function(){return a})),n.d(t,"y",(function(){return i})),n.d(t,"x",(function(){return s})),n.d(t,"k",(function(){return u})),n.d(t,"p",(function(){return c})),n.d(t,"o",(function(){return d})),n.d(t,"r",(function(){return T})),n.d(t,"s",(function(){return A})),n.d(t,"n",(function(){return j})),n.d(t,"t",(function(){return k})),n.d(t,"q",(function(){return I})),n.d(t,"m",(function(){return N})),n.d(t,"E",(function(){return h})),n.d(t,"C",(function(){return m})),n.d(t,"z",(function(){return E})),n.d(t,"A",(function(){return w})),n.d(t,"M",(function(){return b})),n.d(t,"e",(function(){return _})),n.d(t,"K",(function(){return O})),n.d(t,"u",(function(){return g})),n.d(t,"v",(function(){return S})),n.d(t,"d",(function(){return P})),n.d(t,"g",(function(){return U})),n.d(t,"J",(function(){return B})),n.d(t,"I",(function(){return V})),n.d(t,"c",(function(){return G.a})),n.d(t,"G",(function(){return z})),n.d(t,"H",(function(){return Q})),n.d(t,"b",(function(){return H})),n.d(t,"i",(function(){return J})),n.d(t,"F",(function(){return Z})),n.d(t,"D",(function(){return ee})),n.d(t,"f",(function(){return te})),n.d(t,"a",(function(){return oe})),n.d(t,"l",(function(){return ne})),n.d(t,"B",(function(){return ae})),n.d(t,"w",(function(){return ie})),n.d(t,"h",(function(){return se})),n.d(t,"j",(function(){return le}));var r=n(136),o=n(8);function a(e,t){var n=e.directives;return!n||!n.length||function(e){var t=[];e&&e.length&&e.forEach((function(e){if("skip"===(n=e.name.value)||"include"===n){var n,r=e.arguments;e.name.value;Object(o.b)(r&&1===r.length,39);var a=r[0];Object(o.b)(a.name&&"if"===a.name.value,40);var i=a.value;Object(o.b)(i&&("Variable"===i.kind||"BooleanValue"===i.kind),41),t.push({directive:e,ifArgument:a})}}));return t}(n).every((function(e){var n=e.directive,r=e.ifArgument,a=!1;return"Variable"===r.value.kind?(a=t&&t[r.value.name.value],Object(o.b)(void 0!==a,38)):a=r.value.value,"skip"===n.name.value?!a:a}))}function i(e,t){return function(e){var t=[];return Object(r.b)(e,{Directive:function(e){t.push(e.name.value)}}),t}(t).some((function(t){return e.indexOf(t)>-1}))}function s(e){return e&&i(["client"],e)&&i(["export"],e)}var l=n(2);function c(e,t){var n=t,r=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw new o.a(42);"FragmentDefinition"===e.kind&&r.push(e)})),void 0===n&&(Object(o.b)(1===r.length,43),n=r[0].name.value),Object(l.a)(Object(l.a)({},e),{definitions:Object(l.f)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions)})}function u(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function d(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var n=t&&t[e.name.value];return Object(o.b)(n,44),n;default:return null}}var f=n(137),p=n.n(f);function h(e){return{__ref:String(e)}}function m(e){return Boolean(e&&"object"==typeof e&&"string"==typeof e.__ref)}function v(e,t,n,r){if(function(e){return"IntValue"===e.kind}(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var a={};n.fields.map((function(e){return v(a,e.name,e.value,r)})),e[t.value]=a}else if(function(e){return"Variable"===e.kind}(n)){var i=(r||{})[n.name.value];e[t.value]=i}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map((function(e){var n={};return v(n,t,e,r),n[t.value]}));else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw new o.a(53);e[t.value]=null}}function b(e,t){var n=null;e.directives&&(n={},e.directives.forEach((function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach((function(r){var o=r.name,a=r.value;return v(n[e.name.value],o,a,t)}))})));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach((function(e){var n=e.name,o=e.value;return v(r,n,o,t)}))),g(e.name.value,r,n)}var y=["connection","include","skip","client","rest","export"];function g(e,t,n){if(t&&n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var o={};return r.forEach((function(e){o[e]=t[e]})),n.connection.key+"("+JSON.stringify(o)+")"}return n.connection.key}var a=e;if(t){var i=p()(t);a+="("+i+")"}return n&&Object.keys(n).forEach((function(e){-1===y.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?a+="@"+e+"("+JSON.stringify(n[e])+")":a+="@"+e)})),a}function _(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach((function(e){var r=e.name,o=e.value;return v(n,r,o,t)})),n}return null}function O(e){return e.alias?e.alias.value:e.name.value}function S(e,t,n){if("string"==typeof e.__typename)return e.__typename;for(var r=0,o=t.selections;r1)for(var r=new H,o=1;o0}function ie(e){return e.errors&&e.errors.length>0||!1}ne(oe);var se="function"==typeof WeakMap&&!("object"==typeof navigator&&"ReactNative"===navigator.product);function le(){for(var e=[],t=0;te(o).map(e=>({assetId:e.id,assetSourceId:e.assetSource.id}))}),i=Object(r.b)({key:"ConstraintsState",default:{assetSources:[],mediaTypes:[]}});var s=n(22);const l=Object(r.b)({key:"currentPageState",default:1,effects:[Object(s.a)("currentPageState",e=>isNaN(e)?1:e)]}),c=Object(r.b)({key:"FeatureFlagsState",default:{useNewMediaSelection:!0,queryAssetUsage:!1,pollForChanges:!0,showSimilarAssets:!1,showVariantsEditor:!1,createAssetRedirectsOption:!0,pagination:{assetsPerPage:20,maximumLinks:5},propertyEditor:{collapsed:!1},limitToSingleAssetCollectionPerAsset:!0,mediaTypeFilterOptions:{all:{},image:{},video:{},document:{},audio:{}}}}),u=Object(r.b)({key:"InitialLoadCompleteState",default:!1}),d=Object(r.b)({key:"loadingState",default:!1});var f=n(50);const p=Object(r.b)({key:"searchTermState",default:f.a.fromString(""),effects:[Object(s.a)("searchTermState",({value:e})=>{const t=f.a.fromString(e);return t.empty()?void 0:t})]});var h=n(14),m=n(12),v=n(20);const b=Object(r.b)({key:"applicationContext",default:"browser"}),y=Object(r.c)({key:"selectedInspectorViewForContextState",default:null,effects:e=>[Object(s.a)("selectedInspectorViewState",void 0,e)]}),g=Object(r.d)({key:"selectedInspectorViewState",get:({get:e})=>e(y(e(b))),set:({get:e,set:t},n)=>t(y(e(b)),n)}),_=Object(r.c)({key:"selectedAssetIdForContextState",default:null,effects:e=>[Object(s.a)("selectedAssetIdForContextState",void 0,e)]}),O=Object(r.d)({key:"selectedAssetIdState",get:({get:e})=>e(_(e(b))),set:({get:e,set:t},n)=>t(_(e(b)),n)}),S=Object(r.d)({key:"SelectedTagIdProxySelector",get:({get:e})=>({tagId:e(h.c),assetCollectionId:e(m.f)}),set:({set:e},t)=>{e(g,t.tagId?"tag":"assetCollection"),e(h.c,t.tagId),e(O,null),e(l,1),e(m.f,t.assetCollectionId),e(v.f,!1)}}),E=Object(r.b)({key:"selectedMediaTypeState",default:"",effects:[Object(s.a)("selectedMediaTypeState")]}),w=Object(r.b)({key:"selectedAssetTypeInternalState",default:"",effects:[Object(s.a)("selectedAssetTypeState")]}),C=Object(r.d)({key:"selectedAssetTypeState",get:({get:e})=>{const t=e(w),n=e(i);return(null==n?void 0:n.assetType)?n.assetType:t},set:({get:e,set:t},n)=>{const r=e(i);(null==r?void 0:r.assetType)&&r.assetType!==n&&(n=r.assetType),t(w,n)}});var T=n(31)},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return d}));var r=n(135),o=Object.setPrototypeOf,a=void 0===o?function(e,t){return e.__proto__=t,e}:o,i=function(e){function t(n){void 0===n&&(n="Invariant Violation");var r=e.call(this,"number"==typeof n?"Invariant Violation: "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name="Invariant Violation",a(r,t.prototype),r}return Object(r.a)(t,e),t}(Error);function s(e,t){if(!e)throw new i(t)}var l=["log","warn","error","silent"],c=l.indexOf("log");function u(e){return function(){if(l.indexOf(e)>=c)return console[e].apply(console,arguments)}}function d(e){var t=l[c];return c=Math.max(0,l.indexOf(e)),t}!function(e){e.log=u("log"),e.warn=u("warn"),e.error=u("error")}(s||(s={}));"object"==typeof e&&e.env}).call(this,n(99))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r.a})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return S})),n.d(t,"f",(function(){return E})),n.d(t,"g",(function(){return w})),n.d(t,"h",(function(){return T})),n.d(t,"i",(function(){return A})),n.d(t,"j",(function(){return j})),n.d(t,"k",(function(){return k})),n.d(t,"l",(function(){return I}));var r=n(86),o=n(4),a=n(37);function i(e){const{data:t,loading:n,refetch:r}=Object(o.useQuery)(a.a,{variables:{id:null==e?void 0:e.assetId,assetSourceId:null==e?void 0:e.assetSourceId},skip:!e});return{asset:(null==t?void 0:t.asset)||null,loading:n,refetch:r}}var s=n(0),l=n(1),c=n(14),u=n(12),d=n(23),f=n(7);var p=()=>{const{pagination:{assetsPerPage:e}}=Object(l.g)(f.f),t=Object(l.g)(f.j),n=Object(l.g)(u.f),r=Object(l.g)(d.d),i=Object(l.g)(c.c),p=Object(l.g)(f.o),h=Object(l.g)(f.m),m=Object(l.g)(f.p),v=Object(l.g)(f.e),b=Object(l.h)(f.h),y=Object(l.h)(f.g),[g,_]=Object(l.f)(f.c),O=(v-1)*e,[S,{loading:E,error:w,data:C,refetch:T}]=Object(o.useLazyQuery)(a.b,{notifyOnNetworkStatusChange:!1,variables:{searchTerm:t.toString(),assetSourceId:r,assetCollectionId:n,assetType:h,mediaType:p,tagId:i,limit:e,offset:O,sortBy:m.sortBy,sortDirection:m.sortDirection}});return Object(s.useEffect)(()=>{E||(S({variables:{searchTerm:t.toString(),assetSourceId:r,assetCollectionId:n,assetType:h,mediaType:p,tagId:i,limit:e,offset:O,sortBy:m.sortBy,sortDirection:m.sortDirection}}),b(!0))},[S,E,O,t,r,n,p,i,m,h,e,b]),Object(s.useEffect)(()=>{!E&&C&&(_(e=>C&&JSON.stringify(e)==JSON.stringify(C.assets)?e:C.assets||[]),b(!1),y(!0))},[E,C,_,y,b]),{error:w,assets:g,refetch:T}};var h=()=>{const{data:e,loading:t}=Object(o.useQuery)(a.d);return{config:null==e?void 0:e.config,loading:t}};var m=o.gql` mutation DeleteAsset($id: AssetId!, $assetSourceId: AssetSourceId!) { deleteAsset(id: $id, assetSourceId: $assetSourceId) { success @@ -96,7 +96,7 @@ var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Arr } } ${v.a} -`,O=n(38);function S(){const[e,{error:t,data:n}]=Object(o.useMutation)(m),r=Object(l.h)(f.l),i=O.b;return{deleteAsset:({assetId:t,assetSourceId:n})=>e({variables:{id:t,assetSourceId:n},refetchQueries:[{query:a.a,variables:{id:t,assetSourceId:n}},"ASSET_COLLECTIONS"],update:(e,{data:{deleteAsset:n}})=>{n&&(e.evict({id:e.identify({__typename:"Asset",id:t})}),e.gc())}}).then(({data:{deleteAsset:e}})=>{if(!e.success)throw new Error(e.messages.join(", "));i({assetId:t,assetSourceId:n}),r(e=>(null==e?void 0:e.assetId)===t?null:e)}),data:n,error:t}}function E(e){return e}function w(){const[e,{error:t,data:n,loading:r}]=Object(o.useMutation)(b);return{importAsset:t=>e({variables:{id:t.assetId,assetSourceId:t.assetSourceId}}),data:n,error:t,loading:r}}var C=n(24);var T=()=>{const e=Object(l.h)(f.l),t=Object(l.h)(f.n),{handleSelectAsset:n,selectionMode:r}=Object(C.g)();return Object(s.useCallback)(o=>{o&&(n(o),r||(e(o),t("asset")))},[r,e,n,t])};var A=()=>{const e=Object(l.g)(f.l),{asset:t}=i(e);return t};function j(){const[e,{error:t,data:n,loading:r}]=Object(o.useMutation)(y);return{setAssetCollections:({asset:t,assetCollections:n})=>e({variables:{id:t.id,assetSourceId:t.assetSource.id,assetCollectionIds:n.map(e=>e.id)},optimisticResponse:!0,refetchQueries:["ASSETS","ASSET_COLLECTIONS"],update:(e,{data:r})=>{r&&e.modify({id:e.identify({__typename:"Asset",id:t.id}),fields:{assetCollections:()=>null==n?void 0:n.map(t=>({__ref:e.identify({__typename:"AssetCollection",id:t.id})}))}})}}),data:n,error:t,loading:r}}function k(){const[e,{error:t,data:n,loading:r}]=Object(o.useMutation)(g);return{setAssetTags:({asset:t,tags:n})=>e({variables:{id:t.id,assetSourceId:t.assetSource.id,tagIds:n.map(e=>e.id)},optimisticResponse:{__typename:"Mutation",setAssetTags:{...t,tags:n}},refetchQueries:["ASSETS","TAGS"]}),data:n,error:t,loading:r}}function I(){const[e,{error:t,data:n,loading:r}]=Object(o.useMutation)(_);return{updateAsset:({asset:t,label:n,caption:r,copyrightNotice:o})=>e({variables:{id:t.id,assetSourceId:t.assetSource.id,label:n,caption:r,copyrightNotice:o},optimisticResponse:{__typename:"Mutation",updateAsset:{...t,label:n,caption:r,copyrightNotice:o}}}),data:n,error:t,loading:r}}},function(e,t,n){"use strict";var r,o=n(40),a=(r=o)&&r.__esModule?r:{default:r};e.exports=(0,a.default)("vendor")().PropTypes},function(e,t,n){"use strict";n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return O})),n.d(t,"f",(function(){return w})),n.d(t,"g",(function(){return C})),n.d(t,"e",(function(){return j}));var r=n(0),o=n.n(r),a=n(71),i=n.n(a),s=n(3),l=n(58),c=n.n(l);const u=e=>{const t=o.a.useRef();return o.a.useEffect(()=>{var e;if(t.current){const n=i.a.findDOMNode(t.current);null===(e=null==n?void 0:n.firstElementChild)||void 0===e||e.setAttribute("data-ignore_click_outside","true")}},[t]),o.a.createElement(s.Dialog,{...e,autoFocus:!0,ref:t,className:c.a.mediaModuleTheme})};var d=n(130),f=n.n(d);var p=r.memo(({label:e})=>r.createElement("span",{className:f.a.assetLabel},e)),h=n(131),m=n.n(h);var v=({children:e})=>o.a.createElement("div",{className:m.a.column},e),b=n(13),y=n.n(b),g=n(78),_=n.n(g);var O=o.a.memo(({icon:e="question",iconUri:t="",label:n="",className:r="",children:a=null})=>o.a.createElement("span",{className:y()(_.a.wrapper,r)},o.a.createElement("span",{className:_.a.iconWrap},t?o.a.createElement("img",{src:t,alt:n,className:_.a.imgIcon}):o.a.createElement(s.Icon,{icon:e})),o.a.createElement("span",{className:_.a.label},a||n||""))),S=n(132),E=n.n(S);var w=o.a.memo(({children:e})=>o.a.createElement("dl",{className:E.a.propertyList},e));var C=o.a.memo(({label:e,value:t})=>o.a.createElement(o.a.Fragment,null,o.a.createElement("dt",null,e),o.a.createElement("dd",{title:t},t))),T=n(133),A=n.n(T);const j=({primaryIcon:e,secondaryIcon:t})=>o.a.createElement("div",{className:A.a.iconStack},o.a.createElement(s.Icon,{icon:e}),t&&o.a.createElement(s.Icon,{icon:t}))},function(e,t,n){"use strict";n.d(t,"g",(function(){return l})),n.d(t,"h",(function(){return f})),n.d(t,"j",(function(){return b})),n.d(t,"i",(function(){return _})),n.d(t,"b",(function(){return Y})),n.d(t,"c",(function(){return Z})),n.d(t,"a",(function(){return s})),n.d(t,"f",(function(){return d})),n.d(t,"e",(function(){return F})),n.d(t,"d",(function(){return ee}));var r=n(4),o=n(35);const a=r.gql` +`,O=n(38);function S(){const[e,{error:t,data:n}]=Object(o.useMutation)(m),r=Object(l.h)(f.l),i=O.b;return{deleteAsset:({assetId:t,assetSourceId:n})=>e({variables:{id:t,assetSourceId:n},refetchQueries:[{query:a.a,variables:{id:t,assetSourceId:n}},"ASSET_COLLECTIONS"],update:(e,{data:{deleteAsset:n}})=>{n&&(e.evict({id:e.identify({__typename:"Asset",id:t})}),e.gc())}}).then(({data:{deleteAsset:e}})=>{if(!e.success)throw new Error(e.messages.join(", "));i({assetId:t,assetSourceId:n}),r(e=>(null==e?void 0:e.assetId)===t?null:e)}),data:n,error:t}}function E(e){return e}function w(){const[e,{error:t,data:n,loading:r}]=Object(o.useMutation)(b);return{importAsset:t=>e({variables:{id:t.assetId,assetSourceId:t.assetSourceId}}),data:n,error:t,loading:r}}var C=n(24);var T=()=>{const e=Object(l.h)(f.l),t=Object(l.h)(f.n),{handleSelectAsset:n,selectionMode:r}=Object(C.g)();return Object(s.useCallback)(o=>{o&&(n(o),r||(e(o),t("asset")))},[r,e,n,t])};var A=()=>{const e=Object(l.g)(f.l),{asset:t}=i(e);return t};function j(){const[e,{error:t,data:n,loading:r}]=Object(o.useMutation)(y);return{setAssetCollections:({asset:t,assetCollections:n})=>e({variables:{id:t.id,assetSourceId:t.assetSource.id,assetCollectionIds:n.map(e=>e.id)},optimisticResponse:!0,refetchQueries:["ASSETS","ASSET_COLLECTIONS"],update:(e,{data:r})=>{r&&e.modify({id:e.identify({__typename:"Asset",id:t.id}),fields:{assetCollections:()=>null==n?void 0:n.map(t=>({__ref:e.identify({__typename:"AssetCollection",id:t.id})}))}})}}),data:n,error:t,loading:r}}function k(){const[e,{error:t,data:n,loading:r}]=Object(o.useMutation)(g);return{setAssetTags:({asset:t,tags:n})=>e({variables:{id:t.id,assetSourceId:t.assetSource.id,tagIds:n.map(e=>e.id)},optimisticResponse:{__typename:"Mutation",setAssetTags:{...t,tags:n}},refetchQueries:["ASSETS","TAGS"]}),data:n,error:t,loading:r}}function I(){const[e,{error:t,data:n,loading:r}]=Object(o.useMutation)(_);return{updateAsset:({asset:t,label:n,caption:r,copyrightNotice:o})=>e({variables:{id:t.id,assetSourceId:t.assetSource.id,label:n,caption:r,copyrightNotice:o},optimisticResponse:{__typename:"Mutation",updateAsset:{...t,label:n,caption:r,copyrightNotice:o}}}),data:n,error:t,loading:r}}},function(e,t,n){"use strict";var r,o=n(40),a=(r=o)&&r.__esModule?r:{default:r};e.exports=(0,a.default)("vendor")().PropTypes},function(e,t,n){"use strict";n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return O})),n.d(t,"f",(function(){return w})),n.d(t,"g",(function(){return C})),n.d(t,"e",(function(){return j}));var r=n(0),o=n.n(r),a=n(71),i=n.n(a),s=n(3),l=n(58),c=n.n(l);const u=e=>{const t=o.a.useRef();return o.a.useEffect(()=>{var e;if(t.current){const n=i.a.findDOMNode(t.current);null===(e=null==n?void 0:n.firstElementChild)||void 0===e||e.setAttribute("data-ignore_click_outside","true")}},[t]),o.a.createElement(s.Dialog,{...e,autoFocus:!0,ref:t,className:c.a.mediaModuleTheme})};var d=n(131),f=n.n(d);var p=r.memo(({label:e})=>r.createElement("span",{className:f.a.assetLabel},e)),h=n(132),m=n.n(h);var v=({children:e})=>o.a.createElement("div",{className:m.a.column},e),b=n(13),y=n.n(b),g=n(79),_=n.n(g);var O=o.a.memo(({icon:e="question",iconUri:t="",label:n="",className:r="",children:a=null})=>o.a.createElement("span",{className:y()(_.a.wrapper,r)},o.a.createElement("span",{className:_.a.iconWrap},t?o.a.createElement("img",{src:t,alt:n,className:_.a.imgIcon}):o.a.createElement(s.Icon,{icon:e})),o.a.createElement("span",{className:_.a.label},a||n||""))),S=n(133),E=n.n(S);var w=o.a.memo(({children:e})=>o.a.createElement("dl",{className:E.a.propertyList},e));var C=o.a.memo(({label:e,value:t})=>o.a.createElement(o.a.Fragment,null,o.a.createElement("dt",null,e),o.a.createElement("dd",{title:t},t))),T=n(134),A=n.n(T);const j=({primaryIcon:e,secondaryIcon:t})=>o.a.createElement("div",{className:A.a.iconStack},o.a.createElement(s.Icon,{icon:e}),t&&o.a.createElement(s.Icon,{icon:t}))},function(e,t,n){"use strict";n.d(t,"g",(function(){return l})),n.d(t,"h",(function(){return f})),n.d(t,"j",(function(){return b})),n.d(t,"i",(function(){return _})),n.d(t,"b",(function(){return Y})),n.d(t,"c",(function(){return Z})),n.d(t,"a",(function(){return s})),n.d(t,"f",(function(){return d})),n.d(t,"e",(function(){return F})),n.d(t,"d",(function(){return ee}));var r=n(4),o=n(35);const a=r.gql` fragment AssetCollectionProps on AssetCollection { id title @@ -143,7 +143,7 @@ var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Arr mutation SetAssetCollectionParent($id: AssetCollectionId!, $parent: AssetCollectionId) { setAssetCollectionParent(id: $id, parent: $parent) } -`;function _(){const[e,{error:t,data:n,loading:o}]=Object(r.useMutation)(g);return{setAssetCollectionParent:Object(h.useCallback)(({assetCollection:t,parent:n})=>e({variables:{id:t.id,parent:null==n?void 0:n.id},optimisticResponse:!0,update:(e,{data:r})=>{r&&e.modify({id:e.identify({__typename:"AssetCollection",id:t.id}),broadcast:!1,fields:{parent:()=>n?{__ref:e.identify({__typename:"AssetCollection",id:n.id})}:null}})}}),[e]),data:n,error:t,loading:o}}var O=n(3),S=n(5),E=n(11),w=n(84),C=n(14),T=n(23);var A={TAG:"neos-tree-tag",COLLECTION:"neos-tree-collection"};const j=Object(c.e)({key:"TagFocusedState",get:({assetCollectionId:e,tagId:t})=>({get:n})=>n(d)===e&&n(C.c)===t});var k=m.a.memo(({tagId:e,assetCollectionId:t,label:n,level:r,icon:o="tag",customIconComponent:a})=>{const i=Object(c.h)(u.k),s=Object(c.g)(j({assetCollectionId:t,tagId:e}));return m.a.createElement(O.Tree.Node,null,m.a.createElement(O.Tree.Node.Header,{isActive:s,isCollapsed:!0,isFocused:s,isLoading:!1,hasError:!1,label:n,title:n,icon:o,customIconComponent:a,nodeDndType:A.TAG,level:r,onClick:()=>i({tagId:e,assetCollectionId:t}),hasChildren:!1}))});const I=Object(c.b)({key:"AssetCollectionFavouritesState",default:{},effects:[Object(u.i)("AssetCollectionFavouritesState")]}),N=Object(c.e)({key:"AssetCollectionFavouriteState",get:e=>({get:t})=>!!t(I)[e],set:e=>({set:t},n)=>t(I,t=>{const r={...t,[e]:n};return!1===r[e]&&delete r[e],r})}),x=Object(c.b)({key:"AssetCollectionTreeState",default:{},effects:[Object(u.i)("AssetCollectionTreeState")]}),R=Object(c.e)({key:"AssetCollectionTreeCollapsedProxyState",get:e=>({get:t})=>{var n;return null===(n=t(x)[e])||void 0===n||n},set:e=>({set:t},n)=>t(x,t=>{const r={...t,[e]:n};return!0===r[e]&&delete r[e],r})}),D=Object(c.e)({key:"AssetCollectionFocusedState",get:e=>({get:t})=>t(d)===e}),M=Object(c.e)({key:"AssetCollectionActiveState",get:e=>({get:t})=>{const{assetCollectionId:n,tagId:r}=t(u.k);return e===n&&!!r}}),L=({assetCollectionId:e,label:t="n/a",title:n="n/a",level:o,children:a=null,renderChildCollections:s=!0})=>{var d;const{assetCollection:f}=function(e){const{data:t,loading:n,refetch:o}=Object(r.useQuery)(i,{variables:{id:e},skip:!e||"UNASSIGNED"===e});return{assetCollection:(null==t?void 0:t.assetCollection)||null,loading:n,refetch:o}}(e),{assetCollections:p}=l(),[v,b]=Object(c.f)(R(e)),y=Object(c.h)(u.k),g=Object(c.g)(D(e)),_=Object(c.g)(N(e)),S=Object(c.g)(M(e)),w=Object(h.useCallback)(()=>{y({assetCollectionId:e,tagId:null}),b(!1)},[e,y,b]),C=Object(h.useMemo)(()=>(null==p?void 0:p.filter(t=>{var n;return((null===(n=t.parent)||void 0===n?void 0:n.id)||null)==e}).map(({id:e})=>e))||[],[e,p]),T="UNASSIGNED"===e?m.a.createElement(E.e,{primaryIcon:"folder",secondaryIcon:"times"}):m.a.createElement(E.e,{primaryIcon:e?!v&&((null==f?void 0:f.tags.length)>0||C.length>0)?"folder-open":"folder":"globe",secondaryIcon:_?"star":void 0});return m.a.createElement(O.Tree.Node,null,m.a.createElement(O.Tree.Node.Header,{isActive:S||g,isFocused:g&&!S,isLoading:!1,hasError:!1,label:((null==f?void 0:f.title)||t)+((null==f?void 0:f.assetCount)>=0?` (${null==f?void 0:f.assetCount})`:""),title:(null==f?void 0:f.title)||n,isHiddenInIndex:0===(null==f?void 0:f.assetCount),customIconComponent:T,nodeDndType:A.COLLECTION,level:o,onToggle:()=>b(!v),onClick:w,isCollapsed:0===(null==f?void 0:f.tags.length)&&0===C.length||v,hasChildren:null!==a||(null==f?void 0:f.tags.length)>0||s&&C.length>0}),!v&&f&&m.a.createElement(m.a.Fragment,null,s&&C.map(e=>m.a.createElement(L,{key:e,assetCollectionId:e,level:o+1})),null===(d=f.tags)||void 0===d?void 0:d.map(t=>m.a.createElement(k,{key:t.id,tagId:t.id,label:t.label,assetCollectionId:e,level:o+1}))),!v&&a)};var P=m.a.memo(L);const F=Object(c.b)({key:"createAssetCollectionDialogState",default:!1}),B=Object(c.b)({key:"AssetCollectionTreeViewState",default:"collections",effects:[Object(u.i)("AssetCollectionTreeViewState")]});var U=n(138),V=n.n(U);var q=m.a.memo(()=>{const{translate:e}=Object(S.d)(),t=Object(c.h)(F),n=Object(c.g)(B);return m.a.createElement(O.Button,{size:"regular",style:"transparent",hoverStyle:"brand",title:e("assetCollectionTree.toolbar.createAssetCollection","Create new asset collection"),onClick:()=>t(!0),disabled:"collections"!==n},m.a.createElement("span",{className:"fa-layers fa-fw"},m.a.createElement(O.Icon,{icon:"folder"}),m.a.createElement(O.Icon,{icon:"plus",color:"primaryBlue",className:V.a.plusIcon})))});var z=m.a.memo(()=>{const{translate:e}=Object(S.d)(),t=Object(S.f)(),{approvalAttainmentStrategy:n}=Object(S.e)(),o=f(),a=Object(C.f)(),{deleteTag:i}=Object(C.e)(),{deleteAssetCollection:l}=function(){const[e,{error:t,data:n,loading:o}]=Object(r.useMutation)(p);return{deleteAssetCollection:t=>e({variables:{id:t},optimisticResponse:!0,update(e){const{assetCollections:n}=e.readQuery({query:s});e.writeQuery({query:s,data:{assetCollections:n.filter(e=>e.id!==t)}})}}),data:n,error:t,loading:o}}(),d=Object(c.h)(u.k),v=Object(h.useCallback)(async()=>{if(a){if(!await n.obtainApprovalToDeleteTag({tag:a}))return;if(!window.confirm(e("action.deleteTag.confirm","Do you really want to delete the tag "+a.label,[a.label])))return;i(a.id).then(()=>{t.ok(e("action.deleteTag.success","The tag has been deleted")),d(({assetCollectionId:e})=>({tagId:null,assetCollectionId:e}))}).catch(({message:n})=>{t.error(e("action.deleteTag.error","Error while trying to delete the tag"),n)})}else if(o){if(!await n.obtainApprovalToDeleteAssetCollection({assetCollection:o}))return;l(o.id).then(()=>{t.ok(e("assetCollectionActions.delete.success","Asset collection was successfully deleted")),d({tagId:null,assetCollectionId:null})}).catch(n=>{t.error(e("assetCollectionActions.delete.error","Failed to delete asset collection"),n.message)})}},[a,o,e,i,t,d,n,l]);return m.a.createElement(O.IconButton,{icon:"trash-alt",size:"regular",style:"transparent",hoverStyle:"error",disabled:!o&&!a,title:e("assetCollectionTree.toolbar.delete","Delete"),onClick:v})}),Q=n(139),$=n.n(Q);var W=m.a.memo(()=>{const{translate:e}=Object(S.d)(),t=Object(c.h)(C.b),n=Object(c.g)(C.c),r=Object(h.useCallback)(()=>{t({label:"",visible:!0})},[t]);return m.a.createElement(O.Button,{size:"regular",style:"transparent",hoverStyle:"brand",title:e("assetCollectionTree.toolbar.createTag","Create new tag"),onClick:r,disabled:null!==n},m.a.createElement("span",{className:"fa-layers fa-fw"},m.a.createElement(O.Icon,{icon:"tag"}),m.a.createElement(O.Icon,{icon:"plus",color:"primaryBlue",className:$.a.plusIcon})))});var H=m.a.memo(()=>{const{translate:e}=Object(S.d)(),t=Object(c.g)(d),[n,r]=Object(c.f)(N(t)),o=Object(h.useCallback)(()=>{r(e=>!e)},[r]);return m.a.createElement(O.IconButton,{icon:"star",size:"regular",style:n?"brand":"transparent",hoverStyle:"brand",disabled:!t,title:e("assetCollectionTree.toolbar.favourite","Toggle favourite"),onClick:o})}),K=n(79),G=n.n(K);var Y=m.a.memo(()=>{const{translate:e}=Object(S.d)(),{assetCollections:t}=l(),n=Object(T.f)(),{tags:r}=Object(C.g)(),{assetCount:o}=Object(w.a)(!0),[a,i]=Object(c.f)(B),s=Object(c.g)(I),u=Object(h.useMemo)(()=>t.filter(e=>!e.parent).map(({id:e})=>e),[t]),d=Object(h.useMemo)(()=>{const e=Object.keys(s);return t.filter(({id:t})=>e.includes(t))},[t,s]),f=Object(h.useMemo)(()=>[{value:"collections",label:e("assetCollectionList.viewMode.collections","Collections"),icon:"folder"},{value:"favourites",label:e("assetCollectionList.viewMode.favourites","Favourites"),icon:"star"}],[e]);return(null==n?void 0:n.supportsCollections)?m.a.createElement("nav",{className:G.a.assetCollectionTree},m.a.createElement(O.SelectBox,{className:G.a.viewSelection,options:f,value:a,optionValueField:"value",onValueChange:i}),m.a.createElement("div",{className:G.a.toolbar},m.a.createElement(q,null),m.a.createElement(W,null),m.a.createElement(z,null),m.a.createElement(H,null)),m.a.createElement(O.Tree,{className:G.a.tree},"favourites"===a?d.map(e=>m.a.createElement(P,{key:e.id,assetCollectionId:e.id,level:1,renderChildCollections:!1})):m.a.createElement(m.a.Fragment,null,m.a.createElement(P,{label:e("assetCollectionList.showAll","All")+` (${o})`,title:e("assetCollectionList.showAll.title","Show assets for all collections"),level:1,assetCollectionId:null},m.a.createElement(P,{label:e("assetCollectionList.unassigned","Unassigned"),title:e("assetCollectionList.unassigned.title","Show assets which are not assigned to any collection"),level:2,assetCollectionId:"UNASSIGNED"}),m.a.createElement(k,{tagId:"UNTAGGED",label:e("assetCollectionList.untagged","Untagged"),assetCollectionId:null,level:2,customIconComponent:m.a.createElement(E.e,{primaryIcon:"tag",secondaryIcon:"times"})}),null==r?void 0:r.map(e=>m.a.createElement(k,{key:e.id,tagId:e.id,label:e.label,assetCollectionId:null,level:2}))),u.map(e=>m.a.createElement(P,{key:e,assetCollectionId:e,level:1}))))):null}),X=n(140),J=n.n(X);var Z=m.a.memo(()=>{const{translate:e}=Object(S.d)(),t=Object(S.f)(),[n,o]=Object(c.f)(F),[a,i]=Object(h.useState)(""),{createAssetCollection:l}=function(){const[e,{error:t,data:n,loading:o}]=Object(r.useMutation)(y);return{createAssetCollection:(t,n=null)=>e({variables:{title:t,parent:n},update(e,{data:t}){const{assetCollections:n}=e.readQuery({query:s});e.writeQuery({query:s,data:{assetCollections:n.concat([null==t?void 0:t.createAssetCollection])}})}}),data:n,error:t,loading:o}}(),u=f(),d=Object(h.useCallback)(e=>{i(e.trim())},[]),p=Object(h.useCallback)(()=>o(!1),[o]),v=Object(h.useCallback)(()=>{o(!1),l(a,null==u?void 0:u.id).then(()=>{t.ok(e("assetCollectionActions.create.success","Asset collection was created"))}).catch(n=>{t.error(e("assetCollectionActions.create.error","Failed to create asset collection"),n.message)})},[o,l,a,null==u?void 0:u.id,t,e]);return m.a.createElement(E.c,{isOpen:n,title:e("createAssetCollectionDialog.title",'Create Asset Collection in "{location}"',{location:(null==u?void 0:u.title)||"Root"}),onRequestClose:p,actions:[m.a.createElement(O.Button,{key:"cancel",style:"neutral",hoverStyle:"darken",onClick:p},e("general.cancel","Cancel")),m.a.createElement(O.Button,{key:"upload",style:"success",hoverStyle:"success",disabled:!a,onClick:v},e("general.create","Create"))]},m.a.createElement("div",{className:J.a.formBody},m.a.createElement(O.Label,null,e("general.title","Title")),m.a.createElement(O.TextInput,{setFocus:!0,type:"text",onChange:d,onEnterKey:a?v:null})))});function ee(e,t){const n=[];let r=e;for(;r;)n.push({title:r.title,id:r.id}),r=r.parent?t.find(({id:e})=>e===r.parent.id):null;return n.reverse()}},function(e,t,n){"use strict";var r,o=n(40),a=(r=o)&&r.__esModule?r:{default:r};e.exports=(0,a.default)("vendor")().classnames},function(e,t,n){"use strict";n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return p})),n.d(t,"f",(function(){return m})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return y})),n.d(t,"a",(function(){return T})),n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return E}));var r=n(4),o=n(12),a=n(35);var i=r.gql` +`;function _(){const[e,{error:t,data:n,loading:o}]=Object(r.useMutation)(g);return{setAssetCollectionParent:Object(h.useCallback)(({assetCollection:t,parent:n})=>e({variables:{id:t.id,parent:null==n?void 0:n.id},optimisticResponse:!0,update:(e,{data:r})=>{r&&e.modify({id:e.identify({__typename:"AssetCollection",id:t.id}),broadcast:!1,fields:{parent:()=>n?{__ref:e.identify({__typename:"AssetCollection",id:n.id})}:null}})}}),[e]),data:n,error:t,loading:o}}var O=n(3),S=n(5),E=n(11),w=n(86),C=n(14),T=n(23);var A={TAG:"neos-tree-tag",COLLECTION:"neos-tree-collection"};const j=Object(c.e)({key:"TagFocusedState",get:({assetCollectionId:e,tagId:t})=>({get:n})=>n(d)===e&&n(C.c)===t});var k=m.a.memo(({tagId:e,assetCollectionId:t,label:n,level:r,icon:o="tag",customIconComponent:a})=>{const i=Object(c.h)(u.k),s=Object(c.g)(j({assetCollectionId:t,tagId:e}));return m.a.createElement(O.Tree.Node,null,m.a.createElement(O.Tree.Node.Header,{isActive:s,isCollapsed:!0,isFocused:s,isLoading:!1,hasError:!1,label:n,title:n,icon:o,customIconComponent:a,nodeDndType:A.TAG,level:r,onClick:()=>i({tagId:e,assetCollectionId:t}),hasChildren:!1}))});const I=Object(c.b)({key:"AssetCollectionFavouritesState",default:{},effects:[Object(u.i)("AssetCollectionFavouritesState")]}),N=Object(c.e)({key:"AssetCollectionFavouriteState",get:e=>({get:t})=>!!t(I)[e],set:e=>({set:t},n)=>t(I,t=>{const r={...t,[e]:n};return!1===r[e]&&delete r[e],r})}),x=Object(c.b)({key:"AssetCollectionTreeState",default:{},effects:[Object(u.i)("AssetCollectionTreeState")]}),R=Object(c.e)({key:"AssetCollectionTreeCollapsedProxyState",get:e=>({get:t})=>{var n;return null===(n=t(x)[e])||void 0===n||n},set:e=>({set:t},n)=>t(x,t=>{const r={...t,[e]:n};return!0===r[e]&&delete r[e],r})}),D=Object(c.e)({key:"AssetCollectionFocusedState",get:e=>({get:t})=>t(d)===e}),M=Object(c.e)({key:"AssetCollectionActiveState",get:e=>({get:t})=>{const{assetCollectionId:n,tagId:r}=t(u.k);return e===n&&!!r}}),L=({assetCollectionId:e,label:t="n/a",title:n="n/a",level:o,children:a=null,renderChildCollections:s=!0})=>{var d;const{assetCollection:f}=function(e){const{data:t,loading:n,refetch:o}=Object(r.useQuery)(i,{variables:{id:e},skip:!e||"UNASSIGNED"===e});return{assetCollection:(null==t?void 0:t.assetCollection)||null,loading:n,refetch:o}}(e),{assetCollections:p}=l(),[v,b]=Object(c.f)(R(e)),y=Object(c.h)(u.k),g=Object(c.g)(D(e)),_=Object(c.g)(N(e)),S=Object(c.g)(M(e)),w=Object(h.useCallback)(()=>{y({assetCollectionId:e,tagId:null}),b(!1)},[e,y,b]),C=Object(h.useMemo)(()=>(null==p?void 0:p.filter(t=>{var n;return((null===(n=t.parent)||void 0===n?void 0:n.id)||null)==e}).map(({id:e})=>e))||[],[e,p]),T="UNASSIGNED"===e?m.a.createElement(E.e,{primaryIcon:"folder",secondaryIcon:"times"}):m.a.createElement(E.e,{primaryIcon:e?!v&&((null==f?void 0:f.tags.length)>0||C.length>0)?"folder-open":"folder":"globe",secondaryIcon:_?"star":void 0});return m.a.createElement(O.Tree.Node,null,m.a.createElement(O.Tree.Node.Header,{isActive:S||g,isFocused:g&&!S,isLoading:!1,hasError:!1,label:((null==f?void 0:f.title)||t)+((null==f?void 0:f.assetCount)>=0?` (${null==f?void 0:f.assetCount})`:""),title:(null==f?void 0:f.title)||n,isHiddenInIndex:0===(null==f?void 0:f.assetCount),customIconComponent:T,nodeDndType:A.COLLECTION,level:o,onToggle:()=>b(!v),onClick:w,isCollapsed:0===(null==f?void 0:f.tags.length)&&0===C.length||v,hasChildren:null!==a||(null==f?void 0:f.tags.length)>0||s&&C.length>0}),!v&&f&&m.a.createElement(m.a.Fragment,null,s&&C.map(e=>m.a.createElement(L,{key:e,assetCollectionId:e,level:o+1})),null===(d=f.tags)||void 0===d?void 0:d.map(t=>m.a.createElement(k,{key:t.id,tagId:t.id,label:t.label,assetCollectionId:e,level:o+1}))),!v&&a)};var P=m.a.memo(L);const F=Object(c.b)({key:"createAssetCollectionDialogState",default:!1}),B=Object(c.b)({key:"AssetCollectionTreeViewState",default:"collections",effects:[Object(u.i)("AssetCollectionTreeViewState")]});var U=n(139),V=n.n(U);var q=m.a.memo(()=>{const{translate:e}=Object(S.d)(),t=Object(c.h)(F),n=Object(c.g)(B);return m.a.createElement(O.Button,{size:"regular",style:"transparent",hoverStyle:"brand",title:e("assetCollectionTree.toolbar.createAssetCollection","Create new asset collection"),onClick:()=>t(!0),disabled:"collections"!==n},m.a.createElement("span",{className:"fa-layers fa-fw"},m.a.createElement(O.Icon,{icon:"folder"}),m.a.createElement(O.Icon,{icon:"plus",color:"primaryBlue",className:V.a.plusIcon})))});var z=m.a.memo(()=>{const{translate:e}=Object(S.d)(),t=Object(S.f)(),{approvalAttainmentStrategy:n}=Object(S.e)(),o=f(),a=Object(C.f)(),{deleteTag:i}=Object(C.e)(),{deleteAssetCollection:l}=function(){const[e,{error:t,data:n,loading:o}]=Object(r.useMutation)(p);return{deleteAssetCollection:t=>e({variables:{id:t},optimisticResponse:!0,update(e){const{assetCollections:n}=e.readQuery({query:s});e.writeQuery({query:s,data:{assetCollections:n.filter(e=>e.id!==t)}})}}),data:n,error:t,loading:o}}(),d=Object(c.h)(u.k),v=Object(h.useCallback)(async()=>{if(a){if(!await n.obtainApprovalToDeleteTag({tag:a}))return;if(!window.confirm(e("action.deleteTag.confirm","Do you really want to delete the tag "+a.label,[a.label])))return;i(a.id).then(()=>{t.ok(e("action.deleteTag.success","The tag has been deleted")),d(({assetCollectionId:e})=>({tagId:null,assetCollectionId:e}))}).catch(({message:n})=>{t.error(e("action.deleteTag.error","Error while trying to delete the tag"),n)})}else if(o){if(!await n.obtainApprovalToDeleteAssetCollection({assetCollection:o}))return;l(o.id).then(()=>{t.ok(e("assetCollectionActions.delete.success","Asset collection was successfully deleted")),d({tagId:null,assetCollectionId:null})}).catch(n=>{t.error(e("assetCollectionActions.delete.error","Failed to delete asset collection"),n.message)})}},[a,o,e,i,t,d,n,l]);return m.a.createElement(O.IconButton,{icon:"trash-alt",size:"regular",style:"transparent",hoverStyle:"error",disabled:!o&&!a,title:e("assetCollectionTree.toolbar.delete","Delete"),onClick:v})}),Q=n(140),$=n.n(Q);var W=m.a.memo(()=>{const{translate:e}=Object(S.d)(),t=Object(c.h)(C.b),n=Object(c.g)(C.c),r=Object(h.useCallback)(()=>{t({label:"",visible:!0})},[t]);return m.a.createElement(O.Button,{size:"regular",style:"transparent",hoverStyle:"brand",title:e("assetCollectionTree.toolbar.createTag","Create new tag"),onClick:r,disabled:null!==n},m.a.createElement("span",{className:"fa-layers fa-fw"},m.a.createElement(O.Icon,{icon:"tag"}),m.a.createElement(O.Icon,{icon:"plus",color:"primaryBlue",className:$.a.plusIcon})))});var H=m.a.memo(()=>{const{translate:e}=Object(S.d)(),t=Object(c.g)(d),[n,r]=Object(c.f)(N(t)),o=Object(h.useCallback)(()=>{r(e=>!e)},[r]);return m.a.createElement(O.IconButton,{icon:"star",size:"regular",style:n?"brand":"transparent",hoverStyle:"brand",disabled:!t,title:e("assetCollectionTree.toolbar.favourite","Toggle favourite"),onClick:o})}),K=n(80),G=n.n(K);var Y=m.a.memo(()=>{const{translate:e}=Object(S.d)(),{assetCollections:t}=l(),n=Object(T.f)(),{tags:r}=Object(C.g)(),{assetCount:o}=Object(w.a)(!0),[a,i]=Object(c.f)(B),s=Object(c.g)(I),u=Object(h.useMemo)(()=>t.filter(e=>!e.parent).map(({id:e})=>e),[t]),d=Object(h.useMemo)(()=>{const e=Object.keys(s);return t.filter(({id:t})=>e.includes(t))},[t,s]),f=Object(h.useMemo)(()=>[{value:"collections",label:e("assetCollectionList.viewMode.collections","Collections"),icon:"folder"},{value:"favourites",label:e("assetCollectionList.viewMode.favourites","Favourites"),icon:"star"}],[e]);return(null==n?void 0:n.supportsCollections)?m.a.createElement("nav",{className:G.a.assetCollectionTree},m.a.createElement(O.SelectBox,{className:G.a.viewSelection,options:f,value:a,optionValueField:"value",onValueChange:i}),m.a.createElement("div",{className:G.a.toolbar},m.a.createElement(q,null),m.a.createElement(W,null),m.a.createElement(z,null),m.a.createElement(H,null)),m.a.createElement(O.Tree,{className:G.a.tree},"favourites"===a?d.map(e=>m.a.createElement(P,{key:e.id,assetCollectionId:e.id,level:1,renderChildCollections:!1})):m.a.createElement(m.a.Fragment,null,m.a.createElement(P,{label:e("assetCollectionList.showAll","All")+` (${o})`,title:e("assetCollectionList.showAll.title","Show assets for all collections"),level:1,assetCollectionId:null},m.a.createElement(P,{label:e("assetCollectionList.unassigned","Unassigned"),title:e("assetCollectionList.unassigned.title","Show assets which are not assigned to any collection"),level:2,assetCollectionId:"UNASSIGNED"}),m.a.createElement(k,{tagId:"UNTAGGED",label:e("assetCollectionList.untagged","Untagged"),assetCollectionId:null,level:2,customIconComponent:m.a.createElement(E.e,{primaryIcon:"tag",secondaryIcon:"times"})}),null==r?void 0:r.map(e=>m.a.createElement(k,{key:e.id,tagId:e.id,label:e.label,assetCollectionId:null,level:2}))),u.map(e=>m.a.createElement(P,{key:e,assetCollectionId:e,level:1}))))):null}),X=n(141),J=n.n(X);var Z=m.a.memo(()=>{const{translate:e}=Object(S.d)(),t=Object(S.f)(),[n,o]=Object(c.f)(F),[a,i]=Object(h.useState)(""),{createAssetCollection:l}=function(){const[e,{error:t,data:n,loading:o}]=Object(r.useMutation)(y);return{createAssetCollection:(t,n=null)=>e({variables:{title:t,parent:n},update(e,{data:t}){const{assetCollections:n}=e.readQuery({query:s});e.writeQuery({query:s,data:{assetCollections:n.concat([null==t?void 0:t.createAssetCollection])}})}}),data:n,error:t,loading:o}}(),u=f(),d=Object(h.useCallback)(e=>{i(e.trim())},[]),p=Object(h.useCallback)(()=>o(!1),[o]),v=Object(h.useCallback)(()=>{o(!1),l(a,null==u?void 0:u.id).then(()=>{t.ok(e("assetCollectionActions.create.success","Asset collection was created"))}).catch(n=>{t.error(e("assetCollectionActions.create.error","Failed to create asset collection"),n.message)})},[o,l,a,null==u?void 0:u.id,t,e]);return m.a.createElement(E.c,{isOpen:n,title:e("createAssetCollectionDialog.title",'Create Asset Collection in "{location}"',{location:(null==u?void 0:u.title)||"Root"}),onRequestClose:p,actions:[m.a.createElement(O.Button,{key:"cancel",style:"neutral",hoverStyle:"darken",onClick:p},e("general.cancel","Cancel")),m.a.createElement(O.Button,{key:"upload",style:"success",hoverStyle:"success",disabled:!a,onClick:v},e("general.create","Create"))]},m.a.createElement("div",{className:J.a.formBody},m.a.createElement(O.Label,null,e("general.title","Title")),m.a.createElement(O.TextInput,{setFocus:!0,type:"text",onChange:d,onEnterKey:a?v:null})))});function ee(e,t){const n=[];let r=e;for(;r;)n.push({title:r.title,id:r.id}),r=r.parent?t.find(({id:e})=>e===r.parent.id):null;return n.reverse()}},function(e,t,n){"use strict";var r,o=n(40),a=(r=o)&&r.__esModule?r:{default:r};e.exports=(0,a.default)("vendor")().classnames},function(e,t,n){"use strict";n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return p})),n.d(t,"f",(function(){return m})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return y})),n.d(t,"a",(function(){return T})),n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return E}));var r=n(4),o=n(12),a=n(35);var i=r.gql` query TAGS { tags { ...TagProps @@ -175,7 +175,7 @@ var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Arr } } ${a.a} -`;function y(){const[e,{error:t,data:n,loading:o}]=Object(r.useMutation)(b);return{updateTag:({tag:t,label:n})=>e({variables:{id:t.id,label:n},optimisticResponse:{updateTag:{...t,label:n,...n?{label:n}:{}}}}),data:n,error:t,loading:o}}var g=n(0),_=n(3),O=n(5),S=n(11);var E=Object(c.b)({key:"createTagDialogState",default:{visible:!1,label:""}}),w=n(141),C=n.n(w);var T=g.memo(()=>{const{translate:e}=Object(O.d)(),t=Object(O.f)(),n=Object(o.h)(),[r,a]=Object(c.f)(E),i=!(!r.label||!r.label.trim()),{createTag:s}=l(),u=Object(g.useCallback)(()=>a({visible:!1,label:""}),[a]),d=Object(g.useCallback)(()=>{a(e=>({...e,visible:!1})),s(r.label,null==n?void 0:n.id).then(()=>{t.ok(e("assetCollectionActions.create.success","Tag was created"))}).catch(n=>{t.error(e("assetCollectionActions.create.error","Failed to create tag"),n.message)})},[t,a,s,r,e,n]),f=Object(g.useCallback)(e=>a(t=>({...t,label:e})),[a]);return g.createElement(S.c,{isOpen:r.visible,title:e("createTagDialog.title","Create tag"),onRequestClose:u,actions:[g.createElement(_.Button,{key:"cancel",style:"neutral",hoverStyle:"darken",onClick:u},e("general.cancel","Cancel")),g.createElement(_.Button,{key:"upload",style:"success",hoverStyle:"success",disabled:!i,onClick:d},e("general.create","Create"))]},g.createElement("div",{className:C.a.formBody},g.createElement(_.Label,null,e("general.label","Label")),g.createElement(_.TextInput,{setFocus:!0,type:"text",value:r.label,onChange:f,onEnterKey:i?d:null})))})},function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return l})),n.d(t,"d",(function(){return c}));var r=n(6),o=Object.prototype.hasOwnProperty;var a=/^[_a-z][_0-9a-z]*/i;function i(e){var t=e.match(a);return t?t[0]:e}function s(e,t,n){return!(!t||"object"!=typeof t)&&(Array.isArray(t)?t.every((function(t){return s(e,t,n)})):e.selections.every((function(e){if(Object(r.z)(e)&&Object(r.L)(e,n)){var a=Object(r.K)(e);return o.call(t,a)&&(!e.selectionSet||s(e.selectionSet,t[a],n))}return!0})))}function l(e){return null!==e&&"object"==typeof e&&!Object(r.C)(e)&&!Array.isArray(e)}function c(){return new r.b}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=Object.prototype,o=r.toString,a=r.hasOwnProperty,i=Function.prototype.toString,s=new Map;function l(e,t){try{return function e(t,n){if(t===n)return!0;var r=o.call(t),s=o.call(n);if(r!==s)return!1;switch(r){case"[object Array]":if(t.length!==n.length)return!1;case"[object Object]":if(f(t,n))return!0;var l=c(t),u=c(n),p=l.length;if(p!==u.length)return!1;for(var h=0;h=0&&E.indexOf(w,C)===C))}var E,w,C;return!1}(e,t)}finally{s.clear()}}function c(e){return Object.keys(e).filter(u,e)}function u(e){return void 0!==this[e]}var d="{ [native code] }";function f(e,t){var n=s.get(e);if(n){if(n.has(t))return!0}else s.set(e,n=new Set);return n.add(t),!1}},function(e,t,n){"use strict";var r;function o(e){return!!e&&e<7}n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o})),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return s}));var r=n(76);function o(e){var t=e.prototype.toJSON;"function"==typeof t||function(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}(0),e.prototype.inspect=t,r.a&&(e.prototype[r.a]=t)}var a=function(){function e(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();o(a);var i=function(){function e(e,t,n,r,o,a,i){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=o,this.value=i,this.prev=a,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();function s(e){return null!=e&&"string"==typeof e.kind}o(i)},function(e,t,n){"use strict";n.d(t,"e",(function(){return j})),n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return S})),n.d(t,"c",(function(){return m})),n.d(t,"d",(function(){return E})),n.d(t,"g",(function(){return C})),n.d(t,"f",(function(){return A}));var r=n(4);var o=r.gql` +`;function y(){const[e,{error:t,data:n,loading:o}]=Object(r.useMutation)(b);return{updateTag:({tag:t,label:n})=>e({variables:{id:t.id,label:n},optimisticResponse:{updateTag:{...t,label:n,...n?{label:n}:{}}}}),data:n,error:t,loading:o}}var g=n(0),_=n(3),O=n(5),S=n(11);var E=Object(c.b)({key:"createTagDialogState",default:{visible:!1,label:""}}),w=n(142),C=n.n(w);var T=g.memo(()=>{const{translate:e}=Object(O.d)(),t=Object(O.f)(),n=Object(o.h)(),[r,a]=Object(c.f)(E),i=!(!r.label||!r.label.trim()),{createTag:s}=l(),u=Object(g.useCallback)(()=>a({visible:!1,label:""}),[a]),d=Object(g.useCallback)(()=>{a(e=>({...e,visible:!1})),s(r.label,null==n?void 0:n.id).then(()=>{t.ok(e("assetCollectionActions.create.success","Tag was created"))}).catch(n=>{t.error(e("assetCollectionActions.create.error","Failed to create tag"),n.message)})},[t,a,s,r,e,n]),f=Object(g.useCallback)(e=>a(t=>({...t,label:e})),[a]);return g.createElement(S.c,{isOpen:r.visible,title:e("createTagDialog.title","Create tag"),onRequestClose:u,actions:[g.createElement(_.Button,{key:"cancel",style:"neutral",hoverStyle:"darken",onClick:u},e("general.cancel","Cancel")),g.createElement(_.Button,{key:"upload",style:"success",hoverStyle:"success",disabled:!i,onClick:d},e("general.create","Create"))]},g.createElement("div",{className:C.a.formBody},g.createElement(_.Label,null,e("general.label","Label")),g.createElement(_.TextInput,{setFocus:!0,type:"text",value:r.label,onChange:f,onEnterKey:i?d:null})))})},function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return l})),n.d(t,"d",(function(){return c}));var r=n(6),o=Object.prototype.hasOwnProperty;var a=/^[_a-z][_0-9a-z]*/i;function i(e){var t=e.match(a);return t?t[0]:e}function s(e,t,n){return!(!t||"object"!=typeof t)&&(Array.isArray(t)?t.every((function(t){return s(e,t,n)})):e.selections.every((function(e){if(Object(r.z)(e)&&Object(r.L)(e,n)){var a=Object(r.K)(e);return o.call(t,a)&&(!e.selectionSet||s(e.selectionSet,t[a],n))}return!0})))}function l(e){return null!==e&&"object"==typeof e&&!Object(r.C)(e)&&!Array.isArray(e)}function c(){return new r.b}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=Object.prototype,o=r.toString,a=r.hasOwnProperty,i=Function.prototype.toString,s=new Map;function l(e,t){try{return function e(t,n){if(t===n)return!0;var r=o.call(t),s=o.call(n);if(r!==s)return!1;switch(r){case"[object Array]":if(t.length!==n.length)return!1;case"[object Object]":if(f(t,n))return!0;var l=c(t),u=c(n),p=l.length;if(p!==u.length)return!1;for(var h=0;h=0&&E.indexOf(w,C)===C))}var E,w,C;return!1}(e,t)}finally{s.clear()}}function c(e){return Object.keys(e).filter(u,e)}function u(e){return void 0!==this[e]}var d="{ [native code] }";function f(e,t){var n=s.get(e);if(n){if(n.has(t))return!0}else s.set(e,n=new Set);return n.add(t),!1}},function(e,t,n){"use strict";var r;function o(e){return!!e&&e<7}n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o})),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return s}));var r=n(76);function o(e){var t=e.prototype.toJSON;"function"==typeof t||function(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}(0),e.prototype.inspect=t,r.a&&(e.prototype[r.a]=t)}var a=function(){function e(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();o(a);var i=function(){function e(e,t,n,r,o,a,i){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=o,this.value=i,this.prev=a,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();function s(e){return null!=e&&"string"==typeof e.kind}o(i)},function(e,t,n){"use strict";n.d(t,"e",(function(){return j})),n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return S})),n.d(t,"c",(function(){return m})),n.d(t,"d",(function(){return E})),n.d(t,"g",(function(){return C})),n.d(t,"f",(function(){return A}));var r=n(4);var o=r.gql` fragment UsageDetailsGroupProps on UsageDetailsGroup { serviceId label @@ -209,7 +209,7 @@ var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Arr } } ${i.a} -`,l=n(0),c=n.n(l),u=n(1),d=n(3),f=n(5),p=n(9),h=n(11);var m=Object(u.b)({key:"assetUsageDetailsModalState",default:!1});var v=n(103),b=n.n(v);var y=l.memo(({usageDetailsGroup:e})=>{const{translate:t}=Object(f.d)(),{label:n,usages:r,metadataSchema:o}=e;return l.createElement("section",{className:b.a.usageSection},l.createElement("h2",null,n," (",r.length,")"),r.length>0&&l.createElement("table",{className:b.a.usageTable},l.createElement("thead",null,l.createElement("tr",null,l.createElement("th",null,t("assetUsage.header.label","Label")),o.map((e,t)=>l.createElement("th",{key:t},e.label)))),l.createElement("tbody",null,r.map((e,t)=>l.createElement("tr",{key:t},l.createElement("td",null,e.url?l.createElement("a",{href:e.url,target:"_blank",rel:"noreferrer"},e.label):e.label),o.map(({name:t,type:n},r)=>{const o=e.metadata.find(e=>e.name==t);return o?l.createElement("td",{key:r},"DATETIME"==n||"DATE"==n?new Date(o.value).toLocaleString():"URL"==n?l.createElement("a",{href:o.value,target:"_blank",rel:"noreferrer"},t):"JSON"==n?function e(t){return Array.isArray(t)?l.createElement("ul",null,t.map((t,n)=>l.createElement("li",{key:n},e(t)))):"object"==typeof t?l.createElement("ul",null,Object.keys(t).map(n=>l.createElement("li",{key:n},l.createElement("strong",null,n,":")," ",e(t[n])))):"string"==typeof t?t:JSON.stringify(t)}(JSON.parse(o.value)):o.value):null}))))))}),g=n(145),_=n.n(g);var O=l.memo(()=>{const{translate:e}=Object(f.d)(),[t,n]=Object(u.f)(m),o=Object(p.i)(),{assetUsageDetails:i,loading:s}=function(e){const{data:t,loading:n}=Object(r.useQuery)(a,{variables:{id:null==e?void 0:e.assetId,assetSourceId:null==e?void 0:e.assetSourceId},skip:!e});return{assetUsageDetails:(null==t?void 0:t.assetUsageDetails)||null,loading:n}}(o?{assetId:o.id,assetSourceId:o.assetSource.id}:null),c=Object(l.useCallback)(()=>n(!1),[n]);return l.createElement(h.c,{isOpen:t,title:e("assetUsage.header","Usage details for "+o.label,{asset:o.label}),onRequestClose:c,style:"wide",actions:[l.createElement(d.Button,{key:"cancel",style:"neutral",hoverStyle:"darken",onClick:c},e("assetUsage.close","Close"))]},l.createElement("div",{className:_.a.assetUsage},(null==i?void 0:i.length)>0?i.map((e,t)=>l.createElement(y,{key:t,usageDetailsGroup:e})):l.createElement("span",null,s?e("assetUsagesModal.loading","Loading…"):e("assetUsagesModal.noResults","No results"))))});var S=c.a.memo(()=>{const{isInUse:e}=Object(p.i)(),[t,n]=Object(u.f)(m),{translate:r}=Object(f.d)();return c.a.createElement(d.Button,{disabled:!1===e,size:"regular",style:t?"brand":"lighter",hoverStyle:"brand",onClick:()=>n(!0)},c.a.createElement(d.Icon,{icon:"link"}),r("assetUsageList.toggle","Show usages"))});var E=Object(u.b)({key:"showUnusedAssets",default:!1}),w=n(7);var C=()=>{const{pagination:{assetsPerPage:e}}=Object(u.g)(w.f),t=Object(u.g)(w.e),[n,o]=Object(u.f)(w.h),a=Object(u.g)(E),[i,c]=Object(l.useState)([]),d=(t-1)*e,[f,{loading:p,error:h,data:m,refetch:v}]=Object(r.useLazyQuery)(s,{notifyOnNetworkStatusChange:!1,variables:{limit:e,offset:d}});return Object(l.useEffect)(()=>{!a||p||n?m&&!p&&n&&(o(!1),c(m.unusedAssets)):(f({variables:{limit:e,offset:d}}),o(!0))},[f,m,p,d,a]),{error:h,assets:i,refetch:v}};var T=r.gql` +`,l=n(0),c=n.n(l),u=n(1),d=n(3),f=n(5),p=n(9),h=n(11);var m=Object(u.b)({key:"assetUsageDetailsModalState",default:!1});var v=n(105),b=n.n(v);var y=l.memo(({usageDetailsGroup:e})=>{const{translate:t}=Object(f.d)(),{label:n,usages:r,metadataSchema:o}=e;return l.createElement("section",{className:b.a.usageSection},l.createElement("h2",null,n," (",r.length,")"),r.length>0&&l.createElement("table",{className:b.a.usageTable},l.createElement("thead",null,l.createElement("tr",null,l.createElement("th",null,t("assetUsage.header.label","Label")),o.map((e,t)=>l.createElement("th",{key:t},e.label)))),l.createElement("tbody",null,r.map((e,t)=>l.createElement("tr",{key:t},l.createElement("td",null,e.url?l.createElement("a",{href:e.url,target:"_blank",rel:"noreferrer"},e.label):e.label),o.map(({name:t,type:n},r)=>{const o=e.metadata.find(e=>e.name==t);return o?l.createElement("td",{key:r},"DATETIME"==n||"DATE"==n?new Date(o.value).toLocaleString():"URL"==n?l.createElement("a",{href:o.value,target:"_blank",rel:"noreferrer"},t):"JSON"==n?function e(t){return Array.isArray(t)?l.createElement("ul",null,t.map((t,n)=>l.createElement("li",{key:n},e(t)))):"object"==typeof t?l.createElement("ul",null,Object.keys(t).map(n=>l.createElement("li",{key:n},l.createElement("strong",null,n,":")," ",e(t[n])))):"string"==typeof t?t:JSON.stringify(t)}(JSON.parse(o.value)):o.value):null}))))))}),g=n(146),_=n.n(g);var O=l.memo(()=>{const{translate:e}=Object(f.d)(),[t,n]=Object(u.f)(m),o=Object(p.i)(),{assetUsageDetails:i,loading:s}=function(e){const{data:t,loading:n}=Object(r.useQuery)(a,{variables:{id:null==e?void 0:e.assetId,assetSourceId:null==e?void 0:e.assetSourceId},skip:!e});return{assetUsageDetails:(null==t?void 0:t.assetUsageDetails)||null,loading:n}}(o?{assetId:o.id,assetSourceId:o.assetSource.id}:null),c=Object(l.useCallback)(()=>n(!1),[n]);return l.createElement(h.c,{isOpen:t,title:e("assetUsage.header","Usage details for "+o.label,{asset:o.label}),onRequestClose:c,style:"wide",actions:[l.createElement(d.Button,{key:"cancel",style:"neutral",hoverStyle:"darken",onClick:c},e("assetUsage.close","Close"))]},l.createElement("div",{className:_.a.assetUsage},(null==i?void 0:i.length)>0?i.map((e,t)=>l.createElement(y,{key:t,usageDetailsGroup:e})):l.createElement("span",null,s?e("assetUsagesModal.loading","Loading…"):e("assetUsagesModal.noResults","No results"))))});var S=c.a.memo(()=>{const{isInUse:e}=Object(p.i)(),[t,n]=Object(u.f)(m),{translate:r}=Object(f.d)();return c.a.createElement(d.Button,{disabled:!1===e,size:"regular",style:t?"brand":"lighter",hoverStyle:"brand",onClick:()=>n(!0)},c.a.createElement(d.Icon,{icon:"link"}),r("assetUsageList.toggle","Show usages"))});var E=Object(u.b)({key:"showUnusedAssets",default:!1}),w=n(7);var C=()=>{const{pagination:{assetsPerPage:e}}=Object(u.g)(w.f),t=Object(u.g)(w.e),[n,o]=Object(u.f)(w.h),a=Object(u.g)(E),[i,c]=Object(l.useState)([]),d=(t-1)*e,[f,{loading:p,error:h,data:m,refetch:v}]=Object(r.useLazyQuery)(s,{notifyOnNetworkStatusChange:!1,variables:{limit:e,offset:d}});return Object(l.useEffect)(()=>{!a||p||n?m&&!p&&n&&(o(!1),c(m.unusedAssets)):(f({variables:{limit:e,offset:d}}),o(!0))},[f,m,p,d,a]),{error:h,assets:i,refetch:v}};var T=r.gql` query UNUSED_ASSET_COUNT { unusedAssetCount } @@ -221,7 +221,7 @@ var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Arr extend type Mutation { includeUsage: Boolean! } -`},function(e,t,n){"use strict";n.d(t,"f",(function(){return o})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return i})),n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return S})),n.d(t,"c",(function(){return w}));var r=n(1);const o=Object(r.b)({key:"clipboardState",default:!1});var a=n(22);const i=Object(r.b)({key:"ClipboardState",default:[],effects:[Object(a.a)("ClipboardState")]}),s=Object(r.e)({key:"ClipboardItemState",get:e=>({get:t})=>void 0!==t(i).find(({assetId:t,assetSourceId:n})=>t===e.assetId&&n===e.assetSourceId),set:e=>({set:t})=>{t(i,t=>{const n=t.findIndex(({assetId:t,assetSourceId:n})=>t===e.assetId&&n===e.assetSourceId);return-1===n?[...t,e]:t.splice(n,1)})}});var l=n(0),c=n.n(l),u=n(3),d=n(5),f=n(7),p=n(9),h=n(142),m=n.n(h);var v=l.memo(({assetIdentity:e})=>{const{asset:t}=Object(p.b)(e),{dummyImage:n}=Object(d.e)(),r=Object(d.f)(),o=Object(p.h)(),{translate:a}=Object(d.d)(),i=Object(l.useCallback)(()=>{e?o(e):r.warning(a("clipboard.assetNotLoaded","Cannot select asset as it couldn't be loaded"))},[e,o,r,a]);return l.createElement("button",{type:"button",onClick:i,className:m.a.clipboardItem,title:null==t?void 0:t.label},l.createElement("img",{src:(null==t?void 0:t.thumbnailUrl)||n,alt:(null==t?void 0:t.label)||e.assetId,width:40,height:36}))}),b=n(143),y=n.n(b);var g=c.a.memo(()=>{const{translate:e}=Object(d.d)(),t=Object(r.g)(i),[n,a]=Object(r.f)(o),s=Object(r.g)(f.g),p=Object(l.useCallback)(()=>a(e=>!e),[a]),h=Object.keys(t).length;return s?c.a.createElement("div",{className:y.a.clipboardToggle},c.a.createElement(u.Button,{disabled:0===h,size:"regular",style:n?"brand":"lighter",hoverStyle:"brand",onClick:p},e("clipboard.toggle","Clipboard")," (",h,")"),Object.values(t).slice().reverse().slice(0,3).map(e=>c.a.createElement(v,{key:e.assetId,assetIdentity:e}))):null}),_=n(144),O=n.n(_);var S=c.a.memo(()=>{const{translate:e}=Object(d.d)(),{approvalAttainmentStrategy:t}=Object(d.e)(),n=Object(r.g)(o),[a,s]=Object(r.f)(i),{deleteAsset:f}=Object(p.e)(),h=Object(d.f)(),m=Object(l.useCallback)(async()=>{await t.obtainApprovalToDeleteAssets({assets:a})&&Promise.all(a.map(async e=>await f(e))).then(()=>{h.ok(e("clipboard.deleteAssets.success","The assets have been deleted"))}).catch(({message:t})=>{h.error(e("clipboard.deleteAssets.error","Error while trying to delete the assets"),t)})},[t,a,f,h,e]),v=Object(l.useCallback)(()=>{t.obtainApprovalToFlushClipboard()&&s([])},[t,s]);return n?c.a.createElement("div",{className:O.a.clipboardActions},c.a.createElement(u.IconButton,{title:e("clipboard.deleteAsset","Delete all assets in clipboard"),icon:"trash",size:"regular",style:"transparent",hoverStyle:"error",onClick:m}),c.a.createElement(u.IconButton,{title:e("clipboard.flush","Flush clipboard"),icon:"clipboard",size:"regular",style:"transparent",hoverStyle:"warn",onClick:v})):null}),E=n(38);var w=()=>{const e=Object(r.h)(i),t=Object(p.f)(E.b);return Object(l.useEffect)(()=>{const n=t.subscribe((t,n)=>{e(e=>e.filter(({assetId:e,assetSourceId:t})=>!(e===n.assetId&&t===n.assetSourceId)))});return()=>{t.unsubscribe(n)}},[e,t]),null}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(4),o=n(35);const a=r.gql` +`},function(e,t,n){"use strict";n.d(t,"f",(function(){return o})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return i})),n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return S})),n.d(t,"c",(function(){return w}));var r=n(1);const o=Object(r.b)({key:"clipboardState",default:!1});var a=n(22);const i=Object(r.b)({key:"ClipboardState",default:[],effects:[Object(a.a)("ClipboardState")]}),s=Object(r.e)({key:"ClipboardItemState",get:e=>({get:t})=>void 0!==t(i).find(({assetId:t,assetSourceId:n})=>t===e.assetId&&n===e.assetSourceId),set:e=>({set:t})=>{t(i,t=>{const n=t.findIndex(({assetId:t,assetSourceId:n})=>t===e.assetId&&n===e.assetSourceId);return-1===n?[...t,e]:t.splice(n,1)})}});var l=n(0),c=n.n(l),u=n(3),d=n(5),f=n(7),p=n(9),h=n(143),m=n.n(h);var v=l.memo(({assetIdentity:e})=>{const{asset:t}=Object(p.b)(e),{dummyImage:n}=Object(d.e)(),r=Object(d.f)(),o=Object(p.h)(),{translate:a}=Object(d.d)(),i=Object(l.useCallback)(()=>{e?o(e):r.warning(a("clipboard.assetNotLoaded","Cannot select asset as it couldn't be loaded"))},[e,o,r,a]);return l.createElement("button",{type:"button",onClick:i,className:m.a.clipboardItem,title:null==t?void 0:t.label},l.createElement("img",{src:(null==t?void 0:t.thumbnailUrl)||n,alt:(null==t?void 0:t.label)||e.assetId,width:40,height:36}))}),b=n(144),y=n.n(b);var g=c.a.memo(()=>{const{translate:e}=Object(d.d)(),t=Object(r.g)(i),[n,a]=Object(r.f)(o),s=Object(r.g)(f.g),p=Object(l.useCallback)(()=>a(e=>!e),[a]),h=Object.keys(t).length;return s?c.a.createElement("div",{className:y.a.clipboardToggle},c.a.createElement(u.Button,{disabled:0===h,size:"regular",style:n?"brand":"lighter",hoverStyle:"brand",onClick:p},e("clipboard.toggle","Clipboard")," (",h,")"),Object.values(t).slice().reverse().slice(0,3).map(e=>c.a.createElement(v,{key:e.assetId,assetIdentity:e}))):null}),_=n(145),O=n.n(_);var S=c.a.memo(()=>{const{translate:e}=Object(d.d)(),{approvalAttainmentStrategy:t}=Object(d.e)(),n=Object(r.g)(o),[a,s]=Object(r.f)(i),{deleteAsset:f}=Object(p.e)(),h=Object(d.f)(),m=Object(l.useCallback)(async()=>{await t.obtainApprovalToDeleteAssets({assets:a})&&Promise.all(a.map(async e=>await f(e))).then(()=>{h.ok(e("clipboard.deleteAssets.success","The assets have been deleted"))}).catch(({message:t})=>{h.error(e("clipboard.deleteAssets.error","Error while trying to delete the assets"),t)})},[t,a,f,h,e]),v=Object(l.useCallback)(()=>{t.obtainApprovalToFlushClipboard()&&s([])},[t,s]);return n?c.a.createElement("div",{className:O.a.clipboardActions},c.a.createElement(u.IconButton,{title:e("clipboard.deleteAsset","Delete all assets in clipboard"),icon:"trash",size:"regular",style:"transparent",hoverStyle:"error",onClick:m}),c.a.createElement(u.IconButton,{title:e("clipboard.flush","Flush clipboard"),icon:"clipboard",size:"regular",style:"transparent",hoverStyle:"warn",onClick:v})):null}),E=n(38);var w=()=>{const e=Object(r.h)(i),t=Object(p.f)(E.b);return Object(l.useEffect)(()=>{const n=t.subscribe((t,n)=>{e(e=>e.filter(({assetId:e,assetSourceId:t})=>!(e===n.assetId&&t===n.assetSourceId)))});return()=>{t.unsubscribe(n)}},[e,t]),null}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(4),o=n(35);const a=r.gql` fragment IptcPropertyProps on IptcProperty { propertyName value @@ -290,17 +290,17 @@ var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Arr } } ${d} -`;function p(){const{data:e,loading:t}=Object(c.useQuery)(f),n=Object(l.g)(u.d);return{assetSources:Object(r.useMemo)(()=>{var t;const r=(null==e?void 0:e.assetSources)||[];return(null===(t=n.assetSources)||void 0===t?void 0:t.length)>0?r.filter(e=>n.assetSources.includes(e.id)):r},[null==e?void 0:e.assetSources,n.assetSources]),loading:t}}var h=n(20);const m="neos",v=Object(l.b)({key:"SelectedAssetSourceIdState",default:m,effects:[Object(u.i)("SelectedAssetSourceIdState")]}),b=Object(l.d)({key:"SelectedAssetSourceState",get:({get:e})=>{var t;const n=e(v),r=e(u.d);return(null===(t=r.assetSources)||void 0===t?void 0:t.length)>0&&!r.assetSources.includes(n)?r.assetSources[0]:n},set:({set:e},t)=>{e(v,t),e(u.e,1),e(h.f,!1)}}),y=()=>{const e=Object(l.g)(b),{assetSources:t}=p();return Object(r.useMemo)(()=>t.find(t=>t.id===e),[t,e])};var g=n(101),_=n.n(g);var O=o.a.memo(()=>{const{translate:e}=Object(i.d)(),t=y(),{assetSources:n}=p();return!(null==t?void 0:t.description)||n.length<=1?null:o.a.createElement(a.ToggablePanel,{closesToBottom:!0,className:_.a.assetSourceDescription},o.a.createElement(a.ToggablePanel.Header,{className:_.a.panelHeader},o.a.createElement(s.d,{icon:"info-circle",label:e("assetSourceDescription.header","Media source description")})),o.a.createElement(a.ToggablePanel.Contents,null,o.a.createElement("p",null,t.description)))}),S=n(13),E=n.n(S),w=n(63),C=n.n(w);var T=o.a.memo(()=>{const{assetSources:e}=p(),{translate:t}=Object(i.d)(),[n,r]=Object(l.f)(b);return!e||e.length<2?null:o.a.createElement("nav",{className:C.a.assetSourceList},o.a.createElement(a.Headline,{type:"h2",className:C.a.header},o.a.createElement(s.d,{icon:"box",label:t("assetSourceList.header","Media sources")})),null==e?void 0:e.map(e=>o.a.createElement("button",{key:e.id,type:"button",className:E()(C.a.item,n===e.id&&C.a.itemSelected),onClick:()=>r(e.id)},o.a.createElement(s.d,{label:"neos"===e.id?t("assetSource.local","Local"):e.label,iconUri:e.iconUri,className:C.a.itemLabel}))))})},function(e,t,n){"use strict";n.d(t,"c",(function(){return m})),n.d(t,"b",(function(){return S})),n.d(t,"a",(function(){return E})),n.d(t,"d",(function(){return I})),n.d(t,"e",(function(){return r.b})),n.d(t,"f",(function(){return h})),n.d(t,"g",(function(){return k})),n.d(t,"h",(function(){return r.c}));var r=n(52),o=n(0),a=n.n(o),i=n(4);const s=new Map,l=(e,t)=>{if(!Array.isArray(e))switch(typeof e){case"string":e=[e];break;case"undefined":e=[];break;default:throw new TypeError(`Expected '${t}' to be a string or an array, but got a type of '${typeof e}'`)}return e.filter(e=>{if("string"!=typeof e){if(void 0===e)return!1;throw new TypeError(`Expected '${t}' to be an array of strings, but found a type of '${typeof e}' in the array`)}return!0})},c=(e,t)=>{t={caseSensitive:!1,...t};const n=e+JSON.stringify(t);if(s.has(n))return s.get(n);const r="!"===e[0];r&&(e=e.slice(1)),e=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e).replace(/\\\*/g,"[\\s\\S]*");const o=new RegExp(`^${e}$`,t.caseSensitive?"":"i");return o.negated=r,s.set(n,o),o},u=(e,t,n,r)=>{if(e=l(e,"inputs"),0===(t=l(t,"patterns")).length)return[];t=t.map(e=>c(e,n));const{allPatterns:o}=n||{},a=[];for(const n of e){let e;const i=[...t].fill(!1);for(const[r,o]of t.entries())if(o.test(n)&&(i[r]=!0,e=!o.negated,!e))break;if(!(!1===e||void 0===e&&t.some(e=>!e.negated)||o&&i.some((e,n)=>!e&&!t[n].negated))&&(a.push(n),r))break}return a};function d(e,t,n){return u(e,t,n,!0).length>0}var f=n(9);const p=Object(o.createContext)(null),h=()=>Object(o.useContext)(p);function m({children:e,translate:t}){return o.createElement(p.Provider,{value:{translate:t}},e)}var v=n(3),b=n(11),y=n(102),g=n.n(y);var _=a.a.memo(({title:e,message:t,buttonLabel:n,onConfirm:r,onDeny:o})=>{const{translate:i}=h(),s=a.a.useCallback(()=>o(),[o]),l=a.a.useCallback(()=>r(),[r]);return a.a.createElement(b.c,{type:"error",isOpen:!0,title:a.a.createElement(a.a.Fragment,null,a.a.createElement(v.Icon,{icon:"exclamation-triangle"}),a.a.createElement("span",{className:g.a.modalTitle},e)),onRequestClose:s,actions:[a.a.createElement(v.Button,{key:"cancel",style:"neutral",hoverStyle:"darken",onClick:s},i("general.cancel","Cancel")),a.a.createElement(v.Button,{key:"confirm",style:"error",hoverStyle:"error",onClick:l},n)]},a.a.createElement("div",{className:g.a.dialogBody},a.a.createElement(v.Label,null,t)))});const O=Object(o.createContext)({}),S=({children:e})=>{const[t,n]=Object(o.useState)(null),r=Object(o.useCallback)(e=>{if(null!==t)throw new Error("[InteractionProvider]: Element cannot be overwritten if it is already set.");n(e)},[t]);return a.a.createElement(O.Provider,{value:{element:t,setElement:r}},e)},E=()=>{const{element:e}=Object(o.useContext)(O);return e};var w=n(21),C=n(92),T=n(1),A=n(7);const j=Object(o.createContext)({}),k=()=>Object(o.useContext)(j);function I({children:e,dummyImage:t,selectionMode:n=!1,isInNodeCreationDialog:s=!1,onAssetSelection:l=null,containerRef:c,approvalAttainmentStrategyFactory:u=C.b}){const{translate:p}=h(),m=Object(r.c)(),v=(()=>{const{setElement:e}=Object(o.useContext)(O),t=Object(o.useCallback)(async t=>{try{return await new Promise(n=>{e(a.a.createElement(_,{title:t.title,message:t.message,buttonLabel:t.buttonLabel,onConfirm:()=>n(!0),onDeny:()=>n(!1)}))})}finally{e(null)}},[e]);return Object(o.useMemo)(()=>({confirm:t}),[t])})(),b=Object(i.useApolloClient)(),{importAsset:y}=Object(f.g)(),g=Object(T.g)(A.d),S=Object(o.useMemo)(()=>u({interaction:v,intl:{translate:p}}),[u,v,p]),E=Object(o.useCallback)(e=>{var t,n;return!((null===(t=g.mediaTypes)||void 0===t?void 0:t.length)>0&&!d(e.file.mediaType,g.mediaTypes))&&!((null===(n=g.assetSources)||void 0===n?void 0:n.length)>0&&!d(e.assetSource.id,g.assetSources))},[g]),k=Object(o.useCallback)(e=>{if(!l||!e)return;const t=b.readFragment({fragment:i.gql` +`;function p(){const{data:e,loading:t}=Object(c.useQuery)(f),n=Object(l.g)(u.d);return{assetSources:Object(r.useMemo)(()=>{var t;const r=(null==e?void 0:e.assetSources)||[];return(null===(t=n.assetSources)||void 0===t?void 0:t.length)>0?r.filter(e=>n.assetSources.includes(e.id)):r},[null==e?void 0:e.assetSources,n.assetSources]),loading:t}}var h=n(20);const m="neos",v=Object(l.b)({key:"SelectedAssetSourceIdState",default:m,effects:[Object(u.i)("SelectedAssetSourceIdState")]}),b=Object(l.d)({key:"SelectedAssetSourceState",get:({get:e})=>{var t;const n=e(v),r=e(u.d);return(null===(t=r.assetSources)||void 0===t?void 0:t.length)>0&&!r.assetSources.includes(n)?r.assetSources[0]:n},set:({set:e},t)=>{e(v,t),e(u.e,1),e(h.f,!1)}}),y=()=>{const e=Object(l.g)(b),{assetSources:t}=p();return Object(r.useMemo)(()=>t.find(t=>t.id===e),[t,e])};var g=n(103),_=n.n(g);var O=o.a.memo(()=>{const{translate:e}=Object(i.d)(),t=y(),{assetSources:n}=p();return!(null==t?void 0:t.description)||n.length<=1?null:o.a.createElement(a.ToggablePanel,{closesToBottom:!0,className:_.a.assetSourceDescription},o.a.createElement(a.ToggablePanel.Header,{className:_.a.panelHeader},o.a.createElement(s.d,{icon:"info-circle",label:e("assetSourceDescription.header","Media source description")})),o.a.createElement(a.ToggablePanel.Contents,null,o.a.createElement("p",null,t.description)))}),S=n(13),E=n.n(S),w=n(63),C=n.n(w);var T=o.a.memo(()=>{const{assetSources:e}=p(),{translate:t}=Object(i.d)(),[n,r]=Object(l.f)(b);return!e||e.length<2?null:o.a.createElement("nav",{className:C.a.assetSourceList},o.a.createElement(a.Headline,{type:"h2",className:C.a.header},o.a.createElement(s.d,{icon:"box",label:t("assetSourceList.header","Media sources")})),null==e?void 0:e.map(e=>o.a.createElement("button",{key:e.id,type:"button",className:E()(C.a.item,n===e.id&&C.a.itemSelected),onClick:()=>r(e.id)},o.a.createElement(s.d,{label:"neos"===e.id?t("assetSource.local","Local"):e.label,iconUri:e.iconUri,className:C.a.itemLabel}))))})},function(e,t,n){"use strict";n.d(t,"c",(function(){return m})),n.d(t,"b",(function(){return S})),n.d(t,"a",(function(){return E})),n.d(t,"d",(function(){return I})),n.d(t,"e",(function(){return r.b})),n.d(t,"f",(function(){return h})),n.d(t,"g",(function(){return k})),n.d(t,"h",(function(){return r.c}));var r=n(53),o=n(0),a=n.n(o),i=n(4);const s=new Map,l=(e,t)=>{if(!Array.isArray(e))switch(typeof e){case"string":e=[e];break;case"undefined":e=[];break;default:throw new TypeError(`Expected '${t}' to be a string or an array, but got a type of '${typeof e}'`)}return e.filter(e=>{if("string"!=typeof e){if(void 0===e)return!1;throw new TypeError(`Expected '${t}' to be an array of strings, but found a type of '${typeof e}' in the array`)}return!0})},c=(e,t)=>{t={caseSensitive:!1,...t};const n=e+JSON.stringify(t);if(s.has(n))return s.get(n);const r="!"===e[0];r&&(e=e.slice(1)),e=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e).replace(/\\\*/g,"[\\s\\S]*");const o=new RegExp(`^${e}$`,t.caseSensitive?"":"i");return o.negated=r,s.set(n,o),o},u=(e,t,n,r)=>{if(e=l(e,"inputs"),0===(t=l(t,"patterns")).length)return[];t=t.map(e=>c(e,n));const{allPatterns:o}=n||{},a=[];for(const n of e){let e;const i=[...t].fill(!1);for(const[r,o]of t.entries())if(o.test(n)&&(i[r]=!0,e=!o.negated,!e))break;if(!(!1===e||void 0===e&&t.some(e=>!e.negated)||o&&i.some((e,n)=>!e&&!t[n].negated))&&(a.push(n),r))break}return a};function d(e,t,n){return u(e,t,n,!0).length>0}var f=n(9);const p=Object(o.createContext)(null),h=()=>Object(o.useContext)(p);function m({children:e,translate:t}){return o.createElement(p.Provider,{value:{translate:t}},e)}var v=n(3),b=n(11),y=n(104),g=n.n(y);var _=a.a.memo(({title:e,message:t,buttonLabel:n,onConfirm:r,onDeny:o})=>{const{translate:i}=h(),s=a.a.useCallback(()=>o(),[o]),l=a.a.useCallback(()=>r(),[r]);return a.a.createElement(b.c,{type:"error",isOpen:!0,title:a.a.createElement(a.a.Fragment,null,a.a.createElement(v.Icon,{icon:"exclamation-triangle"}),a.a.createElement("span",{className:g.a.modalTitle},e)),onRequestClose:s,actions:[a.a.createElement(v.Button,{key:"cancel",style:"neutral",hoverStyle:"darken",onClick:s},i("general.cancel","Cancel")),a.a.createElement(v.Button,{key:"confirm",style:"error",hoverStyle:"error",onClick:l},n)]},a.a.createElement("div",{className:g.a.dialogBody},a.a.createElement(v.Label,null,t)))});const O=Object(o.createContext)({}),S=({children:e})=>{const[t,n]=Object(o.useState)(null),r=Object(o.useCallback)(e=>{if(null!==t)throw new Error("[InteractionProvider]: Element cannot be overwritten if it is already set.");n(e)},[t]);return a.a.createElement(O.Provider,{value:{element:t,setElement:r}},e)},E=()=>{const{element:e}=Object(o.useContext)(O);return e};var w=n(21),C=n(94),T=n(1),A=n(7);const j=Object(o.createContext)({}),k=()=>Object(o.useContext)(j);function I({children:e,dummyImage:t,selectionMode:n=!1,isInNodeCreationDialog:s=!1,onAssetSelection:l=null,containerRef:c,approvalAttainmentStrategyFactory:u=C.b}){const{translate:p}=h(),m=Object(r.c)(),v=(()=>{const{setElement:e}=Object(o.useContext)(O),t=Object(o.useCallback)(async t=>{try{return await new Promise(n=>{e(a.a.createElement(_,{title:t.title,message:t.message,buttonLabel:t.buttonLabel,onConfirm:()=>n(!0),onDeny:()=>n(!1)}))})}finally{e(null)}},[e]);return Object(o.useMemo)(()=>({confirm:t}),[t])})(),b=Object(i.useApolloClient)(),{importAsset:y}=Object(f.g)(),g=Object(T.g)(A.d),S=Object(o.useMemo)(()=>u({interaction:v,intl:{translate:p}}),[u,v,p]),E=Object(o.useCallback)(e=>{var t,n;return!((null===(t=g.mediaTypes)||void 0===t?void 0:t.length)>0&&!d(e.file.mediaType,g.mediaTypes))&&!((null===(n=g.assetSources)||void 0===n?void 0:n.length)>0&&!d(e.assetSource.id,g.assetSources))},[g]),k=Object(o.useCallback)(e=>{if(!l||!e)return;const t=b.readFragment({fragment:i.gql` fragment LocalAssetData on Asset { ...AssetProps } ${w.a} - `,fragmentName:"LocalAssetData",variables:{includeUsage:!1},id:b.cache.identify({__typename:"Asset",id:e.assetId})});E(t)?t.localId?l(t.localId):y(e).then(({data:e})=>{l(e.importAsset.localId)}):m.notice(p("action.selectAsset.invalidType.message","You can only select any of the following types: {types}",{types:g.mediaTypes.join(", ")}))},[b,y,l,E,p,m,g.mediaTypes]);return a.a.createElement(j.Provider,{value:{containerRef:c,dummyImage:t,handleSelectAsset:k,selectionMode:n,isInNodeCreationDialog:s,isAssetSelectable:E,approvalAttainmentStrategy:S}},e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return T})),n.d(t,"c",(function(){return I}));var r=function(){return Object.create(null)},o=Array.prototype,a=o.forEach,i=o.slice,s=function(){function e(e,t){void 0===e&&(e=!0),void 0===t&&(t=r),this.weakness=e,this.makeData=t}return e.prototype.lookup=function(){for(var e=[],t=0;tthis.max;)this.delete(this.oldest.key)},e.prototype.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)},e}(),d=new l.a;function f(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=void 0,t())}var p=[];function h(e,t){if(!e)throw new Error(t||"assertion failure")}function m(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var v=function(){function e(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++e.count}return e.prototype.peek=function(){if(1===this.value.length&&!y(this))return this.value[0]},e.prototype.recompute=function(e){return h(!this.recomputing,"already recomputing"),function(e){var t=d.getValue();if(t)e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),y(e)?O(t,e):S(t,e)}(this),y(this)?function(e,t){w(e),d.withValue(e,b,[e,t]),function(e,t){if("function"==typeof e.subscribe)try{f(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(e,t)&&function(e){if(e.dirty=!1,y(e))return;_(e)}(e);return m(e.value)}(this,e):m(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,g(this),w(this),f(this))},e.prototype.dispose=function(){var e=this;w(this),f(this),this.parents.forEach((function(t){t.setDirty(),C(t,e)}))},e.prototype.dependOn=function(e){e.add(this),this.deps||(this.deps=p.pop()||new Set),this.deps.add(e)},e.prototype.forgetDeps=function(){var e=this;this.deps&&(this.deps.forEach((function(t){return t.delete(e)})),this.deps.clear(),p.push(this.deps),this.deps=null)},e.count=0,e}();function b(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(t){e.value[1]=t}e.recomputing=!1}function y(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function g(e){e.parents.forEach((function(t){return O(t,e)}))}function _(e){e.parents.forEach((function(t){return S(t,e)}))}function O(e,t){if(h(e.childValues.has(t)),h(y(t)),e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=p.pop()||new Set;e.dirtyChildren.add(t),g(e)}function S(e,t){h(e.childValues.has(t)),h(!y(t));var n,r,o,a=e.childValues.get(t);0===a.length?e.childValues.set(t,t.value.slice(0)):(n=a,r=t.value,(o=n.length)>0&&o===r.length&&n[o-1]===r[o-1]||e.setDirty()),E(e,t),y(e)||_(e)}function E(e,t){var n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(p.length<100&&p.push(n),e.dirtyChildren=null))}function w(e){e.childValues.size>0&&e.childValues.forEach((function(t,n){C(e,n)})),e.forgetDeps(),h(null===e.dirtyChildren)}function C(e,t){t.parents.delete(e),e.childValues.delete(t),E(e,t)}function T(e){var t=new Map,n=e&&e.subscribe;function r(e){var r=d.getValue();if(r){var o=t.get(e);o||t.set(e,o=new Set),r.dependOn(o),"function"==typeof n&&(f(o),o.unsubscribe=n(e))}}return r.dirty=function(e){var n=t.get(e);n&&(n.forEach((function(e){return e.setDirty()})),t.delete(e),f(n))},r}var A=new s("function"==typeof WeakMap);function j(){for(var e=[],t=0;t0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0)&&!(r=a.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i}function s(){for(var e=[],t=0;t{l(e.importAsset.localId)}):m.notice(p("action.selectAsset.invalidType.message","You can only select any of the following types: {types}",{types:g.mediaTypes.join(", ")}))},[b,y,l,E,p,m,g.mediaTypes]);return a.a.createElement(j.Provider,{value:{containerRef:c,dummyImage:t,handleSelectAsset:k,selectionMode:n,isInNodeCreationDialog:s,isAssetSelectable:E,approvalAttainmentStrategy:S}},e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return T})),n.d(t,"c",(function(){return I}));var r=function(){return Object.create(null)},o=Array.prototype,a=o.forEach,i=o.slice,s=function(){function e(e,t){void 0===e&&(e=!0),void 0===t&&(t=r),this.weakness=e,this.makeData=t}return e.prototype.lookup=function(){for(var e=[],t=0;tthis.max;)this.delete(this.oldest.key)},e.prototype.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)},e}(),d=new l.a;function f(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=void 0,t())}var p=[];function h(e,t){if(!e)throw new Error(t||"assertion failure")}function m(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var v=function(){function e(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++e.count}return e.prototype.peek=function(){if(1===this.value.length&&!y(this))return this.value[0]},e.prototype.recompute=function(e){return h(!this.recomputing,"already recomputing"),function(e){var t=d.getValue();if(t)e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),y(e)?O(t,e):S(t,e)}(this),y(this)?function(e,t){w(e),d.withValue(e,b,[e,t]),function(e,t){if("function"==typeof e.subscribe)try{f(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(e,t)&&function(e){if(e.dirty=!1,y(e))return;_(e)}(e);return m(e.value)}(this,e):m(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,g(this),w(this),f(this))},e.prototype.dispose=function(){var e=this;w(this),f(this),this.parents.forEach((function(t){t.setDirty(),C(t,e)}))},e.prototype.dependOn=function(e){e.add(this),this.deps||(this.deps=p.pop()||new Set),this.deps.add(e)},e.prototype.forgetDeps=function(){var e=this;this.deps&&(this.deps.forEach((function(t){return t.delete(e)})),this.deps.clear(),p.push(this.deps),this.deps=null)},e.count=0,e}();function b(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(t){e.value[1]=t}e.recomputing=!1}function y(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function g(e){e.parents.forEach((function(t){return O(t,e)}))}function _(e){e.parents.forEach((function(t){return S(t,e)}))}function O(e,t){if(h(e.childValues.has(t)),h(y(t)),e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=p.pop()||new Set;e.dirtyChildren.add(t),g(e)}function S(e,t){h(e.childValues.has(t)),h(!y(t));var n,r,o,a=e.childValues.get(t);0===a.length?e.childValues.set(t,t.value.slice(0)):(n=a,r=t.value,(o=n.length)>0&&o===r.length&&n[o-1]===r[o-1]||e.setDirty()),E(e,t),y(e)||_(e)}function E(e,t){var n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(p.length<100&&p.push(n),e.dirtyChildren=null))}function w(e){e.childValues.size>0&&e.childValues.forEach((function(t,n){C(e,n)})),e.forgetDeps(),h(null===e.dirtyChildren)}function C(e,t){t.parents.delete(e),e.childValues.delete(t),E(e,t)}function T(e){var t=new Map,n=e&&e.subscribe;function r(e){var r=d.getValue();if(r){var o=t.get(e);o||t.set(e,o=new Set),r.dependOn(o),"function"==typeof n&&(f(o),o.unsubscribe=n(e))}}return r.dirty=function(e){var n=t.get(e);n&&(n.forEach((function(e){return e.setDirty()})),t.delete(e),f(n))},r}var A=new s("function"==typeof WeakMap);function j(){for(var e=[],t=0;t0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0)&&!(r=a.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i}function s(){for(var e=[],t=0;t{t.publish(e)};return t.subscribe=t=>o.a.subscribe(e,t),t.unsubscribe=e=>{o.a.unsubscribe(e)},t.publish=t=>o.a.publish(e,t),t}const i=a("ASSET_CREATED"),s=a("ASSET_REMOVED"),l=a("ASSET_UPDATED")},function(e,t,n){e.exports={assetsFilter:"AssetsFilter-module__assetsFilter___3rCkH",active:"AssetsFilter-module__active___3caFq",filterList:"AssetsFilter-module__filterList___3vink",typeFilter:"AssetsFilter-module__typeFilter___1WqE8",selectBox:"AssetsFilter-module__selectBox___12L48"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){var t;if(window["@Neos:HostPluginAPI"]&&window["@Neos:HostPluginAPI"]["@"+e])return(t=window["@Neos:HostPluginAPI"])["@"+e].apply(t,arguments);throw new Error("You are trying to read from a consumer api that hasn't been initialized yet!")}}},function(e,t,n){"use strict";var r=n(85);n.d(t,"ApolloCache",(function(){return r.a}));var o=n(117);n.d(t,"Cache",(function(){return o.a}));var a=n(57);n.d(t,"MissingFieldError",(function(){return a.a}));n(6);var i=n(129);n.d(t,"InMemoryCache",(function(){return i.a}));var s=n(43);n.d(t,"makeVar",(function(){return s.c})),n.d(t,"cacheSlot",(function(){return s.a}));var l=n(73);n.d(t,"defaultDataIdFromObject",(function(){return l.b}));n(83)},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=null,o={},a=1,i=Array,s=i["@wry/context:Slot"]||function(){var e=function(){function e(){this.id=["slot",a++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var e=r;e;e=e.parent)if(this.id in e.slots){var t=e.slots[this.id];if(t===o)break;return e!==r&&(r.slots[this.id]=t),!0}return r&&(r.slots[this.id]=o),!1},e.prototype.getValue=function(){if(this.hasValue())return r.slots[this.id]},e.prototype.withValue=function(e,t,n,o){var a,i=((a={__proto__:null})[this.id]=e,a),s=r;r={parent:s,slots:i};try{return t.apply(o,n)}finally{r=s}},e.bind=function(e){var t=r;return function(){var n=r;try{return r=t,e.apply(this,arguments)}finally{r=n}}},e.noContext=function(e,t,n){if(!r)return e.apply(n,t);var o=r;try{return r=null,e.apply(n,t)}finally{r=o}},e}();try{Object.defineProperty(i,"@wry/context:Slot",{value:i["@wry/context:Slot"]=e,enumerable:!1,writable:!1,configurable:!1})}finally{return e}}();s.bind,s.noContext},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return l})),n.d(t,"d",(function(){return c})),n.d(t,"c",(function(){return u}));var r=n(25),o=new(n(42).a);function a(e,t){if(e.size){var n=[];e.forEach((function(e){return n.push(e)})),e.clear(),n.forEach(t)}}var i=new WeakMap;function s(e){var t=i.get(e);return t||i.set(e,t={vars:new Set,dep:Object(r.b)()}),t}function l(e){s(e).vars.forEach((function(t){return t.forgetCache(e)}))}function c(e){s(e).vars.forEach((function(t){return t.attachCache(e)}))}function u(e){var t=new Set,n=new Set,r=function(l){if(arguments.length>0)e!==l&&(e=l,t.forEach((function(e){s(e).dep.dirty(r),d(e)})),a(n,(function(t){return t(e)})));else{var c=o.getValue();c&&(i(c),s(c).dep(r))}return e};r.onNextChange=function(e){return n.add(e),function(){n.delete(e)}};var i=r.attachCache=function(e){return t.add(e),s(e).vars.add(r),r};return r.forgetCache=function(e){return t.delete(e)},r}function d(e){e.broadcastWatches&&e.broadcastWatches()}},function(e,t,n){e.exports={variantContainer:"Variant-module__variantContainer___1Rz5s",picture:"Variant-module__picture___FTBHB",image:"Variant-module__image___2HAPN",caption:"Variant-module__caption___fS3Y6",infoContainer:"Variant-module__infoContainer___1P2bn",info:"Variant-module__info___1QLy6",variantSizes:"Variant-module__variantSizes___1bXmk"}},function(e,t,n){e.exports={listView:"ListView-module__listView___OX0zS","listView--fullHeight":"ListView-module__listView--fullHeight___36H-z",tableHeader:"ListView-module__tableHeader___2ADYa"}},function(e,t,n){e.exports={listViewItem:"ListViewItem-module__listViewItem___Fd0jz",selected:"ListViewItem-module__selected___3DAUq",textColumn:"ListViewItem-module__textColumn___1z3sq",previewColumn:"ListViewItem-module__previewColumn___qhg-o",labelColumn:"ListViewItem-module__labelColumn___1N00U ListViewItem-module__textColumn___1z3sq",lastModifiedColumn:"ListViewItem-module__lastModifiedColumn___331Rr ListViewItem-module__textColumn___1z3sq",fileSizeColumn:"ListViewItem-module__fileSizeColumn___3vlGC ListViewItem-module__textColumn___1z3sq",mediaTypeColumn:"ListViewItem-module__mediaTypeColumn___11TSD ListViewItem-module__textColumn___1z3sq",actionsColumn:"ListViewItem-module__actionsColumn___18fhN ListViewItem-module__textColumn___1z3sq"}},function(e,t,n){e.exports={mediaModuleApp:"App-module__mediaModuleApp___16GgU",container:"App-module__container___1eV11",fullHeight:"App-module__fullHeight___3WKdi",selectionMode:"App-module__selectionMode___2O0-t",gridColumn:"App-module__gridColumn___pTlSy",gridRight:"App-module__gridRight___1ZvBy App-module__gridColumn___pTlSy",gridLeft:"App-module__gridLeft___1vBO6 App-module__gridColumn___pTlSy",gridMain:"App-module__gridMain___1cIQ3 App-module__gridColumn___pTlSy",gridTop:"App-module__gridTop___2aVks"}},function(e,t,n){"use strict";function r(e,t=!0){const n=t?1e3:1024;if(Math.abs(e)=n&&o0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var p=[".DS_Store","Thumbs.db"];function h(e){return(null!==e.target&&e.target.files?b(e.target.files):[]).map((function(e){return f(e)}))}function m(e,t){return Object(u.b)(this,void 0,void 0,(function(){var n;return Object(u.c)(this,(function(r){switch(r.label){case 0:return e.items?(n=b(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(y))]):[3,2];case 1:return[2,v(g(r.sent()))];case 2:return[2,v(b(e.files).map((function(e){return f(e)})))]}}))}))}function v(e){return e.filter((function(e){return-1===p.indexOf(e.name)}))}function b(e){for(var t=[],n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nn)return[!1,k(n)];if(e.sizen)return[!1,k(n)]}return[!0,null]}function D(e){return null!=e}function M(e){var t=e.files,n=e.accept,r=e.minSize,o=e.maxSize,a=e.multiple,i=e.maxFiles;return!(!a&&t.length>1||a&&i>=1&&t.length>i)&&t.every((function(e){var t=T(x(e,n),1)[0],a=T(R(e,r,o),1)[0];return t&&a}))}function L(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function P(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function F(e){e.preventDefault()}function B(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function U(e){return-1!==e.indexOf("Edge/")}function V(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return B(e)||U(e)}function q(){for(var e=arguments.length,t=new Array(e),n=0;n1?n-1:0),o=1;oe.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var X=Object(r.forwardRef)((function(e,t){var n=e.children,a=ee(Y(e,["children"])),i=a.open,s=Y(a,["open"]);return Object(r.useImperativeHandle)(t,(function(){return{open:i}}),[i]),o.a.createElement(r.Fragment,null,n(K(K({},s),{},{open:i})))}));X.displayName="Dropzone";var J={disabled:!1,getFilesFromEvent:function(e){return Object(u.b)(this,void 0,void 0,(function(){return Object(u.c)(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?m(e.dataTransfer,e.type):h(e))];var n}))}))},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null};X.defaultProps=J,X.propTypes={children:c.a.func,accept:c.a.oneOfType([c.a.string,c.a.arrayOf(c.a.string)]),multiple:c.a.bool,preventDropOnDocument:c.a.bool,noClick:c.a.bool,noKeyboard:c.a.bool,noDrag:c.a.bool,noDragEventsBubbling:c.a.bool,minSize:c.a.number,maxSize:c.a.number,maxFiles:c.a.number,disabled:c.a.bool,getFilesFromEvent:c.a.func,onFileDialogCancel:c.a.func,onDragEnter:c.a.func,onDragLeave:c.a.func,onDragOver:c.a.func,onDrop:c.a.func,onDropAccepted:c.a.func,onDropRejected:c.a.func,validator:c.a.func};var Z={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]};function ee(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=K(K({},J),e),n=t.accept,o=t.disabled,a=t.getFilesFromEvent,i=t.maxSize,s=t.minSize,l=t.multiple,c=t.maxFiles,u=t.onDragEnter,d=t.onDragLeave,f=t.onDragOver,p=t.onDrop,h=t.onDropAccepted,m=t.onDropRejected,v=t.onFileDialogCancel,b=t.preventDropOnDocument,y=t.noClick,g=t.noKeyboard,_=t.noDrag,O=t.noDragEventsBubbling,S=t.validator,E=Object(r.useRef)(null),w=Object(r.useRef)(null),C=Object(r.useReducer)(te,Z),T=Q(C,2),A=T[0],j=T[1],k=A.isFocused,I=A.isFileDialogActive,D=A.draggedFiles,B=Object(r.useCallback)((function(){w.current&&(j({type:"openDialog"}),w.current.value=null,w.current.click())}),[j]),U=function(){I&&setTimeout((function(){w.current&&(w.current.files.length||(j({type:"closeDialog"}),"function"==typeof v&&v()))}),300)};Object(r.useEffect)((function(){return window.addEventListener("focus",U,!1),function(){window.removeEventListener("focus",U,!1)}}),[w,I,v]);var $=Object(r.useCallback)((function(e){E.current&&E.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),B()))}),[E,w]),W=Object(r.useCallback)((function(){j({type:"focus"})}),[]),H=Object(r.useCallback)((function(){j({type:"blur"})}),[]),X=Object(r.useCallback)((function(){y||(V()?setTimeout(B,0):B())}),[w,y]),ee=Object(r.useRef)([]),ne=function(e){E.current&&E.current.contains(e.target)||(e.preventDefault(),ee.current=[])};Object(r.useEffect)((function(){return b&&(document.addEventListener("dragover",F,!1),document.addEventListener("drop",ne,!1)),function(){b&&(document.removeEventListener("dragover",F),document.removeEventListener("drop",ne))}}),[E,b]);var re=Object(r.useCallback)((function(e){e.preventDefault(),e.persist(),ue(e),ee.current=[].concat(z(ee.current),[e.target]),P(e)&&Promise.resolve(a(e)).then((function(t){L(e)&&!O||(j({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),u&&u(e))}))}),[a,u,O]),oe=Object(r.useCallback)((function(e){e.preventDefault(),e.persist(),ue(e);var t=P(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&f&&f(e),!1}),[f,O]),ae=Object(r.useCallback)((function(e){e.preventDefault(),e.persist(),ue(e);var t=ee.current.filter((function(e){return E.current&&E.current.contains(e)})),n=t.indexOf(e.target);-1!==n&&t.splice(n,1),ee.current=t,t.length>0||(j({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),P(e)&&d&&d(e))}),[E,d,O]),ie=Object(r.useCallback)((function(e){e.preventDefault(),e.persist(),ue(e),ee.current=[],P(e)&&Promise.resolve(a(e)).then((function(t){if(!L(e)||O){var r=[],o=[];t.forEach((function(e){var t=Q(x(e,n),2),a=t[0],l=t[1],c=Q(R(e,s,i),2),u=c[0],d=c[1],f=S?S(e):null;if(a&&u&&!f)r.push(e);else{var p=[l,d];f&&(p=p.concat(f)),o.push({file:e,errors:p.filter((function(e){return e}))})}})),(!l&&r.length>1||l&&c>=1&&r.length>c)&&(r.forEach((function(e){o.push({file:e,errors:[N]})})),r.splice(0)),j({acceptedFiles:r,fileRejections:o,type:"setFiles"}),p&&p(r,o,e),o.length>0&&m&&m(o,e),r.length>0&&h&&h(r,e)}})),j({type:"reset"})}),[l,n,s,i,c,a,p,h,m,O]),se=function(e){return o?null:e},le=function(e){return g?null:se(e)},ce=function(e){return _?null:se(e)},ue=function(e){O&&e.stopPropagation()},de=Object(r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.onKeyDown,a=e.onFocus,i=e.onBlur,s=e.onClick,l=e.onDragEnter,c=e.onDragOver,u=e.onDragLeave,d=e.onDrop,f=Y(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return K(K(G({onKeyDown:le(q(r,$)),onFocus:le(q(a,W)),onBlur:le(q(i,H)),onClick:se(q(s,X)),onDragEnter:ce(q(l,re)),onDragOver:ce(q(c,oe)),onDragLeave:ce(q(u,ae)),onDrop:ce(q(d,ie))},n,E),o||g?{}:{tabIndex:0}),f)}}),[E,$,W,H,X,re,oe,ae,ie,g,_,o]),fe=Object(r.useCallback)((function(e){e.stopPropagation()}),[]),pe=Object(r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=void 0===t?"ref":t,o=e.onChange,a=e.onClick,i=Y(e,["refKey","onChange","onClick"]),s=G({accept:n,multiple:l,type:"file",style:{display:"none"},onChange:se(q(o,ie)),onClick:se(q(a,fe)),autoComplete:"off",tabIndex:-1},r,w);return K(K({},s),i)}}),[w,n,l,ie,o]),he=D.length,me=he>0&&M({files:D,accept:n,minSize:s,maxSize:i,multiple:l,maxFiles:c}),ve=he>0&&!me;return K(K({},A),{},{isDragAccept:me,isDragReject:ve,isFocused:k&&!o,getRootProps:de,getInputProps:pe,rootRef:E,inputRef:w,open:se(B)})}function te(e,t){switch(t.type){case"focus":return K(K({},e),{},{isFocused:!0});case"blur":return K(K({},e),{},{isFocused:!1});case"openDialog":return K(K({},e),{},{isFileDialogActive:!0});case"closeDialog":return K(K({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive,r=t.draggedFiles;return K(K({},e),{},{draggedFiles:r,isDragActive:n});case"setFiles":return K(K({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return K(K({},e),{},{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]});default:return e}}var ne=n(13),re=n.n(ne),oe=n(9),ae=n(48),ie=n(80),se=n.n(ie);var le=o.a.memo(({acceptedFileTypes:e,files:t,loading:n,maxFiles:r,onSetFiles:a})=>{const{translate:s}=Object(i.d)(),l=Object(i.f)(),{dummyImage:c}=Object(i.e)(),{config:u}=Object(oe.d)(),d=r?Math.min(r,null==u?void 0:u.uploadMaxFileUploadLimit):(null==u?void 0:u.uploadMaxFileUploadLimit)||1,{getRootProps:f,getInputProps:p,isDragAccept:h,isDragActive:m,isDragReject:v}=ee({onDrop:e=>{if(0===e.length)return;const n=d-t.length;if(e.length>n&&l.error(s("uploadDialog.warning.maxFiles","You can only upload a maximum of {limit} files. {rejected} File(s) rejected",{limit:d,rejected:e.length-n})),0===n)return;const r=(e.length(e.id=`${e.name}-${e.size}-${e.lastModified}`,0===e.type.indexOf("image")?e.preview=URL.createObjectURL(e):e.preview=c,e));a(t.concat(r))},disabled:n,onDropRejected:e=>{e.forEach(e=>{l.warning(s("uploadDialog.warning.fileRejected","The given file cannot be uploaded."),e.errors.reduce((e,t)=>`${e} ${t.message}`,""))})},maxSize:(null==u?void 0:u.uploadMaxFileSize)||0,maxFiles:d,multiple:d>1,preventDropOnDocument:!0,accept:e});return o.a.createElement("section",null,o.a.createElement("div",{...f({className:re()(se.a.dropzone,h&&se.a.dropzoneAccept,m&&se.a.dropzoneActive,v&&se.a.dropzoneReject)})},o.a.createElement("input",{...p()}),o.a.createElement("p",null,s("uploadDialog.dropzone.caption","Drag 'n' drop some files here, or click to select files")),(null==u?void 0:u.uploadMaxFileSize)>0&&o.a.createElement("p",null,s("uploadDialog.maxFileSize","Maximum file size is {size} and file limit is {limit}",{size:Object(ae.a)(u.uploadMaxFileSize),limit:d}))),n&&o.a.createElement("p",null,s("uploadDialog.label.uploading","Uploading…")))}),ce=n(55),ue=n.n(ce);var de=o.a.memo(({file:e,loading:t=!1,fileState:n})=>{const r=null==n?void 0:n.success,i=n&&!r;return o.a.createElement("div",{className:re()(ue.a.thumb,i?ue.a.error:r?ue.a.success:t&&ue.a.loading),title:e.name},o.a.createElement("div",{className:ue.a.thumbInner},o.a.createElement("img",{src:e.preview,alt:e.name,className:ue.a.img}),t&&o.a.createElement(a.Icon,{icon:"spinner",spin:!0}),r&&o.a.createElement(a.Icon,{icon:"check"}),i&&o.a.createElement(a.Icon,{icon:"exclamation-circle"}),(null==n?void 0:n.result)&&o.a.createElement("span",null,n.result)))}),fe=n(81),pe=n.n(fe);var he=o.a.memo(({files:e,loading:t,uploadState:n})=>{const{translate:r}=Object(i.d)();return o.a.createElement("aside",{className:pe.a.fileList},e.selected.length>0&&o.a.createElement(o.a.Fragment,null,o.a.createElement("h4",{className:pe.a.fileListHeader},r("uploadDialog.fileList.header","Selected files")),e.selected.map(e=>o.a.createElement(de,{file:e,loading:t,fileState:n.find(t=>t.filename===e.name),key:e.id}))),e.rejected.length>0&&o.a.createElement(o.a.Fragment,null,o.a.createElement("h4",{className:pe.a.fileListHeader},r("uploadDialog.fileList.uploadedHeader","Failed uploads")),e.rejected.map(e=>o.a.createElement(de,{file:e,fileState:n.find(t=>t.filename===e.name),key:e.id}))),e.finished.length>0&&o.a.createElement(o.a.Fragment,null,o.a.createElement("h4",{className:pe.a.fileListHeader},r("uploadDialog.fileList.uploadedHeader","Successful uploads")),e.finished.map(e=>o.a.createElement(de,{file:e,fileState:n.find(t=>t.filename===e.name),key:e.id}))))}),me=n(1),ve=n(59),be=n(30);var ye=()=>{const[e,t]=Object(r.useState)({selected:[],finished:[],rejected:[]}),[n,o]=Object(me.f)(ve.a),a=Object(r.useCallback)(()=>{e.selected.forEach(e=>URL.revokeObjectURL(e.preview)),e.finished.forEach(e=>URL.revokeObjectURL(e.preview)),e.rejected.forEach(e=>URL.revokeObjectURL(e.preview)),t({selected:[],finished:[],rejected:[]}),o({uploadType:be.a.new,visible:!1})},[e,t,o]);return{state:{...n,files:e},closeDialog:a,setFiles:t}},ge=n(4),_e=n(14),Oe=n(12);var Se=ge.gql` +`},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return l}));var r=n(95),o=n.n(r);function a(e){const t=e=>{t.publish(e)};return t.subscribe=t=>o.a.subscribe(e,t),t.unsubscribe=e=>{o.a.unsubscribe(e)},t.publish=t=>o.a.publish(e,t),t}const i=a("ASSET_CREATED"),s=a("ASSET_REMOVED"),l=a("ASSET_UPDATED")},function(e,t,n){e.exports={assetsFilter:"AssetsFilter-module__assetsFilter___3rCkH",active:"AssetsFilter-module__active___3caFq",filterList:"AssetsFilter-module__filterList___3vink",typeFilter:"AssetsFilter-module__typeFilter___1WqE8",selectBox:"AssetsFilter-module__selectBox___12L48"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){var t;if(window["@Neos:HostPluginAPI"]&&window["@Neos:HostPluginAPI"]["@"+e])return(t=window["@Neos:HostPluginAPI"])["@"+e].apply(t,arguments);throw new Error("You are trying to read from a consumer api that hasn't been initialized yet!")}}},function(e,t,n){"use strict";var r=n(87);n.d(t,"ApolloCache",(function(){return r.a}));var o=n(118);n.d(t,"Cache",(function(){return o.a}));var a=n(57);n.d(t,"MissingFieldError",(function(){return a.a}));n(6);var i=n(130);n.d(t,"InMemoryCache",(function(){return i.a}));var s=n(43);n.d(t,"makeVar",(function(){return s.c})),n.d(t,"cacheSlot",(function(){return s.a}));var l=n(73);n.d(t,"defaultDataIdFromObject",(function(){return l.b}));n(85)},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=null,o={},a=1,i=Array,s=i["@wry/context:Slot"]||function(){var e=function(){function e(){this.id=["slot",a++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var e=r;e;e=e.parent)if(this.id in e.slots){var t=e.slots[this.id];if(t===o)break;return e!==r&&(r.slots[this.id]=t),!0}return r&&(r.slots[this.id]=o),!1},e.prototype.getValue=function(){if(this.hasValue())return r.slots[this.id]},e.prototype.withValue=function(e,t,n,o){var a,i=((a={__proto__:null})[this.id]=e,a),s=r;r={parent:s,slots:i};try{return t.apply(o,n)}finally{r=s}},e.bind=function(e){var t=r;return function(){var n=r;try{return r=t,e.apply(this,arguments)}finally{r=n}}},e.noContext=function(e,t,n){if(!r)return e.apply(n,t);var o=r;try{return r=null,e.apply(n,t)}finally{r=o}},e}();try{Object.defineProperty(i,"@wry/context:Slot",{value:i["@wry/context:Slot"]=e,enumerable:!1,writable:!1,configurable:!1})}finally{return e}}();s.bind,s.noContext},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return l})),n.d(t,"d",(function(){return c})),n.d(t,"c",(function(){return u}));var r=n(25),o=new(n(42).a);function a(e,t){if(e.size){var n=[];e.forEach((function(e){return n.push(e)})),e.clear(),n.forEach(t)}}var i=new WeakMap;function s(e){var t=i.get(e);return t||i.set(e,t={vars:new Set,dep:Object(r.b)()}),t}function l(e){s(e).vars.forEach((function(t){return t.forgetCache(e)}))}function c(e){s(e).vars.forEach((function(t){return t.attachCache(e)}))}function u(e){var t=new Set,n=new Set,r=function(l){if(arguments.length>0)e!==l&&(e=l,t.forEach((function(e){s(e).dep.dirty(r),d(e)})),a(n,(function(t){return t(e)})));else{var c=o.getValue();c&&(i(c),s(c).dep(r))}return e};r.onNextChange=function(e){return n.add(e),function(){n.delete(e)}};var i=r.attachCache=function(e){return t.add(e),s(e).vars.add(r),r};return r.forgetCache=function(e){return t.delete(e)},r}function d(e){e.broadcastWatches&&e.broadcastWatches()}},function(e,t,n){e.exports={variantContainer:"Variant-module__variantContainer___1Rz5s",picture:"Variant-module__picture___FTBHB",image:"Variant-module__image___2HAPN",caption:"Variant-module__caption___fS3Y6",infoContainer:"Variant-module__infoContainer___1P2bn",info:"Variant-module__info___1QLy6",variantSizes:"Variant-module__variantSizes___1bXmk"}},function(e,t,n){e.exports={listView:"ListView-module__listView___OX0zS","listView--fullHeight":"ListView-module__listView--fullHeight___36H-z",tableHeader:"ListView-module__tableHeader___2ADYa"}},function(e,t,n){e.exports={listViewItem:"ListViewItem-module__listViewItem___Fd0jz",selected:"ListViewItem-module__selected___3DAUq",textColumn:"ListViewItem-module__textColumn___1z3sq",previewColumn:"ListViewItem-module__previewColumn___qhg-o",labelColumn:"ListViewItem-module__labelColumn___1N00U ListViewItem-module__textColumn___1z3sq",lastModifiedColumn:"ListViewItem-module__lastModifiedColumn___331Rr ListViewItem-module__textColumn___1z3sq",fileSizeColumn:"ListViewItem-module__fileSizeColumn___3vlGC ListViewItem-module__textColumn___1z3sq",mediaTypeColumn:"ListViewItem-module__mediaTypeColumn___11TSD ListViewItem-module__textColumn___1z3sq",actionsColumn:"ListViewItem-module__actionsColumn___18fhN ListViewItem-module__textColumn___1z3sq"}},function(e,t,n){e.exports={mediaModuleApp:"App-module__mediaModuleApp___16GgU",container:"App-module__container___1eV11",fullHeight:"App-module__fullHeight___3WKdi",selectionMode:"App-module__selectionMode___2O0-t",gridColumn:"App-module__gridColumn___pTlSy",gridRight:"App-module__gridRight___1ZvBy App-module__gridColumn___pTlSy",gridLeft:"App-module__gridLeft___1vBO6 App-module__gridColumn___pTlSy",gridMain:"App-module__gridMain___1cIQ3 App-module__gridColumn___pTlSy",gridTop:"App-module__gridTop___2aVks"}},function(e,t,n){"use strict";function r(e,t=!0){const n=t?1e3:1024;if(Math.abs(e)=n&&o0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var p=[".DS_Store","Thumbs.db"];function h(e){return(null!==e.target&&e.target.files?b(e.target.files):[]).map((function(e){return f(e)}))}function m(e,t){return Object(u.b)(this,void 0,void 0,(function(){var n;return Object(u.c)(this,(function(r){switch(r.label){case 0:return e.items?(n=b(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(y))]):[3,2];case 1:return[2,v(g(r.sent()))];case 2:return[2,v(b(e.files).map((function(e){return f(e)})))]}}))}))}function v(e){return e.filter((function(e){return-1===p.indexOf(e.name)}))}function b(e){for(var t=[],n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nn)return[!1,k(n)];if(e.sizen)return[!1,k(n)]}return[!0,null]}function D(e){return null!=e}function M(e){var t=e.files,n=e.accept,r=e.minSize,o=e.maxSize,a=e.multiple,i=e.maxFiles;return!(!a&&t.length>1||a&&i>=1&&t.length>i)&&t.every((function(e){var t=T(x(e,n),1)[0],a=T(R(e,r,o),1)[0];return t&&a}))}function L(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function P(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function F(e){e.preventDefault()}function B(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function U(e){return-1!==e.indexOf("Edge/")}function V(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return B(e)||U(e)}function q(){for(var e=arguments.length,t=new Array(e),n=0;n1?n-1:0),o=1;oe.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var X=Object(r.forwardRef)((function(e,t){var n=e.children,a=ee(Y(e,["children"])),i=a.open,s=Y(a,["open"]);return Object(r.useImperativeHandle)(t,(function(){return{open:i}}),[i]),o.a.createElement(r.Fragment,null,n(K(K({},s),{},{open:i})))}));X.displayName="Dropzone";var J={disabled:!1,getFilesFromEvent:function(e){return Object(u.b)(this,void 0,void 0,(function(){return Object(u.c)(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?m(e.dataTransfer,e.type):h(e))];var n}))}))},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null};X.defaultProps=J,X.propTypes={children:c.a.func,accept:c.a.oneOfType([c.a.string,c.a.arrayOf(c.a.string)]),multiple:c.a.bool,preventDropOnDocument:c.a.bool,noClick:c.a.bool,noKeyboard:c.a.bool,noDrag:c.a.bool,noDragEventsBubbling:c.a.bool,minSize:c.a.number,maxSize:c.a.number,maxFiles:c.a.number,disabled:c.a.bool,getFilesFromEvent:c.a.func,onFileDialogCancel:c.a.func,onDragEnter:c.a.func,onDragLeave:c.a.func,onDragOver:c.a.func,onDrop:c.a.func,onDropAccepted:c.a.func,onDropRejected:c.a.func,validator:c.a.func};var Z={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]};function ee(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=K(K({},J),e),n=t.accept,o=t.disabled,a=t.getFilesFromEvent,i=t.maxSize,s=t.minSize,l=t.multiple,c=t.maxFiles,u=t.onDragEnter,d=t.onDragLeave,f=t.onDragOver,p=t.onDrop,h=t.onDropAccepted,m=t.onDropRejected,v=t.onFileDialogCancel,b=t.preventDropOnDocument,y=t.noClick,g=t.noKeyboard,_=t.noDrag,O=t.noDragEventsBubbling,S=t.validator,E=Object(r.useRef)(null),w=Object(r.useRef)(null),C=Object(r.useReducer)(te,Z),T=Q(C,2),A=T[0],j=T[1],k=A.isFocused,I=A.isFileDialogActive,D=A.draggedFiles,B=Object(r.useCallback)((function(){w.current&&(j({type:"openDialog"}),w.current.value=null,w.current.click())}),[j]),U=function(){I&&setTimeout((function(){w.current&&(w.current.files.length||(j({type:"closeDialog"}),"function"==typeof v&&v()))}),300)};Object(r.useEffect)((function(){return window.addEventListener("focus",U,!1),function(){window.removeEventListener("focus",U,!1)}}),[w,I,v]);var $=Object(r.useCallback)((function(e){E.current&&E.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),B()))}),[E,w]),W=Object(r.useCallback)((function(){j({type:"focus"})}),[]),H=Object(r.useCallback)((function(){j({type:"blur"})}),[]),X=Object(r.useCallback)((function(){y||(V()?setTimeout(B,0):B())}),[w,y]),ee=Object(r.useRef)([]),ne=function(e){E.current&&E.current.contains(e.target)||(e.preventDefault(),ee.current=[])};Object(r.useEffect)((function(){return b&&(document.addEventListener("dragover",F,!1),document.addEventListener("drop",ne,!1)),function(){b&&(document.removeEventListener("dragover",F),document.removeEventListener("drop",ne))}}),[E,b]);var re=Object(r.useCallback)((function(e){e.preventDefault(),e.persist(),ue(e),ee.current=[].concat(z(ee.current),[e.target]),P(e)&&Promise.resolve(a(e)).then((function(t){L(e)&&!O||(j({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),u&&u(e))}))}),[a,u,O]),oe=Object(r.useCallback)((function(e){e.preventDefault(),e.persist(),ue(e);var t=P(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&f&&f(e),!1}),[f,O]),ae=Object(r.useCallback)((function(e){e.preventDefault(),e.persist(),ue(e);var t=ee.current.filter((function(e){return E.current&&E.current.contains(e)})),n=t.indexOf(e.target);-1!==n&&t.splice(n,1),ee.current=t,t.length>0||(j({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),P(e)&&d&&d(e))}),[E,d,O]),ie=Object(r.useCallback)((function(e){e.preventDefault(),e.persist(),ue(e),ee.current=[],P(e)&&Promise.resolve(a(e)).then((function(t){if(!L(e)||O){var r=[],o=[];t.forEach((function(e){var t=Q(x(e,n),2),a=t[0],l=t[1],c=Q(R(e,s,i),2),u=c[0],d=c[1],f=S?S(e):null;if(a&&u&&!f)r.push(e);else{var p=[l,d];f&&(p=p.concat(f)),o.push({file:e,errors:p.filter((function(e){return e}))})}})),(!l&&r.length>1||l&&c>=1&&r.length>c)&&(r.forEach((function(e){o.push({file:e,errors:[N]})})),r.splice(0)),j({acceptedFiles:r,fileRejections:o,type:"setFiles"}),p&&p(r,o,e),o.length>0&&m&&m(o,e),r.length>0&&h&&h(r,e)}})),j({type:"reset"})}),[l,n,s,i,c,a,p,h,m,O]),se=function(e){return o?null:e},le=function(e){return g?null:se(e)},ce=function(e){return _?null:se(e)},ue=function(e){O&&e.stopPropagation()},de=Object(r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.onKeyDown,a=e.onFocus,i=e.onBlur,s=e.onClick,l=e.onDragEnter,c=e.onDragOver,u=e.onDragLeave,d=e.onDrop,f=Y(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return K(K(G({onKeyDown:le(q(r,$)),onFocus:le(q(a,W)),onBlur:le(q(i,H)),onClick:se(q(s,X)),onDragEnter:ce(q(l,re)),onDragOver:ce(q(c,oe)),onDragLeave:ce(q(u,ae)),onDrop:ce(q(d,ie))},n,E),o||g?{}:{tabIndex:0}),f)}}),[E,$,W,H,X,re,oe,ae,ie,g,_,o]),fe=Object(r.useCallback)((function(e){e.stopPropagation()}),[]),pe=Object(r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=void 0===t?"ref":t,o=e.onChange,a=e.onClick,i=Y(e,["refKey","onChange","onClick"]),s=G({accept:n,multiple:l,type:"file",style:{display:"none"},onChange:se(q(o,ie)),onClick:se(q(a,fe)),autoComplete:"off",tabIndex:-1},r,w);return K(K({},s),i)}}),[w,n,l,ie,o]),he=D.length,me=he>0&&M({files:D,accept:n,minSize:s,maxSize:i,multiple:l,maxFiles:c}),ve=he>0&&!me;return K(K({},A),{},{isDragAccept:me,isDragReject:ve,isFocused:k&&!o,getRootProps:de,getInputProps:pe,rootRef:E,inputRef:w,open:se(B)})}function te(e,t){switch(t.type){case"focus":return K(K({},e),{},{isFocused:!0});case"blur":return K(K({},e),{},{isFocused:!1});case"openDialog":return K(K({},e),{},{isFileDialogActive:!0});case"closeDialog":return K(K({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive,r=t.draggedFiles;return K(K({},e),{},{draggedFiles:r,isDragActive:n});case"setFiles":return K(K({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return K(K({},e),{},{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]});default:return e}}var ne=n(13),re=n.n(ne),oe=n(9),ae=n(48),ie=n(81),se=n.n(ie);var le=o.a.memo(({acceptedFileTypes:e,files:t,loading:n,maxFiles:r,onSetFiles:a})=>{const{translate:s}=Object(i.d)(),l=Object(i.f)(),{dummyImage:c}=Object(i.e)(),{config:u}=Object(oe.d)(),d=r?Math.min(r,null==u?void 0:u.uploadMaxFileUploadLimit):(null==u?void 0:u.uploadMaxFileUploadLimit)||1,{getRootProps:f,getInputProps:p,isDragAccept:h,isDragActive:m,isDragReject:v}=ee({onDrop:e=>{if(0===e.length)return;const n=d-t.length;if(e.length>n&&l.error(s("uploadDialog.warning.maxFiles","You can only upload a maximum of {limit} files. {rejected} File(s) rejected",{limit:d,rejected:e.length-n})),0===n)return;const r=(e.length(e.id=`${e.name}-${e.size}-${e.lastModified}`,0===e.type.indexOf("image")?e.preview=URL.createObjectURL(e):e.preview=c,e));a(t.concat(r))},disabled:n,onDropRejected:e=>{e.forEach(e=>{l.warning(s("uploadDialog.warning.fileRejected","The given file cannot be uploaded."),e.errors.reduce((e,t)=>`${e} ${t.message}`,""))})},maxSize:(null==u?void 0:u.uploadMaxFileSize)||0,maxFiles:d,multiple:d>1,preventDropOnDocument:!0,accept:e});return o.a.createElement("section",null,o.a.createElement("div",{...f({className:re()(se.a.dropzone,h&&se.a.dropzoneAccept,m&&se.a.dropzoneActive,v&&se.a.dropzoneReject)})},o.a.createElement("input",{...p()}),o.a.createElement("p",null,s("uploadDialog.dropzone.caption","Drag 'n' drop some files here, or click to select files")),(null==u?void 0:u.uploadMaxFileSize)>0&&o.a.createElement("p",null,s("uploadDialog.maxFileSize","Maximum file size is {size} and file limit is {limit}",{size:Object(ae.a)(u.uploadMaxFileSize),limit:d}))),n&&o.a.createElement("p",null,s("uploadDialog.label.uploading","Uploading…")))}),ce=n(55),ue=n.n(ce);var de=o.a.memo(({file:e,loading:t=!1,fileState:n})=>{const r=null==n?void 0:n.success,i=n&&!r;return o.a.createElement("div",{className:re()(ue.a.thumb,i?ue.a.error:r?ue.a.success:t&&ue.a.loading),title:e.name},o.a.createElement("div",{className:ue.a.thumbInner},o.a.createElement("img",{src:e.preview,alt:e.name,className:ue.a.img}),t&&o.a.createElement(a.Icon,{icon:"spinner",spin:!0}),r&&o.a.createElement(a.Icon,{icon:"check"}),i&&o.a.createElement(a.Icon,{icon:"exclamation-circle"}),(null==n?void 0:n.result)&&o.a.createElement("span",null,n.result)))}),fe=n(82),pe=n.n(fe);var he=o.a.memo(({files:e,loading:t,uploadState:n})=>{const{translate:r}=Object(i.d)();return o.a.createElement("aside",{className:pe.a.fileList},e.selected.length>0&&o.a.createElement(o.a.Fragment,null,o.a.createElement("h4",{className:pe.a.fileListHeader},r("uploadDialog.fileList.header","Selected files")),e.selected.map(e=>o.a.createElement(de,{file:e,loading:t,fileState:n.find(t=>t.filename===e.name),key:e.id}))),e.rejected.length>0&&o.a.createElement(o.a.Fragment,null,o.a.createElement("h4",{className:pe.a.fileListHeader},r("uploadDialog.fileList.uploadedHeader","Failed uploads")),e.rejected.map(e=>o.a.createElement(de,{file:e,fileState:n.find(t=>t.filename===e.name),key:e.id}))),e.finished.length>0&&o.a.createElement(o.a.Fragment,null,o.a.createElement("h4",{className:pe.a.fileListHeader},r("uploadDialog.fileList.uploadedHeader","Successful uploads")),e.finished.map(e=>o.a.createElement(de,{file:e,fileState:n.find(t=>t.filename===e.name),key:e.id}))))}),me=n(1),ve=n(59),be=n(30);var ye=()=>{const[e,t]=Object(r.useState)({selected:[],finished:[],rejected:[]}),[n,o]=Object(me.f)(ve.a),a=Object(r.useCallback)(()=>{e.selected.forEach(e=>URL.revokeObjectURL(e.preview)),e.finished.forEach(e=>URL.revokeObjectURL(e.preview)),e.rejected.forEach(e=>URL.revokeObjectURL(e.preview)),t({selected:[],finished:[],rejected:[]}),o({uploadType:be.a.new,visible:!1})},[e,t,o]);return{state:{...n,files:e},closeDialog:a,setFiles:t}},ge=n(4),_e=n(14),Oe=n(12);var Se=ge.gql` mutation ReplaceAsset( $id: AssetId! $assetSourceId: AssetSourceId! @@ -394,7 +394,7 @@ var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Arr result } } -`;var we=n(148),Ce=n.n(we);var Te=o.a.memo(()=>{const{translate:e}=Object(i.d)(),t=Object(i.f)(),{uploadFiles:n,uploadState:l,loading:c}=function(){const[e,{error:t,data:n,loading:r}]=Object(ge.useMutation)(Ee),o=Object(me.g)(_e.c),a=Object(me.g)(Oe.f);return{uploadFiles:t=>e({variables:{files:t,tagId:o,assetCollectionId:a},refetchQueries:["ASSET_COLLECTIONS"]}),uploadState:(null==n?void 0:n.uploadFiles)||[],error:t,loading:r}}(),{state:u,closeDialog:d,setFiles:f}=ye(),{refetch:p}=Object(oe.c)(),h=!c&&u.files.selected.length>0,m=Object(r.useCallback)(()=>{n(u.files.selected).then(({data:{uploadFiles:n}})=>{f(e=>({selected:[],finished:[...e.finished,...e.selected.filter(e=>n.find(t=>t.success&&t.filename===e.name))],rejected:[...e.rejected,...e.selected.filter(e=>n.find(t=>!t.success&&t.filename===e.name))]})),n.some(e=>!e.success)?t.warning(e("uploadDialog.uploadFinishedWithErrors","Some files could not be uploaded")):t.ok(e("uploadDialog.uploadFinished","Upload finished")),n.some(e=>e.success)&&p()}).catch(n=>{t.error(e("fileUpload.error","Upload failed"),n)})},[n,u.files.selected,f,t,e,p]),v=Object(r.useCallback)(e=>{f(t=>({...t,selected:e}))},[f]);return o.a.createElement(s.c,{isOpen:u.visible,title:e("uploadDialog.title","Upload assets"),onRequestClose:d,actions:[o.a.createElement(a.Button,{key:"cancel",style:"neutral",hoverStyle:"darken",onClick:d},l?e("uploadDialog.close","Close"):e("uploadDialog.cancel","Cancel")),o.a.createElement(a.Button,{key:"upload",style:"success",hoverStyle:"success",disabled:!h,onClick:m},e("uploadDialog.upload","Upload"))],style:"wide"},o.a.createElement("section",{className:Ce.a.uploadArea},o.a.createElement(le,{files:u.files.selected,loading:c,onSetFiles:v}),o.a.createElement(he,{files:u.files,loading:c,uploadState:l})))}),Ae=n(7);var je=n(56),ke=n.n(je);var Ie=o.a.memo(()=>{const{translate:e}=Object(i.d)(),t=Object(i.f)(),n=Object(oe.i)(),{replaceAsset:l,uploadState:c,loading:u}=function(){const[e,{error:t,data:n,loading:r}]=Object(ge.useMutation)(Se);return{replaceAsset:({asset:t,file:n,options:r})=>e({variables:{id:t.id,assetSourceId:t.assetSource.id,file:n,options:r}}),uploadState:(null==n?void 0:n.replaceAsset)||null,error:t,loading:r}}(),{refetch:d}=Object(oe.c)(),{approvalAttainmentStrategy:{obtainApprovalToReplaceAsset:f}}=Object(i.e)(),p=Object(me.g)(Ae.f),{state:h,closeDialog:m,setFiles:v}=ye(),[b,y]=o.a.useState({keepOriginalFilename:!1,generateRedirects:!1}),g=!u&&h.files.selected.length>0,_=Object(r.useMemo)(()=>{var e,t;const r=null===(t=null===(e=(null==n?void 0:n.file.mediaType).match(/^(?(?:[.!#%&'`^~$*+\-|\w]+))\//))||void 0===e?void 0:e.groups)||void 0===t?void 0:t.type;return r?r+"/*":""},[n]),O=Object(r.useCallback)(async()=>{if(0===h.files.selected.length)return;const r=h.files.selected[0];if(await f({asset:n}))try{await l({asset:n,file:r,options:b}),t.ok(e("uploadDialog.replacementFinished","Replacement finished")),m(),d()}catch(n){t.error(e("assetReplacement.error","Replacement failed"),n)}},[l,t,e,h,b,d,n,m,f]),S=Object(r.useCallback)(e=>{v(t=>({...t,selected:e}))},[v]);return o.a.createElement(s.c,{isOpen:h.visible,title:e("uploadDialog.replaceAsset","Replace Asset"),onRequestClose:m,actions:[o.a.createElement(a.Button,{key:"cancel",style:"neutral",hoverStyle:"darken",onClick:m},c?e("uploadDialog.close","Close"):e("uploadDialog.cancel","Cancel")),o.a.createElement(a.Button,{key:"upload",style:"success",hoverStyle:"success",disabled:!g,onClick:O},e("uploadDialog.replace","Replace"))],style:"wide"},o.a.createElement("section",{className:ke.a.uploadArea},o.a.createElement(le,{files:h.files.selected,loading:u,onSetFiles:S,maxFiles:1,acceptedFileTypes:_}),o.a.createElement("section",{className:ke.a.optionSection},p.createAssetRedirectsOption&&o.a.createElement("div",{className:ke.a.option},o.a.createElement(a.Label,{className:ke.a.label},o.a.createElement(a.CheckBox,{isChecked:b.generateRedirects,onChange:e=>y({...b,generateRedirects:e})}),o.a.createElement("span",null,e("uploadDialog.generateRedirects","Generate redirects")))),o.a.createElement("div",{className:ke.a.option},o.a.createElement(a.Label,{className:ke.a.label},o.a.createElement(a.CheckBox,{isChecked:b.keepOriginalFilename,onChange:e=>y({...b,keepOriginalFilename:e})}),o.a.createElement("span",null,e("uploadDialog.keepOriginalFilename","Keep original filename"))))),o.a.createElement(he,{files:h.files,loading:u,uploadState:c?[c]:[]})))});var Ne=r.memo(()=>{const{visible:e,uploadType:t}=Object(me.g)(be.b);return e&&(t===be.a.update?r.createElement(Ie,null):r.createElement(Te,null))||null});var xe=r.memo(()=>{const[e,t]=Object(me.f)(be.b),{translate:n}=Object(i.d)();return r.createElement(a.Button,{size:"regular",style:e.visible&&e.uploadType===be.a.update?"brand":"lighter",hoverStyle:"brand",onClick:()=>t({visible:!0,uploadType:be.a.update})},r.createElement(a.Icon,{icon:"exchange-alt"}),n("assetReplacement.toggle","Replace asset"))}),Re=n(149),De=n.n(Re);function Me(){const{translate:e}=Object(i.d)(),t=Object(me.h)(be.b);return o.a.createElement("div",{className:De.a.uploadButton},o.a.createElement(a.Button,{size:"regular",style:"lighter",hoverStyle:"brand",onClick:()=>t({visible:!0,uploadType:be.a.new})},o.a.createElement(a.Icon,{icon:"upload"})," ",e("uploadButton.label","Upload")))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return g}));var r=n(0),o=n.n(r),a=n(1),i=n(3),s=n(5);var l=Object(a.b)({key:"similarAssetsModalState",default:!1});var c=r.memo(()=>{const[e,t]=Object(a.f)(l),{translate:n}=Object(s.d)();return r.createElement(i.Button,{size:"regular",style:e?"brand":"lighter",hoverStyle:"brand",onClick:()=>t(!0)},r.createElement(i.Icon,{icon:"equals"}),n("similarAssetsModal.show","Show similar assets"))}),u=n(9),d=n(4),f=n(21);var p=d.gql` +`;var we=n(149),Ce=n.n(we);var Te=o.a.memo(()=>{const{translate:e}=Object(i.d)(),t=Object(i.f)(),{uploadFiles:n,uploadState:l,loading:c}=function(){const[e,{error:t,data:n,loading:r}]=Object(ge.useMutation)(Ee),o=Object(me.g)(_e.c),a=Object(me.g)(Oe.f);return{uploadFiles:t=>e({variables:{files:t,tagId:o,assetCollectionId:a},refetchQueries:["ASSET_COLLECTIONS"]}),uploadState:(null==n?void 0:n.uploadFiles)||[],error:t,loading:r}}(),{state:u,closeDialog:d,setFiles:f}=ye(),{refetch:p}=Object(oe.c)(),h=!c&&u.files.selected.length>0,m=Object(r.useCallback)(()=>{n(u.files.selected).then(({data:{uploadFiles:n}})=>{f(e=>({selected:[],finished:[...e.finished,...e.selected.filter(e=>n.find(t=>t.success&&t.filename===e.name))],rejected:[...e.rejected,...e.selected.filter(e=>n.find(t=>!t.success&&t.filename===e.name))]})),n.some(e=>!e.success)?t.warning(e("uploadDialog.uploadFinishedWithErrors","Some files could not be uploaded")):t.ok(e("uploadDialog.uploadFinished","Upload finished")),n.some(e=>e.success)&&p()}).catch(n=>{t.error(e("fileUpload.error","Upload failed"),n)})},[n,u.files.selected,f,t,e,p]),v=Object(r.useCallback)(e=>{f(t=>({...t,selected:e}))},[f]);return o.a.createElement(s.c,{isOpen:u.visible,title:e("uploadDialog.title","Upload assets"),onRequestClose:d,actions:[o.a.createElement(a.Button,{key:"cancel",style:"neutral",hoverStyle:"darken",onClick:d},l?e("uploadDialog.close","Close"):e("uploadDialog.cancel","Cancel")),o.a.createElement(a.Button,{key:"upload",style:"success",hoverStyle:"success",disabled:!h,onClick:m},e("uploadDialog.upload","Upload"))],style:"wide"},o.a.createElement("section",{className:Ce.a.uploadArea},o.a.createElement(le,{files:u.files.selected,loading:c,onSetFiles:v}),o.a.createElement(he,{files:u.files,loading:c,uploadState:l})))}),Ae=n(7);var je=n(56),ke=n.n(je);var Ie=o.a.memo(()=>{const{translate:e}=Object(i.d)(),t=Object(i.f)(),n=Object(oe.i)(),{replaceAsset:l,uploadState:c,loading:u}=function(){const[e,{error:t,data:n,loading:r}]=Object(ge.useMutation)(Se);return{replaceAsset:({asset:t,file:n,options:r})=>e({variables:{id:t.id,assetSourceId:t.assetSource.id,file:n,options:r}}),uploadState:(null==n?void 0:n.replaceAsset)||null,error:t,loading:r}}(),{refetch:d}=Object(oe.c)(),{approvalAttainmentStrategy:{obtainApprovalToReplaceAsset:f}}=Object(i.e)(),p=Object(me.g)(Ae.f),{state:h,closeDialog:m,setFiles:v}=ye(),[b,y]=o.a.useState({keepOriginalFilename:!1,generateRedirects:!1}),g=!u&&h.files.selected.length>0,_=Object(r.useMemo)(()=>{var e,t;const r=null===(t=null===(e=(null==n?void 0:n.file.mediaType).match(/^(?(?:[.!#%&'`^~$*+\-|\w]+))\//))||void 0===e?void 0:e.groups)||void 0===t?void 0:t.type;return r?r+"/*":""},[n]),O=Object(r.useCallback)(async()=>{if(0===h.files.selected.length)return;const r=h.files.selected[0];if(await f({asset:n}))try{await l({asset:n,file:r,options:b}),t.ok(e("uploadDialog.replacementFinished","Replacement finished")),m(),d()}catch(n){t.error(e("assetReplacement.error","Replacement failed"),n)}},[l,t,e,h,b,d,n,m,f]),S=Object(r.useCallback)(e=>{v(t=>({...t,selected:e}))},[v]);return o.a.createElement(s.c,{isOpen:h.visible,title:e("uploadDialog.replaceAsset","Replace Asset"),onRequestClose:m,actions:[o.a.createElement(a.Button,{key:"cancel",style:"neutral",hoverStyle:"darken",onClick:m},c?e("uploadDialog.close","Close"):e("uploadDialog.cancel","Cancel")),o.a.createElement(a.Button,{key:"upload",style:"success",hoverStyle:"success",disabled:!g,onClick:O},e("uploadDialog.replace","Replace"))],style:"wide"},o.a.createElement("section",{className:ke.a.uploadArea},o.a.createElement(le,{files:h.files.selected,loading:u,onSetFiles:S,maxFiles:1,acceptedFileTypes:_}),o.a.createElement("section",{className:ke.a.optionSection},p.createAssetRedirectsOption&&o.a.createElement("div",{className:ke.a.option},o.a.createElement(a.Label,{className:ke.a.label},o.a.createElement(a.CheckBox,{isChecked:b.generateRedirects,onChange:e=>y({...b,generateRedirects:e})}),o.a.createElement("span",null,e("uploadDialog.generateRedirects","Generate redirects")))),o.a.createElement("div",{className:ke.a.option},o.a.createElement(a.Label,{className:ke.a.label},o.a.createElement(a.CheckBox,{isChecked:b.keepOriginalFilename,onChange:e=>y({...b,keepOriginalFilename:e})}),o.a.createElement("span",null,e("uploadDialog.keepOriginalFilename","Keep original filename"))))),o.a.createElement(he,{files:h.files,loading:u,uploadState:c?[c]:[]})))});var Ne=r.memo(()=>{const{visible:e,uploadType:t}=Object(me.g)(be.b);return e&&(t===be.a.update?r.createElement(Ie,null):r.createElement(Te,null))||null});var xe=r.memo(()=>{const[e,t]=Object(me.f)(be.b),{translate:n}=Object(i.d)();return r.createElement(a.Button,{size:"regular",style:e.visible&&e.uploadType===be.a.update?"brand":"lighter",hoverStyle:"brand",onClick:()=>t({visible:!0,uploadType:be.a.update})},r.createElement(a.Icon,{icon:"exchange-alt"}),n("assetReplacement.toggle","Replace asset"))}),Re=n(150),De=n.n(Re);function Me(){const{translate:e}=Object(i.d)(),t=Object(me.h)(be.b);return o.a.createElement("div",{className:De.a.uploadButton},o.a.createElement(a.Button,{size:"regular",style:"lighter",hoverStyle:"brand",onClick:()=>t({visible:!0,uploadType:be.a.new})},o.a.createElement(a.Icon,{icon:"upload"})," ",e("uploadButton.label","Upload")))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));const r=/id:([0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12})/;class o{constructor(e){this.value=e,this.assetIdentifier=void 0,this.getAssetIdentifierIfPresent=()=>this.assetIdentifier?{assetId:this.assetIdentifier,assetSourceId:""}:null,this.toString=()=>this.value,this.empty=()=>""===this.value;const t=r.exec(this.value);t&&t[1]?this.assetIdentifier=t[1]:this.assetIdentifier=null}static fromString(e){return new o(e)}static fromUrl(e){var t;const n=null!==(t=e.searchParams.get("searchTerm"))&&void 0!==t?t:"";return o.fromString(n)}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return g}));var r=n(0),o=n.n(r),a=n(1),i=n(3),s=n(5);var l=Object(a.b)({key:"similarAssetsModalState",default:!1});var c=r.memo(()=>{const[e,t]=Object(a.f)(l),{translate:n}=Object(s.d)();return r.createElement(i.Button,{size:"regular",style:e?"brand":"lighter",hoverStyle:"brand",onClick:()=>t(!0)},r.createElement(i.Icon,{icon:"equals"}),n("similarAssetsModal.show","Show similar assets"))}),u=n(9),d=n(4),f=n(21);var p=d.gql` query SIMILAR_ASSETS($id: AssetId!, $assetSourceId: AssetSourceId!, $includeUsage: Boolean = false) { includeUsage @client(always: true) @export(as: "includeUsage") similarAssets(id: $id, assetSourceId: $assetSourceId) { @@ -402,7 +402,7 @@ var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Arr } } ${f.a} -`;var h=n(94),m=n.n(h);var v=o.a.memo(({asset:e})=>{const{dummyImage:t}=Object(s.e)();return o.a.createElement("figure",{className:m.a.similarAsset},o.a.createElement("picture",{className:m.a.picture},o.a.createElement("img",{src:e?e.thumbnailUrl:t,alt:null==e?void 0:e.label})),o.a.createElement("figcaption",{className:m.a.caption},e&&o.a.createElement(o.a.Fragment,null,o.a.createElement("img",{src:e.file.typeIcon.url,alt:e.file.typeIcon.alt}),o.a.createElement("span",null,e.label))))}),b=n(146),y=n.n(b);var g=r.memo(()=>{const{translate:e}=Object(s.d)(),[t,n]=Object(a.f)(l),o=Object(u.i)(),{similarAssets:c,loading:f}=function(e){const{data:t,loading:n}=Object(d.useQuery)(p,{variables:{id:null==e?void 0:e.assetId,assetSourceId:null==e?void 0:e.assetSourceId},skip:!e});return{similarAssets:(null==t?void 0:t.similarAssets)||null,loading:n}}(o?{assetId:o.id,assetSourceId:o.assetSource.id}:null),h=Object(r.useCallback)(()=>n(!1),[n]);return r.createElement(i.Dialog,{isOpen:t,title:e("similarAssetsModal.title","Similar assets to "+o.label,{asset:o.label}),onRequestClose:h,style:"wide",actions:[r.createElement(i.Button,{key:"cancel",style:"neutral",hoverStyle:"darken",onClick:h},e("similarAssetsModal.cancel","Cancel"))]},r.createElement("div",{className:y.a.assetUsage},(null==c?void 0:c.length)>0?c.map((e,t)=>r.createElement(v,{key:t,asset:e})):r.createElement("span",null,f?e("similarAssetsModal.loading","Loading..."):e("similarAssetsModal.noResults","No results"))))})},function(e,t,n){e.exports={thumbnail:"Thumbnail-module__thumbnail___ck0xX",caption:"Thumbnail-module__caption___MRAet",toolBar:"Thumbnail-module__toolBar___2GIKg","button--active":"Thumbnail-module__button--active___2JAU8",picture:"Thumbnail-module__picture___2rVd3",selected:"Thumbnail-module__selected___c4DgY",label:"Thumbnail-module__label___niWY0",disabled:"Thumbnail-module__disabled___38I1-"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i}));var r=n(0);const o=Object(r.createContext)(null),a=()=>Object(r.useContext)(o);function i({children:e,notificationApi:t}){return r.createElement(o.Provider,{value:{notice:e=>t.notice(e),error:(e,n="")=>t.error(e,n),ok:e=>t.ok(e),info:e=>t.info(e),warning:(e,n="")=>t.warning(e,n)}},e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));const r=/id:([0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12})/;class o{constructor(e){this.value=e,this.assetIdentifier=void 0,this.getAssetIdentifierIfPresent=()=>this.assetIdentifier?{assetId:this.assetIdentifier,assetSourceId:""}:null,this.toString=()=>this.value,this.empty=()=>""===this.value;const t=r.exec(this.value);t&&t[1]?this.assetIdentifier=t[1]:this.assetIdentifier=null}static fromString(e){return new o(e)}static fromUrl(e){var t;const n=null!==(t=e.searchParams.get("searchTerm"))&&void 0!==t?t:"";return o.fromString(n)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return $})),n.d(t,"c",(function(){return H})),n.d(t,"d",(function(){return Y})),n.d(t,"e",(function(){return J})),n.d(t,"f",(function(){return ee})),n.d(t,"g",(function(){return te})),n.d(t,"h",(function(){return ne})),n.d(t,"i",(function(){return re}));var r=n(0),o=n.n(r),a=n(1),i=n(3),s=n(5),l=n(7),c=n(12),u=n(151),d=n.n(u);var f=({hasUnpublishedChanges:e,handleApply:t,handleDiscard:n,inputValid:r=!0})=>{const{translate:a}=Object(s.d)();return o.a.createElement("div",{className:d.a.actions},o.a.createElement(i.Button,{disabled:!e,size:"regular",style:"lighter",hoverStyle:"brand",onClick:n},a("inspector.actions.discard","Discard")),o.a.createElement(i.Button,{disabled:!e||!r,size:"regular",style:"success",hoverStyle:"success",onClick:t},a("inspector.actions.apply","Apply")))};var p=({children:e,label:t})=>o.a.createElement("div",{className:"propertyGroup"},o.a.createElement(i.Label,null,t),e),h=n(152),m=n.n(h);var v=({children:e})=>o.a.createElement("div",{className:m.a.inspector},e),b=n(11);const y=({option:e,...t})=>o.a.createElement(i.SelectBox_Option_MultiLineWithThumbnail,{...t,...e});var g=n(153);var _=o.a.memo(()=>{var e;const t=Object(s.f)(),{translate:n}=Object(s.d)(),{assetCollections:a}=Object(c.g)(),l=Object(c.h)(),{setAssetCollectionParent:u,loading:d}=Object(c.i)(),[f,p]=Object(r.useState)(""),h=Object(r.useMemo)(()=>a.filter(({id:e})=>e!==l.id).map(e=>({label:e.title,id:e.id,secondaryLabel:e.parent?"/"+Object(c.d)(e,a).map(({title:e})=>e).join("/"):""})),[a,null==l?void 0:l.id]),m=Object(r.useMemo)(()=>h.filter(({label:e})=>e.toLowerCase().includes(f)),[h,f]),v=Object(r.useCallback)(async e=>{var r;e!==(null===(r=l.parent)||void 0===r?void 0:r.id)&&u({assetCollection:l,parent:e?a.find(t=>t.id===e):null}).then(()=>{t.ok(n("ParentCollectionSelectBox.setParent.success","The parent collection has been set"))}).catch(({message:e})=>{t.error(n("ParentCollectionSelectBox.setParent.error","Error while setting the parent collection"),e)})},[l,u,a,t,n]),_=Object(r.useCallback)(e=>{p(e.toLowerCase())},[]);return o.a.createElement("div",null,o.a.createElement(i.Headline,{type:"h2"},o.a.createElement(b.d,{icon:"folder",label:n("inspector.assetCollections","Parent collection")})),o.a.createElement(i.SelectBox,{className:g.collectionSelectBox,disabled:d,placeholder:n("inspector.collections.placeholder","Select a collection"),value:null===(e=l.parent)||void 0===e?void 0:e.id,optionValueField:"id",options:m,noMatchesFoundLabel:n("general.noMatchesFound","No matches found"),onValueChange:v,onSearchTermChange:_,ListPreviewElement:y,displaySearchBox:!0,allowEmpty:!0,threshold:0}))});var O=o.a.memo(()=>{const e=Object(c.h)(),t=Object(a.g)(l.n),n=Object(s.f)(),{translate:u}=Object(s.d)(),[d,h]=Object(r.useState)(""),{updateAssetCollection:m}=Object(c.j)(),b=e&&d!==e.title,y=Object(r.useCallback)(e=>{h(e.trim())},[]),g=Object(r.useCallback)(()=>{e&&h(e.title)},[e,h]),O=Object(r.useCallback)(()=>{d!==e.title&&m({assetCollection:e,title:d}).then(()=>{n.ok(u("actions.updateAssetCollection.success","The asset collection has been updated"))}).catch(({message:e})=>{n.error(u("actions.deleteAssetCollection.error","Error while updating the asset collection"),e)})},[n,u,e,m,d]);return Object(r.useEffect)(()=>{g()},[null==e?void 0:e.id]),e&&"assetCollection"===t?o.a.createElement(v,null,o.a.createElement(p,{label:u("inspector.title","Title")},o.a.createElement(i.TextInput,{type:"text",value:d,onChange:y,onEnterKey:O})),o.a.createElement(f,{handleApply:O,handleDiscard:g,hasUnpublishedChanges:b,inputValid:!!d}),o.a.createElement(re,null),o.a.createElement(_,null)):null}),S=n(9),E=n(4);var w=E.gql` +`;var h=n(96),m=n.n(h);var v=o.a.memo(({asset:e})=>{const{dummyImage:t}=Object(s.e)();return o.a.createElement("figure",{className:m.a.similarAsset},o.a.createElement("picture",{className:m.a.picture},o.a.createElement("img",{src:e?e.thumbnailUrl:t,alt:null==e?void 0:e.label})),o.a.createElement("figcaption",{className:m.a.caption},e&&o.a.createElement(o.a.Fragment,null,o.a.createElement("img",{src:e.file.typeIcon.url,alt:e.file.typeIcon.alt}),o.a.createElement("span",null,e.label))))}),b=n(147),y=n.n(b);var g=r.memo(()=>{const{translate:e}=Object(s.d)(),[t,n]=Object(a.f)(l),o=Object(u.i)(),{similarAssets:c,loading:f}=function(e){const{data:t,loading:n}=Object(d.useQuery)(p,{variables:{id:null==e?void 0:e.assetId,assetSourceId:null==e?void 0:e.assetSourceId},skip:!e});return{similarAssets:(null==t?void 0:t.similarAssets)||null,loading:n}}(o?{assetId:o.id,assetSourceId:o.assetSource.id}:null),h=Object(r.useCallback)(()=>n(!1),[n]);return r.createElement(i.Dialog,{isOpen:t,title:e("similarAssetsModal.title","Similar assets to "+o.label,{asset:o.label}),onRequestClose:h,style:"wide",actions:[r.createElement(i.Button,{key:"cancel",style:"neutral",hoverStyle:"darken",onClick:h},e("similarAssetsModal.cancel","Cancel"))]},r.createElement("div",{className:y.a.assetUsage},(null==c?void 0:c.length)>0?c.map((e,t)=>r.createElement(v,{key:t,asset:e})):r.createElement("span",null,f?e("similarAssetsModal.loading","Loading..."):e("similarAssetsModal.noResults","No results"))))})},function(e,t,n){e.exports={thumbnail:"Thumbnail-module__thumbnail___ck0xX",caption:"Thumbnail-module__caption___MRAet",toolBar:"Thumbnail-module__toolBar___2GIKg","button--active":"Thumbnail-module__button--active___2JAU8",picture:"Thumbnail-module__picture___2rVd3",selected:"Thumbnail-module__selected___c4DgY",label:"Thumbnail-module__label___niWY0",disabled:"Thumbnail-module__disabled___38I1-"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i}));var r=n(0);const o=Object(r.createContext)(null),a=()=>Object(r.useContext)(o);function i({children:e,notificationApi:t}){return r.createElement(o.Provider,{value:{notice:e=>t.notice(e),error:(e,n="")=>t.error(e,n),ok:e=>t.ok(e),info:e=>t.info(e),warning:(e,n="")=>t.warning(e,n)}},e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return $})),n.d(t,"c",(function(){return H})),n.d(t,"d",(function(){return Y})),n.d(t,"e",(function(){return J})),n.d(t,"f",(function(){return ee})),n.d(t,"g",(function(){return te})),n.d(t,"h",(function(){return ne})),n.d(t,"i",(function(){return re}));var r=n(0),o=n.n(r),a=n(1),i=n(3),s=n(5),l=n(7),c=n(12),u=n(152),d=n.n(u);var f=({hasUnpublishedChanges:e,handleApply:t,handleDiscard:n,inputValid:r=!0})=>{const{translate:a}=Object(s.d)();return o.a.createElement("div",{className:d.a.actions},o.a.createElement(i.Button,{disabled:!e,size:"regular",style:"lighter",hoverStyle:"brand",onClick:n},a("inspector.actions.discard","Discard")),o.a.createElement(i.Button,{disabled:!e||!r,size:"regular",style:"success",hoverStyle:"success",onClick:t},a("inspector.actions.apply","Apply")))};var p=({children:e,label:t})=>o.a.createElement("div",{className:"propertyGroup"},o.a.createElement(i.Label,null,t),e),h=n(153),m=n.n(h);var v=({children:e})=>o.a.createElement("div",{className:m.a.inspector},e),b=n(11);const y=({option:e,...t})=>o.a.createElement(i.SelectBox_Option_MultiLineWithThumbnail,{...t,...e});var g=n(154);var _=o.a.memo(()=>{var e;const t=Object(s.f)(),{translate:n}=Object(s.d)(),{assetCollections:a}=Object(c.g)(),l=Object(c.h)(),{setAssetCollectionParent:u,loading:d}=Object(c.i)(),[f,p]=Object(r.useState)(""),h=Object(r.useMemo)(()=>a.filter(({id:e})=>e!==l.id).map(e=>({label:e.title,id:e.id,secondaryLabel:e.parent?"/"+Object(c.d)(e,a).map(({title:e})=>e).join("/"):""})),[a,null==l?void 0:l.id]),m=Object(r.useMemo)(()=>h.filter(({label:e})=>e.toLowerCase().includes(f)),[h,f]),v=Object(r.useCallback)(async e=>{var r;e!==(null===(r=l.parent)||void 0===r?void 0:r.id)&&u({assetCollection:l,parent:e?a.find(t=>t.id===e):null}).then(()=>{t.ok(n("ParentCollectionSelectBox.setParent.success","The parent collection has been set"))}).catch(({message:e})=>{t.error(n("ParentCollectionSelectBox.setParent.error","Error while setting the parent collection"),e)})},[l,u,a,t,n]),_=Object(r.useCallback)(e=>{p(e.toLowerCase())},[]);return o.a.createElement("div",null,o.a.createElement(i.Headline,{type:"h2"},o.a.createElement(b.d,{icon:"folder",label:n("inspector.assetCollections","Parent collection")})),o.a.createElement(i.SelectBox,{className:g.collectionSelectBox,disabled:d,placeholder:n("inspector.collections.placeholder","Select a collection"),value:null===(e=l.parent)||void 0===e?void 0:e.id,optionValueField:"id",options:m,noMatchesFoundLabel:n("general.noMatchesFound","No matches found"),onValueChange:v,onSearchTermChange:_,ListPreviewElement:y,displaySearchBox:!0,allowEmpty:!0,threshold:0}))});var O=o.a.memo(()=>{const e=Object(c.h)(),t=Object(a.g)(l.n),n=Object(s.f)(),{translate:u}=Object(s.d)(),[d,h]=Object(r.useState)(""),{updateAssetCollection:m}=Object(c.j)(),b=e&&d!==e.title,y=Object(r.useCallback)(e=>{h(e.trim())},[]),g=Object(r.useCallback)(()=>{e&&h(e.title)},[e,h]),O=Object(r.useCallback)(()=>{d!==e.title&&m({assetCollection:e,title:d}).then(()=>{n.ok(u("actions.updateAssetCollection.success","The asset collection has been updated"))}).catch(({message:e})=>{n.error(u("actions.deleteAssetCollection.error","Error while updating the asset collection"),e)})},[n,u,e,m,d]);return Object(r.useEffect)(()=>{g()},[null==e?void 0:e.id]),e&&"assetCollection"===t?o.a.createElement(v,null,o.a.createElement(p,{label:u("inspector.title","Title")},o.a.createElement(i.TextInput,{type:"text",value:d,onChange:y,onEnterKey:O})),o.a.createElement(f,{handleApply:O,handleDiscard:g,hasUnpublishedChanges:b,inputValid:!!d}),o.a.createElement(re,null),o.a.createElement(_,null)):null}),S=n(9),E=n(4);var w=E.gql` fragment CropInformationProps on CropInformation { width height @@ -425,7 +425,7 @@ var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Arr } } ${w} -`;var T=n(44),A=n.n(T);var j=({presetIdentifier:e,variantName:t,width:n,height:r,previewUrl:a})=>o.a.createElement("div",{className:A.a.variantContainer},o.a.createElement("picture",{className:A.a.picture},o.a.createElement("img",{className:A.a.image,src:a,alt:t})),o.a.createElement("figcaption",{className:A.a.caption},o.a.createElement("div",{className:A.a.infoContainer},e?o.a.createElement("span",{className:A.a.info},"Preset: ",e):null,t?o.a.createElement("span",{className:A.a.info},"Variant: ",t):null,o.a.createElement("span",{className:A.a.variantSizes},"W: ",n," H: ",r)))),k=n(104),I=n.n(k);var N=()=>{var e,t;const{translate:n}=Object(s.d)(),r=Object(S.i)(),a=function(e){const{data:t,loading:n,refetch:r}=Object(E.useQuery)(C,{variables:{id:null==e?void 0:e.assetId,assetSourceId:null==e?void 0:e.assetSourceId},skip:!e});return{variants:(null==t?void 0:t.assetVariants)||null,loading:n,refetch:r}}(r?{assetId:r.id,assetSourceId:r.assetSource.id}:null);return r?o.a.createElement("div",{className:I.a.variantsContainer},a.loading?o.a.createElement("div",null,"Loading Variants"):o.a.createElement(o.a.Fragment,null,o.a.createElement("h1",null,"Image Variants"),o.a.createElement("ul",null,(null===(e=a.variants)||void 0===e?void 0:e.length)>0?null===(t=a.variants)||void 0===t?void 0:t.map(e=>o.a.createElement("li",{className:I.a.variantItem,key:"variant-"+e.id},o.a.createElement(j,{...e}))):o.a.createElement("li",null,n("assetVariants.noVariantsFound","No variants found"))))):null},x=n(19),R=n(50),D=n(49),M=n(77),L=n(154),P=n.n(L);var F=o.a.memo(()=>{const{translate:e}=Object(s.d)(),t=Object(S.i)(),n=Object(a.g)(l.a),{showSimilarAssets:r}=Object(a.g)(l.f);return t?o.a.createElement("div",{className:P.a.tasks},o.a.createElement(i.Headline,{type:"h2"},o.a.createElement(b.d,{icon:"tasks",label:e("inspector.actions","Tasks")})),o.a.createElement(x.b,null),r&&o.a.createElement(R.b,null),!t.assetSource.readOnly&&"details"!==n&&o.a.createElement(D.a,null),!t.assetSource.readOnly&&"details"!==n&&o.a.createElement(M.b,null)):null}),B=n(64),U=n.n(B),V=n(23);var q=o.a.memo(()=>{const e=Object(S.i)(),{assetSources:t}=Object(V.e)(),n=Object(s.f)(),{translate:c}=Object(s.d)(),{approvalAttainmentStrategy:{obtainApprovalToUpdateAsset:u}}=Object(s.e)(),d=Object(a.g)(l.f),[h,m]=Object(r.useState)(null),[y,g]=Object(r.useState)(null),[_,O]=Object(r.useState)(null),[E,w]=Object(r.useState)(d.propertyEditor.collapsed),{updateAsset:C,loading:T}=Object(S.l)(),A=(null==e?void 0:e.localId)&&!T,j=e&&(h!==e.label||y!==e.caption||_!==e.copyrightNotice),k=e?t.find(({id:t})=>t===e.assetSource.id):null,I=Object(r.useCallback)(()=>{e&&(m(e.label),g(e.caption),O(e.copyrightNotice))},[e,m,g,O]),N=Object(r.useCallback)(async()=>{if(h!==e.label||y!==e.caption||_!==e.copyrightNotice){if(await u({asset:e}))try{await C({asset:e,label:h,caption:y,copyrightNotice:_}),n.ok(c("actions.updateAsset.success","The asset has been updated"))}catch({message:e}){n.error(c("actions.deleteAsset.error","Error while updating the asset"),e)}}},[n,c,y,_,h,e,C,u]);return Object(r.useEffect)(()=>{I()},[null==e?void 0:e.id]),e?o.a.createElement(v,null,o.a.createElement(i.ToggablePanel,{closesToBottom:!0,className:U.a.propertyPanel,isOpen:!E,onPanelToggle:()=>w(e=>!e)},o.a.createElement(i.ToggablePanel.Header,{className:U.a.propertyPanelHeader},o.a.createElement(b.d,{icon:"pencil",label:c("propertyPanel.header","Properties")})),o.a.createElement(i.ToggablePanel.Contents,{className:U.a.propertyPanelContents},o.a.createElement(p,{label:c("inspector.title","Title")},o.a.createElement(i.TextInput,{name:"label",disabled:!A,type:"text",value:h||"",onChange:m,onEnterKey:N})),o.a.createElement(p,{label:c("inspector.caption","Caption")},o.a.createElement(i.TextArea,{name:"caption",className:U.a.textArea,disabled:!A,minRows:3,expandedRows:6,value:y||"",onChange:g})),o.a.createElement(p,{label:c("inspector.copyrightNotice","Copyright notice")},o.a.createElement(i.TextArea,{name:"copyrightNotice",className:U.a.textArea,disabled:!A,minRows:2,expandedRows:4,value:_||"",onChange:O})),A&&o.a.createElement(f,{handleApply:N,handleDiscard:I,hasUnpublishedChanges:j,inputValid:!!h}))),(null==k?void 0:k.supportsCollections)&&o.a.createElement(H,null),(null==k?void 0:k.supportsTagging)&&o.a.createElement(ne,null),o.a.createElement(F,null),o.a.createElement(J,null)):null}),z=n(155),Q=n.n(z);var $=o.a.memo(()=>{const e=Object(a.g)(l.l),{showVariantsEditor:t}=Object(a.g)(l.f),n=Object(a.g)(l.n);return e&&"asset"===n?t?o.a.createElement(i.Tabs,{theme:{tabs__content:Q.a.tabContent}},o.a.createElement(i.Tabs.Panel,{icon:"info-circle",key:"editor",id:"editor"},o.a.createElement(q,null)),o.a.createElement(i.Tabs.Panel,{icon:"images"},o.a.createElement(N,null))):o.a.createElement(q,null):null}),W=n(105);var H=o.a.memo(()=>{const e=Object(s.f)(),{translate:t}=Object(s.d)(),{approvalAttainmentStrategy:{obtainApprovalToSetAssetCollections:n}}=Object(s.e)(),{assetCollections:u}=Object(c.g)(),{setAssetCollections:d,loading:f}=Object(S.j)(),p=Object(S.i)(),{limitToSingleAssetCollectionPerAsset:h}=Object(a.g)(l.f),[m,v]=Object(r.useState)(""),g=Object(r.useMemo)(()=>u.map(e=>({label:e.title,id:e.id,secondaryLabel:e.parent?"/"+Object(c.d)(e,u).map(({title:e})=>e).join("/"):""})),[u]),_=Object(r.useMemo)(()=>g.filter(({label:e})=>e.toLowerCase().includes(m)),[g,m]),[O,E]=Object(r.useState)([]),w=Object(r.useCallback)(()=>E((null==p?void 0:p.collections.map(({id:e})=>e))||[]),[null==p?void 0:p.collections]),C=Object(r.useCallback)(async r=>{if(null===r?r=[]:"string"==typeof r&&(r=[r]),o=p,r.join(",")!==o.collections.map(e=>e.id).join(",")){const o=p,a=u.filter(e=>r.includes(e.id));if(await n({asset:o,newAssetCollections:a}))try{await d({asset:o,assetCollections:a}),e.ok(t("actions.setAssetCollections.success","The collections for the asset have been set"))}catch({message:n}){e.error(t("actions.setAssetCollections.error","Error while setting the collections for the asset"),n)}else w()}var o},[e,p,d,u,t,w,n]),T=Object(r.useCallback)(e=>{v(e.toLowerCase())},[]);return Object(r.useEffect)(w,[w]),p?o.a.createElement("div",{className:"collectionSelectBox"},h?o.a.createElement(o.a.Fragment,null,o.a.createElement(i.Headline,{type:"h2"},o.a.createElement(b.d,{icon:"folder",label:t("inspector.assetCollection","Collection")})),o.a.createElement(i.SelectBox,{className:W.collectionSelectBox,disabled:f||p.assetSource.readOnly,placeholder:t("inspector.collections.placeholder","Select a collection"),value:O.length?O[0]:null,optionValueField:"id",options:_,noMatchesFoundLabel:t("general.noMatchesFound","No matches found"),onValueChange:C,onSearchTermChange:T,ListPreviewElement:y,displaySearchBox:!0,allowEmpty:!0,threshold:0})):o.a.createElement(o.a.Fragment,null,o.a.createElement(i.Headline,{type:"h2"},o.a.createElement(b.d,{icon:"folder",label:t("inspector.assetCollections","Collections")})),o.a.createElement(i.MultiSelectBox,{className:W.collectionSelectBox,disabled:f||p.assetSource.readOnly,placeholder:t("inspector.collections.placeholder","Select a collection"),values:O,optionValueField:"id",options:g,searchOptions:_,noMatchesFoundLabel:t("general.noMatchesFound","No matches found"),onValuesChange:C,onSearchTermChange:T,ListPreviewElement:y,displaySearchBox:!0,allowEmpty:!0,threshold:0}))):null}),K=n(156),G=n.n(K);var Y=o.a.memo(()=>{var e;const t=Object(S.i)(),{translate:n}=Object(s.d)();return(null===(e=null==t?void 0:t.iptcProperties)||void 0===e?void 0:e.length)?o.a.createElement("div",{className:G.a.iptcData},o.a.createElement(i.Headline,{type:"h2"},o.a.createElement(b.d,{icon:"camera",label:n("inspector.iptcMetadata","IPTC Metadata")})),o.a.createElement(b.f,null,t.iptcProperties.map(e=>o.a.createElement(b.g,{key:e.propertyName,label:e.propertyName,value:e.value})))):null}),X=n(48);var J=r.memo(()=>{const{translate:e}=Object(s.d)(),t=Object(S.i)();return t?r.createElement("div",null,r.createElement(i.Headline,{type:"h2"},r.createElement(b.d,{icon:"info-circle",label:e("inspector.metadata","Metadata")})),r.createElement(b.f,null,r.createElement(b.g,{label:e("inspector.property.dimensions","Dimensions"),value:`${t.width}px x ${t.height}px`}),t.file.size>0&&r.createElement(b.g,{label:e("inspector.property.fileSize","Size"),value:Object(X.a)(t.file.size)}),r.createElement(b.g,{label:e("inspector.property.filename","Filename"),value:t.filename}),r.createElement(b.g,{label:e("inspector.property.lastModified","Last modified"),value:new Date(t.lastModified).toLocaleString()}),r.createElement(b.g,{label:e("inspector.property.mediaType","MIME type"),value:t.file.mediaType}))):null}),Z=n(14);var ee=r.memo(()=>{const e=Object(Z.f)(),t=Object(a.g)(l.n),n=Object(s.f)(),{translate:o}=Object(s.d)(),[c,u]=Object(r.useState)(null),{updateTag:d}=Object(Z.h)(),h=e&&c!==e.label,m=Object(r.useCallback)(()=>{e&&u(e.label)},[e,u]),b=Object(r.useCallback)(()=>{c!==e.label&&d({tag:e,label:c}).then(()=>{n.ok(o("actions.updateTag.success","The tag has been updated"))}).catch(({message:e})=>{n.error(o("actions.updateTag.error","Error while updating the tag"),e)})},[n,o,e,d,c]);return Object(r.useEffect)(()=>{m()},[null==e?void 0:e.id]),e&&"tag"===t?r.createElement(v,null,r.createElement(p,{label:o("inspector.label","Label")},r.createElement(i.TextInput,{type:"text",value:c||"",onChange:u,onEnterKey:b})),r.createElement(f,{handleApply:b,handleDiscard:m,hasUnpublishedChanges:h})):null});var te=o.a.memo(({values:e,options:t,onChange:n,disabled:r=!1})=>{const{translate:a}=Object(s.d)();return o.a.createElement("div",{className:"tagSelectBox"},o.a.createElement(i.Headline,{type:"h2"},o.a.createElement(b.d,{icon:"tags",label:a("inspector.tags","Tags")})),o.a.createElement(i.MultiSelectBox,{className:"tagSelection",disabled:r,placeholder:a("inspector.tags.placeholder","Select a tag"),noMatchesFoundLabel:a("general.noMatchesFound","No matches found"),values:e,optionValueField:"id",options:t,searchOptions:t,onValuesChange:e=>n(e.map(e=>t.find(t=>t.id===e)))}))});var ne=o.a.memo(()=>{const e=Object(s.f)(),{translate:t}=Object(s.d)(),{approvalAttainmentStrategy:{obtainApprovalToSetAssetTags:n}}=Object(s.e)(),{tags:a}=Object(Z.g)(),{setAssetTags:i,loading:l}=Object(S.k)(),c=Object(S.i)(),[u,d]=Object(r.useState)([]),f=Object(r.useCallback)(()=>d(null==c?void 0:c.tags.map(({id:e})=>e).sort()),[null==c?void 0:c.tags]),p=Object(r.useCallback)(async r=>{if(o=c,r.map(e=>e.id).sort().join(",")!==o.tags.map(e=>e.id).sort().join(",")){if(await n({asset:c,newTags:r}))try{await i({asset:c,tags:r}),e.ok(t("actions.setAssetTags.success","The asset has been tagged"))}catch({message:n}){e.error(t("actions.setAssetTags.error","Error while tagging the asset"),n)}else f()}var o},[e,c,i,t,f,n]);return Object(r.useEffect)(()=>f(),[f]),c?o.a.createElement(te,{values:u,options:a,onChange:p,disabled:l||c.assetSource.readOnly}):null});var re=o.a.memo(()=>{const e=Object(s.f)(),{translate:t}=Object(s.d)(),{tags:n}=Object(Z.g)(),{updateAssetCollection:a}=Object(c.j)(),i=Object(c.h)(),l=Object(r.useMemo)(()=>null==i?void 0:i.tags.map(({id:e})=>e).sort(),[null==i?void 0:i.tags]),u=Object(r.useCallback)(n=>{var r;r=i,n.map(e=>e.id).sort().join(",")!==r.tags.map(e=>e.id).sort().join(",")&&a({assetCollection:i,tags:n}).then(()=>{e.ok(t("actions.tagAssetCollection.success","The asset collection has been tagged"))}).catch(({message:n})=>{e.error(t("actions.tagAssetCollection.error","Error while tagging the asset collection"),n)})},[e,i,a,t]);return i?o.a.createElement(te,{values:l,options:n,onChange:u}):null})},function(e,t,n){e.exports={fileList:"FilePreview-module__fileList___2Idje",fileListHeader:"FilePreview-module__fileListHeader___30V9N",thumb:"FilePreview-module__thumb___3Pr8a",thumbInner:"FilePreview-module__thumbInner___IvQdB",img:"FilePreview-module__img___8ejzf",loading:"FilePreview-module__loading___1237G",success:"FilePreview-module__success___3O3RF",error:"FilePreview-module__error___2Vwak",warning:"FilePreview-module__warning___3LWQm"}},function(e,t,n){e.exports={uploadArea:"ReplaceAssetDialog-module__uploadArea___1jzR5",optionSection:"ReplaceAssetDialog-module__optionSection___1SaG0",option:"ReplaceAssetDialog-module__option___2K8FB",label:"ReplaceAssetDialog-module__label___huLhV"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e,t,n,r,o){this.message=e,this.path=t,this.query=n,this.clientOnly=r,this.variables=o}},function(e,t,n){e.exports={mediaModuleTheme:"Theme-module__mediaModuleTheme___2DCHe"}},function(e,t,n){"use strict";var r=n(30);n.d(t,"a",(function(){return r.b}))},function(e,t,n){"use strict";var r=n(0),o=n.n(r),a=n(52);class i extends o.a.Component{constructor(e){super(e),this.clearConfigAndReload=()=>{localStorage.clear(),this.reload()},this.state={hasError:!1,error:null}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){this.setState({error:e}),this.context.error(e.name,e.message)}reload(){window.location.reload()}render(){const{hasError:e,error:t}=this.state;return e?o.a.createElement("div",null,o.a.createElement("p",{style:{color:"red"}},"The media application encountered an unexpected error:"),o.a.createElement("br",null),t&&o.a.createElement("pre",null,t.message),o.a.createElement("br",null),o.a.createElement("button",{className:"neos-button",onClick:this.reload},"Reload")," or ",o.a.createElement("button",{className:"neos-button",onClick:this.clearConfigAndReload},"Clear configuration & reload")):this.props.children}}i.contextType=a.a,t.a=i},function(e,t,n){"use strict";var r=n(29);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}"function"==typeof Symbol&&null!=Symbol.iterator&&Symbol.iterator,"function"==typeof Symbol&&null!=Symbol.asyncIterator&&Symbol.asyncIterator;var a="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";function i(e,t){for(var n,r=/\r\n|[\n\r]/g,o=1,a=t+1;(n=r.exec(e.body))&&n.index120){for(var h=Math.floor(l/80),m=l%80,v=[],b=0;b0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=s&&s.stack?(Object.defineProperty(v(y),"stack",{value:s.stack,writable:!0,configurable:!0}),m(y)):(Error.captureStackTrace?Error.captureStackTrace(v(y),b):Object.defineProperty(v(y),"stack",{value:Error().stack,writable:!0,configurable:!0}),y)}return r=b,(c=[{key:"toString",value:function(){return function(e){var t=e.message;if(e.nodes)for(var n=0,r=e.nodes;n",EOF:"",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"}),j=n(72);function k(e,t){if(!Boolean(e))throw new Error(t)}var I=function(e,t){return e instanceof t};function N(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof e||k(0,"Body must be a string. Received: ".concat(Object(j.a)(e),".")),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||k(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||k(0,"column in locationOffset is 1-indexed and must be positive.")}var t,n,r;return t=e,(n=[{key:a,get:function(){return"Source"}}])&&N(t.prototype,n),r&&N(t,r),e}();var R=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"}),D=n(88),M=function(){function e(e){var t=new T.b(A.SOF,0,0,0,0,null);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var t=e.prototype;return t.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t.lookahead=function(){var e=this.token;if(e.kind!==A.EOF)do{var t;e=null!==(t=e.next)&&void 0!==t?t:e.next=P(this,e)}while(e.kind===A.COMMENT);return e},e}();function L(e){return isNaN(e)?A.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function P(e,t){for(var n=e.source,r=n.body,o=r.length,a=t.end;a31||9===a));return new T.b(A.COMMENT,t,s,n,r,o,i.slice(t+1,s))}function U(e,t,n,r,o,a){var i=e.body,s=n,l=t,c=!1;if(45===s&&(s=i.charCodeAt(++l)),48===s){if((s=i.charCodeAt(++l))>=48&&s<=57)throw w(e,l,"Invalid number, unexpected digit after 0: ".concat(L(s),"."))}else l=V(e,l,s),s=i.charCodeAt(l);if(46===s&&(c=!0,s=i.charCodeAt(++l),l=V(e,l,s),s=i.charCodeAt(l)),69!==s&&101!==s||(c=!0,43!==(s=i.charCodeAt(++l))&&45!==s||(s=i.charCodeAt(++l)),l=V(e,l,s),s=i.charCodeAt(l)),46===s||function(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(s))throw w(e,l,"Invalid number, expected digit but got: ".concat(L(s),"."));return new T.b(c?A.FLOAT:A.INT,t,l,r,o,a,i.slice(t,l))}function V(e,t,n){var r=e.body,o=t,a=n;if(a>=48&&a<=57){do{a=r.charCodeAt(++o)}while(a>=48&&a<=57);return o}throw w(e,o,"Invalid number, expected digit but got: ".concat(L(a),"."))}function q(e,t,n,r,o){for(var a,i,s,l,c=e.body,u=t+1,d=u,f=0,p="";u=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function $(e,t,n,r,o){for(var a=e.body,i=a.length,s=t+1,l=0;s!==i&&!isNaN(l=a.charCodeAt(s))&&(95===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122);)++s;return new T.b(A.NAME,t,s,n,r,o,a.slice(t,s))}var W=function(){function e(e,t){var n=function(e){return I(e,x)}(e)?e:new x(e);this._lexer=new M(n),this._options=t}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(A.NAME);return{kind:C.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:C.DOCUMENT,definitions:this.many(A.SOF,this.parseDefinition,A.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(A.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(A.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(A.BRACE_L))return{kind:C.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,n=this.parseOperationType();return this.peek(A.NAME)&&(t=this.parseName()),{kind:C.OPERATION_DEFINITION,operation:n,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(A.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(A.PAREN_L,this.parseVariableDefinition,A.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:C.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(A.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(A.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(A.DOLLAR),{kind:C.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:C.SELECTION_SET,selections:this.many(A.BRACE_L,this.parseSelection,A.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(A.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(A.COLON)?(e=r,t=this.parseName()):t=r,{kind:C.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(A.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(n)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(A.PAREN_L,t,A.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(A.COLON),{kind:C.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:C.ARGUMENT,name:this.parseName(),value:(this.expectToken(A.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(A.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(A.NAME)?{kind:C.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:C.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e,t=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)?{kind:C.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:C.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case A.BRACKET_L:return this.parseList(e);case A.BRACE_L:return this.parseObject(e);case A.INT:return this._lexer.advance(),{kind:C.INT,value:t.value,loc:this.loc(t)};case A.FLOAT:return this._lexer.advance(),{kind:C.FLOAT,value:t.value,loc:this.loc(t)};case A.STRING:case A.BLOCK_STRING:return this.parseStringLiteral();case A.NAME:switch(this._lexer.advance(),t.value){case"true":return{kind:C.BOOLEAN,value:!0,loc:this.loc(t)};case"false":return{kind:C.BOOLEAN,value:!1,loc:this.loc(t)};case"null":return{kind:C.NULL,loc:this.loc(t)};default:return{kind:C.ENUM,value:t.value,loc:this.loc(t)}}case A.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:C.STRING,value:e.value,block:e.kind===A.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,n=this._lexer.token;return{kind:C.LIST,values:this.any(A.BRACKET_L,(function(){return t.parseValueLiteral(e)}),A.BRACKET_R),loc:this.loc(n)}},t.parseObject=function(e){var t=this,n=this._lexer.token;return{kind:C.OBJECT,fields:this.any(A.BRACE_L,(function(){return t.parseObjectField(e)}),A.BRACE_R),loc:this.loc(n)}},t.parseObjectField=function(e){var t=this._lexer.token,n=this.parseName();return this.expectToken(A.COLON),{kind:C.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(A.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(A.AT),{kind:C.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(A.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(A.BRACKET_R),e={kind:C.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(A.BANG)?{kind:C.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:C.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===A.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(A.STRING)||this.peek(A.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");var n=this.parseDirectives(!0),r=this.many(A.BRACE_L,this.parseOperationTypeDefinition,A.BRACE_R);return{kind:C.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(A.COLON);var n=this.parseNamedType();return{kind:C.OPERATION_TYPE_DEFINITION,operation:t,type:n,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var n=this.parseName(),r=this.parseDirectives(!0);return{kind:C.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var n=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),a=this.parseFieldsDefinition();return{kind:C.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:o,fields:a,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLImplementsInterfaces)){var t=[];this.expectOptionalToken(A.AMP);do{t.push(this.parseNamedType())}while(this.expectOptionalToken(A.AMP)||this.peek(A.NAME));return t}return this.delimitedMany(A.AMP,this.parseNamedType)},t.parseFieldsDefinition=function(){var e;return!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)&&this.peek(A.BRACE_L)&&this._lexer.lookahead().kind===A.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(A.BRACE_L,this.parseFieldDefinition,A.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(A.COLON);var o=this.parseTypeReference(),a=this.parseDirectives(!0);return{kind:C.FIELD_DEFINITION,description:t,name:n,arguments:r,type:o,directives:a,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(A.PAREN_L,this.parseInputValueDef,A.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(A.COLON);var r,o=this.parseTypeReference();this.expectOptionalToken(A.EQUALS)&&(r=this.parseValueLiteral(!0));var a=this.parseDirectives(!0);return{kind:C.INPUT_VALUE_DEFINITION,description:t,name:n,type:o,defaultValue:r,directives:a,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var n=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),a=this.parseFieldsDefinition();return{kind:C.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:o,fields:a,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var n=this.parseName(),r=this.parseDirectives(!0),o=this.parseUnionMemberTypes();return{kind:C.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:o,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){return this.expectOptionalToken(A.EQUALS)?this.delimitedMany(A.PIPE,this.parseNamedType):[]},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var n=this.parseName(),r=this.parseDirectives(!0),o=this.parseEnumValuesDefinition();return{kind:C.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:o,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(A.BRACE_L,this.parseEnumValueDefinition,A.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseDirectives(!0);return{kind:C.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var n=this.parseName(),r=this.parseDirectives(!0),o=this.parseInputFieldsDefinition();return{kind:C.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:o,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(A.BRACE_L,this.parseInputValueDef,A.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===A.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),n=this.optionalMany(A.BRACE_L,this.parseOperationTypeDefinition,A.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return{kind:C.SCHEMA_EXTENSION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),n=this.parseDirectives(!0);if(0===n.length)throw this.unexpected();return{kind:C.SCALAR_TYPE_EXTENSION,name:t,directives:n,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),o=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===o.length)throw this.unexpected();return{kind:C.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:o,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),o=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===o.length)throw this.unexpected();return{kind:C.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:o,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:C.UNION_TYPE_EXTENSION,name:t,directives:n,types:r,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:C.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:C.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(A.AT);var n=this.parseName(),r=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var a=this.parseDirectiveLocations();return{kind:C.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:o,locations:a,loc:this.loc(e)}},t.parseDirectiveLocations=function(){return this.delimitedMany(A.PIPE,this.parseDirectiveLocation)},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==R[t.value])return t;throw this.unexpected(e)},t.loc=function(e){var t;if(!0!==(null===(t=this._options)||void 0===t?void 0:t.noLocation))return new T.a(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw w(this._lexer.source,t.start,"Expected ".concat(K(e),", found ").concat(H(t),"."))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==A.NAME||t.value!==e)throw w(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(H(t),"."));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===A.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!=e?e:this._lexer.token;return w(this._lexer.source,t.start,"Unexpected ".concat(H(t),"."))},t.any=function(e,t,n){this.expectToken(e);for(var r=[];!this.expectOptionalToken(n);)r.push(t.call(this));return r},t.optionalMany=function(e,t,n){if(this.expectOptionalToken(e)){var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}return[]},t.many=function(e,t,n){this.expectToken(e);var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r},t.delimitedMany=function(e,t){this.expectOptionalToken(e);var n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n},e}();function H(e){var t=e.value;return K(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function K(e){return function(e){return e===A.BANG||e===A.DOLLAR||e===A.AMP||e===A.PAREN_L||e===A.PAREN_R||e===A.SPREAD||e===A.COLON||e===A.EQUALS||e===A.AT||e===A.BRACKET_L||e===A.BRACKET_R||e===A.BRACE_L||e===A.PIPE||e===A.BRACE_R}(e)?'"'.concat(e,'"'):e}var G=new Map,Y=new Map,X=!0,J=!1;function Z(e){return e.replace(/[\s,]+/g," ").trim()}function ee(e){var t=new Set,n=[];return e.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var r=e.name.value,o=Z((i=e.loc).source.body.substring(i.start,i.end)),a=Y.get(r);a&&!a.has(o)?X&&console.warn("Warning: fragment with name "+r+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):a||Y.set(r,a=new Set),a.add(o),t.has(o)||(t.add(o),n.push(e))}else n.push(e);var i})),Object(r.a)(Object(r.a)({},e),{definitions:n})}function te(e){var t=Z(e);if(!G.has(t)){var n=function(e,t){return new W(e,t).parseDocument()}(e,{experimentalFragmentVariables:J});if(!n||"Document"!==n.kind)throw new Error("Not a valid GraphQL document.");G.set(t,function(e){var t=new Set(e.definitions);t.forEach((function(e){e.loc&&delete e.loc,Object.keys(e).forEach((function(n){var r=e[n];r&&"object"==typeof r&&t.add(r)}))}));var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}(ee(n)))}return G.get(t)}function ne(e){for(var t=[],n=1;nl(({graphQLErrors:t,networkError:n})=>{t&&t.map(t=>{const n="INTERNAL_SERVER_ERROR"===t.extensions.code;console.error(t.extensions.code===n?"[Internal server error]":"[GraphQL error]",t.path,t),e.error(t.extensions.code===n?"Internal server error":"Communication error",t.message)}),n&&(console.error("[Network error]: "+n),e.warning("Network error","Please check your connection."))});var u=class{static createCache(e){return new r.InMemoryCache({dataIdFromObject:o,typePolicies:{Query:{fields:{asset:(e,{args:t,toReference:n})=>t.id?n({__typename:"Asset",id:t.id}):null,tag:(e,{args:t,toReference:n})=>t.id?n({__typename:"Tag",id:t.id}):null,assetCollection:(e,{args:t,toReference:n})=>t.id?n({__typename:"AssetCollection",id:t.id}):null,assetSource:(e,{args:t,toReference:n})=>t.id?n({__typename:"AssetSource",id:t.id}):null,includeUsage:()=>e.queryAssetUsage}},Mutation:{fields:{includeUsage:()=>e.queryAssetUsage}},Asset:{keyFields:["id"]},Tag:{keyFields:["id"]},AssetCollection:{keyFields:["id"]},AssetSource:{keyFields:["id"]}}})}}},function(e,t,n){e.exports={assetSourceList:"AssetSourceList-module__assetSourceList___1vsN0",header:"AssetSourceList-module__header___1-LlI",item:"AssetSourceList-module__item___3wmGk",itemSelected:"AssetSourceList-module__itemSelected___3v2J-",itemLabel:"AssetSourceList-module__itemLabel___2xJL-"}},function(e,t,n){e.exports={textArea:"PropertyInspector-module__textArea___3V9M7",propertyPanel:"PropertyInspector-module__propertyPanel___6dKvE",propertyPanelHeader:"PropertyInspector-module__propertyPanelHeader___2j6HD",propertyPanelContents:"PropertyInspector-module__propertyPanelContents___1B6UV"}},function(e,t,n){e.exports={preview:"Preview-module__preview___3h-ZY",loading:"Preview-module__loading___3o83W",picture:"Preview-module__picture___jQcGM",toolBar:"Preview-module__toolBar___1S_jz","button--active":"Preview-module__button--active___21pmk",label:"Preview-module__label___1KOeb"}},function(e,t,n){e.exports={container:"Details-module__container___35YhR",main:"Details-module__main___obMK1",inspector:"Details-module__inspector___2bV6r",loading:"Details-module__loading___2afxx"}},function(e,t,n){e.exports={currentSelection:"CurrentSelection-module__currentSelection___3fmAb",headline:"CurrentSelection-module__headline___M6VMX",label:"CurrentSelection-module__label___1YaOo",breadcrumb:"CurrentSelection-module__breadcrumb___aTpeO"}},function(e,t,n){e.exports={pagination:"Pagination-module__pagination___3n7g9",list:"Pagination-module__list___2KN7_",ellipsis:"Pagination-module__ellipsis___2IDzZ",disabled:"Pagination-module__disabled___K3djC"}},,function(e,t,n){"use strict";n.r(t),n.d(t,"parseAndCheckHttpResponse",(function(){return a})),n.d(t,"serializeFetchParameter",(function(){return s})),n.d(t,"fallbackHttpConfig",(function(){return _})),n.d(t,"selectHttpOptionsAndBody",(function(){return O})),n.d(t,"checkFetcher",(function(){return S})),n.d(t,"createSignalIfSupported",(function(){return E})),n.d(t,"selectURI",(function(){return w})),n.d(t,"createHttpLink",(function(){return j})),n.d(t,"HttpLink",(function(){return k})),n.d(t,"rewriteURIForGET",(function(){return A}));var r=n(26),o=Object.prototype.hasOwnProperty;function a(e){return function(t){return t.text().then((function(e){try{return JSON.parse(e)}catch(r){var n=r;throw n.name="ServerParseError",n.response=t,n.statusCode=t.status,n.bodyText=e,n}})).then((function(n){return t.status>=300&&Object(r.d)(t,n,"Response not successful: Received status code "+t.status),Array.isArray(n)||o.call(n,"data")||o.call(n,"errors")||Object(r.d)(t,n,"Server response was missing for query '"+(Array.isArray(e)?e.map((function(e){return e.operationName})):e.operationName)+"'."),n}))}}var i=n(8),s=function(e,t){var n;try{n=JSON.stringify(e)}catch(e){var r=new i.a(23);throw r.parseError=e,r}return n},l=n(2),c=n(135),u=n(88);function d(e){return Object(c.b)(e,{leave:f})}var f={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return h(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=v("(",h(e.variableDefinitions,", "),")"),o=h(e.directives," "),a=e.selectionSet;return n||o||r||"query"!==t?h([t,h([n,r]),o,a]," "):a},VariableDefinition:function(e){var t=e.variable,n=e.type,r=e.defaultValue,o=e.directives;return t+": "+n+v(" = ",r)+v(" ",h(o," "))},SelectionSet:function(e){return m(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,o=e.directives,a=e.selectionSet,i=v("",t,": ")+n,s=i+v("(",h(r,", "),")");return s.length>80&&(s=i+v("(\n",b(h(r,"\n")),"\n)")),h([s,h(o," "),a]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+v(" ",h(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return h(["...",v("on ",t),h(n," "),r]," ")},FragmentDefinition:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,o=e.directives,a=e.selectionSet;return"fragment ".concat(t).concat(v("(",h(r,", "),")")," ")+"on ".concat(n," ").concat(v("",h(o," ")," "))+a},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var n=e.value;return e.block?Object(u.b)(n,"description"===t?"":" "):JSON.stringify(n)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+h(e.values,", ")+"]"},ObjectValue:function(e){return"{"+h(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+v("(",h(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:p((function(e){var t=e.directives,n=e.operationTypes;return h(["schema",h(t," "),m(n)]," ")})),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:p((function(e){return h(["scalar",e.name,h(e.directives," ")]," ")})),ObjectTypeDefinition:p((function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return h(["type",t,v("implements ",h(n," & ")),h(r," "),m(o)]," ")})),FieldDefinition:p((function(e){var t=e.name,n=e.arguments,r=e.type,o=e.directives;return t+(g(n)?v("(\n",b(h(n,"\n")),"\n)"):v("(",h(n,", "),")"))+": "+r+v(" ",h(o," "))})),InputValueDefinition:p((function(e){var t=e.name,n=e.type,r=e.defaultValue,o=e.directives;return h([t+": "+n,v("= ",r),h(o," ")]," ")})),InterfaceTypeDefinition:p((function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return h(["interface",t,v("implements ",h(n," & ")),h(r," "),m(o)]," ")})),UnionTypeDefinition:p((function(e){var t=e.name,n=e.directives,r=e.types;return h(["union",t,h(n," "),r&&0!==r.length?"= "+h(r," | "):""]," ")})),EnumTypeDefinition:p((function(e){var t=e.name,n=e.directives,r=e.values;return h(["enum",t,h(n," "),m(r)]," ")})),EnumValueDefinition:p((function(e){return h([e.name,h(e.directives," ")]," ")})),InputObjectTypeDefinition:p((function(e){var t=e.name,n=e.directives,r=e.fields;return h(["input",t,h(n," "),m(r)]," ")})),DirectiveDefinition:p((function(e){var t=e.name,n=e.arguments,r=e.repeatable,o=e.locations;return"directive @"+t+(g(n)?v("(\n",b(h(n,"\n")),"\n)"):v("(",h(n,", "),")"))+(r?" repeatable":"")+" on "+h(o," | ")})),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return h(["extend schema",h(t," "),m(n)]," ")},ScalarTypeExtension:function(e){return h(["extend scalar",e.name,h(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return h(["extend type",t,v("implements ",h(n," & ")),h(r," "),m(o)]," ")},InterfaceTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return h(["extend interface",t,v("implements ",h(n," & ")),h(r," "),m(o)]," ")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return h(["extend union",t,h(n," "),r&&0!==r.length?"= "+h(r," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return h(["extend enum",t,h(n," "),m(r)]," ")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return h(["extend input",t,h(n," "),m(r)]," ")}};function p(e){return function(t){return h([t.description,e(t)],"\n")}}function h(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(t=null==e?void 0:e.filter((function(e){return e})).join(n))&&void 0!==t?t:""}function m(e){return v("{\n",b(h(e,"\n")),"\n}")}function v(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=t&&""!==t?e+t+n:""}function b(e){return v(" ",e.replace(/\n/g,"\n "))}function y(e){return-1!==e.indexOf("\n")}function g(e){return null!=e&&e.some(y)}var _={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},O=function(e,t){for(var n=[],r=2;r2)return"[Array]";for(var n=Math.min(10,e.length),r=e.length-n,o=[],a=0;a1&&o.push("... ".concat(r," more items"));return"["+o.join(", ")+"]"}(e,n);return function(e,t){var n=Object.keys(e);if(0===n.length)return"{}";if(t.length>2)return"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var n=e.constructor.name;if("string"==typeof n&&""!==n)return n}return t}(e)+"]";return"{ "+n.map((function(n){return n+": "+i(e[n],t)})).join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return m}));var r=n(2),o=n(25),a=n(8),i=n(6),s=n(15),l=n(43);function c(e){return void 0!==e.args?e.args:e.field?Object(i.e)(e.field,e.variables):null}var u=function(e,t){var n=e.__typename,r=e.id,o=e._id;if("string"==typeof n&&(t&&(t.keyObject=void 0!==r?{id:r}:void 0!==o?{_id:o}:void 0),void 0===r&&(r=o),void 0!==r))return n+":"+("number"==typeof r||"string"==typeof r?r:JSON.stringify(r))},d=function(){},f=function(e,t){return t.fieldName},p=function(e,t,n){return(0,n.mergeObjects)(e,t)},h=function(e,t){return t},m=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=Object(r.a)({dataIdFromObject:u},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t,n){var r=t&&n?Object(i.v)(e,t,n):e.__typename;if(r===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var o,a={typename:r,selectionSet:t,fragmentMap:n},s=r&&this.getTypePolicy(r),l=s&&s.keyFn||this.config.dataIdFromObject;l;){var c=l(e,a);if(!Array.isArray(c)){o=c;break}l=g(c)}return o=o?String(o):void 0,a.keyObject?[o,a.keyObject]:[o]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(n){var o=e[n],a=o.queryType,i=o.mutationType,l=o.subscriptionType,c=Object(r.e)(o,["queryType","mutationType","subscriptionType"]);a&&t.setRootTypename("Query",n),i&&t.setRootTypename("Mutation",n),l&&t.setRootTypename("Subscription",n),s.c.call(t.toBeAdded,n)?t.toBeAdded[n].push(c):t.toBeAdded[n]=[c]}))},e.prototype.updateTypePolicy=function(e,t){var n=this,r=this.getTypePolicy(e),o=t.keyFields,a=t.fields;function i(e,t){e.merge="function"==typeof t?t:!0===t?p:!1===t?h:e.merge}i(r,t.merge),r.keyFn=!1===o?d:Array.isArray(o)?g(o):"function"==typeof o?o:r.keyFn,a&&Object.keys(a).forEach((function(t){var r=n.getFieldPolicy(e,t,!0),o=a[t];if("function"==typeof o)r.read=o;else{var s=o.keyArgs,l=o.read,c=o.merge;r.keyFn=!1===s?f:Array.isArray(s)?y(s):"function"==typeof s?s:r.keyFn,"function"==typeof l&&(r.read=l),i(r,c)}r.read&&r.merge&&(r.keyFn=r.keyFn||f)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),r=this.rootTypenamesById[n];t!==r&&(Object(a.b)(!r||r===e,1),r&&delete this.rootIdsByTypename[r],this.rootIdsByTypename[t]=n,this.rootTypenamesById[n]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach((function(n){t.getSupertypeSet(n,!0),e[n].forEach((function(e){t.getSupertypeSet(e,!0).add(n);var r=e.match(s.a);r&&r[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!s.c.call(this.typePolicies,e)){var n=this.typePolicies[e]=Object.create(null);n.fields=Object.create(null);var o=this.supertypeMap.get(e);o&&o.size&&o.forEach((function(e){var o=t.getTypePolicy(e),a=o.fields,i=Object(r.e)(o,["fields"]);Object.assign(n,i),Object.assign(n.fields,a)}))}var a=this.toBeAdded[e];return a&&a.length&&this.updateTypePolicy(e,i.j.apply(void 0,a.splice(0))),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,n){if(e){var r=this.getTypePolicy(e).fields;return r[t]||n&&(r[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var n=this.supertypeMap.get(e);return!n&&t&&this.supertypeMap.set(e,n=new Set),n},e.prototype.fragmentMatches=function(e,t,n,r){var o=this;if(!e.typeCondition)return!0;if(!t)return!1;var a=e.typeCondition.name.value;if(t===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var i=this.getSupertypeSet(t,!0),l=[i],c=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&l.indexOf(t)<0&&l.push(t)},u=!(!n||!this.fuzzySubtypes.size),d=0;d{const[e,t]=Object(a.f)(l),{translate:n}=Object(s.d)();return r.createElement(i.Button,{size:"regular",style:e?"brand":"lighter",hoverStyle:"brand",onClick:()=>t(!0)},r.createElement(i.Icon,{icon:"edit"}),n("OpenAssetEditDialogButton.open","Rename asset"))}),u=n(11),d=n(9),f=n(7),p=n(4);var h=p.gql` +`;var T=n(44),A=n.n(T);var j=({presetIdentifier:e,variantName:t,width:n,height:r,previewUrl:a})=>o.a.createElement("div",{className:A.a.variantContainer},o.a.createElement("picture",{className:A.a.picture},o.a.createElement("img",{className:A.a.image,src:a,alt:t})),o.a.createElement("figcaption",{className:A.a.caption},o.a.createElement("div",{className:A.a.infoContainer},e?o.a.createElement("span",{className:A.a.info},"Preset: ",e):null,t?o.a.createElement("span",{className:A.a.info},"Variant: ",t):null,o.a.createElement("span",{className:A.a.variantSizes},"W: ",n," H: ",r)))),k=n(106),I=n.n(k);var N=()=>{var e,t;const{translate:n}=Object(s.d)(),r=Object(S.i)(),a=function(e){const{data:t,loading:n,refetch:r}=Object(E.useQuery)(C,{variables:{id:null==e?void 0:e.assetId,assetSourceId:null==e?void 0:e.assetSourceId},skip:!e});return{variants:(null==t?void 0:t.assetVariants)||null,loading:n,refetch:r}}(r?{assetId:r.id,assetSourceId:r.assetSource.id}:null);return r?o.a.createElement("div",{className:I.a.variantsContainer},a.loading?o.a.createElement("div",null,"Loading Variants"):o.a.createElement(o.a.Fragment,null,o.a.createElement("h1",null,"Image Variants"),o.a.createElement("ul",null,(null===(e=a.variants)||void 0===e?void 0:e.length)>0?null===(t=a.variants)||void 0===t?void 0:t.map(e=>o.a.createElement("li",{className:I.a.variantItem,key:"variant-"+e.id},o.a.createElement(j,{...e}))):o.a.createElement("li",null,n("assetVariants.noVariantsFound","No variants found"))))):null},x=n(19),R=n(51),D=n(49),M=n(78),L=n(155),P=n.n(L);var F=o.a.memo(()=>{const{translate:e}=Object(s.d)(),t=Object(S.i)(),n=Object(a.g)(l.a),{showSimilarAssets:r}=Object(a.g)(l.f);return t?o.a.createElement("div",{className:P.a.tasks},o.a.createElement(i.Headline,{type:"h2"},o.a.createElement(b.d,{icon:"tasks",label:e("inspector.actions","Tasks")})),o.a.createElement(x.b,null),r&&o.a.createElement(R.b,null),!t.assetSource.readOnly&&"details"!==n&&o.a.createElement(D.a,null),!t.assetSource.readOnly&&"details"!==n&&o.a.createElement(M.b,null)):null}),B=n(64),U=n.n(B),V=n(23);var q=o.a.memo(()=>{const e=Object(S.i)(),{assetSources:t}=Object(V.e)(),n=Object(s.f)(),{translate:c}=Object(s.d)(),{approvalAttainmentStrategy:{obtainApprovalToUpdateAsset:u}}=Object(s.e)(),d=Object(a.g)(l.f),[h,m]=Object(r.useState)(null),[y,g]=Object(r.useState)(null),[_,O]=Object(r.useState)(null),[E,w]=Object(r.useState)(d.propertyEditor.collapsed),{updateAsset:C,loading:T}=Object(S.l)(),A=(null==e?void 0:e.localId)&&!T,j=e&&(h!==e.label||y!==e.caption||_!==e.copyrightNotice),k=e?t.find(({id:t})=>t===e.assetSource.id):null,I=Object(r.useCallback)(()=>{e&&(m(e.label),g(e.caption),O(e.copyrightNotice))},[e,m,g,O]),N=Object(r.useCallback)(async()=>{if(h!==e.label||y!==e.caption||_!==e.copyrightNotice){if(await u({asset:e}))try{await C({asset:e,label:h,caption:y,copyrightNotice:_}),n.ok(c("actions.updateAsset.success","The asset has been updated"))}catch({message:e}){n.error(c("actions.deleteAsset.error","Error while updating the asset"),e)}}},[n,c,y,_,h,e,C,u]);return Object(r.useEffect)(()=>{I()},[null==e?void 0:e.id]),e?o.a.createElement(v,null,o.a.createElement(i.ToggablePanel,{closesToBottom:!0,className:U.a.propertyPanel,isOpen:!E,onPanelToggle:()=>w(e=>!e)},o.a.createElement(i.ToggablePanel.Header,{className:U.a.propertyPanelHeader},o.a.createElement(b.d,{icon:"pencil",label:c("propertyPanel.header","Properties")})),o.a.createElement(i.ToggablePanel.Contents,{className:U.a.propertyPanelContents},o.a.createElement(p,{label:c("inspector.title","Title")},o.a.createElement(i.TextInput,{name:"label",disabled:!A,type:"text",value:h||"",onChange:m,onEnterKey:N})),o.a.createElement(p,{label:c("inspector.caption","Caption")},o.a.createElement(i.TextArea,{name:"caption",className:U.a.textArea,disabled:!A,minRows:3,expandedRows:6,value:y||"",onChange:g})),o.a.createElement(p,{label:c("inspector.copyrightNotice","Copyright notice")},o.a.createElement(i.TextArea,{name:"copyrightNotice",className:U.a.textArea,disabled:!A,minRows:2,expandedRows:4,value:_||"",onChange:O})),A&&o.a.createElement(f,{handleApply:N,handleDiscard:I,hasUnpublishedChanges:j,inputValid:!!h}))),(null==k?void 0:k.supportsCollections)&&o.a.createElement(H,null),(null==k?void 0:k.supportsTagging)&&o.a.createElement(ne,null),o.a.createElement(F,null),o.a.createElement(J,null)):null}),z=n(156),Q=n.n(z);var $=o.a.memo(()=>{const e=Object(a.g)(l.l),{showVariantsEditor:t}=Object(a.g)(l.f),n=Object(a.g)(l.n);return e&&"asset"===n?t?o.a.createElement(i.Tabs,{theme:{tabs__content:Q.a.tabContent}},o.a.createElement(i.Tabs.Panel,{icon:"info-circle",key:"editor",id:"editor"},o.a.createElement(q,null)),o.a.createElement(i.Tabs.Panel,{icon:"images"},o.a.createElement(N,null))):o.a.createElement(q,null):null}),W=n(77);var H=o.a.memo(()=>{const e=Object(s.f)(),{translate:t}=Object(s.d)(),{approvalAttainmentStrategy:{obtainApprovalToSetAssetCollections:n}}=Object(s.e)(),{assetCollections:u}=Object(c.g)(),{setAssetCollections:d,loading:f}=Object(S.j)(),p=Object(S.i)(),{limitToSingleAssetCollectionPerAsset:h}=Object(a.g)(l.f),[m,v]=Object(r.useState)(""),g=Object(r.useMemo)(()=>u.map(e=>({label:e.title,id:e.id,secondaryLabel:e.parent?"/"+Object(c.d)(e,u).map(({title:e})=>e).join("/"):""})),[u]),_=Object(r.useMemo)(()=>g.filter(({label:e})=>e.toLowerCase().includes(m)),[g,m]),[O,E]=Object(r.useState)([]),w=Object(r.useCallback)(()=>E((null==p?void 0:p.collections.map(({id:e})=>e))||[]),[null==p?void 0:p.collections]),C=Object(r.useCallback)(async r=>{if(null===r?r=[]:"string"==typeof r&&(r=[r]),o=p,r.join(",")!==o.collections.map(e=>e.id).join(",")){const o=p,a=u.filter(e=>r.includes(e.id));if(await n({asset:o,newAssetCollections:a}))try{await d({asset:o,assetCollections:a}),e.ok(t("actions.setAssetCollections.success","The collections for the asset have been set"))}catch({message:n}){e.error(t("actions.setAssetCollections.error","Error while setting the collections for the asset"),n)}else w()}var o},[e,p,d,u,t,w,n]),T=Object(r.useCallback)(e=>{v(e.toLowerCase())},[]);return Object(r.useEffect)(w,[w]),p?o.a.createElement("div",{className:"collectionSelectBox"},h?o.a.createElement(o.a.Fragment,null,o.a.createElement(i.Headline,{type:"h2"},o.a.createElement(b.d,{icon:"folder",label:t("inspector.assetCollection","Collection")})),o.a.createElement(i.SelectBox,{className:W.collectionSelectBox,disabled:f||p.assetSource.readOnly,placeholder:t("inspector.collections.placeholder","Select a collection"),value:O.length?O[0]:null,optionValueField:"id",options:_,noMatchesFoundLabel:t("general.noMatchesFound","No matches found"),onValueChange:C,onSearchTermChange:T,ListPreviewElement:y,displaySearchBox:!0,allowEmpty:!0,threshold:0})):o.a.createElement(o.a.Fragment,null,o.a.createElement(i.Headline,{type:"h2"},o.a.createElement(b.d,{icon:"folder",label:t("inspector.assetCollections","Collections")})),o.a.createElement(i.MultiSelectBox,{className:W.collectionSelectBox,disabled:f||p.assetSource.readOnly,placeholder:t("inspector.collections.placeholder","Select a collection"),values:O,optionValueField:"id",options:g,searchOptions:_,noMatchesFoundLabel:t("general.noMatchesFound","No matches found"),onValuesChange:C,onSearchTermChange:T,ListPreviewElement:y,displaySearchBox:!0,allowEmpty:!0,threshold:0}))):null}),K=n(157),G=n.n(K);var Y=o.a.memo(()=>{var e;const t=Object(S.i)(),{translate:n}=Object(s.d)();return(null===(e=null==t?void 0:t.iptcProperties)||void 0===e?void 0:e.length)?o.a.createElement("div",{className:G.a.iptcData},o.a.createElement(i.Headline,{type:"h2"},o.a.createElement(b.d,{icon:"camera",label:n("inspector.iptcMetadata","IPTC Metadata")})),o.a.createElement(b.f,null,t.iptcProperties.map(e=>o.a.createElement(b.g,{key:e.propertyName,label:e.propertyName,value:e.value})))):null}),X=n(48);var J=r.memo(()=>{const{translate:e}=Object(s.d)(),t=Object(S.i)();return t?r.createElement("div",null,r.createElement(i.Headline,{type:"h2"},r.createElement(b.d,{icon:"info-circle",label:e("inspector.metadata","Metadata")})),r.createElement(b.f,null,r.createElement(b.g,{label:e("inspector.property.dimensions","Dimensions"),value:`${t.width}px x ${t.height}px`}),t.file.size>0&&r.createElement(b.g,{label:e("inspector.property.fileSize","Size"),value:Object(X.a)(t.file.size)}),r.createElement(b.g,{label:e("inspector.property.filename","Filename"),value:t.filename}),r.createElement(b.g,{label:e("inspector.property.lastModified","Last modified"),value:new Date(t.lastModified).toLocaleString()}),r.createElement(b.g,{label:e("inspector.property.mediaType","MIME type"),value:t.file.mediaType}))):null}),Z=n(14);var ee=r.memo(()=>{const e=Object(Z.f)(),t=Object(a.g)(l.n),n=Object(s.f)(),{translate:o}=Object(s.d)(),[c,u]=Object(r.useState)(null),{updateTag:d}=Object(Z.h)(),h=e&&c!==e.label,m=Object(r.useCallback)(()=>{e&&u(e.label)},[e,u]),b=Object(r.useCallback)(()=>{c!==e.label&&d({tag:e,label:c}).then(()=>{n.ok(o("actions.updateTag.success","The tag has been updated"))}).catch(({message:e})=>{n.error(o("actions.updateTag.error","Error while updating the tag"),e)})},[n,o,e,d,c]);return Object(r.useEffect)(()=>{m()},[null==e?void 0:e.id]),e&&"tag"===t?r.createElement(v,null,r.createElement(p,{label:o("inspector.label","Label")},r.createElement(i.TextInput,{type:"text",value:c||"",onChange:u,onEnterKey:b})),r.createElement(f,{handleApply:b,handleDiscard:m,hasUnpublishedChanges:h})):null});var te=o.a.memo(({values:e,options:t,onChange:n,disabled:a=!1})=>{const{translate:l}=Object(s.d)(),[c,u]=Object(r.useState)(""),d=Object(r.useMemo)(()=>t.filter(({label:e})=>e.toLowerCase().includes(c)),[t,c]),f=Object(r.useCallback)(e=>{u(e.toLowerCase())},[]);return o.a.createElement("div",{className:"tagSelectBox"},o.a.createElement(i.Headline,{type:"h2"},o.a.createElement(b.d,{icon:"tags",label:l("inspector.tags","Tags")})),o.a.createElement(i.MultiSelectBox,{className:W.collectionSelectBox,disabled:a,placeholder:l("inspector.tags.placeholder","Select a tag"),noMatchesFoundLabel:l("general.noMatchesFound","No matches found"),values:e,optionValueField:"id",options:t,searchOptions:d,onValuesChange:e=>n(e.map(e=>t.find(t=>t.id===e))),searchTerm:c,onSearchTermChange:f,displaySearchBox:!0,allowEmpty:!0,threshold:0}))});var ne=o.a.memo(()=>{const e=Object(s.f)(),{translate:t}=Object(s.d)(),{approvalAttainmentStrategy:{obtainApprovalToSetAssetTags:n}}=Object(s.e)(),{tags:a}=Object(Z.g)(),{setAssetTags:i,loading:l}=Object(S.k)(),c=Object(S.i)(),[u,d]=Object(r.useState)([]),f=Object(r.useCallback)(()=>d(null==c?void 0:c.tags.map(({id:e})=>e).sort()),[null==c?void 0:c.tags]),p=Object(r.useCallback)(async r=>{if(o=c,r.map(e=>e.id).sort().join(",")!==o.tags.map(e=>e.id).sort().join(",")){if(await n({asset:c,newTags:r}))try{await i({asset:c,tags:r}),e.ok(t("actions.setAssetTags.success","The asset has been tagged"))}catch({message:n}){e.error(t("actions.setAssetTags.error","Error while tagging the asset"),n)}else f()}var o},[e,c,i,t,f,n]);return Object(r.useEffect)(()=>f(),[f]),c?o.a.createElement(te,{values:u,options:a,onChange:p,disabled:l||c.assetSource.readOnly}):null});var re=o.a.memo(()=>{const e=Object(s.f)(),{translate:t}=Object(s.d)(),{tags:n}=Object(Z.g)(),{updateAssetCollection:a}=Object(c.j)(),i=Object(c.h)(),l=Object(r.useMemo)(()=>null==i?void 0:i.tags.map(({id:e})=>e).sort(),[null==i?void 0:i.tags]),u=Object(r.useCallback)(n=>{var r;r=i,n.map(e=>e.id).sort().join(",")!==r.tags.map(e=>e.id).sort().join(",")&&a({assetCollection:i,tags:n}).then(()=>{e.ok(t("actions.tagAssetCollection.success","The asset collection has been tagged"))}).catch(({message:n})=>{e.error(t("actions.tagAssetCollection.error","Error while tagging the asset collection"),n)})},[e,i,a,t]);return i?o.a.createElement(te,{values:l,options:n,onChange:u}):null})},function(e,t,n){e.exports={fileList:"FilePreview-module__fileList___2Idje",fileListHeader:"FilePreview-module__fileListHeader___30V9N",thumb:"FilePreview-module__thumb___3Pr8a",thumbInner:"FilePreview-module__thumbInner___IvQdB",img:"FilePreview-module__img___8ejzf",loading:"FilePreview-module__loading___1237G",success:"FilePreview-module__success___3O3RF",error:"FilePreview-module__error___2Vwak",warning:"FilePreview-module__warning___3LWQm"}},function(e,t,n){e.exports={uploadArea:"ReplaceAssetDialog-module__uploadArea___1jzR5",optionSection:"ReplaceAssetDialog-module__optionSection___1SaG0",option:"ReplaceAssetDialog-module__option___2K8FB",label:"ReplaceAssetDialog-module__label___huLhV"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e,t,n,r,o){this.message=e,this.path=t,this.query=n,this.clientOnly=r,this.variables=o}},function(e,t,n){e.exports={mediaModuleTheme:"Theme-module__mediaModuleTheme___2DCHe"}},function(e,t,n){"use strict";var r=n(30);n.d(t,"a",(function(){return r.b}))},function(e,t,n){"use strict";var r=n(0),o=n.n(r),a=n(53);class i extends o.a.Component{constructor(e){super(e),this.clearConfigAndReload=()=>{localStorage.clear(),this.reload()},this.state={hasError:!1,error:null}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){this.setState({error:e}),this.context.error(e.name,e.message)}reload(){window.location.reload()}render(){const{hasError:e,error:t}=this.state;return e?o.a.createElement("div",null,o.a.createElement("p",{style:{color:"red"}},"The media application encountered an unexpected error:"),o.a.createElement("br",null),t&&o.a.createElement("pre",null,t.message),o.a.createElement("br",null),o.a.createElement("button",{className:"neos-button",onClick:this.reload},"Reload")," or ",o.a.createElement("button",{className:"neos-button",onClick:this.clearConfigAndReload},"Clear configuration & reload")):this.props.children}}i.contextType=a.a,t.a=i},function(e,t,n){"use strict";var r=n(29);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}"function"==typeof Symbol&&null!=Symbol.iterator&&Symbol.iterator,"function"==typeof Symbol&&null!=Symbol.asyncIterator&&Symbol.asyncIterator;var a="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";function i(e,t){for(var n,r=/\r\n|[\n\r]/g,o=1,a=t+1;(n=r.exec(e.body))&&n.index120){for(var h=Math.floor(l/80),m=l%80,v=[],b=0;b0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=s&&s.stack?(Object.defineProperty(v(y),"stack",{value:s.stack,writable:!0,configurable:!0}),m(y)):(Error.captureStackTrace?Error.captureStackTrace(v(y),b):Object.defineProperty(v(y),"stack",{value:Error().stack,writable:!0,configurable:!0}),y)}return r=b,(c=[{key:"toString",value:function(){return function(e){var t=e.message;if(e.nodes)for(var n=0,r=e.nodes;n",EOF:"",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"}),j=n(72);function k(e,t){if(!Boolean(e))throw new Error(t)}var I=function(e,t){return e instanceof t};function N(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof e||k(0,"Body must be a string. Received: ".concat(Object(j.a)(e),".")),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||k(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||k(0,"column in locationOffset is 1-indexed and must be positive.")}var t,n,r;return t=e,(n=[{key:a,get:function(){return"Source"}}])&&N(t.prototype,n),r&&N(t,r),e}();var R=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"}),D=n(90),M=function(){function e(e){var t=new T.b(A.SOF,0,0,0,0,null);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var t=e.prototype;return t.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t.lookahead=function(){var e=this.token;if(e.kind!==A.EOF)do{var t;e=null!==(t=e.next)&&void 0!==t?t:e.next=P(this,e)}while(e.kind===A.COMMENT);return e},e}();function L(e){return isNaN(e)?A.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function P(e,t){for(var n=e.source,r=n.body,o=r.length,a=t.end;a31||9===a));return new T.b(A.COMMENT,t,s,n,r,o,i.slice(t+1,s))}function U(e,t,n,r,o,a){var i=e.body,s=n,l=t,c=!1;if(45===s&&(s=i.charCodeAt(++l)),48===s){if((s=i.charCodeAt(++l))>=48&&s<=57)throw w(e,l,"Invalid number, unexpected digit after 0: ".concat(L(s),"."))}else l=V(e,l,s),s=i.charCodeAt(l);if(46===s&&(c=!0,s=i.charCodeAt(++l),l=V(e,l,s),s=i.charCodeAt(l)),69!==s&&101!==s||(c=!0,43!==(s=i.charCodeAt(++l))&&45!==s||(s=i.charCodeAt(++l)),l=V(e,l,s),s=i.charCodeAt(l)),46===s||function(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(s))throw w(e,l,"Invalid number, expected digit but got: ".concat(L(s),"."));return new T.b(c?A.FLOAT:A.INT,t,l,r,o,a,i.slice(t,l))}function V(e,t,n){var r=e.body,o=t,a=n;if(a>=48&&a<=57){do{a=r.charCodeAt(++o)}while(a>=48&&a<=57);return o}throw w(e,o,"Invalid number, expected digit but got: ".concat(L(a),"."))}function q(e,t,n,r,o){for(var a,i,s,l,c=e.body,u=t+1,d=u,f=0,p="";u=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function $(e,t,n,r,o){for(var a=e.body,i=a.length,s=t+1,l=0;s!==i&&!isNaN(l=a.charCodeAt(s))&&(95===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122);)++s;return new T.b(A.NAME,t,s,n,r,o,a.slice(t,s))}var W=function(){function e(e,t){var n=function(e){return I(e,x)}(e)?e:new x(e);this._lexer=new M(n),this._options=t}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(A.NAME);return{kind:C.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:C.DOCUMENT,definitions:this.many(A.SOF,this.parseDefinition,A.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(A.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(A.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(A.BRACE_L))return{kind:C.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,n=this.parseOperationType();return this.peek(A.NAME)&&(t=this.parseName()),{kind:C.OPERATION_DEFINITION,operation:n,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(A.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(A.PAREN_L,this.parseVariableDefinition,A.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:C.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(A.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(A.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(A.DOLLAR),{kind:C.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:C.SELECTION_SET,selections:this.many(A.BRACE_L,this.parseSelection,A.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(A.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(A.COLON)?(e=r,t=this.parseName()):t=r,{kind:C.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(A.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(n)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(A.PAREN_L,t,A.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(A.COLON),{kind:C.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:C.ARGUMENT,name:this.parseName(),value:(this.expectToken(A.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(A.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(A.NAME)?{kind:C.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:C.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e,t=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)?{kind:C.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:C.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case A.BRACKET_L:return this.parseList(e);case A.BRACE_L:return this.parseObject(e);case A.INT:return this._lexer.advance(),{kind:C.INT,value:t.value,loc:this.loc(t)};case A.FLOAT:return this._lexer.advance(),{kind:C.FLOAT,value:t.value,loc:this.loc(t)};case A.STRING:case A.BLOCK_STRING:return this.parseStringLiteral();case A.NAME:switch(this._lexer.advance(),t.value){case"true":return{kind:C.BOOLEAN,value:!0,loc:this.loc(t)};case"false":return{kind:C.BOOLEAN,value:!1,loc:this.loc(t)};case"null":return{kind:C.NULL,loc:this.loc(t)};default:return{kind:C.ENUM,value:t.value,loc:this.loc(t)}}case A.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:C.STRING,value:e.value,block:e.kind===A.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,n=this._lexer.token;return{kind:C.LIST,values:this.any(A.BRACKET_L,(function(){return t.parseValueLiteral(e)}),A.BRACKET_R),loc:this.loc(n)}},t.parseObject=function(e){var t=this,n=this._lexer.token;return{kind:C.OBJECT,fields:this.any(A.BRACE_L,(function(){return t.parseObjectField(e)}),A.BRACE_R),loc:this.loc(n)}},t.parseObjectField=function(e){var t=this._lexer.token,n=this.parseName();return this.expectToken(A.COLON),{kind:C.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(A.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(A.AT),{kind:C.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(A.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(A.BRACKET_R),e={kind:C.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(A.BANG)?{kind:C.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:C.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===A.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(A.STRING)||this.peek(A.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");var n=this.parseDirectives(!0),r=this.many(A.BRACE_L,this.parseOperationTypeDefinition,A.BRACE_R);return{kind:C.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(A.COLON);var n=this.parseNamedType();return{kind:C.OPERATION_TYPE_DEFINITION,operation:t,type:n,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var n=this.parseName(),r=this.parseDirectives(!0);return{kind:C.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var n=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),a=this.parseFieldsDefinition();return{kind:C.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:o,fields:a,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLImplementsInterfaces)){var t=[];this.expectOptionalToken(A.AMP);do{t.push(this.parseNamedType())}while(this.expectOptionalToken(A.AMP)||this.peek(A.NAME));return t}return this.delimitedMany(A.AMP,this.parseNamedType)},t.parseFieldsDefinition=function(){var e;return!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)&&this.peek(A.BRACE_L)&&this._lexer.lookahead().kind===A.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(A.BRACE_L,this.parseFieldDefinition,A.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(A.COLON);var o=this.parseTypeReference(),a=this.parseDirectives(!0);return{kind:C.FIELD_DEFINITION,description:t,name:n,arguments:r,type:o,directives:a,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(A.PAREN_L,this.parseInputValueDef,A.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(A.COLON);var r,o=this.parseTypeReference();this.expectOptionalToken(A.EQUALS)&&(r=this.parseValueLiteral(!0));var a=this.parseDirectives(!0);return{kind:C.INPUT_VALUE_DEFINITION,description:t,name:n,type:o,defaultValue:r,directives:a,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var n=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),a=this.parseFieldsDefinition();return{kind:C.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:o,fields:a,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var n=this.parseName(),r=this.parseDirectives(!0),o=this.parseUnionMemberTypes();return{kind:C.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:o,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){return this.expectOptionalToken(A.EQUALS)?this.delimitedMany(A.PIPE,this.parseNamedType):[]},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var n=this.parseName(),r=this.parseDirectives(!0),o=this.parseEnumValuesDefinition();return{kind:C.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:o,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(A.BRACE_L,this.parseEnumValueDefinition,A.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseDirectives(!0);return{kind:C.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var n=this.parseName(),r=this.parseDirectives(!0),o=this.parseInputFieldsDefinition();return{kind:C.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:o,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(A.BRACE_L,this.parseInputValueDef,A.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===A.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),n=this.optionalMany(A.BRACE_L,this.parseOperationTypeDefinition,A.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return{kind:C.SCHEMA_EXTENSION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),n=this.parseDirectives(!0);if(0===n.length)throw this.unexpected();return{kind:C.SCALAR_TYPE_EXTENSION,name:t,directives:n,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),o=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===o.length)throw this.unexpected();return{kind:C.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:o,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),o=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===o.length)throw this.unexpected();return{kind:C.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:o,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:C.UNION_TYPE_EXTENSION,name:t,directives:n,types:r,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:C.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:C.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(A.AT);var n=this.parseName(),r=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var a=this.parseDirectiveLocations();return{kind:C.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:o,locations:a,loc:this.loc(e)}},t.parseDirectiveLocations=function(){return this.delimitedMany(A.PIPE,this.parseDirectiveLocation)},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==R[t.value])return t;throw this.unexpected(e)},t.loc=function(e){var t;if(!0!==(null===(t=this._options)||void 0===t?void 0:t.noLocation))return new T.a(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw w(this._lexer.source,t.start,"Expected ".concat(K(e),", found ").concat(H(t),"."))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==A.NAME||t.value!==e)throw w(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(H(t),"."));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===A.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!=e?e:this._lexer.token;return w(this._lexer.source,t.start,"Unexpected ".concat(H(t),"."))},t.any=function(e,t,n){this.expectToken(e);for(var r=[];!this.expectOptionalToken(n);)r.push(t.call(this));return r},t.optionalMany=function(e,t,n){if(this.expectOptionalToken(e)){var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}return[]},t.many=function(e,t,n){this.expectToken(e);var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r},t.delimitedMany=function(e,t){this.expectOptionalToken(e);var n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n},e}();function H(e){var t=e.value;return K(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function K(e){return function(e){return e===A.BANG||e===A.DOLLAR||e===A.AMP||e===A.PAREN_L||e===A.PAREN_R||e===A.SPREAD||e===A.COLON||e===A.EQUALS||e===A.AT||e===A.BRACKET_L||e===A.BRACKET_R||e===A.BRACE_L||e===A.PIPE||e===A.BRACE_R}(e)?'"'.concat(e,'"'):e}var G=new Map,Y=new Map,X=!0,J=!1;function Z(e){return e.replace(/[\s,]+/g," ").trim()}function ee(e){var t=new Set,n=[];return e.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var r=e.name.value,o=Z((i=e.loc).source.body.substring(i.start,i.end)),a=Y.get(r);a&&!a.has(o)?X&&console.warn("Warning: fragment with name "+r+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):a||Y.set(r,a=new Set),a.add(o),t.has(o)||(t.add(o),n.push(e))}else n.push(e);var i})),Object(r.a)(Object(r.a)({},e),{definitions:n})}function te(e){var t=Z(e);if(!G.has(t)){var n=function(e,t){return new W(e,t).parseDocument()}(e,{experimentalFragmentVariables:J});if(!n||"Document"!==n.kind)throw new Error("Not a valid GraphQL document.");G.set(t,function(e){var t=new Set(e.definitions);t.forEach((function(e){e.loc&&delete e.loc,Object.keys(e).forEach((function(n){var r=e[n];r&&"object"==typeof r&&t.add(r)}))}));var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}(ee(n)))}return G.get(t)}function ne(e){for(var t=[],n=1;nl(({graphQLErrors:t,networkError:n})=>{t&&t.map(t=>{const n="INTERNAL_SERVER_ERROR"===t.extensions.code;console.error(t.extensions.code===n?"[Internal server error]":"[GraphQL error]",t.path,t),e.error(t.extensions.code===n?"Internal server error":"Communication error",t.message)}),n&&(console.error("[Network error]: "+n),e.warning("Network error","Please check your connection."))});var u=class{static createCache(e){return new r.InMemoryCache({dataIdFromObject:o,typePolicies:{Query:{fields:{asset:(e,{args:t,toReference:n})=>t.id?n({__typename:"Asset",id:t.id}):null,tag:(e,{args:t,toReference:n})=>t.id?n({__typename:"Tag",id:t.id}):null,assetCollection:(e,{args:t,toReference:n})=>t.id?n({__typename:"AssetCollection",id:t.id}):null,assetSource:(e,{args:t,toReference:n})=>t.id?n({__typename:"AssetSource",id:t.id}):null,includeUsage:()=>e.queryAssetUsage}},Mutation:{fields:{includeUsage:()=>e.queryAssetUsage}},Asset:{keyFields:["id"]},Tag:{keyFields:["id"]},AssetCollection:{keyFields:["id"]},AssetSource:{keyFields:["id"]}}})}}},function(e,t,n){e.exports={assetSourceList:"AssetSourceList-module__assetSourceList___1vsN0",header:"AssetSourceList-module__header___1-LlI",item:"AssetSourceList-module__item___3wmGk",itemSelected:"AssetSourceList-module__itemSelected___3v2J-",itemLabel:"AssetSourceList-module__itemLabel___2xJL-"}},function(e,t,n){e.exports={textArea:"PropertyInspector-module__textArea___3V9M7",propertyPanel:"PropertyInspector-module__propertyPanel___6dKvE",propertyPanelHeader:"PropertyInspector-module__propertyPanelHeader___2j6HD",propertyPanelContents:"PropertyInspector-module__propertyPanelContents___1B6UV"}},function(e,t,n){e.exports={preview:"Preview-module__preview___3h-ZY",loading:"Preview-module__loading___3o83W",picture:"Preview-module__picture___jQcGM",toolBar:"Preview-module__toolBar___1S_jz","button--active":"Preview-module__button--active___21pmk",label:"Preview-module__label___1KOeb"}},function(e,t,n){e.exports={container:"Details-module__container___35YhR",main:"Details-module__main___obMK1",inspector:"Details-module__inspector___2bV6r",loading:"Details-module__loading___2afxx"}},function(e,t,n){e.exports={currentSelection:"CurrentSelection-module__currentSelection___3fmAb",headline:"CurrentSelection-module__headline___M6VMX",label:"CurrentSelection-module__label___1YaOo",breadcrumb:"CurrentSelection-module__breadcrumb___aTpeO"}},function(e,t,n){e.exports={pagination:"Pagination-module__pagination___3n7g9",list:"Pagination-module__list___2KN7_",ellipsis:"Pagination-module__ellipsis___2IDzZ",disabled:"Pagination-module__disabled___K3djC"}},,function(e,t,n){"use strict";n.r(t),n.d(t,"parseAndCheckHttpResponse",(function(){return a})),n.d(t,"serializeFetchParameter",(function(){return s})),n.d(t,"fallbackHttpConfig",(function(){return _})),n.d(t,"selectHttpOptionsAndBody",(function(){return O})),n.d(t,"checkFetcher",(function(){return S})),n.d(t,"createSignalIfSupported",(function(){return E})),n.d(t,"selectURI",(function(){return w})),n.d(t,"createHttpLink",(function(){return j})),n.d(t,"HttpLink",(function(){return k})),n.d(t,"rewriteURIForGET",(function(){return A}));var r=n(26),o=Object.prototype.hasOwnProperty;function a(e){return function(t){return t.text().then((function(e){try{return JSON.parse(e)}catch(r){var n=r;throw n.name="ServerParseError",n.response=t,n.statusCode=t.status,n.bodyText=e,n}})).then((function(n){return t.status>=300&&Object(r.d)(t,n,"Response not successful: Received status code "+t.status),Array.isArray(n)||o.call(n,"data")||o.call(n,"errors")||Object(r.d)(t,n,"Server response was missing for query '"+(Array.isArray(e)?e.map((function(e){return e.operationName})):e.operationName)+"'."),n}))}}var i=n(8),s=function(e,t){var n;try{n=JSON.stringify(e)}catch(e){var r=new i.a(23);throw r.parseError=e,r}return n},l=n(2),c=n(136),u=n(90);function d(e){return Object(c.b)(e,{leave:f})}var f={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return h(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=v("(",h(e.variableDefinitions,", "),")"),o=h(e.directives," "),a=e.selectionSet;return n||o||r||"query"!==t?h([t,h([n,r]),o,a]," "):a},VariableDefinition:function(e){var t=e.variable,n=e.type,r=e.defaultValue,o=e.directives;return t+": "+n+v(" = ",r)+v(" ",h(o," "))},SelectionSet:function(e){return m(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,o=e.directives,a=e.selectionSet,i=v("",t,": ")+n,s=i+v("(",h(r,", "),")");return s.length>80&&(s=i+v("(\n",b(h(r,"\n")),"\n)")),h([s,h(o," "),a]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+v(" ",h(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return h(["...",v("on ",t),h(n," "),r]," ")},FragmentDefinition:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,o=e.directives,a=e.selectionSet;return"fragment ".concat(t).concat(v("(",h(r,", "),")")," ")+"on ".concat(n," ").concat(v("",h(o," ")," "))+a},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var n=e.value;return e.block?Object(u.b)(n,"description"===t?"":" "):JSON.stringify(n)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+h(e.values,", ")+"]"},ObjectValue:function(e){return"{"+h(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+v("(",h(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:p((function(e){var t=e.directives,n=e.operationTypes;return h(["schema",h(t," "),m(n)]," ")})),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:p((function(e){return h(["scalar",e.name,h(e.directives," ")]," ")})),ObjectTypeDefinition:p((function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return h(["type",t,v("implements ",h(n," & ")),h(r," "),m(o)]," ")})),FieldDefinition:p((function(e){var t=e.name,n=e.arguments,r=e.type,o=e.directives;return t+(g(n)?v("(\n",b(h(n,"\n")),"\n)"):v("(",h(n,", "),")"))+": "+r+v(" ",h(o," "))})),InputValueDefinition:p((function(e){var t=e.name,n=e.type,r=e.defaultValue,o=e.directives;return h([t+": "+n,v("= ",r),h(o," ")]," ")})),InterfaceTypeDefinition:p((function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return h(["interface",t,v("implements ",h(n," & ")),h(r," "),m(o)]," ")})),UnionTypeDefinition:p((function(e){var t=e.name,n=e.directives,r=e.types;return h(["union",t,h(n," "),r&&0!==r.length?"= "+h(r," | "):""]," ")})),EnumTypeDefinition:p((function(e){var t=e.name,n=e.directives,r=e.values;return h(["enum",t,h(n," "),m(r)]," ")})),EnumValueDefinition:p((function(e){return h([e.name,h(e.directives," ")]," ")})),InputObjectTypeDefinition:p((function(e){var t=e.name,n=e.directives,r=e.fields;return h(["input",t,h(n," "),m(r)]," ")})),DirectiveDefinition:p((function(e){var t=e.name,n=e.arguments,r=e.repeatable,o=e.locations;return"directive @"+t+(g(n)?v("(\n",b(h(n,"\n")),"\n)"):v("(",h(n,", "),")"))+(r?" repeatable":"")+" on "+h(o," | ")})),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return h(["extend schema",h(t," "),m(n)]," ")},ScalarTypeExtension:function(e){return h(["extend scalar",e.name,h(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return h(["extend type",t,v("implements ",h(n," & ")),h(r," "),m(o)]," ")},InterfaceTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return h(["extend interface",t,v("implements ",h(n," & ")),h(r," "),m(o)]," ")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return h(["extend union",t,h(n," "),r&&0!==r.length?"= "+h(r," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return h(["extend enum",t,h(n," "),m(r)]," ")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return h(["extend input",t,h(n," "),m(r)]," ")}};function p(e){return function(t){return h([t.description,e(t)],"\n")}}function h(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(t=null==e?void 0:e.filter((function(e){return e})).join(n))&&void 0!==t?t:""}function m(e){return v("{\n",b(h(e,"\n")),"\n}")}function v(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=t&&""!==t?e+t+n:""}function b(e){return v(" ",e.replace(/\n/g,"\n "))}function y(e){return-1!==e.indexOf("\n")}function g(e){return null!=e&&e.some(y)}var _={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},O=function(e,t){for(var n=[],r=2;r2)return"[Array]";for(var n=Math.min(10,e.length),r=e.length-n,o=[],a=0;a1&&o.push("... ".concat(r," more items"));return"["+o.join(", ")+"]"}(e,n);return function(e,t){var n=Object.keys(e);if(0===n.length)return"{}";if(t.length>2)return"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var n=e.constructor.name;if("string"==typeof n&&""!==n)return n}return t}(e)+"]";return"{ "+n.map((function(n){return n+": "+i(e[n],t)})).join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return m}));var r=n(2),o=n(25),a=n(8),i=n(6),s=n(15),l=n(43);function c(e){return void 0!==e.args?e.args:e.field?Object(i.e)(e.field,e.variables):null}var u=function(e,t){var n=e.__typename,r=e.id,o=e._id;if("string"==typeof n&&(t&&(t.keyObject=void 0!==r?{id:r}:void 0!==o?{_id:o}:void 0),void 0===r&&(r=o),void 0!==r))return n+":"+("number"==typeof r||"string"==typeof r?r:JSON.stringify(r))},d=function(){},f=function(e,t){return t.fieldName},p=function(e,t,n){return(0,n.mergeObjects)(e,t)},h=function(e,t){return t},m=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=Object(r.a)({dataIdFromObject:u},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t,n){var r=t&&n?Object(i.v)(e,t,n):e.__typename;if(r===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var o,a={typename:r,selectionSet:t,fragmentMap:n},s=r&&this.getTypePolicy(r),l=s&&s.keyFn||this.config.dataIdFromObject;l;){var c=l(e,a);if(!Array.isArray(c)){o=c;break}l=g(c)}return o=o?String(o):void 0,a.keyObject?[o,a.keyObject]:[o]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(n){var o=e[n],a=o.queryType,i=o.mutationType,l=o.subscriptionType,c=Object(r.e)(o,["queryType","mutationType","subscriptionType"]);a&&t.setRootTypename("Query",n),i&&t.setRootTypename("Mutation",n),l&&t.setRootTypename("Subscription",n),s.c.call(t.toBeAdded,n)?t.toBeAdded[n].push(c):t.toBeAdded[n]=[c]}))},e.prototype.updateTypePolicy=function(e,t){var n=this,r=this.getTypePolicy(e),o=t.keyFields,a=t.fields;function i(e,t){e.merge="function"==typeof t?t:!0===t?p:!1===t?h:e.merge}i(r,t.merge),r.keyFn=!1===o?d:Array.isArray(o)?g(o):"function"==typeof o?o:r.keyFn,a&&Object.keys(a).forEach((function(t){var r=n.getFieldPolicy(e,t,!0),o=a[t];if("function"==typeof o)r.read=o;else{var s=o.keyArgs,l=o.read,c=o.merge;r.keyFn=!1===s?f:Array.isArray(s)?y(s):"function"==typeof s?s:r.keyFn,"function"==typeof l&&(r.read=l),i(r,c)}r.read&&r.merge&&(r.keyFn=r.keyFn||f)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),r=this.rootTypenamesById[n];t!==r&&(Object(a.b)(!r||r===e,1),r&&delete this.rootIdsByTypename[r],this.rootIdsByTypename[t]=n,this.rootTypenamesById[n]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach((function(n){t.getSupertypeSet(n,!0),e[n].forEach((function(e){t.getSupertypeSet(e,!0).add(n);var r=e.match(s.a);r&&r[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!s.c.call(this.typePolicies,e)){var n=this.typePolicies[e]=Object.create(null);n.fields=Object.create(null);var o=this.supertypeMap.get(e);o&&o.size&&o.forEach((function(e){var o=t.getTypePolicy(e),a=o.fields,i=Object(r.e)(o,["fields"]);Object.assign(n,i),Object.assign(n.fields,a)}))}var a=this.toBeAdded[e];return a&&a.length&&this.updateTypePolicy(e,i.j.apply(void 0,a.splice(0))),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,n){if(e){var r=this.getTypePolicy(e).fields;return r[t]||n&&(r[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var n=this.supertypeMap.get(e);return!n&&t&&this.supertypeMap.set(e,n=new Set),n},e.prototype.fragmentMatches=function(e,t,n,r){var o=this;if(!e.typeCondition)return!0;if(!t)return!1;var a=e.typeCondition.name.value;if(t===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var i=this.getSupertypeSet(t,!0),l=[i],c=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&l.indexOf(t)<0&&l.push(t)},u=!(!n||!this.fuzzySubtypes.size),d=0;d{const[e,t]=Object(a.f)(l),{translate:n}=Object(s.d)();return r.createElement(i.Button,{size:"regular",style:e?"brand":"lighter",hoverStyle:"brand",onClick:()=>t(!0)},r.createElement(i.Icon,{icon:"edit"}),n("OpenAssetEditDialogButton.open","Rename asset"))}),u=n(11),d=n(9),f=n(7),p=n(4);var h=p.gql` mutation EditAsset( $id: AssetId! $assetSourceId: AssetSourceId! @@ -434,7 +434,7 @@ var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Arr ) { editAsset(id: $id, assetSourceId: $assetSourceId, filename: $filename, options: $options) } -`;var m=n(82),v=n.n(m);var b=o.a.memo(()=>{var e;const{translate:t}=Object(s.d)(),n=Object(s.f)(),c=Object(a.g)(f.f),[m,b]=Object(a.f)(l),{editAsset:y,loading:g}=function(){const[e,{error:t,data:n,loading:r}]=Object(p.useMutation)(h);return{editAsset:({asset:t,filename:n,options:r})=>e({variables:{id:t.id,assetSourceId:t.assetSource.id,filename:n,options:r}}),editState:(null==n?void 0:n.editAsset)||null,error:t,loading:r}}(),{approvalAttainmentStrategy:{obtainApprovalToEditAsset:_}}=Object(s.e)(),{refetch:O}=Object(d.c)(),S=Object(r.useRef)(null),E=Object(d.i)(),[w,C]=o.a.useState({generateRedirects:!1}),T=Object(r.useCallback)(()=>{b(!1)},[b]),A=Object(r.useCallback)(async()=>{if(await _({asset:E}))try{await y({asset:E,filename:S.current.value,options:w}),n.ok(t("EditAssetDialog.updateFinished","Update finished")),T(),O()}catch(e){n.error(t("EditAssetDialog.updateError","Update failed"),e)}},[y,n,t,w,O,E,T,_,S]),j=E.filename.split(".").slice(0,-1).join("."),k=!g&&E.filename!=(null===(e=S.current)||void 0===e?void 0:e.value);return o.a.createElement(u.c,{isOpen:m,title:t("EditAssetDialog.title","Rename asset"),onRequestClose:()=>b(!1),actions:[o.a.createElement(i.Button,{key:"cancel",style:"neutral",hoverStyle:"darken",onClick:T},t("EditAssetDialog.cancel","Cancel")),o.a.createElement(i.Button,{key:"upload",style:"success",hoverStyle:"success",disabled:!k,onClick:A},t("EditAssetDialog.update","Update"))],style:"wide"},o.a.createElement("section",{className:v.a.editArea},o.a.createElement(i.Label,{className:v.a.label},t("EditAssetDialog.filename","Filename"),o.a.createElement("input",{className:v.a.filenameInput,type:"text",ref:S,defaultValue:j,onSubmit:A,disabled:g})),c.createAssetRedirectsOption&&o.a.createElement(i.Label,{className:v.a.label},o.a.createElement(i.CheckBox,{isChecked:w.generateRedirects,onChange:e=>C({...w,generateRedirects:e}),disabled:g}),o.a.createElement("span",null,t("uploadDialog.generateRedirects","Generate redirects"))),g&&o.a.createElement("p",null,t("EditAssetDialog.updating","Updating…"))))})},function(e,t,n){e.exports={wrapper:"IconLabel-module__wrapper___3HgO6",iconWrap:"IconLabel-module__iconWrap___7zSv3",label:"IconLabel-module__label___1x-tE",imgIcon:"IconLabel-module__imgIcon___15UN_"}},function(e,t,n){e.exports={assetCollectionTree:"AssetCollectionTree-module__assetCollectionTree___OqKzj",viewSelection:"AssetCollectionTree-module__viewSelection___3Ux4a",toolbar:"AssetCollectionTree-module__toolbar___3NIvN",tree:"AssetCollectionTree-module__tree___2V59G"}},function(e,t,n){e.exports={dropzone:"UploadSection-module__dropzone___2fIdu","dropzone--active":"UploadSection-module__dropzone--active___1t1U7","dropzone--accept":"UploadSection-module__dropzone--accept___1MkQv","dropzone--reject":"UploadSection-module__dropzone--reject___2CZXy"}},function(e,t,n){e.exports={fileList:"PreviewSection-module__fileList___2tdk4",fileListHeader:"PreviewSection-module__fileListHeader___1ztkM"}},function(e,t,n){e.exports={editArea:"EditAssetDialog-module__editArea___2-oMt",filenameInput:"EditAssetDialog-module__filenameInput___3ryar",label:"EditAssetDialog-module__label___X1xkR"}},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(4),o=n(1),a=n(23),i=n(37),s=n(7);function l(e=!1){const t=Object(o.g)(s.j),{tagId:n,assetCollectionId:l}=Object(o.g)(s.k),c=Object(o.g)(a.d),u=Object(o.g)(s.o),d=Object(o.g)(s.m),{data:f,loading:p}=Object(r.useQuery)(i.c,{variables:{assetCollectionId:e?void 0:l,assetSourceId:c,mediaType:u,assetType:d,tagId:e?void 0:n,searchTerm:t.toString()}});return{assetCount:(null==f?void 0:f.assetCount)||0,loading:p}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(25),o=n(6),a=function(){function e(){this.getFragmentDoc=Object(r.c)(o.p)}return e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read({rootId:e.id||"ROOT_QUERY",query:e.query,variables:e.variables,returnPartialData:e.returnPartialData,optimistic:t})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read({query:this.getFragmentDoc(e.fragment,e.fragmentName),variables:e.variables,rootId:e.id,returnPartialData:e.returnPartialData,optimistic:t})},e.prototype.writeQuery=function(e){return this.write({dataId:e.id||"ROOT_QUERY",result:e.data,query:e.query,variables:e.variables,broadcast:e.broadcast})},e.prototype.writeFragment=function(e){return this.write({dataId:e.id,result:e.data,variables:e.variables,query:this.getFragmentDoc(e.fragment,e.fragmentName),broadcast:e.broadcast})},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(2),o=n(8),a=n(16),i=n(17),s=n(6),l=function(){function e(e,t,n,r){this.observer=e,this.options=t,this.fetch=n,this.shouldFetch=r}return e.prototype.reobserve=function(e,t){e?this.updateOptions(e):this.updatePolling();var n=this.fetch(this.options,t);return this.concast&&this.concast.removeObserver(this.observer,!0),n.addObserver(this.observer),(this.concast=n).promise},e.prototype.updateOptions=function(e){return Object.assign(this.options,Object(s.j)(e)),this.updatePolling(),this},e.prototype.stop=function(){this.concast&&(this.concast.removeObserver(this.observer),delete this.concast),this.pollingInfo&&(clearTimeout(this.pollingInfo.timeout),this.options.pollInterval=0,this.updatePolling())},e.prototype.updatePolling=function(){var e=this,t=this.pollingInfo,n=this.options.pollInterval;if(n){if((!t||t.interval!==n)&&(Object(o.b)(n,20),!1!==this.shouldFetch)){(t||(this.pollingInfo={})).interval=n;var r=function(){e.pollingInfo&&(e.shouldFetch&&e.shouldFetch()?e.reobserve({fetchPolicy:"network-only",nextFetchPolicy:e.options.fetchPolicy||"cache-first"},i.a.poll).then(a,a):a())},a=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(r,t.interval))};a()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)},e}(),c=function(e){function t(t){var n=t.queryManager,o=t.queryInfo,a=t.options,l=e.call(this,(function(e){return l.onSubscribe(e)}))||this;l.observers=new Set,l.subscriptions=new Set,l.observer={next:function(e){(l.lastError||l.isDifferentFromLastResult(e))&&(l.updateLastResult(e),Object(s.D)(l.observers,"next",e))},error:function(e){l.updateLastResult(Object(r.a)(Object(r.a)({},l.lastResult),{error:e,errors:e.graphQLErrors,networkStatus:i.a.error,loading:!1})),Object(s.D)(l.observers,"error",l.lastError=e)}},l.isTornDown=!1,l.options=a,l.queryId=n.generateQueryId();var c=Object(s.r)(a.query);return l.queryName=c&&c.name&&c.name.value,l.queryManager=n,l.queryInfo=o,l}return Object(r.c)(t,e),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise((function(t,n){var r={next:function(n){t(n),e.observers.delete(r),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){o.unsubscribe()}),0)},error:n},o=e.subscribe(r)}))},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.lastResult,n=this.queryInfo.networkStatus||t&&t.networkStatus||i.a.ready,o=Object(r.a)(Object(r.a)({},t),{loading:Object(i.b)(n),networkStatus:n});if(this.isTornDown)return o;var a=this.options.fetchPolicy,s=void 0===a?"cache-first":a;if("no-cache"===s||"network-only"===s)delete o.partial;else if(!o.data||!this.queryManager.transform(this.options.query).hasForcedResolvers){var l=this.queryInfo.getDiff();o.data=l.complete||this.options.returnPartialData?l.result:void 0,l.complete?(o.networkStatus!==i.a.loading||"cache-first"!==s&&"cache-only"!==s||(o.networkStatus=i.a.ready,o.loading=!1),delete o.partial):o.partial=!0}return e&&this.updateLastResult(o),o},t.prototype.isDifferentFromLastResult=function(e){return!Object(a.a)(this.lastResultSnapshot,e)},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t={pollInterval:0},n=this.options.fetchPolicy;return"no-cache"!==n&&"cache-and-network"!==n&&(t.fetchPolicy="network-only",t.nextFetchPolicy=n||"cache-first"),e&&!Object(a.a)(this.options.variables,e)&&(t.variables=this.options.variables=Object(r.a)(Object(r.a)({},this.options.variables),e)),this.newReobserver(!1).reobserve(t,i.a.refetch)},t.prototype.fetchMore=function(e){var t=this,n=Object(r.a)(Object(r.a)({},e.query?e:Object(r.a)(Object(r.a)(Object(r.a)({},this.options),e),{variables:Object(r.a)(Object(r.a)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"}),o=this.queryManager.generateQueryId();return n.notifyOnNetworkStatusChange&&(this.queryInfo.networkStatus=i.a.fetchMore,this.observe()),this.queryManager.fetchQuery(o,n,i.a.fetchMore).then((function(r){var o=r.data,a=e.updateQuery;return a?t.updateQuery((function(e){return a(e,{fetchMoreResult:o,variables:n.variables})})):t.queryManager.cache.writeQuery({query:n.query,variables:n.variables,data:o}),r})).finally((function(){t.queryManager.stopQuery(o),t.reobserve()}))},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(n){var r=e.updateQuery;r&&t.updateQuery((function(e,t){var o=t.variables;return r(e,{subscriptionData:n,variables:o})}))},error:function(t){e.onError&&e.onError(t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.setVariables=function(e){if(Object(a.a)(this.variables,e))return this.observers.size?this.result():Promise.resolve();if(this.options.variables=e,!this.observers.size)return Promise.resolve();var t=this.options.fetchPolicy,n=void 0===t?"cache-first":t,r={fetchPolicy:n,variables:e};return"cache-first"!==n&&"no-cache"!==n&&"network-only"!==n&&(r.fetchPolicy="cache-and-network",r.nextFetchPolicy=n),this.reobserve(r,i.a.setVariables)},t.prototype.updateQuery=function(e){var t,n=this.queryManager,r=e(n.cache.diff({query:this.options.query,variables:this.variables,previousResult:null===(t=this.lastResult)||void 0===t?void 0:t.data,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});r&&(n.cache.writeQuery({query:this.options.query,data:r,variables:this.variables}),n.broadcastQueries())},t.prototype.startPolling=function(e){this.getReobserver().updateOptions({pollInterval:e})},t.prototype.stopPolling=function(){this.reobserver&&this.reobserver.updateOptions({pollInterval:0})},t.prototype.updateLastResult=function(e){var t=this.lastResult;return this.lastResult=e,this.lastResultSnapshot=this.queryManager.assumeImmutableResults?e:Object(s.i)(e),Object(s.B)(e.errors)||delete this.lastError,t},t.prototype.onSubscribe=function(e){var t=this;if(e===this.observer)return function(){};try{var n=e._subscription._observer;n&&!n.error&&(n.error=u)}catch(e){}var r=!this.observers.size;return this.observers.add(e),this.lastError?e.error&&e.error(this.lastError):this.lastResult&&e.next&&e.next(this.lastResult),r&&this.reobserve().catch((function(e){})),function(){t.observers.delete(e)&&!t.observers.size&&t.tearDownQuery()}},t.prototype.getReobserver=function(){return this.reobserver||(this.reobserver=this.newReobserver(!0))},t.prototype.newReobserver=function(e){var t=this,n=this.queryManager,o=this.queryId;return n.setObservableQuery(this),new l(this.observer,e?this.options:Object(r.a)({},this.options),(function(e,r){return n.setObservableQuery(t),n.fetchQueryObservable(o,e,r)}),!n.ssrMode&&function(){return!Object(i.b)(t.queryInfo.networkStatus)})},t.prototype.reobserve=function(e,t){return this.isTornDown=!1,this.getReobserver().reobserve(e,t)},t.prototype.observe=function(){this.observer.next(this.getCurrentResult(!1))},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.reobserver&&(this.reobserver.stop(),delete this.reobserver),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t}(s.c);function u(e){}Object(s.l)(c)},function(e,t,n){"use strict";var r,o=n(40),a=(r=o)&&r.__esModule?r:{default:r};e.exports=(0,a.default)("NeosProjectPackages")().NeosUiDecorators},function(e,t,n){"use strict";function r(e){var t=e.split(/\r\n|[\n\r]/g),n=function(e){for(var t,n=!0,r=!0,o=0,a=null,i=0;ia&&o(t[i-1]);)--i;return t.slice(a,i).join("\n")}function o(e){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf("\n"),o=" "===e[0]||"\t"===e[0],a='"'===e[e.length-1],i="\\"===e[e.length-1],s=!r||a||i||n,l="";return!s||r&&o||(l+="\n"+t),l+=t?e.replace(/\n/g,"\n"+t):e,s&&(l+="\n"),'"""'+l.replace(/"""/g,'\\"""')+'"""'}n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}))},function(e,t,n){"use strict";var r=n(0),o=n.n(r),a=n(1),i=n(4),s=n(24),l=n(7),c=n(53);t.a=({children:e,client:t,translate:n,notificationApi:r,initialState:u})=>o.a.createElement(s.c,{translate:n},o.a.createElement(s.e,{notificationApi:r},o.a.createElement(s.b,null,o.a.createElement(i.ApolloProvider,{client:t},o.a.createElement(a.a,{initializeState:({set:e})=>{var t;const{applicationContext:n,featureFlags:r,constraints:o,selectedInspectorView:a,selectedAsset:i}=u;e(l.a,n),e(l.f,r),i&&e(l.l,i),a&&e(l.n,a),e(l.d,o),(null===(t=o.mediaTypes)||void 0===t?void 0:t.length)>0&&e(l.o,null),o.assetType&&e(l.m,o.assetType);const s=c.a.fromUrl(new URL(window.location.href));s.empty()||e(l.j,s)}},e)))))},function(e,t,n){"use strict";var r=n(0),o=n.n(r),a=n(1),i=n(7),s=n(150),l=n.n(s);t.a=()=>{const e=Object(a.g)(i.h);return o.a.createElement("div",{className:l.a.indicator,"data-animated":e,role:"progressbar","aria-hidden":!0})}},function(e,t,n){"use strict";t.createUploadLink=n(182),t.formDataAppendFile=n(123),t.isExtractableFile=n(124),t.ReactNativeFile=n(185)},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}));const r=()=>Promise.resolve(!0),o={obtainApprovalToUpdateAsset:r,obtainApprovalToSetAssetTags:r,obtainApprovalToSetAssetCollections:r,obtainApprovalToDeleteAsset:r,obtainApprovalToDeleteAssets:r,obtainApprovalToDeleteAssetCollection:r,obtainApprovalToDeleteTag:r,obtainApprovalToReplaceAsset:r,obtainApprovalToEditAsset:r,obtainApprovalToFlushClipboard:r},a=e=>({...o,obtainApprovalToDeleteAsset:({asset:t})=>e.interaction.confirm({title:e.intl.translate("actions.deleteAsset.confirm.title","Delete Asset",[t.label]),message:e.intl.translate("action.deleteAsset.confirm.message",`Do you really want to delete the asset "${t.label}"`,[t.label]),buttonLabel:e.intl.translate("actions.deleteAsset.confirm.buttonLabel","Yes, proceed with deleting the asset",[t.label])}),obtainApprovalToDeleteAssets:({assets:t})=>e.interaction.confirm({title:e.intl.translate("actions.deleteAssets.confirm.title","Delete Assets",[t.length]),message:e.intl.translate("action.deleteAssets.confirm.message",`Do you really want to delete ${t.length} assets`,[t.length]),buttonLabel:e.intl.translate("actions.deleteAssets.confirm.buttonLabel","Yes, proceed with deleting the assets",[t.length])}),obtainApprovalToDeleteAssetCollection:({assetCollection:t})=>e.interaction.confirm({title:e.intl.translate("actions.deleteAssetCollection.confirm.title","Delete collection",[t.title]),message:e.intl.translate("action.deleteAssetCollection.confirm.message",`Do you really want to delete the collection "${t.title}"`,[t.title]),buttonLabel:e.intl.translate("actions.deleteAssetCollection.confirm.buttonLabel","Yes, proceed with deleting the collection",[t.title])}),obtainApprovalToDeleteTag:({tag:t})=>e.interaction.confirm({title:e.intl.translate("actions.deleteTag.confirm.title","Delete tag",[t.label]),message:e.intl.translate("action.deleteTag.confirm.message",`Do you really want to delete the tag "${t.label}"`,[t.label]),buttonLabel:e.intl.translate("actions.deleteTag.confirm.buttonLabel","Yes, proceed with deleting the tag",[t.label])}),obtainApprovalToFlushClipboard:()=>e.interaction.confirm({title:e.intl.translate("actions.flushClipboard.confirm.title","Flush clipboard"),message:e.intl.translate("action.flushClipboard.confirm.message","Do you really want to remove all assets from the clipboard?"),buttonLabel:e.intl.translate("actions.flushClipboard.confirm.buttonLabel","Yes, proceed with flushing the clipboard")})})},function(e,t,n){(function(e){!function(n,r){"use strict";var o={};n.PubSub?(o=n.PubSub,console.warn("PubSub already loaded, using existing version")):(n.PubSub=o,function(e){var t={},n=-1;function r(e,t,n){try{e(t,n)}catch(e){setTimeout(function(e){return function(){throw e}}(e),0)}}function o(e,t,n){e(t,n)}function a(e,n,a,i){var s,l=t[n],c=i?o:r;if(Object.prototype.hasOwnProperty.call(t,n))for(s in l)Object.prototype.hasOwnProperty.call(l,s)&&c(l[s],e,a)}function i(e){var n=String(e);return Boolean(Object.prototype.hasOwnProperty.call(t,n)&&function(e){var t;for(t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!0;return!1}(t[n]))}function s(e,t,n,r){var o=function(e,t,n){return function(){var r=String(e),o=r.lastIndexOf(".");for(a(e,e,t,n);-1!==o;)o=(r=r.substr(0,o)).lastIndexOf("."),a(e,r,t,n);a(e,"*",t,n)}}(e="symbol"==typeof e?e.toString():e,t,r);return!!function(e){for(var t=String(e),n=i(t)||i("*"),r=t.lastIndexOf(".");!n&&-1!==r;)r=(t=t.substr(0,r)).lastIndexOf("."),n=i(t);return n}(e)&&(!0===n?o():setTimeout(o,0),!0)}e.publish=function(t,n){return s(t,n,!1,e.immediateExceptions)},e.publishSync=function(t,n){return s(t,n,!0,e.immediateExceptions)},e.subscribe=function(e,r){if("function"!=typeof r)return!1;e="symbol"==typeof e?e.toString():e,Object.prototype.hasOwnProperty.call(t,e)||(t[e]={});var o="uid_"+String(++n);return t[e][o]=r,o},e.subscribeAll=function(t){return e.subscribe("*",t)},e.subscribeOnce=function(t,n){var r=e.subscribe(t,(function(){e.unsubscribe(r),n.apply(this,arguments)}));return e},e.clearAllSubscriptions=function(){t={}},e.clearSubscriptions=function(e){var n;for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&0===n.indexOf(e)&&delete t[n]},e.countSubscriptions=function(e){var n,r,o=0;for(n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&0===n.indexOf(e)){for(r in t[n])o++;break}return o},e.getSubscriptions=function(e){var n,r=[];for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&0===n.indexOf(e)&&r.push(n);return r},e.unsubscribe=function(n){var r,o,a,i="string"==typeof n&&(Object.prototype.hasOwnProperty.call(t,n)||function(e){var n;for(n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&0===n.indexOf(e))return!0;return!1}(n)),s=!i&&"string"==typeof n,l="function"==typeof n,c=!1;if(!i){for(r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(o=t[r],s&&o[n]){delete o[n],c=n;break}if(l)for(a in o)Object.prototype.hasOwnProperty.call(o,a)&&o[a]===n&&(delete o[a],c=!0)}return c}e.clearSubscriptions(n)}}(o)),void 0!==e&&e.exports&&(t=e.exports=o),t.PubSub=o,e.exports=t=o}("object"==typeof window&&window||this)}).call(this,n(181)(e))},function(e,t,n){e.exports={similarAsset:"SimilarAsset-module__similarAsset___1KcEJ",picture:"SimilarAsset-module__picture___Smj1-",caption:"SimilarAsset-module__caption___2qc3x"}},function(e,t,n){e.exports={bottomBar:"BottomBar-module__bottomBar___3Tez-",selectionMode:"BottomBar-module__selectionMode___1E9W5",isInNodeCreationDialog:"BottomBar-module__isInNodeCreationDialog___19gtL"}},function(e,t,n){e.exports={sortingState:"SortOrderSelector-module__sortingState___17kji",selectBox:"SortOrderSelector-module__selectBox___g81tx"}},function(e,t){var n,r,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var l,c=[],u=!1,d=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!u){var e=s(f);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d1)for(var n=1;n=e.lastRequestId){if(a&&"none"===n.errorPolicy)throw e.markError(new c.a({graphQLErrors:o.errors}));e.markResult(o,n,t),e.markReady()}var s={data:o.data,loading:!1,networkStatus:e.networkStatus||d.a.ready};return a&&"ignore"!==n.errorPolicy&&(s.errors=o.errors),s}),(function(t){var n=Object(c.b)(t)?t:new c.a({networkError:t});throw r>=e.lastRequestId&&e.markError(n),n}))},e.prototype.fetchQueryObservable=function(e,t,n){var r=this;void 0===n&&(n=d.a.loading);var o=this.transform(t.query).document,a=this.getVariables(o,t.variables),s=this.getQuery(e),l=s.networkStatus,c=t.fetchPolicy,u=void 0===c?"cache-first":c,f=t.errorPolicy,p=void 0===f?"none":f,h=t.returnPartialData,m=void 0!==h&&h,v=t.notifyOnNetworkStatusChange,b=void 0!==v&&v,y=t.context,g=void 0===y?{}:y;("cache-first"===u||"cache-and-network"===u||"network-only"===u||"no-cache"===u)&&b&&"number"==typeof l&&l!==n&&Object(d.b)(n)&&("cache-first"!==u&&(u="cache-and-network"),m=!0);var _=Object.assign({},t,{query:o,variables:a,fetchPolicy:u,errorPolicy:p,returnPartialData:m,notifyOnNetworkStatusChange:b,context:g}),O=function(e){return _.variables=e,r.fetchQueryByPolicy(s,_,n)};this.fetchCancelFns.set(e,(function(e){Promise.resolve().then((function(){return S.cancel(e)}))}));var S=new i.a(this.transform(_.query).hasClientExports?this.localState.addExportedVariables(_.query,_.variables,_.context).then(O):O(_.variables));return S.cleanup((function(){r.fetchCancelFns.delete(e);var n=t.nextFetchPolicy;n&&(t.nextFetchPolicy=void 0,t.fetchPolicy="function"==typeof n?n.call(t,t.fetchPolicy||"cache-first"):n)})),S},e.prototype.fetchQueryByPolicy=function(e,t,n){var o=this,a=t.query,s=t.variables,l=t.fetchPolicy,c=t.errorPolicy,u=t.returnPartialData,f=t.context;e.init({document:a,variables:s,networkStatus:n});var p=function(){return e.getDiff(s)},h=function(t,n){void 0===n&&(n=e.networkStatus||d.a.loading);var l=t.result;var c=function(e){return i.c.of(Object(r.a)({data:e,loading:Object(d.b)(n),networkStatus:n},t.complete?null:{partial:!0}))};return o.transform(a).hasForcedResolvers?o.localState.runResolvers({document:a,remoteResult:{data:l},context:f,variables:s,onlyRunForcedResolvers:!0}).then((function(e){return c(e.data)})):c(l)},m=function(t){return o.getResultsFromLink(e,t,{variables:s,context:f,fetchPolicy:l,errorPolicy:c})};switch(l){default:case"cache-first":return(v=p()).complete?[h(v,e.markReady())]:u?[h(v),m(!0)]:[m(!0)];case"cache-and-network":var v;return(v=p()).complete||u?[h(v),m(!0)]:[m(!0)];case"cache-only":return[h(p(),e.markReady())];case"network-only":return[m(!0)];case"no-cache":return[m(!1)];case"standby":return[]}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new y(this.cache)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return Object(r.a)(Object(r.a)({},t),{clientAwareness:this.clientAwareness})},e}();function S(e,t){return Object(i.j)(e,t,t.variables&&{variables:Object(r.a)(Object(r.a)({},e.variables),t.variables)})}var E=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var n=e.uri,r=e.credentials,i=e.headers,l=e.cache,c=e.ssrMode,u=void 0!==c&&c,d=e.ssrForceFetchDelay,f=void 0===d?0:d,p=e.connectToDevTools,m=void 0===p?"object"==typeof window&&!window.__APOLLO_CLIENT__&&!1:p,v=e.queryDeduplication,b=void 0===v||v,y=e.defaultOptions,g=e.assumeImmutableResults,_=void 0!==g&&g,S=e.resolvers,E=e.typeDefs,w=e.fragmentMatcher,C=e.name,T=e.version,A=e.link;if(A||(A=n?new s.HttpLink({uri:n,credentials:r,headers:i}):a.ApolloLink.empty()),!l)throw new o.a(9);this.link=A,this.cache=l,this.disableNetworkFetches=u||f>0,this.queryDeduplication=b,this.defaultOptions=y||{},this.typeDefs=E,f&&setTimeout((function(){return t.disableNetworkFetches=!1}),f),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),m&&"object"==typeof window&&(window.__APOLLO_CLIENT__=this),this.version="3.3.15",this.localState=new h({cache:l,client:this,resolvers:S,fragmentMatcher:w}),this.queryManager=new O({cache:this.cache,link:this.link,queryDeduplication:b,ssrMode:u,clientAwareness:{name:C,version:T},localState:this.localState,assumeImmutableResults:_,onBroadcast:m?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=S(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=Object(r.a)(Object(r.a)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=S(this.defaultOptions.query,e)),Object(o.b)("cache-and-network"!==e.fetchPolicy,10),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=Object(r.a)(Object(r.a)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=S(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){this.cache.writeQuery(e),this.queryManager.broadcastQueries()},e.prototype.writeFragment=function(e){this.cache.writeFragment(e),this.queryManager.broadcastQueries()},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return Object(a.execute)(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},e}()},function(e,t,n){e.exports=n(176).Observable},function(e,t,n){e.exports={assetSourceDescription:"AssetSourceDescription-module__assetSourceDescription___1riHO","ReactCollapse--collapse":"AssetSourceDescription-module__ReactCollapse--collapse___1Medt",panelHeader:"AssetSourceDescription-module__panelHeader___2qfw-"}},function(e,t,n){e.exports={dialogBody:"Confirm-module__dialogBody___2XRcy",modalTitle:"Confirm-module__modalTitle___3PLaG"}},function(e,t,n){e.exports={usageSection:"AssetUsageSection-module__usageSection___2oMBF",usageTable:"AssetUsageSection-module__usageTable___3bv0_"}},function(e,t,n){e.exports={variantsContainer:"VariantsInspector-module__variantsContainer___3xJmJ",variantItem:"VariantsInspector-module__variantItem___2NUJb"}},function(e,t,n){e.exports={collectionSelectBox:"CollectionSelectBox-module__collectionSelectBox___1Ncsa"}},function(e,t,n){e.exports={item:"PaginationItem-module__item___1SjpJ"}},function(e,t,n){e.exports={topBar:"TopBar-module__topBar___3QcJr","topBar--selectionMode":"TopBar-module__topBar--selectionMode___2W5Y0"}},function(e,t,n){e.exports={mediaSelectionScreen:"MediaSelectionScreen-module__mediaSelectionScreen___2qXAm",isInNodeCreationDialog:"MediaSelectionScreen-module__isInNodeCreationDialog___2u1FV"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(172)),o=a(n(173));function a(e){return e&&e.__esModule?e:{default:e}}var i=class extends r.default{constructor(e){super(e),this._registry=[]}set(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if("string"!=typeof e)throw new Error("Key must be a string");if("string"!=typeof n&&"number"!=typeof n)throw new Error("Position must be a string or a number");var r={key:e,value:t};n&&(r.position=n);var o=this._registry.findIndex((function(t){return t.key===e}));return-1===o?this._registry.push(r):this._registry[o]=r,t}get(e){if("string"!=typeof e)return console.error("Key must be a string"),null;var t=this._registry.find((function(t){return t.key===e}));return t?t.value:null}_getChildrenWrapped(e){var t=this._registry.filter((function(t){return 0===t.key.indexOf(e+"/")}));return(0,o.default)(t)}getChildrenAsObject(e){var t={};return this._getChildrenWrapped(e).forEach((function(e){t[e.key]=e.value})),t}getChildren(e){return this._getChildrenWrapped(e).map((function(e){return e.value}))}has(e){return"string"!=typeof e?(console.error("Key must be a string"),!1):Boolean(this._registry.find((function(t){return t.key===e})))}_getAllWrapped(){return(0,o.default)(this._registry)}getAllAsObject(){var e={};return this._getAllWrapped().forEach((function(t){e[t.key]=t.value})),e}getAllAsList(){return this._getAllWrapped().map((function(e){return Object.assign({id:e.key},e.value)}))}};t.default=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=n(34).a.empty},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=n(34).a.from},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=n(34).a.split},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=n(34).a.concat},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=n(34).a.execute},function(e,t){},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),r||(r={})},function(e,t){},function(e,t,n){"use strict";var r=n(32);n.d(t,"ApolloProvider",(function(){return r.a}));var o=n(128);n.d(t,"useApolloClient",(function(){return o.a})),n.d(t,"useLazyQuery",(function(){return o.b})),n.d(t,"useMutation",(function(){return o.c})),n.d(t,"useQuery",(function(){return o.d}));n(33);var a=n(120);n.o(a,"ApolloClient")&&n.d(t,"ApolloClient",(function(){return a.ApolloClient})),n.o(a,"ApolloLink")&&n.d(t,"ApolloLink",(function(){return a.ApolloLink})),n.o(a,"InMemoryCache")&&n.d(t,"InMemoryCache",(function(){return a.InMemoryCache})),n.o(a,"defaultDataIdFromObject")&&n.d(t,"defaultDataIdFromObject",(function(){return a.defaultDataIdFromObject})),n.o(a,"gql")&&n.d(t,"gql",(function(){return a.gql}))},function(e,t){},function(e,t,n){"use strict";var r=n(122);e.exports=function(e){return"undefined"!=typeof File&&e instanceof File||"undefined"!=typeof Blob&&e instanceof Blob||e instanceof r}},function(e,t,n){"use strict";e.exports=function(e){var t=e.uri,n=e.name,r=e.type;this.uri=t,this.name=n,this.type=r}},function(e,t,n){"use strict";e.exports=function(e,t,n){e.append(t,n,n.name)}},function(e,t,n){"use strict";e.exports=n(121)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){return[].slice.call(t.querySelectorAll("*"),0).reduce((function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])}),[]).filter(i)}; +`;var m=n(83),v=n.n(m);var b=o.a.memo(()=>{var e;const{translate:t}=Object(s.d)(),n=Object(s.f)(),c=Object(a.g)(f.f),[m,b]=Object(a.f)(l),{editAsset:y,loading:g}=function(){const[e,{error:t,data:n,loading:r}]=Object(p.useMutation)(h);return{editAsset:({asset:t,filename:n,options:r})=>e({variables:{id:t.id,assetSourceId:t.assetSource.id,filename:n,options:r}}),editState:(null==n?void 0:n.editAsset)||null,error:t,loading:r}}(),{approvalAttainmentStrategy:{obtainApprovalToEditAsset:_}}=Object(s.e)(),{refetch:O}=Object(d.c)(),S=Object(r.useRef)(null),E=Object(d.i)(),[w,C]=o.a.useState({generateRedirects:!1}),T=Object(r.useCallback)(()=>{b(!1)},[b]),A=Object(r.useCallback)(async()=>{if(await _({asset:E}))try{await y({asset:E,filename:S.current.value,options:w}),n.ok(t("EditAssetDialog.updateFinished","Update finished")),T(),O()}catch(e){n.error(t("EditAssetDialog.updateError","Update failed"),e)}},[y,n,t,w,O,E,T,_,S]),j=E.filename.split(".").slice(0,-1).join("."),k=!g&&E.filename!=(null===(e=S.current)||void 0===e?void 0:e.value);return o.a.createElement(u.c,{isOpen:m,title:t("EditAssetDialog.title","Rename asset"),onRequestClose:()=>b(!1),actions:[o.a.createElement(i.Button,{key:"cancel",style:"neutral",hoverStyle:"darken",onClick:T},t("EditAssetDialog.cancel","Cancel")),o.a.createElement(i.Button,{key:"upload",style:"success",hoverStyle:"success",disabled:!k,onClick:A},t("EditAssetDialog.update","Update"))],style:"wide"},o.a.createElement("section",{className:v.a.editArea},o.a.createElement(i.Label,{className:v.a.label},t("EditAssetDialog.filename","Filename"),o.a.createElement("input",{className:v.a.filenameInput,type:"text",ref:S,defaultValue:j,onSubmit:A,disabled:g})),c.createAssetRedirectsOption&&o.a.createElement(i.Label,{className:v.a.label},o.a.createElement(i.CheckBox,{isChecked:w.generateRedirects,onChange:e=>C({...w,generateRedirects:e}),disabled:g}),o.a.createElement("span",null,t("uploadDialog.generateRedirects","Generate redirects"))),g&&o.a.createElement("p",null,t("EditAssetDialog.updating","Updating…"))))})},function(e,t,n){e.exports={wrapper:"IconLabel-module__wrapper___3HgO6",iconWrap:"IconLabel-module__iconWrap___7zSv3",label:"IconLabel-module__label___1x-tE",imgIcon:"IconLabel-module__imgIcon___15UN_"}},function(e,t,n){e.exports={assetCollectionTree:"AssetCollectionTree-module__assetCollectionTree___OqKzj",viewSelection:"AssetCollectionTree-module__viewSelection___3Ux4a",toolbar:"AssetCollectionTree-module__toolbar___3NIvN",tree:"AssetCollectionTree-module__tree___2V59G"}},function(e,t,n){e.exports={dropzone:"UploadSection-module__dropzone___2fIdu","dropzone--active":"UploadSection-module__dropzone--active___1t1U7","dropzone--accept":"UploadSection-module__dropzone--accept___1MkQv","dropzone--reject":"UploadSection-module__dropzone--reject___2CZXy"}},function(e,t,n){e.exports={fileList:"PreviewSection-module__fileList___2tdk4",fileListHeader:"PreviewSection-module__fileListHeader___1ztkM"}},function(e,t,n){e.exports={editArea:"EditAssetDialog-module__editArea___2-oMt",filenameInput:"EditAssetDialog-module__filenameInput___3ryar",label:"EditAssetDialog-module__label___X1xkR"}},function(e,t,n){e.exports={searchBox:"SearchBox-module__searchBox___3GzI7",searchBox__inputWrapper:"SearchBox-module__searchBox__inputWrapper___1ZW3b",searchBox__searchButton:"SearchBox-module__searchBox__searchButton___1Khrw",searchBox__clearButton:"SearchBox-module__searchBox__clearButton___3s_q4"}},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(4),o=n(1),a=n(23),i=n(37),s=n(7);function l(e=!1){const t=Object(o.g)(s.j),{tagId:n,assetCollectionId:l}=Object(o.g)(s.k),c=Object(o.g)(a.d),u=Object(o.g)(s.o),d=Object(o.g)(s.m),{data:f,loading:p}=Object(r.useQuery)(i.c,{variables:{assetCollectionId:e?void 0:l,assetSourceId:c,mediaType:u,assetType:d,tagId:e?void 0:n,searchTerm:t.toString()}});return{assetCount:(null==f?void 0:f.assetCount)||0,loading:p}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(25),o=n(6),a=function(){function e(){this.getFragmentDoc=Object(r.c)(o.p)}return e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read({rootId:e.id||"ROOT_QUERY",query:e.query,variables:e.variables,returnPartialData:e.returnPartialData,optimistic:t})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read({query:this.getFragmentDoc(e.fragment,e.fragmentName),variables:e.variables,rootId:e.id,returnPartialData:e.returnPartialData,optimistic:t})},e.prototype.writeQuery=function(e){return this.write({dataId:e.id||"ROOT_QUERY",result:e.data,query:e.query,variables:e.variables,broadcast:e.broadcast})},e.prototype.writeFragment=function(e){return this.write({dataId:e.id,result:e.data,variables:e.variables,query:this.getFragmentDoc(e.fragment,e.fragmentName),broadcast:e.broadcast})},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(2),o=n(8),a=n(16),i=n(17),s=n(6),l=function(){function e(e,t,n,r){this.observer=e,this.options=t,this.fetch=n,this.shouldFetch=r}return e.prototype.reobserve=function(e,t){e?this.updateOptions(e):this.updatePolling();var n=this.fetch(this.options,t);return this.concast&&this.concast.removeObserver(this.observer,!0),n.addObserver(this.observer),(this.concast=n).promise},e.prototype.updateOptions=function(e){return Object.assign(this.options,Object(s.j)(e)),this.updatePolling(),this},e.prototype.stop=function(){this.concast&&(this.concast.removeObserver(this.observer),delete this.concast),this.pollingInfo&&(clearTimeout(this.pollingInfo.timeout),this.options.pollInterval=0,this.updatePolling())},e.prototype.updatePolling=function(){var e=this,t=this.pollingInfo,n=this.options.pollInterval;if(n){if((!t||t.interval!==n)&&(Object(o.b)(n,20),!1!==this.shouldFetch)){(t||(this.pollingInfo={})).interval=n;var r=function(){e.pollingInfo&&(e.shouldFetch&&e.shouldFetch()?e.reobserve({fetchPolicy:"network-only",nextFetchPolicy:e.options.fetchPolicy||"cache-first"},i.a.poll).then(a,a):a())},a=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(r,t.interval))};a()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)},e}(),c=function(e){function t(t){var n=t.queryManager,o=t.queryInfo,a=t.options,l=e.call(this,(function(e){return l.onSubscribe(e)}))||this;l.observers=new Set,l.subscriptions=new Set,l.observer={next:function(e){(l.lastError||l.isDifferentFromLastResult(e))&&(l.updateLastResult(e),Object(s.D)(l.observers,"next",e))},error:function(e){l.updateLastResult(Object(r.a)(Object(r.a)({},l.lastResult),{error:e,errors:e.graphQLErrors,networkStatus:i.a.error,loading:!1})),Object(s.D)(l.observers,"error",l.lastError=e)}},l.isTornDown=!1,l.options=a,l.queryId=n.generateQueryId();var c=Object(s.r)(a.query);return l.queryName=c&&c.name&&c.name.value,l.queryManager=n,l.queryInfo=o,l}return Object(r.c)(t,e),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise((function(t,n){var r={next:function(n){t(n),e.observers.delete(r),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){o.unsubscribe()}),0)},error:n},o=e.subscribe(r)}))},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.lastResult,n=this.queryInfo.networkStatus||t&&t.networkStatus||i.a.ready,o=Object(r.a)(Object(r.a)({},t),{loading:Object(i.b)(n),networkStatus:n});if(this.isTornDown)return o;var a=this.options.fetchPolicy,s=void 0===a?"cache-first":a;if("no-cache"===s||"network-only"===s)delete o.partial;else if(!o.data||!this.queryManager.transform(this.options.query).hasForcedResolvers){var l=this.queryInfo.getDiff();o.data=l.complete||this.options.returnPartialData?l.result:void 0,l.complete?(o.networkStatus!==i.a.loading||"cache-first"!==s&&"cache-only"!==s||(o.networkStatus=i.a.ready,o.loading=!1),delete o.partial):o.partial=!0}return e&&this.updateLastResult(o),o},t.prototype.isDifferentFromLastResult=function(e){return!Object(a.a)(this.lastResultSnapshot,e)},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t={pollInterval:0},n=this.options.fetchPolicy;return"no-cache"!==n&&"cache-and-network"!==n&&(t.fetchPolicy="network-only",t.nextFetchPolicy=n||"cache-first"),e&&!Object(a.a)(this.options.variables,e)&&(t.variables=this.options.variables=Object(r.a)(Object(r.a)({},this.options.variables),e)),this.newReobserver(!1).reobserve(t,i.a.refetch)},t.prototype.fetchMore=function(e){var t=this,n=Object(r.a)(Object(r.a)({},e.query?e:Object(r.a)(Object(r.a)(Object(r.a)({},this.options),e),{variables:Object(r.a)(Object(r.a)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"}),o=this.queryManager.generateQueryId();return n.notifyOnNetworkStatusChange&&(this.queryInfo.networkStatus=i.a.fetchMore,this.observe()),this.queryManager.fetchQuery(o,n,i.a.fetchMore).then((function(r){var o=r.data,a=e.updateQuery;return a?t.updateQuery((function(e){return a(e,{fetchMoreResult:o,variables:n.variables})})):t.queryManager.cache.writeQuery({query:n.query,variables:n.variables,data:o}),r})).finally((function(){t.queryManager.stopQuery(o),t.reobserve()}))},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(n){var r=e.updateQuery;r&&t.updateQuery((function(e,t){var o=t.variables;return r(e,{subscriptionData:n,variables:o})}))},error:function(t){e.onError&&e.onError(t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.setVariables=function(e){if(Object(a.a)(this.variables,e))return this.observers.size?this.result():Promise.resolve();if(this.options.variables=e,!this.observers.size)return Promise.resolve();var t=this.options.fetchPolicy,n=void 0===t?"cache-first":t,r={fetchPolicy:n,variables:e};return"cache-first"!==n&&"no-cache"!==n&&"network-only"!==n&&(r.fetchPolicy="cache-and-network",r.nextFetchPolicy=n),this.reobserve(r,i.a.setVariables)},t.prototype.updateQuery=function(e){var t,n=this.queryManager,r=e(n.cache.diff({query:this.options.query,variables:this.variables,previousResult:null===(t=this.lastResult)||void 0===t?void 0:t.data,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});r&&(n.cache.writeQuery({query:this.options.query,data:r,variables:this.variables}),n.broadcastQueries())},t.prototype.startPolling=function(e){this.getReobserver().updateOptions({pollInterval:e})},t.prototype.stopPolling=function(){this.reobserver&&this.reobserver.updateOptions({pollInterval:0})},t.prototype.updateLastResult=function(e){var t=this.lastResult;return this.lastResult=e,this.lastResultSnapshot=this.queryManager.assumeImmutableResults?e:Object(s.i)(e),Object(s.B)(e.errors)||delete this.lastError,t},t.prototype.onSubscribe=function(e){var t=this;if(e===this.observer)return function(){};try{var n=e._subscription._observer;n&&!n.error&&(n.error=u)}catch(e){}var r=!this.observers.size;return this.observers.add(e),this.lastError?e.error&&e.error(this.lastError):this.lastResult&&e.next&&e.next(this.lastResult),r&&this.reobserve().catch((function(e){})),function(){t.observers.delete(e)&&!t.observers.size&&t.tearDownQuery()}},t.prototype.getReobserver=function(){return this.reobserver||(this.reobserver=this.newReobserver(!0))},t.prototype.newReobserver=function(e){var t=this,n=this.queryManager,o=this.queryId;return n.setObservableQuery(this),new l(this.observer,e?this.options:Object(r.a)({},this.options),(function(e,r){return n.setObservableQuery(t),n.fetchQueryObservable(o,e,r)}),!n.ssrMode&&function(){return!Object(i.b)(t.queryInfo.networkStatus)})},t.prototype.reobserve=function(e,t){return this.isTornDown=!1,this.getReobserver().reobserve(e,t)},t.prototype.observe=function(){this.observer.next(this.getCurrentResult(!1))},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.reobserver&&(this.reobserver.stop(),delete this.reobserver),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t}(s.c);function u(e){}Object(s.l)(c)},function(e,t,n){"use strict";var r,o=n(40),a=(r=o)&&r.__esModule?r:{default:r};e.exports=(0,a.default)("NeosProjectPackages")().NeosUiDecorators},function(e,t,n){"use strict";function r(e){var t=e.split(/\r\n|[\n\r]/g),n=function(e){for(var t,n=!0,r=!0,o=0,a=null,i=0;ia&&o(t[i-1]);)--i;return t.slice(a,i).join("\n")}function o(e){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf("\n"),o=" "===e[0]||"\t"===e[0],a='"'===e[e.length-1],i="\\"===e[e.length-1],s=!r||a||i||n,l="";return!s||r&&o||(l+="\n"+t),l+=t?e.replace(/\n/g,"\n"+t):e,s&&(l+="\n"),'"""'+l.replace(/"""/g,'\\"""')+'"""'}n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}))},function(e,t,n){"use strict";var r=n(0),o=n.n(r),a=n(1),i=n(4),s=n(24),l=n(7),c=n(50);t.a=({children:e,client:t,translate:n,notificationApi:r,initialState:u})=>o.a.createElement(s.c,{translate:n},o.a.createElement(s.e,{notificationApi:r},o.a.createElement(s.b,null,o.a.createElement(i.ApolloProvider,{client:t},o.a.createElement(a.a,{initializeState:({set:e})=>{var t;const{applicationContext:n,featureFlags:r,constraints:o,selectedInspectorView:a,selectedAsset:i}=u;e(l.a,n),e(l.f,r),i&&e(l.l,i),a&&e(l.n,a),e(l.d,o),(null===(t=o.mediaTypes)||void 0===t?void 0:t.length)>0&&e(l.o,null),o.assetType&&e(l.m,o.assetType);const s=c.a.fromUrl(new URL(window.location.href));s.empty()||e(l.j,s)}},e)))))},function(e,t,n){"use strict";var r=n(0),o=n.n(r),a=n(1),i=n(7),s=n(151),l=n.n(s);t.a=()=>{const e=Object(a.g)(i.h);return o.a.createElement("div",{className:l.a.indicator,"data-animated":e,role:"progressbar","aria-hidden":!0})}},function(e,t,n){"use strict";t.createUploadLink=n(182),t.formDataAppendFile=n(124),t.isExtractableFile=n(125),t.ReactNativeFile=n(185)},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}));const r=()=>Promise.resolve(!0),o={obtainApprovalToUpdateAsset:r,obtainApprovalToSetAssetTags:r,obtainApprovalToSetAssetCollections:r,obtainApprovalToDeleteAsset:r,obtainApprovalToDeleteAssets:r,obtainApprovalToDeleteAssetCollection:r,obtainApprovalToDeleteTag:r,obtainApprovalToReplaceAsset:r,obtainApprovalToEditAsset:r,obtainApprovalToFlushClipboard:r},a=e=>({...o,obtainApprovalToDeleteAsset:({asset:t})=>e.interaction.confirm({title:e.intl.translate("actions.deleteAsset.confirm.title","Delete Asset",[t.label]),message:e.intl.translate("action.deleteAsset.confirm.message",`Do you really want to delete the asset "${t.label}"`,[t.label]),buttonLabel:e.intl.translate("actions.deleteAsset.confirm.buttonLabel","Yes, proceed with deleting the asset",[t.label])}),obtainApprovalToDeleteAssets:({assets:t})=>e.interaction.confirm({title:e.intl.translate("actions.deleteAssets.confirm.title","Delete Assets",[t.length]),message:e.intl.translate("action.deleteAssets.confirm.message",`Do you really want to delete ${t.length} assets`,[t.length]),buttonLabel:e.intl.translate("actions.deleteAssets.confirm.buttonLabel","Yes, proceed with deleting the assets",[t.length])}),obtainApprovalToDeleteAssetCollection:({assetCollection:t})=>e.interaction.confirm({title:e.intl.translate("actions.deleteAssetCollection.confirm.title","Delete collection",[t.title]),message:e.intl.translate("action.deleteAssetCollection.confirm.message",`Do you really want to delete the collection "${t.title}"`,[t.title]),buttonLabel:e.intl.translate("actions.deleteAssetCollection.confirm.buttonLabel","Yes, proceed with deleting the collection",[t.title])}),obtainApprovalToDeleteTag:({tag:t})=>e.interaction.confirm({title:e.intl.translate("actions.deleteTag.confirm.title","Delete tag",[t.label]),message:e.intl.translate("action.deleteTag.confirm.message",`Do you really want to delete the tag "${t.label}"`,[t.label]),buttonLabel:e.intl.translate("actions.deleteTag.confirm.buttonLabel","Yes, proceed with deleting the tag",[t.label])}),obtainApprovalToFlushClipboard:()=>e.interaction.confirm({title:e.intl.translate("actions.flushClipboard.confirm.title","Flush clipboard"),message:e.intl.translate("action.flushClipboard.confirm.message","Do you really want to remove all assets from the clipboard?"),buttonLabel:e.intl.translate("actions.flushClipboard.confirm.buttonLabel","Yes, proceed with flushing the clipboard")})})},function(e,t,n){(function(e){!function(n,r){"use strict";var o={};n.PubSub?(o=n.PubSub,console.warn("PubSub already loaded, using existing version")):(n.PubSub=o,function(e){var t={},n=-1;function r(e,t,n){try{e(t,n)}catch(e){setTimeout(function(e){return function(){throw e}}(e),0)}}function o(e,t,n){e(t,n)}function a(e,n,a,i){var s,l=t[n],c=i?o:r;if(Object.prototype.hasOwnProperty.call(t,n))for(s in l)Object.prototype.hasOwnProperty.call(l,s)&&c(l[s],e,a)}function i(e){var n=String(e);return Boolean(Object.prototype.hasOwnProperty.call(t,n)&&function(e){var t;for(t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!0;return!1}(t[n]))}function s(e,t,n,r){var o=function(e,t,n){return function(){var r=String(e),o=r.lastIndexOf(".");for(a(e,e,t,n);-1!==o;)o=(r=r.substr(0,o)).lastIndexOf("."),a(e,r,t,n);a(e,"*",t,n)}}(e="symbol"==typeof e?e.toString():e,t,r);return!!function(e){for(var t=String(e),n=i(t)||i("*"),r=t.lastIndexOf(".");!n&&-1!==r;)r=(t=t.substr(0,r)).lastIndexOf("."),n=i(t);return n}(e)&&(!0===n?o():setTimeout(o,0),!0)}e.publish=function(t,n){return s(t,n,!1,e.immediateExceptions)},e.publishSync=function(t,n){return s(t,n,!0,e.immediateExceptions)},e.subscribe=function(e,r){if("function"!=typeof r)return!1;e="symbol"==typeof e?e.toString():e,Object.prototype.hasOwnProperty.call(t,e)||(t[e]={});var o="uid_"+String(++n);return t[e][o]=r,o},e.subscribeAll=function(t){return e.subscribe("*",t)},e.subscribeOnce=function(t,n){var r=e.subscribe(t,(function(){e.unsubscribe(r),n.apply(this,arguments)}));return e},e.clearAllSubscriptions=function(){t={}},e.clearSubscriptions=function(e){var n;for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&0===n.indexOf(e)&&delete t[n]},e.countSubscriptions=function(e){var n,r,o=0;for(n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&0===n.indexOf(e)){for(r in t[n])o++;break}return o},e.getSubscriptions=function(e){var n,r=[];for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&0===n.indexOf(e)&&r.push(n);return r},e.unsubscribe=function(n){var r,o,a,i="string"==typeof n&&(Object.prototype.hasOwnProperty.call(t,n)||function(e){var n;for(n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&0===n.indexOf(e))return!0;return!1}(n)),s=!i&&"string"==typeof n,l="function"==typeof n,c=!1;if(!i){for(r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(o=t[r],s&&o[n]){delete o[n],c=n;break}if(l)for(a in o)Object.prototype.hasOwnProperty.call(o,a)&&o[a]===n&&(delete o[a],c=!0)}return c}e.clearSubscriptions(n)}}(o)),void 0!==e&&e.exports&&(t=e.exports=o),t.PubSub=o,e.exports=t=o}("object"==typeof window&&window||this)}).call(this,n(181)(e))},function(e,t,n){e.exports={similarAsset:"SimilarAsset-module__similarAsset___1KcEJ",picture:"SimilarAsset-module__picture___Smj1-",caption:"SimilarAsset-module__caption___2qc3x"}},function(e,t,n){e.exports={bottomBar:"BottomBar-module__bottomBar___3Tez-",selectionMode:"BottomBar-module__selectionMode___1E9W5",isInNodeCreationDialog:"BottomBar-module__isInNodeCreationDialog___19gtL"}},function(e,t,n){e.exports={sortingState:"SortOrderSelector-module__sortingState___17kji",selectBox:"SortOrderSelector-module__selectBox___g81tx"}},function(e,t){var n,r,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var l,c=[],u=!1,d=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!u){var e=s(f);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d1)for(var n=1;n=e.lastRequestId){if(a&&"none"===n.errorPolicy)throw e.markError(new c.a({graphQLErrors:o.errors}));e.markResult(o,n,t),e.markReady()}var s={data:o.data,loading:!1,networkStatus:e.networkStatus||d.a.ready};return a&&"ignore"!==n.errorPolicy&&(s.errors=o.errors),s}),(function(t){var n=Object(c.b)(t)?t:new c.a({networkError:t});throw r>=e.lastRequestId&&e.markError(n),n}))},e.prototype.fetchQueryObservable=function(e,t,n){var r=this;void 0===n&&(n=d.a.loading);var o=this.transform(t.query).document,a=this.getVariables(o,t.variables),s=this.getQuery(e),l=s.networkStatus,c=t.fetchPolicy,u=void 0===c?"cache-first":c,f=t.errorPolicy,p=void 0===f?"none":f,h=t.returnPartialData,m=void 0!==h&&h,v=t.notifyOnNetworkStatusChange,b=void 0!==v&&v,y=t.context,g=void 0===y?{}:y;("cache-first"===u||"cache-and-network"===u||"network-only"===u||"no-cache"===u)&&b&&"number"==typeof l&&l!==n&&Object(d.b)(n)&&("cache-first"!==u&&(u="cache-and-network"),m=!0);var _=Object.assign({},t,{query:o,variables:a,fetchPolicy:u,errorPolicy:p,returnPartialData:m,notifyOnNetworkStatusChange:b,context:g}),O=function(e){return _.variables=e,r.fetchQueryByPolicy(s,_,n)};this.fetchCancelFns.set(e,(function(e){Promise.resolve().then((function(){return S.cancel(e)}))}));var S=new i.a(this.transform(_.query).hasClientExports?this.localState.addExportedVariables(_.query,_.variables,_.context).then(O):O(_.variables));return S.cleanup((function(){r.fetchCancelFns.delete(e);var n=t.nextFetchPolicy;n&&(t.nextFetchPolicy=void 0,t.fetchPolicy="function"==typeof n?n.call(t,t.fetchPolicy||"cache-first"):n)})),S},e.prototype.fetchQueryByPolicy=function(e,t,n){var o=this,a=t.query,s=t.variables,l=t.fetchPolicy,c=t.errorPolicy,u=t.returnPartialData,f=t.context;e.init({document:a,variables:s,networkStatus:n});var p=function(){return e.getDiff(s)},h=function(t,n){void 0===n&&(n=e.networkStatus||d.a.loading);var l=t.result;var c=function(e){return i.c.of(Object(r.a)({data:e,loading:Object(d.b)(n),networkStatus:n},t.complete?null:{partial:!0}))};return o.transform(a).hasForcedResolvers?o.localState.runResolvers({document:a,remoteResult:{data:l},context:f,variables:s,onlyRunForcedResolvers:!0}).then((function(e){return c(e.data)})):c(l)},m=function(t){return o.getResultsFromLink(e,t,{variables:s,context:f,fetchPolicy:l,errorPolicy:c})};switch(l){default:case"cache-first":return(v=p()).complete?[h(v,e.markReady())]:u?[h(v),m(!0)]:[m(!0)];case"cache-and-network":var v;return(v=p()).complete||u?[h(v),m(!0)]:[m(!0)];case"cache-only":return[h(p(),e.markReady())];case"network-only":return[m(!0)];case"no-cache":return[m(!1)];case"standby":return[]}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new y(this.cache)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return Object(r.a)(Object(r.a)({},t),{clientAwareness:this.clientAwareness})},e}();function S(e,t){return Object(i.j)(e,t,t.variables&&{variables:Object(r.a)(Object(r.a)({},e.variables),t.variables)})}var E=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var n=e.uri,r=e.credentials,i=e.headers,l=e.cache,c=e.ssrMode,u=void 0!==c&&c,d=e.ssrForceFetchDelay,f=void 0===d?0:d,p=e.connectToDevTools,m=void 0===p?"object"==typeof window&&!window.__APOLLO_CLIENT__&&!1:p,v=e.queryDeduplication,b=void 0===v||v,y=e.defaultOptions,g=e.assumeImmutableResults,_=void 0!==g&&g,S=e.resolvers,E=e.typeDefs,w=e.fragmentMatcher,C=e.name,T=e.version,A=e.link;if(A||(A=n?new s.HttpLink({uri:n,credentials:r,headers:i}):a.ApolloLink.empty()),!l)throw new o.a(9);this.link=A,this.cache=l,this.disableNetworkFetches=u||f>0,this.queryDeduplication=b,this.defaultOptions=y||{},this.typeDefs=E,f&&setTimeout((function(){return t.disableNetworkFetches=!1}),f),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),m&&"object"==typeof window&&(window.__APOLLO_CLIENT__=this),this.version="3.3.15",this.localState=new h({cache:l,client:this,resolvers:S,fragmentMatcher:w}),this.queryManager=new O({cache:this.cache,link:this.link,queryDeduplication:b,ssrMode:u,clientAwareness:{name:C,version:T},localState:this.localState,assumeImmutableResults:_,onBroadcast:m?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=S(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=Object(r.a)(Object(r.a)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=S(this.defaultOptions.query,e)),Object(o.b)("cache-and-network"!==e.fetchPolicy,10),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=Object(r.a)(Object(r.a)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=S(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){this.cache.writeQuery(e),this.queryManager.broadcastQueries()},e.prototype.writeFragment=function(e){this.cache.writeFragment(e),this.queryManager.broadcastQueries()},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return Object(a.execute)(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},e}()},function(e,t,n){e.exports=n(176).Observable},function(e,t,n){e.exports={assetSourceDescription:"AssetSourceDescription-module__assetSourceDescription___1riHO","ReactCollapse--collapse":"AssetSourceDescription-module__ReactCollapse--collapse___1Medt",panelHeader:"AssetSourceDescription-module__panelHeader___2qfw-"}},function(e,t,n){e.exports={dialogBody:"Confirm-module__dialogBody___2XRcy",modalTitle:"Confirm-module__modalTitle___3PLaG"}},function(e,t,n){e.exports={usageSection:"AssetUsageSection-module__usageSection___2oMBF",usageTable:"AssetUsageSection-module__usageTable___3bv0_"}},function(e,t,n){e.exports={variantsContainer:"VariantsInspector-module__variantsContainer___3xJmJ",variantItem:"VariantsInspector-module__variantItem___2NUJb"}},function(e,t,n){e.exports={item:"PaginationItem-module__item___1SjpJ"}},function(e,t,n){e.exports={topBar:"TopBar-module__topBar___3QcJr","topBar--selectionMode":"TopBar-module__topBar--selectionMode___2W5Y0"}},function(e,t,n){e.exports={mediaSelectionScreen:"MediaSelectionScreen-module__mediaSelectionScreen___2qXAm",isInNodeCreationDialog:"MediaSelectionScreen-module__isInNodeCreationDialog___2u1FV"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(172)),o=a(n(173));function a(e){return e&&e.__esModule?e:{default:e}}var i=class extends r.default{constructor(e){super(e),this._registry=[]}set(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if("string"!=typeof e)throw new Error("Key must be a string");if("string"!=typeof n&&"number"!=typeof n)throw new Error("Position must be a string or a number");var r={key:e,value:t};n&&(r.position=n);var o=this._registry.findIndex((function(t){return t.key===e}));return-1===o?this._registry.push(r):this._registry[o]=r,t}get(e){if("string"!=typeof e)return console.error("Key must be a string"),null;var t=this._registry.find((function(t){return t.key===e}));return t?t.value:null}_getChildrenWrapped(e){var t=this._registry.filter((function(t){return 0===t.key.indexOf(e+"/")}));return(0,o.default)(t)}getChildrenAsObject(e){var t={};return this._getChildrenWrapped(e).forEach((function(e){t[e.key]=e.value})),t}getChildren(e){return this._getChildrenWrapped(e).map((function(e){return e.value}))}has(e){return"string"!=typeof e?(console.error("Key must be a string"),!1):Boolean(this._registry.find((function(t){return t.key===e})))}_getAllWrapped(){return(0,o.default)(this._registry)}getAllAsObject(){var e={};return this._getAllWrapped().forEach((function(t){e[t.key]=t.value})),e}getAllAsList(){return this._getAllWrapped().map((function(e){return Object.assign({id:e.key},e.value)}))}};t.default=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=n(34).a.empty},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=n(34).a.from},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=n(34).a.split},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=n(34).a.concat},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=n(34).a.execute},function(e,t){},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),r||(r={})},function(e,t){},function(e,t,n){"use strict";var r=n(32);n.d(t,"ApolloProvider",(function(){return r.a}));var o=n(129);n.d(t,"useApolloClient",(function(){return o.a})),n.d(t,"useLazyQuery",(function(){return o.b})),n.d(t,"useMutation",(function(){return o.c})),n.d(t,"useQuery",(function(){return o.d}));n(33);var a=n(121);n.o(a,"ApolloClient")&&n.d(t,"ApolloClient",(function(){return a.ApolloClient})),n.o(a,"ApolloLink")&&n.d(t,"ApolloLink",(function(){return a.ApolloLink})),n.o(a,"InMemoryCache")&&n.d(t,"InMemoryCache",(function(){return a.InMemoryCache})),n.o(a,"defaultDataIdFromObject")&&n.d(t,"defaultDataIdFromObject",(function(){return a.defaultDataIdFromObject})),n.o(a,"gql")&&n.d(t,"gql",(function(){return a.gql}))},function(e,t){},function(e,t,n){"use strict";var r=n(123);e.exports=function(e){return"undefined"!=typeof File&&e instanceof File||"undefined"!=typeof Blob&&e instanceof Blob||e instanceof r}},function(e,t,n){"use strict";e.exports=function(e){var t=e.uri,n=e.name,r=e.type;this.uri=t,this.name=n,this.type=r}},function(e,t,n){"use strict";e.exports=function(e,t,n){e.append(t,n,n.name)}},function(e,t,n){"use strict";e.exports=n(122)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){return[].slice.call(t.querySelectorAll("*"),0).reduce((function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])}),[]).filter(i)}; /*! * Adapted from jQuery UI core * @@ -446,7 +446,7 @@ var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Arr * * http://api.jqueryui.com/category/ui-core/ */ -var r=/input|select|textarea|button|object|iframe/;function o(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var n=window.getComputedStyle(e),r=n.getPropertyValue("display");return t?"contents"!==r&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,n):"none"===r}catch(e){return console.warn("Failed to inspect element style"),!1}}function a(e,t){var n=e.nodeName.toLowerCase();return(r.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),o(t))return!1;t=t.parentNode}return!0}(e)}function i(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&a(e,!n)}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){s&&(s.removeAttribute?s.removeAttribute("aria-hidden"):null!=s.length?s.forEach((function(e){return e.removeAttribute("aria-hidden")})):document.querySelectorAll(s).forEach((function(e){return e.removeAttribute("aria-hidden")})));s=null},t.log=function(){0},t.assertNodeList=l,t.setElement=function(e){var t=e;if("string"==typeof t&&i.canUseDOM){var n=document.querySelectorAll(t);l(n,t),t=n}return s=t||s},t.validateElement=c,t.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var o,a=c(e)[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){o.value.setAttribute("aria-hidden","true")}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}},t.show=function(e){var t=!0,n=!1,r=void 0;try{for(var o,a=c(e)[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){o.value.removeAttribute("aria-hidden")}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}},t.documentNotReadyOrSSRTesting=function(){s=null};var r,o=n(191),a=(r=o)&&r.__esModule?r:{default:r},i=n(98);var s=null;function l(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function c(e){var t=e||s;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,a.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.log=function(){console.log("portalOpenInstances ----------"),console.log(o.openInstances.length),o.openInstances.forEach((function(e){return console.log(e)})),console.log("end portalOpenInstances ----------")},t.resetState=function(){o=new r};var r=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach((function(n){return n(e,t.openInstances.slice())}))},this.openInstances=[],this.subscribers=[]},o=new r;t.default=o},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return b})),n.d(t,"c",(function(){return y})),n.d(t,"d",(function(){return g}));var r=n(0),o=n.n(r),a=n(8),i=n(32);function s(){var e=o.a.useContext(Object(i.b)()).client;return Object(a.b)(e,33),e}var l=n(2),c=n(16),u=n(33),d=function(){function e(e,t){this.isMounted=!1,this.previousOptions={},this.context={},this.options={},this.options=e||{},this.context=t||{}}return e.prototype.getOptions=function(){return this.options},e.prototype.setOptions=function(e,t){void 0===t&&(t=!1),t&&!Object(c.a)(this.options,e)&&(this.previousOptions=this.options),this.options=e},e.prototype.unmount=function(){this.isMounted=!1},e.prototype.refreshClient=function(){var e=this.options&&this.options.client||this.context&&this.context.client;Object(a.b)(!!e,29);var t=!1;return e!==this.client&&(t=!0,this.client=e,this.cleanup()),{client:this.client,isNew:t}},e.prototype.verifyDocumentType=function(e,t){var n=Object(u.c)(e);Object(u.b)(t),Object(u.b)(n.type);Object(a.b)(n.type===t,30)},e}(),f=(function(e){function t(t){var n=t.options,r=t.context,o=t.setResult,a=e.call(this,n,r)||this;return a.currentObservable={},a.setResult=o,a.initialize(n),a}Object(l.c)(t,e),t.prototype.execute=function(e){if(!0===this.getOptions().skip)return this.cleanup(),{loading:!1,error:void 0,data:void 0,variables:this.getOptions().variables};var t=e;this.refreshClient().isNew&&(t=this.getLoadingResult());var n=this.getOptions().shouldResubscribe;return"function"==typeof n&&(n=!!n(this.getOptions())),!1!==n&&this.previousOptions&&Object.keys(this.previousOptions).length>0&&(this.previousOptions.subscription!==this.getOptions().subscription||!Object(c.a)(this.previousOptions.variables,this.getOptions().variables)||this.previousOptions.skip!==this.getOptions().skip)&&(this.cleanup(),t=this.getLoadingResult()),this.initialize(this.getOptions()),this.startSubscription(),this.previousOptions=this.getOptions(),Object(l.a)(Object(l.a)({},t),{variables:this.getOptions().variables})},t.prototype.afterExecute=function(){this.isMounted=!0},t.prototype.cleanup=function(){this.endSubscription(),delete this.currentObservable.query},t.prototype.initialize=function(e){this.currentObservable.query||!0===this.getOptions().skip||(this.currentObservable.query=this.refreshClient().client.subscribe({query:e.subscription,variables:e.variables,fetchPolicy:e.fetchPolicy,context:e.context}))},t.prototype.startSubscription=function(){this.currentObservable.subscription||(this.currentObservable.subscription=this.currentObservable.query.subscribe({next:this.updateCurrentData.bind(this),error:this.updateError.bind(this),complete:this.completeSubscription.bind(this)}))},t.prototype.getLoadingResult=function(){return{loading:!0,error:void 0,data:void 0}},t.prototype.updateResult=function(e){this.isMounted&&this.setResult(e)},t.prototype.updateCurrentData=function(e){var t=this.getOptions().onSubscriptionData;this.updateResult({data:e.data,loading:!1,error:void 0}),t&&t({client:this.refreshClient().client,subscriptionData:e})},t.prototype.updateError=function(e){this.updateResult({error:e,loading:!1})},t.prototype.completeSubscription=function(){var e=this;Promise.resolve().then((function(){var t=e.getOptions().onSubscriptionComplete;t&&t(),e.endSubscription()}))},t.prototype.endSubscription=function(){this.currentObservable.subscription&&(this.currentObservable.subscription.unsubscribe(),delete this.currentObservable.subscription)}}(d),n(28)),p=n(36),h=function(e){function t(t){var n=t.options,r=t.context,o=t.result,a=t.setResult,i=e.call(this,n,r)||this;return i.runMutation=function(e){void 0===e&&(e={}),i.onMutationStart();var t=i.generateNewMutationId();return i.mutate(e).then((function(e){return i.onMutationCompleted(e,t),e})).catch((function(e){if(i.onMutationError(e,t),!i.getOptions().onError)throw e}))},i.verifyDocumentType(n.mutation,u.a.Mutation),i.result=o,i.setResult=a,i.mostRecentMutationId=0,i}return Object(l.c)(t,e),t.prototype.execute=function(e){return this.isMounted=!0,this.verifyDocumentType(this.getOptions().mutation,u.a.Mutation),[this.runMutation,Object(l.a)(Object(l.a)({},e),{client:this.refreshClient().client})]},t.prototype.afterExecute=function(){return this.isMounted=!0,this.unmount.bind(this)},t.prototype.cleanup=function(){},t.prototype.mutate=function(e){return this.refreshClient().client.mutate(Object(p.mergeOptions)(this.getOptions(),e))},t.prototype.onMutationStart=function(){this.result.loading||this.getOptions().ignoreResults||this.updateResult({loading:!0,error:void 0,data:void 0,called:!0})},t.prototype.onMutationCompleted=function(e,t){var n=this.getOptions(),r=n.onCompleted,o=n.ignoreResults,a=e.data,i=e.errors,s=i&&i.length>0?new f.a({graphQLErrors:i}):void 0;this.isMostRecentMutation(t)&&!o&&this.updateResult({called:!0,loading:!1,data:a,error:s}),r&&r(a)},t.prototype.onMutationError=function(e,t){var n=this.getOptions().onError;this.isMostRecentMutation(t)&&this.updateResult({loading:!1,error:e,data:void 0,called:!0}),n&&n(e)},t.prototype.generateNewMutationId=function(){return++this.mostRecentMutationId},t.prototype.isMostRecentMutation=function(e){return this.mostRecentMutationId===e},t.prototype.updateResult=function(e){!this.isMounted||this.previousResult&&Object(c.a)(this.previousResult,e)||(this.setResult(e),this.previousResult=e)},t}(d),m=function(e){function t(t){var n=t.options,r=t.context,o=t.onNewData,a=e.call(this,n,r)||this;return a.runLazy=!1,a.previous=Object.create(null),a.runLazyQuery=function(e){a.cleanup(),a.runLazy=!0,a.lazyOptions=e,a.onNewData()},a.getQueryResult=function(){var e=a.observableQueryFields(),t=a.getOptions();if(t.skip)e=Object(l.a)(Object(l.a)({},e),{data:void 0,error:void 0,loading:!1,networkStatus:p.NetworkStatus.ready,called:!0});else if(a.currentObservable){var n=a.currentObservable.getCurrentResult(),r=n.data,o=n.loading,i=n.partial,s=n.networkStatus,c=n.errors,u=n.error;if(c&&c.length>0&&(u=new f.a({graphQLErrors:c})),e=Object(l.a)(Object(l.a)({},e),{data:r,loading:o,networkStatus:s,error:u,called:!0}),o);else if(u)Object.assign(e,{data:(a.currentObservable.getLastResult()||{}).data});else{var d=a.currentObservable.options.fetchPolicy;if(t.partialRefetch&&i&&(!r||0===Object.keys(r).length)&&"cache-only"!==d)return Object.assign(e,{loading:!0,networkStatus:p.NetworkStatus.loading}),e.refetch(),e}}e.client=a.client,a.setOptions(t,!0);var h=a.previous.result;return a.previous.loading=h&&h.loading||!1,e.previousData=h&&(h.data||h.previousData),a.previous.result=e,a.currentObservable&&a.currentObservable.resetQueryStoreErrors(),e},a.obsRefetch=function(e){var t;return null===(t=a.currentObservable)||void 0===t?void 0:t.refetch(e)},a.obsFetchMore=function(e){return a.currentObservable.fetchMore(e)},a.obsUpdateQuery=function(e){return a.currentObservable.updateQuery(e)},a.obsStartPolling=function(e){var t;null===(t=a.currentObservable)||void 0===t||t.startPolling(e)},a.obsStopPolling=function(){var e;null===(e=a.currentObservable)||void 0===e||e.stopPolling()},a.obsSubscribeToMore=function(e){return a.currentObservable.subscribeToMore(e)},a.onNewData=o,a}return Object(l.c)(t,e),t.prototype.execute=function(){this.refreshClient();var e=this.getOptions(),t=e.skip,n=e.query;return(t||n!==this.previous.query)&&(this.removeQuerySubscription(),this.removeObservable(!t),this.previous.query=n),this.updateObservableQuery(),this.isMounted&&this.startQuerySubscription(),this.getExecuteSsrResult()||this.getExecuteResult()},t.prototype.executeLazy=function(){return this.runLazy?[this.runLazyQuery,this.execute()]:[this.runLazyQuery,{loading:!1,networkStatus:p.NetworkStatus.ready,called:!1,data:void 0}]},t.prototype.fetchData=function(){var e=this,t=this.getOptions();return!t.skip&&!1!==t.ssr&&new Promise((function(t){return e.startQuerySubscription(t)}))},t.prototype.afterExecute=function(e){var t=(void 0===e?{}:e).lazy,n=void 0!==t&&t;return this.isMounted=!0,n&&!this.runLazy||this.handleErrorOrCompleted(),this.previousOptions=this.getOptions(),this.unmount.bind(this)},t.prototype.cleanup=function(){this.removeQuerySubscription(),this.removeObservable(!0),delete this.previous.result},t.prototype.getOptions=function(){var t=e.prototype.getOptions.call(this);return this.lazyOptions&&(t.variables=Object(l.a)(Object(l.a)({},t.variables),this.lazyOptions.variables),t.context=Object(l.a)(Object(l.a)({},t.context),this.lazyOptions.context)),this.runLazy&&delete t.skip,t},t.prototype.ssrInitiated=function(){return this.context&&this.context.renderPromises},t.prototype.getExecuteResult=function(){var e=this.getQueryResult();return this.startQuerySubscription(),e},t.prototype.getExecuteSsrResult=function(){var e=this.getOptions(),t=e.ssr,n=e.skip,r=!1===t,o=this.refreshClient().client.disableNetworkFetches,a=Object(l.a)({loading:!0,networkStatus:p.NetworkStatus.loading,called:!0,data:void 0,stale:!1,client:this.client},this.observableQueryFields());if(r&&(this.ssrInitiated()||o))return this.previous.result=a,a;if(this.ssrInitiated()){var i=this.getQueryResult()||a;return i.loading&&!n&&this.context.renderPromises.addQueryPromise(this,(function(){return null})),i}},t.prototype.prepareObservableQueryOptions=function(){var e=this.getOptions();this.verifyDocumentType(e.query,u.a.Query);var t=e.displayName||"Query";return!this.ssrInitiated()||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e.fetchPolicy="cache-first"),Object(l.a)(Object(l.a)({},e),{displayName:t,context:e.context})},t.prototype.initializeObservableQuery=function(){if(this.ssrInitiated()&&(this.currentObservable=this.context.renderPromises.getSSRObservable(this.getOptions())),!this.currentObservable){var e=this.prepareObservableQueryOptions();this.previous.observableQueryOptions=Object(l.a)(Object(l.a)({},e),{children:null}),this.currentObservable=this.refreshClient().client.watchQuery(Object(l.a)({},e)),this.ssrInitiated()&&this.context.renderPromises.registerSSRObservable(this.currentObservable,e)}},t.prototype.updateObservableQuery=function(){if(this.currentObservable){if(!this.getOptions().skip){var e=Object(l.a)(Object(l.a)({},this.prepareObservableQueryOptions()),{children:null});Object(c.a)(e,this.previous.observableQueryOptions)||(this.previous.observableQueryOptions=e,this.currentObservable.setOptions(e).catch((function(){})))}}else this.initializeObservableQuery()},t.prototype.startQuerySubscription=function(e){var t=this;void 0===e&&(e=this.onNewData),this.currentSubscription||this.getOptions().skip||(this.currentSubscription=this.currentObservable.subscribe({next:function(n){var r=n.loading,o=n.networkStatus,a=n.data,i=t.previous.result;i&&i.loading===r&&i.networkStatus===o&&Object(c.a)(i.data,a)||e()},error:function(n){if(t.resubscribeToQuery(),!n.hasOwnProperty("graphQLErrors"))throw n;var r=t.previous.result;(r&&r.loading||!Object(c.a)(n,t.previous.error))&&(t.previous.error=n,e())}}))},t.prototype.resubscribeToQuery=function(){this.removeQuerySubscription();var e=this.currentObservable;if(e){var t=e.getLastError(),n=e.getLastResult();e.resetLastResults(),this.startQuerySubscription(),Object.assign(e,{lastError:t,lastResult:n})}},t.prototype.handleErrorOrCompleted=function(){if(this.currentObservable&&this.previous.result){var e=this.previous.result,t=e.data,n=e.loading,r=e.error;if(!n){var o=this.getOptions(),a=o.query,i=o.variables,s=o.onCompleted,l=o.onError,u=o.skip;if(this.previousOptions&&!this.previous.loading&&Object(c.a)(this.previousOptions.query,a)&&Object(c.a)(this.previousOptions.variables,i))return;!s||r||u?l&&r&&l(r):s(t)}}},t.prototype.removeQuerySubscription=function(){this.currentSubscription&&(this.currentSubscription.unsubscribe(),delete this.currentSubscription)},t.prototype.removeObservable=function(e){this.currentObservable&&(this.currentObservable.tearDownQuery(),e&&delete this.currentObservable)},t.prototype.observableQueryFields=function(){var e;return{variables:null===(e=this.currentObservable)||void 0===e?void 0:e.variables,refetch:this.obsRefetch,fetchMore:this.obsFetchMore,updateQuery:this.obsUpdateQuery,startPolling:this.obsStartPolling,stopPolling:this.obsStopPolling,subscribeToMore:this.obsSubscribeToMore}},t}(d);function v(e,t,n){void 0===n&&(n=!1);var o=Object(r.useContext)(Object(i.b)()),a=Object(r.useReducer)((function(e){return e+1}),0),s=a[0],u=a[1],d=t?Object(l.a)(Object(l.a)({},t),{query:e}):{query:e},f=Object(r.useRef)(),p=f.current||(f.current=new m({options:d,context:o,onNewData:function(){p.ssrInitiated()?u():Promise.resolve().then((function(){return f.current&&u()}))}}));p.setOptions(d),p.context=o;var h,v,b,y={options:Object(l.a)(Object(l.a)({},d),{onError:void 0,onCompleted:void 0}),context:o,tick:s},g=(h=function(){return n?p.executeLazy():p.execute()},v=y,(b=Object(r.useRef)()).current&&Object(c.a)(v,b.current.key)||(b.current={key:v,value:h()}),b.current.value),_=n?g[1]:g;return Object(r.useEffect)((function(){return function(){return p.cleanup()}}),[]),Object(r.useEffect)((function(){return p.afterExecute({lazy:n})}),[_.loading,_.networkStatus,_.error,_.data]),g}function b(e,t){return v(e,t,!0)}function y(e,t){var n=Object(r.useContext)(Object(i.b)()),o=Object(r.useState)({called:!1,loading:!1}),a=o[0],s=o[1],c=t?Object(l.a)(Object(l.a)({},t),{mutation:e}):{mutation:e},u=Object(r.useRef)();var d=(u.current||(u.current=new h({options:c,context:n,result:a,setResult:s})),u.current);return d.setOptions(c),d.context=n,Object(r.useEffect)((function(){return d.afterExecute()})),d.execute(a)}function g(e,t){return v(e,t,!1)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return N}));var r,o,a=n(2),i=(n(180),n(25)),s=n(85),l=n(57),c=n(6),u=n(8),d=n(16),f=n(15),p=Object.create(null),h=function(){return p},m=Object.create(null),v=function(){function e(e,t){var n=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return Object(c.F)(Object(c.C)(e)?n.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return Object(c.C)(e)?n.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return Object(c.E)(e);if(Object(c.C)(e))return e;var r=n.policies.identify(e)[0];if(r){var o=Object(c.E)(r);return t&&n.merge(r,e),o}}}return e.prototype.toObject=function(){return Object(a.a)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),f.c.call(this.data,e)){var n=this.data[e];if(n&&f.c.call(n,t))return n[t]}return"__typename"===t&&f.c.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof g?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),f.c.call(this.data,e)?this.data[e]:this instanceof g?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var n=this,r=this.lookup(e),o=new c.b(_).merge(r,t);if(this.data[e]=o,o!==r&&(delete this.refs[e],this.group.caching)){var a=Object.create(null);r||(a.__exists=1),Object.keys(t).forEach((function(e){if(!r||r[e]!==o[e]){a[e]=1;var t=Object(f.b)(e);t===e||n.policies.hasKeyArgs(o.__typename,t)||(a[t]=1),void 0!==o[e]||n instanceof g||delete o[e]}})),Object.keys(a).forEach((function(t){return n.group.dirty(e,t)}))}},e.prototype.modify=function(e,t){var n=this,r=this.lookup(e);if(r){var o=Object.create(null),i=!1,s=!0,l={DELETE:p,INVALIDATE:m,isReference:c.C,toReference:this.toReference,canRead:this.canRead,readField:function(t,r){return n.policies.readField("string"==typeof t?{fieldName:t,from:r||Object(c.E)(e)}:t,{store:n})}};if(Object.keys(r).forEach((function(u){var d=Object(f.b)(u),v=r[u];if(void 0!==v){var b="function"==typeof t?t:t[u]||t[d];if(b){var y=b===h?p:b(Object(c.F)(v),Object(a.a)(Object(a.a)({},l),{fieldName:d,storeFieldName:u,storage:n.getStorage(e,u)}));y===m?n.group.dirty(e,u):(y===p&&(y=void 0),y!==v&&(o[u]=y,i=!0,v=y))}void 0!==v&&(s=!1)}})),i)return this.merge(e,o),s&&(this instanceof g?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,n){var r,o=this.lookup(e);if(o){var a=this.getFieldValue(o,"__typename"),i=t&&n?this.policies.getStoreFieldName({typename:a,fieldName:t,args:n}):t;return this.modify(e,i?((r={})[i]=h,r):h)}return!1},e.prototype.evict=function(e){var t=!1;return e.id&&(f.c.call(this.data,e.id)&&(t=this.delete(e.id,e.fieldName,e.args)),this instanceof g&&(t=this.parent.evict(e)||t),(e.fieldName||t)&&this.group.dirty(e.id,e.fieldName||"__exists")),t},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),n=[];return this.getRootIdSet().forEach((function(t){f.c.call(e.policies.rootTypenamesById,t)||n.push(t)})),n.length&&(t.__META={extraRootIds:n.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach((function(n){e&&f.c.call(e,n)||t.delete(n)})),e){var n=e.__META,r=Object(a.e)(e,["__META"]);Object.keys(r).forEach((function(e){t.merge(e,r[e])})),n&&n.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof g?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),n=this.toObject();t.forEach((function(r){f.c.call(n,r)&&(Object.keys(e.findChildRefIds(r)).forEach(t.add,t),delete n[r])}));var r=Object.keys(n);if(r.length){for(var o=this;o instanceof g;)o=o.parent;r.forEach((function(e){return o.delete(e)}))}return r},e.prototype.findChildRefIds=function(e){if(!f.c.call(this.refs,e)){var t=this.refs[e]=Object.create(null),n=new Set([this.data[e]]),r=function(e){return null!==e&&"object"==typeof e};n.forEach((function(e){Object(c.C)(e)?t[e.__ref]=!0:r(e)&&Object.values(e).filter(r).forEach(n.add,n)}))}return this.refs[e]},e.prototype.makeCacheKey=function(){for(var e=[],t=0;t0;if(f&&!l)throw d.missing[0];return{result:d.result,missing:d.missing,complete:!f}},e.prototype.isFresh=function(e,t,n,r){if(O(r.store)&&this.knownResults.get(e)===n){var o=this.executeSelectionSet.peek(n,t,r);if(o&&e===o.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,n=e.selectionSet,r=e.objectOrReference,o=e.context;if(Object(c.C)(r)&&!o.policies.rootTypenamesById[r.__ref]&&!o.store.has(r.__ref))return{result:{},missing:[S(new u.a(4),o)]};var a=o.variables,i=o.policies,s=o.store,l=[],d={result:null},f=s.getFieldValue(r,"__typename");function p(){return d.missing||(d.missing=[])}function h(e){var t;return e.missing&&(t=p()).push.apply(t,e.missing),e.result}this.config.addTypename&&"string"==typeof f&&!i.rootIdsByTypename[f]&&l.push({__typename:f});var m=new Set(n.selections);return m.forEach((function(e){var n;if(Object(c.L)(e,a))if(Object(c.z)(e)){var s=i.readField({fieldName:e.name.value,field:e,variables:o.variables,from:r},o),d=Object(c.K)(e);o.path.push(d);var v=o.clientOnly;o.clientOnly=v||!(!e.directives||!e.directives.some((function(e){return"client"===e.name.value}))),void 0===s?c.d.added(e)||p().push(S(new u.a(5),o)):Array.isArray(s)?s=h(t.executeSubSelectedArray({field:e,array:s,context:o})):e.selectionSet&&null!=s&&(s=h(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:s,context:o}))),void 0!==s&&l.push(((n={})[d]=s,n)),o.clientOnly=v,Object(u.b)(o.path.pop()===d)}else{var b=Object(c.o)(e,o.fragmentMap);b&&i.fragmentMatches(b,f)&&b.selectionSet.selections.forEach(m.add,m)}})),d.result=Object(c.H)(l),this.knownResults.set(d.result,n),d},e.prototype.execSubSelectedArrayImpl=function(e){var t,n=this,r=e.field,o=e.array,a=e.context;function i(e,n){return e.missing&&(t=t||[]).push.apply(t,e.missing),Object(u.b)(a.path.pop()===n),e.result}return r.selectionSet&&(o=o.filter(a.store.canRead)),{result:o=o.map((function(e,t){return null===e?null:(a.path.push(t),Array.isArray(e)?i(n.executeSubSelectedArray({field:r,array:e,context:a}),t):r.selectionSet?i(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:e,context:a}),t):(Object(u.b)(a.path.pop()===t),e))})),missing:t}},e}();var w=function(){function e(e,t){this.cache=e,this.reader=t}return e.prototype.writeToStore=function(e){var t=e.query,n=e.result,r=e.dataId,o=e.store,i=e.variables,s=Object(c.r)(t),l=Object(f.d)();i=Object(a.a)(Object(a.a)({},Object(c.m)(s)),i);var d=this.processSelectionSet({result:n||Object.create(null),dataId:r,selectionSet:s.selectionSet,mergeTree:{map:new Map},context:{store:o,written:Object.create(null),merge:function(e,t){return l.merge(e,t)},variables:i,varString:JSON.stringify(i),fragmentMap:Object(c.k)(Object(c.n)(t))}});if(!Object(c.C)(d))throw new u.a(7);return o.retain(d.__ref),d},e.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,r=e.result,o=e.selectionSet,a=e.context,i=e.mergeTree,s=this.cache.policies,l=s.identify(r,o,a.fragmentMap),d=l[0],f=l[1];if("string"==typeof(n=n||d)){var p=a.written[n]||(a.written[n]=[]),h=Object(c.E)(n);if(p.indexOf(o)>=0)return h;if(p.push(o),this.reader&&this.reader.isFresh(r,h,o,a))return h}var m=Object.create(null);f&&(m=a.merge(m,f));var v=n&&s.rootTypenamesById[n]||Object(c.v)(r,o,a.fragmentMap)||n&&a.store.get(n,"__typename");"string"==typeof v&&(m.__typename=v);var b=new Set(o.selections);if(b.forEach((function(e){var n;if(Object(c.L)(e,a.variables))if(Object(c.z)(e)){var o=Object(c.K)(e),l=r[o];if(void 0!==l){var d=s.getStoreFieldName({typename:v,fieldName:e.name.value,field:e,variables:a.variables}),f=T(i,d),p=t.processFieldValue(l,e,a,f),h=e.selectionSet&&a.store.getFieldValue(p,"__typename")||void 0,y=s.getMergeFunction(v,e.name.value,h);y?f.info={field:e,typename:v,merge:y}:A(i,d),m=a.merge(m,((n={})[d]=p,n))}else if(s.usingPossibleTypes&&!Object(c.y)(["defer","client"],e))throw new u.a(8)}else{var g=Object(c.o)(e,a.fragmentMap);g&&s.fragmentMatches(g,v,r,a.variables)&&g.selectionSet.selections.forEach(b.add,b)}})),"string"==typeof n){var y=Object(c.E)(n);return i.map.size&&(m=this.applyMerges(i,y,m,a)),a.store.merge(n,m),y}return m},e.prototype.processFieldValue=function(e,t,n,r){var o=this;return t.selectionSet&&null!==e?Array.isArray(e)?e.map((function(e,a){var i=o.processFieldValue(e,t,n,T(r,a));return A(r,a),i})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r}):e},e.prototype.applyMerges=function(e,t,n,r,o){var i,s=this;if(e.map.size&&!Object(c.C)(n)){var l,d=Array.isArray(n)||!Object(c.C)(t)&&!Object(f.f)(t)?void 0:t,p=n;d&&!o&&(o=[Object(c.C)(d)?d.__ref:d]);var h=function(e,t){return Array.isArray(e)?"number"==typeof t?e[t]:void 0:r.store.getFieldValue(e,String(t))};e.map.forEach((function(e,t){o&&o.push(t);var n=h(d,t),a=h(p,t),i=s.applyMerges(e,n,a,r,o);i!==a&&(l=l||new Map).set(t,i),o&&Object(u.b)(o.pop()===t)})),l&&(n=Array.isArray(p)?p.slice(0):Object(a.a)({},p),l.forEach((function(e,t){n[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,r,o&&(i=r.store).getStorage.apply(i,o)):n},e}(),C=[];function T(e,t){var n=e.map;return n.has(t)||n.set(t,C.pop()||{map:new Map}),n.get(t)}function A(e,t){var n=e.map,r=n.get(t);!r||r.info||r.map.size||(C.push(r),n.delete(t))}new Set;var j=n(43),k=n(73),I={dataIdFromObject:k.b,addTypename:!0,resultCaching:!0,typePolicies:{}},N=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n.watches=new Set,n.typenameDocumentCache=new Map,n.makeVar=j.c,n.txCount=0,n.maybeBroadcastWatch=Object(i.c)((function(e,t){return n.broadcastWatch.call(n,e,!!t)}),{makeCacheKey:function(e){var t=e.optimistic?n.optimisticData:n.data;if(O(t)){var r=e.optimistic,o=e.rootId,a=e.variables;return t.makeCacheKey(e.query,e.callback,JSON.stringify({optimistic:r,rootId:o,variables:a}))}}}),n.watchDep=Object(i.b)(),n.config=Object(a.a)(Object(a.a)({},I),t),n.addTypename=!!n.config.addTypename,n.policies=new k.a({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.data=new v.Root({policies:n.policies,resultCaching:n.config.resultCaching}),n.optimisticData=n.data,n.storeWriter=new w(n,n.storeReader=new E({cache:n,addTypename:n.addTypename})),n}return Object(a.c)(t,e),t.prototype.restore=function(e){return e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData,n=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,query:e.query,variables:e.variables,rootId:e.rootId,config:this.config,returnPartialData:n}).result||null}catch(e){if(e instanceof l.a)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore({store:this.data,query:e.query,result:e.result,dataId:e.dataId,variables:e.variables})}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(f.c.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",query:e.query,variables:e.variables,returnPartialData:e.returnPartialData,config:this.config})},t.prototype.watch=function(e){var t=this;return this.watches.size||Object(j.d)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&Object(j.b)(t),t.watchDep.dirty(e),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(){return this.optimisticData.gc()},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){return Object(c.C)(e)?e.__ref:this.policies.identify(e)[0]},t.prototype.evict=function(e){if(!e.id){if(f.c.call(e,"id"))return!1;e=Object(a.a)(Object(a.a)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(){return this.data.clear(),this.optimisticData=this.data,this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.performTransaction=function(e,t){var n=this,r=function(t){var r=n,o=r.data,a=r.optimisticData;++n.txCount,t&&(n.data=n.optimisticData=t);try{e(n)}finally{--n.txCount,n.data=o,n.optimisticData=a}},o=!1;"string"==typeof t?(this.optimisticData=this.optimisticData.addLayer(t,r),o=!0):null===t?r(this.data):r(),this.broadcastWatches(o)},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=Object(c.d)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach((function(n){return t.maybeBroadcastWatch(n,e)}))},t.prototype.broadcastWatch=function(e,t){this.watchDep.dirty(e),this.watchDep(e);var n=this.diff({query:e.query,variables:e.variables,optimistic:e.optimistic});e.optimistic&&t&&(n.fromOptimisticTransaction=!0),e.callback(n)},t}(s.a)},function(e,t,n){e.exports={assetLabel:"AssetLabel-module__assetLabel___2rfw5"}},function(e,t,n){e.exports={column:"Column-module__column___cpjnR"}},function(e,t,n){e.exports={propertyList:"PropertyList-module__propertyList___3_UWx"}},function(e,t,n){e.exports={iconStack:"IconStack-module__iconStack___19OCl"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})); +var r=/input|select|textarea|button|object|iframe/;function o(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var n=window.getComputedStyle(e),r=n.getPropertyValue("display");return t?"contents"!==r&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,n):"none"===r}catch(e){return console.warn("Failed to inspect element style"),!1}}function a(e,t){var n=e.nodeName.toLowerCase();return(r.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),o(t))return!1;t=t.parentNode}return!0}(e)}function i(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&a(e,!n)}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){s&&(s.removeAttribute?s.removeAttribute("aria-hidden"):null!=s.length?s.forEach((function(e){return e.removeAttribute("aria-hidden")})):document.querySelectorAll(s).forEach((function(e){return e.removeAttribute("aria-hidden")})));s=null},t.log=function(){0},t.assertNodeList=l,t.setElement=function(e){var t=e;if("string"==typeof t&&i.canUseDOM){var n=document.querySelectorAll(t);l(n,t),t=n}return s=t||s},t.validateElement=c,t.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var o,a=c(e)[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){o.value.setAttribute("aria-hidden","true")}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}},t.show=function(e){var t=!0,n=!1,r=void 0;try{for(var o,a=c(e)[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){o.value.removeAttribute("aria-hidden")}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}},t.documentNotReadyOrSSRTesting=function(){s=null};var r,o=n(191),a=(r=o)&&r.__esModule?r:{default:r},i=n(100);var s=null;function l(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function c(e){var t=e||s;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,a.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.log=function(){console.log("portalOpenInstances ----------"),console.log(o.openInstances.length),o.openInstances.forEach((function(e){return console.log(e)})),console.log("end portalOpenInstances ----------")},t.resetState=function(){o=new r};var r=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach((function(n){return n(e,t.openInstances.slice())}))},this.openInstances=[],this.subscribers=[]},o=new r;t.default=o},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return b})),n.d(t,"c",(function(){return y})),n.d(t,"d",(function(){return g}));var r=n(0),o=n.n(r),a=n(8),i=n(32);function s(){var e=o.a.useContext(Object(i.b)()).client;return Object(a.b)(e,33),e}var l=n(2),c=n(16),u=n(33),d=function(){function e(e,t){this.isMounted=!1,this.previousOptions={},this.context={},this.options={},this.options=e||{},this.context=t||{}}return e.prototype.getOptions=function(){return this.options},e.prototype.setOptions=function(e,t){void 0===t&&(t=!1),t&&!Object(c.a)(this.options,e)&&(this.previousOptions=this.options),this.options=e},e.prototype.unmount=function(){this.isMounted=!1},e.prototype.refreshClient=function(){var e=this.options&&this.options.client||this.context&&this.context.client;Object(a.b)(!!e,29);var t=!1;return e!==this.client&&(t=!0,this.client=e,this.cleanup()),{client:this.client,isNew:t}},e.prototype.verifyDocumentType=function(e,t){var n=Object(u.c)(e);Object(u.b)(t),Object(u.b)(n.type);Object(a.b)(n.type===t,30)},e}(),f=(function(e){function t(t){var n=t.options,r=t.context,o=t.setResult,a=e.call(this,n,r)||this;return a.currentObservable={},a.setResult=o,a.initialize(n),a}Object(l.c)(t,e),t.prototype.execute=function(e){if(!0===this.getOptions().skip)return this.cleanup(),{loading:!1,error:void 0,data:void 0,variables:this.getOptions().variables};var t=e;this.refreshClient().isNew&&(t=this.getLoadingResult());var n=this.getOptions().shouldResubscribe;return"function"==typeof n&&(n=!!n(this.getOptions())),!1!==n&&this.previousOptions&&Object.keys(this.previousOptions).length>0&&(this.previousOptions.subscription!==this.getOptions().subscription||!Object(c.a)(this.previousOptions.variables,this.getOptions().variables)||this.previousOptions.skip!==this.getOptions().skip)&&(this.cleanup(),t=this.getLoadingResult()),this.initialize(this.getOptions()),this.startSubscription(),this.previousOptions=this.getOptions(),Object(l.a)(Object(l.a)({},t),{variables:this.getOptions().variables})},t.prototype.afterExecute=function(){this.isMounted=!0},t.prototype.cleanup=function(){this.endSubscription(),delete this.currentObservable.query},t.prototype.initialize=function(e){this.currentObservable.query||!0===this.getOptions().skip||(this.currentObservable.query=this.refreshClient().client.subscribe({query:e.subscription,variables:e.variables,fetchPolicy:e.fetchPolicy,context:e.context}))},t.prototype.startSubscription=function(){this.currentObservable.subscription||(this.currentObservable.subscription=this.currentObservable.query.subscribe({next:this.updateCurrentData.bind(this),error:this.updateError.bind(this),complete:this.completeSubscription.bind(this)}))},t.prototype.getLoadingResult=function(){return{loading:!0,error:void 0,data:void 0}},t.prototype.updateResult=function(e){this.isMounted&&this.setResult(e)},t.prototype.updateCurrentData=function(e){var t=this.getOptions().onSubscriptionData;this.updateResult({data:e.data,loading:!1,error:void 0}),t&&t({client:this.refreshClient().client,subscriptionData:e})},t.prototype.updateError=function(e){this.updateResult({error:e,loading:!1})},t.prototype.completeSubscription=function(){var e=this;Promise.resolve().then((function(){var t=e.getOptions().onSubscriptionComplete;t&&t(),e.endSubscription()}))},t.prototype.endSubscription=function(){this.currentObservable.subscription&&(this.currentObservable.subscription.unsubscribe(),delete this.currentObservable.subscription)}}(d),n(28)),p=n(36),h=function(e){function t(t){var n=t.options,r=t.context,o=t.result,a=t.setResult,i=e.call(this,n,r)||this;return i.runMutation=function(e){void 0===e&&(e={}),i.onMutationStart();var t=i.generateNewMutationId();return i.mutate(e).then((function(e){return i.onMutationCompleted(e,t),e})).catch((function(e){if(i.onMutationError(e,t),!i.getOptions().onError)throw e}))},i.verifyDocumentType(n.mutation,u.a.Mutation),i.result=o,i.setResult=a,i.mostRecentMutationId=0,i}return Object(l.c)(t,e),t.prototype.execute=function(e){return this.isMounted=!0,this.verifyDocumentType(this.getOptions().mutation,u.a.Mutation),[this.runMutation,Object(l.a)(Object(l.a)({},e),{client:this.refreshClient().client})]},t.prototype.afterExecute=function(){return this.isMounted=!0,this.unmount.bind(this)},t.prototype.cleanup=function(){},t.prototype.mutate=function(e){return this.refreshClient().client.mutate(Object(p.mergeOptions)(this.getOptions(),e))},t.prototype.onMutationStart=function(){this.result.loading||this.getOptions().ignoreResults||this.updateResult({loading:!0,error:void 0,data:void 0,called:!0})},t.prototype.onMutationCompleted=function(e,t){var n=this.getOptions(),r=n.onCompleted,o=n.ignoreResults,a=e.data,i=e.errors,s=i&&i.length>0?new f.a({graphQLErrors:i}):void 0;this.isMostRecentMutation(t)&&!o&&this.updateResult({called:!0,loading:!1,data:a,error:s}),r&&r(a)},t.prototype.onMutationError=function(e,t){var n=this.getOptions().onError;this.isMostRecentMutation(t)&&this.updateResult({loading:!1,error:e,data:void 0,called:!0}),n&&n(e)},t.prototype.generateNewMutationId=function(){return++this.mostRecentMutationId},t.prototype.isMostRecentMutation=function(e){return this.mostRecentMutationId===e},t.prototype.updateResult=function(e){!this.isMounted||this.previousResult&&Object(c.a)(this.previousResult,e)||(this.setResult(e),this.previousResult=e)},t}(d),m=function(e){function t(t){var n=t.options,r=t.context,o=t.onNewData,a=e.call(this,n,r)||this;return a.runLazy=!1,a.previous=Object.create(null),a.runLazyQuery=function(e){a.cleanup(),a.runLazy=!0,a.lazyOptions=e,a.onNewData()},a.getQueryResult=function(){var e=a.observableQueryFields(),t=a.getOptions();if(t.skip)e=Object(l.a)(Object(l.a)({},e),{data:void 0,error:void 0,loading:!1,networkStatus:p.NetworkStatus.ready,called:!0});else if(a.currentObservable){var n=a.currentObservable.getCurrentResult(),r=n.data,o=n.loading,i=n.partial,s=n.networkStatus,c=n.errors,u=n.error;if(c&&c.length>0&&(u=new f.a({graphQLErrors:c})),e=Object(l.a)(Object(l.a)({},e),{data:r,loading:o,networkStatus:s,error:u,called:!0}),o);else if(u)Object.assign(e,{data:(a.currentObservable.getLastResult()||{}).data});else{var d=a.currentObservable.options.fetchPolicy;if(t.partialRefetch&&i&&(!r||0===Object.keys(r).length)&&"cache-only"!==d)return Object.assign(e,{loading:!0,networkStatus:p.NetworkStatus.loading}),e.refetch(),e}}e.client=a.client,a.setOptions(t,!0);var h=a.previous.result;return a.previous.loading=h&&h.loading||!1,e.previousData=h&&(h.data||h.previousData),a.previous.result=e,a.currentObservable&&a.currentObservable.resetQueryStoreErrors(),e},a.obsRefetch=function(e){var t;return null===(t=a.currentObservable)||void 0===t?void 0:t.refetch(e)},a.obsFetchMore=function(e){return a.currentObservable.fetchMore(e)},a.obsUpdateQuery=function(e){return a.currentObservable.updateQuery(e)},a.obsStartPolling=function(e){var t;null===(t=a.currentObservable)||void 0===t||t.startPolling(e)},a.obsStopPolling=function(){var e;null===(e=a.currentObservable)||void 0===e||e.stopPolling()},a.obsSubscribeToMore=function(e){return a.currentObservable.subscribeToMore(e)},a.onNewData=o,a}return Object(l.c)(t,e),t.prototype.execute=function(){this.refreshClient();var e=this.getOptions(),t=e.skip,n=e.query;return(t||n!==this.previous.query)&&(this.removeQuerySubscription(),this.removeObservable(!t),this.previous.query=n),this.updateObservableQuery(),this.isMounted&&this.startQuerySubscription(),this.getExecuteSsrResult()||this.getExecuteResult()},t.prototype.executeLazy=function(){return this.runLazy?[this.runLazyQuery,this.execute()]:[this.runLazyQuery,{loading:!1,networkStatus:p.NetworkStatus.ready,called:!1,data:void 0}]},t.prototype.fetchData=function(){var e=this,t=this.getOptions();return!t.skip&&!1!==t.ssr&&new Promise((function(t){return e.startQuerySubscription(t)}))},t.prototype.afterExecute=function(e){var t=(void 0===e?{}:e).lazy,n=void 0!==t&&t;return this.isMounted=!0,n&&!this.runLazy||this.handleErrorOrCompleted(),this.previousOptions=this.getOptions(),this.unmount.bind(this)},t.prototype.cleanup=function(){this.removeQuerySubscription(),this.removeObservable(!0),delete this.previous.result},t.prototype.getOptions=function(){var t=e.prototype.getOptions.call(this);return this.lazyOptions&&(t.variables=Object(l.a)(Object(l.a)({},t.variables),this.lazyOptions.variables),t.context=Object(l.a)(Object(l.a)({},t.context),this.lazyOptions.context)),this.runLazy&&delete t.skip,t},t.prototype.ssrInitiated=function(){return this.context&&this.context.renderPromises},t.prototype.getExecuteResult=function(){var e=this.getQueryResult();return this.startQuerySubscription(),e},t.prototype.getExecuteSsrResult=function(){var e=this.getOptions(),t=e.ssr,n=e.skip,r=!1===t,o=this.refreshClient().client.disableNetworkFetches,a=Object(l.a)({loading:!0,networkStatus:p.NetworkStatus.loading,called:!0,data:void 0,stale:!1,client:this.client},this.observableQueryFields());if(r&&(this.ssrInitiated()||o))return this.previous.result=a,a;if(this.ssrInitiated()){var i=this.getQueryResult()||a;return i.loading&&!n&&this.context.renderPromises.addQueryPromise(this,(function(){return null})),i}},t.prototype.prepareObservableQueryOptions=function(){var e=this.getOptions();this.verifyDocumentType(e.query,u.a.Query);var t=e.displayName||"Query";return!this.ssrInitiated()||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e.fetchPolicy="cache-first"),Object(l.a)(Object(l.a)({},e),{displayName:t,context:e.context})},t.prototype.initializeObservableQuery=function(){if(this.ssrInitiated()&&(this.currentObservable=this.context.renderPromises.getSSRObservable(this.getOptions())),!this.currentObservable){var e=this.prepareObservableQueryOptions();this.previous.observableQueryOptions=Object(l.a)(Object(l.a)({},e),{children:null}),this.currentObservable=this.refreshClient().client.watchQuery(Object(l.a)({},e)),this.ssrInitiated()&&this.context.renderPromises.registerSSRObservable(this.currentObservable,e)}},t.prototype.updateObservableQuery=function(){if(this.currentObservable){if(!this.getOptions().skip){var e=Object(l.a)(Object(l.a)({},this.prepareObservableQueryOptions()),{children:null});Object(c.a)(e,this.previous.observableQueryOptions)||(this.previous.observableQueryOptions=e,this.currentObservable.setOptions(e).catch((function(){})))}}else this.initializeObservableQuery()},t.prototype.startQuerySubscription=function(e){var t=this;void 0===e&&(e=this.onNewData),this.currentSubscription||this.getOptions().skip||(this.currentSubscription=this.currentObservable.subscribe({next:function(n){var r=n.loading,o=n.networkStatus,a=n.data,i=t.previous.result;i&&i.loading===r&&i.networkStatus===o&&Object(c.a)(i.data,a)||e()},error:function(n){if(t.resubscribeToQuery(),!n.hasOwnProperty("graphQLErrors"))throw n;var r=t.previous.result;(r&&r.loading||!Object(c.a)(n,t.previous.error))&&(t.previous.error=n,e())}}))},t.prototype.resubscribeToQuery=function(){this.removeQuerySubscription();var e=this.currentObservable;if(e){var t=e.getLastError(),n=e.getLastResult();e.resetLastResults(),this.startQuerySubscription(),Object.assign(e,{lastError:t,lastResult:n})}},t.prototype.handleErrorOrCompleted=function(){if(this.currentObservable&&this.previous.result){var e=this.previous.result,t=e.data,n=e.loading,r=e.error;if(!n){var o=this.getOptions(),a=o.query,i=o.variables,s=o.onCompleted,l=o.onError,u=o.skip;if(this.previousOptions&&!this.previous.loading&&Object(c.a)(this.previousOptions.query,a)&&Object(c.a)(this.previousOptions.variables,i))return;!s||r||u?l&&r&&l(r):s(t)}}},t.prototype.removeQuerySubscription=function(){this.currentSubscription&&(this.currentSubscription.unsubscribe(),delete this.currentSubscription)},t.prototype.removeObservable=function(e){this.currentObservable&&(this.currentObservable.tearDownQuery(),e&&delete this.currentObservable)},t.prototype.observableQueryFields=function(){var e;return{variables:null===(e=this.currentObservable)||void 0===e?void 0:e.variables,refetch:this.obsRefetch,fetchMore:this.obsFetchMore,updateQuery:this.obsUpdateQuery,startPolling:this.obsStartPolling,stopPolling:this.obsStopPolling,subscribeToMore:this.obsSubscribeToMore}},t}(d);function v(e,t,n){void 0===n&&(n=!1);var o=Object(r.useContext)(Object(i.b)()),a=Object(r.useReducer)((function(e){return e+1}),0),s=a[0],u=a[1],d=t?Object(l.a)(Object(l.a)({},t),{query:e}):{query:e},f=Object(r.useRef)(),p=f.current||(f.current=new m({options:d,context:o,onNewData:function(){p.ssrInitiated()?u():Promise.resolve().then((function(){return f.current&&u()}))}}));p.setOptions(d),p.context=o;var h,v,b,y={options:Object(l.a)(Object(l.a)({},d),{onError:void 0,onCompleted:void 0}),context:o,tick:s},g=(h=function(){return n?p.executeLazy():p.execute()},v=y,(b=Object(r.useRef)()).current&&Object(c.a)(v,b.current.key)||(b.current={key:v,value:h()}),b.current.value),_=n?g[1]:g;return Object(r.useEffect)((function(){return function(){return p.cleanup()}}),[]),Object(r.useEffect)((function(){return p.afterExecute({lazy:n})}),[_.loading,_.networkStatus,_.error,_.data]),g}function b(e,t){return v(e,t,!0)}function y(e,t){var n=Object(r.useContext)(Object(i.b)()),o=Object(r.useState)({called:!1,loading:!1}),a=o[0],s=o[1],c=t?Object(l.a)(Object(l.a)({},t),{mutation:e}):{mutation:e},u=Object(r.useRef)();var d=(u.current||(u.current=new h({options:c,context:n,result:a,setResult:s})),u.current);return d.setOptions(c),d.context=n,Object(r.useEffect)((function(){return d.afterExecute()})),d.execute(a)}function g(e,t){return v(e,t,!1)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return N}));var r,o,a=n(2),i=(n(180),n(25)),s=n(87),l=n(57),c=n(6),u=n(8),d=n(16),f=n(15),p=Object.create(null),h=function(){return p},m=Object.create(null),v=function(){function e(e,t){var n=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return Object(c.F)(Object(c.C)(e)?n.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return Object(c.C)(e)?n.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return Object(c.E)(e);if(Object(c.C)(e))return e;var r=n.policies.identify(e)[0];if(r){var o=Object(c.E)(r);return t&&n.merge(r,e),o}}}return e.prototype.toObject=function(){return Object(a.a)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),f.c.call(this.data,e)){var n=this.data[e];if(n&&f.c.call(n,t))return n[t]}return"__typename"===t&&f.c.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof g?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),f.c.call(this.data,e)?this.data[e]:this instanceof g?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var n=this,r=this.lookup(e),o=new c.b(_).merge(r,t);if(this.data[e]=o,o!==r&&(delete this.refs[e],this.group.caching)){var a=Object.create(null);r||(a.__exists=1),Object.keys(t).forEach((function(e){if(!r||r[e]!==o[e]){a[e]=1;var t=Object(f.b)(e);t===e||n.policies.hasKeyArgs(o.__typename,t)||(a[t]=1),void 0!==o[e]||n instanceof g||delete o[e]}})),Object.keys(a).forEach((function(t){return n.group.dirty(e,t)}))}},e.prototype.modify=function(e,t){var n=this,r=this.lookup(e);if(r){var o=Object.create(null),i=!1,s=!0,l={DELETE:p,INVALIDATE:m,isReference:c.C,toReference:this.toReference,canRead:this.canRead,readField:function(t,r){return n.policies.readField("string"==typeof t?{fieldName:t,from:r||Object(c.E)(e)}:t,{store:n})}};if(Object.keys(r).forEach((function(u){var d=Object(f.b)(u),v=r[u];if(void 0!==v){var b="function"==typeof t?t:t[u]||t[d];if(b){var y=b===h?p:b(Object(c.F)(v),Object(a.a)(Object(a.a)({},l),{fieldName:d,storeFieldName:u,storage:n.getStorage(e,u)}));y===m?n.group.dirty(e,u):(y===p&&(y=void 0),y!==v&&(o[u]=y,i=!0,v=y))}void 0!==v&&(s=!1)}})),i)return this.merge(e,o),s&&(this instanceof g?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,n){var r,o=this.lookup(e);if(o){var a=this.getFieldValue(o,"__typename"),i=t&&n?this.policies.getStoreFieldName({typename:a,fieldName:t,args:n}):t;return this.modify(e,i?((r={})[i]=h,r):h)}return!1},e.prototype.evict=function(e){var t=!1;return e.id&&(f.c.call(this.data,e.id)&&(t=this.delete(e.id,e.fieldName,e.args)),this instanceof g&&(t=this.parent.evict(e)||t),(e.fieldName||t)&&this.group.dirty(e.id,e.fieldName||"__exists")),t},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),n=[];return this.getRootIdSet().forEach((function(t){f.c.call(e.policies.rootTypenamesById,t)||n.push(t)})),n.length&&(t.__META={extraRootIds:n.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach((function(n){e&&f.c.call(e,n)||t.delete(n)})),e){var n=e.__META,r=Object(a.e)(e,["__META"]);Object.keys(r).forEach((function(e){t.merge(e,r[e])})),n&&n.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof g?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),n=this.toObject();t.forEach((function(r){f.c.call(n,r)&&(Object.keys(e.findChildRefIds(r)).forEach(t.add,t),delete n[r])}));var r=Object.keys(n);if(r.length){for(var o=this;o instanceof g;)o=o.parent;r.forEach((function(e){return o.delete(e)}))}return r},e.prototype.findChildRefIds=function(e){if(!f.c.call(this.refs,e)){var t=this.refs[e]=Object.create(null),n=new Set([this.data[e]]),r=function(e){return null!==e&&"object"==typeof e};n.forEach((function(e){Object(c.C)(e)?t[e.__ref]=!0:r(e)&&Object.values(e).filter(r).forEach(n.add,n)}))}return this.refs[e]},e.prototype.makeCacheKey=function(){for(var e=[],t=0;t0;if(f&&!l)throw d.missing[0];return{result:d.result,missing:d.missing,complete:!f}},e.prototype.isFresh=function(e,t,n,r){if(O(r.store)&&this.knownResults.get(e)===n){var o=this.executeSelectionSet.peek(n,t,r);if(o&&e===o.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,n=e.selectionSet,r=e.objectOrReference,o=e.context;if(Object(c.C)(r)&&!o.policies.rootTypenamesById[r.__ref]&&!o.store.has(r.__ref))return{result:{},missing:[S(new u.a(4),o)]};var a=o.variables,i=o.policies,s=o.store,l=[],d={result:null},f=s.getFieldValue(r,"__typename");function p(){return d.missing||(d.missing=[])}function h(e){var t;return e.missing&&(t=p()).push.apply(t,e.missing),e.result}this.config.addTypename&&"string"==typeof f&&!i.rootIdsByTypename[f]&&l.push({__typename:f});var m=new Set(n.selections);return m.forEach((function(e){var n;if(Object(c.L)(e,a))if(Object(c.z)(e)){var s=i.readField({fieldName:e.name.value,field:e,variables:o.variables,from:r},o),d=Object(c.K)(e);o.path.push(d);var v=o.clientOnly;o.clientOnly=v||!(!e.directives||!e.directives.some((function(e){return"client"===e.name.value}))),void 0===s?c.d.added(e)||p().push(S(new u.a(5),o)):Array.isArray(s)?s=h(t.executeSubSelectedArray({field:e,array:s,context:o})):e.selectionSet&&null!=s&&(s=h(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:s,context:o}))),void 0!==s&&l.push(((n={})[d]=s,n)),o.clientOnly=v,Object(u.b)(o.path.pop()===d)}else{var b=Object(c.o)(e,o.fragmentMap);b&&i.fragmentMatches(b,f)&&b.selectionSet.selections.forEach(m.add,m)}})),d.result=Object(c.H)(l),this.knownResults.set(d.result,n),d},e.prototype.execSubSelectedArrayImpl=function(e){var t,n=this,r=e.field,o=e.array,a=e.context;function i(e,n){return e.missing&&(t=t||[]).push.apply(t,e.missing),Object(u.b)(a.path.pop()===n),e.result}return r.selectionSet&&(o=o.filter(a.store.canRead)),{result:o=o.map((function(e,t){return null===e?null:(a.path.push(t),Array.isArray(e)?i(n.executeSubSelectedArray({field:r,array:e,context:a}),t):r.selectionSet?i(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:e,context:a}),t):(Object(u.b)(a.path.pop()===t),e))})),missing:t}},e}();var w=function(){function e(e,t){this.cache=e,this.reader=t}return e.prototype.writeToStore=function(e){var t=e.query,n=e.result,r=e.dataId,o=e.store,i=e.variables,s=Object(c.r)(t),l=Object(f.d)();i=Object(a.a)(Object(a.a)({},Object(c.m)(s)),i);var d=this.processSelectionSet({result:n||Object.create(null),dataId:r,selectionSet:s.selectionSet,mergeTree:{map:new Map},context:{store:o,written:Object.create(null),merge:function(e,t){return l.merge(e,t)},variables:i,varString:JSON.stringify(i),fragmentMap:Object(c.k)(Object(c.n)(t))}});if(!Object(c.C)(d))throw new u.a(7);return o.retain(d.__ref),d},e.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,r=e.result,o=e.selectionSet,a=e.context,i=e.mergeTree,s=this.cache.policies,l=s.identify(r,o,a.fragmentMap),d=l[0],f=l[1];if("string"==typeof(n=n||d)){var p=a.written[n]||(a.written[n]=[]),h=Object(c.E)(n);if(p.indexOf(o)>=0)return h;if(p.push(o),this.reader&&this.reader.isFresh(r,h,o,a))return h}var m=Object.create(null);f&&(m=a.merge(m,f));var v=n&&s.rootTypenamesById[n]||Object(c.v)(r,o,a.fragmentMap)||n&&a.store.get(n,"__typename");"string"==typeof v&&(m.__typename=v);var b=new Set(o.selections);if(b.forEach((function(e){var n;if(Object(c.L)(e,a.variables))if(Object(c.z)(e)){var o=Object(c.K)(e),l=r[o];if(void 0!==l){var d=s.getStoreFieldName({typename:v,fieldName:e.name.value,field:e,variables:a.variables}),f=T(i,d),p=t.processFieldValue(l,e,a,f),h=e.selectionSet&&a.store.getFieldValue(p,"__typename")||void 0,y=s.getMergeFunction(v,e.name.value,h);y?f.info={field:e,typename:v,merge:y}:A(i,d),m=a.merge(m,((n={})[d]=p,n))}else if(s.usingPossibleTypes&&!Object(c.y)(["defer","client"],e))throw new u.a(8)}else{var g=Object(c.o)(e,a.fragmentMap);g&&s.fragmentMatches(g,v,r,a.variables)&&g.selectionSet.selections.forEach(b.add,b)}})),"string"==typeof n){var y=Object(c.E)(n);return i.map.size&&(m=this.applyMerges(i,y,m,a)),a.store.merge(n,m),y}return m},e.prototype.processFieldValue=function(e,t,n,r){var o=this;return t.selectionSet&&null!==e?Array.isArray(e)?e.map((function(e,a){var i=o.processFieldValue(e,t,n,T(r,a));return A(r,a),i})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r}):e},e.prototype.applyMerges=function(e,t,n,r,o){var i,s=this;if(e.map.size&&!Object(c.C)(n)){var l,d=Array.isArray(n)||!Object(c.C)(t)&&!Object(f.f)(t)?void 0:t,p=n;d&&!o&&(o=[Object(c.C)(d)?d.__ref:d]);var h=function(e,t){return Array.isArray(e)?"number"==typeof t?e[t]:void 0:r.store.getFieldValue(e,String(t))};e.map.forEach((function(e,t){o&&o.push(t);var n=h(d,t),a=h(p,t),i=s.applyMerges(e,n,a,r,o);i!==a&&(l=l||new Map).set(t,i),o&&Object(u.b)(o.pop()===t)})),l&&(n=Array.isArray(p)?p.slice(0):Object(a.a)({},p),l.forEach((function(e,t){n[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,r,o&&(i=r.store).getStorage.apply(i,o)):n},e}(),C=[];function T(e,t){var n=e.map;return n.has(t)||n.set(t,C.pop()||{map:new Map}),n.get(t)}function A(e,t){var n=e.map,r=n.get(t);!r||r.info||r.map.size||(C.push(r),n.delete(t))}new Set;var j=n(43),k=n(73),I={dataIdFromObject:k.b,addTypename:!0,resultCaching:!0,typePolicies:{}},N=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n.watches=new Set,n.typenameDocumentCache=new Map,n.makeVar=j.c,n.txCount=0,n.maybeBroadcastWatch=Object(i.c)((function(e,t){return n.broadcastWatch.call(n,e,!!t)}),{makeCacheKey:function(e){var t=e.optimistic?n.optimisticData:n.data;if(O(t)){var r=e.optimistic,o=e.rootId,a=e.variables;return t.makeCacheKey(e.query,e.callback,JSON.stringify({optimistic:r,rootId:o,variables:a}))}}}),n.watchDep=Object(i.b)(),n.config=Object(a.a)(Object(a.a)({},I),t),n.addTypename=!!n.config.addTypename,n.policies=new k.a({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.data=new v.Root({policies:n.policies,resultCaching:n.config.resultCaching}),n.optimisticData=n.data,n.storeWriter=new w(n,n.storeReader=new E({cache:n,addTypename:n.addTypename})),n}return Object(a.c)(t,e),t.prototype.restore=function(e){return e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData,n=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,query:e.query,variables:e.variables,rootId:e.rootId,config:this.config,returnPartialData:n}).result||null}catch(e){if(e instanceof l.a)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore({store:this.data,query:e.query,result:e.result,dataId:e.dataId,variables:e.variables})}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(f.c.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",query:e.query,variables:e.variables,returnPartialData:e.returnPartialData,config:this.config})},t.prototype.watch=function(e){var t=this;return this.watches.size||Object(j.d)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&Object(j.b)(t),t.watchDep.dirty(e),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(){return this.optimisticData.gc()},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){return Object(c.C)(e)?e.__ref:this.policies.identify(e)[0]},t.prototype.evict=function(e){if(!e.id){if(f.c.call(e,"id"))return!1;e=Object(a.a)(Object(a.a)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(){return this.data.clear(),this.optimisticData=this.data,this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.performTransaction=function(e,t){var n=this,r=function(t){var r=n,o=r.data,a=r.optimisticData;++n.txCount,t&&(n.data=n.optimisticData=t);try{e(n)}finally{--n.txCount,n.data=o,n.optimisticData=a}},o=!1;"string"==typeof t?(this.optimisticData=this.optimisticData.addLayer(t,r),o=!0):null===t?r(this.data):r(),this.broadcastWatches(o)},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=Object(c.d)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach((function(n){return t.maybeBroadcastWatch(n,e)}))},t.prototype.broadcastWatch=function(e,t){this.watchDep.dirty(e),this.watchDep(e);var n=this.diff({query:e.query,variables:e.variables,optimistic:e.optimistic});e.optimistic&&t&&(n.fromOptimisticTransaction=!0),e.callback(n)},t}(s.a)},function(e,t,n){e.exports={assetLabel:"AssetLabel-module__assetLabel___2rfw5"}},function(e,t,n){e.exports={column:"Column-module__column___cpjnR"}},function(e,t,n){e.exports={propertyList:"PropertyList-module__propertyList___3_UWx"}},function(e,t,n){e.exports={iconStack:"IconStack-module__iconStack___19OCl"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})); /*! ***************************************************************************** Copyright (c) Microsoft Corporation. @@ -461,12 +461,12 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ -var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}Object.create;Object.create},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return s}));var r=n(72),o=n(18),a={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},i=Object.freeze({});function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a,s=void 0,c=Array.isArray(e),u=[e],d=-1,f=[],p=void 0,h=void 0,m=void 0,v=[],b=[],y=e;do{var g=++d===u.length,_=g&&0!==f.length;if(g){if(h=0===b.length?void 0:v[v.length-1],p=m,m=b.pop(),_){if(c)p=p.slice();else{for(var O={},S=0,E=Object.keys(p);Se.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:null;if(!e)return"";var n=e;return t&&Object.keys(t).forEach((function(e){n=n.replace(e,t[e])})),n}function w(){return void 0!==e.window?e.window.innerWidth:0}var C=function(){try{return e.window.location.hostname!==e.window.parent.location.hostname}catch(e){return!0}};var T=27,A=37,j=39,k=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(s,t);var n,r,a,i=y(s);function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=i.call(this,e)).state={isClosing:!e.animationDisabled,shouldAnimate:!1,zoomLevel:0,offsetX:0,offsetY:0,loadErrorStatus:{}},t.outerEl=o.a.createRef(),t.zoomInBtn=o.a.createRef(),t.zoomOutBtn=o.a.createRef(),t.caption=o.a.createRef(),t.closeIfClickInner=t.closeIfClickInner.bind(v(t)),t.handleImageDoubleClick=t.handleImageDoubleClick.bind(v(t)),t.handleImageMouseWheel=t.handleImageMouseWheel.bind(v(t)),t.handleKeyInput=t.handleKeyInput.bind(v(t)),t.handleMouseUp=t.handleMouseUp.bind(v(t)),t.handleMouseDown=t.handleMouseDown.bind(v(t)),t.handleMouseMove=t.handleMouseMove.bind(v(t)),t.handleOuterMousewheel=t.handleOuterMousewheel.bind(v(t)),t.handleTouchStart=t.handleTouchStart.bind(v(t)),t.handleTouchMove=t.handleTouchMove.bind(v(t)),t.handleTouchEnd=t.handleTouchEnd.bind(v(t)),t.handlePointerEvent=t.handlePointerEvent.bind(v(t)),t.handleCaptionMousewheel=t.handleCaptionMousewheel.bind(v(t)),t.handleWindowResize=t.handleWindowResize.bind(v(t)),t.handleZoomInButtonClick=t.handleZoomInButtonClick.bind(v(t)),t.handleZoomOutButtonClick=t.handleZoomOutButtonClick.bind(v(t)),t.requestClose=t.requestClose.bind(v(t)),t.requestMoveNext=t.requestMoveNext.bind(v(t)),t.requestMovePrev=t.requestMovePrev.bind(v(t)),t.timeouts=[],t.currentAction=0,t.eventsSource=0,t.pointerList=[],t.preventInnerClose=!1,t.preventInnerCloseTimeout=null,t.keyPressed=!1,t.imageCache={},t.lastKeyDownTime=0,t.resizeTimeout=null,t.wheelActionTimeout=null,t.resetScrollTimeout=null,t.scrollX=0,t.scrollY=0,t.moveStartX=0,t.moveStartY=0,t.moveStartOffsetX=0,t.moveStartOffsetY=0,t.swipeStartX=0,t.swipeStartY=0,t.swipeEndX=0,t.swipeEndY=0,t.pinchTouchList=null,t.pinchDistance=0,t.keyCounter=0,t.moveRequested=!1,t}return n=s,r=[{key:"componentDidMount",value:function(){var t=this;this.props.animationDisabled||this.setState({isClosing:!1}),this.windowContext=function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.window.self;return n===e.window.top||C()?n:t(n.parent)}(),this.listeners={resize:this.handleWindowResize,mouseup:this.handleMouseUp,touchend:this.handleTouchEnd,touchcancel:this.handleTouchEnd,pointerdown:this.handlePointerEvent,pointermove:this.handlePointerEvent,pointerup:this.handlePointerEvent,pointercancel:this.handlePointerEvent},Object.keys(this.listeners).forEach((function(e){t.windowContext.addEventListener(e,t.listeners[e])})),this.loadAllImages()}},{key:"shouldComponentUpdate",value:function(e){var t=this;return this.getSrcTypes().forEach((function(n){t.props[n.name]!==e[n.name]&&(t.moveRequested=!1)})),!this.moveRequested}},{key:"componentDidUpdate",value:function(e){var t=this,n=!1,r={},o={};this.getSrcTypes().forEach((function(a){e[a.name]!==t.props[a.name]&&(n=!0,r[e[a.name]]=!0,o[t.props[a.name]]=!0)})),(n||this.moveRequested)&&(Object.keys(r).forEach((function(e){!(e in o)&&e in t.imageCache&&(t.imageCache[e].loaded=!1)})),this.moveRequested=!1,this.loadAllImages(this.props))}},{key:"componentWillUnmount",value:function(){var e=this;this.didUnmount=!0,Object.keys(this.listeners).forEach((function(t){e.windowContext.removeEventListener(t,e.listeners[t])})),this.timeouts.forEach((function(e){return clearTimeout(e)}))}},{key:"setTimeout",value:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){var n=this,r=setTimeout((function(){n.timeouts=n.timeouts.filter((function(e){return e!==r})),e()}),t);return this.timeouts.push(r),r}))},{key:"setPreventInnerClose",value:function(){var e=this;this.preventInnerCloseTimeout&&this.clearTimeout(this.preventInnerCloseTimeout),this.preventInnerClose=!0,this.preventInnerCloseTimeout=this.setTimeout((function(){e.preventInnerClose=!1,e.preventInnerCloseTimeout=null}),100)}},{key:"getBestImageForType",value:function(e){var t=this.props[e],n={};if(this.isImageLoaded(t))n=this.getFitSizes(this.imageCache[t].width,this.imageCache[t].height);else{if(!this.isImageLoaded(this.props["".concat(e,"Thumbnail")]))return null;t=this.props["".concat(e,"Thumbnail")],n=this.getFitSizes(this.imageCache[t].width,this.imageCache[t].height,!0)}return{src:t,height:this.imageCache[t].height,width:this.imageCache[t].width,targetHeight:n.height,targetWidth:n.width}}},{key:"getFitSizes",value:function(e,t,n){var r=this.getLightboxRect(),o=r.height-2*this.props.imagePadding,a=r.width-2*this.props.imagePadding;return n||(o=Math.min(o,t),a=Math.min(a,e)),a/o>e/t?{width:e*o/t,height:o}:{width:a,height:t*a/e}}},{key:"getMaxOffsets",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.zoomLevel,t=this.getBestImageForType("mainSrc");if(null===t)return{maxX:0,minX:0,maxY:0,minY:0};var n=this.getLightboxRect(),r=this.getZoomMultiplier(e),o=0,a=0;return{maxX:o=r*t.width-n.width<0?(n.width-r*t.width)/2:(r*t.width-n.width)/2,maxY:a=r*t.height-n.height<0?(n.height-r*t.height)/2:(r*t.height-n.height)/2,minX:-1*o,minY:-1*a}}},{key:"getSrcTypes",value:function(){return[{name:"mainSrc",keyEnding:"i".concat(this.keyCounter)},{name:"mainSrcThumbnail",keyEnding:"t".concat(this.keyCounter)},{name:"nextSrc",keyEnding:"i".concat(this.keyCounter+1)},{name:"nextSrcThumbnail",keyEnding:"t".concat(this.keyCounter+1)},{name:"prevSrc",keyEnding:"i".concat(this.keyCounter-1)},{name:"prevSrcThumbnail",keyEnding:"t".concat(this.keyCounter-1)}]}},{key:"getZoomMultiplier",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.zoomLevel;return Math.pow(1.007,e)}},{key:"getLightboxRect",value:function(){return this.outerEl.current?this.outerEl.current.getBoundingClientRect():{width:w(),height:void 0!==e.window?e.window.innerHeight:0,top:0,right:0,bottom:0,left:0}}},{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){this.timeouts=this.timeouts.filter((function(t){return t!==e})),clearTimeout(e)}))},{key:"changeZoom",value:function(e,t,n){if(this.props.enableZoom){var r=Math.max(0,Math.min(300,e));if(r!==this.state.zoomLevel)if(0!==r){var o=this.getBestImageForType("mainSrc");if(null!==o){var a=this.getZoomMultiplier(),i=this.getZoomMultiplier(r),s=this.getLightboxRect(),l=void 0!==t?t-s.left:s.width/2,c=void 0!==n?n-s.top:s.height/2,u=(s.width-o.width*a)/2,d=(s.height-o.height*a)/2,f=l-(l-(u-this.state.offsetX))/a*i,p=c-(c-(d-this.state.offsetY))/a*i,h=(s.width-o.width*i)/2-f,m=(s.height-o.height*i)/2-p;if(3!==this.currentAction){var v=this.getMaxOffsets();this.state.zoomLevel>r&&(h=Math.max(v.minX,Math.min(v.maxX,h)),m=Math.max(v.minY,Math.min(v.maxY,m)))}this.setState({zoomLevel:r,offsetX:h,offsetY:m})}}else this.setState({zoomLevel:r,offsetX:0,offsetY:0})}}},{key:"closeIfClickInner",value:function(e){!this.preventInnerClose&&e.target.className.search(/\bril-inner\b/)>-1&&this.requestClose(e)}},{key:"handleKeyInput",value:function(e){if(e.stopPropagation(),!this.isAnimating())if("keyup"!==e.type){var t=e.which||e.keyCode,n=new Date;if(!(n.getTime()-this.lastKeyDownTime=200||e.deltaX>=100?(this.requestMoveNext(e),n=500,this.scrollX=0):(this.scrollX<=-200||e.deltaX<=-100)&&(this.requestMovePrev(e),n=500,this.scrollX=0)),0!==n&&(this.wheelActionTimeout=this.setTimeout((function(){t.wheelActionTimeout=null}),n)))}},{key:"handleImageMouseWheel",value:function(e){if(Math.abs(e.deltaY)>=Math.abs(e.deltaX)){if(e.stopPropagation(),Math.abs(e.deltaY)<1)return;this.scrollX=0,this.scrollY+=e.deltaY,this.changeZoom(this.state.zoomLevel-e.deltaY,e.clientX,e.clientY)}}},{key:"handleImageDoubleClick",value:function(e){this.state.zoomLevel>0?this.changeZoom(0,e.clientX,e.clientY):this.changeZoom(this.state.zoomLevel+100,e.clientX,e.clientY)}},{key:"shouldHandleEvent",value:function(e){if(this.eventsSource===e)return!0;if(0===this.eventsSource)return this.eventsSource=e,!0;switch(e){case 1:return!1;case 2:return this.eventsSource=2,this.filterPointersBySource(),!0;case 3:return 1===this.eventsSource&&(this.eventsSource=3,this.filterPointersBySource(),!0);default:return!1}}},{key:"addPointer",value:function(e){this.pointerList.push(e)}},{key:"removePointer",value:function(e){this.pointerList=this.pointerList.filter((function(t){return t.id!==e.id}))}},{key:"filterPointersBySource",value:function(){var e=this;this.pointerList=this.pointerList.filter((function(t){return t.source===e.eventsSource}))}},{key:"handleMouseDown",value:function(e){this.shouldHandleEvent(1)&&s.isTargetMatchImage(e.target)&&(this.addPointer(s.parseMouseEvent(e)),this.multiPointerStart(e))}},{key:"handleMouseMove",value:function(e){this.shouldHandleEvent(1)&&this.multiPointerMove(e,[s.parseMouseEvent(e)])}},{key:"handleMouseUp",value:function(e){this.shouldHandleEvent(1)&&(this.removePointer(s.parseMouseEvent(e)),this.multiPointerEnd(e))}},{key:"handlePointerEvent",value:function(e){if(this.shouldHandleEvent(3))switch(e.type){case"pointerdown":s.isTargetMatchImage(e.target)&&(this.addPointer(s.parsePointerEvent(e)),this.multiPointerStart(e));break;case"pointermove":this.multiPointerMove(e,[s.parsePointerEvent(e)]);break;case"pointerup":case"pointercancel":this.removePointer(s.parsePointerEvent(e)),this.multiPointerEnd(e)}}},{key:"handleTouchStart",value:function(e){var t=this;this.shouldHandleEvent(2)&&s.isTargetMatchImage(e.target)&&([].forEach.call(e.changedTouches,(function(e){return t.addPointer(s.parseTouchPointer(e))})),this.multiPointerStart(e))}},{key:"handleTouchMove",value:function(e){this.shouldHandleEvent(2)&&this.multiPointerMove(e,[].map.call(e.changedTouches,(function(e){return s.parseTouchPointer(e)})))}},{key:"handleTouchEnd",value:function(e){var t=this;this.shouldHandleEvent(2)&&([].map.call(e.changedTouches,(function(e){return t.removePointer(s.parseTouchPointer(e))})),this.multiPointerEnd(e))}},{key:"decideMoveOrSwipe",value:function(e){this.state.zoomLevel<=0?this.handleSwipeStart(e):this.handleMoveStart(e)}},{key:"multiPointerStart",value:function(e){switch(this.handleEnd(null),this.pointerList.length){case 1:e.preventDefault(),this.decideMoveOrSwipe(this.pointerList[0]);break;case 2:e.preventDefault(),this.handlePinchStart(this.pointerList)}}},{key:"multiPointerMove",value:function(e,t){switch(this.currentAction){case 1:e.preventDefault(),this.handleMove(t[0]);break;case 2:e.preventDefault(),this.handleSwipe(t[0]);break;case 3:e.preventDefault(),this.handlePinch(t)}}},{key:"multiPointerEnd",value:function(e){switch(0!==this.currentAction&&(this.setPreventInnerClose(),this.handleEnd(e)),this.pointerList.length){case 0:this.eventsSource=0;break;case 1:e.preventDefault(),this.decideMoveOrSwipe(this.pointerList[0]);break;case 2:e.preventDefault(),this.handlePinchStart(this.pointerList)}}},{key:"handleEnd",value:function(e){switch(this.currentAction){case 1:this.handleMoveEnd(e);break;case 2:this.handleSwipeEnd(e);break;case 3:this.handlePinchEnd(e)}}},{key:"handleMoveStart",value:function(e){var t=e.x,n=e.y;this.props.enableZoom&&(this.currentAction=1,this.moveStartX=t,this.moveStartY=n,this.moveStartOffsetX=this.state.offsetX,this.moveStartOffsetY=this.state.offsetY)}},{key:"handleMove",value:function(e){var t=e.x,n=e.y,r=this.moveStartX-t+this.moveStartOffsetX,o=this.moveStartY-n+this.moveStartOffsetY;this.state.offsetX===r&&this.state.offsetY===o||this.setState({offsetX:r,offsetY:o})}},{key:"handleMoveEnd",value:function(){var e=this;this.currentAction=0,this.moveStartX=0,this.moveStartY=0,this.moveStartOffsetX=0,this.moveStartOffsetY=0;var t=this.getMaxOffsets(),n=Math.max(t.minX,Math.min(t.maxX,this.state.offsetX)),r=Math.max(t.minY,Math.min(t.maxY,this.state.offsetY));n===this.state.offsetX&&r===this.state.offsetY||(this.setState({offsetX:n,offsetY:r,shouldAnimate:!0}),this.setTimeout((function(){e.setState({shouldAnimate:!1})}),this.props.animationDuration))}},{key:"handleSwipeStart",value:function(e){var t=e.x,n=e.y;this.currentAction=2,this.swipeStartX=t,this.swipeStartY=n,this.swipeEndX=t,this.swipeEndY=n}},{key:"handleSwipe",value:function(e){var t=e.x,n=e.y;this.swipeEndX=t,this.swipeEndY=n}},{key:"handleSwipeEnd",value:function(e){var t=this.swipeEndX-this.swipeStartX,n=Math.abs(t),r=Math.abs(this.swipeEndY-this.swipeStartY);if(this.currentAction=0,this.swipeStartX=0,this.swipeStartY=0,this.swipeEndX=0,this.swipeEndY=0,!(!e||this.isAnimating()||n<1.5*r)){if(n<200&&n0&&this.props.prevSrc?(e.preventDefault(),this.requestMovePrev()):t<0&&this.props.nextSrc&&(e.preventDefault(),this.requestMoveNext())}}},{key:"calculatePinchDistance",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.pinchTouchList,t=g(e,2),n=t[0],r=t[1];return Math.sqrt(Math.pow(n.x-r.x,2)+Math.pow(n.y-r.y,2))}},{key:"calculatePinchCenter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.pinchTouchList,t=g(e,2),n=t[0],r=t[1];return{x:n.x-(n.x-r.x)/2,y:n.y-(n.y-r.y)/2}}},{key:"handlePinchStart",value:function(e){this.props.enableZoom&&(this.currentAction=3,this.pinchTouchList=e.map((function(e){return{id:e.id,x:e.x,y:e.y}})),this.pinchDistance=this.calculatePinchDistance())}},{key:"handlePinch",value:function(e){this.pinchTouchList=this.pinchTouchList.map((function(t){for(var n=0;n0&&t+o>=r||e.deltaY<0&&o<=0)&&e.preventDefault()}}},{key:"isAnimating",value:function(){return this.state.shouldAnimate||this.state.isClosing}},{key:"isImageLoaded",value:function(e){return e&&e in this.imageCache&&this.imageCache[e].loaded}},{key:"loadImage",value:function(t,n,r){var o=this;if(this.isImageLoaded(n))this.setTimeout((function(){r()}),1);else{var a=new e.Image;this.props.imageCrossOrigin&&(a.crossOrigin=this.props.imageCrossOrigin),a.onerror=function(e){o.props.onImageLoadError(n,t,e),o.setState((function(e){return{loadErrorStatus:u(u({},e.loadErrorStatus),{},f({},t,!0))}})),r(e)},a.onload=function(){o.props.onImageLoad(n,t,a),o.imageCache[n]={loaded:!0,width:a.width,height:a.height},r()},a.src=n}}},{key:"loadAllImages",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=function(t,n){return function(r){r||e.props[t]!==n||e.didUnmount||e.forceUpdate()}};this.getSrcTypes().forEach((function(r){var o=r.name;t[o]&&e.state.loadErrorStatus[o]&&e.setState((function(e){return{loadErrorStatus:u(u({},e.loadErrorStatus),{},f({},o,!1))}})),t[o]&&!e.isImageLoaded(t[o])&&e.loadImage(o,t[o],n(o,t[o]))}))}},{key:"requestClose",value:function(e){var t=this,n=function(){return t.props.onCloseRequest(e)};this.props.animationDisabled||"keydown"===e.type&&!this.props.animationOnKeyInput?n():(this.setState({isClosing:!0}),this.setTimeout(n,this.props.animationDuration))}},{key:"requestMove",value:function(e,t){var n=this,r={zoomLevel:0,offsetX:0,offsetY:0};this.props.animationDisabled||this.keyPressed&&!this.props.animationOnKeyInput||(r.shouldAnimate=!0,this.setTimeout((function(){return n.setState({shouldAnimate:!1})}),this.props.animationDuration)),this.keyPressed=!1,this.moveRequested=!0,"prev"===e?(this.keyCounter-=1,this.setState(r),this.props.onMovePrevRequest(t)):(this.keyCounter+=1,this.setState(r),this.props.onMoveNextRequest(t))}},{key:"requestMoveNext",value:function(e){this.requestMove("next",e)}},{key:"requestMovePrev",value:function(e){this.requestMove("prev",e)}},{key:"render",value:function(){var t=this,n=this.props,r=n.animationDisabled,a=n.animationDuration,i=n.clickOutsideToClose,c=n.discourageDownloads,d=n.enableZoom,f=n.imageTitle,h=n.nextSrc,m=n.prevSrc,v=n.toolbarButtons,b=n.reactModalStyle,y=n.onAfterOpen,g=n.imageCrossOrigin,O=n.reactModalProps,S=n.loader,w=this.state,C=w.zoomLevel,T=w.offsetX,A=w.offsetY,j=w.isClosing,k=w.loadErrorStatus,I=this.getLightboxRect(),N={};!r&&this.isAnimating()&&(N=u(u({},N),{},{transition:"transform ".concat(a,"ms")}));var x={};this.getSrcTypes().forEach((function(e){var t=e.name,n=e.keyEnding;x[t]=n}));var R=[],D=function(e,n,r){if(t.props[e]){var a,i=t.getBestImageForType(e),l=u(u({},N),s.getTransform(u(u({},r),i)));if(C>0&&(l.cursor="move"),null===i&&(a=k,Object.keys(a).some((function(e){return a[e]}))))R.push(o.a.createElement("div",{className:"".concat(n," ril__image ril-errored"),style:l,key:t.props[e]+x[e]},o.a.createElement("div",{className:"ril__errorContainer"},t.props.imageLoadErrorMessage)));else if(null!==i){var d=i.src;c?(l.backgroundImage="url('".concat(d,"')"),R.push(o.a.createElement("div",{className:"".concat(n," ril__image ril__imageDiscourager"),onDoubleClick:t.handleImageDoubleClick,onWheel:t.handleImageMouseWheel,style:l,key:d+x[e]},o.a.createElement("div",{className:"ril-download-blocker ril__downloadBlocker"})))):R.push(o.a.createElement("img",p({},g?{crossOrigin:g}:{},{className:"".concat(n," ril__image"),onDoubleClick:t.handleImageDoubleClick,onWheel:t.handleImageMouseWheel,onDragStart:function(e){return e.preventDefault()},style:l,src:d,key:d+x[e],alt:"string"==typeof f?f:E("Image"),draggable:!1})))}else{var h=void 0!==S?S:o.a.createElement("div",{className:"ril-loading-circle ril__loadingCircle ril__loadingContainer__icon"},_(new Array(12)).map((function(e,t){return o.a.createElement("div",{key:t,className:"ril-loading-circle-point ril__loadingCirclePoint"})})));R.push(o.a.createElement("div",{className:"".concat(n," ril__image ril-not-loaded"),style:l,key:t.props[e]+x[e]},o.a.createElement("div",{className:"ril__loadingContainer"},h)))}}},M=this.getZoomMultiplier();D("nextSrc","ril-image-next ril__imageNext",{x:I.width}),D("mainSrc","ril-image-current",{x:-1*T,y:-1*A,zoom:M}),D("prevSrc","ril-image-prev ril__imagePrev",{x:-1*I.width});var L={overlay:u({zIndex:1e3,backgroundColor:"transparent"},b.overlay),content:u({backgroundColor:"transparent",overflow:"hidden",border:"none",borderRadius:0,padding:0,top:0,left:0,right:0,bottom:0},b.content)};return o.a.createElement(l.a,p({isOpen:!0,onRequestClose:i?this.requestClose:void 0,onAfterOpen:function(){t.outerEl.current&&t.outerEl.current.focus(),y()},style:L,contentLabel:E("Lightbox"),appElement:void 0!==e.window?e.window.document.body:void 0},O),o.a.createElement("div",{className:"ril-outer ril__outer ril__outerAnimating ".concat(this.props.wrapperClassName," ").concat(j?"ril-closing ril__outerClosing":""),style:{transition:"opacity ".concat(a,"ms"),animationDuration:"".concat(a,"ms"),animationDirection:j?"normal":"reverse"},ref:this.outerEl,onWheel:this.handleOuterMousewheel,onMouseMove:this.handleMouseMove,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,tabIndex:"-1",onKeyDown:this.handleKeyInput,onKeyUp:this.handleKeyInput},o.a.createElement("div",{className:"ril-inner ril__inner",onClick:i?this.closeIfClickInner:void 0},R),m&&o.a.createElement("button",{type:"button",className:"ril-prev-button ril__navButtons ril__navButtonPrev",key:"prev","aria-label":this.props.prevLabel,title:this.props.prevLabel,onClick:this.isAnimating()?void 0:this.requestMovePrev}),h&&o.a.createElement("button",{type:"button",className:"ril-next-button ril__navButtons ril__navButtonNext",key:"next","aria-label":this.props.nextLabel,title:this.props.nextLabel,onClick:this.isAnimating()?void 0:this.requestMoveNext}),o.a.createElement("div",{className:"ril-toolbar ril__toolbar"},o.a.createElement("ul",{className:"ril-toolbar-left ril__toolbarSide ril__toolbarLeftSide"},o.a.createElement("li",{className:"ril-toolbar__item ril__toolbarItem"},o.a.createElement("span",{className:"ril-toolbar__item__child ril__toolbarItemChild"},f))),o.a.createElement("ul",{className:"ril-toolbar-right ril__toolbarSide ril__toolbarRightSide"},v&&v.map((function(e,t){return o.a.createElement("li",{key:"button_".concat(t+1),className:"ril-toolbar__item ril__toolbarItem"},e)})),d&&o.a.createElement("li",{className:"ril-toolbar__item ril__toolbarItem"},o.a.createElement("button",{type:"button",key:"zoom-in","aria-label":this.props.zoomInLabel,title:this.props.zoomInLabel,className:["ril-zoom-in","ril__toolbarItemChild","ril__builtinButton","ril__zoomInButton"].concat(_(300===C?["ril__builtinButtonDisabled"]:[])).join(" "),ref:this.zoomInBtn,disabled:this.isAnimating()||300===C,onClick:this.isAnimating()||300===C?void 0:this.handleZoomInButtonClick})),d&&o.a.createElement("li",{className:"ril-toolbar__item ril__toolbarItem"},o.a.createElement("button",{type:"button",key:"zoom-out","aria-label":this.props.zoomOutLabel,title:this.props.zoomOutLabel,className:["ril-zoom-out","ril__toolbarItemChild","ril__builtinButton","ril__zoomOutButton"].concat(_(0===C?["ril__builtinButtonDisabled"]:[])).join(" "),ref:this.zoomOutBtn,disabled:this.isAnimating()||0===C,onClick:this.isAnimating()||0===C?void 0:this.handleZoomOutButtonClick})),o.a.createElement("li",{className:"ril-toolbar__item ril__toolbarItem"},o.a.createElement("button",{type:"button",key:"close","aria-label":this.props.closeLabel,title:this.props.closeLabel,className:"ril-close ril-toolbar__item__child ril__toolbarItemChild ril__builtinButton ril__closeButton",onClick:this.isAnimating()?void 0:this.requestClose})))),this.props.imageCaption&&o.a.createElement("div",{onWheel:this.handleCaptionMousewheel,onMouseDown:function(e){return e.stopPropagation()},className:"ril-caption ril__caption",ref:this.caption},o.a.createElement("div",{className:"ril-caption-content ril__captionContent"},this.props.imageCaption))))}}],a=[{key:"isTargetMatchImage",value:function(e){return e&&/ril-image-current/.test(e.className)}},{key:"parseMouseEvent",value:function(e){return{id:"mouse",source:1,x:parseInt(e.clientX,10),y:parseInt(e.clientY,10)}}},{key:"parseTouchPointer",value:function(e){return{id:e.identifier,source:2,x:parseInt(e.clientX,10),y:parseInt(e.clientY,10)}}},{key:"parsePointerEvent",value:function(e){return{id:e.pointerId,source:3,x:parseInt(e.clientX,10),y:parseInt(e.clientY,10)}}},{key:"getTransform",value:function(e){var t=e.x,n=void 0===t?0:t,r=e.y,o=void 0===r?0:r,a=e.zoom,i=void 0===a?1:a,s=e.width,l=e.targetWidth,c=n,u=w();s>u&&(c+=(u-s)/2);var d=i*(l/s);return{transform:"translate3d(".concat(c,"px,").concat(o,"px,0) scale3d(").concat(d,",").concat(d,",1)")}}}],r&&d(n.prototype,r),a&&d(n,a),s}(r.Component);k.propTypes={mainSrc:i.a.string.isRequired,prevSrc:i.a.string,nextSrc:i.a.string,mainSrcThumbnail:i.a.string,prevSrcThumbnail:i.a.string,nextSrcThumbnail:i.a.string,onCloseRequest:i.a.func.isRequired,onMovePrevRequest:i.a.func,onMoveNextRequest:i.a.func,onImageLoadError:i.a.func,onImageLoad:i.a.func,onAfterOpen:i.a.func,discourageDownloads:i.a.bool,animationDisabled:i.a.bool,animationOnKeyInput:i.a.bool,animationDuration:i.a.number,keyRepeatLimit:i.a.number,keyRepeatKeyupBonus:i.a.number,imageTitle:i.a.node,imageCaption:i.a.node,imageCrossOrigin:i.a.string,reactModalStyle:i.a.shape({}),imagePadding:i.a.number,wrapperClassName:i.a.string,toolbarButtons:i.a.arrayOf(i.a.node),clickOutsideToClose:i.a.bool,enableZoom:i.a.bool,reactModalProps:i.a.shape({}),nextLabel:i.a.string,prevLabel:i.a.string,zoomInLabel:i.a.string,zoomOutLabel:i.a.string,closeLabel:i.a.string,imageLoadErrorMessage:i.a.node,loader:i.a.node},k.defaultProps={imageTitle:null,imageCaption:null,toolbarButtons:null,reactModalProps:{},animationDisabled:!1,animationDuration:300,animationOnKeyInput:!1,clickOutsideToClose:!0,closeLabel:"Close lightbox",discourageDownloads:!1,enableZoom:!0,imagePadding:10,imageCrossOrigin:null,keyRepeatKeyupBonus:40,keyRepeatLimit:180,mainSrcThumbnail:null,nextLabel:"Next image",nextSrc:null,nextSrcThumbnail:null,onAfterOpen:function(){},onImageLoadError:function(){},onImageLoad:function(){},onMoveNextRequest:function(){},onMovePrevRequest:function(){},prevLabel:"Previous image",prevSrc:null,prevSrcThumbnail:null,reactModalStyle:{},wrapperClassName:"",zoomInLabel:"Zoom in",zoomOutLabel:"Zoom out",imageLoadErrorMessage:"This image failed to load",loader:void 0},t.a=k}).call(this,n(111))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(187),a=(r=o)&&r.__esModule?r:{default:r};t.default=a.default,e.exports=t.default},function(e,t,n){e.exports={lightbox:"AssetPreview-module__lightbox___-wule",ril__image:"AssetPreview-module__ril__image___3eJUn"}},function(e,t,n){e.exports={assetCount:"AssetCount-module__assetCount___xVZ7s"}},function(e,t,n){e.exports={viewModeSelector:"ViewModeSelector-module__viewModeSelector___20xae",selectBox:"ViewModeSelector-module__selectBox___1EcPD"}},function(e,t,n){e.exports={searchBox:"SearchBox-module__searchBox___3GzI7"}},function(e,t,n){e.exports={emptyStateWrapper:"Main-module__emptyStateWrapper___3mewP"}},function(e,t,n){e.exports={thumbnailView:"ThumbnailView-module__thumbnailView___2rud9"}},function(e,t,n){"use strict";n(167)},function(e,t,n){"use strict";var r,o=n(168),a=(r=o)&&r.__esModule?r:{default:r},i=n(175),s=n(186);(0,a.default)("Flowpack.Media.Ui:AssetEditor",{},(function(e,t){var n=t.frontendConfiguration,r=e.get("inspector").get("secondaryEditors");n["Flowpack.Media.Ui"].useNewMediaSelection&&(r.set("Neos.Neos/Inspector/Secondary/Editors/MediaDetailsScreen",{component:i.MediaDetailsScreen}),r.set("Neos.Neos/Inspector/Secondary/Editors/MediaSelectionScreen",{component:s.MediaSelectionScreen}))}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SynchronousMetaRegistry=t.SynchronousRegistry=t.readFromConsumerApi=t.createConsumerApi=void 0;var r=i(n(169)),o=i(n(40)),a=n(171);function i(e){return e&&e.__esModule?e:{default:e}}t.default=(0,o.default)("manifest"),t.createConsumerApi=r.default,t.readFromConsumerApi=o.default,t.SynchronousRegistry=a.SynchronousRegistry,t.SynchronousMetaRegistry=a.SynchronousMetaRegistry},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n={};Object.keys(t).forEach((function(e){Object.defineProperty(n,e,i(t[e]))})),Object.defineProperty(n,"@manifest",i((0,a.default)(e))),Object.defineProperty(window,"@Neos:HostPluginAPI",i(n))};var r,o=n(170),a=(r=o)&&r.__esModule?r:{default:r};var i=function(e){return{value:e,writable:!1,enumerable:!1,configurable:!0}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,n,r){var o,a,i;e.push((i={options:n,bootstrap:r},(a=t)in(o={})?Object.defineProperty(o,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):o[a]=i,o))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SynchronousMetaRegistry=t.SynchronousRegistry=void 0;var r=a(n(109)),o=a(n(174));function a(e){return e&&e.__esModule?e:{default:e}}t.SynchronousRegistry=r.default,t.SynchronousMetaRegistry=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=class{constructor(e){this.SERIAL_VERSION_UID="d8a5aa78-978e-11e6-ae22-56b6b6499611",this.description=e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"position",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"key",r="string"==typeof t?function(e){return e[t]}:t,o={},a={},i={},s={},l={},c={};e.forEach((function(e,t){var u=e[n]?e[n]:String(t);o[u]=t;var d=r(e),f=String(d||t),p=!1;if(f.startsWith("start")){var h=f.match(/start\s+(\d+)/),m=h&&h[1]?Number(h[1]):0;i[m]||(i[m]=[]),i[m].push(u)}else if(f.startsWith("end")){var v=f.match(/end\s+(\d+)/),b=v&&v[1]?Number(v[1]):0;s[b]||(s[b]=[]),s[b].push(u)}else if(f.startsWith("before")){var y=f.match(/before\s+(\S+)(\s+(\d+))?/);if(y){var g=y[1],_=y[3]?Number(y[3]):0;l[g]||(l[g]={}),l[g][_]||(l[g][_]=[]),l[g][_].push(u)}else p=!0}else if(f.startsWith("after")){var O=f.match(/after\s+(\S+)(\s+(\d+))?/);if(O){var S=O[1],E=O[3]?Number(O[3]):0;c[S]||(c[S]={}),c[S][E]||(c[S][E]=[]),c[S][E].push(u)}else p=!0}else p=!0;if(p){var w=parseFloat(f);!isNaN(w)&&isFinite(w)||(w=t),a[w]||(a[w]=[]),a[w].push(u)}}));var u=[],d=[],f=[],p=[],h=function(e,t){var n=Object.keys(e).map((function(e){return Number(e)})).sort((function(e,t){return e-t}));return t?n:n.reverse()},m=function e(t,n){t.forEach((function(t){if(!(p.indexOf(t)>=0)){if(p.push(t),l[t]){var r=h(l[t],!0),o=!0,a=!1,i=void 0;try{for(var s,u=r[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var d=s.value;e(l[t][d],n)}}catch(e){a=!0,i=e}finally{try{!o&&u.return&&u.return()}finally{if(a)throw i}}}if(n.push(t),c[t]){var f=h(c[t],!1),m=!0,v=!1,b=void 0;try{for(var y,g=f[Symbol.iterator]();!(m=(y=g.next()).done);m=!0){var _=y.value;e(c[t][_],n)}}catch(e){v=!0,b=e}finally{try{!m&&g.return&&g.return()}finally{if(v)throw b}}}}}))},v=!0,b=!1,y=void 0;try{for(var g,_=h(i,!1)[Symbol.iterator]();!(v=(g=_.next()).done);v=!0){var O=g.value;m(i[O],u)}}catch(e){b=!0,y=e}finally{try{!v&&_.return&&_.return()}finally{if(b)throw y}}var S=!0,E=!1,w=void 0;try{for(var C,T=h(a,!0)[Symbol.iterator]();!(S=(C=T.next()).done);S=!0){var A=C.value;m(a[A],d)}}catch(e){E=!0,w=e}finally{try{!S&&T.return&&T.return()}finally{if(E)throw w}}var j=!0,k=!1,I=void 0;try{for(var N,x=h(s,!0)[Symbol.iterator]();!(j=(N=x.next()).done);j=!0){var R=N.value;m(s[R],f)}}catch(e){k=!0,I=e}finally{try{!j&&x.return&&x.return()}finally{if(k)throw I}}var D=!0,M=!1,L=void 0;try{for(var P,F=Object.keys(l)[Symbol.iterator]();!(D=(P=F.next()).done);D=!0){var B=P.value;if(!(p.indexOf(B)>=0)){var U=!0,V=!1,q=void 0;try{for(var z,Q=h(l[B],!1)[Symbol.iterator]();!(U=(z=Q.next()).done);U=!0){var $=z.value;m(l[B][$],u)}}catch(e){V=!0,q=e}finally{try{!U&&Q.return&&Q.return()}finally{if(V)throw q}}}}}catch(e){M=!0,L=e}finally{try{!D&&F.return&&F.return()}finally{if(M)throw L}}var W=!0,H=!1,K=void 0;try{for(var G,Y=Object.keys(c)[Symbol.iterator]();!(W=(G=Y.next()).done);W=!0){var X=G.value;if(!(p.indexOf(X)>=0)){var J=!0,Z=!1,ee=void 0;try{for(var te,ne=h(c[X],!1)[Symbol.iterator]();!(J=(te=ne.next()).done);J=!0){var re=te.value;m(c[X][re],d)}}catch(e){Z=!0,ee=e}finally{try{!J&&ne.return&&ne.return()}finally{if(Z)throw ee}}}}}catch(e){H=!0,K=e}finally{try{!W&&Y.return&&Y.return()}finally{if(H)throw K}}var oe=[].concat(u,d,f);return oe.map((function(e){return o[e]})).map((function(t){return e[t]}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(109),a=(r=o)&&r.__esModule?r:{default:r};var i=class extends a.default{set(e,t){if("d8a5aa78-978e-11e6-ae22-56b6b6499611"!==t.SERIAL_VERSION_UID)throw new Error("You can only add registries to a meta registry");return super.set(e,t)}};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(199);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})}))},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n1,o=!1,a=arguments[1],i=a;return new n((function(n){return t.subscribe({next:function(t){var a=!o;if(o=!0,!a||r)try{i=e(i,t)}catch(e){return n.error(e)}else i=t},error:function(e){n.error(e)},complete:function(){if(!o&&!r)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(i),n.complete()}})}))}},{key:"concat",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r=0&&o.splice(e,1),i()}});o.push(a)},error:function(e){r.error(e)},complete:function(){i()}});function i(){a.closed&&0===o.length&&r.complete()}return function(){o.forEach((function(e){return e.unsubscribe()})),a.unsubscribe()}}))}},{key:u,value:function(){return this}}],[{key:"from",value:function(t){var n="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var r=f(t,u);if(r){var o=r.call(t);if(Object(o)!==o)throw new TypeError(o+" is not an object");return h(o)&&o.constructor===n?o:new n((function(e){return o.subscribe(e)}))}if(s("iterator")&&(r=f(t,c)))return new n((function(e){v((function(){if(!e.closed){var n=!0,o=!1,a=void 0;try{for(var i,s=r.call(t)[Symbol.iterator]();!(n=(i=s.next()).done);n=!0){var l=i.value;if(e.next(l),e.closed)return}}catch(e){o=!0,a=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw a}}e.complete()}}))}));if(Array.isArray(t))return new n((function(e){v((function(){if(!e.closed){for(var n=0;n0&&0===(y-=1)&&u.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(l.returnFocus(n.props.preventScroll),l.teardownScopedFocus()):l.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),h.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(l.setupScopedFocus(n.node),l.markForFocusLater()),n.setState({isOpen:!0},(function(){n.openAnimationFrame=requestAnimationFrame((function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})}))})))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},(function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())}))},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,c.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===(void 0===t?"undefined":o(t))?t:{base:b[e],afterOpen:b[e]+"--after-open",beforeClose:b[e]+"--before-close"},a=r.base;return n.state.afterOpen&&(a=a+" "+r.afterOpen),n.state.beforeClose&&(a=a+" "+r.beforeClose),"string"==typeof t&&t?a+" "+t:a},n.attributesFromObject=function(e,t){return Object.keys(t).reduce((function(n,r){return n[e+"-"+r]=t[r],n}),{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,o=e.bodyOpenClassName,a=e.parentSelector,i=a&&a().ownerDocument||document;o&&d.add(i.body,o),r&&d.add(i.getElementsByTagName("html")[0],r),n&&(y+=1,u.hide(t)),h.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,o=e.overlayClassName,a=e.defaultStyles,i=e.children,s=n?{}:a.content,l=o?{}:a.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",o),style:r({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=r({id:t,ref:this.setContentRef,style:r({},s,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",r({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(u,i);return this.props.overlayElement(c,d)}}]),t}(i.Component);g.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},g.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),parentSelector:s.default.func,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(p.default),s.default.instanceOf(f.SafeHTMLCollection),s.default.instanceOf(f.SafeNodeList),s.default.arrayOf(s.default.instanceOf(p.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},t.default=g,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){i=[]},t.log=function(){0},t.handleBlur=c,t.handleFocus=u,t.markForFocusLater=function(){i.push(document.activeElement)},t.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==i.length&&(t=i.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){i.length>0&&i.pop()},t.setupScopedFocus=function(e){s=e,window.addEventListener?(window.addEventListener("blur",c,!1),document.addEventListener("focus",u,!0)):(window.attachEvent("onBlur",c),document.attachEvent("onFocus",u))},t.teardownScopedFocus=function(){s=null,window.addEventListener?(window.removeEventListener("blur",c),document.removeEventListener("focus",u)):(window.detachEvent("onBlur",c),document.detachEvent("onFocus",u))};var r,o=n(125),a=(r=o)&&r.__esModule?r:{default:r};var i=[],s=null,l=!1;function c(){l=!0}function u(){if(l){if(l=!1,!s)return;setTimeout((function(){s.contains(document.activeElement)||((0,a.default)(s)[0]||s).focus()}),0)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,a.default)(e);if(!n.length)return void t.preventDefault();var r=void 0,o=t.shiftKey,i=n[0],s=n[n.length-1],l=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return t.activeElement.shadowRoot?e(t.activeElement.shadowRoot):t.activeElement}();if(e===l){if(!o)return;r=s}s!==l||o||(r=i);i===l&&o&&(r=s);if(r)return t.preventDefault(),void r.focus();var c=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==c||"Chrome"==c[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var u=n.indexOf(l);u>-1&&(u+=o?-1:1);if(void 0===(r=n[u]))return t.preventDefault(),void(r=o?s:i).focus();t.preventDefault(),r.focus()};var r,o=n(125),a=(r=o)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){var r; +var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}Object.create;Object.create},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return s}));var r=n(72),o=n(18),a={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},i=Object.freeze({});function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a,s=void 0,c=Array.isArray(e),u=[e],d=-1,f=[],p=void 0,h=void 0,m=void 0,v=[],b=[],y=e;do{var g=++d===u.length,_=g&&0!==f.length;if(g){if(h=0===b.length?void 0:v[v.length-1],p=m,m=b.pop(),_){if(c)p=p.slice();else{for(var O={},S=0,E=Object.keys(p);Se.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:null;if(!e)return"";var n=e;return t&&Object.keys(t).forEach((function(e){n=n.replace(e,t[e])})),n}function w(){return void 0!==e.window?e.window.innerWidth:0}var C=function(){try{return e.window.location.hostname!==e.window.parent.location.hostname}catch(e){return!0}};var T=27,A=37,j=39,k=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(s,t);var n,r,a,i=y(s);function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=i.call(this,e)).state={isClosing:!e.animationDisabled,shouldAnimate:!1,zoomLevel:0,offsetX:0,offsetY:0,loadErrorStatus:{}},t.outerEl=o.a.createRef(),t.zoomInBtn=o.a.createRef(),t.zoomOutBtn=o.a.createRef(),t.caption=o.a.createRef(),t.closeIfClickInner=t.closeIfClickInner.bind(v(t)),t.handleImageDoubleClick=t.handleImageDoubleClick.bind(v(t)),t.handleImageMouseWheel=t.handleImageMouseWheel.bind(v(t)),t.handleKeyInput=t.handleKeyInput.bind(v(t)),t.handleMouseUp=t.handleMouseUp.bind(v(t)),t.handleMouseDown=t.handleMouseDown.bind(v(t)),t.handleMouseMove=t.handleMouseMove.bind(v(t)),t.handleOuterMousewheel=t.handleOuterMousewheel.bind(v(t)),t.handleTouchStart=t.handleTouchStart.bind(v(t)),t.handleTouchMove=t.handleTouchMove.bind(v(t)),t.handleTouchEnd=t.handleTouchEnd.bind(v(t)),t.handlePointerEvent=t.handlePointerEvent.bind(v(t)),t.handleCaptionMousewheel=t.handleCaptionMousewheel.bind(v(t)),t.handleWindowResize=t.handleWindowResize.bind(v(t)),t.handleZoomInButtonClick=t.handleZoomInButtonClick.bind(v(t)),t.handleZoomOutButtonClick=t.handleZoomOutButtonClick.bind(v(t)),t.requestClose=t.requestClose.bind(v(t)),t.requestMoveNext=t.requestMoveNext.bind(v(t)),t.requestMovePrev=t.requestMovePrev.bind(v(t)),t.timeouts=[],t.currentAction=0,t.eventsSource=0,t.pointerList=[],t.preventInnerClose=!1,t.preventInnerCloseTimeout=null,t.keyPressed=!1,t.imageCache={},t.lastKeyDownTime=0,t.resizeTimeout=null,t.wheelActionTimeout=null,t.resetScrollTimeout=null,t.scrollX=0,t.scrollY=0,t.moveStartX=0,t.moveStartY=0,t.moveStartOffsetX=0,t.moveStartOffsetY=0,t.swipeStartX=0,t.swipeStartY=0,t.swipeEndX=0,t.swipeEndY=0,t.pinchTouchList=null,t.pinchDistance=0,t.keyCounter=0,t.moveRequested=!1,t}return n=s,r=[{key:"componentDidMount",value:function(){var t=this;this.props.animationDisabled||this.setState({isClosing:!1}),this.windowContext=function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.window.self;return n===e.window.top||C()?n:t(n.parent)}(),this.listeners={resize:this.handleWindowResize,mouseup:this.handleMouseUp,touchend:this.handleTouchEnd,touchcancel:this.handleTouchEnd,pointerdown:this.handlePointerEvent,pointermove:this.handlePointerEvent,pointerup:this.handlePointerEvent,pointercancel:this.handlePointerEvent},Object.keys(this.listeners).forEach((function(e){t.windowContext.addEventListener(e,t.listeners[e])})),this.loadAllImages()}},{key:"shouldComponentUpdate",value:function(e){var t=this;return this.getSrcTypes().forEach((function(n){t.props[n.name]!==e[n.name]&&(t.moveRequested=!1)})),!this.moveRequested}},{key:"componentDidUpdate",value:function(e){var t=this,n=!1,r={},o={};this.getSrcTypes().forEach((function(a){e[a.name]!==t.props[a.name]&&(n=!0,r[e[a.name]]=!0,o[t.props[a.name]]=!0)})),(n||this.moveRequested)&&(Object.keys(r).forEach((function(e){!(e in o)&&e in t.imageCache&&(t.imageCache[e].loaded=!1)})),this.moveRequested=!1,this.loadAllImages(this.props))}},{key:"componentWillUnmount",value:function(){var e=this;this.didUnmount=!0,Object.keys(this.listeners).forEach((function(t){e.windowContext.removeEventListener(t,e.listeners[t])})),this.timeouts.forEach((function(e){return clearTimeout(e)}))}},{key:"setTimeout",value:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){var n=this,r=setTimeout((function(){n.timeouts=n.timeouts.filter((function(e){return e!==r})),e()}),t);return this.timeouts.push(r),r}))},{key:"setPreventInnerClose",value:function(){var e=this;this.preventInnerCloseTimeout&&this.clearTimeout(this.preventInnerCloseTimeout),this.preventInnerClose=!0,this.preventInnerCloseTimeout=this.setTimeout((function(){e.preventInnerClose=!1,e.preventInnerCloseTimeout=null}),100)}},{key:"getBestImageForType",value:function(e){var t=this.props[e],n={};if(this.isImageLoaded(t))n=this.getFitSizes(this.imageCache[t].width,this.imageCache[t].height);else{if(!this.isImageLoaded(this.props["".concat(e,"Thumbnail")]))return null;t=this.props["".concat(e,"Thumbnail")],n=this.getFitSizes(this.imageCache[t].width,this.imageCache[t].height,!0)}return{src:t,height:this.imageCache[t].height,width:this.imageCache[t].width,targetHeight:n.height,targetWidth:n.width}}},{key:"getFitSizes",value:function(e,t,n){var r=this.getLightboxRect(),o=r.height-2*this.props.imagePadding,a=r.width-2*this.props.imagePadding;return n||(o=Math.min(o,t),a=Math.min(a,e)),a/o>e/t?{width:e*o/t,height:o}:{width:a,height:t*a/e}}},{key:"getMaxOffsets",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.zoomLevel,t=this.getBestImageForType("mainSrc");if(null===t)return{maxX:0,minX:0,maxY:0,minY:0};var n=this.getLightboxRect(),r=this.getZoomMultiplier(e),o=0,a=0;return{maxX:o=r*t.width-n.width<0?(n.width-r*t.width)/2:(r*t.width-n.width)/2,maxY:a=r*t.height-n.height<0?(n.height-r*t.height)/2:(r*t.height-n.height)/2,minX:-1*o,minY:-1*a}}},{key:"getSrcTypes",value:function(){return[{name:"mainSrc",keyEnding:"i".concat(this.keyCounter)},{name:"mainSrcThumbnail",keyEnding:"t".concat(this.keyCounter)},{name:"nextSrc",keyEnding:"i".concat(this.keyCounter+1)},{name:"nextSrcThumbnail",keyEnding:"t".concat(this.keyCounter+1)},{name:"prevSrc",keyEnding:"i".concat(this.keyCounter-1)},{name:"prevSrcThumbnail",keyEnding:"t".concat(this.keyCounter-1)}]}},{key:"getZoomMultiplier",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.zoomLevel;return Math.pow(1.007,e)}},{key:"getLightboxRect",value:function(){return this.outerEl.current?this.outerEl.current.getBoundingClientRect():{width:w(),height:void 0!==e.window?e.window.innerHeight:0,top:0,right:0,bottom:0,left:0}}},{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){this.timeouts=this.timeouts.filter((function(t){return t!==e})),clearTimeout(e)}))},{key:"changeZoom",value:function(e,t,n){if(this.props.enableZoom){var r=Math.max(0,Math.min(300,e));if(r!==this.state.zoomLevel)if(0!==r){var o=this.getBestImageForType("mainSrc");if(null!==o){var a=this.getZoomMultiplier(),i=this.getZoomMultiplier(r),s=this.getLightboxRect(),l=void 0!==t?t-s.left:s.width/2,c=void 0!==n?n-s.top:s.height/2,u=(s.width-o.width*a)/2,d=(s.height-o.height*a)/2,f=l-(l-(u-this.state.offsetX))/a*i,p=c-(c-(d-this.state.offsetY))/a*i,h=(s.width-o.width*i)/2-f,m=(s.height-o.height*i)/2-p;if(3!==this.currentAction){var v=this.getMaxOffsets();this.state.zoomLevel>r&&(h=Math.max(v.minX,Math.min(v.maxX,h)),m=Math.max(v.minY,Math.min(v.maxY,m)))}this.setState({zoomLevel:r,offsetX:h,offsetY:m})}}else this.setState({zoomLevel:r,offsetX:0,offsetY:0})}}},{key:"closeIfClickInner",value:function(e){!this.preventInnerClose&&e.target.className.search(/\bril-inner\b/)>-1&&this.requestClose(e)}},{key:"handleKeyInput",value:function(e){if(e.stopPropagation(),!this.isAnimating())if("keyup"!==e.type){var t=e.which||e.keyCode,n=new Date;if(!(n.getTime()-this.lastKeyDownTime=200||e.deltaX>=100?(this.requestMoveNext(e),n=500,this.scrollX=0):(this.scrollX<=-200||e.deltaX<=-100)&&(this.requestMovePrev(e),n=500,this.scrollX=0)),0!==n&&(this.wheelActionTimeout=this.setTimeout((function(){t.wheelActionTimeout=null}),n)))}},{key:"handleImageMouseWheel",value:function(e){if(Math.abs(e.deltaY)>=Math.abs(e.deltaX)){if(e.stopPropagation(),Math.abs(e.deltaY)<1)return;this.scrollX=0,this.scrollY+=e.deltaY,this.changeZoom(this.state.zoomLevel-e.deltaY,e.clientX,e.clientY)}}},{key:"handleImageDoubleClick",value:function(e){this.state.zoomLevel>0?this.changeZoom(0,e.clientX,e.clientY):this.changeZoom(this.state.zoomLevel+100,e.clientX,e.clientY)}},{key:"shouldHandleEvent",value:function(e){if(this.eventsSource===e)return!0;if(0===this.eventsSource)return this.eventsSource=e,!0;switch(e){case 1:return!1;case 2:return this.eventsSource=2,this.filterPointersBySource(),!0;case 3:return 1===this.eventsSource&&(this.eventsSource=3,this.filterPointersBySource(),!0);default:return!1}}},{key:"addPointer",value:function(e){this.pointerList.push(e)}},{key:"removePointer",value:function(e){this.pointerList=this.pointerList.filter((function(t){return t.id!==e.id}))}},{key:"filterPointersBySource",value:function(){var e=this;this.pointerList=this.pointerList.filter((function(t){return t.source===e.eventsSource}))}},{key:"handleMouseDown",value:function(e){this.shouldHandleEvent(1)&&s.isTargetMatchImage(e.target)&&(this.addPointer(s.parseMouseEvent(e)),this.multiPointerStart(e))}},{key:"handleMouseMove",value:function(e){this.shouldHandleEvent(1)&&this.multiPointerMove(e,[s.parseMouseEvent(e)])}},{key:"handleMouseUp",value:function(e){this.shouldHandleEvent(1)&&(this.removePointer(s.parseMouseEvent(e)),this.multiPointerEnd(e))}},{key:"handlePointerEvent",value:function(e){if(this.shouldHandleEvent(3))switch(e.type){case"pointerdown":s.isTargetMatchImage(e.target)&&(this.addPointer(s.parsePointerEvent(e)),this.multiPointerStart(e));break;case"pointermove":this.multiPointerMove(e,[s.parsePointerEvent(e)]);break;case"pointerup":case"pointercancel":this.removePointer(s.parsePointerEvent(e)),this.multiPointerEnd(e)}}},{key:"handleTouchStart",value:function(e){var t=this;this.shouldHandleEvent(2)&&s.isTargetMatchImage(e.target)&&([].forEach.call(e.changedTouches,(function(e){return t.addPointer(s.parseTouchPointer(e))})),this.multiPointerStart(e))}},{key:"handleTouchMove",value:function(e){this.shouldHandleEvent(2)&&this.multiPointerMove(e,[].map.call(e.changedTouches,(function(e){return s.parseTouchPointer(e)})))}},{key:"handleTouchEnd",value:function(e){var t=this;this.shouldHandleEvent(2)&&([].map.call(e.changedTouches,(function(e){return t.removePointer(s.parseTouchPointer(e))})),this.multiPointerEnd(e))}},{key:"decideMoveOrSwipe",value:function(e){this.state.zoomLevel<=0?this.handleSwipeStart(e):this.handleMoveStart(e)}},{key:"multiPointerStart",value:function(e){switch(this.handleEnd(null),this.pointerList.length){case 1:e.preventDefault(),this.decideMoveOrSwipe(this.pointerList[0]);break;case 2:e.preventDefault(),this.handlePinchStart(this.pointerList)}}},{key:"multiPointerMove",value:function(e,t){switch(this.currentAction){case 1:e.preventDefault(),this.handleMove(t[0]);break;case 2:e.preventDefault(),this.handleSwipe(t[0]);break;case 3:e.preventDefault(),this.handlePinch(t)}}},{key:"multiPointerEnd",value:function(e){switch(0!==this.currentAction&&(this.setPreventInnerClose(),this.handleEnd(e)),this.pointerList.length){case 0:this.eventsSource=0;break;case 1:e.preventDefault(),this.decideMoveOrSwipe(this.pointerList[0]);break;case 2:e.preventDefault(),this.handlePinchStart(this.pointerList)}}},{key:"handleEnd",value:function(e){switch(this.currentAction){case 1:this.handleMoveEnd(e);break;case 2:this.handleSwipeEnd(e);break;case 3:this.handlePinchEnd(e)}}},{key:"handleMoveStart",value:function(e){var t=e.x,n=e.y;this.props.enableZoom&&(this.currentAction=1,this.moveStartX=t,this.moveStartY=n,this.moveStartOffsetX=this.state.offsetX,this.moveStartOffsetY=this.state.offsetY)}},{key:"handleMove",value:function(e){var t=e.x,n=e.y,r=this.moveStartX-t+this.moveStartOffsetX,o=this.moveStartY-n+this.moveStartOffsetY;this.state.offsetX===r&&this.state.offsetY===o||this.setState({offsetX:r,offsetY:o})}},{key:"handleMoveEnd",value:function(){var e=this;this.currentAction=0,this.moveStartX=0,this.moveStartY=0,this.moveStartOffsetX=0,this.moveStartOffsetY=0;var t=this.getMaxOffsets(),n=Math.max(t.minX,Math.min(t.maxX,this.state.offsetX)),r=Math.max(t.minY,Math.min(t.maxY,this.state.offsetY));n===this.state.offsetX&&r===this.state.offsetY||(this.setState({offsetX:n,offsetY:r,shouldAnimate:!0}),this.setTimeout((function(){e.setState({shouldAnimate:!1})}),this.props.animationDuration))}},{key:"handleSwipeStart",value:function(e){var t=e.x,n=e.y;this.currentAction=2,this.swipeStartX=t,this.swipeStartY=n,this.swipeEndX=t,this.swipeEndY=n}},{key:"handleSwipe",value:function(e){var t=e.x,n=e.y;this.swipeEndX=t,this.swipeEndY=n}},{key:"handleSwipeEnd",value:function(e){var t=this.swipeEndX-this.swipeStartX,n=Math.abs(t),r=Math.abs(this.swipeEndY-this.swipeStartY);if(this.currentAction=0,this.swipeStartX=0,this.swipeStartY=0,this.swipeEndX=0,this.swipeEndY=0,!(!e||this.isAnimating()||n<1.5*r)){if(n<200&&n0&&this.props.prevSrc?(e.preventDefault(),this.requestMovePrev()):t<0&&this.props.nextSrc&&(e.preventDefault(),this.requestMoveNext())}}},{key:"calculatePinchDistance",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.pinchTouchList,t=g(e,2),n=t[0],r=t[1];return Math.sqrt(Math.pow(n.x-r.x,2)+Math.pow(n.y-r.y,2))}},{key:"calculatePinchCenter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.pinchTouchList,t=g(e,2),n=t[0],r=t[1];return{x:n.x-(n.x-r.x)/2,y:n.y-(n.y-r.y)/2}}},{key:"handlePinchStart",value:function(e){this.props.enableZoom&&(this.currentAction=3,this.pinchTouchList=e.map((function(e){return{id:e.id,x:e.x,y:e.y}})),this.pinchDistance=this.calculatePinchDistance())}},{key:"handlePinch",value:function(e){this.pinchTouchList=this.pinchTouchList.map((function(t){for(var n=0;n0&&t+o>=r||e.deltaY<0&&o<=0)&&e.preventDefault()}}},{key:"isAnimating",value:function(){return this.state.shouldAnimate||this.state.isClosing}},{key:"isImageLoaded",value:function(e){return e&&e in this.imageCache&&this.imageCache[e].loaded}},{key:"loadImage",value:function(t,n,r){var o=this;if(this.isImageLoaded(n))this.setTimeout((function(){r()}),1);else{var a=new e.Image;this.props.imageCrossOrigin&&(a.crossOrigin=this.props.imageCrossOrigin),a.onerror=function(e){o.props.onImageLoadError(n,t,e),o.setState((function(e){return{loadErrorStatus:u(u({},e.loadErrorStatus),{},f({},t,!0))}})),r(e)},a.onload=function(){o.props.onImageLoad(n,t,a),o.imageCache[n]={loaded:!0,width:a.width,height:a.height},r()},a.src=n}}},{key:"loadAllImages",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=function(t,n){return function(r){r||e.props[t]!==n||e.didUnmount||e.forceUpdate()}};this.getSrcTypes().forEach((function(r){var o=r.name;t[o]&&e.state.loadErrorStatus[o]&&e.setState((function(e){return{loadErrorStatus:u(u({},e.loadErrorStatus),{},f({},o,!1))}})),t[o]&&!e.isImageLoaded(t[o])&&e.loadImage(o,t[o],n(o,t[o]))}))}},{key:"requestClose",value:function(e){var t=this,n=function(){return t.props.onCloseRequest(e)};this.props.animationDisabled||"keydown"===e.type&&!this.props.animationOnKeyInput?n():(this.setState({isClosing:!0}),this.setTimeout(n,this.props.animationDuration))}},{key:"requestMove",value:function(e,t){var n=this,r={zoomLevel:0,offsetX:0,offsetY:0};this.props.animationDisabled||this.keyPressed&&!this.props.animationOnKeyInput||(r.shouldAnimate=!0,this.setTimeout((function(){return n.setState({shouldAnimate:!1})}),this.props.animationDuration)),this.keyPressed=!1,this.moveRequested=!0,"prev"===e?(this.keyCounter-=1,this.setState(r),this.props.onMovePrevRequest(t)):(this.keyCounter+=1,this.setState(r),this.props.onMoveNextRequest(t))}},{key:"requestMoveNext",value:function(e){this.requestMove("next",e)}},{key:"requestMovePrev",value:function(e){this.requestMove("prev",e)}},{key:"render",value:function(){var t=this,n=this.props,r=n.animationDisabled,a=n.animationDuration,i=n.clickOutsideToClose,c=n.discourageDownloads,d=n.enableZoom,f=n.imageTitle,h=n.nextSrc,m=n.prevSrc,v=n.toolbarButtons,b=n.reactModalStyle,y=n.onAfterOpen,g=n.imageCrossOrigin,O=n.reactModalProps,S=n.loader,w=this.state,C=w.zoomLevel,T=w.offsetX,A=w.offsetY,j=w.isClosing,k=w.loadErrorStatus,I=this.getLightboxRect(),N={};!r&&this.isAnimating()&&(N=u(u({},N),{},{transition:"transform ".concat(a,"ms")}));var x={};this.getSrcTypes().forEach((function(e){var t=e.name,n=e.keyEnding;x[t]=n}));var R=[],D=function(e,n,r){if(t.props[e]){var a,i=t.getBestImageForType(e),l=u(u({},N),s.getTransform(u(u({},r),i)));if(C>0&&(l.cursor="move"),null===i&&(a=k,Object.keys(a).some((function(e){return a[e]}))))R.push(o.a.createElement("div",{className:"".concat(n," ril__image ril-errored"),style:l,key:t.props[e]+x[e]},o.a.createElement("div",{className:"ril__errorContainer"},t.props.imageLoadErrorMessage)));else if(null!==i){var d=i.src;c?(l.backgroundImage="url('".concat(d,"')"),R.push(o.a.createElement("div",{className:"".concat(n," ril__image ril__imageDiscourager"),onDoubleClick:t.handleImageDoubleClick,onWheel:t.handleImageMouseWheel,style:l,key:d+x[e]},o.a.createElement("div",{className:"ril-download-blocker ril__downloadBlocker"})))):R.push(o.a.createElement("img",p({},g?{crossOrigin:g}:{},{className:"".concat(n," ril__image"),onDoubleClick:t.handleImageDoubleClick,onWheel:t.handleImageMouseWheel,onDragStart:function(e){return e.preventDefault()},style:l,src:d,key:d+x[e],alt:"string"==typeof f?f:E("Image"),draggable:!1})))}else{var h=void 0!==S?S:o.a.createElement("div",{className:"ril-loading-circle ril__loadingCircle ril__loadingContainer__icon"},_(new Array(12)).map((function(e,t){return o.a.createElement("div",{key:t,className:"ril-loading-circle-point ril__loadingCirclePoint"})})));R.push(o.a.createElement("div",{className:"".concat(n," ril__image ril-not-loaded"),style:l,key:t.props[e]+x[e]},o.a.createElement("div",{className:"ril__loadingContainer"},h)))}}},M=this.getZoomMultiplier();D("nextSrc","ril-image-next ril__imageNext",{x:I.width}),D("mainSrc","ril-image-current",{x:-1*T,y:-1*A,zoom:M}),D("prevSrc","ril-image-prev ril__imagePrev",{x:-1*I.width});var L={overlay:u({zIndex:1e3,backgroundColor:"transparent"},b.overlay),content:u({backgroundColor:"transparent",overflow:"hidden",border:"none",borderRadius:0,padding:0,top:0,left:0,right:0,bottom:0},b.content)};return o.a.createElement(l.a,p({isOpen:!0,onRequestClose:i?this.requestClose:void 0,onAfterOpen:function(){t.outerEl.current&&t.outerEl.current.focus(),y()},style:L,contentLabel:E("Lightbox"),appElement:void 0!==e.window?e.window.document.body:void 0},O),o.a.createElement("div",{className:"ril-outer ril__outer ril__outerAnimating ".concat(this.props.wrapperClassName," ").concat(j?"ril-closing ril__outerClosing":""),style:{transition:"opacity ".concat(a,"ms"),animationDuration:"".concat(a,"ms"),animationDirection:j?"normal":"reverse"},ref:this.outerEl,onWheel:this.handleOuterMousewheel,onMouseMove:this.handleMouseMove,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,tabIndex:"-1",onKeyDown:this.handleKeyInput,onKeyUp:this.handleKeyInput},o.a.createElement("div",{className:"ril-inner ril__inner",onClick:i?this.closeIfClickInner:void 0},R),m&&o.a.createElement("button",{type:"button",className:"ril-prev-button ril__navButtons ril__navButtonPrev",key:"prev","aria-label":this.props.prevLabel,title:this.props.prevLabel,onClick:this.isAnimating()?void 0:this.requestMovePrev}),h&&o.a.createElement("button",{type:"button",className:"ril-next-button ril__navButtons ril__navButtonNext",key:"next","aria-label":this.props.nextLabel,title:this.props.nextLabel,onClick:this.isAnimating()?void 0:this.requestMoveNext}),o.a.createElement("div",{className:"ril-toolbar ril__toolbar"},o.a.createElement("ul",{className:"ril-toolbar-left ril__toolbarSide ril__toolbarLeftSide"},o.a.createElement("li",{className:"ril-toolbar__item ril__toolbarItem"},o.a.createElement("span",{className:"ril-toolbar__item__child ril__toolbarItemChild"},f))),o.a.createElement("ul",{className:"ril-toolbar-right ril__toolbarSide ril__toolbarRightSide"},v&&v.map((function(e,t){return o.a.createElement("li",{key:"button_".concat(t+1),className:"ril-toolbar__item ril__toolbarItem"},e)})),d&&o.a.createElement("li",{className:"ril-toolbar__item ril__toolbarItem"},o.a.createElement("button",{type:"button",key:"zoom-in","aria-label":this.props.zoomInLabel,title:this.props.zoomInLabel,className:["ril-zoom-in","ril__toolbarItemChild","ril__builtinButton","ril__zoomInButton"].concat(_(300===C?["ril__builtinButtonDisabled"]:[])).join(" "),ref:this.zoomInBtn,disabled:this.isAnimating()||300===C,onClick:this.isAnimating()||300===C?void 0:this.handleZoomInButtonClick})),d&&o.a.createElement("li",{className:"ril-toolbar__item ril__toolbarItem"},o.a.createElement("button",{type:"button",key:"zoom-out","aria-label":this.props.zoomOutLabel,title:this.props.zoomOutLabel,className:["ril-zoom-out","ril__toolbarItemChild","ril__builtinButton","ril__zoomOutButton"].concat(_(0===C?["ril__builtinButtonDisabled"]:[])).join(" "),ref:this.zoomOutBtn,disabled:this.isAnimating()||0===C,onClick:this.isAnimating()||0===C?void 0:this.handleZoomOutButtonClick})),o.a.createElement("li",{className:"ril-toolbar__item ril__toolbarItem"},o.a.createElement("button",{type:"button",key:"close","aria-label":this.props.closeLabel,title:this.props.closeLabel,className:"ril-close ril-toolbar__item__child ril__toolbarItemChild ril__builtinButton ril__closeButton",onClick:this.isAnimating()?void 0:this.requestClose})))),this.props.imageCaption&&o.a.createElement("div",{onWheel:this.handleCaptionMousewheel,onMouseDown:function(e){return e.stopPropagation()},className:"ril-caption ril__caption",ref:this.caption},o.a.createElement("div",{className:"ril-caption-content ril__captionContent"},this.props.imageCaption))))}}],a=[{key:"isTargetMatchImage",value:function(e){return e&&/ril-image-current/.test(e.className)}},{key:"parseMouseEvent",value:function(e){return{id:"mouse",source:1,x:parseInt(e.clientX,10),y:parseInt(e.clientY,10)}}},{key:"parseTouchPointer",value:function(e){return{id:e.identifier,source:2,x:parseInt(e.clientX,10),y:parseInt(e.clientY,10)}}},{key:"parsePointerEvent",value:function(e){return{id:e.pointerId,source:3,x:parseInt(e.clientX,10),y:parseInt(e.clientY,10)}}},{key:"getTransform",value:function(e){var t=e.x,n=void 0===t?0:t,r=e.y,o=void 0===r?0:r,a=e.zoom,i=void 0===a?1:a,s=e.width,l=e.targetWidth,c=n,u=w();s>u&&(c+=(u-s)/2);var d=i*(l/s);return{transform:"translate3d(".concat(c,"px,").concat(o,"px,0) scale3d(").concat(d,",").concat(d,",1)")}}}],r&&d(n.prototype,r),a&&d(n,a),s}(r.Component);k.propTypes={mainSrc:i.a.string.isRequired,prevSrc:i.a.string,nextSrc:i.a.string,mainSrcThumbnail:i.a.string,prevSrcThumbnail:i.a.string,nextSrcThumbnail:i.a.string,onCloseRequest:i.a.func.isRequired,onMovePrevRequest:i.a.func,onMoveNextRequest:i.a.func,onImageLoadError:i.a.func,onImageLoad:i.a.func,onAfterOpen:i.a.func,discourageDownloads:i.a.bool,animationDisabled:i.a.bool,animationOnKeyInput:i.a.bool,animationDuration:i.a.number,keyRepeatLimit:i.a.number,keyRepeatKeyupBonus:i.a.number,imageTitle:i.a.node,imageCaption:i.a.node,imageCrossOrigin:i.a.string,reactModalStyle:i.a.shape({}),imagePadding:i.a.number,wrapperClassName:i.a.string,toolbarButtons:i.a.arrayOf(i.a.node),clickOutsideToClose:i.a.bool,enableZoom:i.a.bool,reactModalProps:i.a.shape({}),nextLabel:i.a.string,prevLabel:i.a.string,zoomInLabel:i.a.string,zoomOutLabel:i.a.string,closeLabel:i.a.string,imageLoadErrorMessage:i.a.node,loader:i.a.node},k.defaultProps={imageTitle:null,imageCaption:null,toolbarButtons:null,reactModalProps:{},animationDisabled:!1,animationDuration:300,animationOnKeyInput:!1,clickOutsideToClose:!0,closeLabel:"Close lightbox",discourageDownloads:!1,enableZoom:!0,imagePadding:10,imageCrossOrigin:null,keyRepeatKeyupBonus:40,keyRepeatLimit:180,mainSrcThumbnail:null,nextLabel:"Next image",nextSrc:null,nextSrcThumbnail:null,onAfterOpen:function(){},onImageLoadError:function(){},onImageLoad:function(){},onMoveNextRequest:function(){},onMovePrevRequest:function(){},prevLabel:"Previous image",prevSrc:null,prevSrcThumbnail:null,reactModalStyle:{},wrapperClassName:"",zoomInLabel:"Zoom in",zoomOutLabel:"Zoom out",imageLoadErrorMessage:"This image failed to load",loader:void 0},t.a=k}).call(this,n(112))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(187),a=(r=o)&&r.__esModule?r:{default:r};t.default=a.default,e.exports=t.default},function(e,t,n){e.exports={lightbox:"AssetPreview-module__lightbox___-wule",ril__image:"AssetPreview-module__ril__image___3eJUn"}},function(e,t,n){e.exports={assetCount:"AssetCount-module__assetCount___xVZ7s"}},function(e,t,n){e.exports={viewModeSelector:"ViewModeSelector-module__viewModeSelector___20xae",selectBox:"ViewModeSelector-module__selectBox___1EcPD"}},function(e,t,n){e.exports={emptyStateWrapper:"Main-module__emptyStateWrapper___3mewP"}},function(e,t,n){e.exports={thumbnailView:"ThumbnailView-module__thumbnailView___2rud9"}},function(e,t,n){"use strict";n(167)},function(e,t,n){"use strict";var r,o=n(168),a=(r=o)&&r.__esModule?r:{default:r},i=n(175),s=n(186);(0,a.default)("Flowpack.Media.Ui:AssetEditor",{},(function(e,t){var n=t.frontendConfiguration,r=e.get("inspector").get("secondaryEditors");n["Flowpack.Media.Ui"].useNewMediaSelection&&(r.set("Neos.Neos/Inspector/Secondary/Editors/MediaDetailsScreen",{component:i.MediaDetailsScreen}),r.set("Neos.Neos/Inspector/Secondary/Editors/MediaSelectionScreen",{component:s.MediaSelectionScreen}))}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SynchronousMetaRegistry=t.SynchronousRegistry=t.readFromConsumerApi=t.createConsumerApi=void 0;var r=i(n(169)),o=i(n(40)),a=n(171);function i(e){return e&&e.__esModule?e:{default:e}}t.default=(0,o.default)("manifest"),t.createConsumerApi=r.default,t.readFromConsumerApi=o.default,t.SynchronousRegistry=a.SynchronousRegistry,t.SynchronousMetaRegistry=a.SynchronousMetaRegistry},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n={};Object.keys(t).forEach((function(e){Object.defineProperty(n,e,i(t[e]))})),Object.defineProperty(n,"@manifest",i((0,a.default)(e))),Object.defineProperty(window,"@Neos:HostPluginAPI",i(n))};var r,o=n(170),a=(r=o)&&r.__esModule?r:{default:r};var i=function(e){return{value:e,writable:!1,enumerable:!1,configurable:!0}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,n,r){var o,a,i;e.push((i={options:n,bootstrap:r},(a=t)in(o={})?Object.defineProperty(o,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):o[a]=i,o))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SynchronousMetaRegistry=t.SynchronousRegistry=void 0;var r=a(n(110)),o=a(n(174));function a(e){return e&&e.__esModule?e:{default:e}}t.SynchronousRegistry=r.default,t.SynchronousMetaRegistry=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=class{constructor(e){this.SERIAL_VERSION_UID="d8a5aa78-978e-11e6-ae22-56b6b6499611",this.description=e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"position",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"key",r="string"==typeof t?function(e){return e[t]}:t,o={},a={},i={},s={},l={},c={};e.forEach((function(e,t){var u=e[n]?e[n]:String(t);o[u]=t;var d=r(e),f=String(d||t),p=!1;if(f.startsWith("start")){var h=f.match(/start\s+(\d+)/),m=h&&h[1]?Number(h[1]):0;i[m]||(i[m]=[]),i[m].push(u)}else if(f.startsWith("end")){var v=f.match(/end\s+(\d+)/),b=v&&v[1]?Number(v[1]):0;s[b]||(s[b]=[]),s[b].push(u)}else if(f.startsWith("before")){var y=f.match(/before\s+(\S+)(\s+(\d+))?/);if(y){var g=y[1],_=y[3]?Number(y[3]):0;l[g]||(l[g]={}),l[g][_]||(l[g][_]=[]),l[g][_].push(u)}else p=!0}else if(f.startsWith("after")){var O=f.match(/after\s+(\S+)(\s+(\d+))?/);if(O){var S=O[1],E=O[3]?Number(O[3]):0;c[S]||(c[S]={}),c[S][E]||(c[S][E]=[]),c[S][E].push(u)}else p=!0}else p=!0;if(p){var w=parseFloat(f);!isNaN(w)&&isFinite(w)||(w=t),a[w]||(a[w]=[]),a[w].push(u)}}));var u=[],d=[],f=[],p=[],h=function(e,t){var n=Object.keys(e).map((function(e){return Number(e)})).sort((function(e,t){return e-t}));return t?n:n.reverse()},m=function e(t,n){t.forEach((function(t){if(!(p.indexOf(t)>=0)){if(p.push(t),l[t]){var r=h(l[t],!0),o=!0,a=!1,i=void 0;try{for(var s,u=r[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var d=s.value;e(l[t][d],n)}}catch(e){a=!0,i=e}finally{try{!o&&u.return&&u.return()}finally{if(a)throw i}}}if(n.push(t),c[t]){var f=h(c[t],!1),m=!0,v=!1,b=void 0;try{for(var y,g=f[Symbol.iterator]();!(m=(y=g.next()).done);m=!0){var _=y.value;e(c[t][_],n)}}catch(e){v=!0,b=e}finally{try{!m&&g.return&&g.return()}finally{if(v)throw b}}}}}))},v=!0,b=!1,y=void 0;try{for(var g,_=h(i,!1)[Symbol.iterator]();!(v=(g=_.next()).done);v=!0){var O=g.value;m(i[O],u)}}catch(e){b=!0,y=e}finally{try{!v&&_.return&&_.return()}finally{if(b)throw y}}var S=!0,E=!1,w=void 0;try{for(var C,T=h(a,!0)[Symbol.iterator]();!(S=(C=T.next()).done);S=!0){var A=C.value;m(a[A],d)}}catch(e){E=!0,w=e}finally{try{!S&&T.return&&T.return()}finally{if(E)throw w}}var j=!0,k=!1,I=void 0;try{for(var N,x=h(s,!0)[Symbol.iterator]();!(j=(N=x.next()).done);j=!0){var R=N.value;m(s[R],f)}}catch(e){k=!0,I=e}finally{try{!j&&x.return&&x.return()}finally{if(k)throw I}}var D=!0,M=!1,L=void 0;try{for(var P,F=Object.keys(l)[Symbol.iterator]();!(D=(P=F.next()).done);D=!0){var B=P.value;if(!(p.indexOf(B)>=0)){var U=!0,V=!1,q=void 0;try{for(var z,Q=h(l[B],!1)[Symbol.iterator]();!(U=(z=Q.next()).done);U=!0){var $=z.value;m(l[B][$],u)}}catch(e){V=!0,q=e}finally{try{!U&&Q.return&&Q.return()}finally{if(V)throw q}}}}}catch(e){M=!0,L=e}finally{try{!D&&F.return&&F.return()}finally{if(M)throw L}}var W=!0,H=!1,K=void 0;try{for(var G,Y=Object.keys(c)[Symbol.iterator]();!(W=(G=Y.next()).done);W=!0){var X=G.value;if(!(p.indexOf(X)>=0)){var J=!0,Z=!1,ee=void 0;try{for(var te,ne=h(c[X],!1)[Symbol.iterator]();!(J=(te=ne.next()).done);J=!0){var re=te.value;m(c[X][re],d)}}catch(e){Z=!0,ee=e}finally{try{!J&&ne.return&&ne.return()}finally{if(Z)throw ee}}}}}catch(e){H=!0,K=e}finally{try{!W&&Y.return&&Y.return()}finally{if(H)throw K}}var oe=[].concat(u,d,f);return oe.map((function(e){return o[e]})).map((function(t){return e[t]}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(110),a=(r=o)&&r.__esModule?r:{default:r};var i=class extends a.default{set(e,t){if("d8a5aa78-978e-11e6-ae22-56b6b6499611"!==t.SERIAL_VERSION_UID)throw new Error("You can only add registries to a meta registry");return super.set(e,t)}};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(199);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})}))},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n1,o=!1,a=arguments[1],i=a;return new n((function(n){return t.subscribe({next:function(t){var a=!o;if(o=!0,!a||r)try{i=e(i,t)}catch(e){return n.error(e)}else i=t},error:function(e){n.error(e)},complete:function(){if(!o&&!r)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(i),n.complete()}})}))}},{key:"concat",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r=0&&o.splice(e,1),i()}});o.push(a)},error:function(e){r.error(e)},complete:function(){i()}});function i(){a.closed&&0===o.length&&r.complete()}return function(){o.forEach((function(e){return e.unsubscribe()})),a.unsubscribe()}}))}},{key:u,value:function(){return this}}],[{key:"from",value:function(t){var n="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var r=f(t,u);if(r){var o=r.call(t);if(Object(o)!==o)throw new TypeError(o+" is not an object");return h(o)&&o.constructor===n?o:new n((function(e){return o.subscribe(e)}))}if(s("iterator")&&(r=f(t,c)))return new n((function(e){v((function(){if(!e.closed){var n=!0,o=!1,a=void 0;try{for(var i,s=r.call(t)[Symbol.iterator]();!(n=(i=s.next()).done);n=!0){var l=i.value;if(e.next(l),e.closed)return}}catch(e){o=!0,a=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw a}}e.complete()}}))}));if(Array.isArray(t))return new n((function(e){v((function(){if(!e.closed){for(var n=0;n0&&0===(y-=1)&&u.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(l.returnFocus(n.props.preventScroll),l.teardownScopedFocus()):l.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),h.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(l.setupScopedFocus(n.node),l.markForFocusLater()),n.setState({isOpen:!0},(function(){n.openAnimationFrame=requestAnimationFrame((function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})}))})))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},(function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())}))},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,c.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===(void 0===t?"undefined":o(t))?t:{base:b[e],afterOpen:b[e]+"--after-open",beforeClose:b[e]+"--before-close"},a=r.base;return n.state.afterOpen&&(a=a+" "+r.afterOpen),n.state.beforeClose&&(a=a+" "+r.beforeClose),"string"==typeof t&&t?a+" "+t:a},n.attributesFromObject=function(e,t){return Object.keys(t).reduce((function(n,r){return n[e+"-"+r]=t[r],n}),{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,o=e.bodyOpenClassName,a=e.parentSelector,i=a&&a().ownerDocument||document;o&&d.add(i.body,o),r&&d.add(i.getElementsByTagName("html")[0],r),n&&(y+=1,u.hide(t)),h.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,o=e.overlayClassName,a=e.defaultStyles,i=e.children,s=n?{}:a.content,l=o?{}:a.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",o),style:r({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=r({id:t,ref:this.setContentRef,style:r({},s,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",r({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(u,i);return this.props.overlayElement(c,d)}}]),t}(i.Component);g.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},g.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),parentSelector:s.default.func,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(p.default),s.default.instanceOf(f.SafeHTMLCollection),s.default.instanceOf(f.SafeNodeList),s.default.arrayOf(s.default.instanceOf(p.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},t.default=g,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){i=[]},t.log=function(){0},t.handleBlur=c,t.handleFocus=u,t.markForFocusLater=function(){i.push(document.activeElement)},t.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==i.length&&(t=i.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){i.length>0&&i.pop()},t.setupScopedFocus=function(e){s=e,window.addEventListener?(window.addEventListener("blur",c,!1),document.addEventListener("focus",u,!0)):(window.attachEvent("onBlur",c),document.attachEvent("onFocus",u))},t.teardownScopedFocus=function(){s=null,window.addEventListener?(window.removeEventListener("blur",c),document.removeEventListener("focus",u)):(window.detachEvent("onBlur",c),document.detachEvent("onFocus",u))};var r,o=n(126),a=(r=o)&&r.__esModule?r:{default:r};var i=[],s=null,l=!1;function c(){l=!0}function u(){if(l){if(l=!1,!s)return;setTimeout((function(){s.contains(document.activeElement)||((0,a.default)(s)[0]||s).focus()}),0)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,a.default)(e);if(!n.length)return void t.preventDefault();var r=void 0,o=t.shiftKey,i=n[0],s=n[n.length-1],l=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return t.activeElement.shadowRoot?e(t.activeElement.shadowRoot):t.activeElement}();if(e===l){if(!o)return;r=s}s!==l||o||(r=i);i===l&&o&&(r=s);if(r)return t.preventDefault(),void r.focus();var c=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==c||"Chrome"==c[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var u=n.indexOf(l);u>-1&&(u+=o?-1:1);if(void 0===(r=n[u]))return t.preventDefault(),void(r=o?s:i).focus();t.preventDefault(),r.focus()};var r,o=n(126),a=(r=o)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){var r; /*! Copyright (c) 2015 Jed Watson. Based on code that is Copyright 2013-2015, Facebook, Inc. All rights reserved. -*/!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),a={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in r)a(e,r[t]);var n=document.body;for(var i in o)a(n,o[i]);r={},o={}},t.log=function(){0};var r={},o={};function a(e,t){e.classList.remove(t)}t.add=function(e,t){return n=e.classList,a="html"==e.nodeName.toLowerCase()?r:o,void t.split(" ").forEach((function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(a,e),n.add(e)}));var n,a},t.remove=function(e,t){return n=e.classList,a="html"==e.nodeName.toLowerCase()?r:o,void t.split(" ").forEach((function(e){!function(e,t){e[t]&&(e[t]-=1)}(a,e),0===a[e]&&n.remove(e)}));var n,a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){for(var e=[i,s],t=0;t0?(document.body.firstChild!==i&&document.body.insertBefore(i,document.body.firstChild),document.body.lastChild!==s&&document.body.appendChild(s)):(i.parentElement&&i.parentElement.removeChild(i),s.parentElement&&s.parentElement.removeChild(s))}))},function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function o(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function a(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function i(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,i=null,s=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?i="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(i="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?s="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==i||null!==s){var l=e.displayName||e.name,c="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+l+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==i?"\n "+i:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=a;var u=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,e,t,r)}}return e}n.r(t),n.d(t,"polyfill",(function(){return i})),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,a.__suppressDeprecationWarning=!0},function(e,t,n){e.exports={ril__outer:"style__ril__outer___1zYzZ",ril__outerClosing:"style__ril__outerClosing___3n_rB",ril__inner:"style__ril__inner___dYbbg",ril__image:"style__ril__image___ohhGk",ril__imagePrev:"style__ril__imagePrev___1TitV",ril__imageNext:"style__ril__imageNext___qIMp_",ril__imageDiscourager:"style__ril__imageDiscourager___1loUi",ril__navButtons:"style__ril__navButtons___rD-18",ril__navButtonPrev:"style__ril__navButtonPrev___3XfSU",ril__navButtonNext:"style__ril__navButtonNext___lV26z",ril__downloadBlocker:"style__ril__downloadBlocker___2Jwql",ril__caption:"style__ril__caption___20juT",ril__toolbar:"style__ril__toolbar___10lYy",ril__captionContent:"style__ril__captionContent___6dnIh",ril__toolbarSide:"style__ril__toolbarSide___1-5RY",ril__toolbarLeftSide:"style__ril__toolbarLeftSide___33kts",ril__toolbarRightSide:"style__ril__toolbarRightSide___3xRiA",ril__toolbarItem:"style__ril__toolbarItem___33nhp",ril__toolbarItemChild:"style__ril__toolbarItemChild___1uo52",ril__builtinButton:"style__ril__builtinButton___2ew22",ril__builtinButtonDisabled:"style__ril__builtinButtonDisabled___3xK7K",ril__closeButton:"style__ril__closeButton___2Ge8S",ril__zoomInButton:"style__ril__zoomInButton___2okkJ",ril__zoomOutButton:"style__ril__zoomOutButton___2U6Nk",ril__outerAnimating:"style__ril__outerAnimating___2Z5fK",closeWindow:"style__closeWindow___2YNOe",ril__loadingCircle:"style__ril__loadingCircle___23cHC",ril__loadingCirclePoint:"style__ril__loadingCirclePoint___3pCVl",pointFade:"style__pointFade___2ppwA",ril__loadingContainer:"style__ril__loadingContainer___38L0C",ril__errorContainer:"style__ril__errorContainer___3sKjX",ril__loadingContainer__icon:"style__ril__loadingContainer__icon___2nrVt"}},function(e,t,n){},function(e,t,n){"use strict";n.r(t),n.d(t,"MediaSelectionScreen",(function(){return it}));var r=n(0),o=n.n(r),a=n(74),i=n(4),s=n(91),l=n(13),c=n.n(l),u=n(87),d=n(75),f=n(5),p=n(89),h=n(62),m=n(1),v=n(9),b=n(7),y=n(19),g=n(20),_=n(38),O=n(23);var S=i.gql` +*/!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),a={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in r)a(e,r[t]);var n=document.body;for(var i in o)a(n,o[i]);r={},o={}},t.log=function(){0};var r={},o={};function a(e,t){e.classList.remove(t)}t.add=function(e,t){return n=e.classList,a="html"==e.nodeName.toLowerCase()?r:o,void t.split(" ").forEach((function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(a,e),n.add(e)}));var n,a},t.remove=function(e,t){return n=e.classList,a="html"==e.nodeName.toLowerCase()?r:o,void t.split(" ").forEach((function(e){!function(e,t){e[t]&&(e[t]-=1)}(a,e),0===a[e]&&n.remove(e)}));var n,a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){for(var e=[i,s],t=0;t0?(document.body.firstChild!==i&&document.body.insertBefore(i,document.body.firstChild),document.body.lastChild!==s&&document.body.appendChild(s)):(i.parentElement&&i.parentElement.removeChild(i),s.parentElement&&s.parentElement.removeChild(s))}))},function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function o(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function a(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function i(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,i=null,s=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?i="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(i="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?s="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==i||null!==s){var l=e.displayName||e.name,c="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+l+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==i?"\n "+i:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=a;var u=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,e,t,r)}}return e}n.r(t),n.d(t,"polyfill",(function(){return i})),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,a.__suppressDeprecationWarning=!0},function(e,t,n){e.exports={ril__outer:"style__ril__outer___1zYzZ",ril__outerClosing:"style__ril__outerClosing___3n_rB",ril__inner:"style__ril__inner___dYbbg",ril__image:"style__ril__image___ohhGk",ril__imagePrev:"style__ril__imagePrev___1TitV",ril__imageNext:"style__ril__imageNext___qIMp_",ril__imageDiscourager:"style__ril__imageDiscourager___1loUi",ril__navButtons:"style__ril__navButtons___rD-18",ril__navButtonPrev:"style__ril__navButtonPrev___3XfSU",ril__navButtonNext:"style__ril__navButtonNext___lV26z",ril__downloadBlocker:"style__ril__downloadBlocker___2Jwql",ril__caption:"style__ril__caption___20juT",ril__toolbar:"style__ril__toolbar___10lYy",ril__captionContent:"style__ril__captionContent___6dnIh",ril__toolbarSide:"style__ril__toolbarSide___1-5RY",ril__toolbarLeftSide:"style__ril__toolbarLeftSide___33kts",ril__toolbarRightSide:"style__ril__toolbarRightSide___3xRiA",ril__toolbarItem:"style__ril__toolbarItem___33nhp",ril__toolbarItemChild:"style__ril__toolbarItemChild___1uo52",ril__builtinButton:"style__ril__builtinButton___2ew22",ril__builtinButtonDisabled:"style__ril__builtinButtonDisabled___3xK7K",ril__closeButton:"style__ril__closeButton___2Ge8S",ril__zoomInButton:"style__ril__zoomInButton___2okkJ",ril__zoomOutButton:"style__ril__zoomOutButton___2U6Nk",ril__outerAnimating:"style__ril__outerAnimating___2Z5fK",closeWindow:"style__closeWindow___2YNOe",ril__loadingCircle:"style__ril__loadingCircle___23cHC",ril__loadingCirclePoint:"style__ril__loadingCirclePoint___3pCVl",pointFade:"style__pointFade___2ppwA",ril__loadingContainer:"style__ril__loadingContainer___38L0C",ril__errorContainer:"style__ril__errorContainer___3sKjX",ril__loadingContainer__icon:"style__ril__loadingContainer__icon___2nrVt"}},function(e,t,n){},function(e,t,n){"use strict";n.r(t),n.d(t,"MediaSelectionScreen",(function(){return it}));var r=n(0),o=n.n(r),a=n(74),i=n(4),s=n(93),l=n(13),c=n.n(l),u=n(89),d=n(75),f=n(5),p=n(91),h=n(62),m=n(1),v=n(9),b=n(7),y=n(19),g=n(20),_=n(38),O=n(23);var S=i.gql` query CHANGED_ASSETS($since: DateTime = null) { changedAssets(since: $since) { lastModified @@ -481,4 +481,4 @@ var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Arr fragment AssetLastModified on Asset { lastModified } -`;var w=o.a.memo(()=>{const e=function(){const{config:e}=Object(v.d)(),[t,n]=Object(r.useState)(null),[o,a]=Object(r.useState)([]),{data:s,client:l}=Object(i.useQuery)(S,{variables:{since:null!=t?t:null==e?void 0:e.currentServerTime},pollInterval:5e3,skip:!(null==e?void 0:e.currentServerTime)});return Object(r.useEffect)(()=>{if(!(null==s?void 0:s.changedAssets))return;const{lastModified:e,changes:t}=s.changedAssets;e&&n(e);const r=t.filter(e=>{if("ASSET_CREATED"===e.type)return!0;const t=l.cache.readFragment({fragment:E,id:l.cache.identify({__typename:"Asset",id:e.assetId})});return!!t&&t.lastModified0===r.length?e:r)},[null==s?void 0:s.changedAssets,l]),o}(),{refetch:t}=Object(v.b)(),{refetch:n}=Object(v.c)();return Object(r.useEffect)(()=>{null==e||e.forEach(e=>{switch(e.type){case"ASSET_REPLACED":case"ASSET_UPDATED":t({id:e.assetId,assetSourceId:O.c}).then(()=>{console.info(e.assetId,e.type,"An asset was updated due to a remote change")}),Object(_.c)({assetId:e.assetId,assetSourceId:O.c});break;case"ASSET_CREATED":n().then(()=>{console.info(e.assetId,e.type,"An asset was created remotely")}),Object(_.a)({assetId:e.assetId,assetSourceId:O.c});break;case"ASSET_REMOVED":n().then(()=>{console.info(e.assetId,e.type,"An asset was removed remotely")}),Object(_.b)({assetId:e.assetId,assetSourceId:O.c});break;default:console.debug(e,"unhandled remote change")}})},[e,t,n]),null}),C=n(50),T=n(59),A=n(49),j=n(158);n(196);var k=Object(m.b)({key:"selectedAssetForPreviewState",default:null}),I=n(160),N=n.n(I);function x(){const{containerRef:e,isInNodeCreationDialog:t}=Object(f.e)(),n=Object(m.g)(b.c),[a,i]=Object(m.f)(k),{asset:s}=Object(v.b)(a),l=((e=null)=>{const t=o.a.useRef(e);return o.a.useEffect(()=>{if(null===e){const e=document.createElement("div");return e.setAttribute("data-ignore_click_outside","true"),document.body.appendChild(e),t.current=e,()=>e.remove()}t.current=e},[e]),t})(t?null:e.current),[c,u]=Object(r.useMemo)(()=>{if(!s)return[null,null];const e=n.findIndex(({id:e})=>e===s.id);return[e>0?n[e-1]:null,el.current},wrapperClassName:N.a.lightbox,mainSrc:s.previewUrl,mainSrcThumbnail:s.thumbnailUrl,imageTitle:s.label,imageCaption:s.caption,onCloseRequest:()=>i(null),prevSrc:null==c?void 0:c.previewUrl,prevSrcThumbnail:null==c?void 0:c.thumbnailUrl,prevLabel:null==c?void 0:c.label,onMovePrevRequest:()=>i(c?{assetId:c.id,assetSourceId:c.assetSource.id}:null),nextSrc:null==u?void 0:u.previewUrl,nextSrcThumbnail:null==u?void 0:u.thumbnailUrl,nextLabel:null==u?void 0:u.label,onMoveNextRequest:()=>i(u?{assetId:u.id,assetSourceId:u.assetSource.id}:null)}):null}var R=n(77),D=n(14),M=n(12),L=n(11);var P=o.a.memo(()=>{const{selectionMode:e}=Object(f.e)(),t=[!e&&A.b,O.b,M.b,O.a].filter(Boolean);return o.a.createElement(L.b,null,t.map((e,t)=>o.a.createElement(e,{key:t})))}),F=n(54),B=n(3),U=n(67),V=n.n(U);var q=o.a.memo(()=>{const e=Object(M.h)(),t=Object(D.f)(),n=Object(m.h)(b.k),a=Object(m.g)(b.n),{translate:i}=Object(f.d)(),{assetCollections:s}=Object(M.g)(),l=Object(r.useMemo)(()=>{let n="question",r=null,o=[];return"asset"!==a&&(e&&(o=Object(M.d)(e,s)),"assetCollection"===a?(n="folder",r=null==e?void 0:e.title):"tag"===a&&(n="tag",r=null==t?void 0:t.label)),{icon:n,label:r,path:o}},[t,e,a,s]);return l.label&&"asset"!==a?o.a.createElement("div",{className:V.a.currentSelection},o.a.createElement(B.Headline,{type:"h2",className:V.a.headline},"assetCollection"===a?i("currentSelection.assetCollection.headline","Selected collection"):i("currentSelection.tag.headline","Selected tag")),o.a.createElement(L.d,{icon:l.icon,className:V.a.label,label:l.label}),o.a.createElement(B.Headline,{type:"h3",className:V.a.headline},i("currentSelection.path.headline","Path")),o.a.createElement("div",{className:V.a.breadcrumb},o.a.createElement("button",{type:"button",onClick:()=>n({assetCollectionId:null,tagId:null})},"/"),l.path.map(({id:e,title:t})=>o.a.createElement("button",{key:e,type:"button",onClick:()=>n({assetCollectionId:e,tagId:null})},t)))):null});var z,Q=o.a.memo(()=>{const e=[q,F.b,F.a,F.f,F.d];return o.a.createElement(L.b,null,e.map((e,t)=>o.a.createElement(e,{key:t})))}),$=n(90);!function(e){e[e.DEFAULT=0]="DEFAULT",e[e.CLIPBOARD=1]="CLIPBOARD",e[e.UNUSED_ASSETS=2]="UNUSED_ASSETS"}(z||(z={}));const W=Object(m.d)({key:"mainViewState",get:({get:e})=>{const t=e(g.f),n=e(y.d);return t?z.CLIPBOARD:n?z.UNUSED_ASSETS:z.DEFAULT}});var H;!function(e){e.Thumbnails="thumbnails",e.List="list"}(H||(H={}));const K=Object(m.b)({key:"ViewModeState",default:H.Thumbnails,effects:[Object(b.i)("ViewModeState")]});var G=()=>{const{assetCount:e}=Object(v.a)(),t=Object(m.g)(W),{called:n,load:o,unusedAssetCount:a}=Object(y.f)(),i=t===z.UNUSED_ASSETS?a:e;return Object(r.useEffect)(()=>{t!==z.UNUSED_ASSETS||n||o()},[t,n,o]),i},Y=n(161),X=n.n(Y);var J=o.a.memo(()=>{const{translate:e}=Object(f.d)(),t=G();return o.a.createElement("div",{className:X.a.assetCount},t," ",e("pagination.assetCount","assets"))}),Z=n(106),ee=n.n(Z);var te=o.a.memo(({title:e,label:t,onClick:n,page:r=null,selected:a=!1,disabled:i=!1,icon:s})=>o.a.createElement("li",{className:c()(ee.a.item,a&&ee.a.selected)},s?o.a.createElement(B.IconButton,{icon:s,disabled:i,size:"regular",style:"transparent",hoverStyle:"brand",title:e,onClick:()=>n(r)}):o.a.createElement(B.Button,{icon:s,disabled:i,size:"regular",style:a?"brand":"transparent",hoverStyle:"brand",title:e,onClick:()=>n(r)},t||r))),ne=n(68),re=n.n(ne);var oe=o.a.memo(()=>{const[e,t]=Object(m.f)(b.e),n=G(),{pagination:{assetsPerPage:a,maximumLinks:i}}=Object(m.g)(b.f),{translate:s}=Object(f.d)(),l=Object(m.g)(W),u=![z.DEFAULT,z.UNUSED_ASSETS].includes(l),d=Math.ceil(n/a),[p,h]=Object(r.useState)({start:0,end:0,hasLessPages:!1,hasMorePages:!1,pages:[]}),v=Object(r.useCallback)(e=>t(e),[t]),y=Object(r.useCallback)(()=>t(e=>e-1),[t]),g=Object(r.useCallback)(()=>t(e=>e+1),[t]);return Object(r.useMemo)(()=>{const t=Math.min(i,d),n=Math.floor(t/2);let r=e-n,o=e+n+(t%2==0?1:0);r<1&&(o-=r-1),o>d&&(r-=o-d),r=Math.max(r,1),o=Math.min(o,d);const a=[...Array(o-r+1)].map((e,t)=>t+r);h({start:r,end:o,hasLessPages:r>2,hasMorePages:o+10&&o.a.createElement("ol",{className:c()(re.a.list,u&&re.a.disabled)},o.a.createElement(te,{icon:"angle-left",title:s("pagination.previousPageTitle","Go to previous page"),onClick:y,disabled:u||e<=1}),p.start>1&&o.a.createElement(te,{title:s("pagination.firstPageTitle","Go to first page"),onClick:v,disabled:u,page:1}),p.hasLessPages&&o.a.createElement("li",{className:re.a.ellipsis},"…"),p.pages.map(t=>o.a.createElement(te,{key:t,selected:e===t,onClick:v,disabled:u,title:s("pagination.page","Go to page "+t,[t]),page:t})),p.hasMorePages&&o.a.createElement("li",{className:re.a.ellipsis},"…"),p.end{const{isInNodeCreationDialog:e,selectionMode:t}=Object(f.e)(),n=[J,oe,g.b];return o.a.createElement("div",{className:c()(ie.a.bottomBar,{[ie.a.selectionMode]:e||t,[ie.a.isInNodeCreationDialog]:e})},n.map((e,t)=>o.a.createElement(e,{key:t})))}),le=n(31),ce=n(96),ue=n.n(ce);var de=o.a.memo(()=>{const{isInNodeCreationDialog:e,selectionMode:t}=Object(f.e)(),[n,a]=Object(m.f)(le.c),{translate:i}=Object(f.d)(),s=e||t,l=Object(r.useCallback)(e=>{a({...n,sortBy:e})},[n,a]),c=Object(m.g)(W),u=Object(r.useCallback)(()=>{a({...n,sortDirection:n.sortDirection===le.b.Asc?le.b.Desc:le.b.Asc})},[n,a]),d=Object(r.useMemo)(()=>[{value:le.a.LastModified,label:i("sortingState.sortBy.values.lastModified","Last Modified"),icon:s?"":"calendar"},{value:le.a.Name,label:i("sortingState.sortBy.values.name","Name"),icon:s?"":"font"},{value:le.a.Size,label:i("sortingState.sortBy.values.size","File size"),icon:s?"":"weight-hanging"}],[i,s]);return[z.DEFAULT,z.UNUSED_ASSETS].includes(c)?o.a.createElement("div",{className:ue.a.sortingState},o.a.createElement("div",{className:ue.a.selectBox},o.a.createElement(B.SelectBox,{className:ue.a.selectBox,options:Object.values(d),onValueChange:l,value:n.sortBy,optionValueField:"value"})),o.a.createElement(B.IconButton,{icon:n.sortDirection===le.b.Asc?"sort-amount-up":"sort-amount-down",size:"regular",title:i("sortingState.dortOrder.value."+(n.sortDirection===le.b.Asc?le.b.Desc:le.b.Asc),"Switch sort direction"),style:"neutral",hoverStyle:"brand",onClick:u})):null}),fe=n(39),pe=n.n(fe);var he=o.a.memo(()=>{const{translate:e}=Object(f.d)(),{mediaTypeFilterOptions:t}=Object(m.g)(b.f),[n,a]=Object(m.f)(b.o),i=Object(m.g)(b.m),s=Object(m.h)(b.e),l=Object(m.g)(y.d),c=Object(m.g)(b.d),u=n,d=Object(r.useCallback)(e=>{a(e),s(1)},[s,a]),p=Object(r.useMemo)(()=>{if(!t||!i||"all"==i||l)return[];const e=t[i];return Object.keys(e).filter(e=>{var t;return!c.mediaTypes||(null===(t=c.mediaTypes)||void 0===t?void 0:t.includes(e))}).map(t=>({label:e[t],value:t}))},[i,c.mediaTypes,t,l]);return 0===p.length?null:o.a.createElement("div",{className:pe.a.typeFilter},o.a.createElement(B.SelectBox,{className:pe.a.selectBox,options:p,onValueChange:d,value:u,allowEmpty:!c.mediaTypes||c.mediaTypes.length>1,placeholder:e("typeFilter.assetType.values.all","Mediatype"),optionValueField:"value"}))});var me=o.a.memo(()=>{const e=Object(m.g)(b.f),{assetType:t}=Object(m.g)(b.d),[n,a]=Object(m.f)(b.m),i=Object(m.h)(b.o),[s,l]=Object(m.f)(y.d),c=Object(m.h)(b.e),{translate:u}=Object(f.d)(),d=s?"unused":n,p=Object(r.useCallback)(e=>{l("unused"===e),i(""),"unused"!==e&&a(e),c(1)},[l,c,a,i]),h=Object(r.useMemo)(()=>{const n=t&&"all"!==t,r={video:{value:"video",label:u("typeFilter.assetType.values.video","Video"),disabled:n&&"video"!==t},audio:{value:"audio",label:u("typeFilter.assetType.values.audio","Audio"),disabled:n&&"audio"!==t},image:{value:"image",label:u("typeFilter.assetType.values.image","Image"),disabled:n&&"image"!==t},document:{value:"document",label:u("typeFilter.assetType.values.document","Document"),disabled:n&&"document"!==t}};return e.queryAssetUsage&&(r.unused={value:"unused",label:u("typeFilter.assetType.values.unused","Unused"),disabled:n}),r},[u,e,t]);return o.a.createElement("div",{className:pe.a.typeFilter},o.a.createElement(B.SelectBox,{className:pe.a.selectBox,options:Object.values(h),onValueChange:p,value:d,allowEmpty:!t||"all"===t,placeholder:u("typeFilter.assetType.values.all","All"),optionValueField:"value"}))});var ve=o.a.memo(()=>{const{translate:e}=Object(f.d)(),t=Object(m.g)(W),n=Object(m.g)(b.m),a=Object(m.g)(b.o),i=Object(r.useRef)(),s=[me,he];return Object(r.useEffect)(()=>{var e;(null===(e=i.current)||void 0===e?void 0:e.open)&&(i.current.open=!1)},[a]),[z.DEFAULT,z.UNUSED_ASSETS].includes(t)?o.a.createElement("details",{ref:i,className:c()(pe.a.assetsFilter,(n||a)&&pe.a.active)},o.a.createElement("summary",{title:e("AssetsFilter.title","Toggle asset filters")},o.a.createElement(L.d,{icon:"filter",label:"Filter"})),o.a.createElement("div",{className:pe.a.filterList},s.map((e,t)=>o.a.createElement(e,{key:t})))):null}),be=n(162),ye=n.n(be);var ge=o.a.memo(()=>{const{translate:e}=Object(f.d)(),[t,n]=Object(m.f)(K);return o.a.createElement("div",{className:ye.a.viewModeSelector},o.a.createElement(B.IconButton,{icon:t===H.List?"th":"th-list",size:"regular",title:e("viewModeSelector.viewMode."+(t===H.List?H.Thumbnails:H.List),"Switch mode"),style:"neutral",hoverStyle:"brand",onClick:()=>n(e=>e===H.List?H.Thumbnails:H.List)}))}),_e=n(53),Oe=n(163),Se=n.n(Oe);var Ee=o.a.memo(()=>{const[e,t]=Object(m.f)(b.j),n=Object(m.h)(b.e),[a,i]=Object(r.useState)(e.toString()),{translate:s}=Object(f.d)(),l=Object(m.g)(W),c=Object(r.useCallback)(()=>{t(_e.a.fromString(a)),n(1)},[a,n,t]);return l!==z.DEFAULT?null:o.a.createElement("div",{className:Se.a.searchBox},o.a.createElement(B.TextInput,{value:a,type:"search",onChange:e=>i(e),onEnterKey:c,placeholder:s("searchBox.placeholder","Search")}))}),we=n(107),Ce=n.n(we);var Te=o.a.memo(()=>{const{selectionMode:e}=Object(f.e)(),t=[g.a,Ee,ve,de,ge];return o.a.createElement("div",{className:c()(Ce.a.topBar,e&&Ce.a["topBar--selectionMode"])},t.map((e,t)=>o.a.createElement(e,{key:t})))});var Ae=o.a.memo(({asset:e})=>{var t;const{translate:n}=Object(f.d)(),a=Object(f.f)(),{approvalAttainmentStrategy:i}=Object(f.e)(),s=Object(m.h)(k),{importAsset:l}=Object(v.g)(),{deleteAsset:c}=Object(v.e)(),[u,d]=Object(m.f)(Object(g.d)({assetId:e.id,assetSourceId:e.assetSource.id})),p=Object(r.useCallback)(()=>{l({assetId:e.id,assetSourceId:e.assetSource.id}).then(()=>{a.ok(n("assetActions.import.success","Asset was successfully imported"))}).catch(e=>{a.error(n("assetActions.import.error","Failed to import asset"),e.message)})},[l,e,a,n]),h=Object(r.useCallback)(async e=>{if(await i.obtainApprovalToDeleteAsset({asset:e}))try{return await c({assetId:e.id,assetSourceId:e.assetSource.id}),a.ok(n("action.deleteAsset.success","The asset has been deleted")),!0}catch({message:e}){a.error(e)}return!1},[a,n,c,i]);return e?o.a.createElement(o.a.Fragment,null,o.a.createElement(B.IconButton,{title:n("itemActions.preview","Preview asset"),icon:"expand-alt",size:"regular",style:"transparent",hoverStyle:"brand",onClick:()=>s({assetId:e.id,assetSourceId:e.assetSource.id})}),!e.imported&&!e.localId&&o.a.createElement(B.IconButton,{title:n("itemActions.import","Import asset"),icon:"cloud-download-alt",size:"regular",style:"transparent",hoverStyle:"brand",onClick:p}),!e.assetSource.readOnly&&o.a.createElement(B.IconButton,{title:e.isInUse?n("itemActions.delete.disabled","Cannot delete an asset that is in use"):n("itemActions.delete","Delete asset"),disabled:e.isInUse,icon:"trash",size:"regular",style:"transparent",hoverStyle:"error",onClick:()=>h(e)}),(null===(t=e.file)||void 0===t?void 0:t.url)&&o.a.createElement("a",{href:e.file.url,download:!0,title:n("itemActions.download","Download asset")},o.a.createElement(B.IconButton,{icon:"download",size:"regular",style:"transparent",hoverStyle:"success"})),e.localId&&o.a.createElement(B.IconButton,{title:n("itemActions.copyToClipboard","Copy to clipboard"),icon:u?"clipboard-check":"clipboard",size:"regular",style:"transparent",hoverStyle:"brand",className:u?"button--active":"",onClick:d})):null}),je=n(45),ke=n.n(je);var Ie=o.a.memo(({assetIdentities:e})=>{const{isInNodeCreationDialog:t}=Object(f.e)(),{translate:n}=Object(f.d)(),a=Object(m.h)(k),i=Object(v.h)(),s=Object(r.useCallback)((e,t=!1)=>{t?a(e):i(e)},[a,i]);return o.a.createElement("section",{className:c()(ke.a.listView,t&&ke.a.listViewFullHeight)},o.a.createElement("table",null,o.a.createElement("thead",null,o.a.createElement("tr",null,o.a.createElement("th",{className:ke.a.tableHeader}),o.a.createElement("th",{className:ke.a.tableHeader},n("thumbnailView.header.name","Name")),o.a.createElement("th",{className:ke.a.tableHeader},n("thumbnailView.header.lastModified","Last Modified")),o.a.createElement("th",{className:ke.a.tableHeader},n("thumbnailView.header.fileSize","File size")),o.a.createElement("th",{className:ke.a.tableHeader},n("thumbnailView.header.mediaType","Type")),o.a.createElement("th",{className:ke.a.tableHeader}))),o.a.createElement("tbody",null,e.map((e,t)=>o.a.createElement(Pe,{key:t,assetIdentity:e,onSelect:s})))))}),Ne=n(48);var xe=o.a.memo(({assetIdentity:e})=>{const{translate:t}=Object(f.d)(),[n,r]=Object(m.f)(Object(g.d)(e));return n?o.a.createElement(B.IconButton,{title:t("itemActions.removeFromClipboard","Remove from clipboard"),icon:"trash",size:"regular",style:"transparent",hoverStyle:"warn",onClick:r}):null}),Re=n(46),De=n.n(Re);const Me={weekday:"short",year:"numeric",month:"short",day:"numeric"},Le=Object(m.e)({key:"ListViewItemSelection",get:e=>({get:t})=>{var n;return(null===(n=t(b.l))||void 0===n?void 0:n.assetId)===e}});var Pe=o.a.memo(({assetIdentity:e,onSelect:t})=>{const{dummyImage:n,isAssetSelectable:a,selectionMode:i}=Object(f.e)(),{asset:s,loading:l}=Object(v.b)(e),u=Object(m.g)(Le(e.assetId)),d=Object(r.useMemo)(()=>a(s),[s,a]),p=Object(r.useCallback)(()=>t(e,u&&!i),[t,e,u,i]);return o.a.createElement("tr",{className:c()(De.a.listViewItem,u&&De.a.selected)},o.a.createElement("td",{className:De.a.previewColumn,onClick:p},o.a.createElement("picture",null,d?o.a.createElement("img",{src:(null==s?void 0:s.thumbnailUrl)||n,alt:null==s?void 0:s.label,width:40,height:36}):o.a.createElement(B.Icon,{icon:"ban",color:"error"}))),o.a.createElement("td",{className:De.a.labelColumn,onClick:p},s&&o.a.createElement(L.a,{label:s.label})),o.a.createElement("td",{className:De.a.lastModifiedColumn,onClick:p},s&&new Date(s.lastModified).toLocaleString([],Me)),o.a.createElement("td",{className:De.a.fileSizeColumn,onClick:p},s&&Object(Ne.a)(s.file.size)),o.a.createElement("td",{className:De.a.mediaTypeColumn,onClick:p,title:null==s?void 0:s.file.mediaType},null==s?void 0:s.file.mediaType),o.a.createElement("td",{className:De.a.actionsColumn},!l&&(s?o.a.createElement(Ae,{asset:s}):o.a.createElement(xe,{assetIdentity:e}))))},(e,t)=>e.assetIdentity.assetId===t.assetIdentity.assetId);var Fe=o.a.memo(({loadingText:e,emptyText:t})=>{const n=Object(m.g)(b.h);return o.a.createElement("div",{className:"loadingLabel"},n?e:t)}),Be=n(164),Ue=n.n(Be);var Ve=o.a.memo(()=>{const e=Object(m.g)(K),{assets:t}=Object(y.g)(),n=Object(m.g)(g.e),a=Object(m.g)(W),i=Object(m.h)(g.f),s=Object(m.g)(b.j),{translate:l}=Object(f.d)(),c=Object(m.g)(b.b),[u,d]=Object(r.useState)(c),p=Object(r.useMemo)(()=>t.filter(e=>null==e?void 0:e.id).map(({id:e,assetSource:t})=>({assetId:e,assetSourceId:t.id})),[t]);return Object(r.useEffect)(()=>{a===z.CLIPBOARD?d(n):a===z.UNUSED_ASSETS?d(p):d(c)},[a,c,p,n]),u.length>0?e===H.List?o.a.createElement(Ie,{assetIdentities:u}):o.a.createElement(Ke,{assetIdentities:u}):o.a.createElement("div",{className:Ue.a.emptyStateWrapper},a===z.CLIPBOARD?o.a.createElement(B.Button,{size:"regular",style:"brand",hoverStyle:"brand",onClick:()=>i(!1)},l("clipboard.close","Close clipboard")):o.a.createElement(Fe,{loadingText:l("assetList.loading","Loading assets"),emptyText:(null==s?void 0:s.toString())?l("assetList.emptyForSearchTerm",`No assets found for "${s}"`,{searchTerm:s}):l("assetList.empty","No assets found")}))}),qe=n(51),ze=n.n(qe);const Qe=Object(m.e)({key:"ThumbnailSelection",get:e=>({get:t})=>{var n;return(null===(n=t(b.l))||void 0===n?void 0:n.assetId)===e}});var $e=o.a.memo(({assetIdentity:e,onSelect:t})=>{const{translate:n}=Object(f.d)(),{dummyImage:a,isAssetSelectable:i,selectionMode:s}=Object(f.e)(),{asset:l,loading:u}=Object(v.b)(e),d=Object(m.g)(Qe(e.assetId)),p=Object(r.useMemo)(()=>i(l),[l,i]);return o.a.createElement("figure",{className:c()(ze.a.thumbnail,!p&&ze.a.disabled),title:null==l?void 0:l.label},(null==l?void 0:l.imported)&&o.a.createElement("span",{className:ze.a.label},n("asset.label.imported","Imported")),o.a.createElement("picture",{onClick:()=>t(e,d&&!s),className:ze.a.picture},o.a.createElement("img",{src:u||!l?a:l.thumbnailUrl,alt:null==l?void 0:l.label})),o.a.createElement("figcaption",{className:c()(ze.a.caption,d&&ze.a.selected)},l&&o.a.createElement(o.a.Fragment,null,p&&l.file?o.a.createElement("img",{src:l.file.typeIcon.url,alt:l.file.typeIcon.alt}):o.a.createElement(B.Icon,{icon:"ban",color:"error"}),o.a.createElement(L.a,{label:l.label}))),o.a.createElement("div",{className:ze.a.toolBar},!u&&(l?o.a.createElement(Ae,{asset:l}):o.a.createElement(xe,{assetIdentity:e}))))},(e,t)=>e.assetIdentity.assetId===t.assetIdentity.assetId),We=n(165),He=n.n(We);var Ke=o.a.memo(({assetIdentities:e})=>{const t=Object(m.h)(k),n=Object(v.h)(),a=Object(r.useCallback)((e,r=!1)=>{r?t(e):n(e)},[t,n]);return o.a.createElement("section",{className:He.a.thumbnailView},e.map((e,t)=>o.a.createElement($e,{key:t,assetIdentity:e,onSelect:a})))}),Ge=n(60),Ye=n(58),Xe=n.n(Ye),Je=n(47),Ze=n.n(Je);n(197);var et=o.a.memo(()=>{const{selectionMode:e,isInNodeCreationDialog:t,containerRef:n}=Object(f.e)(),r=Object(m.g)(T.a),a=Object(m.g)(D.b),i=Object(m.g)(M.e),s=Object(m.g)(R.c),l=Object(m.g)(y.c),u=Object(m.g)(C.c),d=Object(m.g)(b.j),p=Object(v.h)(),h=Object(m.h)(O.d);return o.a.useEffect(()=>{const e=d.getAssetIdentifierIfPresent();e&&(p(e),h("neos"))},[d]),o.a.createElement("div",{className:c()(Ze.a.container,Ze.a.mediaModuleApp,Xe.a.mediaModuleTheme,{[Ze.a.selectionMode]:e,[Ze.a.fullHeight]:t}),ref:n},o.a.createElement($.a,null),o.a.createElement("div",{className:Ze.a.gridLeft},o.a.createElement(Ge.a,null,o.a.createElement(P,null))),o.a.createElement("div",{className:Ze.a.gridTop},o.a.createElement(Te,null)),o.a.createElement("div",{className:Ze.a.gridMain},o.a.createElement(Ge.a,null,o.a.createElement(Ve,null))),o.a.createElement(se,null),!e&&o.a.createElement("div",{className:Ze.a.gridRight},o.a.createElement(Ge.a,null,o.a.createElement(Q,null))),o.a.createElement(x,null),l&&o.a.createElement(y.a,null),r.visible&&o.a.createElement(A.c,null),s&&o.a.createElement(R.a,null),a.visible&&o.a.createElement(D.a,null),i&&o.a.createElement(M.c,null),u&&o.a.createElement(C.a,null),o.a.createElement(f.a,null),o.a.createElement(g.c,null),o.a.createElement(w,null))}),tt=n(108),nt=n.n(tt);let rt=null;class ot extends o.a.PureComponent{constructor(e){super(e),this.translate=(e,t,n,r="Flowpack.Media.Ui",o="Main")=>this.props.i18nRegistry.translate(e,t,n,r,o),this.getInitialState=()=>{const{frontendConfiguration:e,constraints:t,type:n}=this.props;return{applicationContext:"selection",featureFlags:e,constraints:{...t||{},assetType:"images"===n?"image":n}}},this.state={initialLeftSideBarHiddenState:!1,initialNodeCreationDialogOpenState:!1},this.notificationHandler={info:t=>e.addFlashMessage(t,t,"info"),ok:t=>e.addFlashMessage(t,t,"success"),notice:t=>e.addFlashMessage(t,t,"info"),warning:(t,n="")=>e.addFlashMessage(t,n,"error"),error:(t,n="")=>e.addFlashMessage(t,n,"error")}}componentDidMount(){const{isLeftSideBarHidden:e,isNodeCreationDialogOpen:t,toggleSidebar:n}=this.props;this.setState({initialLeftSideBarHiddenState:e,initialNodeCreationDialogOpenState:t}),e||t||n()}componentWillUnmount(){const{isLeftSideBarHidden:e,toggleSidebar:t}=this.props,{initialLeftSideBarHiddenState:n,initialNodeCreationDialogOpenState:r}=this.state;n===e||r||t()}getConfig(){return{endpoints:{graphql:"/neos/graphql/media-assets",upload:"/neos/media-ui/upload"},dummyImage:"/_Resources/Static/Packages/Neos.Neos/Images/dummy-image.svg"}}getApolloClient(){if(!rt){const{endpoints:e}=this.getConfig(),t=h.a.createCache(this.props.frontendConfiguration);rt=new i.ApolloClient({cache:t,link:i.ApolloLink.from([Object(h.c)(this.notificationHandler),Object(s.createUploadLink)({uri:e.graphql,credentials:"same-origin"})]),typeDefs:[f.c,y.e]})}return rt}render(){const{onComplete:e}=this.props,{dummyImage:t}=this.getConfig(),n=Object(r.createRef)(),a=this.state.initialNodeCreationDialogOpenState;return o.a.createElement("div",{className:c()(nt.a.mediaSelectionScreen,{[nt.a.isInNodeCreationDialog]:a})},o.a.createElement(p.a,{client:this.getApolloClient(),translate:this.translate,notificationApi:this.notificationHandler,initialState:this.getInitialState()},o.a.createElement(f.b,{dummyImage:t,onAssetSelection:e,selectionMode:!0,isInNodeCreationDialog:a,containerRef:n},o.a.createElement(et,null))))}}const at=Object(u.neos)(e=>({i18nRegistry:e.get("i18n"),frontendConfiguration:e.get("frontendConfiguration").get("Flowpack.Media.Ui")}));var it=Object(a.connect)(()=>({}),{addFlashMessage:d.actions.UI.FlashMessages.add,toggleSidebar:d.actions.UI.LeftSideBar.toggle})(Object(a.connect)(e=>({isLeftSideBarHidden:e.ui.leftSideBar.isHidden,isNodeCreationDialogOpen:e.ui.nodeCreationDialog.isOpen}))(at(ot)))},function(e,t,n){"use strict";n.r(t),n.d(t,"MediaDetailsScreen",(function(){return $}));var r=n(0),o=n.n(r),a=n(74),i=n(4),s=n(91),l=n(87),c=n(75),u=n(5),d=n(89),f=n(62),p=n(1),h=n(13),m=n.n(h),v=n(9),b=n(19),y=n(50),g=n(59),_=n(49),O=n(90),S=n(60),E=n(54),w=n(14),C=n(12),T=n(3),A=n(20);var j=o.a.memo(({asset:e,buildLinkToMediaUi:t})=>{var n,r;const{translate:a}=Object(u.d)(),[i,s]=Object(p.f)(Object(A.d)({assetId:e.id,assetSourceId:e.assetSource.id}));return o.a.createElement(o.a.Fragment,null,o.a.createElement("a",{href:t(e),title:a("previewActions.openInMediaModule","Open asset in media module"),target:"_blank",rel:"noreferrer noopener"},o.a.createElement(T.IconButton,{icon:"image",size:"regular",style:"transparent",hoverStyle:"brand"})),(null===(n=e.file)||void 0===n?void 0:n.url)&&o.a.createElement("a",{href:e.file.url,title:a("previewActions.openInNewTab","Open asset in a new browser tab"),target:"_blank",rel:"noreferrer noopener"},o.a.createElement(T.IconButton,{icon:"external-link-alt",size:"regular",style:"transparent",hoverStyle:"brand"})),(null===(r=e.file)||void 0===r?void 0:r.url)&&o.a.createElement("a",{href:e.file.url,download:!0,title:a("previewActions.download","Download asset")},o.a.createElement(T.IconButton,{icon:"download",size:"regular",style:"transparent",hoverStyle:"warn"})),e.localId&&o.a.createElement(T.IconButton,{title:a("itemActions.copyToClipboard","Copy to clipboard"),icon:i?"clipboard-check":"clipboard",size:"regular",style:"transparent",hoverStyle:"brand",className:i?"button--active":"",onClick:s}))}),k=n(65),I=n.n(k);var N=o.a.memo(({asset:e,loading:t,buildLinkToMediaUi:n})=>{const{translate:r}=Object(u.d)(),{dummyImage:a}=Object(u.e)();return o.a.createElement("figure",{className:m()(I.a.preview,t&&I.a.loading),title:null==e?void 0:e.label},(null==e?void 0:e.imported)&&o.a.createElement("span",{className:I.a.label},r("asset.label.imported","Imported")),o.a.createElement("picture",{className:I.a.picture},o.a.createElement("img",{src:t||!e?a:e.previewUrl,alt:null==e?void 0:e.label}),o.a.createElement("div",{className:I.a.toolBar},!t&&e&&o.a.createElement(j,{asset:e,buildLinkToMediaUi:n}))))},(e,t)=>{var n,r;return(null===(n=e.asset)||void 0===n?void 0:n.id)===(null===(r=t.asset)||void 0===r?void 0:r.id)}),x=n(58),R=n.n(x),D=n(66),M=n.n(D),L=n(7);var P=o.a.memo(({buildLinkToMediaUi:e})=>{const{containerRef:t}=Object(u.e)(),{visible:n}=Object(p.g)(g.a),{visible:r}=Object(p.g)(w.b),a=Object(p.g)(C.e),i=Object(p.g)(b.c),s=Object(p.g)(y.c),l=Object(p.g)(L.l),{asset:c,loading:d}=Object(v.b)(l);return o.a.createElement("div",{className:m()(M.a.container,R.a.mediaModuleTheme,d&&M.a.loading),ref:t},o.a.createElement(O.a,null),o.a.createElement("div",{className:m()(M.a.main,d&&M.a.loading)},o.a.createElement(S.a,null,o.a.createElement("div",{className:M.a.inspector},o.a.createElement(E.b,null)),o.a.createElement(N,{asset:c,loading:d,buildLinkToMediaUi:e}))),i&&o.a.createElement(b.a,null),n&&o.a.createElement(_.c,null),r&&o.a.createElement(w.a,null),a&&o.a.createElement(C.c,null),s&&o.a.createElement(y.a,null),o.a.createElement(u.a,null))}),F=n(92);const B=e=>({...F.a,obtainApprovalToUpdateAsset:({asset:t})=>e.interaction.confirm({title:e.intl.translate("actions.updateAsset.confirm.title","Update Asset",[t.label]),message:e.intl.translate("actions.updateAsset.confirm.message",`Please be aware that updating asset "${t.label}" will affect all of its occurrences on every page. Do you still wish to proceed?`,[t.label]),buttonLabel:e.intl.translate("actions.updateAsset.confirm.buttonLabel","Yes, proceed with updating the asset",[t.label])}),obtainApprovalToSetAssetTags:({asset:t})=>e.interaction.confirm({title:e.intl.translate("actions.setAssetTags.confirm.title","Set Asset Tags",[t.label]),message:e.intl.translate("actions.setAssetTags.confirm.message",`Please be aware that changing the asset tags of asset "${t.label}" will affect all of its occurrences on every page. Do you still wish to proceed?`,[t.label]),buttonLabel:e.intl.translate("actions.setAssetTags.confirm.buttonLabel","Yes, proceed with setting the asset tags",[t.label])}),obtainApprovalToSetAssetCollections:({asset:t})=>e.interaction.confirm({title:e.intl.translate("actions.setAssetCollections.confirm.title","Set Asset Collections",[t.label]),message:e.intl.translate("actions.setAssetCollections.confirm.message",`Please be aware that changing the asset collections of asset "${t.label}" will affect all of its occurrences on every page. Do you still wish to proceed?`,[t.label]),buttonLabel:e.intl.translate("actions.setAssetCollections.confirm.buttonLabel","Yes, proceed with setting the asset collections",[t.label])}),obtainApprovalToDeleteAsset:({asset:t})=>e.interaction.confirm({title:e.intl.translate("actions.deleteAsset.confirm.title","Delete Asset",[t.label]),message:e.intl.translate("action.deleteAsset.confirm.message",`Do you really want to delete the asset "${t.label}"?`,[t.label]),buttonLabel:e.intl.translate("actions.deleteAsset.confirm.buttonLabel","Yes, proceed with deleting the asset",[t.label])}),obtainApprovalToReplaceAsset:({asset:t})=>e.interaction.confirm({title:e.intl.translate("actions.replaceAsset.confirm.title","Replace Asset",[t.label]),message:e.intl.translate("action.replaceAsset.confirm.message",`Do you really want to replace the asset "${t.label}"?`,[t.label]),buttonLabel:e.intl.translate("actions.replaceAsset.confirm.buttonLabel","Yes, proceed with replacing the asset",[t.label])})});var U=n(157),V=n.n(U);let q=null;class z extends o.a.PureComponent{constructor(e){super(e),this.translate=(e,t,n,r="Flowpack.Media.Ui",o="Main")=>this.props.i18nRegistry.translate(e,t,n,r,o),this.getInitialState=()=>{const{frontendConfiguration:e,imageIdentity:t,type:n,constraints:r}=this.props;return{applicationContext:"details",featureFlags:e,selectedAsset:{assetId:t,assetSourceId:"neos"},selectedInspectorView:"asset",constraints:{...r||{},assetType:"images"===n?"image":n}}},this.notificationHandler={info:t=>e.addFlashMessage(t,t,"info"),ok:t=>e.addFlashMessage(t,t,"success"),notice:t=>e.addFlashMessage(t,t,"info"),warning:(t,n="")=>e.addFlashMessage(t,n,"error"),error:(t,n="")=>e.addFlashMessage(t,n,"error")}}getConfig(){return{endpoints:{graphql:"/neos/graphql/media-assets",upload:"/neos/media-ui/upload"},dummyImage:"/_Resources/Static/Packages/Neos.Neos/Images/dummy-image.svg",buildLinkToMediaUi:e=>"/neos/management/mediaui?searchTerm=id:"+e.id}}getApolloClient(){if(!q){const{endpoints:e}=this.getConfig(),t=f.a.createCache(this.props.frontendConfiguration);q=new i.ApolloClient({cache:t,link:i.ApolloLink.from([Object(f.c)(this.notificationHandler),Object(s.createUploadLink)({uri:e.graphql,credentials:"same-origin"})]),typeDefs:[u.c,b.e]})}return q}render(){const{addFlashMessage:e,onComplete:t}=this.props,{dummyImage:n,buildLinkToMediaUi:a}=this.getConfig(),i=Object(r.createRef)(),s={info:t=>e(t,t,"info"),ok:t=>e(t,t,"success"),notice:t=>e(t,t,"info"),warning:(t,n="")=>e(t,n,"error"),error:(t,n="")=>e(t,n,"error")};return o.a.createElement("div",{className:V.a.mediaDetailsScreen},o.a.createElement(d.a,{client:this.getApolloClient(),translate:this.translate,notificationApi:s,initialState:this.getInitialState()},o.a.createElement(u.b,{dummyImage:n,onAssetSelection:t,selectionMode:!0,containerRef:i,approvalAttainmentStrategyFactory:B},o.a.createElement(P,{buildLinkToMediaUi:a}))))}}const Q=Object(l.neos)(e=>({i18nRegistry:e.get("i18n"),frontendConfiguration:e.get("frontendConfiguration").get("Flowpack.Media.Ui")}));var $=Object(a.connect)(()=>({}),{addFlashMessage:c.actions.UI.FlashMessages.add})(Q(z))}]); \ No newline at end of file +`;var w=o.a.memo(()=>{const e=function(){const{config:e}=Object(v.d)(),[t,n]=Object(r.useState)(null),[o,a]=Object(r.useState)([]),{data:s,client:l}=Object(i.useQuery)(S,{variables:{since:null!=t?t:null==e?void 0:e.currentServerTime},pollInterval:5e3,skip:!(null==e?void 0:e.currentServerTime)});return Object(r.useEffect)(()=>{if(!(null==s?void 0:s.changedAssets))return;const{lastModified:e,changes:t}=s.changedAssets;e&&n(e);const r=t.filter(e=>{if("ASSET_CREATED"===e.type)return!0;const t=l.cache.readFragment({fragment:E,id:l.cache.identify({__typename:"Asset",id:e.assetId})});return!!t&&t.lastModified0===r.length?e:r)},[null==s?void 0:s.changedAssets,l]),o}(),{refetch:t}=Object(v.b)(),{refetch:n}=Object(v.c)();return Object(r.useEffect)(()=>{null==e||e.forEach(e=>{switch(e.type){case"ASSET_REPLACED":case"ASSET_UPDATED":t({id:e.assetId,assetSourceId:O.c}).then(()=>{console.info(e.assetId,e.type,"An asset was updated due to a remote change")}),Object(_.c)({assetId:e.assetId,assetSourceId:O.c});break;case"ASSET_CREATED":n().then(()=>{console.info(e.assetId,e.type,"An asset was created remotely")}),Object(_.a)({assetId:e.assetId,assetSourceId:O.c});break;case"ASSET_REMOVED":n().then(()=>{console.info(e.assetId,e.type,"An asset was removed remotely")}),Object(_.b)({assetId:e.assetId,assetSourceId:O.c});break;default:console.debug(e,"unhandled remote change")}})},[e,t,n]),null}),C=n(51),T=n(59),A=n(49),j=n(159);n(196);var k=Object(m.b)({key:"selectedAssetForPreviewState",default:null}),I=n(161),N=n.n(I);function x(){const{containerRef:e,isInNodeCreationDialog:t}=Object(f.e)(),n=Object(m.g)(b.c),[a,i]=Object(m.f)(k),{asset:s}=Object(v.b)(a),l=((e=null)=>{const t=o.a.useRef(e);return o.a.useEffect(()=>{if(null===e){const e=document.createElement("div");return e.setAttribute("data-ignore_click_outside","true"),document.body.appendChild(e),t.current=e,()=>e.remove()}t.current=e},[e]),t})(t?null:e.current),[c,u]=Object(r.useMemo)(()=>{if(!s)return[null,null];const e=n.findIndex(({id:e})=>e===s.id);return[e>0?n[e-1]:null,el.current},wrapperClassName:N.a.lightbox,mainSrc:s.previewUrl,mainSrcThumbnail:s.thumbnailUrl,imageTitle:s.label,imageCaption:s.caption,onCloseRequest:()=>i(null),prevSrc:null==c?void 0:c.previewUrl,prevSrcThumbnail:null==c?void 0:c.thumbnailUrl,prevLabel:null==c?void 0:c.label,onMovePrevRequest:()=>i(c?{assetId:c.id,assetSourceId:c.assetSource.id}:null),nextSrc:null==u?void 0:u.previewUrl,nextSrcThumbnail:null==u?void 0:u.thumbnailUrl,nextLabel:null==u?void 0:u.label,onMoveNextRequest:()=>i(u?{assetId:u.id,assetSourceId:u.assetSource.id}:null)}):null}var R=n(78),D=n(14),M=n(12),L=n(11);var P=o.a.memo(()=>{const{selectionMode:e}=Object(f.e)(),t=[!e&&A.b,O.b,M.b,O.a].filter(Boolean);return o.a.createElement(L.b,null,t.map((e,t)=>o.a.createElement(e,{key:t})))}),F=n(54),B=n(3),U=n(67),V=n.n(U);var q=o.a.memo(()=>{const e=Object(M.h)(),t=Object(D.f)(),n=Object(m.h)(b.k),a=Object(m.g)(b.n),{translate:i}=Object(f.d)(),{assetCollections:s}=Object(M.g)(),l=Object(r.useMemo)(()=>{let n="question",r=null,o=[];return"asset"!==a&&(e&&(o=Object(M.d)(e,s)),"assetCollection"===a?(n="folder",r=null==e?void 0:e.title):"tag"===a&&(n="tag",r=null==t?void 0:t.label)),{icon:n,label:r,path:o}},[t,e,a,s]);return l.label&&"asset"!==a?o.a.createElement("div",{className:V.a.currentSelection},o.a.createElement(B.Headline,{type:"h2",className:V.a.headline},"assetCollection"===a?i("currentSelection.assetCollection.headline","Selected collection"):i("currentSelection.tag.headline","Selected tag")),o.a.createElement(L.d,{icon:l.icon,className:V.a.label,label:l.label}),o.a.createElement(B.Headline,{type:"h3",className:V.a.headline},i("currentSelection.path.headline","Path")),o.a.createElement("div",{className:V.a.breadcrumb},o.a.createElement("button",{type:"button",onClick:()=>n({assetCollectionId:null,tagId:null})},"/"),l.path.map(({id:e,title:t})=>o.a.createElement("button",{key:e,type:"button",onClick:()=>n({assetCollectionId:e,tagId:null})},t)))):null});var z,Q=o.a.memo(()=>{const e=[q,F.b,F.a,F.f,F.d];return o.a.createElement(L.b,null,e.map((e,t)=>o.a.createElement(e,{key:t})))}),$=n(92);!function(e){e[e.DEFAULT=0]="DEFAULT",e[e.CLIPBOARD=1]="CLIPBOARD",e[e.UNUSED_ASSETS=2]="UNUSED_ASSETS"}(z||(z={}));const W=Object(m.d)({key:"mainViewState",get:({get:e})=>{const t=e(g.f),n=e(y.d);return t?z.CLIPBOARD:n?z.UNUSED_ASSETS:z.DEFAULT}});var H;!function(e){e.Thumbnails="thumbnails",e.List="list"}(H||(H={}));const K=Object(m.b)({key:"ViewModeState",default:H.Thumbnails,effects:[Object(b.i)("ViewModeState")]});var G=()=>{const{assetCount:e}=Object(v.a)(),t=Object(m.g)(W),{called:n,load:o,unusedAssetCount:a}=Object(y.f)(),i=t===z.UNUSED_ASSETS?a:e;return Object(r.useEffect)(()=>{t!==z.UNUSED_ASSETS||n||o()},[t,n,o]),i},Y=n(162),X=n.n(Y);var J=o.a.memo(()=>{const{translate:e}=Object(f.d)(),t=G();return o.a.createElement("div",{className:X.a.assetCount},t," ",e("pagination.assetCount","assets"))}),Z=n(107),ee=n.n(Z);var te=o.a.memo(({title:e,label:t,onClick:n,page:r=null,selected:a=!1,disabled:i=!1,icon:s})=>o.a.createElement("li",{className:c()(ee.a.item,a&&ee.a.selected)},s?o.a.createElement(B.IconButton,{icon:s,disabled:i,size:"regular",style:"transparent",hoverStyle:"brand",title:e,onClick:()=>n(r)}):o.a.createElement(B.Button,{icon:s,disabled:i,size:"regular",style:a?"brand":"transparent",hoverStyle:"brand",title:e,onClick:()=>n(r)},t||r))),ne=n(68),re=n.n(ne);var oe=o.a.memo(()=>{const[e,t]=Object(m.f)(b.e),n=G(),{pagination:{assetsPerPage:a,maximumLinks:i}}=Object(m.g)(b.f),{translate:s}=Object(f.d)(),l=Object(m.g)(W),u=![z.DEFAULT,z.UNUSED_ASSETS].includes(l),d=Math.ceil(n/a),[p,h]=Object(r.useState)({start:0,end:0,hasLessPages:!1,hasMorePages:!1,pages:[]}),v=Object(r.useCallback)(e=>t(e),[t]),y=Object(r.useCallback)(()=>t(e=>e-1),[t]),g=Object(r.useCallback)(()=>t(e=>e+1),[t]);return Object(r.useMemo)(()=>{const t=Math.min(i,d),n=Math.floor(t/2);let r=e-n,o=e+n+(t%2==0?1:0);r<1&&(o-=r-1),o>d&&(r-=o-d),r=Math.max(r,1),o=Math.min(o,d);const a=[...Array(o-r+1)].map((e,t)=>t+r);h({start:r,end:o,hasLessPages:r>2,hasMorePages:o+10&&o.a.createElement("ol",{className:c()(re.a.list,u&&re.a.disabled)},o.a.createElement(te,{icon:"angle-left",title:s("pagination.previousPageTitle","Go to previous page"),onClick:y,disabled:u||e<=1}),p.start>1&&o.a.createElement(te,{title:s("pagination.firstPageTitle","Go to first page"),onClick:v,disabled:u,page:1}),p.hasLessPages&&o.a.createElement("li",{className:re.a.ellipsis},"…"),p.pages.map(t=>o.a.createElement(te,{key:t,selected:e===t,onClick:v,disabled:u,title:s("pagination.page","Go to page "+t,[t]),page:t})),p.hasMorePages&&o.a.createElement("li",{className:re.a.ellipsis},"…"),p.end{const{isInNodeCreationDialog:e,selectionMode:t}=Object(f.e)(),n=[J,oe,g.b];return o.a.createElement("div",{className:c()(ie.a.bottomBar,{[ie.a.selectionMode]:e||t,[ie.a.isInNodeCreationDialog]:e})},n.map((e,t)=>o.a.createElement(e,{key:t})))}),le=n(31),ce=n(98),ue=n.n(ce);var de=o.a.memo(()=>{const{isInNodeCreationDialog:e,selectionMode:t}=Object(f.e)(),[n,a]=Object(m.f)(le.c),{translate:i}=Object(f.d)(),s=e||t,l=Object(r.useCallback)(e=>{a({...n,sortBy:e})},[n,a]),c=Object(m.g)(W),u=Object(r.useCallback)(()=>{a({...n,sortDirection:n.sortDirection===le.b.Asc?le.b.Desc:le.b.Asc})},[n,a]),d=Object(r.useMemo)(()=>[{value:le.a.LastModified,label:i("sortingState.sortBy.values.lastModified","Last Modified"),icon:s?"":"calendar"},{value:le.a.Name,label:i("sortingState.sortBy.values.name","Name"),icon:s?"":"font"},{value:le.a.Size,label:i("sortingState.sortBy.values.size","File size"),icon:s?"":"weight-hanging"}],[i,s]);return[z.DEFAULT,z.UNUSED_ASSETS].includes(c)?o.a.createElement("div",{className:ue.a.sortingState},o.a.createElement("div",{className:ue.a.selectBox},o.a.createElement(B.SelectBox,{className:ue.a.selectBox,options:Object.values(d),onValueChange:l,value:n.sortBy,optionValueField:"value"})),o.a.createElement(B.IconButton,{icon:n.sortDirection===le.b.Asc?"sort-amount-up":"sort-amount-down",size:"regular",title:i("sortingState.dortOrder.value."+(n.sortDirection===le.b.Asc?le.b.Desc:le.b.Asc),"Switch sort direction"),style:"neutral",hoverStyle:"brand",onClick:u})):null}),fe=n(39),pe=n.n(fe);var he=o.a.memo(()=>{const{translate:e}=Object(f.d)(),{mediaTypeFilterOptions:t}=Object(m.g)(b.f),[n,a]=Object(m.f)(b.o),i=Object(m.g)(b.m),s=Object(m.h)(b.e),l=Object(m.g)(y.d),c=Object(m.g)(b.d),u=n,d=Object(r.useCallback)(e=>{a(e),s(1)},[s,a]),p=Object(r.useMemo)(()=>{if(!t||!i||"all"==i||l)return[];const e=t[i];return Object.keys(e).filter(e=>{var t;return!c.mediaTypes||(null===(t=c.mediaTypes)||void 0===t?void 0:t.includes(e))}).map(t=>({label:e[t],value:t}))},[i,c.mediaTypes,t,l]);return 0===p.length?null:o.a.createElement("div",{className:pe.a.typeFilter},o.a.createElement(B.SelectBox,{className:pe.a.selectBox,options:p,onValueChange:d,value:u,allowEmpty:!c.mediaTypes||c.mediaTypes.length>1,placeholder:e("typeFilter.assetType.values.all","Mediatype"),optionValueField:"value"}))});var me=o.a.memo(()=>{const e=Object(m.g)(b.f),{assetType:t}=Object(m.g)(b.d),[n,a]=Object(m.f)(b.m),i=Object(m.h)(b.o),[s,l]=Object(m.f)(y.d),c=Object(m.h)(b.e),{translate:u}=Object(f.d)(),d=s?"unused":n,p=Object(r.useCallback)(e=>{l("unused"===e),i(""),"unused"!==e&&a(e),c(1)},[l,c,a,i]),h=Object(r.useMemo)(()=>{const n=t&&"all"!==t,r={video:{value:"video",label:u("typeFilter.assetType.values.video","Video"),disabled:n&&"video"!==t},audio:{value:"audio",label:u("typeFilter.assetType.values.audio","Audio"),disabled:n&&"audio"!==t},image:{value:"image",label:u("typeFilter.assetType.values.image","Image"),disabled:n&&"image"!==t},document:{value:"document",label:u("typeFilter.assetType.values.document","Document"),disabled:n&&"document"!==t}};return e.queryAssetUsage&&(r.unused={value:"unused",label:u("typeFilter.assetType.values.unused","Unused"),disabled:n}),r},[u,e,t]);return o.a.createElement("div",{className:pe.a.typeFilter},o.a.createElement(B.SelectBox,{className:pe.a.selectBox,options:Object.values(h),onValueChange:p,value:d,allowEmpty:!t||"all"===t,placeholder:u("typeFilter.assetType.values.all","All"),optionValueField:"value"}))});var ve=o.a.memo(()=>{const{translate:e}=Object(f.d)(),t=Object(m.g)(W),n=Object(m.g)(b.m),a=Object(m.g)(b.o),i=Object(r.useRef)(),s=[me,he];return Object(r.useEffect)(()=>{var e;(null===(e=i.current)||void 0===e?void 0:e.open)&&(i.current.open=!1)},[a]),[z.DEFAULT,z.UNUSED_ASSETS].includes(t)?o.a.createElement("details",{ref:i,className:c()(pe.a.assetsFilter,(n||a)&&pe.a.active)},o.a.createElement("summary",{title:e("AssetsFilter.title","Toggle asset filters")},o.a.createElement(L.d,{icon:"filter",label:"Filter"})),o.a.createElement("div",{className:pe.a.filterList},s.map((e,t)=>o.a.createElement(e,{key:t})))):null}),be=n(163),ye=n.n(be);var ge=o.a.memo(()=>{const{translate:e}=Object(f.d)(),[t,n]=Object(m.f)(K);return o.a.createElement("div",{className:ye.a.viewModeSelector},o.a.createElement(B.IconButton,{icon:t===H.List?"th":"th-list",size:"regular",title:e("viewModeSelector.viewMode."+(t===H.List?H.Thumbnails:H.List),"Switch mode"),style:"neutral",hoverStyle:"brand",onClick:()=>n(e=>e===H.List?H.Thumbnails:H.List)}))}),_e=n(50),Oe=n(84),Se=n.n(Oe);var Ee=o.a.memo(()=>{const[e,t]=Object(m.f)(b.j),n=Object(m.h)(b.e),[a,i]=Object(r.useState)(e.toString()),{translate:s}=Object(f.d)(),l=Object(m.g)(W),c=Object(r.useCallback)(()=>{t(_e.a.fromString(a)),n(1)},[a,n,t]),u=Object(r.useCallback)(()=>{i(""),t(_e.a.fromString("")),n(1)},[i,t,c]);return l!==z.DEFAULT?null:o.a.createElement("div",{className:Se.a.searchBox},o.a.createElement(B.IconButton,{icon:"search",size:"regular",style:"neutral",className:Se.a.searchBox__searchButton,hoverStyle:"brand",onClick:c,disabled:!a}),o.a.createElement(B.TextInput,{value:a,type:"search",containerClassName:Se.a.searchBox__inputWrapper,onChange:e=>i(e),onEnterKey:c,placeholder:s("searchBox.placeholder","Search")}),o.a.createElement(B.IconButton,{icon:"close",size:"regular",style:"neutral",className:Se.a.searchBox__clearButton,hoverStyle:"brand",onClick:u,disabled:!a}))}),we=n(108),Ce=n.n(we);var Te=o.a.memo(()=>{const{selectionMode:e}=Object(f.e)(),t=[g.a,Ee,ve,de,ge];return o.a.createElement("div",{className:c()(Ce.a.topBar,e&&Ce.a["topBar--selectionMode"])},t.map((e,t)=>o.a.createElement(e,{key:t})))});var Ae=o.a.memo(({asset:e})=>{var t;const{translate:n}=Object(f.d)(),a=Object(f.f)(),{approvalAttainmentStrategy:i}=Object(f.e)(),s=Object(m.h)(k),{importAsset:l}=Object(v.g)(),{deleteAsset:c}=Object(v.e)(),[u,d]=Object(m.f)(Object(g.d)({assetId:e.id,assetSourceId:e.assetSource.id})),p=Object(r.useCallback)(()=>{l({assetId:e.id,assetSourceId:e.assetSource.id}).then(()=>{a.ok(n("assetActions.import.success","Asset was successfully imported"))}).catch(e=>{a.error(n("assetActions.import.error","Failed to import asset"),e.message)})},[l,e,a,n]),h=Object(r.useCallback)(async e=>{if(await i.obtainApprovalToDeleteAsset({asset:e}))try{return await c({assetId:e.id,assetSourceId:e.assetSource.id}),a.ok(n("action.deleteAsset.success","The asset has been deleted")),!0}catch({message:e}){a.error(e)}return!1},[a,n,c,i]);return e?o.a.createElement(o.a.Fragment,null,o.a.createElement(B.IconButton,{title:n("itemActions.preview","Preview asset"),icon:"expand-alt",size:"regular",style:"transparent",hoverStyle:"brand",onClick:()=>s({assetId:e.id,assetSourceId:e.assetSource.id})}),!e.imported&&!e.localId&&o.a.createElement(B.IconButton,{title:n("itemActions.import","Import asset"),icon:"cloud-download-alt",size:"regular",style:"transparent",hoverStyle:"brand",onClick:p}),!e.assetSource.readOnly&&o.a.createElement(B.IconButton,{title:e.isInUse?n("itemActions.delete.disabled","Cannot delete an asset that is in use"):n("itemActions.delete","Delete asset"),disabled:e.isInUse,icon:"trash",size:"regular",style:"transparent",hoverStyle:"error",onClick:()=>h(e)}),(null===(t=e.file)||void 0===t?void 0:t.url)&&o.a.createElement("a",{href:e.file.url,download:!0,title:n("itemActions.download","Download asset")},o.a.createElement(B.IconButton,{icon:"download",size:"regular",style:"transparent",hoverStyle:"success"})),e.localId&&o.a.createElement(B.IconButton,{title:n("itemActions.copyToClipboard","Copy to clipboard"),icon:u?"clipboard-check":"clipboard",size:"regular",style:"transparent",hoverStyle:"brand",className:u?"button--active":"",onClick:d})):null}),je=n(45),ke=n.n(je);var Ie=o.a.memo(({assetIdentities:e})=>{const{isInNodeCreationDialog:t}=Object(f.e)(),{translate:n}=Object(f.d)(),a=Object(m.h)(k),i=Object(v.h)(),s=Object(r.useCallback)((e,t=!1)=>{t?a(e):i(e)},[a,i]);return o.a.createElement("section",{className:c()(ke.a.listView,t&&ke.a.listViewFullHeight)},o.a.createElement("table",null,o.a.createElement("thead",null,o.a.createElement("tr",null,o.a.createElement("th",{className:ke.a.tableHeader}),o.a.createElement("th",{className:ke.a.tableHeader},n("thumbnailView.header.name","Name")),o.a.createElement("th",{className:ke.a.tableHeader},n("thumbnailView.header.lastModified","Last Modified")),o.a.createElement("th",{className:ke.a.tableHeader},n("thumbnailView.header.fileSize","File size")),o.a.createElement("th",{className:ke.a.tableHeader},n("thumbnailView.header.mediaType","Type")),o.a.createElement("th",{className:ke.a.tableHeader}))),o.a.createElement("tbody",null,e.map((e,t)=>o.a.createElement(Pe,{key:t,assetIdentity:e,onSelect:s})))))}),Ne=n(48);var xe=o.a.memo(({assetIdentity:e})=>{const{translate:t}=Object(f.d)(),[n,r]=Object(m.f)(Object(g.d)(e));return n?o.a.createElement(B.IconButton,{title:t("itemActions.removeFromClipboard","Remove from clipboard"),icon:"trash",size:"regular",style:"transparent",hoverStyle:"warn",onClick:r}):null}),Re=n(46),De=n.n(Re);const Me={weekday:"short",year:"numeric",month:"short",day:"numeric"},Le=Object(m.e)({key:"ListViewItemSelection",get:e=>({get:t})=>{var n;return(null===(n=t(b.l))||void 0===n?void 0:n.assetId)===e}});var Pe=o.a.memo(({assetIdentity:e,onSelect:t})=>{const{dummyImage:n,isAssetSelectable:a,selectionMode:i}=Object(f.e)(),{asset:s,loading:l}=Object(v.b)(e),u=Object(m.g)(Le(e.assetId)),d=Object(r.useMemo)(()=>a(s),[s,a]),p=Object(r.useCallback)(()=>t(e,u&&!i),[t,e,u,i]);return o.a.createElement("tr",{className:c()(De.a.listViewItem,u&&De.a.selected)},o.a.createElement("td",{className:De.a.previewColumn,onClick:p},o.a.createElement("picture",null,d?o.a.createElement("img",{src:(null==s?void 0:s.thumbnailUrl)||n,alt:null==s?void 0:s.label,width:40,height:36}):o.a.createElement(B.Icon,{icon:"ban",color:"error"}))),o.a.createElement("td",{className:De.a.labelColumn,onClick:p},s&&o.a.createElement(L.a,{label:s.label})),o.a.createElement("td",{className:De.a.lastModifiedColumn,onClick:p},s&&new Date(s.lastModified).toLocaleString([],Me)),o.a.createElement("td",{className:De.a.fileSizeColumn,onClick:p},s&&Object(Ne.a)(s.file.size)),o.a.createElement("td",{className:De.a.mediaTypeColumn,onClick:p,title:null==s?void 0:s.file.mediaType},null==s?void 0:s.file.mediaType),o.a.createElement("td",{className:De.a.actionsColumn},!l&&(s?o.a.createElement(Ae,{asset:s}):o.a.createElement(xe,{assetIdentity:e}))))},(e,t)=>e.assetIdentity.assetId===t.assetIdentity.assetId);var Fe=o.a.memo(({loadingText:e,emptyText:t})=>{const n=Object(m.g)(b.h);return o.a.createElement("div",{className:"loadingLabel"},n?e:t)}),Be=n(164),Ue=n.n(Be);var Ve=o.a.memo(()=>{const e=Object(m.g)(K),{assets:t}=Object(y.g)(),n=Object(m.g)(g.e),a=Object(m.g)(W),i=Object(m.h)(g.f),s=Object(m.g)(b.j),{translate:l}=Object(f.d)(),c=Object(m.g)(b.b),[u,d]=Object(r.useState)(c),p=Object(r.useMemo)(()=>t.filter(e=>null==e?void 0:e.id).map(({id:e,assetSource:t})=>({assetId:e,assetSourceId:t.id})),[t]);return Object(r.useEffect)(()=>{a===z.CLIPBOARD?d(n):a===z.UNUSED_ASSETS?d(p):d(c)},[a,c,p,n]),u.length>0?e===H.List?o.a.createElement(Ie,{assetIdentities:u}):o.a.createElement(Ke,{assetIdentities:u}):o.a.createElement("div",{className:Ue.a.emptyStateWrapper},a===z.CLIPBOARD?o.a.createElement(B.Button,{size:"regular",style:"brand",hoverStyle:"brand",onClick:()=>i(!1)},l("clipboard.close","Close clipboard")):o.a.createElement(Fe,{loadingText:l("assetList.loading","Loading assets"),emptyText:(null==s?void 0:s.toString())?l("assetList.emptyForSearchTerm",`No assets found for "${s}"`,{searchTerm:s}):l("assetList.empty","No assets found")}))}),qe=n(52),ze=n.n(qe);const Qe=Object(m.e)({key:"ThumbnailSelection",get:e=>({get:t})=>{var n;return(null===(n=t(b.l))||void 0===n?void 0:n.assetId)===e}});var $e=o.a.memo(({assetIdentity:e,onSelect:t})=>{const{translate:n}=Object(f.d)(),{dummyImage:a,isAssetSelectable:i,selectionMode:s}=Object(f.e)(),{asset:l,loading:u}=Object(v.b)(e),d=Object(m.g)(Qe(e.assetId)),p=Object(r.useMemo)(()=>i(l),[l,i]);return o.a.createElement("figure",{className:c()(ze.a.thumbnail,!p&&ze.a.disabled),title:null==l?void 0:l.label},(null==l?void 0:l.imported)&&o.a.createElement("span",{className:ze.a.label},n("asset.label.imported","Imported")),o.a.createElement("picture",{onClick:()=>t(e,d&&!s),className:ze.a.picture},o.a.createElement("img",{src:u||!l?a:l.thumbnailUrl,alt:null==l?void 0:l.label})),o.a.createElement("figcaption",{className:c()(ze.a.caption,d&&ze.a.selected)},l&&o.a.createElement(o.a.Fragment,null,p&&l.file?o.a.createElement("img",{src:l.file.typeIcon.url,alt:l.file.typeIcon.alt}):o.a.createElement(B.Icon,{icon:"ban",color:"error"}),o.a.createElement(L.a,{label:l.label}))),o.a.createElement("div",{className:ze.a.toolBar},!u&&(l?o.a.createElement(Ae,{asset:l}):o.a.createElement(xe,{assetIdentity:e}))))},(e,t)=>e.assetIdentity.assetId===t.assetIdentity.assetId),We=n(165),He=n.n(We);var Ke=o.a.memo(({assetIdentities:e})=>{const t=Object(m.h)(k),n=Object(v.h)(),a=Object(r.useCallback)((e,r=!1)=>{r?t(e):n(e)},[t,n]);return o.a.createElement("section",{className:He.a.thumbnailView},e.map((e,t)=>o.a.createElement($e,{key:t,assetIdentity:e,onSelect:a})))}),Ge=n(60),Ye=n(58),Xe=n.n(Ye),Je=n(47),Ze=n.n(Je);n(197);var et=o.a.memo(()=>{const{selectionMode:e,isInNodeCreationDialog:t,containerRef:n}=Object(f.e)(),r=Object(m.g)(T.a),a=Object(m.g)(D.b),i=Object(m.g)(M.e),s=Object(m.g)(R.c),l=Object(m.g)(y.c),u=Object(m.g)(C.c),d=Object(m.g)(b.j),p=Object(v.h)(),h=Object(m.h)(O.d);return o.a.useEffect(()=>{const e=d.getAssetIdentifierIfPresent();e&&(p(e),h("neos"))},[d]),o.a.createElement("div",{className:c()(Ze.a.container,Ze.a.mediaModuleApp,Xe.a.mediaModuleTheme,{[Ze.a.selectionMode]:e,[Ze.a.fullHeight]:t}),ref:n},o.a.createElement($.a,null),o.a.createElement("div",{className:Ze.a.gridLeft},o.a.createElement(Ge.a,null,o.a.createElement(P,null))),o.a.createElement("div",{className:Ze.a.gridTop},o.a.createElement(Te,null)),o.a.createElement("div",{className:Ze.a.gridMain},o.a.createElement(Ge.a,null,o.a.createElement(Ve,null))),o.a.createElement(se,null),!e&&o.a.createElement("div",{className:Ze.a.gridRight},o.a.createElement(Ge.a,null,o.a.createElement(Q,null))),o.a.createElement(x,null),l&&o.a.createElement(y.a,null),r.visible&&o.a.createElement(A.c,null),s&&o.a.createElement(R.a,null),a.visible&&o.a.createElement(D.a,null),i&&o.a.createElement(M.c,null),u&&o.a.createElement(C.a,null),o.a.createElement(f.a,null),o.a.createElement(g.c,null),o.a.createElement(w,null))}),tt=n(109),nt=n.n(tt);let rt=null;class ot extends o.a.PureComponent{constructor(e){super(e),this.translate=(e,t,n,r="Flowpack.Media.Ui",o="Main")=>this.props.i18nRegistry.translate(e,t,n,r,o),this.getInitialState=()=>{const{frontendConfiguration:e,constraints:t,type:n}=this.props;return{applicationContext:"selection",featureFlags:e,constraints:{...t||{},assetType:"images"===n?"image":n}}},this.state={initialLeftSideBarHiddenState:!1,initialNodeCreationDialogOpenState:!1},this.notificationHandler={info:t=>e.addFlashMessage(t,t,"info"),ok:t=>e.addFlashMessage(t,t,"success"),notice:t=>e.addFlashMessage(t,t,"info"),warning:(t,n="")=>e.addFlashMessage(t,n,"error"),error:(t,n="")=>e.addFlashMessage(t,n,"error")}}componentDidMount(){const{isLeftSideBarHidden:e,isNodeCreationDialogOpen:t,toggleSidebar:n}=this.props;this.setState({initialLeftSideBarHiddenState:e,initialNodeCreationDialogOpenState:t}),e||t||n()}componentWillUnmount(){const{isLeftSideBarHidden:e,toggleSidebar:t}=this.props,{initialLeftSideBarHiddenState:n,initialNodeCreationDialogOpenState:r}=this.state;n===e||r||t()}getConfig(){return{endpoints:{graphql:"/neos/graphql/media-assets",upload:"/neos/media-ui/upload"},dummyImage:"/_Resources/Static/Packages/Neos.Neos/Images/dummy-image.svg"}}getApolloClient(){if(!rt){const{endpoints:e}=this.getConfig(),t=h.a.createCache(this.props.frontendConfiguration);rt=new i.ApolloClient({cache:t,link:i.ApolloLink.from([Object(h.c)(this.notificationHandler),Object(s.createUploadLink)({uri:e.graphql,credentials:"same-origin"})]),typeDefs:[f.c,y.e]})}return rt}render(){const{onComplete:e}=this.props,{dummyImage:t}=this.getConfig(),n=Object(r.createRef)(),a=this.state.initialNodeCreationDialogOpenState;return o.a.createElement("div",{className:c()(nt.a.mediaSelectionScreen,{[nt.a.isInNodeCreationDialog]:a})},o.a.createElement(p.a,{client:this.getApolloClient(),translate:this.translate,notificationApi:this.notificationHandler,initialState:this.getInitialState()},o.a.createElement(f.b,{dummyImage:t,onAssetSelection:e,selectionMode:!0,isInNodeCreationDialog:a,containerRef:n},o.a.createElement(et,null))))}}const at=Object(u.neos)(e=>({i18nRegistry:e.get("i18n"),frontendConfiguration:e.get("frontendConfiguration").get("Flowpack.Media.Ui")}));var it=Object(a.connect)(()=>({}),{addFlashMessage:d.actions.UI.FlashMessages.add,toggleSidebar:d.actions.UI.LeftSideBar.toggle})(Object(a.connect)(e=>({isLeftSideBarHidden:e.ui.leftSideBar.isHidden,isNodeCreationDialogOpen:e.ui.nodeCreationDialog.isOpen}))(at(ot)))},function(e,t,n){"use strict";n.r(t),n.d(t,"MediaDetailsScreen",(function(){return $}));var r=n(0),o=n.n(r),a=n(74),i=n(4),s=n(93),l=n(89),c=n(75),u=n(5),d=n(91),f=n(62),p=n(1),h=n(13),m=n.n(h),v=n(9),b=n(19),y=n(51),g=n(59),_=n(49),O=n(92),S=n(60),E=n(54),w=n(14),C=n(12),T=n(3),A=n(20);var j=o.a.memo(({asset:e,buildLinkToMediaUi:t})=>{var n,r;const{translate:a}=Object(u.d)(),[i,s]=Object(p.f)(Object(A.d)({assetId:e.id,assetSourceId:e.assetSource.id}));return o.a.createElement(o.a.Fragment,null,o.a.createElement("a",{href:t(e),title:a("previewActions.openInMediaModule","Open asset in media module"),target:"_blank",rel:"noreferrer noopener"},o.a.createElement(T.IconButton,{icon:"image",size:"regular",style:"transparent",hoverStyle:"brand"})),(null===(n=e.file)||void 0===n?void 0:n.url)&&o.a.createElement("a",{href:e.file.url,title:a("previewActions.openInNewTab","Open asset in a new browser tab"),target:"_blank",rel:"noreferrer noopener"},o.a.createElement(T.IconButton,{icon:"external-link-alt",size:"regular",style:"transparent",hoverStyle:"brand"})),(null===(r=e.file)||void 0===r?void 0:r.url)&&o.a.createElement("a",{href:e.file.url,download:!0,title:a("previewActions.download","Download asset")},o.a.createElement(T.IconButton,{icon:"download",size:"regular",style:"transparent",hoverStyle:"warn"})),e.localId&&o.a.createElement(T.IconButton,{title:a("itemActions.copyToClipboard","Copy to clipboard"),icon:i?"clipboard-check":"clipboard",size:"regular",style:"transparent",hoverStyle:"brand",className:i?"button--active":"",onClick:s}))}),k=n(65),I=n.n(k);var N=o.a.memo(({asset:e,loading:t,buildLinkToMediaUi:n})=>{const{translate:r}=Object(u.d)(),{dummyImage:a}=Object(u.e)();return o.a.createElement("figure",{className:m()(I.a.preview,t&&I.a.loading),title:null==e?void 0:e.label},(null==e?void 0:e.imported)&&o.a.createElement("span",{className:I.a.label},r("asset.label.imported","Imported")),o.a.createElement("picture",{className:I.a.picture},o.a.createElement("img",{src:t||!e?a:e.previewUrl,alt:null==e?void 0:e.label}),o.a.createElement("div",{className:I.a.toolBar},!t&&e&&o.a.createElement(j,{asset:e,buildLinkToMediaUi:n}))))},(e,t)=>{var n,r;return(null===(n=e.asset)||void 0===n?void 0:n.id)===(null===(r=t.asset)||void 0===r?void 0:r.id)}),x=n(58),R=n.n(x),D=n(66),M=n.n(D),L=n(7);var P=o.a.memo(({buildLinkToMediaUi:e})=>{const{containerRef:t}=Object(u.e)(),{visible:n}=Object(p.g)(g.a),{visible:r}=Object(p.g)(w.b),a=Object(p.g)(C.e),i=Object(p.g)(b.c),s=Object(p.g)(y.c),l=Object(p.g)(L.l),{asset:c,loading:d}=Object(v.b)(l);return o.a.createElement("div",{className:m()(M.a.container,R.a.mediaModuleTheme,d&&M.a.loading),ref:t},o.a.createElement(O.a,null),o.a.createElement("div",{className:m()(M.a.main,d&&M.a.loading)},o.a.createElement(S.a,null,o.a.createElement("div",{className:M.a.inspector},o.a.createElement(E.b,null)),o.a.createElement(N,{asset:c,loading:d,buildLinkToMediaUi:e}))),i&&o.a.createElement(b.a,null),n&&o.a.createElement(_.c,null),r&&o.a.createElement(w.a,null),a&&o.a.createElement(C.c,null),s&&o.a.createElement(y.a,null),o.a.createElement(u.a,null))}),F=n(94);const B=e=>({...F.a,obtainApprovalToUpdateAsset:({asset:t})=>e.interaction.confirm({title:e.intl.translate("actions.updateAsset.confirm.title","Update Asset",[t.label]),message:e.intl.translate("actions.updateAsset.confirm.message",`Please be aware that updating asset "${t.label}" will affect all of its occurrences on every page. Do you still wish to proceed?`,[t.label]),buttonLabel:e.intl.translate("actions.updateAsset.confirm.buttonLabel","Yes, proceed with updating the asset",[t.label])}),obtainApprovalToSetAssetTags:({asset:t})=>e.interaction.confirm({title:e.intl.translate("actions.setAssetTags.confirm.title","Set Asset Tags",[t.label]),message:e.intl.translate("actions.setAssetTags.confirm.message",`Please be aware that changing the asset tags of asset "${t.label}" will affect all of its occurrences on every page. Do you still wish to proceed?`,[t.label]),buttonLabel:e.intl.translate("actions.setAssetTags.confirm.buttonLabel","Yes, proceed with setting the asset tags",[t.label])}),obtainApprovalToSetAssetCollections:({asset:t})=>e.interaction.confirm({title:e.intl.translate("actions.setAssetCollections.confirm.title","Set Asset Collections",[t.label]),message:e.intl.translate("actions.setAssetCollections.confirm.message",`Please be aware that changing the asset collections of asset "${t.label}" will affect all of its occurrences on every page. Do you still wish to proceed?`,[t.label]),buttonLabel:e.intl.translate("actions.setAssetCollections.confirm.buttonLabel","Yes, proceed with setting the asset collections",[t.label])}),obtainApprovalToDeleteAsset:({asset:t})=>e.interaction.confirm({title:e.intl.translate("actions.deleteAsset.confirm.title","Delete Asset",[t.label]),message:e.intl.translate("action.deleteAsset.confirm.message",`Do you really want to delete the asset "${t.label}"?`,[t.label]),buttonLabel:e.intl.translate("actions.deleteAsset.confirm.buttonLabel","Yes, proceed with deleting the asset",[t.label])}),obtainApprovalToReplaceAsset:({asset:t})=>e.interaction.confirm({title:e.intl.translate("actions.replaceAsset.confirm.title","Replace Asset",[t.label]),message:e.intl.translate("action.replaceAsset.confirm.message",`Do you really want to replace the asset "${t.label}"?`,[t.label]),buttonLabel:e.intl.translate("actions.replaceAsset.confirm.buttonLabel","Yes, proceed with replacing the asset",[t.label])})});var U=n(158),V=n.n(U);let q=null;class z extends o.a.PureComponent{constructor(e){super(e),this.translate=(e,t,n,r="Flowpack.Media.Ui",o="Main")=>this.props.i18nRegistry.translate(e,t,n,r,o),this.getInitialState=()=>{const{frontendConfiguration:e,imageIdentity:t,type:n,constraints:r}=this.props;return{applicationContext:"details",featureFlags:e,selectedAsset:{assetId:t,assetSourceId:"neos"},selectedInspectorView:"asset",constraints:{...r||{},assetType:"images"===n?"image":n}}},this.notificationHandler={info:t=>e.addFlashMessage(t,t,"info"),ok:t=>e.addFlashMessage(t,t,"success"),notice:t=>e.addFlashMessage(t,t,"info"),warning:(t,n="")=>e.addFlashMessage(t,n,"error"),error:(t,n="")=>e.addFlashMessage(t,n,"error")}}getConfig(){return{endpoints:{graphql:"/neos/graphql/media-assets",upload:"/neos/media-ui/upload"},dummyImage:"/_Resources/Static/Packages/Neos.Neos/Images/dummy-image.svg",buildLinkToMediaUi:e=>"/neos/management/mediaui?searchTerm=id:"+e.id}}getApolloClient(){if(!q){const{endpoints:e}=this.getConfig(),t=f.a.createCache(this.props.frontendConfiguration);q=new i.ApolloClient({cache:t,link:i.ApolloLink.from([Object(f.c)(this.notificationHandler),Object(s.createUploadLink)({uri:e.graphql,credentials:"same-origin"})]),typeDefs:[u.c,b.e]})}return q}render(){const{addFlashMessage:e,onComplete:t}=this.props,{dummyImage:n,buildLinkToMediaUi:a}=this.getConfig(),i=Object(r.createRef)(),s={info:t=>e(t,t,"info"),ok:t=>e(t,t,"success"),notice:t=>e(t,t,"info"),warning:(t,n="")=>e(t,n,"error"),error:(t,n="")=>e(t,n,"error")};return o.a.createElement("div",{className:V.a.mediaDetailsScreen},o.a.createElement(d.a,{client:this.getApolloClient(),translate:this.translate,notificationApi:s,initialState:this.getInitialState()},o.a.createElement(u.b,{dummyImage:n,onAssetSelection:t,selectionMode:!0,containerRef:i,approvalAttainmentStrategyFactory:B},o.a.createElement(P,{buildLinkToMediaUi:a}))))}}const Q=Object(l.neos)(e=>({i18nRegistry:e.get("i18n"),frontendConfiguration:e.get("frontendConfiguration").get("Flowpack.Media.Ui")}));var $=Object(a.connect)(()=>({}),{addFlashMessage:c.actions.UI.FlashMessages.add})(Q(z))}]); \ No newline at end of file diff --git a/Resources/Public/Assets/main.bundle.css b/Resources/Public/Assets/main.bundle.css index c4176d89b..d14a78c8d 100644 --- a/Resources/Public/Assets/main.bundle.css +++ b/Resources/Public/Assets/main.bundle.css @@ -1,2 +1,2 @@ -.neos-iiR9VW_reset{color:#fff;margin:0;padding:0;font-family:Noto Sans,sans-serif;font-weight:400}.neos-iiR9VW_reset,.neos-iiR9VW_reset:before,.neos-iiR9VW_reset:after{box-sizing:border-box}.neos-iiR9VW_reset input,.neos-iiR9VW_reset textarea,.neos-iiR9VW_reset select,.neos-iiR9VW_reset button{margin:0;font-size:14px}.neos-iiR9VW_reset ul{padding:0}.neos-iiR9VW_reset li{display:block}.neos-iiR9VW_reset input::-webkit-search-cancel-button{display:none}.neos-iiR9VW_reset input{appearance:none}.neos-6Mnuzq_btn{height:40px;min-width:40px;-webkit-font-smoothing:antialiased;vertical-align:middle;width:auto;color:#fff;cursor:pointer;background-color:#323232;border:0;padding:0 16px;font-size:14px;display:inline-block;position:relative}.neos-6Mnuzq_btn:focus{outline:1px solid #00adee}.neos-6Mnuzq_btn[disabled]{opacity:.5;cursor:not-allowed}.neos-6Mnuzq_btn[disabled]:hover,.neos-6Mnuzq_btn[disabled].neos-6Mnuzq_btn--isPressed,.neos-6Mnuzq_btn[disabled]:hover i,.neos-6Mnuzq_btn[disabled] i{color:#fff}.neos-6Mnuzq_btn--size-small{height:32px;padding:0 8px;font-size:13px}.neos-6Mnuzq_btn--clean{background-color:#222}.neos-6Mnuzq_btn--lighter,.neos-6Mnuzq_btn--lighter i{background-color:#3f3f3f}.neos-6Mnuzq_btn--neutral,.neos-6Mnuzq_btn--neutral i{background-color:#323232}.neos-6Mnuzq_btn--transparent{background:0}.neos-6Mnuzq_btn--brand,.neos-6Mnuzq_btn--brand i{background-color:#00adee;color:#fff!important}.neos-6Mnuzq_btn--success,.neos-6Mnuzq_btn--success i{background-color:#00a338;color:#fff!important}.neos-6Mnuzq_btn--warn,.neos-6Mnuzq_btn--warn i{background-color:#ff8700}.neos-6Mnuzq_btn--error,.neos-6Mnuzq_btn--error i{background-color:#ff460d;color:#fff!important}.neos-6Mnuzq_btn--brandActive{background-color:#00adee}.neos-6Mnuzq_btn--brandActive svg{color:#fff}.neos-6Mnuzq_btn--brandHover:hover:enabled,.neos-6Mnuzq_btn--brandHover:hover:enabled i,.neos-6Mnuzq_btn--brandHover.neos-6Mnuzq_btn--isPressed,.neos-6Mnuzq_btn--brandHover.neos-6Mnuzq_btn--isPressed i{background-color:#00adee}.neos-6Mnuzq_btn--cleanHover.neos-6Mnuzq_btn--isPressed,.neos-6Mnuzq_btn--cleanHover.neos-6Mnuzq_btn--isPressed i,.neos-6Mnuzq_btn--cleanHover:hover:enabled,.neos-6Mnuzq_btn--cleanHover:hover:enabled i,:is(.neos-6Mnuzq_btn--cleanHover.neos-6Mnuzq_btn--isPressed,.neos-6Mnuzq_btn--cleanHover.neos-6Mnuzq_btn--isPressed i,.neos-6Mnuzq_btn--cleanHover:hover:enabled,.neos-6Mnuzq_btn--cleanHover:hover:enabled i) svg{color:#00adee}.neos-6Mnuzq_btn--darkenHover.neos-6Mnuzq_btn--isPressed,.neos-6Mnuzq_btn--darkenHover.neos-6Mnuzq_btn--isPressed i,.neos-6Mnuzq_btn--darkenHover:hover:enabled,.neos-6Mnuzq_btn--darkenHover:hover:enabled i{background-color:#0000001a}.neos-6Mnuzq_btn--successHover.neos-6Mnuzq_btn--isPressed,.neos-6Mnuzq_btn--successHover.neos-6Mnuzq_btn--isPressed i,.neos-6Mnuzq_btn--successHover:hover:enabled,.neos-6Mnuzq_btn--successHover:hover:enabled i{background-color:#0bb344}.neos-6Mnuzq_btn--warnHover.neos-6Mnuzq_btn--isPressed,.neos-6Mnuzq_btn--warnHover.neos-6Mnuzq_btn--isPressed i,.neos-6Mnuzq_btn--warnHover:hover:enabled,.neos-6Mnuzq_btn--warnHover:hover:enabled i{background-color:#fda23d}.neos-6Mnuzq_btn--errorHover:hover:enabled,.neos-6Mnuzq_btn--errorHover:hover:enabled i,.neos-6Mnuzq_btn--errorHover.neos-6Mnuzq_btn--isPressed,.neos-6Mnuzq_btn--errorHover.neos-6Mnuzq_btn--isPressed i{background-color:#ff6a3c}.neos-RjvLTG_icon{font:normal normal normal FontAwesome;font-size:14px/1;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block}.neos-RjvLTG_icon--paddedLeft{margin-left:.75em}.neos-RjvLTG_icon--paddedRight{margin-right:.75em}.neos-RjvLTG_icon--color-warn{color:#ff8700}.neos-RjvLTG_icon--color-error{color:#ff460d}.neos-RjvLTG_icon--color-primaryBlue{color:#00adee}.neos-RjvLTG_icon--huge svg{height:3em}.neos-RjvLTG_icon--large svg{height:2em}.neos-RjvLTG_icon--big svg{height:1.33em}.neos-RjvLTG_icon--small svg{height:1em;max-height:1em;max-width:100%}.neos-RjvLTG_icon--tiny svg{height:.75em}.neos-RjvLTG_icon--resource{width:100%;justify-content:center;display:inline-grid}.neos-am4CoW_checkbox{width:20px;height:20px;vertical-align:middle;margin-right:8px;display:block;position:relative}.neos-am4CoW_checkbox__input{z-index:1;width:20px;height:20px;opacity:0;cursor:pointer;position:absolute;top:50%;left:0;transform:translateY(-50%)}.neos-am4CoW_checkbox__icon{opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%)translateY(-50%)}.neos-am4CoW_checkbox__inputMirror{width:20px;height:20px;vertical-align:top;background:#3f3f3f;border-radius:2px;font-size:20px;font-weight:700;display:inline-block}.neos-am4CoW_checkbox__inputMirror--active{background:#00adee}.neos-am4CoW_checkbox__checked .neos-am4CoW_checkbox__icon{opacity:1}.neos-am4CoW_checkbox__disabled{opacity:.65;cursor:not-allowed}.neos-am4CoW_checkbox__disabled .neos-am4CoW_checkbox__input{cursor:not-allowed}@keyframes neos-X60ORW_slideDialogContents{0%{opacity:0;transform:translate(-50%)scale(.9)}}.neos-X60ORW_dialog{z-index:1;width:100vw;height:100vh;background:#000c;position:fixed;top:0;left:0}.neos-X60ORW_dialog__contentsPosition{opacity:1;background:#222;border-radius:0;outline:none;animation:.3s ease-in-out neos-X60ORW_slideDialogContents;position:absolute;top:20vh;left:50%;transform:translate(-50%)scale(1);box-shadow:0 20px 40px #0006}.neos-X60ORW_dialog__contents{width:calc(100vw - 80px);max-width:640px;border:2px solid #3f3f3f;transition:max-width .25s;position:relative}.neos-X60ORW_dialog--wide .neos-X60ORW_dialog__contents{max-width:960px}@media (max-width:576px){.neos-X60ORW_dialog--wide .neos-X60ORW_dialog__contents{max-width:100vw;width:100vw}}.neos-X60ORW_dialog--jumbo .neos-X60ORW_dialog__contents{max-width:1440px;width:90vw}@media (max-width:576px){.neos-X60ORW_dialog--jumbo .neos-X60ORW_dialog__contents{max-width:100vw;width:100vw}}.neos-X60ORW_dialog--narrow .neos-X60ORW_dialog__contents{max-width:400px}.neos-X60ORW_dialog--success .neos-X60ORW_dialog__contents{border-color:#00a338}.neos-X60ORW_dialog--warn .neos-X60ORW_dialog__contents{border-color:#ff8700}.neos-X60ORW_dialog--error .neos-X60ORW_dialog__contents{border-color:#ff460d}.neos-X60ORW_dialog__title{padding:16px 40px 16px 16px;font-size:20px;line-height:1.2}.neos-X60ORW_dialog__body{max-height:65vh;overflow-y:auto}@media (max-width:576px){.neos-X60ORW_dialog__body{max-height:55vh}}.neos-X60ORW_dialog__actions{text-align:right;margin-top:16px}.neos-X60ORW_dialog__closeBtn{background:#3f3f3f;position:absolute;top:0;right:0}.neos-X60ORW_dialog__backDrop{height:100%;width:100%;position:absolute}.neos-RwNJjq_heading{text-rendering:optimizelegibility;font-size:14px}.neos-RwNJjq_heading--h1{font-size:16px}.neos-SMzb_q_iconButton{vertical-align:top;width:40px;padding-left:0;padding-right:0}.neos-SMzb_q_iconButton--disabled{opacity:.65;cursor:not-allowed}.neos-SMzb_q_size-small{width:32px!important;min-width:32px!important}.neos-7CQSZa_label{-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-user-select:none;user-select:none;margin-bottom:4px;padding:0;font-size:14px;display:block}.neos-7CQSZa_label,.neos-7CQSZa_label span{max-width:100%}.neos-QvCEOa_selectBox__list{padding:0}.neos-QvCEOa_selectBox{composes:reset from "../reset.module.css",dropDown from "./../DropDown/style.css";line-height:0;display:inline-block;position:relative}.neos-QvCEOa_selectBox__btn{composes:reset from "../reset.module.css",dropDown__btn from "./../DropDown/style.css";text-overflow:clip;height:auto;min-height:40px;min-width:160px;border:0;padding-left:0;line-height:40px;display:inline-block;position:relative}.neos-QvCEOa_selectBox__btn--noRightPadding{padding-right:0}.neos-QvCEOa_selectBox__contents{min-width:160px;z-index:40;margin-top:-2px;box-shadow:0 5px 5px #0003}.neos-QvCEOa_selectBox__contents--hasItems{padding:2px!important}.neos-QvCEOa_selectBox__item{background:#141414;border-top:1px solid #222}.neos-QvCEOa_selectBox__item div{padding:5px 14px}.neos-QvCEOa_selectBox__groupHeader{text-transform:uppercase;background-color:#222;padding-left:16px;font-weight:700;line-height:30px}.neos-QvCEOa_selectBox--disabled{filter:opacity(50%);cursor:not-allowed}.neos-d_677a_listPreviewElement{cursor:pointer;text-overflow:ellipsis;white-space:nowrap;padding:5px 16px;font-size:14px;line-height:30px;overflow:hidden}.neos-d_677a_listPreviewElement--isDisabled{color:#999;cursor:not-allowed}.neos-d_677a_listPreviewElement--isHighlighted{background-color:#00adee!important}.neos-d_677a_listPreviewElement--isHighlighted>span{color:#fff}.neos-d_677a_listPreviewElement__icon{margin-right:.5em}.neos-d_677a_listPreviewElement__iconWrapper{width:2em;text-align:center;display:inline-block;padding:0!important}.neos-fwJGCW_dropDown{width:100%;display:inline-block;position:relative}.neos-fwJGCW_dropDown__btn{width:100%;height:40px;text-align:left;color:#fff;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;background:#323232;border:0;border-radius:2px;padding:0 16px;font-size:14px;line-height:40px;display:block;overflow:hidden}.neos-fwJGCW_dropDown__btn:focus{outline:1px solid #00adee}.neos-fwJGCW_dropDown__btn svg{pointer-events:none}.neos-fwJGCW_dropDown__btn--withChevron{padding-right:40px}.neos-fwJGCW_dropDown__btnLabel{margin-right:.5em}.neos-fwJGCW_dropDown__chevron{position:absolute;top:50%;right:16px;transform:translateY(-50%)}.neos-fwJGCW_dropDown__contents{z-index:1;width:100%;background:#323232;margin:0;list-style:none;display:none;position:absolute;top:100%;left:0;box-shadow:0 5px 5px #0003}.neos-fwJGCW_dropDown__contents--scrollable{position:fixed;top:auto;overflow-y:auto}.neos-fwJGCW_dropDown__contents--isOpen{flex-direction:column;display:flex}.neos-fwJGCW_dropDown--darker>.neos-fwJGCW_dropDown__btn--open,.neos-fwJGCW_dropDown--darker>.neos-fwJGCW_dropDown__contents{background-color:#222}.neos-fwJGCW_dropDown--darkest>.neos-fwJGCW_dropDown__btn--open,.neos-fwJGCW_dropDown--darkest>.neos-fwJGCW_dropDown__contents{background-color:#141414}.neos-fwJGCW_dropDown--padded>.neos-fwJGCW_dropDown__contents{padding:16px}.neos-Gv_gqG_selectBoxHeader{width:100%;display:flex}.neos-Gv_gqG_selectBoxHeader__innerPreview{width:100%;overflow:hidden}.neos-Gv_gqG_selectBoxHeader__icon{height:100%;line-height:40px}.neos-Gv_gqG_selectBoxHeader__label,.neos-Gv_gqG_selectBoxHeader__wrapperIconWrapper{padding:0 16px}.neos-Gv_gqG_selectBoxHeader__wrapperPlaceholderIconWrapper{padding:0 8px 0 0}.neos-Gv_gqG_selectBoxHeader--disabled{cursor:not-allowed}.neos-x4kw-a_selectBoxHeaderWithSearchInput{padding-left:16px;display:flex}.neos-x4kw-a_selectBoxHeaderWithSearchInput__inputContainer{width:100%}.neos-x4kw-a_selectBoxHeaderWithSearchInput__input{width:100%;color:#fff;font-size:14px}.neos-x4kw-a_selectBoxHeaderWithSearchInput__input:focus{color:#fff!important;background:0 0!important}.neos-x4kw-a_selectBoxHeaderWithSearchInput__icon{height:40px}.neos-Y9Uoqa_textInput{width:100%;height:40px;color:#fff;background:#323232;border:0;border-radius:2px;padding:0 14px;font-size:14px}.neos-Y9Uoqa_textInput:focus{color:#141414;background:#fff;outline:0}.neos-Y9Uoqa_textInput::-webkit-input-placeholder{color:#999;font-family:Noto Sans,sans-serif;font-weight:400}.neos-Y9Uoqa_textInput--disabled{opacity:.65;cursor:not-allowed}.neos-oqNh0W_tabs{height:100%}.neos-oqNh0W_tabs__content{overflow-y:auto}.neos-oqNh0W_tabNavigation{background:#141414;border-bottom:1px solid #3f3f3f;margin:0;padding:0;list-style:none;display:block}.neos-oqNh0W_tabNavigation:before,.neos-oqNh0W_tabNavigation:after{content:"";display:table}.neos-oqNh0W_tabNavigation:after{clear:both}.neos-oqNh0W_tabNavigation__item{float:left;color:#fff;border-top:1px solid #3f3f3f;border-right:1px solid #3f3f3f;position:relative}.neos-oqNh0W_tabNavigation__item--isActive{cursor:default;background-color:#222;border-bottom:1px solid #222;margin-bottom:-1px}.neos-oqNh0W_tabNavigation__item--isActive:after{content:" ";height:2px;width:100%;background:#00adee;display:block;position:absolute;top:-1px;left:0;right:0}.neos-oqNh0W_tabNavigation__item--isActive>.neos-oqNh0W_tabNavigation__itemBtn{color:#00adee}.neos-oqNh0W_tabNavigation__itemBtn{height:40px;cursor:pointer;background:0;border:0;padding:0 16px;line-height:40px;display:inline-block}.neos-oqNh0W_tabNavigation__itemBtn:hover{color:#00adee}.neos-oqNh0W_tabNavigation__itemBtn:focus{outline:0}.neos-oqNh0W_tabNavigation__itemBtnIcon{color:currentColor}.neos-oqNh0W_tabNavigation__itemBtnIcon--hasLabel{margin-right:8px}.neos-oqNh0W_panel{overflow-y:auto}.neos-HIOrZq_textArea{width:100%;height:40px;resize:vertical;background:#323232;border:0;border-radius:2px;padding:10px 14px;transition:height .3s}.neos-HIOrZq_textArea:focus{color:#141414;background:#fff;outline:0}.neos-HIOrZq_textArea::-webkit-input-placeholder{color:#999;font-family:Noto Sans,sans-serif}.neos-HIOrZq_textArea--invalid{outline:2px solid #ff460d!important}.neos-HIOrZq_textArea--highlight{outline:2px solid #00a338}.neos-HIOrZq_textArea--disabled{opacity:.65;cursor:not-allowed}.neos-l9MESW_panel{position:relative}.neos-l9MESW_panel__headline{cursor:pointer;height:40px;margin:0;padding:0 16px;font-size:14px;font-weight:700;line-height:40px}.neos-l9MESW_panel__headline--noPadding{padding:0}.neos-l9MESW_panel__toggleBtn{position:absolute;top:0;right:0}.neos-l9MESW_panel__contents{padding:0 16px;transition:padding .25s}.neos-l9MESW_panel--isOpen .neos-l9MESW_panel__contents{padding-top:5px;padding-bottom:5px}.neos-l9MESW_panel--condensed.neos-l9MESW_panel--isOpen .neos-l9MESW_panel__contents{padding-top:0;padding-bottom:0}.neos-l9MESW_panel__contents--noPadding{padding:0}.neos-fU9a9G_treeWrapper{padding:5px 0}.neos-fU9a9G_treeWrapper:focus{outline:0}.neos-jrPqiW_header{margin:0;line-height:20px;position:relative}.neos-jrPqiW_header__chevron{height:100%;width:18px;color:#adadad;text-align:center;cursor:pointer;line-height:20px;position:absolute;top:0;left:0}.neos-jrPqiW_header__chevron:hover{color:#00adee}.neos-jrPqiW_header__chevron--isCollapsed>svg{transform:translateY(3px)translate(-2px)rotate(-90deg)}.neos-jrPqiW_header__chevron--isHiddenInIndex{opacity:.5}.neos-jrPqiW_header__chevron--isLoading,.neos-jrPqiW_header__chevron--isLoading:hover{color:#adadad!important}.neos-jrPqiW_header__chevron--isLoading>svg{margin-top:6px}.neos-jrPqiW_header__iconWrapper{width:2em;text-align:center;display:inline-block;position:absolute}.neos-jrPqiW_header__data{min-width:100%;white-space:nowrap;cursor:pointer;border-left:2px solid #0000;padding:.1em 0;display:inline-block;position:relative}.neos-jrPqiW_header__data--isHiddenInIndex{opacity:.5}.neos-jrPqiW_header__data--isHidden{text-decoration:line-through}.neos-jrPqiW_header__data--isDragging{opacity:.2}.neos-jrPqiW_header__data--isDirty{border-left:2px solid #ff8700}.neos-jrPqiW_header__data--isFocused{background:#323232}.neos-jrPqiW_header__data--isFocused.neos-jrPqiW_header__data--isHiddenInIndex,.neos-jrPqiW_header__data--isFocused.neos-jrPqiW_header__data--isHidden{opacity:.8}.neos-jrPqiW_header__data--acceptsDrop{background-color:#00adee}.neos-jrPqiW_header__data--acceptsDrop *,.neos-jrPqiW_header__data--deniesDrop *{pointer-events:none}.neos-jrPqiW_header__labelWrapper{max-width:264px;text-overflow:ellipsis;vertical-align:middle;line-height:1.5;display:inline-block;overflow:hidden}.neos-jrPqiW_header__label{margin-left:2em}.neos-jrPqiW_header__data--isActive .neos-jrPqiW_header__label{color:#00adee}.neos-jrPqiW_dropTarget{height:2px;padding-left:15px;position:absolute;left:0;right:0}.neos-jrPqiW_dropTarget--before{z-index:1;padding-top:4px;padding-bottom:4px;top:-5px}.neos-jrPqiW_dropTarget--after{z-index:2;padding-top:6px;padding-bottom:0;bottom:1px}.neos-jrPqiW_dropTarget__inner{visibility:hidden;height:0;margin-top:-8px}.neos-jrPqiW_dropTarget__inner--acceptsDrop{z-index:100000;visibility:visible}.neos-jrPqiW_dropTarget__inner svg{fill:#00adee}.neos-sxnCBW_layer{pointer-events:none;z-index:2147483646;width:100%;height:100%;position:fixed;top:0;left:0}.neos-sxnCBW_dragWrapper{opacity:.7;display:inline-block;position:relative;left:0}.neos-sxnCBW_count{z-index:2147483646;width:20px;height:20px;color:#fff;text-align:center;background-color:#ff460d;border-radius:50%;padding:1px;font-size:12px;font-weight:700;position:absolute;top:-10px;left:5px}.neos-sxnCBW_node{width:280px;background-color:#323232;border:1px solid #3f3f3f;position:absolute}.neos-P4wKfG_selectedOptions{width:100%;padding-left:0;list-style:none;position:relative}.neos-2_NI5a_selectedOptions__item{width:100%;background:#141414;border-bottom:1px solid #222;border-radius:2px;display:flex;position:relative}.neos-2_NI5a_selectedOptions__item:hover .neos-2_NI5a_selectedOptions__itemIcon{display:none}.neos-2_NI5a_selectedOptions__item:hover .neos-2_NI5a_selectedOptions__itemIcon--onHover{display:inline}.neos-2_NI5a_selectedOptions__item--draggable{cursor:move}.neos-2_NI5a_selectedOptions__innerPreview{width:100%;border-right:1px solid #222;overflow:hidden}.neos-2_NI5a_selectedOptions__innerPreview>div{box-shadow:none!important}.neos-2_NI5a_selectedOption__removeButton{height:auto;background:#323232;border-top-right-radius:2px;border-bottom-right-radius:2px}.neos-2_NI5a_selectedOption__moveButton{cursor:move;height:auto;width:20px;min-width:20px;color:#3f3f3f;border-right:1px solid #222;border-top-left-radius:2px;border-bottom-left-radius:2px}.neos-2_NI5a_selectedOption__moveButton svg{color:#3f3f3f}.neos-2_NI5a_selectedOption__moveButton:hover,.neos-2_NI5a_selectedOption__moveButton:focus{background:#3f3f3f;color:#999!important}:is(.neos-2_NI5a_selectedOption__moveButton:hover,.neos-2_NI5a_selectedOption__moveButton:focus) svg{color:#999!important}.neos-47-Tdq_multiLineWithThumbnail__item{box-sizing:content-box;background:#141414}.neos-47-Tdq_multiLineWithThumbnail__item--multiLine{line-height:20px}.neos-47-Tdq_multiLineWithThumbnail__secondaryLabel,.neos-47-Tdq_multiLineWithThumbnail__tertiaryLabel{color:#999;text-overflow:ellipsis;font-size:12px;display:block;overflow:hidden}.neos-47-Tdq_multiLineWithThumbnail__image{width:74.48px;height:56px;object-fit:contain;vertical-align:middle;background-color:#fff;background-image:linear-gradient(45deg,#ccc 25%,#0000 25% 75%,#ccc 75%,#ccc),linear-gradient(45deg,#ccc 25%,#0000 25% 75%,#ccc 75%,#ccc);background-position:0 0,25px 25px;background-size:10px 10px;margin:-8px .75em -8px -16px;display:inline-block}.neos-47-Tdq_multiLineWithThumbnail__item:hover .neos-47-Tdq_multiLineWithThumbnail__secondaryLabel,.neos-47-Tdq_multiLineWithThumbnail__item:hover .neos-47-Tdq_multiLineWithThumbnail__tertiaryLabel{color:#fff}._5ormcG_mediaModuleTheme{--theme-grayDarker:var(--grayDarker,#141414);--theme-grayDark:var(--grayDark,#222);--theme-grayMedium:var(--grayMedium,#323232);--theme-grayLight:var(--grayLight,#3f3f3f);--theme-grayLighter:var(--grayLighter,#eee);--theme-textOnWhite:var(--textOnWhite,#252525);--theme-textContrast:var(--textContrast,#2d2d2d);--theme-textOnGray:var(--textOnGray,#fff);--theme-textSubtle:var(--textSubtle,#5b5b5b);--theme-textSubtleLight:var(--textSubtleLight,#adadad);--theme-blue:var(--blue,#00b5ff);--theme-blueLight:var(--blueLight,#39c6ff);--theme-blueDark:var(--blueDark,#007fb2);--theme-green:var(--green,#00a338);--theme-warning:var(--warning,#ff460d);--theme-orange:var(--orange,#ff8700);--theme-colors-PrimaryViolet:var(--colors-PrimaryViolet,#26224c);--theme-colors-PrimaryVioletHover:var(--colors-PrimaryVioletHover,#342f5f);--theme-colors-PrimaryBlue:var(--colors-PrimaryBlue,#00adee);--theme-colors-PrimaryBlueHover:var(--colors-PrimaryBlueHover,#35c3f8);--theme-colors-ContrastDarkest:var(--colors-ContrastDarkest,var(--theme-grayDarker));--theme-colors-ContrastDarker:var(--colors-ContrastDarker,var(--theme-grayDark));--theme-colors-ContrastDark:var(--colors-ContrastDark,var(--theme-grayLight));--theme-colors-ContrastNeutral:var(--colors-ContrastNeutral,var(--theme-grayMedium));--theme-colors-ContrastBright:var(--colors-ContrastBright,#999);--theme-colors-ContrastBrighter:var(--colors-ContrastBrighter,var(--theme-textSubtleLight));--theme-colors-ContrastBrightest:var(--colors-ContrastBrightest,var(--theme-textOnGray));--theme-colors-Success:var(--colors-Success,var(--theme-green));--theme-colors-SuccessHover:var(--colors-SuccessHover,#0bb344);--theme-colors-Warn:var(--colors-Warn,var(--theme-orange));--theme-colors-WarnHover:var(--colors-WarnHover,#fda23d);--theme-colors-Error:var(--colors-Error,var(--theme-warning));--theme-colors-ErrorHover:var(--colors-ErrorHover,#ff6a3c);--theme-colors-UncheckedCheckboxTick:var(--colors-UncheckedCheckboxTick,var(--theme-textSubtle));--theme-spacing-GoldenUnit:var(--spacing-GoldenUnit,40px);--theme-spacing-Full:var(--spacing-Full,16px);--theme-spacing-Half:var(--spacing-Half,8px);--theme-spacing-Quarter:var(--spacing-Quarter,4px);--theme-unit:var(--unit,40px);--theme-defaultMargin:var(--defaultMargin,16px);--theme-relatedMargin:var(--relatedMargin,8px);--theme-tightMargin:var(--tightMargin,4px);--theme-wideMargin:var(--wideMargin,32px);--theme-fontSize-base:14px;--theme-fontSize-small:12px;--theme-transition-fast:.1s;--theme-transition-default:.25s;--theme-transition-slow:.5s;--theme-colors-border:var(--theme-colors-ContrastDark);--theme-colors-alternatingBackground:var(--theme-colors-ContrastDark);--theme-colors-mainBackground:var(--theme-colors-ContrastNeutral);--theme-colors-inactive:var(--theme-colors-ContrastBright);--theme-colors-scrollbarForeground:var(--theme-colors-ContrastBright);--theme-colors-scrollbarBackground:transparent;--theme-colors-moduleBackground:var(--theme-colors-ContrastDarker);--theme-colors-tableHeader:var(--theme-colors-ContrastDark);--theme-colors-assetBackground:var(--theme-colors-ContrastDarkest);--theme-colors-captionBackground:var(--theme-colors-ContrastNeutral);--theme-colors-text:var(--theme-colors-ContrastBright);--theme-colors-disabled:var(--theme-colors-ContrastDark);--theme-colors-star:var(--theme-orange);--theme-zIndex-pagination:10022;--theme-zIndex-lightbox:10023;--theme-zIndex-loadingIndicator:10024;--theme-size-sidebarWidth:calc(320px - 2*var(--theme-spacing-Full));--theme-size-scrollbarSize:4px}.MSmIxq_assetLabel{white-space:nowrap;text-overflow:ellipsis;display:inline-block;overflow:hidden}.kvTLDq_column{grid-gap:var(--theme-spacing-Full);height:100%;grid-template-columns:100%;grid-auto-rows:minmax(min-content,max-content);display:grid;overflow-x:hidden;overflow-y:auto}.AhglKq_wrapper{height:var(--theme-spacing-GoldenUnit);align-items:center;gap:var(--theme-spacing-Half);display:flex}.AhglKq_iconWrap{display:flex}.AhglKq_label{-webkit-user-select:none;user-select:none;font-weight:700}.AhglKq_imgIcon{width:auto;height:18px}.QnHc5G_propertyList{width:100%;max-width:100%;overflow:hidden}.QnHc5G_propertyList dt{background-color:var(--theme-colors-alternatingBackground);color:#fff;padding:var(--theme-spacing-Half)var(--theme-spacing-Half)0;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.QnHc5G_propertyList dd{background-color:var(--theme-colors-alternatingBackground);color:var(--theme-colors-inactive);padding:var(--theme-spacing-Half);text-overflow:ellipsis;white-space:nowrap;margin:0 0 1px;overflow-x:hidden}.UWhRka_iconStack{position:relative}.UWhRka_iconStack svg:nth-child(2){max-width:.8em;max-height:.8em;color:var(--theme-colors-star);filter:drop-shadow(0 -1px #a60);position:absolute;bottom:1px;right:2px}.i_NNWq_plusIcon{width:9px!important;top:15px!important;left:13px!important}.w3jxYa_plusIcon{width:9px!important;top:13px!important;left:11px!important}.YYR6BW_assetCollectionTree{border:1px solid var(--theme-colors-border);max-height:600px;flex-direction:column;display:flex}.YYR6BW_assetCollectionTree>*{display:block}.YYR6BW_viewSelection [role=button]>*{width:auto;margin-right:var(--theme-spacing-Half)}.YYR6BW_toolbar{border-top:1px solid var(--theme-colors-border)}.YYR6BW_tree{border-top:1px solid var(--theme-colors-border);overflow:auto}.YYDVBq_formBody,.CkrZ6q_formBody{padding:var(--theme-spacing-Full)}.rgxNBa_clipboardItem{cursor:pointer;min-width:var(--theme-spacing-GoldenUnit);width:var(--theme-spacing-GoldenUnit);height:var(--theme-spacing-GoldenUnit);background:0 0;border:none}.rgxNBa_clipboardItem img{width:100%;height:100%;object-fit:contain;display:block}.vygmma_clipboardToggle{height:100%;-webkit-user-select:none;user-select:none;justify-content:center;align-self:flex-end;align-items:center;margin:0 -.3rem;display:flex}.vygmma_clipboardToggle>*{margin:0 .3rem}.zrw9kW_clipboardActions{background-color:var(--theme-colors-ContrastNeutral);align-items:baseline;display:flex}.DdyBta_assetSourceDescription{border:1px solid var(--theme-colors-border)}.DdyBta_assetSourceDescription .DdyBta_ReactCollapse--collapse{transition:height var(--theme-transition-slow)}.DdyBta_panelHeader button{justify-content:center;align-items:center;display:flex;position:absolute}.y0bjba_assetSourceList{border:1px solid var(--theme-colors-border);flex-direction:column;display:flex}.y0bjba_header{border-bottom:1px solid var(--theme-colors-border);padding:0 var(--theme-spacing-Full)}.y0bjba_item{cursor:pointer;-webkit-user-select:none;user-select:none;padding:0 var(--theme-spacing-Full);color:var(--theme-colors-ContrastBrightest);background:0 0;border:none;align-items:center;font-weight:400;display:flex}.y0bjba_item:hover,.y0bjba_itemSelected{color:var(--theme-colors-PrimaryBlue)}.y0bjba_itemLabel{grid-template-columns:20px 1fr;display:grid}.y0bjba_itemLabel span{font-weight:400}.I2Dv7q_dialogBody{padding:var(--theme-spacing-Full)}.I2Dv7q_modalTitle{margin-left:var(--theme-spacing-Full)}._9TZJrW_usageSection h2{font-size:var(--theme-fontSize-base);margin:0;padding:0;font-weight:700}._9TZJrW_usageTable{width:100%;margin-top:var(--theme-spacing-Full);line-height:1.5}._9TZJrW_usageTable th{text-align:left;font-weight:700}._9TZJrW_usageTable td,._9TZJrW_usageTable th{padding:var(--theme-spacing-Quarter)}._9TZJrW_usageTable td:first-child,._9TZJrW_usageTable th:first-child{padding-left:0}._9TZJrW_usageTable td:last-child,._9TZJrW_usageTable th:last-child{padding-right:0}._9TZJrW_usageTable._9TZJrW_usageTable a{color:var(--theme-colors-PrimaryBlue)}._9TZJrW_usageTable._9TZJrW_usageTable a:hover{color:var(--theme-colors-PrimaryBlueHover);text-decoration:underline}._9TZJrW_usageTable li{list-style-type:disc}._9TZJrW_usageTable li ul{padding-left:1rem}._9TZJrW_usageTable li ul li{display:list-item}._HqK-W_assetUsage{padding:var(--theme-spacing-Full);line-height:1em}._HqK-W_assetUsage section+section{margin-top:var(--theme-spacing-Full)}._HqK-W_usageTable{width:100%}._HqK-W_usageTable th{text-align:left;font-weight:700}._HqK-W_usageTable td,._HqK-W_usageTable th{padding:var(--theme-spacing-Quarter)}._HqK-W_usageTable td:first-child,._HqK-W_usageTable th:first-child{padding-left:0}._HqK-W_usageTable td:last-child,._HqK-W_usageTable th:last-child{padding-right:0}._HqK-W_neos ._HqK-W_usageTable a{color:var(--theme-colors-PrimaryBlue)}._HqK-W_neos ._HqK-W_usageTable a:hover{color:var(--theme-colors-PrimaryBlue);text-decoration:underline}.mL8aSq_similarAsset{flex-direction:column;margin:0;display:flex;position:relative}.mL8aSq_picture{background-color:var(--theme-colors-assetBackground)}.mL8aSq_picture img{height:250px;width:100%;object-fit:contain;display:block}.mL8aSq_caption{background-color:var(--theme-colors-captionBackground);transition:background-color var(--theme-transition-fast);padding:var(--theme-spacing-Half);flex:1;align-items:center;display:flex}.mL8aSq_caption img{width:1.3rem;height:auto;margin-right:var(--theme-spacing-Half)}.-zEGyG_assetUsage{gap:var(--theme-spacing-Full);padding:var(--theme-spacing-Full);grid-template-columns:repeat(auto-fill,minmax(200px,1fr));display:grid}.GRZadW_dropzone{padding:var(--theme-spacing-GoldenUnit);border-width:2px;border-color:var(--theme-colors-disabled);background-color:var(--theme-colors-alternatingBackground);color:var(--theme-colors-text);cursor:pointer;-webkit-user-select:none;user-select:none;border-style:dashed;border-radius:2px;outline:none;flex-direction:column;align-items:center;transition:border .24s ease-in-out;display:flex}.GRZadW_dropzone p{margin:0;line-height:1.6}.GRZadW_dropzone--active{border-color:var(--theme-colors-PrimaryBlue)}.GRZadW_dropzone--accept{border-color:var(--theme-colors-Success)}.GRZadW_dropzone--reject{border-color:var(--theme-colors-Error)}._3DPMWa_fileList{margin-top:var(--theme-spacing-Full);flex-flow:wrap;display:flex}._3DPMWa_fileListHeader{margin-bottom:var(--theme-spacing-Full);font-size:var(--theme-fontSize-base);flex:100%}._3DPMWa_thumb{margin-bottom:var(--theme-spacing-Half);margin-right:var(--theme-spacing-Half);width:100px;height:100px;padding:var(--theme-spacing-Quarter);box-sizing:border-box;border:1px solid #eaeaea;border-radius:2px;display:inline-flex}._3DPMWa_thumbInner{width:100%;height:100%;justify-content:center;align-items:center;display:flex;position:relative}._3DPMWa_thumbInner span{margin-left:var(--theme-spacing-Half);-webkit-user-select:none;user-select:none}._3DPMWa_img{width:100%;height:100%;object-fit:cover;z-index:-1;display:block;position:absolute;top:0;left:0}._3DPMWa_thumbInner:after{content:"";background-color:var(--theme-colors-alternatingBackground);opacity:.3;z-index:-1;display:none;position:absolute;inset:0}._3DPMWa_loading{border-color:var(--theme-colors-border)}._3DPMWa_loading ._3DPMWa_thumbInner:after{display:block}._3DPMWa_success{border-color:var(--theme-colors-Success)}._3DPMWa_success ._3DPMWa_thumbInner:after{background-color:var(--theme-colors-Success);display:block}._3DPMWa_error{border-color:var(--theme-colors-Error)}._3DPMWa_error ._3DPMWa_thumbInner:after{background-color:var(--theme-colors-Error);display:block}._3DPMWa_warning{color:var(--theme-colors-Warn)}.YW0qpa_fileList{margin-top:var(--theme-spacing-Full);flex-flow:wrap;display:flex}.YW0qpa_fileListHeader{margin-bottom:var(--theme-spacing-Full);font-size:var(--theme-fontSize-base);flex:100%}.j3Ge9q_uploadArea,.TdFhBW_uploadArea{padding:var(--theme-spacing-Full)}.TdFhBW_optionSection{margin-top:var(--theme-spacing-Full);margin-bottom:var(--theme-spacing-Full)}.TdFhBW_option{margin-top:var(--theme-spacing-Half);margin-bottom:var(--theme-spacing-Half)}.TdFhBW_label{display:flex!important}.SKOLBW_uploadButton{display:flex}.SKOLBW_uploadButton button{flex:1}@keyframes closeWindow{0%{opacity:1}to{opacity:0}}.ril__outer{z-index:1000;width:100%;height:100%;-ms-content-zooming:none;-ms-user-select:none;-ms-touch-select:none;touch-action:none;background-color:#000000d9;outline:none;inset:0}.ril__outerClosing{opacity:0}.ril__inner{position:absolute;inset:0}.ril__image,.ril__imagePrev,.ril__imageNext{max-width:none;-ms-content-zooming:none;-ms-user-select:none;-ms-touch-select:none;touch-action:none;margin:auto;position:absolute;inset:0}.ril__imageDiscourager{background-position:50%;background-repeat:no-repeat;background-size:contain}.ril__navButtons{width:20px;height:34px;cursor:pointer;opacity:.7;border:none;margin:auto;padding:40px 30px;position:absolute;top:0;bottom:0}.ril__navButtons:hover{opacity:1}.ril__navButtons:active{opacity:.7}.ril__navButtonPrev{background:#0003 url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjIwIiBoZWlnaHQ9IjM0Ij48cGF0aCBkPSJtIDE5LDMgLTIsLTIgLTE2LDE2IDE2LDE2IDEsLTEgLTE1LC0xNSAxNSwtMTUgeiIgZmlsbD0iI0ZGRiIvPjwvc3ZnPg==) 50% no-repeat;left:0}.ril__navButtonNext{background:#0003 url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjIwIiBoZWlnaHQ9IjM0Ij48cGF0aCBkPSJtIDEsMyAyLC0yIDE2LDE2IC0xNiwxNiAtMSwtMSAxNSwtMTUgLTE1LC0xNSB6IiBmaWxsPSIjRkZGIi8+PC9zdmc+) 50% no-repeat;right:0}.ril__downloadBlocker{background-image:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);background-size:cover;position:absolute;inset:0}.ril__caption,.ril__toolbar{background-color:#00000080;justify-content:space-between;display:flex;position:absolute;left:0;right:0}.ril__caption{max-height:150px;bottom:0;overflow:auto}.ril__captionContent{color:#fff;padding:10px 20px}.ril__toolbar{height:50px;top:0}.ril__toolbarSide{height:50px;margin:0}.ril__toolbarLeftSide{text-overflow:ellipsis;flex:0 auto;padding-left:20px;padding-right:0;overflow:hidden}.ril__toolbarRightSide{flex:none;padding-left:0;padding-right:20px}.ril__toolbarItem{color:#fff;max-width:100%;text-overflow:ellipsis;white-space:nowrap;padding:0;font-size:120%;line-height:50px;display:inline-block;overflow:hidden}.ril__toolbarItemChild{vertical-align:middle}.ril__builtinButton{width:40px;height:35px;cursor:pointer;opacity:.7;border:none}.ril__builtinButton:hover{opacity:1}.ril__builtinButton:active{outline:none}.ril__builtinButtonDisabled{cursor:default;opacity:.5}.ril__builtinButtonDisabled:hover{opacity:.5}.ril__closeButton{background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjIwIiBoZWlnaHQ9IjIwIj48cGF0aCBkPSJtIDEsMyAxLjI1LC0xLjI1IDcuNSw3LjUgNy41LC03LjUgMS4yNSwxLjI1IC03LjUsNy41IDcuNSw3LjUgLTEuMjUsMS4yNSAtNy41LC03LjUgLTcuNSw3LjUgLTEuMjUsLTEuMjUgNy41LC03LjUgLTcuNSwtNy41IHoiIGZpbGw9IiNGRkYiLz48L3N2Zz4=) 50% no-repeat}.ril__zoomInButton{background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGcgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PHBhdGggZD0iTTEgMTlsNi02Ii8+PHBhdGggZD0iTTkgOGg2Ii8+PHBhdGggZD0iTTEyIDV2NiIvPjwvZz48Y2lyY2xlIGN4PSIxMiIgY3k9IjgiIHI9IjciIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIyIi8+PC9zdmc+) 50% no-repeat}.ril__zoomOutButton{background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGcgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PHBhdGggZD0iTTEgMTlsNi02Ii8+PHBhdGggZD0iTTkgOGg2Ii8+PC9nPjxjaXJjbGUgY3g9IjEyIiBjeT0iOCIgcj0iNyIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjIiLz48L3N2Zz4=) 50% no-repeat}.ril__outerAnimating{animation-name:closeWindow}@keyframes pointFade{0%,19.999%,to{opacity:0}20%{opacity:1}}.ril__loadingCircle{width:60px;height:60px;position:relative}.ril__loadingCirclePoint{width:100%;height:100%;position:absolute;top:0;left:0}.ril__loadingCirclePoint:before{content:"";width:11%;height:30%;background-color:#fff;border-radius:30%;margin:0 auto;animation:.8s ease-in-out infinite both pointFade;display:block}.ril__loadingCirclePoint:nth-of-type(1){transform:rotate(0)}.ril__loadingCirclePoint:nth-of-type(7){transform:rotate(180deg)}.ril__loadingCirclePoint:nth-of-type(1):before,.ril__loadingCirclePoint:nth-of-type(7):before{animation-delay:-800ms}.ril__loadingCirclePoint:nth-of-type(2){transform:rotate(30deg)}.ril__loadingCirclePoint:nth-of-type(8){transform:rotate(210deg)}.ril__loadingCirclePoint:nth-of-type(2):before,.ril__loadingCirclePoint:nth-of-type(8):before{animation-delay:-666ms}.ril__loadingCirclePoint:nth-of-type(3){transform:rotate(60deg)}.ril__loadingCirclePoint:nth-of-type(9){transform:rotate(240deg)}.ril__loadingCirclePoint:nth-of-type(3):before,.ril__loadingCirclePoint:nth-of-type(9):before{animation-delay:-533ms}.ril__loadingCirclePoint:nth-of-type(4){transform:rotate(90deg)}.ril__loadingCirclePoint:nth-of-type(10){transform:rotate(270deg)}.ril__loadingCirclePoint:nth-of-type(4):before,.ril__loadingCirclePoint:nth-of-type(10):before{animation-delay:-400ms}.ril__loadingCirclePoint:nth-of-type(5){transform:rotate(120deg)}.ril__loadingCirclePoint:nth-of-type(11){transform:rotate(300deg)}.ril__loadingCirclePoint:nth-of-type(5):before,.ril__loadingCirclePoint:nth-of-type(11):before{animation-delay:-266ms}.ril__loadingCirclePoint:nth-of-type(6){transform:rotate(150deg)}.ril__loadingCirclePoint:nth-of-type(12){transform:rotate(330deg)}.ril__loadingCirclePoint:nth-of-type(6):before,.ril__loadingCirclePoint:nth-of-type(12):before{animation-delay:-133ms}.ril__loadingCirclePoint:nth-of-type(7){transform:rotate(180deg)}.ril__loadingCirclePoint:nth-of-type(13){transform:rotate(360deg)}.ril__loadingCirclePoint:nth-of-type(7):before,.ril__loadingCirclePoint:nth-of-type(13):before{animation-delay:0s}.ril__loadingContainer{position:absolute;inset:0}.ril__imagePrev .ril__loadingContainer,.ril__imageNext .ril__loadingContainer{display:none}.ril__errorContainer{color:#fff;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.ril__imagePrev .ril__errorContainer,.ril__imageNext .ril__errorContainer{display:none}.ril__loadingContainer__icon{color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%)translateY(-50%)}.g4samW_lightbox .g4samW_ril__image{max-width:100%}._7s7pAW_editArea{padding:var(--theme-spacing-Full)}._7s7pAW_filenameInput{flex:100%}._7s7pAW_label{align-items:baseline;gap:var(--theme-spacing-Half)0;flex-wrap:wrap;display:flex!important}._7s7pAW_label+label{margin-top:var(--theme-spacing-Full)}.hpr5wG_actions{background-color:var(--theme-colors-mainBackground);display:flex;position:sticky;bottom:0}.hpr5wG_actions>*{flex:1}.Ei69Yq_inspector{gap:var(--theme-spacing-Full);grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;display:grid}.Ei69Yq_inspector input,.Ei69Yq_inspector textarea{width:100%}.Hl9FHG_collectionSelectBox input{background-color:#0000!important;border:none!important}.Hl9FHG_collectionSelectBox svg{align-self:center}.GS2huq_variantContainer{background-color:var(--theme-colors-assetBackground)}.GS2huq_picture{height:200px;justify-content:center;align-items:center;display:flex}.GS2huq_image{max-width:100%;max-height:100%;object-fit:contain;background-image:repeating-linear-gradient(45deg,#999 25%,#0000 25% 75%,#999 75%,#999),repeating-linear-gradient(45deg,#999 25%,#e5e5f7 25% 75%,#999 75%,#999);background-position:0 0,10px 10px;background-size:20px 20px;display:block}.GS2huq_caption{padding:var(--theme-spacing-Half);background-color:var(--theme-colors-captionBackground);justify-content:space-between;align-items:center;display:flex}.GS2huq_infoContainer{min-width:0;max-width:var(--theme-size-sidebarWidth);flex-direction:column;display:flex}.GS2huq_info{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.GS2huq_variantSizes{font-size:var(--theme-fontSize-small)}.RPvqMq_variantsContainer{padding:var(--theme-spacing-Full)var(--theme-spacing-Half)}.RPvqMq_variantsContainer h1{font-size:var(--theme-fontSize-base);margin:0;padding:0}.RPvqMq_variantItem{margin-top:var(--theme-spacing-Full)}.gOSwCW_tasks{gap:var(--theme-spacing-Half);flex-direction:column;display:flex}.gOSwCW_tasks button{align-items:center;gap:.5em;display:flex}.QsDLeW_textArea{padding:var(--theme-spacing-Half)!important}.QsDLeW_propertyPanelHeader h2{padding:0}.QsDLeW_propertyPanelHeader button{justify-content:center;align-items:center;display:flex;position:absolute}.QsDLeW_propertyPanelContents{gap:var(--theme-spacing-Full);flex-direction:column;padding:0;display:flex}._5E9l1q_tabContent{height:calc(100% - 42px)}.cQ-_Aa_collectionSelectBox input{background-color:#0000!important;border:none!important}.cQ-_Aa_collectionSelectBox svg{align-self:center}._8r-_bG_iptcData dl dt{background-color:var(--theme-colors-alternatingBackground);color:#fff;padding:var(--theme-spacing-Half)var(--theme-spacing-Half)0;font-weight:700}._8r-_bG_iptcData dl dd{background-color:var(--theme-colors-alternatingBackground);padding:var(--theme-spacing-Half);color:var(--theme-colors-inactive);margin-bottom:1px}.zzq2Ja_currentSelection{flex-wrap:wrap;align-items:center;display:flex;overflow:hidden}.zzq2Ja_headline{-webkit-user-select:none;user-select:none;font-weight:700;line-height:var(--theme-spacing-GoldenUnit);flex:100%}.zzq2Ja_label svg{margin-right:var(--theme-spacing-Half)}.zzq2Ja_breadcrumb{gap:var(--theme-spacing-Quarter);padding:var(--theme-spacing-Quarter);flex-wrap:wrap;display:flex}.zzq2Ja_breadcrumb button{background-color:var(--theme-colors-alternatingBackground);color:var(--theme-colors-ContrastBrightest);text-overflow-ellipsis:ellipsis;border:none;flex:none;display:block;overflow:hidden}.zzq2Ja_breadcrumb button:hover{background-color:var(--theme-colors-PrimaryBlue)}@keyframes _5GQP0G_cssLoadWidth{0%,to{transition-timing-function:cubic-bezier(1,0,.65,.85)}0%{width:0}to{width:100%}}._5GQP0G_indicator{height:2px;width:100%;z-index:var(--theme-zIndex-loadingIndicator);display:none;position:fixed;top:0;left:0}._5GQP0G_indicator:after{content:"";height:100%;background-color:var(--theme-colors-Warn);display:block;position:relative}._5GQP0G_indicator[data-animated=true]{display:block}._5GQP0G_indicator[data-animated=true]:after{animation:2s cubic-bezier(.45,0,1,1) infinite _5GQP0G_cssLoadWidth}.ucPgIG_assetCount{height:100%;-webkit-user-select:none;user-select:none;justify-content:center;align-self:flex-start;align-items:center;display:flex}.sNJnsW_item{-webkit-user-select:none;user-select:none}.sNJnsW_item button{justify-content:center;align-items:center;display:flex}.gZKlGG_pagination{justify-self:center}.gZKlGG_list{text-align:center;justify-self:center;margin:0;padding:0;list-style-type:none;display:flex}.gZKlGG_ellipsis{-webkit-user-select:none;user-select:none;line-height:2.4rem}.gZKlGG_disabled{color:var(--theme-colors-ContrastBrighter)}.VMKMXG_bottomBar{gap:var(--theme-spacing-GoldenUnit);border-top:1px solid var(--theme-colors-border);background-color:var(--theme-colors-moduleBackground);z-index:var(--theme-zIndex-pagination);grid-template-columns:350px 1fr 350px;display:grid;position:fixed;bottom:0;left:0;right:0}.VMKMXG_selectionMode{grid-template-columns:repeat(3,1fr)}.VMKMXG_isInNodeCreationDialog{bottom:-16px;left:-16px;right:-16px}.yiv2CG_sortingState{min-width:0;display:flex}.yiv2CG_selectBox{min-width:0}.PUFj9a_assetsFilter{position:relative}.PUFj9a_assetsFilter summary{background-color:var(--theme-colors-captionBackground);cursor:pointer;padding:0 1em}.PUFj9a_assetsFilter summary:hover{background-color:var(--theme-colors-PrimaryBlue)}.PUFj9a_assetsFilter>summary{list-style-type:none}.PUFj9a_assetsFilter[open]>summary::-webkit-details-marker{display:none}.PUFj9a_assetsFilter.PUFj9a_active summary{background-color:var(--theme-colors-PrimaryBlue)}.PUFj9a_filterList{z-index:2;background-color:var(--theme-colors-ContrastDarker);flex-direction:column;gap:1px;display:flex;position:absolute;top:100%;left:0}.PUFj9a_typeFilter{display:flex}.PUFj9a_typeFilter svg{height:1em!important}.PUFj9a_selectBox{min-width:auto}._5Oef7G_viewModeSelector{align-items:baseline;display:flex}._5Oef7G_viewModeSelector label{margin-right:var(--theme-spacing-Quarter)}._5Oef7G_selectBox{min-width:auto}.rxR0KW_searchBox{flex:1}.rxR0KW_searchBox input[type=search]{-webkit-appearance:searchfield;width:100%}.rxR0KW_searchBox input[type=search]::-webkit-search-cancel-button{-webkit-appearance:searchfield-cancel-button;cursor:pointer}.h7QbgG_topBar{margin:0 calc(-1*var(--theme-spacing-Half));flex-wrap:nowrap;justify-content:flex-end;padding-right:0;display:flex}.h7QbgG_topBar--selectionMode{padding-right:var(--theme-spacing-GoldenUnit)}.h7QbgG_topBar>*{margin:0 var(--theme-spacing-Half)}.Rs4dJq_listView{height:auto}.Rs4dJq_listView--fullHeight{height:100%}.Rs4dJq_listView table{border-spacing:0 1px;width:100%}.Rs4dJq_listView table th{text-align:left;line-height:var(--theme-spacing-GoldenUnit);padding:0 var(--theme-spacing-Half);white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;user-select:none;overflow:hidden}.Rs4dJq_listView table th:first-child,.Rs4dJq_listView table th:last-child{padding:0}.Rs4dJq_tableHeader{background-color:var(--theme-colors-tableHeader);z-index:1;position:sticky;top:0}._0hU7dG_listViewItem{background-color:var(--theme-colors-mainBackground)}._0hU7dG_listViewItem:nth-of-type(2n){background-color:var(--theme-colors-alternatingBackground)}._0hU7dG_listViewItem:hover,._0hU7dG_selected,._0hU7dG_selected:nth-of-type(2n){background-color:var(--theme-colors-PrimaryBlue)}._0hU7dG_textColumn{padding:0 var(--theme-spacing-Half);white-space:nowrap;-webkit-user-select:none;user-select:none;cursor:pointer;width:1px}._0hU7dG_textColumn>*{vertical-align:middle}._0hU7dG_previewColumn{min-width:var(--theme-spacing-GoldenUnit);width:var(--theme-spacing-GoldenUnit);cursor:pointer}._0hU7dG_previewColumn picture{width:100%;height:var(--theme-spacing-GoldenUnit);text-align:center;display:block}._0hU7dG_previewColumn picture img,._0hU7dG_previewColumn picture svg{width:100%;height:100%;object-fit:contain;display:inline-block}._0hU7dG_labelColumn{table-layout:fixed;width:100%;line-height:var(--theme-spacing-GoldenUnit);-webkit-user-select:text;user-select:text;display:table}._0hU7dG_labelColumn>*{width:calc(100% - 2*var(--theme-spacing-Half));padding:0 var(--theme-spacing-Half)}._0hU7dG_mediaTypeColumn{max-width:100px;text-overflow:ellipsis;overflow:hidden}._0hU7dG_actionsColumn{text-align:right}.LUZzHG_emptyStateWrapper{height:inherit;justify-content:center;align-items:center;display:flex}.lKBwAW_thumbnail{flex-direction:column;margin:0;display:flex;position:relative}.lKBwAW_thumbnail:hover .lKBwAW_caption{background-color:var(--theme-colors-PrimaryBlue)}.lKBwAW_thumbnail:hover .lKBwAW_toolBar{pointer-events:all;background-color:#00000040}.lKBwAW_thumbnail:hover .lKBwAW_toolBar button{opacity:1}.lKBwAW_thumbnail:hover .lKBwAW_toolBar button[disabled]{opacity:.5}.lKBwAW_thumbnail:hover .lKBwAW_toolBar button.lKBwAW_button--active svg{color:#fff}.lKBwAW_picture{cursor:pointer;height:250px;background-color:var(--theme-colors-assetBackground);place-content:center;align-items:center;display:flex}.lKBwAW_picture img{max-height:250px;max-width:100%;background-image:repeating-linear-gradient(45deg,#999 25%,#0000 25% 75%,#999 75%,#999),repeating-linear-gradient(45deg,#999 25%,#e5e5f7 25% 75%,#999 75%,#999);background-position:0 0,10px 10px;background-size:20px 20px;display:block}.lKBwAW_caption{background-color:var(--theme-colors-captionBackground);transition:background-color var(--theme-transition-fast);padding:var(--theme-spacing-Half);flex:1;align-items:center;display:flex}.lKBwAW_caption img,.lKBwAW_caption svg{width:1.3rem;height:auto;margin-right:var(--theme-spacing-Half)}.lKBwAW_selected{background-color:var(--theme-colors-PrimaryBlue)}.lKBwAW_toolBar{top:var(--theme-spacing-Quarter);right:var(--theme-spacing-Quarter);pointer-events:none;background-color:#0000;transition:background-color .1s ease-in;display:flex;position:absolute}.lKBwAW_toolBar button,.lKBwAW_toolBar button[disabled]{opacity:0;transition:opacity .1s ease-in}.lKBwAW_toolBar button.lKBwAW_button--active{opacity:1}.lKBwAW_toolBar button.lKBwAW_button--active svg{color:var(--theme-colors-PrimaryBlue)}.lKBwAW_label{top:var(--theme-spacing-Quarter);left:var(--theme-spacing-Quarter);font-size:var(--theme-fontSize-small);-webkit-user-select:none;user-select:none;border-radius:3px;padding:2px 4px;position:absolute}.lKBwAW_disabled .lKBwAW_picture{filter:grayscale();cursor:not-allowed}._5clkbq_thumbnailView{gap:var(--theme-spacing-Full);grid-template-columns:repeat(auto-fill,minmax(200px,1fr));display:grid}.rZ_p1G_container{--grid-height:calc(100vh - 48px - 61px - 41px);--grid-areas:"left top right" "left main right";--grid-columns:var(--theme-size-sidebarWidth)1fr var(--theme-size-sidebarWidth);--grid-area-left:left;--grid-area-right:right;--grid-area-top:top;--grid-area-main:main;height:var(--grid-height);grid-template-rows:40px 1fr;grid-template-columns:var(--grid-columns);grid-template-areas:var(--grid-areas);gap:var(--theme-spacing-Full);line-height:1.5;display:grid;overflow:hidden}.rZ_p1G_fullHeight{--grid-height:calc(100% - 61px - 8px)}.rZ_p1G_selectionMode{--grid-columns:var(--theme-size-sidebarWidth)1fr;--grid-areas:"left top" "left main"}.rZ_p1G_gridColumn{height:100%;overflow-y:auto}.rZ_p1G_gridRight{grid-area:var(--grid-area-right)}.rZ_p1G_gridLeft{grid-area:var(--grid-area-left)}.rZ_p1G_gridMain{grid-area:var(--grid-area-main)}.rZ_p1G_gridTop{grid-area:var(--grid-area-top)}#media-ui-app>div{scrollbar-width:thin;scrollbar-color:#999 transparent}#media-ui-app>div ::-webkit-scrollbar{width:4px;height:4px}#media-ui-app>div ::-webkit-scrollbar-track{background:0 0}#media-ui-app>div ::-webkit-scrollbar-thumb{background-color:#999}#media-ui-app>div ::-webkit-scrollbar-corner{background-color:#3f3f3f}.neos.neos-module-management-mediaui>.neos-module-wrap{padding:3rem 1rem 0}body>[class*=_selectBox__contents_]{z-index:99999} +.neos-iiR9VW_reset{color:#fff;margin:0;padding:0;font-family:Noto Sans,sans-serif;font-weight:400}.neos-iiR9VW_reset,.neos-iiR9VW_reset:before,.neos-iiR9VW_reset:after{box-sizing:border-box}.neos-iiR9VW_reset input,.neos-iiR9VW_reset textarea,.neos-iiR9VW_reset select,.neos-iiR9VW_reset button{margin:0;font-size:14px}.neos-iiR9VW_reset ul{padding:0}.neos-iiR9VW_reset li{display:block}.neos-iiR9VW_reset input::-webkit-search-cancel-button{display:none}.neos-iiR9VW_reset input{appearance:none}.neos-6Mnuzq_btn{height:40px;min-width:40px;-webkit-font-smoothing:antialiased;vertical-align:middle;width:auto;color:#fff;cursor:pointer;background-color:#323232;border:0;padding:0 16px;font-size:14px;display:inline-block;position:relative}.neos-6Mnuzq_btn:focus{outline:1px solid #00adee}.neos-6Mnuzq_btn[disabled]{opacity:.5;cursor:not-allowed}.neos-6Mnuzq_btn[disabled]:hover,.neos-6Mnuzq_btn[disabled].neos-6Mnuzq_btn--isPressed,.neos-6Mnuzq_btn[disabled]:hover i,.neos-6Mnuzq_btn[disabled] i{color:#fff}.neos-6Mnuzq_btn--size-small{height:32px;padding:0 8px;font-size:13px}.neos-6Mnuzq_btn--clean{background-color:#222}.neos-6Mnuzq_btn--lighter,.neos-6Mnuzq_btn--lighter i{background-color:#3f3f3f}.neos-6Mnuzq_btn--neutral,.neos-6Mnuzq_btn--neutral i{background-color:#323232}.neos-6Mnuzq_btn--transparent{background:0}.neos-6Mnuzq_btn--brand,.neos-6Mnuzq_btn--brand i{background-color:#00adee;color:#fff!important}.neos-6Mnuzq_btn--success,.neos-6Mnuzq_btn--success i{background-color:#00a338;color:#fff!important}.neos-6Mnuzq_btn--warn,.neos-6Mnuzq_btn--warn i{background-color:#ff8700}.neos-6Mnuzq_btn--error,.neos-6Mnuzq_btn--error i{background-color:#ff460d;color:#fff!important}.neos-6Mnuzq_btn--brandActive{background-color:#00adee}.neos-6Mnuzq_btn--brandActive svg{color:#fff}.neos-6Mnuzq_btn--brandHover:hover:enabled,.neos-6Mnuzq_btn--brandHover:hover:enabled i,.neos-6Mnuzq_btn--brandHover.neos-6Mnuzq_btn--isPressed,.neos-6Mnuzq_btn--brandHover.neos-6Mnuzq_btn--isPressed i{background-color:#00adee}.neos-6Mnuzq_btn--cleanHover.neos-6Mnuzq_btn--isPressed,.neos-6Mnuzq_btn--cleanHover.neos-6Mnuzq_btn--isPressed i,.neos-6Mnuzq_btn--cleanHover:hover:enabled,.neos-6Mnuzq_btn--cleanHover:hover:enabled i,:is(.neos-6Mnuzq_btn--cleanHover.neos-6Mnuzq_btn--isPressed,.neos-6Mnuzq_btn--cleanHover.neos-6Mnuzq_btn--isPressed i,.neos-6Mnuzq_btn--cleanHover:hover:enabled,.neos-6Mnuzq_btn--cleanHover:hover:enabled i) svg{color:#00adee}.neos-6Mnuzq_btn--darkenHover.neos-6Mnuzq_btn--isPressed,.neos-6Mnuzq_btn--darkenHover.neos-6Mnuzq_btn--isPressed i,.neos-6Mnuzq_btn--darkenHover:hover:enabled,.neos-6Mnuzq_btn--darkenHover:hover:enabled i{background-color:#0000001a}.neos-6Mnuzq_btn--successHover.neos-6Mnuzq_btn--isPressed,.neos-6Mnuzq_btn--successHover.neos-6Mnuzq_btn--isPressed i,.neos-6Mnuzq_btn--successHover:hover:enabled,.neos-6Mnuzq_btn--successHover:hover:enabled i{background-color:#0bb344}.neos-6Mnuzq_btn--warnHover.neos-6Mnuzq_btn--isPressed,.neos-6Mnuzq_btn--warnHover.neos-6Mnuzq_btn--isPressed i,.neos-6Mnuzq_btn--warnHover:hover:enabled,.neos-6Mnuzq_btn--warnHover:hover:enabled i{background-color:#fda23d}.neos-6Mnuzq_btn--errorHover:hover:enabled,.neos-6Mnuzq_btn--errorHover:hover:enabled i,.neos-6Mnuzq_btn--errorHover.neos-6Mnuzq_btn--isPressed,.neos-6Mnuzq_btn--errorHover.neos-6Mnuzq_btn--isPressed i{background-color:#ff6a3c}.neos-RjvLTG_icon{font:normal normal normal FontAwesome;font-size:14px/1;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block}.neos-RjvLTG_icon--paddedLeft{margin-left:.75em}.neos-RjvLTG_icon--paddedRight{margin-right:.75em}.neos-RjvLTG_icon--color-warn{color:#ff8700}.neos-RjvLTG_icon--color-error{color:#ff460d}.neos-RjvLTG_icon--color-primaryBlue{color:#00adee}.neos-RjvLTG_icon--huge svg{height:3em}.neos-RjvLTG_icon--large svg{height:2em}.neos-RjvLTG_icon--big svg{height:1.33em}.neos-RjvLTG_icon--small svg{height:1em;max-height:1em;max-width:100%}.neos-RjvLTG_icon--tiny svg{height:.75em}.neos-RjvLTG_icon--resource{width:100%;justify-content:center;display:inline-grid}.neos-am4CoW_checkbox{width:20px;height:20px;vertical-align:middle;margin-right:8px;display:block;position:relative}.neos-am4CoW_checkbox__input{z-index:1;width:20px;height:20px;opacity:0;cursor:pointer;position:absolute;top:50%;left:0;transform:translateY(-50%)}.neos-am4CoW_checkbox__icon{opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%)translateY(-50%)}.neos-am4CoW_checkbox__inputMirror{width:20px;height:20px;vertical-align:top;background:#3f3f3f;border-radius:2px;font-size:20px;font-weight:700;display:inline-block}.neos-am4CoW_checkbox__inputMirror--active{background:#00adee}.neos-am4CoW_checkbox__checked .neos-am4CoW_checkbox__icon{opacity:1}.neos-am4CoW_checkbox__disabled{opacity:.65;cursor:not-allowed}.neos-am4CoW_checkbox__disabled .neos-am4CoW_checkbox__input{cursor:not-allowed}@keyframes neos-X60ORW_slideDialogContents{0%{opacity:0;transform:translate(-50%)scale(.9)}}.neos-X60ORW_dialog{z-index:1;width:100vw;height:100vh;background:#000c;position:fixed;top:0;left:0}.neos-X60ORW_dialog__contentsPosition{opacity:1;background:#222;border-radius:0;outline:none;animation:.3s ease-in-out neos-X60ORW_slideDialogContents;position:absolute;top:20vh;left:50%;transform:translate(-50%)scale(1);box-shadow:0 20px 40px #0006}.neos-X60ORW_dialog__contents{width:calc(100vw - 80px);max-width:640px;border:2px solid #3f3f3f;transition:max-width .25s;position:relative}.neos-X60ORW_dialog--wide .neos-X60ORW_dialog__contents{max-width:960px}@media (max-width:576px){.neos-X60ORW_dialog--wide .neos-X60ORW_dialog__contents{max-width:100vw;width:100vw}}.neos-X60ORW_dialog--jumbo .neos-X60ORW_dialog__contents{max-width:1440px;width:90vw}@media (max-width:576px){.neos-X60ORW_dialog--jumbo .neos-X60ORW_dialog__contents{max-width:100vw;width:100vw}}.neos-X60ORW_dialog--narrow .neos-X60ORW_dialog__contents{max-width:400px}.neos-X60ORW_dialog--success .neos-X60ORW_dialog__contents{border-color:#00a338}.neos-X60ORW_dialog--warn .neos-X60ORW_dialog__contents{border-color:#ff8700}.neos-X60ORW_dialog--error .neos-X60ORW_dialog__contents{border-color:#ff460d}.neos-X60ORW_dialog__title{padding:16px 40px 16px 16px;font-size:20px;line-height:1.2}.neos-X60ORW_dialog__body{max-height:65vh;overflow-y:auto}@media (max-width:576px){.neos-X60ORW_dialog__body{max-height:55vh}}.neos-X60ORW_dialog__actions{text-align:right;margin-top:16px}.neos-X60ORW_dialog__closeBtn{background:#3f3f3f;position:absolute;top:0;right:0}.neos-X60ORW_dialog__backDrop{height:100%;width:100%;position:absolute}.neos-RwNJjq_heading{text-rendering:optimizelegibility;font-size:14px}.neos-RwNJjq_heading--h1{font-size:16px}.neos-SMzb_q_iconButton{vertical-align:top;width:40px;padding-left:0;padding-right:0}.neos-SMzb_q_iconButton--disabled{opacity:.65;cursor:not-allowed}.neos-SMzb_q_size-small{width:32px!important;min-width:32px!important}.neos-7CQSZa_label{-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-user-select:none;user-select:none;margin-bottom:4px;padding:0;font-size:14px;display:block}.neos-7CQSZa_label,.neos-7CQSZa_label span{max-width:100%}.neos-QvCEOa_selectBox__list{padding:0}.neos-QvCEOa_selectBox{composes:reset from "../reset.module.css",dropDown from "./../DropDown/style.css";line-height:0;display:inline-block;position:relative}.neos-QvCEOa_selectBox__btn{composes:reset from "../reset.module.css",dropDown__btn from "./../DropDown/style.css";text-overflow:clip;height:auto;min-height:40px;min-width:160px;border:0;padding-left:0;line-height:40px;display:inline-block;position:relative}.neos-QvCEOa_selectBox__btn--noRightPadding{padding-right:0}.neos-QvCEOa_selectBox__contents{min-width:160px;z-index:40;margin-top:-2px;box-shadow:0 5px 5px #0003}.neos-QvCEOa_selectBox__contents--hasItems{padding:2px!important}.neos-QvCEOa_selectBox__item{background:#141414;border-top:1px solid #222}.neos-QvCEOa_selectBox__item div{padding:5px 14px}.neos-QvCEOa_selectBox__groupHeader{text-transform:uppercase;background-color:#222;padding-left:16px;font-weight:700;line-height:30px}.neos-QvCEOa_selectBox--disabled{filter:opacity(50%);cursor:not-allowed}.neos-d_677a_listPreviewElement{cursor:pointer;text-overflow:ellipsis;white-space:nowrap;padding:5px 16px;font-size:14px;line-height:30px;overflow:hidden}.neos-d_677a_listPreviewElement--isDisabled{color:#999;cursor:not-allowed}.neos-d_677a_listPreviewElement--isHighlighted{background-color:#00adee!important}.neos-d_677a_listPreviewElement--isHighlighted>span{color:#fff}.neos-d_677a_listPreviewElement__icon{margin-right:.5em}.neos-d_677a_listPreviewElement__iconWrapper{width:2em;text-align:center;display:inline-block;padding:0!important}.neos-fwJGCW_dropDown{width:100%;display:inline-block;position:relative}.neos-fwJGCW_dropDown__btn{width:100%;height:40px;text-align:left;color:#fff;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;background:#323232;border:0;border-radius:2px;padding:0 16px;font-size:14px;line-height:40px;display:block;overflow:hidden}.neos-fwJGCW_dropDown__btn:focus{outline:1px solid #00adee}.neos-fwJGCW_dropDown__btn svg{pointer-events:none}.neos-fwJGCW_dropDown__btn--withChevron{padding-right:40px}.neos-fwJGCW_dropDown__btnLabel{margin-right:.5em}.neos-fwJGCW_dropDown__chevron{position:absolute;top:50%;right:16px;transform:translateY(-50%)}.neos-fwJGCW_dropDown__contents{z-index:1;width:100%;background:#323232;margin:0;list-style:none;display:none;position:absolute;top:100%;left:0;box-shadow:0 5px 5px #0003}.neos-fwJGCW_dropDown__contents--scrollable{position:fixed;top:auto;overflow-y:auto}.neos-fwJGCW_dropDown__contents--isOpen{flex-direction:column;display:flex}.neos-fwJGCW_dropDown--darker>.neos-fwJGCW_dropDown__btn--open,.neos-fwJGCW_dropDown--darker>.neos-fwJGCW_dropDown__contents{background-color:#222}.neos-fwJGCW_dropDown--darkest>.neos-fwJGCW_dropDown__btn--open,.neos-fwJGCW_dropDown--darkest>.neos-fwJGCW_dropDown__contents{background-color:#141414}.neos-fwJGCW_dropDown--padded>.neos-fwJGCW_dropDown__contents{padding:16px}.neos-Gv_gqG_selectBoxHeader{width:100%;display:flex}.neos-Gv_gqG_selectBoxHeader__innerPreview{width:100%;overflow:hidden}.neos-Gv_gqG_selectBoxHeader__icon{height:100%;line-height:40px}.neos-Gv_gqG_selectBoxHeader__label,.neos-Gv_gqG_selectBoxHeader__wrapperIconWrapper{padding:0 16px}.neos-Gv_gqG_selectBoxHeader__wrapperPlaceholderIconWrapper{padding:0 8px 0 0}.neos-Gv_gqG_selectBoxHeader--disabled{cursor:not-allowed}.neos-x4kw-a_selectBoxHeaderWithSearchInput{padding-left:16px;display:flex}.neos-x4kw-a_selectBoxHeaderWithSearchInput__inputContainer{width:100%}.neos-x4kw-a_selectBoxHeaderWithSearchInput__input{width:100%;color:#fff;font-size:14px}.neos-x4kw-a_selectBoxHeaderWithSearchInput__input:focus{color:#fff!important;background:0 0!important}.neos-x4kw-a_selectBoxHeaderWithSearchInput__icon{height:40px}.neos-Y9Uoqa_textInput{width:100%;height:40px;color:#fff;background:#323232;border:0;border-radius:2px;padding:0 14px;font-size:14px}.neos-Y9Uoqa_textInput:focus{color:#141414;background:#fff;outline:0}.neos-Y9Uoqa_textInput::-webkit-input-placeholder{color:#999;font-family:Noto Sans,sans-serif;font-weight:400}.neos-Y9Uoqa_textInput--disabled{opacity:.65;cursor:not-allowed}.neos-oqNh0W_tabs{height:100%}.neos-oqNh0W_tabs__content{overflow-y:auto}.neos-oqNh0W_tabNavigation{background:#141414;border-bottom:1px solid #3f3f3f;margin:0;padding:0;list-style:none;display:block}.neos-oqNh0W_tabNavigation:before,.neos-oqNh0W_tabNavigation:after{content:"";display:table}.neos-oqNh0W_tabNavigation:after{clear:both}.neos-oqNh0W_tabNavigation__item{float:left;color:#fff;border-top:1px solid #3f3f3f;border-right:1px solid #3f3f3f;position:relative}.neos-oqNh0W_tabNavigation__item--isActive{cursor:default;background-color:#222;border-bottom:1px solid #222;margin-bottom:-1px}.neos-oqNh0W_tabNavigation__item--isActive:after{content:" ";height:2px;width:100%;background:#00adee;display:block;position:absolute;top:-1px;left:0;right:0}.neos-oqNh0W_tabNavigation__item--isActive>.neos-oqNh0W_tabNavigation__itemBtn{color:#00adee}.neos-oqNh0W_tabNavigation__itemBtn{height:40px;cursor:pointer;background:0;border:0;padding:0 16px;line-height:40px;display:inline-block}.neos-oqNh0W_tabNavigation__itemBtn:hover{color:#00adee}.neos-oqNh0W_tabNavigation__itemBtn:focus{outline:0}.neos-oqNh0W_tabNavigation__itemBtnIcon{color:currentColor}.neos-oqNh0W_tabNavigation__itemBtnIcon--hasLabel{margin-right:8px}.neos-oqNh0W_panel{overflow-y:auto}.neos-HIOrZq_textArea{width:100%;height:40px;resize:vertical;background:#323232;border:0;border-radius:2px;padding:10px 14px;transition:height .3s}.neos-HIOrZq_textArea:focus{color:#141414;background:#fff;outline:0}.neos-HIOrZq_textArea::-webkit-input-placeholder{color:#999;font-family:Noto Sans,sans-serif}.neos-HIOrZq_textArea--invalid{outline:2px solid #ff460d!important}.neos-HIOrZq_textArea--highlight{outline:2px solid #00a338}.neos-HIOrZq_textArea--disabled{opacity:.65;cursor:not-allowed}.neos-l9MESW_panel{position:relative}.neos-l9MESW_panel__headline{cursor:pointer;height:40px;margin:0;padding:0 16px;font-size:14px;font-weight:700;line-height:40px}.neos-l9MESW_panel__headline--noPadding{padding:0}.neos-l9MESW_panel__toggleBtn{position:absolute;top:0;right:0}.neos-l9MESW_panel__contents{padding:0 16px;transition:padding .25s}.neos-l9MESW_panel--isOpen .neos-l9MESW_panel__contents{padding-top:5px;padding-bottom:5px}.neos-l9MESW_panel--condensed.neos-l9MESW_panel--isOpen .neos-l9MESW_panel__contents{padding-top:0;padding-bottom:0}.neos-l9MESW_panel__contents--noPadding{padding:0}.neos-fU9a9G_treeWrapper{padding:5px 0}.neos-fU9a9G_treeWrapper:focus{outline:0}.neos-jrPqiW_header{margin:0;line-height:20px;position:relative}.neos-jrPqiW_header__chevron{height:100%;width:18px;color:#adadad;text-align:center;cursor:pointer;line-height:20px;position:absolute;top:0;left:0}.neos-jrPqiW_header__chevron:hover{color:#00adee}.neos-jrPqiW_header__chevron--isCollapsed>svg{transform:translateY(3px)translate(-2px)rotate(-90deg)}.neos-jrPqiW_header__chevron--isHiddenInIndex{opacity:.5}.neos-jrPqiW_header__chevron--isLoading,.neos-jrPqiW_header__chevron--isLoading:hover{color:#adadad!important}.neos-jrPqiW_header__chevron--isLoading>svg{margin-top:6px}.neos-jrPqiW_header__iconWrapper{width:2em;text-align:center;display:inline-block;position:absolute}.neos-jrPqiW_header__data{min-width:100%;white-space:nowrap;cursor:pointer;border-left:2px solid #0000;padding:.1em 0;display:inline-block;position:relative}.neos-jrPqiW_header__data--isHiddenInIndex{opacity:.5}.neos-jrPqiW_header__data--isHidden{text-decoration:line-through}.neos-jrPqiW_header__data--isDragging{opacity:.2}.neos-jrPqiW_header__data--isDirty{border-left:2px solid #ff8700}.neos-jrPqiW_header__data--isFocused{background:#323232}.neos-jrPqiW_header__data--isFocused.neos-jrPqiW_header__data--isHiddenInIndex,.neos-jrPqiW_header__data--isFocused.neos-jrPqiW_header__data--isHidden{opacity:.8}.neos-jrPqiW_header__data--acceptsDrop{background-color:#00adee}.neos-jrPqiW_header__data--acceptsDrop *,.neos-jrPqiW_header__data--deniesDrop *{pointer-events:none}.neos-jrPqiW_header__labelWrapper{max-width:264px;text-overflow:ellipsis;vertical-align:middle;line-height:1.5;display:inline-block;overflow:hidden}.neos-jrPqiW_header__label{margin-left:2em}.neos-jrPqiW_header__data--isActive .neos-jrPqiW_header__label{color:#00adee}.neos-jrPqiW_dropTarget{height:2px;padding-left:15px;position:absolute;left:0;right:0}.neos-jrPqiW_dropTarget--before{z-index:1;padding-top:4px;padding-bottom:4px;top:-5px}.neos-jrPqiW_dropTarget--after{z-index:2;padding-top:6px;padding-bottom:0;bottom:1px}.neos-jrPqiW_dropTarget__inner{visibility:hidden;height:0;margin-top:-8px}.neos-jrPqiW_dropTarget__inner--acceptsDrop{z-index:100000;visibility:visible}.neos-jrPqiW_dropTarget__inner svg{fill:#00adee}.neos-sxnCBW_layer{pointer-events:none;z-index:2147483646;width:100%;height:100%;position:fixed;top:0;left:0}.neos-sxnCBW_dragWrapper{opacity:.7;display:inline-block;position:relative;left:0}.neos-sxnCBW_count{z-index:2147483646;width:20px;height:20px;color:#fff;text-align:center;background-color:#ff460d;border-radius:50%;padding:1px;font-size:12px;font-weight:700;position:absolute;top:-10px;left:5px}.neos-sxnCBW_node{width:280px;background-color:#323232;border:1px solid #3f3f3f;position:absolute}.neos-P4wKfG_selectedOptions{width:100%;padding-left:0;list-style:none;position:relative}.neos-2_NI5a_selectedOptions__item{width:100%;background:#141414;border-bottom:1px solid #222;border-radius:2px;display:flex;position:relative}.neos-2_NI5a_selectedOptions__item:hover .neos-2_NI5a_selectedOptions__itemIcon{display:none}.neos-2_NI5a_selectedOptions__item:hover .neos-2_NI5a_selectedOptions__itemIcon--onHover{display:inline}.neos-2_NI5a_selectedOptions__item--draggable{cursor:move}.neos-2_NI5a_selectedOptions__innerPreview{width:100%;border-right:1px solid #222;overflow:hidden}.neos-2_NI5a_selectedOptions__innerPreview>div{box-shadow:none!important}.neos-2_NI5a_selectedOption__removeButton{height:auto;background:#323232;border-top-right-radius:2px;border-bottom-right-radius:2px}.neos-2_NI5a_selectedOption__moveButton{cursor:move;height:auto;width:20px;min-width:20px;color:#3f3f3f;border-right:1px solid #222;border-top-left-radius:2px;border-bottom-left-radius:2px}.neos-2_NI5a_selectedOption__moveButton svg{color:#3f3f3f}.neos-2_NI5a_selectedOption__moveButton:hover,.neos-2_NI5a_selectedOption__moveButton:focus{background:#3f3f3f;color:#999!important}:is(.neos-2_NI5a_selectedOption__moveButton:hover,.neos-2_NI5a_selectedOption__moveButton:focus) svg{color:#999!important}.neos-47-Tdq_multiLineWithThumbnail__item{box-sizing:content-box;background:#141414}.neos-47-Tdq_multiLineWithThumbnail__item--multiLine{line-height:20px}.neos-47-Tdq_multiLineWithThumbnail__secondaryLabel,.neos-47-Tdq_multiLineWithThumbnail__tertiaryLabel{color:#999;text-overflow:ellipsis;font-size:12px;display:block;overflow:hidden}.neos-47-Tdq_multiLineWithThumbnail__image{width:74.48px;height:56px;object-fit:contain;vertical-align:middle;background-color:#fff;background-image:linear-gradient(45deg,#ccc 25%,#0000 25% 75%,#ccc 75%,#ccc),linear-gradient(45deg,#ccc 25%,#0000 25% 75%,#ccc 75%,#ccc);background-position:0 0,25px 25px;background-size:10px 10px;margin:-8px .75em -8px -16px;display:inline-block}.neos-47-Tdq_multiLineWithThumbnail__item:hover .neos-47-Tdq_multiLineWithThumbnail__secondaryLabel,.neos-47-Tdq_multiLineWithThumbnail__item:hover .neos-47-Tdq_multiLineWithThumbnail__tertiaryLabel{color:#fff}._5ormcG_mediaModuleTheme{--theme-grayDarker:var(--grayDarker,#141414);--theme-grayDark:var(--grayDark,#222);--theme-grayMedium:var(--grayMedium,#323232);--theme-grayLight:var(--grayLight,#3f3f3f);--theme-grayLighter:var(--grayLighter,#eee);--theme-textOnWhite:var(--textOnWhite,#252525);--theme-textContrast:var(--textContrast,#2d2d2d);--theme-textOnGray:var(--textOnGray,#fff);--theme-textSubtle:var(--textSubtle,#5b5b5b);--theme-textSubtleLight:var(--textSubtleLight,#adadad);--theme-blue:var(--blue,#00b5ff);--theme-blueLight:var(--blueLight,#39c6ff);--theme-blueDark:var(--blueDark,#007fb2);--theme-green:var(--green,#00a338);--theme-warning:var(--warning,#ff460d);--theme-orange:var(--orange,#ff8700);--theme-colors-PrimaryViolet:var(--colors-PrimaryViolet,#26224c);--theme-colors-PrimaryVioletHover:var(--colors-PrimaryVioletHover,#342f5f);--theme-colors-PrimaryBlue:var(--colors-PrimaryBlue,#00adee);--theme-colors-PrimaryBlueHover:var(--colors-PrimaryBlueHover,#35c3f8);--theme-colors-ContrastDarkest:var(--colors-ContrastDarkest,var(--theme-grayDarker));--theme-colors-ContrastDarker:var(--colors-ContrastDarker,var(--theme-grayDark));--theme-colors-ContrastDark:var(--colors-ContrastDark,var(--theme-grayLight));--theme-colors-ContrastNeutral:var(--colors-ContrastNeutral,var(--theme-grayMedium));--theme-colors-ContrastBright:var(--colors-ContrastBright,#999);--theme-colors-ContrastBrighter:var(--colors-ContrastBrighter,var(--theme-textSubtleLight));--theme-colors-ContrastBrightest:var(--colors-ContrastBrightest,var(--theme-textOnGray));--theme-colors-Success:var(--colors-Success,var(--theme-green));--theme-colors-SuccessHover:var(--colors-SuccessHover,#0bb344);--theme-colors-Warn:var(--colors-Warn,var(--theme-orange));--theme-colors-WarnHover:var(--colors-WarnHover,#fda23d);--theme-colors-Error:var(--colors-Error,var(--theme-warning));--theme-colors-ErrorHover:var(--colors-ErrorHover,#ff6a3c);--theme-colors-UncheckedCheckboxTick:var(--colors-UncheckedCheckboxTick,var(--theme-textSubtle));--theme-spacing-GoldenUnit:var(--spacing-GoldenUnit,40px);--theme-spacing-Full:var(--spacing-Full,16px);--theme-spacing-Half:var(--spacing-Half,8px);--theme-spacing-Quarter:var(--spacing-Quarter,4px);--theme-unit:var(--unit,40px);--theme-defaultMargin:var(--defaultMargin,16px);--theme-relatedMargin:var(--relatedMargin,8px);--theme-tightMargin:var(--tightMargin,4px);--theme-wideMargin:var(--wideMargin,32px);--theme-fontSize-base:14px;--theme-fontSize-small:12px;--theme-transition-fast:.1s;--theme-transition-default:.25s;--theme-transition-slow:.5s;--theme-colors-border:var(--theme-colors-ContrastDark);--theme-colors-alternatingBackground:var(--theme-colors-ContrastDark);--theme-colors-mainBackground:var(--theme-colors-ContrastNeutral);--theme-colors-inactive:var(--theme-colors-ContrastBright);--theme-colors-scrollbarForeground:var(--theme-colors-ContrastBright);--theme-colors-scrollbarBackground:transparent;--theme-colors-moduleBackground:var(--theme-colors-ContrastDarker);--theme-colors-tableHeader:var(--theme-colors-ContrastDark);--theme-colors-assetBackground:var(--theme-colors-ContrastDarkest);--theme-colors-captionBackground:var(--theme-colors-ContrastNeutral);--theme-colors-text:var(--theme-colors-ContrastBright);--theme-colors-disabled:var(--theme-colors-ContrastDark);--theme-colors-star:var(--theme-orange);--theme-zIndex-pagination:10022;--theme-zIndex-lightbox:10023;--theme-zIndex-loadingIndicator:10024;--theme-size-sidebarWidth:calc(320px - 2*var(--theme-spacing-Full));--theme-size-scrollbarSize:4px}.MSmIxq_assetLabel{white-space:nowrap;text-overflow:ellipsis;display:inline-block;overflow:hidden}.kvTLDq_column{grid-gap:var(--theme-spacing-Full);height:100%;grid-template-columns:100%;grid-auto-rows:minmax(min-content,max-content);display:grid;overflow-x:hidden;overflow-y:auto}.AhglKq_wrapper{height:var(--theme-spacing-GoldenUnit);align-items:center;gap:var(--theme-spacing-Half);display:flex}.AhglKq_iconWrap{display:flex}.AhglKq_label{-webkit-user-select:none;user-select:none;font-weight:700}.AhglKq_imgIcon{width:auto;height:18px}.QnHc5G_propertyList{width:100%;max-width:100%;overflow:hidden}.QnHc5G_propertyList dt{background-color:var(--theme-colors-alternatingBackground);color:#fff;padding:var(--theme-spacing-Half)var(--theme-spacing-Half)0;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.QnHc5G_propertyList dd{background-color:var(--theme-colors-alternatingBackground);color:var(--theme-colors-inactive);padding:var(--theme-spacing-Half);text-overflow:ellipsis;white-space:nowrap;margin:0 0 1px;overflow-x:hidden}.UWhRka_iconStack{position:relative}.UWhRka_iconStack svg:nth-child(2){max-width:.8em;max-height:.8em;color:var(--theme-colors-star);filter:drop-shadow(0 -1px #a60);position:absolute;bottom:1px;right:2px}.i_NNWq_plusIcon{width:9px!important;top:15px!important;left:13px!important}.w3jxYa_plusIcon{width:9px!important;top:13px!important;left:11px!important}.YYR6BW_assetCollectionTree{border:1px solid var(--theme-colors-border);max-height:600px;flex-direction:column;display:flex}.YYR6BW_assetCollectionTree>*{display:block}.YYR6BW_viewSelection [role=button]>*{width:auto;margin-right:var(--theme-spacing-Half)}.YYR6BW_toolbar{border-top:1px solid var(--theme-colors-border)}.YYR6BW_tree{border-top:1px solid var(--theme-colors-border);overflow:auto}.YYDVBq_formBody,.CkrZ6q_formBody{padding:var(--theme-spacing-Full)}.rgxNBa_clipboardItem{cursor:pointer;min-width:var(--theme-spacing-GoldenUnit);width:var(--theme-spacing-GoldenUnit);height:var(--theme-spacing-GoldenUnit);background:0 0;border:none}.rgxNBa_clipboardItem img{width:100%;height:100%;object-fit:contain;display:block}.vygmma_clipboardToggle{height:100%;-webkit-user-select:none;user-select:none;justify-content:center;align-self:flex-end;align-items:center;margin:0 -.3rem;display:flex}.vygmma_clipboardToggle>*{margin:0 .3rem}.zrw9kW_clipboardActions{background-color:var(--theme-colors-ContrastNeutral);align-items:baseline;display:flex}.DdyBta_assetSourceDescription{border:1px solid var(--theme-colors-border)}.DdyBta_assetSourceDescription .DdyBta_ReactCollapse--collapse{transition:height var(--theme-transition-slow)}.DdyBta_panelHeader button{justify-content:center;align-items:center;display:flex;position:absolute}.y0bjba_assetSourceList{border:1px solid var(--theme-colors-border);flex-direction:column;display:flex}.y0bjba_header{border-bottom:1px solid var(--theme-colors-border);padding:0 var(--theme-spacing-Full)}.y0bjba_item{cursor:pointer;-webkit-user-select:none;user-select:none;padding:0 var(--theme-spacing-Full);color:var(--theme-colors-ContrastBrightest);background:0 0;border:none;align-items:center;font-weight:400;display:flex}.y0bjba_item:hover,.y0bjba_itemSelected{color:var(--theme-colors-PrimaryBlue)}.y0bjba_itemLabel{grid-template-columns:20px 1fr;display:grid}.y0bjba_itemLabel span{font-weight:400}.I2Dv7q_dialogBody{padding:var(--theme-spacing-Full)}.I2Dv7q_modalTitle{margin-left:var(--theme-spacing-Full)}._9TZJrW_usageSection h2{font-size:var(--theme-fontSize-base);margin:0;padding:0;font-weight:700}._9TZJrW_usageTable{width:100%;margin-top:var(--theme-spacing-Full);line-height:1.5}._9TZJrW_usageTable th{text-align:left;font-weight:700}._9TZJrW_usageTable td,._9TZJrW_usageTable th{padding:var(--theme-spacing-Quarter)}._9TZJrW_usageTable td:first-child,._9TZJrW_usageTable th:first-child{padding-left:0}._9TZJrW_usageTable td:last-child,._9TZJrW_usageTable th:last-child{padding-right:0}._9TZJrW_usageTable._9TZJrW_usageTable a{color:var(--theme-colors-PrimaryBlue)}._9TZJrW_usageTable._9TZJrW_usageTable a:hover{color:var(--theme-colors-PrimaryBlueHover);text-decoration:underline}._9TZJrW_usageTable li{list-style-type:disc}._9TZJrW_usageTable li ul{padding-left:1rem}._9TZJrW_usageTable li ul li{display:list-item}._HqK-W_assetUsage{padding:var(--theme-spacing-Full);line-height:1em}._HqK-W_assetUsage section+section{margin-top:var(--theme-spacing-Full)}._HqK-W_usageTable{width:100%}._HqK-W_usageTable th{text-align:left;font-weight:700}._HqK-W_usageTable td,._HqK-W_usageTable th{padding:var(--theme-spacing-Quarter)}._HqK-W_usageTable td:first-child,._HqK-W_usageTable th:first-child{padding-left:0}._HqK-W_usageTable td:last-child,._HqK-W_usageTable th:last-child{padding-right:0}._HqK-W_neos ._HqK-W_usageTable a{color:var(--theme-colors-PrimaryBlue)}._HqK-W_neos ._HqK-W_usageTable a:hover{color:var(--theme-colors-PrimaryBlue);text-decoration:underline}.mL8aSq_similarAsset{flex-direction:column;margin:0;display:flex;position:relative}.mL8aSq_picture{background-color:var(--theme-colors-assetBackground)}.mL8aSq_picture img{height:250px;width:100%;object-fit:contain;display:block}.mL8aSq_caption{background-color:var(--theme-colors-captionBackground);transition:background-color var(--theme-transition-fast);padding:var(--theme-spacing-Half);flex:1;align-items:center;display:flex}.mL8aSq_caption img{width:1.3rem;height:auto;margin-right:var(--theme-spacing-Half)}.-zEGyG_assetUsage{gap:var(--theme-spacing-Full);padding:var(--theme-spacing-Full);grid-template-columns:repeat(auto-fill,minmax(200px,1fr));display:grid}.GRZadW_dropzone{padding:var(--theme-spacing-GoldenUnit);border-width:2px;border-color:var(--theme-colors-disabled);background-color:var(--theme-colors-alternatingBackground);color:var(--theme-colors-text);cursor:pointer;-webkit-user-select:none;user-select:none;border-style:dashed;border-radius:2px;outline:none;flex-direction:column;align-items:center;transition:border .24s ease-in-out;display:flex}.GRZadW_dropzone p{margin:0;line-height:1.6}.GRZadW_dropzone--active{border-color:var(--theme-colors-PrimaryBlue)}.GRZadW_dropzone--accept{border-color:var(--theme-colors-Success)}.GRZadW_dropzone--reject{border-color:var(--theme-colors-Error)}._3DPMWa_fileList{margin-top:var(--theme-spacing-Full);flex-flow:wrap;display:flex}._3DPMWa_fileListHeader{margin-bottom:var(--theme-spacing-Full);font-size:var(--theme-fontSize-base);flex:100%}._3DPMWa_thumb{margin-bottom:var(--theme-spacing-Half);margin-right:var(--theme-spacing-Half);width:100px;height:100px;padding:var(--theme-spacing-Quarter);box-sizing:border-box;border:1px solid #eaeaea;border-radius:2px;display:inline-flex}._3DPMWa_thumbInner{width:100%;height:100%;justify-content:center;align-items:center;display:flex;position:relative}._3DPMWa_thumbInner span{margin-left:var(--theme-spacing-Half);-webkit-user-select:none;user-select:none}._3DPMWa_img{width:100%;height:100%;object-fit:cover;z-index:-1;display:block;position:absolute;top:0;left:0}._3DPMWa_thumbInner:after{content:"";background-color:var(--theme-colors-alternatingBackground);opacity:.3;z-index:-1;display:none;position:absolute;inset:0}._3DPMWa_loading{border-color:var(--theme-colors-border)}._3DPMWa_loading ._3DPMWa_thumbInner:after{display:block}._3DPMWa_success{border-color:var(--theme-colors-Success)}._3DPMWa_success ._3DPMWa_thumbInner:after{background-color:var(--theme-colors-Success);display:block}._3DPMWa_error{border-color:var(--theme-colors-Error)}._3DPMWa_error ._3DPMWa_thumbInner:after{background-color:var(--theme-colors-Error);display:block}._3DPMWa_warning{color:var(--theme-colors-Warn)}.YW0qpa_fileList{margin-top:var(--theme-spacing-Full);flex-flow:wrap;display:flex}.YW0qpa_fileListHeader{margin-bottom:var(--theme-spacing-Full);font-size:var(--theme-fontSize-base);flex:100%}.j3Ge9q_uploadArea,.TdFhBW_uploadArea{padding:var(--theme-spacing-Full)}.TdFhBW_optionSection{margin-top:var(--theme-spacing-Full);margin-bottom:var(--theme-spacing-Full)}.TdFhBW_option{margin-top:var(--theme-spacing-Half);margin-bottom:var(--theme-spacing-Half)}.TdFhBW_label{display:flex!important}.SKOLBW_uploadButton{display:flex}.SKOLBW_uploadButton button{flex:1}@keyframes closeWindow{0%{opacity:1}to{opacity:0}}.ril__outer{z-index:1000;width:100%;height:100%;-ms-content-zooming:none;-ms-user-select:none;-ms-touch-select:none;touch-action:none;background-color:#000000d9;outline:none;inset:0}.ril__outerClosing{opacity:0}.ril__inner{position:absolute;inset:0}.ril__image,.ril__imagePrev,.ril__imageNext{max-width:none;-ms-content-zooming:none;-ms-user-select:none;-ms-touch-select:none;touch-action:none;margin:auto;position:absolute;inset:0}.ril__imageDiscourager{background-position:50%;background-repeat:no-repeat;background-size:contain}.ril__navButtons{width:20px;height:34px;cursor:pointer;opacity:.7;border:none;margin:auto;padding:40px 30px;position:absolute;top:0;bottom:0}.ril__navButtons:hover{opacity:1}.ril__navButtons:active{opacity:.7}.ril__navButtonPrev{background:#0003 url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjIwIiBoZWlnaHQ9IjM0Ij48cGF0aCBkPSJtIDE5LDMgLTIsLTIgLTE2LDE2IDE2LDE2IDEsLTEgLTE1LC0xNSAxNSwtMTUgeiIgZmlsbD0iI0ZGRiIvPjwvc3ZnPg==) 50% no-repeat;left:0}.ril__navButtonNext{background:#0003 url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjIwIiBoZWlnaHQ9IjM0Ij48cGF0aCBkPSJtIDEsMyAyLC0yIDE2LDE2IC0xNiwxNiAtMSwtMSAxNSwtMTUgLTE1LC0xNSB6IiBmaWxsPSIjRkZGIi8+PC9zdmc+) 50% no-repeat;right:0}.ril__downloadBlocker{background-image:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);background-size:cover;position:absolute;inset:0}.ril__caption,.ril__toolbar{background-color:#00000080;justify-content:space-between;display:flex;position:absolute;left:0;right:0}.ril__caption{max-height:150px;bottom:0;overflow:auto}.ril__captionContent{color:#fff;padding:10px 20px}.ril__toolbar{height:50px;top:0}.ril__toolbarSide{height:50px;margin:0}.ril__toolbarLeftSide{text-overflow:ellipsis;flex:0 auto;padding-left:20px;padding-right:0;overflow:hidden}.ril__toolbarRightSide{flex:none;padding-left:0;padding-right:20px}.ril__toolbarItem{color:#fff;max-width:100%;text-overflow:ellipsis;white-space:nowrap;padding:0;font-size:120%;line-height:50px;display:inline-block;overflow:hidden}.ril__toolbarItemChild{vertical-align:middle}.ril__builtinButton{width:40px;height:35px;cursor:pointer;opacity:.7;border:none}.ril__builtinButton:hover{opacity:1}.ril__builtinButton:active{outline:none}.ril__builtinButtonDisabled{cursor:default;opacity:.5}.ril__builtinButtonDisabled:hover{opacity:.5}.ril__closeButton{background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjIwIiBoZWlnaHQ9IjIwIj48cGF0aCBkPSJtIDEsMyAxLjI1LC0xLjI1IDcuNSw3LjUgNy41LC03LjUgMS4yNSwxLjI1IC03LjUsNy41IDcuNSw3LjUgLTEuMjUsMS4yNSAtNy41LC03LjUgLTcuNSw3LjUgLTEuMjUsLTEuMjUgNy41LC03LjUgLTcuNSwtNy41IHoiIGZpbGw9IiNGRkYiLz48L3N2Zz4=) 50% no-repeat}.ril__zoomInButton{background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGcgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PHBhdGggZD0iTTEgMTlsNi02Ii8+PHBhdGggZD0iTTkgOGg2Ii8+PHBhdGggZD0iTTEyIDV2NiIvPjwvZz48Y2lyY2xlIGN4PSIxMiIgY3k9IjgiIHI9IjciIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIyIi8+PC9zdmc+) 50% no-repeat}.ril__zoomOutButton{background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGcgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PHBhdGggZD0iTTEgMTlsNi02Ii8+PHBhdGggZD0iTTkgOGg2Ii8+PC9nPjxjaXJjbGUgY3g9IjEyIiBjeT0iOCIgcj0iNyIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjIiLz48L3N2Zz4=) 50% no-repeat}.ril__outerAnimating{animation-name:closeWindow}@keyframes pointFade{0%,19.999%,to{opacity:0}20%{opacity:1}}.ril__loadingCircle{width:60px;height:60px;position:relative}.ril__loadingCirclePoint{width:100%;height:100%;position:absolute;top:0;left:0}.ril__loadingCirclePoint:before{content:"";width:11%;height:30%;background-color:#fff;border-radius:30%;margin:0 auto;animation:.8s ease-in-out infinite both pointFade;display:block}.ril__loadingCirclePoint:nth-of-type(1){transform:rotate(0)}.ril__loadingCirclePoint:nth-of-type(7){transform:rotate(180deg)}.ril__loadingCirclePoint:nth-of-type(1):before,.ril__loadingCirclePoint:nth-of-type(7):before{animation-delay:-800ms}.ril__loadingCirclePoint:nth-of-type(2){transform:rotate(30deg)}.ril__loadingCirclePoint:nth-of-type(8){transform:rotate(210deg)}.ril__loadingCirclePoint:nth-of-type(2):before,.ril__loadingCirclePoint:nth-of-type(8):before{animation-delay:-666ms}.ril__loadingCirclePoint:nth-of-type(3){transform:rotate(60deg)}.ril__loadingCirclePoint:nth-of-type(9){transform:rotate(240deg)}.ril__loadingCirclePoint:nth-of-type(3):before,.ril__loadingCirclePoint:nth-of-type(9):before{animation-delay:-533ms}.ril__loadingCirclePoint:nth-of-type(4){transform:rotate(90deg)}.ril__loadingCirclePoint:nth-of-type(10){transform:rotate(270deg)}.ril__loadingCirclePoint:nth-of-type(4):before,.ril__loadingCirclePoint:nth-of-type(10):before{animation-delay:-400ms}.ril__loadingCirclePoint:nth-of-type(5){transform:rotate(120deg)}.ril__loadingCirclePoint:nth-of-type(11){transform:rotate(300deg)}.ril__loadingCirclePoint:nth-of-type(5):before,.ril__loadingCirclePoint:nth-of-type(11):before{animation-delay:-266ms}.ril__loadingCirclePoint:nth-of-type(6){transform:rotate(150deg)}.ril__loadingCirclePoint:nth-of-type(12){transform:rotate(330deg)}.ril__loadingCirclePoint:nth-of-type(6):before,.ril__loadingCirclePoint:nth-of-type(12):before{animation-delay:-133ms}.ril__loadingCirclePoint:nth-of-type(7){transform:rotate(180deg)}.ril__loadingCirclePoint:nth-of-type(13){transform:rotate(360deg)}.ril__loadingCirclePoint:nth-of-type(7):before,.ril__loadingCirclePoint:nth-of-type(13):before{animation-delay:0s}.ril__loadingContainer{position:absolute;inset:0}.ril__imagePrev .ril__loadingContainer,.ril__imageNext .ril__loadingContainer{display:none}.ril__errorContainer{color:#fff;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.ril__imagePrev .ril__errorContainer,.ril__imageNext .ril__errorContainer{display:none}.ril__loadingContainer__icon{color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%)translateY(-50%)}.g4samW_lightbox .g4samW_ril__image{max-width:100%}._7s7pAW_editArea{padding:var(--theme-spacing-Full)}._7s7pAW_filenameInput{flex:100%}._7s7pAW_label{align-items:baseline;gap:var(--theme-spacing-Half)0;flex-wrap:wrap;display:flex!important}._7s7pAW_label+label{margin-top:var(--theme-spacing-Full)}.hpr5wG_actions{background-color:var(--theme-colors-mainBackground);display:flex;position:sticky;bottom:0}.hpr5wG_actions>*{flex:1}.Ei69Yq_inspector{gap:var(--theme-spacing-Full);grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;display:grid}.Ei69Yq_inspector input,.Ei69Yq_inspector textarea{width:100%}.Hl9FHG_collectionSelectBox input{background-color:#0000!important;border:none!important}.Hl9FHG_collectionSelectBox svg{align-self:center}.GS2huq_variantContainer{background-color:var(--theme-colors-assetBackground)}.GS2huq_picture{height:200px;justify-content:center;align-items:center;display:flex}.GS2huq_image{max-width:100%;max-height:100%;object-fit:contain;background-image:repeating-linear-gradient(45deg,#999 25%,#0000 25% 75%,#999 75%,#999),repeating-linear-gradient(45deg,#999 25%,#e5e5f7 25% 75%,#999 75%,#999);background-position:0 0,10px 10px;background-size:20px 20px;display:block}.GS2huq_caption{padding:var(--theme-spacing-Half);background-color:var(--theme-colors-captionBackground);justify-content:space-between;align-items:center;display:flex}.GS2huq_infoContainer{min-width:0;max-width:var(--theme-size-sidebarWidth);flex-direction:column;display:flex}.GS2huq_info{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.GS2huq_variantSizes{font-size:var(--theme-fontSize-small)}.RPvqMq_variantsContainer{padding:var(--theme-spacing-Full)var(--theme-spacing-Half)}.RPvqMq_variantsContainer h1{font-size:var(--theme-fontSize-base);margin:0;padding:0}.RPvqMq_variantItem{margin-top:var(--theme-spacing-Full)}.gOSwCW_tasks{gap:var(--theme-spacing-Half);flex-direction:column;display:flex}.gOSwCW_tasks button{align-items:center;gap:.5em;display:flex}.QsDLeW_textArea{padding:var(--theme-spacing-Half)!important}.QsDLeW_propertyPanelHeader h2{padding:0}.QsDLeW_propertyPanelHeader button{justify-content:center;align-items:center;display:flex;position:absolute}.QsDLeW_propertyPanelContents{gap:var(--theme-spacing-Full);flex-direction:column;padding:0;display:flex}._5E9l1q_tabContent{height:calc(100% - 42px)}.cQ-_Aa_collectionSelectBox input{background-color:#0000!important;border:none!important}.cQ-_Aa_collectionSelectBox svg{align-self:center}._8r-_bG_iptcData dl dt{background-color:var(--theme-colors-alternatingBackground);color:#fff;padding:var(--theme-spacing-Half)var(--theme-spacing-Half)0;font-weight:700}._8r-_bG_iptcData dl dd{background-color:var(--theme-colors-alternatingBackground);padding:var(--theme-spacing-Half);color:var(--theme-colors-inactive);margin-bottom:1px}.zzq2Ja_currentSelection{flex-wrap:wrap;align-items:center;display:flex;overflow:hidden}.zzq2Ja_headline{-webkit-user-select:none;user-select:none;font-weight:700;line-height:var(--theme-spacing-GoldenUnit);flex:100%}.zzq2Ja_label svg{margin-right:var(--theme-spacing-Half)}.zzq2Ja_breadcrumb{gap:var(--theme-spacing-Quarter);padding:var(--theme-spacing-Quarter);flex-wrap:wrap;display:flex}.zzq2Ja_breadcrumb button{background-color:var(--theme-colors-alternatingBackground);color:var(--theme-colors-ContrastBrightest);text-overflow-ellipsis:ellipsis;border:none;flex:none;display:block;overflow:hidden}.zzq2Ja_breadcrumb button:hover{background-color:var(--theme-colors-PrimaryBlue)}@keyframes _5GQP0G_cssLoadWidth{0%,to{transition-timing-function:cubic-bezier(1,0,.65,.85)}0%{width:0}to{width:100%}}._5GQP0G_indicator{height:2px;width:100%;z-index:var(--theme-zIndex-loadingIndicator);display:none;position:fixed;top:0;left:0}._5GQP0G_indicator:after{content:"";height:100%;background-color:var(--theme-colors-Warn);display:block;position:relative}._5GQP0G_indicator[data-animated=true]{display:block}._5GQP0G_indicator[data-animated=true]:after{animation:2s cubic-bezier(.45,0,1,1) infinite _5GQP0G_cssLoadWidth}.ucPgIG_assetCount{height:100%;-webkit-user-select:none;user-select:none;justify-content:center;align-self:flex-start;align-items:center;display:flex}.sNJnsW_item{-webkit-user-select:none;user-select:none}.sNJnsW_item button{justify-content:center;align-items:center;display:flex}.gZKlGG_pagination{justify-self:center}.gZKlGG_list{text-align:center;justify-self:center;margin:0;padding:0;list-style-type:none;display:flex}.gZKlGG_ellipsis{-webkit-user-select:none;user-select:none;line-height:2.4rem}.gZKlGG_disabled{color:var(--theme-colors-ContrastBrighter)}.VMKMXG_bottomBar{gap:var(--theme-spacing-GoldenUnit);border-top:1px solid var(--theme-colors-border);background-color:var(--theme-colors-moduleBackground);z-index:var(--theme-zIndex-pagination);grid-template-columns:350px 1fr 350px;display:grid;position:fixed;bottom:0;left:0;right:0}.VMKMXG_selectionMode{grid-template-columns:repeat(3,1fr)}.VMKMXG_isInNodeCreationDialog{bottom:-16px;left:-16px;right:-16px}.yiv2CG_sortingState,.yiv2CG_selectBox{min-width:0;display:flex}.PUFj9a_assetsFilter{position:relative}.PUFj9a_assetsFilter>summary{background-color:var(--theme-colors-captionBackground);cursor:pointer;padding:0 1em;list-style-type:none}.PUFj9a_assetsFilter summary:hover{background-color:var(--theme-colors-PrimaryBlue)}.PUFj9a_assetsFilter>summary::-webkit-details-marker{display:none}.PUFj9a_assetsFilter.PUFj9a_active summary{background-color:var(--theme-colors-PrimaryBlue)}.PUFj9a_filterList{z-index:2;background-color:var(--theme-colors-ContrastDarker);flex-direction:column;gap:1px;display:flex;position:absolute;top:100%;left:0}.PUFj9a_typeFilter{display:flex}.PUFj9a_typeFilter svg{height:1em!important}.PUFj9a_selectBox{min-width:auto}._5Oef7G_viewModeSelector{align-items:baseline;display:flex}._5Oef7G_viewModeSelector label{margin-right:var(--theme-spacing-Quarter)}._5Oef7G_selectBox{min-width:auto}.rxR0KW_searchBox{flex-direction:row;flex-grow:1;display:flex}.rxR0KW_searchBox__inputWrapper{flex:1}.rxR0KW_searchBox__inputWrapper>input{width:100%}.h7QbgG_topBar{margin:0 calc(-1*var(--theme-spacing-Half));flex-wrap:nowrap;justify-content:flex-end;padding-right:0;display:flex}.h7QbgG_topBar--selectionMode{padding-right:var(--theme-spacing-GoldenUnit)}.h7QbgG_topBar>*{margin:0 var(--theme-spacing-Half)}.Rs4dJq_listView{height:auto}.Rs4dJq_listView--fullHeight{height:100%}.Rs4dJq_listView table{border-spacing:0 1px;width:100%}.Rs4dJq_listView table th{text-align:left;line-height:var(--theme-spacing-GoldenUnit);padding:0 var(--theme-spacing-Half);white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;user-select:none;overflow:hidden}.Rs4dJq_listView table th:first-child,.Rs4dJq_listView table th:last-child{padding:0}.Rs4dJq_tableHeader{background-color:var(--theme-colors-tableHeader);z-index:1;position:sticky;top:0}._0hU7dG_listViewItem{background-color:var(--theme-colors-mainBackground)}._0hU7dG_listViewItem:nth-of-type(2n){background-color:var(--theme-colors-alternatingBackground)}._0hU7dG_listViewItem:hover,._0hU7dG_selected,._0hU7dG_selected:nth-of-type(2n){background-color:var(--theme-colors-PrimaryBlue)}._0hU7dG_textColumn{padding:0 var(--theme-spacing-Half);white-space:nowrap;-webkit-user-select:none;user-select:none;cursor:pointer;width:1px}._0hU7dG_textColumn>*{vertical-align:middle}._0hU7dG_previewColumn{min-width:var(--theme-spacing-GoldenUnit);width:var(--theme-spacing-GoldenUnit);cursor:pointer}._0hU7dG_previewColumn picture{width:100%;height:var(--theme-spacing-GoldenUnit);text-align:center;display:block}._0hU7dG_previewColumn picture img,._0hU7dG_previewColumn picture svg{width:100%;height:100%;object-fit:contain;display:inline-block}._0hU7dG_labelColumn{table-layout:fixed;width:100%;line-height:var(--theme-spacing-GoldenUnit);-webkit-user-select:text;user-select:text;display:table}._0hU7dG_labelColumn>*{width:calc(100% - 2*var(--theme-spacing-Half));padding:0 var(--theme-spacing-Half)}._0hU7dG_mediaTypeColumn{max-width:100px;text-overflow:ellipsis;overflow:hidden}._0hU7dG_actionsColumn{text-align:right}.LUZzHG_emptyStateWrapper{height:inherit;justify-content:center;align-items:center;display:flex}.lKBwAW_thumbnail{flex-direction:column;margin:0;display:flex;position:relative}.lKBwAW_thumbnail:hover .lKBwAW_caption{background-color:var(--theme-colors-PrimaryBlue)}.lKBwAW_thumbnail:hover .lKBwAW_toolBar{pointer-events:all;background-color:#00000040}.lKBwAW_thumbnail:hover .lKBwAW_toolBar button{opacity:1}.lKBwAW_thumbnail:hover .lKBwAW_toolBar button[disabled]{opacity:.5}.lKBwAW_thumbnail:hover .lKBwAW_toolBar button.lKBwAW_button--active svg{color:#fff}.lKBwAW_picture{cursor:pointer;height:250px;background-color:var(--theme-colors-assetBackground);place-content:center;align-items:center;display:flex}.lKBwAW_picture img{max-height:250px;max-width:100%;background-image:repeating-linear-gradient(45deg,#999 25%,#0000 25% 75%,#999 75%,#999),repeating-linear-gradient(45deg,#999 25%,#e5e5f7 25% 75%,#999 75%,#999);background-position:0 0,10px 10px;background-size:20px 20px;display:block}.lKBwAW_caption{background-color:var(--theme-colors-captionBackground);transition:background-color var(--theme-transition-fast);padding:var(--theme-spacing-Half);flex:1;align-items:center;display:flex}.lKBwAW_caption img,.lKBwAW_caption svg{width:1.3rem;height:auto;margin-right:var(--theme-spacing-Half)}.lKBwAW_selected{background-color:var(--theme-colors-PrimaryBlue)}.lKBwAW_toolBar{top:var(--theme-spacing-Quarter);right:var(--theme-spacing-Quarter);pointer-events:none;background-color:#0000;transition:background-color .1s ease-in;display:flex;position:absolute}.lKBwAW_toolBar button,.lKBwAW_toolBar button[disabled]{opacity:0;transition:opacity .1s ease-in}.lKBwAW_toolBar button.lKBwAW_button--active{opacity:1}.lKBwAW_toolBar button.lKBwAW_button--active svg{color:var(--theme-colors-PrimaryBlue)}.lKBwAW_label{top:var(--theme-spacing-Quarter);left:var(--theme-spacing-Quarter);font-size:var(--theme-fontSize-small);-webkit-user-select:none;user-select:none;border-radius:3px;padding:2px 4px;position:absolute}.lKBwAW_disabled .lKBwAW_picture{filter:grayscale();cursor:not-allowed}._5clkbq_thumbnailView{gap:var(--theme-spacing-Full);grid-template-columns:repeat(auto-fill,minmax(200px,1fr));display:grid}.rZ_p1G_container{--grid-height:calc(100vh - 48px - 61px - 41px);--grid-areas:"left top right" "left main right";--grid-columns:var(--theme-size-sidebarWidth)1fr var(--theme-size-sidebarWidth);--grid-area-left:left;--grid-area-right:right;--grid-area-top:top;--grid-area-main:main;height:var(--grid-height);grid-template-rows:40px 1fr;grid-template-columns:var(--grid-columns);grid-template-areas:var(--grid-areas);gap:var(--theme-spacing-Full);padding-top:1px;line-height:1.5;display:grid;overflow:hidden}.rZ_p1G_fullHeight{--grid-height:calc(100% - 61px - 8px)}.rZ_p1G_selectionMode{--grid-columns:var(--theme-size-sidebarWidth)1fr;--grid-areas:"left top" "left main"}.rZ_p1G_gridColumn{height:100%;overflow-y:auto}.rZ_p1G_gridRight{grid-area:var(--grid-area-right)}.rZ_p1G_gridLeft{grid-area:var(--grid-area-left)}.rZ_p1G_gridMain{grid-area:var(--grid-area-main)}.rZ_p1G_gridTop{grid-area:var(--grid-area-top)}#media-ui-app>div{scrollbar-width:thin;scrollbar-color:#999 transparent}#media-ui-app>div ::-webkit-scrollbar{width:4px;height:4px}#media-ui-app>div ::-webkit-scrollbar-track{background:0 0}#media-ui-app>div ::-webkit-scrollbar-thumb{background-color:#999}#media-ui-app>div ::-webkit-scrollbar-corner{background-color:#3f3f3f}.neos.neos-module-management-mediaui>.neos-module-wrap{padding:3rem 1rem 0}body>[class*=_selectBox__contents_]{z-index:99999}[class*=_dropDown__btn]{padding-left:0} /*# sourceMappingURL=main.bundle.css.map */ diff --git a/Resources/Public/Assets/main.bundle.css.map b/Resources/Public/Assets/main.bundle.css.map index d97b104b0..b3b136100 100644 --- a/Resources/Public/Assets/main.bundle.css.map +++ b/Resources/Public/Assets/main.bundle.css.map @@ -1 +1 @@ -{"mappings":"AEAA,kGAWI,4FAOA,iIAOA,gCAIA,oCAGA,oEAIA,yCEpCJ,iPAgBI,iDAIA,yDAII,kKAQR,sEAMA,8CAGA,+EAIA,+EAIA,2CAGA,gGAKA,oGAKA,yEAIA,gGAMA,uDAGI,6CAKJ,mOAMA,2aAUA,yOAMA,2OAMA,+NAMA,mOElHA,uLASA,gDAGA,kDAIA,4CAIA,6CAIA,mDAKI,uCAMA,wCAMA,yCAMA,sEAQA,yCAKJ,kFE5DA,oHASA,mJAYA,mHAOA,sKAWA,8DAII,qEAIJ,+DAII,gFEnDJ,4FAOA,oGAUA,0PAaA,4IAQI,wEAGI,yBAA0B,qFAM9B,qFAII,yBAA0B,sFAM9B,0EAIA,gFAGA,6EAGA,8EAIJ,sFAOA,0DAII,yBAA0B,2CAI9B,8DAKA,iFAOA,uEElGA,sEAKA,wCELA,qFAQA,iEAKA,sEEbA,wKAUI,0DEVJ,uCAIA,8JAOA,kQAaA,4DAIA,uGAOA,iEAIA,0EAII,kDAKJ,sIAQA,wEExDA,0JAaA,0EAIA,kFAIA,+DAIA,wDAKA,kHE9BA,wEAMA,iQAkBI,2DAIA,mDAIJ,2DAGA,kDAIA,+FAOA,2KAaA,oFAKA,2EAIA,mJAQA,wJAQA,2EEpFA,qDAKA,sEAKA,gEAMA,oGAQA,8EAIA,0DE5BA,2EAKA,uEAIA,wFAMI,uGAMJ,8DErBA,qIAYI,qEAMJ,8GAMA,gEExBA,8BAKA,2CAKA,+HASI,4FAKA,4CAIJ,qIAQA,gIAMI,8JAYA,6FAIJ,0IAUI,wDAIA,oDAIJ,2DAGA,mEAIA,mCEnFA,mJAWI,oEAMJ,6FAIA,mEAGA,2DAGA,+DE3BA,qCAKA,gIAWA,kDAIA,8DAMA,oEAKI,2FAIA,oHAMJ,kDEzCA,uCAKI,yCELJ,gEAMA,mJAcI,iDAIJ,qGAGA,yDAIA,8GAKA,2DAIA,oGAOA,6JAcA,sDAGA,iEAGA,iDAGA,iEAIA,wDAGI,kKAKJ,gEAGA,qGAKA,oJAQA,2CAII,6EASJ,sFAOA,sFAMA,qFAMA,0EAKA,8EAIA,gDE3IA,6GAUA,kFAOA,qNAgBA,kGEjCA,yFEAA,+IASQ,6FAIA,wGAMR,0DAGA,kGAKI,yEAIJ,oIAMA,6LAUI,0DAIA,oIAKI,0HExDR,oFAKA,sEAIA,sLAgBA,2XAgBA,kNCtCA,49GCHA,kGCAA,uLCAA,qHAOA,8BAIA,wEAKA,uCChBA,+DAMA,oNASA,mOCfA,oCAIA,wKCJA,4ECAA,4ECAA,4HAOA,4CAIA,wFAKA,gEAIA,2ECpBA,oEEAA,uLASA,kFCTA,yKAUA,yCCVA,gHCAA,2EAIA,8GAIA,oGCRA,uGAMA,sGAKA,iOAYA,8EAKA,8DAKA,uCCjCA,qDAIA,yDCJA,iGAOA,oFAMA,uDAKA,mFAKA,qFAKA,oFAMA,+EAIA,oHAKA,4CAIA,4CAIA,+CCnDA,qEAKA,wEAIA,8BAIA,sDAKA,iFAKA,mFAKA,kFAKA,wEAIA,wGCrCA,mFAOA,qEAIA,6EAOA,yMASA,oFC3BA,0JCAA,mZAiBA,4CAKA,sEAIA,kEAIA,gEC9BA,mFAOA,+GAMA,iPAYA,oHASA,yGAKA,6GAWA,6JAaA,yDAIA,yDAIA,0DAIA,sGAKA,sDAIA,kGAKA,gDCzFA,kFAOA,8GCPA,wECIA,mGAKA,4FAKA,qCCdA,kCAIA,mCCJA,kDASA,sLAgBA,6BAIA,sCAQA,uLAgBA,mGAMA,6IAYA,iCAGA,mCAIA,0SAOA,uSAOA,2KAUA,mIAUA,sDAMA,kDAKA,gCAKA,uCAKA,2GAQA,mEAMA,qKAYA,6CAIA,iFAOA,oCAGA,wCAIA,sDAIA,6CAIA,+XAKA,waAKA,iZAKA,gDAIA,4DAWA,6DAMA,+EAOA,sLAUA,4DAGA,iEAGA,qHAIA,gEAGA,iEAGA,qHAIA,gEAGA,iEAGA,qHAIA,gEAGA,kEAGA,sHAIA,iEAGA,kEAGA,sHAIA,iEAGA,kEAGA,sHAIA,iEAGA,kEAGA,kHAKA,iDAOA,2FAKA,iHAWA,uFAKA,qHCjVA,mDCAA,oDAIA,iCAIA,yGAOA,0DCfA,0GAOA,yBCPA,qHAOA,8DCPA,yFAMA,kDCNA,8EAIA,oFAOA,ySAUA,uKAQA,8GAOA,uEAMA,2DC1CA,qFAIA,qFAMA,yDCVA,+EAMA,8DCNA,6DAWA,yCAIA,4GAOA,yGCtBA,6CCAA,yFAMA,kDCLA,0KAMA,0KCPA,wFAOA,iIAUA,yDAIA,qHAOA,qNAUA,iFCtCA,qHAaA,+HAUA,0HAQA,qDAIA,gHCnCI,sJCCJ,uDAIA,2ECLA,uCAIA,wGASA,8EAKA,4DClBA,6RAaA,0DAIA,mECjBA,8CAKA,8BCLA,uCAIA,iHAMA,oFAIA,kDAIA,wEAIA,4FAIA,8JAWA,gCAIA,4CAKA,iCC9CA,4DAKA,0EAIA,kCCTA,yBAIA,+EAKA,+HCTA,kIAQA,4EAKA,oDCbA,6BAIA,yCAIA,uDAKA,8NAUA,qFAKA,qGC5BA,0EAIA,iGAIA,iIAYA,8IAQA,4CAIA,sHAMA,iHAOA,qIAOA,uJASA,0GAaA,gFAOA,wCCjFA,gGCAA,gFAOA,yFAIA,sFAKA,yDAIA,oEAIA,oFAIA,sJAUA,6RASA,yMASA,wGAMA,kEAIA,sMAUA,iGAMA,uDAIA,uFAIA,qNAaA,uECvGA,4HCGA,0eAoBA,yDAIA,2GAKA,+CAKA,mDAKA,iDAKA,iDAKA,+CCpDA,wEAKA,2DAKA,2DAIA,kEAIA,sEAIA,2EAKA","sources":["main.bundle.css","node_modules/@neos-project/react-ui-components/dist/_css/M2GX4SZL.css","node_modules/@neos-project/react-ui-components/dist/src/reset.module.css","node_modules/@neos-project/react-ui-components/dist/_css/6KVBML2I.css","node_modules/@neos-project/react-ui-components/dist/src/Button/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/PA6G4QJ6.css","node_modules/@neos-project/react-ui-components/dist/src/Icon/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/BNXEUAC5.css","node_modules/@neos-project/react-ui-components/dist/src/CheckBox/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/PMUYXBJ7.css","node_modules/@neos-project/react-ui-components/dist/src/Dialog/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/5BBGZQFW.css","node_modules/@neos-project/react-ui-components/dist/src/Headline/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/RZRWKOLX.css","node_modules/@neos-project/react-ui-components/dist/src/IconButton/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/DGKJFRMT.css","node_modules/@neos-project/react-ui-components/dist/src/Label/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/74Z7X564.css","node_modules/@neos-project/react-ui-components/dist/src/SelectBox/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/X56G3OKT.css","node_modules/@neos-project/react-ui-components/dist/src/ListPreviewElement/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/3VTS5UYK.css","node_modules/@neos-project/react-ui-components/dist/src/DropDown/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/6ADTC3HG.css","node_modules/@neos-project/react-ui-components/dist/src/SelectBox_Header/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/QKJIP33V.css","node_modules/@neos-project/react-ui-components/dist/src/SelectBox_HeaderWithSearchInput/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/U5HYCFRV.css","node_modules/@neos-project/react-ui-components/dist/src/TextInput/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/DI4RCUNO.css","node_modules/@neos-project/react-ui-components/dist/src/Tabs/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/BRQD6W3B.css","node_modules/@neos-project/react-ui-components/dist/src/TextArea/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/D7JNYSMT.css","node_modules/@neos-project/react-ui-components/dist/src/ToggablePanel/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/VWQ7R53U.css","node_modules/@neos-project/react-ui-components/dist/src/Tree/tree.module.css","node_modules/@neos-project/react-ui-components/dist/_css/SDW6PBME.css","node_modules/@neos-project/react-ui-components/dist/src/Tree/node.module.css","node_modules/@neos-project/react-ui-components/dist/_css/JDL2VBR6.css","node_modules/@neos-project/react-ui-components/dist/src/Tree/dragLayer.module.css","node_modules/@neos-project/react-ui-components/dist/_css/7X2IEQTV.css","node_modules/@neos-project/react-ui-components/dist/src/MultiSelectBox/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/EZJRH4VH.css","node_modules/@neos-project/react-ui-components/dist/src/MultiSelectBox_ListPreviewSortable_DraggableListPreviewElement/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/POKLKNAU.css","node_modules/@neos-project/react-ui-components/dist/src/SelectBox_Option_MultiLineWithThumbnail/style.module.css","Resources/Private/JavaScript/core/src/Theme.module.css","Resources/Private/JavaScript/core/src/components/AssetLabel.module.css","Resources/Private/JavaScript/core/src/components/Column.module.css","Resources/Private/JavaScript/core/src/components/IconLabel.module.css","Resources/Private/JavaScript/core/src/components/PropertyList.module.css","Resources/Private/JavaScript/core/src/components/IconStack.module.css","Resources/Private/JavaScript/asset-collections/src/components/AddAssetCollectionButton.module.css","Resources/Private/JavaScript/asset-collections/src/components/AddTagButton.module.css","Resources/Private/JavaScript/asset-collections/src/components/AssetCollectionTree.module.css","Resources/Private/JavaScript/asset-collections/src/components/CreateAssetCollectionDialog.module.css","Resources/Private/JavaScript/asset-tags/src/components/CreateTagDialog.module.css","Resources/Private/JavaScript/clipboard/src/components/ClipboardItem.module.css","Resources/Private/JavaScript/clipboard/src/components/ClipboardToggle.module.css","Resources/Private/JavaScript/clipboard/src/components/ClipboardActions.module.css","Resources/Private/JavaScript/asset-sources/src/components/AssetSourceDescription.module.css","Resources/Private/JavaScript/asset-sources/src/components/AssetSourceList.module.css","Resources/Private/JavaScript/core/src/provider/Interaction/dialogs/Confirm.module.css","Resources/Private/JavaScript/asset-usage/src/components/AssetUsageSection.module.css","Resources/Private/JavaScript/asset-usage/src/components/AssetUsagesModal.module.css","Resources/Private/JavaScript/similar-assets/src/components/SimilarAsset.module.css","Resources/Private/JavaScript/similar-assets/src/components/SimilarAssetsModal.module.css","Resources/Private/JavaScript/asset-upload/src/components/UploadSection.module.css","Resources/Private/JavaScript/asset-upload/src/components/FilePreview.module.css","Resources/Private/JavaScript/asset-upload/src/components/PreviewSection.module.css","Resources/Private/JavaScript/asset-upload/src/components/Dialogs/NewAssetDialog.module.css","Resources/Private/JavaScript/asset-upload/src/components/Dialogs/ReplaceAssetDialog.module.css","Resources/Private/JavaScript/asset-upload/src/components/UploadButton.module.css","node_modules/react-image-lightbox/style.css","Resources/Private/JavaScript/asset-preview/src/components/AssetPreview.module.css","Resources/Private/JavaScript/asset-editing/src/components/EditAssetDialog.module.css","Resources/Private/JavaScript/media-module/src/components/SideBarRight/Inspector/Actions.module.css","Resources/Private/JavaScript/media-module/src/components/SideBarRight/Inspector/InspectorContainer.module.css","Resources/Private/JavaScript/media-module/src/components/SideBarRight/Inspector/ParentCollectionSelectBox.module.css","Resources/Private/JavaScript/asset-variants/src/components/Variant.module.css","Resources/Private/JavaScript/asset-variants/src/components/VariantsInspector.module.css","Resources/Private/JavaScript/media-module/src/components/SideBarRight/Inspector/Tasks.module.css","Resources/Private/JavaScript/media-module/src/components/SideBarRight/Inspector/PropertyInspector.module.css","Resources/Private/JavaScript/media-module/src/components/SideBarRight/Inspector/AssetInspector.module.css","Resources/Private/JavaScript/media-module/src/components/SideBarRight/Inspector/CollectionSelectBox.module.css","Resources/Private/JavaScript/media-module/src/components/SideBarRight/Inspector/IptcMetadataInspector.module.css","Resources/Private/JavaScript/media-module/src/components/SideBarRight/CurrentSelection.module.css","Resources/Private/JavaScript/media-module/src/components/LoadingIndicator.module.css","Resources/Private/JavaScript/media-module/src/components/BottomBar/AssetCount/AssetCount.module.css","Resources/Private/JavaScript/media-module/src/components/BottomBar/Pagination/PaginationItem.module.css","Resources/Private/JavaScript/media-module/src/components/BottomBar/Pagination/Pagination.module.css","Resources/Private/JavaScript/media-module/src/components/BottomBar/BottomBar.module.css","Resources/Private/JavaScript/media-module/src/components/TopBar/SortOrderSelector.module.css","Resources/Private/JavaScript/media-module/src/components/TopBar/AssetsFilter/AssetsFilter.module.css","Resources/Private/JavaScript/media-module/src/components/TopBar/ViewModeSelector.module.css","Resources/Private/JavaScript/media-module/src/components/TopBar/SearchBox.module.css","Resources/Private/JavaScript/media-module/src/components/TopBar/TopBar.module.css","Resources/Private/JavaScript/media-module/src/components/Main/ListView.module.css","Resources/Private/JavaScript/media-module/src/components/Main/ListViewItem.module.css","Resources/Private/JavaScript/media-module/src/components/Main/Main.module.css","Resources/Private/JavaScript/media-module/src/components/Main/Thumbnail.module.css","Resources/Private/JavaScript/media-module/src/components/Main/ThumbnailView.module.css","Resources/Private/JavaScript/media-module/src/components/App.module.css","Resources/Private/JavaScript/media-module/src/components/Global.module.css"],"sourcesContent":[".neos-iiR9VW_reset {\n color: #fff;\n margin: 0;\n padding: 0;\n font-family: Noto Sans, sans-serif;\n font-weight: normal;\n}\n\n.neos-iiR9VW_reset, .neos-iiR9VW_reset:before, .neos-iiR9VW_reset:after {\n box-sizing: border-box;\n}\n\n.neos-iiR9VW_reset input, .neos-iiR9VW_reset textarea, .neos-iiR9VW_reset select, .neos-iiR9VW_reset button {\n margin: 0;\n font-size: 14px;\n}\n\n.neos-iiR9VW_reset ul {\n padding: 0;\n}\n\n.neos-iiR9VW_reset li {\n display: block;\n}\n\n.neos-iiR9VW_reset input::-webkit-search-cancel-button {\n display: none;\n}\n\n.neos-iiR9VW_reset input {\n appearance: none;\n}\n\n.neos-6Mnuzq_btn {\n height: 40px;\n min-width: 40px;\n -webkit-font-smoothing: antialiased;\n vertical-align: middle;\n width: auto;\n color: #fff;\n cursor: pointer;\n background-color: #323232;\n border: 0;\n padding: 0 16px;\n font-size: 14px;\n display: inline-block;\n position: relative;\n}\n\n.neos-6Mnuzq_btn:focus {\n outline: 1px solid #00adee;\n}\n\n.neos-6Mnuzq_btn[disabled] {\n opacity: .5;\n cursor: not-allowed;\n}\n\n.neos-6Mnuzq_btn[disabled]:hover, .neos-6Mnuzq_btn[disabled].neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn[disabled]:hover i, .neos-6Mnuzq_btn[disabled] i {\n color: #fff;\n}\n\n.neos-6Mnuzq_btn--size-small {\n height: 32px;\n padding: 0 8px;\n font-size: 13px;\n}\n\n.neos-6Mnuzq_btn--clean {\n background-color: #222;\n}\n\n.neos-6Mnuzq_btn--lighter, .neos-6Mnuzq_btn--lighter i {\n background-color: #3f3f3f;\n}\n\n.neos-6Mnuzq_btn--neutral, .neos-6Mnuzq_btn--neutral i {\n background-color: #323232;\n}\n\n.neos-6Mnuzq_btn--transparent {\n background: 0;\n}\n\n.neos-6Mnuzq_btn--brand, .neos-6Mnuzq_btn--brand i {\n background-color: #00adee;\n color: #fff !important;\n}\n\n.neos-6Mnuzq_btn--success, .neos-6Mnuzq_btn--success i {\n background-color: #00a338;\n color: #fff !important;\n}\n\n.neos-6Mnuzq_btn--warn, .neos-6Mnuzq_btn--warn i {\n background-color: #ff8700;\n}\n\n.neos-6Mnuzq_btn--error, .neos-6Mnuzq_btn--error i {\n background-color: #ff460d;\n color: #fff !important;\n}\n\n.neos-6Mnuzq_btn--brandActive {\n background-color: #00adee;\n}\n\n.neos-6Mnuzq_btn--brandActive svg {\n color: #fff;\n}\n\n.neos-6Mnuzq_btn--brandHover:hover:enabled, .neos-6Mnuzq_btn--brandHover:hover:enabled i, .neos-6Mnuzq_btn--brandHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--brandHover.neos-6Mnuzq_btn--isPressed i {\n background-color: #00adee;\n}\n\n.neos-6Mnuzq_btn--cleanHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--cleanHover.neos-6Mnuzq_btn--isPressed i, .neos-6Mnuzq_btn--cleanHover:hover:enabled, .neos-6Mnuzq_btn--cleanHover:hover:enabled i, :is(.neos-6Mnuzq_btn--cleanHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--cleanHover.neos-6Mnuzq_btn--isPressed i, .neos-6Mnuzq_btn--cleanHover:hover:enabled, .neos-6Mnuzq_btn--cleanHover:hover:enabled i) svg {\n color: #00adee;\n}\n\n.neos-6Mnuzq_btn--darkenHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--darkenHover.neos-6Mnuzq_btn--isPressed i, .neos-6Mnuzq_btn--darkenHover:hover:enabled, .neos-6Mnuzq_btn--darkenHover:hover:enabled i {\n background-color: #0000001a;\n}\n\n.neos-6Mnuzq_btn--successHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--successHover.neos-6Mnuzq_btn--isPressed i, .neos-6Mnuzq_btn--successHover:hover:enabled, .neos-6Mnuzq_btn--successHover:hover:enabled i {\n background-color: #0bb344;\n}\n\n.neos-6Mnuzq_btn--warnHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--warnHover.neos-6Mnuzq_btn--isPressed i, .neos-6Mnuzq_btn--warnHover:hover:enabled, .neos-6Mnuzq_btn--warnHover:hover:enabled i {\n background-color: #fda23d;\n}\n\n.neos-6Mnuzq_btn--errorHover:hover:enabled, .neos-6Mnuzq_btn--errorHover:hover:enabled i, .neos-6Mnuzq_btn--errorHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--errorHover.neos-6Mnuzq_btn--isPressed i {\n background-color: #ff6a3c;\n}\n\n.neos-RjvLTG_icon {\n font: normal normal normal FontAwesome;\n font-size: 14px / 1;\n text-rendering: auto;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n display: inline-block;\n}\n\n.neos-RjvLTG_icon--paddedLeft {\n margin-left: .75em;\n}\n\n.neos-RjvLTG_icon--paddedRight {\n margin-right: .75em;\n}\n\n.neos-RjvLTG_icon--color-warn {\n color: #ff8700;\n}\n\n.neos-RjvLTG_icon--color-error {\n color: #ff460d;\n}\n\n.neos-RjvLTG_icon--color-primaryBlue {\n color: #00adee;\n}\n\n.neos-RjvLTG_icon--huge svg {\n height: 3em;\n}\n\n.neos-RjvLTG_icon--large svg {\n height: 2em;\n}\n\n.neos-RjvLTG_icon--big svg {\n height: 1.33em;\n}\n\n.neos-RjvLTG_icon--small svg {\n height: 1em;\n max-height: 1em;\n max-width: 100%;\n}\n\n.neos-RjvLTG_icon--tiny svg {\n height: .75em;\n}\n\n.neos-RjvLTG_icon--resource {\n width: 100%;\n justify-content: center;\n display: inline-grid;\n}\n\n.neos-am4CoW_checkbox {\n width: 20px;\n height: 20px;\n vertical-align: middle;\n margin-right: 8px;\n display: block;\n position: relative;\n}\n\n.neos-am4CoW_checkbox__input {\n z-index: 1;\n width: 20px;\n height: 20px;\n opacity: 0;\n cursor: pointer;\n position: absolute;\n top: 50%;\n left: 0;\n transform: translateY(-50%);\n}\n\n.neos-am4CoW_checkbox__icon {\n opacity: 0;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%)translateY(-50%);\n}\n\n.neos-am4CoW_checkbox__inputMirror {\n width: 20px;\n height: 20px;\n vertical-align: top;\n background: #3f3f3f;\n border-radius: 2px;\n font-size: 20px;\n font-weight: bold;\n display: inline-block;\n}\n\n.neos-am4CoW_checkbox__inputMirror--active {\n background: #00adee;\n}\n\n.neos-am4CoW_checkbox__checked .neos-am4CoW_checkbox__icon {\n opacity: 1;\n}\n\n.neos-am4CoW_checkbox__disabled {\n opacity: .65;\n cursor: not-allowed;\n}\n\n.neos-am4CoW_checkbox__disabled .neos-am4CoW_checkbox__input {\n cursor: not-allowed;\n}\n\n@keyframes neos-X60ORW_slideDialogContents {\n from {\n opacity: 0;\n transform: translateX(-50%)scale(.9);\n }\n}\n\n.neos-X60ORW_dialog {\n z-index: 1;\n width: 100vw;\n height: 100vh;\n background: #000c;\n position: fixed;\n top: 0;\n left: 0;\n}\n\n.neos-X60ORW_dialog__contentsPosition {\n opacity: 1;\n background: #222;\n border-radius: 0;\n outline: none;\n animation: .3s ease-in-out neos-X60ORW_slideDialogContents;\n position: absolute;\n top: 20vh;\n left: 50%;\n transform: translateX(-50%)scale(1);\n box-shadow: 0 20px 40px #0006;\n}\n\n.neos-X60ORW_dialog__contents {\n width: calc(100vw - 80px);\n max-width: 640px;\n border: 2px solid #3f3f3f;\n transition: max-width .25s;\n position: relative;\n}\n\n.neos-X60ORW_dialog--wide .neos-X60ORW_dialog__contents {\n max-width: 960px;\n}\n\n@media (max-width: 576px) {\n .neos-X60ORW_dialog--wide .neos-X60ORW_dialog__contents {\n max-width: 100vw;\n width: 100vw;\n }\n}\n\n.neos-X60ORW_dialog--jumbo .neos-X60ORW_dialog__contents {\n max-width: 1440px;\n width: 90vw;\n}\n\n@media (max-width: 576px) {\n .neos-X60ORW_dialog--jumbo .neos-X60ORW_dialog__contents {\n max-width: 100vw;\n width: 100vw;\n }\n}\n\n.neos-X60ORW_dialog--narrow .neos-X60ORW_dialog__contents {\n max-width: 400px;\n}\n\n.neos-X60ORW_dialog--success .neos-X60ORW_dialog__contents {\n border-color: #00a338;\n}\n\n.neos-X60ORW_dialog--warn .neos-X60ORW_dialog__contents {\n border-color: #ff8700;\n}\n\n.neos-X60ORW_dialog--error .neos-X60ORW_dialog__contents {\n border-color: #ff460d;\n}\n\n.neos-X60ORW_dialog__title {\n padding: 16px 40px 16px 16px;\n font-size: 20px;\n line-height: 1.2;\n}\n\n.neos-X60ORW_dialog__body {\n max-height: 65vh;\n overflow-y: auto;\n}\n\n@media (max-width: 576px) {\n .neos-X60ORW_dialog__body {\n max-height: 55vh;\n }\n}\n\n.neos-X60ORW_dialog__actions {\n text-align: right;\n margin-top: 16px;\n}\n\n.neos-X60ORW_dialog__closeBtn {\n background: #3f3f3f;\n position: absolute;\n top: 0;\n right: 0;\n}\n\n.neos-X60ORW_dialog__backDrop {\n height: 100%;\n width: 100%;\n position: absolute;\n}\n\n.neos-RwNJjq_heading {\n text-rendering: optimizelegibility;\n font-size: 14px;\n}\n\n.neos-RwNJjq_heading--h1 {\n font-size: 16px;\n}\n\n.neos-SMzb_q_iconButton {\n vertical-align: top;\n width: 40px;\n padding-left: 0;\n padding-right: 0;\n}\n\n.neos-SMzb_q_iconButton--disabled {\n opacity: .65;\n cursor: not-allowed;\n}\n\n.neos-SMzb_q_size-small {\n width: 32px !important;\n min-width: 32px !important;\n}\n\n.neos-7CQSZa_label {\n -webkit-font-smoothing: antialiased;\n cursor: pointer;\n -webkit-user-select: none;\n user-select: none;\n margin-bottom: 4px;\n padding: 0;\n font-size: 14px;\n display: block;\n}\n\n.neos-7CQSZa_label, .neos-7CQSZa_label span {\n max-width: 100%;\n}\n\n.neos-QvCEOa_selectBox__list {\n padding: 0;\n}\n\n.neos-QvCEOa_selectBox {\n composes: reset from \"../reset.module.css\", dropDown from \"./../DropDown/style.css\";\n line-height: 0;\n display: inline-block;\n position: relative;\n}\n\n.neos-QvCEOa_selectBox__btn {\n composes: reset from \"../reset.module.css\", dropDown__btn from \"./../DropDown/style.css\";\n text-overflow: clip;\n height: auto;\n min-height: 40px;\n min-width: 160px;\n border: 0;\n padding-left: 0;\n line-height: 40px;\n display: inline-block;\n position: relative;\n}\n\n.neos-QvCEOa_selectBox__btn--noRightPadding {\n padding-right: 0;\n}\n\n.neos-QvCEOa_selectBox__contents {\n min-width: 160px;\n z-index: 40;\n margin-top: -2px;\n box-shadow: 0 5px 5px #0003;\n}\n\n.neos-QvCEOa_selectBox__contents--hasItems {\n padding: 2px !important;\n}\n\n.neos-QvCEOa_selectBox__item {\n background: #141414;\n border-top: 1px solid #222;\n}\n\n.neos-QvCEOa_selectBox__item div {\n padding: 5px 14px;\n}\n\n.neos-QvCEOa_selectBox__groupHeader {\n text-transform: uppercase;\n background-color: #222;\n padding-left: 16px;\n font-weight: bold;\n line-height: 30px;\n}\n\n.neos-QvCEOa_selectBox--disabled {\n filter: opacity(50%);\n cursor: not-allowed;\n}\n\n.neos-d_677a_listPreviewElement {\n cursor: pointer;\n text-overflow: ellipsis;\n white-space: nowrap;\n padding: 5px 16px;\n font-size: 14px;\n line-height: 30px;\n overflow: hidden;\n}\n\n.neos-d_677a_listPreviewElement--isDisabled {\n color: #999;\n cursor: not-allowed;\n}\n\n.neos-d_677a_listPreviewElement--isHighlighted {\n background-color: #00adee !important;\n}\n\n.neos-d_677a_listPreviewElement--isHighlighted > span {\n color: #fff;\n}\n\n.neos-d_677a_listPreviewElement__icon {\n margin-right: .5em;\n}\n\n.neos-d_677a_listPreviewElement__iconWrapper {\n width: 2em;\n text-align: center;\n display: inline-block;\n padding: 0 !important;\n}\n\n.neos-fwJGCW_dropDown {\n width: 100%;\n display: inline-block;\n position: relative;\n}\n\n.neos-fwJGCW_dropDown__btn {\n width: 100%;\n height: 40px;\n text-align: left;\n color: #fff;\n cursor: pointer;\n text-overflow: ellipsis;\n white-space: nowrap;\n background: #323232;\n border: 0;\n border-radius: 2px;\n padding: 0 16px;\n font-size: 14px;\n line-height: 40px;\n display: block;\n overflow: hidden;\n}\n\n.neos-fwJGCW_dropDown__btn:focus {\n outline: 1px solid #00adee;\n}\n\n.neos-fwJGCW_dropDown__btn svg {\n pointer-events: none;\n}\n\n.neos-fwJGCW_dropDown__btn--withChevron {\n padding-right: 40px;\n}\n\n.neos-fwJGCW_dropDown__btnLabel {\n margin-right: .5em;\n}\n\n.neos-fwJGCW_dropDown__chevron {\n position: absolute;\n top: 50%;\n right: 16px;\n transform: translateY(-50%);\n}\n\n.neos-fwJGCW_dropDown__contents {\n z-index: 1;\n width: 100%;\n background: #323232;\n margin: 0;\n list-style: none;\n display: none;\n position: absolute;\n top: 100%;\n left: 0;\n box-shadow: 0 5px 5px #0003;\n}\n\n.neos-fwJGCW_dropDown__contents--scrollable {\n position: fixed;\n top: auto;\n overflow-y: auto;\n}\n\n.neos-fwJGCW_dropDown__contents--isOpen {\n flex-direction: column;\n display: flex;\n}\n\n.neos-fwJGCW_dropDown--darker > .neos-fwJGCW_dropDown__btn--open, .neos-fwJGCW_dropDown--darker > .neos-fwJGCW_dropDown__contents {\n background-color: #222;\n}\n\n.neos-fwJGCW_dropDown--darkest > .neos-fwJGCW_dropDown__btn--open, .neos-fwJGCW_dropDown--darkest > .neos-fwJGCW_dropDown__contents {\n background-color: #141414;\n}\n\n.neos-fwJGCW_dropDown--padded > .neos-fwJGCW_dropDown__contents {\n padding: 16px;\n}\n\n.neos-Gv_gqG_selectBoxHeader {\n width: 100%;\n display: flex;\n}\n\n.neos-Gv_gqG_selectBoxHeader__innerPreview {\n width: 100%;\n overflow: hidden;\n}\n\n.neos-Gv_gqG_selectBoxHeader__icon {\n height: 100%;\n line-height: 40px;\n}\n\n.neos-Gv_gqG_selectBoxHeader__label, .neos-Gv_gqG_selectBoxHeader__wrapperIconWrapper {\n padding: 0 16px;\n}\n\n.neos-Gv_gqG_selectBoxHeader__wrapperPlaceholderIconWrapper {\n padding: 0 8px 0 0;\n}\n\n.neos-Gv_gqG_selectBoxHeader--disabled {\n cursor: not-allowed;\n}\n\n.neos-x4kw-a_selectBoxHeaderWithSearchInput {\n padding-left: 16px;\n display: flex;\n}\n\n.neos-x4kw-a_selectBoxHeaderWithSearchInput__inputContainer {\n width: 100%;\n}\n\n.neos-x4kw-a_selectBoxHeaderWithSearchInput__input {\n width: 100%;\n color: #fff;\n font-size: 14px;\n}\n\n.neos-x4kw-a_selectBoxHeaderWithSearchInput__input:focus {\n color: #fff !important;\n background: none !important;\n}\n\n.neos-x4kw-a_selectBoxHeaderWithSearchInput__icon {\n height: 40px;\n}\n\n.neos-Y9Uoqa_textInput {\n width: 100%;\n height: 40px;\n color: #fff;\n background: #323232;\n border: 0;\n border-radius: 2px;\n padding: 0 14px;\n font-size: 14px;\n}\n\n.neos-Y9Uoqa_textInput:focus {\n color: #141414;\n background: #fff;\n outline: 0;\n}\n\n.neos-Y9Uoqa_textInput::-webkit-input-placeholder {\n color: #999;\n font-family: Noto Sans, sans-serif;\n font-weight: normal;\n}\n\n.neos-Y9Uoqa_textInput--disabled {\n opacity: .65;\n cursor: not-allowed;\n}\n\n.neos-oqNh0W_tabs {\n height: 100%;\n}\n\n.neos-oqNh0W_tabs__content {\n overflow-y: auto;\n}\n\n.neos-oqNh0W_tabNavigation {\n background: #141414;\n border-bottom: 1px solid #3f3f3f;\n margin: 0;\n padding: 0;\n list-style: none;\n display: block;\n}\n\n.neos-oqNh0W_tabNavigation:before, .neos-oqNh0W_tabNavigation:after {\n content: \"\";\n display: table;\n}\n\n.neos-oqNh0W_tabNavigation:after {\n clear: both;\n}\n\n.neos-oqNh0W_tabNavigation__item {\n float: left;\n color: #fff;\n border-top: 1px solid #3f3f3f;\n border-right: 1px solid #3f3f3f;\n position: relative;\n}\n\n.neos-oqNh0W_tabNavigation__item--isActive {\n cursor: default;\n background-color: #222;\n border-bottom: 1px solid #222;\n margin-bottom: -1px;\n}\n\n.neos-oqNh0W_tabNavigation__item--isActive:after {\n content: \" \";\n height: 2px;\n width: 100%;\n background: #00adee;\n display: block;\n position: absolute;\n top: -1px;\n left: 0;\n right: 0;\n}\n\n.neos-oqNh0W_tabNavigation__item--isActive > .neos-oqNh0W_tabNavigation__itemBtn {\n color: #00adee;\n}\n\n.neos-oqNh0W_tabNavigation__itemBtn {\n height: 40px;\n cursor: pointer;\n background: 0;\n border: 0;\n padding: 0 16px;\n line-height: 40px;\n display: inline-block;\n}\n\n.neos-oqNh0W_tabNavigation__itemBtn:hover {\n color: #00adee;\n}\n\n.neos-oqNh0W_tabNavigation__itemBtn:focus {\n outline: 0;\n}\n\n.neos-oqNh0W_tabNavigation__itemBtnIcon {\n color: currentColor;\n}\n\n.neos-oqNh0W_tabNavigation__itemBtnIcon--hasLabel {\n margin-right: 8px;\n}\n\n.neos-oqNh0W_panel {\n overflow-y: auto;\n}\n\n.neos-HIOrZq_textArea {\n width: 100%;\n height: 40px;\n resize: vertical;\n background: #323232;\n border: 0;\n border-radius: 2px;\n padding: 10px 14px;\n transition: height .3s;\n}\n\n.neos-HIOrZq_textArea:focus {\n color: #141414;\n background: #fff;\n outline: 0;\n}\n\n.neos-HIOrZq_textArea::-webkit-input-placeholder {\n color: #999;\n font-family: Noto Sans, sans-serif;\n}\n\n.neos-HIOrZq_textArea--invalid {\n outline: 2px solid #ff460d !important;\n}\n\n.neos-HIOrZq_textArea--highlight {\n outline: 2px solid #00a338;\n}\n\n.neos-HIOrZq_textArea--disabled {\n opacity: .65;\n cursor: not-allowed;\n}\n\n.neos-l9MESW_panel {\n position: relative;\n}\n\n.neos-l9MESW_panel__headline {\n cursor: pointer;\n height: 40px;\n margin: 0;\n padding: 0 16px;\n font-size: 14px;\n font-weight: bold;\n line-height: 40px;\n}\n\n.neos-l9MESW_panel__headline--noPadding {\n padding: 0;\n}\n\n.neos-l9MESW_panel__toggleBtn {\n position: absolute;\n top: 0;\n right: 0;\n}\n\n.neos-l9MESW_panel__contents {\n padding: 0 16px;\n transition: padding .25s;\n}\n\n.neos-l9MESW_panel--isOpen .neos-l9MESW_panel__contents {\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n.neos-l9MESW_panel--condensed.neos-l9MESW_panel--isOpen .neos-l9MESW_panel__contents {\n padding-top: 0;\n padding-bottom: 0;\n}\n\n.neos-l9MESW_panel__contents--noPadding {\n padding: 0;\n}\n\n.neos-fU9a9G_treeWrapper {\n padding: 5px 0;\n}\n\n.neos-fU9a9G_treeWrapper:focus {\n outline: 0;\n}\n\n.neos-jrPqiW_header {\n margin: 0;\n line-height: 20px;\n position: relative;\n}\n\n.neos-jrPqiW_header__chevron {\n height: 100%;\n width: 18px;\n color: #adadad;\n text-align: center;\n cursor: pointer;\n line-height: 20px;\n position: absolute;\n top: 0;\n left: 0;\n}\n\n.neos-jrPqiW_header__chevron:hover {\n color: #00adee;\n}\n\n.neos-jrPqiW_header__chevron--isCollapsed > svg {\n transform: translateY(3px)translateX(-2px)rotate(-90deg);\n}\n\n.neos-jrPqiW_header__chevron--isHiddenInIndex {\n opacity: .5;\n}\n\n.neos-jrPqiW_header__chevron--isLoading, .neos-jrPqiW_header__chevron--isLoading:hover {\n color: #adadad !important;\n}\n\n.neos-jrPqiW_header__chevron--isLoading > svg {\n margin-top: 6px;\n}\n\n.neos-jrPqiW_header__iconWrapper {\n width: 2em;\n text-align: center;\n display: inline-block;\n position: absolute;\n}\n\n.neos-jrPqiW_header__data {\n min-width: 100%;\n white-space: nowrap;\n cursor: pointer;\n border-left: 2px solid #0000;\n padding: .1em 0;\n display: inline-block;\n position: relative;\n}\n\n.neos-jrPqiW_header__data--isHiddenInIndex {\n opacity: .5;\n}\n\n.neos-jrPqiW_header__data--isHidden {\n text-decoration: line-through;\n}\n\n.neos-jrPqiW_header__data--isDragging {\n opacity: .2;\n}\n\n.neos-jrPqiW_header__data--isDirty {\n border-left: 2px solid #ff8700;\n}\n\n.neos-jrPqiW_header__data--isFocused {\n background: #323232;\n}\n\n.neos-jrPqiW_header__data--isFocused.neos-jrPqiW_header__data--isHiddenInIndex, .neos-jrPqiW_header__data--isFocused.neos-jrPqiW_header__data--isHidden {\n opacity: .8;\n}\n\n.neos-jrPqiW_header__data--acceptsDrop {\n background-color: #00adee;\n}\n\n.neos-jrPqiW_header__data--acceptsDrop *, .neos-jrPqiW_header__data--deniesDrop * {\n pointer-events: none;\n}\n\n.neos-jrPqiW_header__labelWrapper {\n max-width: 264px;\n text-overflow: ellipsis;\n vertical-align: middle;\n line-height: 1.5;\n display: inline-block;\n overflow: hidden;\n}\n\n.neos-jrPqiW_header__label {\n margin-left: 2em;\n}\n\n.neos-jrPqiW_header__data--isActive .neos-jrPqiW_header__label {\n color: #00adee;\n}\n\n.neos-jrPqiW_dropTarget {\n height: 2px;\n padding-left: 15px;\n position: absolute;\n left: 0;\n right: 0;\n}\n\n.neos-jrPqiW_dropTarget--before {\n z-index: 1;\n padding-top: 4px;\n padding-bottom: 4px;\n top: -5px;\n}\n\n.neos-jrPqiW_dropTarget--after {\n z-index: 2;\n padding-top: 6px;\n padding-bottom: 0;\n bottom: 1px;\n}\n\n.neos-jrPqiW_dropTarget__inner {\n visibility: hidden;\n height: 0;\n margin-top: -8px;\n}\n\n.neos-jrPqiW_dropTarget__inner--acceptsDrop {\n z-index: 100000;\n visibility: visible;\n}\n\n.neos-jrPqiW_dropTarget__inner svg {\n fill: #00adee;\n}\n\n.neos-sxnCBW_layer {\n pointer-events: none;\n z-index: 2147483646;\n width: 100%;\n height: 100%;\n position: fixed;\n top: 0;\n left: 0;\n}\n\n.neos-sxnCBW_dragWrapper {\n opacity: .7;\n display: inline-block;\n position: relative;\n left: 0;\n}\n\n.neos-sxnCBW_count {\n z-index: 2147483646;\n width: 20px;\n height: 20px;\n color: #fff;\n text-align: center;\n background-color: #ff460d;\n border-radius: 50%;\n padding: 1px;\n font-size: 12px;\n font-weight: bold;\n position: absolute;\n top: -10px;\n left: 5px;\n}\n\n.neos-sxnCBW_node {\n width: 280px;\n background-color: #323232;\n border: 1px solid #3f3f3f;\n position: absolute;\n}\n\n.neos-P4wKfG_selectedOptions {\n width: 100%;\n padding-left: 0;\n list-style: none;\n position: relative;\n}\n\n.neos-2_NI5a_selectedOptions__item {\n width: 100%;\n background: #141414;\n border-bottom: 1px solid #222;\n border-radius: 2px;\n display: flex;\n position: relative;\n}\n\n.neos-2_NI5a_selectedOptions__item:hover .neos-2_NI5a_selectedOptions__itemIcon {\n display: none;\n}\n\n.neos-2_NI5a_selectedOptions__item:hover .neos-2_NI5a_selectedOptions__itemIcon--onHover {\n display: inline;\n}\n\n.neos-2_NI5a_selectedOptions__item--draggable {\n cursor: move;\n}\n\n.neos-2_NI5a_selectedOptions__innerPreview {\n width: 100%;\n border-right: 1px solid #222;\n overflow: hidden;\n}\n\n.neos-2_NI5a_selectedOptions__innerPreview > div {\n box-shadow: none !important;\n}\n\n.neos-2_NI5a_selectedOption__removeButton {\n height: auto;\n background: #323232;\n border-top-right-radius: 2px;\n border-bottom-right-radius: 2px;\n}\n\n.neos-2_NI5a_selectedOption__moveButton {\n cursor: move;\n height: auto;\n width: 20px;\n min-width: 20px;\n color: #3f3f3f;\n border-right: 1px solid #222;\n border-top-left-radius: 2px;\n border-bottom-left-radius: 2px;\n}\n\n.neos-2_NI5a_selectedOption__moveButton svg {\n color: #3f3f3f;\n}\n\n.neos-2_NI5a_selectedOption__moveButton:hover, .neos-2_NI5a_selectedOption__moveButton:focus {\n background: #3f3f3f;\n color: #999 !important;\n}\n\n:is(.neos-2_NI5a_selectedOption__moveButton:hover, .neos-2_NI5a_selectedOption__moveButton:focus) svg {\n color: #999 !important;\n}\n\n.neos-47-Tdq_multiLineWithThumbnail__item {\n box-sizing: content-box;\n background: #141414;\n}\n\n.neos-47-Tdq_multiLineWithThumbnail__item--multiLine {\n line-height: 20px;\n}\n\n.neos-47-Tdq_multiLineWithThumbnail__secondaryLabel, .neos-47-Tdq_multiLineWithThumbnail__tertiaryLabel {\n color: #999;\n text-overflow: ellipsis;\n font-size: 12px;\n display: block;\n overflow: hidden;\n}\n\n.neos-47-Tdq_multiLineWithThumbnail__image {\n width: 74.48px;\n height: 56px;\n object-fit: contain;\n vertical-align: middle;\n background-color: #fff;\n background-image: linear-gradient(45deg, #ccc 25%, #0000 25% 75%, #ccc 75%, #ccc), linear-gradient(45deg, #ccc 25%, #0000 25% 75%, #ccc 75%, #ccc);\n background-position: 0 0, 25px 25px;\n background-size: 10px 10px;\n margin: -8px .75em -8px -16px;\n display: inline-block;\n}\n\n.neos-47-Tdq_multiLineWithThumbnail__item:hover .neos-47-Tdq_multiLineWithThumbnail__secondaryLabel, .neos-47-Tdq_multiLineWithThumbnail__item:hover .neos-47-Tdq_multiLineWithThumbnail__tertiaryLabel {\n color: #fff;\n}\n\n._5ormcG_mediaModuleTheme {\n --theme-grayDarker: var(--grayDarker, #141414);\n --theme-grayDark: var(--grayDark, #222);\n --theme-grayMedium: var(--grayMedium, #323232);\n --theme-grayLight: var(--grayLight, #3f3f3f);\n --theme-grayLighter: var(--grayLighter, #eee);\n --theme-textOnWhite: var(--textOnWhite, #252525);\n --theme-textContrast: var(--textContrast, #2d2d2d);\n --theme-textOnGray: var(--textOnGray, #fff);\n --theme-textSubtle: var(--textSubtle, #5b5b5b);\n --theme-textSubtleLight: var(--textSubtleLight, #adadad);\n --theme-blue: var(--blue, #00b5ff);\n --theme-blueLight: var(--blueLight, #39c6ff);\n --theme-blueDark: var(--blueDark, #007fb2);\n --theme-green: var(--green, #00a338);\n --theme-warning: var(--warning, #ff460d);\n --theme-orange: var(--orange, #ff8700);\n --theme-colors-PrimaryViolet: var(--colors-PrimaryViolet, #26224c);\n --theme-colors-PrimaryVioletHover: var(--colors-PrimaryVioletHover, #342f5f);\n --theme-colors-PrimaryBlue: var(--colors-PrimaryBlue, #00adee);\n --theme-colors-PrimaryBlueHover: var(--colors-PrimaryBlueHover, #35c3f8);\n --theme-colors-ContrastDarkest: var(--colors-ContrastDarkest, var(--theme-grayDarker));\n --theme-colors-ContrastDarker: var(--colors-ContrastDarker, var(--theme-grayDark));\n --theme-colors-ContrastDark: var(--colors-ContrastDark, var(--theme-grayLight));\n --theme-colors-ContrastNeutral: var(--colors-ContrastNeutral, var(--theme-grayMedium));\n --theme-colors-ContrastBright: var(--colors-ContrastBright, #999);\n --theme-colors-ContrastBrighter: var(--colors-ContrastBrighter, var(--theme-textSubtleLight));\n --theme-colors-ContrastBrightest: var(--colors-ContrastBrightest, var(--theme-textOnGray));\n --theme-colors-Success: var(--colors-Success, var(--theme-green));\n --theme-colors-SuccessHover: var(--colors-SuccessHover, #0bb344);\n --theme-colors-Warn: var(--colors-Warn, var(--theme-orange));\n --theme-colors-WarnHover: var(--colors-WarnHover, #fda23d);\n --theme-colors-Error: var(--colors-Error, var(--theme-warning));\n --theme-colors-ErrorHover: var(--colors-ErrorHover, #ff6a3c);\n --theme-colors-UncheckedCheckboxTick: var(--colors-UncheckedCheckboxTick, var(--theme-textSubtle));\n --theme-spacing-GoldenUnit: var(--spacing-GoldenUnit, 40px);\n --theme-spacing-Full: var(--spacing-Full, 16px);\n --theme-spacing-Half: var(--spacing-Half, 8px);\n --theme-spacing-Quarter: var(--spacing-Quarter, 4px);\n --theme-unit: var(--unit, 40px);\n --theme-defaultMargin: var(--defaultMargin, 16px);\n --theme-relatedMargin: var(--relatedMargin, 8px);\n --theme-tightMargin: var(--tightMargin, 4px);\n --theme-wideMargin: var(--wideMargin, 32px);\n --theme-fontSize-base: 14px;\n --theme-fontSize-small: 12px;\n --theme-transition-fast: .1s;\n --theme-transition-default: .25s;\n --theme-transition-slow: .5s;\n --theme-colors-border: var(--theme-colors-ContrastDark);\n --theme-colors-alternatingBackground: var(--theme-colors-ContrastDark);\n --theme-colors-mainBackground: var(--theme-colors-ContrastNeutral);\n --theme-colors-inactive: var(--theme-colors-ContrastBright);\n --theme-colors-scrollbarForeground: var(--theme-colors-ContrastBright);\n --theme-colors-scrollbarBackground: transparent;\n --theme-colors-moduleBackground: var(--theme-colors-ContrastDarker);\n --theme-colors-tableHeader: var(--theme-colors-ContrastDark);\n --theme-colors-assetBackground: var(--theme-colors-ContrastDarkest);\n --theme-colors-captionBackground: var(--theme-colors-ContrastNeutral);\n --theme-colors-text: var(--theme-colors-ContrastBright);\n --theme-colors-disabled: var(--theme-colors-ContrastDark);\n --theme-colors-star: var(--theme-orange);\n --theme-zIndex-pagination: 10022;\n --theme-zIndex-lightbox: 10023;\n --theme-zIndex-loadingIndicator: 10024;\n --theme-size-sidebarWidth: calc(320px - 2 * var(--theme-spacing-Full));\n --theme-size-scrollbarSize: 4px;\n}\n\n.MSmIxq_assetLabel {\n white-space: nowrap;\n text-overflow: ellipsis;\n display: inline-block;\n overflow: hidden;\n}\n\n.kvTLDq_column {\n grid-gap: var(--theme-spacing-Full);\n height: 100%;\n grid-template-columns: 100%;\n grid-auto-rows: minmax(min-content, max-content);\n display: grid;\n overflow-x: hidden;\n overflow-y: auto;\n}\n\n.AhglKq_wrapper {\n height: var(--theme-spacing-GoldenUnit);\n align-items: center;\n gap: var(--theme-spacing-Half);\n display: flex;\n}\n\n.AhglKq_iconWrap {\n display: flex;\n}\n\n.AhglKq_label {\n -webkit-user-select: none;\n user-select: none;\n font-weight: bold;\n}\n\n.AhglKq_imgIcon {\n width: auto;\n height: 18px;\n}\n\n.QnHc5G_propertyList {\n width: 100%;\n max-width: 100%;\n overflow: hidden;\n}\n\n.QnHc5G_propertyList dt {\n background-color: var(--theme-colors-alternatingBackground);\n color: #fff;\n padding: var(--theme-spacing-Half) var(--theme-spacing-Half) 0;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-weight: bold;\n}\n\n.QnHc5G_propertyList dd {\n background-color: var(--theme-colors-alternatingBackground);\n color: var(--theme-colors-inactive);\n padding: var(--theme-spacing-Half);\n text-overflow: ellipsis;\n white-space: nowrap;\n margin: 0 0 1px;\n overflow-x: hidden;\n}\n\n.UWhRka_iconStack {\n position: relative;\n}\n\n.UWhRka_iconStack svg:nth-child(2) {\n max-width: .8em;\n max-height: .8em;\n color: var(--theme-colors-star);\n filter: drop-shadow(0 -1px #a60);\n position: absolute;\n bottom: 1px;\n right: 2px;\n}\n\n.i_NNWq_plusIcon {\n width: 9px !important;\n top: 15px !important;\n left: 13px !important;\n}\n\n.w3jxYa_plusIcon {\n width: 9px !important;\n top: 13px !important;\n left: 11px !important;\n}\n\n.YYR6BW_assetCollectionTree {\n border: 1px solid var(--theme-colors-border);\n max-height: 600px;\n flex-direction: column;\n display: flex;\n}\n\n.YYR6BW_assetCollectionTree > * {\n display: block;\n}\n\n.YYR6BW_viewSelection [role=\"button\"] > * {\n width: auto;\n margin-right: var(--theme-spacing-Half);\n}\n\n.YYR6BW_toolbar {\n border-top: 1px solid var(--theme-colors-border);\n}\n\n.YYR6BW_tree {\n border-top: 1px solid var(--theme-colors-border);\n overflow: auto;\n}\n\n.YYDVBq_formBody {\n padding: var(--theme-spacing-Full);\n}\n\n.CkrZ6q_formBody {\n padding: var(--theme-spacing-Full);\n}\n\n.rgxNBa_clipboardItem {\n cursor: pointer;\n min-width: var(--theme-spacing-GoldenUnit);\n width: var(--theme-spacing-GoldenUnit);\n height: var(--theme-spacing-GoldenUnit);\n background: none;\n border: none;\n}\n\n.rgxNBa_clipboardItem img {\n width: 100%;\n height: 100%;\n object-fit: contain;\n display: block;\n}\n\n.vygmma_clipboardToggle {\n height: 100%;\n -webkit-user-select: none;\n user-select: none;\n justify-content: center;\n align-self: flex-end;\n align-items: center;\n margin: 0 -.3rem;\n display: flex;\n}\n\n.vygmma_clipboardToggle > * {\n margin: 0 .3rem;\n}\n\n.zrw9kW_clipboardActions {\n background-color: var(--theme-colors-ContrastNeutral);\n align-items: baseline;\n display: flex;\n}\n\n.DdyBta_assetSourceDescription {\n border: 1px solid var(--theme-colors-border);\n}\n\n.DdyBta_assetSourceDescription .DdyBta_ReactCollapse--collapse {\n transition: height var(--theme-transition-slow);\n}\n\n.DdyBta_panelHeader button {\n justify-content: center;\n align-items: center;\n display: flex;\n position: absolute;\n}\n\n.y0bjba_assetSourceList {\n border: 1px solid var(--theme-colors-border);\n flex-direction: column;\n display: flex;\n}\n\n.y0bjba_header {\n border-bottom: 1px solid var(--theme-colors-border);\n padding: 0 var(--theme-spacing-Full);\n}\n\n.y0bjba_item {\n cursor: pointer;\n -webkit-user-select: none;\n user-select: none;\n padding: 0 var(--theme-spacing-Full);\n color: var(--theme-colors-ContrastBrightest);\n background: none;\n border: none;\n align-items: center;\n font-weight: normal;\n display: flex;\n}\n\n.y0bjba_item:hover, .y0bjba_itemSelected {\n color: var(--theme-colors-PrimaryBlue);\n}\n\n.y0bjba_itemLabel {\n grid-template-columns: 20px 1fr;\n display: grid;\n}\n\n.y0bjba_itemLabel span {\n font-weight: normal;\n}\n\n.I2Dv7q_dialogBody {\n padding: var(--theme-spacing-Full);\n}\n\n.I2Dv7q_modalTitle {\n margin-left: var(--theme-spacing-Full);\n}\n\n._9TZJrW_usageSection h2 {\n font-size: var(--theme-fontSize-base);\n margin: 0;\n padding: 0;\n font-weight: bold;\n}\n\n._9TZJrW_usageTable {\n width: 100%;\n margin-top: var(--theme-spacing-Full);\n line-height: 1.5;\n}\n\n._9TZJrW_usageTable th {\n text-align: left;\n font-weight: bold;\n}\n\n._9TZJrW_usageTable td, ._9TZJrW_usageTable th {\n padding: var(--theme-spacing-Quarter);\n}\n\n._9TZJrW_usageTable td:first-child, ._9TZJrW_usageTable th:first-child {\n padding-left: 0;\n}\n\n._9TZJrW_usageTable td:last-child, ._9TZJrW_usageTable th:last-child {\n padding-right: 0;\n}\n\n._9TZJrW_usageTable._9TZJrW_usageTable a {\n color: var(--theme-colors-PrimaryBlue);\n}\n\n._9TZJrW_usageTable._9TZJrW_usageTable a:hover {\n color: var(--theme-colors-PrimaryBlueHover);\n text-decoration: underline;\n}\n\n._9TZJrW_usageTable li {\n list-style-type: disc;\n}\n\n._9TZJrW_usageTable li ul {\n padding-left: 1rem;\n}\n\n._9TZJrW_usageTable li ul li {\n display: list-item;\n}\n\n._HqK-W_assetUsage {\n padding: var(--theme-spacing-Full);\n line-height: 1em;\n}\n\n._HqK-W_assetUsage section + section {\n margin-top: var(--theme-spacing-Full);\n}\n\n._HqK-W_usageTable {\n width: 100%;\n}\n\n._HqK-W_usageTable th {\n text-align: left;\n font-weight: bold;\n}\n\n._HqK-W_usageTable td, ._HqK-W_usageTable th {\n padding: var(--theme-spacing-Quarter);\n}\n\n._HqK-W_usageTable td:first-child, ._HqK-W_usageTable th:first-child {\n padding-left: 0;\n}\n\n._HqK-W_usageTable td:last-child, ._HqK-W_usageTable th:last-child {\n padding-right: 0;\n}\n\n._HqK-W_neos ._HqK-W_usageTable a {\n color: var(--theme-colors-PrimaryBlue);\n}\n\n._HqK-W_neos ._HqK-W_usageTable a:hover {\n color: var(--theme-colors-PrimaryBlue);\n text-decoration: underline;\n}\n\n.mL8aSq_similarAsset {\n flex-direction: column;\n margin: 0;\n display: flex;\n position: relative;\n}\n\n.mL8aSq_picture {\n background-color: var(--theme-colors-assetBackground);\n}\n\n.mL8aSq_picture img {\n height: 250px;\n width: 100%;\n object-fit: contain;\n display: block;\n}\n\n.mL8aSq_caption {\n background-color: var(--theme-colors-captionBackground);\n transition: background-color var(--theme-transition-fast);\n padding: var(--theme-spacing-Half);\n flex: 1;\n align-items: center;\n display: flex;\n}\n\n.mL8aSq_caption img {\n width: 1.3rem;\n height: auto;\n margin-right: var(--theme-spacing-Half);\n}\n\n.-zEGyG_assetUsage {\n gap: var(--theme-spacing-Full);\n padding: var(--theme-spacing-Full);\n grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));\n display: grid;\n}\n\n.GRZadW_dropzone {\n padding: var(--theme-spacing-GoldenUnit);\n border-width: 2px;\n border-color: var(--theme-colors-disabled);\n background-color: var(--theme-colors-alternatingBackground);\n color: var(--theme-colors-text);\n cursor: pointer;\n -webkit-user-select: none;\n user-select: none;\n border-style: dashed;\n border-radius: 2px;\n outline: none;\n flex-direction: column;\n align-items: center;\n transition: border .24s ease-in-out;\n display: flex;\n}\n\n.GRZadW_dropzone p {\n margin: 0;\n line-height: 1.6;\n}\n\n.GRZadW_dropzone--active {\n border-color: var(--theme-colors-PrimaryBlue);\n}\n\n.GRZadW_dropzone--accept {\n border-color: var(--theme-colors-Success);\n}\n\n.GRZadW_dropzone--reject {\n border-color: var(--theme-colors-Error);\n}\n\n._3DPMWa_fileList {\n margin-top: var(--theme-spacing-Full);\n flex-flow: wrap;\n display: flex;\n}\n\n._3DPMWa_fileListHeader {\n margin-bottom: var(--theme-spacing-Full);\n font-size: var(--theme-fontSize-base);\n flex: 100%;\n}\n\n._3DPMWa_thumb {\n margin-bottom: var(--theme-spacing-Half);\n margin-right: var(--theme-spacing-Half);\n width: 100px;\n height: 100px;\n padding: var(--theme-spacing-Quarter);\n box-sizing: border-box;\n border: 1px solid #eaeaea;\n border-radius: 2px;\n display: inline-flex;\n}\n\n._3DPMWa_thumbInner {\n width: 100%;\n height: 100%;\n justify-content: center;\n align-items: center;\n display: flex;\n position: relative;\n}\n\n._3DPMWa_thumbInner span {\n margin-left: var(--theme-spacing-Half);\n -webkit-user-select: none;\n user-select: none;\n}\n\n._3DPMWa_img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n z-index: -1;\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n}\n\n._3DPMWa_thumbInner:after {\n content: \"\";\n background-color: var(--theme-colors-alternatingBackground);\n opacity: .3;\n z-index: -1;\n display: none;\n position: absolute;\n inset: 0;\n}\n\n._3DPMWa_loading {\n border-color: var(--theme-colors-border);\n}\n\n._3DPMWa_loading ._3DPMWa_thumbInner:after {\n display: block;\n}\n\n._3DPMWa_success {\n border-color: var(--theme-colors-Success);\n}\n\n._3DPMWa_success ._3DPMWa_thumbInner:after {\n background-color: var(--theme-colors-Success);\n display: block;\n}\n\n._3DPMWa_error {\n border-color: var(--theme-colors-Error);\n}\n\n._3DPMWa_error ._3DPMWa_thumbInner:after {\n background-color: var(--theme-colors-Error);\n display: block;\n}\n\n._3DPMWa_warning {\n color: var(--theme-colors-Warn);\n}\n\n.YW0qpa_fileList {\n margin-top: var(--theme-spacing-Full);\n flex-flow: wrap;\n display: flex;\n}\n\n.YW0qpa_fileListHeader {\n margin-bottom: var(--theme-spacing-Full);\n font-size: var(--theme-fontSize-base);\n flex: 100%;\n}\n\n.j3Ge9q_uploadArea {\n padding: var(--theme-spacing-Full);\n}\n\n.TdFhBW_uploadArea {\n padding: var(--theme-spacing-Full);\n}\n\n.TdFhBW_optionSection {\n margin-top: var(--theme-spacing-Full);\n margin-bottom: var(--theme-spacing-Full);\n}\n\n.TdFhBW_option {\n margin-top: var(--theme-spacing-Half);\n margin-bottom: var(--theme-spacing-Half);\n}\n\n.TdFhBW_label {\n display: flex !important;\n}\n\n.SKOLBW_uploadButton {\n display: flex;\n}\n\n.SKOLBW_uploadButton button {\n flex: 1;\n}\n\n@keyframes closeWindow {\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n}\n\n.ril__outer {\n z-index: 1000;\n width: 100%;\n height: 100%;\n -ms-content-zooming: none;\n -ms-user-select: none;\n -ms-touch-select: none;\n touch-action: none;\n background-color: #000000d9;\n outline: none;\n inset: 0;\n}\n\n.ril__outerClosing {\n opacity: 0;\n}\n\n.ril__inner {\n position: absolute;\n inset: 0;\n}\n\n.ril__image, .ril__imagePrev, .ril__imageNext {\n max-width: none;\n -ms-content-zooming: none;\n -ms-user-select: none;\n -ms-touch-select: none;\n touch-action: none;\n margin: auto;\n position: absolute;\n inset: 0;\n}\n\n.ril__imageDiscourager {\n background-position: center;\n background-repeat: no-repeat;\n background-size: contain;\n}\n\n.ril__navButtons {\n width: 20px;\n height: 34px;\n cursor: pointer;\n opacity: .7;\n border: none;\n margin: auto;\n padding: 40px 30px;\n position: absolute;\n top: 0;\n bottom: 0;\n}\n\n.ril__navButtons:hover {\n opacity: 1;\n}\n\n.ril__navButtons:active {\n opacity: .7;\n}\n\n.ril__navButtonPrev {\n background: #0003 url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjIwIiBoZWlnaHQ9IjM0Ij48cGF0aCBkPSJtIDE5LDMgLTIsLTIgLTE2LDE2IDE2LDE2IDEsLTEgLTE1LC0xNSAxNSwtMTUgeiIgZmlsbD0iI0ZGRiIvPjwvc3ZnPg==\") center no-repeat;\n left: 0;\n}\n\n.ril__navButtonNext {\n background: #0003 url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjIwIiBoZWlnaHQ9IjM0Ij48cGF0aCBkPSJtIDEsMyAyLC0yIDE2LDE2IC0xNiwxNiAtMSwtMSAxNSwtMTUgLTE1LC0xNSB6IiBmaWxsPSIjRkZGIi8+PC9zdmc+\") center no-repeat;\n right: 0;\n}\n\n.ril__downloadBlocker {\n background-image: url(\"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\");\n background-size: cover;\n position: absolute;\n inset: 0;\n}\n\n.ril__caption, .ril__toolbar {\n background-color: #00000080;\n justify-content: space-between;\n display: flex;\n position: absolute;\n left: 0;\n right: 0;\n}\n\n.ril__caption {\n max-height: 150px;\n bottom: 0;\n overflow: auto;\n}\n\n.ril__captionContent {\n color: #fff;\n padding: 10px 20px;\n}\n\n.ril__toolbar {\n height: 50px;\n top: 0;\n}\n\n.ril__toolbarSide {\n height: 50px;\n margin: 0;\n}\n\n.ril__toolbarLeftSide {\n text-overflow: ellipsis;\n flex: 0 auto;\n padding-left: 20px;\n padding-right: 0;\n overflow: hidden;\n}\n\n.ril__toolbarRightSide {\n flex: none;\n padding-left: 0;\n padding-right: 20px;\n}\n\n.ril__toolbarItem {\n color: #fff;\n max-width: 100%;\n text-overflow: ellipsis;\n white-space: nowrap;\n padding: 0;\n font-size: 120%;\n line-height: 50px;\n display: inline-block;\n overflow: hidden;\n}\n\n.ril__toolbarItemChild {\n vertical-align: middle;\n}\n\n.ril__builtinButton {\n width: 40px;\n height: 35px;\n cursor: pointer;\n opacity: .7;\n border: none;\n}\n\n.ril__builtinButton:hover {\n opacity: 1;\n}\n\n.ril__builtinButton:active {\n outline: none;\n}\n\n.ril__builtinButtonDisabled {\n cursor: default;\n opacity: .5;\n}\n\n.ril__builtinButtonDisabled:hover {\n opacity: .5;\n}\n\n.ril__closeButton {\n background: url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjIwIiBoZWlnaHQ9IjIwIj48cGF0aCBkPSJtIDEsMyAxLjI1LC0xLjI1IDcuNSw3LjUgNy41LC03LjUgMS4yNSwxLjI1IC03LjUsNy41IDcuNSw3LjUgLTEuMjUsMS4yNSAtNy41LC03LjUgLTcuNSw3LjUgLTEuMjUsLTEuMjUgNy41LC03LjUgLTcuNSwtNy41IHoiIGZpbGw9IiNGRkYiLz48L3N2Zz4=\") center no-repeat;\n}\n\n.ril__zoomInButton {\n background: url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGcgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PHBhdGggZD0iTTEgMTlsNi02Ii8+PHBhdGggZD0iTTkgOGg2Ii8+PHBhdGggZD0iTTEyIDV2NiIvPjwvZz48Y2lyY2xlIGN4PSIxMiIgY3k9IjgiIHI9IjciIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIyIi8+PC9zdmc+\") center no-repeat;\n}\n\n.ril__zoomOutButton {\n background: url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGcgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PHBhdGggZD0iTTEgMTlsNi02Ii8+PHBhdGggZD0iTTkgOGg2Ii8+PC9nPjxjaXJjbGUgY3g9IjEyIiBjeT0iOCIgcj0iNyIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjIiLz48L3N2Zz4=\") center no-repeat;\n}\n\n.ril__outerAnimating {\n animation-name: closeWindow;\n}\n\n@keyframes pointFade {\n 0%, 19.999%, 100% {\n opacity: 0;\n }\n\n 20% {\n opacity: 1;\n }\n}\n\n.ril__loadingCircle {\n width: 60px;\n height: 60px;\n position: relative;\n}\n\n.ril__loadingCirclePoint {\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n}\n\n.ril__loadingCirclePoint:before {\n content: \"\";\n width: 11%;\n height: 30%;\n background-color: #fff;\n border-radius: 30%;\n margin: 0 auto;\n animation: .8s ease-in-out infinite both pointFade;\n display: block;\n}\n\n.ril__loadingCirclePoint:nth-of-type(1) {\n transform: rotate(0);\n}\n\n.ril__loadingCirclePoint:nth-of-type(7) {\n transform: rotate(180deg);\n}\n\n.ril__loadingCirclePoint:nth-of-type(1):before, .ril__loadingCirclePoint:nth-of-type(7):before {\n animation-delay: -800ms;\n}\n\n.ril__loadingCirclePoint:nth-of-type(2) {\n transform: rotate(30deg);\n}\n\n.ril__loadingCirclePoint:nth-of-type(8) {\n transform: rotate(210deg);\n}\n\n.ril__loadingCirclePoint:nth-of-type(2):before, .ril__loadingCirclePoint:nth-of-type(8):before {\n animation-delay: -666ms;\n}\n\n.ril__loadingCirclePoint:nth-of-type(3) {\n transform: rotate(60deg);\n}\n\n.ril__loadingCirclePoint:nth-of-type(9) {\n transform: rotate(240deg);\n}\n\n.ril__loadingCirclePoint:nth-of-type(3):before, .ril__loadingCirclePoint:nth-of-type(9):before {\n animation-delay: -533ms;\n}\n\n.ril__loadingCirclePoint:nth-of-type(4) {\n transform: rotate(90deg);\n}\n\n.ril__loadingCirclePoint:nth-of-type(10) {\n transform: rotate(270deg);\n}\n\n.ril__loadingCirclePoint:nth-of-type(4):before, .ril__loadingCirclePoint:nth-of-type(10):before {\n animation-delay: -400ms;\n}\n\n.ril__loadingCirclePoint:nth-of-type(5) {\n transform: rotate(120deg);\n}\n\n.ril__loadingCirclePoint:nth-of-type(11) {\n transform: rotate(300deg);\n}\n\n.ril__loadingCirclePoint:nth-of-type(5):before, .ril__loadingCirclePoint:nth-of-type(11):before {\n animation-delay: -266ms;\n}\n\n.ril__loadingCirclePoint:nth-of-type(6) {\n transform: rotate(150deg);\n}\n\n.ril__loadingCirclePoint:nth-of-type(12) {\n transform: rotate(330deg);\n}\n\n.ril__loadingCirclePoint:nth-of-type(6):before, .ril__loadingCirclePoint:nth-of-type(12):before {\n animation-delay: -133ms;\n}\n\n.ril__loadingCirclePoint:nth-of-type(7) {\n transform: rotate(180deg);\n}\n\n.ril__loadingCirclePoint:nth-of-type(13) {\n transform: rotate(360deg);\n}\n\n.ril__loadingCirclePoint:nth-of-type(7):before, .ril__loadingCirclePoint:nth-of-type(13):before {\n animation-delay: 0s;\n}\n\n.ril__loadingContainer {\n position: absolute;\n inset: 0;\n}\n\n.ril__imagePrev .ril__loadingContainer, .ril__imageNext .ril__loadingContainer {\n display: none;\n}\n\n.ril__errorContainer {\n color: #fff;\n justify-content: center;\n align-items: center;\n display: flex;\n position: absolute;\n inset: 0;\n}\n\n.ril__imagePrev .ril__errorContainer, .ril__imageNext .ril__errorContainer {\n display: none;\n}\n\n.ril__loadingContainer__icon {\n color: #fff;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%)translateY(-50%);\n}\n\n.g4samW_lightbox .g4samW_ril__image {\n max-width: 100%;\n}\n\n._7s7pAW_editArea {\n padding: var(--theme-spacing-Full);\n}\n\n._7s7pAW_filenameInput {\n flex: 100%;\n}\n\n._7s7pAW_label {\n align-items: baseline;\n gap: var(--theme-spacing-Half) 0;\n flex-wrap: wrap;\n display: flex !important;\n}\n\n._7s7pAW_label + label {\n margin-top: var(--theme-spacing-Full);\n}\n\n.hpr5wG_actions {\n background-color: var(--theme-colors-mainBackground);\n display: flex;\n position: sticky;\n bottom: 0;\n}\n\n.hpr5wG_actions > * {\n flex: 1;\n}\n\n.Ei69Yq_inspector {\n gap: var(--theme-spacing-Full);\n grid-template-columns: minmax(0, 1fr);\n grid-auto-rows: auto;\n display: grid;\n}\n\n.Ei69Yq_inspector input, .Ei69Yq_inspector textarea {\n width: 100%;\n}\n\n.Hl9FHG_collectionSelectBox input {\n background-color: #0000 !important;\n border: none !important;\n}\n\n.Hl9FHG_collectionSelectBox svg {\n align-self: center;\n}\n\n.GS2huq_variantContainer {\n background-color: var(--theme-colors-assetBackground);\n}\n\n.GS2huq_picture {\n height: 200px;\n justify-content: center;\n align-items: center;\n display: flex;\n}\n\n.GS2huq_image {\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n background-image: repeating-linear-gradient(45deg, #999 25%, #0000 25% 75%, #999 75%, #999), repeating-linear-gradient(45deg, #999 25%, #e5e5f7 25% 75%, #999 75%, #999);\n background-position: 0 0, 10px 10px;\n background-size: 20px 20px;\n display: block;\n}\n\n.GS2huq_caption {\n padding: var(--theme-spacing-Half);\n background-color: var(--theme-colors-captionBackground);\n justify-content: space-between;\n align-items: center;\n display: flex;\n}\n\n.GS2huq_infoContainer {\n min-width: 0;\n max-width: var(--theme-size-sidebarWidth);\n flex-direction: column;\n display: flex;\n}\n\n.GS2huq_info {\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.GS2huq_variantSizes {\n font-size: var(--theme-fontSize-small);\n}\n\n.RPvqMq_variantsContainer {\n padding: var(--theme-spacing-Full) var(--theme-spacing-Half);\n}\n\n.RPvqMq_variantsContainer h1 {\n font-size: var(--theme-fontSize-base);\n margin: 0;\n padding: 0;\n}\n\n.RPvqMq_variantItem {\n margin-top: var(--theme-spacing-Full);\n}\n\n.gOSwCW_tasks {\n gap: var(--theme-spacing-Half);\n flex-direction: column;\n display: flex;\n}\n\n.gOSwCW_tasks button {\n align-items: center;\n gap: .5em;\n display: flex;\n}\n\n.QsDLeW_textArea {\n padding: var(--theme-spacing-Half) !important;\n}\n\n.QsDLeW_propertyPanelHeader h2 {\n padding: 0;\n}\n\n.QsDLeW_propertyPanelHeader button {\n justify-content: center;\n align-items: center;\n display: flex;\n position: absolute;\n}\n\n.QsDLeW_propertyPanelContents {\n gap: var(--theme-spacing-Full);\n flex-direction: column;\n padding: 0;\n display: flex;\n}\n\n._5E9l1q_tabContent {\n height: calc(100% - 42px);\n}\n\n.cQ-_Aa_collectionSelectBox input {\n background-color: #0000 !important;\n border: none !important;\n}\n\n.cQ-_Aa_collectionSelectBox svg {\n align-self: center;\n}\n\n._8r-_bG_iptcData dl dt {\n background-color: var(--theme-colors-alternatingBackground);\n color: #fff;\n padding: var(--theme-spacing-Half) var(--theme-spacing-Half) 0;\n font-weight: bold;\n}\n\n._8r-_bG_iptcData dl dd {\n background-color: var(--theme-colors-alternatingBackground);\n padding: var(--theme-spacing-Half);\n color: var(--theme-colors-inactive);\n margin-bottom: 1px;\n}\n\n.zzq2Ja_currentSelection {\n flex-wrap: wrap;\n align-items: center;\n display: flex;\n overflow: hidden;\n}\n\n.zzq2Ja_headline {\n -webkit-user-select: none;\n user-select: none;\n font-weight: bold;\n line-height: var(--theme-spacing-GoldenUnit);\n flex: 100%;\n}\n\n.zzq2Ja_label svg {\n margin-right: var(--theme-spacing-Half);\n}\n\n.zzq2Ja_breadcrumb {\n gap: var(--theme-spacing-Quarter);\n padding: var(--theme-spacing-Quarter);\n flex-wrap: wrap;\n display: flex;\n}\n\n.zzq2Ja_breadcrumb button {\n background-color: var(--theme-colors-alternatingBackground);\n color: var(--theme-colors-ContrastBrightest);\n text-overflow-ellipsis: ellipsis;\n border: none;\n flex: none;\n display: block;\n overflow: hidden;\n}\n\n.zzq2Ja_breadcrumb button:hover {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n\n@keyframes _5GQP0G_cssLoadWidth {\n 0%, 100% {\n transition-timing-function: cubic-bezier(1, 0, .65, .85);\n }\n\n 0% {\n width: 0;\n }\n\n 100% {\n width: 100%;\n }\n}\n\n._5GQP0G_indicator {\n height: 2px;\n width: 100%;\n z-index: var(--theme-zIndex-loadingIndicator);\n display: none;\n position: fixed;\n top: 0;\n left: 0;\n}\n\n._5GQP0G_indicator:after {\n content: \"\";\n height: 100%;\n background-color: var(--theme-colors-Warn);\n display: block;\n position: relative;\n}\n\n._5GQP0G_indicator[data-animated=\"true\"] {\n display: block;\n}\n\n._5GQP0G_indicator[data-animated=\"true\"]:after {\n animation: 2s cubic-bezier(.45, 0, 1, 1) infinite _5GQP0G_cssLoadWidth;\n}\n\n.ucPgIG_assetCount {\n height: 100%;\n -webkit-user-select: none;\n user-select: none;\n justify-content: center;\n align-self: flex-start;\n align-items: center;\n display: flex;\n}\n\n.sNJnsW_item {\n -webkit-user-select: none;\n user-select: none;\n}\n\n.sNJnsW_item button {\n justify-content: center;\n align-items: center;\n display: flex;\n}\n\n.gZKlGG_pagination {\n justify-self: center;\n}\n\n.gZKlGG_list {\n text-align: center;\n justify-self: center;\n margin: 0;\n padding: 0;\n list-style-type: none;\n display: flex;\n}\n\n.gZKlGG_ellipsis {\n -webkit-user-select: none;\n user-select: none;\n line-height: 2.4rem;\n}\n\n.gZKlGG_disabled {\n color: var(--theme-colors-ContrastBrighter);\n}\n\n.VMKMXG_bottomBar {\n gap: var(--theme-spacing-GoldenUnit);\n border-top: 1px solid var(--theme-colors-border);\n background-color: var(--theme-colors-moduleBackground);\n z-index: var(--theme-zIndex-pagination);\n grid-template-columns: 350px 1fr 350px;\n display: grid;\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n}\n\n.VMKMXG_selectionMode {\n grid-template-columns: repeat(3, 1fr);\n}\n\n.VMKMXG_isInNodeCreationDialog {\n bottom: -16px;\n left: -16px;\n right: -16px;\n}\n\n.yiv2CG_sortingState {\n min-width: 0;\n display: flex;\n}\n\n.yiv2CG_selectBox {\n min-width: 0;\n}\n\n.PUFj9a_assetsFilter {\n position: relative;\n}\n\n.PUFj9a_assetsFilter summary {\n background-color: var(--theme-colors-captionBackground);\n cursor: pointer;\n padding: 0 1em;\n}\n\n.PUFj9a_assetsFilter summary:hover {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n\n.PUFj9a_assetsFilter > summary {\n list-style-type: none;\n}\n\n.PUFj9a_assetsFilter[open] > summary::-webkit-details-marker {\n display: none;\n}\n\n.PUFj9a_assetsFilter.PUFj9a_active summary {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n\n.PUFj9a_filterList {\n z-index: 2;\n background-color: var(--theme-colors-ContrastDarker);\n flex-direction: column;\n gap: 1px;\n display: flex;\n position: absolute;\n top: 100%;\n left: 0;\n}\n\n.PUFj9a_typeFilter {\n display: flex;\n}\n\n.PUFj9a_typeFilter svg {\n height: 1em !important;\n}\n\n.PUFj9a_selectBox {\n min-width: auto;\n}\n\n._5Oef7G_viewModeSelector {\n align-items: baseline;\n display: flex;\n}\n\n._5Oef7G_viewModeSelector label {\n margin-right: var(--theme-spacing-Quarter);\n}\n\n._5Oef7G_selectBox {\n min-width: auto;\n}\n\n.rxR0KW_searchBox {\n flex: 1;\n}\n\n.rxR0KW_searchBox input[type=\"search\"] {\n -webkit-appearance: searchfield;\n width: 100%;\n}\n\n.rxR0KW_searchBox input[type=\"search\"]::-webkit-search-cancel-button {\n -webkit-appearance: searchfield-cancel-button;\n cursor: pointer;\n}\n\n.h7QbgG_topBar {\n margin: 0 calc(-1 * var(--theme-spacing-Half));\n flex-wrap: nowrap;\n justify-content: flex-end;\n padding-right: 0;\n display: flex;\n}\n\n.h7QbgG_topBar--selectionMode {\n padding-right: var(--theme-spacing-GoldenUnit);\n}\n\n.h7QbgG_topBar > * {\n margin: 0 var(--theme-spacing-Half);\n}\n\n.Rs4dJq_listView {\n height: auto;\n}\n\n.Rs4dJq_listView--fullHeight {\n height: 100%;\n}\n\n.Rs4dJq_listView table {\n border-spacing: 0 1px;\n width: 100%;\n}\n\n.Rs4dJq_listView table th {\n text-align: left;\n line-height: var(--theme-spacing-GoldenUnit);\n padding: 0 var(--theme-spacing-Half);\n white-space: nowrap;\n text-overflow: ellipsis;\n -webkit-user-select: none;\n user-select: none;\n overflow: hidden;\n}\n\n.Rs4dJq_listView table th:first-child, .Rs4dJq_listView table th:last-child {\n padding: 0;\n}\n\n.Rs4dJq_tableHeader {\n background-color: var(--theme-colors-tableHeader);\n z-index: 1;\n position: sticky;\n top: 0;\n}\n\n._0hU7dG_listViewItem {\n background-color: var(--theme-colors-mainBackground);\n}\n\n._0hU7dG_listViewItem:nth-of-type(2n) {\n background-color: var(--theme-colors-alternatingBackground);\n}\n\n._0hU7dG_listViewItem:hover, ._0hU7dG_selected, ._0hU7dG_selected:nth-of-type(2n) {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n\n._0hU7dG_textColumn {\n padding: 0 var(--theme-spacing-Half);\n white-space: nowrap;\n -webkit-user-select: none;\n user-select: none;\n cursor: pointer;\n width: 1px;\n}\n\n._0hU7dG_textColumn > * {\n vertical-align: middle;\n}\n\n._0hU7dG_previewColumn {\n min-width: var(--theme-spacing-GoldenUnit);\n width: var(--theme-spacing-GoldenUnit);\n cursor: pointer;\n}\n\n._0hU7dG_previewColumn picture {\n width: 100%;\n height: var(--theme-spacing-GoldenUnit);\n text-align: center;\n display: block;\n}\n\n._0hU7dG_previewColumn picture img, ._0hU7dG_previewColumn picture svg {\n width: 100%;\n height: 100%;\n object-fit: contain;\n display: inline-block;\n}\n\n._0hU7dG_labelColumn {\n table-layout: fixed;\n width: 100%;\n line-height: var(--theme-spacing-GoldenUnit);\n -webkit-user-select: text;\n user-select: text;\n display: table;\n}\n\n._0hU7dG_labelColumn > * {\n width: calc(100% - 2 * var(--theme-spacing-Half));\n padding: 0 var(--theme-spacing-Half);\n}\n\n._0hU7dG_lastModifiedColumn {\n}\n\n._0hU7dG_fileSizeColumn {\n}\n\n._0hU7dG_mediaTypeColumn {\n max-width: 100px;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n._0hU7dG_actionsColumn {\n text-align: right;\n}\n\n.LUZzHG_emptyStateWrapper {\n height: inherit;\n justify-content: center;\n align-items: center;\n display: flex;\n}\n\n.lKBwAW_thumbnail {\n flex-direction: column;\n margin: 0;\n display: flex;\n position: relative;\n}\n\n.lKBwAW_thumbnail:hover .lKBwAW_caption {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n\n.lKBwAW_thumbnail:hover .lKBwAW_toolBar {\n pointer-events: all;\n background-color: #00000040;\n}\n\n.lKBwAW_thumbnail:hover .lKBwAW_toolBar button {\n opacity: 1;\n}\n\n.lKBwAW_thumbnail:hover .lKBwAW_toolBar button[disabled] {\n opacity: .5;\n}\n\n.lKBwAW_thumbnail:hover .lKBwAW_toolBar button.lKBwAW_button--active svg {\n color: #fff;\n}\n\n.lKBwAW_picture {\n cursor: pointer;\n height: 250px;\n background-color: var(--theme-colors-assetBackground);\n place-content: center;\n align-items: center;\n display: flex;\n}\n\n.lKBwAW_picture img {\n max-height: 250px;\n max-width: 100%;\n background-image: repeating-linear-gradient(45deg, #999 25%, #0000 25% 75%, #999 75%, #999), repeating-linear-gradient(45deg, #999 25%, #e5e5f7 25% 75%, #999 75%, #999);\n background-position: 0 0, 10px 10px;\n background-size: 20px 20px;\n display: block;\n}\n\n.lKBwAW_caption {\n background-color: var(--theme-colors-captionBackground);\n transition: background-color var(--theme-transition-fast);\n padding: var(--theme-spacing-Half);\n flex: 1;\n align-items: center;\n display: flex;\n}\n\n.lKBwAW_caption img, .lKBwAW_caption svg {\n width: 1.3rem;\n height: auto;\n margin-right: var(--theme-spacing-Half);\n}\n\n.lKBwAW_selected {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n\n.lKBwAW_toolBar {\n top: var(--theme-spacing-Quarter);\n right: var(--theme-spacing-Quarter);\n pointer-events: none;\n background-color: #0000;\n transition: background-color .1s ease-in;\n display: flex;\n position: absolute;\n}\n\n.lKBwAW_toolBar button, .lKBwAW_toolBar button[disabled] {\n opacity: 0;\n transition: opacity .1s ease-in;\n}\n\n.lKBwAW_toolBar button.lKBwAW_button--active {\n opacity: 1;\n}\n\n.lKBwAW_toolBar button.lKBwAW_button--active svg {\n color: var(--theme-colors-PrimaryBlue);\n}\n\n.lKBwAW_label {\n top: var(--theme-spacing-Quarter);\n left: var(--theme-spacing-Quarter);\n font-size: var(--theme-fontSize-small);\n -webkit-user-select: none;\n user-select: none;\n border-radius: 3px;\n padding: 2px 4px;\n position: absolute;\n}\n\n.lKBwAW_disabled .lKBwAW_picture {\n filter: grayscale();\n cursor: not-allowed;\n}\n\n._5clkbq_thumbnailView {\n gap: var(--theme-spacing-Full);\n grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));\n display: grid;\n}\n\n.rZ_p1G_container {\n --grid-height: calc(100vh - 48px - 61px - 41px);\n --grid-areas: \"left top right\" \"left main right\";\n --grid-columns: var(--theme-size-sidebarWidth) 1fr var(--theme-size-sidebarWidth);\n --grid-area-left: left;\n --grid-area-right: right;\n --grid-area-top: top;\n --grid-area-main: main;\n height: var(--grid-height);\n grid-template-rows: 40px 1fr;\n grid-template-columns: var(--grid-columns);\n grid-template-areas: var(--grid-areas);\n gap: var(--theme-spacing-Full);\n line-height: 1.5;\n display: grid;\n overflow: hidden;\n}\n\n.rZ_p1G_fullHeight {\n --grid-height: calc(100% - 61px - 8px);\n}\n\n.rZ_p1G_selectionMode {\n --grid-columns: var(--theme-size-sidebarWidth) 1fr;\n --grid-areas: \"left top\" \"left main\";\n}\n\n.rZ_p1G_gridColumn {\n height: 100%;\n overflow-y: auto;\n}\n\n.rZ_p1G_gridRight {\n grid-area: var(--grid-area-right);\n}\n\n.rZ_p1G_gridLeft {\n grid-area: var(--grid-area-left);\n}\n\n.rZ_p1G_gridMain {\n grid-area: var(--grid-area-main);\n}\n\n.rZ_p1G_gridTop {\n grid-area: var(--grid-area-top);\n}\n\n#media-ui-app > div {\n scrollbar-width: thin;\n scrollbar-color: #999 transparent;\n}\n\n#media-ui-app > div ::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n}\n\n#media-ui-app > div ::-webkit-scrollbar-track {\n background: none;\n}\n\n#media-ui-app > div ::-webkit-scrollbar-thumb {\n background-color: #999;\n}\n\n#media-ui-app > div ::-webkit-scrollbar-corner {\n background-color: #3f3f3f;\n}\n\n.neos.neos-module-management-mediaui > .neos-module-wrap {\n padding: 3rem 1rem 0;\n}\n\nbody > [class*=\"_selectBox__contents_\"] {\n z-index: 99999;\n}\n\n/*# sourceMappingURL=main.bundle.css.map */\n",".neos-iiR9VW_reset {\n color: #fff;\n margin: 0;\n padding: 0;\n font-family: Noto Sans, sans-serif;\n font-weight: normal;\n}\n\n.neos-iiR9VW_reset, .neos-iiR9VW_reset:before, .neos-iiR9VW_reset:after {\n box-sizing: border-box;\n}\n\n.neos-iiR9VW_reset input, .neos-iiR9VW_reset textarea, .neos-iiR9VW_reset select, .neos-iiR9VW_reset button {\n font-size: 14px ;\n margin: 0;\n}\n\n.neos-iiR9VW_reset ul {\n padding: 0;\n}\n\n.neos-iiR9VW_reset li {\n display: block;\n}\n\n.neos-iiR9VW_reset input::-webkit-search-cancel-button {\n display: none;\n}\n\n.neos-iiR9VW_reset input {\n appearance: none;\n}\n",".reset {\n /*\n * note for the future you:\n * in case we sometime have problems with the specificity - we can always use :where(.reset) {} to force a low specificity\n */\n font-family: 'Noto Sans', sans-serif;\n font-weight: normal;\n color: #FFF;\n margin: 0;\n padding: 0;\n\n &,\n &:before,\n &:after {\n box-sizing: border-box;\n }\n\n /* some browsers set a font-size or margin in their user stylesheets */\n & input,\n & textarea,\n & select,\n & button {\n font-size: var(--fontSize-Base);\n margin: 0;\n }\n & ul {\n padding: 0;\n }\n /* webkit adds some weird spacing otherwise */\n & li {\n display: block;\n }\n & input::-webkit-search-cancel-button {\n display: none;\n }\n /* webkit adds white box around search box */\n & input {\n appearance: none;\n }\n}\n",".neos-6Mnuzq_btn {\n height: 40px ;\n min-width: 40px ;\n padding: 0 16px ;\n -webkit-font-smoothing: antialiased;\n vertical-align: middle;\n width: auto;\n color: #fff ;\n cursor: pointer;\n background-color: #323232 ;\n font-size: 14px ;\n border: 0;\n display: inline-block;\n position: relative;\n}\n\n.neos-6Mnuzq_btn:focus {\n outline: 1px solid #00adee ;\n}\n\n.neos-6Mnuzq_btn[disabled] {\n opacity: .5;\n cursor: not-allowed;\n}\n\n.neos-6Mnuzq_btn[disabled]:hover, .neos-6Mnuzq_btn[disabled].neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn[disabled]:hover i, .neos-6Mnuzq_btn[disabled] i {\n color: #fff ;\n}\n\n.neos-6Mnuzq_btn--size-small {\n height: 32px;\n padding: 0 8px;\n font-size: 13px;\n}\n\n.neos-6Mnuzq_btn--clean {\n background-color: #222 ;\n}\n\n.neos-6Mnuzq_btn--lighter, .neos-6Mnuzq_btn--lighter i {\n background-color: #3f3f3f ;\n}\n\n.neos-6Mnuzq_btn--neutral, .neos-6Mnuzq_btn--neutral i {\n background-color: #323232 ;\n}\n\n.neos-6Mnuzq_btn--transparent {\n background: 0;\n}\n\n.neos-6Mnuzq_btn--brand, .neos-6Mnuzq_btn--brand i {\n background-color: #00adee ;\n color: #fff !important;\n}\n\n.neos-6Mnuzq_btn--success, .neos-6Mnuzq_btn--success i {\n background-color: #00a338 ;\n color: #fff !important;\n}\n\n.neos-6Mnuzq_btn--warn, .neos-6Mnuzq_btn--warn i {\n background-color: #ff8700 ;\n}\n\n.neos-6Mnuzq_btn--error, .neos-6Mnuzq_btn--error i {\n background-color: #ff460d ;\n color: #fff !important;\n}\n\n.neos-6Mnuzq_btn--brandActive {\n background-color: #00adee ;\n}\n\n.neos-6Mnuzq_btn--brandActive svg {\n color: #fff ;\n}\n\n.neos-6Mnuzq_btn--brandHover:hover:enabled, .neos-6Mnuzq_btn--brandHover:hover:enabled i, .neos-6Mnuzq_btn--brandHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--brandHover.neos-6Mnuzq_btn--isPressed i {\n background-color: #00adee ;\n}\n\n.neos-6Mnuzq_btn--cleanHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--cleanHover.neos-6Mnuzq_btn--isPressed i, .neos-6Mnuzq_btn--cleanHover:hover:enabled, .neos-6Mnuzq_btn--cleanHover:hover:enabled i {\n color: #00adee ;\n}\n\n:is(.neos-6Mnuzq_btn--cleanHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--cleanHover.neos-6Mnuzq_btn--isPressed i, .neos-6Mnuzq_btn--cleanHover:hover:enabled, .neos-6Mnuzq_btn--cleanHover:hover:enabled i) svg {\n color: #00adee ;\n}\n\n.neos-6Mnuzq_btn--darkenHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--darkenHover.neos-6Mnuzq_btn--isPressed i, .neos-6Mnuzq_btn--darkenHover:hover:enabled, .neos-6Mnuzq_btn--darkenHover:hover:enabled i {\n background-color: rgba(0, 0, 0, .1);\n}\n\n.neos-6Mnuzq_btn--successHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--successHover.neos-6Mnuzq_btn--isPressed i, .neos-6Mnuzq_btn--successHover:hover:enabled, .neos-6Mnuzq_btn--successHover:hover:enabled i {\n background-color: #0bb344 ;\n}\n\n.neos-6Mnuzq_btn--warnHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--warnHover.neos-6Mnuzq_btn--isPressed i, .neos-6Mnuzq_btn--warnHover:hover:enabled, .neos-6Mnuzq_btn--warnHover:hover:enabled i {\n background-color: #fda23d ;\n}\n\n.neos-6Mnuzq_btn--errorHover:hover:enabled, .neos-6Mnuzq_btn--errorHover:hover:enabled i, .neos-6Mnuzq_btn--errorHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--errorHover.neos-6Mnuzq_btn--isPressed i {\n background-color: #ff6a3c ;\n}\n",".btn {\n composes: reset from '../reset.module.css';\n position: relative;\n display: inline-block;\n height: var(--spacing-GoldenUnit);\n min-width: var(--spacing-GoldenUnit);\n padding: 0 var(--spacing-Full);\n border: 0;\n -webkit-font-smoothing: antialiased;\n vertical-align: middle;\n width: auto;\n color: var(--colors-ContrastBrightest);\n cursor: pointer;\n background-color: var(--colors-ContrastNeutral);\n font-size: var(--fontSize-Base);\n\n &:focus {\n outline: 1px solid var(--colors-PrimaryBlue);\n }\n\n &[disabled] {\n opacity: .5;\n cursor: not-allowed;\n\n &:hover,\n &.btn--isPressed,\n &:hover i,\n & i {\n color: var(--colors-ContrastBrightest);\n }\n }\n}\n.btn--size-small {\n height: 32px;\n font-size: 13px;\n padding: 0 8px;\n}\n\n.btn--clean {\n background-color: var(--colors-ContrastDarker);\n}\n.btn--lighter,\n.btn--lighter i {\n background-color: var(--colors-ContrastDark);\n}\n.btn--neutral,\n.btn--neutral i {\n background-color: var(--colors-ContrastNeutral);\n}\n.btn--transparent {\n background: 0;\n}\n.btn--brand,\n.btn--brand i {\n background-color: var(--colors-PrimaryBlue);\n color: white !important;\n}\n.btn--success,\n.btn--success i {\n background-color: var(--colors-Success);\n color: white !important;\n}\n.btn--warn,\n.btn--warn i {\n background-color: var(--colors-Warn);\n}\n.btn--error,\n.btn--error i {\n background-color: var(--colors-Error);\n color: white !important;\n}\n\n.btn--brandActive {\n background-color: var(--colors-PrimaryBlue);\n\n & svg {\n color: var(--colors-ContrastBrightest);\n }\n}\n\n.btn--brandHover:hover:enabled,\n.btn--brandHover:hover:enabled i,\n.btn--brandHover.btn--isPressed,\n.btn--brandHover.btn--isPressed i {\n background-color: var(--colors-PrimaryBlue);\n}\n.btn--cleanHover.btn--isPressed,\n.btn--cleanHover.btn--isPressed i,\n.btn--cleanHover:hover:enabled,\n.btn--cleanHover:hover:enabled i {\n color: var(--colors-PrimaryBlue);\n\n & svg {\n color: var(--colors-PrimaryBlue);\n }\n}\n.btn--darkenHover.btn--isPressed,\n.btn--darkenHover.btn--isPressed i,\n.btn--darkenHover:hover:enabled,\n.btn--darkenHover:hover:enabled i {\n background-color: rgba(0, 0, 0, .1);\n}\n.btn--successHover.btn--isPressed,\n.btn--successHover.btn--isPressed i,\n.btn--successHover:hover:enabled,\n.btn--successHover:hover:enabled i {\n background-color: var(--colors-SuccessHover);\n}\n.btn--warnHover.btn--isPressed,\n.btn--warnHover.btn--isPressed i,\n.btn--warnHover:hover:enabled,\n.btn--warnHover:hover:enabled i {\n background-color: var(--colors-WarnHover);\n}\n.btn--errorHover:hover:enabled,\n.btn--errorHover:hover:enabled i,\n.btn--errorHover.btn--isPressed,\n.btn--errorHover.btn--isPressed i {\n background-color: var(--colors-ErrorHover);\n}\n",".neos-RjvLTG_icon {\n font: normal normal normal FontAwesome;\n font-size: 14px / 1;\n text-rendering: auto;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n display: inline-block;\n}\n\n.neos-RjvLTG_icon--paddedLeft {\n margin-left: .75em;\n}\n\n.neos-RjvLTG_icon--paddedRight {\n margin-right: .75em;\n}\n\n.neos-RjvLTG_icon--color-warn {\n color: #ff8700 ;\n}\n\n.neos-RjvLTG_icon--color-error {\n color: #ff460d ;\n}\n\n.neos-RjvLTG_icon--color-primaryBlue {\n color: #00adee ;\n}\n\n.neos-RjvLTG_icon--huge svg {\n height: 3em;\n}\n\n.neos-RjvLTG_icon--large svg {\n height: 2em;\n}\n\n.neos-RjvLTG_icon--big svg {\n height: 1.33em;\n}\n\n.neos-RjvLTG_icon--small svg {\n height: 1em;\n max-height: 1em;\n max-width: 100%;\n}\n\n.neos-RjvLTG_icon--tiny svg {\n height: .75em;\n}\n\n.neos-RjvLTG_icon--resource {\n width: 100%;\n justify-content: center;\n display: inline-grid;\n}\n",".icon {\n composes: reset from '../reset.module.css';\n display: inline-block;\n font: normal normal normal FontAwesome;\n font-size: 14px/1;\n text-rendering: auto;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n.icon--paddedLeft {\n margin-left: .75em;\n}\n.icon--paddedRight {\n margin-right: .75em;\n}\n\n.icon--color-warn {\n color: var(--colors-Warn);\n}\n\n.icon--color-error {\n color: var(--colors-Error);\n}\n\n.icon--color-primaryBlue {\n color: var(--colors-PrimaryBlue);\n}\n\n.icon--huge {\n & svg {\n height: 3em;\n }\n}\n\n.icon--large {\n & svg {\n height: 2em;\n }\n}\n\n.icon--big {\n & svg {\n height: 1.33em;\n }\n}\n\n.icon--small {\n & svg {\n height: 1em;\n max-height: 1em;\n max-width: 100%;\n }\n}\n\n.icon--tiny {\n & svg {\n height: .75em;\n }\n}\n\n.icon--resource {\n display: inline-grid;\n width: 100%;\n justify-content: center;\n}\n",".neos-am4CoW_checkbox {\n width: 20px;\n height: 20px;\n vertical-align: middle;\n margin-right: 8px;\n display: block;\n position: relative;\n}\n\n.neos-am4CoW_checkbox__input {\n z-index: 1 ;\n width: 20px;\n height: 20px;\n opacity: 0;\n cursor: pointer;\n position: absolute;\n top: 50%;\n left: 0;\n transform: translateY(-50%);\n}\n\n.neos-am4CoW_checkbox__icon {\n opacity: 0;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%)translateY(-50%);\n}\n\n.neos-am4CoW_checkbox__inputMirror {\n width: 20px;\n height: 20px;\n vertical-align: top;\n background: #3f3f3f ;\n border-radius: 2px;\n font-size: 20px;\n font-weight: bold;\n display: inline-block;\n}\n\n.neos-am4CoW_checkbox__inputMirror--active {\n background: #00adee ;\n}\n\n.neos-am4CoW_checkbox__checked .neos-am4CoW_checkbox__icon {\n opacity: 1;\n}\n\n.neos-am4CoW_checkbox__disabled {\n opacity: .65;\n cursor: not-allowed;\n}\n\n.neos-am4CoW_checkbox__disabled .neos-am4CoW_checkbox__input {\n cursor: not-allowed;\n}\n",".checkbox {\n composes: reset from '../reset.module.css';\n position: relative;\n display: block;\n width: 20px;\n height: 20px;\n margin-right: 8px;\n vertical-align: middle;\n}\n.checkbox__input {\n composes: reset from '../reset.module.css';\n position: absolute;\n top: 50%;\n left: 0;\n z-index: var(--zIndex-CheckboxInput-Context);\n transform: translateY(-50%);\n width: 20px;\n height: 20px;\n opacity: 0;\n cursor: pointer;\n}\n.checkbox__icon {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n opacity: 0;\n}\n.checkbox__inputMirror {\n composes: reset from '../reset.module.css';\n display: inline-block;\n width: 20px;\n height: 20px;\n border-radius: 2px;\n vertical-align: top;\n background: var(--colors-ContrastDark);\n font-size: 20px;\n font-weight: bold;\n}\n.checkbox__inputMirror--active {\n background: var(--colors-PrimaryBlue);\n}\n.checkbox__checked {\n .checkbox__icon {\n opacity: 1;\n }\n}\n.checkbox__disabled {\n opacity: .65;\n cursor: not-allowed;\n\n .checkbox__input {\n cursor: not-allowed;\n }\n}\n","@keyframes neos-X60ORW_slideDialogContents {\n from {\n opacity: 0;\n transform: translateX(-50%)scale(.9);\n }\n}\n\n.neos-X60ORW_dialog {\n z-index: 1 ;\n width: 100vw;\n height: 100vh;\n background: rgba(0, 0, 0, .8);\n position: fixed;\n top: 0;\n left: 0;\n}\n\n.neos-X60ORW_dialog__contentsPosition {\n background: #222 ;\n opacity: 1;\n border-radius: 0;\n outline: none;\n animation: .3s ease-in-out neos-X60ORW_slideDialogContents;\n position: absolute;\n top: 20vh;\n left: 50%;\n transform: translateX(-50%)scale(1);\n box-shadow: 0 20px 40px rgba(0, 0, 0, .4);\n}\n\n.neos-X60ORW_dialog__contents {\n width: calc(100vw - 40px * 2);\n max-width: calc(40px * 16);\n border: 2px solid #3f3f3f ;\n transition: .25s ease max-width;\n position: relative;\n}\n\n.neos-X60ORW_dialog--wide .neos-X60ORW_dialog__contents {\n max-width: calc(40px * 24);\n}\n\n@media (max-width: 576px) {\n .neos-X60ORW_dialog--wide .neos-X60ORW_dialog__contents {\n max-width: 100vw;\n width: 100vw;\n }\n}\n\n.neos-X60ORW_dialog--jumbo .neos-X60ORW_dialog__contents {\n max-width: calc(40px * 36);\n width: 90vw;\n}\n\n@media (max-width: 576px) {\n .neos-X60ORW_dialog--jumbo .neos-X60ORW_dialog__contents {\n max-width: 100vw;\n width: 100vw;\n }\n}\n\n.neos-X60ORW_dialog--narrow .neos-X60ORW_dialog__contents {\n max-width: 400px;\n}\n\n.neos-X60ORW_dialog--success .neos-X60ORW_dialog__contents {\n border-color: #00a338 ;\n}\n\n.neos-X60ORW_dialog--warn .neos-X60ORW_dialog__contents {\n border-color: #ff8700 ;\n}\n\n.neos-X60ORW_dialog--error .neos-X60ORW_dialog__contents {\n border-color: #ff460d ;\n}\n\n.neos-X60ORW_dialog__title {\n padding: 16px ;\n padding-right: 40px ;\n font-size: 20px;\n line-height: 1.2;\n}\n\n.neos-X60ORW_dialog__body {\n max-height: 65vh;\n overflow-y: auto;\n}\n\n@media (max-width: 576px) {\n .neos-X60ORW_dialog__body {\n max-height: 55vh;\n }\n}\n\n.neos-X60ORW_dialog__actions {\n text-align: right;\n margin-top: 16px ;\n}\n\n.neos-X60ORW_dialog__closeBtn {\n background: #3f3f3f ;\n position: absolute;\n top: 0;\n right: 0;\n}\n\n.neos-X60ORW_dialog__backDrop {\n height: 100%;\n width: 100%;\n position: absolute;\n}\n","@keyframes slideDialogContents {\n from {\n opacity: 0;\n transform: translateX(-50%) scale(.9);\n }\n}\n\n.dialog {\n composes: reset from '../reset.module.css';\n position: fixed;\n top: 0;\n left: 0;\n z-index: var(--zIndex-Dialog-Context);\n width: 100vw;\n height: 100vh;\n background: rgba(0, 0, 0, .8);\n}\n.dialog__contentsPosition {\n composes: reset from '../reset.module.css';\n position: absolute;\n top: 20vh;\n left: 50%;\n transform: translateX(-50%) scale(1);\n background: var(--colors-ContrastDarker);\n box-shadow: 0 20px 40px rgba(0, 0, 0, .4);\n border-radius: 0;\n outline: none;\n opacity: 1;\n animation: slideDialogContents .3s ease-in-out;\n}\n.dialog__contents {\n composes: reset from '../reset.module.css';\n position: relative;\n width: calc(100vw - var(--spacing-GoldenUnit) * 2);\n max-width: calc(var(--spacing-GoldenUnit) * 16);\n border: 2px solid var(--colors-ContrastDark);\n transition: var(--transition-Default) ease max-width;\n\n .dialog--wide & {\n max-width: calc(var(--spacing-GoldenUnit) * 24);\n\n @media(max-width: 576px) {\n max-width: 100vw;\n width: 100vw;\n }\n }\n\n .dialog--jumbo & {\n max-width: calc(var(--spacing-GoldenUnit) * 36);\n width: 90vw;\n\n @media(max-width: 576px) {\n max-width: 100vw;\n width: 100vw;\n }\n }\n\n .dialog--narrow & {\n max-width: 400px;\n }\n\n .dialog--success & {\n border-color: var(--colors-Success);\n }\n .dialog--warn & {\n border-color: var(--colors-Warn);\n }\n .dialog--error & {\n border-color: var(--colors-Error);\n }\n}\n.dialog__title {\n composes: reset from '../reset.module.css';\n font-size: 20px;\n line-height: 1.2;\n padding: var(--spacing-Full);\n padding-right: var(--spacing-GoldenUnit);\n}\n.dialog__body {\n max-height: calc(65vh);\n overflow-y: auto;\n\n @media(max-width: 576px) {\n max-height: calc(55vh);\n }\n}\n.dialog__actions {\n composes: reset from '../reset.module.css';\n text-align: right;\n margin-top: var(--spacing-Full);\n}\n.dialog__closeBtn {\n composes: reset from '../reset.module.css';\n position: absolute;\n top: 0;\n right: 0;\n background: var(--colors-ContrastDark);\n}\n.dialog__backDrop {\n composes: reset from '../reset.module.css';\n position: absolute;\n height: 100%;\n width: 100%;\n}\n",".neos-RwNJjq_heading {\n font-size: 14px ;\n text-rendering: optimizelegibility;\n}\n\n.neos-RwNJjq_heading--h1 {\n font-size: 16px;\n}\n",".heading {\n composes: reset from '../reset.module.css';\n font-size: var(--fontSize-Base);\n text-rendering: optimizelegibility;\n}\n.heading--h1 {\n font-size: 16px;\n}\n",".neos-SMzb_q_iconButton {\n vertical-align: top;\n width: 40px ;\n padding-left: 0;\n padding-right: 0;\n}\n\n.neos-SMzb_q_iconButton--disabled {\n opacity: .65;\n cursor: not-allowed;\n}\n\n.neos-SMzb_q_size-small {\n width: 32px !important;\n min-width: 32px !important;\n}\n",".iconButton {\n composes: reset from '../reset.module.css';\n vertical-align: top;\n width: var(--spacing-GoldenUnit);\n padding-left: 0;\n padding-right: 0;\n}\n\n.iconButton--disabled {\n opacity: .65;\n cursor: not-allowed;\n}\n\n.size-small {\n width: 32px !important;\n min-width: 32px !important;\n}\n",".neos-7CQSZa_label {\n -webkit-font-smoothing: antialiased;\n font-size: 14px ;\n cursor: pointer;\n user-select: none;\n margin-bottom: 4px;\n padding: 0;\n display: block;\n}\n\n.neos-7CQSZa_label, .neos-7CQSZa_label span {\n max-width: 100%;\n}\n",".label {\n composes: reset from '../reset.module.css';\n display: block;\n -webkit-font-smoothing: antialiased;\n font-size: var(--fontSize-Base);\n cursor: pointer;\n padding: 0;\n margin-bottom: 4px;\n user-select: none;\n\n &,\n & span {\n max-width: 100%;\n }\n}\n",".neos-QvCEOa_selectBox__list {\n padding: 0;\n}\n\n.neos-QvCEOa_selectBox {\n composes: reset from \"../reset.module.css\", dropDown from \"./../DropDown/style.css\";\n line-height: 0;\n display: inline-block;\n position: relative;\n}\n\n.neos-QvCEOa_selectBox__btn {\n composes: reset from \"../reset.module.css\", dropDown__btn from \"./../DropDown/style.css\";\n text-overflow: clip;\n height: auto;\n min-height: 40px ;\n line-height: 40px ;\n min-width: 160px;\n border: 0;\n padding-left: 0;\n display: inline-block;\n position: relative;\n}\n\n.neos-QvCEOa_selectBox__btn--noRightPadding {\n padding-right: 0;\n}\n\n.neos-QvCEOa_selectBox__contents {\n min-width: 160px;\n z-index: 40 ;\n margin-top: -2px;\n box-shadow: 0 5px 5px rgba(0, 0, 0, .2);\n}\n\n.neos-QvCEOa_selectBox__contents--hasItems {\n padding: 2px !important;\n}\n\n.neos-QvCEOa_selectBox__item {\n border-top: 1px solid #222 ;\n background: #141414 ;\n}\n\n.neos-QvCEOa_selectBox__item div {\n padding: 5px 14px;\n}\n\n.neos-QvCEOa_selectBox__groupHeader {\n background-color: #222 ;\n padding-left: 16px ;\n text-transform: uppercase;\n font-weight: bold;\n line-height: 30px;\n}\n\n.neos-QvCEOa_selectBox--disabled {\n filter: opacity(50%);\n cursor: not-allowed;\n}\n",".selectBox__list {\n padding: 0;\n}\n\n.selectBox {\n composes: reset from '../reset.module.css', dropDown from './../DropDown/style.css';\n position: relative;\n display: inline-block;\n line-height: 0;\n}\n\n.selectBox__btn {\n composes: reset from '../reset.module.css', dropDown__btn from './../DropDown/style.css';\n position: relative;\n display: inline-block;\n text-overflow: clip;\n height: auto;\n min-height: var(--spacing-GoldenUnit);\n line-height: var(--spacing-GoldenUnit);\n padding-left: 0;\n border: 0;\n min-width: 160px;\n}\n\n.selectBox__btn--noRightPadding {\n padding-right: 0;\n}\n\n.selectBox__contents {\n min-width: 160px;\n box-shadow: 0 5px 5px rgba(0, 0, 0, .2);\n z-index: var(--zIndex-SelectBoxContents);\n margin-top: -2px;\n}\n\n.selectBox__contents--hasItems {\n padding: 2px !important;\n}\n\n.selectBox__item {\n border-top: 1px solid var(--colors-ContrastDarker);\n background: var(--colors-ContrastDarkest);\n\n & div {\n padding: 5px 14px;\n }\n}\n\n.selectBox__groupHeader {\n background-color: var(--colors-ContrastDarker);\n font-weight: bold;\n padding-left: var(--spacing-Full);\n line-height: 30px;\n text-transform: uppercase;\n}\n\n.selectBox--disabled {\n filter: opacity(50%);\n cursor: not-allowed;\n}\n",".neos-d_677a_listPreviewElement {\n cursor: pointer;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 14px;\n line-height: calc(40px - 10px);\n padding: 5px 16px ;\n overflow: hidden;\n}\n\n.neos-d_677a_listPreviewElement--isDisabled {\n color: #999 ;\n cursor: not-allowed;\n}\n\n.neos-d_677a_listPreviewElement--isHighlighted {\n background-color: #00adee !important;\n}\n\n.neos-d_677a_listPreviewElement--isHighlighted > span {\n color: #fff;\n}\n\n.neos-d_677a_listPreviewElement__icon {\n margin-right: .5em;\n}\n\n.neos-d_677a_listPreviewElement__iconWrapper {\n width: 2em;\n text-align: center;\n display: inline-block;\n padding: 0 !important;\n}\n",".listPreviewElement {\n composes: reset from '../reset.module.css';\n cursor: pointer;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 14px;\n\n /* subtract the size of padding */\n line-height: calc(var(--spacing-GoldenUnit) - 10px);\n padding: 5px var(--spacing-Full);\n}\n\n.listPreviewElement--isDisabled {\n color: var(--colors-ContrastBright);\n cursor: not-allowed;\n}\n.listPreviewElement--isHighlighted {\n background-color: var(--colors-PrimaryBlue) !important;\n}\n\n.listPreviewElement--isHighlighted > span {\n color: #fff;\n}\n\n.listPreviewElement__icon {\n composes: reset from '../reset.module.css';\n margin-right: .5em;\n}\n\n.listPreviewElement__iconWrapper {\n padding: 0 !important;\n width: 2em;\n display: inline-block;\n text-align: center;\n}\n",".neos-fwJGCW_dropDown {\n width: 100%;\n display: inline-block;\n position: relative;\n}\n\n.neos-fwJGCW_dropDown__btn {\n width: 100%;\n height: 40px ;\n text-align: left;\n color: #fff;\n cursor: pointer;\n font-size: 14px ;\n padding: 0 16px ;\n text-overflow: ellipsis;\n white-space: nowrap;\n line-height: 40px ;\n background: #323232 ;\n border: 0;\n border-radius: 2px;\n display: block;\n overflow: hidden;\n}\n\n.neos-fwJGCW_dropDown__btn:focus {\n outline: 1px solid #00adee ;\n}\n\n.neos-fwJGCW_dropDown__btn svg {\n pointer-events: none;\n}\n\n.neos-fwJGCW_dropDown__btn--withChevron {\n padding-right: 40px ;\n}\n\n.neos-fwJGCW_dropDown__btnLabel {\n margin-right: .5em;\n}\n\n.neos-fwJGCW_dropDown__chevron {\n position: absolute;\n top: 50%;\n right: 16px;\n transform: translateY(-50%);\n}\n\n.neos-fwJGCW_dropDown__contents {\n z-index: 1 ;\n width: 100%;\n background: #323232 ;\n margin: 0;\n list-style: none;\n display: none;\n position: absolute;\n top: 100%;\n left: 0;\n box-shadow: 0 5px 5px rgba(0, 0, 0, .2);\n}\n\n.neos-fwJGCW_dropDown__contents--scrollable {\n position: fixed;\n top: auto;\n overflow-y: auto;\n}\n\n.neos-fwJGCW_dropDown__contents--isOpen {\n flex-direction: column;\n display: flex;\n}\n\n.neos-fwJGCW_dropDown--darker > .neos-fwJGCW_dropDown__btn--open, .neos-fwJGCW_dropDown--darker > .neos-fwJGCW_dropDown__contents {\n background-color: #222 ;\n}\n\n.neos-fwJGCW_dropDown--darkest > .neos-fwJGCW_dropDown__btn--open, .neos-fwJGCW_dropDown--darkest > .neos-fwJGCW_dropDown__contents {\n background-color: #141414 ;\n}\n\n.neos-fwJGCW_dropDown--padded > .neos-fwJGCW_dropDown__contents {\n padding: 16px ;\n}\n",".dropDown {\n composes: reset from '../reset.module.css';\n position: relative;\n display: inline-block;\n width: 100%;\n}\n.dropDown__btn {\n composes: reset from '../reset.module.css';\n display: block;\n width: 100%;\n height: var(--spacing-GoldenUnit);\n text-align: left;\n color: white;\n cursor: pointer;\n font-size: var(--fontSize-Base);\n padding: 0 var(--spacing-Full);\n border: 0;\n border-radius: 2px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n line-height: var(--spacing-GoldenUnit);\n background: var(--colors-ContrastNeutral);\n\n &:focus {\n outline: 1px solid var(--colors-PrimaryBlue);\n }\n\n & svg {\n pointer-events: none;\n }\n}\n.dropDown__btn--withChevron {\n padding-right: var(--spacing-GoldenUnit);\n}\n.dropDown__btnLabel {\n composes: reset from '../reset.module.css';\n margin-right: .5em;\n}\n.dropDown__chevron {\n composes: reset from '../reset.module.css';\n position: absolute;\n right: 16px;\n top: 50%;\n transform: translateY(-50%);\n}\n.dropDown__contents {\n composes: reset from '../reset.module.css';\n position: absolute;\n top: 100%;\n left: 0;\n z-index: var(--zIndex-DropdownContents-Context);\n display: none;\n width: 100%;\n margin: 0;\n list-style: none;\n background: var(--colors-ContrastNeutral);\n box-shadow: 0 5px 5px rgba(0, 0, 0, .2);\n}\n.dropDown__contents--scrollable {\n position: fixed;\n top: auto;\n overflow-y: auto;\n}\n.dropDown__contents--isOpen {\n display: flex;\n flex-direction: column;\n}\n.dropDown--darker > .dropDown__btn--open {\n background-color: var(--colors-ContrastDarker);\n}\n\n.dropDown--darker > .dropDown__contents {\n background-color: var(--colors-ContrastDarker);\n}\n\n.dropDown--darkest > .dropDown__btn--open {\n background-color: var(--colors-ContrastDarkest);\n}\n\n.dropDown--darkest > .dropDown__contents {\n background-color: var(--colors-ContrastDarkest);\n}\n\n.dropDown--padded > .dropDown__contents {\n padding: var(--spacing-Full);\n}\n",".neos-Gv_gqG_selectBoxHeader {\n width: 100%;\n display: flex;\n}\n\n.neos-Gv_gqG_selectBoxHeader__innerPreview {\n width: 100%;\n overflow: hidden;\n}\n\n.neos-Gv_gqG_selectBoxHeader__icon {\n line-height: 40px ;\n height: 100%;\n}\n\n.neos-Gv_gqG_selectBoxHeader__label, .neos-Gv_gqG_selectBoxHeader__wrapperIconWrapper {\n padding: 0 16px ;\n}\n\n.neos-Gv_gqG_selectBoxHeader__wrapperPlaceholderIconWrapper {\n padding: 0 8px 0 0;\n}\n\n.neos-Gv_gqG_selectBoxHeader--disabled {\n cursor: not-allowed;\n}\n",".selectBoxHeader {\n display: flex;\n width: 100%;\n}\n\n.selectBoxHeader__innerPreview {\n overflow: hidden;\n width: 100%;\n}\n\n.selectBoxHeader__icon {\n composes: reset from '../reset.module.css';\n line-height: var(--spacing-GoldenUnit);\n height: 100%;\n}\n\n.selectBoxHeader__label {\n padding: 0 var(--spacing-Full);\n}\n\n.selectBoxHeader__wrapperIconWrapper {\n padding: 0 var(--spacing-Full);\n}\n\n.selectBoxHeader__wrapperPlaceholderIconWrapper {\n padding: 0 var(--spacing-Half) 0 0;\n}\n\n.selectBoxHeader--disabled {\n cursor: not-allowed;\n}\n",".neos-x4kw-a_selectBoxHeaderWithSearchInput {\n padding-left: 16px ;\n display: flex;\n}\n\n.neos-x4kw-a_selectBoxHeaderWithSearchInput__inputContainer {\n width: 100%;\n}\n\n.neos-x4kw-a_selectBoxHeaderWithSearchInput__input {\n width: 100%;\n color: #fff;\n font-size: 14px;\n}\n\n.neos-x4kw-a_selectBoxHeaderWithSearchInput__input:focus {\n color: #fff !important;\n background: none !important;\n}\n\n.neos-x4kw-a_selectBoxHeaderWithSearchInput__icon {\n height: 40px ;\n}\n",".selectBoxHeaderWithSearchInput {\n display: flex;\n padding-left: var(--spacing-Full);\n}\n\n.selectBoxHeaderWithSearchInput__inputContainer {\n width: 100%;\n}\n\n.selectBoxHeaderWithSearchInput__input {\n width: 100%;\n color: #fff;\n /* TODO: move to reset / use var */\n font-size: 14px;\n\n &:focus {\n background: transparent !important;\n color: #fff !important;\n }\n}\n\n.selectBoxHeaderWithSearchInput__icon {\n composes: reset from '../reset.module.css';\n height: var(--spacing-GoldenUnit);\n}\n",".neos-Y9Uoqa_textInput {\n width: 100%;\n height: 40px ;\n background: #323232 ;\n color: #fff;\n border: 0;\n border-radius: 2px;\n padding: 0 14px;\n font-size: 14px;\n}\n\n.neos-Y9Uoqa_textInput:focus {\n background: #fff ;\n color: #141414 ;\n outline: 0;\n}\n\n.neos-Y9Uoqa_textInput::-webkit-input-placeholder {\n color: #999 ;\n font-family: Noto Sans, sans-serif;\n font-weight: normal;\n}\n\n.neos-Y9Uoqa_textInput--disabled {\n opacity: .65;\n cursor: not-allowed;\n}\n",".textInput {\n composes: reset from '../reset.module.css';\n /* TODO: should eventually be moved to reset.module.css, but there maybe be plenty of side-effects */\n font-size: 14px;\n width: 100%;\n height: var(--spacing-GoldenUnit);\n padding: 0 14px;\n border: 0;\n border-radius: 2px;\n background: var(--colors-ContrastNeutral);\n color: white;\n\n &:focus {\n outline: 0;\n background: var(--colors-ContrastBrightest);\n color: var(--colors-ContrastDarkest);\n }\n}\n.textInput::-webkit-input-placeholder {\n font-family: 'Noto Sans', sans-serif;\n font-weight: normal;\n color: var(--colors-ContrastBright);\n}\n\n.textInput--disabled {\n opacity: .65;\n cursor: not-allowed;\n}\n",".neos-oqNh0W_tabs {\n height: 100%;\n}\n\n.neos-oqNh0W_tabs__content {\n overflow-y: auto;\n}\n\n.neos-oqNh0W_tabNavigation {\n background: #141414 ;\n border-bottom: 1px solid #3f3f3f ;\n margin: 0;\n padding: 0;\n list-style: none;\n display: block;\n}\n\n.neos-oqNh0W_tabNavigation:before, .neos-oqNh0W_tabNavigation:after {\n content: \"\";\n display: table;\n}\n\n.neos-oqNh0W_tabNavigation:after {\n clear: both;\n}\n\n.neos-oqNh0W_tabNavigation__item {\n float: left;\n border-top: 1px solid #3f3f3f ;\n border-right: 1px solid #3f3f3f ;\n color: #fff ;\n position: relative;\n}\n\n.neos-oqNh0W_tabNavigation__item--isActive {\n background-color: #222 ;\n cursor: default;\n border-bottom: 1px solid #222 ;\n margin-bottom: -1px;\n}\n\n.neos-oqNh0W_tabNavigation__item--isActive:after {\n content: \" \";\n height: 2px;\n width: 100%;\n background: #00adee ;\n display: block;\n position: absolute;\n top: -1px;\n left: 0;\n right: 0;\n}\n\n.neos-oqNh0W_tabNavigation__item--isActive > .neos-oqNh0W_tabNavigation__itemBtn {\n color: #00adee ;\n}\n\n.neos-oqNh0W_tabNavigation__itemBtn {\n height: 40px ;\n padding: 0 16px ;\n line-height: 40px ;\n cursor: pointer;\n background: 0;\n border: 0;\n display: inline-block;\n}\n\n.neos-oqNh0W_tabNavigation__itemBtn:hover {\n color: #00adee ;\n}\n\n.neos-oqNh0W_tabNavigation__itemBtn:focus {\n outline: 0;\n}\n\n.neos-oqNh0W_tabNavigation__itemBtnIcon {\n color: currentColor;\n}\n\n.neos-oqNh0W_tabNavigation__itemBtnIcon--hasLabel {\n margin-right: 8px ;\n}\n\n.neos-oqNh0W_panel {\n overflow-y: auto;\n}\n",".tabs {\n composes: reset from '../reset.module.css';\n height: 100%;\n}\n\n.tabs__content {\n composes: reset from '../reset.module.css';\n overflow-y: auto;\n}\n\n.tabNavigation {\n composes: reset from '../reset.module.css';\n display: block;\n margin: 0;\n padding: 0;\n list-style: none;\n background: var(--colors-ContrastDarkest);\n border-bottom: 1px solid var(--colors-ContrastDark);\n\n &:before,\n &:after {\n content: '';\n display: table;\n }\n &:after {\n clear: both;\n }\n}\n.tabNavigation__item {\n composes: reset from '../reset.module.css';\n position: relative;\n float: left;\n border-top: 1px solid var(--colors-ContrastDark);\n border-right: 1px solid var(--colors-ContrastDark);\n color: var(--colors-ContrastBrightest);\n}\n.tabNavigation__item--isActive {\n background-color: var(--colors-ContrastDarker);\n cursor: default;\n border-bottom: 1px solid var(--colors-ContrastDarker);\n margin-bottom: -1px;\n\n &:after {\n display: block;\n content: ' ';\n position: absolute;\n top: -1px;\n left: 0;\n right: 0;\n height: 2px;\n width: 100%;\n background: var(--colors-PrimaryBlue);\n }\n\n > .tabNavigation__itemBtn {\n color: var(--colors-PrimaryBlue);\n }\n}\n.tabNavigation__itemBtn {\n composes: reset from '../reset.module.css';\n display: inline-block;\n height: var(--spacing-GoldenUnit);\n padding: 0 var(--spacing-Full);\n line-height: var(--spacing-GoldenUnit);\n cursor: pointer;\n border: 0;\n background: 0;\n\n &:hover {\n color: var(--colors-PrimaryBlue);\n }\n\n &:focus {\n outline: 0;\n }\n}\n.tabNavigation__itemBtnIcon {\n color: currentColor;\n}\n.tabNavigation__itemBtnIcon--hasLabel {\n margin-right: var(--spacing-Half);\n}\n\n.panel {\n composes: reset from '../reset.module.css';\n overflow-y: auto;\n}\n",".neos-HIOrZq_textArea {\n width: 100%;\n height: 40px;\n background: #323232 ;\n resize: vertical;\n border: 0;\n border-radius: 2px;\n padding: 10px 14px;\n transition: height .3s;\n}\n\n.neos-HIOrZq_textArea:focus {\n background: #fff ;\n color: #141414 ;\n outline: 0;\n}\n\n.neos-HIOrZq_textArea::-webkit-input-placeholder {\n color: #999 ;\n font-family: Noto Sans, sans-serif;\n}\n\n.neos-HIOrZq_textArea--invalid {\n outline: 2px solid #ff460d !important;\n}\n\n.neos-HIOrZq_textArea--highlight {\n outline: 2px solid #00a338 ;\n}\n\n.neos-HIOrZq_textArea--disabled {\n opacity: .65;\n cursor: not-allowed;\n}\n",".textArea {\n composes: reset from '../reset.module.css';\n width: 100%;\n height: 40px;\n padding: 10px 14px;\n border: 0;\n border-radius: 2px;\n background: var(--colors-ContrastNeutral);\n resize: vertical;\n transition: .3s height;\n\n &:focus {\n outline: 0;\n background: var(--colors-ContrastBrightest);\n color: var(--colors-ContrastDarkest);\n }\n}\n.textArea::-webkit-input-placeholder {\n font-family: 'Noto Sans', sans-serif;\n color: var(--colors-ContrastBright);\n}\n.textArea--invalid {\n outline: 2px solid var(--colors-Error) !important;\n}\n.textArea--highlight {\n outline: 2px solid var(--colors-Success);\n}\n.textArea--disabled {\n opacity: .65;\n cursor: not-allowed;\n}\n",".neos-l9MESW_panel {\n position: relative;\n}\n\n.neos-l9MESW_panel__headline {\n cursor: pointer;\n height: 40px ;\n padding: 0 16px ;\n line-height: 40px ;\n font-weight: bold;\n font-size: 14px ;\n margin: 0;\n}\n\n.neos-l9MESW_panel__headline--noPadding {\n padding: 0;\n}\n\n.neos-l9MESW_panel__toggleBtn {\n position: absolute;\n top: 0;\n right: 0;\n}\n\n.neos-l9MESW_panel__contents {\n padding: 0 16px ;\n transition: .25s ease padding;\n}\n\n.neos-l9MESW_panel--isOpen .neos-l9MESW_panel__contents {\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n.neos-l9MESW_panel--condensed.neos-l9MESW_panel--isOpen .neos-l9MESW_panel__contents {\n padding-top: 0;\n padding-bottom: 0;\n}\n\n.neos-l9MESW_panel__contents--noPadding {\n padding: 0;\n}\n",".panel {\n composes: reset from '../reset.module.css';\n position: relative;\n}\n\n.panel__headline {\n composes: reset from '../reset.module.css';\n cursor: pointer;\n height: var(--spacing-GoldenUnit);\n margin: 0;\n padding: 0 var(--spacing-Full);\n line-height: var(--spacing-GoldenUnit);\n font-weight: bold;\n font-size: var(--fontSize-Base);\n}\n\n.panel__headline--noPadding {\n padding: 0;\n}\n\n.panel__toggleBtn {\n composes: reset from '../reset.module.css';\n position: absolute;\n top: 0;\n right: 0;\n}\n.panel__contents {\n composes: reset from '../reset.module.css';\n padding: 0 var(--spacing-Full);\n transition: var(--transition-Default) ease padding;\n\n .panel--isOpen & {\n padding-top: 5px;\n padding-bottom: 5px;\n }\n .panel--condensed.panel--isOpen & {\n padding-top: 0;\n padding-bottom: 0;\n }\n}\n\n.panel__contents--noPadding {\n padding: 0;\n}\n",".neos-fU9a9G_treeWrapper {\n padding: 5px 0;\n}\n\n.neos-fU9a9G_treeWrapper:focus {\n outline: 0;\n}\n",".treeWrapper {\n composes: reset from '../reset.module.css';\n\n padding: 5px 0;\n\n &:focus {\n outline: 0;\n }\n}\n",".neos-jrPqiW_header {\n margin: 0;\n line-height: 20px;\n position: relative;\n}\n\n.neos-jrPqiW_header__chevron {\n height: 100%;\n width: 18px;\n color: #adadad ;\n text-align: center;\n cursor: pointer;\n line-height: 20px;\n position: absolute;\n top: 0;\n left: 0;\n}\n\n.neos-jrPqiW_header__chevron:hover {\n color: #00adee ;\n}\n\n.neos-jrPqiW_header__chevron--isCollapsed > svg {\n transform: translateY(3px)translateX(-2px)rotate(-90deg);\n}\n\n.neos-jrPqiW_header__chevron--isHiddenInIndex {\n opacity: .5;\n}\n\n.neos-jrPqiW_header__chevron--isLoading, .neos-jrPqiW_header__chevron--isLoading:hover {\n color: #adadad !important;\n}\n\n.neos-jrPqiW_header__chevron--isLoading > svg {\n margin-top: 6px;\n}\n\n.neos-jrPqiW_header__iconWrapper {\n width: 2em;\n text-align: center;\n display: inline-block;\n position: absolute;\n}\n\n.neos-jrPqiW_header__data {\n min-width: 100%;\n white-space: nowrap;\n cursor: pointer;\n border-left: 2px solid rgba(0, 0, 0, 0);\n padding: .1em 0;\n display: inline-block;\n position: relative;\n}\n\n.neos-jrPqiW_header__data--isHiddenInIndex {\n opacity: .5;\n}\n\n.neos-jrPqiW_header__data--isHidden {\n text-decoration: line-through;\n}\n\n.neos-jrPqiW_header__data--isDragging {\n opacity: .2;\n}\n\n.neos-jrPqiW_header__data--isDirty {\n border-left: 2px solid #ff8700 ;\n}\n\n.neos-jrPqiW_header__data--isFocused {\n background: #323232 ;\n}\n\n.neos-jrPqiW_header__data--isFocused.neos-jrPqiW_header__data--isHiddenInIndex, .neos-jrPqiW_header__data--isFocused.neos-jrPqiW_header__data--isHidden {\n opacity: .8;\n}\n\n.neos-jrPqiW_header__data--acceptsDrop {\n background-color: #00adee ;\n}\n\n.neos-jrPqiW_header__data--acceptsDrop *, .neos-jrPqiW_header__data--deniesDrop * {\n pointer-events: none;\n}\n\n.neos-jrPqiW_header__labelWrapper {\n max-width: 264px;\n text-overflow: ellipsis;\n vertical-align: middle;\n line-height: 1.5;\n display: inline-block;\n overflow: hidden;\n}\n\n.neos-jrPqiW_header__label {\n margin-left: 2em;\n}\n\n.neos-jrPqiW_header__data--isActive .neos-jrPqiW_header__label {\n color: #00adee ;\n}\n\n.neos-jrPqiW_contents {\n}\n\n.neos-jrPqiW_dropTarget {\n height: 2px;\n padding-left: 15px;\n position: absolute;\n left: 0;\n right: 0;\n}\n\n.neos-jrPqiW_dropTarget--before {\n z-index: 1 ;\n padding-top: 4px;\n padding-bottom: 4px;\n top: -5px;\n}\n\n.neos-jrPqiW_dropTarget--after {\n z-index: 2 ;\n padding-top: 6px;\n padding-bottom: 0;\n bottom: 1px;\n}\n\n.neos-jrPqiW_dropTarget__inner {\n visibility: hidden;\n height: 0;\n margin-top: -8px;\n}\n\n.neos-jrPqiW_dropTarget__inner--acceptsDrop {\n z-index: 100000;\n visibility: visible;\n}\n\n.neos-jrPqiW_dropTarget__inner svg {\n fill: #00adee ;\n}\n",".header {\n composes: reset from '../reset.module.css';\n margin: 0;\n position: relative;\n line-height: 20px;\n}\n.header__chevron {\n composes: reset from '../reset.module.css';\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 18px;\n\n color: var(--colors-ContrastBrighter);\n line-height: 20px;\n text-align: center;\n\n cursor: pointer;\n\n &:hover {\n color: var(--colors-PrimaryBlue);\n }\n}\n.header__chevron--isCollapsed > svg {\n transform: translateY(3px) translateX(-2px) rotate(-90deg);\n}\n.header__chevron--isHiddenInIndex {\n opacity: .5;\n}\n\n.header__chevron--isLoading,\n.header__chevron--isLoading:hover {\n color: var(--colors-ContrastBrighter) !important;\n}\n\n.header__chevron--isLoading > svg {\n margin-top: 6px;\n}\n\n.header__iconWrapper {\n width: 2em;\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.header__data {\n composes: reset from '../reset.module.css';\n position: relative;\n display: inline-block;\n min-width: 100%;\n padding: .1em 0;\n\n border-left: 2px solid transparent;\n\n white-space: nowrap;\n\n cursor: pointer;\n}\n\n.header__data--isHiddenInIndex {\n opacity: .5;\n}\n.header__data--isHidden {\n text-decoration: line-through;\n}\n.header__data--isDragging {\n opacity: .2;\n}\n.header__data--isDirty {\n border-left: 2px solid var(--colors-Warn);\n}\n\n.header__data--isFocused {\n background: var(--colors-ContrastNeutral);\n\n &.header__data--isHiddenInIndex,\n &.header__data--isHidden {\n opacity: .8;\n }\n}\n.header__data--acceptsDrop {\n background-color: var(--colors-PrimaryBlue);\n}\n.header__data--acceptsDrop *,\n.header__data--deniesDrop * {\n pointer-events: none;\n}\n\n.header__labelWrapper {\n max-width: 264px;\n overflow: hidden;\n text-overflow: ellipsis;\n display: inline-block;\n line-height: 1.5;\n vertical-align: middle;\n}\n.header__label {\n composes: reset from '../reset.module.css';\n margin-left: 2em;\n\n .header__data--isActive & {\n color: var(--colors-PrimaryBlue);\n }\n}\n\n.contents {\n composes: reset from '../reset.module.css';\n}\n\n.dropTarget {\n position: absolute;\n left: 0;\n right: 0;\n padding-left: 15px;\n height: 2px;\n}\n.dropTarget--before {\n top: -5px;\n z-index: var(--zIndex-SideBar-DropTargetBefore);\n padding-top: 4px;\n padding-bottom: 4px;\n}\n.dropTarget--after {\n bottom: 1px;\n z-index: var(--zIndex-SideBar-DropTargetAfter);\n padding-top: 6px;\n padding-bottom: 0;\n}\n.dropTarget__inner {\n visibility: hidden;\n margin-top: -8px;\n height: 0;\n}\n.dropTarget__inner--acceptsDrop {\n z-index: 100000;\n visibility: visible;\n}\n.dropTarget__inner svg {\n fill: var(--colors-PrimaryBlue);\n}\n",".neos-sxnCBW_layer {\n pointer-events: none;\n z-index: 2147483646;\n width: 100%;\n height: 100%;\n position: fixed;\n top: 0;\n left: 0;\n}\n\n.neos-sxnCBW_dragWrapper {\n opacity: .7;\n display: inline-block;\n position: relative;\n left: 0;\n}\n\n.neos-sxnCBW_count {\n z-index: 2147483646;\n width: 20px;\n height: 20px;\n color: #fff ;\n background-color: #ff460d ;\n text-align: center;\n border-radius: 50%;\n padding: 1px;\n font-size: 12px;\n font-weight: bold;\n position: absolute;\n top: -10px;\n left: 5px;\n}\n\n.neos-sxnCBW_node {\n width: 280px;\n background-color: #323232 ;\n border: 1px solid #3f3f3f ;\n position: absolute;\n}\n",".layer {\n position: fixed;\n pointer-events: none;\n z-index: 2147483646;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n}\n\n.dragWrapper {\n display: inline-block;\n position: relative;\n opacity: .7;\n left: 0;\n}\n\n.count {\n z-index: 2147483646;\n position: absolute;\n top: -10px;\n left: 5px;\n width: 20px;\n height: 20px;\n color: var(--colors-ContrastBrightest);\n background-color: var(--colors-Error);\n border-radius: 50%;\n padding: 1px;\n font-size: 12px;\n font-weight: bold;\n text-align: center;\n}\n\n.node {\n position: absolute;\n width: 280px;\n background-color: var(--colors-ContrastNeutral);\n border: 1px solid var(--colors-ContrastDark);\n}\n",".neos-P4wKfG_selectedOptions {\n width: 100%;\n padding-left: 0;\n list-style: none;\n position: relative;\n}\n",".selectedOptions {\n composes: reset from '../reset.module.css';\n\n position: relative;\n width: 100%;\n list-style: none;\n padding-left: 0;\n\n}\n",".neos-2_NI5a_selectedOptions__item {\n width: 100%;\n background: #141414 ;\n border-bottom: 1px solid #222 ;\n border-radius: 2px;\n display: flex;\n position: relative;\n}\n\n.neos-2_NI5a_selectedOptions__item:hover .neos-2_NI5a_selectedOptions__itemIcon {\n display: none;\n}\n\n.neos-2_NI5a_selectedOptions__item:hover .neos-2_NI5a_selectedOptions__itemIcon--onHover {\n display: inline;\n}\n\n.neos-2_NI5a_selectedOptions__item--draggable {\n cursor: move;\n}\n\n.neos-2_NI5a_selectedOptions__innerPreview {\n border-right: 1px solid #222 ;\n width: 100%;\n overflow: hidden;\n}\n\n.neos-2_NI5a_selectedOptions__innerPreview > div {\n box-shadow: none !important;\n}\n\n.neos-2_NI5a_selectedOption__removeButton {\n height: auto;\n background: #323232 ;\n border-top-right-radius: 2px;\n border-bottom-right-radius: 2px;\n}\n\n.neos-2_NI5a_selectedOption__moveButton {\n cursor: move;\n height: auto;\n width: 20px;\n min-width: 20px;\n color: #3f3f3f ;\n border-right: 1px solid #222 ;\n border-top-left-radius: 2px;\n border-bottom-left-radius: 2px;\n}\n\n.neos-2_NI5a_selectedOption__moveButton svg {\n color: #3f3f3f ;\n}\n\n.neos-2_NI5a_selectedOption__moveButton:hover, .neos-2_NI5a_selectedOption__moveButton:focus {\n background: #3f3f3f ;\n color: #999 !important;\n}\n\n:is(.neos-2_NI5a_selectedOption__moveButton:hover, .neos-2_NI5a_selectedOption__moveButton:focus) svg {\n color: #999 !important;\n}\n",".selectedOptions__item {\n display: flex;\n width: 100%;\n position: relative;\n background: var(--colors-ContrastDarkest);\n border-bottom: 1px solid var(--colors-ContrastDarker);\n border-radius: 2px;\n\n &:hover {\n .selectedOptions__itemIcon {\n display: none;\n }\n\n .selectedOptions__itemIcon--onHover {\n display: inline;\n }\n }\n}\n\n.selectedOptions__item--draggable {\n cursor: move;\n}\n.selectedOptions__innerPreview {\n border-right: 1px solid var(--colors-ContrastDarker);\n overflow: hidden;\n width: 100%;\n\n > div {\n box-shadow: none !important;\n }\n}\n.selectedOption__removeButton {\n height: auto;\n background: var(--colors-ContrastNeutral);\n border-top-right-radius: 2px;\n border-bottom-right-radius: 2px;\n}\n.selectedOption__moveButton {\n cursor: move;\n height: auto;\n width: 20px;\n min-width: 20px;\n color: var(--colors-ContrastDark);\n border-top-left-radius: 2px;\n border-bottom-left-radius: 2px;\n border-right: 1px solid var(--colors-ContrastDarker);\n\n & svg {\n color: var(--colors-ContrastDark);\n }\n\n &:hover,\n &:focus {\n background: var(--colors-ContrastDark);\n color: var(--colors-ContrastBright) !important;\n\n & svg {\n color: var(--colors-ContrastBright) !important;\n }\n }\n}\n",".neos-47-Tdq_multiLineWithThumbnail__item {\n box-sizing: content-box;\n background: #141414 ;\n}\n\n.neos-47-Tdq_multiLineWithThumbnail__item--multiLine {\n line-height: 20px;\n}\n\n.neos-47-Tdq_multiLineWithThumbnail__secondaryLabel, .neos-47-Tdq_multiLineWithThumbnail__tertiaryLabel {\n color: #999 ;\n text-overflow: ellipsis;\n font-size: 12px;\n display: block;\n overflow: hidden;\n}\n\n.neos-47-Tdq_multiLineWithThumbnail__image {\n width: calc(1.33 * (40px + 16px ));\n height: calc(40px + 16px );\n object-fit: contain;\n vertical-align: middle;\n margin-right: .75em;\n margin-left: calc(16px * -1);\n margin-top: calc(8px * -1);\n margin-bottom: calc(8px * -1);\n background-color: #fff;\n background-image: linear-gradient(45deg, #ccc 25%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 75%, #ccc 75%, #ccc), linear-gradient(45deg, #ccc 25%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 75%, #ccc 75%, #ccc);\n background-position: 0 0, 25px 25px;\n background-size: 10px 10px;\n display: inline-block;\n}\n\n.neos-47-Tdq_multiLineWithThumbnail__item:hover .neos-47-Tdq_multiLineWithThumbnail__secondaryLabel, .neos-47-Tdq_multiLineWithThumbnail__item:hover .neos-47-Tdq_multiLineWithThumbnail__tertiaryLabel {\n color: #fff;\n}\n",".multiLineWithThumbnail__item {\n box-sizing: content-box;\n background: var(--colors-ContrastDarkest);\n}\n\n.multiLineWithThumbnail__item--multiLine {\n line-height: 20px;\n}\n\n.multiLineWithThumbnail__secondaryLabel {\n color: var(--colors-ContrastBright);\n display: block;\n font-size: 12px;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.multiLineWithThumbnail__tertiaryLabel {\n color: var(--colors-ContrastBright);\n display: block;\n font-size: 12px;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.multiLineWithThumbnail__image {\n width: calc(1.33 * (var(--spacing-GoldenUnit) + var(--spacing-Full)));\n height: calc(var(--spacing-GoldenUnit) + var(--spacing-Full));\n object-fit: contain;\n background-color: #fff;\n background-size: 10px 10px;\n background-position: 0 0, 25px 25px;\n background-image: linear-gradient(45deg, #cccccc 25%, transparent 25%, transparent 75%, #cccccc 75%, #cccccc), linear-gradient(45deg, #cccccc 25%, transparent 25%, transparent 75%, #cccccc 75%, #cccccc);\n margin-right: .75em;\n display: inline-block;\n vertical-align: middle;\n margin-left: calc(var(--spacing-Full) * -1);\n margin-top: calc(var(--spacing-Half) * -1);\n margin-bottom: calc(var(--spacing-Half) * -1);\n}\n\n.multiLineWithThumbnail__item:hover .multiLineWithThumbnail__secondaryLabel,\n.multiLineWithThumbnail__item:hover .multiLineWithThumbnail__tertiaryLabel {\n color: white;\n}\n","/**\n * Define theme variables by using the ones provided by Neos with a fallback to the default values.\n */\n.mediaModuleTheme {\n /**\n * Neos variables\n */\n --theme-grayDarker: var(--grayDarker, #141414);\n --theme-grayDark: var(--grayDark, #222);\n --theme-grayMedium: var(--grayMedium, #323232);\n --theme-grayLight: var(--grayLight, #3f3f3f);\n --theme-grayLighter: var(--grayLighter, #eee);\n --theme-textOnWhite: var(--textOnWhite, #252525);\n --theme-textContrast: var(--textContrast, #2d2d2d);\n --theme-textOnGray: var(--textOnGray, #fff);\n --theme-textSubtle: var(--textSubtle, #5b5b5b);\n --theme-textSubtleLight: var(--textSubtleLight, #adadad);\n --theme-blue: var(--blue, #00b5ff);\n --theme-blueLight: var(--blueLight, #39c6ff);\n --theme-blueDark: var(--blueDark, #007fb2);\n --theme-green: var(--green, #00a338);\n --theme-warning: var(--warning, #ff460d);\n --theme-orange: var(--orange, #ff8700);\n\n --theme-colors-PrimaryViolet: var(--colors-PrimaryViolet, #26224c);\n --theme-colors-PrimaryVioletHover: var(--colors-PrimaryVioletHover, #342f5f);\n --theme-colors-PrimaryBlue: var(--colors-PrimaryBlue, #00adee);\n --theme-colors-PrimaryBlueHover: var(--colors-PrimaryBlueHover, #35c3f8);\n --theme-colors-ContrastDarkest: var(--colors-ContrastDarkest, var(--theme-grayDarker));\n --theme-colors-ContrastDarker: var(--colors-ContrastDarker, var(--theme-grayDark));\n --theme-colors-ContrastDark: var(--colors-ContrastDark, var(--theme-grayLight));\n --theme-colors-ContrastNeutral: var(--colors-ContrastNeutral, var(--theme-grayMedium));\n --theme-colors-ContrastBright: var(--colors-ContrastBright, #999);\n --theme-colors-ContrastBrighter: var(--colors-ContrastBrighter, var(--theme-textSubtleLight));\n --theme-colors-ContrastBrightest: var(--colors-ContrastBrightest, var(--theme-textOnGray));\n --theme-colors-Success: var(--colors-Success, var(--theme-green));\n --theme-colors-SuccessHover: var(--colors-SuccessHover, #0bb344);\n --theme-colors-Warn: var(--colors-Warn, var(--theme-orange));\n --theme-colors-WarnHover: var(--colors-WarnHover, #fda23d);\n --theme-colors-Error: var(--colors-Error, var(--theme-warning));\n --theme-colors-ErrorHover: var(--colors-ErrorHover, #ff6a3c);\n --theme-colors-UncheckedCheckboxTick: var(--colors-UncheckedCheckboxTick, var(--theme-textSubtle));\n\n --theme-spacing-GoldenUnit: var(--spacing-GoldenUnit, 40px);\n --theme-spacing-Full: var(--spacing-Full, 16px);\n --theme-spacing-Half: var(--spacing-Half, 8px);\n --theme-spacing-Quarter: var(--spacing-Quarter, 4px);\n\n --theme-unit: var(--unit, 40px);\n --theme-defaultMargin: var(--defaultMargin, 16px);\n --theme-relatedMargin: var(--relatedMargin, 8px);\n --theme-tightMargin: var(--tightMargin, 4px);\n --theme-wideMargin: var(--wideMargin, 32px);\n\n --theme-fontSize-base: 14px;\n --theme-fontSize-small: 12px;\n\n --theme-transition-fast: 0.1s;\n --theme-transition-default: 0.25s;\n --theme-transition-slow: 0.5s;\n\n /**\n * Media module specific media variables\n */\n --theme-colors-border: var(--theme-colors-ContrastDark);\n --theme-colors-alternatingBackground: var(--theme-colors-ContrastDark);\n --theme-colors-mainBackground: var(--theme-colors-ContrastNeutral);\n --theme-colors-inactive: var(--theme-colors-ContrastBright);\n --theme-colors-scrollbarForeground: var(--theme-colors-ContrastBright);\n --theme-colors-scrollbarBackground: transparent;\n --theme-colors-moduleBackground: var(--theme-colors-ContrastDarker);\n --theme-colors-tableHeader: var(--theme-colors-ContrastDark);\n --theme-colors-assetBackground: var(--theme-colors-ContrastDarkest);\n --theme-colors-captionBackground: var(--theme-colors-ContrastNeutral);\n --theme-colors-text: var(--theme-colors-ContrastBright);\n --theme-colors-disabled: var(--theme-colors-ContrastDark);\n --theme-colors-star: var(--theme-orange);\n\n --theme-zIndex-pagination: 10022;\n --theme-zIndex-lightbox: 10023;\n --theme-zIndex-loadingIndicator: 10024;\n\n /* The content module sidebars are 320px, so we subtract the grid gap and outer module padding */\n --theme-size-sidebarWidth: calc(320px - 2 * var(--theme-spacing-Full));\n --theme-size-scrollbarSize: 4px;\n}\n",".assetLabel {\n display: inline-block;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n",".column {\n display: grid;\n grid-auto-rows: minmax(min-content, max-content);\n grid-template-columns: 100%;\n grid-gap: var(--theme-spacing-Full);\n overflow-y: auto;\n overflow-x: hidden;\n height: 100%;\n}\n",".wrapper {\n display: flex;\n align-items: center;\n height: var(--theme-spacing-GoldenUnit);\n gap: var(--theme-spacing-Half);\n}\n\n.iconWrap {\n display: flex;\n}\n\n.label {\n font-weight: bold;\n user-select: none;\n}\n\n.imgIcon {\n width: auto;\n height: 18px;\n}\n",".propertyList {\n overflow: hidden;\n width: 100%;\n max-width: 100%;\n}\n\n.propertyList dt {\n background-color: var(--theme-colors-alternatingBackground);\n color: white;\n font-weight: bold;\n padding: var(--theme-spacing-Half) var(--theme-spacing-Half) 0;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.propertyList dd {\n background-color: var(--theme-colors-alternatingBackground);\n color: var(--theme-colors-inactive);\n margin: 0 0 1px;\n padding: var(--theme-spacing-Half);\n text-overflow: ellipsis;\n overflow-x: hidden;\n white-space: nowrap;\n}\n",".iconStack {\n position: relative;\n}\n\n.iconStack svg:nth-child(2) {\n position: absolute;\n bottom: 1px;\n right: 2px;\n max-width: 0.8em;\n max-height: 0.8em;\n color: var(--theme-colors-star);\n filter: drop-shadow(0px -1px #aa6600);\n}\n",".plusIcon {\n top: 15px !important;\n left: 13px !important;\n width: 9px !important;\n}\n",".plusIcon {\n top: 13px !important;\n left: 11px !important;\n width: 9px !important;\n}\n",".assetCollectionTree {\n border: 1px solid var(--theme-colors-border);\n max-height: 600px;\n display: flex;\n flex-direction: column;\n}\n\n.assetCollectionTree > * {\n display: block;\n}\n\n.viewSelection [role=\"button\"] > * {\n width: auto;\n margin-right: var(--theme-spacing-Half);\n}\n\n.toolbar {\n border-top: 1px solid var(--theme-colors-border);\n}\n\n.tree {\n border-top: 1px solid var(--theme-colors-border);\n overflow: auto;\n}\n\n",".formBody {\n padding: var(--theme-spacing-Full);\n}\n",".formBody {\n padding: var(--theme-spacing-Full);\n}\n",".clipboardItem {\n background: none;\n border: none;\n cursor: pointer;\n min-width: var(--theme-spacing-GoldenUnit);\n width: var(--theme-spacing-GoldenUnit);\n height: var(--theme-spacing-GoldenUnit);\n}\n\n.clipboardItem img {\n display: block;\n width: 100%;\n height: 100%;\n object-fit: contain;\n}\n",".clipboardToggle {\n height: 100%;\n align-self: flex-end;\n display: flex;\n justify-content: center;\n align-items: center;\n user-select: none;\n margin: 0 -.3rem;\n}\n\n.clipboardToggle > * {\n margin: 0 .3rem;\n}\n",".clipboardActions {\n display: flex;\n align-items: baseline;\n background-color: var(--theme-colors-ContrastNeutral);\n}\n",".assetSourceDescription {\n border: 1px solid var(--theme-colors-border);\n}\n\n.assetSourceDescription .ReactCollapse--collapse {\n transition: height var(--theme-transition-slow);\n}\n\n.panelHeader button {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n",".assetSourceList {\n border: 1px solid var(--theme-colors-border);\n display: flex;\n flex-direction: column;\n}\n\n.header {\n border-bottom: 1px solid var(--theme-colors-border);\n padding: 0 var(--theme-spacing-Full);\n}\n\n.item {\n display: flex;\n align-items: center;\n font-weight: normal;\n cursor: pointer;\n user-select: none;\n background: none;\n border: none;\n padding: 0 var(--theme-spacing-Full);\n color: var(--theme-colors-ContrastBrightest);\n}\n\n.item:hover,\n.itemSelected {\n color: var(--theme-colors-PrimaryBlue);\n}\n\n.itemLabel {\n display: grid;\n grid-template-columns: 20px 1fr;\n}\n\n.itemLabel span {\n font-weight: normal;\n}\n",".dialogBody {\n padding: var(--theme-spacing-Full);\n}\n\n.modalTitle {\n margin-left: var(--theme-spacing-Full);\n}\n",".usageSection h2 {\n font-size: var(--theme-fontSize-base);\n font-weight: bold;\n margin: 0;\n padding: 0;\n}\n\n.usageTable {\n width: 100%;\n margin-top: var(--theme-spacing-Full);\n line-height: 1.5;\n}\n\n.usageTable th {\n font-weight: bold;\n text-align: left;\n}\n\n.usageTable td,\n.usageTable th {\n padding: var(--theme-spacing-Quarter);\n}\n\n.usageTable td:first-child,\n.usageTable th:first-child {\n padding-left: 0;\n}\n\n.usageTable td:last-child,\n.usageTable th:last-child {\n padding-right: 0;\n}\n\n/* This is for specificity; otherwise `.neos.neos-module a` would override this link style in the backend module */\n.usageTable.usageTable a {\n color: var(--theme-colors-PrimaryBlue);\n}\n\n.usageTable.usageTable a:hover {\n color: var(--theme-colors-PrimaryBlueHover);\n text-decoration: underline;\n}\n\n.usageTable li {\n list-style-type: disc;\n}\n\n.usageTable li ul {\n padding-left: 1rem;\n}\n\n.usageTable li ul li {\n display: list-item;\n}\n",".assetUsage {\n padding: var(--theme-spacing-Full);\n line-height: 1em;\n}\n\n.assetUsage section + section {\n margin-top: var(--theme-spacing-Full);\n}\n\n.usageTable {\n width: 100%;\n}\n\n.usageTable th {\n font-weight: bold;\n text-align: left;\n}\n\n.usageTable td,\n.usageTable th {\n padding: var(--theme-spacing-Quarter);\n}\n\n.usageTable td:first-child,\n.usageTable th:first-child {\n padding-left: 0;\n}\n\n.usageTable td:last-child,\n.usageTable th:last-child {\n padding-right: 0;\n}\n\n.neos .usageTable a {\n color: var(--theme-colors-PrimaryBlue);\n}\n\n.neos .usageTable a:hover {\n color: var(--theme-colors-PrimaryBlue);\n text-decoration: underline;\n}\n",".similarAsset {\n margin: 0;\n display: flex;\n flex-direction: column;\n position: relative;\n}\n\n.picture {\n background-color: var(--theme-colors-assetBackground);\n}\n\n.picture img {\n display: block;\n height: 250px;\n width: 100%;\n object-fit: contain;\n}\n\n.caption {\n background-color: var(--theme-colors-captionBackground);\n transition: background-color var(--theme-transition-fast);\n padding: var(--theme-spacing-Half);\n display: flex;\n align-items: center;\n flex: 1;\n}\n\n.caption img {\n width: 1.3rem;\n height: auto;\n margin-right: var(--theme-spacing-Half);\n}\n",".assetUsage {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));\n gap: var(--theme-spacing-Full);\n padding: var(--theme-spacing-Full);\n}\n",".dropzone {\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: var(--theme-spacing-GoldenUnit);\n border-width: 2px;\n border-radius: 2px;\n border-color: var(--theme-colors-disabled);\n border-style: dashed;\n background-color: var(--theme-colors-alternatingBackground);\n color: var(--theme-colors-text);\n outline: none;\n cursor: pointer;\n user-select: none;\n transition: border .24s ease-in-out;\n}\n\n.dropzone p {\n margin: 0;\n line-height: 1.6;\n}\n\n.dropzone--active {\n border-color: var(--theme-colors-PrimaryBlue);\n}\n\n.dropzone--accept {\n border-color: var(--theme-colors-Success);\n}\n\n.dropzone--reject {\n border-color: var(--theme-colors-Error);\n}\n",".fileList {\n margin-top: var(--theme-spacing-Full);\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n.fileListHeader {\n flex: 1 1 100%;\n margin-bottom: var(--theme-spacing-Full);\n font-size: var(--theme-fontSize-base);\n}\n\n.thumb {\n display: inline-flex;\n border-radius: 2px;\n border: 1px solid #eaeaea;\n margin-bottom: var(--theme-spacing-Half);\n margin-right: var(--theme-spacing-Half);\n width: 100px;\n height: 100px;\n padding: var(--theme-spacing-Quarter);\n box-sizing: border-box;\n}\n\n.thumbInner {\n position: relative;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.thumbInner span {\n margin-left: var(--theme-spacing-Half);\n user-select: none;\n}\n\n.img {\n position: absolute;\n display: block;\n width: 100%;\n height: 100%;\n object-fit: cover;\n left: 0;\n top: 0;\n z-index: -1;\n}\n\n.thumbInner:after {\n display: none;\n position: absolute;\n content: \"\";\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n background-color: var(--theme-colors-alternatingBackground);\n opacity: 0.3;\n z-index: -1;\n}\n\n.loading {\n border-color: var(--theme-colors-border);\n}\n\n.loading .thumbInner:after {\n display: block;\n}\n\n.success {\n border-color: var(--theme-colors-Success);\n}\n\n.success .thumbInner:after {\n display: block;\n background-color: var(--theme-colors-Success);\n}\n\n.error {\n border-color: var(--theme-colors-Error);\n}\n\n.error .thumbInner:after {\n display: block;\n background-color: var(--theme-colors-Error);\n}\n\n.warning {\n color: var(--theme-colors-Warn);\n}\n",".fileList {\n margin-top: var(--theme-spacing-Full);\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n.fileListHeader {\n flex: 1 1 100%;\n margin-bottom: var(--theme-spacing-Full);\n font-size: var(--theme-fontSize-base);\n}\n",".uploadArea {\n padding: var(--theme-spacing-Full);\n}\n",".uploadArea {\n padding: var(--theme-spacing-Full);\n}\n\n.optionSection {\n margin-top: var(--theme-spacing-Full);\n margin-bottom: var(--theme-spacing-Full);\n}\n\n.option {\n margin-top: var(--theme-spacing-Half);\n margin-bottom: var(--theme-spacing-Half);\n}\n\n.label {\n display: flex !important;\n}\n",".uploadButton {\n display: flex;\n}\n\n.uploadButton button {\n flex: 1;\n}\n","@keyframes closeWindow {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n}\n\n.ril__outer {\n background-color: rgba(0, 0, 0, 0.85);\n outline: none;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 1000;\n width: 100%;\n height: 100%;\n -ms-content-zooming: none;\n -ms-user-select: none;\n -ms-touch-select: none;\n touch-action: none;\n}\n\n.ril__outerClosing {\n opacity: 0;\n}\n\n.ril__inner {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n\n.ril__image,\n.ril__imagePrev,\n.ril__imageNext {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n margin: auto;\n max-width: none;\n -ms-content-zooming: none;\n -ms-user-select: none;\n -ms-touch-select: none;\n touch-action: none;\n}\n\n.ril__imageDiscourager {\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n}\n\n.ril__navButtons {\n border: none;\n position: absolute;\n top: 0;\n bottom: 0;\n width: 20px;\n height: 34px;\n padding: 40px 30px;\n margin: auto;\n cursor: pointer;\n opacity: 0.7;\n}\n.ril__navButtons:hover {\n opacity: 1;\n}\n.ril__navButtons:active {\n opacity: 0.7;\n}\n\n.ril__navButtonPrev {\n left: 0;\n background: rgba(0, 0, 0, 0.2)\n url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjIwIiBoZWlnaHQ9IjM0Ij48cGF0aCBkPSJtIDE5LDMgLTIsLTIgLTE2LDE2IDE2LDE2IDEsLTEgLTE1LC0xNSAxNSwtMTUgeiIgZmlsbD0iI0ZGRiIvPjwvc3ZnPg==')\n no-repeat center;\n}\n\n.ril__navButtonNext {\n right: 0;\n background: rgba(0, 0, 0, 0.2)\n url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjIwIiBoZWlnaHQ9IjM0Ij48cGF0aCBkPSJtIDEsMyAyLC0yIDE2LDE2IC0xNiwxNiAtMSwtMSAxNSwtMTUgLTE1LC0xNSB6IiBmaWxsPSIjRkZGIi8+PC9zdmc+')\n no-repeat center;\n}\n\n.ril__downloadBlocker {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-image: url('data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7');\n background-size: cover;\n}\n\n.ril__caption,\n.ril__toolbar {\n background-color: rgba(0, 0, 0, 0.5);\n position: absolute;\n left: 0;\n right: 0;\n display: flex;\n justify-content: space-between;\n}\n\n.ril__caption {\n bottom: 0;\n max-height: 150px;\n overflow: auto;\n}\n\n.ril__captionContent {\n padding: 10px 20px;\n color: #fff;\n}\n\n.ril__toolbar {\n top: 0;\n height: 50px;\n}\n\n.ril__toolbarSide {\n height: 50px;\n margin: 0;\n}\n\n.ril__toolbarLeftSide {\n padding-left: 20px;\n padding-right: 0;\n flex: 0 1 auto;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.ril__toolbarRightSide {\n padding-left: 0;\n padding-right: 20px;\n flex: 0 0 auto;\n}\n\n.ril__toolbarItem {\n display: inline-block;\n line-height: 50px;\n padding: 0;\n color: #fff;\n font-size: 120%;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.ril__toolbarItemChild {\n vertical-align: middle;\n}\n\n.ril__builtinButton {\n width: 40px;\n height: 35px;\n cursor: pointer;\n border: none;\n opacity: 0.7;\n}\n.ril__builtinButton:hover {\n opacity: 1;\n}\n.ril__builtinButton:active {\n outline: none;\n}\n\n.ril__builtinButtonDisabled {\n cursor: default;\n opacity: 0.5;\n}\n.ril__builtinButtonDisabled:hover {\n opacity: 0.5;\n}\n\n.ril__closeButton {\n background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjIwIiBoZWlnaHQ9IjIwIj48cGF0aCBkPSJtIDEsMyAxLjI1LC0xLjI1IDcuNSw3LjUgNy41LC03LjUgMS4yNSwxLjI1IC03LjUsNy41IDcuNSw3LjUgLTEuMjUsMS4yNSAtNy41LC03LjUgLTcuNSw3LjUgLTEuMjUsLTEuMjUgNy41LC03LjUgLTcuNSwtNy41IHoiIGZpbGw9IiNGRkYiLz48L3N2Zz4=')\n no-repeat center;\n}\n\n.ril__zoomInButton {\n background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGcgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PHBhdGggZD0iTTEgMTlsNi02Ii8+PHBhdGggZD0iTTkgOGg2Ii8+PHBhdGggZD0iTTEyIDV2NiIvPjwvZz48Y2lyY2xlIGN4PSIxMiIgY3k9IjgiIHI9IjciIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIyIi8+PC9zdmc+')\n no-repeat center;\n}\n\n.ril__zoomOutButton {\n background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGcgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PHBhdGggZD0iTTEgMTlsNi02Ii8+PHBhdGggZD0iTTkgOGg2Ii8+PC9nPjxjaXJjbGUgY3g9IjEyIiBjeT0iOCIgcj0iNyIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjIiLz48L3N2Zz4=')\n no-repeat center;\n}\n\n.ril__outerAnimating {\n animation-name: closeWindow;\n}\n\n@keyframes pointFade {\n 0%,\n 19.999%,\n 100% {\n opacity: 0;\n }\n 20% {\n opacity: 1;\n }\n}\n\n.ril__loadingCircle {\n width: 60px;\n height: 60px;\n position: relative;\n}\n\n.ril__loadingCirclePoint {\n width: 100%;\n height: 100%;\n position: absolute;\n left: 0;\n top: 0;\n}\n.ril__loadingCirclePoint::before {\n content: '';\n display: block;\n margin: 0 auto;\n width: 11%;\n height: 30%;\n background-color: #fff;\n border-radius: 30%;\n animation: pointFade 800ms infinite ease-in-out both;\n}\n.ril__loadingCirclePoint:nth-of-type(1) {\n transform: rotate(0deg);\n}\n.ril__loadingCirclePoint:nth-of-type(7) {\n transform: rotate(180deg);\n}\n.ril__loadingCirclePoint:nth-of-type(1)::before,\n.ril__loadingCirclePoint:nth-of-type(7)::before {\n animation-delay: -800ms;\n}\n.ril__loadingCirclePoint:nth-of-type(2) {\n transform: rotate(30deg);\n}\n.ril__loadingCirclePoint:nth-of-type(8) {\n transform: rotate(210deg);\n}\n.ril__loadingCirclePoint:nth-of-type(2)::before,\n.ril__loadingCirclePoint:nth-of-type(8)::before {\n animation-delay: -666ms;\n}\n.ril__loadingCirclePoint:nth-of-type(3) {\n transform: rotate(60deg);\n}\n.ril__loadingCirclePoint:nth-of-type(9) {\n transform: rotate(240deg);\n}\n.ril__loadingCirclePoint:nth-of-type(3)::before,\n.ril__loadingCirclePoint:nth-of-type(9)::before {\n animation-delay: -533ms;\n}\n.ril__loadingCirclePoint:nth-of-type(4) {\n transform: rotate(90deg);\n}\n.ril__loadingCirclePoint:nth-of-type(10) {\n transform: rotate(270deg);\n}\n.ril__loadingCirclePoint:nth-of-type(4)::before,\n.ril__loadingCirclePoint:nth-of-type(10)::before {\n animation-delay: -400ms;\n}\n.ril__loadingCirclePoint:nth-of-type(5) {\n transform: rotate(120deg);\n}\n.ril__loadingCirclePoint:nth-of-type(11) {\n transform: rotate(300deg);\n}\n.ril__loadingCirclePoint:nth-of-type(5)::before,\n.ril__loadingCirclePoint:nth-of-type(11)::before {\n animation-delay: -266ms;\n}\n.ril__loadingCirclePoint:nth-of-type(6) {\n transform: rotate(150deg);\n}\n.ril__loadingCirclePoint:nth-of-type(12) {\n transform: rotate(330deg);\n}\n.ril__loadingCirclePoint:nth-of-type(6)::before,\n.ril__loadingCirclePoint:nth-of-type(12)::before {\n animation-delay: -133ms;\n}\n.ril__loadingCirclePoint:nth-of-type(7) {\n transform: rotate(180deg);\n}\n.ril__loadingCirclePoint:nth-of-type(13) {\n transform: rotate(360deg);\n}\n.ril__loadingCirclePoint:nth-of-type(7)::before,\n.ril__loadingCirclePoint:nth-of-type(13)::before {\n animation-delay: 0ms;\n}\n\n.ril__loadingContainer {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n}\n.ril__imagePrev .ril__loadingContainer,\n.ril__imageNext .ril__loadingContainer {\n display: none;\n}\n\n.ril__errorContainer {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n color: #fff;\n}\n.ril__imagePrev .ril__errorContainer,\n.ril__imageNext .ril__errorContainer {\n display: none;\n}\n\n.ril__loadingContainer__icon {\n color: #fff;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n}\n",".lightbox .ril__image {\n max-width: 100%;\n}\n",".editArea {\n padding: var(--theme-spacing-Full);\n}\n\n.filenameInput {\n flex: 1 1 100%;\n}\n\n.label {\n display: flex !important;\n flex-wrap: wrap;\n align-items: baseline;\n gap: var(--theme-spacing-Half) 0;\n}\n\n.label + label {\n margin-top: var(--theme-spacing-Full);\n}\n",".actions {\n display: flex;\n position: sticky;\n background-color: var(--theme-colors-mainBackground);\n bottom: 0;\n}\n\n.actions > * {\n flex: 1;\n}\n",".inspector {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n grid-auto-rows: auto;\n gap: var(--theme-spacing-Full);\n}\n\n.inspector input,\n.inspector textarea {\n width: 100%;\n}\n",".collectionSelectBox input {\n /* Hack to override Neos backend CSS override */\n background-color: transparent !important;\n border: none !important;\n}\n\n.collectionSelectBox svg {\n align-self: center;\n}\n",".variantContainer {\n background-color: var(--theme-colors-assetBackground);\n}\n\n.picture {\n height: 200px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.image {\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n display: block;\n background-image: repeating-linear-gradient(45deg, #999999 25%, transparent 25%, transparent 75%, #999999 75%, #999999), repeating-linear-gradient(45deg, #999999 25%, #e5e5f7 25%, #e5e5f7 75%, #999999 75%, #999999);\n background-position: 0 0, 10px 10px;\n background-size: 20px 20px;\n}\n\n.caption {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: var(--theme-spacing-Half);\n background-color: var(--theme-colors-captionBackground);\n}\n\n.infoContainer {\n display: flex;\n flex-direction: column;\n min-width: 0;\n max-width: var(--theme-size-sidebarWidth);\n}\n\n.info {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.variantSizes {\n font-size: var(--theme-fontSize-small);\n}\n",".variantsContainer {\n padding: var(--theme-spacing-Full) var(--theme-spacing-Half);\n}\n\n.variantsContainer h1 {\n font-size: var(--theme-fontSize-base);\n margin: 0;\n padding: 0;\n}\n\n.variantItem {\n margin-top: var(--theme-spacing-Full);\n}\n",".tasks {\n display: flex;\n flex-direction: column;\n gap: var(--theme-spacing-Half);\n}\n\n.tasks button {\n display: flex;\n align-items: center;\n gap: 0.5em;\n}\n",".textArea {\n /* TODO: Remove when overriding rule is removed from Minimal Module Style in Neos */\n padding: var(--theme-spacing-Half) !important;\n}\n\n.propertyPanel {\n}\n\n.propertyPanelHeader {\n}\n\n.propertyPanelHeader h2 {\n padding: 0;\n}\n\n.propertyPanelHeader button {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.propertyPanelContents {\n display: flex;\n flex-direction: column;\n padding: 0;\n gap: var(--theme-spacing-Full);\n}\n",".tabContent {\n height: calc(100% - 42px);\n}\n",".collectionSelectBox input {\n /* Hack to override Neos backend CSS override */\n background-color: transparent !important;\n border: none !important;\n}\n\n.collectionSelectBox svg {\n align-self: center;\n}\n",".iptcData {}\n.iptcData dl dt {\n background-color: var(--theme-colors-alternatingBackground);\n font-weight: bold;\n color: white;\n padding: var(--theme-spacing-Half) var(--theme-spacing-Half) 0;\n}\n.iptcData dl dd {\n background-color: var(--theme-colors-alternatingBackground);\n margin-bottom: 1px;\n padding: var(--theme-spacing-Half);\n color: var(--theme-colors-inactive);\n}\n",".currentSelection {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n overflow: hidden;\n}\n\n.headline {\n user-select: none;\n flex: 1 1 100%;\n font-weight: bold;\n line-height: var(--theme-spacing-GoldenUnit);\n}\n\n.label {\n}\n\n.label svg {\n margin-right: var(--theme-spacing-Half);\n}\n\n.breadcrumb {\n display: flex;\n flex-wrap: wrap;\n gap: var(--theme-spacing-Quarter);\n padding: var(--theme-spacing-Quarter);\n}\n\n.breadcrumb button {\n background-color: var(--theme-colors-alternatingBackground);\n color: var(--theme-colors-ContrastBrightest);\n overflow: hidden;\n display: block;\n text-overflow-ellipsis: ellipsis;\n flex: 0 0 auto;\n border: none;\n}\n\n.breadcrumb button:hover {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n","@keyframes cssLoadWidth {\n 0%,\n 100% {\n transition-timing-function: cubic-bezier(1, 0, .65, .85);\n }\n 0% {\n width: 0;\n }\n 100% {\n width: 100%;\n }\n}\n\n.indicator {\n left: 0;\n top: 0;\n height: 2px;\n position: fixed;\n width: 100%;\n z-index: var(--theme-zIndex-loadingIndicator);\n display: none;\n}\n\n.indicator::after {\n content: '';\n display: block;\n height: 100%;\n position: relative;\n background-color: var(--theme-colors-Warn);\n}\n\n.indicator[data-animated=\"true\"] {\n display: block;\n}\n\n.indicator[data-animated=\"true\"]::after {\n animation: cssLoadWidth 2s cubic-bezier(.45, 0, 1, 1) infinite;\n}\n"," .assetCount {\n height: 100%;\n align-self: flex-start;\n display: flex;\n justify-content: center;\n align-items: center;\n user-select: none;\n }\n","\n.item {\n user-select: none;\n}\n\n.item button {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n",".pagination {\n justify-self: center;\n}\n\n.list {\n display: flex;\n justify-self: center;\n list-style-type: none;\n text-align: center;\n padding: 0;\n margin: 0;\n}\n\n.ellipsis {\n line-height: 2.4rem;\n user-select: none;\n}\n\n.disabled {\n color: var(--theme-colors-ContrastBrighter);\n}\n",".bottomBar {\n display: grid;\n grid-template-columns: 350px 1fr 350px;\n gap: var(--theme-spacing-GoldenUnit);\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n border-top: 1px solid var(--theme-colors-border);\n background-color: var(--theme-colors-moduleBackground);\n z-index: var(--theme-zIndex-pagination);\n}\n\n.selectionMode {\n grid-template-columns: repeat(3, 1fr);\n}\n\n.isInNodeCreationDialog {\n bottom: -16px;\n left: -16px;\n right: -16px;\n}\n",".sortingState {\n display: flex;\n min-width: 0;\n}\n\n.selectBox {\n min-width: 0;\n}\n",".assetsFilter {\n position: relative;\n}\n\n.assetsFilter summary {\n background-color: var(--theme-colors-captionBackground);\n padding: 0 1em;\n cursor: pointer;\n}\n\n.assetsFilter summary:hover {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n\n.assetsFilter > summary {\n list-style-type: none;\n}\n\n.assetsFilter[open] > summary::-webkit-details-marker {\n display: none;\n}\n\n.assetsFilter.active summary {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n\n.filterList {\n z-index: 2;\n display: flex;\n flex-direction: column;\n position: absolute;\n gap: 1px;\n top: 100%;\n left: 0;\n background-color: var(--theme-colors-ContrastDarker);\n}\n\n.typeFilter {\n display: flex;\n}\n\n.typeFilter svg {\n /* TODO: This is a workaround for a bug in the SelectBoxHeader which sets the svg height to 100% */\n height: 1em !important;\n}\n\n.selectBox {\n min-width: auto;\n}\n",".viewModeSelector {\n display: flex;\n align-items: baseline;\n}\n\n.viewModeSelector label {\n margin-right: var(--theme-spacing-Quarter);\n}\n\n.selectBox {\n min-width: auto;\n}\n",".searchBox {\n flex: 1;\n}\n\n.searchBox input[type=\"search\"] {\n -webkit-appearance: searchfield;\n width: 100%;\n}\n\n.searchBox input[type=\"search\"]::-webkit-search-cancel-button {\n -webkit-appearance: searchfield-cancel-button;\n cursor: pointer;\n}\n",".topBar {\n display: flex;\n flex-wrap: nowrap;\n justify-content: flex-end;\n margin: 0 calc(-1 * var(--theme-spacing-Half));\n padding-right: 0;\n}\n\n.topBar--selectionMode {\n /* Add spacing in selection mode to prevent overlap with close button of secondary inspector view */\n padding-right: var(--theme-spacing-GoldenUnit);\n}\n\n.topBar > * {\n margin: 0 var(--theme-spacing-Half);\n}\n",".listView {\n height: auto;\n}\n\n.listView--fullHeight {\n height: 100%;\n}\n\n.listView table {\n border-spacing: 0 1px;\n width: 100%;\n}\n\n.listView table th {\n text-align: left;\n line-height: var(--theme-spacing-GoldenUnit);\n padding: 0 var(--theme-spacing-Half);\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n user-select: none;\n}\n\n.listView table th:first-child,\n.listView table th:last-child {\n padding: 0;\n}\n\n.tableHeader {\n position: sticky;\n background-color: var(--theme-colors-tableHeader);\n top: 0;\n z-index: 1;\n}\n",".listViewItem {\n background-color: var(--theme-colors-mainBackground);\n}\n\n.listViewItem:nth-of-type(2n) {\n background-color: var(--theme-colors-alternatingBackground);\n}\n\n.listViewItem:hover {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n\n.selected {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n\n.selected:nth-of-type(2n) {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n\n.textColumn {\n padding: 0 var(--theme-spacing-Half);\n white-space: nowrap;\n user-select: none;\n cursor: pointer;\n width: 1px;\n}\n\n.textColumn > * {\n vertical-align: middle;\n}\n\n.previewColumn {\n min-width: var(--theme-spacing-GoldenUnit);\n width: var(--theme-spacing-GoldenUnit);\n cursor: pointer;\n}\n\n.previewColumn picture {\n display: block;\n width: 100%;\n height: var(--theme-spacing-GoldenUnit);\n text-align: center;\n}\n\n.previewColumn picture img, .previewColumn picture svg {\n display: inline-block;\n width: 100%;\n height: 100%;\n object-fit: contain;\n}\n\n.labelColumn {\n composes: textColumn;\n display: table;\n table-layout: fixed;\n width: 100%;\n line-height: var(--theme-spacing-GoldenUnit);\n user-select: text;\n}\n\n.labelColumn > * {\n width: calc(100% - 2 * var(--theme-spacing-Half));\n padding: 0 var(--theme-spacing-Half);\n}\n\n.lastModifiedColumn {\n composes: textColumn;\n}\n\n.fileSizeColumn {\n composes: textColumn;\n}\n\n.mediaTypeColumn {\n composes: textColumn;\n max-width: 100px;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.actionsColumn {\n composes: textColumn;\n text-align: right;\n}\n",".emptyStateWrapper {\n display: flex;\n align-items: center;\n justify-content: center;\n height: inherit;\n}\n",".thumbnail {\n margin: 0;\n display: flex;\n flex-direction: column;\n position: relative;\n}\n\n.thumbnail:hover .caption {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n\n.thumbnail:hover .toolBar {\n pointer-events: all;\n background-color: rgba(0.15, 0.15, 0.15, 0.25);\n}\n\n.thumbnail:hover .toolBar button {\n opacity: 1;\n}\n\n.thumbnail:hover .toolBar button[disabled] {\n opacity: 0.5;\n}\n\n.thumbnail:hover .toolBar button.button--active svg {\n color: white;\n}\n\n.picture {\n cursor: pointer;\n height: 250px;\n display: flex;\n align-items: center;\n align-content: center;\n justify-content: center;\n background-color: var(--theme-colors-assetBackground);\n}\n\n.picture img {\n display: block;\n background-image: repeating-linear-gradient(45deg, #999999 25%, transparent 25%, transparent 75%, #999999 75%, #999999), repeating-linear-gradient(45deg, #999999 25%, #e5e5f7 25%, #e5e5f7 75%, #999999 75%, #999999);\n background-position: 0 0, 10px 10px;\n background-size: 20px 20px;\n max-height: 250px;\n max-width: 100%;\n}\n\n.caption {\n background-color: var(--theme-colors-captionBackground);\n transition: background-color var(--theme-transition-fast);\n padding: var(--theme-spacing-Half);\n display: flex;\n align-items: center;\n flex: 1;\n}\n\n.caption img, .caption svg {\n width: 1.3rem;\n height: auto;\n margin-right: var(--theme-spacing-Half);\n}\n\n.selected {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n\n.toolBar {\n display: flex;\n position: absolute;\n top: var(--theme-spacing-Quarter);\n right: var(--theme-spacing-Quarter);\n pointer-events: none;\n background-color: transparent;\n transition: background-color .1s ease-in;\n}\n\n.toolBar button,\n.toolBar button[disabled] {\n transition: opacity .1s ease-in;\n opacity: 0;\n}\n\n.toolBar button.button--active {\n opacity: 1;\n}\n\n.toolBar button.button--active svg {\n color: var(--theme-colors-PrimaryBlue);\n}\n\n.label {\n position: absolute;\n top: var(--theme-spacing-Quarter);\n left: var(--theme-spacing-Quarter);\n font-size: var(--theme-fontSize-small);\n border-radius: 3px;\n padding: 2px 4px;\n user-select: none;\n}\n\n.disabled {\n}\n\n.disabled .picture {\n filter: grayscale(1);\n cursor: not-allowed;\n}\n",".thumbnailView {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));\n gap: var(--theme-spacing-Full);\n}\n",".mediaModuleApp {\n}\n\n.container {\n /* TODO: Find a way to not calculate height to allow scrolling in main grid area */\n --grid-height: calc(100vh - 48px - 61px - 41px); /* Remove top bar; body padding and bottom bar */\n --grid-areas: \"left top right\" \"left main right\";\n --grid-columns: var(--theme-size-sidebarWidth) 1fr var(--theme-size-sidebarWidth);\n --grid-area-left: left;\n --grid-area-right: right;\n --grid-area-top: top;\n --grid-area-main: main;\n\n display: grid;\n height: var(--grid-height);\n grid-template-rows: 40px 1fr;\n grid-template-columns: var(--grid-columns);\n grid-template-areas: var(--grid-areas);\n gap: var(--theme-spacing-Full);\n line-height: 1.5;\n overflow: hidden;\n}\n\n.fullHeight {\n --grid-height: calc(100% - 61px - 8px); /* Remove bottom bar and add padding */\n}\n\n.selectionMode {\n --grid-columns: var(--theme-size-sidebarWidth) 1fr;\n --grid-areas: \"left top\" \"left main\";\n}\n\n.gridColumn {\n height: 100%;\n overflow-y: auto;\n}\n\n.gridRight {\n composes: gridColumn;\n grid-area: var(--grid-area-right);\n}\n\n.gridLeft {\n composes: gridColumn;\n grid-area: var(--grid-area-left);\n}\n\n.gridMain {\n composes: gridColumn;\n grid-area: var(--grid-area-main);\n}\n\n.gridTop {\n grid-area: var(--grid-area-top);\n}\n",":global(#media-ui-app > div) {\n scrollbar-width: thin;\n scrollbar-color: #999 transparent;\n}\n\n:global(#media-ui-app > div ::-webkit-scrollbar) {\n width: 4px;\n height: 4px;\n}\n\n:global(#media-ui-app > div ::-webkit-scrollbar-track) {\n background: transparent;\n}\n\n:global(#media-ui-app > div ::-webkit-scrollbar-thumb) {\n background-color: #999;\n}\n\n:global(#media-ui-app > div ::-webkit-scrollbar-corner) {\n background-color: #3f3f3f;\n}\n\n:global(.neos.neos-module-management-mediaui > .neos-module-wrap) {\n padding: 3rem 1rem 0;\n}\n\n/* Hack to prevent a dropdown to be behind the bottom bar - issue #79 */\n:global(body > [class*=\"_selectBox__contents_\"]) {\n z-index: 99999;\n}\n"],"names":[],"version":3,"file":"main.bundle.css.map"} \ No newline at end of file +{"mappings":"AEAA,kGAWI,4FAOA,iIAOA,gCAIA,oCAGA,oEAIA,yCEpCJ,iPAgBI,iDAIA,yDAII,kKAQR,sEAMA,8CAGA,+EAIA,+EAIA,2CAGA,gGAKA,oGAKA,yEAIA,gGAMA,uDAGI,6CAKJ,mOAMA,2aAUA,yOAMA,2OAMA,+NAMA,mOElHA,uLASA,gDAGA,kDAIA,4CAIA,6CAIA,mDAKI,uCAMA,wCAMA,yCAMA,sEAQA,yCAKJ,kFE5DA,oHASA,mJAYA,mHAOA,sKAWA,8DAII,qEAIJ,+DAII,gFEnDJ,4FAOA,oGAUA,0PAaA,4IAQI,wEAGI,yBAA0B,qFAM9B,qFAII,yBAA0B,sFAM9B,0EAIA,gFAGA,6EAGA,8EAIJ,sFAOA,0DAII,yBAA0B,2CAI9B,8DAKA,iFAOA,uEElGA,sEAKA,wCELA,qFAQA,iEAKA,sEEbA,wKAUI,0DEVJ,uCAIA,8JAOA,kQAaA,4DAIA,uGAOA,iEAIA,0EAII,kDAKJ,sIAQA,wEExDA,0JAaA,0EAIA,kFAIA,+DAIA,wDAKA,kHE9BA,wEAMA,iQAkBI,2DAIA,mDAIJ,2DAGA,kDAIA,+FAOA,2KAaA,oFAKA,2EAIA,mJAQA,wJAQA,2EEpFA,qDAKA,sEAKA,gEAMA,oGAQA,8EAIA,0DE5BA,2EAKA,uEAIA,wFAMI,uGAMJ,8DErBA,qIAYI,qEAMJ,8GAMA,gEExBA,8BAKA,2CAKA,+HASI,4FAKA,4CAIJ,qIAQA,gIAMI,8JAYA,6FAIJ,0IAUI,wDAIA,oDAIJ,2DAGA,mEAIA,mCEnFA,mJAWI,oEAMJ,6FAIA,mEAGA,2DAGA,+DE3BA,qCAKA,gIAWA,kDAIA,8DAMA,oEAKI,2FAIA,oHAMJ,kDEzCA,uCAKI,yCELJ,gEAMA,mJAcI,iDAIJ,qGAGA,yDAIA,8GAKA,2DAIA,oGAOA,6JAcA,sDAGA,iEAGA,iDAGA,iEAIA,wDAGI,kKAKJ,gEAGA,qGAKA,oJAQA,2CAII,6EASJ,sFAOA,sFAMA,qFAMA,0EAKA,8EAIA,gDE3IA,6GAUA,kFAOA,qNAgBA,kGEjCA,yFEAA,+IASQ,6FAIA,wGAMR,0DAGA,kGAKI,yEAIJ,oIAMA,6LAUI,0DAIA,oIAKI,0HExDR,oFAKA,sEAIA,sLAgBA,2XAgBA,kNCtCA,49GCHA,kGCAA,uLCAA,qHAOA,8BAIA,wEAKA,uCChBA,+DAMA,oNASA,mOCfA,oCAIA,wKCJA,4ECAA,4ECAA,4HAOA,4CAIA,wFAKA,gEAIA,2ECpBA,oEEAA,uLASA,kFCTA,yKAUA,yCCVA,gHCAA,2EAIA,8GAIA,oGCRA,uGAMA,sGAKA,iOAYA,8EAKA,8DAKA,uCCjCA,qDAIA,yDCJA,iGAOA,oFAMA,uDAKA,mFAKA,qFAKA,oFAMA,+EAIA,oHAKA,4CAIA,4CAIA,+CCnDA,qEAKA,wEAIA,8BAIA,sDAKA,iFAKA,mFAKA,kFAKA,wEAIA,wGCrCA,mFAOA,qEAIA,6EAOA,yMASA,oFC3BA,0JCAA,mZAiBA,4CAKA,sEAIA,kEAIA,gEC9BA,mFAOA,+GAMA,iPAYA,oHASA,yGAKA,6GAWA,6JAaA,yDAIA,yDAIA,0DAIA,sGAKA,sDAIA,kGAKA,gDCzFA,kFAOA,8GCPA,wECIA,mGAKA,4FAKA,qCCdA,kCAIA,mCCJA,kDASA,sLAgBA,6BAIA,sCAQA,uLAgBA,mGAMA,6IAYA,iCAGA,mCAIA,0SAOA,uSAOA,2KAUA,mIAUA,sDAMA,kDAKA,gCAKA,uCAKA,2GAQA,mEAMA,qKAYA,6CAIA,iFAOA,oCAGA,wCAIA,sDAIA,6CAIA,+XAKA,waAKA,iZAKA,gDAIA,4DAWA,6DAMA,+EAOA,sLAUA,4DAGA,iEAGA,qHAIA,gEAGA,iEAGA,qHAIA,gEAGA,iEAGA,qHAIA,gEAGA,kEAGA,sHAIA,iEAGA,kEAGA,sHAIA,iEAGA,kEAGA,sHAIA,iEAGA,kEAGA,kHAKA,iDAOA,2FAKA,iHAWA,uFAKA,qHCjVA,mDCAA,oDAIA,iCAIA,yGAOA,0DCfA,0GAOA,yBCPA,qHAOA,8DCPA,yFAMA,kDCNA,8EAIA,oFAOA,ySAUA,uKAQA,8GAOA,uEAMA,2DC1CA,qFAIA,qFAMA,yDCVA,+EAMA,8DCNA,6DAWA,yCAIA,4GAOA,yGCtBA,6CCAA,yFAMA,kDCLA,0KAMA,0KCPA,wFAOA,iIAUA,yDAIA,qHAOA,qNAUA,iFCtCA,qHAaA,+HAUA,0HAQA,qDAIA,gHCnCI,sJCCJ,uDAIA,2ECLA,uCAIA,wGASA,8EAKA,4DClBA,6RAaA,0DAIA,mECjBA,gECAA,uCAIA,sIAOA,oFAIA,kEAIA,4FAIA,8JAWA,gCAIA,4CAKA,iCC3CA,4DAKA,0EAIA,kCCTA,8DAMA,uCAIA,iDCVA,kIAQA,4EAKA,oDCbA,6BAIA,yCAIA,uDAKA,8NAUA,qFAKA,qGC5BA,0EAIA,iGAIA,iIAYA,8IAQA,4CAIA,sHAMA,iHAOA,qIAOA,uJASA,0GAaA,gFAOA,wCCjFA,gGCAA,gFAOA,yFAIA,sFAKA,yDAIA,oEAIA,oFAIA,sJAUA,6RASA,yMASA,wGAMA,kEAIA,sMAUA,iGAMA,uDAIA,uFAIA,qNAaA,uECvGA,4HCGA,0fAsBA,yDAIA,2GAKA,+CAKA,mDAKA,iDAKA,iDAKA,+CCtDA,wEAKA,2DAKA,2DAIA,kEAIA,sEAIA,2EAKA,kDAIA","sources":["main.bundle.css","node_modules/@neos-project/react-ui-components/dist/_css/M2GX4SZL.css","node_modules/@neos-project/react-ui-components/dist/src/reset.module.css","node_modules/@neos-project/react-ui-components/dist/_css/6KVBML2I.css","node_modules/@neos-project/react-ui-components/dist/src/Button/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/PA6G4QJ6.css","node_modules/@neos-project/react-ui-components/dist/src/Icon/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/BNXEUAC5.css","node_modules/@neos-project/react-ui-components/dist/src/CheckBox/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/PMUYXBJ7.css","node_modules/@neos-project/react-ui-components/dist/src/Dialog/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/5BBGZQFW.css","node_modules/@neos-project/react-ui-components/dist/src/Headline/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/RZRWKOLX.css","node_modules/@neos-project/react-ui-components/dist/src/IconButton/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/DGKJFRMT.css","node_modules/@neos-project/react-ui-components/dist/src/Label/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/74Z7X564.css","node_modules/@neos-project/react-ui-components/dist/src/SelectBox/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/X56G3OKT.css","node_modules/@neos-project/react-ui-components/dist/src/ListPreviewElement/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/3VTS5UYK.css","node_modules/@neos-project/react-ui-components/dist/src/DropDown/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/6ADTC3HG.css","node_modules/@neos-project/react-ui-components/dist/src/SelectBox_Header/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/QKJIP33V.css","node_modules/@neos-project/react-ui-components/dist/src/SelectBox_HeaderWithSearchInput/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/U5HYCFRV.css","node_modules/@neos-project/react-ui-components/dist/src/TextInput/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/DI4RCUNO.css","node_modules/@neos-project/react-ui-components/dist/src/Tabs/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/BRQD6W3B.css","node_modules/@neos-project/react-ui-components/dist/src/TextArea/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/D7JNYSMT.css","node_modules/@neos-project/react-ui-components/dist/src/ToggablePanel/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/VWQ7R53U.css","node_modules/@neos-project/react-ui-components/dist/src/Tree/tree.module.css","node_modules/@neos-project/react-ui-components/dist/_css/SDW6PBME.css","node_modules/@neos-project/react-ui-components/dist/src/Tree/node.module.css","node_modules/@neos-project/react-ui-components/dist/_css/JDL2VBR6.css","node_modules/@neos-project/react-ui-components/dist/src/Tree/dragLayer.module.css","node_modules/@neos-project/react-ui-components/dist/_css/7X2IEQTV.css","node_modules/@neos-project/react-ui-components/dist/src/MultiSelectBox/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/EZJRH4VH.css","node_modules/@neos-project/react-ui-components/dist/src/MultiSelectBox_ListPreviewSortable_DraggableListPreviewElement/style.module.css","node_modules/@neos-project/react-ui-components/dist/_css/POKLKNAU.css","node_modules/@neos-project/react-ui-components/dist/src/SelectBox_Option_MultiLineWithThumbnail/style.module.css","Resources/Private/JavaScript/core/src/Theme.module.css","Resources/Private/JavaScript/core/src/components/AssetLabel.module.css","Resources/Private/JavaScript/core/src/components/Column.module.css","Resources/Private/JavaScript/core/src/components/IconLabel.module.css","Resources/Private/JavaScript/core/src/components/PropertyList.module.css","Resources/Private/JavaScript/core/src/components/IconStack.module.css","Resources/Private/JavaScript/asset-collections/src/components/AddAssetCollectionButton.module.css","Resources/Private/JavaScript/asset-collections/src/components/AddTagButton.module.css","Resources/Private/JavaScript/asset-collections/src/components/AssetCollectionTree.module.css","Resources/Private/JavaScript/asset-collections/src/components/CreateAssetCollectionDialog.module.css","Resources/Private/JavaScript/asset-tags/src/components/CreateTagDialog.module.css","Resources/Private/JavaScript/clipboard/src/components/ClipboardItem.module.css","Resources/Private/JavaScript/clipboard/src/components/ClipboardToggle.module.css","Resources/Private/JavaScript/clipboard/src/components/ClipboardActions.module.css","Resources/Private/JavaScript/asset-sources/src/components/AssetSourceDescription.module.css","Resources/Private/JavaScript/asset-sources/src/components/AssetSourceList.module.css","Resources/Private/JavaScript/core/src/provider/Interaction/dialogs/Confirm.module.css","Resources/Private/JavaScript/asset-usage/src/components/AssetUsageSection.module.css","Resources/Private/JavaScript/asset-usage/src/components/AssetUsagesModal.module.css","Resources/Private/JavaScript/similar-assets/src/components/SimilarAsset.module.css","Resources/Private/JavaScript/similar-assets/src/components/SimilarAssetsModal.module.css","Resources/Private/JavaScript/asset-upload/src/components/UploadSection.module.css","Resources/Private/JavaScript/asset-upload/src/components/FilePreview.module.css","Resources/Private/JavaScript/asset-upload/src/components/PreviewSection.module.css","Resources/Private/JavaScript/asset-upload/src/components/Dialogs/NewAssetDialog.module.css","Resources/Private/JavaScript/asset-upload/src/components/Dialogs/ReplaceAssetDialog.module.css","Resources/Private/JavaScript/asset-upload/src/components/UploadButton.module.css","node_modules/react-image-lightbox/style.css","Resources/Private/JavaScript/asset-preview/src/components/AssetPreview.module.css","Resources/Private/JavaScript/asset-editing/src/components/EditAssetDialog.module.css","Resources/Private/JavaScript/media-module/src/components/SideBarRight/Inspector/Actions.module.css","Resources/Private/JavaScript/media-module/src/components/SideBarRight/Inspector/InspectorContainer.module.css","Resources/Private/JavaScript/media-module/src/components/SideBarRight/Inspector/ParentCollectionSelectBox.module.css","Resources/Private/JavaScript/asset-variants/src/components/Variant.module.css","Resources/Private/JavaScript/asset-variants/src/components/VariantsInspector.module.css","Resources/Private/JavaScript/media-module/src/components/SideBarRight/Inspector/Tasks.module.css","Resources/Private/JavaScript/media-module/src/components/SideBarRight/Inspector/PropertyInspector.module.css","Resources/Private/JavaScript/media-module/src/components/SideBarRight/Inspector/AssetInspector.module.css","Resources/Private/JavaScript/media-module/src/components/SideBarRight/Inspector/CollectionSelectBox.module.css","Resources/Private/JavaScript/media-module/src/components/SideBarRight/Inspector/IptcMetadataInspector.module.css","Resources/Private/JavaScript/media-module/src/components/SideBarRight/CurrentSelection.module.css","Resources/Private/JavaScript/media-module/src/components/LoadingIndicator.module.css","Resources/Private/JavaScript/media-module/src/components/BottomBar/AssetCount/AssetCount.module.css","Resources/Private/JavaScript/media-module/src/components/BottomBar/Pagination/PaginationItem.module.css","Resources/Private/JavaScript/media-module/src/components/BottomBar/Pagination/Pagination.module.css","Resources/Private/JavaScript/media-module/src/components/BottomBar/BottomBar.module.css","Resources/Private/JavaScript/media-module/src/components/TopBar/SortOrderSelector.module.css","Resources/Private/JavaScript/media-module/src/components/TopBar/AssetsFilter/AssetsFilter.module.css","Resources/Private/JavaScript/media-module/src/components/TopBar/ViewModeSelector.module.css","Resources/Private/JavaScript/media-module/src/components/TopBar/SearchBox.module.css","Resources/Private/JavaScript/media-module/src/components/TopBar/TopBar.module.css","Resources/Private/JavaScript/media-module/src/components/Main/ListView.module.css","Resources/Private/JavaScript/media-module/src/components/Main/ListViewItem.module.css","Resources/Private/JavaScript/media-module/src/components/Main/Main.module.css","Resources/Private/JavaScript/media-module/src/components/Main/Thumbnail.module.css","Resources/Private/JavaScript/media-module/src/components/Main/ThumbnailView.module.css","Resources/Private/JavaScript/media-module/src/components/App.module.css","Resources/Private/JavaScript/media-module/src/components/Global.module.css"],"sourcesContent":[".neos-iiR9VW_reset {\n color: #fff;\n margin: 0;\n padding: 0;\n font-family: Noto Sans, sans-serif;\n font-weight: normal;\n}\n\n.neos-iiR9VW_reset, .neos-iiR9VW_reset:before, .neos-iiR9VW_reset:after {\n box-sizing: border-box;\n}\n\n.neos-iiR9VW_reset input, .neos-iiR9VW_reset textarea, .neos-iiR9VW_reset select, .neos-iiR9VW_reset button {\n margin: 0;\n font-size: 14px;\n}\n\n.neos-iiR9VW_reset ul {\n padding: 0;\n}\n\n.neos-iiR9VW_reset li {\n display: block;\n}\n\n.neos-iiR9VW_reset input::-webkit-search-cancel-button {\n display: none;\n}\n\n.neos-iiR9VW_reset input {\n appearance: none;\n}\n\n.neos-6Mnuzq_btn {\n height: 40px;\n min-width: 40px;\n -webkit-font-smoothing: antialiased;\n vertical-align: middle;\n width: auto;\n color: #fff;\n cursor: pointer;\n background-color: #323232;\n border: 0;\n padding: 0 16px;\n font-size: 14px;\n display: inline-block;\n position: relative;\n}\n\n.neos-6Mnuzq_btn:focus {\n outline: 1px solid #00adee;\n}\n\n.neos-6Mnuzq_btn[disabled] {\n opacity: .5;\n cursor: not-allowed;\n}\n\n.neos-6Mnuzq_btn[disabled]:hover, .neos-6Mnuzq_btn[disabled].neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn[disabled]:hover i, .neos-6Mnuzq_btn[disabled] i {\n color: #fff;\n}\n\n.neos-6Mnuzq_btn--size-small {\n height: 32px;\n padding: 0 8px;\n font-size: 13px;\n}\n\n.neos-6Mnuzq_btn--clean {\n background-color: #222;\n}\n\n.neos-6Mnuzq_btn--lighter, .neos-6Mnuzq_btn--lighter i {\n background-color: #3f3f3f;\n}\n\n.neos-6Mnuzq_btn--neutral, .neos-6Mnuzq_btn--neutral i {\n background-color: #323232;\n}\n\n.neos-6Mnuzq_btn--transparent {\n background: 0;\n}\n\n.neos-6Mnuzq_btn--brand, .neos-6Mnuzq_btn--brand i {\n background-color: #00adee;\n color: #fff !important;\n}\n\n.neos-6Mnuzq_btn--success, .neos-6Mnuzq_btn--success i {\n background-color: #00a338;\n color: #fff !important;\n}\n\n.neos-6Mnuzq_btn--warn, .neos-6Mnuzq_btn--warn i {\n background-color: #ff8700;\n}\n\n.neos-6Mnuzq_btn--error, .neos-6Mnuzq_btn--error i {\n background-color: #ff460d;\n color: #fff !important;\n}\n\n.neos-6Mnuzq_btn--brandActive {\n background-color: #00adee;\n}\n\n.neos-6Mnuzq_btn--brandActive svg {\n color: #fff;\n}\n\n.neos-6Mnuzq_btn--brandHover:hover:enabled, .neos-6Mnuzq_btn--brandHover:hover:enabled i, .neos-6Mnuzq_btn--brandHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--brandHover.neos-6Mnuzq_btn--isPressed i {\n background-color: #00adee;\n}\n\n.neos-6Mnuzq_btn--cleanHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--cleanHover.neos-6Mnuzq_btn--isPressed i, .neos-6Mnuzq_btn--cleanHover:hover:enabled, .neos-6Mnuzq_btn--cleanHover:hover:enabled i, :is(.neos-6Mnuzq_btn--cleanHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--cleanHover.neos-6Mnuzq_btn--isPressed i, .neos-6Mnuzq_btn--cleanHover:hover:enabled, .neos-6Mnuzq_btn--cleanHover:hover:enabled i) svg {\n color: #00adee;\n}\n\n.neos-6Mnuzq_btn--darkenHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--darkenHover.neos-6Mnuzq_btn--isPressed i, .neos-6Mnuzq_btn--darkenHover:hover:enabled, .neos-6Mnuzq_btn--darkenHover:hover:enabled i {\n background-color: #0000001a;\n}\n\n.neos-6Mnuzq_btn--successHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--successHover.neos-6Mnuzq_btn--isPressed i, .neos-6Mnuzq_btn--successHover:hover:enabled, .neos-6Mnuzq_btn--successHover:hover:enabled i {\n background-color: #0bb344;\n}\n\n.neos-6Mnuzq_btn--warnHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--warnHover.neos-6Mnuzq_btn--isPressed i, .neos-6Mnuzq_btn--warnHover:hover:enabled, .neos-6Mnuzq_btn--warnHover:hover:enabled i {\n background-color: #fda23d;\n}\n\n.neos-6Mnuzq_btn--errorHover:hover:enabled, .neos-6Mnuzq_btn--errorHover:hover:enabled i, .neos-6Mnuzq_btn--errorHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--errorHover.neos-6Mnuzq_btn--isPressed i {\n background-color: #ff6a3c;\n}\n\n.neos-RjvLTG_icon {\n font: normal normal normal FontAwesome;\n font-size: 14px / 1;\n text-rendering: auto;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n display: inline-block;\n}\n\n.neos-RjvLTG_icon--paddedLeft {\n margin-left: .75em;\n}\n\n.neos-RjvLTG_icon--paddedRight {\n margin-right: .75em;\n}\n\n.neos-RjvLTG_icon--color-warn {\n color: #ff8700;\n}\n\n.neos-RjvLTG_icon--color-error {\n color: #ff460d;\n}\n\n.neos-RjvLTG_icon--color-primaryBlue {\n color: #00adee;\n}\n\n.neos-RjvLTG_icon--huge svg {\n height: 3em;\n}\n\n.neos-RjvLTG_icon--large svg {\n height: 2em;\n}\n\n.neos-RjvLTG_icon--big svg {\n height: 1.33em;\n}\n\n.neos-RjvLTG_icon--small svg {\n height: 1em;\n max-height: 1em;\n max-width: 100%;\n}\n\n.neos-RjvLTG_icon--tiny svg {\n height: .75em;\n}\n\n.neos-RjvLTG_icon--resource {\n width: 100%;\n justify-content: center;\n display: inline-grid;\n}\n\n.neos-am4CoW_checkbox {\n width: 20px;\n height: 20px;\n vertical-align: middle;\n margin-right: 8px;\n display: block;\n position: relative;\n}\n\n.neos-am4CoW_checkbox__input {\n z-index: 1;\n width: 20px;\n height: 20px;\n opacity: 0;\n cursor: pointer;\n position: absolute;\n top: 50%;\n left: 0;\n transform: translateY(-50%);\n}\n\n.neos-am4CoW_checkbox__icon {\n opacity: 0;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%)translateY(-50%);\n}\n\n.neos-am4CoW_checkbox__inputMirror {\n width: 20px;\n height: 20px;\n vertical-align: top;\n background: #3f3f3f;\n border-radius: 2px;\n font-size: 20px;\n font-weight: bold;\n display: inline-block;\n}\n\n.neos-am4CoW_checkbox__inputMirror--active {\n background: #00adee;\n}\n\n.neos-am4CoW_checkbox__checked .neos-am4CoW_checkbox__icon {\n opacity: 1;\n}\n\n.neos-am4CoW_checkbox__disabled {\n opacity: .65;\n cursor: not-allowed;\n}\n\n.neos-am4CoW_checkbox__disabled .neos-am4CoW_checkbox__input {\n cursor: not-allowed;\n}\n\n@keyframes neos-X60ORW_slideDialogContents {\n from {\n opacity: 0;\n transform: translateX(-50%)scale(.9);\n }\n}\n\n.neos-X60ORW_dialog {\n z-index: 1;\n width: 100vw;\n height: 100vh;\n background: #000c;\n position: fixed;\n top: 0;\n left: 0;\n}\n\n.neos-X60ORW_dialog__contentsPosition {\n opacity: 1;\n background: #222;\n border-radius: 0;\n outline: none;\n animation: .3s ease-in-out neos-X60ORW_slideDialogContents;\n position: absolute;\n top: 20vh;\n left: 50%;\n transform: translateX(-50%)scale(1);\n box-shadow: 0 20px 40px #0006;\n}\n\n.neos-X60ORW_dialog__contents {\n width: calc(100vw - 80px);\n max-width: 640px;\n border: 2px solid #3f3f3f;\n transition: max-width .25s;\n position: relative;\n}\n\n.neos-X60ORW_dialog--wide .neos-X60ORW_dialog__contents {\n max-width: 960px;\n}\n\n@media (max-width: 576px) {\n .neos-X60ORW_dialog--wide .neos-X60ORW_dialog__contents {\n max-width: 100vw;\n width: 100vw;\n }\n}\n\n.neos-X60ORW_dialog--jumbo .neos-X60ORW_dialog__contents {\n max-width: 1440px;\n width: 90vw;\n}\n\n@media (max-width: 576px) {\n .neos-X60ORW_dialog--jumbo .neos-X60ORW_dialog__contents {\n max-width: 100vw;\n width: 100vw;\n }\n}\n\n.neos-X60ORW_dialog--narrow .neos-X60ORW_dialog__contents {\n max-width: 400px;\n}\n\n.neos-X60ORW_dialog--success .neos-X60ORW_dialog__contents {\n border-color: #00a338;\n}\n\n.neos-X60ORW_dialog--warn .neos-X60ORW_dialog__contents {\n border-color: #ff8700;\n}\n\n.neos-X60ORW_dialog--error .neos-X60ORW_dialog__contents {\n border-color: #ff460d;\n}\n\n.neos-X60ORW_dialog__title {\n padding: 16px 40px 16px 16px;\n font-size: 20px;\n line-height: 1.2;\n}\n\n.neos-X60ORW_dialog__body {\n max-height: 65vh;\n overflow-y: auto;\n}\n\n@media (max-width: 576px) {\n .neos-X60ORW_dialog__body {\n max-height: 55vh;\n }\n}\n\n.neos-X60ORW_dialog__actions {\n text-align: right;\n margin-top: 16px;\n}\n\n.neos-X60ORW_dialog__closeBtn {\n background: #3f3f3f;\n position: absolute;\n top: 0;\n right: 0;\n}\n\n.neos-X60ORW_dialog__backDrop {\n height: 100%;\n width: 100%;\n position: absolute;\n}\n\n.neos-RwNJjq_heading {\n text-rendering: optimizelegibility;\n font-size: 14px;\n}\n\n.neos-RwNJjq_heading--h1 {\n font-size: 16px;\n}\n\n.neos-SMzb_q_iconButton {\n vertical-align: top;\n width: 40px;\n padding-left: 0;\n padding-right: 0;\n}\n\n.neos-SMzb_q_iconButton--disabled {\n opacity: .65;\n cursor: not-allowed;\n}\n\n.neos-SMzb_q_size-small {\n width: 32px !important;\n min-width: 32px !important;\n}\n\n.neos-7CQSZa_label {\n -webkit-font-smoothing: antialiased;\n cursor: pointer;\n -webkit-user-select: none;\n user-select: none;\n margin-bottom: 4px;\n padding: 0;\n font-size: 14px;\n display: block;\n}\n\n.neos-7CQSZa_label, .neos-7CQSZa_label span {\n max-width: 100%;\n}\n\n.neos-QvCEOa_selectBox__list {\n padding: 0;\n}\n\n.neos-QvCEOa_selectBox {\n composes: reset from \"../reset.module.css\", dropDown from \"./../DropDown/style.css\";\n line-height: 0;\n display: inline-block;\n position: relative;\n}\n\n.neos-QvCEOa_selectBox__btn {\n composes: reset from \"../reset.module.css\", dropDown__btn from \"./../DropDown/style.css\";\n text-overflow: clip;\n height: auto;\n min-height: 40px;\n min-width: 160px;\n border: 0;\n padding-left: 0;\n line-height: 40px;\n display: inline-block;\n position: relative;\n}\n\n.neos-QvCEOa_selectBox__btn--noRightPadding {\n padding-right: 0;\n}\n\n.neos-QvCEOa_selectBox__contents {\n min-width: 160px;\n z-index: 40;\n margin-top: -2px;\n box-shadow: 0 5px 5px #0003;\n}\n\n.neos-QvCEOa_selectBox__contents--hasItems {\n padding: 2px !important;\n}\n\n.neos-QvCEOa_selectBox__item {\n background: #141414;\n border-top: 1px solid #222;\n}\n\n.neos-QvCEOa_selectBox__item div {\n padding: 5px 14px;\n}\n\n.neos-QvCEOa_selectBox__groupHeader {\n text-transform: uppercase;\n background-color: #222;\n padding-left: 16px;\n font-weight: bold;\n line-height: 30px;\n}\n\n.neos-QvCEOa_selectBox--disabled {\n filter: opacity(50%);\n cursor: not-allowed;\n}\n\n.neos-d_677a_listPreviewElement {\n cursor: pointer;\n text-overflow: ellipsis;\n white-space: nowrap;\n padding: 5px 16px;\n font-size: 14px;\n line-height: 30px;\n overflow: hidden;\n}\n\n.neos-d_677a_listPreviewElement--isDisabled {\n color: #999;\n cursor: not-allowed;\n}\n\n.neos-d_677a_listPreviewElement--isHighlighted {\n background-color: #00adee !important;\n}\n\n.neos-d_677a_listPreviewElement--isHighlighted > span {\n color: #fff;\n}\n\n.neos-d_677a_listPreviewElement__icon {\n margin-right: .5em;\n}\n\n.neos-d_677a_listPreviewElement__iconWrapper {\n width: 2em;\n text-align: center;\n display: inline-block;\n padding: 0 !important;\n}\n\n.neos-fwJGCW_dropDown {\n width: 100%;\n display: inline-block;\n position: relative;\n}\n\n.neos-fwJGCW_dropDown__btn {\n width: 100%;\n height: 40px;\n text-align: left;\n color: #fff;\n cursor: pointer;\n text-overflow: ellipsis;\n white-space: nowrap;\n background: #323232;\n border: 0;\n border-radius: 2px;\n padding: 0 16px;\n font-size: 14px;\n line-height: 40px;\n display: block;\n overflow: hidden;\n}\n\n.neos-fwJGCW_dropDown__btn:focus {\n outline: 1px solid #00adee;\n}\n\n.neos-fwJGCW_dropDown__btn svg {\n pointer-events: none;\n}\n\n.neos-fwJGCW_dropDown__btn--withChevron {\n padding-right: 40px;\n}\n\n.neos-fwJGCW_dropDown__btnLabel {\n margin-right: .5em;\n}\n\n.neos-fwJGCW_dropDown__chevron {\n position: absolute;\n top: 50%;\n right: 16px;\n transform: translateY(-50%);\n}\n\n.neos-fwJGCW_dropDown__contents {\n z-index: 1;\n width: 100%;\n background: #323232;\n margin: 0;\n list-style: none;\n display: none;\n position: absolute;\n top: 100%;\n left: 0;\n box-shadow: 0 5px 5px #0003;\n}\n\n.neos-fwJGCW_dropDown__contents--scrollable {\n position: fixed;\n top: auto;\n overflow-y: auto;\n}\n\n.neos-fwJGCW_dropDown__contents--isOpen {\n flex-direction: column;\n display: flex;\n}\n\n.neos-fwJGCW_dropDown--darker > .neos-fwJGCW_dropDown__btn--open, .neos-fwJGCW_dropDown--darker > .neos-fwJGCW_dropDown__contents {\n background-color: #222;\n}\n\n.neos-fwJGCW_dropDown--darkest > .neos-fwJGCW_dropDown__btn--open, .neos-fwJGCW_dropDown--darkest > .neos-fwJGCW_dropDown__contents {\n background-color: #141414;\n}\n\n.neos-fwJGCW_dropDown--padded > .neos-fwJGCW_dropDown__contents {\n padding: 16px;\n}\n\n.neos-Gv_gqG_selectBoxHeader {\n width: 100%;\n display: flex;\n}\n\n.neos-Gv_gqG_selectBoxHeader__innerPreview {\n width: 100%;\n overflow: hidden;\n}\n\n.neos-Gv_gqG_selectBoxHeader__icon {\n height: 100%;\n line-height: 40px;\n}\n\n.neos-Gv_gqG_selectBoxHeader__label, .neos-Gv_gqG_selectBoxHeader__wrapperIconWrapper {\n padding: 0 16px;\n}\n\n.neos-Gv_gqG_selectBoxHeader__wrapperPlaceholderIconWrapper {\n padding: 0 8px 0 0;\n}\n\n.neos-Gv_gqG_selectBoxHeader--disabled {\n cursor: not-allowed;\n}\n\n.neos-x4kw-a_selectBoxHeaderWithSearchInput {\n padding-left: 16px;\n display: flex;\n}\n\n.neos-x4kw-a_selectBoxHeaderWithSearchInput__inputContainer {\n width: 100%;\n}\n\n.neos-x4kw-a_selectBoxHeaderWithSearchInput__input {\n width: 100%;\n color: #fff;\n font-size: 14px;\n}\n\n.neos-x4kw-a_selectBoxHeaderWithSearchInput__input:focus {\n color: #fff !important;\n background: none !important;\n}\n\n.neos-x4kw-a_selectBoxHeaderWithSearchInput__icon {\n height: 40px;\n}\n\n.neos-Y9Uoqa_textInput {\n width: 100%;\n height: 40px;\n color: #fff;\n background: #323232;\n border: 0;\n border-radius: 2px;\n padding: 0 14px;\n font-size: 14px;\n}\n\n.neos-Y9Uoqa_textInput:focus {\n color: #141414;\n background: #fff;\n outline: 0;\n}\n\n.neos-Y9Uoqa_textInput::-webkit-input-placeholder {\n color: #999;\n font-family: Noto Sans, sans-serif;\n font-weight: normal;\n}\n\n.neos-Y9Uoqa_textInput--disabled {\n opacity: .65;\n cursor: not-allowed;\n}\n\n.neos-oqNh0W_tabs {\n height: 100%;\n}\n\n.neos-oqNh0W_tabs__content {\n overflow-y: auto;\n}\n\n.neos-oqNh0W_tabNavigation {\n background: #141414;\n border-bottom: 1px solid #3f3f3f;\n margin: 0;\n padding: 0;\n list-style: none;\n display: block;\n}\n\n.neos-oqNh0W_tabNavigation:before, .neos-oqNh0W_tabNavigation:after {\n content: \"\";\n display: table;\n}\n\n.neos-oqNh0W_tabNavigation:after {\n clear: both;\n}\n\n.neos-oqNh0W_tabNavigation__item {\n float: left;\n color: #fff;\n border-top: 1px solid #3f3f3f;\n border-right: 1px solid #3f3f3f;\n position: relative;\n}\n\n.neos-oqNh0W_tabNavigation__item--isActive {\n cursor: default;\n background-color: #222;\n border-bottom: 1px solid #222;\n margin-bottom: -1px;\n}\n\n.neos-oqNh0W_tabNavigation__item--isActive:after {\n content: \" \";\n height: 2px;\n width: 100%;\n background: #00adee;\n display: block;\n position: absolute;\n top: -1px;\n left: 0;\n right: 0;\n}\n\n.neos-oqNh0W_tabNavigation__item--isActive > .neos-oqNh0W_tabNavigation__itemBtn {\n color: #00adee;\n}\n\n.neos-oqNh0W_tabNavigation__itemBtn {\n height: 40px;\n cursor: pointer;\n background: 0;\n border: 0;\n padding: 0 16px;\n line-height: 40px;\n display: inline-block;\n}\n\n.neos-oqNh0W_tabNavigation__itemBtn:hover {\n color: #00adee;\n}\n\n.neos-oqNh0W_tabNavigation__itemBtn:focus {\n outline: 0;\n}\n\n.neos-oqNh0W_tabNavigation__itemBtnIcon {\n color: currentColor;\n}\n\n.neos-oqNh0W_tabNavigation__itemBtnIcon--hasLabel {\n margin-right: 8px;\n}\n\n.neos-oqNh0W_panel {\n overflow-y: auto;\n}\n\n.neos-HIOrZq_textArea {\n width: 100%;\n height: 40px;\n resize: vertical;\n background: #323232;\n border: 0;\n border-radius: 2px;\n padding: 10px 14px;\n transition: height .3s;\n}\n\n.neos-HIOrZq_textArea:focus {\n color: #141414;\n background: #fff;\n outline: 0;\n}\n\n.neos-HIOrZq_textArea::-webkit-input-placeholder {\n color: #999;\n font-family: Noto Sans, sans-serif;\n}\n\n.neos-HIOrZq_textArea--invalid {\n outline: 2px solid #ff460d !important;\n}\n\n.neos-HIOrZq_textArea--highlight {\n outline: 2px solid #00a338;\n}\n\n.neos-HIOrZq_textArea--disabled {\n opacity: .65;\n cursor: not-allowed;\n}\n\n.neos-l9MESW_panel {\n position: relative;\n}\n\n.neos-l9MESW_panel__headline {\n cursor: pointer;\n height: 40px;\n margin: 0;\n padding: 0 16px;\n font-size: 14px;\n font-weight: bold;\n line-height: 40px;\n}\n\n.neos-l9MESW_panel__headline--noPadding {\n padding: 0;\n}\n\n.neos-l9MESW_panel__toggleBtn {\n position: absolute;\n top: 0;\n right: 0;\n}\n\n.neos-l9MESW_panel__contents {\n padding: 0 16px;\n transition: padding .25s;\n}\n\n.neos-l9MESW_panel--isOpen .neos-l9MESW_panel__contents {\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n.neos-l9MESW_panel--condensed.neos-l9MESW_panel--isOpen .neos-l9MESW_panel__contents {\n padding-top: 0;\n padding-bottom: 0;\n}\n\n.neos-l9MESW_panel__contents--noPadding {\n padding: 0;\n}\n\n.neos-fU9a9G_treeWrapper {\n padding: 5px 0;\n}\n\n.neos-fU9a9G_treeWrapper:focus {\n outline: 0;\n}\n\n.neos-jrPqiW_header {\n margin: 0;\n line-height: 20px;\n position: relative;\n}\n\n.neos-jrPqiW_header__chevron {\n height: 100%;\n width: 18px;\n color: #adadad;\n text-align: center;\n cursor: pointer;\n line-height: 20px;\n position: absolute;\n top: 0;\n left: 0;\n}\n\n.neos-jrPqiW_header__chevron:hover {\n color: #00adee;\n}\n\n.neos-jrPqiW_header__chevron--isCollapsed > svg {\n transform: translateY(3px)translateX(-2px)rotate(-90deg);\n}\n\n.neos-jrPqiW_header__chevron--isHiddenInIndex {\n opacity: .5;\n}\n\n.neos-jrPqiW_header__chevron--isLoading, .neos-jrPqiW_header__chevron--isLoading:hover {\n color: #adadad !important;\n}\n\n.neos-jrPqiW_header__chevron--isLoading > svg {\n margin-top: 6px;\n}\n\n.neos-jrPqiW_header__iconWrapper {\n width: 2em;\n text-align: center;\n display: inline-block;\n position: absolute;\n}\n\n.neos-jrPqiW_header__data {\n min-width: 100%;\n white-space: nowrap;\n cursor: pointer;\n border-left: 2px solid #0000;\n padding: .1em 0;\n display: inline-block;\n position: relative;\n}\n\n.neos-jrPqiW_header__data--isHiddenInIndex {\n opacity: .5;\n}\n\n.neos-jrPqiW_header__data--isHidden {\n text-decoration: line-through;\n}\n\n.neos-jrPqiW_header__data--isDragging {\n opacity: .2;\n}\n\n.neos-jrPqiW_header__data--isDirty {\n border-left: 2px solid #ff8700;\n}\n\n.neos-jrPqiW_header__data--isFocused {\n background: #323232;\n}\n\n.neos-jrPqiW_header__data--isFocused.neos-jrPqiW_header__data--isHiddenInIndex, .neos-jrPqiW_header__data--isFocused.neos-jrPqiW_header__data--isHidden {\n opacity: .8;\n}\n\n.neos-jrPqiW_header__data--acceptsDrop {\n background-color: #00adee;\n}\n\n.neos-jrPqiW_header__data--acceptsDrop *, .neos-jrPqiW_header__data--deniesDrop * {\n pointer-events: none;\n}\n\n.neos-jrPqiW_header__labelWrapper {\n max-width: 264px;\n text-overflow: ellipsis;\n vertical-align: middle;\n line-height: 1.5;\n display: inline-block;\n overflow: hidden;\n}\n\n.neos-jrPqiW_header__label {\n margin-left: 2em;\n}\n\n.neos-jrPqiW_header__data--isActive .neos-jrPqiW_header__label {\n color: #00adee;\n}\n\n.neos-jrPqiW_dropTarget {\n height: 2px;\n padding-left: 15px;\n position: absolute;\n left: 0;\n right: 0;\n}\n\n.neos-jrPqiW_dropTarget--before {\n z-index: 1;\n padding-top: 4px;\n padding-bottom: 4px;\n top: -5px;\n}\n\n.neos-jrPqiW_dropTarget--after {\n z-index: 2;\n padding-top: 6px;\n padding-bottom: 0;\n bottom: 1px;\n}\n\n.neos-jrPqiW_dropTarget__inner {\n visibility: hidden;\n height: 0;\n margin-top: -8px;\n}\n\n.neos-jrPqiW_dropTarget__inner--acceptsDrop {\n z-index: 100000;\n visibility: visible;\n}\n\n.neos-jrPqiW_dropTarget__inner svg {\n fill: #00adee;\n}\n\n.neos-sxnCBW_layer {\n pointer-events: none;\n z-index: 2147483646;\n width: 100%;\n height: 100%;\n position: fixed;\n top: 0;\n left: 0;\n}\n\n.neos-sxnCBW_dragWrapper {\n opacity: .7;\n display: inline-block;\n position: relative;\n left: 0;\n}\n\n.neos-sxnCBW_count {\n z-index: 2147483646;\n width: 20px;\n height: 20px;\n color: #fff;\n text-align: center;\n background-color: #ff460d;\n border-radius: 50%;\n padding: 1px;\n font-size: 12px;\n font-weight: bold;\n position: absolute;\n top: -10px;\n left: 5px;\n}\n\n.neos-sxnCBW_node {\n width: 280px;\n background-color: #323232;\n border: 1px solid #3f3f3f;\n position: absolute;\n}\n\n.neos-P4wKfG_selectedOptions {\n width: 100%;\n padding-left: 0;\n list-style: none;\n position: relative;\n}\n\n.neos-2_NI5a_selectedOptions__item {\n width: 100%;\n background: #141414;\n border-bottom: 1px solid #222;\n border-radius: 2px;\n display: flex;\n position: relative;\n}\n\n.neos-2_NI5a_selectedOptions__item:hover .neos-2_NI5a_selectedOptions__itemIcon {\n display: none;\n}\n\n.neos-2_NI5a_selectedOptions__item:hover .neos-2_NI5a_selectedOptions__itemIcon--onHover {\n display: inline;\n}\n\n.neos-2_NI5a_selectedOptions__item--draggable {\n cursor: move;\n}\n\n.neos-2_NI5a_selectedOptions__innerPreview {\n width: 100%;\n border-right: 1px solid #222;\n overflow: hidden;\n}\n\n.neos-2_NI5a_selectedOptions__innerPreview > div {\n box-shadow: none !important;\n}\n\n.neos-2_NI5a_selectedOption__removeButton {\n height: auto;\n background: #323232;\n border-top-right-radius: 2px;\n border-bottom-right-radius: 2px;\n}\n\n.neos-2_NI5a_selectedOption__moveButton {\n cursor: move;\n height: auto;\n width: 20px;\n min-width: 20px;\n color: #3f3f3f;\n border-right: 1px solid #222;\n border-top-left-radius: 2px;\n border-bottom-left-radius: 2px;\n}\n\n.neos-2_NI5a_selectedOption__moveButton svg {\n color: #3f3f3f;\n}\n\n.neos-2_NI5a_selectedOption__moveButton:hover, .neos-2_NI5a_selectedOption__moveButton:focus {\n background: #3f3f3f;\n color: #999 !important;\n}\n\n:is(.neos-2_NI5a_selectedOption__moveButton:hover, .neos-2_NI5a_selectedOption__moveButton:focus) svg {\n color: #999 !important;\n}\n\n.neos-47-Tdq_multiLineWithThumbnail__item {\n box-sizing: content-box;\n background: #141414;\n}\n\n.neos-47-Tdq_multiLineWithThumbnail__item--multiLine {\n line-height: 20px;\n}\n\n.neos-47-Tdq_multiLineWithThumbnail__secondaryLabel, .neos-47-Tdq_multiLineWithThumbnail__tertiaryLabel {\n color: #999;\n text-overflow: ellipsis;\n font-size: 12px;\n display: block;\n overflow: hidden;\n}\n\n.neos-47-Tdq_multiLineWithThumbnail__image {\n width: 74.48px;\n height: 56px;\n object-fit: contain;\n vertical-align: middle;\n background-color: #fff;\n background-image: linear-gradient(45deg, #ccc 25%, #0000 25% 75%, #ccc 75%, #ccc), linear-gradient(45deg, #ccc 25%, #0000 25% 75%, #ccc 75%, #ccc);\n background-position: 0 0, 25px 25px;\n background-size: 10px 10px;\n margin: -8px .75em -8px -16px;\n display: inline-block;\n}\n\n.neos-47-Tdq_multiLineWithThumbnail__item:hover .neos-47-Tdq_multiLineWithThumbnail__secondaryLabel, .neos-47-Tdq_multiLineWithThumbnail__item:hover .neos-47-Tdq_multiLineWithThumbnail__tertiaryLabel {\n color: #fff;\n}\n\n._5ormcG_mediaModuleTheme {\n --theme-grayDarker: var(--grayDarker, #141414);\n --theme-grayDark: var(--grayDark, #222);\n --theme-grayMedium: var(--grayMedium, #323232);\n --theme-grayLight: var(--grayLight, #3f3f3f);\n --theme-grayLighter: var(--grayLighter, #eee);\n --theme-textOnWhite: var(--textOnWhite, #252525);\n --theme-textContrast: var(--textContrast, #2d2d2d);\n --theme-textOnGray: var(--textOnGray, #fff);\n --theme-textSubtle: var(--textSubtle, #5b5b5b);\n --theme-textSubtleLight: var(--textSubtleLight, #adadad);\n --theme-blue: var(--blue, #00b5ff);\n --theme-blueLight: var(--blueLight, #39c6ff);\n --theme-blueDark: var(--blueDark, #007fb2);\n --theme-green: var(--green, #00a338);\n --theme-warning: var(--warning, #ff460d);\n --theme-orange: var(--orange, #ff8700);\n --theme-colors-PrimaryViolet: var(--colors-PrimaryViolet, #26224c);\n --theme-colors-PrimaryVioletHover: var(--colors-PrimaryVioletHover, #342f5f);\n --theme-colors-PrimaryBlue: var(--colors-PrimaryBlue, #00adee);\n --theme-colors-PrimaryBlueHover: var(--colors-PrimaryBlueHover, #35c3f8);\n --theme-colors-ContrastDarkest: var(--colors-ContrastDarkest, var(--theme-grayDarker));\n --theme-colors-ContrastDarker: var(--colors-ContrastDarker, var(--theme-grayDark));\n --theme-colors-ContrastDark: var(--colors-ContrastDark, var(--theme-grayLight));\n --theme-colors-ContrastNeutral: var(--colors-ContrastNeutral, var(--theme-grayMedium));\n --theme-colors-ContrastBright: var(--colors-ContrastBright, #999);\n --theme-colors-ContrastBrighter: var(--colors-ContrastBrighter, var(--theme-textSubtleLight));\n --theme-colors-ContrastBrightest: var(--colors-ContrastBrightest, var(--theme-textOnGray));\n --theme-colors-Success: var(--colors-Success, var(--theme-green));\n --theme-colors-SuccessHover: var(--colors-SuccessHover, #0bb344);\n --theme-colors-Warn: var(--colors-Warn, var(--theme-orange));\n --theme-colors-WarnHover: var(--colors-WarnHover, #fda23d);\n --theme-colors-Error: var(--colors-Error, var(--theme-warning));\n --theme-colors-ErrorHover: var(--colors-ErrorHover, #ff6a3c);\n --theme-colors-UncheckedCheckboxTick: var(--colors-UncheckedCheckboxTick, var(--theme-textSubtle));\n --theme-spacing-GoldenUnit: var(--spacing-GoldenUnit, 40px);\n --theme-spacing-Full: var(--spacing-Full, 16px);\n --theme-spacing-Half: var(--spacing-Half, 8px);\n --theme-spacing-Quarter: var(--spacing-Quarter, 4px);\n --theme-unit: var(--unit, 40px);\n --theme-defaultMargin: var(--defaultMargin, 16px);\n --theme-relatedMargin: var(--relatedMargin, 8px);\n --theme-tightMargin: var(--tightMargin, 4px);\n --theme-wideMargin: var(--wideMargin, 32px);\n --theme-fontSize-base: 14px;\n --theme-fontSize-small: 12px;\n --theme-transition-fast: .1s;\n --theme-transition-default: .25s;\n --theme-transition-slow: .5s;\n --theme-colors-border: var(--theme-colors-ContrastDark);\n --theme-colors-alternatingBackground: var(--theme-colors-ContrastDark);\n --theme-colors-mainBackground: var(--theme-colors-ContrastNeutral);\n --theme-colors-inactive: var(--theme-colors-ContrastBright);\n --theme-colors-scrollbarForeground: var(--theme-colors-ContrastBright);\n --theme-colors-scrollbarBackground: transparent;\n --theme-colors-moduleBackground: var(--theme-colors-ContrastDarker);\n --theme-colors-tableHeader: var(--theme-colors-ContrastDark);\n --theme-colors-assetBackground: var(--theme-colors-ContrastDarkest);\n --theme-colors-captionBackground: var(--theme-colors-ContrastNeutral);\n --theme-colors-text: var(--theme-colors-ContrastBright);\n --theme-colors-disabled: var(--theme-colors-ContrastDark);\n --theme-colors-star: var(--theme-orange);\n --theme-zIndex-pagination: 10022;\n --theme-zIndex-lightbox: 10023;\n --theme-zIndex-loadingIndicator: 10024;\n --theme-size-sidebarWidth: calc(320px - 2 * var(--theme-spacing-Full));\n --theme-size-scrollbarSize: 4px;\n}\n\n.MSmIxq_assetLabel {\n white-space: nowrap;\n text-overflow: ellipsis;\n display: inline-block;\n overflow: hidden;\n}\n\n.kvTLDq_column {\n grid-gap: var(--theme-spacing-Full);\n height: 100%;\n grid-template-columns: 100%;\n grid-auto-rows: minmax(min-content, max-content);\n display: grid;\n overflow-x: hidden;\n overflow-y: auto;\n}\n\n.AhglKq_wrapper {\n height: var(--theme-spacing-GoldenUnit);\n align-items: center;\n gap: var(--theme-spacing-Half);\n display: flex;\n}\n\n.AhglKq_iconWrap {\n display: flex;\n}\n\n.AhglKq_label {\n -webkit-user-select: none;\n user-select: none;\n font-weight: bold;\n}\n\n.AhglKq_imgIcon {\n width: auto;\n height: 18px;\n}\n\n.QnHc5G_propertyList {\n width: 100%;\n max-width: 100%;\n overflow: hidden;\n}\n\n.QnHc5G_propertyList dt {\n background-color: var(--theme-colors-alternatingBackground);\n color: #fff;\n padding: var(--theme-spacing-Half) var(--theme-spacing-Half) 0;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-weight: bold;\n}\n\n.QnHc5G_propertyList dd {\n background-color: var(--theme-colors-alternatingBackground);\n color: var(--theme-colors-inactive);\n padding: var(--theme-spacing-Half);\n text-overflow: ellipsis;\n white-space: nowrap;\n margin: 0 0 1px;\n overflow-x: hidden;\n}\n\n.UWhRka_iconStack {\n position: relative;\n}\n\n.UWhRka_iconStack svg:nth-child(2) {\n max-width: .8em;\n max-height: .8em;\n color: var(--theme-colors-star);\n filter: drop-shadow(0 -1px #a60);\n position: absolute;\n bottom: 1px;\n right: 2px;\n}\n\n.i_NNWq_plusIcon {\n width: 9px !important;\n top: 15px !important;\n left: 13px !important;\n}\n\n.w3jxYa_plusIcon {\n width: 9px !important;\n top: 13px !important;\n left: 11px !important;\n}\n\n.YYR6BW_assetCollectionTree {\n border: 1px solid var(--theme-colors-border);\n max-height: 600px;\n flex-direction: column;\n display: flex;\n}\n\n.YYR6BW_assetCollectionTree > * {\n display: block;\n}\n\n.YYR6BW_viewSelection [role=\"button\"] > * {\n width: auto;\n margin-right: var(--theme-spacing-Half);\n}\n\n.YYR6BW_toolbar {\n border-top: 1px solid var(--theme-colors-border);\n}\n\n.YYR6BW_tree {\n border-top: 1px solid var(--theme-colors-border);\n overflow: auto;\n}\n\n.YYDVBq_formBody {\n padding: var(--theme-spacing-Full);\n}\n\n.CkrZ6q_formBody {\n padding: var(--theme-spacing-Full);\n}\n\n.rgxNBa_clipboardItem {\n cursor: pointer;\n min-width: var(--theme-spacing-GoldenUnit);\n width: var(--theme-spacing-GoldenUnit);\n height: var(--theme-spacing-GoldenUnit);\n background: none;\n border: none;\n}\n\n.rgxNBa_clipboardItem img {\n width: 100%;\n height: 100%;\n object-fit: contain;\n display: block;\n}\n\n.vygmma_clipboardToggle {\n height: 100%;\n -webkit-user-select: none;\n user-select: none;\n justify-content: center;\n align-self: flex-end;\n align-items: center;\n margin: 0 -.3rem;\n display: flex;\n}\n\n.vygmma_clipboardToggle > * {\n margin: 0 .3rem;\n}\n\n.zrw9kW_clipboardActions {\n background-color: var(--theme-colors-ContrastNeutral);\n align-items: baseline;\n display: flex;\n}\n\n.DdyBta_assetSourceDescription {\n border: 1px solid var(--theme-colors-border);\n}\n\n.DdyBta_assetSourceDescription .DdyBta_ReactCollapse--collapse {\n transition: height var(--theme-transition-slow);\n}\n\n.DdyBta_panelHeader button {\n justify-content: center;\n align-items: center;\n display: flex;\n position: absolute;\n}\n\n.y0bjba_assetSourceList {\n border: 1px solid var(--theme-colors-border);\n flex-direction: column;\n display: flex;\n}\n\n.y0bjba_header {\n border-bottom: 1px solid var(--theme-colors-border);\n padding: 0 var(--theme-spacing-Full);\n}\n\n.y0bjba_item {\n cursor: pointer;\n -webkit-user-select: none;\n user-select: none;\n padding: 0 var(--theme-spacing-Full);\n color: var(--theme-colors-ContrastBrightest);\n background: none;\n border: none;\n align-items: center;\n font-weight: normal;\n display: flex;\n}\n\n.y0bjba_item:hover, .y0bjba_itemSelected {\n color: var(--theme-colors-PrimaryBlue);\n}\n\n.y0bjba_itemLabel {\n grid-template-columns: 20px 1fr;\n display: grid;\n}\n\n.y0bjba_itemLabel span {\n font-weight: normal;\n}\n\n.I2Dv7q_dialogBody {\n padding: var(--theme-spacing-Full);\n}\n\n.I2Dv7q_modalTitle {\n margin-left: var(--theme-spacing-Full);\n}\n\n._9TZJrW_usageSection h2 {\n font-size: var(--theme-fontSize-base);\n margin: 0;\n padding: 0;\n font-weight: bold;\n}\n\n._9TZJrW_usageTable {\n width: 100%;\n margin-top: var(--theme-spacing-Full);\n line-height: 1.5;\n}\n\n._9TZJrW_usageTable th {\n text-align: left;\n font-weight: bold;\n}\n\n._9TZJrW_usageTable td, ._9TZJrW_usageTable th {\n padding: var(--theme-spacing-Quarter);\n}\n\n._9TZJrW_usageTable td:first-child, ._9TZJrW_usageTable th:first-child {\n padding-left: 0;\n}\n\n._9TZJrW_usageTable td:last-child, ._9TZJrW_usageTable th:last-child {\n padding-right: 0;\n}\n\n._9TZJrW_usageTable._9TZJrW_usageTable a {\n color: var(--theme-colors-PrimaryBlue);\n}\n\n._9TZJrW_usageTable._9TZJrW_usageTable a:hover {\n color: var(--theme-colors-PrimaryBlueHover);\n text-decoration: underline;\n}\n\n._9TZJrW_usageTable li {\n list-style-type: disc;\n}\n\n._9TZJrW_usageTable li ul {\n padding-left: 1rem;\n}\n\n._9TZJrW_usageTable li ul li {\n display: list-item;\n}\n\n._HqK-W_assetUsage {\n padding: var(--theme-spacing-Full);\n line-height: 1em;\n}\n\n._HqK-W_assetUsage section + section {\n margin-top: var(--theme-spacing-Full);\n}\n\n._HqK-W_usageTable {\n width: 100%;\n}\n\n._HqK-W_usageTable th {\n text-align: left;\n font-weight: bold;\n}\n\n._HqK-W_usageTable td, ._HqK-W_usageTable th {\n padding: var(--theme-spacing-Quarter);\n}\n\n._HqK-W_usageTable td:first-child, ._HqK-W_usageTable th:first-child {\n padding-left: 0;\n}\n\n._HqK-W_usageTable td:last-child, ._HqK-W_usageTable th:last-child {\n padding-right: 0;\n}\n\n._HqK-W_neos ._HqK-W_usageTable a {\n color: var(--theme-colors-PrimaryBlue);\n}\n\n._HqK-W_neos ._HqK-W_usageTable a:hover {\n color: var(--theme-colors-PrimaryBlue);\n text-decoration: underline;\n}\n\n.mL8aSq_similarAsset {\n flex-direction: column;\n margin: 0;\n display: flex;\n position: relative;\n}\n\n.mL8aSq_picture {\n background-color: var(--theme-colors-assetBackground);\n}\n\n.mL8aSq_picture img {\n height: 250px;\n width: 100%;\n object-fit: contain;\n display: block;\n}\n\n.mL8aSq_caption {\n background-color: var(--theme-colors-captionBackground);\n transition: background-color var(--theme-transition-fast);\n padding: var(--theme-spacing-Half);\n flex: 1;\n align-items: center;\n display: flex;\n}\n\n.mL8aSq_caption img {\n width: 1.3rem;\n height: auto;\n margin-right: var(--theme-spacing-Half);\n}\n\n.-zEGyG_assetUsage {\n gap: var(--theme-spacing-Full);\n padding: var(--theme-spacing-Full);\n grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));\n display: grid;\n}\n\n.GRZadW_dropzone {\n padding: var(--theme-spacing-GoldenUnit);\n border-width: 2px;\n border-color: var(--theme-colors-disabled);\n background-color: var(--theme-colors-alternatingBackground);\n color: var(--theme-colors-text);\n cursor: pointer;\n -webkit-user-select: none;\n user-select: none;\n border-style: dashed;\n border-radius: 2px;\n outline: none;\n flex-direction: column;\n align-items: center;\n transition: border .24s ease-in-out;\n display: flex;\n}\n\n.GRZadW_dropzone p {\n margin: 0;\n line-height: 1.6;\n}\n\n.GRZadW_dropzone--active {\n border-color: var(--theme-colors-PrimaryBlue);\n}\n\n.GRZadW_dropzone--accept {\n border-color: var(--theme-colors-Success);\n}\n\n.GRZadW_dropzone--reject {\n border-color: var(--theme-colors-Error);\n}\n\n._3DPMWa_fileList {\n margin-top: var(--theme-spacing-Full);\n flex-flow: wrap;\n display: flex;\n}\n\n._3DPMWa_fileListHeader {\n margin-bottom: var(--theme-spacing-Full);\n font-size: var(--theme-fontSize-base);\n flex: 100%;\n}\n\n._3DPMWa_thumb {\n margin-bottom: var(--theme-spacing-Half);\n margin-right: var(--theme-spacing-Half);\n width: 100px;\n height: 100px;\n padding: var(--theme-spacing-Quarter);\n box-sizing: border-box;\n border: 1px solid #eaeaea;\n border-radius: 2px;\n display: inline-flex;\n}\n\n._3DPMWa_thumbInner {\n width: 100%;\n height: 100%;\n justify-content: center;\n align-items: center;\n display: flex;\n position: relative;\n}\n\n._3DPMWa_thumbInner span {\n margin-left: var(--theme-spacing-Half);\n -webkit-user-select: none;\n user-select: none;\n}\n\n._3DPMWa_img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n z-index: -1;\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n}\n\n._3DPMWa_thumbInner:after {\n content: \"\";\n background-color: var(--theme-colors-alternatingBackground);\n opacity: .3;\n z-index: -1;\n display: none;\n position: absolute;\n inset: 0;\n}\n\n._3DPMWa_loading {\n border-color: var(--theme-colors-border);\n}\n\n._3DPMWa_loading ._3DPMWa_thumbInner:after {\n display: block;\n}\n\n._3DPMWa_success {\n border-color: var(--theme-colors-Success);\n}\n\n._3DPMWa_success ._3DPMWa_thumbInner:after {\n background-color: var(--theme-colors-Success);\n display: block;\n}\n\n._3DPMWa_error {\n border-color: var(--theme-colors-Error);\n}\n\n._3DPMWa_error ._3DPMWa_thumbInner:after {\n background-color: var(--theme-colors-Error);\n display: block;\n}\n\n._3DPMWa_warning {\n color: var(--theme-colors-Warn);\n}\n\n.YW0qpa_fileList {\n margin-top: var(--theme-spacing-Full);\n flex-flow: wrap;\n display: flex;\n}\n\n.YW0qpa_fileListHeader {\n margin-bottom: var(--theme-spacing-Full);\n font-size: var(--theme-fontSize-base);\n flex: 100%;\n}\n\n.j3Ge9q_uploadArea {\n padding: var(--theme-spacing-Full);\n}\n\n.TdFhBW_uploadArea {\n padding: var(--theme-spacing-Full);\n}\n\n.TdFhBW_optionSection {\n margin-top: var(--theme-spacing-Full);\n margin-bottom: var(--theme-spacing-Full);\n}\n\n.TdFhBW_option {\n margin-top: var(--theme-spacing-Half);\n margin-bottom: var(--theme-spacing-Half);\n}\n\n.TdFhBW_label {\n display: flex !important;\n}\n\n.SKOLBW_uploadButton {\n display: flex;\n}\n\n.SKOLBW_uploadButton button {\n flex: 1;\n}\n\n@keyframes closeWindow {\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n}\n\n.ril__outer {\n z-index: 1000;\n width: 100%;\n height: 100%;\n -ms-content-zooming: none;\n -ms-user-select: none;\n -ms-touch-select: none;\n touch-action: none;\n background-color: #000000d9;\n outline: none;\n inset: 0;\n}\n\n.ril__outerClosing {\n opacity: 0;\n}\n\n.ril__inner {\n position: absolute;\n inset: 0;\n}\n\n.ril__image, .ril__imagePrev, .ril__imageNext {\n max-width: none;\n -ms-content-zooming: none;\n -ms-user-select: none;\n -ms-touch-select: none;\n touch-action: none;\n margin: auto;\n position: absolute;\n inset: 0;\n}\n\n.ril__imageDiscourager {\n background-position: center;\n background-repeat: no-repeat;\n background-size: contain;\n}\n\n.ril__navButtons {\n width: 20px;\n height: 34px;\n cursor: pointer;\n opacity: .7;\n border: none;\n margin: auto;\n padding: 40px 30px;\n position: absolute;\n top: 0;\n bottom: 0;\n}\n\n.ril__navButtons:hover {\n opacity: 1;\n}\n\n.ril__navButtons:active {\n opacity: .7;\n}\n\n.ril__navButtonPrev {\n background: #0003 url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjIwIiBoZWlnaHQ9IjM0Ij48cGF0aCBkPSJtIDE5LDMgLTIsLTIgLTE2LDE2IDE2LDE2IDEsLTEgLTE1LC0xNSAxNSwtMTUgeiIgZmlsbD0iI0ZGRiIvPjwvc3ZnPg==\") center no-repeat;\n left: 0;\n}\n\n.ril__navButtonNext {\n background: #0003 url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjIwIiBoZWlnaHQ9IjM0Ij48cGF0aCBkPSJtIDEsMyAyLC0yIDE2LDE2IC0xNiwxNiAtMSwtMSAxNSwtMTUgLTE1LC0xNSB6IiBmaWxsPSIjRkZGIi8+PC9zdmc+\") center no-repeat;\n right: 0;\n}\n\n.ril__downloadBlocker {\n background-image: url(\"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\");\n background-size: cover;\n position: absolute;\n inset: 0;\n}\n\n.ril__caption, .ril__toolbar {\n background-color: #00000080;\n justify-content: space-between;\n display: flex;\n position: absolute;\n left: 0;\n right: 0;\n}\n\n.ril__caption {\n max-height: 150px;\n bottom: 0;\n overflow: auto;\n}\n\n.ril__captionContent {\n color: #fff;\n padding: 10px 20px;\n}\n\n.ril__toolbar {\n height: 50px;\n top: 0;\n}\n\n.ril__toolbarSide {\n height: 50px;\n margin: 0;\n}\n\n.ril__toolbarLeftSide {\n text-overflow: ellipsis;\n flex: 0 auto;\n padding-left: 20px;\n padding-right: 0;\n overflow: hidden;\n}\n\n.ril__toolbarRightSide {\n flex: none;\n padding-left: 0;\n padding-right: 20px;\n}\n\n.ril__toolbarItem {\n color: #fff;\n max-width: 100%;\n text-overflow: ellipsis;\n white-space: nowrap;\n padding: 0;\n font-size: 120%;\n line-height: 50px;\n display: inline-block;\n overflow: hidden;\n}\n\n.ril__toolbarItemChild {\n vertical-align: middle;\n}\n\n.ril__builtinButton {\n width: 40px;\n height: 35px;\n cursor: pointer;\n opacity: .7;\n border: none;\n}\n\n.ril__builtinButton:hover {\n opacity: 1;\n}\n\n.ril__builtinButton:active {\n outline: none;\n}\n\n.ril__builtinButtonDisabled {\n cursor: default;\n opacity: .5;\n}\n\n.ril__builtinButtonDisabled:hover {\n opacity: .5;\n}\n\n.ril__closeButton {\n background: url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjIwIiBoZWlnaHQ9IjIwIj48cGF0aCBkPSJtIDEsMyAxLjI1LC0xLjI1IDcuNSw3LjUgNy41LC03LjUgMS4yNSwxLjI1IC03LjUsNy41IDcuNSw3LjUgLTEuMjUsMS4yNSAtNy41LC03LjUgLTcuNSw3LjUgLTEuMjUsLTEuMjUgNy41LC03LjUgLTcuNSwtNy41IHoiIGZpbGw9IiNGRkYiLz48L3N2Zz4=\") center no-repeat;\n}\n\n.ril__zoomInButton {\n background: url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGcgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PHBhdGggZD0iTTEgMTlsNi02Ii8+PHBhdGggZD0iTTkgOGg2Ii8+PHBhdGggZD0iTTEyIDV2NiIvPjwvZz48Y2lyY2xlIGN4PSIxMiIgY3k9IjgiIHI9IjciIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIyIi8+PC9zdmc+\") center no-repeat;\n}\n\n.ril__zoomOutButton {\n background: url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGcgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PHBhdGggZD0iTTEgMTlsNi02Ii8+PHBhdGggZD0iTTkgOGg2Ii8+PC9nPjxjaXJjbGUgY3g9IjEyIiBjeT0iOCIgcj0iNyIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjIiLz48L3N2Zz4=\") center no-repeat;\n}\n\n.ril__outerAnimating {\n animation-name: closeWindow;\n}\n\n@keyframes pointFade {\n 0%, 19.999%, 100% {\n opacity: 0;\n }\n\n 20% {\n opacity: 1;\n }\n}\n\n.ril__loadingCircle {\n width: 60px;\n height: 60px;\n position: relative;\n}\n\n.ril__loadingCirclePoint {\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n}\n\n.ril__loadingCirclePoint:before {\n content: \"\";\n width: 11%;\n height: 30%;\n background-color: #fff;\n border-radius: 30%;\n margin: 0 auto;\n animation: .8s ease-in-out infinite both pointFade;\n display: block;\n}\n\n.ril__loadingCirclePoint:nth-of-type(1) {\n transform: rotate(0);\n}\n\n.ril__loadingCirclePoint:nth-of-type(7) {\n transform: rotate(180deg);\n}\n\n.ril__loadingCirclePoint:nth-of-type(1):before, .ril__loadingCirclePoint:nth-of-type(7):before {\n animation-delay: -800ms;\n}\n\n.ril__loadingCirclePoint:nth-of-type(2) {\n transform: rotate(30deg);\n}\n\n.ril__loadingCirclePoint:nth-of-type(8) {\n transform: rotate(210deg);\n}\n\n.ril__loadingCirclePoint:nth-of-type(2):before, .ril__loadingCirclePoint:nth-of-type(8):before {\n animation-delay: -666ms;\n}\n\n.ril__loadingCirclePoint:nth-of-type(3) {\n transform: rotate(60deg);\n}\n\n.ril__loadingCirclePoint:nth-of-type(9) {\n transform: rotate(240deg);\n}\n\n.ril__loadingCirclePoint:nth-of-type(3):before, .ril__loadingCirclePoint:nth-of-type(9):before {\n animation-delay: -533ms;\n}\n\n.ril__loadingCirclePoint:nth-of-type(4) {\n transform: rotate(90deg);\n}\n\n.ril__loadingCirclePoint:nth-of-type(10) {\n transform: rotate(270deg);\n}\n\n.ril__loadingCirclePoint:nth-of-type(4):before, .ril__loadingCirclePoint:nth-of-type(10):before {\n animation-delay: -400ms;\n}\n\n.ril__loadingCirclePoint:nth-of-type(5) {\n transform: rotate(120deg);\n}\n\n.ril__loadingCirclePoint:nth-of-type(11) {\n transform: rotate(300deg);\n}\n\n.ril__loadingCirclePoint:nth-of-type(5):before, .ril__loadingCirclePoint:nth-of-type(11):before {\n animation-delay: -266ms;\n}\n\n.ril__loadingCirclePoint:nth-of-type(6) {\n transform: rotate(150deg);\n}\n\n.ril__loadingCirclePoint:nth-of-type(12) {\n transform: rotate(330deg);\n}\n\n.ril__loadingCirclePoint:nth-of-type(6):before, .ril__loadingCirclePoint:nth-of-type(12):before {\n animation-delay: -133ms;\n}\n\n.ril__loadingCirclePoint:nth-of-type(7) {\n transform: rotate(180deg);\n}\n\n.ril__loadingCirclePoint:nth-of-type(13) {\n transform: rotate(360deg);\n}\n\n.ril__loadingCirclePoint:nth-of-type(7):before, .ril__loadingCirclePoint:nth-of-type(13):before {\n animation-delay: 0s;\n}\n\n.ril__loadingContainer {\n position: absolute;\n inset: 0;\n}\n\n.ril__imagePrev .ril__loadingContainer, .ril__imageNext .ril__loadingContainer {\n display: none;\n}\n\n.ril__errorContainer {\n color: #fff;\n justify-content: center;\n align-items: center;\n display: flex;\n position: absolute;\n inset: 0;\n}\n\n.ril__imagePrev .ril__errorContainer, .ril__imageNext .ril__errorContainer {\n display: none;\n}\n\n.ril__loadingContainer__icon {\n color: #fff;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%)translateY(-50%);\n}\n\n.g4samW_lightbox .g4samW_ril__image {\n max-width: 100%;\n}\n\n._7s7pAW_editArea {\n padding: var(--theme-spacing-Full);\n}\n\n._7s7pAW_filenameInput {\n flex: 100%;\n}\n\n._7s7pAW_label {\n align-items: baseline;\n gap: var(--theme-spacing-Half) 0;\n flex-wrap: wrap;\n display: flex !important;\n}\n\n._7s7pAW_label + label {\n margin-top: var(--theme-spacing-Full);\n}\n\n.hpr5wG_actions {\n background-color: var(--theme-colors-mainBackground);\n display: flex;\n position: sticky;\n bottom: 0;\n}\n\n.hpr5wG_actions > * {\n flex: 1;\n}\n\n.Ei69Yq_inspector {\n gap: var(--theme-spacing-Full);\n grid-template-columns: minmax(0, 1fr);\n grid-auto-rows: auto;\n display: grid;\n}\n\n.Ei69Yq_inspector input, .Ei69Yq_inspector textarea {\n width: 100%;\n}\n\n.Hl9FHG_collectionSelectBox input {\n background-color: #0000 !important;\n border: none !important;\n}\n\n.Hl9FHG_collectionSelectBox svg {\n align-self: center;\n}\n\n.GS2huq_variantContainer {\n background-color: var(--theme-colors-assetBackground);\n}\n\n.GS2huq_picture {\n height: 200px;\n justify-content: center;\n align-items: center;\n display: flex;\n}\n\n.GS2huq_image {\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n background-image: repeating-linear-gradient(45deg, #999 25%, #0000 25% 75%, #999 75%, #999), repeating-linear-gradient(45deg, #999 25%, #e5e5f7 25% 75%, #999 75%, #999);\n background-position: 0 0, 10px 10px;\n background-size: 20px 20px;\n display: block;\n}\n\n.GS2huq_caption {\n padding: var(--theme-spacing-Half);\n background-color: var(--theme-colors-captionBackground);\n justify-content: space-between;\n align-items: center;\n display: flex;\n}\n\n.GS2huq_infoContainer {\n min-width: 0;\n max-width: var(--theme-size-sidebarWidth);\n flex-direction: column;\n display: flex;\n}\n\n.GS2huq_info {\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.GS2huq_variantSizes {\n font-size: var(--theme-fontSize-small);\n}\n\n.RPvqMq_variantsContainer {\n padding: var(--theme-spacing-Full) var(--theme-spacing-Half);\n}\n\n.RPvqMq_variantsContainer h1 {\n font-size: var(--theme-fontSize-base);\n margin: 0;\n padding: 0;\n}\n\n.RPvqMq_variantItem {\n margin-top: var(--theme-spacing-Full);\n}\n\n.gOSwCW_tasks {\n gap: var(--theme-spacing-Half);\n flex-direction: column;\n display: flex;\n}\n\n.gOSwCW_tasks button {\n align-items: center;\n gap: .5em;\n display: flex;\n}\n\n.QsDLeW_textArea {\n padding: var(--theme-spacing-Half) !important;\n}\n\n.QsDLeW_propertyPanelHeader h2 {\n padding: 0;\n}\n\n.QsDLeW_propertyPanelHeader button {\n justify-content: center;\n align-items: center;\n display: flex;\n position: absolute;\n}\n\n.QsDLeW_propertyPanelContents {\n gap: var(--theme-spacing-Full);\n flex-direction: column;\n padding: 0;\n display: flex;\n}\n\n._5E9l1q_tabContent {\n height: calc(100% - 42px);\n}\n\n.cQ-_Aa_collectionSelectBox input {\n background-color: #0000 !important;\n border: none !important;\n}\n\n.cQ-_Aa_collectionSelectBox svg {\n align-self: center;\n}\n\n._8r-_bG_iptcData dl dt {\n background-color: var(--theme-colors-alternatingBackground);\n color: #fff;\n padding: var(--theme-spacing-Half) var(--theme-spacing-Half) 0;\n font-weight: bold;\n}\n\n._8r-_bG_iptcData dl dd {\n background-color: var(--theme-colors-alternatingBackground);\n padding: var(--theme-spacing-Half);\n color: var(--theme-colors-inactive);\n margin-bottom: 1px;\n}\n\n.zzq2Ja_currentSelection {\n flex-wrap: wrap;\n align-items: center;\n display: flex;\n overflow: hidden;\n}\n\n.zzq2Ja_headline {\n -webkit-user-select: none;\n user-select: none;\n font-weight: bold;\n line-height: var(--theme-spacing-GoldenUnit);\n flex: 100%;\n}\n\n.zzq2Ja_label svg {\n margin-right: var(--theme-spacing-Half);\n}\n\n.zzq2Ja_breadcrumb {\n gap: var(--theme-spacing-Quarter);\n padding: var(--theme-spacing-Quarter);\n flex-wrap: wrap;\n display: flex;\n}\n\n.zzq2Ja_breadcrumb button {\n background-color: var(--theme-colors-alternatingBackground);\n color: var(--theme-colors-ContrastBrightest);\n text-overflow-ellipsis: ellipsis;\n border: none;\n flex: none;\n display: block;\n overflow: hidden;\n}\n\n.zzq2Ja_breadcrumb button:hover {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n\n@keyframes _5GQP0G_cssLoadWidth {\n 0%, 100% {\n transition-timing-function: cubic-bezier(1, 0, .65, .85);\n }\n\n 0% {\n width: 0;\n }\n\n 100% {\n width: 100%;\n }\n}\n\n._5GQP0G_indicator {\n height: 2px;\n width: 100%;\n z-index: var(--theme-zIndex-loadingIndicator);\n display: none;\n position: fixed;\n top: 0;\n left: 0;\n}\n\n._5GQP0G_indicator:after {\n content: \"\";\n height: 100%;\n background-color: var(--theme-colors-Warn);\n display: block;\n position: relative;\n}\n\n._5GQP0G_indicator[data-animated=\"true\"] {\n display: block;\n}\n\n._5GQP0G_indicator[data-animated=\"true\"]:after {\n animation: 2s cubic-bezier(.45, 0, 1, 1) infinite _5GQP0G_cssLoadWidth;\n}\n\n.ucPgIG_assetCount {\n height: 100%;\n -webkit-user-select: none;\n user-select: none;\n justify-content: center;\n align-self: flex-start;\n align-items: center;\n display: flex;\n}\n\n.sNJnsW_item {\n -webkit-user-select: none;\n user-select: none;\n}\n\n.sNJnsW_item button {\n justify-content: center;\n align-items: center;\n display: flex;\n}\n\n.gZKlGG_pagination {\n justify-self: center;\n}\n\n.gZKlGG_list {\n text-align: center;\n justify-self: center;\n margin: 0;\n padding: 0;\n list-style-type: none;\n display: flex;\n}\n\n.gZKlGG_ellipsis {\n -webkit-user-select: none;\n user-select: none;\n line-height: 2.4rem;\n}\n\n.gZKlGG_disabled {\n color: var(--theme-colors-ContrastBrighter);\n}\n\n.VMKMXG_bottomBar {\n gap: var(--theme-spacing-GoldenUnit);\n border-top: 1px solid var(--theme-colors-border);\n background-color: var(--theme-colors-moduleBackground);\n z-index: var(--theme-zIndex-pagination);\n grid-template-columns: 350px 1fr 350px;\n display: grid;\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n}\n\n.VMKMXG_selectionMode {\n grid-template-columns: repeat(3, 1fr);\n}\n\n.VMKMXG_isInNodeCreationDialog {\n bottom: -16px;\n left: -16px;\n right: -16px;\n}\n\n.yiv2CG_sortingState, .yiv2CG_selectBox {\n min-width: 0;\n display: flex;\n}\n\n.PUFj9a_assetsFilter {\n position: relative;\n}\n\n.PUFj9a_assetsFilter > summary {\n background-color: var(--theme-colors-captionBackground);\n cursor: pointer;\n padding: 0 1em;\n list-style-type: none;\n}\n\n.PUFj9a_assetsFilter summary:hover {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n\n.PUFj9a_assetsFilter > summary::-webkit-details-marker {\n display: none;\n}\n\n.PUFj9a_assetsFilter.PUFj9a_active summary {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n\n.PUFj9a_filterList {\n z-index: 2;\n background-color: var(--theme-colors-ContrastDarker);\n flex-direction: column;\n gap: 1px;\n display: flex;\n position: absolute;\n top: 100%;\n left: 0;\n}\n\n.PUFj9a_typeFilter {\n display: flex;\n}\n\n.PUFj9a_typeFilter svg {\n height: 1em !important;\n}\n\n.PUFj9a_selectBox {\n min-width: auto;\n}\n\n._5Oef7G_viewModeSelector {\n align-items: baseline;\n display: flex;\n}\n\n._5Oef7G_viewModeSelector label {\n margin-right: var(--theme-spacing-Quarter);\n}\n\n._5Oef7G_selectBox {\n min-width: auto;\n}\n\n.rxR0KW_searchBox {\n flex-direction: row;\n flex-grow: 1;\n display: flex;\n}\n\n.rxR0KW_searchBox__inputWrapper {\n flex: 1;\n}\n\n.rxR0KW_searchBox__inputWrapper > input {\n width: 100%;\n}\n\n.h7QbgG_topBar {\n margin: 0 calc(-1 * var(--theme-spacing-Half));\n flex-wrap: nowrap;\n justify-content: flex-end;\n padding-right: 0;\n display: flex;\n}\n\n.h7QbgG_topBar--selectionMode {\n padding-right: var(--theme-spacing-GoldenUnit);\n}\n\n.h7QbgG_topBar > * {\n margin: 0 var(--theme-spacing-Half);\n}\n\n.Rs4dJq_listView {\n height: auto;\n}\n\n.Rs4dJq_listView--fullHeight {\n height: 100%;\n}\n\n.Rs4dJq_listView table {\n border-spacing: 0 1px;\n width: 100%;\n}\n\n.Rs4dJq_listView table th {\n text-align: left;\n line-height: var(--theme-spacing-GoldenUnit);\n padding: 0 var(--theme-spacing-Half);\n white-space: nowrap;\n text-overflow: ellipsis;\n -webkit-user-select: none;\n user-select: none;\n overflow: hidden;\n}\n\n.Rs4dJq_listView table th:first-child, .Rs4dJq_listView table th:last-child {\n padding: 0;\n}\n\n.Rs4dJq_tableHeader {\n background-color: var(--theme-colors-tableHeader);\n z-index: 1;\n position: sticky;\n top: 0;\n}\n\n._0hU7dG_listViewItem {\n background-color: var(--theme-colors-mainBackground);\n}\n\n._0hU7dG_listViewItem:nth-of-type(2n) {\n background-color: var(--theme-colors-alternatingBackground);\n}\n\n._0hU7dG_listViewItem:hover, ._0hU7dG_selected, ._0hU7dG_selected:nth-of-type(2n) {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n\n._0hU7dG_textColumn {\n padding: 0 var(--theme-spacing-Half);\n white-space: nowrap;\n -webkit-user-select: none;\n user-select: none;\n cursor: pointer;\n width: 1px;\n}\n\n._0hU7dG_textColumn > * {\n vertical-align: middle;\n}\n\n._0hU7dG_previewColumn {\n min-width: var(--theme-spacing-GoldenUnit);\n width: var(--theme-spacing-GoldenUnit);\n cursor: pointer;\n}\n\n._0hU7dG_previewColumn picture {\n width: 100%;\n height: var(--theme-spacing-GoldenUnit);\n text-align: center;\n display: block;\n}\n\n._0hU7dG_previewColumn picture img, ._0hU7dG_previewColumn picture svg {\n width: 100%;\n height: 100%;\n object-fit: contain;\n display: inline-block;\n}\n\n._0hU7dG_labelColumn {\n table-layout: fixed;\n width: 100%;\n line-height: var(--theme-spacing-GoldenUnit);\n -webkit-user-select: text;\n user-select: text;\n display: table;\n}\n\n._0hU7dG_labelColumn > * {\n width: calc(100% - 2 * var(--theme-spacing-Half));\n padding: 0 var(--theme-spacing-Half);\n}\n\n._0hU7dG_lastModifiedColumn {\n}\n\n._0hU7dG_fileSizeColumn {\n}\n\n._0hU7dG_mediaTypeColumn {\n max-width: 100px;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n._0hU7dG_actionsColumn {\n text-align: right;\n}\n\n.LUZzHG_emptyStateWrapper {\n height: inherit;\n justify-content: center;\n align-items: center;\n display: flex;\n}\n\n.lKBwAW_thumbnail {\n flex-direction: column;\n margin: 0;\n display: flex;\n position: relative;\n}\n\n.lKBwAW_thumbnail:hover .lKBwAW_caption {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n\n.lKBwAW_thumbnail:hover .lKBwAW_toolBar {\n pointer-events: all;\n background-color: #00000040;\n}\n\n.lKBwAW_thumbnail:hover .lKBwAW_toolBar button {\n opacity: 1;\n}\n\n.lKBwAW_thumbnail:hover .lKBwAW_toolBar button[disabled] {\n opacity: .5;\n}\n\n.lKBwAW_thumbnail:hover .lKBwAW_toolBar button.lKBwAW_button--active svg {\n color: #fff;\n}\n\n.lKBwAW_picture {\n cursor: pointer;\n height: 250px;\n background-color: var(--theme-colors-assetBackground);\n place-content: center;\n align-items: center;\n display: flex;\n}\n\n.lKBwAW_picture img {\n max-height: 250px;\n max-width: 100%;\n background-image: repeating-linear-gradient(45deg, #999 25%, #0000 25% 75%, #999 75%, #999), repeating-linear-gradient(45deg, #999 25%, #e5e5f7 25% 75%, #999 75%, #999);\n background-position: 0 0, 10px 10px;\n background-size: 20px 20px;\n display: block;\n}\n\n.lKBwAW_caption {\n background-color: var(--theme-colors-captionBackground);\n transition: background-color var(--theme-transition-fast);\n padding: var(--theme-spacing-Half);\n flex: 1;\n align-items: center;\n display: flex;\n}\n\n.lKBwAW_caption img, .lKBwAW_caption svg {\n width: 1.3rem;\n height: auto;\n margin-right: var(--theme-spacing-Half);\n}\n\n.lKBwAW_selected {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n\n.lKBwAW_toolBar {\n top: var(--theme-spacing-Quarter);\n right: var(--theme-spacing-Quarter);\n pointer-events: none;\n background-color: #0000;\n transition: background-color .1s ease-in;\n display: flex;\n position: absolute;\n}\n\n.lKBwAW_toolBar button, .lKBwAW_toolBar button[disabled] {\n opacity: 0;\n transition: opacity .1s ease-in;\n}\n\n.lKBwAW_toolBar button.lKBwAW_button--active {\n opacity: 1;\n}\n\n.lKBwAW_toolBar button.lKBwAW_button--active svg {\n color: var(--theme-colors-PrimaryBlue);\n}\n\n.lKBwAW_label {\n top: var(--theme-spacing-Quarter);\n left: var(--theme-spacing-Quarter);\n font-size: var(--theme-fontSize-small);\n -webkit-user-select: none;\n user-select: none;\n border-radius: 3px;\n padding: 2px 4px;\n position: absolute;\n}\n\n.lKBwAW_disabled .lKBwAW_picture {\n filter: grayscale();\n cursor: not-allowed;\n}\n\n._5clkbq_thumbnailView {\n gap: var(--theme-spacing-Full);\n grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));\n display: grid;\n}\n\n.rZ_p1G_container {\n --grid-height: calc(100vh - 48px - 61px - 41px);\n --grid-areas: \"left top right\" \"left main right\";\n --grid-columns: var(--theme-size-sidebarWidth) 1fr var(--theme-size-sidebarWidth);\n --grid-area-left: left;\n --grid-area-right: right;\n --grid-area-top: top;\n --grid-area-main: main;\n height: var(--grid-height);\n grid-template-rows: 40px 1fr;\n grid-template-columns: var(--grid-columns);\n grid-template-areas: var(--grid-areas);\n gap: var(--theme-spacing-Full);\n padding-top: 1px;\n line-height: 1.5;\n display: grid;\n overflow: hidden;\n}\n\n.rZ_p1G_fullHeight {\n --grid-height: calc(100% - 61px - 8px);\n}\n\n.rZ_p1G_selectionMode {\n --grid-columns: var(--theme-size-sidebarWidth) 1fr;\n --grid-areas: \"left top\" \"left main\";\n}\n\n.rZ_p1G_gridColumn {\n height: 100%;\n overflow-y: auto;\n}\n\n.rZ_p1G_gridRight {\n grid-area: var(--grid-area-right);\n}\n\n.rZ_p1G_gridLeft {\n grid-area: var(--grid-area-left);\n}\n\n.rZ_p1G_gridMain {\n grid-area: var(--grid-area-main);\n}\n\n.rZ_p1G_gridTop {\n grid-area: var(--grid-area-top);\n}\n\n#media-ui-app > div {\n scrollbar-width: thin;\n scrollbar-color: #999 transparent;\n}\n\n#media-ui-app > div ::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n}\n\n#media-ui-app > div ::-webkit-scrollbar-track {\n background: none;\n}\n\n#media-ui-app > div ::-webkit-scrollbar-thumb {\n background-color: #999;\n}\n\n#media-ui-app > div ::-webkit-scrollbar-corner {\n background-color: #3f3f3f;\n}\n\n.neos.neos-module-management-mediaui > .neos-module-wrap {\n padding: 3rem 1rem 0;\n}\n\nbody > [class*=\"_selectBox__contents_\"] {\n z-index: 99999;\n}\n\n[class*=\"_dropDown__btn\"] {\n padding-left: 0;\n}\n\n/*# sourceMappingURL=main.bundle.css.map */\n",".neos-iiR9VW_reset {\n color: #fff;\n margin: 0;\n padding: 0;\n font-family: Noto Sans, sans-serif;\n font-weight: normal;\n}\n\n.neos-iiR9VW_reset, .neos-iiR9VW_reset:before, .neos-iiR9VW_reset:after {\n box-sizing: border-box;\n}\n\n.neos-iiR9VW_reset input, .neos-iiR9VW_reset textarea, .neos-iiR9VW_reset select, .neos-iiR9VW_reset button {\n font-size: 14px ;\n margin: 0;\n}\n\n.neos-iiR9VW_reset ul {\n padding: 0;\n}\n\n.neos-iiR9VW_reset li {\n display: block;\n}\n\n.neos-iiR9VW_reset input::-webkit-search-cancel-button {\n display: none;\n}\n\n.neos-iiR9VW_reset input {\n appearance: none;\n}\n",".reset {\n /*\n * note for the future you:\n * in case we sometime have problems with the specificity - we can always use :where(.reset) {} to force a low specificity\n */\n font-family: 'Noto Sans', sans-serif;\n font-weight: normal;\n color: #FFF;\n margin: 0;\n padding: 0;\n\n &,\n &:before,\n &:after {\n box-sizing: border-box;\n }\n\n /* some browsers set a font-size or margin in their user stylesheets */\n & input,\n & textarea,\n & select,\n & button {\n font-size: var(--fontSize-Base);\n margin: 0;\n }\n & ul {\n padding: 0;\n }\n /* webkit adds some weird spacing otherwise */\n & li {\n display: block;\n }\n & input::-webkit-search-cancel-button {\n display: none;\n }\n /* webkit adds white box around search box */\n & input {\n appearance: none;\n }\n}\n",".neos-6Mnuzq_btn {\n height: 40px ;\n min-width: 40px ;\n padding: 0 16px ;\n -webkit-font-smoothing: antialiased;\n vertical-align: middle;\n width: auto;\n color: #fff ;\n cursor: pointer;\n background-color: #323232 ;\n font-size: 14px ;\n border: 0;\n display: inline-block;\n position: relative;\n}\n\n.neos-6Mnuzq_btn:focus {\n outline: 1px solid #00adee ;\n}\n\n.neos-6Mnuzq_btn[disabled] {\n opacity: .5;\n cursor: not-allowed;\n}\n\n.neos-6Mnuzq_btn[disabled]:hover, .neos-6Mnuzq_btn[disabled].neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn[disabled]:hover i, .neos-6Mnuzq_btn[disabled] i {\n color: #fff ;\n}\n\n.neos-6Mnuzq_btn--size-small {\n height: 32px;\n padding: 0 8px;\n font-size: 13px;\n}\n\n.neos-6Mnuzq_btn--clean {\n background-color: #222 ;\n}\n\n.neos-6Mnuzq_btn--lighter, .neos-6Mnuzq_btn--lighter i {\n background-color: #3f3f3f ;\n}\n\n.neos-6Mnuzq_btn--neutral, .neos-6Mnuzq_btn--neutral i {\n background-color: #323232 ;\n}\n\n.neos-6Mnuzq_btn--transparent {\n background: 0;\n}\n\n.neos-6Mnuzq_btn--brand, .neos-6Mnuzq_btn--brand i {\n background-color: #00adee ;\n color: #fff !important;\n}\n\n.neos-6Mnuzq_btn--success, .neos-6Mnuzq_btn--success i {\n background-color: #00a338 ;\n color: #fff !important;\n}\n\n.neos-6Mnuzq_btn--warn, .neos-6Mnuzq_btn--warn i {\n background-color: #ff8700 ;\n}\n\n.neos-6Mnuzq_btn--error, .neos-6Mnuzq_btn--error i {\n background-color: #ff460d ;\n color: #fff !important;\n}\n\n.neos-6Mnuzq_btn--brandActive {\n background-color: #00adee ;\n}\n\n.neos-6Mnuzq_btn--brandActive svg {\n color: #fff ;\n}\n\n.neos-6Mnuzq_btn--brandHover:hover:enabled, .neos-6Mnuzq_btn--brandHover:hover:enabled i, .neos-6Mnuzq_btn--brandHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--brandHover.neos-6Mnuzq_btn--isPressed i {\n background-color: #00adee ;\n}\n\n.neos-6Mnuzq_btn--cleanHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--cleanHover.neos-6Mnuzq_btn--isPressed i, .neos-6Mnuzq_btn--cleanHover:hover:enabled, .neos-6Mnuzq_btn--cleanHover:hover:enabled i {\n color: #00adee ;\n}\n\n:is(.neos-6Mnuzq_btn--cleanHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--cleanHover.neos-6Mnuzq_btn--isPressed i, .neos-6Mnuzq_btn--cleanHover:hover:enabled, .neos-6Mnuzq_btn--cleanHover:hover:enabled i) svg {\n color: #00adee ;\n}\n\n.neos-6Mnuzq_btn--darkenHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--darkenHover.neos-6Mnuzq_btn--isPressed i, .neos-6Mnuzq_btn--darkenHover:hover:enabled, .neos-6Mnuzq_btn--darkenHover:hover:enabled i {\n background-color: rgba(0, 0, 0, .1);\n}\n\n.neos-6Mnuzq_btn--successHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--successHover.neos-6Mnuzq_btn--isPressed i, .neos-6Mnuzq_btn--successHover:hover:enabled, .neos-6Mnuzq_btn--successHover:hover:enabled i {\n background-color: #0bb344 ;\n}\n\n.neos-6Mnuzq_btn--warnHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--warnHover.neos-6Mnuzq_btn--isPressed i, .neos-6Mnuzq_btn--warnHover:hover:enabled, .neos-6Mnuzq_btn--warnHover:hover:enabled i {\n background-color: #fda23d ;\n}\n\n.neos-6Mnuzq_btn--errorHover:hover:enabled, .neos-6Mnuzq_btn--errorHover:hover:enabled i, .neos-6Mnuzq_btn--errorHover.neos-6Mnuzq_btn--isPressed, .neos-6Mnuzq_btn--errorHover.neos-6Mnuzq_btn--isPressed i {\n background-color: #ff6a3c ;\n}\n",".btn {\n composes: reset from '../reset.module.css';\n position: relative;\n display: inline-block;\n height: var(--spacing-GoldenUnit);\n min-width: var(--spacing-GoldenUnit);\n padding: 0 var(--spacing-Full);\n border: 0;\n -webkit-font-smoothing: antialiased;\n vertical-align: middle;\n width: auto;\n color: var(--colors-ContrastBrightest);\n cursor: pointer;\n background-color: var(--colors-ContrastNeutral);\n font-size: var(--fontSize-Base);\n\n &:focus {\n outline: 1px solid var(--colors-PrimaryBlue);\n }\n\n &[disabled] {\n opacity: .5;\n cursor: not-allowed;\n\n &:hover,\n &.btn--isPressed,\n &:hover i,\n & i {\n color: var(--colors-ContrastBrightest);\n }\n }\n}\n.btn--size-small {\n height: 32px;\n font-size: 13px;\n padding: 0 8px;\n}\n\n.btn--clean {\n background-color: var(--colors-ContrastDarker);\n}\n.btn--lighter,\n.btn--lighter i {\n background-color: var(--colors-ContrastDark);\n}\n.btn--neutral,\n.btn--neutral i {\n background-color: var(--colors-ContrastNeutral);\n}\n.btn--transparent {\n background: 0;\n}\n.btn--brand,\n.btn--brand i {\n background-color: var(--colors-PrimaryBlue);\n color: white !important;\n}\n.btn--success,\n.btn--success i {\n background-color: var(--colors-Success);\n color: white !important;\n}\n.btn--warn,\n.btn--warn i {\n background-color: var(--colors-Warn);\n}\n.btn--error,\n.btn--error i {\n background-color: var(--colors-Error);\n color: white !important;\n}\n\n.btn--brandActive {\n background-color: var(--colors-PrimaryBlue);\n\n & svg {\n color: var(--colors-ContrastBrightest);\n }\n}\n\n.btn--brandHover:hover:enabled,\n.btn--brandHover:hover:enabled i,\n.btn--brandHover.btn--isPressed,\n.btn--brandHover.btn--isPressed i {\n background-color: var(--colors-PrimaryBlue);\n}\n.btn--cleanHover.btn--isPressed,\n.btn--cleanHover.btn--isPressed i,\n.btn--cleanHover:hover:enabled,\n.btn--cleanHover:hover:enabled i {\n color: var(--colors-PrimaryBlue);\n\n & svg {\n color: var(--colors-PrimaryBlue);\n }\n}\n.btn--darkenHover.btn--isPressed,\n.btn--darkenHover.btn--isPressed i,\n.btn--darkenHover:hover:enabled,\n.btn--darkenHover:hover:enabled i {\n background-color: rgba(0, 0, 0, .1);\n}\n.btn--successHover.btn--isPressed,\n.btn--successHover.btn--isPressed i,\n.btn--successHover:hover:enabled,\n.btn--successHover:hover:enabled i {\n background-color: var(--colors-SuccessHover);\n}\n.btn--warnHover.btn--isPressed,\n.btn--warnHover.btn--isPressed i,\n.btn--warnHover:hover:enabled,\n.btn--warnHover:hover:enabled i {\n background-color: var(--colors-WarnHover);\n}\n.btn--errorHover:hover:enabled,\n.btn--errorHover:hover:enabled i,\n.btn--errorHover.btn--isPressed,\n.btn--errorHover.btn--isPressed i {\n background-color: var(--colors-ErrorHover);\n}\n",".neos-RjvLTG_icon {\n font: normal normal normal FontAwesome;\n font-size: 14px / 1;\n text-rendering: auto;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n display: inline-block;\n}\n\n.neos-RjvLTG_icon--paddedLeft {\n margin-left: .75em;\n}\n\n.neos-RjvLTG_icon--paddedRight {\n margin-right: .75em;\n}\n\n.neos-RjvLTG_icon--color-warn {\n color: #ff8700 ;\n}\n\n.neos-RjvLTG_icon--color-error {\n color: #ff460d ;\n}\n\n.neos-RjvLTG_icon--color-primaryBlue {\n color: #00adee ;\n}\n\n.neos-RjvLTG_icon--huge svg {\n height: 3em;\n}\n\n.neos-RjvLTG_icon--large svg {\n height: 2em;\n}\n\n.neos-RjvLTG_icon--big svg {\n height: 1.33em;\n}\n\n.neos-RjvLTG_icon--small svg {\n height: 1em;\n max-height: 1em;\n max-width: 100%;\n}\n\n.neos-RjvLTG_icon--tiny svg {\n height: .75em;\n}\n\n.neos-RjvLTG_icon--resource {\n width: 100%;\n justify-content: center;\n display: inline-grid;\n}\n",".icon {\n composes: reset from '../reset.module.css';\n display: inline-block;\n font: normal normal normal FontAwesome;\n font-size: 14px/1;\n text-rendering: auto;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n.icon--paddedLeft {\n margin-left: .75em;\n}\n.icon--paddedRight {\n margin-right: .75em;\n}\n\n.icon--color-warn {\n color: var(--colors-Warn);\n}\n\n.icon--color-error {\n color: var(--colors-Error);\n}\n\n.icon--color-primaryBlue {\n color: var(--colors-PrimaryBlue);\n}\n\n.icon--huge {\n & svg {\n height: 3em;\n }\n}\n\n.icon--large {\n & svg {\n height: 2em;\n }\n}\n\n.icon--big {\n & svg {\n height: 1.33em;\n }\n}\n\n.icon--small {\n & svg {\n height: 1em;\n max-height: 1em;\n max-width: 100%;\n }\n}\n\n.icon--tiny {\n & svg {\n height: .75em;\n }\n}\n\n.icon--resource {\n display: inline-grid;\n width: 100%;\n justify-content: center;\n}\n",".neos-am4CoW_checkbox {\n width: 20px;\n height: 20px;\n vertical-align: middle;\n margin-right: 8px;\n display: block;\n position: relative;\n}\n\n.neos-am4CoW_checkbox__input {\n z-index: 1 ;\n width: 20px;\n height: 20px;\n opacity: 0;\n cursor: pointer;\n position: absolute;\n top: 50%;\n left: 0;\n transform: translateY(-50%);\n}\n\n.neos-am4CoW_checkbox__icon {\n opacity: 0;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%)translateY(-50%);\n}\n\n.neos-am4CoW_checkbox__inputMirror {\n width: 20px;\n height: 20px;\n vertical-align: top;\n background: #3f3f3f ;\n border-radius: 2px;\n font-size: 20px;\n font-weight: bold;\n display: inline-block;\n}\n\n.neos-am4CoW_checkbox__inputMirror--active {\n background: #00adee ;\n}\n\n.neos-am4CoW_checkbox__checked .neos-am4CoW_checkbox__icon {\n opacity: 1;\n}\n\n.neos-am4CoW_checkbox__disabled {\n opacity: .65;\n cursor: not-allowed;\n}\n\n.neos-am4CoW_checkbox__disabled .neos-am4CoW_checkbox__input {\n cursor: not-allowed;\n}\n",".checkbox {\n composes: reset from '../reset.module.css';\n position: relative;\n display: block;\n width: 20px;\n height: 20px;\n margin-right: 8px;\n vertical-align: middle;\n}\n.checkbox__input {\n composes: reset from '../reset.module.css';\n position: absolute;\n top: 50%;\n left: 0;\n z-index: var(--zIndex-CheckboxInput-Context);\n transform: translateY(-50%);\n width: 20px;\n height: 20px;\n opacity: 0;\n cursor: pointer;\n}\n.checkbox__icon {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n opacity: 0;\n}\n.checkbox__inputMirror {\n composes: reset from '../reset.module.css';\n display: inline-block;\n width: 20px;\n height: 20px;\n border-radius: 2px;\n vertical-align: top;\n background: var(--colors-ContrastDark);\n font-size: 20px;\n font-weight: bold;\n}\n.checkbox__inputMirror--active {\n background: var(--colors-PrimaryBlue);\n}\n.checkbox__checked {\n .checkbox__icon {\n opacity: 1;\n }\n}\n.checkbox__disabled {\n opacity: .65;\n cursor: not-allowed;\n\n .checkbox__input {\n cursor: not-allowed;\n }\n}\n","@keyframes neos-X60ORW_slideDialogContents {\n from {\n opacity: 0;\n transform: translateX(-50%)scale(.9);\n }\n}\n\n.neos-X60ORW_dialog {\n z-index: 1 ;\n width: 100vw;\n height: 100vh;\n background: rgba(0, 0, 0, .8);\n position: fixed;\n top: 0;\n left: 0;\n}\n\n.neos-X60ORW_dialog__contentsPosition {\n background: #222 ;\n opacity: 1;\n border-radius: 0;\n outline: none;\n animation: .3s ease-in-out neos-X60ORW_slideDialogContents;\n position: absolute;\n top: 20vh;\n left: 50%;\n transform: translateX(-50%)scale(1);\n box-shadow: 0 20px 40px rgba(0, 0, 0, .4);\n}\n\n.neos-X60ORW_dialog__contents {\n width: calc(100vw - 40px * 2);\n max-width: calc(40px * 16);\n border: 2px solid #3f3f3f ;\n transition: .25s ease max-width;\n position: relative;\n}\n\n.neos-X60ORW_dialog--wide .neos-X60ORW_dialog__contents {\n max-width: calc(40px * 24);\n}\n\n@media (max-width: 576px) {\n .neos-X60ORW_dialog--wide .neos-X60ORW_dialog__contents {\n max-width: 100vw;\n width: 100vw;\n }\n}\n\n.neos-X60ORW_dialog--jumbo .neos-X60ORW_dialog__contents {\n max-width: calc(40px * 36);\n width: 90vw;\n}\n\n@media (max-width: 576px) {\n .neos-X60ORW_dialog--jumbo .neos-X60ORW_dialog__contents {\n max-width: 100vw;\n width: 100vw;\n }\n}\n\n.neos-X60ORW_dialog--narrow .neos-X60ORW_dialog__contents {\n max-width: 400px;\n}\n\n.neos-X60ORW_dialog--success .neos-X60ORW_dialog__contents {\n border-color: #00a338 ;\n}\n\n.neos-X60ORW_dialog--warn .neos-X60ORW_dialog__contents {\n border-color: #ff8700 ;\n}\n\n.neos-X60ORW_dialog--error .neos-X60ORW_dialog__contents {\n border-color: #ff460d ;\n}\n\n.neos-X60ORW_dialog__title {\n padding: 16px ;\n padding-right: 40px ;\n font-size: 20px;\n line-height: 1.2;\n}\n\n.neos-X60ORW_dialog__body {\n max-height: 65vh;\n overflow-y: auto;\n}\n\n@media (max-width: 576px) {\n .neos-X60ORW_dialog__body {\n max-height: 55vh;\n }\n}\n\n.neos-X60ORW_dialog__actions {\n text-align: right;\n margin-top: 16px ;\n}\n\n.neos-X60ORW_dialog__closeBtn {\n background: #3f3f3f ;\n position: absolute;\n top: 0;\n right: 0;\n}\n\n.neos-X60ORW_dialog__backDrop {\n height: 100%;\n width: 100%;\n position: absolute;\n}\n","@keyframes slideDialogContents {\n from {\n opacity: 0;\n transform: translateX(-50%) scale(.9);\n }\n}\n\n.dialog {\n composes: reset from '../reset.module.css';\n position: fixed;\n top: 0;\n left: 0;\n z-index: var(--zIndex-Dialog-Context);\n width: 100vw;\n height: 100vh;\n background: rgba(0, 0, 0, .8);\n}\n.dialog__contentsPosition {\n composes: reset from '../reset.module.css';\n position: absolute;\n top: 20vh;\n left: 50%;\n transform: translateX(-50%) scale(1);\n background: var(--colors-ContrastDarker);\n box-shadow: 0 20px 40px rgba(0, 0, 0, .4);\n border-radius: 0;\n outline: none;\n opacity: 1;\n animation: slideDialogContents .3s ease-in-out;\n}\n.dialog__contents {\n composes: reset from '../reset.module.css';\n position: relative;\n width: calc(100vw - var(--spacing-GoldenUnit) * 2);\n max-width: calc(var(--spacing-GoldenUnit) * 16);\n border: 2px solid var(--colors-ContrastDark);\n transition: var(--transition-Default) ease max-width;\n\n .dialog--wide & {\n max-width: calc(var(--spacing-GoldenUnit) * 24);\n\n @media(max-width: 576px) {\n max-width: 100vw;\n width: 100vw;\n }\n }\n\n .dialog--jumbo & {\n max-width: calc(var(--spacing-GoldenUnit) * 36);\n width: 90vw;\n\n @media(max-width: 576px) {\n max-width: 100vw;\n width: 100vw;\n }\n }\n\n .dialog--narrow & {\n max-width: 400px;\n }\n\n .dialog--success & {\n border-color: var(--colors-Success);\n }\n .dialog--warn & {\n border-color: var(--colors-Warn);\n }\n .dialog--error & {\n border-color: var(--colors-Error);\n }\n}\n.dialog__title {\n composes: reset from '../reset.module.css';\n font-size: 20px;\n line-height: 1.2;\n padding: var(--spacing-Full);\n padding-right: var(--spacing-GoldenUnit);\n}\n.dialog__body {\n max-height: calc(65vh);\n overflow-y: auto;\n\n @media(max-width: 576px) {\n max-height: calc(55vh);\n }\n}\n.dialog__actions {\n composes: reset from '../reset.module.css';\n text-align: right;\n margin-top: var(--spacing-Full);\n}\n.dialog__closeBtn {\n composes: reset from '../reset.module.css';\n position: absolute;\n top: 0;\n right: 0;\n background: var(--colors-ContrastDark);\n}\n.dialog__backDrop {\n composes: reset from '../reset.module.css';\n position: absolute;\n height: 100%;\n width: 100%;\n}\n",".neos-RwNJjq_heading {\n font-size: 14px ;\n text-rendering: optimizelegibility;\n}\n\n.neos-RwNJjq_heading--h1 {\n font-size: 16px;\n}\n",".heading {\n composes: reset from '../reset.module.css';\n font-size: var(--fontSize-Base);\n text-rendering: optimizelegibility;\n}\n.heading--h1 {\n font-size: 16px;\n}\n",".neos-SMzb_q_iconButton {\n vertical-align: top;\n width: 40px ;\n padding-left: 0;\n padding-right: 0;\n}\n\n.neos-SMzb_q_iconButton--disabled {\n opacity: .65;\n cursor: not-allowed;\n}\n\n.neos-SMzb_q_size-small {\n width: 32px !important;\n min-width: 32px !important;\n}\n",".iconButton {\n composes: reset from '../reset.module.css';\n vertical-align: top;\n width: var(--spacing-GoldenUnit);\n padding-left: 0;\n padding-right: 0;\n}\n\n.iconButton--disabled {\n opacity: .65;\n cursor: not-allowed;\n}\n\n.size-small {\n width: 32px !important;\n min-width: 32px !important;\n}\n",".neos-7CQSZa_label {\n -webkit-font-smoothing: antialiased;\n font-size: 14px ;\n cursor: pointer;\n user-select: none;\n margin-bottom: 4px;\n padding: 0;\n display: block;\n}\n\n.neos-7CQSZa_label, .neos-7CQSZa_label span {\n max-width: 100%;\n}\n",".label {\n composes: reset from '../reset.module.css';\n display: block;\n -webkit-font-smoothing: antialiased;\n font-size: var(--fontSize-Base);\n cursor: pointer;\n padding: 0;\n margin-bottom: 4px;\n user-select: none;\n\n &,\n & span {\n max-width: 100%;\n }\n}\n",".neos-QvCEOa_selectBox__list {\n padding: 0;\n}\n\n.neos-QvCEOa_selectBox {\n composes: reset from \"../reset.module.css\", dropDown from \"./../DropDown/style.css\";\n line-height: 0;\n display: inline-block;\n position: relative;\n}\n\n.neos-QvCEOa_selectBox__btn {\n composes: reset from \"../reset.module.css\", dropDown__btn from \"./../DropDown/style.css\";\n text-overflow: clip;\n height: auto;\n min-height: 40px ;\n line-height: 40px ;\n min-width: 160px;\n border: 0;\n padding-left: 0;\n display: inline-block;\n position: relative;\n}\n\n.neos-QvCEOa_selectBox__btn--noRightPadding {\n padding-right: 0;\n}\n\n.neos-QvCEOa_selectBox__contents {\n min-width: 160px;\n z-index: 40 ;\n margin-top: -2px;\n box-shadow: 0 5px 5px rgba(0, 0, 0, .2);\n}\n\n.neos-QvCEOa_selectBox__contents--hasItems {\n padding: 2px !important;\n}\n\n.neos-QvCEOa_selectBox__item {\n border-top: 1px solid #222 ;\n background: #141414 ;\n}\n\n.neos-QvCEOa_selectBox__item div {\n padding: 5px 14px;\n}\n\n.neos-QvCEOa_selectBox__groupHeader {\n background-color: #222 ;\n padding-left: 16px ;\n text-transform: uppercase;\n font-weight: bold;\n line-height: 30px;\n}\n\n.neos-QvCEOa_selectBox--disabled {\n filter: opacity(50%);\n cursor: not-allowed;\n}\n",".selectBox__list {\n padding: 0;\n}\n\n.selectBox {\n composes: reset from '../reset.module.css', dropDown from './../DropDown/style.css';\n position: relative;\n display: inline-block;\n line-height: 0;\n}\n\n.selectBox__btn {\n composes: reset from '../reset.module.css', dropDown__btn from './../DropDown/style.css';\n position: relative;\n display: inline-block;\n text-overflow: clip;\n height: auto;\n min-height: var(--spacing-GoldenUnit);\n line-height: var(--spacing-GoldenUnit);\n padding-left: 0;\n border: 0;\n min-width: 160px;\n}\n\n.selectBox__btn--noRightPadding {\n padding-right: 0;\n}\n\n.selectBox__contents {\n min-width: 160px;\n box-shadow: 0 5px 5px rgba(0, 0, 0, .2);\n z-index: var(--zIndex-SelectBoxContents);\n margin-top: -2px;\n}\n\n.selectBox__contents--hasItems {\n padding: 2px !important;\n}\n\n.selectBox__item {\n border-top: 1px solid var(--colors-ContrastDarker);\n background: var(--colors-ContrastDarkest);\n\n & div {\n padding: 5px 14px;\n }\n}\n\n.selectBox__groupHeader {\n background-color: var(--colors-ContrastDarker);\n font-weight: bold;\n padding-left: var(--spacing-Full);\n line-height: 30px;\n text-transform: uppercase;\n}\n\n.selectBox--disabled {\n filter: opacity(50%);\n cursor: not-allowed;\n}\n",".neos-d_677a_listPreviewElement {\n cursor: pointer;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 14px;\n line-height: calc(40px - 10px);\n padding: 5px 16px ;\n overflow: hidden;\n}\n\n.neos-d_677a_listPreviewElement--isDisabled {\n color: #999 ;\n cursor: not-allowed;\n}\n\n.neos-d_677a_listPreviewElement--isHighlighted {\n background-color: #00adee !important;\n}\n\n.neos-d_677a_listPreviewElement--isHighlighted > span {\n color: #fff;\n}\n\n.neos-d_677a_listPreviewElement__icon {\n margin-right: .5em;\n}\n\n.neos-d_677a_listPreviewElement__iconWrapper {\n width: 2em;\n text-align: center;\n display: inline-block;\n padding: 0 !important;\n}\n",".listPreviewElement {\n composes: reset from '../reset.module.css';\n cursor: pointer;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 14px;\n\n /* subtract the size of padding */\n line-height: calc(var(--spacing-GoldenUnit) - 10px);\n padding: 5px var(--spacing-Full);\n}\n\n.listPreviewElement--isDisabled {\n color: var(--colors-ContrastBright);\n cursor: not-allowed;\n}\n.listPreviewElement--isHighlighted {\n background-color: var(--colors-PrimaryBlue) !important;\n}\n\n.listPreviewElement--isHighlighted > span {\n color: #fff;\n}\n\n.listPreviewElement__icon {\n composes: reset from '../reset.module.css';\n margin-right: .5em;\n}\n\n.listPreviewElement__iconWrapper {\n padding: 0 !important;\n width: 2em;\n display: inline-block;\n text-align: center;\n}\n",".neos-fwJGCW_dropDown {\n width: 100%;\n display: inline-block;\n position: relative;\n}\n\n.neos-fwJGCW_dropDown__btn {\n width: 100%;\n height: 40px ;\n text-align: left;\n color: #fff;\n cursor: pointer;\n font-size: 14px ;\n padding: 0 16px ;\n text-overflow: ellipsis;\n white-space: nowrap;\n line-height: 40px ;\n background: #323232 ;\n border: 0;\n border-radius: 2px;\n display: block;\n overflow: hidden;\n}\n\n.neos-fwJGCW_dropDown__btn:focus {\n outline: 1px solid #00adee ;\n}\n\n.neos-fwJGCW_dropDown__btn svg {\n pointer-events: none;\n}\n\n.neos-fwJGCW_dropDown__btn--withChevron {\n padding-right: 40px ;\n}\n\n.neos-fwJGCW_dropDown__btnLabel {\n margin-right: .5em;\n}\n\n.neos-fwJGCW_dropDown__chevron {\n position: absolute;\n top: 50%;\n right: 16px;\n transform: translateY(-50%);\n}\n\n.neos-fwJGCW_dropDown__contents {\n z-index: 1 ;\n width: 100%;\n background: #323232 ;\n margin: 0;\n list-style: none;\n display: none;\n position: absolute;\n top: 100%;\n left: 0;\n box-shadow: 0 5px 5px rgba(0, 0, 0, .2);\n}\n\n.neos-fwJGCW_dropDown__contents--scrollable {\n position: fixed;\n top: auto;\n overflow-y: auto;\n}\n\n.neos-fwJGCW_dropDown__contents--isOpen {\n flex-direction: column;\n display: flex;\n}\n\n.neos-fwJGCW_dropDown--darker > .neos-fwJGCW_dropDown__btn--open, .neos-fwJGCW_dropDown--darker > .neos-fwJGCW_dropDown__contents {\n background-color: #222 ;\n}\n\n.neos-fwJGCW_dropDown--darkest > .neos-fwJGCW_dropDown__btn--open, .neos-fwJGCW_dropDown--darkest > .neos-fwJGCW_dropDown__contents {\n background-color: #141414 ;\n}\n\n.neos-fwJGCW_dropDown--padded > .neos-fwJGCW_dropDown__contents {\n padding: 16px ;\n}\n",".dropDown {\n composes: reset from '../reset.module.css';\n position: relative;\n display: inline-block;\n width: 100%;\n}\n.dropDown__btn {\n composes: reset from '../reset.module.css';\n display: block;\n width: 100%;\n height: var(--spacing-GoldenUnit);\n text-align: left;\n color: white;\n cursor: pointer;\n font-size: var(--fontSize-Base);\n padding: 0 var(--spacing-Full);\n border: 0;\n border-radius: 2px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n line-height: var(--spacing-GoldenUnit);\n background: var(--colors-ContrastNeutral);\n\n &:focus {\n outline: 1px solid var(--colors-PrimaryBlue);\n }\n\n & svg {\n pointer-events: none;\n }\n}\n.dropDown__btn--withChevron {\n padding-right: var(--spacing-GoldenUnit);\n}\n.dropDown__btnLabel {\n composes: reset from '../reset.module.css';\n margin-right: .5em;\n}\n.dropDown__chevron {\n composes: reset from '../reset.module.css';\n position: absolute;\n right: 16px;\n top: 50%;\n transform: translateY(-50%);\n}\n.dropDown__contents {\n composes: reset from '../reset.module.css';\n position: absolute;\n top: 100%;\n left: 0;\n z-index: var(--zIndex-DropdownContents-Context);\n display: none;\n width: 100%;\n margin: 0;\n list-style: none;\n background: var(--colors-ContrastNeutral);\n box-shadow: 0 5px 5px rgba(0, 0, 0, .2);\n}\n.dropDown__contents--scrollable {\n position: fixed;\n top: auto;\n overflow-y: auto;\n}\n.dropDown__contents--isOpen {\n display: flex;\n flex-direction: column;\n}\n.dropDown--darker > .dropDown__btn--open {\n background-color: var(--colors-ContrastDarker);\n}\n\n.dropDown--darker > .dropDown__contents {\n background-color: var(--colors-ContrastDarker);\n}\n\n.dropDown--darkest > .dropDown__btn--open {\n background-color: var(--colors-ContrastDarkest);\n}\n\n.dropDown--darkest > .dropDown__contents {\n background-color: var(--colors-ContrastDarkest);\n}\n\n.dropDown--padded > .dropDown__contents {\n padding: var(--spacing-Full);\n}\n",".neos-Gv_gqG_selectBoxHeader {\n width: 100%;\n display: flex;\n}\n\n.neos-Gv_gqG_selectBoxHeader__innerPreview {\n width: 100%;\n overflow: hidden;\n}\n\n.neos-Gv_gqG_selectBoxHeader__icon {\n line-height: 40px ;\n height: 100%;\n}\n\n.neos-Gv_gqG_selectBoxHeader__label, .neos-Gv_gqG_selectBoxHeader__wrapperIconWrapper {\n padding: 0 16px ;\n}\n\n.neos-Gv_gqG_selectBoxHeader__wrapperPlaceholderIconWrapper {\n padding: 0 8px 0 0;\n}\n\n.neos-Gv_gqG_selectBoxHeader--disabled {\n cursor: not-allowed;\n}\n",".selectBoxHeader {\n display: flex;\n width: 100%;\n}\n\n.selectBoxHeader__innerPreview {\n overflow: hidden;\n width: 100%;\n}\n\n.selectBoxHeader__icon {\n composes: reset from '../reset.module.css';\n line-height: var(--spacing-GoldenUnit);\n height: 100%;\n}\n\n.selectBoxHeader__label {\n padding: 0 var(--spacing-Full);\n}\n\n.selectBoxHeader__wrapperIconWrapper {\n padding: 0 var(--spacing-Full);\n}\n\n.selectBoxHeader__wrapperPlaceholderIconWrapper {\n padding: 0 var(--spacing-Half) 0 0;\n}\n\n.selectBoxHeader--disabled {\n cursor: not-allowed;\n}\n",".neos-x4kw-a_selectBoxHeaderWithSearchInput {\n padding-left: 16px ;\n display: flex;\n}\n\n.neos-x4kw-a_selectBoxHeaderWithSearchInput__inputContainer {\n width: 100%;\n}\n\n.neos-x4kw-a_selectBoxHeaderWithSearchInput__input {\n width: 100%;\n color: #fff;\n font-size: 14px;\n}\n\n.neos-x4kw-a_selectBoxHeaderWithSearchInput__input:focus {\n color: #fff !important;\n background: none !important;\n}\n\n.neos-x4kw-a_selectBoxHeaderWithSearchInput__icon {\n height: 40px ;\n}\n",".selectBoxHeaderWithSearchInput {\n display: flex;\n padding-left: var(--spacing-Full);\n}\n\n.selectBoxHeaderWithSearchInput__inputContainer {\n width: 100%;\n}\n\n.selectBoxHeaderWithSearchInput__input {\n width: 100%;\n color: #fff;\n /* TODO: move to reset / use var */\n font-size: 14px;\n\n &:focus {\n background: transparent !important;\n color: #fff !important;\n }\n}\n\n.selectBoxHeaderWithSearchInput__icon {\n composes: reset from '../reset.module.css';\n height: var(--spacing-GoldenUnit);\n}\n",".neos-Y9Uoqa_textInput {\n width: 100%;\n height: 40px ;\n background: #323232 ;\n color: #fff;\n border: 0;\n border-radius: 2px;\n padding: 0 14px;\n font-size: 14px;\n}\n\n.neos-Y9Uoqa_textInput:focus {\n background: #fff ;\n color: #141414 ;\n outline: 0;\n}\n\n.neos-Y9Uoqa_textInput::-webkit-input-placeholder {\n color: #999 ;\n font-family: Noto Sans, sans-serif;\n font-weight: normal;\n}\n\n.neos-Y9Uoqa_textInput--disabled {\n opacity: .65;\n cursor: not-allowed;\n}\n",".textInput {\n composes: reset from '../reset.module.css';\n /* TODO: should eventually be moved to reset.module.css, but there maybe be plenty of side-effects */\n font-size: 14px;\n width: 100%;\n height: var(--spacing-GoldenUnit);\n padding: 0 14px;\n border: 0;\n border-radius: 2px;\n background: var(--colors-ContrastNeutral);\n color: white;\n\n &:focus {\n outline: 0;\n background: var(--colors-ContrastBrightest);\n color: var(--colors-ContrastDarkest);\n }\n}\n.textInput::-webkit-input-placeholder {\n font-family: 'Noto Sans', sans-serif;\n font-weight: normal;\n color: var(--colors-ContrastBright);\n}\n\n.textInput--disabled {\n opacity: .65;\n cursor: not-allowed;\n}\n",".neos-oqNh0W_tabs {\n height: 100%;\n}\n\n.neos-oqNh0W_tabs__content {\n overflow-y: auto;\n}\n\n.neos-oqNh0W_tabNavigation {\n background: #141414 ;\n border-bottom: 1px solid #3f3f3f ;\n margin: 0;\n padding: 0;\n list-style: none;\n display: block;\n}\n\n.neos-oqNh0W_tabNavigation:before, .neos-oqNh0W_tabNavigation:after {\n content: \"\";\n display: table;\n}\n\n.neos-oqNh0W_tabNavigation:after {\n clear: both;\n}\n\n.neos-oqNh0W_tabNavigation__item {\n float: left;\n border-top: 1px solid #3f3f3f ;\n border-right: 1px solid #3f3f3f ;\n color: #fff ;\n position: relative;\n}\n\n.neos-oqNh0W_tabNavigation__item--isActive {\n background-color: #222 ;\n cursor: default;\n border-bottom: 1px solid #222 ;\n margin-bottom: -1px;\n}\n\n.neos-oqNh0W_tabNavigation__item--isActive:after {\n content: \" \";\n height: 2px;\n width: 100%;\n background: #00adee ;\n display: block;\n position: absolute;\n top: -1px;\n left: 0;\n right: 0;\n}\n\n.neos-oqNh0W_tabNavigation__item--isActive > .neos-oqNh0W_tabNavigation__itemBtn {\n color: #00adee ;\n}\n\n.neos-oqNh0W_tabNavigation__itemBtn {\n height: 40px ;\n padding: 0 16px ;\n line-height: 40px ;\n cursor: pointer;\n background: 0;\n border: 0;\n display: inline-block;\n}\n\n.neos-oqNh0W_tabNavigation__itemBtn:hover {\n color: #00adee ;\n}\n\n.neos-oqNh0W_tabNavigation__itemBtn:focus {\n outline: 0;\n}\n\n.neos-oqNh0W_tabNavigation__itemBtnIcon {\n color: currentColor;\n}\n\n.neos-oqNh0W_tabNavigation__itemBtnIcon--hasLabel {\n margin-right: 8px ;\n}\n\n.neos-oqNh0W_panel {\n overflow-y: auto;\n}\n",".tabs {\n composes: reset from '../reset.module.css';\n height: 100%;\n}\n\n.tabs__content {\n composes: reset from '../reset.module.css';\n overflow-y: auto;\n}\n\n.tabNavigation {\n composes: reset from '../reset.module.css';\n display: block;\n margin: 0;\n padding: 0;\n list-style: none;\n background: var(--colors-ContrastDarkest);\n border-bottom: 1px solid var(--colors-ContrastDark);\n\n &:before,\n &:after {\n content: '';\n display: table;\n }\n &:after {\n clear: both;\n }\n}\n.tabNavigation__item {\n composes: reset from '../reset.module.css';\n position: relative;\n float: left;\n border-top: 1px solid var(--colors-ContrastDark);\n border-right: 1px solid var(--colors-ContrastDark);\n color: var(--colors-ContrastBrightest);\n}\n.tabNavigation__item--isActive {\n background-color: var(--colors-ContrastDarker);\n cursor: default;\n border-bottom: 1px solid var(--colors-ContrastDarker);\n margin-bottom: -1px;\n\n &:after {\n display: block;\n content: ' ';\n position: absolute;\n top: -1px;\n left: 0;\n right: 0;\n height: 2px;\n width: 100%;\n background: var(--colors-PrimaryBlue);\n }\n\n > .tabNavigation__itemBtn {\n color: var(--colors-PrimaryBlue);\n }\n}\n.tabNavigation__itemBtn {\n composes: reset from '../reset.module.css';\n display: inline-block;\n height: var(--spacing-GoldenUnit);\n padding: 0 var(--spacing-Full);\n line-height: var(--spacing-GoldenUnit);\n cursor: pointer;\n border: 0;\n background: 0;\n\n &:hover {\n color: var(--colors-PrimaryBlue);\n }\n\n &:focus {\n outline: 0;\n }\n}\n.tabNavigation__itemBtnIcon {\n color: currentColor;\n}\n.tabNavigation__itemBtnIcon--hasLabel {\n margin-right: var(--spacing-Half);\n}\n\n.panel {\n composes: reset from '../reset.module.css';\n overflow-y: auto;\n}\n",".neos-HIOrZq_textArea {\n width: 100%;\n height: 40px;\n background: #323232 ;\n resize: vertical;\n border: 0;\n border-radius: 2px;\n padding: 10px 14px;\n transition: height .3s;\n}\n\n.neos-HIOrZq_textArea:focus {\n background: #fff ;\n color: #141414 ;\n outline: 0;\n}\n\n.neos-HIOrZq_textArea::-webkit-input-placeholder {\n color: #999 ;\n font-family: Noto Sans, sans-serif;\n}\n\n.neos-HIOrZq_textArea--invalid {\n outline: 2px solid #ff460d !important;\n}\n\n.neos-HIOrZq_textArea--highlight {\n outline: 2px solid #00a338 ;\n}\n\n.neos-HIOrZq_textArea--disabled {\n opacity: .65;\n cursor: not-allowed;\n}\n",".textArea {\n composes: reset from '../reset.module.css';\n width: 100%;\n height: 40px;\n padding: 10px 14px;\n border: 0;\n border-radius: 2px;\n background: var(--colors-ContrastNeutral);\n resize: vertical;\n transition: .3s height;\n\n &:focus {\n outline: 0;\n background: var(--colors-ContrastBrightest);\n color: var(--colors-ContrastDarkest);\n }\n}\n.textArea::-webkit-input-placeholder {\n font-family: 'Noto Sans', sans-serif;\n color: var(--colors-ContrastBright);\n}\n.textArea--invalid {\n outline: 2px solid var(--colors-Error) !important;\n}\n.textArea--highlight {\n outline: 2px solid var(--colors-Success);\n}\n.textArea--disabled {\n opacity: .65;\n cursor: not-allowed;\n}\n",".neos-l9MESW_panel {\n position: relative;\n}\n\n.neos-l9MESW_panel__headline {\n cursor: pointer;\n height: 40px ;\n padding: 0 16px ;\n line-height: 40px ;\n font-weight: bold;\n font-size: 14px ;\n margin: 0;\n}\n\n.neos-l9MESW_panel__headline--noPadding {\n padding: 0;\n}\n\n.neos-l9MESW_panel__toggleBtn {\n position: absolute;\n top: 0;\n right: 0;\n}\n\n.neos-l9MESW_panel__contents {\n padding: 0 16px ;\n transition: .25s ease padding;\n}\n\n.neos-l9MESW_panel--isOpen .neos-l9MESW_panel__contents {\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n.neos-l9MESW_panel--condensed.neos-l9MESW_panel--isOpen .neos-l9MESW_panel__contents {\n padding-top: 0;\n padding-bottom: 0;\n}\n\n.neos-l9MESW_panel__contents--noPadding {\n padding: 0;\n}\n",".panel {\n composes: reset from '../reset.module.css';\n position: relative;\n}\n\n.panel__headline {\n composes: reset from '../reset.module.css';\n cursor: pointer;\n height: var(--spacing-GoldenUnit);\n margin: 0;\n padding: 0 var(--spacing-Full);\n line-height: var(--spacing-GoldenUnit);\n font-weight: bold;\n font-size: var(--fontSize-Base);\n}\n\n.panel__headline--noPadding {\n padding: 0;\n}\n\n.panel__toggleBtn {\n composes: reset from '../reset.module.css';\n position: absolute;\n top: 0;\n right: 0;\n}\n.panel__contents {\n composes: reset from '../reset.module.css';\n padding: 0 var(--spacing-Full);\n transition: var(--transition-Default) ease padding;\n\n .panel--isOpen & {\n padding-top: 5px;\n padding-bottom: 5px;\n }\n .panel--condensed.panel--isOpen & {\n padding-top: 0;\n padding-bottom: 0;\n }\n}\n\n.panel__contents--noPadding {\n padding: 0;\n}\n",".neos-fU9a9G_treeWrapper {\n padding: 5px 0;\n}\n\n.neos-fU9a9G_treeWrapper:focus {\n outline: 0;\n}\n",".treeWrapper {\n composes: reset from '../reset.module.css';\n\n padding: 5px 0;\n\n &:focus {\n outline: 0;\n }\n}\n",".neos-jrPqiW_header {\n margin: 0;\n line-height: 20px;\n position: relative;\n}\n\n.neos-jrPqiW_header__chevron {\n height: 100%;\n width: 18px;\n color: #adadad ;\n text-align: center;\n cursor: pointer;\n line-height: 20px;\n position: absolute;\n top: 0;\n left: 0;\n}\n\n.neos-jrPqiW_header__chevron:hover {\n color: #00adee ;\n}\n\n.neos-jrPqiW_header__chevron--isCollapsed > svg {\n transform: translateY(3px)translateX(-2px)rotate(-90deg);\n}\n\n.neos-jrPqiW_header__chevron--isHiddenInIndex {\n opacity: .5;\n}\n\n.neos-jrPqiW_header__chevron--isLoading, .neos-jrPqiW_header__chevron--isLoading:hover {\n color: #adadad !important;\n}\n\n.neos-jrPqiW_header__chevron--isLoading > svg {\n margin-top: 6px;\n}\n\n.neos-jrPqiW_header__iconWrapper {\n width: 2em;\n text-align: center;\n display: inline-block;\n position: absolute;\n}\n\n.neos-jrPqiW_header__data {\n min-width: 100%;\n white-space: nowrap;\n cursor: pointer;\n border-left: 2px solid rgba(0, 0, 0, 0);\n padding: .1em 0;\n display: inline-block;\n position: relative;\n}\n\n.neos-jrPqiW_header__data--isHiddenInIndex {\n opacity: .5;\n}\n\n.neos-jrPqiW_header__data--isHidden {\n text-decoration: line-through;\n}\n\n.neos-jrPqiW_header__data--isDragging {\n opacity: .2;\n}\n\n.neos-jrPqiW_header__data--isDirty {\n border-left: 2px solid #ff8700 ;\n}\n\n.neos-jrPqiW_header__data--isFocused {\n background: #323232 ;\n}\n\n.neos-jrPqiW_header__data--isFocused.neos-jrPqiW_header__data--isHiddenInIndex, .neos-jrPqiW_header__data--isFocused.neos-jrPqiW_header__data--isHidden {\n opacity: .8;\n}\n\n.neos-jrPqiW_header__data--acceptsDrop {\n background-color: #00adee ;\n}\n\n.neos-jrPqiW_header__data--acceptsDrop *, .neos-jrPqiW_header__data--deniesDrop * {\n pointer-events: none;\n}\n\n.neos-jrPqiW_header__labelWrapper {\n max-width: 264px;\n text-overflow: ellipsis;\n vertical-align: middle;\n line-height: 1.5;\n display: inline-block;\n overflow: hidden;\n}\n\n.neos-jrPqiW_header__label {\n margin-left: 2em;\n}\n\n.neos-jrPqiW_header__data--isActive .neos-jrPqiW_header__label {\n color: #00adee ;\n}\n\n.neos-jrPqiW_contents {\n}\n\n.neos-jrPqiW_dropTarget {\n height: 2px;\n padding-left: 15px;\n position: absolute;\n left: 0;\n right: 0;\n}\n\n.neos-jrPqiW_dropTarget--before {\n z-index: 1 ;\n padding-top: 4px;\n padding-bottom: 4px;\n top: -5px;\n}\n\n.neos-jrPqiW_dropTarget--after {\n z-index: 2 ;\n padding-top: 6px;\n padding-bottom: 0;\n bottom: 1px;\n}\n\n.neos-jrPqiW_dropTarget__inner {\n visibility: hidden;\n height: 0;\n margin-top: -8px;\n}\n\n.neos-jrPqiW_dropTarget__inner--acceptsDrop {\n z-index: 100000;\n visibility: visible;\n}\n\n.neos-jrPqiW_dropTarget__inner svg {\n fill: #00adee ;\n}\n",".header {\n composes: reset from '../reset.module.css';\n margin: 0;\n position: relative;\n line-height: 20px;\n}\n.header__chevron {\n composes: reset from '../reset.module.css';\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 18px;\n\n color: var(--colors-ContrastBrighter);\n line-height: 20px;\n text-align: center;\n\n cursor: pointer;\n\n &:hover {\n color: var(--colors-PrimaryBlue);\n }\n}\n.header__chevron--isCollapsed > svg {\n transform: translateY(3px) translateX(-2px) rotate(-90deg);\n}\n.header__chevron--isHiddenInIndex {\n opacity: .5;\n}\n\n.header__chevron--isLoading,\n.header__chevron--isLoading:hover {\n color: var(--colors-ContrastBrighter) !important;\n}\n\n.header__chevron--isLoading > svg {\n margin-top: 6px;\n}\n\n.header__iconWrapper {\n width: 2em;\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.header__data {\n composes: reset from '../reset.module.css';\n position: relative;\n display: inline-block;\n min-width: 100%;\n padding: .1em 0;\n\n border-left: 2px solid transparent;\n\n white-space: nowrap;\n\n cursor: pointer;\n}\n\n.header__data--isHiddenInIndex {\n opacity: .5;\n}\n.header__data--isHidden {\n text-decoration: line-through;\n}\n.header__data--isDragging {\n opacity: .2;\n}\n.header__data--isDirty {\n border-left: 2px solid var(--colors-Warn);\n}\n\n.header__data--isFocused {\n background: var(--colors-ContrastNeutral);\n\n &.header__data--isHiddenInIndex,\n &.header__data--isHidden {\n opacity: .8;\n }\n}\n.header__data--acceptsDrop {\n background-color: var(--colors-PrimaryBlue);\n}\n.header__data--acceptsDrop *,\n.header__data--deniesDrop * {\n pointer-events: none;\n}\n\n.header__labelWrapper {\n max-width: 264px;\n overflow: hidden;\n text-overflow: ellipsis;\n display: inline-block;\n line-height: 1.5;\n vertical-align: middle;\n}\n.header__label {\n composes: reset from '../reset.module.css';\n margin-left: 2em;\n\n .header__data--isActive & {\n color: var(--colors-PrimaryBlue);\n }\n}\n\n.contents {\n composes: reset from '../reset.module.css';\n}\n\n.dropTarget {\n position: absolute;\n left: 0;\n right: 0;\n padding-left: 15px;\n height: 2px;\n}\n.dropTarget--before {\n top: -5px;\n z-index: var(--zIndex-SideBar-DropTargetBefore);\n padding-top: 4px;\n padding-bottom: 4px;\n}\n.dropTarget--after {\n bottom: 1px;\n z-index: var(--zIndex-SideBar-DropTargetAfter);\n padding-top: 6px;\n padding-bottom: 0;\n}\n.dropTarget__inner {\n visibility: hidden;\n margin-top: -8px;\n height: 0;\n}\n.dropTarget__inner--acceptsDrop {\n z-index: 100000;\n visibility: visible;\n}\n.dropTarget__inner svg {\n fill: var(--colors-PrimaryBlue);\n}\n",".neos-sxnCBW_layer {\n pointer-events: none;\n z-index: 2147483646;\n width: 100%;\n height: 100%;\n position: fixed;\n top: 0;\n left: 0;\n}\n\n.neos-sxnCBW_dragWrapper {\n opacity: .7;\n display: inline-block;\n position: relative;\n left: 0;\n}\n\n.neos-sxnCBW_count {\n z-index: 2147483646;\n width: 20px;\n height: 20px;\n color: #fff ;\n background-color: #ff460d ;\n text-align: center;\n border-radius: 50%;\n padding: 1px;\n font-size: 12px;\n font-weight: bold;\n position: absolute;\n top: -10px;\n left: 5px;\n}\n\n.neos-sxnCBW_node {\n width: 280px;\n background-color: #323232 ;\n border: 1px solid #3f3f3f ;\n position: absolute;\n}\n",".layer {\n position: fixed;\n pointer-events: none;\n z-index: 2147483646;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n}\n\n.dragWrapper {\n display: inline-block;\n position: relative;\n opacity: .7;\n left: 0;\n}\n\n.count {\n z-index: 2147483646;\n position: absolute;\n top: -10px;\n left: 5px;\n width: 20px;\n height: 20px;\n color: var(--colors-ContrastBrightest);\n background-color: var(--colors-Error);\n border-radius: 50%;\n padding: 1px;\n font-size: 12px;\n font-weight: bold;\n text-align: center;\n}\n\n.node {\n position: absolute;\n width: 280px;\n background-color: var(--colors-ContrastNeutral);\n border: 1px solid var(--colors-ContrastDark);\n}\n",".neos-P4wKfG_selectedOptions {\n width: 100%;\n padding-left: 0;\n list-style: none;\n position: relative;\n}\n",".selectedOptions {\n composes: reset from '../reset.module.css';\n\n position: relative;\n width: 100%;\n list-style: none;\n padding-left: 0;\n\n}\n",".neos-2_NI5a_selectedOptions__item {\n width: 100%;\n background: #141414 ;\n border-bottom: 1px solid #222 ;\n border-radius: 2px;\n display: flex;\n position: relative;\n}\n\n.neos-2_NI5a_selectedOptions__item:hover .neos-2_NI5a_selectedOptions__itemIcon {\n display: none;\n}\n\n.neos-2_NI5a_selectedOptions__item:hover .neos-2_NI5a_selectedOptions__itemIcon--onHover {\n display: inline;\n}\n\n.neos-2_NI5a_selectedOptions__item--draggable {\n cursor: move;\n}\n\n.neos-2_NI5a_selectedOptions__innerPreview {\n border-right: 1px solid #222 ;\n width: 100%;\n overflow: hidden;\n}\n\n.neos-2_NI5a_selectedOptions__innerPreview > div {\n box-shadow: none !important;\n}\n\n.neos-2_NI5a_selectedOption__removeButton {\n height: auto;\n background: #323232 ;\n border-top-right-radius: 2px;\n border-bottom-right-radius: 2px;\n}\n\n.neos-2_NI5a_selectedOption__moveButton {\n cursor: move;\n height: auto;\n width: 20px;\n min-width: 20px;\n color: #3f3f3f ;\n border-right: 1px solid #222 ;\n border-top-left-radius: 2px;\n border-bottom-left-radius: 2px;\n}\n\n.neos-2_NI5a_selectedOption__moveButton svg {\n color: #3f3f3f ;\n}\n\n.neos-2_NI5a_selectedOption__moveButton:hover, .neos-2_NI5a_selectedOption__moveButton:focus {\n background: #3f3f3f ;\n color: #999 !important;\n}\n\n:is(.neos-2_NI5a_selectedOption__moveButton:hover, .neos-2_NI5a_selectedOption__moveButton:focus) svg {\n color: #999 !important;\n}\n",".selectedOptions__item {\n display: flex;\n width: 100%;\n position: relative;\n background: var(--colors-ContrastDarkest);\n border-bottom: 1px solid var(--colors-ContrastDarker);\n border-radius: 2px;\n\n &:hover {\n .selectedOptions__itemIcon {\n display: none;\n }\n\n .selectedOptions__itemIcon--onHover {\n display: inline;\n }\n }\n}\n\n.selectedOptions__item--draggable {\n cursor: move;\n}\n.selectedOptions__innerPreview {\n border-right: 1px solid var(--colors-ContrastDarker);\n overflow: hidden;\n width: 100%;\n\n > div {\n box-shadow: none !important;\n }\n}\n.selectedOption__removeButton {\n height: auto;\n background: var(--colors-ContrastNeutral);\n border-top-right-radius: 2px;\n border-bottom-right-radius: 2px;\n}\n.selectedOption__moveButton {\n cursor: move;\n height: auto;\n width: 20px;\n min-width: 20px;\n color: var(--colors-ContrastDark);\n border-top-left-radius: 2px;\n border-bottom-left-radius: 2px;\n border-right: 1px solid var(--colors-ContrastDarker);\n\n & svg {\n color: var(--colors-ContrastDark);\n }\n\n &:hover,\n &:focus {\n background: var(--colors-ContrastDark);\n color: var(--colors-ContrastBright) !important;\n\n & svg {\n color: var(--colors-ContrastBright) !important;\n }\n }\n}\n",".neos-47-Tdq_multiLineWithThumbnail__item {\n box-sizing: content-box;\n background: #141414 ;\n}\n\n.neos-47-Tdq_multiLineWithThumbnail__item--multiLine {\n line-height: 20px;\n}\n\n.neos-47-Tdq_multiLineWithThumbnail__secondaryLabel, .neos-47-Tdq_multiLineWithThumbnail__tertiaryLabel {\n color: #999 ;\n text-overflow: ellipsis;\n font-size: 12px;\n display: block;\n overflow: hidden;\n}\n\n.neos-47-Tdq_multiLineWithThumbnail__image {\n width: calc(1.33 * (40px + 16px ));\n height: calc(40px + 16px );\n object-fit: contain;\n vertical-align: middle;\n margin-right: .75em;\n margin-left: calc(16px * -1);\n margin-top: calc(8px * -1);\n margin-bottom: calc(8px * -1);\n background-color: #fff;\n background-image: linear-gradient(45deg, #ccc 25%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 75%, #ccc 75%, #ccc), linear-gradient(45deg, #ccc 25%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 75%, #ccc 75%, #ccc);\n background-position: 0 0, 25px 25px;\n background-size: 10px 10px;\n display: inline-block;\n}\n\n.neos-47-Tdq_multiLineWithThumbnail__item:hover .neos-47-Tdq_multiLineWithThumbnail__secondaryLabel, .neos-47-Tdq_multiLineWithThumbnail__item:hover .neos-47-Tdq_multiLineWithThumbnail__tertiaryLabel {\n color: #fff;\n}\n",".multiLineWithThumbnail__item {\n box-sizing: content-box;\n background: var(--colors-ContrastDarkest);\n}\n\n.multiLineWithThumbnail__item--multiLine {\n line-height: 20px;\n}\n\n.multiLineWithThumbnail__secondaryLabel {\n color: var(--colors-ContrastBright);\n display: block;\n font-size: 12px;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.multiLineWithThumbnail__tertiaryLabel {\n color: var(--colors-ContrastBright);\n display: block;\n font-size: 12px;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.multiLineWithThumbnail__image {\n width: calc(1.33 * (var(--spacing-GoldenUnit) + var(--spacing-Full)));\n height: calc(var(--spacing-GoldenUnit) + var(--spacing-Full));\n object-fit: contain;\n background-color: #fff;\n background-size: 10px 10px;\n background-position: 0 0, 25px 25px;\n background-image: linear-gradient(45deg, #cccccc 25%, transparent 25%, transparent 75%, #cccccc 75%, #cccccc), linear-gradient(45deg, #cccccc 25%, transparent 25%, transparent 75%, #cccccc 75%, #cccccc);\n margin-right: .75em;\n display: inline-block;\n vertical-align: middle;\n margin-left: calc(var(--spacing-Full) * -1);\n margin-top: calc(var(--spacing-Half) * -1);\n margin-bottom: calc(var(--spacing-Half) * -1);\n}\n\n.multiLineWithThumbnail__item:hover .multiLineWithThumbnail__secondaryLabel,\n.multiLineWithThumbnail__item:hover .multiLineWithThumbnail__tertiaryLabel {\n color: white;\n}\n","/**\n * Define theme variables by using the ones provided by Neos with a fallback to the default values.\n */\n.mediaModuleTheme {\n /**\n * Neos variables\n */\n --theme-grayDarker: var(--grayDarker, #141414);\n --theme-grayDark: var(--grayDark, #222);\n --theme-grayMedium: var(--grayMedium, #323232);\n --theme-grayLight: var(--grayLight, #3f3f3f);\n --theme-grayLighter: var(--grayLighter, #eee);\n --theme-textOnWhite: var(--textOnWhite, #252525);\n --theme-textContrast: var(--textContrast, #2d2d2d);\n --theme-textOnGray: var(--textOnGray, #fff);\n --theme-textSubtle: var(--textSubtle, #5b5b5b);\n --theme-textSubtleLight: var(--textSubtleLight, #adadad);\n --theme-blue: var(--blue, #00b5ff);\n --theme-blueLight: var(--blueLight, #39c6ff);\n --theme-blueDark: var(--blueDark, #007fb2);\n --theme-green: var(--green, #00a338);\n --theme-warning: var(--warning, #ff460d);\n --theme-orange: var(--orange, #ff8700);\n\n --theme-colors-PrimaryViolet: var(--colors-PrimaryViolet, #26224c);\n --theme-colors-PrimaryVioletHover: var(--colors-PrimaryVioletHover, #342f5f);\n --theme-colors-PrimaryBlue: var(--colors-PrimaryBlue, #00adee);\n --theme-colors-PrimaryBlueHover: var(--colors-PrimaryBlueHover, #35c3f8);\n --theme-colors-ContrastDarkest: var(--colors-ContrastDarkest, var(--theme-grayDarker));\n --theme-colors-ContrastDarker: var(--colors-ContrastDarker, var(--theme-grayDark));\n --theme-colors-ContrastDark: var(--colors-ContrastDark, var(--theme-grayLight));\n --theme-colors-ContrastNeutral: var(--colors-ContrastNeutral, var(--theme-grayMedium));\n --theme-colors-ContrastBright: var(--colors-ContrastBright, #999);\n --theme-colors-ContrastBrighter: var(--colors-ContrastBrighter, var(--theme-textSubtleLight));\n --theme-colors-ContrastBrightest: var(--colors-ContrastBrightest, var(--theme-textOnGray));\n --theme-colors-Success: var(--colors-Success, var(--theme-green));\n --theme-colors-SuccessHover: var(--colors-SuccessHover, #0bb344);\n --theme-colors-Warn: var(--colors-Warn, var(--theme-orange));\n --theme-colors-WarnHover: var(--colors-WarnHover, #fda23d);\n --theme-colors-Error: var(--colors-Error, var(--theme-warning));\n --theme-colors-ErrorHover: var(--colors-ErrorHover, #ff6a3c);\n --theme-colors-UncheckedCheckboxTick: var(--colors-UncheckedCheckboxTick, var(--theme-textSubtle));\n\n --theme-spacing-GoldenUnit: var(--spacing-GoldenUnit, 40px);\n --theme-spacing-Full: var(--spacing-Full, 16px);\n --theme-spacing-Half: var(--spacing-Half, 8px);\n --theme-spacing-Quarter: var(--spacing-Quarter, 4px);\n\n --theme-unit: var(--unit, 40px);\n --theme-defaultMargin: var(--defaultMargin, 16px);\n --theme-relatedMargin: var(--relatedMargin, 8px);\n --theme-tightMargin: var(--tightMargin, 4px);\n --theme-wideMargin: var(--wideMargin, 32px);\n\n --theme-fontSize-base: 14px;\n --theme-fontSize-small: 12px;\n\n --theme-transition-fast: 0.1s;\n --theme-transition-default: 0.25s;\n --theme-transition-slow: 0.5s;\n\n /**\n * Media module specific media variables\n */\n --theme-colors-border: var(--theme-colors-ContrastDark);\n --theme-colors-alternatingBackground: var(--theme-colors-ContrastDark);\n --theme-colors-mainBackground: var(--theme-colors-ContrastNeutral);\n --theme-colors-inactive: var(--theme-colors-ContrastBright);\n --theme-colors-scrollbarForeground: var(--theme-colors-ContrastBright);\n --theme-colors-scrollbarBackground: transparent;\n --theme-colors-moduleBackground: var(--theme-colors-ContrastDarker);\n --theme-colors-tableHeader: var(--theme-colors-ContrastDark);\n --theme-colors-assetBackground: var(--theme-colors-ContrastDarkest);\n --theme-colors-captionBackground: var(--theme-colors-ContrastNeutral);\n --theme-colors-text: var(--theme-colors-ContrastBright);\n --theme-colors-disabled: var(--theme-colors-ContrastDark);\n --theme-colors-star: var(--theme-orange);\n\n --theme-zIndex-pagination: 10022;\n --theme-zIndex-lightbox: 10023;\n --theme-zIndex-loadingIndicator: 10024;\n\n /* The content module sidebars are 320px, so we subtract the grid gap and outer module padding */\n --theme-size-sidebarWidth: calc(320px - 2 * var(--theme-spacing-Full));\n --theme-size-scrollbarSize: 4px;\n}\n",".assetLabel {\n display: inline-block;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n",".column {\n display: grid;\n grid-auto-rows: minmax(min-content, max-content);\n grid-template-columns: 100%;\n grid-gap: var(--theme-spacing-Full);\n overflow-y: auto;\n overflow-x: hidden;\n height: 100%;\n}\n",".wrapper {\n display: flex;\n align-items: center;\n height: var(--theme-spacing-GoldenUnit);\n gap: var(--theme-spacing-Half);\n}\n\n.iconWrap {\n display: flex;\n}\n\n.label {\n font-weight: bold;\n user-select: none;\n}\n\n.imgIcon {\n width: auto;\n height: 18px;\n}\n",".propertyList {\n overflow: hidden;\n width: 100%;\n max-width: 100%;\n}\n\n.propertyList dt {\n background-color: var(--theme-colors-alternatingBackground);\n color: white;\n font-weight: bold;\n padding: var(--theme-spacing-Half) var(--theme-spacing-Half) 0;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.propertyList dd {\n background-color: var(--theme-colors-alternatingBackground);\n color: var(--theme-colors-inactive);\n margin: 0 0 1px;\n padding: var(--theme-spacing-Half);\n text-overflow: ellipsis;\n overflow-x: hidden;\n white-space: nowrap;\n}\n",".iconStack {\n position: relative;\n}\n\n.iconStack svg:nth-child(2) {\n position: absolute;\n bottom: 1px;\n right: 2px;\n max-width: 0.8em;\n max-height: 0.8em;\n color: var(--theme-colors-star);\n filter: drop-shadow(0px -1px #aa6600);\n}\n",".plusIcon {\n top: 15px !important;\n left: 13px !important;\n width: 9px !important;\n}\n",".plusIcon {\n top: 13px !important;\n left: 11px !important;\n width: 9px !important;\n}\n",".assetCollectionTree {\n border: 1px solid var(--theme-colors-border);\n max-height: 600px;\n display: flex;\n flex-direction: column;\n}\n\n.assetCollectionTree > * {\n display: block;\n}\n\n.viewSelection [role=\"button\"] > * {\n width: auto;\n margin-right: var(--theme-spacing-Half);\n}\n\n.toolbar {\n border-top: 1px solid var(--theme-colors-border);\n}\n\n.tree {\n border-top: 1px solid var(--theme-colors-border);\n overflow: auto;\n}\n\n",".formBody {\n padding: var(--theme-spacing-Full);\n}\n",".formBody {\n padding: var(--theme-spacing-Full);\n}\n",".clipboardItem {\n background: none;\n border: none;\n cursor: pointer;\n min-width: var(--theme-spacing-GoldenUnit);\n width: var(--theme-spacing-GoldenUnit);\n height: var(--theme-spacing-GoldenUnit);\n}\n\n.clipboardItem img {\n display: block;\n width: 100%;\n height: 100%;\n object-fit: contain;\n}\n",".clipboardToggle {\n height: 100%;\n align-self: flex-end;\n display: flex;\n justify-content: center;\n align-items: center;\n user-select: none;\n margin: 0 -.3rem;\n}\n\n.clipboardToggle > * {\n margin: 0 .3rem;\n}\n",".clipboardActions {\n display: flex;\n align-items: baseline;\n background-color: var(--theme-colors-ContrastNeutral);\n}\n",".assetSourceDescription {\n border: 1px solid var(--theme-colors-border);\n}\n\n.assetSourceDescription .ReactCollapse--collapse {\n transition: height var(--theme-transition-slow);\n}\n\n.panelHeader button {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n",".assetSourceList {\n border: 1px solid var(--theme-colors-border);\n display: flex;\n flex-direction: column;\n}\n\n.header {\n border-bottom: 1px solid var(--theme-colors-border);\n padding: 0 var(--theme-spacing-Full);\n}\n\n.item {\n display: flex;\n align-items: center;\n font-weight: normal;\n cursor: pointer;\n user-select: none;\n background: none;\n border: none;\n padding: 0 var(--theme-spacing-Full);\n color: var(--theme-colors-ContrastBrightest);\n}\n\n.item:hover,\n.itemSelected {\n color: var(--theme-colors-PrimaryBlue);\n}\n\n.itemLabel {\n display: grid;\n grid-template-columns: 20px 1fr;\n}\n\n.itemLabel span {\n font-weight: normal;\n}\n",".dialogBody {\n padding: var(--theme-spacing-Full);\n}\n\n.modalTitle {\n margin-left: var(--theme-spacing-Full);\n}\n",".usageSection h2 {\n font-size: var(--theme-fontSize-base);\n font-weight: bold;\n margin: 0;\n padding: 0;\n}\n\n.usageTable {\n width: 100%;\n margin-top: var(--theme-spacing-Full);\n line-height: 1.5;\n}\n\n.usageTable th {\n font-weight: bold;\n text-align: left;\n}\n\n.usageTable td,\n.usageTable th {\n padding: var(--theme-spacing-Quarter);\n}\n\n.usageTable td:first-child,\n.usageTable th:first-child {\n padding-left: 0;\n}\n\n.usageTable td:last-child,\n.usageTable th:last-child {\n padding-right: 0;\n}\n\n/* This is for specificity; otherwise `.neos.neos-module a` would override this link style in the backend module */\n.usageTable.usageTable a {\n color: var(--theme-colors-PrimaryBlue);\n}\n\n.usageTable.usageTable a:hover {\n color: var(--theme-colors-PrimaryBlueHover);\n text-decoration: underline;\n}\n\n.usageTable li {\n list-style-type: disc;\n}\n\n.usageTable li ul {\n padding-left: 1rem;\n}\n\n.usageTable li ul li {\n display: list-item;\n}\n",".assetUsage {\n padding: var(--theme-spacing-Full);\n line-height: 1em;\n}\n\n.assetUsage section + section {\n margin-top: var(--theme-spacing-Full);\n}\n\n.usageTable {\n width: 100%;\n}\n\n.usageTable th {\n font-weight: bold;\n text-align: left;\n}\n\n.usageTable td,\n.usageTable th {\n padding: var(--theme-spacing-Quarter);\n}\n\n.usageTable td:first-child,\n.usageTable th:first-child {\n padding-left: 0;\n}\n\n.usageTable td:last-child,\n.usageTable th:last-child {\n padding-right: 0;\n}\n\n.neos .usageTable a {\n color: var(--theme-colors-PrimaryBlue);\n}\n\n.neos .usageTable a:hover {\n color: var(--theme-colors-PrimaryBlue);\n text-decoration: underline;\n}\n",".similarAsset {\n margin: 0;\n display: flex;\n flex-direction: column;\n position: relative;\n}\n\n.picture {\n background-color: var(--theme-colors-assetBackground);\n}\n\n.picture img {\n display: block;\n height: 250px;\n width: 100%;\n object-fit: contain;\n}\n\n.caption {\n background-color: var(--theme-colors-captionBackground);\n transition: background-color var(--theme-transition-fast);\n padding: var(--theme-spacing-Half);\n display: flex;\n align-items: center;\n flex: 1;\n}\n\n.caption img {\n width: 1.3rem;\n height: auto;\n margin-right: var(--theme-spacing-Half);\n}\n",".assetUsage {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));\n gap: var(--theme-spacing-Full);\n padding: var(--theme-spacing-Full);\n}\n",".dropzone {\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: var(--theme-spacing-GoldenUnit);\n border-width: 2px;\n border-radius: 2px;\n border-color: var(--theme-colors-disabled);\n border-style: dashed;\n background-color: var(--theme-colors-alternatingBackground);\n color: var(--theme-colors-text);\n outline: none;\n cursor: pointer;\n user-select: none;\n transition: border .24s ease-in-out;\n}\n\n.dropzone p {\n margin: 0;\n line-height: 1.6;\n}\n\n.dropzone--active {\n border-color: var(--theme-colors-PrimaryBlue);\n}\n\n.dropzone--accept {\n border-color: var(--theme-colors-Success);\n}\n\n.dropzone--reject {\n border-color: var(--theme-colors-Error);\n}\n",".fileList {\n margin-top: var(--theme-spacing-Full);\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n.fileListHeader {\n flex: 1 1 100%;\n margin-bottom: var(--theme-spacing-Full);\n font-size: var(--theme-fontSize-base);\n}\n\n.thumb {\n display: inline-flex;\n border-radius: 2px;\n border: 1px solid #eaeaea;\n margin-bottom: var(--theme-spacing-Half);\n margin-right: var(--theme-spacing-Half);\n width: 100px;\n height: 100px;\n padding: var(--theme-spacing-Quarter);\n box-sizing: border-box;\n}\n\n.thumbInner {\n position: relative;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.thumbInner span {\n margin-left: var(--theme-spacing-Half);\n user-select: none;\n}\n\n.img {\n position: absolute;\n display: block;\n width: 100%;\n height: 100%;\n object-fit: cover;\n left: 0;\n top: 0;\n z-index: -1;\n}\n\n.thumbInner:after {\n display: none;\n position: absolute;\n content: \"\";\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n background-color: var(--theme-colors-alternatingBackground);\n opacity: 0.3;\n z-index: -1;\n}\n\n.loading {\n border-color: var(--theme-colors-border);\n}\n\n.loading .thumbInner:after {\n display: block;\n}\n\n.success {\n border-color: var(--theme-colors-Success);\n}\n\n.success .thumbInner:after {\n display: block;\n background-color: var(--theme-colors-Success);\n}\n\n.error {\n border-color: var(--theme-colors-Error);\n}\n\n.error .thumbInner:after {\n display: block;\n background-color: var(--theme-colors-Error);\n}\n\n.warning {\n color: var(--theme-colors-Warn);\n}\n",".fileList {\n margin-top: var(--theme-spacing-Full);\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n.fileListHeader {\n flex: 1 1 100%;\n margin-bottom: var(--theme-spacing-Full);\n font-size: var(--theme-fontSize-base);\n}\n",".uploadArea {\n padding: var(--theme-spacing-Full);\n}\n",".uploadArea {\n padding: var(--theme-spacing-Full);\n}\n\n.optionSection {\n margin-top: var(--theme-spacing-Full);\n margin-bottom: var(--theme-spacing-Full);\n}\n\n.option {\n margin-top: var(--theme-spacing-Half);\n margin-bottom: var(--theme-spacing-Half);\n}\n\n.label {\n display: flex !important;\n}\n",".uploadButton {\n display: flex;\n}\n\n.uploadButton button {\n flex: 1;\n}\n","@keyframes closeWindow {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n}\n\n.ril__outer {\n background-color: rgba(0, 0, 0, 0.85);\n outline: none;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 1000;\n width: 100%;\n height: 100%;\n -ms-content-zooming: none;\n -ms-user-select: none;\n -ms-touch-select: none;\n touch-action: none;\n}\n\n.ril__outerClosing {\n opacity: 0;\n}\n\n.ril__inner {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n\n.ril__image,\n.ril__imagePrev,\n.ril__imageNext {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n margin: auto;\n max-width: none;\n -ms-content-zooming: none;\n -ms-user-select: none;\n -ms-touch-select: none;\n touch-action: none;\n}\n\n.ril__imageDiscourager {\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n}\n\n.ril__navButtons {\n border: none;\n position: absolute;\n top: 0;\n bottom: 0;\n width: 20px;\n height: 34px;\n padding: 40px 30px;\n margin: auto;\n cursor: pointer;\n opacity: 0.7;\n}\n.ril__navButtons:hover {\n opacity: 1;\n}\n.ril__navButtons:active {\n opacity: 0.7;\n}\n\n.ril__navButtonPrev {\n left: 0;\n background: rgba(0, 0, 0, 0.2)\n url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjIwIiBoZWlnaHQ9IjM0Ij48cGF0aCBkPSJtIDE5LDMgLTIsLTIgLTE2LDE2IDE2LDE2IDEsLTEgLTE1LC0xNSAxNSwtMTUgeiIgZmlsbD0iI0ZGRiIvPjwvc3ZnPg==')\n no-repeat center;\n}\n\n.ril__navButtonNext {\n right: 0;\n background: rgba(0, 0, 0, 0.2)\n url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjIwIiBoZWlnaHQ9IjM0Ij48cGF0aCBkPSJtIDEsMyAyLC0yIDE2LDE2IC0xNiwxNiAtMSwtMSAxNSwtMTUgLTE1LC0xNSB6IiBmaWxsPSIjRkZGIi8+PC9zdmc+')\n no-repeat center;\n}\n\n.ril__downloadBlocker {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-image: url('data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7');\n background-size: cover;\n}\n\n.ril__caption,\n.ril__toolbar {\n background-color: rgba(0, 0, 0, 0.5);\n position: absolute;\n left: 0;\n right: 0;\n display: flex;\n justify-content: space-between;\n}\n\n.ril__caption {\n bottom: 0;\n max-height: 150px;\n overflow: auto;\n}\n\n.ril__captionContent {\n padding: 10px 20px;\n color: #fff;\n}\n\n.ril__toolbar {\n top: 0;\n height: 50px;\n}\n\n.ril__toolbarSide {\n height: 50px;\n margin: 0;\n}\n\n.ril__toolbarLeftSide {\n padding-left: 20px;\n padding-right: 0;\n flex: 0 1 auto;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.ril__toolbarRightSide {\n padding-left: 0;\n padding-right: 20px;\n flex: 0 0 auto;\n}\n\n.ril__toolbarItem {\n display: inline-block;\n line-height: 50px;\n padding: 0;\n color: #fff;\n font-size: 120%;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.ril__toolbarItemChild {\n vertical-align: middle;\n}\n\n.ril__builtinButton {\n width: 40px;\n height: 35px;\n cursor: pointer;\n border: none;\n opacity: 0.7;\n}\n.ril__builtinButton:hover {\n opacity: 1;\n}\n.ril__builtinButton:active {\n outline: none;\n}\n\n.ril__builtinButtonDisabled {\n cursor: default;\n opacity: 0.5;\n}\n.ril__builtinButtonDisabled:hover {\n opacity: 0.5;\n}\n\n.ril__closeButton {\n background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjIwIiBoZWlnaHQ9IjIwIj48cGF0aCBkPSJtIDEsMyAxLjI1LC0xLjI1IDcuNSw3LjUgNy41LC03LjUgMS4yNSwxLjI1IC03LjUsNy41IDcuNSw3LjUgLTEuMjUsMS4yNSAtNy41LC03LjUgLTcuNSw3LjUgLTEuMjUsLTEuMjUgNy41LC03LjUgLTcuNSwtNy41IHoiIGZpbGw9IiNGRkYiLz48L3N2Zz4=')\n no-repeat center;\n}\n\n.ril__zoomInButton {\n background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGcgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PHBhdGggZD0iTTEgMTlsNi02Ii8+PHBhdGggZD0iTTkgOGg2Ii8+PHBhdGggZD0iTTEyIDV2NiIvPjwvZz48Y2lyY2xlIGN4PSIxMiIgY3k9IjgiIHI9IjciIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIyIi8+PC9zdmc+')\n no-repeat center;\n}\n\n.ril__zoomOutButton {\n background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGcgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PHBhdGggZD0iTTEgMTlsNi02Ii8+PHBhdGggZD0iTTkgOGg2Ii8+PC9nPjxjaXJjbGUgY3g9IjEyIiBjeT0iOCIgcj0iNyIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjIiLz48L3N2Zz4=')\n no-repeat center;\n}\n\n.ril__outerAnimating {\n animation-name: closeWindow;\n}\n\n@keyframes pointFade {\n 0%,\n 19.999%,\n 100% {\n opacity: 0;\n }\n 20% {\n opacity: 1;\n }\n}\n\n.ril__loadingCircle {\n width: 60px;\n height: 60px;\n position: relative;\n}\n\n.ril__loadingCirclePoint {\n width: 100%;\n height: 100%;\n position: absolute;\n left: 0;\n top: 0;\n}\n.ril__loadingCirclePoint::before {\n content: '';\n display: block;\n margin: 0 auto;\n width: 11%;\n height: 30%;\n background-color: #fff;\n border-radius: 30%;\n animation: pointFade 800ms infinite ease-in-out both;\n}\n.ril__loadingCirclePoint:nth-of-type(1) {\n transform: rotate(0deg);\n}\n.ril__loadingCirclePoint:nth-of-type(7) {\n transform: rotate(180deg);\n}\n.ril__loadingCirclePoint:nth-of-type(1)::before,\n.ril__loadingCirclePoint:nth-of-type(7)::before {\n animation-delay: -800ms;\n}\n.ril__loadingCirclePoint:nth-of-type(2) {\n transform: rotate(30deg);\n}\n.ril__loadingCirclePoint:nth-of-type(8) {\n transform: rotate(210deg);\n}\n.ril__loadingCirclePoint:nth-of-type(2)::before,\n.ril__loadingCirclePoint:nth-of-type(8)::before {\n animation-delay: -666ms;\n}\n.ril__loadingCirclePoint:nth-of-type(3) {\n transform: rotate(60deg);\n}\n.ril__loadingCirclePoint:nth-of-type(9) {\n transform: rotate(240deg);\n}\n.ril__loadingCirclePoint:nth-of-type(3)::before,\n.ril__loadingCirclePoint:nth-of-type(9)::before {\n animation-delay: -533ms;\n}\n.ril__loadingCirclePoint:nth-of-type(4) {\n transform: rotate(90deg);\n}\n.ril__loadingCirclePoint:nth-of-type(10) {\n transform: rotate(270deg);\n}\n.ril__loadingCirclePoint:nth-of-type(4)::before,\n.ril__loadingCirclePoint:nth-of-type(10)::before {\n animation-delay: -400ms;\n}\n.ril__loadingCirclePoint:nth-of-type(5) {\n transform: rotate(120deg);\n}\n.ril__loadingCirclePoint:nth-of-type(11) {\n transform: rotate(300deg);\n}\n.ril__loadingCirclePoint:nth-of-type(5)::before,\n.ril__loadingCirclePoint:nth-of-type(11)::before {\n animation-delay: -266ms;\n}\n.ril__loadingCirclePoint:nth-of-type(6) {\n transform: rotate(150deg);\n}\n.ril__loadingCirclePoint:nth-of-type(12) {\n transform: rotate(330deg);\n}\n.ril__loadingCirclePoint:nth-of-type(6)::before,\n.ril__loadingCirclePoint:nth-of-type(12)::before {\n animation-delay: -133ms;\n}\n.ril__loadingCirclePoint:nth-of-type(7) {\n transform: rotate(180deg);\n}\n.ril__loadingCirclePoint:nth-of-type(13) {\n transform: rotate(360deg);\n}\n.ril__loadingCirclePoint:nth-of-type(7)::before,\n.ril__loadingCirclePoint:nth-of-type(13)::before {\n animation-delay: 0ms;\n}\n\n.ril__loadingContainer {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n}\n.ril__imagePrev .ril__loadingContainer,\n.ril__imageNext .ril__loadingContainer {\n display: none;\n}\n\n.ril__errorContainer {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n color: #fff;\n}\n.ril__imagePrev .ril__errorContainer,\n.ril__imageNext .ril__errorContainer {\n display: none;\n}\n\n.ril__loadingContainer__icon {\n color: #fff;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n}\n",".lightbox .ril__image {\n max-width: 100%;\n}\n",".editArea {\n padding: var(--theme-spacing-Full);\n}\n\n.filenameInput {\n flex: 1 1 100%;\n}\n\n.label {\n display: flex !important;\n flex-wrap: wrap;\n align-items: baseline;\n gap: var(--theme-spacing-Half) 0;\n}\n\n.label + label {\n margin-top: var(--theme-spacing-Full);\n}\n",".actions {\n display: flex;\n position: sticky;\n background-color: var(--theme-colors-mainBackground);\n bottom: 0;\n}\n\n.actions > * {\n flex: 1;\n}\n",".inspector {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n grid-auto-rows: auto;\n gap: var(--theme-spacing-Full);\n}\n\n.inspector input,\n.inspector textarea {\n width: 100%;\n}\n",".collectionSelectBox input {\n /* Hack to override Neos backend CSS override */\n background-color: transparent !important;\n border: none !important;\n}\n\n.collectionSelectBox svg {\n align-self: center;\n}\n",".variantContainer {\n background-color: var(--theme-colors-assetBackground);\n}\n\n.picture {\n height: 200px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.image {\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n display: block;\n background-image: repeating-linear-gradient(45deg, #999999 25%, transparent 25%, transparent 75%, #999999 75%, #999999), repeating-linear-gradient(45deg, #999999 25%, #e5e5f7 25%, #e5e5f7 75%, #999999 75%, #999999);\n background-position: 0 0, 10px 10px;\n background-size: 20px 20px;\n}\n\n.caption {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: var(--theme-spacing-Half);\n background-color: var(--theme-colors-captionBackground);\n}\n\n.infoContainer {\n display: flex;\n flex-direction: column;\n min-width: 0;\n max-width: var(--theme-size-sidebarWidth);\n}\n\n.info {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.variantSizes {\n font-size: var(--theme-fontSize-small);\n}\n",".variantsContainer {\n padding: var(--theme-spacing-Full) var(--theme-spacing-Half);\n}\n\n.variantsContainer h1 {\n font-size: var(--theme-fontSize-base);\n margin: 0;\n padding: 0;\n}\n\n.variantItem {\n margin-top: var(--theme-spacing-Full);\n}\n",".tasks {\n display: flex;\n flex-direction: column;\n gap: var(--theme-spacing-Half);\n}\n\n.tasks button {\n display: flex;\n align-items: center;\n gap: 0.5em;\n}\n",".textArea {\n /* TODO: Remove when overriding rule is removed from Minimal Module Style in Neos */\n padding: var(--theme-spacing-Half) !important;\n}\n\n.propertyPanel {\n}\n\n.propertyPanelHeader {\n}\n\n.propertyPanelHeader h2 {\n padding: 0;\n}\n\n.propertyPanelHeader button {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.propertyPanelContents {\n display: flex;\n flex-direction: column;\n padding: 0;\n gap: var(--theme-spacing-Full);\n}\n",".tabContent {\n height: calc(100% - 42px);\n}\n",".collectionSelectBox input {\n /* Hack to override Neos backend CSS override */\n background-color: transparent !important;\n border: none !important;\n}\n\n.collectionSelectBox svg {\n align-self: center;\n}\n",".iptcData {}\n.iptcData dl dt {\n background-color: var(--theme-colors-alternatingBackground);\n font-weight: bold;\n color: white;\n padding: var(--theme-spacing-Half) var(--theme-spacing-Half) 0;\n}\n.iptcData dl dd {\n background-color: var(--theme-colors-alternatingBackground);\n margin-bottom: 1px;\n padding: var(--theme-spacing-Half);\n color: var(--theme-colors-inactive);\n}\n",".currentSelection {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n overflow: hidden;\n}\n\n.headline {\n user-select: none;\n flex: 1 1 100%;\n font-weight: bold;\n line-height: var(--theme-spacing-GoldenUnit);\n}\n\n.label {\n}\n\n.label svg {\n margin-right: var(--theme-spacing-Half);\n}\n\n.breadcrumb {\n display: flex;\n flex-wrap: wrap;\n gap: var(--theme-spacing-Quarter);\n padding: var(--theme-spacing-Quarter);\n}\n\n.breadcrumb button {\n background-color: var(--theme-colors-alternatingBackground);\n color: var(--theme-colors-ContrastBrightest);\n overflow: hidden;\n display: block;\n text-overflow-ellipsis: ellipsis;\n flex: 0 0 auto;\n border: none;\n}\n\n.breadcrumb button:hover {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n","@keyframes cssLoadWidth {\n 0%,\n 100% {\n transition-timing-function: cubic-bezier(1, 0, .65, .85);\n }\n 0% {\n width: 0;\n }\n 100% {\n width: 100%;\n }\n}\n\n.indicator {\n left: 0;\n top: 0;\n height: 2px;\n position: fixed;\n width: 100%;\n z-index: var(--theme-zIndex-loadingIndicator);\n display: none;\n}\n\n.indicator::after {\n content: '';\n display: block;\n height: 100%;\n position: relative;\n background-color: var(--theme-colors-Warn);\n}\n\n.indicator[data-animated=\"true\"] {\n display: block;\n}\n\n.indicator[data-animated=\"true\"]::after {\n animation: cssLoadWidth 2s cubic-bezier(.45, 0, 1, 1) infinite;\n}\n"," .assetCount {\n height: 100%;\n align-self: flex-start;\n display: flex;\n justify-content: center;\n align-items: center;\n user-select: none;\n }\n","\n.item {\n user-select: none;\n}\n\n.item button {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n",".pagination {\n justify-self: center;\n}\n\n.list {\n display: flex;\n justify-self: center;\n list-style-type: none;\n text-align: center;\n padding: 0;\n margin: 0;\n}\n\n.ellipsis {\n line-height: 2.4rem;\n user-select: none;\n}\n\n.disabled {\n color: var(--theme-colors-ContrastBrighter);\n}\n",".bottomBar {\n display: grid;\n grid-template-columns: 350px 1fr 350px;\n gap: var(--theme-spacing-GoldenUnit);\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n border-top: 1px solid var(--theme-colors-border);\n background-color: var(--theme-colors-moduleBackground);\n z-index: var(--theme-zIndex-pagination);\n}\n\n.selectionMode {\n grid-template-columns: repeat(3, 1fr);\n}\n\n.isInNodeCreationDialog {\n bottom: -16px;\n left: -16px;\n right: -16px;\n}\n",".sortingState {\n display: flex;\n min-width: 0;\n}\n\n.selectBox {\n min-width: 0;\n display: flex;\n}\n",".assetsFilter {\n position: relative;\n}\n\n.assetsFilter > summary {\n background-color: var(--theme-colors-captionBackground);\n padding: 0 1em;\n cursor: pointer;\n list-style-type: none;\n}\n\n.assetsFilter summary:hover {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n\n.assetsFilter > summary::-webkit-details-marker {\n display: none;\n}\n\n.assetsFilter.active summary {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n\n.filterList {\n z-index: 2;\n display: flex;\n flex-direction: column;\n position: absolute;\n gap: 1px;\n top: 100%;\n left: 0;\n background-color: var(--theme-colors-ContrastDarker);\n}\n\n.typeFilter {\n display: flex;\n}\n\n.typeFilter svg {\n /* TODO: This is a workaround for a bug in the SelectBoxHeader which sets the svg height to 100% */\n height: 1em !important;\n}\n\n.selectBox {\n min-width: auto;\n}\n",".viewModeSelector {\n display: flex;\n align-items: baseline;\n}\n\n.viewModeSelector label {\n margin-right: var(--theme-spacing-Quarter);\n}\n\n.selectBox {\n min-width: auto;\n}\n",".searchBox {\n display: flex;\n flex-direction: row;\n flex-grow: 1;\n}\n\n.searchBox__inputWrapper {\n flex: 1;\n}\n\n.searchBox__inputWrapper > input {\n width: 100%;\n}\n\n.searchBox__searchButton {\n\n}\n\n.searchBox__clearButton {\n\n}\n",".topBar {\n display: flex;\n flex-wrap: nowrap;\n justify-content: flex-end;\n margin: 0 calc(-1 * var(--theme-spacing-Half));\n padding-right: 0;\n}\n\n.topBar--selectionMode {\n /* Add spacing in selection mode to prevent overlap with close button of secondary inspector view */\n padding-right: var(--theme-spacing-GoldenUnit);\n}\n\n.topBar > * {\n margin: 0 var(--theme-spacing-Half);\n}\n",".listView {\n height: auto;\n}\n\n.listView--fullHeight {\n height: 100%;\n}\n\n.listView table {\n border-spacing: 0 1px;\n width: 100%;\n}\n\n.listView table th {\n text-align: left;\n line-height: var(--theme-spacing-GoldenUnit);\n padding: 0 var(--theme-spacing-Half);\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n user-select: none;\n}\n\n.listView table th:first-child,\n.listView table th:last-child {\n padding: 0;\n}\n\n.tableHeader {\n position: sticky;\n background-color: var(--theme-colors-tableHeader);\n top: 0;\n z-index: 1;\n}\n",".listViewItem {\n background-color: var(--theme-colors-mainBackground);\n}\n\n.listViewItem:nth-of-type(2n) {\n background-color: var(--theme-colors-alternatingBackground);\n}\n\n.listViewItem:hover {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n\n.selected {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n\n.selected:nth-of-type(2n) {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n\n.textColumn {\n padding: 0 var(--theme-spacing-Half);\n white-space: nowrap;\n user-select: none;\n cursor: pointer;\n width: 1px;\n}\n\n.textColumn > * {\n vertical-align: middle;\n}\n\n.previewColumn {\n min-width: var(--theme-spacing-GoldenUnit);\n width: var(--theme-spacing-GoldenUnit);\n cursor: pointer;\n}\n\n.previewColumn picture {\n display: block;\n width: 100%;\n height: var(--theme-spacing-GoldenUnit);\n text-align: center;\n}\n\n.previewColumn picture img, .previewColumn picture svg {\n display: inline-block;\n width: 100%;\n height: 100%;\n object-fit: contain;\n}\n\n.labelColumn {\n composes: textColumn;\n display: table;\n table-layout: fixed;\n width: 100%;\n line-height: var(--theme-spacing-GoldenUnit);\n user-select: text;\n}\n\n.labelColumn > * {\n width: calc(100% - 2 * var(--theme-spacing-Half));\n padding: 0 var(--theme-spacing-Half);\n}\n\n.lastModifiedColumn {\n composes: textColumn;\n}\n\n.fileSizeColumn {\n composes: textColumn;\n}\n\n.mediaTypeColumn {\n composes: textColumn;\n max-width: 100px;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.actionsColumn {\n composes: textColumn;\n text-align: right;\n}\n",".emptyStateWrapper {\n display: flex;\n align-items: center;\n justify-content: center;\n height: inherit;\n}\n",".thumbnail {\n margin: 0;\n display: flex;\n flex-direction: column;\n position: relative;\n}\n\n.thumbnail:hover .caption {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n\n.thumbnail:hover .toolBar {\n pointer-events: all;\n background-color: rgba(0.15, 0.15, 0.15, 0.25);\n}\n\n.thumbnail:hover .toolBar button {\n opacity: 1;\n}\n\n.thumbnail:hover .toolBar button[disabled] {\n opacity: 0.5;\n}\n\n.thumbnail:hover .toolBar button.button--active svg {\n color: white;\n}\n\n.picture {\n cursor: pointer;\n height: 250px;\n display: flex;\n align-items: center;\n align-content: center;\n justify-content: center;\n background-color: var(--theme-colors-assetBackground);\n}\n\n.picture img {\n display: block;\n background-image: repeating-linear-gradient(45deg, #999999 25%, transparent 25%, transparent 75%, #999999 75%, #999999), repeating-linear-gradient(45deg, #999999 25%, #e5e5f7 25%, #e5e5f7 75%, #999999 75%, #999999);\n background-position: 0 0, 10px 10px;\n background-size: 20px 20px;\n max-height: 250px;\n max-width: 100%;\n}\n\n.caption {\n background-color: var(--theme-colors-captionBackground);\n transition: background-color var(--theme-transition-fast);\n padding: var(--theme-spacing-Half);\n display: flex;\n align-items: center;\n flex: 1;\n}\n\n.caption img, .caption svg {\n width: 1.3rem;\n height: auto;\n margin-right: var(--theme-spacing-Half);\n}\n\n.selected {\n background-color: var(--theme-colors-PrimaryBlue);\n}\n\n.toolBar {\n display: flex;\n position: absolute;\n top: var(--theme-spacing-Quarter);\n right: var(--theme-spacing-Quarter);\n pointer-events: none;\n background-color: transparent;\n transition: background-color .1s ease-in;\n}\n\n.toolBar button,\n.toolBar button[disabled] {\n transition: opacity .1s ease-in;\n opacity: 0;\n}\n\n.toolBar button.button--active {\n opacity: 1;\n}\n\n.toolBar button.button--active svg {\n color: var(--theme-colors-PrimaryBlue);\n}\n\n.label {\n position: absolute;\n top: var(--theme-spacing-Quarter);\n left: var(--theme-spacing-Quarter);\n font-size: var(--theme-fontSize-small);\n border-radius: 3px;\n padding: 2px 4px;\n user-select: none;\n}\n\n.disabled {\n}\n\n.disabled .picture {\n filter: grayscale(1);\n cursor: not-allowed;\n}\n",".thumbnailView {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));\n gap: var(--theme-spacing-Full);\n}\n",".mediaModuleApp {\n}\n\n.container {\n /* TODO: Find a way to not calculate height to allow scrolling in main grid area */\n --grid-height: calc(100vh - 48px - 61px - 41px); /* Remove top bar; body padding and bottom bar */\n --grid-areas: \"left top right\" \"left main right\";\n --grid-columns: var(--theme-size-sidebarWidth) 1fr var(--theme-size-sidebarWidth);\n --grid-area-left: left;\n --grid-area-right: right;\n --grid-area-top: top;\n --grid-area-main: main;\n\n display: grid;\n height: var(--grid-height);\n grid-template-rows: 40px 1fr;\n grid-template-columns: var(--grid-columns);\n grid-template-areas: var(--grid-areas);\n gap: var(--theme-spacing-Full);\n /* Padding is necessary to prevent cutting of button outlines in the topbar */\n padding-top: 1px;\n line-height: 1.5;\n overflow: hidden;\n}\n\n.fullHeight {\n --grid-height: calc(100% - 61px - 8px); /* Remove bottom bar and add padding */\n}\n\n.selectionMode {\n --grid-columns: var(--theme-size-sidebarWidth) 1fr;\n --grid-areas: \"left top\" \"left main\";\n}\n\n.gridColumn {\n height: 100%;\n overflow-y: auto;\n}\n\n.gridRight {\n composes: gridColumn;\n grid-area: var(--grid-area-right);\n}\n\n.gridLeft {\n composes: gridColumn;\n grid-area: var(--grid-area-left);\n}\n\n.gridMain {\n composes: gridColumn;\n grid-area: var(--grid-area-main);\n}\n\n.gridTop {\n grid-area: var(--grid-area-top);\n}\n",":global(#media-ui-app > div) {\n scrollbar-width: thin;\n scrollbar-color: #999 transparent;\n}\n\n:global(#media-ui-app > div ::-webkit-scrollbar) {\n width: 4px;\n height: 4px;\n}\n\n:global(#media-ui-app > div ::-webkit-scrollbar-track) {\n background: transparent;\n}\n\n:global(#media-ui-app > div ::-webkit-scrollbar-thumb) {\n background-color: #999;\n}\n\n:global(#media-ui-app > div ::-webkit-scrollbar-corner) {\n background-color: #3f3f3f;\n}\n\n:global(.neos.neos-module-management-mediaui > .neos-module-wrap) {\n padding: 3rem 1rem 0;\n}\n\n/* Hack to prevent a dropdown to be behind the bottom bar - issue #79 */\n:global(body > [class*=\"_selectBox__contents_\"]) {\n z-index: 99999;\n}\n\n:global([class*=\"_dropDown__btn\"]) {\n padding-left: 0;\n}\n"],"names":[],"version":3,"file":"main.bundle.css.map"} \ No newline at end of file diff --git a/Resources/Public/Assets/main.bundle.js b/Resources/Public/Assets/main.bundle.js index 4d8d045a1..8c0613115 100644 --- a/Resources/Public/Assets/main.bundle.js +++ b/Resources/Public/Assets/main.bundle.js @@ -1,18 +1,18 @@ -!function(e,t,r,n,o){var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},i="function"==typeof a[n]&&a[n],s=i.cache||{},l="undefined"!=typeof module&&"function"==typeof module.require&&module.require.bind(module);function c(t,r){if(!s[t]){if(!e[t]){var o="function"==typeof a[n]&&a[n];if(!r&&o)return o(t,!0);if(i)return i(t,!0);if(l&&"string"==typeof t)return l(t);var u=Error("Cannot find module '"+t+"'");throw u.code="MODULE_NOT_FOUND",u}d.resolve=function(r){var n=e[t][1][r];return null!=n?n:r},d.cache={};var f=s[t]=new c.Module(t);e[t][0].call(f.exports,d,f,f.exports,this)}return s[t].exports;function d(e){var t=d.resolve(e);return!1===t?{}:c(t)}}c.isParcelRequire=!0,c.Module=function(e){this.id=e,this.bundle=c,this.exports={}},c.modules=e,c.cache=s,c.parent=i,c.register=function(t,r){e[t]=[function(e,t){t.exports=r},{}]},Object.defineProperty(c,"root",{get:function(){return a[n]}}),a[n]=c;for(var u=0;u{for(;!window.NeosCMS?.I18n?.initialized;)await new Promise(e=>setTimeout(e,50));let e=document.getElementById("media-ui-app"),{dummyImage:t}=e.dataset,r=JSON.parse(e.dataset.endpoints),n=JSON.parse(e.dataset.features);(0,l.default).setAppElement(e);let s=(0,y.CacheFactory).createCache(n),u=(0,a.createRef)(),{Notification:m}=window.NeosCMS,b=new d.ApolloClient({connectToDevTools:!0,cache:s,link:(0,d.ApolloLink).from([(0,y.createErrorHandler)(m),(0,p.createUploadLink)({uri:r.graphql,credentials:"same-origin"})]),typeDefs:[h.typeDefs,g.typeDefs]});(0,i.render)((0,o.jsx)(v.default,{client:b,translate:(e,t=null,r={},n="Flowpack.Media.Ui",o="Main")=>window.NeosCMS.I18n.translate(e,t,n,o,r),notificationApi:m,initialState:{applicationContext:"browser",featureFlags:n,constraints:{},assetType:"all"},children:(0,o.jsx)(x.default,{children:(0,o.jsx)(h.MediaUiProvider,{dummyImage:t,containerRef:u,children:(0,o.jsx)(c.DndProvider,{backend:f.default,children:(0,o.jsx)(j.default,{})})})})}),e)}},{"react/jsx-runtime":"gaGEj",react:"6uln9","react-dom":"b8T3j","react-modal":"8mlRL","react-dnd":"5Rhgo","react-dnd-html5-backend":"9G33s","@apollo/client":"bWmmR","apollo-upload-client":"eiZnp","@media-ui/core":"j3EAa","@media-ui/core/src/components/MediaApplicationWrapper":"HGtGw","@media-ui/feature-asset-usage":"lWHpb","./core":"1xlGQ","./components/App":"2lMwS","./components/ErrorBoundary":"cumtn","./lib/FontAwesome":"3DZN8","@parcel/transformer-js/src/esmodule-helpers.js":"k3151"}],gaGEj:[function(e,t,r){"use strict";t.exports=e("e5e9711c2edf1a4e")},{e5e9711c2edf1a4e:"kbpKW"}],kbpKW:[function(e,t,r){"use strict";e("ea59cf80247f96ff");var n=e("3fd2a064dc1f3641"),o=60103;if(r.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var a=Symbol.for;o=a("react.element"),r.Fragment=a("react.fragment")}var i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,a={},c=null,u=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,n)&&!l.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===a[n]&&(a[n]=t[n]);return{$$typeof:o,type:e,key:c,ref:u,props:a,_owner:i.current}}r.jsx=c,r.jsxs=c},{ea59cf80247f96ff:"hdgcG","3fd2a064dc1f3641":"6uln9"}],hdgcG:[function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;t.exports=!function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==n.join(""))return!1;var o={};if("abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},o)).join(""))return!1;return!0}catch(e){return!1}}()?function(e,t){for(var r,i,s=function(e){if(null==e)throw TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l