1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[8667],{78667:(e,t,i)=>{i.r(t);var n=i(86013),o=i.n(n),s=i(13291),l=i(63359),a=i(52226),r=i(61941),c=i(12878),d=i(89192),p=i.n(d),u=i(45915),g=i.n(u),m=i(12611),h=i.n(m),f=i(67294),w=i(73935),v=i(94184),y=i.n(v),b=i(61193),C=i(97848),_=i(78944),x=i(97199);s.editor.contentElementTypes.register("heading",{pictogram:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3e%3c!--! Font Awesome Pro 6.1.1 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons%2c Inc. --%3e%3cpath fill='white' d='M448 448c0 17.69-14.33 32-32 32h-96c-17.67 0-32-14.31-32-32s14.33-32 32-32h16v-144h-224v144H128c17.67 0 32 14.31 32 32s-14.33 32-32 32H32c-17.67 0-32-14.31-32-32s14.33-32 32-32h16v-320H32c-17.67 0-32-14.31-32-32s14.33-32 32-32h96c17.67 0 32 14.31 32 32s-14.33 32-32 32H112v112h224v-112H320c-17.67 0-32-14.31-32-32s14.33-32 32-32h96c17.67 0 32 14.31 32 32s-14.33 32-32 32h-16v320H416C433.7 416 448 430.3 448 448z'/%3e%3c/svg%3e",supportedPositions:["inline"],supportedWidthRange:["md","xl"],defaultConfig:{width:l.ee.xl,marginTop:"none"},defaultsInputs(){this.input("hyphens",a.Qi,{values:["auto","manual"]})},configurationEditor({entry:e}){this.listenTo(this.model,"change:hyphens",this.refresh);const t=e.createLegacyTypographyVariantDelegator({model:this.model,paletteColorPropertyName:"color"});this.tab("general",(function(){this.group("ContentElementTypographyVariant",{entry:e,model:t,getPreviewConfiguration:(e,t)=>({...e,textSize:"small",typographyVariant:t})}),this.input("textSize",a.Qi,{values:["auto","large","medium","small"]}),this.group("PaletteColor",{entry:e,model:t,propertyName:"color"}),this.input("entranceAnimation",a.Qi,{values:["none","fadeInSlow","fadeIn","fadeInFast"]}),this.input("hyphens",a.Qi,{values:["auto","manual"]}),"manual"===this.model.get("hyphens")&&this.view(r.InfoBoxView,{text:o().t("pageflow_scrolled.editor.content_elements.heading.help_texts.shortcuts")}),this.view(a.VT),this.group("ContentElementPosition",{entry:e})}))}});function E(e){return e.value||[{type:"paragraph",children:[{text:""}]}]}function I(e,t){return{anchor:V(e.anchor,t),focus:V(e.focus,t)}}function V(e,t){return{...e,path:[e.path[0]+t,...e.path.slice(1)]}}function P(e,t){const[i,n]=c.NB.last({children:e},[t]);return{path:n,offset:i.text.length}}s.editor.contentElementTypes.register("textBlock",{pictogram:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3e %3c!--! Font Awesome Pro 6.1.1 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons%2c Inc. --%3e %3cpath fill='white' d='M 256%2c416 H 32 c -17.67%2c0 -32%2c14.33 -32%2c32 0%2c17.67 14.33%2c32 32%2c32 h 224 c 17.7%2c0 32%2c-14.33 32%2c-32 0%2c-17.67 -14.3%2c-32 -32%2c-32 z m 0%2c-256 H 32 c -17.67%2c0 -32%2c14.3 -32%2c32 0%2c17.7 14.33%2c32 32%2c32 h 224 c 17.7%2c0 32%2c-14.3 32%2c-32 0%2c-17.7 -14.3%2c-32 -32%2c-32 z M 0%2c320 c 0%2c17.7 14.33%2c32 32%2c32 h 384 c 17.7%2c0 32%2c-14.3 32%2c-32 0%2c-17.7 -14.3%2c-32 -32%2c-32 H 32 C 14.33%2c288 0%2c302.3 0%2c320 Z M 416%2c32 H 32 C 14.33%2c32 0%2c46.3 0%2c64 0%2c81.7 14.33%2c96 32%2c96 h 384 c 17.7%2c0 32%2c-14.3 32%2c-32 0%2c-17.7 -14.3%2c-32 -32%2c-32 z' /%3e%3c/svg%3e",supportedPositions:["inline"],configurationEditor({entry:e,contentElement:t}){var i;let n=null===(i=t.transientState.get("exampleNode"))||void 0===i?void 0:i.type;this.listenTo(t.transientState,"change:exampleNode",(()=>{var e;const i=null===(e=t.transientState.get("exampleNode"))||void 0===e?void 0:e.type;i!==n&&(n=i,this.refresh())})),this.tab("general",(function(){const i=t.transientState.get("exampleNode"),n=e.createLegacyTypographyVariantDelegator({model:t.transientState,paletteColorPropertyName:"color"}),s=(e,i)=>{const o=(s=t.transientState.get("exampleNode"))&&1===s.children.length&&""===s.children[0].text?{...s,children:[{text:"Lorem ipsum dolor sit amet"}]}:s;var s;return o?{...e,value:[{...o,variant:n.get("typographyVariant"),...i},{type:"paragraph",children:[{text:""}]},{type:"paragraph",children:[{text:""}]}]}:e};this.group("ContentElementTypographyVariant",{entry:e,model:n,prefix:i?l.utils.camelize(i.type):"none",previewConfigurationBindingModel:t.transientState,previewConfigurationBinding:"exampleNode",getPreviewConfiguration:(e,t)=>s(e,{variant:t})}),this.group("ContentElementTypographySize",{entry:e,model:n,prefix:i?l.utils.camelize(i.type):"none",previewConfigurationBindingModel:t.transientState,previewConfigurationBinding:"exampleNode",getPreviewConfiguration:(e,t)=>s(e,{size:t})}),this.group("PaletteColor",{entry:e,model:n,propertyName:"color"}),this.input("textAlign",a.Qi,{model:t.transientState,values:["ragged","justify"]}),this.view(a.VT),this.view(r.InfoBoxView,{text:o().t("pageflow_scrolled.editor.content_elements.textBlock.help_texts.shortcuts")})}))},split(e,t,{ranges:i}){const n=E(e),o=n.slice(0,t),s=n.slice(t),l={},a={};
1return Object.entries(i).forEach((([e,i])=>{const n=Math.min(i.anchor.path[0],i.focus.path[0]);if(Math.max(i.anchor.path[0],i.focus.path[0])<t)l[e]=i;else if(n>=t)a[e]=I(i,-t);else{const n=c.E9.isBefore(i.anchor,i.focus)?i.anchor:i.focus;l[e]={anchor:n,focus:P(o,t-1)}}})),{before:{configuration:{...e,value:o},ranges:l},after:{configuration:{...e,value:s},ranges:a}}},merge(e,t,{rangesA:i,rangesB:n}){const o=E(e),s=E(t),l={...i};return Object.entries(n).forEach((([e,t])=>{l[e]=I(t,o.length)})),{configuration:{...e,value:o.concat(s)},ranges:l}},getLength:e=>E(e).length,handleDestroy(e){if(!(e.get("transientState")||{}).editableTextIsSingleBlock)return e.postCommand({type:"REMOVE"}),!1},handleDuplicate(e){e.postCommand({type:"DUPLICATE"})},handleMove(e,t){e.postCommand({type:"MOVE_TO",payload:{to:t}})}});s.editor.contentElementTypes.register("inlineImage",{pictogram:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3c!--! Font Awesome Pro 6.1.1 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons%2c Inc. --%3e%3cpath fill='white' d='M447.1 32h-384C28.64 32-.0091 60.65-.0091 96v320c0 35.35 28.65 64 63.1 64h384c35.35 0 64-28.65 64-64V96C511.1 60.65 483.3 32 447.1 32zM111.1 96c26.51 0 48 21.49 48 48S138.5 192 111.1 192s-48-21.49-48-48S85.48 96 111.1 96zM446.1 407.6C443.3 412.8 437.9 416 432 416H82.01c-6.021 0-11.53-3.379-14.26-8.75c-2.73-5.367-2.215-11.81 1.334-16.68l70-96C142.1 290.4 146.9 288 152 288s9.916 2.441 12.93 6.574l32.46 44.51l93.3-139.1C293.7 194.7 298.7 192 304 192s10.35 2.672 13.31 7.125l128 192C448.6 396 448.9 402.3 446.1 407.6z'/%3e%3c/svg%3e",category:"media",supportedPositions:["inline","side","sticky","standAlone","left","right"],supportedWidthRange:["xxs","full"],supportedCaptions:!0,supportedStyles:["boxShadow","outline"],defaultsInputs(){this.input("enableFullscreen",a.Ab)},configurationEditor({entry:e,contentElement:t}){this.tab("general",(function(){this.input("id",r.FileInputView,{collection:"image_files",fileSelectionHandler:"contentElementConfiguration",positioning:e=>!!(0,l.UU)(e).aspectRatio,positioningBinding:"imageModifiers",positioningOptions:()=>{const{aspectRatio:t}=(0,l.UU)(this.model.get("imageModifiers"));return{preview:t&&1/e.getAspectRatio(t)}},dropDownMenuItems:[s.InlineFileRightsMenuItem]}),this.input("imageModifiers",s.ImageModifierListInputView,{entry:e,visibleBinding:"id",visible:()=>this.model.getReference("id","image_files")}),this.input("portraitId",r.FileInputView,{collection:"image_files",fileSelectionHandler:"contentElementConfiguration",positioning:e=>!!(0,l.UU)(e).aspectRatio,positioningBinding:"portraitImageModifiers",positioningOptions:()=>{const{aspectRatio:t}=(0,l.UU)(this.model.get("portraitImageModifiers"));return{preview:t&&1/e.getAspectRatio(t)}}}),this.input("portraitImageModifiers",s.ImageModifierListInputView,{entry:e,visibleBinding:"portraitId",visible:()=>this.model.getReference("portraitId","image_files")}),this.input("enableFullscreen",a.Ab,{disabledBinding:["position","width"],disabled:()=>t.getWidth()===l.ee.full,displayUncheckedIfDisabled:!0}),this.group("ContentElementPosition",{entry:e}),this.view(a.VT),this.group("ContentElementCaption",{entry:e}),this.group("ContentElementInlineFileRightsSettings")}))}});const k=p().Model.extend({defaults:{name:"editMotifArea"},initialize(e,{inputModel:t,propertyName:i,file:n}){this.set("label",o().t("pageflow_scrolled.editor.edit_motif_area_menu_item"));const l=()=>{this.set("hidden","backdrop"!==t.get("position"))};this.listenTo(t,"change:position",l),l(),this.selected=()=>{s.EditMotifAreaDialogView.show({model:t,propertyName:i,file:n})}}});s.editor.contentElementTypes.register("inlineVideo",{pictogram:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3c!--! Font Awesome Pro 6.1.1 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons%2c Inc. --%3e%3cpath fill='white' d='M463.1 32h-416C21.49 32-.0001 53.49-.0001 80v352c0 26.51 21.49 48 47.1 48h416c26.51 0 48-21.49 48-48v-352C511.1 53.49 490.5 32 463.1 32zM111.1 408c0 4.418-3.582 8-8 8H55.1c-4.418 0-8-3.582-8-8v-48c0-4.418 3.582-8 8-8h47.1c4.418 0 8 3.582 8 8L111.1 408zM111.1 280c0 4.418-3.582 8-8 8H55.1c-4.418 0-8-3.582-8-8v-48c0-4.418 3.582-8 8-8h47.1c4.418 0 8 3.582 8 8V280zM111.1 152c0 4.418-3.582 8-8 8H55.1c-4.418 0-8-3.582-8-8v-48c0-4.418 3.582-8 8-8h47.1c4.418 0 8 3.582 8 8L111.1 152zM351.1 400c0 8.836-7.164 16-16 16H175.1c-8.836 0-16-7.164-16-16v-96c0-8.838 7.164-16 16-16h160c8.836 0 16 7.162 16 16V400zM351.1 208c0 8.836-7.164 16-16 16H175.1c-8.836 0-16-7.164-16-16v-96c0-8.838 7.164-16 16-16h160c8.836 0 16 7.162 16 16V208zM463.1 408c0 4.418-3.582 8-8 8h-47.1c-4.418 0-7.1-3.582-7.1-8l0-48c0-4.418 3.582-8 8-8h47.1c4.418 0 8 3.582 8 8V408zM463.1 28
10c0 4.418-3.582 8-8 8h-47.1c-4.418 0-8-3.582-8-8v-48c0-4.418 3.582-8 8-8h47.1c4.418 0 8 3.582 8 8V280zM463.1 152c0 4.418-3.582 8-8 8h-47.1c-4.418 0-8-3.582-8-8l0-48c0-4.418 3.582-8 7.1-8h47.1c4.418 0 8 3.582 8 8V152z'/%3e%3c/svg%3e",category:"media",supportedPositions:["inline","side","sticky","standAlone","left","right","backdrop"],supportedWidthRange:["xxs","full"],supportedCaptions:!0,supportedStyles:["boxShadow","outline"],defaultsInputs(){this.input("playbackMode",a.Qi,{values:["manual","autoplay","autoplayIfUnmuted","loop"]}),this.input("enableFullscreen",r.CheckBoxInputView)},configurationEditor({entry:e}){var t;!(t=this.model).has("playbackMode")&&t.get("autoplay")&&t.set("playbackMode","autoplay",{trigger:!1}),this.tab("general",(function(){this.input("id",r.FileInputView,{collection:"video_files",fileSelectionHandler:"contentElementConfiguration",positioning:e=>!!(0,l.UU)(e).aspectRatio,positioningBinding:"imageModifiers",positioningOptions:()=>{const{aspectRatio:t}=(0,l.UU)(this.model.get("imageModifiers"));return{preview:t&&1/e.getAspectRatio(t)}},defaultTextTrackFilePropertyName:"defaultTextTrackFileId",dropDownMenuItems:[k,s.InlineFileRightsMenuItem]}),this.input("posterId",r.FileInputView,{collection:"image_files",fileSelectionHandler:"contentElementConfiguration",positioning:!1,dropDownMenuItems:[s.InlineFileRightsMenuItem]}),this.input("imageModifiers",s.ImageModifierListInputView,{entry:e,visibleBinding:"id",visible:()=>this.model.getReference("id","video_files")}),this.input("portraitId",r.FileInputView,{collection:"video_files",fileSelectionHandler:"contentElementConfiguration",positioning:e=>!!(0,l.UU)(e).aspectRatio,positioningBinding:"portraitImageModifiers",positioningOptions:()=>{const{aspectRatio:t}=(0,l.UU)(this.model.get("portraitImageModifiers"));return{preview:t&&1/e.getAspectRatio(t)}},defaultTextTrackFilePropertyName:"defaultTextTrackFileId",dropDownMenuItems:[k,s.InlineFileRightsMenuItem]}),this.input("portraitPosterId",r.FileInputView,{collection:"image_files",fileSelectionHandler:"contentElementConfiguration",positioning:!1,visibleBinding:"portraitId",visible:()=>this.model.getReference("portraitId","video_files"),dropDownMenuItems:[s.InlineFileRightsMenuItem]}),this.input("portraitImageModifiers",s.ImageModifierListInputView,{entry:e,visibleBinding:"portraitId",visible:()=>this.model.getReference("portraitId","video_files")}),this.view(a.VT),this.input("playbackMode",a.Qi,{values:["manual","autoplay","autoplayIfUnmuted","loop"]}),this.input("hideControlBar",r.CheckBoxInputView,{disabledBinding:["playbackMode","imageModifiers"],disabled:([e,t])=>"loop"===e||"circle"===(0,l.UU)(t).rounded,displayCheckedIfDisabled:!0}),this.input("unmuteLabel",a.sB),this.input("unmute",r.CheckBoxInputView,{storeInverted:"keepMuted"}),this.input("rewindOnUnmute",r.CheckBoxInputView,{disabledBinding:["playbackMode","keepMuted"],disabled:([e,t])=>"autoplay"!==e||t,displayUncheckedIfDisabled:!0}),this.view(a.VT),this.input("atmoDuringPlayback",a.Qi,{values:["play","mute","turnDown"]}),this.view(a.VT),this.input("enableFullscreen",r.CheckBoxInputView,{disabledBinding:["position","playbackMode"],disabled:([e,t])=>"backdrop"===e||"loop"===t,displayUncheckedIfDisabled:!0}),this.group("ContentElementPosition",{entry:e}),this.view(a.VT),this.group("ContentElementCaption",{entry:e}),this.group("ContentElementInlineFileRightsSettings")}))}});s.editor.contentElementTypes.register("inlineAudio",{pictogram:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3e%3c!--! Font Awesome Pro 6.1.1 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons%2c Inc. --%3e%3cpath fill='white' d='M192 352c53.03 0 96-42.97 96-96v-160c0-53.03-42.97-96-96-96s-96 42.97-96 96v160C96 309 138.1 352 192 352zM344 192C330.7 192 320 202.7 320 215.1V256c0 73.33-61.97 132.4-136.3 127.7c-66.08-4.169-119.7-66.59-119.7-132.8L64 215.1C64 202.7 53.25 192 40 192S16 202.7 16 215.1v32.15c0 89.66 63.97 169.6 152 181.7V464H128c-18.19 0-32.84 15.18-31.96 33.57C96.43 505.8 103.8 512 112 512h160c8.222 0 15.57-6.216 15.96-14.43C288.8 479.2 274.2 464 256 464h-40v-33.77C301.7 418.5 368 344.9 368 256V215.1C368 202.7 357.3 192 344 192z'/%3e%3c/svg%3e",category:"media",supportedPositions:["inline","side","sticky","standAlone","left","right"],supportedWidthRange:["xxs","full"],supportedCaptions:!0,supportedStyles:[{name:"boxShadow",when:e=>!!e,binding:"posterId"},{name:"outline",when:e=>!!e,binding:"posterId"}],defaultConfig:{playerControlVariant:"waveformBars"}
1,defaultsInputs(){this.input("autoplay",r.CheckBoxInputView),this.input("playerControlVariant",a.Qi,{values:["waveformBars","waveformLines","waveform","classic"]})},configurationEditor({entry:e,contentElement:t}){const i=e.getThemeProperties(),n=t.section.configuration.get("invert");this.tab("general",(function(){var t,l;this.input("id",r.FileInputView,{collection:"audio_files",fileSelectionHandler:"contentElementConfiguration",positioning:!1,defaultTextTrackFilePropertyName:"defaultTextTrackFileId",dropDownMenuItems:[s.InlineFileRightsMenuItem]}),this.input("posterId",r.FileInputView,{collection:"image_files",fileSelectionHandler:"contentElementConfiguration",positioning:!1,dropDownMenuItems:[s.InlineFileRightsMenuItem]}),this.view(a.VT),this.input("autoplay",r.CheckBoxInputView),this.input("atmoDuringPlayback",a.Qi,{values:["play","mute","turnDown"]}),this.view(a.VT),this.input("playerControlVariant",a.Qi,{values:["waveformBars","waveformLines","waveform","classic"],ensureValueDefined:!0}),this.input("waveformColor",a.O2,{alpha:!0,visibleBinding:"playerControlVariant",visible:e=>null===e||void 0===e?void 0:e.startsWith("waveform"),defaultValue:(null===(t=i.root)||void 0===t?void 0:t.accentColor)||(null===(l=i.colors)||void 0===l?void 0:l.accent),swatches:e.getUsedContentElementColors("waveformColor")}),this.input("remainingWaveformColor",a.O2,{alpha:!0,visibleBinding:"playerControlVariant",visible:e=>null===e||void 0===e?void 0:e.startsWith("waveform"),placeholder:o().t("pageflow_scrolled.editor.content_elements.inlineAudio.attributes.remainingWaveformColor.auto"),placeholderColor:n?"rgba(0, 0, 0, 0.5)":"#828282ed",swatches:e.getUsedContentElementColors("remainingWaveformColor")}),this.input("waveformCursorColor",a.O2,{alpha:!0,visibleBinding:"playerControlVariant",visible:e=>null===e||void 0===e?void 0:e.startsWith("waveform"),placeholder:o().t("pageflow_scrolled.editor.content_elements.inlineAudio.attributes.waveformCursorColor.auto"),placeholderColor:n?"#888":"#fff",swatches:e.getUsedContentElementColors("waveformCursorColor")}),this.input("invertPlayButton",r.CheckBoxInputView,{visibleBinding:"playerControlVariant",visible:e=>null===e||void 0===e?void 0:e.startsWith("waveform")}),this.view(a.VT),this.group("ContentElementPosition",{entry:e}),this.view(a.VT),this.group("ContentElementCaption",{entry:e}),this.group("ContentElementInlineFileRightsSettings")}))}});s.editor.contentElementTypes.register("videoEmbed",{pictogram:"data:image/svg+xml,%3c%3fxml version='1.0' encoding='utf-8'%3f%3e%3c!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg version='1.1' id='Youtube' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 20 20' enable-background='new 0 0 20 20' xml:space='preserve'%3e%3cpath fill='white' d='M10%2c2.3C0.172%2c2.3%2c0%2c3.174%2c0%2c10s0.172%2c7.7%2c10%2c7.7s10-0.874%2c10-7.7S19.828%2c2.3%2c10%2c2.3z M13.205%2c10.334 l-4.49%2c2.096C8.322%2c12.612%2c8%2c12.408%2c8%2c11.974V8.026C8%2c7.593%2c8.322%2c7.388%2c8.715%2c7.57l4.49%2c2.096 C13.598%2c9.85%2c13.598%2c10.15%2c13.205%2c10.334z'/%3e%3c/svg%3e",category:"media",supportedPositions:["inline","side","sticky","standAlone","left","right"],supportedWidthRange:["xxs","full"],supportedCaptions:!0,supportedStyles:["boxShadow","outline"],configurationEditor({entry:e}){this.tab("general",(function(){this.input("videoSource",a.cp,{supportedHosts:["http://youtu.be","https://youtu.be","http://www.youtube.com","https://www.youtube.com","http://vimeo.com","https://vimeo.com","http://www.facebook.com","https://www.facebook.com"],displayPropertyName:"displayVideoSource",required:!0,permitHttps:!0}),this.input("posterId",r.FileInputView,{collection:"image_files",fileSelectionHandler:"contentElementConfiguration",positioning:!1}),this.input("hideInfo",a.Ab),this.input("hideControls",a.Ab),this.input("aspectRatio",a.Qi,{values:["wide","narrow","square","portrait"]}),this.view(a.VT),this.input("atmoDuringPlayback",a.Qi,{values:["play","mute","turnDown"]}),this.view(a.VT),this.group("ContentElementPosition",{entry:e}),this.view(a.VT),this.group("ContentElementCaption",{entry:e})}))}});s.editor.contentElementTypes.register("soundDisclaimer",{pictogram:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3e%3c!--! Font Awesome Pro 6.1.1 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons%2c Inc. --%3e%3cpath fill='white' d='M412.6 181.9c-10.28-8.344-25.41-6.875-33.75 3.406c-8.406 10.25-6.906 25.37 3.375 33.78C393.5 228.4 400 241.8 400 256c0 14.19-6.5 27.62-17.81 36.87c-10.28 8.406-11.78 23.53-3.375 33.78c4.719 5.812 11.62 8.812 18.56 8.812c5.344 0 10.75-1.781 15.19-5.406C435.1 311.6 448 284.7 448 256S435.1 200.4 412.6 181.9zM301.2 34.84c-11.5-5.187-25.01-3.116-34.43 5.259L131.8 160H48c-26.51 0-48 21.49-48 47.1v95.1c0 26.51 21.49 47.1 48 47.1h83.84l134.9 119.9C272.7 477.2 280.3 480 288 480c4.438 0 8.959-.9313
113.16-2.837C312.7 472 320 460.6 320 448V64C320 51.41 312.7 39.1 301.2 34.84z'/%3e%3c/svg%3e",category:"media",supportedPositions:["inline"],configurationEditor({entry:e}){this.tab("general",(function(){this.input("mutedText",a.Z$,{placeholder:o().t("pageflow_scrolled.public.sound_disclaimer.help_muted",{locale:e.metadata.get("locale")})}),this.input("unmutedText",a.Z$,{placeholder:o().t("pageflow_scrolled.public.sound_disclaimer.help_unmuted",{locale:e.metadata.get("locale")})})}))}});const S=g().ItemView.extend({template:e=>`\n <form action="https://app.datawrapper.de/create/chart" method="GET" target="_blank">\n <input type="hidden" name="theme" value="pageflow" />\n <input type="submit" value="${o().t("pageflow_scrolled.editor.content_elements.dataWrapperChart.attributes.create_chart.label")}" />\n </form>\n `,className:"datawrapper_ad"});s.editor.contentElementTypes.register("dataWrapperChart",{category:"data",pictogram:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3e%3c!--! Font Awesome Pro 6.1.1 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons%2c Inc. --%3e%3cpath fill='white' d='M160 80C160 53.49 181.5 32 208 32H240C266.5 32 288 53.49 288 80V432C288 458.5 266.5 480 240 480H208C181.5 480 160 458.5 160 432V80zM0 272C0 245.5 21.49 224 48 224H80C106.5 224 128 245.5 128 272V432C128 458.5 106.5 480 80 480H48C21.49 480 0 458.5 0 432V272zM400 96C426.5 96 448 117.5 448 144V432C448 458.5 426.5 480 400 480H368C341.5 480 320 458.5 320 432V144C320 117.5 341.5 96 368 96H400z'/%3e%3c/svg%3e",supportedPositions:["inline","side","sticky","standAlone","left","right"],supportedWidthRange:["xxs","full"],supportedCaptions:!0,supportedStyles:["boxShadow","outline"],configurationEditor({entry:e}){this.tab("general",(function(){this.input("url",a.cp,{supportedHosts:["cf.datawrapper.de","charts.datawrapper.de","datawrapper.dwcdn.de","datawrapper.dwcdn.net"],displayPropertyName:"displayUrl",required:!0,permitHttps:!0}),this.view(S),this.input("title",a.Z$,{placeholder:o().t("pageflow_scrolled.public.chart.default_title")}),this.input("backgroundColor",a.O2,{defaultValue:"#323d4d"}),this.group("ContentElementPosition",{entry:e}),this.view(a.VT),this.group("ContentElementCaption",{entry:e})}))}});s.editor.contentElementTypes.register("inlineBeforeAfter",{pictogram:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e %3cpath fill='white' d='M 64%2c32 C 28.65%2c32 0%2c60.65 0%2c96 v 320 c 0%2c35.3 28.65%2c64 64%2c64 h 384 c 35.3%2c0 64%2c-28.7 64%2c-64 V 96 C 512%2c60.65 483.3%2c32 448%2c32 Z m 0%2c64 c 128%2c0 256%2c0 384%2c0 v 320 c -128%2c0 -256%2c0 -384%2c0 z m 182%2c28.52734 v 262.94532 h 22 V 124.52734 Z' /%3e %3cpath fill='white' d='m 186.81892%2c180.66143 c -12.25808%2c0.76551 -17.96668%2c13.50905 -26.61356%2c20.28687 -15.58075%2c16.39278 -33.16416%2c31.13354 -47.27512%2c48.79321 -4.0855%2c9.29219 2.78939%2c18.77866 10.09922%2c24.02983 19.1732%2c18.53891 37.00376%2c38.59231 57.19375%2c56.00728 11.59502%2c6.28738 27.33763%2c-7.35964 21.67579%2c-19.66992 -4.34142%2c-10.06283 -14.81383%2c-15.2758 -21.33624%2c-23.70538 -10.16266%2c-10.16266 -20.32532%2c-20.32532 -30.48798%2c-30.48798 16.9997%2c-17.81564 35.98195%2c-34.02522 51.5957%2c-53.07617 4.60995%2c-9.90721 -3.84461%2c-22.82682 -14.85156%2c-22.17774 z' /%3e %3cpath fill='white' d='m 325.18108%2c331.33857 c 12.25808%2c-0.76551 17.96668%2c-13.50905 26.61356%2c-20.28687 15.58075%2c-16.39278 33.16416%2c-31.13354 47.27512%2c-48.79321 4.0855%2c-9.29219 -2.78939%2c-18.77866 -10.09922%2c-24.02983 -19.1732%2c-18.53892 -37.00376%2c-38.59232 -57.19375%2c-56.00729 -11.59502%2c-6.28738 -27.33763%2c7.35964 -21.67579%2c19.66992 4.34142%2c10.06283 14.81383%2c15.2758 21.33624%2c23.70538 10.16266%2c10.16267 20.32532%2c20.32533 30.48798%2c30.48799 -16.9997%2c17.81564 -35.98195%2c34.02522 -51.5957%2c53.07617 -4.60995%2c9.90721 3.84461%2c22.82682 14.85156%2c22.17774 z' /%3e%3c/svg%3e",category:"interactive",supportedPositions:["inline","side","sticky","standAlone","left","right","backdrop"],supportedWidthRange:["xxs","full"],supportedCaptions:!0,supportedStyles:["boxShadow","outline"],configurationEditor({entry:e}){this.tab("general",(function(){this.input("before_id",r.FileInputView,{collection:"image_files",fileSelectionHandler:"contentElementConfiguration",positioning:!1,dropDownMenuItems:[s.InlineFileRightsMenuItem]}),this.input("before_label",a.Z$),this.input("after_id",r.FileInputView,{collection:"image_files",fileSelectionHandler:"contentElementConfiguration",positioning:!1,dropDownMenuItems:[s.InlineFileRightsMenuItem]}),this.input("after_label",a.Z$),this.input("initial_slider_position",a.ev),this.input("slider_color",r.ColorInputView),this.group("ContentElementPosition",{entry:e}),this.view(a.VT),this.group("ContentElementCaption",{entry:e}),this.group("ContentElementInlineFileRightsSettings")}))},defaultConfig:{initial_slider_position:50}});const T=g().AppRouter.extend({appRoutes:{"scrolled/external_links/:id/:link_id":"link"}}),M=r.EditConfigurationView.extend({translationKeyPrefix:"pageflow_scrolled.editor.content_elements.externalLinkList",containingCollection(){return this.options.collection},getConfigurationModel(){return this.model},goBackPath(){return`/scrolled/content_elements/${this.options.contentElement.get("id")}`},goBack(){this.options.contentElement.postCommand({type:"SET_SELECTED_ITEM",index:-1}),r.EditConfigurationView.prototype.goBack.call(this)},getActionsMenuItems(){return[new A({},{collection:this.options.collection,model:this.model})]},configure(e){const t=this.options.contentElement,i=t.configuration.get("thumbnailAspectRatio"),n=this.options.entry.getAspectRatio(i),l=t.configuration.get("thumbnailFit");e.tab("edit_link",(function(){this.input("thumbnail",r.FileInputView,{collection:"image_files",fileSelectionHandler:"contentElement.externalLinks.link",fileSelectionHandlerOptions:{contentElementId:t.get("id")},positioning:n&&"contain"!==l,positioningOptions:{preview:n&&1/n},dropDownMenuItems:[s.InlineFileRightsMenuItem]}
1),this.input("thumbnailBackgroundColor",a.O2),this.view(a.VT),this.view(r.InfoBoxView,{text:o().t("pageflow_scrolled.editor.content_elements.textBlock.help_texts.shortcuts")})}))}}),A=r.DestroyMenuItem.extend({translationKeyPrefix:"pageflow_scrolled.editor.content_elements.externalLinkList",destroyModel(){this.options.collection.remove(this.options.model)}}),B=p().Model.extend({modelName:"ExternalLink",i18nKey:"external_link",mixins:[r.transientReferences],thumbnailFile:function(){var e;return null===(e=this.thumbnail())||void 0===e?void 0:e.thumbnailFile()},thumbnail:function(){return this.collection.entry.getFileCollection("image_files").getByPermaId(this.get("thumbnail"))},title:function(){const e=this.collection.contentElement.configuration;var t;if("none"===e.get("textPosition"))return null===(t=this.thumbnail())||void 0===t?void 0:t.configuration.get("alt");{var i,n,o,s,l;const t=e.get("itemTexts");return(null===t||void 0===t||null===(i=t[this.id])||void 0===i?void 0:i.title)?null===t||void 0===t||null===(n=t[this.id])||void 0===n||null===(o=n.title[0])||void 0===o||null===(s=o.children)||void 0===s||null===(l=s[0])||void 0===l?void 0:l.text:this.get("title")}},getFilePosition:function(e,t){const i=this.get("thumbnailCropPosition");return i?i[t]:50},setFilePosition:function(e,t,i){this.set("thumbnailCropPosition",{...this.get("thumbnailCropPosition"),[t]:i})},setFilePositions:function(e,t,i){this.set("thumbnailCropPosition",{x:t,y:i})},highlight(){this.collection.contentElement.postCommand({type:"HIGHLIGHT_ITEM",index:this.collection.indexOf(this)})},resetHighlight(){this.collection.contentElement.postCommand({type:"RESET_ITEM_HIGHLIGHT"})}}),L=p().Collection.extend({model:B,comparator:"position",initialize:function(e,t){this.entry=t.entry,this.contentElement=t.contentElement,this.listenTo(this,"add sort change",this.updateConfiguration),this.listenTo(this,"remove",(()=>this.updateConfiguration({prune:!0})))},modelId:function(e){return e.id},updateConfiguration:function({prune:e}){let t={links:this.toJSON()};e&&(t={...t,...this.getPrunedProperty("itemTexts"),...this.getPrunedProperty("itemLinks")}),this.contentElement.configuration.set(t)},getPrunedProperty(e){return{[e]:h().pick(this.contentElement.configuration.get(e)||{},...this.pluck("id"))}},addNewLink(){const e=this.length?Math.max(...this.pluck("id"))+1:1;return this.add({id:e}),this.get(e)},saveOrder(){}});L.forContentElement=function(e,t){return new L(e.configuration.get("links")||[],{entry:t,contentElement:e})};const F=g().Controller.extend({initialize:function(e){this.entry=e.entry,this.region=e.region},link:function(e,t){const i=this.entry.contentElements.get(e),n=L.forContentElement(i,this.entry);this.region.show(new M({model:n.get(t),collection:n,entry:this.entry,contentElement:i}))}});function R(e,t){void 0===t&&(t={});var i=t.insertAt;if(e&&"undefined"!==typeof document){var n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===i&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}var D={linksContainer:"SidebarListView-module_linksContainer__HvWq-"};R(".SidebarListView-module_linksContainer__HvWq- {\n}\n");const z=g().Layout.extend({template:e=>`\n <label>${o().t("pageflow_scrolled.editor.content_elements.externalLinkList.items")}</label>\n <div class='${D.linksContainer}'></div>\n <button class="${s.buttonStyles.addButton}">\n ${o().t("pageflow_scrolled.editor.content_elements.externalLinkList.add")}\n </button>\n `,regions:a.IU.ui(D,"linksContainer"),events:a.IU.events(s.buttonStyles,{"click addButton":"addElement"}),onRender:function(){this.listenTo(this.options.contentElement.configuration,"change:textPosition",this.renderListView),this.renderListView()},renderListView(){this.linksContainer.show(new r.ListView({collection:this.collection,sortable:!0,highlight:!0,onEdit:h().bind(this.onEdit,this),onRemove:h().bind(this.onRemove,this)}))},addElement:function(){this.collection.addNewLink()},onEdit:function(e){this.options.contentElement.postCommand({type:"SET_SELECTED_ITEM",index:this.collection.indexOf(e)}),s.editor.navigate(`/scrolled/external_links/${this.options.contentElement.id}/${e.id}`,{trigger:!0})},onRemove:function(e){window.confirm(o().t("pageflow_scrolled.editor.content_elements.externalLinkList.confirm_delete_item"))&&this.collection.remove(e)}}),H=-1,N=0,O=1,$=2,U=3;function Q(e){return o().t(`${e}.label`,{scope:"pageflow_scrolled.editor.content_elements.externalLinkList.attributes"})}s.editor.registerSideBarRouting({router:T,controller:F}),s.editor.contentElementTypes.register("externalLinkList",{pictogram:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3e%3c!--! Font Awesome Pro 6.1.1 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons%2c Inc. --%3e%3cpath fill='white' d='M384 32H64C28.65 32 0 60.66 0 96v320c0 35.34 28.65 64 64 64h320c35.35 0 64-28.66 64-64V96C448 60.66 419.3 32 384 32zM344 312c0 17.69-14.31 32-32 32s-32-14.31-32-32V245.3l-121.4 121.4C152.4 372.9 144.2 376 136 376s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L234.8 200H168c-17.69 0-32-14.31-32-32s14.31-32 32-32h144c17.69 0 32 14.31 32 32V312z'/%3e%3c/svg%3e",category:"tilesAndLinks",supp
1ortedPositions:["inline","standAlone"],supportedWidthRange:["m","full"],supportedStyles:["boxShadow","outline"],defaultConfig:{thumbnailAspectRatio:"square",links:[{id:1},{id:2}]},editorPath(e){const t=e.transientState.get("selectedItemId");if(t)return`/scrolled/external_links/${e.id}/${t}`},configurationPlace(e,t){const[i,n,o]=t;if("links"!==i)return;const l=e.configuration.get("links")[n];return{label:Q(o),select(){e.postCommand({type:"SET_SELECTED_ITEM",index:Number(n)}),e.select({navigate:!1}),s.editor.navigate(`/scrolled/external_links/${e.id}/${l.id}`,{trigger:!0})}}},configurationEditor({entry:e,contentElement:t}){this.tab("general",(function(){const i=t.section.configuration.get("layout");this.view(z,{contentElement:this.model.parent,collection:L.forContentElement(this.model.parent,e)}),this.input("textPosition",a.Qi,{values:["below","right","overlay","none"]}),this.group("ContentElementVariant",{entry:e}),this.input("overlayOpacity",a.ev,{defaultValue:70,visibleBinding:"textPosition",visibleBindingValue:"overlay"}),this.view(a.VT),this.group("ContentElementPosition",{entry:e}),this.view(a.VT),this.input("enableScroller",a.Qi,{values:["never","always"]}),this.input("linkWidth",a.ev,{displayText:e=>["XS","S","M","L","XL","XXL"][e+2],saveOnSlide:!0,minValue:-2,maxValueBinding:["width","textPosition"],maxValue:([e,t])=>function({layout:e,textPosition:t,width:i}){return i=i||l.ee.md,"center"===e||"centerRagged"===e?"right"===t?{[l.ee.md]:N,[l.ee.lg]:O,[l.ee.xl]:$,[l.ee.full]:$}[i]:{[l.ee.md]:O,[l.ee.lg]:$,[l.ee.xl]:U,[l.ee.full]:U}[i]:"right"===t?{[l.ee.md]:H,[l.ee.lg]:N,[l.ee.xl]:$,[l.ee.full]:$}[i]:{[l.ee.md]:O,[l.ee.lg]:O,[l.ee.xl]:U,[l.ee.full]:U}[i]}({width:e,layout:i,textPosition:t}),defaultValue:-1}),this.input("linkAlignment",a.Qi,{values:["spaceEvenly","left","right","center"],visibleBinding:["textPosition","enableScroller"],visible:([e,t])=>"right"!==e&&"always"!==t}),this.input("linkAlignment",a.Qi,{values:["left"],disabled:!0,visibleBinding:["textPosition","enableScroller"],visible:([e,t])=>"right"!==e&&"always"===t}),this.input("thumbnailSize",a.Qi,{values:["small","medium","large"],visibleBinding:"textPosition",visibleBindingValue:"right"});const[n,o]=e.getAspectRatios({includeOriginal:!0});this.input("thumbnailAspectRatio",a.Qi,{values:n,texts:o}),this.input("thumbnailFit",a.Qi,{values:["cover","contain"]}),this.input("textSize",a.Qi,{values:["small","medium","large"]}),this.input("textAlign",a.Qi,{values:["left","right","center"]}),this.input("backfaces",a.Ab),this.input("displayButtons",a.Ab,{disabledBinding:"backfaces",displayCheckedIfDisabled:!0}),this.group("LinkButtonVariant",{entry:e,visibleBinding:["displayButtons","backfaces"],visible:([e,t])=>e||t}),this.group("ContentElementInlineFileRightsSettings")}))}}),s.editor.registerFileSelectionHandler("contentElement.externalLinks.link",(function(e){const t=e.entry.contentElements.get(e.contentElementId),i=L.forContentElement(t,e.entry);this.call=function(t){i.get(e.id).setReference("thumbnail",t)},this.getReferer=function(){return"/scrolled/external_links/"+t.id+"/"+e.id}}));const W="SET_MODE",G="DRAG",j="CLICK_HANDLE",Z="DRAG_HANDLE",q="DRAG_HANDLE_STOP",K="DOUBLE_CLICK_HANDLE",X="MOUSE_MOVE",J="DRAG_POTENTIAL_POINT",Y="DRAG_POTENTIAL_POINT_STOP",ee="CLICK_INDICATOR",te="DRAG_INDICATOR",ie="CENTER_INDICATOR",ne="UPDATE_SELECTION_POSITION",oe="BLUR_SELECTION_POSITION";function se(e,t){var i,n,o;switch(t.type){case W:return t.value===e.mode?e:"rect"===t.value?{...e,mode:"rect",previousPolygonPoints:e.points,points:he(e.points),selection:null}:{...e,mode:"polygon",points:e.previousPolygonPoints||e.points,selection:null};case G:let[s,l]=t.delta;return e.points.forEach((e=>{e[0]+s>100&&(s=100-e[0]),e[0]+s<0&&(s=-e[0]),e[1]+l>100&&(l=100-e[1]),e[1]+l<0&&(l=-e[1])})),{...e,points:e.points.map((e=>[e[0]+s,e[1]+l])),indicatorPosition:[e.indicatorPosition[0]+s,e.indicatorPosition[1]+l]};case j:return"polygon"===e.mode?{...e,selection:{type:"handle",index:t.index,position:ye(e.points[t.index])}}:{...e,selection:de(t.index,e.points)};case Z:return e=ce(e,t.index,t.cursor),{...e,indicatorPosition:fe(e.points,e.indicatorPosition)};case q:return{...e,startPoints:null};case K:if("polygon"!==e.mode||e.points.length<=3)return e;const a=[...e.points.slice(0,t.index),...e.points.slice(t.index+1)];return{...e,points:a,potentialPoint:null,indicatorPosition:fe(a,e.indicatorPosition),selection:null};case X:if("polygon"!==e.mode||e.draggingPotentialPoint)return e;const[r,c]=we(e.points,t.cursor);return{...e,potentialPointInsertIndex:r,potentialPoint:c};case J:return{...e,draggingPotentialPoint:!0,potentialPoint:t.cursor,selection:{type:"potentialPoint",position:ye(t.cursor)}};case Y:const d=ge(e);return{...e,points:d,draggingPotentialPoint:!1,potentialPoint:null,selection:{type:"handle",index:e.potentialPointInsertIndex,position:ye(d[e.potentialPointInsertIndex])}};case ee:return{...e,selection:{type:"indicator",position:ye(e.indicatorPosition)}};case te:const p=fe(e.points,t.cursor);return{...e,indicatorPosition:p,selection:{type:"indicator",position:ye(p)}};case ie:return{...e,indicatorPosition:ve(e.points)};case ne:return"indicator"===(null===(i=e.selection)||void 0===i?void 0:i.type)?{...e,indicatorPosition:fe(e.points,t.position),selection:{...e.selection,position:t.position}}:"handle"===(null===(n=e.selection)||void 0===n?void 0:n.type)?ce(e,e.selection.index,t.position.map((e=>Math.min(100,Math.max(0,e)))),t.position):e;case oe:return"indicator"===(null===(o=e.selection)||void 0===o?void 0:o.type)?{...e,selection:{...e.selection,position:e.indicatorPosition}}:e.selection?{...e,startPoints:null,selection:{...e.selection,position:re(e)[e.selection.index].point},indicatorPosition:fe(e.points,e.indicatorPosition)}:e;default:throw new Error(`Unknown action ${t.type}.`)}}function le(e){return e.draggingPotentialPoint?ge(e):e.points}const ae=["nwse-resize","ns-resize","nesw-resize","ew-resize"];function re(e){return"rect"===e.mode?e.points.flatMap(((t,i)=>[t,me(t,e.points[(i+1)%e.points.length])])).map(((e,t)=>({point:e,axis:t%4===1?"y":t%4===3?"x":null,cursor:ae[t%4],deletable:!1}))):e.points.map((t=>({point:t,circle:!0,cursor:"move",deletable:e.points.length>3})))}function ce(e,t,i,n){if("polygon"===e.mode)return{...e,points:[...e.points.slice(0,t),i,...e.points.slice(t+1)],selection:{type:"handle",index:t,position:n||ye(i)}};{const o=e.startPoints||("both"===pe(t)?[e.points[(t/2+2)%4]]:[e.points[(t+3)/2%4],e.points[(t+5)/2%4]]);i=function(e,t,i){const n=pe(e);return"x"===n?[t[0],i[(e-1)/2][1]]:"y"===n?[i[(e-1)/2][0],t[1]]:t}(t,i,e.points);const s=he([i,...o]);return{...e,startPoints:o,previousPolygonPoints:null,points:s,selection:de(ue(t,i,o),s,n)}}}function de(e,t,i){return{type:"handle",index:e,axis:pe(e),position:i||ye(e%2===0?t[e/2]:me(t[(e-1)/2],t[(e+1)/2%4]))}}function pe(e){return e%2===0?"both":(e-1)/2%2===0?"y":"x"}function ue(e,t,i){return(e>=0&&e<=3&&t[1]>i[0][1]||e>=4&&e<=6&&t[1]<i[0][1])&&(e=6-e),((0===e||e>=6)&&t[0]>i[0][0]||e>=2&&e<=4&&t[0]<i[0][0])&&(e=(10-e)%8),e}function ge(e){return[...e.points.slice(0,e.potentialPointInsertIndex),e.potentialPoint,...e.points.slice(e.potentialPointInsertIndex)]}function me(e,t){return[(e[0]+t[0])/2,(e[1]+t[1])/2]}function he(e){if(0===e.length)return null;let t=e[0][0],i=e[0][1],n=e[0][0],o=e[0][1];for(let s=1;s<e.length;s++){let[l,a]=e[s];l<t&&(t=l),l>n&&(n=l),a<i&&(i=a),a>o&&(o=a)}return[[t,i],[n,i],[n,o],[t,o]]}function fe(e,t){return function(e,t){let i=t[0],n=t[1],o=!1;for(let s=0,l=e.length-1;s<e.length;l=s++){let t=e[s][0],a=e[s][1],r=e[l][0],c=e[l][1];a>n!==c>n&&i<(r-t)*(n-a)/(c-a)+t&&(o=!o)}return o}(e,t)?t:we(e,t)[1]}function we(e,t,i=5){function n(e,t,i){const n=[t[0]-e[0],t[1]-e[1]],o=[i[0]-e[0],i[1]-e[1]],s=n[0]*n[0]+n[1]*n[1];if(0===s)return e;
1const l=(o[0]*n[0]+o[1]*n[1])/s;return l<0?e:l>1?t:[e[0]+l*n[0],e[1]+l*n[1]]}let o=null,s=1/0;for(let r=0;r<e.length;r++){const i=n(e[r],e[(r+1)%e.length],t),c=(l=t,a=i,Math.sqrt((l[0]-a[0])**2+(l[1]-a[1])**2));c<s&&(s=c,o=[r+1,i])}var l,a;return o}function ve(e){let t=0,i=0,n=0,o=0,s=0,l=0,a=0,r=0;for(let c=0;c<e.length-1;c++)o=e[c][0],s=e[c][1],l=e[c+1][0],a=e[c+1][1],r=o*a-l*s,n+=r,t+=(o+l)*r,i+=(s+a)*r;return o=e[e.length-1][0],s=e[e.length-1][1],l=e[0][0],a=e[0][1],r=o*a-l*s,n+=r,t+=(o+l)*r,i+=(s+a)*r,n*=.5,t/=6*n,i/=6*n,[t,i]}function ye(e){return e.map((e=>Math.round(10*e)/10))}var be={wrapper:"DraggableEditorView-module_wrapper__J8JLO",buttons:"DraggableEditorView-module_buttons__1Xob0",coordinates:"DraggableEditorView-module_coordinates__3dVEt",modeButtons:"DraggableEditorView-module_modeButtons__4wZBu",placeholderImage:"DraggableEditorView-module_placeholderImage__JyyId",image:"DraggableEditorView-module_image__1Ockp",portraitImage:"DraggableEditorView-module_portraitImage__2lYIE",overlay:"DraggableEditorView-module_overlay__3QLpM",handle:"DraggableEditorView-module_handle__9LHSy",circle:"DraggableEditorView-module_circle__35Pba",potential:"DraggableEditorView-module_potential__vxrma",indicator:"DraggableEditorView-module_indicator__23yQO",blink:"DraggableEditorView-module_blink__1SdQI",selected:"DraggableEditorView-module_selected__2bQtv"};R('.DraggableEditorView-module_wrapper__J8JLO {\n position: relative;\n display: inline-block;\n overflow: hidden;\n\n background-image:\n linear-gradient(45deg, var(--ui-on-surface-color-lighter) 25%, transparent 25%),\n linear-gradient(135deg, var(--ui-on-surface-color-lighter) 25%, transparent 25%),\n linear-gradient(45deg, transparent 75%, var(--ui-on-surface-color-lighter) 75%),\n linear-gradient(135deg, transparent 75%, var(--ui-on-surface-color-lighter) 75%);\n background-size: 16px 16px;\n background-position:0 0, 8px 0, 8px -8px, 0px 8px;\n}\n\n.DraggableEditorView-module_buttons__1Xob0 {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 10px 0;\n gap: 15px;\n}\n\n.DraggableEditorView-module_buttons__1Xob0 button {\n white-space: nowrap;\n}\n\n.DraggableEditorView-module_coordinates__3dVEt,\n.DraggableEditorView-module_coordinates__3dVEt label {\n display: flex;\n align-items: center;\n margin: 0;\n}\n\n.DraggableEditorView-module_coordinates__3dVEt {\n flex-wrap: wrap;\n justify-content: flex-end;\n}\n\n.DraggableEditorView-module_coordinates__3dVEt {\n gap: 10px;\n}\n\n.DraggableEditorView-module_coordinates__3dVEt label {\n gap: 5px;\n}\n\n.DraggableEditorView-module_coordinates__3dVEt input[disabled] {\n background-color: var(--ui-on-surface-color-lightest);\n}\n\n.DraggableEditorView-module_modeButtons__4wZBu {\n flex: 1;\n white-space: nowrap;\n}\n\n.DraggableEditorView-module_modeButtons__4wZBu button:first-child {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.DraggableEditorView-module_modeButtons__4wZBu button:last-child {\n margin-left: -1px;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.DraggableEditorView-module_modeButtons__4wZBu button[aria-pressed=true] {\n background-color: var(--ui-selection-color-light);\n}\n\n.DraggableEditorView-module_buttons__1Xob0 img {\n vertical-align: middle;\n margin-right: 6px;\n}\n\n.DraggableEditorView-module_placeholderImage__JyyId {\n aspect-ratio: 16 / 9;\n background-color: #000;\n}\n\n.DraggableEditorView-module_image__1Ockp {\n display: block;\n height: calc(100vh - 250px);\n max-height: 600px;\n min-height: 200px;\n}\n\n.DraggableEditorView-module_portraitImage__2lYIE {\n max-height: 1200px;\n}\n\n.DraggableEditorView-module_overlay__3QLpM {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n}\n\n.DraggableEditorView-module_overlay__3QLpM svg {\n position: absolute;\n width: 100%;\n height: 100%;\n}\n\n.DraggableEditorView-module_overlay__3QLpM polygon {\n vector-effect: non-scaling-stroke;\n stroke-width: 1px;\n stroke-linejoin: round;\n stroke: #fff;\n fill: transparent;\n opacity: 0.9;\n cursor: move;\n}\n\n.DraggableEditorView-module_handle__9LHSy {\n position: absolute;\n width: 10px;\n height: 10px;\n background-color: #fff;\n transform: translate(-50%, -50%);\n border: solid 1px var(--ui-primary-color);\n border-radius: 2px;\n opacity: 0.9;\n z-index: 2;\n}\n\n.DraggableEditorView-module_handle__9LHSy::before {\n content: "";\n position: absolute;\n top: 0;\n left: 0;\n width: 30px;\n height: 30px;\n margin: -10px 0 0 -10px;\n border-radius: 100%;\n z-index: 1;\n}\n\n.DraggableEditorView-module_circle__35Pba {\n border-radius: 100%;\n cursor: move;\n}\n\n.DraggableEditorView-module_potential__vxrma {\n opacity: 0;\n z-index: 1;\n cursor: default;\n}\n\n.DraggableEditorView-module_handle__9LHSy:hover {\n opacity: 1;\n}\n\n.DraggableEditorView-module_indicator__23yQO {\n --size: 15px;\n position: absolute;\n left: var(--center-x);\n top: var(--center-y);\n margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);\n border-radius: 50%;\n width: var(--size);\n height: var(--size);\n background-color: var(--color, #fff);\n transition: transform 0.2s ease;
1\n cursor: move;\n z-index: 3;\n}\n\n.DraggableEditorView-module_indicator__23yQO:hover {\n transform: scale(1.2);\n}\n\n.DraggableEditorView-module_indicator__23yQO::before {\n content: "";\n position: absolute;\n top: 0;\n left: 0;\n width: var(--size);\n height: var(--size);\n border-radius: 50%;\n background-color: #fff;\n animation: DraggableEditorView-module_blink__1SdQI 1s infinite;\n opacity: 0.3;\n z-index: -1;\n}\n\n.DraggableEditorView-module_selected__2bQtv {\n box-shadow: 0 0 0 3px var(--ui-selection-color),\n 0 0 0 4px var(--ui-primary-color-light);\n}\n\n@keyframes DraggableEditorView-module_blink__1SdQI {\n 0% {\n transform: scale(1.7);\n }\n\n 50% {\n transform: scale(2);\n }\n\n 100% {\n transform: scale(1.7);\n }\n}\n');var Ce="data:image/svg+xml,%3c%3fxml version='1.0' encoding='UTF-8' standalone='no'%3f%3e%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' version='1.1'%3e %3cpath d='m 243%2c25.5 c -3%2c3.6 -6%2c8.5 -6%2c14 V 129 l -8%2c-7 c -7%2c-8 -20%2c-8 -28%2c0 -7%2c7 -7%2c19 0%2c26 l 42%2c42 v 0 c 2%2c2 4%2c3 6%2c4 3%2c1 5%2c1 8%2c2 v 0 c 5%2c-1 10%2c-2 14%2c-6 l 41%2c-42 c 7%2c-7 7%2c-19 0%2c-26 -8%2c-8 -20%2c-8 -28%2c0 l -8%2c7 V 38.9 C 276%2c28.5 268%2c20 257%2c20 c -6%2c0 -11%2c2.4 -14%2c5.5 z' style='stroke-width:0.608' /%3e %3cpath d='m 486%2c243 c -4%2c-3 -8%2c-6 -14%2c-6 h -89 l 7%2c-8 c 8%2c-7 8%2c-21 0%2c-29 -7%2c-7 -19%2c-7 -26%2c0 l -42%2c43 v 0 c -2%2c2 -3%2c4 -4%2c6 -1%2c3 -1%2c5 -2%2c8 v 0 c 1%2c5 2%2c10 6%2c14 l 42%2c41 c 7%2c7 19%2c7 26%2c0 8%2c-8 8%2c-20 0%2c-28 l -7%2c-8 h 90 c 10%2c0 19%2c-8 19%2c-19 0%2c-6 -3%2c-11 -6%2c-14 z' style='stroke-width:0.608' /%3e %3cpath d='m 269%2c486 c 3%2c-4 6%2c-8 6%2c-14 v -89 l 8%2c7 c 7%2c8 21%2c8 29%2c0 7%2c-7 7%2c-19 0%2c-26 l -43%2c-42 v 0 c -2%2c-2 -4%2c-3 -6%2c-4 -3%2c-1 -5%2c-1 -8%2c-2 v 0 c -5%2c1 -10%2c2 -14%2c6 l -41%2c42 c -7%2c7 -7%2c19 0%2c26 8%2c8 20%2c8 28%2c0 l 8%2c-7 v 90 c 0%2c10 8%2c19 19%2c19 6%2c0 11%2c-3 14%2c-6 z' style='stroke-width:0.608' /%3e %3cpath d='m 26%2c269 c 4%2c3 8%2c6 14%2c6 h 89 l -7%2c8 c -8%2c7 -8%2c21 0%2c29 7%2c7 19%2c7 26%2c0 l 42%2c-43 v 0 c 2%2c-2 3%2c-4 4%2c-6 1%2c-3 1%2c-5 2%2c-8 v 0 c -1%2c-5 -2%2c-10 -6%2c-14 l -42%2c-41 c -7%2c-7 -19%2c-7 -26%2c0 -8%2c8 -8%2c20 0%2c28 l 7%2c8 H 39 c -10%2c0 -19%2c8 -19%2c19 0%2c6 3%2c11 6%2c14 z' style='stroke-width:0.608' /%3e%3c/svg%3e";const _e="pageflow_scrolled.editor.content_elements.hotspots.edit_area_dialog",xe=g().View.extend({render(){var e;return w.render(f.createElement(Ee,{imageSrc:null===(e=this.options.file)||void 0===e?void 0:e.getBackgroundPositioningImageUrl(),portrait:this.options.file&&this.options.file.get("width")<this.options.file.get("height"),indicatorColor:(0,l.Sj)(this.model.get(this.getPropertyName("color"))||this.model.get("color")),initialMode:this.model.get(this.getPropertyName("mode")),initialPoints:this.model.get(this.getPropertyName("outline")),initialIndicatorPosition:this.model.get(this.getPropertyName("indicatorPosition")),onModeChange:e=>this.mode=e,onPointsChange:e=>this.points=e,onIndicatorPositionChange:e=>this.indicatorPosition=e}),this.el),this},save(){this.mode&&this.model.set(this.getPropertyName("mode"),this.mode),this.points&&this.model.set(this.getPropertyName("outline"),this.points),this.indicatorPosition&&this.model.set(this.getPropertyName("indicatorPosition"),this.indicatorPosition)},getPropertyName(e){return this.options.portrait?`portrait${l.utils.capitalize(e)}`:e}});function Ee({imageSrc:e,portrait:t,indicatorColor:i,initialMode:n,initialPoints:s,initialIndicatorPosition:l,onModeChange:a,onPointsChange:r,onIndicatorPositionChange:c}){var d,p;const[u,g]=(0,f.useReducer)(se,{mode:n||"rect",points:s||[[40,40],[60,40],[60,60],[40,60]],indicatorPosition:l||[50,50]}),{mode:m,points:h,potentialPoint:w,indicatorPosition:v,selection:C}=u;(0,f.useEffect)((()=>{a(m)}),[a,m]),(0,f.useEffect)((()=>{r(h)}),[r,h]),(0,f.useEffect)((()=>{c(v)}),[c,v]);const _=(0,f.useRef)();function x(e){const t=_.current.getBoundingClientRect();return[Math.max(0,Math.min(100,(e.clientX-t.left)/t.width*100)),Math.max(0,Math.min(100,(e.clientY-t.top)/t.height*100))]}return f.createElement("div",null,f.createElement("div",{className:be.buttons},f.createElement(Ve,{mode:m,dispatch:g}),f.createElement(Te,{selection:C,onChange:e=>g({type:ne,position:e}),onBlur:()=>g({type:oe})}),f.createElement(Se,{onClick:()=>g({type:ie})})),f.createElement("div",{className:be.wrapper},e?f.createElement("img",{className:y()(be.image,{[be.portraitImage]:t}),src:e,alt:o().t(`${_e}.hotspots_image`)}):f.createElement("div",{className:y()(be.image,be.placeholderImage)}),f.createElement("div",{ref:_,className:be.overlay,onMouseMove:e=>g({type:X,cursor:x(e)})},f.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"none"},f.createElement(b.DraggableCore,{onDrag:(e,t)=>
1{const i=_.current.getBoundingClientRect();g({type:G,delta:[t.deltaX/i.width*100,t.deltaY/i.height*100]})}},f.createElement("polygon",{points:le(u).map((e=>e.map((e=>e)).join(","))).join(" ")}))),re(u).map(((e,t)=>{var i;return f.createElement(Pe,{key:t,point:e.point,selected:(null===(i=u.selection)||void 0===i?void 0:i.index)===t,axis:e.axis,cursor:e.cursor,circle:e.circle,title:e.deletable?o().t(`${_e}.double_click_to_delete`):null,onClick:e=>g({type:j,index:t}),onDoubleClick:e=>g({type:K,index:t}),onDrag:e=>g({type:Z,index:t,cursor:x(e)}),onDragStop:e=>g({type:q})})})),w&&f.createElement(Pe,{point:w,circle:!0,potential:!0,selected:"potentialPoint"===(null===(d=u.selection)||void 0===d?void 0:d.type),onDrag:e=>g({type:J,cursor:x(e)}),onDragStop:e=>g({type:Y})}),f.createElement(ke,{position:v,selected:"indicator"===(null===(p=u.selection)||void 0===p?void 0:p.type),color:i,onClick:e=>g({type:ee}),onDrag:e=>g({type:te,cursor:x(e)})}))))}const Ie={rect:"data:image/svg+xml,%3c%3fxml version='1.0' encoding='UTF-8' standalone='no'%3f%3e%3csvg xmlns='http://www.w3.org/2000/svg' id='svg4' version='1.1' viewBox='0 0 448 512'%3e %3cpath d='M 61.345703 63.888672 C 44.725703 63.888672 31.345703 77.268672 31.345703 93.888672 L 31.345703 417.57031 C 31.345703 434.19031 44.725703 447.57031 61.345703 447.57031 L 385.02734 447.57031 C 401.64734 447.57031 415.02734 434.19031 415.02734 417.57031 L 415.02734 93.888672 C 415.02734 77.268672 401.64734 63.888672 385.02734 63.888672 L 61.345703 63.888672 z M 106 127.80078 L 341.13867 127.80078 C 346.67867 127.80078 351.13867 132.26078 351.13867 137.80078 L 351.13867 372.93945 C 351.13867 378.47945 346.67867 382.93945 341.13867 382.93945 L 106 382.93945 C 100.46 382.93945 96 378.47945 96 372.93945 L 96 137.80078 C 96 132.26078 100.46 127.80078 106 127.80078 z ' fill='hsla(197%2c 26%25%2c 23%25%2c 0.8)' /%3e%3c/svg%3e",polygon:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3e%3c!--!Font Awesome Free 6.5.2 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons%2c Inc.--%3e%3cpath d='M96 151.4V360.6c9.7 5.6 17.8 13.7 23.4 23.4H328.6c0-.1 .1-.2 .1-.3l-4.5-7.9-32-56 0 0c-1.4 .1-2.8 .1-4.2 .1c-35.3 0-64-28.7-64-64s28.7-64 64-64c1.4 0 2.8 0 4.2 .1l0 0 32-56 4.5-7.9-.1-.3H119.4c-5.6 9.7-13.7 17.8-23.4 23.4zM384.3 352c35.2 .2 63.7 28.7 63.7 64c0 35.3-28.7 64-64 64c-23.7 0-44.4-12.9-55.4-32H119.4c-11.1 19.1-31.7 32-55.4 32c-35.3 0-64-28.7-64-64c0-23.7 12.9-44.4 32-55.4V151.4C12.9 140.4 0 119.7 0 96C0 60.7 28.7 32 64 32c23.7 0 44.4 12.9 55.4 32H328.6c11.1-19.1 31.7-32 55.4-32c35.3 0 64 28.7 64 64c0 35.3-28.5 63.8-63.7 64l-4.5 7.9-32 56-2.3 4c4.2 8.5 6.5 18 6.5 28.1s-2.3 19.6-6.5 28.1l2.3 4 32 56 4.5 7.9z' fill='hsla(197%2c 26%25%2c 23%25%2c 0.8)' /%3e%3c/svg%3e"};function Ve({mode:e,dispatch:t}){return f.createElement("div",{className:be.modeButtons},["rect","polygon"].map((i=>f.createElement("button",{key:i,type:"button",className:s.buttonStyles.secondaryIconButton,"aria-pressed":e===i,onClick:()=>t({type:W,value:i})},f.createElement("img",{src:Ie[i],alt:"",width:"20",height:"20"}),o().t(i,{scope:`${_e}.modes`})))))}function Pe({point:e,selected:t,circle:i,potential:n,title:o,cursor:s,onDrag:l,onDragStop:a,onClick:r,onDoubleClick:c}){return f.createElement(b.DraggableCore,{onDrag:l,onStop:a},f.createElement("div",{className:y()(be.handle,{[be.circle]:i,[be.selected]:t,[be.potential]:n}),tabIndex:"0",onClick:r,onDoubleClick:c,title:o,style:{left:`${e[0]}%`,top:`${e[1]}%`,cursor:s}}))}function ke({position:e,selected:t,color:i,onClick:n,onDrag:s}){return f.createElement(b.DraggableCore,{onDrag:s},f.createElement("div",{className:y()(be.indicator,{[be.selected]:t}),onClick:n,style:{left:`${e[0]}%`,top:`${e[1]}%`,"--color":i},title:o().t(`${_e}.indicator_title`)}))}function Se({onClick:e}){return f.createElement("button",{type:"button",className:s.buttonStyles.secondaryIconButton,onClick:e},f.createElement("img",{src:Ce,alt:"",width:"20",height:"20"}),o().t(`${_e}.centerIndicator`))}function Te({selection:e,onChange:t,onBlur:i}){if(!e)return null;const n=e.position;return f.createElement("div",{className:be.coordinates},f.createElement(Me,{label:"X",disabled:"y"===e.axis,value:n[0],onChange:e=>t([parseFloat(e.target.value||0),n[1]]),onBlur:i}),f.createElement(Me,{label:"Y",disabled:"x"===e.axis,value:n[1],onChange:e=>t([n[0],parseFloat(e.target.value||0)]),onBlur:i}))}function Me({disabled:e,label:t,value:i,onChange:n,onBlur:o}){return f.createElement("div",{className:y()({"input-disabled":e})},f.createElement("label",null,t,":",f.createElement("input",{type:"number",min:"0",max:"100",disabled:e,value:i,onClick:e=>
1e.target.focus(),onChange:n,onBlur:o}),"%"))}var Ae={box:"EditAreaDialogView-module_box__1IOYj",wrapper:"EditAreaDialogView-module_wrapper__F28hP",save:"EditAreaDialogView-module_save__1o3Qg"};R(".EditAreaDialogView-module_box__1IOYj {\n width: min-content;\n min-height: 310px;\n min-width: 400px;\n}\n\n.EditAreaDialogView-module_wrapper__F28hP {}\n\n.EditAreaDialogView-module_save__1o3Qg {}\n");const Be="pageflow_scrolled.editor.content_elements.hotspots.edit_area_dialog",Le=g().ItemView.extend({template:()=>`\n <div class="${s.dialogViewStyles.backdrop}">\n <div class="editor ${s.dialogViewStyles.box} ${Ae.box}">\n <h1 class="${s.dialogViewStyles.header}">\n ${o().t(`${Be}.header`)}\n </h1>\n\n <div class="${Ae.wrapper}">\n </div>\n\n <div class="${s.dialogViewStyles.footer}">\n <button class="${Ae.save} ${s.buttonStyles.saveButton}">\n ${o().t(`${Be}.save`)}\n </button>\n <button class="${s.dialogViewStyles.close}">\n ${o().t(`${Be}.cancel`)}\n </button>\n </div>\n </div>\n </div>\n `,mixins:[s.dialogView],ui:r.cssModulesUtils.ui(Ae,"wrapper"),events:r.cssModulesUtils.events(Ae,{"click save":function(){this.save(),this.close(),this.options.onSave&&this.options.onSave()}}),onRender(){if(this.options.portraitFile){const e=new a.S9({translationKeyPrefixes:[`${Be}.tabs`],defaultTab:this.options.defaultTab});this.editorViews=[new xe({model:this.model,file:this.options.file}),new xe({model:this.model,file:this.options.portraitFile,portrait:!0})],e.tab("default",(()=>this.editorViews[0])),e.tab("portrait",(()=>this.editorViews[1])),this.appendSubview(e,{to:this.ui.wrapper})}else this.editorViews=[new xe({model:this.model,file:this.options.file})],this.appendSubview(this.editorViews[0],{to:this.ui.wrapper})},save(){this.editorViews.forEach((e=>e.save()))}});Le.show=function(e){r.app.dialogRegion.show(new Le(e))};const Fe=p().Model.extend({mixins:[r.transientReferences],thumbnailFile(){var e;return null===(e=this.imageFile())||void 0===e?void 0:e.thumbnailFile()},title(){var e,t,i,n,o;const s=this.collection.contentElement.configuration.get("tooltipTexts");return null===s||void 0===s||null===(e=s[this.id])||void 0===e||null===(t=e.title)||void 0===t||null===(i=t[0])||void 0===i||null===(n=i.children)||void 0===n||null===(o=n[0])||void 0===o?void 0:o.text},imageFile(){return this.collection.entry.imageFiles.getByPermaId(this.get("activeImage"))},highlight(){this.collection.contentElement.postCommand({type:"HIGHLIGHT_AREA",index:this.collection.indexOf(this)})},resetHighlight(){this.collection.contentElement.postCommand({type:"RESET_AREA_HIGHLIGHT"})}});var Re={listContainer:"AreasListView-module_listContainer__1vyoU"};R(".AreasListView-module_listContainer__1vyoU {}\n");const De=g().Layout.extend({template:e=>`\n <div class='${Re.listContainer}'></div>\n <button class="${s.buttonStyles.addButton}">\n ${o().t("pageflow_scrolled.editor.content_elements.hotspots.areas.add")}\n </button>\n `,regions:a.IU.ui(Re,"listContainer"),events:a.IU.events(s.buttonStyles,{"click addButton":function(){const e=new Fe;Le.show({model:e,file:this.model.getImageFile("image"),portraitFile:this.model.getImageFile("portraitImage"),onSave:()=>this.collection.addWithId(e)})}}),onRender(){this.listContainer.show(new r.ListView({label:o().t("pageflow_scrolled.editor.content_elements.hotspots.areas.label"),collection:this.collection,sortable:!0,highlight:!0,onEdit:e=>{this.options.contentElement.postCommand({type:"SET_ACTIVE_AREA",index:this.collection.indexOf(e)}),s.editor.navigate(`/scrolled/hotspots/${this.options.contentElement.id}/${e.id}`,{trigger:!0})},onRemove:e=>{window.confirm(o().t("pageflow_scrolled.editor.content_elements.hotspots.areas.confirm_delete"))&&this.collection.remove(e)}}))}}),ze=p().Collection.extend({model:Fe,comparator:"position",initialize(e,t){this.entry=t.entry,this.contentElement=t.contentElement,this.listenTo(this,"add change sort",this.updateConfiguration),this.listenTo(this,"remove",(()=>this.updateConfiguration({pruneTooltips:!0})))},updateConfiguration({pruneTooltips:e}){let t={areas:this.toJSON()};e&&(t={...t,...this.getPrunedProperty("tooltipTexts"),...this.getPrunedProperty("tooltipLinks")}),this.contentElement.configuration.set(t)},getPrunedProperty(e){return{[e]:h().pick(this.contentElement.configuration.get(e)||{},...this.pluck("id"))}},addWithId(e){e.set("id",this.length?Math.max(...this.pluck("id"))+1:1),this.add(e)},saveOrder(){}});ze.forContentElement=function(e,t){return new ze(e.configuration.get("areas")||[],{entry:t,contentElement:e})};
1const He=g().AppRouter.extend({appRoutes:{"scrolled/hotspots/:id/:area_id":"area","scrolled/hotspots/:id/:area_id/:tab":"area"}});var Ne="AreaInputView-module_button__3LSo-";R(".AreaInputView-module_button__3LSo- {\n width: 100%;\n}\n");const Oe=g().Layout.extend({template:e=>`\n <label>\n <span class="name"></span>\n <span class="inline_help"></span>\n </label>\n <button class="${s.buttonStyles.targetButton} ${Ne}">\n ${o().t("pageflow_scrolled.editor.content_elements.hotspots.area_input.edit")}\n </button>\n `,mixins:[a.vV],events:a.IU.events(s.buttonStyles,{"click targetButton":function(){Le.show({model:this.model,file:this.options.file,portraitFile:this.options.portraitFile,defaultTab:this.options.defaultTab})}})});R('.SidebarEditAreaView-module_view__2AVKF .tabs_view-tabs > :nth-child(2) {\n margin-left: 5px;\n}\n\n.SidebarEditAreaView-module_view__2AVKF .tabs_view-tabs > :nth-child(2)::before {\n content: "\\203A";\n margin-left: -15px;\n margin-right: 10px;\n font-weight: normal;\n}\n');const $e=r.EditConfigurationView.extend({translationKeyPrefix:"pageflow_scrolled.editor.content_elements.hotspots.edit_area",className:"edit_configuration_view SidebarEditAreaView-module_view__2AVKF",containingCollection(){return this.options.collection},getConfigurationModel(){return this.model},defaultTab(){return this.options.tab||("phone"===this.options.entry.get("emulation_mode")?"portrait":"area")},goBackPath(){return`/scrolled/content_elements/${this.options.contentElement.get("id")}`},goBack(){this.options.contentElement.postCommand({type:"SET_ACTIVE_AREA",index:-1}),r.EditConfigurationView.prototype.goBack.call(this)},getActionsMenuItems(){return[new Ue({},{collection:this.options.collection,model:this.model})]},configure(e){const t=this.options,i=t.contentElement.configuration.getImageFile("image"),n=t.contentElement.configuration.getImageFile("portraitImage"),o="never"!==t.contentElement.configuration.get("enablePanZoom"),s=()=>setTimeout((()=>t.contentElement.postCommand({type:"SET_ACTIVE_AREA",index:t.collection.indexOf(this.model)})),200);i&&n&&(this.previousEmulationMode=t.entry.get("emulation_mode")||"desktop"),e.tab("area",(function(){i&&n&&t.entry.has("emulation_mode")&&(t.entry.unset("emulation_mode"),s()),this.input("area",Oe,{file:i,portraitFile:n}),this.input("activeImage",r.FileInputView,{collection:"image_files",fileSelectionHandler:"hotspotsArea",fileSelectionHandlerOptions:{contentElementId:t.contentElement.get("id"),tab:"area"},positioning:!1}),o&&this.input("zoom",a.ev),this.group("PaletteColor",{propertyName:"color",entry:t.entry}),this.input("tooltipReference",a.Qi,{values:["indicator","area"]}),this.input("tooltipPosition",a.Qi,{values:["below","above"]}),this.input("tooltipMaxWidth",a.Qi,{defaultValue:"medium",values:["wide","medium","narrow","veryNarrow"]}),this.view(a.VT),this.input("tooltipImage",r.FileInputView,{collection:"image_files",fileSelectionHandler:"hotspotsArea",fileSelectionHandlerOptions:{contentElementId:t.contentElement.get("id"),tab:"area"},positioning:!1}),this.input("tooltipTextAlign",a.Qi,{values:["left","right","center"]})})),n&&e.tab("portrait",(function(){i&&n&&!t.entry.has("emulation_mode")&&(t.entry.set("emulation_mode","phone"),s()),this.input("portraitArea",Oe,{file:i,portraitFile:n,defaultTab:"portrait"}),this.input("portraitActiveImage",r.FileInputView,{collection:"image_files",fileSelectionHandler:"hotspotsArea",fileSelectionHandlerOptions:{contentElementId:t.contentElement.get("id"),tab:"portrait"},positioning:!1}),o&&this.input("portraitZoom",a.ev),this.group("PaletteColor",{propertyName:"portraitColor",entry:t.entry}),this.input("portraitTooltipReference",a.Qi,{values:["indicator","area"]}),this.input("portraitTooltipPosition",a.Qi,{values:["below","above"]}),this.input("portraitTooltipMaxWidth",a.Qi,{defaultValue:"medium",values:["wide","medium","narrow","veryNarrow"]})}))}}),Ue=r.DestroyMenuItem.extend({translationKeyPrefix:"pageflow_scrolled.editor.content_elements.hotspots.edit_area",destroyModel(){this.options.collection.remove(this.options.model)}}),Qe=g().Controller.extend({initialize:function(e){this.entry=e.entry,this.region=e.region},area:function(e,t,i){const n=this.entry.contentElements.get(e),o=ze.forContentElement(n,this.entry);this.region.show(new $e({model:o.get(t),collection:o,entry:this.entry,contentElement:n,tab:i}))}});function We(e){return o().t(`${e}.label`,{scope:"pageflow_scrolled.editor.content_elements.hotspots.edit_area.attributes"})}s.editor.registerSideBarRouting({router:He,controller:Qe}),s.editor.contentElementTypes.register("hotspots",{pictogram:"data:image/svg+xml,%3c%3fxml version='1.0' encoding='UTF-8'%3f%3e%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' version='1.1'%3e %3cpath d='M 63.099609 32 C 28.639609 32 -0.009765625 60.65 -0.009765625 96 L -0.009765625 416 C -0.009765625 451.35 28.641797 480 63.091797 480 L 447.0918 480 C 482.4418 480 511.0918 451.35 511.0918 416 L 511.0918 96 C 511.1009 60.65 483.29961 32 447.09961 32 L 63.099609 32 z M 147.62305 91.271484 C 194.82656 91.271484 233.12305 127.19517 233.12305 171.47461 C 233.12305 207.98427 181.0205 272.98443 158.17578 299.80273 C 152.69839 306.19401 142.54575 306.19401 137.06836 299.80273 C 114.22363 272.98443 62.121094 207.98427 62.121094 171.47461 C 62.121094 127.19517 100.41953 91.271484 147.62305 91.271484 z M 147.62305 133.9043 A 38.686943 36.290436 0 0 0 108.93555 170.19336 A 38.686943 36.290436 0 0 0 147.62305 206.48438 A 38.686943 36.290436 0 0 0 186.30859 170.19336 A 38.686943 36.290436 0 0 0 147.62305 133.9043 z M 364.37695 207.4043 C 411.58047 207.4043 449.87891 243.32993 449.87891 287.60938 C 449.87891 324.11903 397.77637 389.11725 374.93164 415.93555 C 369.45425 422.32683 359.30162 422.32683 353.82422 415.93555 C 330.9795 389.11725 278.87695 324.11903 278.87695 287.60938 C 278.87695 243.32992 317.17343 207.4043 364.37695 207.4043 z M 364.37695 250.03711 A 38.686943 36.290436 0 0 0 325.69141 286.32617 A 38.686943 36.290436 0 0 0 364.37695 322.61719 A 38.686943 36.290436 0 0 0 403.06445 286.32617 A 38.686943 36.290436 0 0 0 364.37695 250.03711 z ' style='fill:white' /%3e%3c/svg%3e",category:"interactive",supportedPositions:["inline","side","sticky","standAlone","left","right","backdrop"],supportedWidthRange:["xxs","full"],supportedCaptions:!0,supportedStyles:["boxShadow","outline"],editorPath(e){const t=e.transientState.get("activeAreaId");if(t)return`/scrolled/hotspots/${e.id}/${t}`},configurationPlace(e,t){const[i]=t;return"areas"!==i?function(e){return{select(){e.postCommand({type:"SET_ACTIVE_AREA",index:-1}),e.select()}}}(e):function(e,[,t,i]){const n=e.configuration.get("areas")[t],o=i.startsWith("portrait")?"portrait":"area";return{label:We(i),select(){e.postCommand({type:"SET_ACTIVE_AREA",index:Number(t)}),e.select({navigate:!1}),s.editor.navigate(`/scrolled/hotspots/${e.id}/${n.id}/${o}`,{trigger:!0})}}}(e,t)},configurationEditor({entry:e,contentElement:t}){this.tab("general",(function(){this.input("image",r.FileInputView,{collection:"image_files",fileSelectionHandler:"contentElementConfiguration",positioning:!1,dropDownMenuItems:[s.InlineFileRightsMenuItem]}),this.input("portraitImage",r.FileInputView,{collection:"image_files",fileSelectionHandler:"contentElementConfiguration",positioning:!1}),this.view(De,{configuration:this.model,contentElement:t,collection:ze.forContentElement(t,e)}
1),this.input("invertTooltips",r.CheckBoxInputView),this.input("enablePanZoom",r.SelectInputView,{values:["never","phonePlatform","always"]}),this.view(r.SeparatorView),this.input("enableFullscreen",r.CheckBoxInputView,{disabledBinding:["position","width"],disabled:()=>t.getWidth()===l.ee.full||"backdrop"===t.getPosition(),displayUncheckedIfDisabled:!0}),this.group("ContentElementPosition",{entry:e}),this.view(r.SeparatorView),this.group("LinkButtonVariant",{entry:e}),this.group("ContentElementCaption",{entry:e}),this.group("ContentElementInlineFileRightsSettings")}))}}),s.editor.registerFileSelectionHandler("hotspotsArea",(function(e){const t=e.entry.contentElements.get(e.contentElementId),i=ze.forContentElement(t,e.entry);this.call=function(t){i.get(e.id).setReference(e.attributeName,t)},this.getReferer=function(){return"/scrolled/hotspots/"+t.id+"/"+e.id+"/"+e.tab}}));const Ge=["wide","narrow","square","portrait"];s.editor.contentElementTypes.register("vrImage",{pictogram:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3e%3c!--! Font Awesome Pro 6.1.1 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons%2c Inc. --%3e%3cpath fill='white' d='M578.2 66.06C409.8 116.6 230.2 116.6 61.8 66.06C31 56.82 0 79.88 0 112v319.9c0 32.15 30.1 55.21 61.79 45.97c168.4-50.53 347.1-50.53 516.4-.002C608.1 487.2 640 464.1 640 431.1V112C640 79.88 609 56.82 578.2 66.06zM128 224C110.3 224 96 209.7 96 192s14.33-32 32-32c17.68 0 32 14.33 32 32S145.7 224 128 224zM474.3 388.6C423.4 380.3 371.8 376 320 376c-50.45 0-100.7 4.043-150.3 11.93c-14.14 2.246-24.11-13.19-15.78-24.84l49.18-68.56C206.1 290.4 210.9 288 216 288s9.916 2.441 12.93 6.574l32.46 44.51l93.3-139.1C357.7 194.7 362.7 192 368 192s10.35 2.672 13.31 7.125l109.1 165.1C498.1 375.9 488.1 390.8 474.3 388.6z'/%3e%3c/svg%3e",category:"interactive",supportedPositions:["inline","side","sticky","standAlone","left","right","backdrop"],supportedWidthRange:["xxs","full"],supportedCaptions:!0,supportedStyles:["boxShadow","outline"],configurationEditor({entry:e}){this.tab("general",(function(){this.input("image",r.FileInputView,{collection:"image_files",fileSelectionHandler:"contentElementConfiguration",filter:"with_projection",positioning:!1,dropDownMenuItems:[s.InlineFileRightsMenuItem]}),this.input("initialYaw",r.SliderInputView,{unit:"\xb0",minValue:-180,maxValue:180}),this.input("initialPitch",r.SliderInputView,{unit:"\xb0",minValue:-60,maxValue:60}),this.input("aspectRatio",r.SelectInputView,{includeBlank:!0,blankTranslationKey:"pageflow_scrolled.editor.content_elements.vrImage.attributes.aspectRatio.blank",values:Ge}),this.input("portraitAspectRatio",r.SelectInputView,{includeBlank:!0,blankTranslationKey:"pageflow_scrolled.editor.content_elements.vrImage.attributes.portraitAspectRatio.blank",values:Ge}),this.view(r.SeparatorView),this.group("ContentElementPosition",{entry:e}),this.view(r.SeparatorView),this.group("ContentElementCaption",{entry:e}),this.group("ContentElementInlineFileRightsSettings")}))}}),s.editor.fileTypes.modify("image_files",{configurationEditorInputs:e=>[{name:"projection",inputView:r.SelectInputView,inputViewOptions:{includeBlank:!0,values:["equirectangular_mono","equirectangular_stereo"]}}],confirmUploadTableColumns:[{name:"projection",cellView:r.EnumTableCellView}],filters:[{name:"with_projection",matches:function(e){return!!e.configuration.get("projection")}}]});const je=["wide","narrow","square","portrait"];s.editor.contentElementTypes.register("iframeEmbed",{pictogram:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3e%3c!--! Font Awesome Pro 6.1.1 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons%2c Inc. --%3e%3cpath fill='white' d='M414.8 40.79L286.8 488.8C281.9 505.8 264.2 515.6 247.2 510.8C230.2 505.9 220.4 488.2 225.2 471.2L353.2 23.21C358.1 6.216 375.8-3.624 392.8 1.232C409.8 6.087 419.6 23.8 414.8 40.79H414.8zM518.6 121.4L630.6 233.4C643.1 245.9 643.1 266.1 630.6 278.6L518.6 390.6C506.1 403.1 485.9 403.1 473.4 390.6C460.9 378.1 460.9 357.9 473.4 345.4L562.7 256L473.4 166.
16C460.9 154.1 460.9 133.9 473.4 121.4C485.9 108.9 506.1 108.9 518.6 121.4V121.4zM166.6 166.6L77.25 256L166.6 345.4C179.1 357.9 179.1 378.1 166.6 390.6C154.1 403.1 133.9 403.1 121.4 390.6L9.372 278.6C-3.124 266.1-3.124 245.9 9.372 233.4L121.4 121.4C133.9 108.9 154.1 108.9 166.6 121.4C179.1 133.9 179.1 154.1 166.6 166.6V166.6z'/%3e%3c/svg%3e",category:"interactive",featureName:"iframe_embed_content_element",supportedPositions:["inline","side","sticky","standAlone","left","right"],supportedWidthRange:["xxs","full"],supportedCaptions:!0,supportedStyles:["boxShadow","outline"],configurationEditor({entry:e}){this.tab("general",(function(){this.input("source",a.Z$,{maxLength:2e3}),this.input("requireConsent",a.Ab),this.view(r.InfoBoxView,{level:"error",text:o().t("pageflow_scrolled.editor.content_elements.iframeEmbed.help_texts.missingConsentVendor"),visibleBinding:["source","requireConsent"],visible:([t,i])=>t&&i&&!e.consentVendors.fromUrl(t)}),this.input("title",a.Z$),this.input("aspectRatio",a.Qi,{values:je,disabledBinding:"autoResize"}),this.input("portraitAspectRatio",a.Qi,{includeBlank:!0,blankTranslationKey:"pageflow_scrolled.editor.content_elements.iframeEmbed.attributes.portraitAspectRatio.blank",values:je,disabledBinding:"autoResize"}),this.input("autoResize",a.Ab),this.view(r.InfoBoxView,{level:"info",text:o().t("pageflow_scrolled.editor.content_elements.iframeEmbed.help_texts.autoResize"),visibleBinding:"autoResize"}),this.input("scale",a.Qi,{values:["p100","p75","p50","p33"]}),this.group("ContentElementPosition",{entry:e}),this.view(a.VT),this.group("ContentElementCaption",{entry:e})}))}});var Ze={listContainer:"ItemsListView-module_listContainer__2XDCy"};R(".ItemsListView-module_listContainer__2XDCy {\n}\n");const qe=g().Layout.extend({template:e=>`\n <div class='${Ze.listContainer}'></div>\n <button class="${s.buttonStyles.addButton}">\n ${o().t("pageflow_scrolled.editor.content_elements.imageGallery.items.add")}\n </button>\n `,regions:a.IU.ui(Ze,"listContainer"),events:a.IU.events(s.buttonStyles,{"click addButton":function(){this.collection.selectImage()}}),onRender(){this.listContainer.show(new r.ListView({label:o().t("pageflow_scrolled.editor.content_elements.imageGallery.items.label"),collection:this.collection,sortable:!0,onEdit:e=>{this.options.contentElement.postCommand({type:"SET_CURRENT_ITEM",index:this.collection.indexOf(e)}),s.editor.navigate(`/scrolled/imageGalleries/${this.options.contentElement.id}/${e.id}`,{trigger:!0})},onRemove:e=>this.collection.remove(e)}))}}),Ke=p().Model.extend({mixins:[r.transientReferences],thumbnailFile(){var e;return null===(e=this.imageFile())||void 0===e?void 0:e.thumbnailFile()},title(){var e;return null===(e=this.imageFile())||void 0===e?void 0:e.title()},imageFile(){return this.collection.entry.imageFiles.getByPermaId(this.get("image"))}}),Xe=p().Collection.extend({model:Ke,comparator:"position",initialize(e,t){this.entry=t.entry,this.contentElement=t.contentElement,this.listenTo(this,"add change remove sort",this.updateConfiguration),this.listenTo(this,"remove",this.pruneCaptions)},updateConfiguration(){this.contentElement.configuration.set("items",this.toJSON())},pruneCaptions(){this.contentElement.configuration.set("captions",h().pick(this.contentElement.configuration.get("captions")||{},...this.pluck("id")))},selectImage(){r.editor.selectFile("image_files","newImageGalleryItem",{id:this.contentElement.id})},addWithId(e){this.add({id:this.length?Math.max(...this.pluck("id"))+1:1,image:e.get("perma_id")})},saveOrder(){}});Xe.forContentElement=function(e,t){return new Xe(e.configuration.get("items")||[],{entry:t,contentElement:e})};r.editor.registerFileSelectionHandler("newImageGalleryItem",(function(e){const t=e.entry.contentElements.get(e.id);this.call=function(e){Xe.forContentElement(t).addWithId(e)},this.getReferer=function(){return"/scrolled/content_elements/"+t.id}}));const Je=g().AppRouter.extend({appRoutes:{"scrolled/imageGalleries/:id/:item_id":"item"}}),Ye=r.EditConfigurationView.extend({translationKeyPrefix:"pageflow_scrolled.editor.content_elements.imageGallery.edit_item",containingCollection(){return this.options.collection},getConfigurationModel(){return this.model},goBackPath(){return`/scrolled/content_elements/${this.options.contentElement.get("id")}`},getActionsMenuItems(){return[new et({},{collection:this.options.collection,model:this.model})]},configure(e){const t=this.options.contentElement;e.tab("item",(function(){this.input("image",r.FileInputView,{collection:"image_files",fileSelectionHandler:"imageGalleryItem",fileSelectionHandlerOptions:{contentElementId:t.get("id")},positioning:!1}),this.input("portraitImage",r.FileInputView,{collection:"image_files",fileSelectionHandler:"imageGalleryItem",fileSelectionHandlerOptions:{contentElementId:t.get("id")},positioning:!1})}
1))}}),et=r.DestroyMenuItem.extend({translationKeyPrefix:"pageflow_scrolled.editor.content_elements.imageGallery.edit_item",destroyModel(){this.options.collection.remove(this.options.model)}}),tt=g().Controller.extend({initialize:function(e){this.entry=e.entry,this.region=e.region},item:function(e,t){const i=this.entry.contentElements.get(e),n=Xe.forContentElement(i,this.entry);this.region.show(new Ye({model:n.get(t),collection:n,entry:this.entry,contentElement:i}))}});function it(e){return o().t(`${e}.label`,{scope:"pageflow_scrolled.editor.content_elements.imageGallery.edit_item.attributes"})}s.editor.registerSideBarRouting({router:Je,controller:tt}),s.editor.contentElementTypes.register("imageGallery",{pictogram:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3e%3c!--! Font Awesome Pro 6.4.0 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons%2c Inc. --%3e%3cpath fill='white' d='M160 32c-35.3 0-64 28.7-64 64V320c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H160zM396 138.7l96 144c4.9 7.4 5.4 16.8 1.2 24.6S480.9 320 472 320H328 280 200c-9.2 0-17.6-5.3-21.6-13.6s-2.9-18.2 2.9-25.4l64-80c4.6-5.7 11.4-9 18.7-9s14.2 3.3 18.7 9l17.3 21.6 56-84C360.5 132 368 128 376 128s15.5 4 20 10.7zM192 128a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zM48 120c0-13.3-10.7-24-24-24S0 106.7 0 120V344c0 75.1 60.9 136 136 136H456c13.3 0 24-10.7 24-24s-10.7-24-24-24H136c-48.6 0-88-39.4-88-88V120z'/%3e%3c/svg%3e",category:"media",supportedPositions:["inline","side","sticky","standAlone","left","right"],supportedWidthRange:["xxs","full"],supportedCaptions:{disableWhenNoCaption:!1},supportedStyles:["boxShadow","outline"],configurationPlace(e,t){const[i,n,o]=t;if("items"!==i)return;const l=e.configuration.get("items")[n];return{label:it(o),select(){e.postCommand({type:"SET_CURRENT_ITEM",index:Number(n)}),e.select({navigate:!1}),s.editor.navigate(`/scrolled/imageGalleries/${e.id}/${l.id}`,{trigger:!0})}}},configurationEditor({entry:e,contentElement:t}){this.tab("general",(function(){this.view(qe,{contentElement:t,collection:Xe.forContentElement(this.model.parent,e)}),this.input("displayPeeks",r.CheckBoxInputView,{storeInverted:"hidePeeks"}),this.input("displayPaginationIndicator",r.CheckBoxInputView),this.input("enableFullscreenOnDesktop",r.CheckBoxInputView,{disabledBinding:["position","width"],disabled:()=>t.getWidth()===l.ee.full,displayUncheckedIfDisabled:!0}),this.group("ContentElementPosition",{entry:e}),this.view(r.SeparatorView),this.group("ContentElementCaption",{entry:e,disableWhenNoCaption:!1}),this.group("ContentElementInlineFileRightsSettings",{entry:e,disableWhenNoFileRights:!1})}))},defaultConfig:{displayPaginationIndicator:!0}}),s.editor.registerFileSelectionHandler("imageGalleryItem",(function(e){const t=e.entry.contentElements.get(e.contentElementId),i=Xe.forContentElement(t,e.entry);this.call=function(t){i.get(e.id).setReference(e.attributeName,t)},this.getReferer=function(){return"/scrolled/imageGalleries/"+t.id+"/"+e.id}}));const nt=r.UploadableFile.extend({isPositionable:function(){return this.isReady()}});C.J.setWasmUrl(_);const ot=g().ItemView.extend({ui:{canvas:"canvas"},onRender:function(){this.$el.css("visibility","hidden"),this.player=new C.J({canvas:this.ui.canvas[0],src:this.model.get("original_url"),renderConfig:{autoResize:!0},...this.playerOptions()}),this.player.addEventListener("load",(()=>{this.onAnimationLoad(),this.player.resize(),this.$el.css("visibility","")}))},playerOptions:function(){return{}},onAnimationLoad:function(){},onClose:function(){this.player.destroy()}});var st={cover:"LottieFilePositioningView-module_cover__3ZKEB",contain:"LottieFilePositioningView-module_contain__2UeDA",canvas:"LottieFilePositioningView-module_canvas__3OxWg"};R(".LottieFilePositioningView-module_cover__3ZKEB {\n display: block;\n width: 100%;\n height: 100%;\n}\n\n/* A max height would squash the canvas instead of scaling it down,\n since the aspect ratio only determines the height before it is\n clamped. Limiting the width covers both directions. */\n.LottieFilePositioningView-module_contain__2UeDA {\n display: block;\n width: var(--positioning-width, 100%);\n max-width: min(var(--positioning-max-width, 100%),\n var(--positioning-max-height, 100vh) *\n var(--positioning-aspect-ratio, 1));\n aspect-ratio: var(--positioning-aspect-ratio, 1);\n}\n\n.LottieFilePositioningView-module_canvas__3OxWg {\n display: block;\n width: 100%;\n height: 100%;\n}\n");const lt=ot.extend({template:()=>`<canvas class="${st.canvas}"></canvas>`,className:function(){return st[this.options.fit]},playerOptions:function(){return{autoplay:!0,loop:!0,layout:this.layout()}},setPosition:function(e,t){this.align=[e/100,t/100],this.player.setLayout(this.layout())},onAnimationLoad:function(){this.player.setLayout(this.layout()),this.applyDimensions()},layout:function(){return{fit:this.options.fit,align:this.align}},applyDimensions:function(){var e=this.player.animationSize();e.width&&e.height&&(this.el.style.setProperty("--positioning-aspect-ratio",""+e.width/e.height),this.el.style.setProperty("--positioning-width",`${e.width}px`))}});var at="LottieFilePreviewView-module_canvas__h1U-D";R("/* Scaled down to whatever height the overlay has left, just like the\n image and video previews. The player keeps the animation centered\n inside the canvas, so a clamped height only adds transparent space\n left and right. */\n.LottieFilePreviewView-module_canvas__h1U-D {\n display: block;\n width: 100%;\n max-width: var(--preview-width, 100%);\n max-height: var(--preview-max-height, none);\n margin: 0 auto;\n aspect-ratio: var(--preview-aspect-ratio, 1);\n}\n");const rt=ot.extend({template:()=>`<canvas class="${at}"></canvas>`,className:"file_preview",playerOptions:function(){return{autoplay:!0,loop:!0}},onAnimationLoad:function(){var e=this.player.animationSize();e.width&&e.height&&(this.ui.canvas[0].style.setProperty("--preview-aspect-ratio",`${e.width} / ${e.height}`),this.ui.canvas[0].style.setProperty("--preview-width",`${e.width}px`))}});
1var ct="LottieFileThumbnailView-module_thumbnail__2joie",dt="LottieFileThumbnailView-module_canvas__1Aby1";R(".LottieFileThumbnailView-module_thumbnail__2joie,\n.LottieFileThumbnailView-module_canvas__1Aby1 {\n display: block;\n width: 100%;\n height: 100%;\n}\n");const pt=ot.extend({template:()=>`<canvas class="${dt}"></canvas>`,className:ct,playerOptions:function(){return{autoplay:!1,layout:{fit:"cover"}}},onAnimationLoad:function(){this.player.setFrame(this.player.totalFrames-1)}});s.editor.fileTypes.register("lottie_files",{model:nt,positioningView:lt,previewView:rt,thumbnailView:pt,metaDataAttributes:[r.altMetaDataAttribute],configurationEditorInputs:[r.altConfigurationEditorInput],matchUpload:e=>/\.lottie$/i.test(e.name)});const ut=["loop","playOnce","scroll"],gt=["onActivate","onVisible"],mt=["cover","contain","inFocus","entry"],ht=["sticky","standAlone"],ft=["cover","contain","inFocusWhenPinned","entry"].map((e=>`pageflow_scrolled.editor.content_elements.lottieAnimation.attributes.scrollRange.values.${e}`));function wt(e){return ht.includes(e.getResolvedPosition())}function vt(e){return{position:()=>e.getResolvedPosition(),sectionLayout:()=>e.section.configuration.get("layout")}}s.editor.contentElementTypes.register("lottieAnimation",{pictogram:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3cpath fill='white' d='M400 176a72 72 0 1 1-144 0 72 72 0 0 1 144 0zM240 288a44 44 0 1 1-88 0 44 44 0 0 1 88 0zM136 384a28 28 0 1 1-56 0 28 28 0 0 1 56 0zM72 448a16 16 0 1 1-32 0 16 16 0 0 1 32 0z'/%3e%3c/svg%3e",category:"media",featureName:"lottie_animation_content_element",supportedPositions:["inline","side","sticky","standAlone","left","right"],supportedWidthRange:["xxs","full"],supportedCaptions:!0,supportedStyles:["boxShadow","outline"],defaultConfig:{playbackMode:"loop"},defaultsInputs(){this.input("playbackMode",a.Qi,{values:ut})},configurationEditor({entry:e,contentElement:t}){this.tab("general",(function(){this.input("id",r.FileInputView,{collection:"lottie_files",fileSelectionHandler:"contentElementConfiguration",positioning:e=>!!(0,l.UU)(e).aspectRatio,positioningBinding:"imageModifiers",positioningOptions:()=>{const{aspectRatio:t}=(0,l.UU)(this.model.get("imageModifiers"));return{preview:t&&1/e.getAspectRatio(t)}},dropDownMenuItems:[s.InlineFileRightsMenuItem]}),this.input("imageModifiers",s.ImageModifierListInputView,{entry:e,visibleBinding:"id",visible:()=>this.model.getReference("id","lottie_files")}),this.input("playbackMode",a.Qi,{values:ut}),this.input("startAnimationTrigger",s.PlaybackStartSelectInputView,{values:gt,...vt(t),visibleBinding:"playbackMode",visible:e=>"playOnce"===e}),this.input("scrollRange",s.ScrollRangeSelectInputView,{values:mt,...vt(t),visibleBinding:["playbackMode","position"],visible:([e])=>"scroll"===e&&!wt(t)}),this.input("scrollRange",s.ScrollRangeSelectInputView,{values:mt,translationKeys:ft,...vt(t),visibleBinding:["playbackMode","position"],visible:([e])=>"scroll"===e&&wt(t)}),this.view(a.VT),this.group("ContentElementPosition",{entry:e}),this.view(a.VT),this.group("ContentElementCaption",{entry:e}),this.group("ContentElementInlineFileRightsSettings")}))}});function yt(e){var t=(new DOMParser).parseFromString(e.html,"text/html").querySelector("blockquote.bluesky-embed");if(t){var i=t.getAttribute("data-bluesky-uri");if(i)return i}return e.url}s.editor.contentElementTypes.register("socialEmbed",{pictogram:"data:image/svg+xml,%3csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e %3cpath fill='white' d='m 63.5%2c52 c -35%2c0 -63%2c29 -63%2c64 v 280 c 0%2c35 28%2c64 63%2c64 H 447 c 35%2c0 65%2c-29 65%2c-64 V 116 C 512%2c81 483%2c52 447%2c52 Z m 78.5%2c80 c 51%2c0 93%2c42 93%2c93 0%2c51 -42%2c93 -93%2c93 -51.4%2c0 -93%2c-42 -93%2c-93 0%2c-51 41.6%2c-93 93%2c-93 z m 172%2c15 h 113 c 19%2c0 34%2c15 34%2c34 0%2c19 -15%2c34 -34%2c34 H 314 c -19%2c0 -34%2c-15 -34%2c-34 0%2c-19 15%2c-34 34%2c-34 z m -13%2c111 h 116 c 11%2c0 21%2c10 21%2c2
11 0%2c12 -10%2c22 -21%2c22 H 301 c -11%2c0 -21%2c-10 -21%2c-22 0%2c-11 10%2c-21 21%2c-21 z'/%3e%3c/svg%3e",category:"media",supportedPositions:["inline","side","sticky","standAlone","left","right"],featureName:"social_embed_content_element",defaultConfig:{provider:"bluesky"},configurationEditor({entry:e}){this.tab("general",(function(){this.input("provider",a.Qi,{values:["bluesky","instagram","tiktok","x"]}),this.input("url",r.OembedUrlInputView,{displayPropertyName:"displayPostId",providerNameProperty:"provider",providers:{bluesky:{supportedHosts:["bsky.app","bsky.social"],transform:yt},instagram:{supportedHosts:["instagram.com","www.instagram.com"],skipOembedValidation:!0},x:{supportedHosts:["twitter.com","www.twitter.com","x.com","www.x.com"],skipOembedValidation:!0},tiktok:{supportedHosts:["https://www.tiktok.com"],skipOembedValidation:!0}}}),this.group("ContentElementPosition",{entry:e}),this.input("hideConversation",a.Ab,{visibleBinding:"provider",visibleBindingValue:"x"}),this.input("hideMedia",a.Ab,{visibleBinding:"provider",visibleBindingValue:"x"})}))}});s.editor.contentElementTypes.register("twitterEmbed",{pictogram:"data:image/svg+xml,%3csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e %3cpath fill='white' d='M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z'/%3e%3c/svg%3e",category:"media",featureName:"legacy_social_embed_content_elements",supportedPositions:["inline","side","sticky","standAlone","left","right"],configurationEditor({entry:e}){this.tab("general",(function(){this.input("url",a.cp,{supportedHosts:["http://twitter.com","https://twitter.com","http://x.com","https://x.com"],displayPropertyName:"displayTweetId",required:!0,permitHttps:!0}),this.group("ContentElementPosition",{entry:e}),this.input("hideConversation",a.Ab),this.input("hideMedia",a.Ab)}))},defaultConfig:{caption:"Add caption here"}});s.editor.contentElementTypes.register("tikTokEmbed",{pictogram:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3e%3c!--!Font Awesome Free 6.5.2 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons%2c Inc.--%3e%3cpath fill='white' d='M448 209.9a210.1 210.1 0 0 1 -122.8-39.3V349.4A162.6 162.6 0 1 1 185 188.3V278.2a74.6 74.6 0 1 0 52.2 71.2V0l88 0a121.2 121.2 0 0 0 1.9 22.2h0A122.2 122.2 0 0 0 381 102.4a121.4 121.4 0 0 0 67 20.1z'/%3e%3c/svg%3e",category:"media",featureName:"legacy_social_embed_content_elements",supportedPositions:["inline","side","sticky","standAlone","left","right"],supportedWidthRange:["md","full"],configurationEditor({entry:e}){this.tab("general",(function(){this.input("url",a.cp,{supportedHosts:["https://www.tiktok.com"],displayPropertyName:"displayUrl",required:!0,permitHttps:!0}),this.group("ContentElementPosition",{entry:e})}))},defaultConfig:{}});s.editor.contentElementTypes.register("question",{pictogram:"data:image/svg+xml,%3c%3fxml version='1.0' encoding='UTF-8' standalone='no'%3f%3e%3csvg xmlns:svg='http://www.w3.org/2000/svg' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' version='1.1'%3e %3cpath style='fill:white%3bstroke-width:1.0715934' d='M 154.45629%2c72.962988 C 141.76916%2c73.980674 134.17753%2c85.77696 126.39089%2c94.31369 115.08265%2c105.89861 104.03984%2c117.73757 92.93941%2c129.52047 75.031239%2c111.21828 59.122369%2c90.77981 39.104383%2c74.658023 24.482281%2c67.834512 6.4140221%2c83.81238 10.775786%2c99.1746 c 2.708951%2c12.98866 15.286417%2c19.97415 22.964661%2c29.74046 17.657732%2c17.41285 32.403074%2c38.12856 52.621136%2c52.73529 10.829773%2c3.83939 22.062597%2c-3.51996 28.134937%2c-12.18527 19.44195%2c-22.50249 42.21653%2c-42.18327 59.90279%2c-66.14032 5.6424%2c-13.25737 -5.31055%2c-30.615753 -19.94302%2c-30.361772 z' /%3e %3cpath style='fill:white' d='M 256%2c428 H 31.999999 C 14.329999%2c428 -9.5000001e-7%2c442.33 -9.5000001e-7%2c460 -9.5000001e-7%2c477.67 14.329999%2c492 31.999999%2c492 H 256 c 17.7%2c0 32%2c-14.33 32%2c-32 0%2c-17.67 -14.3%2c-32 -32%2c-32 z M -9.5000001e-7%2c332 C -9.5000001e-7%2c349.7 14.329999%2c364 31.999999%2c364 H 416 c 17.7%2c0 32%2c-14.3 32%2c-32 0%2c-17.7 -14.3%2c-32 -32%2c-32 H 31.999999 C 14.329999%2c300 -9.5000001e-7%2c314.3 -9.5000001e-7%2c332 Z' /%3e %3cpath style='fill:white%3bstroke:white%3bstroke-width:0' d='m 356.05605%2c1.671899 c
1-22.75276%2c2.300391 -47.49513%2c-4.661754 -68.50543%2c6.450454 -16.00534%2c8.484395 -29.74636%2c27.036262 -24.98608%2c45.803882 5.50667%2c15.699356 29.05588%2c21.427535 39.82967%2c7.900392 4.46727%2c-4.523763 5.45002%2c-13.464333 13.29935%2c-12.285569 15.47565%2c-0.207336 30.89377%2c0.32159 46.37678%2c-0.223975 7.3323%2c-0.346315 15.23462%2c5.874856 12.62272%2c13.740223 -2.68086%2c9.147994 -13.45058%2c10.823444 -20.24491%2c15.836144 -11.40111%2c6.6584 -24.83231%2c11.40873 -32.94777%2c22.30075 -5.41404%2c11.18313 -4.76974%2c25.17905 -0.0141%2c36.40876 8.15241%2c13.79679 31.57231%2c15.50575 40.17388%2c0.85347 4.19853%2c-4.46787 1.87713%2c-12.57946 8.75385%2c-14.22118 18.79687%2c-10.20424 40.72904%2c-20.78924 48.43263%2c-42.36648 C 431.32621%2c52.120851 413.71956%2c13.332394 382.01823%2c4.732093 373.62266%2c2.216616 364.78493%2c1.519639 356.05609%2c1.671899 Z M 341.22896%2c172.48634 c -21.90876%2c-0.63629 -38.00737%2c26.58485 -26.67177%2c45.4856 9.43025%2c18.07827 37.60246%2c22.17393 50.69123%2c5.8469 12.093%2c-13.5735 9.43272%2c-37.5803 -6.86539%2c-46.64791 -5.10378%2c-3.1728 -11.1363%2c-4.88155 -17.15407%2c-4.68459 z' /%3e%3c/svg%3e",supportedPositions:["inline"],configurationEditor({entry:e,contentElement:t}){this.tab("general",(function(){const t=e.createLegacyTypographyVariantDelegator({model:this.model,paletteColorPropertyName:"color"});this.group("ContentElementTypographyVariant",{entry:e,model:t,getPreviewConfiguration:(e,t)=>({...e,expandByDefault:!0,typographyVariant:t})}),this.group("ContentElementTypographySize",{entry:e,model:t,getPreviewConfiguration:(e,i)=>({...e,expandByDefault:!0,typographyVariant:t.get("typographyVariant"),typographySize:i})}),this.group("PaletteColor",{entry:e,propertyName:"color"}),this.group("PaletteColor",{entry:e,propertyName:"answerColor"}),this.input("expandByDefault",a.Ab)}))}});const bt={verySmall:"xs",small:"md",medium:"xl",large:"xxxl"};s.editor.contentElementTypes.register("counter",{category:"data",pictogram:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3e%3cpath fill='white' d='M181.3 32.4c17.4 2.9 29.2 19.4 26.3 36.8L197.8 128h95.1l11.5-69.3c2.9-17.4 19.4-29.2 36.8-26.3s29.2 19.4 26.3 36.8L357.8 128H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H347.1L325.8 320H384c17.7 0 32 14.3 32 32s-14.3 32-32 32H315.1l-11.5 69.3c-2.9 17.4-19.4 29.2-36.8 26.3s-29.2-19.4-26.3-36.8l9.8-58.7H155.1l-11.5 69.3c-2.9 17.4-19.4 29.2-36.8 26.3s-29.2-19.4-26.3-36.8L90.2 384H32c-17.7 0-32-14.3-32-32s14.3-32 32-32h68.9l21.3-128H64c-17.7 0-32-14.3-32-32s14.3-32 32-32h68.9l11.5-69.3c2.9-17.4 19.4-29.2 36.8-26.3zM187.1 192L165.8 320h95.1l21.3-128H187.1z'/%3e%3c/svg%3e",supportedPositions:["inline","side","sticky","standAlone","left","right"],supportedWidthRange:["xxs","full"],defaultConfig:{targetValue:100,countingSpeed:"medium"},configurationEditor({entry:e}){const t=e.metadata.get("locale");this.tab("general",(function(){const i=function(e){const t=Object.create(e);return t.get=function(t){const i=e.get(t);if("numberSize"===t)return i||bt[e.get("textSize")];if("countingAnimation"===t){const t=e.get("countingSpeed");return i||(t&&"none"!==t?"plain":void 0)}return i},t}(this.model);this.input("targetValue",a.m7,{locale:t}),this.input("decimalPlaces",a.Qi,{values:[0,1,2,3],texts:[0,1,2,3].map((e=>(0).toLocaleString(t,{minimumFractionDigits:e})))}),this.input("thousandsSeparators",a.Ab,{storeInverted:"hideThousandsSeparators"}),this.input("unit",a.Z$),this.input("unitPlacement",a.Qi,{values:["trailing","leading"]}),this.view(a.VT);const[n,o]=e.getTypographySizes({scaleCategory:"counterNumber",texts:"short",order:"asc"});this.input("numberSize",a.ev,{model:i,values:n,texts:o,defaultValue:"xl",saveOnSlide:!0});const[s,l]=e.getTypographySizes({scaleCategory:"counterUnit",texts:"short",order:"asc"});this.input("unitSize",a.ev,{values:s,texts:l,defaultValue:"md",saveOnSlide:!0,visibleBinding:"unit",visible:e=>!!e});const[r,c]=e.getTypographySizes({scaleCategory:"counterDescription",texts:"short",order:"asc"});this.input("descriptionSize",a.ev,{values:r,texts:c,defaultValue:"md",saveOnSlide:!0}),this.view(a.VT),this.group("PaletteColor",{propertyName:"numberColor",entry:e}),this.group("PaletteColor",{propertyName:"unitColor",entry:e,visibleBinding:"unit",visible:e=>!!e}),this.group("PaletteColor",{propertyName:"descriptionColor",entry:e}),this.view(a.VT),this.input("entranceAnimation",a.Qi,{values:["none","fadeIn","fadeInFromBelow","fadeInFromAbove","fadeInScaleUp","fadeInScaleDown"]}),this.input("countingAnimation",a.Qi,{model:i,values:["none","plain","wheel"]}),this.input("countingSpeed",a.Qi,{model:i,values:["slow","medium","fast"],visibleBinding:"countingAnimation",visible:e=>e&&"none"!==e}),this.input("startValue",a.m7,{model:i,locale:t,visibleBinding:"countingAnimation",visible:e=>e&&"none"!==e}),this.input("startAnimationTrigger",a.Qi,{model:i,values:["onActivate","onVisible"],visibleBinding:["entranceAnimation","countingAnimation"],visible:([e,t])=>
1"none"!==(e||"none")||t&&"none"!==t}),this.view(a.VT),this.group("ContentElementTypographyVariant",{entry:e,getPreviewConfiguration:(e,t)=>({...e,typographyVariant:t,entranceAnimation:"none",countingSpeed:"none",numberSize:"sm",position:"inline"})}),this.input("textAlign",a.Qi,{values:["left","right","center","centerRagged"],includeBlank:!0}),this.group("ContentElementPosition",{entry:e})}))}});s.editor.contentElementTypes.register("quote",{pictogram:"data:image/svg+xml,%3csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='quote-right' class='svg-inline--fa fa-quote-right fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='-50 -50 612 612'%3e%3cpath fill='white' d='M464 32H336c-26.5 0-48 21.5-48 48v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48zm-288 0H48C21.5 32 0 53.5 0 80v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48z'%3e%3c/path%3e%3c/svg%3e",supportedPositions:["inline","side","sticky","standAlone","left","right"],supportedWidthRange:["xs","xl"],defaultConfig:{textSize:"medium"},configurationEditor({entry:e}){this.tab("general",(function(){this.group("ContentElementVariant",{entry:e}),this.input("textSize",a.Qi,{values:["large","medium","small","verySmall"]}),this.group("ContentElementPosition",{entry:e}),this.group("PaletteColor",{propertyName:"color",entry:e}),this.view(a.VT),this.view(r.InfoBoxView,{text:o().t("pageflow_scrolled.editor.content_elements.textBlock.help_texts.shortcuts")})}))}});function Ct(e){return e.value?_t(e.value):e.children||""}function _t(e){return e?e.map((e=>c.NB.string(e))).join(" "):""}function xt(e){return c.E9.isBefore(e.anchor,e.focus)?e.anchor:e.focus}s.editor.contentElementTypes.register("infoTable",{pictogram:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3c!--!Font Awesome Free 6.7.1 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons%2c Inc.--%3e%3cpath fill='white' d='M 446%2c37.9 C 341%2c38.2 236%2c37.8 132%2c38 106%2c38.4 80.7%2c37.3 55.3%2c38.5 26.6%2c42.6 3.13%2c70.8 6.21%2c100 5.84%2c203 5.94%2c305 6.15%2c408 c -0.18%2c12 0.3%2c26 7.25%2c36 11.2%2c20 34.2%2c33 57%2c30 128.6%2c0 256.6%2c0 384.6%2c0 30%2c-4 55%2c-34 51%2c-64 0%2c-107 0%2c-215 0%2c-322.2 C 501%2c59.7 475%2c36.7 446%2c37.9 Z M 60%2c90 c 24.7%2c0 49%2c0 74%2c0 0%2c25 0%2c51 0%2c76 -25%2c0 -50.7%2c0 -76%2c0 0%2c-25 0%2c-51 0%2c-76 h 1 z m 128%2c0 c 89%2c0 177%2c0 266%2c0 0%2c25 0%2c51 0%2c76 -89%2c0 -179%2c0 -268%2c0 0%2c-25 0%2c-51 0%2c-76 h 1 z M 60%2c218 c 24.7%2c0 49%2c0 74%2c0 0%2c25 0%2c51 0%2c76 -25%2c0 -50.7%2c0 -76%2c0 0%2c-25 0%2c-51 0%2c-76 h 1 z m 128%2c0 c 89%2c0 177%2c0 266%2c0 0%2c25 0%2c51 0%2c76 -89%2c0 -179%2c0 -268%2c0 0%2c-25 0%2c-51 0%2c-76 h 1 z M 60%2c346 c 24.7%2c0 49%2c0 74%2c0 0%2c25 0%2c51 0%2c76 -25%2c0 -50.7%2c0 -76%2c0 0%2c-25 0%2c-51 0%2c-76 h 1 z m 128%2c0 c 89%2c0 177%2c0 266%2c0 0%2c25 0%2c51 0%2c76 -89%2c0 -179%2c0 -268%2c0 0%2c-25 0%2c-51 0%2c-76 h 1 z' /%3e%3c/svg%3e",supportedPositions:["inline","side","sticky","standAlone","left","right"],supportedWidthRange:["s","xl"],configurationEditor({entry:e,contentElement:t}){this.tab("general",(function(){this.input("labelColumnAlign",a.Qi,{values:["auto","left","center","right"]}),this.input("valueColumnAlign",a.Qi,{values:["auto","left","center","right"]}),this.input("singleColumnInPhoneLayout",a.Ab),this.input("singleColumnAlign",a.Qi,{values:["auto","left","center","right"],visibleBinding:"singleColumnInPhoneLayout"}),this.view(a.VT),this.group("PaletteColor",{propertyName:"labelColor",entry:e}),this.group("PaletteColor",{propertyName:"valueColor",entry:e}),this.view(a.VT),this.group("ContentElementPosition",{entry:e}),this.view(a.VT),this.view(r.InfoBoxView,{text:o().t("pageflow_scrolled.editor.content_elements.infoTable.help_texts.shortcuts")})}))}}),x.j7.contentElementTypes.register("heading",{extractQuote:e=>[_t(e.tagline),Ct(e),_t(e.subtitle)].map((e=>
1e.trim())).filter(Boolean).join("\n")||null}),x.j7.contentElementTypes.register("textBlock",{compareRanges:(e,t)=>e||t?e?t?c.E9.compare(xt(e),xt(t)):-1:1:0,extractQuote(e,t){if(!t)return null;const i={children:e.value||[]};if(!c.NB.has(i,t.anchor.path)||!c.NB.has(i,t.focus.path))return null;return c.NB.fragment(i,t).map((e=>c.NB.string(e))).join("\n").trim()||null}})}}]); 2//# sourceMappingURL=8667-b6ade89883ac438e8310.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.