(()=>{"use strict";var t,e={4415:(t,e,s)=>{var o=s(211);class r extends o.I{constructor(t,e,s){let o;o=s||"number"==typeof e?{parentId:e,...s}:e||{},super(t,o),this.chooserModalClass=PageChooserModal,this.titleStateKey="adminTitle",this.editUrlStateKey="editUrl"}getStateFromHTML(){const t=super.getStateFromHTML();return t&&(t.parentId=this.opts.parentId),t}getModalOptions(){const t={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&&(t.parentId=this.state.parentId),t}}class a extends o.G{constructor(){super(...arguments),this.widgetClass=r,this.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)},5311:t=>{t.exports=jQuery}},s={};function o(t){var r=s[t];if(void 0!==r)return r.exports;var a=s[t]={exports:{}};return e[t](a,a.exports,o),a.exports}o.m=e,t=[],o.O=(e,s,r,a)=>{if(!s){var i=1/0;for(u=0;u<t.length;u++){for(var[s,r,a]=t[u],n=!0,l=0;l<s.length;l++)(!1&a||i>=a)&&Object.keys(o.O).every((t=>o.O[t](s[l])))?s.splice(l--,1):(n=!1,a<i&&(i=a));if(n){t.splice(u--,1);var h=r();void 0!==h&&(e=h)}}return e}a=a||0;for(var u=t.length;u>0&&t[u-1][2]>a;u--)t[u]=t[u-1];t[u]=[s,r,a]},o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var s in e)o.o(e,s)&&!o.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.j=854,(()=>{var t={854:0};o.O.j=e=>0===t[e];var e=(e,s)=>{var r,a,[i,n,l]=s,h=0;if(i.some((e=>0!==t[e]))){for(r in n)o.o(n,r)&&(o.m[r]=n[r]);if(l)var u=l(o)}for(e&&e(s);h<i.length;h++)a=i[h],o.o(t,a)&&t[a]&&t[a][0](),t[a]=0;return o.O(u)},s=globalThis.webpackChunkwagtail=globalThis.webpackChunkwagtail||[];s.forEach(e.bind(null,0)),s.push=e.bind(null,s.push.bind(s))})();var r=o.O(void 0,[751],(()=>o(4415)));r=o.O(r)})();