(()=>{"use strict";var e,t={1669(e){e.exports=jQuery},9210(e,t,s){var o=s(9465);class r extends o.y{chooserModalClass=PageChooserModal;titleStateKey="adminTitle";editUrlStateKey="editUrl";constructor(e,t,s){let o;o=s||"number"==typeof t?{parentId:t,...s}:t||{},super(e,o)}getStateFromHTML(){const e=super.getStateFromHTML();return e&&(e.parentId=this.opts.parentId),e}getModalOptions(){const e={modelNames:this.opts.modelNames,targetPages:this.opts.targetPages,matchSubclass:this.opts.matchSubclass,canChooseRoot:this.opts.canChooseRoot,userPerms:this.opts.userPerms};return this.state&&this.state.parentId&&(e.parentId=this.state.parentId),e}}class a extends o._{widgetClass=r;chooserModalClass=PageChooserModal;getModalOptions(){return{modelNames:this.opts.modelNames,targetPages:this.opts.targetPages,matchSubclass:this.opts.matchSubclass,canChooseRoot:this.opts.canChooseRoot,userPerms:this.opts.userPerms}}}window.telepath.register("wagtail.widgets.PageChooser",a)}},s={};function o(e){var r=s[e];if(void 0!==r)return r.exports;var a=s[e]={exports:{}};return t[e](a,a.exports,o),a.exports}o.m=t,e=[],o.O=(t,s,r,a)=>{if(!s){var l=1/0;for(p=0;p<e.length;p++){for(var[s,r,a]=e[p],i=!0,n=0;n<s.length;n++)(!1&a||l>=a)&&Object.keys(o.O).every(e=>o.O[e](s[n]))?s.splice(n--,1):(i=!1,a<l&&(l=a));if(i){e.splice(p--,1);var d=r();void 0!==d&&(t=d)}}return t}a=a||0;for(var p=e.length;p>0&&e[p-1][2]>a;p--)e[p]=e[p-1];e[p]=[s,r,a]},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var s in t)o.o(t,s)&&!o.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.j=986,(()=>{var e={986:0};o.O.j=t=>0===e[t];var t=(t,s)=>{var r,a,[l,i,n]=s,d=0;if(l.some(t=>0!==e[t])){for(r in i)o.o(i,r)&&(o.m[r]=i[r]);if(n)var p=n(o)}for(t&&t(s);d<l.length;d++)a=l[d],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return o.O(p)},s=globalThis.webpackChunkwagtail=globalThis.webpackChunkwagtail||[];s.forEach(t.bind(null,0)),s.push=t.bind(null,s.push.bind(s))})();var r=o.O(void 0,[321],()=>o(9210));r=o.O(r)})();