(()=>{"use strict";var e,o={1669(e){e.exports=jQuery},4186(e,o,r){var a=r(1669),n=r.n(a),t=r(2614);class l extends t.C4{ajaxifyLinks(e,o){super.ajaxifyLinks(e,o),n()("a.upload-one-now").on("click",e=>{const o=n()("#id_collection_id").val();o&&n()("#id_document-chooser-upload-collection").val(o),e.preventDefault()})}}window.DOCUMENT_CHOOSER_MODAL_ONLOAD_HANDLERS=new l({searchInputDelay:50,creationFormTabSelector:"#tab-upload"}).getOnLoadHandlers();class i extends t.ZZ{onloadHandlers=window.DOCUMENT_CHOOSER_MODAL_ONLOAD_HANDLERS}window.DocumentChooserModal=i}},r={};function a(e){var n=r[e];if(void 0!==n)return n.exports;var t=r[e]={exports:{}};return o[e](t,t.exports,a),t.exports}a.m=o,e=[],a.O=(o,r,n,t)=>{if(!r){var l=1/0;for(u=0;u<e.length;u++){for(var[r,n,t]=e[u],i=!0,d=0;d<r.length;d++)(!1&t||l>=t)&&Object.keys(a.O).every(e=>a.O[e](r[d]))?r.splice(d--,1):(i=!1,t<l&&(l=t));if(i){e.splice(u--,1);var s=n();void 0!==s&&(o=s)}}return o}t=t||0;for(var u=e.length;u>0&&e[u-1][2]>t;u--)e[u]=e[u-1];e[u]=[r,n,t]},a.n=e=>{var o=e&&e.__esModule?()=>e.default:()=>e;return a.d(o,{a:o}),o},a.d=(e,o)=>{for(var r in o)a.o(o,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:o[r]})},a.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.j=884,(()=>{var e={884:0};a.O.j=o=>0===e[o];var o=(o,r)=>{var n,t,[l,i,d]=r,s=0;if(l.some(o=>0!==e[o])){for(n in i)a.o(i,n)&&(a.m[n]=i[n]);if(d)var u=d(a)}for(o&&o(r);s<l.length;s++)t=l[s],a.o(e,t)&&e[t]&&e[t][0](),e[t]=0;return a.O(u)},r=globalThis.webpackChunkwagtail=globalThis.webpackChunkwagtail||[];r.forEach(o.bind(null,0)),r.push=o.bind(null,r.push.bind(r))})();var n=a.O(void 0,[321],()=>a(4186));n=a.O(n)})();