diff --git a/twill-assets/assets/twill/css/chunk-common.81172134.css b/twill-assets/assets/twill/css/chunk-common.81172134.css new file mode 100644 index 000000000..3d4f14208 --- /dev/null +++ b/twill-assets/assets/twill/css/chunk-common.81172134.css @@ -0,0 +1 @@ +abbr,address,article,aside,audio,b,blockquote,body,caption,cite,code,dd,del,dfn,dialog,div,dl,dt,em,fieldset,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,p,pre,q,samp,section,small,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,time,tr,ul,var,video{margin:0;padding:0;border:0;background:transparent;font:inherit;font-size:100%;vertical-align:baseline;outline:0}article,aside,dialog,figure,footer,header,hgroup,main,nav,section{display:block}html{overflow-y:scroll;overflow:-moz-scrollbars-vertical;box-sizing:border-box;touch-action:manipulation}body{line-height:1}blockquote,q{quotes:none}ol,ul{list-style:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}*,:after,:before{box-sizing:inherit;touch-action:inherit}.svg-sprite{position:absolute;z-index:-1;left:-1px;top:-1px;width:1px;height:1px;overflow:hidden}@-ms-viewport{width:device-width}.design-grid-toggle{position:fixed;z-index:9999;left:0;bottom:0;padding:1px 8px;background:#000;color:#fff;font-size:11px;cursor:pointer}.design-grid-toggle--columns{left:auto;right:0}.design-grid-toggle--columns:after,.design-grid-toggle--columns:before{display:block;position:absolute;right:8px;bottom:100%;color:#1d9f3c;font-weight:700;text-align:right;text-transform:uppercase;white-space:nowrap}.design-grid-toggle--columns:before{margin-bottom:-2px}@media screen and (max-width:599px){.design-grid-toggle--columns:before{content:"xsmall"}}@media screen and (min-width:600px)and (max-width:849px){.design-grid-toggle--columns:before{content:"small"}}@media screen and (min-width:850px)and (max-width:1039px){.design-grid-toggle--columns:before{content:"medium"}}@media screen and (min-width:1040px)and (max-width:1539px){.design-grid-toggle--columns:before{content:"large"}}@media screen and (min-width:1540px){.design-grid-toggle--columns:before{content:"xlarge"}}.design-grid-toggle--columns:after{content:attr(data-env);margin-bottom:12px}.design-grid--baseline{display:block;position:absolute;z-index:9998;left:0;right:0;top:0;bottom:0;width:100%;height:100%;background:repeating-linear-gradient(180deg,transparent,transparent 5px,#7fffff 0,#7fffff 10px);opacity:.25;pointer-events:none}.design-grid--baseline.js-hide{display:none}.design-grid--columns{display:block;position:fixed;z-index:9998;left:0;right:0;top:0;bottom:0;width:100%;height:100%;margin:0 auto;background-color:transparent;opacity:.25;pointer-events:none}.design-grid--columns.js-hide{display:none}@media screen and (max-width:599px){.design-grid--columns{width:calc(100vw - 40px);background:repeating-linear-gradient(90deg,#7fffff,#7fffff calc(16.66667vw - 19.16667px),transparent calc(16.66667vw - 19.16667px),transparent calc(16.66667vw - 4.16667px))}}@media screen and (min-width:600px)and (max-width:849px){.design-grid--columns{width:calc(100vw - 60px);background:repeating-linear-gradient(90deg,#7fffff,#7fffff calc(16.66667vw - 22.5px),transparent calc(16.66667vw - 22.5px),transparent calc(16.66667vw - 7.5px))}}@media screen and (min-width:850px)and (max-width:1039px){.design-grid--columns{width:calc(100vw - 80px);background:repeating-linear-gradient(90deg,#7fffff,#7fffff calc(16.66667vw - 30px),transparent calc(16.66667vw - 30px),transparent calc(16.66667vw - 10px))}}@media screen and (min-width:1040px)and (max-width:1539px){.design-grid--columns{width:calc(100vw - 100px);background:repeating-linear-gradient(90deg,#7fffff,#7fffff calc(16.66667vw - 33.33333px),transparent calc(16.66667vw - 33.33333px),transparent calc(16.66667vw - 13.33333px))}}@media screen and (min-width:1540px){.design-grid--columns{width:1480px;background:repeating-linear-gradient(90deg,transparent,transparent 20px,#7fffff 0,#7fffff 243.33333px)}}#a17,.container{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){#a17,.container{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){#a17,.container{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){#a17,.container{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){#a17,.container{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){#a17,.container{width:1540px;padding-right:50px;padding-left:50px}}dl,h1,h2,h3,label,ol,p,ul{font-weight:400;margin-top:0}dl,h1,h2,h3,label,ol,p,ul{font-family:Inter,-apple-system,-system-ui,system-ui,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;font-size:15px;line-height:20px;font-style:normal}h1,h2,h3{font-weight:600;font-weight:400}p em{font-style:italic}b,p b,p strong,strong{font-weight:600}ul li{list-style-type:none}img{border:0 none}a{color:inherit}.js--hide{display:none}.js--show{display:block}button,input,select,textarea{font-family:inherit}.btn--reset{background-color:transparent;-webkit-appearance:none;cursor:pointer;font-size:1em;outline:none;margin:0;border:0 none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:inherit}.f--heading{font-size:40px}.f--medium{font-size:18px}.f--regular{font-size:15px}.f--small{font-size:13px}.f--tiny{font-size:11px;letter-spacing:0}.f--note{color:#8c8c8c}.f--light-hover{color:#8c8c8c;text-decoration:none}.f--light-hover:hover{color:#262626}.f--link{color:#3278b8}.f--light-underlined,.f--light-underlined--o,.f--link-underlined,.f--link-underlined--o,.f--underlined,.f--underlined--o{text-decoration:none}.f--underlined--link{cursor:pointer}.f--underlined{text-decoration:none;background-image:linear-gradient(180deg,rgba(38,38,38,.5) 75%,rgba(38,38,38,.5) 0);background-repeat:repeat-x;background-size:1px 1px;background-position:0 98%}.f--underlined:hover{background-image:linear-gradient(180deg,#262626 75%,#262626 0)}.f--underlined--o:hover,a:hover .f--underlined--o,button:hover .f--underlined--o{text-decoration:none;background-image:linear-gradient(180deg,rgba(38,38,38,.5) 75%,rgba(38,38,38,.5) 0);background-repeat:repeat-x;background-size:1px 1px;background-position:0 98%}.f--light-underlined,.f--note.f--underlined{text-decoration:none;background-image:linear-gradient(180deg,hsla(0,0%,55%,.5) 75%,hsla(0,0%,55%,.5) 0);background-repeat:repeat-x;background-size:1px 1px;background-position:0 98%}.f--light-underlined:hover,.f--note.f--underlined:hover{background-image:linear-gradient(180deg,#8c8c8c 75%,#8c8c8c 0)}.f--light-underlined--o:hover,.f--note.f--underlined--o:hover,a:hover .f--light-underlined--o,a:hover .f--note.f--underlined--o,button:hover .f--light-underlined--o,button:hover .f--note.f--underlined--o{text-decoration:none;background-image:linear-gradient(180deg,hsla(0,0%,55%,.5) 75%,hsla(0,0%,55%,.5) 0);background-repeat:repeat-x;background-size:1px 1px;background-position:0 98%}.f--link-underlined{text-decoration:none;background-image:linear-gradient(180deg,rgba(50,120,184,.5) 75%,rgba(50,120,184,.5) 0);background-repeat:repeat-x;background-size:1px 1px;background-position:0 98%}.f--link-underlined:hover{background-image:linear-gradient(180deg,#3278b8 75%,#3278b8 0)}.f--link-underlined--o:hover,a:hover .f--link-underlined--o,button:hover .f--link-underlined--o{text-decoration:none;background-image:linear-gradient(180deg,rgba(50,120,184,.5) 75%,rgba(50,120,184,.5) 0);background-repeat:repeat-x;background-size:1px 1px;background-position:0 98%}.f--external{position:relative;text-decoration:none}.f--external:after{content:"↗";font-size:12px;color:inherit;position:absolute;transform:translateX(50%);font-weight:400}.icon--add,.icon--add svg{width:10px;height:10px}.icon--arrow-external,.icon--arrow-external svg{width:8px;height:8px}.icon--arrow-sort,.icon--arrow-sort svg{width:9px;height:11px}.icon--b-accordion,.icon--b-accordion svg,.icon--b-activity,.icon--b-activity svg,.icon--b-audio,.icon--b-audio svg,.icon--b-button,.icon--b-button svg,.icon--b-carousel,.icon--b-carousel svg,.icon--b-checklist,.icon--b-checklist svg,.icon--b-color,.icon--b-color svg,.icon--b-date,.icon--b-date svg,.icon--b-document,.icon--b-document svg,.icon--b-grid,.icon--b-grid svg,.icon--b-grid-flex,.icon--b-grid-flex svg,.icon--b-iframe,.icon--b-iframe svg,.icon--b-image,.icon--b-image svg,.icon--b-link,.icon--b-link svg,.icon--b-mail,.icon--b-mail svg,.icon--b-membership,.icon--b-membership svg,.icon--b-people,.icon--b-people svg,.icon--b-program,.icon--b-program svg,.icon--b-quote,.icon--b-quote svg,.icon--b-table,.icon--b-table svg,.icon--b-text,.icon--b-text svg,.icon--b-text-2col,.icon--b-text-2col svg,.icon--b-text-img,.icon--b-text-img svg,.icon--b-video,.icon--b-video svg{width:28px;height:28px}.icon--check,.icon--check svg{width:11px;height:11px}.icon--clone,.icon--clone svg{width:20px;height:20px}.icon--close_icon,.icon--close_icon svg{width:10px;height:10px}.icon--close_modal,.icon--close_modal svg{width:16px;height:16px}.icon--colors,.icon--colors svg{width:17px;height:17px}.icon--content-editor,.icon--content-editor svg{width:14px;height:13px}.icon--copy,.icon--copy svg{width:10.67px;height:10.67px}.icon--crop,.icon--crop svg{width:16px;height:18px}.icon--download,.icon--download svg{width:12px;height:16px}.icon--drag,.icon--drag svg{width:8px;height:17px}.icon--dropdown_default,.icon--dropdown_default svg{width:9px;height:5px}.icon--dropdown_module,.icon--dropdown_module svg{width:10px;height:6px}.icon--edit_large,.icon--edit_large svg{width:14px;height:14px}.icon--edit,.icon--edit svg{width:13px;height:13px}.icon--editor,.icon--editor svg{width:14px;height:13px}.icon--expand,.icon--expand svg{width:10px;height:10px}.icon--fix-grid,.icon--fix-grid svg{width:18px;height:14px}.icon--flex-grid,.icon--flex-grid svg{width:18px;height:17px}.icon--google-sign-in,.icon--google-sign-in svg{width:23px;height:24px}.icon--image-text,.icon--image-text svg{width:30px;height:13px}.icon--image,.icon--image svg{width:19px;height:15px}.icon--info,.icon--info svg{width:21px;height:21px}.icon--location,.icon--location svg{width:12px;height:16px}.icon--media-grid,.icon--media-grid svg{width:12px;height:12px}.icon--media-list,.icon--media-list svg{width:16px;height:10px}.icon--more-dots,.icon--more-dots svg{width:14px;height:4px}.icon--pagination_left,.icon--pagination_left svg,.icon--pagination_right,.icon--pagination_right svg{width:9px;height:15px}.icon--preferences,.icon--preferences svg{width:26px;height:16px}.icon--preview-desktop,.icon--preview-desktop svg{width:39px;height:30px}.icon--preview-mobile,.icon--preview-mobile svg{width:12px;height:18px}.icon--preview-tablet-h,.icon--preview-tablet-h svg{width:27px;height:20px}.icon--preview-tablet-v,.icon--preview-tablet-v svg{width:20px;height:27px}.icon--preview,.icon--preview svg{width:22px;height:14px}.icon--publish,.icon--publish svg{width:22px;height:15px}.icon--quote,.icon--quote svg{width:16px;height:13px}.icon--replace,.icon--replace svg{width:20px;height:20px}.icon--revision-compare,.icon--revision-compare svg,.icon--revision-single,.icon--revision-single svg{width:23px;height:16px}.icon--search,.icon--search svg{width:20px;height:20px}.icon--slideshow,.icon--slideshow svg{width:20px;height:16px}.icon--star-feature,.icon--star-feature svg,.icon--star-feature_active,.icon--star-feature_active svg{width:20px;height:19px}.icon--text-2col,.icon--text-2col svg{width:26px;height:13px}.icon--text,.icon--text svg{width:17px;height:13px}.icon--trash,.icon--trash svg{width:15px;height:17px}.icon--video,.icon--video svg{width:23px;height:23px}.icon--website,.icon--website svg{width:26px;height:21px}.icon--wysiwyg_anchor,.icon--wysiwyg_anchor svg{width:18px;height:18px}.icon--wysiwyg_bold,.icon--wysiwyg_bold svg{width:12px;height:13px}.icon--wysiwyg_header,.icon--wysiwyg_header svg,.icon--wysiwyg_header-2,.icon--wysiwyg_header-2 svg,.icon--wysiwyg_header-3,.icon--wysiwyg_header-3 svg,.icon--wysiwyg_header-4,.icon--wysiwyg_header-4 svg,.icon--wysiwyg_header-5,.icon--wysiwyg_header-5 svg,.icon--wysiwyg_header-6,.icon--wysiwyg_header-6 svg{width:18px;height:18px}.icon--wysiwyg_italic,.icon--wysiwyg_italic svg{width:10px;height:13px}.icon--wysiwyg_link,.icon--wysiwyg_link svg{width:21px;height:10px}.icon--wysiwyg_underline,.icon--wysiwyg_underline svg{width:12px;height:13px}.icon--ae,.icon--ae svg,.icon--ai,.icon--ai svg,.icon--ase,.icon--ase svg{width:20px;height:26px}.icon--cut,.icon--cut svg,.icon--dir,.icon--dir svg,.icon--dir_protected,.icon--dir_protected svg,.icon--dir_shared,.icon--dir_shared svg{width:26px;height:21px}.icon--dmg,.icon--dmg svg,.icon--doc,.icon--doc svg,.icon--eps,.icon--eps svg,.icon--fla,.icon--fla svg,.icon--fnt,.icon--fnt svg,.icon--gen,.icon--gen svg,.icon--html,.icon--html svg,.icon--img,.icon--img svg,.icon--indd,.icon--indd svg,.icon--key,.icon--key svg,.icon--merlin,.icon--merlin svg{width:20px;height:26px}.icon--net,.icon--net svg{width:26px;height:21px}.icon--numbers,.icon--numbers svg,.icon--pages,.icon--pages svg,.icon--pdf,.icon--pdf svg,.icon--ppt,.icon--ppt svg,.icon--psd,.icon--psd svg{width:20px;height:26px}.icon--site,.icon--site svg{width:26px;height:21px}.icon--slide,.icon--slide svg,.icon--snd,.icon--snd svg,.icon--sql,.icon--sql svg,.icon--swf,.icon--swf svg,.icon--txt,.icon--txt svg,.icon--vid,.icon--vid svg,.icon--xls,.icon--xls svg,.icon--zip,.icon--zip svg{width:20px;height:26px}.icon{display:inline-block}.icon svg{vertical-align:inherit;display:inherit}.envlabel{text-transform:uppercase;height:15px;line-height:15px;padding:0 5px;display:inline-block;position:relative;border-radius:7px;background:#000;font-size:10px;color:#000;background:#fff;font-weight:600;top:-2px;letter-spacing:.05em;margin:0 5px}.envlabel--heading{top:-20px}.nav__item.s--on a:after{background:#3679b6}.env:before{content:"";position:fixed;height:3px;top:0;left:0;right:0;background:#fff;z-index:150}.env--dev .envlabel,.env--dev .nav__item.s--on a:after,.env--dev:before,.env--development .envlabel,.env--development .nav__item.s--on a:after,.env--development:before,.env--local .envlabel,.env--local .nav__item.s--on a:after,.env--local:before,.env--localhost .envlabel,.env--localhost .nav__item.s--on a:after,.env--localhost:before{background:#269e41}.env--preprod .envlabel,.env--preprod .nav__item.s--on a:after,.env--preprod:before,.env--stage .envlabel,.env--stage .nav__item.s--on a:after,.env--stage:before,.env--staging .envlabel,.env--staging .nav__item.s--on a:after,.env--staging:before{background:#3679b6}.env--live .envlabel,.env--live .nav__item.s--on a:after,.env--live:before,.env--prod .envlabel,.env--prod .nav__item.s--on a:after,.env--prod:before,.env--production .envlabel,.env--production .nav__item.s--on a:after,.env--production:before{background:#e31a22}.tooltip{display:block;position:fixed;top:0;left:0;z-index:600;opacity:1;visibility:visible;transition:opacity .2s ease,visibility 0s .2s}.tooltip__arrow{left:50%;pointer-events:none;width:26px;height:6px;overflow:hidden;position:absolute;margin-left:-13px}.tooltip__arrow:after{border:solid transparent;content:"";left:50%;display:block;margin-top:3px;margin-left:-3px;position:absolute;width:6px;height:6px;background-color:rgba(0,0,0,.6);transform:rotate(45deg)}.tooltip--bottom .tooltip__arrow{bottom:100%}.tooltip--top .tooltip__arrow{bottom:-6px;transform:rotate(180deg)}.tooltip--top .tooltip__arrow:after{transform:rotate(45deg)}.tooltip--left .tooltip__arrow{left:0}.tooltip--center .tooltip__arrow{left:50%;margin-left:-25px}.tooltip__inner{background:rgba(0,0,0,.6);padding:5px 9px;border-radius:2px;max-width:150px;color:#fff;font-size:11px;letter-spacing:0;font-weight:400;line-height:1.5em}.tooltip--large .tooltip__inner{background:hsla(0,0%,100%,.95);padding:10px 15px;border-radius:2px;box-shadow:0 0 5px rgba(0,0,0,.3);max-width:270px;color:#8c8c8c;font-size:13px;font-weight:400}.tooltip--large .tooltip__arrow{display:none}.tag{text-transform:uppercase;height:15px;line-height:15px;padding:0 5px;display:inline-block;position:relative;border-radius:2px;background:#000;font-size:10px;color:#fff;background:#a6a6a6;letter-spacing:.05em;top:-2px;margin:0 5px;text-decoration:none}.tag--rounded{border-radius:7px;padding:0 8px}.tag--disabled{background:#d9d9d9}.tag--enabled{background:#a6a6a6}.tag--ok{background:#1d9f3c}.ham{background-color:transparent;-webkit-appearance:none;font-size:1em;outline:none;margin:0;border:0 none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:inherit;cursor:pointer;position:absolute;top:0;right:0;height:60px;z-index:1}@media screen and (min-width:1040px){.ham{display:none}}@media screen and (max-width:599px){.ham{margin-right:20px;margin-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.ham{margin-right:30px;margin-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.ham{margin-right:40px;margin-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.ham{margin-right:50px;margin-left:50px}}@media screen and (min-width:1540px){.ham{margin-right:50px;margin-left:50px}}@media screen and (max-width:599px){.ham--search{margin-right:50px;margin-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.ham--search{margin-right:60px;margin-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.ham--search{margin-right:70px;margin-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.ham--search{margin-right:80px;margin-left:50px}}@media screen and (min-width:1540px){.ham--search{margin-right:80px;margin-left:50px}}.ham__btn,.ham__label{display:inline-block}.ham__label{color:#fff}@media screen and (max-width:599px){.ham__label{display:none}}.ham__btn{overflow:hidden;box-sizing:content-box;font-size:0}.ham__label,.ham__line{opacity:1}.ham__label{margin-right:20px}.ham__icon{width:20px;height:13px;display:block;position:relative}.ham__icon:after,.ham__icon:before{content:"";height:1px;position:absolute;display:block;left:0;right:0;width:100%;background:#8c8c8c}.ham__icon:before{top:0}.ham__icon:after{bottom:0}.ham .icon{display:none;color:#8c8c8c}.ham:focus .icon,.ham:hover .icon{color:#fff}.ham__line{height:1px;background:#8c8c8c;width:100%;left:0;right:0;position:absolute;top:6px}.ham:focus .ham__icon:after,.ham:focus .ham__icon:before,.ham:focus .ham__line,.ham:hover .ham__icon:after,.ham:hover .ham__icon:before,.ham:hover .ham__line{background:#fff}.notif{position:fixed;bottom:0;min-height:60px;width:100%;left:0;right:0;z-index:550;background:#ccc}.notif__inner{min-height:60px;text-align:center;position:relative}@media screen and (max-width:599px){.notif__inner{padding:20px 20px}}@media screen and (min-width:600px)and (max-width:849px){.notif__inner{padding:20px 30px}}@media screen and (min-width:850px)and (max-width:1039px){.notif__inner{padding:20px 40px}}@media screen and (min-width:1040px)and (max-width:1539px){.notif__inner{padding:20px 50px}}@media screen and (min-width:1540px){.notif__inner{padding:20px 50px}}@media screen and (max-width:599px){.notif__inner{text-align:left}}.notif__close{background-color:transparent;-webkit-appearance:none;cursor:pointer;font-size:1em;outline:none;margin:0;border:0 none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:inherit;position:absolute;right:7px;top:7px;background:transparent;height:46px;width:46px;color:#262626;opacity:.5;padding:15px}.notif__close:hover{color:#262626;opacity:.25}@keyframes godown{0%{transform:translateY(0);opacity:1}90%{opacity:1}to{transform:translateY(100%);opacity:0}}.notif--destroy{animation:godown .3s 3s normal forwards}.notif--success{background:rgba(255,255,0,.97)}.notif--error,.notif--warning{color:#fff;background:rgba(255,0,0,.97)}@media screen and (max-width:599px){.hide--xsmall{display:none!important}}@media screen and (min-width:600px)and (max-width:849px){.hide--small{display:none!important}}@media screen and (min-width:850px)and (max-width:1039px){.hide--medium{display:none!important}}@media screen and (min-width:1540px){.hide--xlarge{display:none!important}}.box{background:#fff;border-radius:2px;border:1px solid #e5e5e5;margin-top:20px}.box__header{height:55px;line-height:55px;border-bottom:1px solid #f2f2f2;padding:0 20px}.box__filter{padding:10px 0;margin-left:-5px}.box__filter li{display:inline}.box__filter a{display:inline-block;height:35px;line-height:35px;text-decoration:none;padding:0 20px;border-radius:17px;color:#3278b8;background:#fff}.box__filter a.s--on{background:#e5e5e5;color:#262626}.box__filter a:hover{color:#262626}.box__footer{height:55px;line-height:55px;border-top:1px solid #f2f2f2;padding:0 20px}.block__body{margin-top:-15px}.block__body--nolabel{margin-top:-30px}.block__body>h2,.block__body>h3,.block__body>h4{font-size:1em;font-weight:600;margin-top:35px}.block__body>p{margin-top:35px}.block__body>hr{height:5px;margin:20px -15px 20px -15px;padding:0;background:#f2f2f2;border:0 none}.block__body>hr+.repeater{margin-top:20px}.a17--login{background:#000;display:flex;flex-flow:column nowrap}.login{margin:auto;color:#666;width:400px;max-width:calc(100vw - 60px);padding-top:30px;padding-bottom:85px}.login__heading{line-height:50px;font-feature-settings:"kern"}.login__heading--title{color:#fff}.login__help,.login__label{display:block;margin-top:35px;margin-bottom:10px;color:#666}.login__fieldset{position:relative}.login__heading+.login__fieldset{margin-top:38px}.login__input{padding:0;margin:0;border-radius:0;-webkit-appearance:none;background:transparent;border:0 none;font-size:inherit;letter-spacing:inherit;display:block;width:100%;height:45px;line-height:45px;border-radius:2px;background:#000;border:1px solid #8c8c8c;color:#fff;box-sizing:border-box;font-size:15px;caret-color:#3278b8;padding:0 10px}.login__input:focus{border-color:#fff;outline:0}.login__help{position:absolute;right:0;top:0;padding-top:2px;text-decoration:none}.login__help span{text-decoration:none;background-image:linear-gradient(180deg,hsla(0,0%,40%,.5) 75%,hsla(0,0%,40%,.5) 0);background-repeat:repeat-x;background-size:1px 1px;background-position:0 98%}.login__button{background-color:transparent;-webkit-appearance:none;cursor:pointer;font-size:1em;outline:none;margin:0;border:0 none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:inherit;padding:0;display:block;text-align:center;height:40px;line-height:40px;color:#fff;background-color:#333;width:100%;border-radius:2px;margin-top:44px;transition:color .25s linear,border-color .25s linear,background-color .25s linear;margin-bottom:35px}.login__button:focus,.login__button:hover{background-color:#fff;color:#000}.login__socialite{display:block;text-align:center;text-decoration:none;color:#666;margin-bottom:20px}.login__socialite .icon{color:#666;margin-right:10px;position:relative;top:6px}.login__socialite:hover .icon+span{text-decoration:none;background-image:linear-gradient(180deg,hsla(0,0%,40%,.5) 75%,hsla(0,0%,40%,.5) 0);background-repeat:repeat-x;background-size:1px 1px;background-position:0 98%}.login__copyright{position:absolute;bottom:0;width:100%;left:0;right:0;padding-top:0;text-align:center;padding:28px 0}.login__copyright a{color:#4d4d4d;text-decoration:none}.login__copyright a:hover{color:gray}.login__copyright svg{position:relative;bottom:-4px;height:24px;width:55px;margin-left:8px}.dashboardSearch{background:#000;margin-top:-10px;min-height:70px}body,html{min-width:320px}body,html{min-height:100%;overflow-x:hidden}html{position:relative;overflow-y:auto}body{font-family:Inter,-apple-system,-system-ui,system-ui,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;font-size:15px;line-height:20px;font-weight:400;font-style:normal;background:#fff;color:#262626;font-feature-settings:"kern","tnum";font-kerning:normal;text-rendering:optimizeLegibility;font-variant-ligatures:common-ligatures;-webkit-text-size-adjust:100%;text-size-adjust:100%;padding:0;height:100%}body:after{position:absolute;left:-1px;top:-1px;width:1px;height:1px;margin:-1px 0 0 -1px;color:transparent;font:0/0 a;text-shadow:none}.a17{width:100vw;overflow:hidden;min-height:100vh}.app{min-height:calc(100vh - 230px)}.appLoader{background-color:#fff}.body--buckets,.body--buckets .appLoader,.body--custom-page,.body--custom-page .appLoader,.body--dashboard,.body--dashboard .appLoader,.body--form,.body--form .appLoader{background-color:#f2f2f2}.custom-page{padding-top:26px}@media screen and (max-width:599px){head{font-family:xsmall}body:after{content:"xsmall"}}@media screen and (min-width:600px)and (max-width:849px){head{font-family:small}body:after{content:"small"}}@media screen and (min-width:850px)and (max-width:1039px){head{font-family:medium}body:after{content:"medium"}}@media screen and (min-width:1040px)and (max-width:1539px){head{font-family:large}body:after{content:"large"}}@media screen and (min-width:1540px){head{font-family:xlarge}body:after{content:"xlarge"}}#a17{position:relative}.wrapper{display:flex;flex-flow:row wrap}@media screen and (max-width:599px){.wrapper{margin-left:-15px}}@media screen and (min-width:600px)and (max-width:849px){.wrapper{margin-left:-15px}}@media screen and (min-width:850px)and (max-width:1039px){.wrapper{margin-left:-20px}}@media screen and (min-width:1040px)and (max-width:1539px){.wrapper{margin-left:-20px}}@media screen and (min-width:1540px){.wrapper{margin-left:-20px}}.wrapper--reverse{flex-direction:row-reverse}.wrapper--oneline{flex-wrap:no-wrap}.col--even{flex:0 0 auto}@media screen and (max-width:599px){.col--even{width:calc(100vw - 40px);margin-left:15px}}@media screen and (min-width:600px)and (max-width:849px){.col--even{width:calc(100vw - 60px);margin-left:15px}}@media screen and (min-width:850px)and (max-width:1039px){.col--even{width:calc(50vw - 50px);margin-left:20px}}@media screen and (min-width:1040px)and (max-width:1539px){.col--even{width:calc(50vw - 60px);margin-left:20px}}@media screen and (min-width:1540px){.col--even{width:710px;margin-left:20px}}.col--primary{flex:0 0 auto}@media screen and (max-width:599px){.col--primary{width:calc(100vw - 40px);margin-left:15px}}@media screen and (min-width:600px)and (max-width:849px){.col--primary{width:calc(100vw - 60px);margin-left:15px}}@media screen and (min-width:850px)and (max-width:1039px){.col--primary{width:calc(50vw - 50px);margin-left:20px}}@media screen and (min-width:1040px)and (max-width:1539px){.col--primary{width:calc(66.66667vw - 73.33333px);margin-left:20px}}@media screen and (min-width:1540px){.col--primary{width:953.3333333333px;margin-left:20px}}.col--aside{flex:0 0 auto}@media screen and (max-width:599px){.col--aside{width:calc(100vw - 40px);margin-left:15px}}@media screen and (min-width:600px)and (max-width:849px){.col--aside{width:calc(100vw - 60px);margin-left:15px}}@media screen and (min-width:850px)and (max-width:1039px){.col--aside{width:calc(50vw - 50px);margin-left:20px}}@media screen and (min-width:1040px)and (max-width:1539px){.col--aside{width:calc(33.33333vw - 46.66667px);margin-left:20px}}@media screen and (min-width:1540px){.col--aside{width:466.6666666667px;margin-left:20px}}.col--double{flex:0 0 auto}@media screen and (max-width:599px){.col--double{width:calc(50% - 15px);margin-left:15px}}@media screen and (min-width:600px)and (max-width:849px){.col--double{width:calc(50% - 15px);margin-left:15px}}@media screen and (min-width:850px)and (max-width:1039px){.col--double{width:calc(50% - 20px);margin-left:20px}}@media screen and (min-width:1040px)and (max-width:1539px){.col--double{width:calc(50% - 20px);margin-left:20px}}@media screen and (min-width:1540px){.col--double{width:calc(50% - 20px);margin-left:20px}}.col--third{flex:0 0 auto}@media screen and (max-width:599px){.col--third{width:calc(33.33333% - 15px);margin-left:15px}}@media screen and (min-width:600px)and (max-width:849px){.col--third{width:calc(33.33333% - 15px);margin-left:15px}}@media screen and (min-width:850px)and (max-width:1039px){.col--third{width:calc(33.33333% - 20px);margin-left:20px}}@media screen and (min-width:1040px)and (max-width:1539px){.col--third{width:calc(33.33333% - 20px);margin-left:20px}}@media screen and (min-width:1540px){.col--third{width:calc(33.33333% - 20px);margin-left:20px}}@media screen and (max-width:599px){.col--double-wrap,.col--third-wrap{width:calc(100% - 15px)}}@media screen and (min-width:850px)and (max-width:1039px){.col--double-wrap,.col--third-wrap{width:calc(100% - 20px)}}@media screen and (max-width:599px){.editor .col--double,.editor .col--third{width:calc(100% - 15px)}}@media screen and (min-width:600px)and (max-width:849px){.editor .col--double,.editor .col--third{width:calc(100% - 15px)}}@media screen and (min-width:850px)and (max-width:1039px){.editor .col--double,.editor .col--third{width:calc(100% - 20px)}}@media screen and (min-width:1040px)and (max-width:1539px){.editor .col--double,.editor .col--third{width:calc(100% - 20px)}}@media screen and (min-width:1540px){.editor .col--double,.editor .col--third{width:calc(100% - 20px)}}.app.error{min-height:calc(100vh - 110px);padding-top:45px;background:#f2f034}.app.error p{margin-bottom:25px;line-height:24px}.field-rows{margin-top:35px}.block .block__content .block__body .field-rows__content>.input,.editorSidebar__body .block__body .field-rows__content>.input,.fieldset .field-rows__content>.input{margin-top:0;border-top:1px solid #f2f2f2}.block .block__content .block__body .field-rows__content>.input:first-child,.editorSidebar__body .block__body .field-rows__content>.input:first-child,.fieldset .field-rows__content>.input:first-child{border-top:0 none}.block .block__content .block__body .field-rows__content .vselectOuter,.editorSidebar__body .block__body .field-rows__content .vselectOuter,.fieldset .field-rows__content .vselectOuter{padding:15px}.block .block__content .block__body .field-rows__content .vselectOuter .input,.editorSidebar__body .block__body .field-rows__content .vselectOuter .input,.fieldset .field-rows__content .vselectOuter .input{margin-top:0}.block .block__content .block__body .field-rows__content .vselectOuter+.vselectOuter,.editorSidebar__body .block__body .field-rows__content .vselectOuter+.vselectOuter,.fieldset .field-rows__content .vselectOuter+.vselectOuter{border-top:1px solid #f2f2f2}.block .block__content .block__body .field-rows__content .singleCheckbox,.editorSidebar__body .block__body .field-rows__content .singleCheckbox,.fieldset .field-rows__content .singleCheckbox{padding:20px}.block .block__content .block__body .field-rows__content .multiselectorOuter>.input,.editorSidebar__body .block__body .field-rows__content .multiselectorOuter>.input,.fieldset .field-rows__content .multiselectorOuter>.input{margin-top:0}.block .block__content .block__body .field-rows__content .singleselector__outer,.editorSidebar__body .block__body .field-rows__content .singleselector__outer,.fieldset .field-rows__content .singleselector__outer{display:block}.block .block__content .block__body .field-rows__content .singleselector__outer .singleselector__item,.editorSidebar__body .block__body .field-rows__content .singleselector__outer .singleselector__item,.fieldset .field-rows__content .singleselector__outer .singleselector__item{padding:20px;margin:0}.block .block__content .block__body .field-rows__content .singleselector__outer .singleselector__item+.singleselector__item,.editorSidebar__body .block__body .field-rows__content .singleselector__outer .singleselector__item+.singleselector__item,.fieldset .field-rows__content .singleselector__outer .singleselector__item+.singleselector__item{border-top:1px solid #f2f2f2}.block .block__content .block__body .field-rows__content .singleselector__outer .singleselector__item:first-child,.editorSidebar__body .block__body .field-rows__content .singleselector__outer .singleselector__item:first-child,.fieldset .field-rows__content .singleselector__outer .singleselector__item:first-child{border-top:0 none}.field-rows__title{margin-bottom:9px}.field-rows__content{border:1px solid #e5e5e5}.block .block__content .block__body .field-rows--2cols .field-rows__content,.block .block__content .block__body .field-rows--3cols .field-rows__content,.editorSidebar__body .block__body .field-rows--2cols .field-rows__content,.editorSidebar__body .block__body .field-rows--3cols .field-rows__content,.fieldset .field-rows--2cols .field-rows__content,.fieldset .field-rows--3cols .field-rows__content{display:flex;flex-wrap:wrap}.block .block__content .block__body .field-rows--2cols .field-rows__content .multiselectorOuter,.block .block__content .block__body .field-rows--3cols .field-rows__content .multiselectorOuter,.editorSidebar__body .block__body .field-rows--2cols .field-rows__content .multiselectorOuter,.editorSidebar__body .block__body .field-rows--3cols .field-rows__content .multiselectorOuter,.fieldset .field-rows--2cols .field-rows__content .multiselectorOuter,.fieldset .field-rows--3cols .field-rows__content .multiselectorOuter{width:100%}.block .block__content .block__body .field-rows--2cols .field-rows__content .singleselector__outer,.block .block__content .block__body .field-rows--3cols .field-rows__content .singleselector__outer,.editorSidebar__body .block__body .field-rows--2cols .field-rows__content .singleselector__outer,.editorSidebar__body .block__body .field-rows--3cols .field-rows__content .singleselector__outer,.fieldset .field-rows--2cols .field-rows__content .singleselector__outer,.fieldset .field-rows--3cols .field-rows__content .singleselector__outer{display:flex;flex-wrap:wrap}.block .block__content .block__body .field-rows--2cols .field-rows__content>.input,.editorSidebar__body .block__body .field-rows--2cols .field-rows__content>.input,.fieldset .field-rows--2cols .field-rows__content>.input{width:50%;border-right:1px solid #f2f2f2}.block .block__content .block__body .field-rows--2cols .field-rows__content>.input:first-child+.input,.editorSidebar__body .block__body .field-rows--2cols .field-rows__content>.input:first-child+.input,.fieldset .field-rows--2cols .field-rows__content>.input:first-child+.input{border-top:0 none}.block .block__content .block__body .field-rows--2cols .field-rows__content>.input:nth-child(2n+2),.editorSidebar__body .block__body .field-rows--2cols .field-rows__content>.input:nth-child(2n+2),.fieldset .field-rows--2cols .field-rows__content>.input:nth-child(2n+2){border-right:0 none}.block .block__content .block__body .field-rows--2cols .field-rows__content .singleselector__outer .singleselector__item,.editorSidebar__body .block__body .field-rows--2cols .field-rows__content .singleselector__outer .singleselector__item,.fieldset .field-rows--2cols .field-rows__content .singleselector__outer .singleselector__item{width:50%;border-right:1px solid #f2f2f2}.block .block__content .block__body .field-rows--2cols .field-rows__content .singleselector__outer .singleselector__item:first-child+.singleselector__item,.editorSidebar__body .block__body .field-rows--2cols .field-rows__content .singleselector__outer .singleselector__item:first-child+.singleselector__item,.fieldset .field-rows--2cols .field-rows__content .singleselector__outer .singleselector__item:first-child+.singleselector__item{border-top:0 none}.block .block__content .block__body .field-rows--2cols .field-rows__content .singleselector__outer .singleselector__item:nth-child(2n+2),.editorSidebar__body .block__body .field-rows--2cols .field-rows__content .singleselector__outer .singleselector__item:nth-child(2n+2),.fieldset .field-rows--2cols .field-rows__content .singleselector__outer .singleselector__item:nth-child(2n+2){border-right:0 none}.block .block__content .block__body .field-rows--3cols .field-rows__content>.input,.editorSidebar__body .block__body .field-rows--3cols .field-rows__content>.input,.fieldset .field-rows--3cols .field-rows__content>.input{width:33.3333%;border-right:1px solid #f2f2f2}.block .block__content .block__body .field-rows--3cols .field-rows__content>.input:first-child+.input,.block .block__content .block__body .field-rows--3cols .field-rows__content>.input:first-child+.input+.input,.editorSidebar__body .block__body .field-rows--3cols .field-rows__content>.input:first-child+.input,.editorSidebar__body .block__body .field-rows--3cols .field-rows__content>.input:first-child+.input+.input,.fieldset .field-rows--3cols .field-rows__content>.input:first-child+.input,.fieldset .field-rows--3cols .field-rows__content>.input:first-child+.input+.input{border-top:0 none}.block .block__content .block__body .field-rows--3cols .field-rows__content>.input:nth-child(3n+3),.editorSidebar__body .block__body .field-rows--3cols .field-rows__content>.input:nth-child(3n+3),.fieldset .field-rows--3cols .field-rows__content>.input:nth-child(3n+3){border-right:0 none}.block .block__content .block__body .field-rows--3cols .field-rows__content .singleselector__outer .singleselector__item,.editorSidebar__body .block__body .field-rows--3cols .field-rows__content .singleselector__outer .singleselector__item,.fieldset .field-rows--3cols .field-rows__content .singleselector__outer .singleselector__item{width:33.3333%;border-right:1px solid #f2f2f2}.block .block__content .block__body .field-rows--3cols .field-rows__content .singleselector__outer .singleselector__item:first-child+.singleselector__item,.editorSidebar__body .block__body .field-rows--3cols .field-rows__content .singleselector__outer .singleselector__item:first-child+.singleselector__item,.fieldset .field-rows--3cols .field-rows__content .singleselector__outer .singleselector__item:first-child+.singleselector__item{border-top:0 none}.block .block__content .block__body .field-rows--3cols .field-rows__content .singleselector__outer .singleselector__item:nth-child(3n+3),.editorSidebar__body .block__body .field-rows--3cols .field-rows__content .singleselector__outer .singleselector__item:nth-child(3n+3),.fieldset .field-rows--3cols .field-rows__content .singleselector__outer .singleselector__item:nth-child(3n+3){border-right:0 none}.header{background:#000;color:#8c8c8c;padding-bottom:50px;font-feature-settings:"kern"}.header .container{display:flex;flex-flow:row nowrap}.header__title{margin-right:33px;margin-left:-17px;color:#fff;flex-grow:1}.header__title a{height:60px;line-height:60px;display:inline-block;color:inherit}@media screen and (min-width:1040px){.header__title{flex-grow:0}}.header__nav,.header__title,.header__user{height:60px;line-height:60px}.header__nav a,.header__title a,.header__user a{text-decoration:none;color:inherit;white-space:nowrap}.header__nav a,.header__title a{padding:0 17px}.header__nav{display:none;flex-grow:1;overflow:hidden;overflow-x:auto;position:relative}.header__nav ul{white-space:nowrap}@media screen and (min-width:1040px){.header__nav{display:flex;flex-direction:row;flex-wrap:no-wrap}}.header__user{display:none;z-index:301}.header__user a .icon{position:relative;margin-left:5px;top:-1px;color:#666}.header__user .dropdown--active a,.header__user .dropdown--active a .icon,.header__user a:hover .icon{color:#fff}.header__user .dropdown--active .dropdown__inner a{color:#8c8c8c}.header__user .dropdown--active .dropdown__inner a:hover{color:#262626}@media screen and (min-width:1040px){.header__user{display:block}}.header__user[v-cloak] div{display:none}.header__nav::-webkit-scrollbar-track-piece{background:#000}.header__nav::-webkit-scrollbar-thumb:horizontal,.header__nav::-webkit-scrollbar-thumb:vertical{background:#333}.header__items{position:relative}.header__items+.header__items{margin-left:0}.header__items+.header__items:before{content:"•";color:#333;display:inline-block;padding:0 17px;height:60px;line-height:60px}.header__item{color:#8c8c8c;display:inline-block}.header__item.s--on,.header__item:hover{color:#fff}.header__item a{height:60px;line-height:60px;display:inherit;padding:0 17px}.header__user a{text-decoration:none;color:#8c8c8c;height:60px;line-height:60px}.header__user a:hover{color:#fff}.headerMobile{width:100%;top:0;left:0;right:0;bottom:0;overflow:hidden;position:absolute;visibility:hidden;transition:opacity .3s ease,visibility .3s ease;z-index:120;opacity:0;color:#fff;background:rgba(0,0,0,.9);font-feature-settings:"kern"}.headerMobile,.headerMobile__nav{min-height:100%;transform:translateZ(0)}.headerMobile__nav{pointer-events:auto;max-height:100%;position:relative;z-index:121;overflow-y:scroll}.headerMobile__list{padding-top:35px}.headerMobile__list>a{line-height:30px;height:30px;white-space:nowrap;display:inline-block;text-decoration:none;color:#8c8c8c}.headerMobile__list>a:focus{outline:0}.headerMobile__list>a.s--on,.headerMobile__list>a:hover{color:#fff}.headerMobile__list+.headerMobile__list{padding-top:0}.headerMobile__list+.headerMobile__list:before{content:"•";color:#333;display:block;line-height:30px;height:30px}.headerMobile__list:last-child{padding-bottom:35px}.headerSearch{height:60px;line-height:60px}.headerSearch a{text-decoration:none;color:inherit;white-space:nowrap}.headerSearch__toggle{display:inline-block;width:47px;padding-left:26px;padding-right:0;text-align:right}.headerSearch__toggle .icon{position:relative;top:2px;right:2px;width:20px;height:20px;color:#8c8c8c}.headerSearch__toggle .icon.icon--search{top:4px;right:0}.headerSearch__toggle:hover .icon{color:#fff}.headerSearch__wrapper[v-cloak]{display:none}.headerSearch__overlay,.headerSearch__wrapper{position:fixed;top:60px;left:0;right:0;width:100%;bottom:0;z-index:300}.headerSearch__overlay{background:rgba(0,0,0,.9);z-index:299}.nav{background:#262626;overflow:hidden;height:60px}.s--search .nav{transition:background-color .14s cubic-bezier(.5,-.6,.5,1.6);background:#000}.nav__list{margin-left:-17px;flex-grow:1;white-space:nowrap;height:110px;overflow:hidden;overflow-x:auto}@media screen and (max-width:599px){.nav__list{margin-left:-20px;padding-left:3px;width:calc(100% + 40px)}}@media screen and (min-width:600px)and (max-width:849px){.nav__list{margin-left:-30px;padding-left:13px;width:calc(100% + 60px)}}@media screen and (min-width:850px)and (max-width:1039px){.nav__list{margin-left:-40px;padding-left:23px;width:calc(100% + 80px)}}@media screen and (min-width:1040px)and (max-width:1539px){.nav__list{margin-left:-50px;padding-left:33px;width:calc(100% + 100px)}}.s--search .nav__list{transition:all .14s cubic-bezier(.5,-.6,.5,1.6);visibility:hidden}.nav__item{height:60px;display:inline-block;color:#8c8c8c}.nav__item.s--on,.nav__item:hover{color:#fff}.nav__item a{height:60px;line-height:60px;display:inherit;text-decoration:none;position:relative;padding:0 17px}.nav__item.s--on a:after{content:"";height:3px;position:absolute;bottom:0;background:#fff;width:100%;left:0;right:0}.navUnder{background-color:#e5e5e5;overflow:hidden;height:60px}.navUnder__list{margin-left:-17px;flex-grow:1;white-space:nowrap;height:110px;overflow:hidden;overflow-x:auto}.navUnder__item{height:60px;display:inline-block;color:gray}.navUnder__item.s--on,.navUnder__item:hover{color:#262626}.navUnder__item a{height:60px;line-height:60px;display:inherit;text-decoration:none;position:relative;padding:0 17px}.breadcrumb{background-color:#e5e5e5;overflow:hidden;height:60px}.breadcrumb__item{height:60px;display:inline-block;color:gray}.breadcrumb__item a,.breadcrumb__item span:not(.breadcrumb__link){display:inherit;height:60px;line-height:60px;padding:0 14px}.breadcrumb__item a{color:#262626;text-decoration:none}.breadcrumb__item a:hover .breadcrumb__link{text-decoration:none;background-image:linear-gradient(180deg,rgba(38,38,38,.5) 75%,rgba(38,38,38,.5) 0);background-repeat:repeat-x;background-size:1px 1px;background-position:0 98%}.breadcrumb__item:before{content:"";display:inline-block;height:18px;width:1px;background:#a6a6a6;transform:rotate(29deg) translateY(4px)}.breadcrumb__item:first-child a,.breadcrumb__item:first-child span{padding-left:0}.breadcrumb__item:first-child:before{display:none}.navbar{width:100%;background-color:#f2f2f2;overflow:hidden;margin-bottom:20px}.navbar--sticky{min-height:90px}.navbar .container{display:flex}.secondarynav{padding:20px 0}.secondarynav.secondarynav--mobile{display:none}.secondarynav.secondarynav--dropdown{min-width:150px}@media screen and (max-width:1200px){.secondarynav.secondarynav--mobile{display:inline-block}.secondarynav.secondarynav--desktop{display:none}}@media screen and (max-width:599px){.secondarynav.secondarynav--dropdown.secondarynav--mobile{padding-bottom:0}}.secondarynav__item{height:35px;display:inline-block;color:#3278b8}.secondarynav__item a{height:35px;line-height:35px;display:inherit;color:inherit;text-decoration:inherit;position:relative;padding:0 17px;border-radius:17px}.secondarynav__item.s--on{color:#262626}.secondarynav__item.s--on a{background:#fff}.secondarynav__item.s--disabled{color:#262626}.secondarynav__item.s--disabled a{opacity:.5;pointer-events:none}.secondarynav__link{text-decoration:none}.secondarynav__item:hover .secondarynav__link{text-decoration:none;background-image:linear-gradient(180deg,rgba(50,120,184,.5) 75%,rgba(50,120,184,.5) 0);background-repeat:repeat-x;background-size:1px 1px;background-position:0 98%}.secondarynav__item.s--disabled:hover .secondarynav__link,.secondarynav__item.s--on:hover .secondarynav__link{background-image:none}.secondarynav__number{color:#a6a6a6;font-size:13px;margin-left:6px}.secondarynav--dropdown .dropdown{width:100%}.secondarynav--dropdown .secondarynav__button{position:relative}.secondarynav--dropdown .dropdown__content a{padding-right:15px!important}.secondarynav--dropdown .secondarynav__item{width:100%;color:#f2f2f2}.secondarynav--dropdown .secondarynav__item:hover .secondarynav__link{text-decoration:none;background-image:linear-gradient(180deg,hsla(0,0%,95%,.5) 75%,hsla(0,0%,95%,.5) 0);background-repeat:repeat-x;background-size:1px 1px;background-position:0 98%}.footer{padding:20px 0}.footer .container{display:flex;flex-flow:row wrap;color:#8c8c8c;font-size:13px}.footer__copyright{flex-grow:1;font-feature-settings:"kern"}.sortable-ghost{cursor:grabbing!important}.sortable-chosen{opacity:.25}.sortable-drag{opacity:.95}.sortable-nodrag{cursor:no-drop!important}.draggable_list-enter-active,.draggable_list-leave-active{transition:opacity .25s ease,transform .3s linear}.draggable_list-enter{opacity:0;transform:translateX(-30px)}.draggable_list-leave-to{opacity:0;transform:translateX(30px)}.form{background-color:#f2f2f2;min-height:calc(100vh - 200px);padding-bottom:80px}input::-ms-clear{display:none}input[type=search]{-webkit-appearance:none}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{text-align:left;-moz-appearance:textfield}.form__map{max-width:100%;height:250px;margin-top:10px;background:#ccc}.form__field{position:relative;overflow:hidden;height:45px;border-radius:2px;box-shadow:inset 0 0 1px #f9f9f9;width:100%;border:0 none;box-sizing:border-box;font-size:15px;caret-color:#3278b8;background-color:#fbfbfb;border:1px solid #d9d9d9;color:#666;display:block}.form__field::-webkit-input-placeholder{color:#ccc}.form__field:-moz-placeholder,.form__field::-moz-placeholder{color:#ccc}.form__field:-ms-input-placeholder{color:#ccc}.form__field.s--focus,.form__field:hover{border-color:#a6a6a6;color:#666;outline:0;background-color:#fff}.form__field.s--disabled{background-color:#fbfbfb;border:1px solid #d9d9d9;color:#666;box-shadow:0 none;outline:0;opacity:.5;pointer-events:none}.form__field input[type=search],.form__field input[type=text]{padding:0;margin:0;border-radius:0;-webkit-appearance:none;background:transparent;border:0 none;font-size:inherit;letter-spacing:inherit;width:100%;height:43px;line-height:43px;padding:0 15px;color:inherit}.form__field input[type=search]:focus,.form__field input[type=text]:focus{outline:0}.form__field input[type=search]::-webkit-input-placeholder,.form__field input[type=text]::-webkit-input-placeholder{color:#ccc}.form__field input[type=search]:-moz-placeholder,.form__field input[type=search]::-moz-placeholder,.form__field input[type=text]:-moz-placeholder,.form__field input[type=text]::-moz-placeholder{color:#ccc}.form__field input[type=search]:-ms-input-placeholder,.form__field input[type=text]:-ms-input-placeholder{color:#ccc}.form__field textarea{padding:0;margin:0;border-radius:0;-webkit-appearance:none;background:transparent;border:0 none;font-size:inherit;letter-spacing:inherit;padding:10px;line-height:inherit;width:100%;box-sizing:border-box;display:block;resize:none;z-index:1;position:relative;color:inherit}.form__field textarea:focus{outline:0}.form__field textarea::-webkit-input-placeholder{color:#ccc}.form__field textarea:-moz-placeholder,.form__field textarea::-moz-placeholder{color:#ccc}.form__field textarea:-ms-input-placeholder{color:#ccc}.form__field input[type=search]{display:block;background-repeat:no-repeat;background-position:100%}.form__field input[type=search]::-webkit-input-placeholder{color:#ccc}.form__field input[type=search]:-moz-placeholder,.form__field input[type=search]::-moz-placeholder{color:#ccc}.form__field input[type=search]:-ms-input-placeholder{color:#ccc}.form__field--textarea{display:block;padding:0;height:auto;line-height:inherit}.form__input{border-radius:2px;box-shadow:inset 0 0 1px #f9f9f9;border:0 none;box-sizing:border-box;font-size:15px;caret-color:#3278b8;background-color:#fbfbfb;border:1px solid #d9d9d9;color:#666;width:100%;height:45px;line-height:45px;padding:0 15px}.form__input:focus,.form__input:hover{border-color:#a6a6a6;color:#666;outline:0;background-color:#fff}.form__input:disabled{background-color:#fbfbfb;border:1px solid #d9d9d9;color:#666;box-shadow:0 none;outline:0;opacity:.5;pointer-events:none}.form__input::-webkit-input-placeholder{color:#ccc}.form__input:-moz-placeholder,.form__input::-moz-placeholder{color:#ccc}.form__input:-ms-input-placeholder{color:#ccc}.form__input--small{padding:0 13px;height:35px;line-height:35px}.form__input--hidden{display:none}.listing{padding-bottom:100px}.listing__nav{background:#f2f2f2;margin-bottom:20px;position:relative}@media screen and (min-width:850px){.sticky{position:relative}.sticky__fixed,.sticky__fixedTop{width:inherit;position:fixed;top:20px}.sticky__fixedBottom{width:inherit;position:fixed;bottom:0}.sticky__abs{width:inherit;position:absolute;bottom:0}.publisher{z-index:400}.publisher.sticky__fixed,.publisher.sticky__fixedTop{top:80px}.stickyNav.sticky__fixed,.stickyNav.sticky__fixedTop{top:0}}.fade_scale_list-enter-active,.fade_scale_list-leave-active{transition:max-height .25s ease;overflow:hidden}.fade_scale_list-enter-to,.fade_scale_list-leave{max-height:80px}.fade_scale_list-enter,.fade_scale_list-leave-to{max-height:0}.fade_scale_modal-leave-active,.move_down_notif-enter-active{transition:transform .25s linear}.fade_scale_modal-enter,.fade_scale_modal-leave-to{transform:scale(.975)}.fade_move_dropdown-enter-active,.fade_move_dropdown-leave-active{transition:opacity .25s ease,transform .25s linear}.fade_move_dropdown-enter,.fade_move_dropdown-leave-to{opacity:0}.move_down_notif-enter-active,.move_down_notif-leave-active{transition:transform .25s linear,opacity .25s linear}.move_down_notif-enter-to,.move_down_notif-leave{transform:translateY(0);opacity:1}.move_down_notif-enter,.move_down_notif-leave-to{transform:translateY(100%);opacity:0}.scale_filter-enter-active,.scale_filter-leave-active{transition:max-height .5s ease;overflow:hidden}.scale_filter-enter-to,.scale_filter-leave{max-height:100px}.scale_filter-enter,.scale_filter-leave-to{max-height:0}.fade_spinner-enter-active,.fade_spinner-leave-active{transition:opacity .25s linear}.fade_spinner-enter-to,.fade_spinner-leave{opacity:1}.fade_spinner-enter,.fade_spinner-leave-to{opacity:0}.fade_search-overlay-enter-active,.fade_search-overlay-leave-active{transition:opacity .12s ease-in-out}.fade_search-overlay-enter,.fade_search-overlay-leave-to{opacity:0}@keyframes fadeIn{10%{opacity:1}50%{opacity:.2}90%{opacity:1}}.loader{height:8px;width:8px;display:block;overflow:visible;position:relative}.loader span,.loader:after,.loader:before{background:#a6a6a6;border-radius:50%;animation:fadeIn 1.8s infinite;height:8px;width:8px;display:block}.loader:after,.loader:before{content:"";position:absolute;top:0}.loader span{animation-delay:.3s}.loader:before{left:-16px;animation-delay:0}.loader:after{left:16px;animation-delay:.6s}.loader--small,.loader--small span,.loader--small:after,.loader--small:before{height:6px;width:6px}.loader--small:before{left:-12px}.loader--small:after{left:12px}body .flatpickr-wrapper{display:block}body .flatpickr-wrapper .flatpickr-input{border-radius:2px;box-shadow:inset 0 0 1px #f9f9f9;border:0 none;box-sizing:border-box;font-size:15px;caret-color:#3278b8;background-color:#fbfbfb;border:1px solid #d9d9d9;color:#666;width:100%;height:45px;line-height:45px;padding:0 15px}body .flatpickr-wrapper .flatpickr-input:focus,body .flatpickr-wrapper .flatpickr-input:hover{border-color:#a6a6a6;color:#666;outline:0;background-color:#fff}body .flatpickr-wrapper .flatpickr-input:disabled{background-color:#fbfbfb;border:1px solid #d9d9d9;color:#666;box-shadow:0 none;outline:0;opacity:.5;pointer-events:none}body .flatpickr-wrapper .flatpickr-input::-webkit-input-placeholder{color:#ccc}body .flatpickr-wrapper .flatpickr-input:-moz-placeholder,body .flatpickr-wrapper .flatpickr-input::-moz-placeholder{color:#ccc}body .flatpickr-wrapper .flatpickr-input:-ms-input-placeholder{color:#ccc}body .flatpickr-calendar{border-radius:2px;box-shadow:0 0 8px rgba(0,0,0,.3)}body .flatpickr-month{height:50px}body .flatpickr-month .flatpickr-next-month,body .flatpickr-month .flatpickr-prev-month{height:50px;line-height:50px;padding-top:0;padding-bottom:0}body .flatpickr-current-month{font-size:1em;height:50px;padding-top:16px}body .flatpickr-current-month input.cur-year,body .flatpickr-current-month span.cur-month{font-weight:600}body .flatpickr-day{border-radius:2px}body .flatpickr-day.endRange,body .flatpickr-day.endRange.inRange,body .flatpickr-day.endRange.nextMonthDay,body .flatpickr-day.endRange.prevMonthDay,body .flatpickr-day.endRange:focus,body .flatpickr-day.endRange:hover,body .flatpickr-day.selected,body .flatpickr-day.selected.inRange,body .flatpickr-day.selected.nextMonthDay,body .flatpickr-day.selected.prevMonthDay,body .flatpickr-day.selected:focus,body .flatpickr-day.selected:hover,body .flatpickr-day.startRange,body .flatpickr-day.startRange.inRange,body .flatpickr-day.startRange.nextMonthDay,body .flatpickr-day.startRange.prevMonthDay,body .flatpickr-day.startRange:focus,body .flatpickr-day.startRange:hover{background:#3278b8;border-color:#3278b8}.a17 .v-select{font-family:inherit}.a17 .v-select input[type=search],.a17 .v-select input[type=search]:focus{padding:0 15px;font-size:15px;margin:0}.a17 .v-select .spinner{top:15px;right:15px;width:18px;height:18px;border-top:2px solid hsla(0,0%,65%,.2);border-right:2px solid hsla(0,0%,65%,.2);border-bottom:2px solid hsla(0,0%,65%,.2);border-left:2px solid hsla(0,0%,65%,.8)}.a17 .v-select .vs__dropdown-menu{border:0 none;padding:15px 0;border-top:1px solid #f2f2f2;box-shadow:0 0 8px rgba(0,0,0,.3);border-radius:2px}.a17 .v-select .vs__dropdown-menu li.vs__no-options{color:#8c8c8c;text-align:left;padding:0 15px}.a17 .v-select .vs__dropdown-menu .vs__dropdown-option{padding:0 15px;background:#fff;color:#8c8c8c}.a17 .v-select .vs__dropdown-menu .vs__dropdown-option--highlight,.a17 .v-select .vs__dropdown-menu .vs__dropdown-option--highlight:focus,.a17 .v-select .vs__dropdown-menu .vs__dropdown-option--highlight:hover,.a17 .v-select .vs__dropdown-menu .vs__dropdown-option:focus,.a17 .v-select .vs__dropdown-menu .vs__dropdown-option:hover{color:#262626;background:#f2f2f2}.a17 .v-select .vs__dropdown-menu .vs__dropdown-option--selected{color:#262626;background:#fff}.a17 .v-select .vs__dropdown-menu .vs__dropdown-option--selected:focus,.a17 .v-select .vs__dropdown-menu .vs__dropdown-option--selected:hover{color:#262626;background:#f2f2f2}.a17 .v-select .vs__dropdown-menu .vs__dropdown-option{height:35px;line-height:35px}.a17 .v-select input[type=search]::-webkit-input-placeholder{color:#ccc}.a17 .v-select input[type=search]:-moz-placeholder,.a17 .v-select input[type=search]::-moz-placeholder{color:#ccc}.a17 .v-select input[type=search]:-ms-input-placeholder{color:#ccc}.a17 .vselect--single .vs__dropdown-toggle:after{visibility:visible;content:"";position:absolute;display:block;top:50%;right:15px;z-index:1;pointer-events:none;width:0;height:0;margin-top:-1px;border-width:4px 4px 0;border-style:solid;border-color:#a6a6a6 transparent transparent}.a17 .vselect--single .vselect__field .vs__selected{padding:0;cursor:pointer}.a17 .vselect--single .vselect__field input{padding:0!important}.a17 .vselect--single .vs__actions{padding-right:0;padding-left:0}.a17 .vselect--single .vs__selected-options{padding:0 15px}.a17 .vselect--single .vs__search{padding-right:0;border:0}.a17 .vselect--single .vs--disabled.v-select{background:var(--vs-state-disabled-bg)}.a17 .vselect--single .vs--disabled.v-select .vs__dropdown-toggle{background:none}.a17 .loading .vselect--single .vs__dropdown-toggle:after{opacity:0}.a17 .vselect__field .vs__dropdown-toggle{border-radius:2px;background:#fff;overflow:hidden;cursor:pointer}.a17 .vselect__field .vs__selected{border:0 none;background:transparent;border-radius:0;padding:0 0 0 15px;margin:0;color:#8c8c8c}.a17 .vselect__field .vs__selected button{position:absolute;background-color:#a6a6a6;color:#8c8c8c;height:18px;width:18px;top:50%;right:5px;transform:translateY(-50%);background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjRTVFNUU1IiBkPSJtMiAyIDYgNm0wLTZMMiA4Ii8+PC9zdmc+);background-repeat:no-repeat;background-position:50%;border-radius:50%}.a17 .vselect__field .vs__selected svg{display:none}.a17 .vselect__field .v-select.open .vs__dropdown-toggle,.a17 .vselect__field .v-select:hover .vs__dropdown-toggle{border-color:#a6a6a6;border-bottom-left-radius:2px;border-bottom-right-radius:2px}.a17 .vselect__field .v-select.open .vs__selected,.a17 .vselect__field .v-select:hover .vs__selected{color:#262626;opacity:1}.a17 .vselect__field .vs__open-indicator{display:none}.a17 .vselect__field .vs__dropdown-toggle{height:33px}.a17 .vselect__field .vs__selected{height:33px;line-height:33px;font-size:15px}.a17 .vselect--large .vselect__field .vs__dropdown-toggle{height:45px}.a17 .vselect--large .vselect__field .vs__selected{height:45px;line-height:45px}.a17 .vselect--large .vselect__field input[type=search],.a17 .vselect--large .vselect__field input[type=search]:focus{height:44px;line-height:44px}.a17 .vselect--single .vs__selected{pointer-events:none}.a17 .vselect .v-select.unsearchable input[type=search]{max-width:none;opacity:1;min-width:200px;margin:0;pointer-events:none}.a17 .vselect.vselect--has-value .v-select.unsearchable input[type=search]{min-width:0;width:0;margin:0}.a17 .vselect .v-select.unsearchable>.vs__dropdown-toggle>.vs__selected+input[type=search]{width:1px;margin:0}.a17 .v-select .vs__dropdown .vs__dropdown-menu{min-width:auto}.a17 .v-select .vs__dropdown-toggle{display:flex;flex-wrap:no-wrap}.a17 .v-select .vs__dropdown-toggle .vs__selected{position:relative!important}.a17 .v-select .vs__dropdown-toggle input[style]{flex-basis:100px;flex-grow:1;width:100%!important}.a17 .vselect--multiple .vs__dropdown-toggle{min-height:45px;height:auto;padding-bottom:0;background-color:#fbfbfb;border:1px solid #d9d9d9;color:#666;flex-wrap:wrap}.a17 .vselect--multiple .open .vs__dropdown-toggle,.a17 .vselect--multiple .vs__dropdown-toggle:hover{border-color:#a6a6a6}.a17 .vselect--multiple input[type=search],.a17 .vselect--multiple input[type=search]:focus{height:31px;margin-top:7px}.a17 .vselect--multiple .vs__selected{border-radius:15px;background:#e5e5e5;padding:0 33px 0 15px;color:#262626;height:30px;line-height:30px;margin:7px 0 0 10px;position:relative}.a17 .vselect--multiple .vs__selected .close{border-radius:50%;background-color:#a6a6a6;height:18px;width:18px;line-height:18px;overflow:hidden;display:inline-block;opacity:1;text-shadow:none;color:#e5e5e5;font-size:15px;font-weight:400;position:absolute;right:5px;top:6px;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjRTVFNUU1IiBkPSJtMiAyIDYgNm0wLTZMMiA4Ii8+PC9zdmc+);background-repeat:no-repeat;background-position:50%}.a17 .vselect--multiple .vs__selected .close span{display:none}.a17 .vselect--multiple .vs__selected .close:hover{background-color:#a6a6a6}.a17 .v-select.disabled .selected-tag{padding-right:15px}.a17 .v-select.disabled .selected-tag .close{display:none}.a17 .vselect--small .dropdown-toggle{flex-wrap:nowrap}.a17 .vselect--small .vs__actions{flex-basis:27px}.a17 .vselect--small .spinner{align-self:flex-start;margin-top:8px;margin-right:1px}.a17 .vselect--small .vs__dropdown-menu li.vs__no-options{font-size:13px}.a17 .vselect--small.vselect--multiple .vs__selected{height:21px;line-height:21px;font-size:15px;border-radius:10px;padding-left:8px;padding-right:25px;font-size:13px}.a17 .vselect--small.vselect--multiple .vs__selected .close{top:2px;right:2px;background-color:transparent;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjYTZhNmE2IiBkPSJtMiAyIDYgNm0wLTZMMiA4Ii8+PC9zdmc+);color:#a6a6a6}.a17 .vselect--small.vselect--multiple .vs__selected .close span{display:none}.a17 .vselect--small.vselect--multiple input[type=search],.a17 .vselect--small.vselect--multiple input[type=search]:focus{height:21px;margin-top:7px}.a17 .vselect--small.vselect--multiple .vs__dropdown-toggle{min-height:35px}.a17 .input--error .v-select .vs__dropdown-toggle,.a17 .input--error .v-select .vs__dropdown-toggle:focus,.a17 .input--error .v-select .vs__dropdown-toggle:hover{border-color:#e61414}.main{position:relative}@keyframes fadeInLoader{0%{opacity:0}to{opacity:1}}.appLoader{position:absolute;top:0;bottom:0;left:0;right:0;color:#8c8c8c;text-align:center;z-index:8;display:block;transition:opacity .35s ease,visibility 0s .35s;pointer-events:none;opacity:0;visibility:hidden}.appLoader>span{display:inline-block;margin-top:20vh;opacity:0;animation:fadeInLoader 1s normal forwards;animation-delay:.6s}.app[v-cloak]>*{visibility:hidden}.app[v-cloak]+.appLoader{opacity:1;visibility:visible;transition:opacity .35s}.s--modal,.s--modal body{overflow:hidden}.s--modal body{width:100%;height:100%}.s--overlay{overflow:hidden}.s--overlay body{overflow:hidden;width:100%;height:100%;max-height:100%}@media screen and (max-width:1039px){.s--nav{overflow:visible;height:100%}.s--nav body .a17{position:fixed;width:100%;overflow:hidden}.s--nav .headerMobile{opacity:1!important;visibility:visible!important}.s--nav .ham{z-index:122}.s--nav .ham__label,.s--nav .ham__line{opacity:0}.s--nav .ham__icon{display:none}.s--nav .ham__icon:after,.s--nav .ham__icon:before{opacity:0}.s--nav .ham .icon{display:block}}.env:before{transition:transform .3s linear;transform:translateY(-100%)}.s--env .env:before{transform:translateY(0)}.visually-hidden{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.create-fieldset-margin{margin-top:35px}.container[data-v-44a53510]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-44a53510]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-44a53510]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-44a53510]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-44a53510]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-44a53510]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-44a53510]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-44a53510]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-44a53510]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-44a53510]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-44a53510]{width:auto}}.avatar[data-v-44a53510]{position:relative;width:36px;height:36px;border-radius:50%}.avatar img[data-v-44a53510]{position:absolute;top:0;left:0;width:100%;height:100%;min-height:0;object-fit:cover;border-radius:50%;z-index:2}.avatar__letter[data-v-44a53510]{position:absolute;top:1px;left:1px;display:flex;flex-flow:row wrap;align-items:center;justify-content:center;width:calc(100% - 2px);height:calc(100% - 2px);color:#fff;border-radius:50%;z-index:1}.avatar--background-orange .avatar__letter[data-v-44a53510]{background-color:#ff7a00}.avatar--background-blue .avatar__letter[data-v-44a53510]{background-color:#148ddb}.avatar--background-purple .avatar__letter[data-v-44a53510]{background-color:#793cb8}.avatar--background-red .avatar__letter[data-v-44a53510]{background-color:red}.container[data-v-19917f52]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-19917f52]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-19917f52]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-19917f52]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-19917f52]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-19917f52]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-19917f52]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-19917f52]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-19917f52]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-19917f52]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-19917f52]{width:auto}}.browserItem[data-v-19917f52]{width:100%;border-bottom:1px solid #f2f2f2}.browserItem:hover .browserItem__cell[data-v-19917f52]{background-color:#fbfbfb}.browserItem[data-v-19917f52]:last-child{border-bottom:0 none}.browserItem__cell[data-v-19917f52]{padding:14px 15px 14px 0;vertical-align:middle}.browserItem__cell--name a[data-v-19917f52]{color:#3278b8;text-decoration:none}.browserItem__cell--thumb[data-v-19917f52]{padding-top:16px;padding-bottom:16px;padding-left:15px;width:50px}.browserItem__cell--thumb a[data-v-19917f52]{color:#3278b8;text-decoration:none;display:block}.browserItem__cell--thumb img[data-v-19917f52]{display:block;width:50px;min-height:50px;background:#f2f2f2;height:auto}.browserItem__cell--thumb-avatar[data-v-19917f52]{padding-top:12px;padding-bottom:12px;width:36px}.browserItem__cell--thumb-avatar img[data-v-19917f52]{width:36px;min-height:36px}.browserItem__cell--type[data-v-19917f52]{text-transform:capitalize;width:165px}.browserItem__cell--type span[data-v-19917f52]{display:inline-block;width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.browserItem__cell--drag+.browserItem__cell--name[data-v-19917f52],.browserItem__cell--name[data-v-19917f52]:first-child{padding-left:15px}@media screen and (min-width:600px){.browserItem__cell--drag+.browserItem__cell--name[data-v-19917f52],.browserItem__cell--name[data-v-19917f52]:first-child{padding-left:29px}}.browserItem__cell--drag[data-v-19917f52]{padding:0;width:12px;min-width:12px;background-color:#fbfbfb;transition:background .25s ease;cursor:move}.browserItem__cell--drag[data-v-19917f52]:hover{background-color:#f2f2f2}.drag__handle:hover .drag__handle--drag[data-v-19917f52]:before{background:repeating-linear-gradient(90deg,#f2f2f2,#f2f2f2 2px,transparent 0,transparent 4px)}.browserItem__cell--icon[data-v-19917f52]{width:1px}.browserItem__cell--icon button[data-v-19917f52]{display:block}.drag__handle--drag[data-v-19917f52]{position:relative;width:10px;height:42px;margin-left:auto;margin-right:auto;transition:background .25s ease;cursor:move;background:repeating-linear-gradient(180deg,#bfbfbf,#bfbfbf 2px,transparent 0,transparent 4px)}.drag__handle--drag[data-v-19917f52]:before{position:absolute;display:block;content:"";background:repeating-linear-gradient(90deg,#fbfbfb,#fbfbfb 2px,transparent 0,transparent 4px);width:100%;height:100%}.drag__handle--drag-small[data-v-19917f52]{height:22px}.container[data-v-0ddc4be5]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-0ddc4be5]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-0ddc4be5]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-0ddc4be5]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-0ddc4be5]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-0ddc4be5]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-0ddc4be5]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-0ddc4be5]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-0ddc4be5]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-0ddc4be5]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-0ddc4be5]{width:auto}}.browserField[data-v-0ddc4be5]{display:block;border-radius:2px;border:1px solid #e5e5e5;overflow-x:hidden;background:#fff}.browserField__trigger[data-v-0ddc4be5]{padding:10px;position:relative;border-top:1px solid #f2f2f2}.browserField__trigger[data-v-0ddc4be5]:first-child{border-top:0 none}.browserField__note[data-v-0ddc4be5]{color:#8c8c8c;float:right;position:absolute;bottom:18px;right:15px;display:none}@media screen and (min-width:600px){.browserField__note[data-v-0ddc4be5]{display:inline-block}}@media screen and (min-width:850px)and (max-width:1039px){.browserField__note[data-v-0ddc4be5]{display:none}}.browserField__table[data-v-0ddc4be5]{width:100%;border-collapse:collapse;border-spacing:0}.container[data-v-59eeac35]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-59eeac35]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-59eeac35]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-59eeac35]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-59eeac35]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-59eeac35]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-59eeac35]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-59eeac35]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-59eeac35]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-59eeac35]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-59eeac35]{width:auto}}.button[data-v-59eeac35]{background-color:transparent;-webkit-appearance:none;cursor:pointer;font-size:1em;outline:none;margin:0;border:0 none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:inherit;display:inline-block;border-radius:2px;padding:0 30px;height:40px;line-height:38px;text-align:center;transition:color .2s linear,border-color .2s linear,background-color .2s linear;text-decoration:none}.button[data-v-59eeac35]:disabled{cursor:default;pointer-events:none}.button--small[data-v-59eeac35]{height:35px;line-height:33px;padding:0 25px}.button--primary[data-v-59eeac35]{background:#333;color:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.button--primary[data-v-59eeac35]:focus,.button--primary[data-v-59eeac35]:hover{background:#1a1a1a}.button--primary[data-v-59eeac35]:active{background:#0d0d0d}.button--primary[data-v-59eeac35]:disabled{opacity:.5}.button--action[data-v-59eeac35],.button--editor[data-v-59eeac35]{background:#3278b8;color:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.button--action[data-v-59eeac35]:focus,.button--action[data-v-59eeac35]:hover,.button--editor[data-v-59eeac35]:focus,.button--editor[data-v-59eeac35]:hover{background:#2d6ca6}.button--action[data-v-59eeac35]:active,.button--editor[data-v-59eeac35]:active{background:#285f92}.button--action[data-v-59eeac35]:disabled,.button--editor[data-v-59eeac35]:disabled{opacity:.5;pointer-events:none}.button--editor[data-v-59eeac35]{text-transform:uppercase;font-size:11.5px;letter-spacing:0;font-weight:600;padding:0 15px}.button--editor .icon[data-v-59eeac35]{vertical-align:baseline;top:3px;position:relative;margin-right:10px}.button--validate[data-v-59eeac35]{background:#1d9f3c;color:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.button--validate[data-v-59eeac35]:focus,.button--validate[data-v-59eeac35]:hover{background:#1a8f36}.button--validate[data-v-59eeac35]:active{background:#16792e}.button--validate[data-v-59eeac35]:disabled{color:#a6a6a6;background:#e5e5e5;pointer-events:none}.button--aslink[data-v-59eeac35]{background:transparent;color:#3278b8}.button--aslink:hover span[data-v-59eeac35]{text-decoration:none;background-image:linear-gradient(180deg,rgba(50,120,184,.5) 75%,rgba(50,120,184,.5) 0);background-repeat:repeat-x;background-size:1px 1px;background-position:0 98%}.button--aslink-grey[data-v-59eeac35]{font-size:13px;background:transparent;color:#8c8c8c}.button--aslink-grey:hover span[data-v-59eeac35]{text-decoration:none;background-image:linear-gradient(180deg,hsla(0,0%,55%,.5) 75%,hsla(0,0%,55%,.5) 0);background-repeat:repeat-x;background-size:1px 1px;background-position:0 98%}.button--warning[data-v-59eeac35]{background:#e61414;color:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.button--warning[data-v-59eeac35]:focus,.button--warning[data-v-59eeac35]:hover{background:#b71010}.button--warning[data-v-59eeac35]:active{background:#a00e0e}.button--warning[data-v-59eeac35]:disabled{opacity:.5;pointer-events:none}.button--secondary[data-v-59eeac35]{background:#e5e5e5;color:#666}.button--secondary[data-v-59eeac35]:focus,.button--secondary[data-v-59eeac35]:hover{background:#d9d9d9;color:#262626}.button--secondary[data-v-59eeac35]:active{background:#ccc;color:#262626}.button--secondary[data-v-59eeac35]:disabled{opacity:.5;pointer-events:none}.button--dropdown[data-v-59eeac35]{border:1px solid #d9d9d9;background:#fff;padding-left:15px;padding-right:39px}.button--dropdown[data-v-59eeac35]:after{top:50%;right:15px;content:"";position:absolute;display:block;width:0;height:0;margin-top:-1px;border-width:4px 4px 0;border-style:solid;border-color:#a6a6a6 transparent transparent}.button--dropdown-transparent[data-v-59eeac35]{position:relative;border:none;background:transparent;padding-left:15px;padding-right:39px}.button--dropdown-transparent[data-v-59eeac35]:after{top:50%;right:15px;content:"";position:absolute;display:block;width:0;height:0;margin-top:-1px;border-width:4px 4px 0;border-style:solid;border-color:#a6a6a6 transparent transparent}.button--ghost[data-v-59eeac35]{height:35px;line-height:33px;border-radius:17.5px;background-color:transparent;border:1px solid #d9d9d9;color:#8c8c8c;padding:0 20px}.button--ghost[data-v-59eeac35]:active,.button--ghost[data-v-59eeac35]:focus,.button--ghost[data-v-59eeac35]:hover{border-color:#262626;color:#262626}.button--ghost[data-v-59eeac35]:disabled{opacity:.5;pointer-events:none}.button--outline[data-v-59eeac35],.button--tertiary[data-v-59eeac35]{transition:color .1s linear,border-color .1s linear,background-color .1s linear;border:1px solid #8c8c8c;background:transparent;color:#262626}.button--outline[data-v-59eeac35]:active,.button--outline[data-v-59eeac35]:focus,.button--outline[data-v-59eeac35]:hover,.button--tertiary[data-v-59eeac35]:active,.button--tertiary[data-v-59eeac35]:focus,.button--tertiary[data-v-59eeac35]:hover{border-color:#262626;background:#262626;color:#fff}.button--outline[data-v-59eeac35]:disabled,.button--tertiary[data-v-59eeac35]:disabled{opacity:.5;pointer-events:none}.button--icon[data-v-59eeac35]{height:26px;width:26px;line-height:24px;border-radius:50%;border:1px solid #d9d9d9;padding:0;background:#fff;color:#a6a6a6;font-feature-settings:"kern"}.button--icon .icon[data-v-59eeac35]{transition:color .25s linear}.button--icon[data-v-59eeac35]:focus,.button--icon[data-v-59eeac35]:hover{border-color:#262626;color:#262626}.button--icon:focus .icon[data-v-59eeac35],.button--icon:hover .icon[data-v-59eeac35]{color:#262626}.button--icon .icon[data-v-59eeac35]{display:block;margin-left:auto;margin-right:auto;color:#a6a6a6}.button--smallIcon[data-v-59eeac35]{height:21px;width:21px;line-height:21px}.button--greyed.button--icon[data-v-59eeac35]{color:#fff;background:#ccc}.button--greyed.button--icon .icon[data-v-59eeac35]{color:#fff}.button--icon.button--bucket--1[data-v-59eeac35],.button--icon.button--bucket--1[data-v-59eeac35]:focus{color:#7ca4a2;border-color:#7ca4a2}.button--icon.button--bucket--1[data-v-59eeac35]:hover{color:#fff;background-color:#7ca4a2;border-color:#7ca4a2}.button--icon.button--bucket--2[data-v-59eeac35],.button--icon.button--bucket--2[data-v-59eeac35]:focus{color:#70769f;border-color:#70769f}.button--icon.button--bucket--2[data-v-59eeac35]:hover{color:#fff;background-color:#70769f;border-color:#70769f}.button--icon.button--bucket--3[data-v-59eeac35],.button--icon.button--bucket--3[data-v-59eeac35]:focus{color:#e37a75;border-color:#e37a75}.button--icon.button--bucket--3[data-v-59eeac35]:hover{color:#fff;background-color:#e37a75;border-color:#e37a75}.container[data-v-7223fc6a]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-7223fc6a]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-7223fc6a]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-7223fc6a]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-7223fc6a]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-7223fc6a]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-7223fc6a]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-7223fc6a]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-7223fc6a]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-7223fc6a]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-7223fc6a]{width:auto}}.buttonbar[data-v-7223fc6a]{font-size:0;border:1px solid #d9d9d9;clear:both;overflow:hidden;border-radius:2px;display:flex}.buttonbar>a[data-v-7223fc6a],.buttonbar>button[data-v-7223fc6a]{background-color:transparent;-webkit-appearance:none;cursor:pointer;font-size:1em;outline:none;margin:0;border:0 none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:inherit;height:38px;line-height:38px;float:left;padding:0 20px;position:relative;color:#8c8c8c;background:#fff;font-size:15px;text-decoration:none;border-right:1px solid #f2f2f2;display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;border-radius:0}.buttonbar>a .icon[data-v-7223fc6a],.buttonbar>button .icon[data-v-7223fc6a]{color:#a6a6a6;display:block}.buttonbar>a[data-v-7223fc6a]:not(.button--disabled):hover,.buttonbar>button[data-v-7223fc6a]:not(.button--disabled):hover{color:#262626;background:#fbfbfb}.buttonbar>a:not(.button--disabled):hover .icon[data-v-7223fc6a],.buttonbar>button:not(.button--disabled):hover .icon[data-v-7223fc6a]{color:#262626}.buttonbar>a.button--disabled[data-v-7223fc6a],.buttonbar>button.button--disabled[data-v-7223fc6a]{opacity:.5;cursor:default}.buttonbar>a[data-v-7223fc6a]:first-child,.buttonbar>button[data-v-7223fc6a]:first-child{border-top-left-radius:2px;border-bottom-left-radius:2px}.buttonbar>a[data-v-7223fc6a]:last-child,.buttonbar>button[data-v-7223fc6a]:last-child{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:0 none}.buttonbar[data-v-7223fc6a]:hover{border-color:#ccc}.buttonbar--visible[data-v-7223fc6a]{overflow:visible}.buttonbar>.dropdown>button{background-color:transparent;-webkit-appearance:none;cursor:pointer;font-size:1em;outline:none;margin:0;border:0 none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:inherit;height:38px;line-height:38px;float:left;padding:0 20px;position:relative;color:#8c8c8c;background:#fff;font-size:15px;text-decoration:none;border-right:1px solid #f2f2f2;display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;border-radius:0}.buttonbar>.dropdown>button .icon{color:#a6a6a6;display:block}.buttonbar>.dropdown>button:not(.button--disabled):hover{color:#262626;background:#fbfbfb}.buttonbar>.dropdown>button:not(.button--disabled):hover .icon{color:#262626}.buttonbar>.dropdown>button.button--disabled{opacity:.5;cursor:default}.buttonbar>.dropdown:first-child>button{border-top-left-radius:2px;border-bottom-left-radius:2px}.buttonbar>.dropdown:last-child>button{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:0 none}.container[data-v-20e8e5e7]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-20e8e5e7]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-20e8e5e7]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-20e8e5e7]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-20e8e5e7]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-20e8e5e7]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-20e8e5e7]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-20e8e5e7]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-20e8e5e7]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-20e8e5e7]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-20e8e5e7]{width:auto}}.checkbox[data-v-20e8e5e7]{color:#262626;min-width:30px}.checkbox__input[data-v-20e8e5e7]{position:absolute;width:1px;height:1px;margin-top:-1px;margin-left:-1px;padding:0;border:0 none;clip:rect(1px,1px,1px,1px);overflow:hidden;opacity:0}.checkbox__label[data-v-20e8e5e7]{display:block;position:relative;padding-left:25px;color:#8c8c8c;cursor:pointer}.checkbox__icon[data-v-20e8e5e7],.checkbox__label[data-v-20e8e5e7]:before{position:absolute;left:0;top:2px;width:15px;height:15px;border-radius:2px;transition:all .2s linear}.checkbox__label[data-v-20e8e5e7]:before{content:"";background-color:#fbfbfb;border:1px solid #d9d9d9}.checkbox__icon[data-v-20e8e5e7]{background-color:#8c8c8c;color:#fff;opacity:0}.checkbox__icon .icon[data-v-20e8e5e7]{color:#fff;top:2px;position:relative;display:block;margin-left:auto;margin-right:auto}.checkbox__input:focus+.checkbox__label[data-v-20e8e5e7]:before,.checkbox__label[data-v-20e8e5e7]:hover:before{border-color:#a6a6a6}.checkbox__input:checked+.checkbox__label[data-v-20e8e5e7],.checkbox__input:hover+.checkbox__label[data-v-20e8e5e7],.checkbox__label[data-v-20e8e5e7]:hover{color:#262626}.checkbox__input:checked+.checkbox__label .checkbox__icon[data-v-20e8e5e7]{opacity:1}.checkbox__input:disabled+.checkbox__label[data-v-20e8e5e7]{opacity:.33;pointer-events:none}.checkbox__input:checked:disabled+.checkbox__label[data-v-20e8e5e7]{opacity:.66;pointer-events:none}.checkbox__input--bold+.checkbox__label .checkbox__icon[data-v-20e8e5e7]{background-color:#1d9f3c}.checkbox--minus .checkbox__label[data-v-20e8e5e7]:after{content:"";display:block;width:9px;height:2px;background-color:#8c8c8c;position:absolute;left:3px;top:8px}.checkbox--minus .checkbox__input:checked+.checkbox__label .checkbox__icon[data-v-20e8e5e7]{opacity:0}.container[data-v-3e53c5c2]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-3e53c5c2]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-3e53c5c2]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-3e53c5c2]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-3e53c5c2]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-3e53c5c2]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-3e53c5c2]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-3e53c5c2]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-3e53c5c2]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-3e53c5c2]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-3e53c5c2]{width:auto}}.checkboxGroup[data-v-3e53c5c2]{color:#262626}.checkboxGroup--inline[data-v-3e53c5c2]{display:flex;flex-flow:row wrap;overflow:hidden}.checkboxGroup--inline .checkboxGroup__item[data-v-3e53c5c2]{margin-right:20px}.checkboxGroup__item[data-v-3e53c5c2]{padding:7px 0 8px 0}.colorpicker{position:relative;display:flex;max-width:100%;height:250px;margin:0 10px}.colorpicker__color{display:flex;width:100%}.colorpicker__saturation{position:relative;flex-grow:1;margin-right:5px;cursor:pointer;overflow:hidden}.colorpicker__saturation .colorpicker__saturation--black,.colorpicker__saturation .colorpicker__saturation--white{position:absolute;top:0;left:0;bottom:0;right:0}.colorpicker__saturation .colorpicker__saturation--white{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.colorpicker__saturation .colorpicker__saturation--black{background:linear-gradient(0deg,#000,transparent)}.colorpicker__saturation .colorpicker__saturation-pointer{cursor:pointer;position:absolute}.colorpicker__saturation .colorpicker__saturation-circle{cursor:head;width:8px;height:8px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);border-radius:50%;transform:translate(-4px,-4px)}.colorpicker__hue{width:12px;position:relative;border-radius:2px}.colorpicker__hue--horizontal{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.colorpicker__hue--vertical{background:linear-gradient(0deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.colorpicker__hue-container{position:relative;cursor:pointer;margin:0 2px;height:100%}.colorpicker__hue-pointer{z-index:2;position:absolute}.colorpicker__hue-picker{cursor:pointer;margin-left:-2px;width:14px;border-radius:2px;height:8px;box-shadow:0 0 2px rgba(0,0,0,.5);background:#fff;transform:translateX(-1px) translateY(-4px)}.container[data-v-09f5e603]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-09f5e603]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-09f5e603]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-09f5e603]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-09f5e603]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-09f5e603]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-09f5e603]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-09f5e603]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-09f5e603]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-09f5e603]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-09f5e603]{width:auto}}.form__field[data-v-09f5e603]{display:flex;align-items:center;padding:0 15px;overflow:visible}.form__field input[data-v-09f5e603]{padding:0}.form__field--colorBtn[data-v-09f5e603]{cursor:pointer;display:block;margin-right:-10px;width:33px;height:33px;border-radius:2px;transition:background .25s;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;overflow:hidden;background-clip:padding-box}.container[data-v-05edd33b]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-05edd33b]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-05edd33b]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-05edd33b]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-05edd33b]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-05edd33b]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-05edd33b]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-05edd33b]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-05edd33b]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-05edd33b]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-05edd33b]{width:auto}}.datePicker__field[data-v-05edd33b]{display:flex}.datePicker__reset[data-v-05edd33b]{display:block;width:18px;flex:0 0 18px;height:18px;overflow:hidden;color:#fff;background:#a6a6a6;border-radius:9px;margin-top:13px;margin-right:13px;line-height:18px;text-align:center;transition:opacity .2s ease}.datePicker__reset .icon[data-v-05edd33b]{overflow:hidden;vertical-align:top;position:relative;top:4px}.datePicker__reset[data-v-05edd33b]:focus,.datePicker__reset[data-v-05edd33b]:hover{background:#8c8c8c}.datePicker__reset.datePicker__reset--cleared[data-v-05edd33b]{opacity:0;pointer-events:none}.datePicker--static:not(.datePicker--mobile) .form__field[data-v-05edd33b]{height:0;position:static;overflow:visible;border:0 none}.datePicker--static:not(.datePicker--mobile) .datePicker__reset[data-v-05edd33b]{position:absolute;right:0;top:0}.flatpickr-wrapper[data-v-05edd33b]{display:block}.datePicker__group input.flatpickr-input.flatpickr-mobile{width:100%;font-family:inherit;font-size:inherit;background:transparent;border:0 none;padding:0 15px;-webkit-appearance:none}.datePicker__group input.flatpickr-input.flatpickr-mobile::-webkit-clear-button,.datePicker__group input.flatpickr-input.flatpickr-mobile::-webkit-inner-spin-button{display:none}.datePicker__group input.flatpickr-input.flatpickr-mobile::-webkit-calendar-picker-indicator{display:none}.container[data-v-a897d080]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-a897d080]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-a897d080]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-a897d080]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-a897d080]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-a897d080]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-a897d080]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-a897d080]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-a897d080]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-a897d080]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-a897d080]{width:auto}}.dropdown[data-v-a897d080]{display:inherit;position:relative}.dropdown__position[data-v-a897d080]{position:absolute;z-index:100}.dropdown--fixed .dropdown__position[data-v-a897d080]{position:fixed}.dropdown--bottom .dropdown__position[data-v-a897d080]{top:100%}.dropdown--top .dropdown__position[data-v-a897d080]{bottom:100%}.dropdown--left .dropdown__position[data-v-a897d080]{left:0}.dropdown--center .dropdown__position[data-v-a897d080]{left:50%}.dropdown--center .dropdown__position .dropdown__content[data-v-a897d080]{transform:translateX(-50%)}.dropdown--right .dropdown__position[data-v-a897d080]{right:0}.dropdown__title[data-v-a897d080]{height:35px;line-height:35px;white-space:nowrap;overflow:hidden;padding:0 15px;border-bottom:1px solid #f2f2f2;display:block;margin-bottom:10px;color:#8c8c8c}.dropdown__content[data-v-a897d080]{max-width:300px}.dropdown--full .dropdown__position .dropdown__content[data-v-a897d080],.dropdown--full .dropdown__position[data-v-a897d080]{max-width:100%;width:100%}.dropdown__inner[data-v-a897d080]{position:relative;background:hsla(0,0%,100%,.98);border-radius:2px;box-shadow:0 0 5px rgba(0,0,0,.3);max-width:calc(100vw - 10px)}.dropdown__scroller[data-v-a897d080]{padding:10px 0}.dropdown--arrow.dropdown--bottom .dropdown__content[data-v-a897d080]{margin-top:15px}.dropdown--arrow.dropdown--top .dropdown__content[data-v-a897d080]{margin-bottom:15px}.dropdown--arrow .dropdown__arrow[data-v-a897d080]{left:50%;pointer-events:none;width:50px;height:10px;overflow:hidden;position:absolute}.dropdown--arrow .dropdown__arrow[data-v-a897d080]:after{border:solid transparent;content:"";left:50%;display:block;margin-top:5px;margin-left:-5px;position:absolute;width:10px;height:10px;background-color:#fff;box-shadow:0 0 5px rgba(0,0,0,.3);transform:rotate(45deg)}.dropdown--bottom .dropdown__arrow[data-v-a897d080]{bottom:100%}.dropdown--top .dropdown__arrow[data-v-a897d080]{bottom:-10px;transform:rotate(180deg)}.dropdown--top .dropdown__arrow[data-v-a897d080]:after{transform:rotate(45deg)}.dropdown--left .dropdown__arrow[data-v-a897d080]{left:0}.dropdown--right .dropdown__arrow[data-v-a897d080]{right:0;left:auto}.dropdown--center .dropdown__arrow[data-v-a897d080]{left:50%;margin-left:-25px}.dropdown .dropdown__content button{background-color:transparent;-webkit-appearance:none;cursor:pointer;font-size:1em;outline:none;margin:0;border:0 none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:inherit;width:100%;background:transparent;text-align:left}.dropdown .dropdown__content button:disabled{cursor:default;pointer-events:none;opacity:.5}.dropdown .dropdown__content a,.dropdown .dropdown__content button{display:block;color:#8c8c8c;font-size:1em;padding:0 15px;padding-right:50px;height:40px;line-height:40px;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-radius:0}.dropdown .dropdown__content a.dropdown__active,.dropdown .dropdown__content a:hover,.dropdown .dropdown__content button.dropdown__active,.dropdown .dropdown__content button:hover{color:#262626;background:#f2f2f2}.dropdown .dropdown__content a .icon,.dropdown .dropdown__content button .icon{margin-right:10px}.dropdown .dropdown__content .checkboxGroup__item,.dropdown .dropdown__content .radioGroup__item{margin:0 -15px;padding-right:50px;padding-left:15px;display:block}.dropdown .dropdown__content .checkbox,.dropdown .dropdown__content .checkbox label{display:block}.dropdown .dropdown__inner .input{margin-top:0;padding:0 15px}.container[data-v-5c6d6a95]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-5c6d6a95]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-5c6d6a95]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-5c6d6a95]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-5c6d6a95]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-5c6d6a95]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-5c6d6a95]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-5c6d6a95]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-5c6d6a95]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-5c6d6a95]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-5c6d6a95]{width:auto}}.fileItem[data-v-5c6d6a95]{position:relative;display:flex;width:100%;border-bottom:1px solid #f2f2f2}.fileItem:hover .fileItem__cell[data-v-5c6d6a95]{background-color:#fbfbfb}.fileItem[data-v-5c6d6a95]:last-child{border-bottom:0 none}.fileItem__cell[data-v-5c6d6a95]{display:flex;align-items:center;padding:26px 15px}.fileItem__cell--extension[data-v-5c6d6a95]{padding-right:5px}@media screen and (min-width:600px){.fileItem__cell--extension[data-v-5c6d6a95]{padding-left:29px}}.fileItem__cell--extension a[data-v-5c6d6a95]{display:block;height:26px}.fileItem__cell--name[data-v-5c6d6a95]{flex-grow:1}.fileItem__cell--name a[data-v-5c6d6a95]{color:#3278b8;text-decoration:none;display:block;margin:-15px;padding:15px}@media screen and (min-width:600px){.fileItem__cell--drag+.fileItem__cell[data-v-5c6d6a95],.fileItem__cell--extension[data-v-5c6d6a95]:first-child,.fileItem__cell--name[data-v-5c6d6a95]:first-child{padding-left:29px}}.fileItem__cell--size[data-v-5c6d6a95]{color:#8c8c8c;text-transform:uppercase}.fileItem__cell--drag[data-v-5c6d6a95]{padding:0;display:flex;justify-content:center;align-items:center;width:12px;min-width:12px;background-color:#fbfbfb;transition:background .25s ease;cursor:move}.fileItem__cell--drag[data-v-5c6d6a95]:hover{background-color:#f2f2f2}.drag__handle:hover .drag__handle--drag[data-v-5c6d6a95]:before{background:repeating-linear-gradient(90deg,#f2f2f2,#f2f2f2 2px,transparent 0,transparent 4px)}.drag__handle--drag[data-v-5c6d6a95]{position:relative;width:10px;height:42px;margin-left:auto;margin-right:auto;transition:background .25s ease;cursor:move;background:repeating-linear-gradient(180deg,#bfbfbf,#bfbfbf 2px,transparent 0,transparent 4px)}.drag__handle--drag[data-v-5c6d6a95]:before{position:absolute;display:block;content:"";background:repeating-linear-gradient(90deg,#fbfbfb,#fbfbfb 2px,transparent 0,transparent 4px);width:100%;height:100%}.container[data-v-86ceea78]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-86ceea78]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-86ceea78]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-86ceea78]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-86ceea78]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-86ceea78]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-86ceea78]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-86ceea78]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-86ceea78]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-86ceea78]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-86ceea78]{width:auto}}.fileField[data-v-86ceea78]{display:block;border-radius:2px;border:1px solid #e5e5e5;overflow-x:hidden}.fileField__trigger[data-v-86ceea78]{padding:10px;position:relative;border-top:1px solid #f2f2f2}.fileField__trigger[data-v-86ceea78]:first-child{border-top:0 none}.fileField__note[data-v-86ceea78]{color:#8c8c8c;float:right;position:absolute;bottom:18px;right:15px;display:none}@media screen and (min-width:600px){.fileField__note[data-v-86ceea78]{display:inline-block}}@media screen and (min-width:850px)and (max-width:1039px){.fileField__note[data-v-86ceea78]{display:none}}.fileField__list[data-v-86ceea78]{overflow:hidden;width:100%;border-collapse:collapse;border-spacing:0}.container[data-v-2da324be]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-2da324be]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-2da324be]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-2da324be]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-2da324be]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-2da324be]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-2da324be]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-2da324be]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-2da324be]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-2da324be]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-2da324be]{width:auto}}button.button--icon[data-v-2da324be]{vertical-align:middle;display:inline-block;margin-left:7px;margin-right:7px}button.button--icon .icon[data-v-2da324be]{display:block;margin:-1px}.container[data-v-0d108f70]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-0d108f70]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-0d108f70]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-0d108f70]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-0d108f70]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-0d108f70]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-0d108f70]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-0d108f70]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-0d108f70]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-0d108f70]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-0d108f70]{width:auto}}.input[data-v-0d108f70]{margin-top:35px;position:relative}.input[data-v-0d108f70]:empty{display:none}.input__add[data-v-0d108f70]{position:absolute;top:0;right:0;text-decoration:none;color:#3278b8}.input__label[data-v-0d108f70]{display:block;color:#262626;margin-bottom:10px;word-wrap:break-word;position:relative}.input__note[data-v-0d108f70]{color:#8c8c8c;display:block}@media screen and (min-width:600px){.input__note[data-v-0d108f70]{display:inline;right:0;top:1px;position:absolute}}.input__required[data-v-0d108f70]{color:#a6a6a6;padding-left:5px}.input__lang[data-v-0d108f70]{border-radius:2px;display:inline-block;height:15px;line-height:15px;font-size:10px;color:#fff;text-transform:uppercase;background:#a6a6a6;padding:0 5px;position:relative;top:-2px;margin-left:5px;cursor:pointer;user-select:none;letter-spacing:0}.input__lang[data-v-0d108f70]:hover{background:#8c8c8c}.input__inliner>.input[data-v-0d108f70]{display:inline-block;margin-top:0;margin-right:20px}.input__inliner>.input .singleCheckbox[data-v-0d108f70]{padding:7px 0 8px 0}.input--intable[data-v-0d108f70]{margin-top:0}@media screen and (min-width:1040px){.input--intable[data-v-0d108f70]{display:flex;align-items:center}.input--intable .input__label[data-v-0d108f70]{flex-grow:1;margin-bottom:0}}.input--small[data-v-0d108f70]{margin-top:16px}.input--small .input__label[data-v-0d108f70]{margin-bottom:9px;font-size:13px}.input--error>label[data-v-0d108f70]{color:#e61414}.input--error>label .input__lang[data-v-0d108f70]{background-color:#e61414}.input--error .form__field.s--focus[data-v-0d108f70],.input--error .form__field[data-v-0d108f70],.input--error .form__field[data-v-0d108f70]:focus,.input--error .form__field[data-v-0d108f70]:hover,.input--error .input__field.s--focus[data-v-0d108f70],.input--error .input__field[data-v-0d108f70],.input--error .input__field[data-v-0d108f70]:focus,.input--error .input__field[data-v-0d108f70]:hover,.input--error .select__input.s--focus[data-v-0d108f70],.input--error .select__input[data-v-0d108f70],.input--error .select__input[data-v-0d108f70]:focus,.input--error .select__input[data-v-0d108f70]:hover,.input--error .v-select .dropdown-toggle.s--focus[data-v-0d108f70],.input--error .v-select .dropdown-toggle[data-v-0d108f70],.input--error .v-select .dropdown-toggle[data-v-0d108f70]:focus,.input--error .v-select .dropdown-toggle[data-v-0d108f70]:hover{border-color:#e61414}.input__errorMessage[data-v-0d108f70]{color:#e61414;margin-top:10px;display:block}.a17spinner{display:flex;width:100%;padding:10vh 0;background-color:hsla(0,0%,100%,.75);position:absolute;top:0;bottom:0;left:0;right:0;z-index:4}.a17spinner__anim{margin:100px auto;width:20px;height:20px;position:relative;text-align:center;color:#8c8c8c;opacity:0;transition:opacity .25s linear;transition-delay:.5s}.a17spinner__anim.a17spinner__anim--visible{opacity:1}.app--form .a17spinner{background-color:hsla(0,0%,95%,.75)}.s--in-editor .overlay .a17spinner{background-color:#fff}.s--in-editor .overlay .a17spinner .a17spinner__anim{transition-delay:0s}.container[data-v-5bb79734]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-5bb79734]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-5bb79734]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-5bb79734]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-5bb79734]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-5bb79734]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-5bb79734]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-5bb79734]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-5bb79734]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-5bb79734]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-5bb79734]{width:auto}}.filter__inner[data-v-5bb79734]{display:flex;justify-content:space-between}.filter__search[data-v-5bb79734]{padding:20px 0;white-space:nowrap}.filter__search input[data-v-5bb79734]{display:inline-block;width:20vw;max-width:300px}.filter__search .icon[data-v-5bb79734]{position:relative;top:-2px;margin-left:9px}.filter__search div[data-v-5bb79734]{display:inline-block}.filter__search div a[data-v-5bb79734],.filter__search div button[data-v-5bb79734]:not(.button--validate){vertical-align:middle}.filter__search div a[data-v-5bb79734],.filter__search div button[data-v-5bb79734],.filter__search div input[data-v-5bb79734]{margin-left:15px}@media screen and (max-width:599px){.filter--withHiddenFilters .filter__inner[data-v-5bb79734]{display:block}.filter--withHiddenFilters .filter__search[data-v-5bb79734]{display:flex}.filter--withHiddenFilters .filter__search input[data-v-5bb79734]{flex-grow:1}}.filter--full .filter__search[data-v-5bb79734]{display:flex;width:100%}.filter--full .filter__search>div[data-v-5bb79734]{display:flex;flex-direction:row-reverse}.filter__more[data-v-5bb79734]{transition:height .275s ease;overflow:hidden}.filter__moreInner[data-v-5bb79734]{padding:20px 0 0 0;border-top:1px solid #e5e5e5}.filter__moreInner button[data-v-5bb79734]{margin-right:10px;margin-bottom:20px}@media screen and (min-width:600px){.filter__moreInner[data-v-5bb79734]{display:flex;flex-flow:row wrap}}.filter__toggle[data-v-5bb79734]{position:relative;padding-right:40px!important;margin-left:15px!important}.filter__toggle .icon[data-v-5bb79734]{transition:all .2s linear;transform:rotate(0deg);position:absolute;right:20px;top:50%;margin-top:-3px}.filter--opened .filter__toggle .icon[data-v-5bb79734]{transform:rotate(180deg)}.filter--single .filter__navigation[data-v-5bb79734]{display:none}.filter .filter__moreInner .input{margin-top:0;margin-bottom:20px}@media screen and (min-width:600px){.filter .filter__moreInner .input{margin-top:0;margin-right:20px}.filter .filter__moreInner>div{display:flex;flex-flow:row wrap}.filter .filter__moreInner>div>*{margin-right:20px}}.container[data-v-04a8279a]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-04a8279a]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-04a8279a]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-04a8279a]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-04a8279a]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-04a8279a]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-04a8279a]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-04a8279a]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-04a8279a]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-04a8279a]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-04a8279a]{width:auto}}.itemlist[data-v-04a8279a]{padding:10px;overflow:hidden}.itemlist__table[data-v-04a8279a]{width:100%;border-collapse:collapse;border-spacing:0;white-space:nowrap}.itemlist__table td[data-v-04a8279a],.itemlist__table th[data-v-04a8279a]{border-top:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;vertical-align:top;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.itemlist__table td[data-v-04a8279a]:first-child{border-left:1px solid #f2f2f2}.itemlist__table td[data-v-04a8279a]:last-child{border-right:1px solid #f2f2f2}.itemlist__row[data-v-04a8279a]{overflow:hidden;background:#fff;position:relative;cursor:pointer}.itemlist__row[data-v-04a8279a]:hover{background-color:#fbfbfb}.itemlist__row.s--disabled[data-v-04a8279a]{color:#ccc;pointer-events:none}.itemlist__row[data-v-04a8279a]:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.itemlist__cell[data-v-04a8279a]{padding:20px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.itemlist__cell[data-v-04a8279a]:first-child,.itemlist__cell[data-v-04a8279a]:last-child{padding-left:20px}.itemlist__cell>[data-v-04a8279a]:first-child{display:block}.itemlist__letter[data-v-04a8279a]{position:absolute;top:1px;left:1px;display:flex;flex-flow:row wrap;align-items:center;justify-content:center;width:calc(100% - 2px);height:calc(100% - 2px);color:#fff;border-radius:50%;visibility:hidden}.itemlist__cell--btn[data-v-04a8279a]{width:1px}.itemlist__cell--type[data-v-04a8279a]{width:150px}.itemlist__cell--thumb[data-v-04a8279a]{position:relative;width:50px}.itemlist__cell--thumb img[data-v-04a8279a]{display:block;width:50px;height:auto;background:#f2f2f2}.itemlist__cell--thumb-rounded[data-v-04a8279a]{width:36px;padding:13px 0}.itemlist__cell--loading[data-v-04a8279a]{height:4px}.itemlist__cell--error[data-v-04a8279a]{height:auto}.itemlist__progress[data-v-04a8279a]{height:4px;width:15%;min-width:120px;background:#ccc;border-radius:2px;position:relative}.itemlist__progressBar[data-v-04a8279a]{position:absolute;top:0;left:0;width:100%;border-radius:2px;height:4px;background:#3278b8}.itemlist__progressError[data-v-04a8279a]{color:#e61414}.container[data-v-3d6118b4]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-3d6118b4]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-3d6118b4]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-3d6118b4]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-3d6118b4]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-3d6118b4]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-3d6118b4]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-3d6118b4]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-3d6118b4]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-3d6118b4]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-3d6118b4]{width:auto}}.mediagrid[data-v-3d6118b4]{display:block;width:100%;height:100%;font-size:0;line-height:1em}.mediagrid__item[data-v-3d6118b4]{position:relative;display:inline-block;width:16.66666665%;padding-bottom:16.66666665%;overflow:hidden;background:#fff}@media(max-width:300px){.mediagrid__item[data-v-3d6118b4]{width:100%;padding-bottom:100%}}@media(min-width:300px){.mediagrid__item[data-v-3d6118b4]{width:50%;padding-bottom:50%}}@media(min-width:600px){.mediagrid__item[data-v-3d6118b4]{width:50%;padding-bottom:50%}}@media(min-width:800px){.mediagrid__item[data-v-3d6118b4]{width:33.3333333333%;padding-bottom:33.3333333333%}}@media(min-width:1000px){.mediagrid__item[data-v-3d6118b4]{width:25%;padding-bottom:25%}}@media(min-width:1200px){.mediagrid__item[data-v-3d6118b4]{width:20%;padding-bottom:20%}}@media(min-width:1400px){.mediagrid__item[data-v-3d6118b4]{width:16.6666666667%;padding-bottom:16.6666666667%}}@media(min-width:1600px){.mediagrid__item[data-v-3d6118b4]{width:14.2857142857%;padding-bottom:14.2857142857%}}@media(min-width:1800px){.mediagrid__item[data-v-3d6118b4]{width:12.5%;padding-bottom:12.5%}}@media(min-width:2000px){.mediagrid__item[data-v-3d6118b4]{width:11.1111111111%;padding-bottom:11.1111111111%}}@media(min-width:2200px){.mediagrid__item[data-v-3d6118b4]{width:10%;padding-bottom:10%}}@media(max-width:300px){.mediagrid__item.s--hasFilename[data-v-3d6118b4]{width:100%;padding-bottom:calc(100% + 17px)}}@media(min-width:300px){.mediagrid__item.s--hasFilename[data-v-3d6118b4]{padding-bottom:calc(50% + 17px)}}@media(min-width:600px){.mediagrid__item.s--hasFilename[data-v-3d6118b4]{padding-bottom:calc(50% + 17px)}}@media(min-width:800px){.mediagrid__item.s--hasFilename[data-v-3d6118b4]{padding-bottom:calc(33.33333% + 17px)}}@media(min-width:1000px){.mediagrid__item.s--hasFilename[data-v-3d6118b4]{padding-bottom:calc(25% + 17px)}}@media(min-width:1200px){.mediagrid__item.s--hasFilename[data-v-3d6118b4]{padding-bottom:calc(20% + 17px)}}@media(min-width:1400px){.mediagrid__item.s--hasFilename[data-v-3d6118b4]{padding-bottom:calc(16.66667% + 17px)}}@media(min-width:1600px){.mediagrid__item.s--hasFilename[data-v-3d6118b4]{padding-bottom:calc(14.28571% + 17px)}}@media(min-width:1800px){.mediagrid__item.s--hasFilename[data-v-3d6118b4]{padding-bottom:calc(12.5% + 17px)}}@media(min-width:2000px){.mediagrid__item.s--hasFilename[data-v-3d6118b4]{padding-bottom:calc(11.11111% + 17px)}}@media(min-width:2200px){.mediagrid__item.s--hasFilename[data-v-3d6118b4]{padding-bottom:calc(10% + 17px)}}.mediagrid__button[data-v-3d6118b4]{position:absolute;cursor:pointer;display:flex;justify-content:center;flex-direction:column;align-items:center;font-size:15px;user-select:none;top:10px;left:10px;right:10px;bottom:10px}.s--hasFilename .mediagrid__button[data-v-3d6118b4]{bottom:27px}.mediagrid__button[data-v-3d6118b4]:before{content:"";position:absolute;display:block;top:0;left:0;right:0;bottom:0;border:1px solid rgba(0,0,0,.05)}.mediagrid__button.s--picked[data-v-3d6118b4]:after{content:"";position:absolute;display:block;top:0;left:0;right:0;bottom:0;border:4px solid #3278b8;z-index:1}.mediagrid__button.s--used[data-v-3d6118b4]:before{content:"";position:absolute;display:block;top:0;left:0;right:0;bottom:0;background-color:#f4f9fd;opacity:.85}.mediagrid__button.s--disabled[data-v-3d6118b4]{pointer-events:none;opacity:.2}.mediagrid__name[data-v-3d6118b4]{position:absolute;bottom:0;right:0;left:0;padding:3px 20px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:13px;color:#8c8c8c;width:100%;text-align:center;cursor:default}.s--loading[data-v-3d6118b4]{background:#fbfbfb;cursor:default}.mediagrid__img[data-v-3d6118b4]{display:block;max-width:100%;height:auto;max-height:100%}.mediagrid__progress[data-v-3d6118b4]{height:4px;width:80%;background:#ccc;border-radius:2px;position:relative}.mediagrid__progressBar[data-v-3d6118b4]{position:absolute;top:0;left:0;width:100%;border-radius:2px;height:4px;background:#3278b8}.mediagrid__progressError[data-v-3d6118b4]{color:#e61414}.container[data-v-1131928c]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-1131928c]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-1131928c]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-1131928c]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-1131928c]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-1131928c]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-1131928c]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-1131928c]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-1131928c]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-1131928c]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-1131928c]{width:auto}}.language[data-v-1131928c]{display:flex;align-items:center;justify-content:space-between;color:#8c8c8c}.language__label[data-v-1131928c]{line-height:35px;height:35px;margin-right:10px;display:none;overflow:hidden;white-space:nowrap}@media screen and (min-width:850px){.language__label[data-v-1131928c]{display:inline-block}}.language__toolbar[data-v-1131928c]{display:inline-block;height:37px;max-width:480px;white-space:nowrap;overflow:hidden;border:1px solid #d9d9d9;border-radius:2px}.language__toolbar[data-v-1131928c]:hover{overflow-x:auto;-webkit-overflow-scrolling:touch}.language__toolbar[data-v-1131928c]::-webkit-scrollbar{width:1px;height:2px}.language__toolbar[data-v-1131928c]::-webkit-scrollbar-button{width:0;height:0}.language__toolbar[data-v-1131928c]::-webkit-scrollbar-thumb{width:2px;background:hsla(0,0%,45%,.4);border:0 none transparent;border-radius:4px}.language__toolbar[data-v-1131928c]::-webkit-scrollbar-thumb:hover{background:hsla(0,0%,45%,.6)}.language__toolbar[data-v-1131928c]::-webkit-scrollbar-thumb:active{background:rgba(0,0,0,.2)}.language__toolbar[data-v-1131928c]::-webkit-scrollbar-track{background:transparent;border:0 none transparent;border-radius:4px}.language__toolbar[data-v-1131928c]::-webkit-scrollbar-track:hover{background:hsla(0,0%,45%,.2)}.language__toolbar[data-v-1131928c]::-webkit-scrollbar-track:active{background:rgba(51,51,51,0)}.language__toolbar[data-v-1131928c]::-webkit-scrollbar-corner{background:transparent}.language--in-modal .language__toolbar[data-v-1131928c]{height:35px;max-width:100%}@media screen and (min-width:850px)and (max-width:1039px){.language__toolbar[data-v-1131928c]{max-width:320px}}@media screen and (max-width:849px){.language__toolbar[data-v-1131928c]{max-width:100%}}.language__button[data-v-1131928c]{text-transform:uppercase;display:inline-block;height:35px;line-height:35px;border:0 none;border-radius:0;border-left:1px solid #f2f2f2;outline:0;-webkit-appearance:none;cursor:pointer;font-size:11.5px;letter-spacing:0;padding:0 18px 0 30px;position:relative;color:#8c8c8c;background:#fff;white-space:nowrap;transition:background-color .25s linear,border-color .25s linear;margin-left:0;margin-right:0}.language--in-modal .language__button[data-v-1131928c]{height:33px;line-height:33px}.language__button[data-v-1131928c]:focus,.language__button[data-v-1131928c]:hover{color:#262626}.language__button[data-v-1131928c]:after{content:"";position:absolute;border-radius:50%;height:7px;width:7px;background-color:#a6a6a6;left:15px;top:50%;margin-top:-4px}.language__button[data-v-1131928c]:first-child{border-left:0 none}.language__button.selected[data-v-1131928c],.language__item.selected[data-v-1131928c]:last-child{background:#e5e5e5;color:#262626;border-color:#e5e5e5}.language__button.selected+.language__button[data-v-1131928c],.language__item.selected:last-child+.language__button[data-v-1131928c]{border-left-color:#e5e5e5}.language__button.published[data-v-1131928c]:after{background-color:#1d9f3c}.language__button.no-state[data-v-1131928c]{padding:0 18px 0 18px}.language__button.no-state[data-v-1131928c]:after{content:none}.container[data-v-6a681c02]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-6a681c02]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-6a681c02]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-6a681c02]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-6a681c02]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-6a681c02]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-6a681c02]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-6a681c02]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-6a681c02]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-6a681c02]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-6a681c02]{width:auto}}.mediasidebar__progress[data-v-6a681c02]{height:6px;background:#ccc;border-radius:3px;position:relative;margin-top:20px;overflow:hidden}.mediasidebar__progressBar[data-v-6a681c02]{position:absolute;display:block;top:0;left:0;width:100%;border-radius:3px;height:6px;background:#3278b8;transform:translateX(-100%);transition:transform .25s}.mediasidebar__loading[data-v-6a681c02]{margin-top:25px}.mediasidebar__loading p[data-v-6a681c02]{margin-top:5px;display:flex;flex-flow:row wrap}.mediasidebar__loading p span[data-v-6a681c02]{flex-grow:1}.mediasidebar__loading a[data-v-6a681c02]{color:#3278b8;text-decoration:none}.mediasidebar__loading a[data-v-6a681c02]:hover{text-decoration:underline}.mediasidebar__errorMessage[data-v-6a681c02]{display:block;width:100%;color:#000;margin-top:5px;margin-bottom:5px}.s--error[data-v-6a681c02]{color:#e61414}.container[data-v-4f7e4b44]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-4f7e4b44]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-4f7e4b44]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-4f7e4b44]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-4f7e4b44]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-4f7e4b44]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-4f7e4b44]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-4f7e4b44]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-4f7e4b44]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-4f7e4b44]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-4f7e4b44]{width:auto}}.mediasidebar a[data-v-4f7e4b44]{color:#3278b8;text-decoration:none}.mediasidebar a[data-v-4f7e4b44]:focus,.mediasidebar a[data-v-4f7e4b44]:hover{text-decoration:underline}.mediasidebar__info[data-v-4f7e4b44]{margin-bottom:30px}.mediasidebar__info a[data-v-4f7e4b44]{margin-left:15px}.mediasidebar__inner[data-v-4f7e4b44]{padding:20px}.mediasidebar__img[data-v-4f7e4b44]{max-width:135px;max-height:135px;height:auto;display:block;margin-bottom:17px}.mediasidebar__name[data-v-4f7e4b44]{margin-bottom:6px;overflow:hidden;text-overflow:ellipsis}.mediasidebar__metadatas[data-v-4f7e4b44]{color:#8c8c8c;margin-bottom:16px}.mediasidebar .mediasidebar__buttonbar[data-v-4f7e4b44]{display:inline-block}.mediasidebar__form[data-v-4f7e4b44]{border-top:1px solid #e5e5e5;position:relative}.mediasidebar__form button[data-v-4f7e4b44]{margin-top:16px}.mediasidebar__form.mediasidebar__form--loading[data-v-4f7e4b44]{opacity:.5}.mediasidebar__loader[data-v-4f7e4b44]{position:absolute;top:20px;right:36px}.mediasidebar__checkbox[data-v-4f7e4b44]{margin-top:16px}.mediasidebar__langswitcher[data-v-4f7e4b44]{margin-top:32px;margin-bottom:32px}.container[data-v-f229897e]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-f229897e]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-f229897e]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-f229897e]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-f229897e]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-f229897e]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-f229897e]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-f229897e]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-f229897e]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-f229897e]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-f229897e]{width:auto}}.uploader[data-v-f229897e]{margin:10px}.uploader__dropzone[data-v-f229897e]{border:1px dashed #d9d9d9;text-align:center;padding:26px 0;color:#8c8c8c}.uploader__dropzone .button[data-v-f229897e]{-webkit-appearance:none;cursor:pointer;font-size:1em;outline:none;margin:0;border:0 none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:inherit;display:inline-block;height:35px;margin-right:10px;line-height:33px;border-radius:17.5px;background-color:transparent;border:1px solid #d9d9d9;color:#8c8c8c;padding:0 20px;text-align:center;transition:color .2s linear,border-color .2s linear,background-color .2s linear}.uploader__dropzone .button.qq-upload-button-focus[data-v-f229897e],.uploader__dropzone .button.qq-upload-button-hover[data-v-f229897e],.uploader__dropzone .button[data-v-f229897e]:focus,.uploader__dropzone .button[data-v-f229897e]:hover{border-color:#262626;color:#262626}.uploader__dropzone .button[data-v-f229897e]:disabled{opacity:.5;pointer-events:none}.uploader__dropzone--desktop[data-v-f229897e]{display:inline-block;vertical-align:top;margin-top:8px}@media screen and (max-width:849px){.uploader__dropzone--desktop[data-v-f229897e]{display:none}}.container[data-v-aaf9470e]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-aaf9470e]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-aaf9470e]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-aaf9470e]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-aaf9470e]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-aaf9470e]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-aaf9470e]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-aaf9470e]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-aaf9470e]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-aaf9470e]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-aaf9470e]{width:auto}}.medialibrary[data-v-aaf9470e]{display:block;width:100%;min-height:100%;padding:0;position:relative}.medialibrary__header[data-v-aaf9470e]{background:#f2f2f2;border-bottom:1px solid #e5e5e5;padding:0 20px}@media screen and (max-width:849px){.medialibrary__header .secondarynav[data-v-aaf9470e]{padding-bottom:10px}}.medialibrary__frame[data-v-aaf9470e]{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-flow:column nowrap}.medialibrary__inner[data-v-aaf9470e]{position:relative;width:100%;overflow:hidden;flex-grow:1}.medialibrary__footer[data-v-aaf9470e]{position:absolute;right:0;z-index:76;bottom:0;width:290px;color:#8c8c8c;padding:10px;overflow:hidden;background:#f2f2f2;border-top:1px solid #e5e5e5}.medialibrary__footer>button[data-v-aaf9470e]{display:block;width:100%}@media screen and (min-width:600px)and (max-width:849px){.medialibrary__footer[data-v-aaf9470e]{width:250px}}@media screen and (max-width:599px){.medialibrary__footer[data-v-aaf9470e]{width:200px}}@media screen and (max-width:550px){.medialibrary__footer[data-v-aaf9470e]{width:100%}}.medialibrary__sidebar[data-v-aaf9470e]{position:absolute;top:0;right:0;bottom:0;width:290px;padding:0 0 80px 0;z-index:75;background:#f2f2f2;overflow:auto}@media screen and (min-width:600px)and (max-width:849px){.medialibrary__sidebar[data-v-aaf9470e]{width:250px}}@media screen and (max-width:599px){.medialibrary__sidebar[data-v-aaf9470e]{width:200px}}@media screen and (max-width:550px){.medialibrary__sidebar[data-v-aaf9470e]{display:none}}.medialibrary__list[data-v-aaf9470e]{margin:0;position:absolute;top:0;left:0;right:0;bottom:0;overflow:auto;padding:10px}.medialibrary__list-items[data-v-aaf9470e]{position:relative;display:block;width:100%;min-height:100%}.medialibrary__list[data-v-aaf9470e]{right:290px}@media screen and (min-width:600px)and (max-width:849px){.medialibrary__list[data-v-aaf9470e]{right:250px}}@media screen and (max-width:599px){.medialibrary__list[data-v-aaf9470e]{right:200px}}@media screen and (max-width:550px){.medialibrary__list[data-v-aaf9470e]{right:0}}.medialibrary__filter-item .vselect{min-width:200px}.medialibrary__filter-item.checkbox{margin-top:8px;margin-right:45px!important}@media screen and (max-width:849px){.medialibrary__header .filter__inner{flex-direction:column}.medialibrary__header .filter__search{padding-top:10px;display:flex}.medialibrary__header .filter__search input{flex-grow:1}}.container[data-v-4078e85d]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-4078e85d]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-4078e85d]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-4078e85d]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-4078e85d]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-4078e85d]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-4078e85d]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-4078e85d]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-4078e85d]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-4078e85d]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-4078e85d]{width:auto}}.cropper[data-v-4078e85d]{width:100%;display:flex;flex-flow:column nowrap}.cropper__content[data-v-4078e85d]{display:flex;justify-content:center;align-items:center;flex-grow:1;height:430px;background-color:#f2f2f2}.cropper__content .cropper-modal[data-v-4078e85d]{background-color:#f2f2f2}.cropper__img[data-v-4078e85d],.cropper__wrapper[data-v-4078e85d]{display:block;height:100%;margin:0 auto}.cropper__img[data-v-4078e85d]{max-width:100%;opacity:0}.cropper__breakpoints[data-v-4078e85d]{padding:20px 0}.cropper__breakpoints li[data-v-4078e85d]{display:inline-block;height:35px;line-height:35px;background-color:#fff;color:#3278b8;cursor:pointer;margin:0 20px;border-radius:17.5px}.cropper__breakpoints li.s--active[data-v-4078e85d]{color:#262626;background-color:#f2f2f2;cursor:default;padding:0 20px;margin:0}.cropper__breakpoints li[data-v-4078e85d]:not(.s--active):hover{text-decoration:underline}.cropper__breakpoints li[data-v-4078e85d]:last-child{margin-right:0}.cropper__footer[data-v-4078e85d]{position:relative;width:100%}@media screen and (min-width:600px){.cropper__footer[data-v-4078e85d]{display:flex;justify-content:center;align-items:center;min-height:75px}}.cropper__footer .cropper__ratios[data-v-4078e85d]{padding:20px 0 0 0;text-align:center}@media screen and (min-width:600px){.cropper__footer .cropper__ratios[data-v-4078e85d]{padding:20px 0}}.cropper__footer .cropper__ratios li[data-v-4078e85d]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;height:35px;line-height:33px;margin-right:15px;padding:0 20px;background-color:transparent;border:1px solid #d9d9d9;border-radius:5px;color:#8c8c8c;cursor:pointer}.cropper__footer .cropper__ratios li.s--active[data-v-4078e85d],.cropper__footer .cropper__ratios li[data-v-4078e85d]:focus,.cropper__footer .cropper__ratios li[data-v-4078e85d]:hover{border-color:#262626;color:#262626}.cropper__footer .cropper__ratios li[data-v-4078e85d]:disabled{opacity:.5;pointer-events:none}.cropper__footer .cropper__ratios li[data-v-4078e85d]:last-child{margin-right:0}.cropper__footer .cropper__ratios li.s--active[data-v-4078e85d]{cursor:default}.cropper__footer .cropper__values[data-v-4078e85d]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:50%;right:0;color:#1d9f3c;height:35px;line-height:35px;transform:translateY(-50%);transition:color .25s ease}.cropper__footer .cropper__values.cropper__warning[data-v-4078e85d]{color:#e61414}.container[data-v-6c6bb80c]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-6c6bb80c]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-6c6bb80c]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-6c6bb80c]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-6c6bb80c]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-6c6bb80c]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-6c6bb80c]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-6c6bb80c]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-6c6bb80c]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-6c6bb80c]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-6c6bb80c]{width:auto}}.mediaMetadata__checkbox[data-v-6c6bb80c]{margin-top:35px}.container[data-v-3f736376]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-3f736376]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-3f736376]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-3f736376]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-3f736376]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-3f736376]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-3f736376]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-3f736376]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-3f736376]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-3f736376]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-3f736376]{width:auto}}.media[data-v-3f736376]{border-radius:2px;border:1px solid #e5e5e5;background:#fff}.media__field[data-v-3f736376]{padding:10px;position:relative}.media--slide[data-v-3f736376]{border:0 none}.media__note[data-v-3f736376]{color:#8c8c8c;float:right;position:absolute;bottom:18px;right:15px;display:none}@media screen and (min-width:600px){.media__note[data-v-3f736376]{display:inline-block}}@media screen and (min-width:850px)and (max-width:1039px){.media__note[data-v-3f736376]{display:none}}@media screen and (min-width:600px){.s--in-editor .media__note[data-v-3f736376]{display:none}}.media__img[data-v-3f736376]{width:33.33%;max-width:240px;user-select:none;position:relative;min-width:100px}.media__img[data-v-3f736376]:before{content:"";position:absolute;display:block;top:0;left:0;right:0;bottom:0;border:1px solid rgba(0,0,0,.05)}.media__img img[data-v-3f736376]{display:block;max-width:100%;max-height:100%;margin:auto}.media__img img.media__img--landscape[data-v-3f736376]{width:100%;height:auto}.media__img img.media__img--portrait[data-v-3f736376]{width:auto;height:100%}.media--slide .media__img[data-v-3f736376]{max-width:120px}.media__crop-link[data-v-3f736376]{text-decoration:none;cursor:pointer}.media__crop-link p[data-v-3f736376]:first-letter{text-transform:capitalize}.media__crop-link:hover .f--small span[data-v-3f736376]{text-decoration:none;background-image:linear-gradient(180deg,rgba(38,38,38,.5) 75%,rgba(38,38,38,.5) 0);background-repeat:repeat-x;background-size:1px 1px;background-position:0 98%}@media screen and (max-width:1039px){.media__crop-link[data-v-3f736376]{flex-direction:column}}.media__imgFrame[data-v-3f736376]{width:100%;padding-bottom:100%;position:relative;overflow:hidden}.media__imgCentered[data-v-3f736376]{top:0;bottom:0;left:0;right:0;position:absolute;display:flex;background-color:#f6f6f6;background-size:contain;background-repeat:no-repeat;background-position:50%;transition:background-image .35s cubic-bezier(.795,.125,.28,.99),background-size 0ms .35s}.media__imgCentered[data-v-3f736376]:before{content:"";position:absolute;display:block;top:0;left:0;right:0;bottom:0;border:1px solid rgba(0,0,0,.05)}.media__edit[data-v-3f736376]{position:absolute;top:0;bottom:0;left:0;right:0;display:block;opacity:0;background-color:rgba(0,0,0,.2);cursor:pointer;transition:opacity .3s ease}.media__edit .media__edit--button[data-v-3f736376]{display:block;position:absolute;right:10px;bottom:10px;height:26px;width:26px;line-height:26px;text-align:center;border-radius:50%;background:#fff;color:#a6a6a6}.media__edit .media__edit--button .icon[data-v-3f736376]{color:#a6a6a6;transition:color .25s linear}.media__imgFrame:hover .media__edit[data-v-3f736376]{opacity:1}.media__info[data-v-3f736376]{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:flex-start;align-content:flex-start}.media__metadatas[data-v-3f736376]{padding:5px 15px;flex-grow:1;color:#8c8c8c;overflow:hidden}.media__metadatas li[data-v-3f736376]{overflow:hidden}.media__metadatas a[data-v-3f736376]{color:#3278b8}.media__name strong[data-v-3f736376]{font-weight:400;color:#262626;overflow:hidden;text-overflow:ellipsis;display:block;margin-bottom:5px}.media__name[data-v-3f736376]:hover{cursor:pointer}.media__name:hover strong[data-v-3f736376]{color:#3278b8}.media__metadatas--options[data-v-3f736376]{display:none;margin-top:35px}.media__metadatas--options.s--active[data-v-3f736376]{display:block}.media__actions[data-v-3f736376]{min-width:135px}@media screen and (max-width:1140px){.media__actions[data-v-3f736376]{display:none!important}}.s--in-editor .media__actions[data-v-3f736376]{display:none!important}@media screen and (min-width:1139px){.media__actions-dropDown[data-v-3f736376]{display:none}}.s--in-editor .media__actions-dropDown[data-v-3f736376]{display:block!important}.media.media--hoverable .media__actions[data-v-3f736376]{opacity:0;transition:opacity .25s ease}.media.media--hoverable :hover .media__actions[data-v-3f736376]{opacity:1}.modal--cropper .cropper__button[data-v-3f736376]{width:100%;display:block;margin-top:20px;margin-bottom:20px}@media screen and (min-width:600px){.modal--cropper .cropper__button[data-v-3f736376]{position:absolute;bottom:0;left:0;width:auto;margin-top:20px;margin-bottom:20px}}.media .media__actions-dropDown .dropdown__content{margin-top:10px}.container[data-v-5d2936e8]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-5d2936e8]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-5d2936e8]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-5d2936e8]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-5d2936e8]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-5d2936e8]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-5d2936e8]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-5d2936e8]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-5d2936e8]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-5d2936e8]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-5d2936e8]{width:auto}}.modal[data-v-5d2936e8]{position:fixed;top:0;right:0;height:0;left:0;background:rgba(0,0,0,.66);z-index:500;display:flex;flex-wrap:wrap;align-items:flex-start;overflow-x:hidden;overflow-y:auto;opacity:0;visibility:hidden;transition:opacity .35s ease,visibility 0s .35s,height 0s .35s}.modal.modal--wide[data-v-5d2936e8]{background-color:#333}.modal__window[data-v-5d2936e8]{background:#fff;width:calc(100vw - 40px);max-width:650px;position:relative;border-radius:2px;display:flex;flex-flow:column nowrap;margin:auto}.modal__content[data-v-5d2936e8]{overflow:hidden;overflow-y:auto;flex-grow:1;max-height:100%}.modal__header[data-v-5d2936e8]{border-top-left-radius:2px;border-top-right-radius:2px;background:#d9d9d9;padding:0 20px;height:50px;line-height:50px;position:relative;font-weight:600}.modal__close[data-v-5d2936e8]{background-color:transparent;-webkit-appearance:none;cursor:pointer;font-size:1em;outline:none;margin:0;border:0 none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:inherit;position:absolute;right:5px;top:2px;background:transparent;height:46px;width:46px;color:#a6a6a6;padding:15px}.modal__close[data-v-5d2936e8]:focus,.modal__close[data-v-5d2936e8]:hover{color:#262626}.modal__content[data-v-5d2936e8]{padding:0 20px}.modal__content>button[data-v-5d2936e8]{margin-bottom:20px}.modal--wide[data-v-5d2936e8]{padding:30px}.modal--wide .modal__content[data-v-5d2936e8]{padding:0;display:flex}.modal--wide .modal__window[data-v-5d2936e8]{width:100%;height:100%;max-width:inherit}@media screen and (max-width:599px){.modal--wide .modal__window[data-v-5d2936e8]{border-radius:0}}@media screen and (min-width:600px)and (max-width:849px){.modal--wide[data-v-5d2936e8]{padding:10px}}@media screen and (max-width:599px){.modal--wide[data-v-5d2936e8]{width:100%;min-height:100%;padding:0}}.modal--medium .modal__window[data-v-5d2936e8]{width:calc(100vw - 40px);max-width:830px;min-height:66vh;max-height:100%}.modal--medium .modal__content[data-v-5d2936e8]{display:flex}.modal--tiny .modal__window[data-v-5d2936e8]{width:calc(100vw - 40px);max-width:350px;height:auto;margin-bottom:40vh}.modal--tiny .modal__content[data-v-5d2936e8]{padding:0 20px;display:block}.modal--tiny .modal__header[data-v-5d2936e8]{display:none}.modal--form .modal__content[data-v-5d2936e8]{padding-bottom:20px}.modal--withintro .modal__content[data-v-5d2936e8]{padding-top:20px}.modal--browser .modal__content[data-v-5d2936e8]{padding-left:0;padding-right:0}.modal--cropper .modal__content[data-v-5d2936e8]{position:relative}.modal--active[data-v-5d2936e8]{opacity:1;visibility:visible;height:100%;transition:opacity .35s}.modal--hidden[data-v-5d2936e8]{display:none}.modal .modal--tiny .modal--tiny-title{margin-bottom:20px}.container[data-v-8819f42c]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-8819f42c]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-8819f42c]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-8819f42c]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-8819f42c]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-8819f42c]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-8819f42c]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-8819f42c]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-8819f42c]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-8819f42c]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-8819f42c]{width:auto}}.multiselector[data-v-8819f42c]{color:#262626}.multiselector__outer[data-v-8819f42c]{display:block}.multiselector__checkbox[data-v-8819f42c]{position:absolute;width:1px;height:1px;margin-top:-1px;margin-left:-1px;padding:0;border:0 none;clip:rect(1px,1px,1px,1px);overflow:hidden}.multiselector__label[data-v-8819f42c]{display:block;position:relative;color:#8c8c8c;cursor:pointer;z-index:1;padding-left:25px;padding-right:5px}.multiselector__bg[data-v-8819f42c]{display:none}.multiselector__icon[data-v-8819f42c]{display:block;position:absolute;left:0;top:2px;width:15px;height:15px;border:1px solid #d9d9d9;background:#fbfbfb;border-radius:2px;transition:all .25s cubic-bezier(.5,-.6,.5,1.6)}.multiselector__icon .icon[data-v-8819f42c]{color:#fff;top:1px;position:relative;line-height:11px;display:block;margin-left:auto;margin-right:auto}.multiselector__item[data-v-8819f42c]{padding:7px 0 8px 0}.multiselector__label:focus .multiselector__icon[data-v-8819f42c],.multiselector__label:hover .multiselector__icon[data-v-8819f42c]{border-color:#a6a6a6}.multiselector__checkbox--checked+.multiselector__label[data-v-8819f42c],.multiselector__checkbox:focus+.multiselector__label[data-v-8819f42c],.multiselector__checkbox:hover+.multiselector__label[data-v-8819f42c],.multiselector__label[data-v-8819f42c]:hover{color:#262626}.multiselector__checkbox:disabled+.multiselector__label[data-v-8819f42c]{opacity:.5;pointer-events:none}.multiselector__checkbox:focus+.multiselector__label .multiselector__icon[data-v-8819f42c]{border-color:#ccc}.multiselector__checkbox--checked+.multiselector__label+.multiselector__bg[data-v-8819f42c],.multiselector__checkbox:hover+.multiselector__label+.multiselector__bg[data-v-8819f42c]{background-color:#fbfbfb}.multiselector__checkbox--checked+.multiselector__label .multiselector__icon[data-v-8819f42c]{border-color:#8c8c8c;background-color:#8c8c8c}.multiselector__checkbox--checked:focus+.multiselector__label .multiselector__icon[data-v-8819f42c]{border-color:#8c8c8c}.multiselector--columns[data-v-8819f42c],.multiselector--grid[data-v-8819f42c]{border:1px solid #e5e5e5;background-clip:padding-box;box-sizing:border-box;overflow:hidden;border-radius:2px}.multiselector--columns .multiselector__outer[data-v-8819f42c],.multiselector--grid .multiselector__outer[data-v-8819f42c]{display:flex;flex-direction:row;flex-wrap:wrap;box-sizing:border-box;overflow:hidden;margin-bottom:-1px;margin-right:-1px}.multiselector--columns .multiselector__item[data-v-8819f42c],.multiselector--grid .multiselector__item[data-v-8819f42c]{width:100%;height:50%;border-right:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;overflow:hidden;position:relative;padding:0}@media screen and (min-width:600px)and (max-width:849px){.multiselector--columns .multiselector__item[data-v-8819f42c],.multiselector--grid .multiselector__item[data-v-8819f42c]{width:33.3333%}}@media screen and (min-width:850px)and (max-width:1039px){.multiselector--columns .multiselector__item[data-v-8819f42c],.multiselector--grid .multiselector__item[data-v-8819f42c]{width:100%}}@media screen and (min-width:1040px)and (max-width:1539px){.multiselector--columns .multiselector__item[data-v-8819f42c],.multiselector--grid .multiselector__item[data-v-8819f42c]{width:33.3333%}}@media screen and (min-width:1040px){.multiselector--columns .multiselector__item[data-v-8819f42c],.multiselector--grid .multiselector__item[data-v-8819f42c]{width:25%}}.multiselector--columns .multiselector__label[data-v-8819f42c],.multiselector--grid .multiselector__label[data-v-8819f42c]{height:50px;line-height:50px;padding-left:42px;color:#8c8c8c;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.multiselector--columns .multiselector__icon[data-v-8819f42c],.multiselector--grid .multiselector__icon[data-v-8819f42c]{left:15px;top:50%;margin-top:-8px}.multiselector--grid .multiselector__bg[data-v-8819f42c]{display:block;position:absolute;top:0;left:0;right:0;bottom:0;z-index:0;background-color:#fff;transition:background-color .25s cubic-bezier(.5,-.6,.5,1.6)}.multiselector--grid .multiselector__checkbox--checked+.multiselector__label .multiselector__icon[data-v-8819f42c]{border-color:#8c8c8c;background-color:#8c8c8c}.multiselector--grid .multiselector__checkbox--checked:focus+.multiselector__label .multiselector__icon[data-v-8819f42c]{border-color:#8c8c8c}.s--in-editor .multiselector--columns .multiselector__item[data-v-8819f42c],.s--in-editor .multiselector--grid .multiselector__item[data-v-8819f42c]{width:100%!important}.multiselector--inline .multiselector__outer[data-v-8819f42c]{display:flex;flex-direction:row;flex-wrap:wrap;overflow:hidden}.multiselector--inline .multiselector__item[data-v-8819f42c]{margin-right:20px}.multiselector--border[data-v-8819f42c]{border:1px solid #e5e5e5;background-clip:padding-box;box-sizing:border-box;overflow:hidden;border-radius:2px;padding:7px 15px}.multiselector--border.multiselector--inline[data-v-8819f42c]{padding:0 15px}.multiselector--border.multiselector--inline .multiselector__outer[data-v-8819f42c]{box-sizing:border-box;overflow:hidden;margin-bottom:-1px;margin-right:-1px}.multiselector--border.multiselector--inline .multiselector__item[data-v-8819f42c]{padding:0;height:50%;overflow:hidden;position:relative}.multiselector--border.multiselector--inline .multiselector__label[data-v-8819f42c]{padding-left:25px;height:50px;line-height:50px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.multiselector--border.multiselector--inline .multiselector__label .multiselector__icon[data-v-8819f42c]{top:50%;margin-top:-9px}.container[data-v-6de2145c]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-6de2145c]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-6de2145c]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-6de2145c]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-6de2145c]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-6de2145c]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-6de2145c]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-6de2145c]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-6de2145c]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-6de2145c]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-6de2145c]{width:auto}}.radio[data-v-6de2145c]{color:#262626}.radio__input[data-v-6de2145c]{position:absolute;width:1px;height:1px;margin-top:-1px;margin-left:-1px;padding:0;border:0 none;clip:rect(1px,1px,1px,1px);overflow:hidden}.radio__label[data-v-6de2145c]{display:block;position:relative;padding-left:28px;color:#8c8c8c;cursor:pointer}.radio__label[data-v-6de2145c]:after,.radio__label[data-v-6de2145c]:before{content:"";position:absolute;left:0;top:1px;width:18px;height:18px;border-radius:50%;transition:all .25s cubic-bezier(.5,-.6,.5,1.6)}.radio__label[data-v-6de2145c]:before{border:1px solid #d9d9d9;background-color:#fbfbfb}.radio__label[data-v-6de2145c]:after{border:0 none;background-color:#a6a6a6;opacity:0;transform:scale(.1)}.radio__label[data-v-6de2145c]:hover:before{border-color:#a6a6a6}.radio__input:checked+.radio__label[data-v-6de2145c],.radio__input:hover+.radio__label[data-v-6de2145c],.radio__label[data-v-6de2145c]:hover{color:#262626}.radio__input:focus+.radio__label[data-v-6de2145c]:before{border-color:#ccc}.radio__input:checked+.radio__label[data-v-6de2145c]{color:#262626}.radio__input:checked+.radio__label[data-v-6de2145c]:before,.radio__input:focus:checked+.radio__label[data-v-6de2145c]:before{border-color:#8c8c8c;background-color:#8c8c8c}.radio__input:checked+.radio__label[data-v-6de2145c]:after{opacity:1;transform:scale(.33);background-color:#fff}.radio__input:disabled+.radio__label[data-v-6de2145c]{opacity:.5;pointer-events:none}.radio__bucket--1 .radio__input:hover+.radio__label[data-v-6de2145c]:after{opacity:1;transform:scale(.33);background-color:#fff}.radio__bucket--1 .radio__input:checked+.radio__label[data-v-6de2145c]:before,.radio__bucket--1 .radio__input:focus:checked+.radio__label[data-v-6de2145c]:before,.radio__bucket--1 .radio__input:hover+.radio__label[data-v-6de2145c]:before{border-color:#7ca4a2;background-color:#7ca4a2}.radio__bucket--2 .radio__input:hover+.radio__label[data-v-6de2145c]:after{opacity:1;transform:scale(.33);background-color:#fff}.radio__bucket--2 .radio__input:checked+.radio__label[data-v-6de2145c]:before,.radio__bucket--2 .radio__input:focus:checked+.radio__label[data-v-6de2145c]:before,.radio__bucket--2 .radio__input:hover+.radio__label[data-v-6de2145c]:before{border-color:#70769f;background-color:#70769f}.radio__bucket--3 .radio__input:hover+.radio__label[data-v-6de2145c]:after{opacity:1;transform:scale(.33);background-color:#fff}.radio__bucket--3 .radio__input:checked+.radio__label[data-v-6de2145c]:before,.radio__bucket--3 .radio__input:focus:checked+.radio__label[data-v-6de2145c]:before,.radio__bucket--3 .radio__input:hover+.radio__label[data-v-6de2145c]:before{border-color:#e37a75;background-color:#e37a75}.container[data-v-35a49f72]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-35a49f72]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-35a49f72]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-35a49f72]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-35a49f72]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-35a49f72]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-35a49f72]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-35a49f72]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-35a49f72]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-35a49f72]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-35a49f72]{width:auto}}.radioGroup[data-v-35a49f72]{color:#262626}.radioGroup--inline[data-v-35a49f72]{display:flex;flex-flow:row wrap;overflow:hidden}.radioGroup--inline .radioGroup__item[data-v-35a49f72]{margin-right:20px}.radioGroup__item[data-v-35a49f72]{padding:7px 0 8px 0}.container[data-v-467fbd52]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-467fbd52]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-467fbd52]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-467fbd52]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-467fbd52]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-467fbd52]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-467fbd52]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-467fbd52]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-467fbd52]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-467fbd52]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-467fbd52]{width:auto}}.select__input[data-v-467fbd52]{display:block;position:relative}.select__input select[data-v-467fbd52]{width:100%;margin:0;outline:none;padding:.6em .8em .5em .8em;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;font-size:16px}.select__input[data-v-467fbd52]:after{content:" ";position:absolute;top:50%;right:1em;z-index:2;pointer-events:none;display:none;display:block}.select__input select[data-v-467fbd52]{padding-right:2em;background:none;border:1px solid transparent;appearance:none;-webkit-appearance:none}@supports(-moz-appearance:none) and (mask-type:alpha){.select__input[data-v-467fbd52]:after{display:block}.select__input select[data-v-467fbd52]{padding-right:2em;background:none;border:1px solid transparent;appearance:none}}@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){.select__input select[data-v-467fbd52]::-ms-expand{display:none}.select__input select[data-v-467fbd52]:focus::-ms-value{background:transparent;color:#222}.select__input select[data-v-467fbd52]{padding-right:2em;background:none;border:1px solid transparent}.select__input[data-v-467fbd52]:after{display:block}}.select__input[data-v-467fbd52]{border:1px solid #d9d9d9;background-color:#fff;border-radius:2px;cursor:pointer;height:35px}.select__input[data-v-467fbd52]:focus,.select__input[data-v-467fbd52]:hover{border-color:#a6a6a6}.select__input select[data-v-467fbd52]{font-size:15px;line-height:33px;height:35px;padding:0 35px 0 14px;border-radius:2px;color:#8c8c8c;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-padding-end:35px!important;-webkit-padding-start:14px!important;margin-top:-1px}.select__input:hover select[data-v-467fbd52]{color:#262626}.select__input[data-v-467fbd52]:after{width:0;height:0;margin-top:-3px;border-width:4px 4px 0;border-style:solid}.select__input[data-v-467fbd52]:after,.select__input[data-v-467fbd52]:focus:after,.select__input[data-v-467fbd52]:hover:after{border-color:#a6a6a6 transparent transparent}.select__input select[data-v-467fbd52]:focus{outline:none}.select__input select[data-v-467fbd52]:disabled{opacity:.5;pointer-events:none}.select__input option[data-v-467fbd52]{font-weight:400;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select__input--large select[data-v-467fbd52],.select__input--large[data-v-467fbd52]{height:45px}.select__input--large select[data-v-467fbd52]{line-height:43px}.container[data-v-552b859e]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-552b859e]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-552b859e]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-552b859e]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-552b859e]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-552b859e]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-552b859e]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-552b859e]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-552b859e]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-552b859e]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-552b859e]{width:auto}}.checkbox[data-v-552b859e]{color:#262626;min-width:30px}.checkbox__note[data-v-552b859e]{display:block;margin-top:4px;color:#8c8c8c}.checkbox__input[data-v-552b859e]{position:absolute;width:1px;height:1px;margin-top:-1px;margin-left:-1px;padding:0;border:0 none;clip:rect(1px,1px,1px,1px);overflow:hidden;opacity:0}.checkbox__label[data-v-552b859e]{display:block;position:relative;padding-left:27px;color:#8c8c8c;cursor:pointer}.checkbox__icon[data-v-552b859e],.checkbox__label[data-v-552b859e]:before{position:absolute;left:0;top:2px;width:15px;height:15px;border-radius:2px;transition:all .2s linear}.checkbox__label[data-v-552b859e]:before{content:"";background-color:#fbfbfb;border:1px solid #d9d9d9}.checkbox__icon[data-v-552b859e]{background-color:#8c8c8c;color:#fff;opacity:0}.checkbox__icon .icon[data-v-552b859e]{color:#fff;top:2px;position:relative;display:block;margin-left:auto;margin-right:auto}.checkbox__input:focus+.checkbox__label[data-v-552b859e]:before,.checkbox__label[data-v-552b859e]:hover:before{border-color:#a6a6a6}.checkbox__input--checked+.checkbox__label[data-v-552b859e],.checkbox__input:hover+.checkbox__label[data-v-552b859e],.checkbox__label[data-v-552b859e]:hover{color:#262626}.checkbox__input--checked+.checkbox__label .checkbox__note[data-v-552b859e],.checkbox__input:hover+.checkbox__label .checkbox__note[data-v-552b859e],.checkbox__label:hover .checkbox__note[data-v-552b859e]{color:#8c8c8c}.checkbox__input--checked+.checkbox__label .checkbox__icon[data-v-552b859e]{opacity:1}.checkbox__input:disabled+.checkbox__label[data-v-552b859e]{opacity:.33;pointer-events:none}.checkbox__input--checked:disabled+.checkbox__label[data-v-552b859e]{opacity:.66;pointer-events:none}.checkbox__input--bold+.checkbox__label .checkbox__icon[data-v-552b859e]{background-color:#1d9f3c}.checkbox--minus .checkbox__label[data-v-552b859e]:after{content:"";display:block;width:9px;height:2px;background-color:#8c8c8c;position:absolute;left:3px;top:8px}.checkbox--minus .checkbox__input--checked+.checkbox__label .checkbox__icon[data-v-552b859e]{opacity:0}.singleCheckbox--border[data-v-552b859e]{border:1px solid #e5e5e5;background-clip:padding-box;box-sizing:border-box;overflow:hidden;border-radius:2px;padding:0 15px}.singleCheckbox--border .checkbox__label[data-v-552b859e]{padding-left:27px;height:50px;line-height:50px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.singleCheckbox--border .checkbox__icon[data-v-552b859e],.singleCheckbox--border .checkbox__label[data-v-552b859e]:before{top:50%;margin-top:-9px}.container[data-v-0406024e]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-0406024e]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-0406024e]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-0406024e]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-0406024e]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-0406024e]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-0406024e]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-0406024e]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-0406024e]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-0406024e]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-0406024e]{width:auto}}.singleselector[data-v-0406024e]{color:#262626}.singleselector__radio[data-v-0406024e]{position:absolute;width:1px;height:1px;margin-top:-1px;margin-left:-1px;padding:0;border:0 none;clip:rect(1px,1px,1px,1px);overflow:hidden}.singleselector__label[data-v-0406024e]{display:block;position:relative;padding-left:25px;color:#8c8c8c;cursor:pointer;z-index:1;padding-right:5px}.singleselector__bg[data-v-0406024e]{display:none}.singleselector__item[data-v-0406024e]{padding:7px 0 8px 0}.singleselector__label[data-v-0406024e]:after,.singleselector__label[data-v-0406024e]:before{content:"";position:absolute;left:0;top:1px;width:18px;height:18px;border-radius:50%;transition:all .25s cubic-bezier(.5,-.6,.5,1.6)}.singleselector__label[data-v-0406024e]:before{border:1px solid #d9d9d9;background-color:#fbfbfb}.singleselector__label[data-v-0406024e]:after{border:0 none;background-color:#a6a6a6;opacity:0;transform:scale(.1)}.singleselector__label[data-v-0406024e]:hover:before,.singleselector__radio:focus+.singleselector__label[data-v-0406024e]:before{border-color:#a6a6a6}.singleselector__label[data-v-0406024e]:hover,.singleselector__radio--checked+.singleselector__label[data-v-0406024e],.singleselector__radio:focus+.singleselector__label[data-v-0406024e],.singleselector__radio:hover+.singleselector__label[data-v-0406024e]{color:#262626}.singleselector__radio--checked+.singleselector__label[data-v-0406024e]:after{opacity:1;transform:scale(.33);background-color:#fff}.singleselector__radio:disabled+.singleselector__label[data-v-0406024e]{opacity:.5;pointer-events:none}.singleselector__radio:focus+.singleselector__label[data-v-0406024e]:before{border-color:#ccc}.singleselector__radio--checked+.singleselector__label+.singleselector__bg[data-v-0406024e],.singleselector__radio:hover+.singleselector__label+.singleselector__bg[data-v-0406024e]{background:#fbfbfb}.singleselector__radio--checked+.singleselector__label[data-v-0406024e]:before{border-color:#8c8c8c;background-color:#8c8c8c}.singleselector__radio--checked:focus+.singleselector__label[data-v-0406024e]:before{border-color:#8c8c8c}.singleselector--columns[data-v-0406024e],.singleselector--grid[data-v-0406024e]{border:1px solid #e5e5e5;background-clip:padding-box;box-sizing:border-box;overflow:hidden;border-radius:2px}.singleselector--columns .singleselector__outer[data-v-0406024e],.singleselector--grid .singleselector__outer[data-v-0406024e]{display:flex;flex-direction:row;flex-wrap:wrap;box-sizing:border-box;overflow:hidden;margin-bottom:-1px;margin-right:-1px}.singleselector--columns .singleselector__item[data-v-0406024e],.singleselector--grid .singleselector__item[data-v-0406024e]{padding:0;width:100%;height:50%;border-right:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;overflow:hidden;position:relative}@media screen and (min-width:600px)and (max-width:849px){.singleselector--columns .singleselector__item[data-v-0406024e],.singleselector--grid .singleselector__item[data-v-0406024e]{width:33.3333%}}@media screen and (min-width:850px)and (max-width:1039px){.singleselector--columns .singleselector__item[data-v-0406024e],.singleselector--grid .singleselector__item[data-v-0406024e]{width:100%}}@media screen and (min-width:1040px)and (max-width:1539px){.singleselector--columns .singleselector__item[data-v-0406024e],.singleselector--grid .singleselector__item[data-v-0406024e]{width:33.3333%}}@media screen and (min-width:1040px){.singleselector--columns .singleselector__item[data-v-0406024e],.singleselector--grid .singleselector__item[data-v-0406024e]{width:25%}}.singleselector--columns .singleselector__label[data-v-0406024e],.singleselector--grid .singleselector__label[data-v-0406024e]{padding-left:43px;color:#8c8c8c;height:50px;line-height:50px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.singleselector--columns .singleselector__label[data-v-0406024e]:after,.singleselector--columns .singleselector__label[data-v-0406024e]:before,.singleselector--grid .singleselector__label[data-v-0406024e]:after,.singleselector--grid .singleselector__label[data-v-0406024e]:before{left:15px;top:50%;margin-top:-9px}.singleselector--grid .singleselector__bg[data-v-0406024e]{display:block;position:absolute;top:0;left:0;right:0;bottom:0;z-index:0;background:#fff;transition:background-color .25s cubic-bezier(.5,-.6,.5,1.6)}.singleselector--grid .singleselector__radio--checked+.singleselector__label[data-v-0406024e]:before{border-color:#8c8c8c;background-color:#8c8c8c}.singleselector--grid .singleselector__radio--checked:focus+.singleselector__label[data-v-0406024e]:before{border-color:#8c8c8c}.s--in-editor .singleselector--columns .singleselector__item[data-v-0406024e],.s--in-editor .singleselector--grid .singleselector__item[data-v-0406024e]{width:100%!important}.singleselector--inline .singleselector__outer[data-v-0406024e]{display:flex;flex-direction:row;flex-wrap:wrap;overflow:hidden}.singleselector--inline .singleselector__item[data-v-0406024e]{margin-right:20px}.singleselector--border[data-v-0406024e]{border:1px solid #e5e5e5;background-clip:padding-box;box-sizing:border-box;overflow:hidden;border-radius:2px;padding:7px 15px}.singleselector--border.singleselector--inline[data-v-0406024e]{padding:0 15px}.singleselector--border.singleselector--inline .singleselector__outer[data-v-0406024e]{box-sizing:border-box;overflow:hidden;margin-bottom:-1px;margin-right:-1px}.singleselector--border.singleselector--inline .singleselector__item[data-v-0406024e]{padding:0;height:50%;overflow:hidden;position:relative}.singleselector--border.singleselector--inline .singleselector__label[data-v-0406024e]{padding-left:25px;height:50px;line-height:50px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.singleselector--border.singleselector--inline .singleselector__label[data-v-0406024e]:after,.singleselector--border.singleselector--inline .singleselector__label[data-v-0406024e]:before{top:50%;margin-top:-9px}.container[data-v-627613a1]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-627613a1]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-627613a1]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-627613a1]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-627613a1]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-627613a1]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-627613a1]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-627613a1]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-627613a1]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-627613a1]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-627613a1]{width:auto}}.multiselectorPermissions__items[data-v-627613a1]{border:1px solid #e5e5e5;margin-top:20px}.multiselectorPermissions__filter[data-v-627613a1]{background:#f2f2f2;margin-left:-20px;margin-right:-20px;padding-left:20px;padding-right:20px}.multiselectorPermissions__filter .filter__search[data-v-627613a1]{display:flex;width:100%}.multiselectorPermissions__item[data-v-627613a1]{padding-left:20px;border-bottom:1px solid #f2f2f2;display:flex;align-items:center;flex-wrap:wrap}.multiselectorPermissions__item label[data-v-627613a1]{padding:20px 0;flex-grow:1}.multiselectorPermissions__item .multiselectorOuter[data-v-627613a1]{padding:13.5px 0}.multiselectorPermissions__item .avatar[data-v-627613a1]{margin-left:-8px}.multiselectorPermissions__item .avatar+label[data-v-627613a1]{margin-left:10px}.multiselectorPermissions__item[data-v-627613a1]:last-child{border-bottom:0 none}.multiselectorPermissions__item.multiselectorPermissions__item--hidden[data-v-627613a1]{display:none}.multiselectorPermissions__empty[data-v-627613a1]{display:flex;justify-content:center;align-items:center;min-height:120px;padding:15px 20px}.multiselectorPermissions__empty h4[data-v-627613a1]{font-size:18px;font-weight:400;color:#8c8c8c}.multiselectorPermissions__groups[data-v-627613a1]{flex-grow:1;display:flex;align-items:flex-end}.multiselectorPermissions__button[data-v-627613a1]{background-color:transparent;-webkit-appearance:none;cursor:pointer;font-size:1em;outline:none;margin:0;border:0 none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:inherit;border:1px solid #d9d9d9;background-color:#fff;border-radius:2px;color:#8c8c8c;height:35px;min-width:120px;text-align:left;position:relative;margin-left:auto}@media screen and (min-width:1040px){.multiselectorPermissions__button[data-v-627613a1]{min-width:200px}}.multiselectorPermissions__button[data-v-627613a1]:after{content:"";display:inline-block;width:0;height:0;margin-top:-1px;border-width:4px 4px 0;border-style:solid;border-color:#a6a6a6 transparent transparent;position:absolute;right:10px;top:50%;margin-left:5px}.multiselectorPermissions__button[data-v-627613a1]:focus,.multiselectorPermissions__button[data-v-627613a1]:hover{color:#262626}.multiselectorPermissions__button[data-v-627613a1]:focus:after,.multiselectorPermissions__button[data-v-627613a1]:hover:after{border-color:#262626 transparent transparent}.container[data-v-56787a7e]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-56787a7e]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-56787a7e]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-56787a7e]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-56787a7e]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-56787a7e]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-56787a7e]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-56787a7e]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-56787a7e]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-56787a7e]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-56787a7e]{width:auto}}.slideshow[data-v-56787a7e]{display:block;border-radius:2px;border:1px solid #e5e5e5;background:#fff}.slideshow__trigger[data-v-56787a7e]{padding:10px;display:flex;align-items:center;gap:10px;border-top:1px solid #f2f2f2}.slideshow__trigger[data-v-56787a7e]:first-child{border-top:0 none}.slideshow__note[data-v-56787a7e]{color:#8c8c8c;padding:5px;flex:1;justify-content:flex-end;display:none}@media screen and (min-width:600px){.slideshow__note[data-v-56787a7e]{display:flex}}@media screen and (min-width:850px)and (max-width:1039px){.slideshow__note[data-v-56787a7e]{display:none}}.slide[data-v-56787a7e]{display:flex;flex-direction:row;border-bottom:1px solid #f2f2f2;background-color:#fff}.slide[data-v-56787a7e]:last-child{border-bottom:0 none}.slide__handle[data-v-56787a7e]{cursor:move;display:flex;justify-content:center;align-items:center;width:12px;min-width:12px;background-color:#fbfbfb;transition:background .25s ease}.slide__handle[data-v-56787a7e]:hover{background-color:#f2f2f2}.slide__handle:hover .slide__handle--drag[data-v-56787a7e]:before{background:repeating-linear-gradient(90deg,#f2f2f2,#f2f2f2 2px,transparent 0,transparent 4px)}.slide__handle--drag[data-v-56787a7e]{position:relative;width:10px;height:52px;transition:background .25s ease;cursor:move;background:repeating-linear-gradient(180deg,#bfbfbf,#bfbfbf 2px,transparent 0,transparent 4px)}.slide__handle--drag[data-v-56787a7e]:before{position:absolute;display:block;content:"";background:repeating-linear-gradient(90deg,#fbfbfb,#fbfbfb 2px,transparent 0,transparent 4px);width:100%;height:100%}.slide__content[data-v-56787a7e]{flex-grow:1;max-width:calc(100% - 12px)}.container[data-v-9edd5ab6]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-9edd5ab6]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-9edd5ab6]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-9edd5ab6]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-9edd5ab6]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-9edd5ab6]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-9edd5ab6]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-9edd5ab6]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-9edd5ab6]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-9edd5ab6]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-9edd5ab6]{width:auto}}.input__field[data-v-9edd5ab6]{position:relative;overflow:hidden;padding:0 15px;height:45px;line-height:45px;border-radius:2px;box-shadow:inset 0 0 1px #f9f9f9;width:100%;border:0 none;box-sizing:border-box;font-size:15px;caret-color:#3278b8;background-color:#fbfbfb;border:1px solid #d9d9d9;color:#666;display:flex;flex-direction:row;flex-wrap:no-wrap}.input__field.s--focus[data-v-9edd5ab6],.input__field[data-v-9edd5ab6]:hover{border-color:#a6a6a6;color:#666;outline:0;background-color:#fff}.input__field.s--disabled[data-v-9edd5ab6]{background-color:#fbfbfb;border:1px solid #d9d9d9;color:#666;box-shadow:0 none;outline:0;opacity:.5;pointer-events:none}.input__field input[type=email][data-v-9edd5ab6],.input__field input[type=number][data-v-9edd5ab6],.input__field input[type=password][data-v-9edd5ab6],.input__field input[type=search][data-v-9edd5ab6],.input__field input[type=text][data-v-9edd5ab6],.input__field input[type=url][data-v-9edd5ab6]{padding:0;margin:0;border-radius:0;-webkit-appearance:none;background:transparent;border:0 none;font-size:inherit;letter-spacing:inherit;height:43px;line-height:43px;flex-grow:1;color:inherit}.input__field input[type=email][data-v-9edd5ab6]:focus,.input__field input[type=number][data-v-9edd5ab6]:focus,.input__field input[type=password][data-v-9edd5ab6]:focus,.input__field input[type=search][data-v-9edd5ab6]:focus,.input__field input[type=text][data-v-9edd5ab6]:focus,.input__field input[type=url][data-v-9edd5ab6]:focus{outline:0}.input__field input[type=email][data-v-9edd5ab6]::-webkit-input-placeholder,.input__field input[type=number][data-v-9edd5ab6]::-webkit-input-placeholder,.input__field input[type=password][data-v-9edd5ab6]::-webkit-input-placeholder,.input__field input[type=search][data-v-9edd5ab6]::-webkit-input-placeholder,.input__field input[type=text][data-v-9edd5ab6]::-webkit-input-placeholder,.input__field input[type=url][data-v-9edd5ab6]::-webkit-input-placeholder{color:#ccc}.input__field input[type=email][data-v-9edd5ab6]:-moz-placeholder,.input__field input[type=email][data-v-9edd5ab6]::-moz-placeholder,.input__field input[type=number][data-v-9edd5ab6]:-moz-placeholder,.input__field input[type=number][data-v-9edd5ab6]::-moz-placeholder,.input__field input[type=password][data-v-9edd5ab6]:-moz-placeholder,.input__field input[type=password][data-v-9edd5ab6]::-moz-placeholder,.input__field input[type=search][data-v-9edd5ab6]:-moz-placeholder,.input__field input[type=search][data-v-9edd5ab6]::-moz-placeholder,.input__field input[type=text][data-v-9edd5ab6]:-moz-placeholder,.input__field input[type=text][data-v-9edd5ab6]::-moz-placeholder,.input__field input[type=url][data-v-9edd5ab6]:-moz-placeholder,.input__field input[type=url][data-v-9edd5ab6]::-moz-placeholder{color:#ccc}.input__field input[type=email][data-v-9edd5ab6]:-ms-input-placeholder,.input__field input[type=number][data-v-9edd5ab6]:-ms-input-placeholder,.input__field input[type=password][data-v-9edd5ab6]:-ms-input-placeholder,.input__field input[type=search][data-v-9edd5ab6]:-ms-input-placeholder,.input__field input[type=text][data-v-9edd5ab6]:-ms-input-placeholder,.input__field input[type=url][data-v-9edd5ab6]:-ms-input-placeholder{color:#ccc}.input__field textarea[data-v-9edd5ab6]{padding:0;margin:0;border-radius:0;-webkit-appearance:none;background:transparent;border:0 none;font-size:inherit;letter-spacing:inherit;padding:10px;line-height:inherit;width:100%;box-sizing:border-box;display:block;resize:none;overflow:hidden;z-index:1;position:relative;color:inherit}.input__field textarea[data-v-9edd5ab6]:focus{outline:0}.input__field textarea[data-v-9edd5ab6]::-webkit-input-placeholder{color:#ccc}.input__field textarea[data-v-9edd5ab6]:-moz-placeholder,.input__field textarea[data-v-9edd5ab6]::-moz-placeholder{color:#ccc}.input__field textarea[data-v-9edd5ab6]:-ms-input-placeholder{color:#ccc}.input__field .input__clone[data-v-9edd5ab6]{position:absolute;width:100%;pointer-events:none;opacity:0;height:auto;z-index:0}.input__prefix[data-v-9edd5ab6]{color:#a6a6a6;white-space:nowrap}.input__limit[data-v-9edd5ab6],.input__prefix[data-v-9edd5ab6]{height:43px;line-height:43px;user-select:none;pointer-events:none}.input__limit[data-v-9edd5ab6]{color:#8c8c8c}.input__limit--red[data-v-9edd5ab6]{color:red}.input__validity[data-v-9edd5ab6]{position:absolute;top:17px;right:15px;width:10px;height:10px;background-color:#d9d9d9;border-radius:50%;user-select:none;pointer-events:none}.input__validity--valid[data-v-9edd5ab6]{background-color:#1d9f3c}.input__validity--error[data-v-9edd5ab6]{background-color:#e61414}.input__field--textarea[data-v-9edd5ab6]{display:block;padding:0;height:auto;line-height:inherit}.input__field--textarea .input__prefix[data-v-9edd5ab6]{display:none}.input__field--textarea .input__limit[data-v-9edd5ab6]{position:absolute;right:15px;bottom:0}.input__field--small[data-v-9edd5ab6]{padding:0 13px;height:35px;line-height:35px}.input__field--small input[type=email][data-v-9edd5ab6],.input__field--small input[type=number][data-v-9edd5ab6],.input__field--small input[type=password][data-v-9edd5ab6],.input__field--small input[type=search][data-v-9edd5ab6],.input__field--small input[type=text][data-v-9edd5ab6],.input__field--small input[type=url][data-v-9edd5ab6]{height:33px;line-height:33px}.input__field--textarea[dir=rtl] .input__limit[data-v-9edd5ab6]{left:15px;right:auto}.container[data-v-dc784262]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-dc784262]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-dc784262]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-dc784262]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-dc784262]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-dc784262]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-dc784262]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-dc784262]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-dc784262]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-dc784262]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-dc784262]{width:auto}}.wysiwyg__button[data-v-dc784262]{margin-top:20px}.wysiwyg__outer--limitHeight .wysiwyg[data-v-dc784262]{position:relative;overflow:hidden}.wysiwyg__editor--limitHeight[data-v-dc784262]{max-height:calc(100vh - 250px);overflow-y:scroll;min-height:142px;border:1px solid #d9d9d9;border-top:none;scroll-behavior:smooth;margin-top:52px}.input--error .wysiwyg__editor--limitHeight[data-v-dc784262]{border-color:#e61414;border-top:none}.s--focus .wysiwyg__editor--limitHeight[data-v-dc784262]{border-color:#a6a6a6;border-top:none}.ql-divider{overflow:hidden}.wysiwyg__limit{height:43px;line-height:43px;color:#8c8c8c;user-select:none;pointer-events:none;position:absolute;right:15px;bottom:0}.wysiwyg__limit--red{color:red}.wysiwyg[dir=rtl] .wysiwyg__limit{left:15px;right:auto}.a17 .ql-toolbar.ql-snow{border-top-left-radius:2px;border-top-right-radius:2px;background-color:#fbfbfb;font-family:inherit}.a17 .wysiwyg__editor--limitHeight .ql-toolbar{z-index:1;position:absolute;top:0;left:0;right:0}.a17 .ql-editor.ql-blank:before{font-style:normal;color:#ccc;font-size:15px}.a17 .ql-container.ql-snow{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.a17 .ql-editor{background-color:#fbfbfb;min-height:90px;caret-color:#3278b8;color:#666;overflow:visible}.a17 .ql-editor:focus,.a17 .ql-editor:hover{background:#fff}.a17 [dir=rtl] .ql-editor{direction:rtl;text-align:right}.a17 .wysiwyg__editor--limitHeight .ql-editor{min-height:150px}.a17 .ql-snow .ql-editor b,.a17 .ql-snow .ql-editor h1,.a17 .ql-snow .ql-editor h2,.a17 .ql-snow .ql-editor h3,.a17 .ql-snow .ql-editor h4,.a17 .ql-snow .ql-editor h5,.a17 .ql-snow .ql-editor h6,.a17 .ql-snow .ql-editor p b,.a17 .ql-snow .ql-editor p strong,.a17 .ql-snow .ql-editor strong{font-weight:700}.a17 .ql-snow .ql-editor em,.a17 .ql-snow .ql-editor i,.a17 .ql-snow .ql-editor li em,.a17 .ql-snow .ql-editor li i,.a17 .ql-snow .ql-editor p em,.a17 .ql-snow .ql-editor p i{font-style:italic}.a17 .ql-snow .ql-editor li u,.a17 .ql-snow .ql-editor p u,.a17 .ql-snow .ql-editor u{text-decoration:underline}.a17 .ql-snow .ql-editor h1,.a17 .ql-snow .ql-editor h2,.a17 .ql-snow .ql-editor h3,.a17 .ql-snow .ql-editor h4,.a17 .ql-snow .ql-editor h5,.a17 .ql-snow .ql-editor ol,.a17 .ql-snow .ql-editor p,.a17 .ql-snow .ql-editor ul{margin-bottom:1em}.a17 .ql-snow .ql-editor h1{font-size:2em;line-height:1.25em}.a17 .ql-snow .ql-editor h2{font-size:1.66em;line-height:1.25em}.a17 .ql-snow .ql-editor h3{font-size:1.33em;line-height:1.25em}.a17 .ql-snow .ql-editor h4{font-size:1.25em;line-height:1.25em}.a17 .ql-snow .ql-editor h5{font-size:1em;line-height:1.25em}.a17 .ql-snow .ql-editor pre{color:#333;padding:15px;overflow:auto;background-color:#f6f8fa;border-radius:3px;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}.a17 .ql-snow .ql-editor sup{vertical-align:super;font-size:smaller}.a17 .ql-snow .ql-editor sub{vertical-align:sub;font-size:smaller}.a17 .ql-toolbar.ql-snow{border-color:#d9d9d9;border-bottom-color:#f2f2f2}.a17 .ql-container.ql-snow{border-color:#d9d9d9}.a17 .ql-container.ql-snow .wysiwyg__editor--limitHeight,.a17 .wysiwyg__editor--limitHeight .ql-container.ql-snow{border:none}.a17 .input--error .ql-toolbar.ql-snow{border-color:#e61414;border-bottom-color:#f2f2f2}.a17 .input--error .ql-container.ql-snow{border-color:#e61414}.a17 .input--error .wysiwyg__editor--limitHeight .ql-container.ql-snow{border:none}.a17 .s--focus .ql-toolbar.ql-snow{border-color:#a6a6a6;border-bottom-color:#f2f2f2}.a17 .s--focus .ql-container.ql-snow{border-color:#a6a6a6}.a17 .s--focus .wysiwyg__editor--limitHeight .ql-container.ql-snow{border:none}.a17 .ql-snow a{color:#3278b8}.a17 .ql-editor .ql-anchor{text-decoration:underline #3278b8}.a17 .ql-clipboard{position:fixed}.a17 .ql-snow.ql-toolbar{padding:13px 8px}.a17 .ql-snow.ql-toolbar .ql-align,.a17 .ql-snow.ql-toolbar button{width:24px;margin-right:11px;text-align:center}.a17 .ql-snow.ql-toolbar button.ql-underline{top:1px}.a17 .ql-snow.ql-toolbar button.ql-link{width:33px}.a17 .ql-snow.ql-toolbar .icon{position:relative}.a17 .ql-snow.ql-toolbar .ql-formats{border-right:1px solid #f2f2f2}.a17 .ql-snow.ql-toolbar .ql-formats:last-child{border-right:none}.a17 .ql-snow .ql-toolbar .ql-picker-item.ql-selected,.a17 .ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.a17 .ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.a17 .ql-snow .ql-toolbar .ql-picker-item:hover,.a17 .ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.a17 .ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.a17 .ql-snow .ql-toolbar .ql-picker-label.ql-active,.a17 .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.a17 .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.a17 .ql-snow .ql-toolbar .ql-picker-label:hover,.a17 .ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.a17 .ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.a17 .ql-snow .ql-toolbar button.ql-active,.a17 .ql-snow .ql-toolbar button.ql-active .ql-stroke,.a17 .ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.a17 .ql-snow .ql-toolbar button:focus,.a17 .ql-snow .ql-toolbar button:focus .ql-stroke,.a17 .ql-snow .ql-toolbar button:focus .ql-stroke-miter,.a17 .ql-snow .ql-toolbar button:hover,.a17 .ql-snow .ql-toolbar button:hover .ql-stroke,.a17 .ql-snow .ql-toolbar button:hover .ql-stroke-miter,.a17 .ql-snow.ql-toolbar .ql-picker-item.ql-selected,.a17 .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.a17 .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.a17 .ql-snow.ql-toolbar .ql-picker-item:hover,.a17 .ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.a17 .ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.a17 .ql-snow.ql-toolbar .ql-picker-label.ql-active,.a17 .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.a17 .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.a17 .ql-snow.ql-toolbar .ql-picker-label:hover,.a17 .ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.a17 .ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.a17 .ql-snow.ql-toolbar button.ql-active,.a17 .ql-snow.ql-toolbar button.ql-active .ql-stroke,.a17 .ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.a17 .ql-snow.ql-toolbar button:focus,.a17 .ql-snow.ql-toolbar button:focus .ql-stroke,.a17 .ql-snow.ql-toolbar button:focus .ql-stroke-miter,.a17 .ql-snow.ql-toolbar button:hover,.a17 .ql-snow.ql-toolbar button:hover .ql-stroke,.a17 .ql-snow.ql-toolbar button:hover .ql-stroke-miter{color:#3278b8}.a17 .ql-toolbar.ql-snow .ql-font .ql-picker-label,.a17 .ql-toolbar.ql-snow .ql-header .ql-picker-label,.a17 .ql-toolbar.ql-snow .ql-size .ql-picker-label{border:0 none;position:relative}.a17 .ql-toolbar.ql-snow .ql-font .ql-picker-label:after,.a17 .ql-toolbar.ql-snow .ql-header .ql-picker-label:after,.a17 .ql-toolbar.ql-snow .ql-size .ql-picker-label:after{content:" ";top:50%;right:1em;z-index:2;position:absolute;width:0;height:0;margin-top:-3px;border-width:4px 4px 0;border-style:solid;border-color:#262626 transparent transparent}.a17 .ql-toolbar.ql-snow .ql-font .ql-picker-label svg,.a17 .ql-toolbar.ql-snow .ql-header .ql-picker-label svg,.a17 .ql-toolbar.ql-snow .ql-size .ql-picker-label svg{opacity:0}.a17 .ql-toolbar.ql-snow .ql-font .ql-picker-options,.a17 .ql-toolbar.ql-snow .ql-header .ql-picker-options,.a17 .ql-toolbar.ql-snow .ql-size .ql-picker-options{background:hsla(0,0%,100%,.98);border-radius:2px;box-shadow:0 0 5px rgba(0,0,0,.3);padding:10px 0;border:0 none;margin-top:6px}.a17 .ql-toolbar.ql-snow .ql-font .ql-picker-options .ql-picker-item,.a17 .ql-toolbar.ql-snow .ql-header .ql-picker-options .ql-picker-item,.a17 .ql-toolbar.ql-snow .ql-size .ql-picker-options .ql-picker-item{display:block;color:#8c8c8c;padding:0 15px;padding-right:50px;height:40px;line-height:40px;text-decoration:none;white-space:nowrap;font-family:inherit}.a17 .ql-toolbar.ql-snow .ql-font .ql-picker-options .ql-picker-item:hover,.a17 .ql-toolbar.ql-snow .ql-header .ql-picker-options .ql-picker-item:hover,.a17 .ql-toolbar.ql-snow .ql-size .ql-picker-options .ql-picker-item:hover{color:#262626;background:#f2f2f2}.a17 .ql-toolbar.ql-snow .ql-picker{font-size:1em}.a17 .ql-toolbar.ql-snow .ql-picker .ql-picker-label{white-space:nowrap}.a17 .ql-toolbar.ql-snow .ql-picker .ql-picker-label:before{line-height:24px}.a17 .ql-snow .ql-picker.ql-header{width:auto;min-width:120px}.a17 .ql-snow .ql-picker.ql-header .ql-picker-item:before,.a17 .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before,.a17 .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before,.a17 .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before,.a17 .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before,.a17 .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-weight:400;font-size:1em;white-space:nowrap}.container[data-v-3ff94fa2]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-3ff94fa2]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-3ff94fa2]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-3ff94fa2]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-3ff94fa2]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-3ff94fa2]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-3ff94fa2]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-3ff94fa2]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-3ff94fa2]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-3ff94fa2]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-3ff94fa2]{width:auto}}.browser[data-v-3ff94fa2]{display:block;width:100%;padding:0;position:relative;flex-grow:1}.browser__frame[data-v-3ff94fa2]{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-flow:column nowrap}.browser__inner[data-v-3ff94fa2]{position:relative;width:100%;overflow:hidden;flex-grow:1}.browser__inner[data-v-3ff94fa2]:after{content:"";position:absolute;height:1px;bottom:0;background-color:#f2f2f2;left:20px;right:20px}.browser__header[data-v-3ff94fa2]{background:#f2f2f2;padding:0 20px;display:flex}.browser__sources[data-v-3ff94fa2]{flex-grow:2}.browser__sources .browser__sources-select[data-v-3ff94fa2]{padding:20px 0;margin-right:15px}.browser__footer[data-v-3ff94fa2]{display:flex;align-items:center;justify-content:space-between;padding:20px;width:100%;color:#8c8c8c;overflow:hidden;background:#fff}.browser__size-infos[data-v-3ff94fa2]{font-size:11px;letter-spacing:0;text-align:right;float:right}.browser__list[data-v-3ff94fa2]{padding:10px 10px 0 10px;margin:0;position:absolute;top:0;left:0;right:0;bottom:0;overflow:auto}.browser__list .itemlist[data-v-3ff94fa2]{padding-bottom:0}.browser__note[data-v-3ff94fa2]{color:#8c8c8c;padding-left:20px}.wysiwyg__menubar-button:disabled{opacity:10%}.icon--custom,.icon--wysiwyg_hr,.icon--wysiwyg_hr svg{width:14px;height:14px}.container[data-v-542fc105]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-542fc105]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-542fc105]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-542fc105]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-542fc105]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-542fc105]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-542fc105]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-542fc105]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-542fc105]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-542fc105]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-542fc105]{width:auto}}.icon--wysiwyg_add_col_after svg[data-v-542fc105],.icon--wysiwyg_add_col_after[data-v-542fc105],.icon--wysiwyg_add_col_before svg[data-v-542fc105],.icon--wysiwyg_add_col_before[data-v-542fc105],.icon--wysiwyg_add_row_after svg[data-v-542fc105],.icon--wysiwyg_add_row_after[data-v-542fc105],.icon--wysiwyg_add_row_before svg[data-v-542fc105],.icon--wysiwyg_add_row_before[data-v-542fc105],.icon--wysiwyg_bold svg[data-v-542fc105],.icon--wysiwyg_bold[data-v-542fc105],.icon--wysiwyg_checklist svg[data-v-542fc105],.icon--wysiwyg_checklist[data-v-542fc105],.icon--wysiwyg_code svg[data-v-542fc105],.icon--wysiwyg_code[data-v-542fc105],.icon--wysiwyg_combine_cells svg[data-v-542fc105],.icon--wysiwyg_combine_cells[data-v-542fc105],.icon--wysiwyg_delete_col svg[data-v-542fc105],.icon--wysiwyg_delete_col[data-v-542fc105],.icon--wysiwyg_delete_row svg[data-v-542fc105],.icon--wysiwyg_delete_row[data-v-542fc105],.icon--wysiwyg_delete_table svg[data-v-542fc105],.icon--wysiwyg_delete_table[data-v-542fc105],.icon--wysiwyg_github svg[data-v-542fc105],.icon--wysiwyg_github[data-v-542fc105],.icon--wysiwyg_hr svg[data-v-542fc105],.icon--wysiwyg_hr[data-v-542fc105],.icon--wysiwyg_image svg[data-v-542fc105],.icon--wysiwyg_image[data-v-542fc105],.icon--wysiwyg_italic svg[data-v-542fc105],.icon--wysiwyg_italic[data-v-542fc105],.icon--wysiwyg_link svg[data-v-542fc105],.icon--wysiwyg_link[data-v-542fc105],.icon--wysiwyg_mention svg[data-v-542fc105],.icon--wysiwyg_mention[data-v-542fc105],.icon--wysiwyg_ol svg[data-v-542fc105],.icon--wysiwyg_ol[data-v-542fc105],.icon--wysiwyg_paragraph svg[data-v-542fc105],.icon--wysiwyg_paragraph[data-v-542fc105],.icon--wysiwyg_quote svg[data-v-542fc105],.icon--wysiwyg_quote[data-v-542fc105],.icon--wysiwyg_redo svg[data-v-542fc105],.icon--wysiwyg_redo[data-v-542fc105],.icon--wysiwyg_remove svg[data-v-542fc105],.icon--wysiwyg_remove[data-v-542fc105],.icon--wysiwyg_strike svg[data-v-542fc105],.icon--wysiwyg_strike[data-v-542fc105],.icon--wysiwyg_table svg[data-v-542fc105],.icon--wysiwyg_table[data-v-542fc105],.icon--wysiwyg_ul svg[data-v-542fc105],.icon--wysiwyg_ul[data-v-542fc105],.icon--wysiwyg_underline svg[data-v-542fc105],.icon--wysiwyg_underline[data-v-542fc105],.icon--wysiwyg_undo svg[data-v-542fc105],.icon--wysiwyg_undo[data-v-542fc105]{width:24px;height:24px}.icon--wysiwyg_unlink svg[data-v-542fc105],.icon--wysiwyg_unlink[data-v-542fc105]{width:512px;height:512px}.wysiwyg__menubar-button[data-v-542fc105]{width:24px;margin-right:10px;margin-top:5px;margin-bottom:5px;font-size:1em;border:0 none;outline:none;cursor:pointer;text-align:center;background-color:transparent;-webkit-appearance:none}.wysiwyg__menubar-button.is-active[data-v-542fc105],.wysiwyg__menubar-button[data-v-542fc105]:focus,.wysiwyg__menubar-button[data-v-542fc105]:hover{color:#3278b8}.icon svg[data-v-542fc105],.icon[data-v-542fc105]{width:15px;height:15px}.container[data-v-21dc2d28]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-21dc2d28]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-21dc2d28]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-21dc2d28]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-21dc2d28]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-21dc2d28]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-21dc2d28]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-21dc2d28]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-21dc2d28]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-21dc2d28]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-21dc2d28]{width:auto}}.modal--link[data-v-21dc2d28]{z-index:450}.modal .input[data-v-21dc2d28]{margin-top:35px!important}.modal .input-wrapper-link-options[data-v-21dc2d28]{margin-top:15px!important}.modal .link-browser-link[data-v-21dc2d28]{padding-left:0}.modal .classList>.checkbox[data-v-21dc2d28]{display:block;margin-top:15px}.modalValidation[data-v-21dc2d28]{display:flex;align-items:center;margin-top:35px}.wysiwyg[data-v-21dc2d28]{position:relative}.wysiwyg .input__limit[data-v-21dc2d28]{color:#8c8c8c;user-select:none;pointer-events:none;position:absolute;right:15px;bottom:15px}.wysiwyg .input__limit.input__limit--red[data-v-21dc2d28]{color:#e61414}.wysiwyg__editor[data-v-21dc2d28]{border-radius:2px;box-shadow:inset 0 0 1px #f9f9f9;width:100%;border:0 none;box-sizing:border-box;font-size:15px;caret-color:#3278b8;background-color:#fbfbfb;border:1px solid #d9d9d9;color:#666;position:relative}.input--error .wysiwyg__editor[data-v-21dc2d28]{border-color:#e61414}.wysiwyg__editor.s--focus[data-v-21dc2d28],.wysiwyg__editor[data-v-21dc2d28]:hover{border-color:#a6a6a6;color:#666;outline:0;background-color:#fff}.wysiwyg__editor.s--disabled[data-v-21dc2d28]{background-color:#fbfbfb;border:1px solid #d9d9d9;color:#666;box-shadow:0 none;outline:0;opacity:.5;pointer-events:none}.wysiwyg[dir=rtl] .wysiwyg__editor[data-v-21dc2d28]{direction:rtl;text-align:right}.wysiwyg__menubar[data-v-21dc2d28]{padding:5px 8px;border-top-left-radius:2px;border-top-right-radius:2px;background-color:#fbfbfb;border-bottom:1px solid #f2f2f2}.s--focus .wysiwyg__menubar[data-v-21dc2d28]{border-color:#a6a6a6;border-bottom-color:#f2f2f2}.wysiwyg__button[data-v-21dc2d28]{margin-top:20px}.wysiwyg__contentWrapper[data-v-21dc2d28]{padding:15px;min-height:90px}.wysiwyg__contentWrapper--limitHeight[data-v-21dc2d28]{max-height:calc(100vh - 250px);overflow-y:scroll}.wysiwyg__menubar-table-buttons[data-v-21dc2d28]{display:inline}.wysiwyg__menubar-heading[data-v-21dc2d28]{display:inline-block;max-width:150px;margin-right:10px}.wysiwyg__content .ProseMirror{color:#262626}.wysiwyg__content .ProseMirror [data-customwrapper]{position:relative;width:100%;padding:3px;border:1px dashed #aaa;margin-top:10px}.wysiwyg__content .ProseMirror [data-customwrapper]:before{content:attr(data-customwrapper-label);position:relative;background-color:#fff;top:-15px}.wysiwyg__content .ProseMirror b,.wysiwyg__content .ProseMirror h1,.wysiwyg__content .ProseMirror h2,.wysiwyg__content .ProseMirror h3,.wysiwyg__content .ProseMirror h4,.wysiwyg__content .ProseMirror h5,.wysiwyg__content .ProseMirror h6,.wysiwyg__content .ProseMirror p b,.wysiwyg__content .ProseMirror p strong,.wysiwyg__content .ProseMirror strong{font-weight:700}.wysiwyg__content .ProseMirror h1,.wysiwyg__content .ProseMirror h2,.wysiwyg__content .ProseMirror h3,.wysiwyg__content .ProseMirror h4,.wysiwyg__content .ProseMirror h5,.wysiwyg__content .ProseMirror ol,.wysiwyg__content .ProseMirror p,.wysiwyg__content .ProseMirror ul{margin-bottom:1em}.wysiwyg__content .ProseMirror ol{padding-left:1em}.wysiwyg__content .ProseMirror ol li{list-style-type:decimal}.wysiwyg__content .ProseMirror ul{padding-left:1em}.wysiwyg__content .ProseMirror ul li{list-style-type:disc}.wysiwyg__content .ProseMirror h1{font-size:2em;line-height:1.25em}.wysiwyg__content .ProseMirror h2{font-size:1.66em;line-height:1.25em}.wysiwyg__content .ProseMirror h3{font-size:1.33em;line-height:1.25em}.wysiwyg__content .ProseMirror h4{font-size:1.25em;line-height:1.25em}.wysiwyg__content .ProseMirror h5{font-size:1em;line-height:1.25em}.wysiwyg__content .ProseMirror pre{color:#333;padding:15px;overflow:auto;background-color:#f6f8fa;border-radius:3px;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}.wysiwyg__content .ProseMirror a{color:#3278b8}.wysiwyg__content .ProseMirror sup{vertical-align:super;font-size:smaller}.wysiwyg__content .ProseMirror sub{vertical-align:sub;font-size:smaller}.wysiwyg__content .ProseMirror .tableWrapper{margin:1em 0;overflow-x:auto}.wysiwyg__content .ProseMirror table{border-collapse:collapse;table-layout:fixed;width:100%;margin:0;overflow:hidden}.wysiwyg__content .ProseMirror table .selectedCell:after{content:"";position:absolute;left:0;right:0;top:0;bottom:0;background:rgba(234,244,250,.8);pointer-events:none;z-index:2}.wysiwyg__content .ProseMirror table td,.wysiwyg__content .ProseMirror table th{min-width:1em;border:2px solid #e5e5e5;padding:3px 5px;vertical-align:top;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;width:80px}.wysiwyg__content .ProseMirror blockquote{border-left:3px solid #e5e5e5;color:rgba(0,0,0,.8);padding-left:.8rem}.wysiwyg__content .ProseMirror p.is-empty:first-child:before{content:attr(data-empty-text);float:left;color:#8c8c8c;pointer-events:none;height:0;font-style:italic}.container[data-v-2e1cd2e2]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-2e1cd2e2]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-2e1cd2e2]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-2e1cd2e2]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-2e1cd2e2]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-2e1cd2e2]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-2e1cd2e2]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-2e1cd2e2]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-2e1cd2e2]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-2e1cd2e2]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-2e1cd2e2]{width:auto}}.search[data-v-2e1cd2e2]{display:block;position:relative;padding-top:40px}.search--dashboard[data-v-2e1cd2e2]{padding-top:0;padding-bottom:25px;background:#000}.search__overlay[data-v-2e1cd2e2]{position:fixed;top:60px;left:0;right:0;width:100%;bottom:0;background:rgba(0,0,0,.9);z-index:299}.search__input[data-v-2e1cd2e2]{position:relative;z-index:300}.search__input .form__input[data-v-2e1cd2e2]{display:block;padding-left:45px;border:0;box-shadow:none;font-size:17px;line-height:46px}.search--dashboard .icon--search[data-v-2e1cd2e2]{color:gray}.search--dashboard .search__input .form__input[data-v-2e1cd2e2]{background-color:#333;color:#999}.search--dashboard .search__input .form__input[data-v-2e1cd2e2]::-webkit-input-placeholder{color:#999}.search--dashboard .search__input .form__input[data-v-2e1cd2e2]:-moz-placeholder,.search--dashboard .search__input .form__input[data-v-2e1cd2e2]::-moz-placeholder{color:#999}.search--dashboard .search__input .form__input[data-v-2e1cd2e2]:-ms-input-placeholder{color:#999}.search--dashboard .search__input .form__input[data-v-2e1cd2e2]:focus{background-color:#fbfbfb;color:#666}.search--dashboard .search__input .form__input:focus+.icon--search[data-v-2e1cd2e2]{color:#a6a6a6}.icon--search[data-v-2e1cd2e2]{position:absolute;top:13px;left:15px;width:24px;height:24px;color:#a6a6a6;pointer-events:none;transition:color .12s ease-in-out}.icon--search svg[data-v-2e1cd2e2]{width:24px;height:24px}.form__input:focus+.icon--search[data-v-2e1cd2e2]{color:#262626}.search__results[data-v-2e1cd2e2]{position:relative;margin-top:10px;max-height:273px;background:#fff;border-radius:2px;box-shadow:0 0 2px rgba(0,0,0,.3);overflow:auto;z-index:300}.search--dashboard .search__results[data-v-2e1cd2e2]{position:absolute}@media screen and (max-width:599px){.search--dashboard .search__results[data-v-2e1cd2e2]{width:calc(100% - 40px)}}@media screen and (min-width:600px)and (max-width:849px){.search--dashboard .search__results[data-v-2e1cd2e2]{width:calc(100% - 60px)}}@media screen and (min-width:850px)and (max-width:1039px){.search--dashboard .search__results[data-v-2e1cd2e2]{width:calc(100% - 80px)}}@media screen and (min-width:1040px)and (max-width:1539px){.search--dashboard .search__results[data-v-2e1cd2e2]{width:calc(100% - 100px)}}@media screen and (min-width:1540px){.search--dashboard .search__results[data-v-2e1cd2e2]{width:calc(100% - 100px)}}.search__no-result[data-v-2e1cd2e2]{padding:0 30px;height:70px;background:#e5e5e5;border-radius:2px;line-height:70px}.search__result[data-v-2e1cd2e2]{display:flex;min-height:91px;padding:20px;border-bottom:1px solid #f2f2f2;cursor:pointer;flex-direction:row;justify-content:flex-start;outline:none;text-decoration:none}li:last-child .search__result[data-v-2e1cd2e2]{border-bottom:0}.search__result[data-v-2e1cd2e2]:focus,.search__result[data-v-2e1cd2e2]:hover{background:#fafafa}.search__cell[data-v-2e1cd2e2]{vertical-align:top;padding-top:4px}.search__cell--thumb[data-v-2e1cd2e2]{width:50px;padding-top:0}.search__cell--pubstate[data-v-2e1cd2e2]{width:38px;padding:10px 15px}.search__title[data-v-2e1cd2e2]{display:inline-block;margin-bottom:5px;color:#3278b8}.search__type[data-v-2e1cd2e2]:before{content:"•";display:inline;padding:0 8px 0 5px;font-size:11px;position:relative;top:-2px}.search__thumb img[data-v-2e1cd2e2]{display:block;width:50px;min-height:50px;background:#f2f2f2}.search__pubstate[data-v-2e1cd2e2]{border-radius:50%;height:9px;width:9px;display:block;background:#d9d9d9}.search__pubstate--live[data-v-2e1cd2e2]{background:#1d9f3c}.container[data-v-66e2564c]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-66e2564c]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-66e2564c]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-66e2564c]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-66e2564c]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-66e2564c]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-66e2564c]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-66e2564c]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-66e2564c]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-66e2564c]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-66e2564c]{width:auto}}.block__content[data-v-66e2564c]{display:none;padding:15px;background:#fff}.block--open>.block__content[data-v-66e2564c]{display:block}.block--open>.block__header[data-v-66e2564c]{border-bottom:1px solid #f2f2f2}.block__header[data-v-66e2564c]{height:50px;line-height:50px;background:#f4f9fd;padding:0 15px;position:relative;display:flex;background-clip:padding-box}.block__handle[data-v-66e2564c]{position:absolute;height:10px;width:40px;left:50%;top:50%;margin-left:-20px;margin-top:-5px;cursor:move;background:repeating-linear-gradient(180deg,#bfbfbf,#bfbfbf 2px,transparent 0,transparent 4px)}.block__handle[data-v-66e2564c]:before{position:absolute;display:block;content:"";background:repeating-linear-gradient(90deg,#f4f9fd,#f4f9fd 2px,transparent 0,transparent 4px);width:100%;height:100%}.block__counter[data-v-66e2564c]{border:1px solid #e5e5e5;border-radius:50%;height:26px;width:26px;text-align:center;display:inline-block;line-height:25px;margin-right:10px;background:#fff;color:#8c8c8c;font-feature-settings:"kern";user-select:none;cursor:default;margin-top:12px}.dropdown .block__counter[data-v-66e2564c]{cursor:pointer}.dropdown .block__counter[data-v-66e2564c]:hover,.dropdown--active .block__counter[data-v-66e2564c]{color:#262626;border-color:#262626}.block__title[data-v-66e2564c]{text-overflow:ellipsis;font-weight:600;overflow:hidden;display:inline-block;white-space:nowrap;height:50px;line-height:50px;user-select:none}.block__toggle[data-v-66e2564c]{flex-grow:1;display:flex;max-width:50%;padding-right:30px}.block__toggle .dropdown[data-v-66e2564c]{display:inline-block;vertical-align:top}.block__toggle .block__counter[data-v-66e2564c]{vertical-align:top}.block__actions[data-v-66e2564c]{text-align:right;font-size:0;padding-top:12px;padding-bottom:12px;margin-left:auto}.block__actions>[data-v-66e2564c]{margin-left:10px;font-size:15px}.block__actions .dropdown>button[data-v-66e2564c],.block__actions .dropdown[data-v-66e2564c],.block__actions>button[data-v-66e2564c]{display:inline-block;vertical-align:top;height:26px}.block__actions button[data-action][data-v-66e2564c]{visibility:hidden}.block__actions .dropdown--active button[data-action][data-v-66e2564c]{visibility:visible;display:inline-block}.block__header[data-v-66e2564c]:hover{background:#eaf4fa}.block__header:hover .block__handle[data-v-66e2564c]:before{background:repeating-linear-gradient(90deg,#eaf4fa,#eaf4fa 2px,transparent 0,transparent 4px)}.block__header:hover button[data-action][data-v-66e2564c]{visibility:visible;display:inline-block}.block--focus .block__header button[data-action][data-v-66e2564c],.block__header:hover button[data-action][data-v-66e2564c]{display:inline-block}.block__content>.browserField[data-v-66e2564c],.block__content>.media[data-v-66e2564c],.block__content>.slideshow[data-v-66e2564c]{margin:-15px;border:0 none}.block__content[data-v-66e2564c] .input{margin-top:15px}.block__content[data-v-66e2564c] .block__body>.browserField,.block__content[data-v-66e2564c] .block__body>.media,.block__content[data-v-66e2564c] .block__body>.slideshow{margin-left:-15px;margin-right:-15px;border:0 none}.block__content[data-v-66e2564c] .block__body>.browserField:last-child,.block__content[data-v-66e2564c] .block__body>.media:last-child,.block__content[data-v-66e2564c] .block__body>.slideshow:last-child{margin-bottom:-15px}.block--small .block__header[data-v-66e2564c]{background:#fbfbfb}.block--small .block__header .block__handle[data-v-66e2564c]{background:repeating-linear-gradient(180deg,#bfbfbf,#bfbfbf 2px,transparent 0,transparent 4px)}.block--small .block__header .block__handle[data-v-66e2564c]:before{background:repeating-linear-gradient(90deg,#fbfbfb,#fbfbfb 2px,transparent 0,transparent 4px)}.block--small .block__header[data-v-66e2564c]:hover{background:#f2f2f2}.block--small .block__header:hover .block__handle[data-v-66e2564c]:before{background:repeating-linear-gradient(90deg,#f2f2f2,#f2f2f2 2px,transparent 0,transparent 4px)}.block--small .block__counter[data-v-66e2564c]{display:none}.block .block__content .block__body>.browserField,.block .block__content .block__body>.media,.block .block__content .block__body>.slideshow{margin-left:-15px;margin-right:-15px;border:0 none}.block .block__content .block__body>.browserField:last-child,.block .block__content .block__body>.media:last-child,.block .block__content .block__body>.slideshow:last-child{margin-bottom:-15px}.container[data-v-39bc7724]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-39bc7724]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-39bc7724]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-39bc7724]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-39bc7724]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-39bc7724]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-39bc7724]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-39bc7724]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-39bc7724]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-39bc7724]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-39bc7724]{width:auto}}.checkbox[data-v-39bc7724],a[data-v-39bc7724]{display:block;width:15px}.container[data-v-01c55ed4]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-01c55ed4]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-01c55ed4]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-01c55ed4]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-01c55ed4]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-01c55ed4]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-01c55ed4]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-01c55ed4]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-01c55ed4]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-01c55ed4]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-01c55ed4]{width:auto}}.tablecell__datePub[data-v-01c55ed4]{color:#8c8c8c}.tablecell__datePub span[data-v-01c55ed4]{color:#1d9f3c}.tablecell__datePub.s--expired span[data-v-01c55ed4]{color:#e61414}.container[data-v-5e2e3a3a]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-5e2e3a3a]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-5e2e3a3a]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-5e2e3a3a]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-5e2e3a3a]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-5e2e3a3a]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-5e2e3a3a]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-5e2e3a3a]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-5e2e3a3a]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-5e2e3a3a]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-5e2e3a3a]{width:auto}}.tablecell__handle[data-v-5e2e3a3a]{display:none;position:absolute;height:40px;width:10px;left:50%;top:50%;margin-left:-5px;margin-top:-20px;cursor:move;background:repeating-linear-gradient(180deg,#bfbfbf,#bfbfbf 2px,transparent 0,transparent 4px)}.tablecell__handle[data-v-5e2e3a3a]:before{position:absolute;display:block;content:"";background:repeating-linear-gradient(90deg,#fbfbfb,#fbfbfb 2px,transparent 0,transparent 4px);width:100%;height:100%}tr:hover>.tablecell--draggable .tablecell__handle[data-v-5e2e3a3a]{display:block}.container[data-v-4b9e917c]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-4b9e917c]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-4b9e917c]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-4b9e917c]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-4b9e917c]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-4b9e917c]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-4b9e917c]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-4b9e917c]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-4b9e917c]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-4b9e917c]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-4b9e917c]{width:auto}}.tablecell__feature[data-v-4b9e917c]{display:block;cursor:pointer;position:relative;top:2px}.tablecell__feature .icon[data-v-4b9e917c]{color:#a6a6a6;display:block;top:-2px;position:relative}.tablecell__feature .icon--star-feature_active[data-v-4b9e917c]{color:#e61414}.tablecell__feature .icon--star-feature[data-v-4b9e917c]{display:block}.tablecell__feature .icon--star-feature_active[data-v-4b9e917c]{display:none}.tablecell__feature--active .icon svg[data-v-4b9e917c]{fill:#e61414}.tablecell__feature--active .icon--star-feature[data-v-4b9e917c]{display:none}.tablecell__feature--active .icon--star-feature_active[data-v-4b9e917c]{display:block}.tablecell__raw a{text-decoration:none;cursor:pointer;color:#3278b8}.container[data-v-9ab54676]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-9ab54676]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-9ab54676]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-9ab54676]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-9ab54676]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-9ab54676]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-9ab54676]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-9ab54676]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-9ab54676]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-9ab54676]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-9ab54676]{width:auto}}.tag[data-v-9ab54676]{margin:0 10px 0 0}.more__languages[data-v-9ab54676]{color:#8c8c8c;text-decoration:none}.container[data-v-20294257]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-20294257]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-20294257]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-20294257]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-20294257]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-20294257]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-20294257]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-20294257]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-20294257]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-20294257]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-20294257]{width:auto}}.tablecell__nested-depth[data-v-20294257]{position:relative;display:block;height:100%}.tablecell__nested-depth[data-v-20294257]:before{content:"";position:absolute;top:5px;left:10px;width:1px;height:7px;background-color:#d9d9d9}.tablecell__nested-depth[data-v-20294257]:after{content:"";position:absolute;top:12px;left:10px;right:0;height:1px;background-color:#d9d9d9}.container[data-v-120b42fa]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-120b42fa]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-120b42fa]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-120b42fa]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-120b42fa]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-120b42fa]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-120b42fa]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-120b42fa]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-120b42fa]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-120b42fa]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-120b42fa]{width:auto}}.tablecell__pubstate[data-v-120b42fa]{cursor:pointer;border-radius:50%;height:10px;width:10px;display:block;background:#d9d9d9;position:relative;top:5px;transition:background-color .3s ease,border-color .3s ease}.tablecell__pubstate--live[data-v-120b42fa]{background:#1d9f3c}.container[data-v-3311a7fc]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-3311a7fc]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-3311a7fc]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-3311a7fc]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-3311a7fc]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-3311a7fc]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-3311a7fc]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-3311a7fc]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-3311a7fc]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-3311a7fc]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-3311a7fc]{width:auto}}.tablecell--thumb[data-v-3311a7fc]{width:1px}@media screen and (max-width:599px){.tablecell--thumb[data-v-3311a7fc]{padding-left:0;padding-right:0}}.tablecell__thumb[data-v-3311a7fc]{float:left;display:block;background:#f2f2f2}@media screen and (max-width:599px){.tablecell__thumb[data-v-3311a7fc]{display:none}}.tablecell__thumb a[data-v-3311a7fc]{display:block;position:relative;width:100%;height:100%}.tablecell__thumb img[data-v-3311a7fc]{display:block;width:80px;min-height:80px;height:auto}.tablecell__thumb--rounded[data-v-3311a7fc]{position:relative;width:36px;height:36px;margin:-8px 0;border-radius:50%}.container[data-v-560554c3]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-560554c3]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-560554c3]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-560554c3]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-560554c3]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-560554c3]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-560554c3]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-560554c3]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-560554c3]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-560554c3]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-560554c3]{width:auto}}.blocks[data-v-560554c3]{margin-top:20px}.blocks__container[data-v-560554c3]{margin-bottom:20px}.blocks__container+.dropdown[data-v-560554c3]{display:inline-block}.blocks__actions[data-v-560554c3]{display:flex}.blocks__secondaryActions[data-v-560554c3]{flex-grow:1;text-align:right;margin-left:20px;padding-top:8px}.blocks__item[data-v-560554c3]{border:1px solid #e5e5e5;border-top:0 none}.blocks__item.sortable-ghost[data-v-560554c3]{opacity:.5}.blocks__item[data-v-560554c3]:first-child{border-top:1px solid #e5e5e5}.blocks__addButton[data-v-560554c3]{display:flex!important;align-items:center}.blocks__addButton .blocks__icon[data-v-560554c3]{display:inline-flex;align-items:center;justify-content:center;margin-right:0;margin-left:-15px;min-width:55px;width:55px;height:40px}.blocks__addButton .blocks__title[data-v-560554c3]{flex-grow:1}.container[data-v-5e017f1a]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-5e017f1a]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-5e017f1a]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-5e017f1a]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-5e017f1a]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-5e017f1a]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-5e017f1a]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-5e017f1a]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-5e017f1a]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-5e017f1a]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-5e017f1a]{width:auto}}.fieldset[data-v-5e017f1a]{border-radius:2px;border:1px solid #e5e5e5;margin-bottom:20px;background:#fff}.fieldset__header[data-v-5e017f1a]{position:relative;height:50px;margin:-1px;white-space:nowrap;background:#e5e5e5;border-radius:2px}.fieldset__header h2[data-v-5e017f1a],.fieldset__header h3[data-v-5e017f1a],.fieldset__header h4[data-v-5e017f1a]{height:50px;line-height:50px;padding:1px 21px 0 21px;margin:0;font-weight:600;border-radius:2px;user-select:none}.fieldset__header .icon[data-v-5e017f1a]{float:right;display:block;position:absolute;right:20px;top:50%;margin-top:-3px;color:#a6a6a6;transition:transform .25s linear}.fieldset--hoverable h2[data-v-5e017f1a],.fieldset--hoverable h3[data-v-5e017f1a],.fieldset--hoverable h4[data-v-5e017f1a]{cursor:pointer}.fieldset--hoverable h2[data-v-5e017f1a]:focus,.fieldset--hoverable h2[data-v-5e017f1a]:hover,.fieldset--hoverable h3[data-v-5e017f1a]:focus,.fieldset--hoverable h3[data-v-5e017f1a]:hover,.fieldset--hoverable h4[data-v-5e017f1a]:focus,.fieldset--hoverable h4[data-v-5e017f1a]:hover{background:#d9d9d9}.fieldset__content>h2[data-v-5e017f1a],.fieldset__content>h3[data-v-5e017f1a],.fieldset__content>h4[data-v-5e017f1a]{font-size:1em;font-weight:600;margin-top:35px}.fieldset__content>p[data-v-5e017f1a]{margin-top:35px}.fieldset__content>hr[data-v-5e017f1a]{height:5px;margin:50px -20px 20px -20px;padding:0;background:#f2f2f2;border:0 none}.fieldset__content>hr+.blocks+hr[data-v-5e017f1a],.fieldset__content>hr+.repeater[data-v-5e017f1a]{margin-top:20px}.fieldset__content[data-v-5e017f1a]{padding:0 20px 20px 20px;display:none}.s--open .fieldset__header[data-v-5e017f1a]{margin-bottom:0;border-radius:2px 2px 0 0}.s--open .fieldset__header h2[data-v-5e017f1a],.s--open .fieldset__header h3[data-v-5e017f1a],.s--open .fieldset__header h4[data-v-5e017f1a]{border-radius:2px 2px 0 0}.s--open .fieldset__header .icon[data-v-5e017f1a]{transform:rotate(180deg)}.s--open .fieldset__content[data-v-5e017f1a]{display:block}.container[data-v-7a3996c9]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-7a3996c9]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-7a3996c9]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-7a3996c9]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-7a3996c9]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-7a3996c9]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-7a3996c9]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-7a3996c9]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-7a3996c9]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-7a3996c9]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-7a3996c9]{width:auto}}.paginate[data-v-7a3996c9]{color:#8c8c8c;padding:27px 20px 25px 20px;display:flex;flex-flow:row wrap}.paginate__current[data-v-7a3996c9]{display:inline-block;height:28px;line-height:28px}.paginate__offset[data-v-7a3996c9]{display:block;flex-grow:1;height:28px;line-height:28px}.paginate__offset .dropdown[data-v-7a3996c9]{display:inline-block}.paginate__button[data-v-7a3996c9]{background-color:transparent;-webkit-appearance:none;cursor:pointer;font-size:1em;outline:none;margin:0;border:0 none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:inherit;color:#8c8c8c}.paginate__button[data-v-7a3996c9]:after{content:"";display:inline-block;width:0;height:0;margin-top:-1px;border-width:4px 4px 0;border-style:solid;border-color:#a6a6a6 transparent transparent;position:relative;top:-3px;margin-left:5px}.paginate__button[data-v-7a3996c9]:focus,.paginate__button[data-v-7a3996c9]:hover{color:#262626}.paginate__button[data-v-7a3996c9]:focus:after,.paginate__button[data-v-7a3996c9]:hover:after{border-color:#262626 transparent transparent}.paginate__input[data-v-7a3996c9]{display:inline-block;padding:0 10px;height:28px;line-height:28px;width:auto;max-width:48px;font-size:13px;margin-right:6px}.paginate__next[data-v-7a3996c9],.paginate__prev[data-v-7a3996c9]{background-color:transparent;-webkit-appearance:none;cursor:pointer;font-size:1em;outline:none;margin:0;border:0 none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:inherit;background:transparent;color:#a6a6a6;height:28px;line-height:28px;display:inline-block;vertical-align:middle;margin-left:15px}.paginate__next .icon[data-v-7a3996c9],.paginate__prev .icon[data-v-7a3996c9]{display:block}.paginate__next[data-v-7a3996c9]:focus,.paginate__next[data-v-7a3996c9]:hover,.paginate__prev[data-v-7a3996c9]:focus,.paginate__prev[data-v-7a3996c9]:hover{color:#262626}.paginate__next[data-v-7a3996c9]:disabled,.paginate__prev[data-v-7a3996c9]:disabled{opacity:.5;pointer-events:none}.paginate__next[data-v-7a3996c9]:disabled:focus,.paginate__next[data-v-7a3996c9]:disabled:hover,.paginate__prev[data-v-7a3996c9]:disabled:focus,.paginate__prev[data-v-7a3996c9]:disabled:hover{color:#a6a6a6}.container[data-v-06768eb6]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-06768eb6]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-06768eb6]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-06768eb6]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-06768eb6]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-06768eb6]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-06768eb6]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-06768eb6]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-06768eb6]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-06768eb6]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-06768eb6]{width:auto}}.languageManager[data-v-06768eb6]{margin:0 -20px;background-color:#f2f2f2;position:relative;display:flex;justify-content:space-between;flex-wrap:nowrap;padding:20px}.languageManager__switcher[data-v-06768eb6]{height:35px;overflow:hidden}.languageManager__button[data-v-06768eb6]{background-color:transparent;-webkit-appearance:none;cursor:pointer;font-size:1em;outline:none;margin:0;border:0 none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:inherit;color:#a6a6a6;padding:0;margin-left:15px;height:35px;line-height:35px}.languageManager__button[data-v-06768eb6]:focus,.languageManager__button[data-v-06768eb6]:hover{color:#262626}.languageManager__button .icon[data-v-06768eb6]{position:relative;margin-left:5px;top:-1px}.languageManager__dropdown-content[data-v-06768eb6]{max-height:240px;overflow-y:scroll}.container[data-v-376dc8cc]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-376dc8cc]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-376dc8cc]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-376dc8cc]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-376dc8cc]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-376dc8cc]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-376dc8cc]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-376dc8cc]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-376dc8cc]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-376dc8cc]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-376dc8cc]{width:auto}}.modalValidation[data-v-376dc8cc]{display:flex;justify-content:space-between;align-items:center;margin-top:35px}.switcher__button[data-v-376dc8cc]{display:flex;align-items:center;justify-content:space-between;position:relative;min-width:125px;height:40px;line-height:40px;padding:0 15px 0 20px;border-radius:20px;color:#262626;background:#e5e5e5;cursor:pointer;transition:background-color .25s linear,color .25s linear}.switcher__button input[data-v-376dc8cc]{position:absolute;opacity:0}.switcher__label[data-v-376dc8cc]{margin-right:15px}.switcher__switcher[data-v-376dc8cc]{display:inline-block;height:12px;border-radius:6px;width:40px;background:#666;box-shadow:inset 0 0 1px #000;position:relative}.switcher__switcher[data-v-376dc8cc]:after,.switcher__switcher[data-v-376dc8cc]:before{content:"";position:absolute;display:block;height:18px;width:18px;border-radius:50%;left:0;top:-3px;transform:translateX(0);transition:all .25s cubic-bezier(.5,-.6,.5,1.6)}.switcher__switcher[data-v-376dc8cc]:after{background:#fff;box-shadow:0 0 1px #666}.switcher__switcher[data-v-376dc8cc]:before{background:#fff;box-shadow:0 0 0 3px rgba(0,0,0,.1);opacity:0}.switcher--active[data-v-376dc8cc]{background:#d3ecd9;color:#1d9f3c}.switcher--active .switcher__switcher[data-v-376dc8cc]{background:#1d9f3c;box-shadow:inset 0 0 1px rgba(0,0,0,.4)}.switcher--active .switcher__switcher[data-v-376dc8cc]:after,.switcher--active .switcher__switcher[data-v-376dc8cc]:before{transform:translateX(22px)}.switcher__button input:focus+.switcher__switcher[data-v-376dc8cc]:before,.switcher__button:focus .switcher__switcher[data-v-376dc8cc]:before,.switcher__button:hover .switcher__switcher[data-v-376dc8cc]:before{opacity:1}.modalValidation .input{margin-top:0}.container[data-v-0de50c6f]{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container[data-v-0de50c6f]{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container[data-v-0de50c6f]{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container[data-v-0de50c6f]{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container[data-v-0de50c6f]{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container[data-v-0de50c6f]{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full[data-v-0de50c6f]{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full[data-v-0de50c6f]{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full[data-v-0de50c6f]{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full[data-v-0de50c6f]{width:auto}}@media screen and (min-width:1540px){.container--full[data-v-0de50c6f]{width:auto}}.browser[data-v-0de50c6f]{display:block;width:100%;padding:0;position:relative;flex-grow:1}.browser__frame[data-v-0de50c6f]{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-flow:column nowrap}.browser__inner[data-v-0de50c6f]{position:relative;width:100%;overflow:hidden;flex-grow:1}.browser__inner[data-v-0de50c6f]:after{content:"";position:absolute;height:1px;bottom:0;background-color:#f2f2f2;left:20px;right:20px}.browser__header[data-v-0de50c6f]{background:#f2f2f2;padding:0 20px;display:flex}.browser__sources[data-v-0de50c6f]{flex-grow:2}.browser__sources .browser__sources-select[data-v-0de50c6f]{padding:20px 0;margin-right:15px}.browser__footer[data-v-0de50c6f]{display:flex;align-items:center;justify-content:space-between;padding:20px;width:100%;color:#8c8c8c;overflow:hidden;background:#fff}.browser__size-infos[data-v-0de50c6f]{font-size:11px;letter-spacing:0;text-align:right;float:right}.browser__list[data-v-0de50c6f]{padding:10px 10px 0 10px;margin:0;position:absolute;top:0;left:0;right:0;bottom:0;overflow:auto}.browser__list .itemlist[data-v-0de50c6f]{padding-bottom:0}.browser__note[data-v-0de50c6f]{color:#8c8c8c;padding-left:20px}@font-face{font-family:Inter;font-style:normal;font-weight:400;src:url(/assets/twill/fonts/Inter-Regular.a2b4ebbf.woff2) format("woff2"),url(/assets/twill/fonts/Inter-Regular.4f8a0d7b.woff) format("woff");font-display:swap}@font-face{font-family:Inter;font-style:italic;font-weight:400;src:url(/assets/twill/fonts/Inter-Italic.3e44c6fa.woff2) format("woff2"),url(/assets/twill/fonts/Inter-Italic.ec075471.woff) format("woff");font-display:swap}@font-face{font-family:Inter;font-style:normal;font-weight:600;src:url(/assets/twill/fonts/Inter-Medium.fadc0302.woff2) format("woff2"),url(/assets/twill/fonts/Inter-Medium.cb882891.woff) format("woff");font-display:swap}@font-face{font-family:Inter;font-style:italic;font-weight:600;src:url(/assets/twill/fonts/Inter-MediumItalic.7cd62035.woff2) format("woff2"),url(/assets/twill/fonts/Inter-MediumItalic.5dcf5a66.woff) format("woff");font-display:swap}@font-face{font-family:Inter;font-style:normal;font-weight:700;src:url(/assets/twill/fonts/Inter-Bold.17fc55dd.woff2) format("woff2"),url(/assets/twill/fonts/Inter-Bold.c770cfb9.woff) format("woff");font-display:swap}@font-face{font-family:Inter;font-style:italic;font-weight:700;src:url(/assets/twill/fonts/Inter-BoldItalic.3616ad4f.woff2) format("woff2"),url(/assets/twill/fonts/Inter-BoldItalic.4830a219.woff) format("woff");font-display:swap}.container{margin-right:auto;margin-left:auto}@media screen and (max-width:599px){.container{width:auto;padding-right:20px;padding-left:20px}}@media screen and (min-width:600px)and (max-width:849px){.container{width:auto;padding-right:30px;padding-left:30px}}@media screen and (min-width:850px)and (max-width:1039px){.container{width:auto;padding-right:40px;padding-left:40px}}@media screen and (min-width:1040px)and (max-width:1539px){.container{width:auto;padding-right:50px;padding-left:50px}}@media screen and (min-width:1540px){.container{width:1540px;padding-right:50px;padding-left:50px}}@media screen and (max-width:599px){.container--full{width:auto}}@media screen and (min-width:600px)and (max-width:849px){.container--full{width:auto}}@media screen and (min-width:850px)and (max-width:1039px){.container--full{width:auto}}@media screen and (min-width:1040px)and (max-width:1539px){.container--full{width:auto}}@media screen and (min-width:1540px){.container--full{width:auto}}.browser .browser__sources .browser__sources-select .input{margin-top:0}.browser .browser__sources .browser__sources-select .vselect__field .dropdown-toggle{height:35px} \ No newline at end of file diff --git a/twill-assets/assets/twill/js/chunk-common.65f18a5f.js b/twill-assets/assets/twill/js/chunk-common.65f18a5f.js new file mode 100644 index 000000000..5a32a5f0d --- /dev/null +++ b/twill-assets/assets/twill/js/chunk-common.65f18a5f.js @@ -0,0 +1 @@ +(self["webpackChunk_area17_twill"]=self["webpackChunk_area17_twill"]||[]).push([[64],{9827:function(e){function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=function(){return[]},t.resolve=t,t.id=9827,e.exports=t},9927:function(e,t,i){var s={"./BlockEditorItem.vue":3723,"./BlockEditorModel.js":6214,"./BlockImage.vue":2382,"./BlockTable.vue":4378,"./BlockTitle.vue":2823,"./BlockWysiwyg.vue":1013,"./Blocks.vue":1406,"./BlocksList.js":139};function a(e){var t=n(e);return i(t)}function n(e){if(!i.o(s,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return s[e]}a.keys=function(){return Object.keys(s)},a.resolve=n,e.exports=a,a.id=9927},9764:function(e){function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=function(){return[]},t.resolve=t,t.id=9764,e.exports=t},3848:function(e){function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=function(){return[]},t.resolve=t,t.id=3848,e.exports=t},8932:function(e,t,i){"use strict";i.d(t,{Z:function(){return d}});var s=function(){var e=this,t=e._self._c;return t("div",{class:e.avatarClasses},[e.thumbnail?t("img",{attrs:{src:e.thumbnail,alt:e.name}}):e._e(),t("span",{staticClass:"avatar__letter"},[e._v(e._s(e.nameFirstLetter))])])},a=[],n={name:"A17Avatar",props:{name:{type:String,default:null},thumbnail:{type:String,default:null}},computed:{avatarClasses(){return["avatar",this.getBackgroundColor]},getBackgroundColor(){const e=["orange","blue","purple","red"],t=this.name.length%e.length;return"avatar--background-".concat(e[t])},nameFirstLetter(){return this.name.charAt(0)}}},o=n,r=i(1001),l=(0,r.Z)(o,s,a,!1,null,"44a53510",null),d=l.exports},3522:function(e,t,i){"use strict";i.d(t,{Z:function(){return m}});var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"browser"},[t("div",{staticClass:"browser__frame"},[t("div",{ref:"form",staticClass:"browser__header"},[e.multiSources?t("div",{staticClass:"browser__sources"},[t("a17-vselect",{staticClass:"browser__sources-select",attrs:{name:"sources",selected:e.currentEndpoint,options:e.endpoints,required:!0},on:{change:e.changeBrowserSource}})],1):e._e(),t("div",{staticClass:"browser__search"},[t("a17-filter",{on:{submit:e.submitFilter}},[e.browserNote?t("div",{attrs:{slot:"additional-actions"},slot:"additional-actions"},[t("span",{staticClass:"browser__note f--small"},[e._v(" "+e._s(e.browserNote)+" ")])]):e._e()])],1)]),t("div",{staticClass:"browser__inner"},[t("div",{ref:"list",staticClass:"browser__list"},[t("a17-itemlist",{attrs:{items:e.fullItems,keysToCheck:["id","edit"],selectedItems:e.selectedItems},on:{change:e.updateSelectedItems}})],1)]),t("div",{staticClass:"browser__footer"},[t("a17-button",{attrs:{type:"button",variant:"action"},on:{click:e.saveAndClose}},[e._v(e._s(e.browserTitle))]),t("span",{staticClass:"browser__size-infos"},[e._v(e._s(e.selectedItems.length)+" / "+e._s(e.max))])],1)])])},a=[],n=i(629),o=i(4622),r=i(5573),l=i(6550),d=i(8839),c={name:"A17Browser",components:{"a17-filter":l.Z,"a17-itemlist":d.Z},props:{btnLabel:{type:String,default:"Insert"},btnMultiLabel:{type:String,default:"Insert files"},initialPage:{type:Number,default:1}},data(){return{maxPage:20,fullItems:[],listHeight:0,page:this.initialPage}},computed:{currentEndpoint(){return this.endpoints.find((e=>e.value===this.endpoint))},multiSources(){return this.endpoints.length>0},selectedItems:{get(){return this.selected[this.connector]||[]},set(e){this.$store.commit(o.Uv.SAVE_ITEMS,e)}},...(0,n.rn)({connector:e=>e.browser.connector,max:e=>e.browser.max,endpoint:e=>e.browser.endpoint,endpointName:e=>e.browser.endpointName,endpoints:e=>e.browser.endpoints,browserTitle:e=>e.browser.title,browserNote:e=>e.browser.note,selected:e=>e.browser.selected})},methods:{updateSelectedItems(e){const t=this.multiSources?["id","endpointType"]:["id"],i=this.fullItems.some((i=>t.every((t=>i[t]===e[t]))));if(!i)return;const s=this.selectedItems.some((i=>t.every((t=>i[t]===e[t]))));if(s){const i=this.selectedItems.findIndex((i=>t.every((t=>i[t]===e[t]))));if(i<0)return;const s=[...this.selectedItems];s.splice(i,1),this.selectedItems=s}else{if(1===this.max&&this.clearSelectedItems(),this.selectedItems.length>=this.max&&this.max>0)return;this.selectedItems=[...this.selectedItems,e]}},getFormData(e){let t=(0,r.Z)(e);return t?t.page=this.page:t={page:this.page},t},clearSelectedItems(){this.selectedItems=[]},clearFullItems(){this.fullItems.splice(0)},reloadList(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&(this.page=1);const t=this.$refs.form,i=this.$refs.list,s=this.getFormData(t);this.$http.get(this.endpoint,{params:s}).then((t=>{e&&this.clearFullItems(),this.fullItems.push(...t.data.data),this.$nextTick((()=>{this.listHeight!==i.scrollHeight&&(this.listHeight=i.scrollHeight,i.addEventListener("scroll",this.scrollToPaginate))}))}),(function(e){}))},submitFilter(){this.page=1,this.clearFullItems(),this.reloadList()},scrollToPaginate(){const e=this.$refs.list;e.scrollTop+e.clientHeight>this.listHeight-10&&(e.removeEventListener("scroll",this.scrollToPaginate),this.maxPage>this.page&&(this.page=this.page+1,this.reloadList()))},saveAndClose(){this.$store.commit(o.Uv.SAVE_ITEMS,this.selectedItems),this.$parent.close()},changeBrowserSource(e){this.$store.commit(o.Uv.UPDATE_BROWSER_ENDPOINT,e),this.reloadList(!0)}},mounted(){this.reloadList()}},u=c,h=i(1001),p=(0,h.Z)(u,s,a,!1,null,"0de50c6f",null),m=p.exports},7277:function(e,t,i){"use strict";i.d(t,{Z:function(){return d}});var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"dropdown",class:e.dropdownClasses,attrs:{"aria-title":e.title}},[e.fixed?t("div",{ref:"dropdown__cta"},[e._t("default")],2):e._t("default"),t("transition",{attrs:{name:"fade_move_dropdown"}},[e.active?t("div",{ref:"dropdown__position",staticClass:"dropdown__position"},[t("div",{staticClass:"dropdown__content",style:e.offsetStyle,attrs:{"data-dropdown-content":""}},[t("div",{staticClass:"dropdown__inner"},[e.arrow?t("span",{staticClass:"dropdown__arrow"}):e._e(),t("div",{staticClass:"dropdown__scroller",style:e.innerStyle},[e.title?t("span",{staticClass:"dropdown__title f--small"},[e._v(e._s(e.title))]):e._e(),e._t("dropdown__content")],2)])])]):e._e()])],2)},a=[],n={name:"A17Dropdown",props:{title:{type:String,default:""},position:{type:String,default:"bottom"},width:{type:String,default:"auto"},maxWidth:{type:Number,default:300},maxHeight:{type:Number,default:0},minWidth:{type:Number,default:0},arrow:{type:Boolean,default:!1},clickable:{type:Boolean,default:!1},offset:{type:Number,default:5},sideOffset:{type:Number,default:0},fixed:{type:Boolean,default:!1}},data:function(){return{currentPosition:this.position,currentHeight:100,currentMaxWidth:this.maxWidth,active:!1,originScrollPostion:null,scrollOffset:75}},computed:{dropdownClasses:function(){return{"dropdown--active":this.active,"dropdown--arrow":this.arrow,"dropdown--bottom":this.isPosition("bottom"),"dropdown--top":this.isPosition("top"),"dropdown--left":this.isPosition("left"),"dropdown--right":this.isPosition("right"),"dropdown--center":this.isPosition("center"),"dropdown--full":"full"===this.width,"dropdown--fixed":this.fixed}},offsetStyle:function(){return{"margin-top":this.isPosition("bottom")?this.offset+"px":"","margin-bottom":this.isPosition("top")?this.offset+"px":"",transform:this.sideOffset?"translateX("+this.sideOffset+"px)":"","max-width":this.currentMaxWidth>0&&"full"!==this.width?this.currentMaxWidth+"px":"","min-width":this.minWidth>0?this.minWidth+"px":""}},innerStyle:function(){return{"max-height":this.maxHeight>0?this.maxHeight+"px":"",overflow:this.maxHeight>0?"hidden":"","overflow-y":this.maxHeight>0?"scroll":""}}},methods:{isPosition:function(e){return-1!==this.currentPosition.indexOf(e)},reposition:function(){const e=this.$el.getBoundingClientRect().top+this.$el.offsetHeight+window.pageYOffset+this.offset,t=this.$el.getBoundingClientRect().top+window.pageYOffset-this.offset,i=window.pageYOffset+window.innerHeight;this.currentPosition!==this.position&&(this.currentPosition=this.position),this.isPosition("bottom")?e+this.currentHeight>i&&(this.currentPosition=this.currentPosition.replace(/bottom/i,"top")):this.isPosition("top")&&t-this.currentHeightwindow.innerWidth?window.innerWidth-e.left:this.maxWidth:this.isPosition("right")?this.currentMaxWidth=this.maxWidth+(window.innerWidth-e.right)>window.innerWidth?window.innerWidth-(window.innerWidth-e.right):this.maxWidth:this.currentMaxWidth=this.maxWidth>window.innerWidth?window.innerWidth:this.maxWidth},setFixedPosition:function(){const e=this.$refs.dropdown__cta.getBoundingClientRect();this.isPosition("top")?this.$refs.dropdown__position.style.bottom=Math.round(window.innerHeight-e.bottom+e.height)+"px":this.$refs.dropdown__position.style.top=Math.round(e.top+e.height)+"px",this.isPosition("left")?this.$refs.dropdown__position.style.left=Math.round(e.left)+"px":this.isPosition("right")?this.$refs.dropdown__position.style.right=Math.round(window.innerWidth-e.right)+"px":this.$refs.dropdown__position.style.left=Math.round(e.left+e.width/2)+"px"},closeFromDoc:function(e){const t=e.target;if("scroll"===e.type){if(this.$el.querySelector("[data-dropdown-content]").contains(t))return;const e=window.pageYOffset||document.documentElement.scrollTop;if(e>this.originScrollPostion-this.scrollOffset&&e{this.timer=null,this.active=!0,document.addEventListener("click",this.closeFromDoc,!1),document.addEventListener("touchend",this.closeFromDoc,!1),this.fixed&&(window.addEventListener("scroll",this.closeFromDoc,!0),this.originScrollPostion=window.pageYOffset||document.documentElement.scrollTop),this.$nextTick((function(){this.getHeight(),this.reposition(),this.setMaxWidth(),this.fixed&&this.setFixedPosition()})),this.$emit("open")}),1))},close:function(e){if(this.active){if(clearTimeout(this.timer),document.removeEventListener("click",this.closeFromDoc,!0),document.removeEventListener("touchend",this.closeFromDoc,!0),this.fixed)return window.removeEventListener("scroll",this.closeFromDoc,!0),this.originScrollPostion=null,this.active=!1,void this.$emit("close");setTimeout((()=>{this.active=!1,this.$emit("close")}),0)}},toggle:function(e){this.active?this.close():this.open()}}},o=n,r=i(1001),l=(0,r.Z)(o,s,a,!1,null,"a897d080",null),d=l.exports},6809:function(e,t,i){"use strict";i.d(t,{Z:function(){return c}});var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"fieldset",class:e.visibilityClasses},[e.title?t("header",{staticClass:"fieldset__header",class:e.activeClasses},[e.activeToggle?t("h3",{attrs:{role:"button","aria-expanded":e.visible?"true":"false"},on:{click:e.onClickVisibility}},[e._v(e._s(e.title)+" "),t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"dropdown_module"}})]):t("h3",[e._v(e._s(e.title))])]):t("header",{staticClass:"fieldset__header",class:e.activeClasses},[e._t("header")],2),t("div",{staticClass:"fieldset__content",attrs:{hidden:!e.visible||null,"aria-hidden":!e.visible||null}},[e._t("default")],2)])},a=[],n=i(9996),o={name:"A17Fieldset",mixins:[n.Z],props:{open:{type:Boolean,default:!0},title:{default:""},activeToggle:{type:Boolean,default:!0}},computed:{activeClasses:function(){return{"fieldset--hoverable":this.activeToggle}}}},r=o,l=i(1001),d=(0,l.Z)(r,s,a,!1,null,"5e017f1a",null),c=d.exports},6550:function(e,t,i){"use strict";i.d(t,{Z:function(){return h}});var s=function(){var e=this,t=e._self._c;return t("form",{ref:"form",staticClass:"filter",class:{"filter--opened":e.opened,"filter--single":!e.withNavigation,"filter--full":!e.withNavigation&&e.fullWidth,"filter--withHiddenFilters":e.withHiddenFilters},on:{submit:function(t){return t.preventDefault(),e.submitFilter.apply(null,arguments)}}},[t("div",{staticClass:"filter__inner"},[t("div",{staticClass:"filter__navigation"},[e._t("navigation")],2),t("div",{staticClass:"filter__search"},[t("input",{staticClass:"form__input form__input--small",attrs:{type:"search",name:"search",placeholder:e.placeholder},domProps:{value:e.searchValue},on:{input:e.onSearchInput}}),e.withHiddenFilters?t("a17-button",{staticClass:"filter__toggle",attrs:{variant:"ghost","aria-expanded":e.opened?"true":"false"},on:{click:e.toggleFilter}},[e._v(e._s(e.$trans("filter.toggle-label","Filter"))+" "),t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"dropdown_module"}})]):e._e(),e._t("additional-actions"),t("button",{staticClass:"visually-hidden",attrs:{"aria-hidden":"true",type:"submit"}},[e._v(e._s(e.$trans("filter.apply-btn","Apply")))])],2)]),t("transition",{attrs:{css:!1,duration:275},on:{"before-enter":e.beforeEnter,enter:e.enter,"before-leave":e.beforeLeave,leave:e.leave}},[e.withHiddenFilters?t("div",{directives:[{name:"show",rawName:"v-show",value:e.opened,expression:"opened"}],ref:"more",staticClass:"filter__more",attrs:{"aria-hidden":!e.opened||null}},[t("div",{ref:"moreInner",staticClass:"filter__moreInner"},[e._t("hidden-filters"),t("a17-button",{attrs:{variant:"ghost",type:"submit"}},[e._v(e._s(e.$trans("filter.apply-btn","Apply")))]),e.clearOption?t("a17-button",{attrs:{variant:"ghost",type:"button"},on:{click:e.clear}},[e._v(e._s(e.$trans("filter.clear-btn","Clear")))]):e._e()],2)]):e._e()])],1)},a=[],n=i(3279),o=i.n(n),r=i(5573),l={name:"A17Filter",props:{initialSearchValue:{type:String,default:""},placeholder:{type:String,default(){return this.$trans("filter.search-placeholder","Search")}},closed:{type:Boolean,default:!1},clearOption:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1}},data:function(){return{openable:!this.closed,open:!1,withHiddenFilters:!0,withNavigation:!0,searchValue:this.initialSearchValue,transitionTimeout:null}},computed:{opened:function(){return this.open&&this.openable}},watch:{closed:function(){this.openable=!this.closed},initialSearchValue:function(){this.searchValue=this.initialSearchValue}},methods:{getHeight:function(){return this.$refs.moreInner.clientHeight},beforeEnter:function(e){e.style.height="0px",e.style.overflow="hidden"},enter:function(e,t){this.resetHeight(),this.transitionTimeout&&clearTimeout(this.transitionTimeout),this.transitionTimeout=setTimeout((()=>{e.style.overflow="visible"}),275),window.addEventListener("resize",this._resize,!1)},beforeLeave:function(e){this.transitionTimeout&&clearTimeout(this.transitionTimeout),this.resetHeight(),e.style.overflow="hidden",window.removeEventListener("resize",this._resize)},leave:function(e,t){e.style.height="0px"},toggleFilter:function(){this.openable=!0,this.open=!this.open},submitFilter:function(){const e=(0,r.Z)(this.$refs.form);this.$emit("submit",e)},onSearchInput:function(e){this.searchValue=e.target.value},clear:function(){this.searchValue="",this.$emit("clear")},resetHeight:function(){this.$refs.more&&(this.$refs.more.style.height=this.getHeight()+"px")},_resize:o()((function(){this.resetHeight()}),50)},beforeMount:function(){this.$slots.navigation||(this.withNavigation=!1),this.$slots["hidden-filters"]||(this.withHiddenFilters=!1)}},d=l,c=i(1001),u=(0,c.Z)(d,s,a,!1,null,"5bb79734",null),h=u.exports},8839:function(e,t,i){"use strict";i.d(t,{Z:function(){return h}});var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"itemlist"},[t("table",{staticClass:"itemlist__table"},[t("tbody",[e._l(e.itemsLoading,(function(i,s){return t("tr",{directives:[{name:"show",rawName:"v-show",value:!i.isReplacement,expression:"!item.isReplacement"}],key:i.id,staticClass:"itemlist__row"},[t("td",{staticClass:"itemlist__cell itemlist__cell--loading",class:{"itemlist__cell--error":i.error},attrs:{colspan:e.columnsNumber}},[i.error?t("span",{staticClass:"itemlist__progressError"},[e._v("Upload Error")]):t("span",{staticClass:"itemlist__progress"},[t("span",{staticClass:"itemlist__progressBar",style:e.loadingProgress(s)})])])])})),e._l(e.allItems,(function(i,s){return t("tr",{key:"".concat(i.endpointType,"_").concat(i.id),staticClass:"itemlist__row",class:{"s--picked":e.isSelected(i,e.keysToCheck),"s--disabled":i.disabled||!!e.replacingMediaIds[i.id]},on:{click:[function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.toggleSelection(i))},function(t){return t.shiftKey?t.ctrlKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.shiftToggleSelection(i)):null}]}},[i.isReplacement?i.isReplacement?[t("td",{staticClass:"itemlist__cell itemlist__cell--loading",class:{"itemlist__cell--error":i.error},attrs:{colspan:e.columnsNumber}},[i.error?t("span",{staticClass:"itemlist__progressError"},[e._v("Upload Error")]):t("span",{staticClass:"itemlist__progress"},[t("span",{staticClass:"itemlist__progressBar",style:e.loadingProgress(s,"allItems")})])])]:e._e():[i.hasOwnProperty("id")?t("td",{staticClass:"itemlist__cell itemlist__cell--btn"},[t("a17-checkbox",{attrs:{name:"item_list",value:i.endpointType+"_"+i.id,initialValue:e.checkedItems,theme:"bold",disabled:i.disabled}})],1):e._e(),i.hasOwnProperty("thumbnail")?t("td",{class:"itemlist__cell itemlist__cell--thumb ".concat("users"===i.endpointType?"itemlist__cell--thumb-rounded":"")},["users"===i.endpointType?[t("a17-avatar",{attrs:{name:i.name,thumbnail:i.thumbnail}})]:[t("img",{attrs:{src:i.thumbnail}})]],2):e._e(),i.hasOwnProperty("name")?t("td",{staticClass:"itemlist__cell itemlist__cell--name"},[i.hasOwnProperty("renderHtml")?t("div",{domProps:{innerHTML:e._s(i.name)}}):t("div",[e._v(e._s(i.name))])]):e._e(),e._l(e.extraColumns,(function(s,a){return t("td",{key:a,staticClass:"itemlist__cell",class:e.rowClass(s)},["size"===s?[e._v(e._s(e._f("uppercase")(i[s])))]:[e._v(e._s(i[s]))]],2)}))]],2)}))],2)])])},a=[],n=i(8932),o=i(9160),r=i(1633),l={name:"A17Itemlist",props:{keysToCheck:{type:Array,default:()=>["id"]}},components:{"a17-avatar":n.Z},mixins:[o.Z],filters:r.Z,computed:{allItems:function(){return this.items.map((e=>{if(this.replacingMediaIds[e.id]){const t=this.itemsLoading.find((t=>t.replacementId===e.id));return t||e}return e}))},columnsNumber:function(){if(!this.items.length)return 0;let e=this.extraColumns.length;const t=this.items[0];return t.hasOwnProperty("id")&&e++,t.hasOwnProperty("name")&&e++,t.hasOwnProperty("thumbnail")&&e++,e},extraColumns:function(){if(!this.items.length)return[];const e=this.items[0];return Object.keys(e).filter((t=>!["id","name","thumbnail","src","original","edit","crop","deleteUrl","updateUrl","updateBulkUrl","deleteBulkUrl","endpointType","filesizeInMb"].includes(t)&&"string"===typeof e[t]))},checkedItems:function(){const e=[];return this.selectedItems.length&&this.selectedItems.forEach((function(t){e.push(t.endpointType+"_"+t.id)})),e}},methods:{rowClass:function(e){return"itemlist__cell--"+e},loadingProgress:function(e,t){const i=t?this[t]:this.itemsLoading;return{width:i[e].progress?i[e].progress+"%":"0%"}},getFirstLetter(e){return e.name.charAt(0)}}},d=l,c=i(1001),u=(0,c.Z)(d,s,a,!1,null,"04a8279a",null),h=u.exports},1779:function(e,t,i){"use strict";i.d(t,{Z:function(){return m}});var s=function(){var e=this,t=e._self._c;return e.languages.length>1?t("div",{staticClass:"languageManager"},[t("div",{staticClass:"languageManager__switcher"},[t("a17-langswitcher",{attrs:{"in-modal":!0,"all-published":!e.controlPublication}})],1),e.controlPublication?t("a17-dropdown",{ref:"languageManagerDropdown",staticClass:"languageManager__dropdown",attrs:{position:"bottom-right",clickable:!0}},[t("button",{staticClass:"languageManager__button",attrs:{type:"button"},on:{click:function(t){return e.$refs.languageManagerDropdown.toggle()}}},[e._v(" "+e._s(e.currentValue.length)+" "+e._s(e.$trans("lang-manager.published"))+" "),t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"dropdown_module"}})]),t("div",{staticClass:"languageManager__dropdown-content",attrs:{slot:"dropdown__content"},slot:"dropdown__content"},[t("a17-checkboxgroup",{attrs:{name:"langManager",options:e.languages,selected:e.currentValue,min:1},on:{change:e.changeValue}})],1)]):e._e()],1):e._e()},a=[],n=i(629),o=i(8348),r=i(9996),l=i(4622),d=i(1664),c={name:"A17LangManager",mixins:[r.Z,o.Z],components:{"a17-langswitcher":d.Z},props:{controlPublication:{type:Boolean,default:!0},value:{default:function(){return[]}}},computed:{currentValue:{get(){const e=[];return this.publishedLanguages.length&&this.publishedLanguages.forEach((function(t){e.push(t.value)})),e}},...(0,n.rn)({languages:e=>e.language.all}),...(0,n.Se)(["publishedLanguages"])},methods:{changeValue:function(e){this.$store.commit(l.ad.PUBLISH_LANG,e)}}},u=c,h=i(1001),p=(0,h.Z)(u,s,a,!1,null,"06768eb6",null),m=p.exports},1664:function(e,t,i){"use strict";i.d(t,{Z:function(){return h}});var s=function(){var e=this,t=e._self._c;return e.languages.length>1?t("div",{staticClass:"language",class:e.languageClass},[e.inModal?e._e():t("span",{staticClass:"language__label f--small"},[e._v(e._s(e.$trans("lang-switcher.edit-in")))]),t("span",{staticClass:"language__toolbar"},e._l(e.languages,(function(i){return t("button",{key:i.value,staticClass:"language__button",class:{selected:i.value===e.localeValue.value,published:i.published,"no-state":e.allPublished},attrs:{type:"button"},on:{click:function(t){return e.onClick(i.value)}}},[e._v(e._s(i.shortlabel))])})),0)]):e._e()},a=[],n=i(629),o=i(8348),r=i(4622),l={name:"A17Langswitcher",mixins:[o.Z],props:{inModal:{type:Boolean,default:!1},toggleOnClick:{type:Boolean,default:!1},allPublished:{type:Boolean,default:!1}},computed:{languageClass(){return{"language--in-modal":this.inModal}},localeValue(){return this.$store.state.language.active},...(0,n.Se)(["publishedLanguages"])},methods:{onClick:function(e){this.$store.commit(r.ad.UPDATE_LANG,e)}}},d=l,c=i(1001),u=(0,c.Z)(d,s,a,!1,null,"1131928c",null),h=u.exports},9306:function(e,t,i){"use strict";i.d(t,{Z:function(){return p}});var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"modal",class:e.modalClasses,on:{mousedown:e.hide,touchend:function(t){return t.preventDefault(),e.hide.apply(null,arguments)}}},[t("transition",{attrs:{name:"fade_scale_modal"}},[e.active?t("div",{directives:[{name:"show",rawName:"v-show",value:!e.hidden,expression:"!hidden"}],staticClass:"modal__window",on:{mousedown:function(e){e.stopPropagation()},touchend:function(e){e.stopPropagation()}}},[e.modalTitle?t("header",{staticClass:"modal__header"},[e._v(" "+e._s(e.modalTitle)+" "),t("button",{staticClass:"modal__close",attrs:{type:"button"},on:{click:e.hide}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"close_modal"}})])]):e._e(),t("div",{staticClass:"modal__content"},[e._t("default")],2)]):e._e()])],1)},a=[],n=i(629),o=i(3523);const r=document.documentElement,l=o.Z.modal;var d={name:"A17Modal",props:{title:{type:String,default:""},mode:{type:String,default:""},forceClose:{type:Boolean,default:!1},forceLock:{type:Boolean,default:!1}},data:function(){return{active:!1,hidden:!0,locked:!1,firstFocusableEl:null,lastFocusableEl:null}},computed:{modalTitle:function(){return""!==this.title?this.title:this.browserTitle},modalClasses:function(){return{"modal--active":this.active,"modal--hidden":this.hidden,"modal--tiny":"tiny"===this.mode,"modal--medium":"medium"===this.mode,"modal--wide":"wide"===this.mode}},...(0,n.rn)({browserTitle:e=>e.browser.title})},watch:{forceLock:function(){this.locked=this.forceLock}},methods:{open:function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.active&&!this.hidden||(this.active=!0,this.hidden=!1,r.classList.add(l),this.bindKeyboard(),this.$nextTick((function(){if(e){const e='textarea, input:not([type="hidden"]), select, button[type="submit"]',t=this.$el.querySelectorAll(e),i=this.$el.querySelectorAll(e+', a, button[type="button"]');this.firstFocusableEl=this.$el.querySelector(".modal__close"),this.lastFocusableEl=i[i.length-1],t.length&&t[0].focus()}this.$emit("open")})))},mask:function(){r.classList.remove(l),this.unbindKeyboard(),this.$emit("close")},hide:function(){this.active&&(this.locked||(this.forceClose?this.close():(this.hidden=!0,this.mask())))},close:function(e){this.active&&(this.locked||(this.active=!1,this.$emit("close"),this.mask()))},bindKeyboard:function(){window.addEventListener("keyup",this.keyPressed),document.addEventListener("keydown",this.keyDown,!1)},unbindKeyboard:function(){window.removeEventListener("keyup",this.keyPressed),document.removeEventListener("keydown",this.keyDown)},keyPressed:function(e){27!==e.which&&27!==e.keyCode||(this.hide(),this.$emit("esc-key"))},keyDown:function(e){e.keyCode&&9===e.keyCode&&(e.shiftKey?document.activeElement.isEqualNode(this.firstFocusableEl)&&(this.lastFocusableEl.focus(),e.preventDefault()):document.activeElement.isEqualNode(this.lastFocusableEl)&&(this.firstFocusableEl.focus(),e.preventDefault()))}},beforeDestroy:function(){this.$el.parentNode&&(this.active&&this.unbindKeyboard(),this.$el.parentNode.removeChild(this.$el))}},c=d,u=i(1001),h=(0,u.Z)(c,s,a,!1,null,"5d2936e8",null),p=h.exports},9082:function(e,t,i){"use strict";i.d(t,{Z:function(){return d}});var s=function(){var e=this,t=e._self._c;return t("transition",{attrs:{name:"fade_spinner"},on:{"before-enter":e.beforeEnter,"after-enter":e.afterEnter,"before-leave":e.beforeLeave}},[t("div",{staticClass:"a17spinner"},[t("div",{staticClass:"a17spinner__anim",class:{"a17spinner__anim--visible":e.isVisible}},[t("span",{staticClass:"loader"},[t("span")])])])])},a=[],n={name:"A17Spinner",props:{visible:{type:Boolean,default:!1}},data:function(){return{isVisible:this.visible}},methods:{beforeEnter:function(e){this.isVisible=this.visible},afterEnter:function(e){this.isVisible=!0},beforeLeave:function(e){this.isVisible=!1}}},o=n,r=i(1001),l=(0,r.Z)(o,s,a,!1,null,null,null),d=l.exports},3304:function(e,t,i){"use strict";i.d(t,{Z:function(){return p}});var s=function(){var e=this,t=e._self._c;return t("a17-modal",{ref:"standalone-"+e.endpointName,staticClass:"modal--browser",attrs:{mode:"medium","force-close":!0},on:{close:e.closeModal}},[t("div",{staticClass:"browser"},[t("div",{staticClass:"browser__frame"},[t("div",{ref:"form",staticClass:"browser__header"},[e.multiSources?t("div",{staticClass:"browser__sources"},[t("a17-vselect",{staticClass:"browser__sources-select",attrs:{name:"sources",selected:e.currentEndpoint,options:e.endpoints,required:!0},on:{change:e.changeBrowserSource}})],1):e._e(),t("div",{staticClass:"browser__search"},[t("a17-filter",{on:{submit:e.submitFilter}},[e.browserNote?t("div",{attrs:{slot:"additional-actions"},slot:"additional-actions"},[t("span",{staticClass:"browser__note f--small"},[e._v(" "+e._s(e.browserNote)+" ")])]):e._e()])],1)]),t("div",{staticClass:"browser__inner"},[t("div",{ref:"list",staticClass:"browser__list"},[t("a17-itemlist",{attrs:{items:e.fullItems,keysToCheck:["id","edit"],selectedItems:e.selectedItems},on:{change:e.updateSelectedItems}})],1)]),t("div",{staticClass:"browser__footer"},[t("a17-button",{attrs:{type:"button",variant:"action"},on:{click:e.saveAndClose}},[e._v(e._s(e.browserTitle))]),t("span",{staticClass:"browser__size-infos"},[e._v(e._s(e.selectedItems.length)+" / "+e._s(e.max))])],1)])])])},a=[],n=i(5573),o=i(6550),r=i(8839),l=i(9306),d={name:"A17StandaloneBrowser",components:{"a17-filter":o.Z,"a17-itemlist":r.Z,"a17-modal":l.Z},props:{btnLabel:{type:String,default:"Insert"},btnMultiLabel:{type:String,default:"Insert files"},initialPage:{type:Number,default:1},open:{type:Boolean,default:!1},forRepeater:{type:Boolean,default:!1},endpoint:{type:Object,required:!1,default:null},endpointMultiple:{type:Array,required:!1,default:null},max:{type:Number,default:0}},data(){return{maxPage:20,fullItems:[],listHeight:0,page:this.initialPage,endpoints:[],endpointName:null,browserTitle:"Select",browserNote:null,currentSource:null,selected:[]}},computed:{currentEndpoint(){return this.endpoints.find((e=>e.value===this.currentSource))},multiSources(){return this.endpoints.length>1},selectedItems:{get(){return this.selected||[]},set(e){this.selected=e}}},watch:{open:function(e,t){e!==t&&(e?this.openModal():this.closeModal())}},methods:{openModal(){const e="standalone-"+this.endpointName;this.$refs[e].open()},closeModal(){const e="standalone-"+this.endpointName;this.$refs[e].close(),this.$emit("close")},updateSelectedItems(e){const t=this.multiSources?["id","endpointType"]:["id"],i=this.fullItems.some((i=>t.every((t=>i[t]===e[t]))));if(!i)return;const s=this.selectedItems.some((i=>t.every((t=>i[t]===e[t]))));if(s){const i=this.selectedItems.findIndex((i=>t.every((t=>i[t]===e[t]))));if(i<0)return;const s=[...this.selectedItems];s.splice(i,1),this.selectedItems=s}else{if(1===this.max&&this.clearSelectedItems(),this.selectedItems.length>=this.max&&this.max>0)return;this.selectedItems=[...this.selectedItems,e]}},getFormData(e){let t=(0,n.Z)(e);return t?t.page=this.page:t={page:this.page},t.forRepeater=this.forRepeater,t},clearSelectedItems(){this.selectedItems=[]},clearFullItems(){this.fullItems.splice(0)},reloadList(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&(this.page=1);const t=this.$refs.form,i=this.getFormData(t);this.$http.get(this.currentEndpoint.value,{params:i}).then((t=>{e&&this.clearFullItems(),this.fullItems.push(...t.data.data),this.$nextTick((()=>{this.listHeight!==this.$refs.list.scrollHeight&&(this.listHeight=this.$refs.list.scrollHeight,this.$refs.list.addEventListener("scroll",this.scrollToPaginate))}))}),(function(e){}))},submitFilter(){this.page=1,this.clearFullItems(),this.reloadList()},scrollToPaginate(){const e=this.$refs.list;e.scrollTop+e.clientHeight>this.listHeight-10&&(e.removeEventListener("scroll",this.scrollToPaginate),this.maxPage>this.page&&(this.page=this.page+1,this.reloadList()))},saveAndClose(){this.$emit("selected",this.selectedItems),this.closeModal()},changeBrowserSource(e){this.currentSource=e.value,this.reloadList(!0)}},mounted(){this.openModal(),this.endpointMultiple?this.endpoints=this.endpointMultiple:this.endpoints=[this.endpoint],this.currentSource=this.endpoints[0].value,this.reloadList()}},c=d,u=i(1001),h=(0,u.Z)(c,s,a,!1,null,"3ff94fa2",null),p=h.exports},2232:function(e,t,i){"use strict";i.d(t,{Z:function(){return g}});var s=function(){var e=this,t=e._self._c;return t("a17-inputframe",{attrs:{error:e.error,note:e.note,label:e.label,locale:e.locale,size:e.size,name:e.name,"label-for":e.uniqId,required:e.required},on:{localize:e.updateLocale}},[t("div",{staticClass:"input__field",class:e.textfieldClasses,attrs:{dir:e.dirLocale}},[e.hasPrefix?t("span",{staticClass:"input__prefix"},[e._v(e._s(e.prefix))]):e._e(),"textarea"===e.type?t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],ref:"clone",staticClass:"input__clone",attrs:{rows:e.rows,disabled:"true"},domProps:{value:e.value},on:{input:function(t){t.target.composing||(e.value=t.target.value)}}}):e._e(),"textarea"===e.type?t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],ref:"input",attrs:{name:e.name,id:e.uniqId,placeholder:e.placeholder,disabled:e.disabled,required:e.required,readonly:e.readonly,rows:e.rows,autofocus:e.autofocus},domProps:{value:e.value},on:{focus:e.onFocus,blur:e.onBlur,input:[function(t){t.target.composing||(e.value=t.target.value)},e.onInput]}}):e._e(),"number"===e.type?t("input",{ref:"input",attrs:{type:"number",placeholder:e.placeholder,name:e.name,id:e.uniqId,disabled:e.disabled,maxlength:e.displayedMaxlength,required:e.required,readonly:e.readonly,autofocus:e.autofocus,autocomplete:e.autocomplete,min:e.min,max:e.max,step:e.step},domProps:{value:e.value},on:{focus:e.onFocus,blur:e.onBlur,input:e.onInput}}):e._e(),"text"===e.type?t("input",{ref:"input",attrs:{type:"text",placeholder:e.placeholder,name:e.name,id:e.uniqId,disabled:e.disabled,maxlength:e.displayedMaxlength,required:e.required,readonly:e.readonly,autofocus:e.autofocus,autocomplete:e.autocomplete,"x-mask":e.mask},domProps:{value:e.value},on:{focus:e.onFocus,blur:e.onBlur,input:e.onInput}}):e._e(),"email"===e.type?t("input",{ref:"input",attrs:{type:"email",placeholder:e.placeholder,name:e.name,id:e.uniqId,disabled:e.disabled,maxlength:e.displayedMaxlength,required:e.required,readonly:e.readonly,autofocus:e.autofocus,autocomplete:e.autocomplete,pattern:"[^@\\s]+@[^@\\s]+\\.[^@\\s]+"},domProps:{value:e.value},on:{focus:e.onFocus,blur:e.onBlur,input:e.onInput}}):e._e(),"password"===e.type?t("input",{ref:"input",attrs:{type:"password",placeholder:e.placeholder,name:e.name,id:e.uniqId,disabled:e.disabled,maxlength:e.displayedMaxlength,required:e.required,readonly:e.readonly,autofocus:e.autofocus,autocomplete:e.autocomplete},domProps:{value:e.value},on:{focus:e.onFocus,blur:e.onBlur,input:e.onInput}}):e._e(),"url"===e.type?t("input",{ref:"input",attrs:{type:"url",placeholder:e.placeholder,name:e.name,id:e.uniqId,disabled:e.disabled,maxlength:e.displayedMaxlength,required:e.required,readonly:e.readonly,autofocus:e.autofocus,autocomplete:e.autocomplete},domProps:{value:e.value},on:{focus:e.onFocus,blur:e.onBlur,input:e.onInput}}):e._e(),e.hasMaxlength?t("span",{staticClass:"input__limit f--tiny",class:e.limitClasses},[e._v(e._s(e.counter))]):e._e(),"email"===e.type?t("span",{class:e.validityClasses}):e._e()])])},a=[],n=i(3279),o=i.n(n),r=i(2240),l=i(35),d=i(6830),c=i(8348),u=i(9464),h={name:"A17Textfield",mixins:[u.Z,l.Z,d.Z,c.Z,r.Z],props:{name:{type:String,required:!0},type:{type:String,default:"text"},prefix:{type:String,default:""},maxlength:{type:Number,default:0},min:{type:Number,default:null},max:{type:Number,default:null},step:{type:Number,default:null},initialValue:{default:""},mask:{type:String,default:null},rows:{type:Number,default:5}},computed:{uniqId:function(e){return this.name+"-"+this.randKey},textfieldClasses:function(){return{"input__field--textarea":"textarea"===this.type,"input__field--small":"small"===this.size&&"textarea"===!this.type,"s--focus":this.focused,"s--disabled":this.disabled}},hasMaxlength:function(){return this.maxlength>0},hasPrefix:function(){return""!==this.prefix},displayedMaxlength:function(){return!!this.hasMaxlength&&this.maxlength},limitClasses:function(){return{"input__limit--red":this.counter<.1*this.maxlength}},validityClasses:function(){return["input__validity",!0===this.isFieldValid?"input__validity--valid":"",!1===this.isFieldValid?"input__validity--error":""]}},data:function(){return{value:this.initialValue,lastSavedValue:this.initialValue,focused:!1,isFieldValid:null,counter:0}},watch:{initialValue:function(){this.updateValue(this.initialValue)}},methods:{updateFromStore:function(e){"undefined"===typeof e&&(e=""),this.value!==e&&this.updateValue(e)},updateValue:function(e){this.value=e,this.updateCounter(e)},updateAndSaveValue:function(e){this.updateValue(e),this.lastSavedValue=this.value,this.saveIntoStore()},updateCounter:function(e){this.maxlength>0&&(this.counter=this.maxlength-(e?e.toString().length:0))},onFocus:function(e){this.focused=!0,this.resizeTextarea(),this.$emit("focus")},onBlur:function(e){const t=e.target.value;this.updateAndSaveValue(t),this.focused=!1,this.$emit("blur",t)},onInput:function(e){this.preventSubmit(),this._onInputInternal(e)},_onInputInternal:o()((function(e){const t=e.target.value;this.updateAndSaveValue(t),this.checkFieldValidity(e.target),this.$emit("change",t),this.$emit("input",t),this.allowSubmit()}),250),resizeTextarea:function(){if("textarea"!==this.type)return;const e=this.$refs.clone,t=15;if(e){const i=e.scrollHeight;this.$refs.input.style.minHeight="".concat(i+t,"px")}},checkFieldValidity:function(e){let t=null,i=null;switch(e.type){case"email":if(e.value.length<1)return void(this.isFieldValid=null);t=e.pattern,i=RegExp(t),this.isFieldValid=i.test(this.value);break}}},mounted:function(){this.updateCounter(this.value),"textarea"===this.type&&(this.resizeTextarea(),this.$watch("value",this.resizeTextarea),this.$nextTick((function(){window.addEventListener("resize",this.resizeTextarea)})))},beforeDestroy(){"textarea"===this.type&&window.removeEventListener("resize",this.resizeTextarea)}},p=h,m=i(1001),f=(0,m.Z)(p,s,a,!1,null,"9edd5ab6",null),g=f.exports},6305:function(e,t,i){"use strict";i.d(t,{Z:function(){return T}});var s,a,n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"vselectOuter"},[t("a17-inputframe",{attrs:{error:e.error,label:e.label,note:e.note,size:e.size,name:e.name,"label-for":e.uniqId,required:e.required,"add-new":e.addNew}},[t("div",{staticClass:"vselect",class:e.vselectClasses},[t("div",{staticClass:"vselect__field"},[t("input",{attrs:{type:"hidden",name:e.name,id:e.uniqId},domProps:{value:e.inputValue}}),t("v-select",{attrs:{multiple:e.multiple,placeholder:e.placeholder,value:e.value,options:e.currentOptions,searchable:e.searchable,selectable:e.selectable,clearSearchOnSelect:e.clearSearchOnSelect,label:e.optionsLabel,taggable:e.taggable,pushTags:e.pushTags,transition:e.transition,requiredValue:e.required,maxHeight:e.maxHeight,disabled:e.disabled},on:{input:e.updateValue,search:e.getOptions}},[t("span",{attrs:{slot:"no-options"},slot:"no-options"},[e._v(e._s(e.emptyText))])])],1)])]),e.addNew?[t("a17-modal-add",{ref:"addModal",attrs:{name:e.name,"form-create":e.addNew,"modal-title":"Add new "+e.label}},[e._t("addModal")],2)]:e._e()],2)},o=[],r=i(3279),l=i.n(r),d=i(9938),c=i.n(d),u={extends:c(),props:{toggleSelectOption:{type:Boolean,default:!1},requiredValue:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},data(){return{mutableValue:this.value}},computed:{showClearButton(){return!1}},methods:{maybeDeleteValue(){if(!this.requiredValue&&!this.$refs.search.value.length&&this.mutableValue)return this.multiple?this.mutableValue.pop():this.mutableValue=null},isOptionSelected(e){return void 0!==this.valueAsArray&&this.valueAsArray.some((t=>"object"===typeof t?this.optionObjectComparator(t,e):t===e||t===e[this.index]))}},mounted(){this.taggable&&this.$emit("search",this.search,this.toggleLoading)}},h=u,p=i(1001),m=(0,p.Z)(h,s,a,!1,null,null,null),f=m.exports,g=i(6193),_=i(2240),b=i(6830),v=i(9464),y={name:"A17VueSelect",mixins:[v.Z,b.Z,_.Z,g.Z],props:{placeholder:{type:String,default:""},disabled:{type:Boolean,default:!1},name:{type:String,default:""},transition:{type:String,default:"fade_move_dropdown"},multiple:{type:Boolean,default:!1},taggable:{type:Boolean,default:!1},pushTags:{type:Boolean,default:!1},searchable:{type:Boolean,default:!1},selectable:{type:Function,default:e=>{var t;return null===(t=e.selectable)||void 0===t||t}},clearSearchOnSelect:{type:Boolean,default:!0},selected:{default:null},emptyText:{default(){return this.$trans("select.empty-text","Sorry, no matching options.")}},options:{default:function(){return[]}},optionsLabel:{type:String,default:"label"},endpoint:{type:String,default:""},size:{type:String,default:""},required:{type:Boolean,default:!1},maxHeight:{type:String,default:"400px"}},components:{"v-select":f},data:function(){return{value:this.selected,currentOptions:this.options,ajaxUrl:this.endpoint}},watch:{options:function(e){this.currentOptions=this.options}},computed:{uniqId:function(e){return this.name+"-"+this.randKey},inputValue:{get:function(){if(this.value){if(this.multiple){if(Array.isArray(this.value))return"object"===typeof this.value[0]?this.value.map((e=>e.value)):this.value.join(",")}else if("object"===typeof this.value)return this.value.value;return this.value}return""},set:function(e){Array.isArray(e)?this.taggable?this.value=e:this.value=this.options.filter((t=>e.includes(t.value))):this.value=this.options.find((t=>"number"===typeof t.value?t.value%1!==0?t.value===parseFloat(e):t.value===parseInt(e):t.value===String(e)))}},vselectClasses:function(){return[this.value?"vselect--has-value":"",this.multiple?"vselect--multiple":"vselect--single","small"===this.size?"vselect--small":"","large"===this.size?"vselect--large":"",this.error?"vselect--error":""]}},methods:{updateFromStore:function(e){this.inputValue=e},isAjax:function(){return""!==this.ajaxUrl},updateValue:function(e){if(e)this.value=e;else{const e=this.options.find((e=>"all"===e.value));this.value=null!==e&&void 0!==e?e:void 0}this.saveIntoStore(),this.$emit("change",e)},getOptions:l()((function(e,t){if(!this.isAjax())return!0;t(!0),this.$http.get(this.ajaxUrl,{params:{q:e}}).then((e=>{e.data.items&&e.data.items.length&&(this.taggable&&Array.isArray(this.value)?this.currentOptions=e.data.items.filter((e=>!this.value.includes(e))):this.currentOptions=e.data.items),t(!1)}),(function(e){t(!1)}))}),500)}},w=y,E=(0,p.Z)(w,n,o,!1,null,null,null),T=E.exports},3723:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return u}});var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"block",class:e.blockClasses},[t("div",{staticClass:"block__header",on:{dblclick:function(t){return t.preventDefault(),e.toggleExpand()}}},[e.withHandle?t("span",{staticClass:"block__handle"}):e._e(),t("div",{staticClass:"block__toggle"},[e.withMoveDropdown&&e.withActions?t("a17-dropdown",{ref:e.moveDropdown,staticClass:"f--small",attrs:{position:"bottom-left",maxHeight:270}},[t("span",{staticClass:"block__counter f--tiny",on:{click:function(t){return e.$refs[e.moveDropdown].toggle()}}},[e._v(e._s(e.index+1))]),t("div",{attrs:{slot:"dropdown__content"},slot:"dropdown__content"},[e._t("dropdown-numbers")],2)]):e.withActions?t("span",{staticClass:"block__counter f--tiny"},[e._v(e._s(e.index+1))]):e._e(),t("span",{staticClass:"block__title"},[e._v(e._s(e.blockTitle))])],1),e.withActions?t("div",{staticClass:"block__actions"},[e._t("block-actions"),e.withAddDropdown?t("a17-dropdown",{ref:e.addDropdown,attrs:{position:"bottom-right",maxHeight:430},on:{open:function(t){e.hover=!0},close:function(t){e.hover=!1}}},[t("a17-button",{attrs:{variant:"icon","data-action":""},on:{click:function(t){return e.$refs[e.addDropdown].toggle()}}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"add"}})]),t("div",{attrs:{slot:"dropdown__content"},slot:"dropdown__content"},[e._t("dropdown-add")],2)],1):e._e(),t("a17-button",{attrs:{variant:"icon","data-action":"","aria-expanded":e.visible?"true":"false"},on:{click:function(t){return e.toggleExpand()}}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"expand"}})]),t("a17-dropdown",{ref:e.actionsDropdown,attrs:{position:"bottom-right"},on:{open:function(t){e.hover=!0},close:function(t){e.hover=!1}}},[t("a17-button",{attrs:{variant:"icon"},on:{click:function(t){return e.$refs[e.actionsDropdown].toggle()}}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"more-dots"}})]),t("div",{attrs:{slot:"dropdown__content"},slot:"dropdown__content"},[e._t("dropdown-action")],2)],1)],2):e._e()]),e.visible?t("div",{staticClass:"block__content"},[t("".concat(e.block.type),e._b({key:"form_".concat(e.block.type,"_").concat(e.block.id),tag:"component",attrs:{name:e.componentName(e.block.id)}},"component",e.block.attributes,!1)),t("a17-inputframe",{attrs:{size:"small",label:"",name:"block.".concat(e.block.id)}})],1):e._e()])},a=[],n=i(629),o=i(1633),r={name:"A17BlockEditorItem",props:{index:{type:Number,default:0},opened:{type:Boolean,default:!0},size:{type:String,default:""},block:{type:Object,default:()=>{}},withHandle:{type:Boolean,default:!0},withActions:{type:Boolean,default:!0}},data(){return{visible:!1,hover:!1,withMoveDropdown:!0,withAddDropdown:!0}},filters:o.Z,computed:{titleFieldValue:function(){const e=this.blockFieldValue(this.block.titleField);return e?"object"===typeof e?e[this.currentLocale.value]:e:null},blockTitle:function(){const e=this.block.title||"",t=this.titleFieldValue||"",i=e&&t?" — ":"";let s;s=this.block.hideTitlePrefix?"".concat(t):"".concat(e).concat(i).concat(t);const a=document.createElement("div");return a.innerHTML=s,a.innerText},blockClasses(){return[this.visible?"block--open":"",this.hover?"block--focus":"",this.size?"block--".concat(this.size):""]},moveDropdown(){return"moveBlock".concat(this.index,"Dropdown")},actionsDropdown(){return"action".concat(this.block.id,"Dropdown")},addDropdown(){return"add".concat(this.block.id,"Dropdown")},...(0,n.rn)({currentLocale:e=>e.language.active}),...(0,n.Se)(["fieldValueByName"])},watch:{opened(){this.visible=this.opened}},created(){this.block.ui&&this.block.ui.isNew&&this.toggleExpand()},methods:{toggleExpand(){this.visible=!this.visible},componentName(e){return"blocks["+e+"]"},blockFieldName:function(e){return e?"blocks[".concat(this.block.id,"][").concat(e,"]"):""},blockFieldValue:function(e){if(!e)return null;const t=this.blockFieldName(e);return this.fieldValueByName(t)}},beforeMount(){this.$slots["dropdown-numbers"]||(this.withMoveDropdown=!1),this.$slots["dropdown-add"]||(this.withAddDropdown=!1)}},l=r,d=i(1001),c=(0,d.Z)(l,s,a,!1,null,"66e2564c",null),u=c.exports},2382:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return c}});var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"block__body"},[t("a17-inputframe",{attrs:{label:"Image",name:"medias.image"}},[t("a17-mediafield",{attrs:{name:e.fieldName("image"),"crop-context":"image"}})],1)],1)},a=[],n=i(5340),o={name:"A17Image",mixins:[n.Z]},r=o,l=i(1001),d=(0,l.Z)(r,s,a,!1,null,null,null),c=d.exports},4378:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return c}});var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"block__body"},[t("a17-wysiwyg-tiptap",{attrs:{name:e.fieldName("html"),label:"Body",options:{modules:{toolbar:["table"],syntax:!1}},placeholder:"Insert your table",editSource:"true",inStore:"value"}})],1)},a=[],n=i(5340),o={name:"A17Bodytable",mixins:[n.Z]},r=o,l=i(1001),d=(0,l.Z)(r,s,a,!1,null,null,null),c=d.exports},2823:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return c}});var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"block__body"},[t("a17-locale",{attrs:{type:"a17-textfield",attributes:{label:"Title",name:e.fieldName("text"),type:"text",maxlength:250,inStore:"value"}}})],1)},a=[],n=i(5340),o={name:"A17Title",mixins:[n.Z]},r=o,l=i(1001),d=(0,l.Z)(r,s,a,!1,null,null,null),c=d.exports},1013:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return c}});var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"block__body"},[t("a17-wysiwyg",{attrs:{name:e.fieldName("html"),inStore:"value"}})],1)},a=[],n=i(5340),o={name:"A17Bodytext",mixins:[n.Z]},r=o,l=i(1001),d=(0,l.Z)(r,s,a,!1,null,null,null),c=d.exports},1406:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return g}});var s=function(){var e=this,t=e._self._c;return t("a17-blocks-list",{attrs:{"editor-name":e.editorName},scopedSlots:e._u([{key:"default",fn:function(i){let{savedBlocks:s,availableBlocks:a,moveBlock:n,moveBlockToEditor:o,cloneBlock:r}=i;return[t("div",{staticClass:"blocks"},[t("draggable",{staticClass:"blocks__container",attrs:{value:s,group:"blocks",move:e.handleOnMove,options:e.dragOptions},on:{end:t=>e.handleOnEnd(n,o)}},[t("transition-group",{attrs:{name:"draggable_list",tag:"div"}},e._l(s,(function(i){return t("div",{key:i.id,staticClass:"blocks__item"},[t("a17-blockeditor-model",{attrs:{"editor-name":e.editorName,block:i},scopedSlots:e._u([{key:"default",fn:function(i){let{block:n,blockIndex:o,add:l,edit:d,move:c,remove:u,duplicate:h}=i;return[a.length?t("a17-blockeditor-item",{ref:"blockList",refInFor:!0,attrs:{block:n,index:o,opened:e.opened,"with-handle":!e.isSettings,"with-actions":!e.isSettings},on:{expand:e.setOpened}},[e._l(a,(function(i){return[t("button",{key:i.component,staticClass:"blocks__addButton",attrs:{slot:"dropdown-add",type:"button"},on:{click:function(t){return e.handleBlockAdd(l,i,o+1)}},slot:"dropdown-add"},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],staticClass:"blocks__icon",attrs:{symbol:i.icon}}),t("span",{staticClass:"blocks__title"},[e._v(e._s(i.title))])])]})),t("div",{attrs:{slot:"dropdown-action"},slot:"dropdown-action"},[e.opened?t("button",{attrs:{type:"button"},on:{click:function(t){return e.collapseAllBlocks()}}},[e._v(" "+e._s(e.$trans("fields.block-editor.collapse-all","Collapse all"))+" ")]):t("button",{attrs:{type:"button"},on:{click:function(t){return e.expandAllBlocks()}}},[e._v(" "+e._s(e.$trans("fields.block-editor.expand-all","Expand all"))+" ")]),e.editor&&!e.editorName.includes("|")?t("button",{attrs:{type:"button"},on:{click:function(t){return e.openInEditor(d,o,e.editorName)}}},[e._v(" "+e._s(e.$trans("fields.block-editor.open-in-editor","Open in editor"))+" ")]):e._e(),t("button",{attrs:{type:"button"},on:{click:function(t){return e.handleClone(r,o,n)}}},[e._v(" "+e._s(e.$trans("fields.block-editor.clone-block","Clone block"))+" ")]),t("button",{attrs:{type:"button"},on:{click:function(t){return e.handleDuplicateBlock(h)}}},[e._v(" "+e._s(e.$trans("fields.block-editor.create-another","Create another"))+" ")]),t("button",{attrs:{type:"button"},on:{click:function(t){return e.handleDeleteBlock(u)}}},[e._v(" "+e._s(e.$trans("fields.block-editor.delete","Delete"))+" ")])]),e._l(s.length,(function(i){return t("button",{key:i,attrs:{slot:"dropdown-numbers",type:"button"},on:{click:function(e){return c(i-1)}},slot:"dropdown-numbers"},[e._v(e._s(i)+" ")])}))],2):e._e()]}}],null,!0)})],1)})),0)],1),e.isSettings?e._e():t("div",{staticClass:"blocks__actions"},[a.length?t("a17-dropdown",{ref:"blocksDropdown",attrs:{position:"top-center",arrow:!0,offset:10,maxHeight:430}},[t("a17-button",{attrs:{size:"small",variant:"action"},on:{click:function(t){return e.$refs.blocksDropdown.toggle()}}},[e._v(e._s(e.trigger)+" ")]),t("div",{attrs:{slot:"dropdown__content"},slot:"dropdown__content"},[e._l(a,(function(i){return[t("a17-blockeditor-model",{key:i.component,attrs:{"editor-name":e.editorName,block:i},scopedSlots:e._u([{key:"default",fn:function(s){let{add:a,block:n}=s;return[t("button",{key:i.component,staticClass:"blocks__addButton",attrs:{type:"button"},on:{click:function(t){return e.handleBlockAdd(a,n)}}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],staticClass:"blocks__icon",attrs:{symbol:i.icon}}),t("span",{staticClass:"blocks__title"},[e._v(e._s(i.title))])])]}}],null,!0)})]}))],2)],1):e._e(),e.editorName.includes("|")?e._e():t("div",{staticClass:"blocks__secondaryActions"},[e.editor?t("a",{staticClass:"f--link f--link-underlined--o",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.openEditor(-1,e.editorName)}}},[e._v(" "+e._s(e.$trans("fields.block-editor.open-in-editor","Open in editor"))+" ")]):e._e()])],1)],1)]}}])})},a=[],n=i(9980),o=i.n(n),r=i(629),l=i(3723),d=i(6214),c=i(139),u=i(4690),h={name:"A17Blocks",components:{"a17-blockeditor-item":l["default"],"a17-blockeditor-model":d["default"],"a17-blocks-list":c["default"],draggable:o()},mixins:[u.tD,u.Rb],props:{trigger:{type:String,default:""},isSettings:{type:Boolean,required:!0},title:{type:String,default:""},editorName:{type:String,required:!0}},data(){return{opened:!0,handle:".block__handle"}},computed:{...(0,r.rn)({editor:e=>e.blocks.editor,editorNames:e=>e.blocks.editorNames}),...(0,r.Se)(["blocks","fieldsByBlockId","availableBlocks"])},methods:{setOpened:function(){const e=this.$refs.blockList&&this.$refs.blockList.every((e=>!e.visible));e&&(this.opened=!1)},collapseAllBlocks:function(){this.opened=!1},expandAllBlocks:function(){this.opened=!0},checkExpandBlocks(){void 0!==this.$refs.blockList[this.$refs.blockList.length-1]&&this.$refs.blockList[this.$refs.blockList.length-1].toggleExpand()},handleOnMove(e){const{draggedContext:t,relatedContext:i}=e,{index:s,element:a,futureIndex:n}=t,{element:o}=i;this.nextMove={block:a,editorName:o.name,newIndex:n,index:s}},handleOnEnd(e,t){const{block:i,editorName:s,newIndex:a,index:n}=this.nextMove;i.name!==s?this.checkIfBlockTypeIsAvailable(s,i.type)&&t&&t(i,s,n,a):e&&e({oldIndex:n,newIndex:a})},handleClone(e,t,i){e&&e({block:i,index:t+1}),this.$nextTick((()=>{this.checkExpandBlocks()}))},handleBlockAdd(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1;e(t,i),this.$nextTick((()=>{this.checkExpandBlocks()}))},handleDuplicateBlock(e,t){e(t),this.$nextTick((()=>{this.checkExpandBlocks()}))},handleDeleteBlock(e,t){this.$root.$refs.warningContentEditor?this.$root.$refs.warningContentEditor.open((()=>{e(t),this.$nextTick((()=>{this.checkExpandBlocks()}))})):(e(t),this.$nextTick((()=>{this.checkExpandBlocks()})))},checkIfBlockTypeIsAvailable(e,t){const i=JSON.parse(JSON.stringify(this.availableBlocks(e))),s=i.map((e=>e.component));return-1!==s.indexOf(t)},openInEditor(e,t,i){e(),this.openEditor(t,i)}},mounted(){this.$nextTick((function(){this.$refs.blockList&&this.blocks(this.editorName)&&this.blocks(this.editorName).length<4&&this.$refs.blockList.forEach((e=>e.toggleExpand())),this.setOpened()}))}},p=h,m=i(1001),f=(0,m.Z)(p,s,a,!1,null,"560554c3",null),g=f.exports},8801:function(e,t,i){"use strict";i.d(t,{Z:function(){return c}});var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"modalValidation"},[t("a17-inputframe",["create"===e.mode?[t("a17-button",{attrs:{type:"submit",name:"create",variant:"validate",disabled:e.isDisabled}},[e._v(e._s(e.$trans("modal.create.button","Create")))]),e.isDisabled?e._e():t("a17-button",{attrs:{type:"submit",name:"create-another",variant:"aslink-grey"},nativeOn:{click:function(e){return e.currentTarget.focus()}}},[t("span",[e._v(e._s(e.$trans("modal.create.create-another","Create and add another")))])])]:"update"===e.mode?t("a17-button",{attrs:{type:"submit",name:"update",variant:"validate",disabled:e.isDisabled}},[e._v(e._s(e.$trans("modal.update.button","Update")))]):t("a17-button",{attrs:{type:"submit",name:"done",variant:"validate",disabled:e.isDisabled}},[e._v(e._s(e.$trans("modal.done.button","Done")))])],2),e.activePublishState?t("label",{staticClass:"switcher__button",class:e.switcherClasses,attrs:{for:e.publishedName}},[e.isChecked?t("span",{staticClass:"switcher__label"},[e._v(e._s(e.textEnabled))]):e._e(),e.isChecked?e._e():t("span",{staticClass:"switcher__label"},[e._v(e._s(e.textDisabled))]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.published,expression:"published"}],attrs:{type:"checkbox",disabled:e.disabled,name:e.publishedName,id:e.publishedName},domProps:{value:1,checked:Array.isArray(e.published)?e._i(e.published,1)>-1:e.published},on:{change:function(t){var i=e.published,s=t.target,a=!!s.checked;if(Array.isArray(i)){var n=1,o=e._i(i,n);s.checked?o<0&&(e.published=i.concat([n])):o>-1&&(e.published=i.slice(0,o).concat(i.slice(o+1)))}else e.published=a}}}),t("span",{staticClass:"switcher__switcher"})]):e._e()],1)},a=[],n=i(4622),o={name:"A17ModalValidationButtons",props:{publishedName:{type:String,required:!1},disabled:{type:Boolean,default:!1},activePublishState:{type:Boolean,default:!1},isPublish:{type:Boolean,default:!1},isDisable:{type:Boolean,default:!1},mode:{type:String,default:"create"},textEnabled:{type:String,default:"Live"},textDisabled:{type:String,default:"Draft"}},data:function(){return{fields:!1,isDisabled:this.isDisable,published:this.isPublish}},watch:{published:function(e){this.$store.commit(n.Yc.UPDATE_FORM_FIELD,{name:"published",value:e})}},computed:{switcherClasses:function(){return[this.isChecked?"switcher--active":""]},isChecked:function(){return this.published},checkedValue:{get:function(){return this.published},set:function(e){this.published=e}}},methods:{addListeners(){this.$nextTick((()=>{this.fields.forEach((e=>{e.removeEventListener("input",this.disable)})),this.fields=[...this.$parent.$el.querySelectorAll("input, textarea, select")],this.fields.forEach((e=>{e.addEventListener("input",(()=>{this.disable()}))}))}))},disable:function(){if(!this.fields)return this.isDisabled=!0,void this.$emit("disable",!0);const e=this.fields.filter((e=>e.getAttribute("required")));if(0===e.length)return this.isDisabled=!1,void this.$emit("disable",!1);const t=e.filter((function(e){return e.value.length>0}));if(t.length===e.length)return this.isDisabled=!1,void this.$emit("disable",!1);this.isDisabled=!0,this.$emit("disable",!0)}},mounted:function(){const e=this;this.fields=[...this.$parent.$el.querySelectorAll("input, textarea, select")],e.disable(),this.fields.length&&this.addListeners()},beforeDestroy:function(){const e=this;this.fields.length&&this.fields.forEach((function(t){t.removeEventListener("input",e.disable)}))}},r=o,l=i(1001),d=(0,l.Z)(r,s,a,!1,null,"376dc8cc",null),c=d.exports},2992:function(e,t,i){"use strict";i.d(t,{Z:function(){return d}});var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"paginate"},[t("p",{staticClass:"paginate__offset f--small"},[e._v(" "+e._s(e.$trans("listing.paginate.rows-per-page"))+" "),e.availableOffsets.length>1?[t("a17-dropdown",{ref:"paginateDropdown",attrs:{position:"bottom-right"}},[t("button",{staticClass:"paginate__button",on:{click:function(t){return e.$refs.paginateDropdown.toggle()}}},[e._v(e._s(e.newOffset))]),t("div",{attrs:{slot:"dropdown__content"},slot:"dropdown__content"},e._l(e.availableOffsets,(function(i){return t("button",{key:i,class:{dropdown__active:i===e.newOffset},attrs:{type:"button"},on:{click:function(t){return e.changeOffset(i)}}},[e._v(e._s(i))])})),0)])]:[e._v(" "+e._s(e.newOffset)+" ")]],2),e.max>1?t("div",{staticClass:"paginate__pages"},[t("p",{staticClass:"paginate__current f--small"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.newPageFormat,expression:"newPageFormat"}],staticClass:"form__input paginate__input",attrs:{type:"number",maxlength:"4"},domProps:{value:e.newPageFormat},on:{blur:e.formatPage,input:function(t){t.target.composing||(e.newPageFormat=t.target.value)}}}),e._v(" of "+e._s(e.max))]),t("button",{staticClass:"paginate__prev",attrs:{type:"button",disabled:e.value<=e.min},on:{click:e.previousPage}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"pagination_left"}})]),t("button",{staticClass:"paginate__next",attrs:{type:"button",disabled:e.value>=e.max},on:{click:e.nextPage}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"pagination_right"}})])]):e._e()])},a=[],n={name:"A17Paginate",props:{value:{type:Number,required:!0},offset:{type:Number,default:60},availableOffsets:{type:Array,default:function(){return[]}},min:{type:Number,default:1},max:{type:Number,required:!0}},data(){return{newOffset:this.offset}},computed:{newPageFormat:{get:function(){return this.value},set:function(e){return parseInt(e)}}},methods:{formatPage:function(e){let t=e.target.value;t=""!==t?parseInt(t):1,t>this.max&&(t=this.max),t<1&&(t=1),e.target.value=t,t!==this.value&&this.$emit("changePage",t)},changeOffset:function(e){this.newOffset=e,this.$emit("changeOffset",parseInt(this.newOffset))},previousPage:function(){this.$emit("changePage",parseInt(this.value-1))},nextPage:function(){this.$emit("changePage",parseInt(this.value+1))}}},o=n,r=i(1001),l=(0,r.Z)(o,s,a,!1,null,"7a3996c9",null),d=l.exports},4670:function(e,t,i){"use strict";var s=i(8963);const a=function(){const e=document.querySelectorAll("[data-medialib-btn]");function t(){window["TWILL"].vm&&window["TWILL"].vm.openFreeMediaLibrary()}e.length&&(0,s.Z)(e,(function(e){e.addEventListener("click",(function(i){i.preventDefault(),t(),e.blur()}))}))};t.Z=a},6214:function(e,t,i){"use strict";i.r(t);var s=i(629),a=i(3145),n=i(4622);t["default"]={props:{block:{type:Object},editorName:{type:String,required:!0}},computed:{blockIndex(){return this.block?this.getBlockIndex(this.block,this.editorName):0},isActive(){return!!(this.block&&Object.keys(this.activeBlock).length>0)&&this.block.id===this.activeBlock.id},...(0,s.rn)({activeBlock:e=>e.blocks.active}),...(0,s.Se)({getBlockIndex:"blockIndex"})},methods:{add(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;this.$store.commit(n.RG.ADD_BLOCK,{editorName:this.editorName,block:{id:this.setBlockID(),title:e.title,type:e.component,icon:e.icon,attributes:e.attributes},index:t})},edit(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.blockIndex;this.$store.commit(n.RG.ACTIVATE_BLOCK,{editorName:this.editorName,index:e})},unEdit(){this.$store.commit(n.RG.ACTIVATE_BLOCK,{editorName:this.editorName,index:-1})},move(e){this.blockIndex!==e&&this.$store.commit(n.RG.MOVE_BLOCK,{editorName:this.editorName,oldIndex:this.blockIndex,newIndex:e})},duplicate(){const e=Object.assign({},this.block);this.$store.commit(n.RG.DUPLICATE_BLOCK,{editorName:this.editorName,index:this.blockIndex,block:e,id:this.setBlockID()})},remove(){this.unEdit(),this.$store.commit(n.RG.DELETE_BLOCK,{editorName:this.editorName,index:this.blockIndex})},cloneBlock(){this.$store.dispatch(a.ZP.DUPLICATE_BLOCK,{editorName:this.editorName,futureIndex:this.blockIndex+1,block:this.block,id:Date.now()+Math.floor(1e3*Math.random())})},setBlockID(){return Date.now()+Math.floor(1e3*Math.random())}},render(){return this.$scopedSlots.default({block:this.block,blockIndex:this.blockIndex,add:this.add,edit:this.edit,unEdit:this.unEdit,isActive:this.isActive,remove:this.remove,move:this.move,duplicate:this.duplicate,cloneBlock:this.cloneBlock})}}},139:function(e,t,i){"use strict";i.r(t);var s=i(629),a=i(3145),n=i(4622);t["default"]={props:{editorName:{type:String,required:!0}},computed:{availableBlocks(){const e=this.editorName.split("|"),t=e[e.length-1];return this.getAvailableBlocks(t)},savedBlocks(){return this.blocks(this.editorName)},allSavedBlocks(){return this.used&&Object.keys(this.used).reduce(((e,t)=>e.concat(this.used[t])),[])},hasBlockActive(){return Object.keys(this.activeBlock).length>0},...(0,s.rn)({activeBlock:e=>e.blocks.active,used:e=>e.blocks.blocks,editorNames:e=>e.blocks.editorNames}),...(0,s.Se)({getAvailableBlocks:"availableBlocks",blocks:"blocks"})},methods:{reorderBlocks(e){this.$store.commit(n.RG.REORDER_BLOCKS,{editorName:this.editorName,value:e})},addBlock(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1;this.$store.commit(n.RG.ADD_BLOCK,{editorName:t,block:{...e,type:e.type||e.component},index:i})},moveBlock(e){let{oldIndex:t,newIndex:i}=e;this.$store.commit(n.RG.MOVE_BLOCK,{editorName:this.editorName,oldIndex:t,newIndex:i})},moveBlockToEditor(e,t,i,s){this.$store.dispatch(a.ZP.MOVE_BLOCK_TO_EDITOR,{block:e,editorName:t,index:i,futureIndex:s,id:Date.now()+Math.floor(1e3*Math.random())})},cloneBlock(e){let{block:t,index:i}=e;this.$store.dispatch(a.ZP.DUPLICATE_BLOCK,{editorName:this.editorName,futureIndex:i,block:t,id:Date.now()+Math.floor(1e3*Math.random())})}},render(){return this.$scopedSlots.default({availableBlocks:this.availableBlocks,savedBlocks:this.savedBlocks,reorderBlocks:this.reorderBlocks,moveBlock:this.moveBlock,editorNames:this.editorNames,hasBlockActive:this.hasBlockActive,allSavedBlocks:this.allSavedBlocks,activeBlock:this.activeBlock,addBlock:this.addBlock,moveBlockToEditor:this.moveBlockToEditor,cloneBlock:this.cloneBlock})}}},1095:function(e,t,i){"use strict";i.d(t,{wk:function(){return Se},_i:function(){return Ee},iC:function(){return we},ZP:function(){return Oe}});var s=function(){var e=this,t=e._self._c;return t("a17-dropdown",{ref:"rowSetupDropdown",attrs:{position:"bottom-right",fixed:!0}},[t("a17-button",{attrs:{variant:"icon"},on:{click:function(t){return e.$refs.rowSetupDropdown.toggle()}}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"more-dots"}})]),t("div",{attrs:{slot:"dropdown__content"},slot:"dropdown__content"},[e.row.hasOwnProperty("permalink")?t("a",{attrs:{href:e.row["permalink"],target:"_blank"}},[e._v("View permalink")]):e._e(),e.row.hasOwnProperty("edit")&&!e.row.hasOwnProperty("deleted")&&e.row["edit"]?t("a",{attrs:{href:e.editUrl},on:{click:function(t){return e.preventEditInPlace(t)}}},[e._v(e._s(e.$trans("listing.dropdown.edit","Edit")))]):e._e(),e.row.hasOwnProperty("published")&&!e.row.hasOwnProperty("deleted")?t("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.update("published")}}},[e._v(e._s(e.row["published"]?e.$trans("listing.dropdown.unpublish","Unpublish"):e.$trans("listing.dropdown.publish","Publish")))]):e._e(),e.row.hasOwnProperty("featured")&&!e.row.hasOwnProperty("deleted")?t("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.update("featured")}}},[e._v(e._s(e.row["featured"]?e.$trans("listing.dropdown.unfeature","Unfeature"):e.$trans("listing.dropdown.feature","Feature")))]):e._e(),e.row.duplicate&&!e.row.hasOwnProperty("deleted")?t("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.duplicateRow.apply(null,arguments)}}},[e._v(e._s(e.$trans("listing.dropdown.duplicate","Duplicate")))]):e._e(),e.row.hasOwnProperty("deleted")?t("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.restoreRow.apply(null,arguments)}}},[e._v(e._s(e.$trans("listing.dropdown.restore","Restore")))]):e._e(),e.row.hasOwnProperty("deleted")&&e.row.hasOwnProperty("destroyable")?t("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.destroyRow.apply(null,arguments)}}},[e._v(e._s(e.$trans("listing.dropdown.destroy","Destroy")))]):e.row.delete&&!e.row.hasOwnProperty("deleted")?t("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.deleteRow.apply(null,arguments)}}},[e._v(e._s(e.$trans("listing.dropdown.delete","Delete")))]):e._e()])],1)},a=[],n=i(325),o={name:"TableCellActions",mixins:[n.Z],methods:{update:function(e){this.$emit("update",{row:this.row,col:e})}}},r=o,l=i(1001),d=(0,l.Z)(r,s,a,!1,null,"13effc32",null),c=d.exports,u=function(){var e=this,t=e._self._c;return t("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.toggleBulk.apply(null,arguments)}}},[t("a17-checkbox",{attrs:{name:"bulkEdit",value:e.value,initialValue:e.initialValue}})],1)},h=[],p={name:"A17TableCellBulk",mixins:[n.Z],components:{},props:{value:{type:Number,required:!0},initialValue:{type:Array,required:!0}},methods:{toggleBulk:function(){this.update()}}},m=p,f=(0,l.Z)(m,u,h,!1,null,"39bc7724",null),g=f.exports,_=function(){var e=this,t=e._self._c;return t("span",[e.formatDateLabel.length>0?t("span",{staticClass:"tablecell__datePub",class:{"s--expired":e.formatDateLabel===e.textExpired}},[e._v(" "+e._s(e._f("formatDatatableDate")(e.startDate))+" "),e.endDate?[e._v("- "+e._s(e._f("formatDatatableDate")(e.endDate)))]:e._e(),t("br"),t("span",[e._v(e._s(e.formatDateLabel))])],2):t("span",[e.startDate?[e._v(" "+e._s(e._f("formatDatatableDate")(e.startDate))+" ")]:[e._v(" — ")]],2)])},b=[],v=i(3374),y=i.n(v),w=i(1633),E={name:"A17TableCellDates",mixins:[n.Z],data(){return{textExpired:this.$trans("publisher.expired"),textScheduled:this.$trans("publisher.scheduled")}},computed:{formatDateLabel:function(){let e="";const t=y()(this.startDate,new Date),i=this.endDate?y()(this.endDate,new Date):1;return this.startDate&&i<0?e=this.textExpired:t>0&&(e=this.textScheduled),e},startDate:function(){return this.row.hasOwnProperty("publish_start_date")?this.row.publish_start_date:""},endDate:function(){return this.row.hasOwnProperty("publish_end_date")?this.row.publish_end_date:""}},filters:w.Z},T=E,k=(0,l.Z)(T,_,b,!1,null,"01c55ed4",null),C=k.exports,A=function(e,t){return e("span",{staticClass:"tablecell__handle"})},x=[],S={name:"A17TableCellDraggable",mixins:[n.Z]},L=S,I=(0,l.Z)(L,A,x,!0,null,"5e2e3a3a",null),D=I.exports,M=function(){var e=this,t=e._self._c;return e.row.hasOwnProperty("featured")?t("span",{directives:[{name:"tooltip",rawName:"v-tooltip"}],staticClass:"tablecell__feature",class:{"tablecell__feature--active":e.row[e.colName]},attrs:{"data-tooltip-title":e.row.featured?"Unfeature":"Feature"},on:{click:function(t){return t.preventDefault(),e.toggleFeatured.apply(null,arguments)}}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"star-feature_active"}}),t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"star-feature"}})]):e._e()},O=[],P={name:"A17TableCellFeatured",mixins:[n.Z],methods:{toggleFeatured:function(){this.update()}}},B=P,R=(0,l.Z)(B,M,O,!1,null,"4b9e917c",null),N=R.exports,F=function(){var e=this,t=e._self._c;return e.col.hasOwnProperty("html")?t("a17-table-cell-html",e._b({on:{update:e.update,editInPlace:e.editInPlace}},"a17-table-cell-html",e.childProps,!1)):t("span",[e._v(e._s(e.row[e.colName]))])},$=[],U=function(){var e=this,t=e._self._c;return t("span",{ref:"cell",staticClass:"tablecell__raw",domProps:{innerHTML:e._s(e.row[e.colName])}})},V=[],Z={name:"A1TableCellHtml",mixins:[n.Z],mounted(){const e=this.$refs.cell.querySelector('a[data-edit="true"]');e&&e.addEventListener("click",this.preventEditInPlace)}},q=Z,W=(0,l.Z)(q,U,V,!1,null,null,null),H=W.exports,Y={name:"A17TableCellGeneric",mixins:[n.Z],computed:{childProps:function(){return this.$props}},components:{"a17-table-cell-html":H}},z=Y,K=(0,l.Z)(z,F,$,!1,null,"5babcbdd",null),j=K.exports,G=function(){var e=this,t=e._self._c;return t("span",[e._l(e.displayedLanguages,(function(i){return t("a",{key:i.value,staticClass:"tag tag--disabled",class:{"tag--enabled":i.published},attrs:{href:e.editWithLanguage(i)},on:{click:function(t){return e.editInPlace(t,i)}}},[e._v(" "+e._s(i.shortlabel)+" ")])})),e.languages.length>4?t("a",{staticClass:"more__languages f--small",attrs:{href:e.editWithLanguage(e.languages[0])},on:{click:function(t){return e.editInPlace(t,e.languages[0])}}},[e._v(" + "+e._s(e.languages.length-4)+" more ")]):e._e()],2)},X=[],Q={name:"A17TableCellLanguages",mixins:[n.Z],props:{languages:{type:Array,default:function(){return[]}}},computed:{displayedLanguages:function(){return this.languages.slice(0,4)}},methods:{editWithLanguage:function(e){const t={};return t.lang=e.value,this.editWithQuery(t)},editWithQuery:function(e){const t=[];for(const s in e)e.hasOwnProperty(s)&&t.push(encodeURIComponent(s)+"="+encodeURIComponent(e[s]));const i=t.length?"?"+t.join("&"):"";return"#"!==this.editUrl?this.editUrl+i:this.editUrl},editInPlace:function(e,t){this.$emit("editInPlace",e,t)}}},J=Q,ee=(0,l.Z)(J,G,X,!1,null,"9ab54676",null),te=ee.exports,ie=function(){var e=this,t=e._self._c;return t("span",{staticClass:"tablecell__nested-depth",style:e.cellWidth})},se=[],ae={name:"A17TableCellNested",mixins:[n.Z],props:{depth:{type:Number,default:0},offset:{type:Number,default:0}},computed:{cellWidth(){return this.depth>0?{width:80*this.depth-20-this.offset+"px"}:""}}},ne=ae,oe=(0,l.Z)(ne,ie,se,!1,null,"20294257",null),re=oe.exports,le=function(){var e=this,t=e._self._c;return e.row.hasOwnProperty("published")?t("span",{directives:[{name:"tooltip",rawName:"v-tooltip"}],staticClass:"tablecell__pubstate",class:{"tablecell__pubstate--live":e.row[e.colName]},attrs:{"data-tooltip-title":e.row.published?"Unpublish":"Publish"},on:{click:function(t){return t.preventDefault(),e.togglePublish.apply(null,arguments)}}}):e._e()},de=[],ce={name:"A17TableCellPublished",mixins:[n.Z],methods:{togglePublish:function(){this.update()}}},ue=ce,he=(0,l.Z)(ue,le,de,!1,null,"120b42fa",null),pe=he.exports,me=function(){var e=this,t=e._self._c;return t("div",{class:e.getThumbClasses},[t("a",{attrs:{href:!e.row.hasOwnProperty("deleted")&&e.editUrl},on:{click:function(t){!e.row.hasOwnProperty("deleted")&&e.preventEditInPlace(t)}}},["rounded"===e.col.variation?[t("a17-avatar",{attrs:{name:e.rowTitle,thumbnail:e.row[e.colName]}})]:[t("img",{attrs:{src:e.row[e.colName]}})]],2)])},fe=[],ge=i(8932),_e={name:"A17TableCellThumbNail",mixins:[n.Z],components:{"a17-avatar":ge.Z},computed:{rowTitle(){var e,t;return null!==(e=null!==(t=this.row.name)&&void 0!==t?t:this.row.title.replace(/<[^>]*>?/gm,""))&&void 0!==e?e:""},getThumbClasses(){return["tablecell__thumb",this.col.variation?"tablecell__thumb--".concat(this.col.variation):""]}}},be=_e,ve=(0,l.Z)(be,me,fe,!1,null,"3311a7fc",null),ye=ve.exports;const we=["draggable","bulk","languages","featured","published","thumbnail","publish_start_date","nested"],Ee="a17-table-cell-",Te=c,ke=g,Ce=C,Ae=N,xe=D,Se=te,Le=pe,Ie=j,De=re,Me=ye;var Oe={[Ee+"actions"]:Te,[Ee+"bulk"]:ke,[Ee+"publish_start_date"]:Ce,[Ee+"featured"]:Ae,[Ee+"draggable"]:xe,[Ee+"generic"]:Ie,[Ee+"languages"]:Se,[Ee+"published"]:Le,[Ee+"nested"]:De,[Ee+"thumbnail"]:Me}},2405:function(e,t,i){"use strict";var s=i(538),a=i(5340);const n=(e,t)=>!s["default"].options.components[e]&&s["default"].component(e,t),o=()=>{"undefined"!==typeof window["TWILL"].TWILL_BLOCKS_COMPONENTS&&window["TWILL"].TWILL_BLOCKS_COMPONENTS.map((e=>n(e,{template:"#"+e,mixins:[a.Z]})));const e=e=>"a17-".concat(e.match(/\w+/)[0].replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\s+/g,"-").toLowerCase()),t=i(9827);t.keys().map((i=>{const s=e(i.replace(/customs\//,""));return n(s,t(i).default)}));const o=i(9927);o.keys().map((t=>{const i=e(t);return n(i,o(t).default)}));const r=i(3848);r.keys().map((t=>{const i=e(t);return s["default"].component(i,r(t).default)}));const l=i(9764);l.keys().map((t=>{const i=e(t);return s["default"].component(i,l(t).default)}))};t.Z=o},1138:function(e,t,i){"use strict";i.d(t,{Z:function(){return A}});var s=i(538),a=i(248),n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"container search",class:{"search--dashboard":"dashboard"===e.type}},["dashboard"===e.type?t("transition",{attrs:{name:"fade_search-overlay"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.readyToShowResult,expression:"readyToShowResult"}],staticClass:"search__overlay",on:{click:e.toggleSearch}})]):e._e(),t("div",{staticClass:"search__input"},[t("input",{ref:"search",staticClass:"form__input",attrs:{type:"search",name:"search",autocomplete:"off",placeholder:e.placeholder},on:{input:e.onSearchInput}}),t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"search"}})]),t("transition",{attrs:{name:"fade_search-overlay"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.readyToShowResult,expression:"readyToShowResult"}],staticClass:"search__results"},[t("ul",[e._l(e.searchResults,(function(i){return t("li",{key:i.id},[t("a",{staticClass:"search__result",attrs:{href:i.href}},[t("div",{staticClass:"search__cell search__cell--thumb hide--xsmall"},[t("figure",{staticClass:"search__thumb"},[t("img",{attrs:{src:i.thumbnail}})])]),t("div",{staticClass:"search__cell search__cell--pubstate hide--xsmall"},[t("span",{staticClass:"search__pubstate",class:{"search__pubstate--live":i.published}})]),t("div",{staticClass:"search__cell"},[t("span",{staticClass:"search__title"},[e._v(e._s(i.title))]),i.date?t("p",{staticClass:"f--note"},[e._v(" "+e._s(i.activity)+" "),t("timeago",{attrs:{"auto-update":1,datetime:new Date(i.date)}}),e._v(" by "+e._s(i.author)+" "),t("span",{staticClass:"search__type"},[e._v(e._s(i.type))])],1):e._e()])])])})),t("li",{directives:[{name:"show",rawName:"v-show",value:e.loading,expression:"loading"}],staticClass:"search__no-result"},[e._v(" "+e._s(e.$trans("dashboard.search.loading","Loading…"))+" ")]),t("li",{directives:[{name:"show",rawName:"v-show",value:e.readyToShowResult&&!e.searchResults.length&&!e.loading,expression:"readyToShowResult && !searchResults.length && !loading"}],staticClass:"search__no-result"},[e._v(" "+e._s(e.$trans("dashboard.search.no-result","No results found."))+" ")])],2)])])],1)},o=[],r=i(9669),l=i.n(r),d=i(3279),c=i.n(d),u=i(3523);const h=document.documentElement,p=[u.Z.search,u.Z.overlay],m=l().CancelToken;let f=m.source();const g=document.querySelector(".header .header__title > a");let _;var b={name:"A17Search",props:{open:{type:Boolean,default:!1},opened:{type:Boolean,default:!1},placeholder:{type:String,default(){return this.$trans("dashboard.search-placeholder","Search everything…")}},endpoint:{type:String,default:null},type:{type:String,default:"header"}},data:function(){return{searchValue:"",loading:!1,readyToShowResult:!1,searchResults:[]}},watch:{open:function(){this.toggleSearch()},opened:function(){this.opened&&(_=this.$refs.search,_.focus())}},methods:{toggleSearch:function(){p.forEach((e=>{h.classList.toggle(e)})),this.open?document.addEventListener("keydown",this.handleKeyDown,!1):(this.$refs.search.blur(),this.searchResults=[],this.searchValue="",this.readyToShowResult=!1,document.removeEventListener("keydown",this.handleKeyDown,!1))},handleKeyDown:function(e){e.keyCode&&9===e.keyCode&&(e.shiftKey?document.activeElement.isEqualNode(g)&&(_.focus(),e.preventDefault()):document.activeElement.isEqualNode(_)&&(g.focus(),e.preventDefault()))},setLastFocusElement:function(){const e=this.searchResults.length;e?setTimeout((function(){_=document.querySelectorAll(".search__result")[e-1]}),1):_=this.$refs.search},fetchSearchResults:function(){const e=this,t={search:this.searchValue};this.loading?(f.cancel(),f=m.source()):this.loading=!0,this.readyToShowResult=!0,this.$http.get(this.endpoint,{params:t,cancelToken:f.token}).then((function(t){e.searchResults=t.data,e.loading=!1,e.setLastFocusElement()}),(function(t){l().isCancel(t)||(e.loading=!1)}))},onSearchInput:c()((function(e){this.searchValue=e.target.value,this.searchValue&&this.searchValue.length>0?("dashboard"===this.type&&p.forEach((e=>{h.classList.add(e)})),this.fetchSearchResults()):("dashboard"===this.type&&p.forEach((e=>{h.classList.remove(e)})),this.readyToShowResult=!1,this.searchResults=[],this.setLastFocusElement())}),300)}},v=b,y=i(1001),w=(0,y.Z)(v,n,o,!1,null,"2e1cd2e2",null),E=w.exports;s["default"].use(a.Z);const T="searchApp",k={el:"#searchApp",components:{"a17-search":E},props:{topSpacing:{type:Number,default:60}},data:function(){return{open:!1,opened:!1,top:this.topSpacing}},computed:{positionStyle:function(){return{top:this.top+"px"}}},methods:{afterAnimate:function(){this.opened=!0},toggleSearch:function(){this.open=!this.open,this.top=this.topSpacing-(window.pageYOffset||document.documentElement.scrollTop),this.open?document.addEventListener("keydown",this.handleKeyDown,!1):(this.opened=!1,document.removeEventListener("keydown",this.handleKeyDown,!1))},handleKeyDown:function(e){e.keyCode&&27===e.keyCode&&this.toggleSearch()}}},C=!!document.getElementById(T)&&new s["default"](k);var A=C},2357:function(e,t,i){"use strict";i.d(t,{Z:function(){return v}});var s=i(538),a=i(8963);const n=function(){let e=!1,t=!1,i=0;const s=document.documentElement,n=document.querySelector("[data-header-mobile]"),o=document.querySelector(".ham"),r=document.querySelectorAll("[data-ham-btn]"),l=document.querySelectorAll("[data-closenav-btn]"),d=document.querySelector(".a17"),c="s--nav";function u(){return!e&&(!t&&(e=!0,i=window.pageYOffset,s.classList.add(c),d.style.top="-"+i+"px",o.style.top="-"+i+"px",n.style.top="-"+i+"px",document.addEventListener("keydown",p,!1),t=!0,void(e=!1)))}function h(){return!e&&(!!t&&(e=!0,s.classList.remove(c),d.style.top="",o.style.top="",n.style.top="",document.removeEventListener("keydown",p,!1),window.scrollTo(0,i),i=0,t=!1,void(e=!1)))}function p(e){27===e.keyCode&&t&&h()}r.length&&(0,a.Z)(r,(function(e){e.addEventListener("click",(function(i){t?h():u(),e.blur()}))})),l.length&&(0,a.Z)(l,(function(e){e.addEventListener("click",(function(i){t&&h(),e.blur()}))}))};var o=n,r=i(3279),l=i.n(r);const d=function(){let e=0,t=!1;const i=167,s=document.documentElement,a="s--env";function n(){e=window.pageYOffset,t||window.requestAnimationFrame((function(){o()})),t=!0}function o(){e>i?s.classList.add(a):s.classList.remove(a),t=!1}window.addEventListener("scroll",(function(){n()})),window.addEventListener("resize",l()((function(){n()}))),n()};var c=d;const u=function(){const e=document.querySelector("[data-logout-form]");e&&document.body.addEventListener("click",(t=>{t.target.hasAttribute("data-logout-btn")&&(t.preventDefault(),e.submit())}))};var h=u,p=i(1138),m=i(3857),f=i.n(m),g=i(4306),_=i(3550);e=i.hmd(e);const b=function(){o(),c(),h()};e&&e.hot,g.Z.plugin(_.Z),window.Alpine=g.Z,g.Z.start(),window["TWILL"]||(window["TWILL"]={}),window["TWILL"].vheader=new s["default"]({el:"#headerUser"}),window["TWILL"].vsearch=p.Z,console.log("","Made with ".concat("TWILL"," - v").concat(window["TWILL"].version)),f()(window["TWILL"].STORE,window.STORE);var v=b},6193:function(e,t,i){"use strict";var s=i(629);t.Z={props:{name:{type:String,default:""},addNew:{type:String,default:""},options:{type:Array,default:function(){return[]}}},computed:{fullOptions:function(){const e=this.optionsByName(this.name),t=this.options;return Array.isArray(e)&&e.forEach((function(e){const i=t.findIndex((t=>t.value===e.value));-1===i&&t.push(e)})),e.length?t:this.options},...(0,s.Se)(["optionsByName"])}}},5340:function(e,t){"use strict";t.Z={props:{name:{type:String,required:!0},isOpen:{type:Boolean,default:!1}},data:function(){return{opened:this.isOpen}},methods:{open:function(){this.opened=!0},fieldName:function(e){return this.name+"["+e+"]"},repeaterName:function(e){return this.name.replace("[","-").replace("]","")+"|"+e},nestedEditorName:function(e){return this.name.replace("[","-").replace("]","")+"|"+e}}}},5445:function(e,t){"use strict";t.Z={props:{buckets:{type:Array,default:()=>[]},item:{type:Object},singleBucket:{type:Boolean,default:!0}},computed:{bucketClasses:function(){return{selected:"bucket"!==this.type&&this.inBuckets,single:this.singleBucket}}},methods:{addToBucket:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.bucket;this.$emit("add-to-bucket",this.item,e)},inBucketById:function(e){const t=this.buckets.findIndex((t=>t.id===e));if(-1===t)return;const i=this.buckets[t].children.find((e=>e.id===this.item.id&&e.content_type.value===this.item.content_type.value));return!!i},restrictedBySource:function(e){const t=this.buckets.find((t=>t.id===e));if(!t)return!1;if(!t.hasOwnProperty("acceptedSources"))return!0;if(0===t.acceptedSources.length)return!0;const i=this.item.content_type.value;return-1!==t.acceptedSources.findIndex((e=>e===i))}}}},2544:function(e,t,i){"use strict";var s=i(8446),a=i.n(s);t.Z={props:{min:{type:Number,default:0},max:{type:Number,default:0},disabled:{type:Boolean,default:!1},selected:{type:Array,default:function(){return[]}}},data:function(){return{currentValue:this.selected}},watch:{selected:function(e){this.currentValue=e}},computed:{checkedValue:{get:function(){return this.currentValue},set:function(e){a()(e,this.currentValue)||(this.currentValue=e,"undefined"!==typeof this.saveIntoStore&&this.saveIntoStore(e),this.$emit("change",e))}}},methods:{isMax:function(e){return e.length>this.max&&this.max>0},isMin:function(e){return e.length0}}}},5602:function(e,t){"use strict";t.Z={props:{aspectRatio:{type:Number,default:null},viewMode:{type:Number,default:2},cropBoxMovable:{type:Boolean,default:!0},cropBoxResizable:{type:Boolean,default:!0},dragMode:{type:String,default:"crop"},rotatable:{type:Boolean,default:!1},scalable:{type:Boolean,default:!1},zoomable:{type:Boolean,default:!1}},computed:{defaultCropsOpts:function(){return{aspectRatio:this.initAspectRatio,viewMode:this.viewMode,cropBoxResizable:this.cropBoxResizable,cropBoxMovable:this.cropBoxMovable,dragMode:this.dragMode,rotatable:this.rotatable,scalable:this.scalable,zoomable:this.zoomable,guides:!1,center:!1,checkCrossOrigin:!1,background:!1}}}}},8382:function(e,t){"use strict";t.Z={props:{draggable:{type:Boolean,default:!0}},data:function(){return{animation:150,handle:".drag__handle",ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",scrollSensitivity:30}},computed:{dragOptions:function(){return{animation:this.animation,handle:this.handle,ghostClass:this.ghostClass,chosenClass:this.chosenClass,dragClass:this.dragClass,scrollSensitivity:this.scrollSensitivity,disabled:!this.draggable}}}}},4084:function(e,t){"use strict";t.Z={methods:{openEditor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.$root.$refs.editor&&this.$root.$refs.editor.open(e,t)}}}},2240:function(e,t,i){"use strict";var s=i(8446),a=i.n(s),n=i(629),o=i(4622);t.Z={props:{hasDefaultStore:{type:Boolean,default:!1},inModal:{type:Boolean,default:!1},inStore:{type:String,default:""},fieldName:{type:String,default:""}},computed:{storedValue:function(){return this.inModal?this.modalFieldValueByName(this.getFieldName()):this.fieldValueByName(this.getFieldName())},...(0,n.Se)(["fieldValueByName","modalFieldValueByName"]),...(0,n.rn)({submitting:e=>e.form.loading,fields:e=>e.form.fields,modalFields:e=>e.form.modalFields})},watch:{storedValue:function(e){if(""===this.inStore)return;const t=this[this.inStore],i=this.locale?e[this.locale.value]:e;a()(t,i)||"undefined"!==typeof this.updateFromStore&&this.updateFromStore(i)}},methods:{getFieldName:function(){return""!==this.fieldName?this.fieldName:this.name},saveIntoStore:function(e){if(""===this.inStore)return;let t="";t=e||this[this.inStore];const i={};i.name=this.getFieldName(),i.value=t,this.locale&&(i.locale=this.locale.value),this.inModal?this.$store.commit(o.Yc.UPDATE_MODAL_FIELD,i):this.$store.commit(o.Yc.UPDATE_FORM_FIELD,i)},preventSubmit:function(){this.$store.commit(o.Yc.PREVENT_SUBMIT)},allowSubmit:function(){this.$store.commit(o.Yc.ALLOW_SUBMIT)},destroyValue:function(){""!==this.inStore&&(this.inModal?this.$store.commit(o.Yc.REMOVE_MODAL_FIELD,this.getFieldName()):this.$store.commit(o.Yc.REMOVE_FORM_FIELD,this.getFieldName()))}},beforeMount:function(){const e=this.getFieldName();if(""===this.inStore)return;if(""===e)return;const t=this.inModal?this.modalFields:this.fields,i=t.filter((function(t){return t.name===e}));i.length?this.locale?this[this.inStore]=i[0].value[this.locale.value]:this[this.inStore]=i[0].value:this.hasDefaultStore&&this.saveIntoStore()}}},1483:function(e,t,i){"use strict";var s=i(629),a=i(4622),n=i(1633);t.Z={filters:n.Z,computed:{...(0,s.rn)({currentLocale:e=>e.language.active})},methods:{formatPermalink:function(e){const t=this.$refs.permalink;if(t&&e){let i="";e.value&&"string"===typeof e.value?i=e.value:"string"===typeof e&&(i=e);const s=this.$options.filters.slugify(i),n={name:t.attributes?t.attributes.name:t.name,value:s};e.locale?n.locale=e.locale:n.locale=this.currentLocale.value,this.$store.commit(a.Yc.UPDATE_FORM_FIELD,n)}}}}},4690:function(e,t,i){"use strict";i.d(t,{R0:function(){return s},NF:function(){return o},BN:function(){return c},xY:function(){return p},tD:function(){return m.Z},Rb:function(){return f.Z},dx:function(){return g.Z},KS:function(){return _}});i(6193),i(5340);var s={props:{block:{type:Object,default:()=>{}},blockIndex:{type:Number,default:0},blocksLength:{type:Number,default:0}},methods:{selectBlock(){this.$emit("block:select")},unselectBlock(){this.$emit("block:unselect")},deleteBlock(){this.$emit("block:delete")},moveBlock(e){this.$emit("block:move",e)},cloneBlock(){this.$emit("block:clone")},toggleBlockDropdown(){this.blocksLength>1&&this.$refs.blockDropdown&&this.$refs.blockDropdown.toggle()}}},a=i(361),n=i.n(a),o={props:{editorName:{type:String,required:!0},blocks:{type:Array,default:()=>[]},savedBlocksLength:{type:Number,default:0}},methods:{addAndEditBlock(e,t,i){let{block:s,index:a}=i;window["TWILL"].PREVSTATE=n()(this.$store.state),e(s,a),t(a)},saveBlock(e,t){window["TWILL"].hasOwnProperty("PREVSTATE")&&delete window["TWILL"].PREVSTATE,this.unselectBlock(e,t),this.$emit("block:save",t)},cancelBlock(e,t){window["TWILL"].hasOwnProperty("PREVSTATE")&&(console.warn("Store - Restore previous Store state"),this.$store.replaceState(window["TWILL"].PREVSTATE)),this.unselectBlock(e,t),this.$emit("block:cancel",t)},selectBlock(e,t){window["TWILL"].PREVSTATE=n()(this.$store.state),e(),this.$emit("block:select",t)},unselectBlock(e,t){e(),window["TWILL"].hasOwnProperty("PREVSTATE")&&delete window["TWILL"].PREVSTATE,this.$emit("block:unselect",t)},moveBlock(e){this.$emit("block:move",e)},cloneBlock(e){e(),this.$emit("block:clone")},deleteBlock(e){this.$root.$refs.warningContentEditor?this.$root.$refs.warningContentEditor.open((()=>{e(),this.$emit("block:delete")})):(e(),this.$emit("block:delete"))}}},r=(i(5445),i(2544),i(5602),i(629)),l=i(3145),d=i(4622),c={props:{nested:{type:Boolean,default:!1},bulkeditable:{type:Boolean,default:!0},emptyMessage:{type:String,default:""}},computed:{rows:{get(){return this.$store.state.datatable.data},set(e){const t=this.rows.length!==e.length;this.$store.commit(d.yY.UPDATE_DATATABLE_DATA,e),this.saveNewTree(t)}},isEmpty:function(){return this.rows.length<=0},isEmptyDatable:function(){return{"datatable__table--empty":this.isEmpty}},...(0,r.rn)({columns:e=>e.datatable.columns}),...(0,r.Se)(["visibleColumns","hideableColumns","visibleColumnsNames"])},methods:{saveNewTree:function(e){const t=!!e||this.nested,i=t?l.ZP.SET_DATATABLE_NESTED:l.ZP.SET_DATATABLE,s=()=>{this.$store.commit(d.yY.UPDATE_DATATABLE_TRACKER,0),this.$store.dispatch(i)};e?(this.$store.commit(d.yY.UPDATE_DATATABLE_TRACKER,1),this.updateTracker>=2&&s()):s()}}},u=i(1095),h=i(484),p={props:{index:{type:Number,default:0},row:{type:Object,default:function(){return{}}},columns:{type:Array,default:function(){return[]}}},computed:{editInModal:function(){return!!this.row.hasOwnProperty("editInModal")&&this.row.editInModal},editUrl:function(){return this.row.hasOwnProperty("edit")?this.row.edit:"#"},updateUrl:function(){return this.row.updateUrl?this.row.updateUrl:"#"},...(0,r.rn)({bulkIds:e=>e.datatable.bulk})},methods:{currentComponent(e){var t;return"object"===typeof e?u._i+(null!==(t=e.specificType)&&void 0!==t?t:e.name.toLowerCase()):u._i+e},currentComponentProps(e){const t={col:e||{},row:this.row,editUrl:this.editUrl,editInModal:Boolean(this.editInModal)};if(!e)return t;switch(e.name){case"bulk":t.value=this.row.id,t.initialValue=this.bulkIds;break;case"languages":t.languages=this.row.hasOwnProperty("languages")?this.row.languages:[],t.editUrl=this.editUrl;break;case"publish_start_date":t.startDate="",t.endDate="";break;default:break}return t},editInPlace:function(e){if(e.lang){const t=e.lang;this.$store.commit(d.ad.UPDATE_LANG,t.value)}if(this.editInModal){const e=this.editInModal;this.$store.commit(d.DF.UPDATE_MODAL_MODE,"update"),this.$store.commit(d.DF.UPDATE_MODAL_ACTION,this.updateUrl),this.$store.commit(d.Yc.UPDATE_FORM_LOADING,!0),this.$store.dispatch(l.ZP.REPLACE_FORM,e).then((()=>{this.$nextTick((function(){this.$root.$refs.editionModal&&this.$root.$refs.editionModal.open()}))}),(e=>{this.$store.commit(h.ZP.SET_NOTIF,{message:"Your content can not be edited, please retry",variant:"error"})}))}},cellClasses:function(e,t){return{[t+"--icon"]:"featured"===e.name||"published"===e.name,[t+"--bulk"]:"bulk"===e.name,[t+"--thumb"]:"thumbnail"===e.name,[t+"--draggable"]:"draggable"===e.name,[t+"--languages"]:"languages"===e.name,[t+"--nested"]:"nested"===e.name,[t+"--nested--parent"]:"nested"===e.name&&0===this.nestedDepth}},isSpecificColumn:function(e){var t;return u.iC.includes(null!==(t=e.specificType)&&void 0!==t?t:e.name)},tableCellUpdate:function(e){switch(e.col){case"published":this.togglePublish(e.row);break;case"bulk":this.toggleBulk(e.row);break;case"featured":this.toggleFeatured(e.row);break}},toggleFeatured:function(e){e.hasOwnProperty("deleted")?this.$store.commit(h.ZP.SET_NOTIF,{message:"You can’t feature/unfeature a deleted item, please restore it first.",variant:"error"}):this.$store.dispatch(l.ZP.TOGGLE_FEATURE,e)},toggleBulk:function(e){this.$store.commit(d.yY.UPDATE_DATATABLE_BULK,e.id)},togglePublish:function(e){e.hasOwnProperty("deleted")?this.$store.commit(h.ZP.SET_NOTIF,{message:"You can’t publish/unpublish a deleted item, please restore it first.",variant:"error"}):this.$store.dispatch(l.ZP.TOGGLE_PUBLISH,e)},restoreRow:function(e){this.$store.dispatch(l.ZP.RESTORE_ROW,e)},destroyRow:function(e){this.$root.$refs.warningDestroyRow?this.$root.$refs.warningDestroyRow.open((()=>{this.$store.dispatch(l.ZP.DESTROY_ROW,e)})):this.$store.dispatch(l.ZP.DESTROY_ROW,e)},deleteRow:function(e){this.$root.$refs.warningDeleteRow?this.$root.$refs.warningDeleteRow.open((()=>{this.$store.dispatch(l.ZP.DELETE_ROW,e)})):this.$store.dispatch(l.ZP.DELETE_ROW,e)},duplicateRow:function(e){this.$store.dispatch(l.ZP.DUPLICATE_ROW,e)}}},m=i(8382),f=i(4084),g=i(1483),_=(i(2240),i(35),i(6830),i(8348),i(9160),i(1017),{props:{nested:{type:Boolean,default:!1},maxDepth:{type:Number,default:1},depth:{type:Number,default:0},name:{type:String,default:"group1"},parentId:{type:Number,default:-1}},data(){return{currentElDepth:void 0}},computed:{updateTracker(){return this.$store.state.datatable.updateTracker},draggableGetComponentData:function(){return{props:{depth:this.depth}}}}});i(9464),i(325),i(9996)},35:function(e,t){"use strict";t.Z={props:{autofocus:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:""},direction:{type:String,default:"auto"},name:{default:""},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},autocomplete:{type:String,default:"on"}}}},6830:function(e,t){"use strict";function i(e){const t=e.length;return e.reduce((function(e,i,s){return e+(s-1===t?", ":" and ")+i}))}t.Z={props:{label:{type:String,default:""},labelFor:{type:String,default:""},size:{type:String,default:"large"},variant:{type:String,default:""},fixedErrorKey:{type:String},note:{type:String,default:""}},computed:{errorKey(){return this.fixedErrorKey?this.hasLocale?this.fixedErrorKey.replace("[",".").replace("]",""):this.fixedErrorKey:this.hasLocale?this.name.replace("[",".").replace("]",""):this.name},errorLocales(){if(!this.hasLocale)return[];const e=this.errorKey.substr(0,this.errorKey.indexOf(".")),t=[],i=this.$store.state.language.all.map((e=>e.value));return Object.keys(this.$store.state.form.errors).forEach((s=>{if(s.substr(0,s.indexOf("."))===e){const e=s.substr(s.indexOf(".")+1,s.length);i.includes(e)&&t.push(e)}}),[]),t},otherLocalesError(){return this.errorLocales.filter((e=>e!==this.currentLocale.value)).length},errorMessageLocales(){return i(this.errorLocales.map((e=>this.languages.find((t=>t.value===e)).label)))+" language"+(this.errorLocales.length>1?"s":"")+" missing details."},errorMessage(){return this.error?this.$store.state.form.errors[this.errorKey][0]:""},error(){return!!this.$store.state.form&&Object.keys(this.$store.state.form.errors).includes(this.errorKey)}}}},8348:function(e,t,i){"use strict";var s=i(629);t.Z={props:{locale:{default:null}},computed:{hasLocale:function(){return null!=this.locale},hasCurrentLocale:function(){return null!=this.currentLocale},isCurrentLocale:function(){return!this.hasLocale||!this.hasCurrentLocale||this.locale.value===this.currentLocale.value},isLocaleRTL:function(){const e=["ar","arc","dv","fa","ha","he","khw","ks","ku","ps","ur","yi"];return!!this.hasLocale&&e.includes(this.locale.shortlabel.toLowerCase())},dirLocale:function(){return this.direction&&"auto"!==this.direction?this.direction:this.isLocaleRTL?"rtl":"auto"},displayedLocale:function(){return!!this.hasLocale&&this.locale.shortlabel},...(0,s.rn)({currentLocale:e=>e.language.active,languages:e=>e.language.all})},methods:{onClickLocale:function(){this.$emit("localize",this.locale)},updateLocale:function(e){this.$emit("localize",e)}}}},9160:function(e,t,i){"use strict";var s=i(629);t.Z={props:{items:{type:Array,default:()=>[]},selectedItems:{type:Array,default:()=>[]},usedItems:{type:Array,default:()=>[]}},computed:{...(0,s.rn)({itemsLoading:e=>e.mediaLibrary.loading}),replacingMediaIds:function(){return this.itemsLoading.reduce(((e,t)=>(t.isReplacement&&(e[t.replacementId]=t.id),e)),{})}},methods:{isSelected:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["id"];return Boolean(this.selectedItems.find((i=>t.every((t=>i[t]===e[t])))))},isUsed:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["id"];return Boolean(this.usedItems.find((i=>t.every((t=>i[t]===e[t])))))},toggleSelection:function(e){this.$emit("change",e)},shiftToggleSelection:function(e){this.$emit("shiftChange",e,!0)}}}},1017:function(e,t,i){"use strict";var s=i(4622);t.Z={props:{type:{type:String,default:"image"}},methods:{openMediaLibrary:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.name,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1;this.$store.commit(s.CV.UPDATE_MEDIA_CONNECTOR,t),this.$store.commit(s.CV.UPDATE_MEDIA_TYPE,this.type),this.$store.commit(s.CV.UPDATE_REPLACE_INDEX,i),this.$store.commit(s.CV.UPDATE_MEDIA_MAX,e),this.$store.commit(s.CV.UPDATE_MEDIA_MODE,!0),this.$store.commit(s.CV.UPDATE_MEDIA_FILESIZE_MAX,this.filesizeMax||0),this.$store.commit(s.CV.UPDATE_MEDIA_WIDTH_MIN,this.widthMin||0),this.$store.commit(s.CV.UPDATE_MEDIA_HEIGHT_MIN,this.heightMin||0),this.$root.$refs.mediaLibrary&&this.$root.$refs.mediaLibrary.open()}}}},9464:function(e,t){"use strict";t.Z={data:function(){return{randKey:Date.now()+Math.floor(9999*Math.random())}}}},5512:function(e,t,i){"use strict";var s=i(629);t.Z={data:function(){return{shouldRetrySubmitWhenAllowed:!1}},computed:{...(0,s.rn)({isSubmitPrevented:e=>e.form.isSubmitPrevented})},watch:{isSubmitPrevented:function(e){!e&&this.shouldRetrySubmitWhenAllowed&&(this.shouldRetrySubmitWhenAllowed=!1,this.retrySubmit())}},methods:{retrySubmit:function(){this.submitForm?this.submitForm():this.submit&&this.submit()}}}},325:function(e,t){"use strict";t.Z={props:{col:{type:Object,default:()=>{}},row:{type:Object,default:()=>{}},editUrl:{type:String,default:"#"},editInModal:{type:Boolean,default:!1}},computed:{colName:function(){return this.col.hasOwnProperty("name")?this.col.name:""}},methods:{update:function(){this.$emit("update",{row:this.row,col:this.colName})},preventEditInPlace:function(e){this.editInModal&&e.preventDefault(),this.editInPlace()},editInPlace:function(e,t){this.$emit("editInPlace",{event:e,lang:t})},restoreRow:function(){this.$emit("restoreRow",this.row)},destroyRow:function(){this.$emit("destroyRow",this.row)},deleteRow:function(){this.$emit("deleteRow",this.row)},duplicateRow:function(){this.$emit("duplicateRow",this.row)}}}},9996:function(e,t){"use strict";t.Z={props:{open:{type:Boolean,default:!1}},data:function(){return{visible:this.open}},computed:{visibilityClasses:function(){return{"s--open":this.visible}}},methods:{onClickVisibility:function(){this.visible=!this.visible,this.$emit("toggleVisibility",this.visible)}}}},248:function(e,t,i){"use strict";i.d(t,{Z:function(){return Ln}});var s,a,n=i(9669),o=i.n(n),r=i(7361),l=i.n(r),d=i(6604),c=i.n(d),u=i(2987),h=i(8932),p=function(){var e=this,t=e._self._c;return t("div",{staticClass:"browserField"},[e.buttonOnTop&&e.remainingItems?t("div",{staticClass:"browserField__trigger"},[t("a17-button",{attrs:{type:"button",disabled:e.disabled||e.connectedBrowserField&&0===e.connectedBrowserFieldItems.length,variant:"ghost"},on:{click:e.openBrowser}},[e._v(" "+e._s(e.addLabel)+" ")]),t("input",{attrs:{type:"hidden",name:e.name},domProps:{value:e.itemsIds}}),t("span",{staticClass:"browserField__note f--small"},[e._t("default")],2)],1):e._e(),e.items.length?t("table",{staticClass:"browserField__table"},[t("draggable",{attrs:{tag:"tbody",disabled:e.disabled},model:{value:e.items,callback:function(t){e.items=t},expression:"items"}},e._l(e.items,(function(i,s){return t("a17-browseritem",{key:i.endpointType+"_"+i.id,staticClass:"item__content",attrs:{name:"".concat(e.name,"_").concat(i.id),draggable:!e.disabled&&e.draggable,item:i,disabled:e.disabled,max:e.max,showType:e.endpoints.length>0},on:{delete:function(t){return e.deleteItem(s)}}})})),1)],1):e._e(),!e.buttonOnTop&&e.remainingItems?t("div",{staticClass:"browserField__trigger"},[t("a17-button",{attrs:{type:"button",disabled:e.disabled||e.connectedBrowserField&&0===e.connectedBrowserFieldItems.length,variant:"ghost"},on:{click:e.openBrowser}},[e._v(" "+e._s(e.addLabel)+" ")]),t("input",{attrs:{type:"hidden",name:e.name},domProps:{value:e.itemsIds}}),t("span",{staticClass:"browserField__note f--small"},[e._t("default")],2)],1):e._e()])},m=[],f=i(9980),g=i.n(f),_=i(629),b=i(8382),v=i(4622),y=function(){var e=this,t=e._self._c;return t("tr",{staticClass:"browserItem"},[e.draggable&&e.max>1?t("td",{staticClass:"browserItem__cell browserItem__cell--drag"},[t("div",{class:e.dragClasses})]):e._e(),e.hasThumbnail?t("td",{class:e.thumbnailClasses},[e.isUser?[t("a17-avatar",{attrs:{name:e.currentItem.name,thumbnail:e.currentItem.thumbnail}})]:[t("a",{attrs:{href:"#",target:"_blank"}},[t("img",{attrs:{src:e.currentItem.thumbnail}})])]],2):e._e(),t("td",{staticClass:"browserItem__cell browserItem__cell--name"},[t("a",{attrs:{href:e.currentItem.edit,target:"_blank"}},[e.currentItem.hasOwnProperty("renderHtml")?t("span",{staticClass:"f--link-underlined--o",domProps:{innerHTML:e._s(e.currentItem.name)}}):t("span",{staticClass:"f--link-underlined--o"},[e._v(e._s(e.currentItem.name))])]),t("input",{attrs:{type:"hidden",name:e.name},domProps:{value:e.currentItem.id}})]),e.currentItem.hasOwnProperty("endpointType")&&e.showType?t("td",{staticClass:"browserItem__cell browserItem__cell--type"},[t("span",[e._v(e._s(e.currentItem.endpointType))])]):e._e(),e.deletable?t("td",{staticClass:"browserItem__cell browserItem__cell--icon"},[e.disabled?e._e():t("a17-button",{staticClass:"bucket__action",attrs:{icon:"close"},on:{click:function(t){return e.deleteItem()}}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"close_icon"}})])],1):e._e()])},w=[],E={name:"A17BrowserItem",props:{name:{type:String,required:!0},draggable:{type:Boolean,default:!1},item:{type:Object,default:function(){return{}}},max:{type:Number,default:10},showType:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},data:function(){return{handle:".item__handle"}},computed:{hasThumbnail:function(){return Boolean(this.currentItem.hasOwnProperty("thumbnail"))},hasLargeThumbnail:function(){return this.hasThumbnail&&!this.isUser},isUser:function(){return Boolean("users"===this.currentItem.endpointType)},dragClasses:function(){return["drag__handle--drag",this.hasLargeThumbnail?"":"drag__handle--drag-small"]},thumbnailClasses:function(){return["browserItem__cell","browserItem__cell--thumb",this.isUser?"browserItem__cell--thumb-avatar":""]},currentItem:function(){return this.item},deletable:function(){return!this.currentItem.hasOwnProperty("deletable")||!0===this.currentItem.deletable}},methods:{deleteItem:function(){this.$emit("delete")}}},T=E,k=i(1001),C=(0,k.Z)(T,y,w,!1,null,"19917f52",null),A=C.exports,x={name:"A17BrowserField",components:{"a17-browseritem":A,draggable:g()},mixins:[b.Z],props:{name:{type:String,required:!0},modalTitle:{type:String,default:""},browserNote:{type:String,default:""},itemLabel:{type:String,default:"Item"},endpoint:{type:String,default:""},endpoints:{type:Array,default:()=>[]},draggable:{type:Boolean,default:!0},max:{type:Number,default:10},wide:{type:Boolean,default:!1},buttonOnTop:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},connectedBrowserField:{type:String,defautl:null}},data:function(){return{handle:".item__handle"}},computed:{remainingItems:function(){return this.max-this.items.length},addLabel:function(){return this.$trans("fields.browser.add-label","Add")+" "+this.itemLabel},browserTitle:function(){return""!==this.modalTitle?this.modalTitle:this.addLabel},items:{get(){return this.selectedBrowser.hasOwnProperty(this.name)&&this.selectedBrowser[this.name]||[]},set(e){this.$store.commit(v.Uv.REORDER_ITEMS,{name:this.name,items:e})}},itemsIds:function(){return this.selectedItemsByIds[this.name]?this.selectedItemsByIds[this.name].join():""},connectedBrowserFieldItems:function(){return this.selectedBrowser[this.connectedBrowserField]||[]},...(0,_.rn)({selectedBrowser:e=>e.browser.selected}),...(0,_.Se)(["selectedItemsByIds"])},methods:{deleteAll:function(){this.$store.commit(v.Uv.DESTROY_ITEMS,{name:this.name})},deleteItem:function(e){this.$store.commit(v.Uv.DESTROY_ITEM,{name:this.name,index:e})},openBrowser:function(){if(this.$store.commit(v.Uv.UPDATE_BROWSER_CONNECTOR,this.name),this.endpoints.length>0)this.$store.commit(v.Uv.UPDATE_BROWSER_ENDPOINTS,this.endpoints);else{this.$store.commit(v.Uv.DESTROY_BROWSER_ENDPOINTS);let e=this.endpoint;if(this.connectedBrowserFieldItems.length){let t="?";e.indexOf("?")>-1&&(t="&"),e=e+t+"connectedBrowserIds= "+encodeURIComponent(JSON.stringify(this.connectedBrowserFieldItems.map((e=>e.id))))}this.$store.commit(v.Uv.UPDATE_BROWSER_ENDPOINT,{value:e,label:this.name})}this.$store.commit(v.Uv.UPDATE_BROWSER_MAX,this.max),this.$store.commit(v.Uv.UPDATE_BROWSER_TITLE,this.browserTitle),this.$store.commit(v.Uv.UPDATE_BROWSER_NOTE,this.browserNote),this.wide?this.$root.$refs.browserWide.open(this.endpoints.length<=0):this.$root.$refs.browser.open(this.endpoints.length<=0)},destroyValue:function(){this.deleteAll()}},watch:{connectedBrowserFieldItems(e){this.connectedBrowserField&&0===e.length&&this.deleteAll()}}},S=x,L=(0,k.Z)(S,p,m,!1,null,"0ddc4be5",null),I=L.exports,D={name:"A17Button",props:{el:{type:String,default:"button"},type:{type:String,default:"button"},href:{type:String,default:""},target:{type:String,default:""},download:{type:String,default:""},rel:{type:String,default:""},variant:{type:String,default:""},icon:{default:""},disabled:{type:Boolean,default:!1},size:{type:String,default:""}},computed:{buttonClasses:function(){const e=["button",this.size?"button--".concat(this.size):""];return this.variant&&this.variant.split(" ").forEach((t=>{e.push("button--".concat(t))})),this.icon&&e.push("button--icon button--".concat(this.icon)),e}},methods:{onClick:function(e){this.$emit("click")}},render:function(e){const t={class:this.buttonClasses,attrs:{},on:{click:e=>{this.onClick(e)}}};return"button"===this.el&&(t.attrs.type=this.type,this.disabled&&(t.attrs.disabled=this.disabled)),"a"===this.el&&this.href&&(t.attrs.href=this.href,this.target&&(t.attrs.target=this.target),this.download&&(t.attrs.download=this.download),this.rel&&(t.attrs.rel=this.rel)),e(this.el,t,this.$slots.default)}},M=D,O=(0,k.Z)(M,s,a,!1,null,"59eeac35",null),P=O.exports,B=function(){var e=this,t=e._self._c;return t("div",{class:e.barClasses},[e._t("default")],2)},R=[],N={name:"A17Buttonbar",props:{type:{type:String,default:"button"},variant:{type:String,default:""}},computed:{barClasses:function(){return["buttonbar",this.variant?"buttonbar--".concat(this.variant):""]}}},F=N,$=(0,k.Z)(F,B,R,!1,null,"7223fc6a",null),U=$.exports,V=function(){var e=this,t=e._self._c;return t("span",{staticClass:"checkbox"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.checkedValue,expression:"checkedValue"}],key:e.uniqId,staticClass:"checkbox__input",class:e.checkboxClasses,attrs:{type:"checkbox",name:e.name,id:e.uniqId,disabled:e.disabled},domProps:{value:e.value,checked:Array.isArray(e.checkedValue)?e._i(e.checkedValue,e.value)>-1:e.checkedValue},on:{change:function(t){var i=e.checkedValue,s=t.target,a=!!s.checked;if(Array.isArray(i)){var n=e.value,o=e._i(i,n);s.checked?o<0&&(e.checkedValue=i.concat([n])):o>-1&&(e.checkedValue=i.slice(0,o).concat(i.slice(o+1)))}else e.checkedValue=a}}}),t("label",{staticClass:"checkbox__label",attrs:{for:e.uniqId}},[e._v(e._s(e.label)+" "),t("span",{staticClass:"checkbox__icon"},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"check"}})])])])},Z=[],q=i(9464),W={name:"A17Checkbox",mixins:[q.Z],props:{value:{default:""},initialValue:{default:function(){return[]}},name:{type:String,default:""},theme:{type:String,default:""},label:{type:String,default:""},disabled:{type:Boolean,default:!1}},computed:{uniqId:function(e){return this.name+"_"+this.value+"-"+this.randKey},checkboxClasses:function(){return[this.theme?"checkbox__input--".concat(this.theme):""]},checkedValue:{get:function(){return this.initialValue},set:function(e){this.$emit("change",e)}}}},H=W,Y=(0,k.Z)(H,V,Z,!1,null,"20e8e5e7",null),z=Y.exports,K=function(){var e=this,t=e._self._c;return t("a17-inputframe",{attrs:{error:e.error,note:e.note,label:e.label,name:e.name}},[t("ul",{staticClass:"checkboxGroup",class:e.checkboxClasses},e._l(e.options,(function(i){return t("li",{key:i.value,staticClass:"checkboxGroup__item"},[t("a17-checkbox",{attrs:{name:e.name,value:i.value,label:i.label,initialValue:e.currentValue,disabled:i.disabled||e.disabled},on:{change:e.changeValue}})],1)})),0)])},j=[],G=i(8446),X=i.n(G),Q=i(2544),J=i(2240),ee=i(6830),te={name:"A17CheckboxGroup",props:{name:{type:String,default:""},inline:{type:Boolean,default:!1},options:{type:Array,default:function(){return[]}}},mixins:[ee.Z,Q.Z,J.Z],computed:{checkboxClasses:function(){return[this.inline?"checkboxGroup--inline":""]}},methods:{formatValue:function(e,t){const i=this;if(!e)return;if(!t)return;const s=this.isMax(e),a=this.isMin(e);(s||a)&&(X()(t,i.checkedValue)||(i.checkedValue=t))},updateFromStore:function(e){this.updateValue(e)},updateValue:function(e){this.checkedValue=e},changeValue:function(e){X()(e,this.currentValue)||this.updateValue(e)}},mounted:function(){this.max+this.min>0&&this.$watch("currentValue",this.formatValue,{immediate:!0})}},ie=te,se=(0,k.Z)(ie,K,j,!1,null,"3e53c5c2",null),ae=se.exports,ne=function(){var e=this,t=e._self._c;return t("a17-inputframe",{attrs:{error:e.error,note:e.note,label:e.label,name:e.name,required:e.required}},[t("div",{staticClass:"form__field",class:e.textfieldClasses},[t("input",{attrs:{type:"text",placeholder:e.placeholder,name:e.name,id:e.name,disabled:e.disabled,required:e.required,readonly:e.readonly,autofocus:e.autofocus,autocomplete:e.autocomplete,maxlength:"7"},domProps:{value:e.value},on:{focus:e.onFocus,blur:e.onBlur,input:e.onInput}}),t("a17-dropdown",{ref:"colorDropdown",staticClass:"form__field--color",attrs:{position:"bottom-right",arrow:!0,offset:15,minWidth:300,clickable:!0,sideOffset:15},on:{close:e.saveIntoStore}},[t("span",{staticClass:"form__field--colorBtn",style:e.bcgStyle,on:{click:function(t){return e.$refs.colorDropdown.toggle()}}}),t("div",{attrs:{slot:"dropdown__content"},slot:"dropdown__content"},[t("a17-colorpicker",{attrs:{color:e.value},on:{change:e.updateValueFromPicker}})],1)])],1)])},oe=[],re=function(){var e=this,t=e._self._c;return t("div",{staticClass:"colorpicker"},[t("div",{staticClass:"colorpicker__color"},[t("div",{ref:"satContainer",staticClass:"colorpicker__saturation",style:{background:e.bgColor},on:{mousedown:function(t){return e.handleMouseDown("saturation")}}},[t("div",{staticClass:"colorpicker__saturation--white"}),t("div",{staticClass:"colorpicker__saturation--black"}),t("div",{staticClass:"colorpicker__saturation-pointer",style:{top:e.satPointerTop,left:e.satPointerLeft}},[t("div",{staticClass:"colorpicker__saturation-circle"})])]),t("div",{staticClass:"colorpicker__hue colorpicker__hue--vertical"},[t("div",{ref:"hueContainer",staticClass:"colorpicker__hue-container",on:{mousedown:function(t){return e.handleMouseDown("hue")}}},[t("div",{staticClass:"colorpicker__hue-pointer",style:{top:e.huePointerTop,left:e.huePointerLeft}},[t("div",{staticClass:"colorpicker__hue-picker"})])])])])])},le=[],de=i(3493),ce=i.n(de),ue=i(7234),he={name:"a17ColorPicker",props:{color:{type:String,required:!0},direction:{type:String,default:"vertical"}},data:function(){return{currentColor:(0,ue.Z)(this.color),currentColorHue:(0,ue.Z)(this.color).toHsv().h,currentTarget:"",pullDirection:""}},computed:{bgColor(){return"hsl(".concat(this.currentColorHue,", 100%, 50%)")},satPointerTop(){return-100*this.currentColor.toHsv().v+1+100+"%"},satPointerLeft(){return 100*this.currentColor.toHsv().s+"%"},huePointerTop(){return"vertical"===this.direction?0===this.currentColorHue&&"right"===this.pullDirection?0:-100*this.currentColorHue/360+100+"%":0},huePointerLeft(){return"vertical"===this.direction?0:0===this.currentColorHue&&"right"===this.pullDirection?"100%":100*this.currentColorHue/360+"%"}},methods:{throttle:ce()(((e,t)=>{e(t)}),20,{leading:!0,trailing:!1}),satHandleChange(e,t){!t&&e.preventDefault();const i=this.$refs.satContainer;if(!i)return;const s=i.clientWidth,a=i.clientHeight,n=i.getBoundingClientRect().left+window.pageXOffset,o=i.getBoundingClientRect().top+window.pageYOffset,r=e.pageX||(e.touches?e.touches[0].pageX:0),l=e.pageY||(e.touches?e.touches[0].pageY:0);let d=r-n,c=l-o;d<0?d=0:d>s?d=s:c<0?c=0:c>a&&(c=a);const u=d/s;let h=-c/a+1;h=h>0?h:0,h=h>1?1:h,this.throttle(this.onChange,{h:this.currentColorHue,s:u,v:h,a:this.currentColor.toHsv().a})},hueHandleChange(e,t){!t&&e.preventDefault();const i=this.$refs.hueContainer,s=i.clientWidth,a=i.clientHeight,n=i.getBoundingClientRect().left+window.pageXOffset,o=i.getBoundingClientRect().top+window.pageYOffset,r=e.pageX||(e.touches?e.touches[0].pageX:0),l=e.pageY||(e.touches?e.touches[0].pageY:0),d=r-n,c=l-o;let u,h;"vertical"===this.direction?c<0?u=360:c>a?u=0:(h=-100*c/a+100,u=360*h/100):d<0?u=0:d>s?u=360:(h=100*d/s,u=360*h/100),this.currentColorHue!==u&&this.throttle(this.onChange,{h:u,s:this.currentColor.toHsl().s,l:this.currentColor.toHsl().l,a:this.currentColor.toHsl().a,source:"hsl"})},handleMouseDown(e){this.currentTarget=e,"saturation"===this.currentTarget?(window.addEventListener("mousemove",this.satHandleChange),window.addEventListener("mouseup",this.satHandleChange)):(window.addEventListener("mousemove",this.hueHandleChange),window.addEventListener("mouseup",this.hueHandleChange)),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp(e){this.unbindEventListeners()},unbindEventListeners(){"saturation"===this.currentTarget?(window.removeEventListener("mousemove",this.satHandleChange),window.removeEventListener("mouseup",this.satHandleChange)):(window.removeEventListener("mousemove",this.hueHandleChange),window.removeEventListener("mouseup",this.hueHandleChange)),window.removeEventListener("mouseup",this.handleMouseUp)},onChange(e){this.currentColor=(0,ue.Z)(e),this.currentColorHue=e.h,this.$emit("change",this.currentColor.toHexString())}}},pe=he,me=(0,k.Z)(pe,re,le,!1,null,null,null),fe=me.exports,ge=i(35),_e={name:"a17ColorField",mixins:[ge.Z,ee.Z,J.Z],props:{name:{type:String,required:!0},initialValue:{default:""},defaultValue:{default:""}},components:{"a17-colorpicker":fe},data:function(){return{focused:!1,value:this.initialValue}},mounted(){""===this.value&&""!==this.defaultValue&&this.updateValue(this.defaultValue)},computed:{bcgStyle:function(){return{"background-color":""!==this.value?this.value:"transparent"}},textfieldClasses:function(){return{"s--focus":this.focused,"s--disabled":this.disabled}}},methods:{updateFromStore:function(e){"undefined"===typeof e&&(e=""),this.value!==e&&(this.value=e)},updateValueFromPicker:function(e){this.value!==e&&(this.value=e)},updateValue:function(e){this.value!==e&&(this.value=e,this.saveIntoStore())},onBlur:function(e){const t=e.target.value;this.updateValue(t),this.focused=!1},onFocus:function(){this.focused=!0},onInput:function(){}}},be=_e,ve=(0,k.Z)(be,ne,oe,!1,null,"09f5e603",null),ye=ve.exports,we=function(){var e=this,t=e._self._c;return t("a17-inputframe",{staticClass:"datePicker",class:{"datePicker--static":e.staticMode,"datePicker--mobile":e.isMobile},attrs:{name:e.name,error:e.error,note:e.note,label:e.label,"label-for":e.uniqId,required:e.required}},[t("div",{ref:e.refs.flatPicker,staticClass:"datePicker__group"},[t("div",{staticClass:"form__field datePicker__field"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.date,expression:"date"}],attrs:{type:"text",name:e.name,id:e.uniqId,required:e.required,placeholder:e.placeHolder,"data-input":"",disabled:e.disabled},domProps:{value:e.date},on:{blur:e.onBlur,input:function(t){t.target.composing||(e.date=t.target.value)}}}),e.clear?t("a",{staticClass:"datePicker__reset",class:{"datePicker__reset--cleared":!e.date},attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.onClear.apply(null,arguments)}}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"close_icon"}})]):e._e()])])])},Ee=[],Te=i(1884),ke=i.n(Te),Ce=i(6667),Ae=i(4293),xe={name:"A17DatePicker",mixins:[q.Z,ee.Z,J.Z],props:{name:{type:String,default:"date"},required:{type:Boolean,default:!1},placeHolder:{type:String,default:""},allowInput:{type:Boolean,default:!1},enableTime:{type:Boolean,default:!1},noCalendar:{type:Boolean,default:!1},time_24hr:{type:Boolean,default:(0,Ae.aq)()},altFormat:{type:String,default:null},inline:{type:Boolean,default:!1},initialValue:{type:String,default:null},hourIncrement:{type:Number,default:1},minuteIncrement:{type:Number,default:30},staticMode:{type:Boolean,default:!1},minDate:{type:String,default:null},maxDate:{type:String,default:null},disabled:{type:Boolean,default:!1},mode:{type:String,default:"single",validator:function(e){return"single"===e||"multiple"===e||"range"===e}},clear:{type:Boolean,default:!1}},data:function(){return{date:this.initialValue,isMobile:!1,flatPicker:null,refs:{flatPicker:"flatPicker"}}},computed:{uniqId:function(e){return this.name+"-"+this.randKey},altFormatComputed:function(){return null!==this.altFormat?this.altFormat:"F j, Y"+(this.enableTime?this.time_24hr||(0,Ae.aq)()?" H:i":" h:i K":"")}},methods:{config:function(){const e=this,t={wrap:!0,altInput:!0,altFormat:e.altFormatComputed,dateFormat:e.enableTime?"Z":"Y-m-d",static:e.staticMode,appendTo:e.staticMode?e.$refs[e.refs.flatPicker]:void 0,enableTime:e.enableTime,noCalendar:e.noCalendar,time_24hr:e.time_24hr,inline:e.inline,allowInput:e.allowInput,mode:e.mode,minuteIncrement:e.minuteIncrement,hourIncrement:e.hourIncrement,minDate:e.minDate,altInputClass:"flatpickr-input form-control",maxDate:e.maxDate,parseDate:function(e,t){const i="yyyy-MM-dd HH:mm:ss";if(e.length===i.length)return ke()(e+"Z",i+"X",Date.UTC());const s="yyyy-MM-dd HH:mm";if(e.length===s.length)return ke()(e+"Z",i+"X",Date.UTC());const a="yyyy-MM-dd";return e.length===a.length?ke()(e,a,Date.UTC()):new Date(e)},onOpen:function(){setTimeout((function(){e.flatPicker.set("maxDate",e.maxDate),e.flatPicker.set("minDate",e.minDate),e.$emit("open",e.date)}),10)},onClose:function(t,i,s){e.$nextTick((function(){e.$emit("input",e.date),e.$emit("close",e.date),e.saveIntoStore()}))}},i=Ae.k1[(0,Ae.BH)()];return void 0!==i&&i.hasOwnProperty("flatpickr")&&(t.locale=i.flatpickr),t},updateFromStore:function(e){e!==this.date&&(this.date=e,this.flatPicker.setDate(e))},onInput:function(e){this.$emit("input",this.date)},onBlur:function(){this.$emit("blur",this.date)},onClear:function(){this.flatPicker.clear(),this.saveIntoStore(),this.$emit("input",this.date)}},mounted:function(){const e=this,t=e.$refs[e.refs.flatPicker],i=e.config();e.flatPicker=new Ce.Z(t,i),this.isMobile=e.flatPicker.isMobile},beforeDestroy:function(){const e=this;e.flatPicker.destroy()}},Se=xe,Le=(0,k.Z)(Se,we,Ee,!1,null,"05edd33b",null),Ie=Le.exports,De=function(){var e=this,t=e._self._c;return t("a17-modal",{ref:"modal",staticClass:"modal--tiny modal--form modal--withintro",attrs:{title:e.modalTitle,forceClose:!0}},[e._t("default"),t("a17-inputframe",[t("a17-button",{staticClass:"dialog-confirm",attrs:{variant:"validate"}},[e._v(e._s(e.confirmLabel))]),e._v(" "),t("a17-button",{staticClass:"dialog-cancel",attrs:{variant:"aslink"}},[t("span",[e._v(e._s(e.cancelLabel))])])],1)],2)},Me=[],Oe={name:"A17Dialog",props:{name:{type:String,default:""},modalTitle:{type:String,default:function(){return this.$trans("dialog.title")}},confirmLabel:{type:String,default:function(){return this.$trans("dialog.ok")}},cancelLabel:{type:String,default:function(){return this.$trans("dialog.cancel")}}},methods:{open:function(e){this.$refs.modal&&this.$refs.modal.open(),this.$nextTick((()=>{this.$el.querySelector(".dialog-confirm").addEventListener("click",(t=>{e(),this.close()})),this.$el.querySelector(".dialog-cancel").addEventListener("click",(e=>{this.close()}))}))},close:function(){this.$refs.modal&&this.$refs.modal.close()}}},Pe=Oe,Be=(0,k.Z)(Pe,De,Me,!1,null,null,null),Re=Be.exports,Ne=i(7277),Fe=function(){var e=this,t=e._self._c;return t("a17-inputframe",{attrs:{error:e.error,label:e.label,locale:e.locale,size:e.size,name:e.name,note:e.fieldNote},on:{localize:e.updateLocale}},[t("div",{staticClass:"fileField"},[e.buttonOnTop&&e.remainingItems?t("div",{staticClass:"fileField__trigger"},[t("input",{attrs:{type:"hidden",name:e.name},domProps:{value:e.itemsIds}}),t("a17-button",{attrs:{type:"button",variant:"ghost"},on:{click:function(t){return e.openMediaLibrary(e.remainingItems)}}},[e._v(e._s(e.addLabel))]),t("span",{staticClass:"fileField__note f--small"},[e._v(e._s(e.note))])],1):e._e(),e.items.length?t("table",{staticClass:"fileField__list"},[t("draggable",{attrs:{tag:"tbody"},model:{value:e.items,callback:function(t){e.items=t},expression:"items"}},e._l(e.items,(function(i,s){return t("a17-fileitem",{key:i.id,staticClass:"item__content",attrs:{name:"".concat(e.name,"_").concat(i.id),draggable:e.isDraggable,item:i},on:{delete:function(t){return e.deleteItem(s)}}})})),1)],1):e._e(),!e.buttonOnTop&&e.remainingItems?t("div",{staticClass:"fileField__trigger"},[t("input",{attrs:{type:"hidden",name:e.name},domProps:{value:e.itemsIds}}),t("a17-button",{attrs:{type:"button",variant:"ghost"},on:{click:function(t){return e.openMediaLibrary(e.remainingItems)}}},[e._v(e._s(e.addLabel))]),t("span",{staticClass:"fileField__note f--small"},[e._v(e._s(e.note))])],1):e._e()])])},$e=[],Ue=i(8348),Ve=i(1017),Ze=function(){var e=this,t=e._self._c;return t("tr",{staticClass:"fileItem"},[e.draggable?t("td",{staticClass:"fileItem__cell fileItem__cell--drag"},[t("div",{staticClass:"drag__handle--drag"})]):e._e(),e.currentItem.hasOwnProperty("extension")?t("td",{staticClass:"fileItem__cell fileItem__cell--extension"},[t("a",{attrs:{href:"#",target:"_blank"}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:e.getSvgIconName()}})])]):e._e(),t("td",{staticClass:"fileItem__cell fileItem__cell--name"},[e.currentItem.hasOwnProperty("thumbnail")?t("span",[t("img",{attrs:{src:e.currentItem.thumbnail}})]):e._e(),t("a",{attrs:{href:e.currentItem.hasOwnProperty("original")?e.currentItem.original:"#",download:""}},[t("span",{staticClass:"f--link-underlined--o"},[e._v(e._s(e.currentItem.name))])]),t("input",{attrs:{type:"hidden",name:e.name},domProps:{value:e.currentItem.id}})]),e.currentItem.hasOwnProperty("size")?t("td",{staticClass:"fileItem__cell fileItem__cell--size"},[e._v(e._s(e.currentItem.size))]):e._e(),t("td",{staticClass:"fileItem__cell"},[t("a17-button",{staticClass:"bucket__action",attrs:{icon:"close"},on:{click:function(t){return e.deleteItem()}}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"close_icon"}})])],1)])},qe=[];const We={img:{extensions:["gif","png","jpg"],icon:"img",display:"Image File",instructions:"Most Image files are natively recognized by your computer."},tiff:{extensions:["tiff","tif"],icon:"img",display:"TIFF Image",instructions:"To read TIFF images, you need Adobe Photoshop or similar."},eps:{extensions:["eps","ps"],icon:"eps",display:"Postscript File",instructions:"To read Postscript files, you need Adobe Illustrator or similar."},bmp:{extensions:["bmp"],icon:"img",display:"Bitmap Image",instructions:"To read Bitmap images, you need Adobe Photoshop or similar."},raw:{extensions:["3fr","arw","srf","sr2","bay","crw","cr2","cap","iiq","eip","dng","erf","fff","mef","mos","mrw","nef","nrw","orf","ptx","pef","pxn","r3d","raf","raw","rw2","rwz","k25","kdc","dcs","drf","x3f"],icon:"img",display:"RAW Image",instructions:"To read RAW images, you need Adobe Photoshop or similar."},indd:{extensions:["indd"],icon:"indd",display:"InDesign Document",instructions:"To read InDesign documents, you need Adobe InDesign or similar."},psd:{extensions:["psd"],icon:"psd",display:"Photoshop File",instructions:"To read Photoshop files, you need Adobe Photoshop or similar."},ai:{extensions:["ai"],icon:"ai",display:"Illustrator File",instructions:"To read Illustrator files, you need Adobe Illustrator or similar."},indb:{extensions:["indb"],icon:"indd",display:"InDesign Book",instructions:"To read InDesign books, you need Adobe InDesign or similar."},ase:{extensions:["ase"],icon:"ase",display:"Adobe Swatch File",instructions:"To read Swatch files, you need Adobe Creative Suite or similar."},snd:{extensions:["mp3","wav"],icon:"snd",display:"Audio File",instructions:"To listen to Audio files, you need Apple QuickTime, Windows Media Player or similar."},vid:{extensions:["avi","mov","mp4","mpg","mpeg","wmv","flv"],icon:"vid",display:"Movie File",instructions:"To watch Movie files, you need Apple QuickTime, Windows Media Player or similar."},fla:{extensions:["fla"],icon:"fla",display:"Flash Document",instructions:"To read Flash documents, you need Adobe Flash player."},swf:{extensions:["swf"],icon:"swf",display:"Flash Movie",instructions:"To read Flash movies, you need Adobe Flash player."},dcr:{extensions:["dcr"],icon:"dcr",display:"Shockwave Movie",instructions:"To read Shockwave movies, you need Adobe Flash player."},ae:{extensions:["ae","aep"],icon:"ae",display:"After Effect File",instructions:"To read After Effect files, you need Adobe After Effects."},pdf:{extensions:["pdf"],icon:"pdf",display:"PDF Document",instructions:"To read PDF documents, You need the free Adobe Acrobat Reader or similar."},doc:{extensions:["doc","docx"],icon:"doc",display:"Word Document",instructions:"To read Word documents, you need Microsoft Word or similar."},xls:{extensions:["xls","xlsx"],icon:"xls",display:"Excel Document",instructions:"To read Excel documents, you need Microsoft Excel, or similar."},ppt:{extensions:["ppt","pptx","pps"],icon:"ppt",display:"Powerpoint Document",instructions:"To read PowerPoint documents, you need Microsoft PowerPoint, or similar."},pages:{extensions:["pages"],icon:"pages",display:"Pages Document",instructions:"To read Pages documents, you need Apple iWorks."},numbers:{extensions:["numbers"],icon:"numbers",display:"Numbers Document",instructions:"To read Numbers documents, you need Apple iWorks."},key:{extensions:["key"],icon:"key",display:"Keynote Document",instructions:"To read Keynote Documents, you need Apple iWorks."},csv:{extensions:["csv"],icon:"sql",display:"CSV File",instructions:"CSV files can be opened with a spreadsheet application such as Microsoft Excel or similar."},txt:{extensions:["txt"],icon:"txt",display:"Text File",instructions:"To read TXT files, you need any standard text editor."},rtf:{extensions:["rtf"],icon:"txt",display:"Rich Text File",instructions:"To read RTF files, you need any standard text editor."},merlin:{extensions:["merlin","merlin2"],icon:"merlin",display:"Merlin File",instructions:"To read Merlin files, you need Merlin."},oplx:{extensions:["oplx"],icon:"merlin",display:"OmniPlan File",instructions:"To read OmniPlan files, you need OmniPlan."},zip:{extensions:["zip","str","tar","gz"],icon:"zip",display:"Archive",instructions:"Most archive formats are natively recognized by your computer."},dmg:{extensions:["dmg"],icon:"dmg",display:"DMG Installer",instructions:"DMG installers are disc images for Mac used for the installation of applications."},fnt:{extensions:["fnt","ttf","bmap","afm","otf"],icon:"fnt",display:"Font",instructions:"To open Font packages, you need a font manager application such as FontCreator on a PC or Font Book on a Mac."},suit:{extensions:["suit"],icon:"fnt",display:"Font Suitcase",instructions:"To open Font Suitcase, you need a Mac."},html:{extensions:["htm","html","rhtml"],icon:"html",display:"HTML File",instructions:"To read HTML files, you need a standard text editor."},css:{extensions:["css"],icon:"gen",display:"Stylesheet",instructions:"To read CSS files, you need a standard text editor."},php:{extensions:["php"],icon:"gen",display:"PHP File",instructions:"To read PHP files, you need a standard text editor."},yml:{extensions:["yml"],icon:"sql",display:"YAML File",instructions:"To read YAML files, you need a standard text editor."},sql:{extensions:["sql"],icon:"sql",display:"MySql Dump",instructions:"To read MySql Dump files, you need MySQL."},dir:{extensions:["dir"],icon:"dir",display:"Folder"},cut:{extensions:["cut"],icon:"cut",display:"Shortcut"},ftr:{extensions:["ftr"],icon:"ftr",display:"Feature"},pop:{extensions:["pop"],icon:"pop",display:"Popup Window"},link:{extensions:["net","link","com","fr","net","org","me","us","biz","mobi","info","es","de"],icon:"net",display:"Internet Location"},site:{extensions:["site"],icon:"site",display:"Mini Site"},slide:{extensions:["slide"],icon:"slide",display:"Slideshow"},rss:{extensions:["rss"],icon:"txt",display:"RSS Feed"}};var He=We,Ye={name:"a17FileItem",props:{name:{type:String,required:!0},draggable:{type:Boolean,default:!1},item:{type:Object,default:function(){return{}}},itemLabel:{type:String,default:"Item"},endpoint:{type:String,default:""},max:{type:Number,default:10}},data:function(){return{handle:".item__handle"}},computed:{currentItem:function(){return this.item}},methods:{deleteItem:function(){this.$emit("delete")},getSvgIconName:function(){const e=this.currentItem.extension;if(He.hasOwnProperty(e))return He[e].icon;for(const t in He){const i=He[t].extensions.findIndex((t=>t===e));if(i>-1)return He[t].icon}return"gen"}}},ze=Ye,Ke=(0,k.Z)(ze,Ze,qe,!1,null,"5c6d6a95",null),je=Ke.exports,Ge={name:"A17FileField",components:{"a17-fileitem":je,draggable:g()},mixins:[b.Z,Ve.Z,Ue.Z,ee.Z],props:{type:{type:String,default:"file"},name:{type:String,required:!0},itemLabel:{type:String,default:"Item"},endpoint:{type:String,default:""},draggable:{type:Boolean,default:!0},max:{type:Number,default:1},note:{type:String,default:""},fieldNote:{type:String,default:""},filesizeMax:{type:Number,default:0},buttonOnTop:{type:Boolean,default:!1}},data:()=>({handle:".item__handle"}),computed:{remainingItems:function(){return this.max-this.items.length},items:{get(){return this.selectedFiles.hasOwnProperty(this.name)&&this.selectedFiles[this.name]||[]},set(e){this.$store.commit(v.CV.REORDER_MEDIAS,{name:this.name,medias:e})}},isDraggable:function(){return this.draggable&&this.items.length>1},itemsIds:function(){return this.selectedItemsByIds[this.name]?this.selectedItemsByIds[this.name].join():""},addLabel:function(){return this.$trans("fields.files.add-label","Add")+" "+this.itemLabel},...(0,_.rn)({selectedFiles:e=>e.mediaLibrary.selected}),...(0,_.Se)(["selectedItemsByIds"])},methods:{deleteAll:function(e){this.$store.commit(v.CV.DESTROY_MEDIAS,{name:this.name})},deleteItem:function(e){this.$store.commit(v.CV.DESTROY_SPECIFIC_MEDIA,{name:this.name,index:e})},destroyValue:function(){this.deleteAll()}}},Xe=Ge,Qe=(0,k.Z)(Xe,Fe,$e,!1,null,"86ceea78",null),Je=Qe.exports,et=function(){var e=this,t=e._self._c;return t("div",{staticClass:"form__input form__input--hidden"},[t("input",{attrs:{type:"hidden",name:e.name,id:e.uniqId},domProps:{value:e.value}})])},tt=[],it={name:"A17HiddenField",mixins:[q.Z,ge.Z,J.Z],props:{name:{type:String,required:!0},initialValue:{default:""}},computed:{uniqId:function(){return this.name+"-"+this.randKey}},data:function(){return{value:this.initialValue}},watch:{initialValue:function(){this.value=this.initialValue}},methods:{updateFromStore:function(e){"undefined"===typeof e&&(e=""),this.value!==e&&(this.value=e)}}},st=it,at=(0,k.Z)(st,et,tt,!1,null,null,null),nt=at.exports,ot=function(){var e=this,t=e._self._c;return t("a17-button",{directives:[{name:"tooltip",rawName:"v-tooltip"}],attrs:{variant:"icon",size:"smallIcon","data-tooltip-title":e.text,"data-tooltip-theme":"large","data-tooltip-placement":"right"}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"info"}})])},rt=[],lt={name:"A17Infotip",props:{text:{default:""}},computed:{},methods:{onClick:function(){this.$emit("click")}}},dt=lt,ct=(0,k.Z)(dt,ot,rt,!1,null,"2da324be",null),ut=ct.exports,ht=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"show",rawName:"v-show",value:e.isCurrentLocale,expression:"isCurrentLocale"}],staticClass:"input",class:e.textfieldClasses,attrs:{hidden:!e.isCurrentLocale||null}},[e.label?t("label",{staticClass:"input__label",attrs:{for:e.labelFor||e.name}},[e._v(" "+e._s(e.label)),e.required?t("span",{staticClass:"input__required"},[e._v("*")]):e._e(),e.hasLocale&&e.languages.length>1?t("span",{directives:[{name:"tooltip",rawName:"v-tooltip"}],staticClass:"input__lang",attrs:{"data-tooltip-title":e.$trans("fields.generic.switch-language")},on:{click:e.onClickLocale}},[e._v(e._s(e.displayedLocale))]):e._e(),e.note?t("span",{staticClass:"input__note f--small"},[e._v(e._s(e.note))]):e._e()]):e._e(),e.addNew?t("a",{staticClass:"input__add",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.openAddModal.apply(null,arguments)}}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"add"}}),e._v(" "),t("span",{staticClass:"f--link-underlined--o"},[e._v("Add New")])]):e._e(),e._t("default"),e.error&&e.errorMessage?t("span",{staticClass:"input__errorMessage f--small",domProps:{innerHTML:e._s(e.errorMessage)}}):e._e(),e.otherLocalesError?t("span",{staticClass:"input__errorMessage f--small"},[e._v(e._s(e.errorMessageLocales))]):e._e()],2)},pt=[],mt={name:"A17InputFrame",mixins:[ge.Z,ee.Z,Ue.Z],props:{addNew:{type:String,default:""}},computed:{textfieldClasses:function(){const e=["small"===this.size?"input--small":"",this.error?"input--error":"","input-wrapper-"+(this.name||this.labelFor)];return this.variant&&this.variant.split(" ").forEach((t=>{e.push("input--".concat(t))})),e}},methods:{openAddModal:function(){this.$parent.$refs.addModal&&this.$parent.$refs.addModal.open()}}},ft=mt,gt=(0,k.Z)(ft,ht,pt,!1,null,"0d108f70",null),_t=gt.exports,bt=function(){var e=this,t=e._self._c;return t("div",{staticClass:"locale"},[e.languages&&e.languages.length&&e.languages.length>0?e._l(e.languages,(function(i){return t("div",{key:i.value,staticClass:"locale__item"},[i.value===e.currentLocale.value||e.isCustomForm||e.keepInDom?t("".concat(e.type),e._b({ref:"field",refInFor:!0,tag:"component",attrs:{"data-lang":i.value,name:"".concat(e.attributes.name,"[").concat(i.value,"]"),fieldName:e.attributes.name,locale:i},on:{localize:e.updateLocale,change:function(t){return e.updateValue(i.value,...arguments)},blur:function(t){return e.$emit("blur")},focus:function(t){return e.$emit("focus")}}},"component",e.attributesPerLang(i.value),!1),[e._t("default")],2):e._e()],1)})):[t("".concat(e.type),e._b({ref:"field",tag:"component",attrs:{name:e.attributes.name},on:{change:function(t){return e.updateValue(!1,...arguments)},blur:function(t){return e.$emit("blur")},focus:function(t){return e.$emit("focus")}}},"component",e.attributesNoLang(),!1),[e._t("default")],2)]],2)},vt=[],yt=i(361),wt=i.n(yt),Et={name:"A17Locale",props:{type:{type:String,default:"text"},keepInDom:{type:Boolean,default:!1},attributes:{type:Object,default:function(){return{}}},initialValues:{type:Object,default:function(){return{}}},isRequired:{type:Boolean,default:function(){return this.attributes.required||!1}}},computed:{...(0,_.rn)({currentLocale:e=>e.language.active,languages:e=>e.language.all})},data(){return{isCustomForm:!1}},mounted(){this.isCustomForm=void 0!==this.$root.$refs.customForm},methods:{attributesPerLang:function(e){const t=this.languages.find((t=>t.value===e)),i=wt()(this.attributes);return this.initialValues&&"object"===typeof this.initialValues&&this.initialValues[e]?i.initialValue=this.initialValues[e]:i.initialValue||(i.initialValue=""),i.required=!!t.published&&this.isRequired,i},attributesNoLang:function(){const e=wt()(this.attributes);return this.initialValue&&(e.initialValue=this.initialValue),e},updateLocale:function(e){this.$store.commit(v.ad.SWITCH_LANG,{oldValue:e}),this.$nextTick((function(){const e=this.$el.querySelector('[data-lang="'+this.currentLocale.value+'"]');if(e){const t=e.querySelector("input:not([disabled]), textarea:not([disabled]), select:not([disabled])");t&&t.focus()}})),this.$emit("localize",this.currentLocale)},updateValue:function(e,t){e?this.$emit("change",{locale:e,value:t}):this.$emit("change",{value:t})}}},Tt=Et,kt=(0,k.Z)(Tt,bt,vt,!1,null,null,null),Ct=kt.exports,At=function(){var e=this,t=e._self._c;return t("a17-modal",{ref:"modal",attrs:{title:e.modalTitle,mode:"wide"},on:{open:e.opened}},[t("div",{staticClass:"medialibrary"},[t("div",{staticClass:"medialibrary__frame"},[t("div",{ref:"form",staticClass:"medialibrary__header"},[t("a17-filter",{attrs:{clearOption:!0},on:{submit:e.submitFilter,clear:e.clearFilters}},[e.types.length?t("ul",{staticClass:"secondarynav secondarynav--desktop",attrs:{slot:"navigation"},slot:"navigation"},e._l(e.types,(function(i){return t("li",{key:i.value,staticClass:"secondarynav__item",class:{"s--on":e.type===i.value,"s--disabled":e.type!==i.value&&e.strict}},[t("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.updateType(i.value)}}},[t("span",{staticClass:"secondarynav__link"},[e._v(e._s(i.text))]),i.total>0?t("span",{staticClass:"secondarynav__number"},[e._v("("+e._s(i.total)+")")]):e._e()])])})),0):e._e(),t("div",{staticClass:"secondarynav secondarynav--mobile secondarynav--dropdown",attrs:{slot:"navigation"},slot:"navigation"},[t("a17-dropdown",{ref:"secondaryNavDropdown",attrs:{position:"bottom-left",width:"full",offset:0}},[e.selectedType?t("a17-button",{staticClass:"secondarynav__button",attrs:{variant:"dropdown-transparent",size:"small"},on:{click:function(t){return e.$refs.secondaryNavDropdown.toggle()}}},[t("span",{staticClass:"secondarynav__link"},[e._v(e._s(e.selectedType.text))]),t("span",{staticClass:"secondarynav__number"},[e._v(e._s(e.selectedType.total))])]):e._e(),t("div",{attrs:{slot:"dropdown__content"},slot:"dropdown__content"},[t("ul",e._l(e.types,(function(i){return t("li",{key:i.value,staticClass:"secondarynav__item"},[t("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.updateType(i.value)}}},[t("span",{staticClass:"secondarynav__link"},[e._v(e._s(i.text))]),t("span",{staticClass:"secondarynav__number"},[e._v(e._s(i.total))])])])})),0)])],1)],1),t("div",{attrs:{slot:"hidden-filters"},slot:"hidden-filters"},[t("a17-vselect",{ref:"filter",staticClass:"medialibrary__filter-item",attrs:{name:"tag",options:e.tags,placeholder:e.$trans("media-library.filter-select-label","Filter by tag"),searchable:!0,maxHeight:"175px"}}),t("a17-checkbox",{ref:"unused",staticClass:"medialibrary__filter-item",attrs:{name:"unused","initial-value":0,value:1,label:e.$trans("media-library.unused-filter-label","Show unused only")}})],1)])],1),t("div",{staticClass:"medialibrary__inner"},[t("div",{staticClass:"medialibrary__grid"},[t("aside",{staticClass:"medialibrary__sidebar"},[t("a17-mediasidebar",{attrs:{medias:e.selectedMedias,authorized:e.authorized,extraMetadatas:e.extraMetadatas,type:e.currentTypeObject,translatableMetadatas:e.translatableMetadatas},on:{clear:e.clearSelectedMedias,delete:e.deleteSelectedMedias,tagUpdated:e.reloadTags,triggerMediaReplace:e.replaceMedia}})],1),e.selectedMedias.length&&e.showInsert&&e.connector?t("footer",{staticClass:"medialibrary__footer"},[e.canInsert?t("a17-button",{attrs:{variant:"action"},on:{click:e.saveAndClose}},[e._v(e._s(e.btnLabel))]):t("a17-button",{attrs:{variant:"action",disabled:!0}},[e._v(e._s(e.btnLabel))])],1):e._e(),t("div",{ref:"list",staticClass:"medialibrary__list"},[e.authorized?t("a17-uploader",{ref:"uploader",attrs:{type:e.currentTypeObject},on:{loaded:e.addMedia,clear:e.clearSelectedMedias}}):e._e(),t("div",{staticClass:"medialibrary__list-items"},["file"===e.type?t("a17-itemlist",{attrs:{items:e.renderedMediaItems,"selected-items":e.selectedMedias,"used-items":e.usedMedias},on:{change:e.updateSelectedMedias,shiftChange:e.updateSelectedMedias}}):t("a17-mediagrid",{attrs:{items:e.renderedMediaItems,"selected-items":e.selectedMedias,"used-items":e.usedMedias},on:{change:e.updateSelectedMedias,shiftChange:e.updateSelectedMedias}}),e.loading?t("a17-spinner",{staticClass:"medialibrary__spinner"},[e._v("Loading…")]):e._e()],1)],1)])])])])])},xt=[],St=i(9082),Lt=i(5573),It=i(5068),Dt=i(3827);const Mt="MEDIA-LIBRARY";var Ot={get(e,t,i,s){o().get(e,{params:t}).then((function(e){i&&"function"===typeof i&&i(e)}),(function(e){const t={message:"Media library get error.",value:e};(0,Dt.I)(Mt,t),s&&"function"===typeof s&&s(e)}))},update(e,t,i,s){o().put(e,t).then((function(e){i&&"function"===typeof i&&i(e)}),(function(e){const t={message:"Media library update error.",value:e};(0,Dt.I)(Mt,t),s&&"function"===typeof s&&s(e)}))},delete(e,t,i){o()["delete"](e).then((function(e){t&&"function"===typeof t&&t(e)}),(function(e){const t={message:"Media library delete error.",value:e};(0,Dt.I)(Mt,t),i&&"function"===typeof i&&i(e)}))},bulkDelete(e,t,i,s){o().put(e,t).then((function(e){i&&"function"===typeof i&&i(e)}),(function(e){const t={message:"Media library bulk delete error.",value:e};(0,Dt.I)(Mt,t),s&&"function"===typeof s&&s(e)}))}},Pt=i(6550),Bt=i(8839),Rt=function(){var e=this,t=e._self._c;return t("div",{staticClass:"mediagrid"},[e._l(e.itemsLoading,(function(i,s){return t("div",{directives:[{name:"show",rawName:"v-show",value:!i.isReplacement,expression:"!item.isReplacement"}],key:"mediaLoading_"+i.id,staticClass:"mediagrid__item"},[t("span",{staticClass:"mediagrid__button s--loading"},[i.error?t("span",{staticClass:"mediagrid__progressError"},[e._v("Upload Error")]):t("span",{staticClass:"mediagrid__progress"},[t("span",{staticClass:"mediagrid__progressBar",style:e.loadingProgress(s)})])])])})),e._l(e.items,(function(i){return t("div",{key:i.id,staticClass:"mediagrid__item",class:{"s--hasFilename":e.showFileName}},[t("span",{staticClass:"mediagrid__button",class:{"s--picked":e.isSelected(i),"s--used":e.isUsed(i)||!!e.replacingMediaIds[i.id],"s--disabled":i.disabled},on:{click:[function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.toggleSelection(i)},function(t){return t.shiftKey?t.ctrlKey||t.altKey||t.metaKey?null:e.shiftToggleSelection(i):null}]}},[t("img",{staticClass:"mediagrid__img",attrs:{src:i.thumbnail}})]),e.showFileName?t("p",{staticClass:"mediagrid__name",attrs:{title:i.name}},[e._v(e._s(i.name))]):e._e()])}))],2)},Nt=[],Ft=i(9160),$t={name:"A17Mediagrid",mixins:[Ft.Z],computed:{...(0,_.rn)({showFileName:e=>e.mediaLibrary.showFileName})},methods:{loadingProgress:function(e){return{width:this.itemsLoading[e].progress?this.itemsLoading[e].progress+"%":"0%"}}}},Ut=$t,Vt=(0,k.Z)(Ut,Rt,Nt,!1,null,"3d6118b4",null),Zt=Vt.exports,qt=function(){var e=this,t=e._self._c;return t("div",{staticClass:"mediasidebar"},[e.mediasLoading.length?t("a17-mediasidebar-upload"):[t("div",{staticClass:"mediasidebar__inner",class:e.containerClasses},[e.hasMedia?e._e():t("p",{staticClass:"f--note"},[e._v(e._s(e.$trans("media-library.sidebar.empty-text","No file selected")))]),e.hasMultipleMedias?t("p",{staticClass:"mediasidebar__info"},[e._v(" "+e._s(e.medias.length)+" "+e._s(e.$trans("media-library.sidebar.files-selected","files selected"))+" "),t("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.clear.apply(null,arguments)}}},[e._v(e._s(e.$trans("media-library.sidebar.clear","Clear")))])]):e._e(),e.hasSingleMedia?[e.isImage?t("img",{staticClass:"mediasidebar__img",attrs:{src:e.firstMedia.thumbnail,alt:e.firstMedia.original}}):e._e(),t("p",{staticClass:"mediasidebar__name"},[e._v(e._s(e.firstMedia.name))]),t("ul",{staticClass:"mediasidebar__metadatas"},[e.firstMedia.size?t("li",{staticClass:"f--small"},[e._v("File size: "+e._s(e._f("uppercase")(e.firstMedia.size)))]):e._e(),e.isImage&&e.firstMedia.width+e.firstMedia.height?t("li",{staticClass:"f--small"},[e._v(" "+e._s(e.$trans("media-library.sidebar.dimensions","Dimensions"))+": "+e._s(e.firstMedia.width)+" × "+e._s(e.firstMedia.height)+" ")]):e._e()])]:e._e(),e.hasMedia?t("a17-buttonbar",{staticClass:"mediasidebar__buttonbar"},[e.hasSingleMedia?t("a",{attrs:{href:e.firstMedia.original,download:""}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"download"}})]):e._e(),e.allowDelete&&e.authorized?t("button",{attrs:{type:"button"},on:{click:e.deleteSelectedMediasValidation}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"trash"}})]):t("button",{directives:[{name:"tooltip",rawName:"v-tooltip"}],staticClass:"button--disabled",attrs:{type:"button","data-tooltip-title":e.warningDeleteMessage}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"trash"}})]),e.hasSingleMedia?t("button",{attrs:{type:"button"},on:{click:e.replaceMedia}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"replace"}})]):e._e()]):e._e()],2),e.hasMedia?t("form",{ref:"form",staticClass:"mediasidebar__inner mediasidebar__form",on:{submit:e.submit}},[e.loading?t("span",{staticClass:"mediasidebar__loader"},[t("span",{staticClass:"loader loader--small"},[t("span")])]):e._e(),e.fieldsRemovedFromBulkEditing.includes("tags")?e._e():t("a17-vselect",{key:e.firstMedia.id+"-"+e.medias.length,attrs:{label:e.$trans("media-library.sidebar.tags"),name:"tags",multiple:!0,selected:e.hasMultipleMedias?e.sharedTags:e.firstMedia.tags,searchable:!0,emptyText:e.$trans("media-library.no-tags-found","Sorry, no tags found."),taggable:!0,pushTags:!0,size:"small",endpoint:e.type.tagsEndpoint,maxHeight:"175px"},on:{change:e.save}}),e.extraMetadatas.length&&e.isImage&&e.hasMultipleMedias&&!e.fieldsRemovedFromBulkEditing.includes("tags")?t("span",{directives:[{name:"tooltip",rawName:"v-tooltip"}],staticClass:"f--tiny f--note f--underlined",attrs:{"data-tooltip-title":"Remove this field if you do not want to update it on all selected medias","data-tooltip-theme":"default","data-tooltip-placement":"top"},on:{click:function(t){return e.removeFieldFromBulkEditing("tags")}}},[e._v("Remove from bulk edit")]):e._e(),e.hasMultipleMedias?[t("input",{attrs:{type:"hidden",name:"ids"},domProps:{value:e.mediasIds}})]:[t("input",{attrs:{type:"hidden",name:"id"},domProps:{value:e.firstMedia.id}}),e.translatableMetadatas.length>0?t("div",{staticClass:"mediasidebar__langswitcher"},[t("a17-langswitcher",{attrs:{"in-modal":!0,"all-published":!0}})],1):e._e(),e.isImage&&e.translatableMetadatas.includes("alt_text")?t("a17-locale",{attrs:{type:"a17-textfield",attributes:{label:e.$trans("media-library.sidebar.alt-text","Alt text"),name:"alt_text",type:"text",size:"small"},keepInDom:!0,initialValues:e.altValues},on:{focus:e.focus,blur:e.blur}}):e.isImage?t("a17-textfield",{attrs:{label:e.$trans("media-library.sidebar.alt-text","Alt text"),name:"alt_text",initialValue:e.firstMedia.metadatas.default.altText,size:"small"},on:{focus:e.focus,blur:e.blur}}):e._e(),e.useWysiwyg?[e.isImage&&e.translatableMetadatas.includes("caption")?t("a17-locale",{attrs:{type:"a17-wysiwyg",attributes:{options:e.wysiwygOptions,label:e.$trans("media-library.sidebar.caption","Caption"),name:"caption",size:"small"},keepInDom:!0,initialValues:e.captionValues},on:{focus:e.focus,blur:e.blur}}):e.isImage?t("a17-wysiwyg",{attrs:{type:"textarea",rows:1,size:"small",label:e.$trans("media-library.sidebar.caption","Caption"),name:"caption",options:e.wysiwygOptions,initialValue:e.firstMedia.metadatas.default.caption},on:{focus:e.focus,blur:e.blur}}):e._e()]:[e.isImage&&e.translatableMetadatas.includes("caption")?t("a17-locale",{attrs:{type:"a17-textfield",attributes:{type:"textarea",rows:1,label:e.$trans("media-library.sidebar.caption","Caption"),name:"caption",size:"small"},keepInDom:!0,initialValues:e.captionValues},on:{focus:e.focus,blur:e.blur}}):e.isImage?t("a17-textfield",{attrs:{type:"textarea",rows:1,size:"small",label:e.$trans("media-library.sidebar.caption","Caption"),name:"caption",initialValue:e.firstMedia.metadatas.default.caption},on:{focus:e.focus,blur:e.blur}}):e._e()],e._l(e.singleOnlyMetadatas,(function(i){return[!e.isImage||"text"!==i.type&&i.type||!e.translatableMetadatas.includes(i.name)?!e.isImage||"text"!==i.type&&i.type?e._e():t("a17-textfield",{key:i.name,attrs:{label:i.label,name:i.name,size:"small",initialValue:e.firstMedia.metadatas.default[i.name],type:"textarea",rows:1},on:{focus:e.focus,blur:e.blur}}):t("a17-locale",{key:i.name,attrs:{type:"a17-textfield",keepInDom:!0,attributes:{label:i.label,name:i.name,type:"textarea",rows:1,size:"small"},initialValues:e.firstMedia.metadatas.default[i.name]},on:{focus:e.focus,blur:e.blur}}),e.isImage&&"checkbox"===i.type?t("div",{key:i.name,staticClass:"mediasidebar__checkbox"},[t("a17-checkbox",{attrs:{label:i.label,name:i.name,initialValue:e.firstMedia.metadatas.default[i.name],value:1},on:{change:e.blur}})],1):e._e()]}))],e._l(e.singleAndMultipleMetadatas,(function(i){return[e.isImage&&("text"===i.type||!i.type)&&(e.hasMultipleMedias&&!e.fieldsRemovedFromBulkEditing.includes(i.name)||e.hasSingleMedia)&&e.translatableMetadatas.includes(i.name)?t("a17-locale",{key:i.name,attrs:{type:"a17-textfield",keepInDom:!0,attributes:{label:i.label,name:i.name,type:"textarea",rows:1,size:"small"},initialValues:e.sharedMetadata(i.name,"object")},on:{focus:e.focus,blur:e.blur}}):!e.isImage||"text"!==i.type&&i.type||!(e.hasMultipleMedias&&!e.fieldsRemovedFromBulkEditing.includes(i.name)||e.hasSingleMedia)?e._e():t("a17-textfield",{key:i.name,attrs:{label:i.label,name:i.name,size:"small",initialValue:e.sharedMetadata(i.name),type:"textarea",rows:1},on:{focus:e.focus,blur:e.blur}}),e.isImage&&"checkbox"===i.type&&(e.hasMultipleMedias&&!e.fieldsRemovedFromBulkEditing.includes(i.name)||e.hasSingleMedia)?t("div",{key:i.name,staticClass:"mediasidebar__checkbox"},[t("a17-checkbox",{key:i.name,attrs:{label:i.label,name:i.name,initialValue:e.sharedMetadata(i.name,"boolean"),value:1},on:{change:e.blur}})],1):e._e(),e.isImage&&e.hasMultipleMedias&&!e.fieldsRemovedFromBulkEditing.includes(i.name)?t("span",{directives:[{name:"tooltip",rawName:"v-tooltip"}],key:i.name,staticClass:"f--tiny f--note f--underlined",attrs:{"data-tooltip-title":"Remove this field if you do not want to update it on all selected medias","data-tooltip-theme":"default","data-tooltip-placement":"top"},on:{click:function(t){return e.removeFieldFromBulkEditing(i.name)}}},[e._v("Remove from bulk edit")]):e._e()]}))],2):e._e()],t("a17-modal",{ref:"warningDelete",staticClass:"modal--tiny modal--form modal--withintro",attrs:{title:"Warning Delete"}},[t("p",{staticClass:"modal--tiny-title"},[t("strong",[e._v(e._s(e.$trans("media-library.dialogs.delete.title","Are you sure ?")))])]),t("p",[e._v(e._s(e.warningDeleteMessage))]),t("a17-inputframe",[t("a17-button",{attrs:{variant:"validate"},on:{click:e.deleteSelectedMedias}},[e._v("Delete ("+e._s(e.mediasIdsToDelete.length)+") ")]),t("a17-button",{attrs:{variant:"aslink"},on:{click:function(t){return e.$refs.warningDelete.close()}}},[t("span",[e._v("Cancel")])])],1)],1)],2)},Wt=[],Ht=i(1664),Yt=function(){var e=this,t=e._self._c;return t("div",{staticClass:"mediasidebar__inner mediasidebar__inner--single"},[t("p",{staticClass:"f--note"},[e._v("Uploading "+e._s(e.mediasLoading.length)+" file"+e._s(e.mediasLoading.length>1?"s":""))]),t("div",{staticClass:"mediasidebar__progress"},[t("span",{staticClass:"mediasidebar__progressBar",style:e.loadingProgress})]),t("div",{staticClass:"mediasidebar__loading"},e._l(e.mediasLoading,(function(i){return t("p",{key:i.id,staticClass:"f--small",class:{"s--error":i.error}},[i.error?t("span",{staticClass:"mediasidebar__errorMessage"},[e._v(e._s(i.errorMessage))]):e._e(),t("span",[e._v(e._s(i.name))]),e._v(" "),i.error?t("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.cancelUpload(i)}}},[e._v("Cancel")]):e._e()])})),0)])},zt=[],Kt={name:"A17MediaSidebarUpload",props:{selectedMedias:{default:function(){return[]}}},data:function(){return{updateInProgress:!1}},computed:{loadingProgress:function(){const e=-100+this.uploadProgress;return{transform:"translateX("+e+"%)"}},...(0,_.rn)({mediasLoading:e=>e.mediaLibrary.loading,uploadProgress:e=>e.mediaLibrary.uploadProgress})},methods:{cancelUpload:function(e){this.$store.commit(v.CV.DONE_UPLOAD_MEDIA,e)}}},jt=Kt,Gt=(0,k.Z)(jt,Yt,zt,!1,null,"6a681c02",null),Xt=Gt.exports,Qt=i(1633),Jt={name:"A17MediaSidebar",components:{"a17-mediasidebar-upload":Xt,"a17-langswitcher":Ht.Z},props:{medias:{default:function(){return[]}},authorized:{type:Boolean,default:!1},type:{type:Object,required:!0},extraMetadatas:{type:Array,default(){return[]}},translatableMetadatas:{type:Array,default(){return[]}}},data:function(){return{loading:!1,focused:!1,previousSavedData:{},fieldsRemovedFromBulkEditing:[]}},filters:Qt.Z,watch:{medias:function(){this.fieldsRemovedFromBulkEditing=[]}},computed:{firstMedia:function(){return this.hasMedia?this.medias[0]:null},hasMultipleMedias:function(){return this.medias.length>1},hasSingleMedia:function(){return 1===this.medias.length},hasMedia:function(){return this.medias.length>0},isImage:function(){return"image"===this.type.value},sharedTags:function(){return this.medias.map((e=>e.tags)).reduce(((e,t)=>e.filter((e=>t.includes(e)))))},sharedMetadata(){return(e,t)=>this.hasMultipleMedias?this.medias.map((t=>t.metadatas.default[e])).every(((e,t,i)=>Array.isArray(e)?e[0]==i[0]:e==i[0]))?this.firstMedia.metadatas.default[e]:"object"===t?{}:"boolean"!==t&&"":"object"===typeof this.firstMedia.metadatas.default[e]||"boolean"===t?this.firstMedia.metadatas.default[e]:{}},captionValues(){return"object"===typeof this.firstMedia.metadatas.default.caption?this.firstMedia.metadatas.default.caption:{}},altValues(){return"object"===typeof this.firstMedia.metadatas.default.altText?this.firstMedia.metadatas.default.altText:{}},mediasIds:function(){return this.medias.map((function(e){return e.id})).join(",")},mediasIdsToDelete:function(){return this.medias.filter((e=>e.deleteUrl)).map((e=>e.id))},mediasIdsToDeleteString:function(){return this.mediasIdsToDelete.join(",")},allowDelete:function(){return this.medias.every((e=>e.deleteUrl))||this.hasMultipleMedias&&!this.medias.every((e=>!e.deleteUrl))},warningDeleteMessage:function(){return this.allowDelete?this.hasMultipleMedias?this.$trans("media-library.dialogs.delete.allow-delete-multiple-medias","Some files are used and can't be deleted. Do you want to delete the others ?"):this.$trans("media-library.dialogs.delete.allow-delete-one-media","This file is used and can't be deleted. Do you want to delete the others ?"):this.hasMultipleMedias?this.$trans("media-library.dialogs.delete.dont-allow-delete-multiple-medias","This files are used and can't be deleted."):this.$trans("media-library.dialogs.delete.dont-allow-delete-one-media","This file is used and can't be deleted.")},containerClasses:function(){return{"mediasidebar__inner--multi":this.hasMultipleMedias,"mediasidebar__inner--single":this.hasSingleMedia}},singleAndMultipleMetadatas:function(){return this.extraMetadatas.filter((e=>e.multiple&&!this.translatableMetadatas.includes(e.name)))},singleOnlyMetadatas:function(){return this.extraMetadatas.filter((e=>!e.multiple||e.multiple&&this.translatableMetadatas.includes(e.name)))},...(0,_.rn)({mediasLoading:e=>e.mediaLibrary.loading,useWysiwyg:e=>e.mediaLibrary.config.useWysiwyg,wysiwygOptions:e=>e.mediaLibrary.config.wysiwygOptions})},methods:{replaceMedia:function(){this.$root.$refs.replaceWarningMediaLibrary?this.$root.$refs.replaceWarningMediaLibrary.open((()=>{this.triggerMediaReplace()})):this.triggerMediaReplace()},triggerMediaReplace:function(){this.$emit("triggerMediaReplace",{id:this.getMediaToReplaceId()})},deleteSelectedMediasValidation:function(){if(this.loading)return!1;this.mediasIdsToDelete.length===this.medias.length?this.$root.$refs.deleteWarningMediaLibrary?this.$root.$refs.deleteWarningMediaLibrary.open((()=>{this.deleteSelectedMedias()})):this.deleteSelectedMedias():this.$refs.warningDelete.open()},deleteSelectedMedias:function(){if(this.loading)return!1;this.loading=!0,this.hasMultipleMedias?Ot.bulkDelete(this.firstMedia.deleteBulkUrl,{ids:this.mediasIdsToDeleteString},(e=>{this.loading=!1,this.$emit("delete",this.mediasIdsToDelete),this.$refs.warningDelete.close()}),(e=>{this.$store.commit(v.qq.SET_NOTIF,{message:e.data.message,variant:"error"})})):Ot.delete(this.firstMedia.deleteUrl,(e=>{this.loading=!1,this.$emit("delete",this.mediasIdsToDelete),this.$refs.warningDelete.close()}),(e=>{this.$store.commit(v.qq.SET_NOTIF,{message:e.data.message,variant:"error"})}))},clear:function(){this.$emit("clear")},getFormData:function(e){return(0,Lt.Z)(e)},getMediaToReplaceId:function(){return this.firstMedia.id},removeFieldFromBulkEditing:function(e){this.fieldsRemovedFromBulkEditing.push(e)},focus:function(){this.focused=!0},blur:function(){this.focused=!1,this.save();const e=this.$refs.form,t=this.getFormData(e);this.hasSingleMedia?(t.hasOwnProperty("alt_text")?this.firstMedia.metadatas.default.altText=t.alt_text:this.firstMedia.metadatas.default.altText="",t.hasOwnProperty("caption")?this.firstMedia.metadatas.default.caption=t.caption:this.firstMedia.metadatas.default.caption="",this.extraMetadatas.forEach((e=>{t.hasOwnProperty(e.name)?this.firstMedia.metadatas.default[e.name]=t[e.name]:this.firstMedia.metadatas.default[e.name]=""}))):this.singleAndMultipleMetadatas.forEach((e=>{t.hasOwnProperty(e.name)&&this.medias.forEach((i=>{i.metadatas.default[e.name]=t[e.name]}))}))},save:function(){this.$nextTick((()=>{const e=this.$refs.form;if(!e)return;const t=this.getFormData(e);X()(t,this.previousSavedData)||this.loading||(this.previousSavedData=t,this.update(e))}))},submit:function(e){e.preventDefault(),this.save()},update:function(e){if(this.loading)return;this.loading=!0;const t=this.getFormData(e);t.fieldsRemovedFromBulkEditing=this.fieldsRemovedFromBulkEditing;const i=this.hasMultipleMedias?this.firstMedia.updateBulkUrl:this.firstMedia.updateUrl;Ot.update(i,t,(e=>{this.loading=!1,e.data.tags&&this.$emit("tagUpdated",e.data.tags),this.hasMultipleMedias&&e.data.items&&this.medias.forEach((function(t){e.data.items.some((function(e){return e.id===t.id&&(t.tags=e.tags),e.id===t.id}))}))}),(e=>{this.loading=!1,e.data.message&&this.$store.commit(v.qq.SET_NOTIF,{message:e.data.message,variant:"error"})}))}}},ei=Jt,ti=(0,k.Z)(ei,qt,Wt,!1,null,"4f7e4b44",null),ii=ti.exports,si=function(){var e=this,t=e._self._c;return t("div",{staticClass:"uploader"},[t("div",{ref:"uploaderDropzone",staticClass:"uploader__dropzone"},[t("div",{ref:"uploaderBrowseButton",staticClass:"button"},[e._v(e._s(e.$trans("uploader.upload-btn-label","Add new")))]),t("div",{staticClass:"uploader__dropzone--desktop"},[e._v(e._s(e.$trans("uploader.dropzone-text","or drop new files here")))])])])},ai=[],ni=i(767),oi=i.n(ni),ri=i(4205),li=i(6495),di=i(5793);const ci=i(3700),ui=/[\/\?<>\\:\*\|":]/g,hi=/[\x00-\x1f\x80-\x9f]/g,pi=/^\.+$/,mi=/^(con|prn|aux|nul|com[0-9]|lpt[0-9])(\..*)?$/i,fi=/[\. ]+$/,gi=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"OE",letters:"ŒŒ"},{base:"oe",letters:"œœ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],_i={};for(let In=0;In0&&(t="."+e.join(", .")),{allowedExtensions:e,acceptFiles:t,stopOnFirstInvalidFile:!1}}},methods:{initUploader:function(){const e=this.$refs.uploaderBrowseButton,t={debug:!0,maxConnections:5,button:e,retry:{enableAuto:!1},callbacks:{onSubmit:this._onSubmitCallback.bind(this),onProgress:this._onProgressCallback.bind(this),onError:this._onErrorCallback.bind(this),onComplete:this._onCompleteCallback.bind(this),onAllComplete:this._onAllCompleteCallback.bind(this),onStatusChange:this._onStatusChangeCallback.bind(this),onTotalProgress:this._onTotalProgressCallback.bind(this)},text:{fileInputTitle:"Browse..."},messages:{retryFailTooManyItemsError:"Retry failed - you have reached your file limit.",sizeError:"{file} is too large, maximum file size is {sizeLimit}.",tooManyItemsError:"Too many items ({netItems}) would be uploaded. Item limit is {itemLimit}.",typeError:"{file} has an invalid extension. Valid extension(s): {extensions}."}};this._uploader="s3"===this.uploaderConfig.endpointType?new li.Z({options:{...t,validation:{...this.uploaderValidation},objectProperties:{key:e=>this.unique_folder_name+"/"+yi(this._uploader.methods.getName(e)),region:this.uploaderConfig.endpointRegion,bucket:this.uploaderConfig.endpointBucket,acl:this.uploaderConfig.acl},request:{endpoint:this.uploaderConfig.endpoint,accessKey:this.uploaderConfig.accessKey},signature:{endpoint:this.uploaderConfig.signatureEndpoint,version:4,customHeaders:{"X-CSRF-TOKEN":this.uploaderConfig.csrfToken}},uploadSuccess:{endpoint:this.uploaderConfig.successEndpoint,customHeaders:{"X-CSRF-TOKEN":this.uploaderConfig.csrfToken}}}}):"azure"===this.uploaderConfig.endpointType?new ri.Z({options:{...t,validation:{...this.uploaderValidation},cors:{expected:!0,sendCredentials:!0},blobProperties:{name:e=>new Promise((t=>{t(this.unique_folder_name+"/"+yi(this._uploader.methods.getName(e)))}))},request:{endpoint:this.uploaderConfig.endpoint},signature:{endpoint:this.uploaderConfig.signatureEndpoint,version:4,customHeaders:{"X-CSRF-TOKEN":this.uploaderConfig.csrfToken}},uploadSuccess:{endpoint:this.uploaderConfig.successEndpoint,customHeaders:{"X-CSRF-TOKEN":this.uploaderConfig.csrfToken}}}}):new di.Z({options:{...t,validation:{...this.uploaderValidation,sizeLimit:1048576*this.uploaderConfig.filesizeLimit},request:{endpoint:this.uploaderConfig.endpoint,customHeaders:{"X-CSRF-TOKEN":this.uploaderConfig.csrfToken}}}})},replaceMedia:function(e){this.media_to_replace_id=e;const t=this.$refs.uploaderBrowseButton.querySelectorAll('[name = "qqfile"]');t[Array.from(t).length-1].click()},loadingProgress:function(e){this.$store.commit(v.CV.PROGRESS_UPLOAD_MEDIA,e)},loadingFinished:function(e,t){this.$emit("loaded",t),this.$store.commit(v.CV.DONE_UPLOAD_MEDIA,e)},loadingError:function(e){this.$store.commit(v.CV.ERROR_UPLOAD_MEDIA,e)},uploadProgress:function(e){this.$store.commit(v.CV.PROGRESS_UPLOAD,e)},_onCompleteCallback(e,t,i,s){const a=this.loadingMedias.findIndex((t=>t.id===this._uploader.methods.getUuid(e)));i.success?this.loadingFinished(this.loadingMedias[a],i.media):this.loadingError(this.loadingMedias[a])},_onAllCompleteCallback(e,t){this.unique_folder_name=null,this.uploadProgress(0)},_onSubmitCallback(e,t){this.$emit("clear"),this.unique_folder_name=this.unique_folder_name||this.uploaderConfig.endpointRoot+oi().getUniqueId(),this._uploader.methods.setParams({unique_folder_name:this.unique_folder_name,media_to_replace_id:this.media_to_replace_id},e);const i=URL.createObjectURL(this._uploader.methods.getFile(e)),s=new Image;s.onload=()=>{this._uploader.methods.setParams({width:s.width,height:s.height,unique_folder_name:this.unique_folder_name,media_to_replace_id:this.media_to_replace_id},e),this.media_to_replace_id=null},s.src=i;const a={id:this._uploader.methods.getUuid(e),name:yi(t),progress:0,error:!1,errorMessage:null,isReplacement:!!this.media_to_replace_id,replacementId:this.media_to_replace_id};"file"===this.type.value&&(this.media_to_replace_id=null),this.loadingMedias.push(a),this.loadingProgress(a)},_onProgressCallback(e,t,i,s){const a=this.loadingMedias.findIndex((t=>t.id===this._uploader.methods.getUuid(e)));if(a>=0){const e=this.loadingMedias[a];e.progress=i/s*100||0,e.error=!1,this.loadingProgress(e)}},_onErrorCallback(e,t,i,s){const a=e?this.loadingMedias.findIndex((t=>t.id===this._uploader.methods.getUuid(e))):-1;if(a>=0)this.loadingMedias[a].errorMessage=i,this.loadingError(this.loadingMedias[a]);else{const s={id:e?this._uploader.methods.getUuid(e):Math.floor(1e3*Math.random()),name:yi(t),progress:0,error:!0,errorMessage:i};this.loadingMedias.push(s),this.loadingProgress(s),this.loadingError(this.loadingMedias[this.loadingMedias.length-1])}},_onStatusChangeCallback(e,t,i){if("retrying upload"===i){const t=this.loadingMedias.findIndex((function(t){return t.id===e}));if(t>=0){const e=this.loadingMedias[t];e.progress=0,e.error=!1,this.loadingProgress(e)}}},_onTotalProgressCallback(e,t){const i=Math.floor(e/t*100);this.uploadProgress(i)},_onDropError(e,t){console.error(e,t)},_onProcessingDroppedFilesComplete(e){this._uploader.methods.addFiles(e)}},watch:{type:function(){this._uploader&&this.initUploader()}},mounted(){this.initUploader();const e=this.$refs.uploaderDropzone;this._qqDropzone&&this._qqDropzone.dispose(),this._qqDropzone=new(oi().DragAndDrop)({dropZoneElements:[e],allowMultipleItems:!0,callbacks:{dropError:this._onDropError.bind(this),processingDroppedFilesComplete:this._onProcessingDroppedFilesComplete.bind(this)}})},beforeDestroy(){this._qqDropzone&&this._qqDropzone.dispose()}},Ei=wi,Ti=(0,k.Z)(Ei,si,ai,!1,null,"f229897e",null),ki=Ti.exports,Ci={name:"A17Medialibrary",components:{"a17-filter":Pt.Z,"a17-mediasidebar":ii,"a17-uploader":ki,"a17-mediagrid":Zt,"a17-itemlist":Bt.Z,"a17-spinner":St.Z,"a17-checkbox":z},props:{modalTitlePrefix:{type:String,default:function(){return this.$trans("media-library.title","Media Library")}},btnLabelSingle:{type:String,default:function(){return this.$trans("media-library.insert","Insert")}},btnLabelUpdate:{type:String,default:function(){return this.$trans("media-library.update","Update")}},btnLabelMulti:{type:String,default:function(){return this.$trans("media-library.insert","Insert")}},initialPage:{type:Number,default:1},authorized:{type:Boolean,default:!1},showInsert:{type:Boolean,default:!0},extraMetadatas:{type:Array,default(){return[]}},translatableMetadatas:{type:Array,default(){return[]}}},data:function(){return{loading:!1,maxPage:20,mediaItems:[],selectedMedias:[],gridHeight:0,page:this.initialPage,tags:[],lastScrollTop:0,gridLoaded:!1}},computed:{renderedMediaItems:function(){return this.mediaItems.map((e=>(e.disabled=this.filesizeMax>0&&e.filesizeInMb>this.filesizeMax||this.widthMin>0&&e.width0&&e.heighte.value===this.type))},endpoint:function(){return this.currentTypeObject.endpoint},modalTitle:function(){return this.connector?this.indexToReplace>-1?this.modalTitlePrefix+" – "+this.btnLabelUpdate:this.selectedMedias.length>1?this.modalTitlePrefix+" – "+this.btnLabelMulti:this.modalTitlePrefix+" – "+this.btnLabelSingle:this.modalTitlePrefix},btnLabel:function(){let e=this.$trans("media-library.types.single."+this.type,this.type);return this.indexToReplace>-1?this.btnLabelUpdate+" "+e:(this.selectedMedias.length>1&&(e=this.$trans("media-library.types.multiple."+this.type,this.type)),this.btnLabelSingle+" "+e)},usedMedias:function(){return this.selected[this.connector]||[]},selectedType:function(){const e=this,t=e.types.filter((function(t){return t.value===e.type}));return t[0]},canInsert:function(){return!this.selectedMedias.some((e=>!!this.usedMedias.find((t=>t.id===e.id))))},...(0,_.rn)({connector:e=>e.mediaLibrary.connector,max:e=>e.mediaLibrary.max,filesizeMax:e=>e.mediaLibrary.filesizeMax,widthMin:e=>e.mediaLibrary.widthMin,heightMin:e=>e.mediaLibrary.heightMin,type:e=>e.mediaLibrary.type,types:e=>e.mediaLibrary.types,strict:e=>e.mediaLibrary.strict,selected:e=>e.mediaLibrary.selected,indexToReplace:e=>e.mediaLibrary.indexToReplace})},watch:{type:function(){this.clearMediaItems(),this.gridLoaded=!1}},methods:{replaceMedia:function(e){let{id:t}=e;this.$refs.uploader.replaceMedia(t)},open:function(){this.$refs.modal.open()},close:function(){this.$refs.modal.hide()},opened:function(){if(this.gridLoaded||this.reloadGrid(),this.listenScrollPosition(),this.selectedMedias=[],this.connector&&this.indexToReplace>-1){const e=this.selected[this.connector][this.indexToReplace];e&&this.selectedMedias.push(e)}},updateType:function(e){this.loading||this.strict||this.type!==e&&(this.$store.commit(v.CV.UPDATE_MEDIA_TYPE,e),this.submitFilter())},addMedia:function(e){const t=this.mediaItems.findIndex((function(t){return t.id===e.id}));if(t>-1){for(const t in this.selected)this.selected[t].forEach(((i,s)=>{if(e.id===i.id){const a=[];for(const t in i.crops)a[t]={height:e.height===i.height?i.crops[t].height:e.height,name:t,width:e.width===i.width?i.crops[t].width:e.width,x:e.width===i.width?i.crops[t].x:0,y:e.height===i.height?i.crops[t].y:0};this.$store.commit(v.CV.UPDATE_MEDIAS,{index:s,media:{...e,width:e.width===i.width?i.width:e.width,height:e.height===i.height?i.height:e.height,crops:a},mediaRole:t})}}));this.$set(this.mediaItems,t,e),this.selectedMedias.unshift(e)}else this.mediaItems.unshift(e),this.$store.commit(v.CV.INCREMENT_MEDIA_TYPE_TOTAL,this.type),this.updateSelectedMedias(e.id)},updateSelectedMedias:function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const i=e.id,s=this.selectedMedias.filter((function(e){return e.id===i}));if(0===s.length){if(1===this.max&&this.clearSelectedMedias(),this.selectedMedias.length>=this.max&&this.max>0)return;if(t&&this.selectedMedias.length>0){const e=this.selectedMedias[this.selectedMedias.length-1],t=this.mediaItems.findIndex((t=>t.id===e.id)),s=this.mediaItems.findIndex((e=>e.id===i));if(-1===s&&-1===t)return;let a=null,n=null;t{if(this.selectedMedias.length>=this.max&&this.max>0)return;const t=this.selectedMedias.findIndex((t=>t.id===e.id));-1===t&&this.selectedMedias.push(e)}))}else{const e=this.mediaItems.filter((function(e){return e.id===i}));e.length&&this.selectedMedias.push(e[0])}}else this.selectedMedias=this.selectedMedias.filter((function(e){return e.id!==i}))},getFormData:function(e){let t=(0,Lt.Z)(e);return t?t.page=this.page:t={page:this.page},t.type=this.type,Array.isArray(t.unused)&&t.unused.length&&(t.unused=t.unused[0]),t},clearFilters:function(){const e=this;if(this.$refs.filter&&(this.$refs.filter.value=null),this.$refs.unused){const e=this.$refs.unused.$el.querySelector("input");e&&e.checked&&e.click()}this.$nextTick((function(){e.submitFilter()}))},clearSelectedMedias:function(){this.selectedMedias.splice(0)},deleteSelectedMedias:function(e){let t=[];e&&e.length!==this.selectedMedias.length&&(t=this.selectedMedias.filter((e=>!e.deleteUrl))),e.forEach((()=>{this.$store.commit(v.CV.DECREMENT_MEDIA_TYPE_TOTAL,this.type)})),this.mediaItems=this.mediaItems.filter((e=>!this.selectedMedias.includes(e)||t.includes(e))),this.selectedMedias=t,this.mediaItems.length<=40&&this.reloadGrid()},clearMediaItems:function(){this.mediaItems.splice(0)},reloadGrid:function(){this.loading=!0;const e=this.$refs.form,t=this.getFormData(e);Ot.get(this.endpoint,t,(e=>{e.data.items.forEach((e=>{this.mediaItems.find((t=>t.id===e.id))||this.mediaItems.push(e)})),this.maxPage=e.data.maxPage||1,this.tags=e.data.tags||[],this.$store.commit(v.CV.UPDATE_MEDIA_TYPE_TOTAL,{type:this.type,total:e.data.total}),this.loading=!1,this.listenScrollPosition(),this.gridLoaded=!0}),(e=>{this.$store.commit(v.qq.SET_NOTIF,{message:e.data.message,variant:"error"})}))},reloadTags:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.tags=e},submitFilter:function(e){const t=this,i=this.$refs.list;this.page=1,this.clearMediaItems(),this.clearSelectedMedias(),0!==i.scrollTop?(0,It.Z)({el:i,offset:0,easing:"easeOut",onComplete:function(){t.reloadGrid()}}):t.reloadGrid()},listenScrollPosition:function(){this.$nextTick((function(){if(!this.gridLoaded)return;const e=this.$refs.list;this.gridHeight!==e.scrollHeight&&e.addEventListener("scroll",this.scrollToPaginate)}))},scrollToPaginate:function(){if(!this.gridLoaded)return;const e=this.$refs.list,t=10;e.scrollTop>this.lastScrollTop&&e.scrollTop+e.offsetHeight>e.scrollHeight-t&&(e.removeEventListener("scroll",this.scrollToPaginate),this.maxPage>this.page?(this.page=this.page+1,this.reloadGrid()):this.gridHeight=e.scrollHeight),this.lastScrollTop=e.scrollTop},saveAndClose:function(){this.$store.commit(v.CV.SAVE_MEDIAS,this.selectedMedias),this.close()}}},Ai=Ci,xi=(0,k.Z)(Ai,At,xt,!1,null,"aaf9470e",null),Si=xi.exports,Li=function(){var e=this,t=e._self._c;return t("div",{staticClass:"media",class:{"media--hoverable":e.hover,"media--slide":e.isSlide}},[t("div",{staticClass:"media__field"},[e.hasMedia?t("div",{staticClass:"media__info"},[t("div",{staticClass:"media__img"},[t("div",{staticClass:"media__imgFrame"},[t("div",{staticClass:"media__imgCentered",style:e.cropThumbnailStyle},[e.cropSrc&&e.showImg?t("img",{ref:"mediaImg",class:e.cropThumbnailClass,attrs:{src:e.cropSrc}}):e._e()]),e.disabled?e._e():t("div",{staticClass:"media__edit",on:{click:function(t){return e.openMediaLibrary(1,e.mediaKey,e.index)}}},[t("span",{staticClass:"media__edit--button"},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"edit"}})])])])]),e.disabled?e._e():t("ul",{staticClass:"media__metadatas"},[t("li",{staticClass:"media__name",on:{click:function(t){return e.openMediaLibrary(1,e.mediaKey,e.index)}}},[t("strong",{attrs:{title:e.media.name}},[e._v(e._s(e.media.name))])]),e.media.size?t("li",{staticClass:"f--small"},[e._v("File size: "+e._s(e._f("uppercase")(e.media.size)))]):e._e(),e.media.width+e.media.height?t("li",{staticClass:"f--small"},[e._v(e._s(e.$trans("fields.medias.original-dimensions"))+": "+e._s(e.media.width)+" × "+e._s(e.media.height)+" ")]):e._e(),e.cropInfos&&e.activeCrop?t("li",{staticClass:"f--small media__crop-link",on:{click:e.openCropMedia}},e._l(e.cropInfos,(function(i,s){return t("p",{key:s,staticClass:"f--small f--note hide--xsmall"},[t("span",{domProps:{innerHTML:e._s(i)}})])})),0):e._e(),t("li",{staticClass:"f--small"},[e.withAddInfo?t("a",{staticClass:"f--link-underlined--o",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.metadatasInfos.apply(null,arguments)}}},[e._v(e._s(e.metadatas.text))]):e._e()])]),e.disabled?e._e():t("a17-buttonbar",{staticClass:"media__actions"},[t("a",{attrs:{href:e.media.original,download:""}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"download"}})]),e.activeCrop?t("button",{attrs:{type:"button"},on:{click:e.openCropMedia}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"crop"}})]):e._e(),t("button",{attrs:{type:"button"},on:{click:e.deleteMediaClick}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"trash"}})])]),t("div",{staticClass:"media__actions-dropDown"},[t("a17-dropdown",{ref:"dropDown",attrs:{position:"right"}},[t("a17-button",{attrs:{size:"icon",variant:"icon"},on:{click:function(t){return e.$refs.dropDown.toggle()}}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"more-dots"}})]),t("div",{attrs:{slot:"dropdown__content"},slot:"dropdown__content"},[t("a",{attrs:{href:e.media.original,download:""}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"download"}}),e._v(e._s(e.$trans("fields.medias.download")))]),e.activeCrop?t("button",{attrs:{type:"button"},on:{click:e.openCropMedia}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"crop"}}),e._v(e._s(e.$trans("fields.medias.crop"))+" ")]):e._e(),t("button",{attrs:{type:"button"},on:{click:e.deleteMediaClick}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"trash"}}),e._v(e._s(e.$trans("fields.medias.delete")))])])],1)],1)],1):e._e(),e.hasMedia?e._e():t("a17-button",{attrs:{variant:"ghost",disabled:e.disabled},on:{click:e.openMediaLibrary}},[e._v(e._s(e.btnLabel))]),this.$slots.default?t("p",{staticClass:"media__note f--small"},[e._t("default")],2):e._e(),e.hasMedia&&e.withAddInfo?t("div",{staticClass:"media__metadatas--options",class:{"s--active":e.metadatas.active}},[t("a17-mediametadata",{attrs:{name:e.metadataName,label:e.$trans("fields.medias.alt-text","Alt Text"),id:"altText",media:e.media,maxlength:e.altTextMaxLength},on:{change:e.updateMetadata}}),e.withCaption?t("a17-mediametadata",{attrs:{wysiwyg:e.useWysiwyg,"wysiwyg-options":e.wysiwygOptions,type:"text",name:e.metadataName,label:e.$trans("fields.medias.caption","Caption"),id:"caption",media:e.media,maxlength:e.captionMaxLength},on:{change:e.updateMetadata}}):e._e(),e.withVideoUrl?t("a17-mediametadata",{attrs:{name:e.metadataName,label:e.$trans("fields.medias.video-url","Video URL (optional)"),id:"video",media:e.media},on:{change:e.updateMetadata}}):e._e(),e._l(e.extraMetadatas,(function(i){return[e.extraMetadatas.length>0?t("a17-mediametadata",{key:i.name,attrs:{type:i.type,name:e.metadataName,wysiwyg:i.wysiwyg||!1,"wysiwyg-options":i.wysiwygOptions||e.wysiwygOptions,label:i.label,id:i.name,media:e.media,maxlength:i.maxlength||0},on:{change:e.updateMetadata}}):e._e()]}))],2):e._e()],1),e.hasMedia&&e.activeCrop?t("a17-modal",{ref:e.cropModalName,staticClass:"modal--cropper",attrs:{forceClose:!0,title:e.$trans("fields.medias.crop-edit"),mode:"medium"}},[t("a17-cropper",{key:e.cropperKey,attrs:{media:e.media,aspectRatio:16/9,context:e.cropContext},on:{"crop-end":e.cropMedia}},[t("a17-button",{staticClass:"cropper__button",attrs:{variant:"action"},on:{click:function(t){return e.$refs[e.cropModalName].close()}}},[e._v(e._s(e.$trans("fields.medias.crop-save")))])],1)],1):e._e(),t("input",{attrs:{name:e.inputName,type:"hidden"},domProps:{value:JSON.stringify(e.media)}})],1)},Ii=[],Di=i(9697),Mi=i.n(Di),Oi=function(){var e=this,t=e._self._c;return t("div",{staticClass:"cropper"},[t("header",{staticClass:"cropper__header"},[e.multiCrops?t("ul",{staticClass:"cropper__breakpoints"},e._l(e.cropOptions,(function(i,s,a){return t("li",{key:s,class:{"s--active":e.toggleBreakpoint===a},on:{click:function(t){return e.changeCrop(s,a)}}},[e._v(e._s(e._f("capitalize")(s)))])})),0):e._e()]),t("div",{staticClass:"cropper__content"},[t("div",{ref:"cropWrapper",staticClass:"cropper__wrapper"},[t("img",{ref:"cropImage",staticClass:"cropper__img",attrs:{src:e.currentMedia.medium||e.currentMedia.original,alt:e.currentMedia.name}})])]),t("footer",{staticClass:"cropper__footer"},[e.ratiosByContext.length>1?t("ul",{staticClass:"cropper__ratios"},e._l(e.ratiosByContext,(function(i){return t("li",{key:i.name,staticClass:"f--small",class:{"s--active":e.currentRatioName===i.name},on:{click:function(t){return e.changeRatio(i)}}},[e._v(e._s(e._f("capitalize")(i.name)))])})),0):e._e(),t("span",{staticClass:"cropper__values f--small hide--xsmall",class:e.cropperWarning},[e._v(e._s(e.cropValues.original.width)+" × "+e._s(e.cropValues.original.height))]),e._t("default")],2)])},Pi=[],Bi=i(3129),Ri=i.n(Bi),Ni=i(5602);const Fi=(e,t,i)=>({x:Math.round(e.x*t.width/i.width),y:Math.round(e.y*t.height/i.height),width:Math.round(e.width*t.width/i.width),height:Math.round(e.height*t.height/i.height)});var $i={name:"a17Cropper",props:{media:{type:Object,default:()=>{}},context:{type:String,default:""}},mixins:[Ni.Z],data:function(){return{cropper:null,currentMedia:this.media,currentCrop:Object.keys(this.media.crops)[0],toggleBreakpoint:0,cropValues:{natural:{width:null,height:null},original:{width:this.media.crops[Object.keys(this.media.crops)[0]].width,height:this.media.crops[Object.keys(this.media.crops)[0]].height}},minCropValues:{width:0,height:0},currentRatioName:this.media.crops[Object.keys(this.media.crops)[0]].name}},watch:{media:function(e){this.currentMedia=e}},computed:{cropOptions:function(){return this.allCrops.hasOwnProperty(this.context)?this.allCrops[this.context]:{}},crop:function(){return this.currentMedia.crops[this.currentCrop]||{}},multiCrops:function(){return Object.keys(this.cropOptions).length>1},ratiosByContext:function(){const e=this.cropOptions[this.currentCrop];return e||[]},cropperOpts:function(){return{...this.defaultCropsOpts,cropmove:()=>{this.updateCropperValues()},cropend:()=>{this.sendCropperValues()}}},cropperWarning:function(){return{cropper__warning:this.cropValues.original.widthe.mediaLibrary.crops})},filters:Qt.Z,mounted:function(){const e=this.cropperOpts,t=this.$refs.cropImage,i=this.$refs.cropWrapper,s=new Image;s.addEventListener("load",(()=>{i.style.maxWidth=i.getBoundingClientRect().width+"px",i.style.minHeight=i.getBoundingClientRect().height+"px",this.cropper=new(Ri())(t,e)}),{once:!0,passive:!0,capture:!0}),s.src=this.currentMedia.medium||this.currentMedia.original,t.addEventListener("ready",(()=>{this.cropValues.natural.width=s.naturalWidth,this.cropValues.natural.height=s.naturalHeight,this.updateCrop()}),{once:!0,passive:!0,capture:!0})},methods:{initAspectRatio:function(){const e=this.ratiosByContext,t=e.find((e=>e.name===this.currentRatioName));if("undefined"!==typeof t&&t)return this.minCropValues.width=t.minValues?t.minValues.width:0,this.minCropValues.height=t.minValues?t.minValues.height:0,void this.cropper.setAspectRatio(t.ratio);this.cropper.setAspectRatio(this.aspectRatio)},changeCrop:function(e,t){this.currentCrop=e,this.currentRatioName=this.crop.name||this.cropOptions[e][0].name,this.toggleBreakpoint=t,this.updateCrop(),this.sendCropperValues()},changeRatio:function(e){this.currentRatioName=e.name,this.updateCrop(),this.sendCropperValues()},updateCrop:function(){this.initAspectRatio(),this.initCrop(),this.updateCropperValues()},updateCropperValues:function(){const e=this.cropper.getData(!0),t=this.toOriginalCrop(e);this.cropValues.original.width=t.width,this.cropValues.original.height=t.height},initCrop:function(){const e=this.toNaturalCrop(this.crop);this.cropper.setData({x:e.x}),this.cropper.setData({y:e.y}),this.cropper.setData({width:e.width}),this.cropper.setData({height:e.height})},test:function(){const e=this.toNaturalCrop({x:0,y:0,width:380,height:475});this.cropper.setAspectRatio(.8),this.cropper.setData(e)},sendCropperValues:function(){const e={values:{}};e.values[this.currentCrop]=this.toOriginalCrop(this.cropper.getData(!0)),e.values[this.currentCrop].name=this.currentRatioName,this.$emit("crop-end",e)},toNaturalCrop:function(e){return Fi(e,this.cropValues.natural,this.currentMedia)},toOriginalCrop:function(e){return Fi(e,this.currentMedia,this.cropValues.natural)}},beforeDestroy:function(){this.cropper.destroy()}},Ui=$i,Vi=(0,k.Z)(Ui,Oi,Pi,!1,null,"4078e85d",null),Zi=Vi.exports,qi=function(){var e=this,t=e._self._c;return e.languages.length>1&&"text"===e.fieldType?t("a17-locale",{attrs:{type:e.wysiwyg?"a17-wysiwyg":"a17-textfield",initialValues:e.initialValues,attributes:e.attributes},on:{change:e.saveMetadata}}):"text"===e.fieldType&&e.wysiwyg?t("div",[t("a17-wysiwyg",{attrs:{options:e.wysiwygOptions,label:e.label,name:e.fieldName,type:e.fieldType,initialValue:e.initialValue,"in-store":"value",maxlength:e.maxlength},on:{change:e.saveMetadata}}),t("p",{staticClass:"f--note f--small",domProps:{innerHTML:e._s(e.placeholder)}})],1):"text"===e.fieldType?t("a17-textfield",{attrs:{label:e.label,name:e.fieldName,type:"text",placeholder:e.placeholder,initialValue:e.initialValue,"in-store":"value",maxlength:e.maxlength},on:{change:e.saveMetadata}}):"checkbox"===e.fieldType?t("div",{staticClass:"mediaMetadata__checkbox"},[t("a17-checkbox",{attrs:{label:e.label,name:e.fieldName,initialValue:e.initialValue,value:1,inStore:"value"},on:{change:e.saveMetadata}})],1):e._e()},Wi=[],Hi={name:"A17MediaMetadata",props:{media:{type:Object,default:()=>{}},name:{type:String,required:!0},id:{type:String,required:!0},label:{type:String,required:!0},wysiwyg:{type:Boolean,default:!1},wysiwygOptions:{type:Object,required:!1,default:function(){return{}}},type:{type:String,required:!1},maxlength:{type:Number,required:!1,default:0}},data:function(){return{initialValues:{},initialValue:""}},computed:{fieldName:function(){return"".concat(this.name,"[").concat(this.id,"]")},fieldType:function(){return this.type?this.type:"text"},defaultMetadatas:function(){return this.media.hasOwnProperty("metadatas")&&this.media.metadatas.default[this.id]||!1},customMetadatas:function(){return this.media.hasOwnProperty("metadatas")&&this.media.metadatas.custom[this.id]||!1},attributes:function(){return{label:this.label,name:this.fieldName,type:"text",placeholder:this.placeholder,options:this.wysiwygOptions,inStore:"value",maxlength:this.maxlength}},placeholder:function(){return this.defaultMetadatas?"object"===typeof this.defaultMetadatas?this.defaultMetadatas.hasOwnProperty(this.currentLocale)?this.defaultMetadatas[this.currentLocale]:"":null!==this.defaultMetadatas?this.defaultMetadatas:"":""},...(0,_.rn)({languages:e=>e.language.all,currentLocale:e=>e.language.active.value})},methods:{saveMetadata:function(e){if(!e.locale){const t=e;e={value:t}}e.id=this.id,this.$emit("change",e)}},mounted:function(){const e={};let t="",i=0;this.languages.forEach((s=>{const a=s.value;if(this.customMetadatas){this.customMetadatas[a]?e[a]=this.customMetadatas[a]:!0!==this.customMetadatas&&"string"!==typeof this.customMetadatas||0!==i?e[a]="":(e[a]=this.customMetadatas,t=this.customMetadatas);const s={};s.name=this.fieldName,s.value=e[a],this.languages.length>1&&(s.locale=a),this.$store.commit(v.Yc.UPDATE_FORM_FIELD,s)}i++})),this.initialValues=e,this.initialValue=t}},Yi=Hi,zi=(0,k.Z)(Yi,qi,Wi,!1,null,"6c6bb80c",null),Ki=zi.exports,ji={props:{withAddInfo:{type:Boolean,default:!0},withVideoUrl:{type:Boolean,default:!1},withCaption:{type:Boolean,default:!0},altTextMaxLength:{type:Number,default:0},captionMaxLength:{type:Number,default:0},note:{type:String,default:""},cropContext:{type:String,default:""},extraMetadatas:{type:Array,default(){return[]}}}};const Gi=-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome");var Xi={name:"A17Mediafield",components:{"a17-cropper":Zi,"a17-mediametadata":Ki},mixins:[Ve.Z,ji],props:{name:{type:String,required:!0},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},btnLabel:{type:String,default(){return this.$trans("fields.medias.btn-label","Attach image")}},hover:{type:Boolean,default:!1},isSlide:{type:Boolean,default:!1},index:{type:Number,default:0},mediaContext:{type:String,default:""},activeCrop:{type:Boolean,default:!0},widthMin:{type:Number,default:0},heightMin:{type:Number,default:0}},data:function(){return{canvas:null,img:null,ctx:null,imgLoaded:!1,cropSrc:"",showImg:!1,isDestroyed:!1,naturalDim:{width:null,height:null},originalDim:{width:null,height:null},hasMediaChanged:!1,metadatas:{text:this.$trans("fields.medias.edit-info"),textOpen:this.$trans("fields.medias.edit-info"),textClose:this.$trans("fields.medias.edit-close"),active:!1}}},filters:Qt.Z,computed:{...(0,_.rn)({useWysiwyg:e=>e.mediaLibrary.config.useWysiwyg,wysiwygOptions:e=>e.mediaLibrary.config.wysiwygOptions}),cropThumbnailStyle:function(){return this.showImg?{}:this.hasMedia&&this.media.crops?0===this.cropSrc.length?{}:{backgroundImage:"url(".concat(this.cropSrc,")")}:{}},cropThumbnailClass:function(){if(!this.hasMedia)return{};if(!this.media.crops)return{};const e=this.media.crops[Object.keys(this.media.crops)[0]];return{"media__img--landscape":e.width/e.height>=1,"media__img--portrait":e.width/e.height<1}},mediaKey:function(){return this.mediaContext.length>0?this.mediaContext:this.name},inputName:function(){let e=this.name;return this.name.indexOf("[")&&(e=this.name.replace("]","").replace("[","][")),"medias["+e+"]["+this.index+"]"},metadataName:function(){return"mediaMeta["+this.name+"]["+this.media.id+"]"},media:function(){return this.selectedMedias.hasOwnProperty(this.mediaKey)&&this.selectedMedias[this.mediaKey][this.index]||{}},cropInfos:function(){const e=[];if(this.media.crops)for(const t in this.media.crops)if(this.media.crops[t].width+this.media.crops[t].height){let i="";i+=this.media.crops[t].name+" "+this.$trans("fields.medias.crop-list")+": ",i+=this.media.crops[t].width+" × "+this.media.crops[t].height,e.push(i)}return e.length>0?e:null},hasMedia:function(){return Object.keys(this.media).length>0},cropperKey:function(){return"".concat(this.mediaKey,"-").concat(this.index,"_").concat(this.cropContext)},mediaHasCrop:function(){return this.media.crops},cropModalName:function(){return"".concat(name,"Modal")},...(0,_.rn)({selectedMedias:e=>e.mediaLibrary.selected,allCrops:e=>e.mediaLibrary.crops})},watch:{media:function(e,t){this.hasMediaChanged=e!==t,this.selectedMedias.hasOwnProperty(this.mediaKey)&&this.selectedMedias[this.mediaKey][this.index]&&(this.isDestroyed=!1)}},methods:{canvasCrop(){const e=this.media.crops[Object.keys(this.media.crops)[0]];if(!e)return;if(e.width+e.height===0)return void this.showDefaultThumbnail();let t=this.media.thumbnail;this.$nextTick((()=>{try{const i=Fi(e,this.naturalDim,this.originalDim),s=i.width,a=i.height;this.canvas.width=s,this.canvas.height=a,this.ctx.drawImage(this.img,i.x,i.y,s,a,0,0,s,a),t=this.canvas.toDataURL("image/png"),this.cropSrc!==t&&(this.showImg=!1,this.cropSrc=t)}catch(i){console.error(i),this.cropSrc!==t&&(this.showImg=!0,this.cropSrc=t)}}))},setDefaultCrops:function(){const e={},t=[];if(this.allCrops.hasOwnProperty(this.cropContext)){for(const i in this.allCrops[this.cropContext]){const s=this.allCrops[this.cropContext][i][0].ratio,a=this.media.width,n=this.media.height,o={x:a/2,y:n/2};let r=a,l=n;s>0&&s<1?(r=Math.floor(Math.min(n*s,a)),l=Math.floor(r/s)):s>=1&&(l=Math.floor(Math.min(a/s,n)),r=Math.floor(l*s));let d={x:0,y:0,width:r,height:l};d=Fi(d,this.naturalDim,this.originalDim),t.push(Mi().crop(this.img,{width:d.width,height:d.height,minScale:1}));const c=Math.floor(o.x-r/2),u=Math.floor(o.y-l/2);e[i]={},e[i].name=this.allCrops[this.cropContext][i][0].name||i,e[i].x=c,e[i].y=u,e[i].width=r,e[i].height=l}Promise.all(t).then((t=>{let i=0;t.forEach((t=>{const s={x:t.topCrop.x,y:t.topCrop.y,width:t.topCrop.width,height:t.topCrop.height},a=e[Object.keys(e)[i]],n=Fi(s,this.originalDim,this.naturalDim);a.x=n.x,a.y=n.y,a.width=n.width,a.height=n.height,i++})),this.cropMedia({values:e})}),(t=>{console.error(t),this.cropMedia({values:e})}))}else this.cropMedia({values:e})},cropMedia:function(e){e.key=this.mediaKey,e.index=this.index,this.$store.commit(v.CV.SET_MEDIA_CROP,e),this.img&&this.canvasCrop()},setNaturalDimensions:function(){this.img&&(this.naturalDim.width=this.img.naturalWidth,this.naturalDim.height=this.img.naturalHeight)},setOriginalDimensions:function(){this.media&&(this.originalDim.width=this.media.width,this.originalDim.height=this.media.height)},init:function(){this.showImg=!1;const e=()=>{this.setNaturalDimensions(),this.setOriginalDimensions(),this.mediaHasCrop?this.canvasCrop():this.setDefaultCrops()};this.hasMedia&&(this.cropSrc=this.media.thumbnail,this.initImg().then((()=>{e()}),(t=>{console.error(t),this.showDefaultThumbnail(),this.$nextTick((()=>{const t=this.$refs.mediaImg;t?(t.addEventListener("load",(()=>{this.img=t,e()}),{once:!0,passive:!0,capture:!0}),t.addEventListener("error",(e=>{console.error(e),this.showDefaultThumbnail()}))):(this.showImg=!1,this.cropSrc=this.media.thumbnail)}))})),this.hasMediaChanged=!1)},initImg:function(){return new Promise(((e,t)=>{this.img=new Image,Gi||(this.img.crossOrigin="Anonymous"),this.canvas=document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.img.addEventListener("load",(()=>{e()}),{once:!0,passive:!0,capture:!0}),this.img.addEventListener("error",(e=>{t(e)}));let i="?";this.media.thumbnail.indexOf("?")>-1&&(i="&"),this.img.src=this.media.thumbnail+i+"no-cache"}))},showDefaultThumbnail:function(){this.showImg=!0,this.hasMedia&&(this.cropSrc=this.media.thumbnail)},openCropMedia:function(){this.$refs[this.cropModalName].open()},deleteMediaClick:function(){this.isDestroyed=!0,this.deleteMedia()},deleteMedia:function(){this.$store.commit(v.CV.DESTROY_SPECIFIC_MEDIA,{name:this.mediaKey,index:this.index})},updateMetadata:function(e){this.$store.commit(v.CV.SET_MEDIA_METADATAS,{media:{context:this.mediaKey,index:this.index},value:e})},metadatasInfos:function(){this.metadatas.active=!this.metadatas.active,this.metadatas.text=this.metadatas.active?this.metadatas.textClose:this.metadatas.textOpen},destroyValue:function(){this.isSlide||this.isDestroyed||this.deleteMedia()}},beforeMount:function(){this.init()},beforeUpdate:function(){this.hasMediaChanged&&this.init()}},Qi=Xi,Ji=(0,k.Z)(Qi,Li,Ii,!1,null,"3f736376",null),es=Ji.exports,ts=function(){var e=this,t=e._self._c;return t("a17-inputframe",{attrs:{error:e.error,label:e.label,locale:e.locale,size:e.size,note:e.note,name:e.name},on:{localize:e.updateLocale}},[e.max>1||0===e.max?t("a17-slideshow",{attrs:{name:e.name,cropContext:e.cropContext,max:e.max,required:e.required,buttonOnTop:e.buttonOnTop,withAddInfo:e.withAddInfo,withVideoUrl:e.withVideoUrl,withCaption:e.withCaption,altTextMaxLength:e.altTextMaxLength,captionMaxLength:e.captionMaxLength,extraMetadatas:e.extraMetadatas,disabled:e.disabled}},[e._t("default")],2):t("a17-mediafield",{attrs:{name:e.name,cropContext:e.cropContext,required:e.required,withAddInfo:e.withAddInfo,withVideoUrl:e.withVideoUrl,withCaption:e.withCaption,altTextMaxLength:e.altTextMaxLength,captionMaxLength:e.captionMaxLength,extraMetadatas:e.extraMetadatas,disabled:e.disabled}},[e._t("default")],2)],1)},is=[],ss={name:"A17MediafieldTranslated",mixins:[Ue.Z,ee.Z,ji],props:{name:{type:String,required:!0},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},max:{type:Number,default:1},buttonOnTop:{type:Boolean,default:!1}}},as=ss,ns=(0,k.Z)(as,ts,is,!1,null,null,null),os=ns.exports,rs=i(9306),ls=function(){var e=this,t=e._self._c;return t("div",{staticClass:"multiselectorOuter"},[t("a17-inputframe",{attrs:{error:e.error,note:e.note,label:e.label,name:e.name,"add-new":e.addNew}},[t("div",{staticClass:"multiselector",class:e.gridClasses},[t("div",{staticClass:"multiselector__outer"},e._l(e.fullOptions,(function(i,s){return t("div",{key:s,staticClass:"multiselector__item",style:e.itemStyle},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.checkedValue,expression:"checkedValue"}],staticClass:"multiselector__checkbox",class:{"multiselector__checkbox--checked":e.checkedValue.includes(i.value)},attrs:{type:"checkbox",name:e.name+"["+e.randKey+"]",id:e.uniqId(i.value,s),disabled:i.disabled||e.disabled},domProps:{value:i.value,checked:Array.isArray(e.checkedValue)?e._i(e.checkedValue,i.value)>-1:e.checkedValue},on:{change:function(t){var s=e.checkedValue,a=t.target,n=!!a.checked;if(Array.isArray(s)){var o=i.value,r=e._i(s,o);a.checked?r<0&&(e.checkedValue=s.concat([o])):r>-1&&(e.checkedValue=s.slice(0,r).concat(s.slice(r+1)))}else e.checkedValue=n}}}),t("label",{staticClass:"multiselector__label",attrs:{for:e.uniqId(i.value,s)},on:{click:function(t){return t.preventDefault(),e.changeCheckbox(i.value)}}},[t("span",{staticClass:"multiselector__icon"},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"check"}})]),e._v(" "+e._s(i.label)+" ")]),t("span",{staticClass:"multiselector__bg"})])})),0)])]),e.addNew?[t("a17-modal-add",{ref:"addModal",attrs:{name:e.name,"form-create":e.addNew,"modal-title":"Add new "+e.label}},[e._t("addModal")],2)]:e._e()],2)},ds=[],cs=i(6193),us={name:"A17Multiselect",mixins:[q.Z,ee.Z,Q.Z,J.Z,cs.Z],props:{grid:{type:Boolean,default:!0},columns:{type:Number,default:0},inline:{type:Boolean,default:!1},border:{type:Boolean,default:!1}},computed:{gridClasses:function(){return this.columns>=1?["multiselector--columns",this.grid?"multiselector--grid":""]:[this.grid?"multiselector--grid":"",this.inline?"multiselector--inline":"",this.border?"multiselector--border":""]},itemStyle:function(){return this.columns>=1?{width:"".concat(100/this.columns,"%")}:{}}},methods:{updateFromStore:function(e){X()(e,this.checkedValue)||(this.checkedValue=e)},changeCheckbox:function(e){const t=this.checkedValue.indexOf(e),i=this.checkedValue.slice();t>-1?i.splice(t,1):i.push(e);const s=this.isMax(i),a=this.isMin(i);s||a||(this.checkedValue=i)},uniqId:function(e,t){return this.name+"_"+e+"-"+this.randKey*(t+1)}}},hs=us,ps=(0,k.Z)(hs,ls,ds,!1,null,"8819f42c",null),ms=ps.exports,fs=function(){var e=this,t=e._self._c;return t("span",{staticClass:"radio",class:e.customClass},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedValue,expression:"selectedValue"}],staticClass:"radio__input",attrs:{type:"radio",name:e.name,id:e.uniqId(e.value),disabled:e.disabled},domProps:{value:e.value,checked:e._q(e.selectedValue,e.value)},on:{change:function(t){e.selectedValue=e.value}}}),t("label",{staticClass:"radio__label",attrs:{for:e.uniqId(e.value)}},[e._v(e._s(e.label))])])},gs=[],_s={name:"A17Radio",mixins:[q.Z],props:{customClass:{type:String,default:""},value:{default:""},name:{type:String,default:""},label:{type:String,default:""},initialValue:{default:""},disabled:{type:Boolean,default:!1}},data:function(){return{currentValue:this.initialValue}},computed:{selectedValue:{get:function(){return this.currentValue},set:function(e){this.currentValue=e,this.$emit("change",e)}}},methods:{uniqId:function(e){return this.name+"_"+e+"-"+this.randKey}}},bs=_s,vs=(0,k.Z)(bs,fs,gs,!1,null,"6de2145c",null),ys=vs.exports,ws=function(){var e=this,t=e._self._c;return t("a17-inputframe",{attrs:{error:e.error,note:e.note,label:e.label,name:e.name,"label-for":e.uniqId}},[t("ul",{staticClass:"radioGroup",class:e.radioClasses},e._l(e.radios,(function(i,s){return t("li",{key:s,staticClass:"radioGroup__item"},[t("a17-radio",{attrs:{customClass:"radio__"+e.radioClass+"--"+(s+1),name:e.name,value:i.value,label:i.label,initialValue:e.currentValue,disabled:i.disabled},on:{change:e.changeValue}})],1)})),0)])},Es=[],Ts={name:"A17CheckboxGroup",mixins:[q.Z,ee.Z,J.Z],props:{radioClass:{type:String,default:""},inline:{type:Boolean,default:!1},name:{type:String,default:""},label:{default:""},initialValue:{default:""},radios:{default:function(){return[]}}},data:function(){return{currentValue:this.initialValue}},computed:{uniqId:function(e){return this.name+"-"+this.randKey},radioClasses:function(){return[this.inline?"radioGroup--inline":""]}},methods:{updateFromStore:function(e){e!==this.currentValue&&this.updateValue(e)},updateValue:function(e){this.currentValue=e},changeValue:function(e){e!==this.currentValue&&(this.updateValue(e),this.$emit("change",this.currentValue),this.saveIntoStore(e))}}},ks=Ts,Cs=(0,k.Z)(ks,ws,Es,!1,null,"35a49f72",null),As=Cs.exports,xs=function(){var e=this,t=e._self._c;return t("div",[t("a17-inputframe",{attrs:{error:e.error,note:e.note,label:e.label,locale:e.locale,name:e.name,"label-for":e.uniqId,required:e.required,"add-new":e.addNew},on:{localize:e.updateLocale}},[t("span",{staticClass:"select__input",class:e.selectClasses},[t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedValue,expression:"selectedValue"}],attrs:{name:e.name,id:e.uniqId,disabled:e.disabled,required:e.required,readonly:e.readonly},on:{change:function(t){var i=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedValue=t.target.multiple?i:i[0]}}},e._l(e.fullOptions,(function(i,s){return t("option",{key:s,domProps:{value:i.value,innerHTML:e._s(i.label)}})})),0)])]),e.addNew?[t("a17-modal-add",{ref:"addModal",attrs:{name:e.name,"form-create":e.addNew,"modal-title":"Add new "+e.label}},[e._t("addModal")],2)]:e._e()],2)},Ss=[],Ls={name:"A17Select",mixins:[q.Z,ge.Z,ee.Z,Ue.Z,J.Z,cs.Z],props:{size:{type:String,default:""},selected:{default:""},options:{default:function(){return[]}}},data:function(){return{value:this.selected}},computed:{uniqId:function(e){return this.name+"-"+this.randKey},selectClasses:function(){return["small"===this.size?"select__input--small":"","large"===this.size?"select__input--large":""]},selectedValue:{get:function(){return this.value},set:function(e){this.value=e,this.saveIntoStore(e),this.$emit("change",e)}}},methods:{updateFromStore:function(e){this.value=e}},mounted:function(){this.$emit("change",this.value)}},Is=Ls,Ds=(0,k.Z)(Is,xs,Ss,!1,null,"467fbd52",null),Ms=Ds.exports,Os=function(){var e=this,t=e._self._c;return t("a17-inputframe",{attrs:{error:e.error,note:e.note,name:e.name}},[t("div",{staticClass:"singleCheckbox",class:e.wrapperClasses},[t("span",{staticClass:"checkbox"},[t("input",{staticClass:"checkbox__input",class:e.checkboxClasses,attrs:{type:"checkbox",value:"true",name:e.name+"["+e.randKey+"]",id:e.uniqId,disabled:e.disabled},domProps:{checked:e.checkedValue}}),t("label",{staticClass:"checkbox__label",attrs:{for:e.uniqId},on:{click:function(t){return t.preventDefault(),e.changeCheckbox.apply(null,arguments)}}},[e._v(e._s(e.label)+" "),t("span",{staticClass:"checkbox__icon"},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"check"}})]),e.note?t("span",{staticClass:"f--small checkbox__note"},[e._v(e._s(e.note))]):e._e()])])]),e.requireConfirmation?[t("a17-dialog",{ref:"warningConfirm",attrs:{"modal-title":"Confirm","confirm-label":"Confirm"}},[t("p",{staticClass:"modal--tiny-title"},[t("strong",[e._v(e._s(e.confirmTitleText))])]),t("p",[e._v(e._s(e.confirmMessageText))])])]:e._e()],2)},Ps=[],Bs={props:{requireConfirmation:{type:Boolean,default:!1},confirmMessageText:{type:String,default:"Are you sure you want to change this option ?"},confirmTitleText:{type:String,default:"Confirm selection"}}},Rs={name:"A17SingleCheckbox",mixins:[q.Z,ee.Z,J.Z,Bs],props:{name:{type:String,default:""},initialValue:{type:Boolean,default:!0},theme:{type:String,default:""},disabled:{type:Boolean,default:!1},border:{type:Boolean,default:!1}},data:function(){return{currentValue:this.initialValue}},computed:{uniqId:function(){return this.name+"_"+this.randKey},wrapperClasses:function(){return[this.border?"singleCheckbox--border":""]},checkboxClasses:function(){return[this.theme?"checkbox__input--".concat(this.theme):"",this.checkedValue?"checkbox__input--checked":""]},checkedValue:{get:function(){return this.currentValue},set:function(e){e!==this.currentValue&&(this.currentValue=e,"undefined"!==typeof this.saveIntoStore&&this.saveIntoStore(e),this.$emit("change",e))}}},methods:{updateFromStore:function(e){this.checkedValue=e},changeCheckbox:function(){this.requireConfirmation?this.$refs.warningConfirm.open((()=>{this.checkedValue=!this.checkedValue})):this.checkedValue=!this.checkedValue}}},Ns=Rs,Fs=(0,k.Z)(Ns,Os,Ps,!1,null,"552b859e",null),$s=Fs.exports,Us=function(){var e=this,t=e._self._c;return t("div",{class:e.outerClasses},[t("a17-inputframe",{attrs:{error:e.error,note:e.note,label:e.label,name:e.name,"add-new":e.addNew,variant:e.variantInput}},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],attrs:{type:"hidden",name:e.name},domProps:{value:e.value},on:{input:function(t){t.target.composing||(e.value=t.target.value)}}}),t("div",{staticClass:"singleselector",class:e.gridClasses},[t("div",{staticClass:"singleselector__outer"},e._l(e.fullOptions,(function(i,s){return t("div",{key:s,staticClass:"singleselector__item",style:e.itemStyle},[t("input",{staticClass:"singleselector__radio",class:{"singleselector__radio--checked":i.value==e.selectedValue},attrs:{type:"radio",name:e.name+"["+e.randKey+"]",id:e.uniqId(i.value,s),disabled:i.disabled||e.disabled},domProps:{value:i.value}}),t("label",{staticClass:"singleselector__label",attrs:{for:e.uniqId(i.value,s)},on:{click:function(t){return t.preventDefault(),e.changeRadio(i.value)}}},[e._v(e._s(i.label))]),t("span",{staticClass:"singleselector__bg"})])})),0)])]),e.addNew?[t("a17-modal-add",{ref:"addModal",attrs:{name:e.name,"form-create":e.addNew,"modal-title":"Add new "+e.label}},[e._t("addModal")],2)]:e._e(),e.requireConfirmation?[t("a17-dialog",{ref:"warningConfirm",attrs:{"modal-title":"Confirm","confirm-label":"Confirm"}},[t("p",{staticClass:"modal--tiny-title"},[t("strong",[e._v(e._s(e.confirmTitleText))])]),t("p",[e._v(e._s(e.confirmMessageText))])])]:e._e()],2)},Vs=[],Zs={name:"A17Singleselect",mixins:[q.Z,ee.Z,J.Z,cs.Z,Bs],props:{name:{type:String,default:""},grid:{type:Boolean,default:!0},columns:{type:Number,default:0},inline:{type:Boolean,default:!0},inTable:{type:Boolean,default:!1},border:{type:Boolean,default:!1},selected:{default:""},options:{default:function(){return[]}},disabled:{type:Boolean,default:!1}},data:function(){return{value:this.selected}},computed:{variantInput:function(){return[this.inTable?"intable":""].join(" ")},outerClasses:function(){return["multiselectorOuter"]},gridClasses:function(){return this.columns>=1?["singleselector--columns",this.grid?"singleselector--grid":""]:[this.grid?"singleselector--grid":"",this.inline?"singleselector--inline":"",this.border?"singleselector--border":""]},itemStyle:function(){return this.columns>=1?{width:"".concat(100/this.columns,"%")}:{}},selectedValue:{get:function(){return this.value},set:function(e){e!==this.value&&(this.value=e,this.saveIntoStore(e),this.$emit("change",e))}}},methods:{updateFromStore:function(e){e!==this.value&&(this.value=e)},changeRadio:function(e){this.requireConfirmation?this.$refs.warningConfirm.open((()=>{this.selectedValue=e})):this.selectedValue=e},uniqId:function(e,t){return this.name+"_"+e+"-"+this.randKey*(t+1)}}},qs=Zs,Ws=(0,k.Z)(qs,Us,Vs,!1,null,"0406024e",null),Hs=Ws.exports,Ys=function(){var e=this,t=e._self._c;return t("div",{staticClass:"multiselectorPermissions"},[e.searchable?t("div",{staticClass:"multiselectorPermissions__filter"},[t("a17-filter",{attrs:{"full-width":!0},on:{submit:e.submitFilter}},[e.groups.length&&e.listUser?t("div",{staticClass:"multiselectorPermissions__groups",attrs:{slot:"additional-actions"},slot:"additional-actions"},[t("a17-dropdown",{ref:"groupDropdown",staticClass:"multiselectorPermissions__dd",attrs:{position:"bottom-right",clickable:!0}},[t("button",{staticClass:"multiselectorPermissions__button",attrs:{type:"button"},on:{click:function(t){return e.$refs.groupDropdown.toggle()}}},[e._v("Groups")]),t("div",{attrs:{slot:"dropdown__content"},slot:"dropdown__content"},[t("a17-checkboxgroup",{attrs:{name:"permissionsGroups",selected:e.activeGroups,options:e.groups},on:{change:e.updateUserPermission}})],1)])],1):e._e()])],1):e._e(),t("div",{staticClass:"multiselectorPermissions__items"},[e._t("default"),e.empty?t("div",{staticClass:"multiselectorPermissions__empty",style:e.emptyStyle},[t("h4",[e._v(e._s(e.emptyMessage))])]):e._e(),e.allHidden?t("div",{staticClass:"multiselectorPermissions__empty",style:e.emptyStyle},[t("h4",[e._v(e._s(e.allHiddenMessage))])]):e._e()],2)])},zs=[],Ks={name:"A17SingleSelectPermissions",components:{"a17-filter":Pt.Z},props:{searchable:{type:Boolean,default:!0},listUser:{type:Boolean,default:!1},emptyMessage:{type:String,default:"No results found. Please try another search"},allHiddenMessage:{type:String,default:"Use the search box to find items"}},data:function(){return{empty:!1,allHidden:!1,activeGroups:[],emptyHeight:120}},computed:{emptyStyle:function(){return{height:this.emptyHeight+"px"}},...(0,_.Se)(["fieldsByName"]),...(0,_.rn)({groups:e=>e.permissions.groups,groupUserMapping:e=>e.permissions.groupUserMapping})},mounted(){if(!this.listUser){const e=this.$el.querySelectorAll("[data-singleselect-permissions-field]"),t="multiselectorPermissions__item--hidden";if(e.length){let i=0;e.forEach((e=>{const s=e.getAttribute("data-singleselect-permissions-field"),a=this.fieldsByName(s),n=a.length?a[0].value:"";n||(e.classList.add(t),i++)})),i===e.length&&(this.allHidden=!0)}}},methods:{submitFilter(e){const t=this.$el.querySelectorAll("[data-singleselect-permissions-filterable]"),i="multiselectorPermissions__item--hidden";t.length&&(this.emptyHeight=Math.max(120,t[0].parentElement.offsetHeight),this.empty=!0,this.allHidden=!1,t.forEach((t=>{const s=t.getAttribute("data-singleselect-permissions-filterable");if(e.search){const a=e.search;s.toUpperCase().includes(a.toUpperCase())?(t.classList.remove(i),this.empty=!1):t.classList.add(i)}else t.classList.remove(i),this.empty=!1})))},setUserPermission(e){const t={};t.name=e,t.value="view-item",this.$store.commit(v.Yc.UPDATE_FORM_FIELD,t)},updateUserPermission(e){this.activeGroups=e,e.forEach((e=>{this.groupUserMapping[e]&&this.groupUserMapping[e].forEach((e=>{const t="user_".concat(e,"_permission"),i=this.fieldsByName(t);i.length&&""!==i[0].value&&"view-item"!==i[0].value||this.setUserPermission(t)}))}))}}},js=Ks,Gs=(0,k.Z)(js,Ys,zs,!1,null,"627613a1",null),Xs=Gs.exports,Qs=function(){var e=this,t=e._self._c;return t("div",{staticClass:"slideshow"},[e.buttonOnTop&&e.remainingSlides>0?t("div",{staticClass:"slideshow__trigger"},[t("a17-button",{attrs:{disabled:e.disabled,type:"button",variant:"ghost"},on:{click:function(t){return e.openMediaLibrary(e.remainingSlides)}}},[e._v(e._s(e.addLabel))]),t("span",{staticClass:"slideshow__note f--small"},[e._t("default")],2)],1):e._e(),e.slides.length?t("draggable",{staticClass:"slideshow__content",attrs:{options:e.dragOptions},model:{value:e.slides,callback:function(t){e.slides=t},expression:"slides"}},[t("transition-group",{attrs:{name:"draggable_list",tag:"div"}},e._l(e.slides,(function(i,s){return t("div",{key:"".concat(i.id,"_").concat(s),staticClass:"slide"},[e.disabled?e._e():t("div",{staticClass:"slide__handle"},[t("div",{staticClass:"slide__handle--drag"})]),t("a17-mediafield",{staticClass:"slide__content",attrs:{name:"".concat(e.name,"_").concat(i.id),index:s,mediaContext:e.name,cropContext:e.cropContext,hover:e.hoverable,isSlide:!0,withAddInfo:e.withAddInfo,withCaption:e.withCaption,withVideoUrl:e.withVideoUrl,altTextMaxLength:e.altTextMaxLength,captionMaxLength:e.captionMaxLength,extraMetadatas:e.extraMetadatas,disabled:e.disabled}})],1)})),0)],1):e._e(),!e.buttonOnTop&&e.remainingSlides>0?t("div",{staticClass:"slideshow__trigger"},[t("a17-button",{attrs:{disabled:e.disabled,type:"button",variant:"ghost"},on:{click:function(t){return e.openMediaLibrary(e.remainingSlides)}}},[e._v(e._s(e.addLabel))]),t("span",{staticClass:"slideshow__note f--small"},[e._t("default")],2)],1):e._e()],1)},Js=[],ea={name:"A17Slideshow",components:{draggable:g()},mixins:[b.Z,Ve.Z,ji],props:{name:{type:String,required:!0},itemLabel:{type:String,default:"image"},max:{type:Number,default:10},buttonOnTop:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},data:function(){return{handle:".slide__handle",hoverable:!0}},computed:{remainingSlides:function(){return Math.max(0,this.max-this.slides.length)},addLabel:function(){const e=this.itemLabel+"s";return"Attach "+e},slides:{get(){return this.selectedMedias.hasOwnProperty(this.name)&&this.selectedMedias[this.name]||[]},set(e){this.$store.commit(v.CV.REORDER_MEDIAS,{name:this.name,medias:e})}},...(0,_.rn)({selectedMedias:e=>e.mediaLibrary.selected})},methods:{deleteSlideshow:function(){this.$store.commit(v.CV.DESTROY_MEDIAS,this.name)},destroyValue:function(){this.isSlide||this.isDestroyed||this.deleteMedia()}}},ta=ea,ia=(0,k.Z)(ta,Qs,Js,!1,null,"56787a7e",null),sa=ia.exports,aa=i(2232),na=i(6305),oa=function(){var e=this,t=e._self._c;return t("a17-inputframe",{attrs:{error:e.error,note:e.note,label:e.label,locale:e.locale,size:e.size,name:e.name,required:e.required},on:{localize:e.updateLocale}},[t("div",{staticClass:"wysiwyg__outer",class:e.textfieldClasses},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],attrs:{name:e.name,type:"hidden"},domProps:{value:e.value},on:{input:function(t){t.target.composing||(e.value=t.target.value)}}}),e.editSource?[t("div",{directives:[{name:"show",rawName:"v-show",value:!e.activeSource,expression:"!activeSource"}],staticClass:"wysiwyg",class:e.textfieldClasses,attrs:{dir:e.dirLocale}},[t("div",{ref:"editorcontainer",staticClass:"wysiwyg__editor",class:{"wysiwyg__editor--limitHeight":e.limitHeight}},[t("div",{ref:"editor",staticClass:"wysiwyg__editor-inner"})]),e.shouldShowCounter?t("span",{staticClass:"wysiwyg__limit f--tiny",class:e.limitClasses},[e._v(e._s(e.counter))]):e._e()]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.activeSource,expression:"activeSource"}],staticClass:"form__field form__field--textarea",attrs:{dir:e.dirLocale}},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],style:e.textareaHeight,attrs:{placeholder:e.placeholder,autofocus:e.autofocus},domProps:{value:e.value},on:{change:e.updateSourcecode,input:function(t){t.target.composing||(e.value=t.target.value)}}})]),t("a17-button",{staticClass:"wysiwyg__button",attrs:{variant:"ghost"},on:{click:e.toggleSourcecode}},[e._v("Source code")])]:[t("div",{staticClass:"wysiwyg",class:e.textfieldClasses,attrs:{dir:e.dirLocale}},[t("div",{ref:"editorcontainer",staticClass:"wysiwyg__editor",class:{"wysiwyg__editor--limitHeight":e.limitHeight}},[t("div",{ref:"editor",staticClass:"wysiwyg__editor-inner"})]),e.shouldShowCounter?t("span",{staticClass:"wysiwyg__limit f--tiny",class:e.limitClasses},[e._v(e._s(e.counter))]):e._e()])]],2)])},ra=[],la=i(3279),da=i.n(la),ca=i(6095),ua=i.n(ca);function ha(e,t,i){return t=pa(t),t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function pa(e){var t=ma(e,"string");return"symbol"==typeof t?t:String(t)}function ma(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var s=i.call(e,t||"default");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}ua().debug("error");const fa=ua()["import"]("delta"),ga=ua()["import"]("blots/embed"),_a=ua()["import"]("blots/inline"),ba=ua()["import"]("formats/link"),va=ua()["import"]("blots/block/embed");class ya extends va{}ya.blotName="divider",ya.tagName="hr",ua().register(ya);class wa extends ga{length(){return 1}value(){return"\n"}insertInto(e,t){ga.prototype.insertInto.call(this,e,t)}}ha(wa,"blotName","softbreak"),ha(wa,"tagName","br"),ha(wa,"className","softbreak"),ua().register(wa);const Ea={key:13,shiftKey:!0,handler:function(e){const t=this.quill.getLeaf(e.index)[0],i=this.quill.getLeaf(e.index+1)[0];this.quill.insertEmbed(e.index,"softbreak",!0,"user"),null!==i&&t.parent===i.parent||this.quill.insertEmbed(e.index,"softbreak",!0,"user"),this.quill.setSelection(e.index+1,ua().sources.SILENT)}};function Ta(){const e=new fa;return e.insert({softbreak:""}),e}const ka={blotName:"anchor",tagName:"SPAN"};class Ca extends _a{static create(e){const t=super.create(e);return e=this.sanitize(e),t.setAttribute("id",e),t.className="ql-anchor",t}static sanitize(e){return e.replace(/\s+/g,"-").toLowerCase()}static formats(e){return e.getAttribute("id")}format(e,t){if(e!==this.statics.blotName||!t)return super.format(e,t);t=this.constructor.sanitize(t),this.domNode.setAttribute("id",t)}}Ca.blotName=ka.blotName,Ca.tagName=ka.tagName,ua().register(Ca);class Aa extends ba{static create(e){const t=super.create(e);e=this.sanitize(e),t.setAttribute("href",e);const i=/^((http|https|ftp):\/\/)/;if(i.test(e)||t.removeAttribute("target"),window["TWILL"].STORE.form.baseUrl){const i=new URL(window["TWILL"].STORE.form.baseUrl);e.startsWith(i.origin)&&t.removeAttribute("target")}return t}format(e,t){if(super.format(e,t),e!==this.statics.blotName||!t)return;const i=/^((http|https|ftp):\/\/)/;i.test(t)?window["TWILL"].STORE.form.baseUrl&&t.startsWith(window["TWILL"].STORE.form.baseUrl)?this.domNode.removeAttribute("target"):this.domNode.setAttribute("target","_blank"):this.domNode.removeAttribute("target")}}function xa(e){return''}ua().register(Aa);const Sa=ua()["import"]("ui/icons");Sa.bold=xa("bold"),Sa.italic=xa("italic"),Sa.anchor=xa("anchor"),Sa.link=xa("link"),Sa.header["1"]=xa("header"),Sa.header["2"]=xa("header-2"),Sa.header["3"]=xa("header-3"),Sa.header["4"]=xa("header-4"),Sa.header["5"]=xa("header-5"),Sa.header["6"]=xa("header-6"),Sa.divider=xa("hr");const La=["background","bold","color","font","code","italic","link","size","strike","script","underline","blockquote","header","indent","list","align","direction","code-block","formula","image","video","divider"];function Ia(e){const t=[wa.blotName,ka.blotName];function i(e){t.indexOf(e)>-1||-1===La.indexOf(e)||t.push(e)}return e.forEach((e=>{if("object"===typeof e)for(const t in e)i(t);"string"===typeof e&&i(e)})),t}var Da={Quill:ua(),lineBreak:{handle:Ea,clipboard:[wa.tagName,Ta]},getFormats:Ia},Ma=i(2847);const Oa="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.12.0/build/highlight.min.js";var Pa={name:"A17Wysiwyg",mixins:[ge.Z,ee.Z,Ue.Z,J.Z],props:{editSource:{type:Boolean,default:!1},showCounter:{type:Boolean,default:!0},type:{type:String,default:"text"},prefix:{type:String,default:""},maxlength:{type:Number,default:0},initialValue:{default:""},limitHeight:{type:Boolean,default:!1},options:{type:Object,required:!1,default:function(){return{}}}},computed:{textareaHeight:function(){return{height:this.editorHeight}},textfieldClasses:function(){return{"wysiwyg__outer--limitHeight":this.limitHeight,"s--disabled":this.disabled,"s--focus":this.focused}},hasMaxlength:function(){return this.maxlength>0},shouldShowCounter:function(){return this.hasMaxlength&&this.showCounter},limitClasses:function(){return{"wysiwyg__limit--red":this.counter<.1*this.maxlength}},...(0,_.rn)({baseUrl:e=>e.form.baseUrl})},data:function(){return{value:this.initialValue,editorHeight:50,toolbarHeight:52,focused:!1,activeSource:!1,quill:null,counter:0,localOptions:{},defaultModules:{toolbar:["bold","italic","underline","link"],clipboard:{matchVisual:!1,matchers:[Da.lineBreak.clipboard]},keyboard:{bindings:{lineBreak:Da.lineBreak.handle}},syntax:!1}}},methods:{initQuill(e){if(this.quill=new Da.Quill(this.$refs.editor,e),this.value&&this.updateEditor(this.value),this.quill.on("text-change",((e,t,i)=>{let s=this.$refs.editor.children[0].innerHTML;"


"===s&&(s=""),this.value=s,this.$emit("input",this.value),this.$emit("change",this.value),this.updateCounter(this.getTextLength()),"user"===i&&this.textUpdate()})),this.quill.on("selection-change",((e,t,i)=>{e?(this.focused=!0,this.$emit("focus")):(this.focused=!1,"user"===i&&this.saveIntoStore(),this.$emit("blur"))})),this.disabled&&this.quill.enable(!1),this.baseUrl){const e=this.quill.theme.tooltip,t=e.root;if(t){const e=t.querySelector("input[data-link]");e&&e.setAttribute("data-link",this.baseUrl)}}"rtl"===this.dirLocale&&(this.quill.format("direction","rtl"),this.quill.format("align","right")),this.hasMaxlength&&this.showCounter&&this.updateCounter(this.getTextLength()),this.$emit("ready",this.quill)},insertDivider(){const e=this.quill.getSelection(!0);e&&(this.quill.insertText(e.index,"\n"),this.quill.insertEmbed(e.index+1,"divider",!0),this.quill.setSelection(e.index+2))},anchorHandler(e){if(!0===e)e=prompt("Enter anchor:");else{const t=this.quill.getSelection(),i=this.quill.getFormat(t).anchor||"";e=prompt("Edit anchor:",i)}this.quill.format("anchor",e)},updateEditor:function(e){const t=this.quill.clipboard.convert(e);this.quill.setContents(t,"silent")},updateFromStore:function(e){"undefined"===typeof e&&(e=""),this.value!==e&&(this.value=e,this.updateEditor(e))},textUpdate:function(){this.preventSubmit(),this._textUpdateInternal()},_textUpdateInternal:da()((function(){this.saveIntoStore(),this.allowSubmit()}),600),toggleSourcecode:function(){this.editorHeight=Math.max(50,this.$refs.editor.clientHeight)+this.toolbarHeight-1+"px",this.activeSource=!this.activeSource,this.updateSourcecode()},updateSourcecode:function(){this.updateEditor(this.value),this.saveIntoStore()},updateCounter:function(e){this.showCounter&&this.hasMaxlength&&(this.counter=this.maxlength-e)},getTextLength:function(){return this.quill.getLength()-(0===this.value.length?2:1)}},mounted:function(){if(this.quill)return;const e=JSON.parse(JSON.stringify(this.options));e.theme=e.theme||"snow",e.boundary=e.boundary||document.body,e.modules=e.modules||this.defaultModules;const t={container:void 0!==e.modules.toolbar?e.modules.toolbar:this.defaultModules.toolbar,handlers:{}};if(e.modules.clipboard=void 0!==e.modules.clipboard?e.modules.clipboard:this.defaultModules.clipboard,e.modules.keyboard=void 0!==e.modules.keyboard?e.modules.keyboard:this.defaultModules.keyboard,e.modules.syntax=void 0!==e.modules.syntax&&e.modules.syntax?{highlight:e=>hljs.highlightAuto(e).value}:this.defaultModules.syntax,e.placeholder=e.placeholder||this.placeholder,e.readOnly=void 0!==e.readOnly?e.readOnly:this.readonly,e.formats=Da.getFormats(e.modules.toolbar),e.bounds=this.$refs.editor,e.scrollingContainer="html",t.container.includes("anchor")&&(t.handlers.anchor=this.anchorHandler),t.container.includes("divider")&&(t.handlers.divider=this.insertDivider),e.modules.toolbar=t,this.localOptions=e,e.modules.syntax&&"undefined"===typeof hljs){const t="highlight-js-script";(0,Ma.ve)(t,Oa,"text/javascript").then((()=>{this.initQuill(e)}))}else this.initQuill(e)},beforeDestroy(){this.quill=null}},Ba=Pa,Ra=(0,k.Z)(Ba,oa,ra,!1,null,"dc784262",null),Na=Ra.exports,Fa=function(){var e=this,t=e._self._c;return t("a17-inputframe",{attrs:{error:e.error,note:e.note,label:e.label,locale:e.locale,size:e.size,name:e.name,required:e.required},on:{localize:e.updateLocale}},[e.editor?t("div",{staticClass:"wysiwyg__outer"},[t("div",{directives:[{name:"show",rawName:"v-show",value:!e.activeSource,expression:"!activeSource"}],staticClass:"wysiwyg",class:e.textfieldClasses,attrs:{dir:e.dirLocale}},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],attrs:{name:e.name,type:"hidden"},domProps:{value:e.value},on:{input:function(t){t.target.composing||(e.value=t.target.value)}}}),t("div",{ref:"editor",staticClass:"wysiwyg__editor"},[t("div",{staticClass:"wysiwyg__menubar"},[e.toolbar.header?[e.toolbar.header?t("wysiwyg-menu-bar-btn",{attrs:{icon:"paragraph",disabled:e.editor.isActive("paragraph"),isActive:e.editor.isActive("paragraph")},on:{"btn:click":function(t){e.editor.chain().focus().setParagraph().run()}}}):e._e(),e._l(e.headingOptions,(function(i){return t("wysiwyg-menu-bar-btn",{key:i,attrs:{icon:i>1?"header-".concat(i):"header",isActive:e.editor.isActive("heading",{level:i})},on:{"btn:click":function(t){e.editor.chain().focus().toggleHeading({level:i}).run()}}})}))]:e._e(),e.toolbar.bold?t("wysiwyg-menu-bar-btn",{attrs:{icon:"bold",isActive:e.editor.isActive("bold")},on:{"btn:click":function(t){e.editor.chain().focus().toggleBold().run()}}}):e._e(),e.toolbar.italic?t("wysiwyg-menu-bar-btn",{attrs:{icon:"italic",isActive:e.editor.isActive("italic")},on:{"btn:click":function(t){e.editor.chain().focus().toggleItalic().run()}}}):e._e(),e.toolbar.strike?t("wysiwyg-menu-bar-btn",{attrs:{icon:"strike",isActive:e.editor.isActive("strike")},on:{"btn:click":function(t){e.editor.chain().focus().toggleStrike().run()}}}):e._e(),e.toolbar.underline?t("wysiwyg-menu-bar-btn",{attrs:{icon:"underline",isActive:e.editor.isActive("underline")},on:{"btn:click":function(t){e.editor.chain().focus().toggleUnderline().run()}}}):e._e(),e.toolbar.hr?t("wysiwyg-menu-bar-btn",{attrs:{icon:"hr"},on:{"btn:click":function(t){e.editor.chain().focus().setHorizontalRule().run()}}}):e._e(),e.toolbar.link?t("wysiwyg-menu-bar-btn",{attrs:{icon:"link",isActive:e.editor.isActive("link")},on:{"btn:click":function(t){return e.openLinkWindow()}}}):e._e(),e.toolbar.link?t("wysiwyg-menu-bar-btn",{attrs:{icon:"unlink",disabled:!e.editor.isActive("link"),isActive:e.editor.isActive("link")},on:{"btn:click":function(t){return e.removeLink()}}}):e._e(),e.toolbar.bullet?t("wysiwyg-menu-bar-btn",{attrs:{icon:"ul",isActive:e.editor.isActive("bulletList")},on:{"btn:click":function(t){e.editor.chain().focus().toggleBulletList().run()}}}):e._e(),e.toolbar.ordered?t("wysiwyg-menu-bar-btn",{attrs:{icon:"ol",isActive:e.editor.isActive("orderedList")},on:{"btn:click":function(t){e.editor.chain().focus().toggleOrderedList().run()}}}):e._e(),e.toolbar.blockquote?t("wysiwyg-menu-bar-btn",{attrs:{icon:"quote",isActive:e.editor.isActive("blockquote")},on:{"btn:click":function(t){e.editor.chain().focus().toggleBlockquote().run()}}}):e._e(),e.toolbar.codeBlock?t("wysiwyg-menu-bar-btn",{attrs:{icon:"code",isActive:e.editor.isActive("codeBlock")},on:{"btn:click":function(t){e.editor.chain().focus().toggleCodeBlock().run()}}}):e._e(),e.toolbar.code?t("wysiwyg-menu-bar-btn",{attrs:{icon:"code",isActive:e.editor.isActive("code")},on:{"btn:click":function(t){e.editor.chain().focus().setCode().run()}}}):e._e(),e.toolbar.table?t("wysiwyg-menu-bar-btn",{attrs:{icon:"table"},on:{"btn:click":function(t){e.editor.chain().focus().insertTable({rows:3,cols:3,withHeaderRow:!0}).run()}}}):e._e(),t("wysiwyg-menu-bar-btn",{attrs:{icon:"undo",disabled:!e.editor.can().undo()},on:{"btn:click":function(t){e.editor.chain().focus().undo().run()}}}),t("wysiwyg-menu-bar-btn",{attrs:{icon:"redo",disabled:!e.editor.can().redo()},on:{"btn:click":function(t){e.editor.chain().focus().redo().run()}}}),e.toolbar.table?[e.editor.isActive("table")?t("div",{staticClass:"wysiwyg__menubar-table-buttons"},[t("br"),t("wysiwyg-menu-bar-btn",{attrs:{icon:"delete_table"},on:{"btn:click":function(t){e.editor.chain().focus().deleteTable().run()}}}),t("wysiwyg-menu-bar-btn",{attrs:{icon:"add_col_before"},on:{"btn:click":function(t){e.editor.chain().focus().addColumnBefore().run()}}}),t("wysiwyg-menu-bar-btn",{attrs:{icon:"add_col_after"},on:{"btn:click":function(t){e.editor.chain().focus().addColumnAfter().run()}}}),t("wysiwyg-menu-bar-btn",{attrs:{icon:"delete_col"},on:{"btn:click":function(t){e.editor.chain().focus().deleteColumn().run()}}}),t("wysiwyg-menu-bar-btn",{attrs:{icon:"add_row_before"},on:{"btn:click":function(t){e.editor.chain().focus().addRowBefore().run()}}}),t("wysiwyg-menu-bar-btn",{attrs:{icon:"add_row_after"},on:{"btn:click":function(t){e.editor.chain().focus().addRowAfter().run()}}}),t("wysiwyg-menu-bar-btn",{attrs:{icon:"delete_row"},on:{"btn:click":function(t){e.editor.chain().focus().deleteRow().run()}}}),t("wysiwyg-menu-bar-btn",{attrs:{icon:"combine_cells"},on:{"btn:click":function(t){e.editor.chain().focus().mergeCells().run()}}})],1):e._e()]:e._e(),this.toolbar.wrappers?[t("br"),e._l(this.toolbar.wrappers,(function(i){return[t("wysiwyg-menu-bar-btn",{key:i.id,attrs:{"icon-url":i.icon,isActive:e.editor.isActive(i.class),label:i.label},on:{"btn:click":function(t){e.editor.commands["set"+i.id]()}}})]}))]:e._e()],2),t("div",{staticClass:"wysiwyg__contentWrapper",class:{"wysiwyg__contentWrapper--limitHeight":e.limitHeight}},[t("editor-content",{staticClass:"wysiwyg__content",attrs:{editor:e.editor}})],1)]),e.shouldShowCounter?t("span",{staticClass:"input__limit f--tiny",class:e.limitClasses},[e._v(e._s(e.counter))]):e._e()]),e.editSource?[t("div",{directives:[{name:"show",rawName:"v-show",value:e.activeSource,expression:"activeSource"}],staticClass:"form__field form__field--textarea"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],style:e.textareaHeight,attrs:{placeholder:e.placeholder,autofocus:e.autofocus},domProps:{value:e.value},on:{change:e.updateSourcecode,input:function(t){t.target.composing||(e.value=t.target.value)}}})]),t("a17-button",{staticClass:"wysiwyg__button",attrs:{variant:"ghost"},on:{click:e.toggleSourcecode}},[e._v("Source code ")])]:e._e()],2):e._e(),e.browserIsOpen&&e.browserEndpoints?t("standalone-browser",{ref:"localbrowser",attrs:{"endpoint-multiple":e.browserEndpoints,max:1},on:{selected:e.setLinkFromBrowser,close:function(t){e.browserIsOpen=!1}}}):e._e(),t("a17-modal",{ref:"link-modal",staticClass:"modal--form modal--link",attrs:{title:e.$trans("wysiwyg.link_window.title","Edit link")}},[e.linkWindow?[t("a17-textfield",{attrs:{name:"link_text","initial-value":e.linkWindow.text,label:e.$trans("wysiwyg.link_window.text","Text to display")},model:{value:e.linkWindow.text,callback:function(t){e.$set(e.linkWindow,"text",t)},expression:"linkWindow.text"}}),t("a17-textfield",{attrs:{name:"link_link","initial-value":e.linkWindow.href,label:e.$trans("wysiwyg.link_window.link","Link"),placeholder:e.$trans("wysiwyg.link_window.link_placeholder","https://...")},model:{value:e.linkWindow.href,callback:function(t){e.$set(e.linkWindow,"href",t)},expression:"linkWindow.href"}}),t("div",[e.browserEndpoints?t("a17-button",{staticClass:"link-browser-link",attrs:{variant:"aslink-grey"},on:{click:function(t){e.browserIsOpen=!0}}},[e._v(" "+e._s(e.$trans("wysiwyg.link_window.internal_browser_link","Select internal content"))+" ")]):e._e()],1),t("a17-inputframe",{attrs:{name:"link-options"}},[t("a17-checkbox",{attrs:{name:"link_target","initial-value":e.linkWindow.target,value:"_blank",label:e.$trans("wysiwyg.link_window.open_in_new_window","Open in a new tab")},on:{change:function(t){e.linkWindow.target=t?"_blank":""}}}),e.linkWindow&&e.linkWindow.classList&&e.linkWindow.classList.length?t("div",{staticClass:"classList"},e._l(e.linkWindow.classList,(function(i,s){return t("a17-checkbox",{key:"link_class_".concat(s),attrs:{name:"link_class_".concat(s),"initial-value":e.linkWindow.classList[s].selected,value:e.linkWindow.classList[s].value,label:e.linkWindow.classList[s].label},on:{change:function(t){e.linkWindow.classList[s].selected=t}}})})),1):e._e()],1),t("div",{staticClass:"modalValidation"},[t("a17-button",{staticClass:"dialog-confirm",attrs:{variant:"validate",tabindex:"4"},on:{click:e.saveLink}},[e._v(" "+e._s(e.$trans("wysiwyg.link_window.save","Save"))+" ")]),t("a17-button",{staticClass:"dialog-cancel",attrs:{variant:"aslink-grey",tabindex:"5"},on:{click:function(t){return e.$refs["link-modal"].close()}}},[e._v(" "+e._s(e.$trans("wysiwyg.link_window.save","Cancel"))+" ")])],1)]:e._e()],2)],1)},$a=[],Ua=i(7935),Va=i(2752),Za=i(6820),qa=i(8510),Wa=i(363),Ha=i(3991),Ya=i(658),za=i(3626),Ka=i(3304),ja=function(){var e=this,t=e._self._c;return t("button",{class:{"is-active":e.isActive,"wysiwyg__menubar-button":e.icon||e.iconUrl},attrs:{disabled:e.disabled,type:"button",title:e.label},on:{click:e.handleClick}},[e.iconUrl?[t("img",{staticClass:"icon--custom",attrs:{src:e.iconUrl,alt:e.label}})]:e.icon?[t("span",{staticClass:"icon",class:"icon--wysiwyg_".concat(e.icon),attrs:{"aria-hidden":"true"}},[t("svg",[t("title",[e._v(e._s(e.icon))]),t("use",{attrs:{"xlink:href":"#icon--wysiwyg_".concat(e.icon)}})])])]:[e._v(" "+e._s(e.label)+" ")]],2)},Ga=[],Xa={name:"WysiwygMenuBarButton",props:{icon:{type:String,required:!1},iconUrl:{type:String,required:!1},label:{type:String,required:!1},isActive:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{handleClick(){this.$emit("btn:click")}}},Qa=Xa,Ja=(0,k.Z)(Qa,ja,Ga,!1,null,"542fc105",null),en=Ja.exports,tn=i(9404),sn=i(3237),an=i(5525),nn=i(5748),on={name:"A17Wysiwyg",mixins:[ge.Z,ee.Z,Ue.Z,J.Z],props:{editSource:{type:Boolean,default:!1},showCounter:{type:Boolean,default:!0},type:{type:String,default:"text"},prefix:{type:String,default:""},maxlength:{type:Number,default:0},initialValue:{default:""},browserEndpoints:{required:!1,default:null},classList:{required:!1,default:null},limitHeight:{type:Boolean,default:!1},options:{type:Object,required:!1,default:function(){return{modules:{}}}}},computed:{textareaHeight:function(){return{height:this.editorHeight}},textfieldClasses:function(){return{"s--disabled":this.disabled,"s--focus":this.focused}},hasMaxlength:function(){return this.maxlength>0},shouldShowCounter:function(){return this.hasMaxlength&&this.showCounter},limitClasses:function(){return{"input__limit--red":this.counter<.1*this.maxlength}},...(0,_.rn)({baseUrl:e=>e.form.baseUrl})},components:{EditorContent:Ua.kg,StandaloneBrowser:Ka.Z,"wysiwyg-menu-bar-btn":en},data(){return{value:this.initialValue,editorHeight:50,toolbarHeight:52,toolbar:this.options.modules.toolbar?this.options.modules.toolbar.reduce(((e,t)=>t.list?(e[t.list]=!0,e):"object"===typeof t?{...e,...t}:(e[t]=!0,e)),{}):{bold:!0,italic:!0,underline:!0,link:!0},headingOptions:[],focused:!1,activeSource:!1,counter:0,editor:null,linkWindow:null,browserIsOpen:!1}},methods:{updateEditor:function(e){this.editor&&this.editor.commands.setContent(e)},updateFromStore:function(e){"undefined"===typeof e&&(e=""),this.value!==e&&(this.value=e,this.updateEditor(e))},textUpdate:function(){this.preventSubmit(),this._textUpdateInternal()},_textUpdateInternal:da()((function(){this.saveIntoStore(),this.allowSubmit()}),600),toggleSourcecode:function(){this.editorHeight=Math.max(50,this.$refs.editor.clientHeight)+this.toolbarHeight-1+"px",this.activeSource=!this.activeSource,this.updateSourcecode()},updateSourcecode:function(){this.updateEditor(this.value),this.saveIntoStore()},updateCounter(){this.showCounter&&this.hasMaxlength&&(this.counter=this.maxlength-this.getTextLength())},getTextLength(){return this.editor.getHTML().replace(/<[^>]+>/g,"").length},openLinkWindow:function(){var e,t;this.editor.commands.extendMarkRange("link");const{ranges:i}=this.editor.state.selection,s=(0,Va.Jo)(this.editor.state,"link");let a=!0,n=i[0].$from.pos,o=i[0].$to.pos;s.href&&(a=!1);let r=null,l=null;const d=this.editor.state.tr.doc,c=this.editor.getHTML().length;if(n===o){let e=!1,t=!1;while(!e&&n>0)e=0===n||" "===d.textBetween(n-1,n)," "===d.textBetween(n-1,n)?r=n:0===n&&(r=0),n-=1;while(!t&&o{var t;return e.selected=(null!==(t=s.class)&&void 0!==t?t:"").includes(e.value),e})):[]},this.$nextTick((()=>{this.$refs["link-modal"].open()}))},removeLink(){this.editor.chain().focus().extendMarkRange("link").unsetLink().run()},setLinkFromBrowser(e){this.linkWindow.href="#twillInternalLink::"+e[0].endpointType+"#"+e[0].id},saveLink(){this.linkWindow.text!==this.linkWindow.textOriginal&&(this.editor.commands.insertContentAt({from:this.linkWindow.from,to:this.linkWindow.to},this.linkWindow.text),this.editor.commands.setTextSelection({from:this.linkWindow.from,to:this.linkWindow.from+this.linkWindow.text.length})),this.linkWindow.newLink?this.editor.commands.setLink({href:this.linkWindow.href,target:this.linkWindow.target,class:this.linkWindow.classList.filter((e=>e.selected)).map((e=>e.value)).join(" ")}):this.editor.commands.updateAttributes("link",{href:this.linkWindow.href,target:this.linkWindow.target,class:this.linkWindow.classList.filter((e=>e.selected)).map((e=>e.value)).join(" ")}),this.$refs["link-modal"].close(),this.linkWindow=null}},beforeMount(){var e,t,i,s;this.toolbar.header&&(this.headingOptions=this.toolbar.header.filter((e=>"number"===typeof e)));const a=this.value||"",n=[an.U];this.placeholder&&this.placeholder.length>0&&n.push(sn.V.configure({emptyNodeClass:"is-empty",emptyNodeText:this.placeHolder,showOnlyWhenEditable:!0})),this.toolbar.wrappers&&this.toolbar.wrappers.forEach((e=>{n.push(Va.NB.create({name:e.id,group:"block",marks:"_",atom:!0,content:"block+",addOptions(){return{HTMLAttributes:{class:e.className,"data-customwrapper":e.id,"data-customwrapper-label":e.label}}},parseHTML(){return[{tag:"div",getAttrs:t=>{t.getAttribute("data-customwrapper",e.id)}}]},renderHTML(e){let{HTMLAttributes:t}=e;return["div",(0,Va.P1)(this.options.HTMLAttributes,t),0]},addCommands(){const t="set"+this.name,i={};return i[t]=()=>t=>{let{chain:i}=t;if(e.createElement)switch(e.createElement){case"ol":return i().toggleWrap(this.name).toggleOrderedList().run();case"ul":return i().toggleWrap(this.name).toggleBulletList().run()}return i().toggleWrap(this.name).run()},i}}))})),Object.keys(this.toolbar).forEach((e=>{switch(e){case"link":n.push(tn.rU.configure({openOnClick:!1}));break;case"underline":n.push(qa.Z);break;case"table":n.push(Wa.ZP.configure({resizable:!1})),n.push(za.Z),n.push(Ya.Z),n.push(Ha.Z);break;case"hr":n.push(nn.b)}})),n.push(Za.Z.configure({orderedList:null!==(e=this.toolbar.ordered)&&void 0!==e&&e,bulletList:null!==(t=this.toolbar.bullet)&&void 0!==t&&t,listItem:this.toolbar.ordered||this.toolbar.bullet||!1,code:null!==(i=this.toolbar.code)&&void 0!==i&&i,codeBlock:null!==(s=this.toolbar.codeBlock)&&void 0!==s&&s})),this.editor=new Ua.ML({content:a,extensions:n,onUpdate:e=>{let{editor:t}=e;this.value=t.getHTML(),this.textUpdate(),this.updateCounter()}}),this.updateCounter()},beforeUnmount(){this.editor.destroy()},beforeDestroy(){this.editor.destroy()}},rn=on,ln=(0,k.Z)(rn,Fa,$a,!1,null,"21dc2d28",null),dn=ln.exports;function cn(e,t,i){return t=un(t),t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function un(e){var t=hn(e,"string");return"symbol"==typeof t?t:String(t)}function hn(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var s=i.call(e,t||"default");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}const pn={target:"data-sticky-target",toptarget:"data-sticky-top",classContainer:"sticky",classFixed:"sticky__fixed",classAbs:"sticky__abs",classEnd:"sticky__scrolled",topOffset:0,offset:20};class mn{constructor(e,t){cn(this,"refresh",(()=>this._refresh())),cn(this,"dispose",(()=>this._dispose())),cn(this,"status","top"),cn(this,"ticking",!1),cn(this,"anchors",["Top","Bottom"]),cn(this,"lastScrollPos",0),cn(this,"prevScrollPos",-1),t={...pn,...t},this.target=null,this.toptarget=null,this.container=e,this.containerID=this.container.getAttribute("data-sticky-id"),this.options=t,this.options.target&&(this.target=this.container.querySelector("["+this.options.target+'="'+this.containerID+'"]')),this.options.toptarget&&(this.toptarget=this.container.querySelector("["+this.options.toptarget+'="'+this.containerID+'"]')),this.topMargin=this.container.hasAttribute("data-sticky-offset")?parseInt(this.container.getAttribute("data-sticky-offset")):this.options.offset,this.topOffset=this.container.hasAttribute("data-sticky-topoffset")?parseInt(this.container.getAttribute("data-sticky-topoffset")):this.options.topOffset,e.classList.add(this.options.classContainer),this._setEventListeners(),this._refresh()}_refresh(){if(!this.target)return!1;if(!this._isFullyVisible(this.target))return this._removePositionClass(),!1;const e=this.lastScrollPos,t=this.target.offsetHeight,i=this.container.offsetHeight,s=t+this.topMargin=a&&e=n&&(this._removePositionClass(),this.target.classList.add(this.options.classAbs),this.status="bottom"),e+window.innerHeight>=this.container.getBoundingClientRect().top+e+i?this.target.classList.add(this.options.classEnd):this.target.classList.remove(this.options.classEnd)),this}_isFullyVisible(e){return e.clientHeightthis._scroll())),window.removeEventListener("resize",(()=>this._resize())),this}_setEventListeners(){window.addEventListener("scroll",(()=>this._scroll())),window.addEventListener("resize",(()=>this._resize())),this._resize()}}const fn={};var gn={install(e){const t={options:fn,bind:function(e,i,s){const a=e._sticky=new mn(e,t.options);a._vueEl=e},componentUpdated:function(e,t,i){e._sticky.refresh()},inserted:function(e,t,i){},unbind:function(e,t,i){e._sticky.dispose()}};e.directive("sticky",t)}};function _n(e,t,i){const s=["icon"],a=t.expression||i.data.attrs.symbol;let n=e;"span"===i.tag&&(n=document.createElementNS("http://www.w3.org/2000/svg","svg"),e.appendChild(n)),s.push("icon--".concat(a)),s.forEach((function(t){e.classList.add(t)}));const o=document.createElementNS("http://www.w3.org/2000/svg","title");o.textContent=a,n.appendChild(o);const r="#icon--".concat(a),l=document.createElementNS("http://www.w3.org/2000/svg","use");l.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r),n.appendChild(l)}function bn(e){const t=e.querySelector("svg");t&&t.parentNode.removeChild(t);const i=e.className.split(" ").filter((function(e){return 0===e.indexOf("icon")}));i.forEach((function(t){e.classList.remove(t)}))}var vn={install(e){const t={bind(e,t,i){_n(e,t,i)},componentUpdated:function(e,t,i,s){bn(e),_n(e,t,i)},inserted:function(e,t,i){},unbind:function(e,t,i){}};e.directive("svg",t)}};function yn(e,t,i){return t=wn(t),t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function wn(e){var t=En(e,"string");return"symbol"==typeof t?t:String(t)}function En(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var s=i.call(e,t||"default");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}const Tn={container:!1,delay:0,html:!1,budge:15,placement:"top",theme:"default",title:"",template:'',trigger:"hover focus",offset:0};class kn{constructor(e,t){yn(this,"show",(()=>this._show(this.reference,this.options))),yn(this,"hide",(()=>this._hide())),yn(this,"dispose",(()=>this._dispose())),yn(this,"toggle",(()=>this._isOpen?this.hide():this.show())),yn(this,"innerSelector",".tooltip__inner"),yn(this,"_events",[]),yn(this,"_setTooltipNodeEvent",((e,t,i,s)=>{const a=e.relatedreference||e.toElement,n=i=>{const a=i.relatedreference||i.toElement;this._tooltipNode.removeEventListener(e.type,n),t.contains(a)||this._scheduleHide(t,s.delay,s,i)};return!!this._tooltipNode.contains(a)&&(this._tooltipNode.addEventListener(e.type,n),!0)})),t={...Tn,...t},this.reference=e,this.options=t;const i="string"===typeof t.trigger?t.trigger.split(" ").filter((e=>-1!==["click","hover","focus"].indexOf(e))):[];this._isOpen=!1,this._setEventListeners(e,i,t)}_create(e,t,i,s,a){if(this._tooltipNode)return this;const n=window.document.createElement("div");n.innerHTML=t.trim();const o=n.childNodes[0];o.id="tooltip--".concat(Math.random().toString(36).substr(2,10)),o.setAttribute("aria-hidden","false"),o.classList.add("tooltip--"+i);const r=n.querySelector(this.innerSelector);return 1===s.nodeType?a&&r.appendChild(s):a?r.innerHTML=s:r.innerText=s,o}_position(e,t,i){let s=0,a=0,n=t;const o=e.getBoundingClientRect();this._tooltipNode.classList.remove("tooltip--"+n);const r=Math.round(o.top-this._tooltipNode.offsetHeight-i),l=Math.round(o.top+o.height/2-this._tooltipNode.offsetHeight/2),d=Math.round(o.left+o.width+i),c=Math.round(o.top+o.height+i),u=Math.round(o.left-this._tooltipNode.offsetWidth-i),h=Math.round(o.left+o.width/2-this._tooltipNode.offsetWidth/2);"top"===t&&(s=h,a=r,n="top",s<10&&(s=10),a<0&&(a=c,n="bottom")),"top-right"===t&&(s=d,a=r,n="top",a<0&&(a=c,n="bottom")),"bottom"===t&&(s=h,a=c,n="bottom",s<10&&(s=10),a>0&&(a=r,n="top")),"right"===t&&(s=d,a=l,n="right"),"left"===t&&(s=u,a=l,n="left",s<0&&(s=d,n="right")),this._tooltipNode.style.left=s+"px",this._tooltipNode.style.top=a+"px",this._tooltipNode.classList.add("tooltip--"+n)}_show(e,t){if(this._isOpen&&!this._isOpening)return this;this._isOpen=!0;const i=e.getAttribute("data-tooltip-budge")||t.budge,s=e.getAttribute("data-tooltip-theme")||t.theme,a=e.getAttribute("data-tooltip-placement")||t.placement;if(this._tooltipNode)return this._tooltipNode.style.opacity="",this._tooltipNode.style.visibility="",this._tooltipNode.style.transition="opacity 0.3s",this._tooltipNode.setAttribute("aria-hidden","false"),this._position(e,a,i),this;const n=e.getAttribute("data-tooltip-title")||t.title,o=this._create(e,t.template,s,n,t.html);e.setAttribute("aria-describedby",o.id);const r=this._findContainer(t.container,e);return this._append(o,r),this._tooltipNode=o,this._position(e,a,i),this}_hide(){return this._isOpen?(this._isOpen=!1,this._tooltipNode.style.opacity="0",this._tooltipNode.style.visibility="hidden",this._tooltipNode.style.transition="",this._tooltipNode.setAttribute("aria-hidden","true"),this):this}_dispose(){return this._events.length&&(this._events.forEach((e=>{let{func:t,event:i}=e;this.reference.removeEventListener(i,t)})),this._events=[]),this._tooltipNode&&(this._hide(),this._tooltipNode.parentNode.removeChild(this._tooltipNode),this._tooltipNode=null),this}_findContainer(e,t){return"string"===typeof e?e=window.document.querySelector(e):!1===e&&(e=t.parentNode),e}_append(e,t){t.appendChild(e)}_setEventListeners(e,t,i){const s=[],a=[];t.forEach((e=>{switch(e){case"hover":s.push("mouseenter"),a.push("mouseleave");break;case"focus":s.push("focus"),a.push("blur");break;case"click":s.push("click"),a.push("click");break}})),s.forEach((t=>{const s=t=>{!0!==this._isOpening&&(t.usedByTooltip=!0,this._scheduleShow(e,i.delay,i,t))};this._events.push({event:t,func:s}),e.addEventListener(t,s)})),a.forEach((t=>{const s=t=>{!0!==t.usedByTooltip&&this._scheduleHide(e,i.delay,i,t)};this._events.push({event:t,func:s}),e.addEventListener(t,s)}))}_scheduleShow(e,t,i){this._isOpening=!0;const s=t&&t.show||t||0;s>0?window.setTimeout((()=>this._show(e,i)),s):this._show(e,i)}_scheduleHide(e,t,i,s){this._isOpening=!1;const a=t&&t.hide||t||0;window.setTimeout((()=>{if(!1!==this._isOpen&&document.body.contains(this._tooltipNode)){if("mouseleave"===s.type){const a=this._setTooltipNodeEvent(s,e,t,i);if(a)return}this._hide()}}),a)}}const Cn={};var An={install(e){const t={options:Cn,bind:function(e,i,s){if(!e._tooltip){const i=e._tooltip=new kn(e,t.options);i._vueEl=e}},componentUpdated:function(e,i,s,a){if(e._tooltip){e._tooltip.dispose();const i=e._tooltip=new kn(e,t.options);i._vueEl=e}},inserted:function(e,t,i){},unbind:function(e,t,i){e._tooltip&&e._tooltip.dispose()}};e.directive("tooltip",t)}};const xn=!0,Sn={install(e,t){e.component("a17-button",P),e.component("a17-infotip",ut),e.component("a17-slideshow",sa),e.component("a17-browserfield",I),e.component("a17-textfield",aa.Z),e.component("a17-hiddenfield",nt),e.component("a17-wysiwyg",Na),e.component("a17-wysiwyg-tiptap",dn),e.component("a17-inputframe",_t),e.component("a17-mediafield",es),e.component("a17-mediafield-translated",os),e.component("a17-radio",ys),e.component("a17-radiogroup",As),e.component("a17-checkbox",z),e.component("a17-singlecheckbox",$s),e.component("a17-checkboxgroup",ae),e.component("a17-singleselect-permissions",Xs),e.component("a17-multiselect",ms),e.component("a17-singleselect",Hs),e.component("a17-select",Ms),e.component("a17-vselect",na.Z),e.component("a17-locale",Ct),e.component("a17-dropdown",Ne.Z),e.component("a17-buttonbar",U),e.component("a17-modal",rs.Z),e.component("a17-dialog",Re),e.component("a17-datepicker",Ie),e.component("a17-filefield",Je),e.component("a17-colorfield",ye),e.component("a17-avatar",h.Z),e.component("a17-medialibrary",Si),e.mixin({methods:{openFreeMediaLibrary:function(){this.$store.commit(v.CV.UPDATE_MEDIA_CONNECTOR,null),this.$store.commit(v.CV.RESET_MEDIA_TYPE),this.$store.commit(v.CV.UPDATE_REPLACE_INDEX,-1),this.$store.commit(v.CV.UPDATE_MEDIA_MAX,0),this.$store.commit(v.CV.UPDATE_MEDIA_FILESIZE_MAX,0),this.$store.commit(v.CV.UPDATE_MEDIA_WIDTH_MIN,0),this.$store.commit(v.CV.UPDATE_MEDIA_HEIGHT_MIN,0),this.$store.commit(v.CV.UPDATE_MEDIA_MODE,!1),this.$root.$refs.mediaLibrary&&this.$root.$refs.mediaLibrary.open()}}}),e.config.productionTip=xn,e.config.devtools=!xn,e.prototype.$http=o(),window.$trans=e.prototype.$trans=function(e,t){return l()(window["TWILL"].twillLocalization.lang,e,t)},o().defaults.headers.common["X-Requested-With"]="XMLHttpRequest",o().interceptors.response.use((e=>e),(e=>((0,Dt.I)("CONTENT",e),Promise.reject(e)))),e.use(u.ZP,{name:"timeago",locale:window["TWILL"].twillLocalization.locale,locales:c()(Ae.k1,"date-fns")}),e.use(vn),e.use(An),e.use(gn)}};var Ln=Sn},9341:function(e,t,i){"use strict";i.d(t,{Z:function(){return h}});var s=function(){var e=this,t=e._self._c;return t("transition",{attrs:{name:"move_down_notif"}},[e.show?t("div",{class:e.notifClasses,attrs:{role:"alert","aria-live":"polite","aria-atomic":"true"}},[t("div",{staticClass:"notif__inner"},[e.important?e._e():t("button",{staticClass:"notif__close",attrs:{type:"button","data-dismiss":"alert","aria-label":"alertClose"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.closeNotif.apply(null,arguments)}}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"close_modal"}})]),t("span",{domProps:{innerHTML:e._s(e.message)}})])]):e._e()])},a=[],n=i(4622),o={name:"A17Notification",props:{variant:{type:String,default:"success"},duration:{type:Number,default:3e3},important:{type:Boolean,default:!0},autoHide:{type:Boolean,default:!0}},data:function(){return{closed:!1,timer:null,css:"notif"}},computed:{message:function(){return this.$store.getters.notifByVariant(this.variant)},variantClass:function(){return"notif--".concat(this.variant)},notifClasses:function(){return this.css&&Array.isArray(this.css)?[...this.css,this.variantClass]:["notif",this.variantClass]},show:function(){return!this.closed&&!!this.message}},methods:{closeNotif:function(){this.closed=!0,this.clearNotification(),this.timer&&(clearTimeout(this.timer),this.timer=null)},clearNotification:function(){this.$store.commit(n.qq.CLEAR_NOTIF,this.variant)},autoClose:function(){null===this.timer&&(this.timer=setTimeout((()=>{this.closeNotif()}),this.duration))}},watch:{message:function(){this.message&&(this.closed=!1,this.autoHide&&this.autoClose())}}},r=o,l=i(1001),d=(0,l.Z)(r,s,a,!1,null,null,null),c=d.exports;const u={install(e,t){e.mixin({methods:{notif:function(e){this.$store.commit(n.qq.SET_NOTIF,e)}}}),e.component("a17-notif",c)}};var h=u},3145:function(e,t,i){"use strict";const s="moveBlockToEditor",a="duplicateBlock",n="duplicateRepeater",o="getBucketsData",r="saveBuckets",l="getDatatableDatas",d="setDatatableNestedDatas",c="setDatatableDatas",u="togglePublishedData",h="deleteData",p="duplicateData",m="restoreData",f="destroyData",g="toggleFeaturedData",_="bulkPublishData",b="bulkFeatureData",v="bulkExportData",y="bulkDeleteData",w="bulkRestoreData",E="bulkDestroyData",T="replaceFormData",k="saveFormData",C="updateFormInListing",A="createFormInModal",x="getAllPreviews",S="getPreview",L="getRevisionContent",I="getCurrentContent",D="handleErrors";t.ZP={HANDLE_ERRORS:D,GET_BUCKETS:o,SAVE_BUCKETS:r,GET_DATATABLE:l,SET_DATATABLE_NESTED:d,SET_DATATABLE:c,TOGGLE_PUBLISH:u,DELETE_ROW:h,DUPLICATE_ROW:p,RESTORE_ROW:m,DESTROY_ROW:f,TOGGLE_FEATURE:g,BULK_PUBLISH:_,BULK_FEATURE:b,BULK_EXPORT:v,BULK_DELETE:y,BULK_RESTORE:w,BULK_DESTROY:E,REPLACE_FORM:T,SAVE_FORM:k,UPDATE_FORM_IN_LISTING:C,CREATE_FORM_IN_MODAL:A,GET_ALL_PREVIEWS:x,GET_PREVIEW:S,GET_REVISION:L,GET_CURRENT:I,MOVE_BLOCK_TO_EDITOR:s,DUPLICATE_BLOCK:a,DUPLICATE_REPEATER:n}},3511:function(e,t,i){"use strict";i.d(t,{Z:function(){return v}});var s=i(538),a=i(629),n=i(361),o=i.n(n),r=i(3145),l=i(4622);const d={crops:window["TWILL"].STORE.medias.crops||{},showFileName:window["TWILL"].STORE.medias.showFileName||!1,types:window["TWILL"].STORE.medias.types||[],type:"image",connector:null,max:0,filesizeMax:0,widthMin:0,heightMin:0,strict:!0,selected:window["TWILL"].STORE.medias.selected||{},config:window["TWILL"].STORE.medias.config||{useWysiwyg:!1,wysiwygOptions:{}},loading:[],uploadProgress:0,indexToReplace:-1},c={mediasByBlockId:e=>t=>{const i=Object.keys(e.selected).filter((e=>e.startsWith("blocks[".concat(t,"]")))),s={};return i.forEach((t=>s[t]=e.selected[t])),s}},u={[l.CV.UPDATE_MEDIA_TYPE_TOTAL](e,t){e.types=e.types.map((e=>(e.value===t.type&&(e.total=t.total),e)))},[l.CV.UPDATE_REPLACE_INDEX](e,t){e.indexToReplace=t},[l.CV.INCREMENT_MEDIA_TYPE_TOTAL](e,t){e.types=e.types.map((e=>(e.value===t&&(e.total=e.total+1),e)))},[l.CV.DECREMENT_MEDIA_TYPE_TOTAL](e,t){e.types=e.types.map((e=>(e.value===t&&(e.total=e.total-1),e)))},[l.CV.UPDATE_MEDIAS](e,t){let{mediaRole:i,index:a,media:n}=t;s["default"].set(e.selected[i],a,n)},[l.CV.SAVE_MEDIAS](e,t){if(e.connector){const i=e.connector,s=e.selected[i]&&e.selected[i].length;if(s&&e.indexToReplace>-1)e.selected[i].splice(e.indexToReplace,1,o()(t[0]));else if(s)t.forEach((function(t){e.selected[i].push(o()(t))}));else{const s={};s[i]=t,e.selected=Object.assign({},e.selected,s)}e.indexToReplace=-1}},[l.CV.DESTROY_SPECIFIC_MEDIA](e,t){e.selected[t.name]&&(e.selected[t.name].splice(t.index,1),0===e.selected[t.name].length&&s["default"].delete(e.selected,t.name)),e.connector=null},[l.CV.DESTROY_MEDIAS](e,t){e.selected[t]&&s["default"].delete(e.selected,t),e.connector=null},[l.CV.REORDER_MEDIAS](e,t){const i={};i[t.name]=t.medias,e.selected=Object.assign({},e.selected,i)},[l.CV.PROGRESS_UPLOAD_MEDIA](e,t){const i=e.loading.filter((e=>e.id===t.id));i.length?(i[0].error=!1,i[0].progress=t.progress):e.loading.unshift({id:t.id,name:t.name,progress:t.progress,replacementId:t.replacementId,isReplacement:t.isReplacement})},[l.CV.PROGRESS_UPLOAD](e,t){e.uploadProgress=t},[l.CV.DONE_UPLOAD_MEDIA](e,t){e.loading.forEach((function(i,s){i.id===t.id&&e.loading.splice(s,1)}))},[l.CV.ERROR_UPLOAD_MEDIA](e,t){e.loading.forEach((function(i,a){i.id===t.id&&(s["default"].set(e.loading[a],"progress",0),s["default"].set(e.loading[a],"error",!0),s["default"].set(e.loading[a],"errorMessage",t.errorMessage))}))},[l.CV.UPDATE_MEDIA_CONNECTOR](e,t){e.connector=t&&""!==t?t:null},[l.CV.UPDATE_MEDIA_MODE](e,t){e.strict=t},[l.CV.UPDATE_MEDIA_TYPE](e,t){t&&""!==t&&(e.type=t)},[l.CV.RESET_MEDIA_TYPE](e){e.type=e.types[0].value},[l.CV.UPDATE_MEDIA_MAX](e,t){e.max=Math.max(0,t)},[l.CV.UPDATE_MEDIA_FILESIZE_MAX](e,t){e.filesizeMax=Math.max(0,t)},[l.CV.UPDATE_MEDIA_WIDTH_MIN](e,t){e.widthMin=Math.max(0,t)},[l.CV.UPDATE_MEDIA_HEIGHT_MIN](e,t){e.heightMin=Math.max(0,t)},[l.CV.SET_MEDIA_METADATAS](e,t){const i=t.media.context,a=e.selected[i],n=t.value;function r(e){return n.locale?(e.metadatas.custom[n.id]||(e.metadatas.custom[n.id]={}),e.metadatas.custom[n.id][n.locale]=n.value):e.metadatas.custom[n.id]=n.value,e}if(t.media.hasOwnProperty("index")){const e=r(o()(a[t.media.index]));s["default"].set(a,t.media.index,e)}},[l.CV.DESTROY_MEDIA_CONNECTOR](e){e.connector=null},[l.CV.SET_MEDIA_CROP](e,t){const i=t.key,a=t.index,n=e.selected[i][a];function r(e){e.crops||(e.crops={});for(const i in t.values){const s={};s.name=t.values[i].name||i,s.x=t.values[i].x,s.y=t.values[i].y,s.width=t.values[i].width,s.height=t.values[i].height,e.crops[i]=s}return e}const l=r(o()(n));s["default"].set(e.selected[i],a,l)},[l.CV.ADD_MEDIAS](e,t){let{medias:i}=t;e.selected=Object.assign({},e.selected,i)}},h={async[r.ZP.DUPLICATE_BLOCK](e,t){let{commit:i,getters:s}=e,{block:a,id:n}=t;const o={...s.mediasByBlockId(a.id)},r=Object.keys(o),d={};r.forEach((e=>d[e.replace(a.id,n)]=[...o[e]])),i(l.CV.ADD_MEDIAS,{medias:d})}};var p={state:d,getters:c,mutations:u,actions:h};const m={success:null,info:null,warning:null,error:null},f={notifByVariant:e=>t=>e[t],notified:e=>0===Object.keys(e).filter((t=>null!==e[t])).length},g={[l.qq.SET_NOTIF](e,t){e[t.variant]=t.message},[l.qq.CLEAR_NOTIF](e,t){e[t]&&(e[t]=null)}};var _={state:m,getters:f,mutations:g};s["default"].use(a.ZP);const b=!1;var v=new a.ZP.Store({modules:{notification:_,mediaLibrary:p},strict:b})},7224:function(e,t,i){"use strict";var s=i(538),a=i(4622);const n={options:{}},o={optionsByName(e){return t=>e.options[t]||[]}},r={[a.N0.EMPTY_OPTIONS](e,t){e.options[t]&&s["default"].delete(e.options,t)},[a.N0.UPDATE_OPTIONS](e,t){const i=t.name,a=t.options;let n=[];e.options[i]&&(n=e.options[i],s["default"].delete(e.options,i)),Array.isArray(a)&&a.forEach((function(e){const t=n.findIndex((t=>t.value===e.value));-1===t&&n.push(e)})),s["default"].set(e.options,i,n)}},l={};t.Z={state:n,getters:o,mutations:r,actions:l}},2374:function(e,t,i){"use strict";var s=i(538),a=i(3145),n=i(4622);const o={connector:null,title:"Attach related resources",note:"",endpoint:"",endpointName:"",endpoints:[],max:0,selected:window["TWILL"].STORE.browser.selected||{}},r={selectedItemsByIds:e=>{const t=[];for(const i in e.selected)t[i]=e.selected[i].map((e=>"".concat(e.endpointType,"_").concat(e.id)));return t},browsersByBlockId:e=>t=>{const i=Object.keys(e.selected).filter((e=>e.startsWith("blocks[".concat(t,"]")))),s={};return i.forEach((t=>s[t]=e.selected[t])),s}},l={[n.Uv.SAVE_ITEMS](e,t){if(e.connector)if(e.selected[e.connector]&&e.selected[e.connector].length)e.selected[e.connector]=t;else{const i={};i[e.connector]=t,e.selected=Object.assign({},e.selected,i)}},[n.Uv.DESTROY_ITEMS](e,t){e.selected[t.name]&&s["default"].delete(e.selected,t.name)},[n.Uv.DESTROY_ITEM](e,t){e.selected[t.name]&&(e.selected[t.name].splice(t.index,1),0===e.selected[t.name].length&&s["default"].delete(e.selected,t.name),e.connector=null)},[n.Uv.REORDER_ITEMS](e,t){const i={};i[t.name]=t.items,e.selected=Object.assign({},e.selected,i)},[n.Uv.UPDATE_BROWSER_MAX](e,t){e.max=Math.max(0,t)},[n.Uv.UPDATE_BROWSER_CONNECTOR](e,t){t&&""!==t&&(e.connector=t)},[n.Uv.UPDATE_BROWSER_TITLE](e,t){t&&""!==t&&(e.title=t)},[n.Uv.UPDATE_BROWSER_NOTE](e,t){e.note=t},[n.Uv.DESTROY_BROWSER_CONNECTOR](e){e.connector=null},[n.Uv.UPDATE_BROWSER_ENDPOINT](e,t){t&&""!==t&&(e.endpoint=t.value,e.endpointName=t.label||"")},[n.Uv.DESTROY_BROWSER_ENDPOINT](e){e.endpoint="",e.endpointName=""},[n.Uv.UPDATE_BROWSER_ENDPOINTS](e,t){!t&&!t.length>0||(e.endpoints=t,e.endpoint=t[0].value,e.endpointName=t[0].label)},[n.Uv.DESTROY_BROWSER_ENDPOINTS](e){e.endpoints=[]},[n.Uv.ADD_BROWSERS](e,t){let{browsers:i}=t;e.selected=Object.assign({},e.selected,i)}},d={async[a.ZP.DUPLICATE_BLOCK](e,t){let{commit:i,getters:s}=e,{block:a,id:o}=t;const r={...s.browsersByBlockId(a.id)},l=Object.keys(r),d={};l.forEach((e=>d[e.replace(a.id,o)]=[...r[e]])),i(n.Uv.ADD_BROWSERS,{browsers:d})}};t.Z={state:o,getters:r,mutations:l,actions:d}},366:function(e,t,i){"use strict";i.d(t,{Z:function(){return b}});var s=i(3145),a=i(1607),n=i(9669),o=i.n(n),r=i(3827),l=i(3835);const d="DATATABLE";var c={get(e,t){o().get(window["TWILL"].CMS_URLS.index,{params:e}).then((function(e){if(e.data.replaceUrl){const t=e.request.responseURL;(0,l.lO)(t)}if(t&&"function"===typeof t){const i={data:e.data.tableData?e.data.tableData:[],nav:e.data.tableMainFilters?e.data.tableMainFilters:[],maxPage:e.data.maxPage?e.data.maxPage:1};t(i)}}),(function(e){const t={message:"Get request error.",value:e};(0,r.I)(d,t)}))},togglePublished(e,t,i){o().put(window["TWILL"].CMS_URLS.publish,{id:e.id,active:e.published}).then((function(e){t&&"function"===typeof t&&t(e)}),(function(e){const t={message:"Publish request error.",value:e};(0,r.I)(d,t),i&&"function"===typeof i&&i(e.response)}))},toggleFeatured(e,t){o().put(window["TWILL"].CMS_URLS.feature,{id:e.id,active:e.featured}).then((function(e){t&&"function"===typeof t&&t(e)}),(function(e){const t={message:"Feature request error.",value:e};(0,r.I)(d,t)}))},delete(e,t){o()["delete"](e.delete).then((function(e){t&&"function"===typeof t&&t(e)}),(function(e){const t={message:"Delete request error.",value:e};(0,r.I)(d,t)}))},restore(e,t){o().put(window["TWILL"].CMS_URLS.restore,{id:e.id}).then((function(e){t&&"function"===typeof t&&t(e)}),(function(e){const t={message:"Restore request error.",value:e};(0,r.I)(d,t)}))},destroy(e,t){o().put(window["TWILL"].CMS_URLS.forceDelete,{id:e.id}).then((function(e){t&&"function"===typeof t&&t(e)}),(function(e){const t={message:"Destroy request error.",value:e};(0,r.I)(d,t)}))},duplicate(e,t){o().put(e.duplicate).then((function(e){t&&"function"===typeof t&&t(e)}),(function(e){const t={message:"Duplicate request error.",value:e};(0,r.I)(d,t)}))},reorder(e,t){o().post(window["TWILL"].CMS_URLS.reorder,{ids:e}).then((function(e){t&&"function"===typeof t&&t(e)}),(function(e){const t={message:"Reorder request error.",value:e};(0,r.I)(d,t)}))},bulkPublish(e,t){o().post(window["TWILL"].CMS_URLS.bulkPublish,{ids:e.ids,publish:e.toPublish}).then((function(e){t&&"function"===typeof t&&t(e)}),(function(e){const t={message:"Bulk publish request error.",value:e};(0,r.I)(d,t)}))},bulkFeature(e,t){o().post(window["TWILL"].CMS_URLS.bulkFeature,{ids:e.ids,feature:e.toFeature}).then((function(e){t&&"function"===typeof t&&t(e)}),(function(e){const t={message:"Bulk feature request error.",value:e};(0,r.I)(d,t)}))},bulkDelete(e,t){o().post(window["TWILL"].CMS_URLS.bulkDelete,{ids:e}).then((function(e){t&&"function"===typeof t&&t(e)}),(function(e){const t={message:"Bulk delete request error.",value:e};(0,r.I)(d,t)}))},bulkRestore(e,t){o().post(window["TWILL"].CMS_URLS.bulkRestore,{ids:e}).then((function(e){t&&"function"===typeof t&&t(e)}),(function(e){const t={message:"Bulk restore request error.",value:e};(0,r.I)(d,t)}))},bulkDestroy(e,t){o().post(window["TWILL"].CMS_URLS.bulkForceDelete,{ids:e}).then((function(e){t&&"function"===typeof t&&t(e)}),(function(e){const t={message:"Bulk destroy request error.",value:e};(0,r.I)(d,t)}))}},u=i(4622);const h=(e,t,i)=>{e.forEach((e=>{e.id===t&&i(e),e.children&&h(e.children,t,i)}))},p=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["id","children"],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"children";const s=JSON.parse(JSON.stringify(e));return s.forEach((e=>{for(const s in e)t.includes(s)||delete e[s],s===i&&(e[s]=p(e[s]))})),s},m={baseUrl:window["TWILL"].STORE.datatable.baseUrl||"",data:window["TWILL"].STORE.datatable.data||[],columns:window["TWILL"].STORE.datatable.columns||[],filter:window["TWILL"].STORE.datatable.filter||{},filtersNav:window["TWILL"].STORE.datatable.navigation||[],page:Number(window["TWILL"].STORE.datatable.page||1),maxPage:Number(window["TWILL"].STORE.datatable.maxPage||1),defaultMaxPage:Number(window["TWILL"].STORE.datatable.defaultMaxPage||1),offset:Number(window["TWILL"].STORE.datatable.offset||60),defaultOffset:Number(window["TWILL"].STORE.datatable.defaultOffset||60),sortKey:window["TWILL"].STORE.datatable.sortKey||"",sortDir:window["TWILL"].STORE.datatable.sortDir||"asc",bulk:[],localStorageKey:window["TWILL"].STORE.datatable.localStorageKey||window.location.pathname,loading:!1,updateTracker:0},f={dataIds:e=>e.data.map((e=>e.id)),hideableColumns:e=>e.columns.filter((e=>e.optional)),visibleColumns:e=>e.columns.filter((e=>e.visible)),visibleColumnsNames:e=>{const t=[];return e.columns.length&&e.columns.forEach((function(e){e.visible&&t.push(e.name)})),t}},g={[u.yY.UPDATE_DATATABLE_DATA](e,t){e.bulk=[],e.data=t},[u.yY.UPDATE_DATATABLE_BULK](e,t){e.bulk.indexOf(t)>-1?e.bulk=e.bulk.filter((function(e){return e!==t})):e.bulk.push(t)},[u.yY.REPLACE_DATATABLE_BULK](e,t){e.bulk=t},[u.yY.ADD_DATATABLE_COLUMN](e,t){e.columns.splice(t.index,0,t.data)},[u.yY.REMOVE_DATATABLE_COLUMN](e,t){e.columns.forEach((function(i,s){i.name===t&&e.columns.splice(s,1)}))},[u.yY.UPDATE_DATATABLE_FILTER](e,t){e.filter=Object.assign({},e.filter,t)},[u.yY.CLEAR_DATATABLE_FILTER](e){e.filter=Object.assign({},{search:"",status:e.filter.status})},[u.yY.UPDATE_DATATABLE_FILTER_STATUS](e,t){e.filter.status=t},[u.yY.UPDATE_DATATABLE_OFFSET](e,t){e.offset=t,(0,a.po)(e.localStorageKey+"_page-offset",e.offset)},[u.yY.UPDATE_DATATABLE_PAGE](e,t){e.page=t},[u.yY.UPDATE_DATATABLE_MAXPAGE](e,t){e.page>t&&(e.page=t),e.maxPage=t},[u.yY.UPDATE_DATATABLE_VISIBLITY](e,t){(0,a.po)(e.localStorageKey+"_columns-visible",JSON.stringify(t)),e.columns.forEach((function(e){for(let i=0;i=0&&(e.data[t].published="toggle"===s?!e.data[t].published:s)}function n(t){return e.data.findIndex((function(e,i){return e.id===t}))}if(Array.isArray(i))i.forEach((function(e){const t=n(e);a(t)})),e.bulk=[];else{const e=n(i);a(e)}},[u.yY.FEATURE_DATATABLE](e,t){const i=t.id,s=t.value;function a(t){t>=0&&(e.data[t].featured="toggle"===s?!e.data[t].featured:s)}function n(t){return e.data.findIndex((function(e,i){return e.id===t}))}if(Array.isArray(i))i.forEach((function(e){const t=n(e);a(t)})),e.bulk=[];else{const e=n(i);a(e)}},[u.yY.UPDATE_DATATABLE_LOADING](e,t){e.loading=!e.loading},[u.yY.UPDATE_DATATABLE_NESTED](e,t){h(e.data,t.parentId,(e=>{e.children=t.val}))},[u.yY.UPDATE_DATATABLE_TRACKER](e,t){e.updateTracker=t?e.updateTracker+1:0}},_={[s.ZP.GET_DATATABLE](e){let{commit:t,state:i,getters:s}=e;if(!i.loading){t(u.yY.UPDATE_DATATABLE_LOADING,!0);const e={sortKey:i.sortKey,sortDir:i.sortDir,page:i.page,offset:i.offset,columns:s.visibleColumnsNames,filter:i.filter};c.get(e,(function(e){t(u.yY.UPDATE_DATATABLE_DATA,e.data),t(u.yY.UPDATE_DATATABLE_MAXPAGE,e.maxPage),t(u.yY.UPDATE_DATATABLE_NAV,e.nav),t(u.yY.UPDATE_DATATABLE_LOADING,!1)}))}},[s.ZP.SET_DATATABLE_NESTED](e){let{commit:t,state:i,dispatch:s}=e;const a=p(i.data);c.reorder(a,(function(e){t(u.qq.SET_NOTIF,{message:e.data.message,variant:e.data.variant})}))},[s.ZP.SET_DATATABLE](e){let{commit:t,state:i,dispatch:s}=e;const a=i.data.map((e=>e.id));c.reorder(a,(function(e){t(u.qq.SET_NOTIF,{message:e.data.message,variant:e.data.variant})}))},[s.ZP.TOGGLE_PUBLISH](e,t){let{commit:i,state:a,dispatch:n}=e;c.togglePublished(t,(function(e){i(u.qq.SET_NOTIF,{message:e.data.message,variant:e.data.variant}),n(s.ZP.GET_DATATABLE)}),(function(e){i(u.qq.SET_NOTIF,{message:e.data.error.message,variant:"error"})}))},[s.ZP.DELETE_ROW](e,t){let{commit:i,state:a,dispatch:n}=e;c.delete(t,(function(e){i(u.qq.SET_NOTIF,{message:e.data.message,variant:e.data.variant}),n(s.ZP.GET_DATATABLE)}))},[s.ZP.DUPLICATE_ROW](e,t){let{commit:i,state:s,dispatch:a}=e;c.duplicate(t,(function(e){i(u.qq.SET_NOTIF,{message:e.data.message,variant:e.data.variant}),e.data.hasOwnProperty("redirect")&&window.location.replace(e.data.redirect)}))},[s.ZP.RESTORE_ROW](e,t){let{commit:i,state:a,dispatch:n}=e;c.restore(t,(function(e){i(u.qq.SET_NOTIF,{message:e.data.message,variant:e.data.variant}),n(s.ZP.GET_DATATABLE)}))},[s.ZP.DESTROY_ROW](e,t){let{commit:i,state:a,dispatch:n}=e;c.destroy(t,(function(e){i(u.qq.SET_NOTIF,{message:e.data.message,variant:e.data.variant}),n(s.ZP.GET_DATATABLE)}))},[s.ZP.BULK_PUBLISH](e,t){let{commit:i,state:a,dispatch:n}=e;c.bulkPublish({ids:a.bulk.join(),toPublish:t.toPublish},(function(e){i(u.qq.SET_NOTIF,{message:e.data.message,variant:e.data.variant}),n(s.ZP.GET_DATATABLE)}))},[s.ZP.TOGGLE_FEATURE](e,t){let{commit:i,state:s}=e;c.toggleFeatured(t,(e=>{i(u.yY.FEATURE_DATATABLE,{id:t.id,value:"toggle"}),i(u.qq.SET_NOTIF,{message:e.data.message,variant:e.data.variant})}))},[s.ZP.BULK_FEATURE](e,t){let{commit:i,state:s}=e;c.bulkFeature({ids:s.bulk.join(),toFeature:t.toFeature},(function(e){i(u.yY.FEATURE_DATATABLE,{id:s.bulk,value:!0}),i(u.qq.SET_NOTIF,{message:e.data.message,variant:e.data.variant})}))},[s.ZP.BULK_DELETE](e){let{commit:t,state:i,dispatch:a}=e;c.bulkDelete(i.bulk.join(),(function(e){t(u.qq.SET_NOTIF,{message:e.data.message,variant:e.data.variant}),a(s.ZP.GET_DATATABLE)}))},[s.ZP.BULK_RESTORE](e){let{commit:t,state:i,dispatch:a}=e;c.bulkRestore(i.bulk.join(),(function(e){t(u.qq.SET_NOTIF,{message:e.data.message,variant:e.data.variant}),a(s.ZP.GET_DATATABLE)}))},[s.ZP.BULK_DESTROY](e){let{commit:t,state:i,dispatch:a}=e;c.bulkDestroy(i.bulk.join(),(function(e){t(u.qq.SET_NOTIF,{message:e.data.message,variant:e.data.variant}),a(s.ZP.GET_DATATABLE)}))}};var b={state:m,getters:f,actions:_,mutations:g}},890:function(e,t,i){"use strict";i.d(t,{Z:function(){return b}});var s=i(361),a=i.n(s),n=i(3145),o=i(9065),r=i(9669),l=i.n(r),d=i(3827);const c="FORM";var u={get(e,t,i){l().get(e).then((function(e){t&&"function"===typeof t&&t(e)}),(function(e){const t={message:"Get request error.",value:e};(0,d.I)(c,t),i&&"function"===typeof i&&i(e)}))},post(e,t,i,s){l().post(e,t).then((function(e){i&&"function"===typeof i&&i(e)}),(function(e){const t={message:"Post request error.",value:e};(0,d.I)(c,t),s&&"function"===typeof s&&s(e)}))},put(e,t,i,s){l().put(e,t).then((function(e){i&&"function"===typeof i&&i(e)}),(function(e){const t={message:"Save request error.",value:e};(0,d.I)(c,t),s&&"function"===typeof s&&s(e)}))}},h=i(4622);const p=(e,t)=>e.findIndex((e=>e.name===t.name)),m={loading:!1,type:"save",baseUrl:window["TWILL"].STORE.form.baseUrl||"",fields:window["TWILL"].STORE.form.fields||[],modalFields:[],saveUrl:window["TWILL"].STORE.form.saveUrl||"",previewUrl:window["TWILL"].STORE.form.previewUrl||"",restoreUrl:window["TWILL"].STORE.form.restoreUrl||"",blockPreviewUrl:window["TWILL"].STORE.form.blockPreviewUrl||"",errors:{},isCustom:window["TWILL"].STORE.form.isCustom||!1,reloadOnSuccess:window["TWILL"].STORE.form.reloadOnSuccess||!1,isSubmitPrevented:!1},f={fieldsByName(e){return t=>e.fields.filter((function(e){return e.name===t}))},fieldValueByName:(e,t)=>e=>t.fieldsByName(e).length?t.fieldsByName(e)[0].value:"",modalFieldsByName(e){return t=>e.modalFields.filter((function(e){return e.name===t}))},modalFieldValueByName:(e,t)=>e=>t.modalFieldsByName(e).length?t.modalFieldsByName(e)[0].value:"",fieldsByBlockId:e=>t=>e.fields.filter((e=>e.name.startsWith("blocks[".concat(t,"]"))))},g={[h.Yc.UPDATE_FORM_PERMALINK](e,t){t&&""!==t&&(e.permalink=t)},[h.Yc.PREVENT_SUBMIT](e){e.isSubmitPrevented=!0},[h.Yc.ALLOW_SUBMIT](e){e.isSubmitPrevented=!1},[h.Yc.EMPTY_FORM_FIELDS](e,t){e.fields=[]},[h.Yc.ADD_FORM_FIELDS](e,t){e.fields=[...e.fields,...t]},[h.Yc.REPLACE_FORM_FIELDS](e,t){e.fields=t},[h.Yc.UPDATE_FORM_FIELD](e,t){let i=t.locale?{}:null;const s=p(e.fields,t);-1!==s&&(t.locale&&(i=e.fields[s].value||{}),e.fields.splice(s,1)),t.locale?i[t.locale]=t.value:i=t.value,e.fields.push({name:t.name,value:i})},[h.Yc.REMOVE_FORM_FIELD](e,t){e.fields.forEach((function(i,s){i.name===t&&e.fields.splice(s,1)}))},[h.Yc.DUPLICATE_BLOCK_FORM_FIELDS](e,t){let{fields:i,oldId:s,newId:n}=t;const o=[];i.forEach((e=>{o.push({name:e.name.replace(s,n),value:a()(e.value)})})),e.fields=[...e.fields,...o]},[h.Yc.EMPTY_MODAL_FIELDS](e,t){e.modalFields=[]},[h.Yc.REPLACE_MODAL_FIELDS](e,t){e.modalFields=t},[h.Yc.UPDATE_MODAL_FIELD](e,t){let i=t.locale?{}:null;const s=p(e.modalFields,t);-1!==s&&(t.locale&&(i=e.modalFields[s].value),e.modalFields.splice(s,1)),t.locale?i[t.locale]=t.value:i=t.value,e.modalFields.push({name:t.name,value:i})},[h.Yc.REMOVE_MODAL_FIELD](e,t){e.modalFields.forEach((function(i,s){i.name===t&&e.modalFields.splice(s,1)}))},[h.Yc.UPDATE_FORM_LOADING](e,t){e.loading=t||!e.loading},[h.Yc.SET_FORM_ERRORS](e,t){e.errors=t},[h.Yc.CLEAR_FORM_ERRORS](e){e.errors=[]},[h.Yc.UPDATE_FORM_SAVE_TYPE](e,t){e.type=t}},_={[n.ZP.HANDLE_ERRORS](e,t){let{commit:i,state:s,getters:a,rootState:n}=e;const o=n.repeaters.repeaters;Object.keys(t).forEach((e=>{const i=e.split(".");if(i.length>=4){const s=i[0],a=i[1],n=i[2],r=i[3];if("repeaters"===s){const i=o[a][n].id,s="blocks[".concat(i,"][").concat(r,"]");t[s]=t[e]}}})),i(h.Yc.SET_FORM_ERRORS,t)},[n.ZP.REPLACE_FORM](e,t){let{commit:i,state:s,getters:a,rootState:o,dispatch:r}=e;return new Promise(((e,s)=>{i(h.Yc.CLEAR_FORM_ERRORS),i(h.qq.CLEAR_NOTIF,"error"),u.get(t,(function(t){i(h.Yc.UPDATE_FORM_LOADING,!1);const s=t.data;s.hasOwnProperty("languages")&&(i(h.ad.REPLACE_LANGUAGES,s.languages),delete s.languages),s.hasOwnProperty("revisions")&&(i(h.UZ.UPDATE_REV_ALL,s.revisions),delete s.revisions),i(h.Yc.REPLACE_FORM_FIELDS,s.fields),e()}),(function(e){i(h.Yc.UPDATE_FORM_LOADING,!1),r(n.ZP.HANDLE_ERRORS,e.response.data),s(e)}))}))},[n.ZP.UPDATE_FORM_IN_LISTING](e,t){let{commit:i,state:s,getters:a,rootState:n}=e;return new Promise(((e,s)=>{i(h.Yc.CLEAR_FORM_ERRORS),i(h.qq.CLEAR_NOTIF,"error");const a=Object.assign((0,o.s4)(n),{languages:n.language.all});u[t.method](t.endpoint,a,(function(s){i(h.Yc.UPDATE_FORM_LOADING,!1),s.data.hasOwnProperty("redirect")&&t.redirect&&window.location.replace(s.data.redirect),i(h.qq.SET_NOTIF,{message:s.data.message,variant:s.data.variant}),e()}),(function(e){i(h.Yc.UPDATE_FORM_LOADING,!1),i(h.Yc.SET_FORM_ERRORS,e.response.data),i(h.qq.SET_NOTIF,{message:"Your submission could not be validated, please fix and retry",variant:"error"}),s(e)}))}))},[n.ZP.CREATE_FORM_IN_MODAL](e,t){let{commit:i,state:s,getters:a,rootState:n}=e;return new Promise(((e,s)=>{i(h.Yc.CLEAR_FORM_ERRORS),i(h.qq.CLEAR_NOTIF,"error");const a=Object.assign((0,o.b6)(n),{languages:n.language.all});u[t.method](t.endpoint,a,(function(s){i(h.Yc.UPDATE_FORM_LOADING,!1),i(h.N0.UPDATE_OPTIONS,{name:t.name,options:s.data}),e()}),(function(e){i(h.Yc.UPDATE_FORM_LOADING,!1),i(h.Yc.SET_FORM_ERRORS,e.response.data),i(h.qq.SET_NOTIF,{message:"Your submission could not be validated, please fix and retry",variant:"error"}),s(e)}))}))},[n.ZP.SAVE_FORM](e,t){let{commit:i,state:s,getters:a,rootState:r,dispatch:l}=e;i(h.Yc.CLEAR_FORM_ERRORS),i(h.qq.CLEAR_NOTIF,"error"),i(h.Yc.UPDATE_FORM_SAVE_TYPE,t);const d=(0,o.zi)(r),c=r.publication.createWithoutModal?"post":"put";u[c](s.saveUrl,d,(function(e){i(h.Yc.UPDATE_FORM_LOADING,!1),e.data.hasOwnProperty("redirect")&&window.location.replace(e.data.redirect),s.reloadOnSuccess&&window.location.reload(),i(h.qq.SET_NOTIF,{message:e.data.message,variant:e.data.variant}),i(h.V1.UPDATE_PUBLISH_SUBMIT),e.data.hasOwnProperty("revisions")&&i(h.UZ.UPDATE_REV_ALL,e.data.revisions)}),(function(e){i(h.Yc.UPDATE_FORM_LOADING,!1),e.response.data.hasOwnProperty("exception")?i(h.qq.SET_NOTIF,{message:"Your submission could not be processed.",variant:"error"}):(l(n.ZP.HANDLE_ERRORS,e.response.data),i(h.qq.SET_NOTIF,{message:"Your submission could not be validated, please fix and retry",variant:"error"}))}))},async[n.ZP.DUPLICATE_BLOCK](e,t){let{commit:i,getters:s}=e,{block:a,id:n}=t;const o=s.fieldsByBlockId(a.id);i(h.Yc.DUPLICATE_BLOCK_FORM_FIELDS,{fields:o,oldId:a.id,newId:n})}};var b={state:m,getters:f,mutations:g,actions:_}},6625:function(e,t,i){"use strict";var s=i(4622);const a={all:window["TWILL"].STORE.languages.all||[],initialAll:window["TWILL"].STORE.languages.all||[],active:window["TWILL"].STORE.languages.active||window["TWILL"].STORE.languages.all[0]||{}},n={publishedLanguages:e=>e.all.filter((e=>e.published))},o={[s.ad.SWITCH_LANG](e,t){let{oldValue:i}=t;function s(e){return e.value===i.value}const a=e.all.findIndex(s),n=a0&&void 0!==arguments[0]?arguments[0]:null,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{message:"",value:null},r="";n&&"string"===typeof n&&(r="".concat("TWILL"," - [").concat(n,"]: "));const l=r+o.message,d=null!==(e=null!==(t=null===o||void 0===o||null===(i=o.value)||void 0===i||null===(i=i.response)||void 0===i?void 0:i.status)&&void 0!==t?t:null===o||void 0===o||null===(s=o.response)||void 0===s?void 0:s.status)&&void 0!==e?e:null;var c;(console.error(l),null!==o&&void 0!==o&&o.value&&null!==(a=o.value)&&void 0!==a&&a.response)&&console.error(null===(c=o.value.response)||void 0===c?void 0:c.data);401===d||419===d?window["TWILL"].vm.notif({message:'Your session has expired, please login in another tab. You can then continue working here.',variant:"warning"}):403===d&&window["TWILL"].vm.notif({message:"You don't have permission to perform this action.",variant:"warning"})}i.d(t,{I:function(){return s}})},1633:function(e,t,i){"use strict";i.d(t,{Z:function(){return p}});var s=i(5616),a=i.n(s);const n={publishDateDisplayFormat:window["TWILL"].STORE.config.publishDateDisplayFormat},o={},r={},l={};var d={state:n,getters:o,mutations:r,actions:l},c=i(4293);function u(e,t){const s=c.k1[(0,c.BH)()];return a()(e,t,{locale:void 0!==s&&s.hasOwnProperty("date-fns")?s["date-fns"]:i(7479)})}const h={slugify:function(e){const t={",":"-","/":"-",":":"-",";":"-",_:"-","©":"(c)","·":"-","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","ā":"a","ă":"a","ą":"a","ć":"c","č":"c","ď":"d","ē":"e","ę":"e","ě":"e","ğ":"g","ģ":"g","ī":"i","ı":"i","ķ":"k","ļ":"l","ł":"l","ń":"n","ņ":"n","ň":"n","ő":"o","œ":"oe","ŕ":"r","ř":"r","ś":"s","ş":"s","š":"s","ť":"t","ū":"u","ů":"u","ű":"u","ź":"z","ż":"z","ž":"z","ǘ":"u","ǵ":"g","ǹ":"n","ș":"s","ț":"t","ΐ":"i","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","є":"ye","і":"i","ї":"yi","ґ":"g","ḧ":"h","ḿ":"m","ṕ":"p","ẃ":"w","ẍ":"x","ә":"a","ғ":"g","қ":"q","ң":"n","ө":"o","ұ":"u"},i=new RegExp(Object.keys(t).join("|"),"g");return e.toString().toLowerCase().trim().replace(/\s+/g,"-").replace(i,(e=>t[e])).replace(/&/g,"-and-").replace(/[^\w-]+/g,"-").replace(/--+/g,"-").replace(/(^-+)|(-+$)/,"")},prettierUrl:function(e){return e.replace(/^\/\/|^.*?:(\/\/)?/,"")},uppercase:function(e){return e||0===e?e.toString().toUpperCase():""},lowercase:function(e){return e||0===e?e.toString().toLowerCase():""},capitalize:function(e){return e?(e=e.toString(),e.charAt(0).toUpperCase()+e.slice(1)):""},formatDate:function(e){return e?u(e,"MMM, DD, YYYY, "+(0,c.rA)()):""},formatDateWithFormat:function(e,t){return e||(e=new Date),u(e,t)},formatDatatableDate:function(e){const t=d.state.publishDateDisplayFormat.length>0?d.state.publishDateDisplayFormat:"MMM DD, YYYY";return e||(e=new Date),u(e,t)},formatCalendarDate:function(e){const t="MMM, DD, YYYY, "+(0,c.rA)();return e||(e=new Date),u(e,t)}};var p=h},8963:function(e,t,i){"use strict";function s(e,t,i){for(let s=0;s0?e.files:!(!e.value||""===e.value)&&e.value);if(v(e))return!(!e.value||""===e.value)&&e.value;if(y(e))return e.value&&""!==e.value?e.value:!(!e.options||!e.options.length||""===e.options[0].value)&&e.options[0].value;if(w(e)){if(e.options&&e.options.length>0){const t=[];return u(e.options,(function(e){e.selected&&t.push(e.value)})),(i||!!t.length)&&t}return!1}return E(e)?e.value&&""!==e.value?e.value:!(!e.innerText||""===e.innerText)&&e.innerText:"undefined"!==typeof e.value&&((i||""!==e.value)&&e.value)}function A(e,t,i,s){const a=t[0];if(g(e))return!1!==i?(s[a]=i,i):void 0;if(_(e))return!1!==i?(s[a]||(s[a]=[]),s[a].push(i)):void 0;if(w(e)){if(!1===i)return;s[a]=i}return s[a]=i,i}function x(e,t,i,s){const a=t[0];return t.length>1?"[]"===a?(s[d(s)]={},x(e,t.splice(1,t.length),i,s[l(s)])):(s[a]&&c(s[a])>0||(s[a]={}),x(e,t.splice(1,t.length),i,s[a])):1===t.length?"[]"===a?(s[d(s)]=i,s):(A(e,t,i,s),s):void 0}function S(){let e,t,a,o=0;const r={};for(o=0;o1&&x(t,e,a||"",r)));const l=c(r);return l>0&&r}return h(e)}i.d(t,{Z:function(){return s}})},9065:function(e,t,i){"use strict";i.d(t,{BI:function(){return l},b6:function(){return p},oH:function(){return d},s4:function(){return h},zi:function(){return m}});var s=i(8367),a=i.n(s);const n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object.assign({},...Object.keys(e).map((i=>{if(t){if(o(i,t.id))return{[r(i,t.id)]:e[i]}}else if(!i.startsWith("blocks["))return{[i]:e[i]};return null})).filter((e=>e)))},o=(e,t)=>e.startsWith("blocks["+t+"]"),r=(e,t)=>{const i=e.replace("blocks["+t+"][","");return i.match(/]/gi).length>1?i.replace("]",""):i.slice(0,-1)},l=function(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const s=Object.keys(t.repeaters.repeaters),a=Object.assign({},...s.filter((t=>t.startsWith("blocks-"+e.id+"|"))).map((i=>({[i.replace("blocks-"+e.id+"|","")]:t.repeaters.repeaters[i].map((e=>l(e,t,!0)))})))),d=Object.keys(t.blocks.blocks),c=Object.assign({},...d.filter((t=>t.startsWith("blocks-"+e.id))).map((i=>({[i.replace("blocks-"+e.id+"|","")]:t.blocks.blocks[i].map((e=>l(e,t)))}))));return{id:e.id,type:e.type,is_repeater:i,editor_name:e.name,content:t.form.fields.filter((t=>o(t.name,e.id))).map((t=>({name:r(t.name,e.id),value:t.value}))).reduce(((e,t)=>(e[t.name]=t.value,e)),{}),medias:n(t.mediaLibrary.selected,e),browsers:n(t.browser.selected,e),blocks:{...a,...c}}},d=e=>a()(e.content)&&a()(e.browsers)&&a()(e.medias)&&a()(e.blocks),c=e=>Object.assign({},...Object.keys(e.repeaters.repeaters).filter((e=>!e.startsWith("blocks-"))).map((t=>({[t]:e.repeaters.repeaters[t].map((t=>{var i;const s=l(t,e),a=s.content;return delete s.content,delete s.type,a.id=t.id,a.repeater_target_id=null!==(i=t.repeater_target_id)&&void 0!==i?i:null,Object.assign(s,a)}))})))),u=e=>{const t={...e.blocks.blocks};return Object.keys(t).filter((e=>!e.startsWith("blocks-"))).map((i=>t[i].map((t=>(t.name=i,l(t,e)))))).flat()},h=e=>{const t=e.form.fields.filter((e=>!e.name.startsWith("blocks[")&&!e.name.startsWith("mediaMeta["))).reduce(((e,t)=>(e[t.name]=t.value,e)),{});return t},p=e=>{const t=e.form.modalFields.filter((e=>!e.name.startsWith("blocks[")&&!e.name.startsWith("mediaMeta["))).reduce(((e,t)=>(e[t.name]=t.value,e)),{});return t},m=e=>{const t=h(e),i=Object.assign(t,{cmsSaveType:e.form.type,published:e.publication.published,public:"public"===e.publication.visibility,publish_start_date:e.publication.startDate,publish_end_date:e.publication.endDate,languages:e.language.all,parent_id:e.parents.active,medias:n(e.mediaLibrary.selected),browsers:n(e.browser.selected),blocks:u(e),repeaters:c(e)});return i}},3523:function(e,t){"use strict";t.Z={modal:"s--modal",overlay:"s--overlay",editor:"s--in-editor",search:"s--search"}},2847:function(e,t,i){"use strict";i.d(t,{ve:function(){return s}});const s=(e,t,i)=>new Promise(((s,a)=>{let n=document.getElementById(e);const o=()=>{n.removeEventListener("load",o),s()};n?n.addEventListener("load",o):(n=document.createElement("script"),n.setAttribute("id",e),n.type=i,n.onload=o,n.onerror=a,document.getElementsByTagName("head")[0].appendChild(n),n.src=t)}))},4293:function(e,t,i){"use strict";i.d(t,{BH:function(){return h},aq:function(){return p},k1:function(){return u},rA:function(){return m}});var s=i(2805),a=i(122),n=i(6679),o=i(9323),r=i(6924),l=i(8809),d=i(4539),c=i(799);const u={en:{"date-fns":i(7479)},"zh-Hans":{"date-fns":i(3612),flatpickr:c.Mandarin},ru:{"date-fns":i(6754),flatpickr:l.Russian},fr:{"date-fns":i(3126),flatpickr:a.French},pl:{"date-fns":i(3618),flatpickr:o.Polish},de:{"date-fns":i(6119),flatpickr:s.German},nl:{"date-fns":i(390),flatpickr:n.Dutch},pt:{"date-fns":i(3086),flatpickr:r.Portuguese},tr:{"date-fns":i(1062),flatpickr:d.Turkish}};function h(){return window["TWILL"].twillLocalization.locale}function p(){return 2===new Intl.DateTimeFormat(h(),{hour:"numeric"}).formatToParts(new Date(2020,0,1,13)).find((e=>"hour"===e.type)).value.length}function m(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return p()||e?"HH:mm":"hh:mm A"}},3835:function(e,t,i){"use strict";i.d(t,{NA:function(){return d},lO:function(){return l}});const s="undefined"!==typeof window,a=(s&&function(){const e=window.navigator.userAgent;(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&(window.history&&window.history)}(),s&&window.performance&&window.performance.now?window.performance:Date);let n=o();function o(){return a.now().toFixed(3)}function r(e,t){const i=window.history;try{t?i.replaceState({key:n},"",e):(n=o(),i.pushState({key:n},"",e))}catch(s){window.location[t?"replace":"assign"](e)}}function l(e){r(e,!0)}function d(){return location.protocol+"//"+location.host+location.pathname}},5068:function(e,t){"use strict";const i=function(e){const t={el:document,offset:0,duration:250,easing:"linear"},i=Date.now();let s=0,a=!1;const n={linear:function(e){return e},easeIn:function(e){return e*e*e},easeOut:function(e){return--e*e*e+1},easeInOut:function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1}},o=window.requestAnimationFrame;let r;for(const h in e)"undefined"!==typeof e[h]&&(t[h]=e[h]);function l(e,t){return e0?e("table",{staticClass:"buckets__list"},[e("tbody",t._l(t.source.items,(function(s){return e("a17-bucket-item-source",{key:s.id,attrs:{item:s,singleBucket:t.singleBucket,buckets:t.buckets},on:{"add-to-bucket":t.addToBucket}})})),1)]):e("div",{staticClass:"buckets__empty"},[e("h4",[t._v(t._s(t.emptySource))])]),e("a17-paginate",{attrs:{max:t.max,value:t.page,offset:t.offset,availableOffsets:t.availableOffsets},on:{changePage:t.updatePage,changeOffset:t.updateOffset}})],1)],1),e("div",{staticClass:"buckets__container col--even"},t._l(t.buckets,(function(s,i){return e("a17-fieldset",{key:s.id,class:"buckets__fieldset buckets__fieldset--"+(i+1),attrs:{name:"bucket_"+s.id,activeToggle:!1}},[e("h3",{staticClass:"buckets__fieldset__header",attrs:{slot:"header"},slot:"header"},[e("span",[t.buckets.length>1?e("span",{staticClass:"buckets__number"},[t._v(t._s(i+1))]):t._e(),t._v(" "+t._s(s.name))]),t._v(" "),e("span",{staticClass:"buckets__size-infos"},[t._v(t._s(s.children.length)+" / "+t._s(s.max))])]),s.children.length>0?e("draggable",{staticClass:"buckets__list buckets__draggable",attrs:{options:t.dragOptions,value:s.children,tag:"table"},on:{change:function(e){return t.sortBucket(e,i)}}},[e("transition-group",{attrs:{name:"fade_scale_list",tag:"tbody"}},t._l(s.children,(function(i,n){return e("a17-bucket-item",{key:"".concat(i.id,"_").concat(n),attrs:{item:i,restricted:t.restricted,draggable:s.children.length>1,singleBucket:t.singleBucket,singleSource:t.singleSource,bucket:s.id,buckets:t.buckets,withToggleFeatured:s.withToggleFeatured,toggleFeaturedLabels:s.toggleFeaturedLabels},on:{"add-to-bucket":t.addToBucket,"remove-from-bucket":t.deleteFromBucket,"toggle-featured-in-bucket":t.toggleFeaturedInBucket}})})),1)],1):e("div",{staticClass:"buckets__empty"},[e("h4",[t._v(t._s(t.emptyBuckets))])])],1)})),1)])]),e("a17-modal",{ref:"overrideBucket",staticClass:"modal--tiny modal--form modal--withintro",attrs:{title:"Override Bucket"}},[e("p",{staticClass:"modal--tiny-title"},[e("strong",[t._v("Are you sure ?")])]),e("p",{domProps:{innerHTML:t._s(t.overrideBucketText)}}),e("a17-inputframe",[e("a17-button",{attrs:{variant:"validate"},on:{click:t.override}},[t._v("Override")]),e("a17-button",{attrs:{variant:"aslink"},on:{click:function(e){return t.$refs.overrideBucket.close()}}},[e("span",[t._v("Cancel")])])],1)],1)],1)},u=[],l=s(9980),d=s.n(l),_=s(629),f=s(6809),m=s(6550),b=s(2992),k=s(6305),g=s(8382),h=s(3145),p=s(4622),v=function(){var t=this,e=t._self._c;return e("tr",{staticClass:"buckets__item",class:t.customClasses},[t.draggable?e("td",{staticClass:"drag__handle"},[e("div",{staticClass:"drag__handle--drag"})]):t._e(),t.item.thumbnail?e("td",{staticClass:"buckets__itemThumbnail"},[e("img",{attrs:{src:t.item.thumbnail,alt:t.item.name}})]):t._e(),t.withToggleFeatured?e("td",{staticClass:"buckets__itemStarred",class:{"buckets__itemStarred--active":t.item.starred}},[e("span",{directives:[{name:"tooltip",rawName:"v-tooltip"}],attrs:{"data-tooltip-title":t.item.starred?t.toggleFeaturedLabels["unstar"]?t.toggleFeaturedLabels["unstar"]:"Unfeature":t.toggleFeaturedLabels["star"]?t.toggleFeaturedLabels["star"]:"Feature"},on:{click:function(e){return e.preventDefault(),t.toggleFeatured.apply(null,arguments)}}},[e("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"star-feature_active"}}),e("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"star-feature"}})])]):t._e(),e("td",{staticClass:"buckets__itemTitle"},[e("h4",[t.item.edit?e("span",{staticClass:"f--link-underlined--o"},[e("a",{attrs:{href:t.item.edit,target:"_blank"}},[t._v(t._s(t.item.name))])]):e("span",[t._v(t._s(t.item.name))])])]),t.item.content_type&&!t.singleSource?e("td",{staticClass:"buckets__itemContentType"},[t._v(" "+t._s(t.item.content_type.label)+" ")]):t._e(),e("td",{staticClass:"buckets__itemOptions"},[t.singleBucket?t._e():e("a17-dropdown",{ref:"bucketDropdown",staticClass:"item__dropdown bucket__action",attrs:{position:"bottom-right",title:"Featured in",clickable:!0}},[e("a17-button",{attrs:{variant:"icon"},on:{click:function(e){return t.$refs.bucketDropdown.toggle()}}},[e("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"more-dots"}})]),t.restricted?e("div",{staticClass:"item__dropdown__content",attrs:{slot:"dropdown__content"},slot:"dropdown__content"},[e("a17-radiogroup",{attrs:{name:"bucketsSelection",radioClass:"bucket",radios:t.dropDownBuckets,initialValue:t.selectedBuckets()[0]},on:{change:t.updateBucket}})],1):e("div",{staticClass:"item__dropdown__content",attrs:{slot:"dropdown__content"},slot:"dropdown__content"},[e("a17-checkboxgroup",{attrs:{name:"bucketsSelection",options:t.dropDownBuckets,selected:t.selectedBuckets()},on:{change:t.updateBucket}})],1)],1),e("a17-button",{staticClass:"bucket__action",attrs:{icon:"close"},on:{click:function(e){return t.removeFromBucket()}}},[e("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"close_icon"}})])],1)])},T=[],E=s(5445),B=s(7277),y={components:{A17Dropdown:B.Z},name:"a17BucketItem",props:{bucket:{type:String},draggable:{type:Boolean,default:!1},restricted:{type:Boolean,default:!1},type:{type:String,default:"bucket"},singleSource:{type:Boolean,default:!1},withToggleFeatured:{type:Boolean,default:!1},toggleFeaturedLabels:{type:Array,default:()=>[]}},mixins:[E.Z],computed:{inBuckets:function(){const t=this;let e=!1;return t.buckets.forEach((function(s){s.children.find((function(e){return e.id===t.item.id&&e.content_type.value===t.item.content_type.value}))&&(e=!0)})),e},customClasses:function(){return{...this.bucketClasses,draggable:this.draggable}},dropDownBuckets:function(){const t=[],e=this;let s=1;return this.buckets.length>0&&this.buckets.forEach((function(i){e.restrictedBySource(i.id)&&t.push({value:e.slug(i.id),label:s+" "+i.name}),s++})),t}},methods:{removeFromBucket:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.bucket;this.$emit("remove-from-bucket",this.item,t)},toggleFeatured:function(){this.$emit("toggle-featured-in-bucket",this.item,this.bucket)},selectedBuckets:function(){const t=[],e=this;return this.buckets.length>0&&this.buckets.forEach((function(s){e.inBucketById(s.id)&&t.push(e.slug(s.id))})),t.length>0?t:[]},slug:function(t){return"bucket-"+this.bucket+"_item-"+this.item.id+"_type-"+this.item.content_type.value+"_inb-"+t},updateBucket:function(t){const e="inb-",s=this,i=s.selectedBuckets();if(s.restricted){const i=t.split(e)[1];s.inBucketById(i)||(s.$refs.bucketDropdown.toggle(),s.addToBucket(i))}else i.forEach((function(i){if(-1===t.indexOf(i)){const t=i.split(e)[1];s.$refs.bucketDropdown.toggle(),s.removeFromBucket(t)}})),Array.isArray(t)&&t.forEach((function(t){const i=t.split(e)[1];s.inBucketById(i)||(s.$refs.bucketDropdown.toggle(),s.addToBucket(i))}))}}},C=y,D=s(1001),S=(0,D.Z)(C,v,T,!1,null,"2d7b9ae8",null),w=S.exports,x=function(){var t=this,e=t._self._c;return e("tr",{staticClass:"buckets__item",class:t.bucketClasses},[t.item.thumbnail?e("td",{staticClass:"buckets__itemThumbnail"},[e("img",{attrs:{src:t.item.thumbnail,alt:t.item.name}})]):t._e(),e("td",{staticClass:"buckets__itemTitle"},[e("h4",[t.item.edit?e("span",{staticClass:"f--link-underlined--o"},[e("a",{attrs:{href:t.item.edit,target:"_blank"}},[t._v(t._s(t.item.name))])]):e("span",[t._v(t._s(t.item.name))]),t.item.languages?[e("br"),e("a17-tableLanguages",{attrs:{languages:t.item.languages}})]:t._e()],2)]),t.item.publication?e("td",{staticClass:"buckets__itemDate"},[t._v(" "+t._s(t.item.publication)+" ")]):t._e(),e("td",{staticClass:"buckets__itemOptions"},[t.singleBucket&&!t.inBucketById(t.buckets[0].id)?e("a17-button",{attrs:{icon:"add"},on:{click:function(e){return t.addToBucket(t.buckets[0].id)}}},[e("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"add"}})]):t.singleBucket?e("a17-button",{attrs:{icon:"add",disabled:!0}},[e("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"add"}})]):t._l(t.buckets,(function(s,i){return[!t.inBucketById(s.id)&&t.restrictedBySource(s.id)?e("a17-button",{key:s.id,staticClass:"bucket__action",attrs:{icon:"bucket--"+(i+1)},on:{click:function(e){return t.addToBucket(s.id)}}},[t._v(t._s(i+1))]):t.restrictedBySource(s.id)?e("a17-button",{key:s.id,staticClass:"bucket__action selected",attrs:{icon:"bucket--"+(i+1),disabled:!0}},[t._v(t._s(i+1))]):t._e()]}))],2)])},A=[],I=s(1095),K={mixins:[E.Z],components:{"a17-tableLanguages":I.wk}},O=K,U=(0,D.Z)(O,x,A,!1,null,null,null),P=U.exports,L={name:"A17Buckets",mixins:[g.Z],props:{title:{type:String,default:"Features"},emptyBuckets:{type:String,default:"No items selected."},emptySource:{type:String,default:"No items found."},overridableMax:{type:Boolean,default:!1},restricted:{type:Boolean,default:!0},extraActions:{type:Array,default:function(){return[]}}},components:{"a17-bucket-item":w,"a17-bucket-item-source":P,"a17-fieldset":f.Z,"a17-paginate":b.Z,"a17-filter":m.Z,"a17-vselect":k.Z,draggable:d()},data:function(){return{currentBucketID:"",currentItem:"",overrideItem:!1}},computed:{...(0,_.rn)({buckets:t=>t.buckets.buckets,source:t=>t.buckets.source,dataSources:t=>t.buckets.dataSources.content_types,page:t=>t.buckets.page,availableOffsets:t=>t.buckets.availableOffsets,offset:t=>t.buckets.offset,max:t=>t.buckets.maxPage}),...(0,_.Se)(["currentSource"]),singleBucket:function(){return 1===this.buckets.length},singleSource:function(){return 1===this.dataSources.length},overrideBucketText:function(){const t=this.buckets.find((t=>t.id===this.currentBucketID));let e="",s="";return t&&(e=t.name,s=t.max),'Bucket "'+e+'" has a strict limit of '+s+" items. Do you want to override the first item of this bucket ?"}},methods:{addToBucket:function(t,e){const s=this.buckets.findIndex((t=>t.id===e));if(!t&&-1===s)return;this.currentBucketID=e,this.currentItem=t;const i={index:s,item:t},n=this.buckets[s].children.length;n>-1&&nt.id===e));if(-1===s)return;const i=this.buckets[s].children.findIndex((e=>e.id===t.id&&e.content_type.value===t.content_type.value));if(-1===i)return;const n={index:s,itemIndex:i};this.$store.commit(p.DK.DELETE_FROM_BUCKET,n)},toggleFeaturedInBucket:function(t,e){const s=this.buckets.findIndex((t=>t.id===e));if(-1===s)return;const i=this.buckets[s].children.findIndex((e=>e.id===t.id&&e.content_type.value===t.content_type.value));if(-1===i)return;const n={index:s,itemIndex:i};this.$store.commit(p.DK.TOGGLE_FEATURED_IN_BUCKET,n)},checkRestriced:function(t){this.restricted&&this.buckets.forEach((e=>{e.children.forEach((s=>{s.id===t.id&&s.content_type.value===t.content_type.value&&this.deleteFromBucket(t,e.id)}))}))},sortBucket:function(t,e){const s={bucketIndex:e,oldIndex:t.moved.oldIndex,newIndex:t.moved.newIndex};this.$store.commit(p.DK.REORDER_BUCKET_LIST,s)},changeDataSource:function(t){this.$store.commit(p.DK.UPDATE_BUCKETS_DATASOURCE,t),this.$store.commit(p.DK.UPDATE_BUCKETS_DATA_PAGE,1),this.$store.dispatch(h.ZP.GET_BUCKETS)},filterBucketsData:function(t){this.$store.commit(p.DK.UPDATE_BUCKETS_DATA_PAGE,1),this.$store.commit(p.DK.UPDATE_BUCKETS_FILTER,t||{search:""}),this.$store.dispatch(h.ZP.GET_BUCKETS)},updateOffset:function(t){this.$store.commit(p.DK.UPDATE_BUCKETS_DATA_PAGE,1),this.$store.commit(p.DK.UPDATE_BUCKETS_DATA_OFFSET,t),this.$store.dispatch(h.ZP.GET_BUCKETS)},updatePage:function(t){this.$store.commit(p.DK.UPDATE_BUCKETS_DATA_PAGE,t),this.$store.dispatch(h.ZP.GET_BUCKETS)},override:function(){this.overrideItem=!0,this.addToBucket(this.currentItem,this.currentBucketID),this.$refs.overrideBucket.close()},save:function(){this.$store.dispatch(h.ZP.SAVE_BUCKETS)}}},F=L,Z=(0,D.Z)(F,o,u,!1,null,"5017a4a0",null),$=Z.exports,R=s(248),G=s(9341),M=s(9669),N=s.n(M),j=s(3827),W=s(3835);const q="BUCKETS";var V={get:function(t,e,s){N().get((0,W.NA)(),{params:t}).then((t=>{e&&"function"===typeof e&&e(t.data)})).catch((t=>{const e={message:"Get Buckets error",value:t};(0,j.I)(q,e),s&&"function"===typeof s&&s(t)}))},save(t,e,s,i){N().post(t,e).then((t=>{s&&"function"===typeof s&&s(t)})).catch((t=>{const e={message:"Buckets save error.",value:t};(0,j.I)(q,e),i&&"function"===typeof i&&i(t)}))}};const X={saveUrl:window["TWILL"].STORE.buckets.saveUrl||"",dataSources:window["TWILL"].STORE.buckets.dataSources||{},source:window["TWILL"].STORE.buckets.source||{},buckets:window["TWILL"].STORE.buckets.items||[],filter:window["TWILL"].STORE.buckets.filter||{},page:window["TWILL"].STORE.buckets.page||1,maxPage:window["TWILL"].STORE.buckets.maxPage||10,offset:window["TWILL"].STORE.buckets.offset||10,availableOffsets:window["TWILL"].STORE.buckets.availableOffsets||[10,20,30]},z={currentSource:t=>t.source.content_type},H={[p.DK.ADD_TO_BUCKET](t,e){t.buckets[e.index].children.push(e.item)},[p.DK.DELETE_FROM_BUCKET](t,e){t.buckets[e.index].children.splice(e.itemIndex,1)},[p.DK.TOGGLE_FEATURED_IN_BUCKET](t,e){const s=t.buckets[e.index].children.splice(e.itemIndex,1);s[0].starred=!s[0].starred,t.buckets[e.index].children.splice(e.itemIndex,0,s[0])},[p.DK.UPDATE_BUCKETS_DATASOURCE](t,e){t.dataSources.selected.value!==e.value&&(t.dataSources.selected=e)},[p.DK.UPDATE_BUCKETS_DATA](t,e){t.source=Object.assign({},t.source,e)},[p.DK.UPDATE_BUCKETS_FILTER](t,e){t.filter=Object.assign({},t.filter,e)},[p.DK.REORDER_BUCKET_LIST](t,e){const s=t.buckets[e.bucketIndex].children.splice(e.oldIndex,1);t.buckets[e.bucketIndex].children.splice(e.newIndex,0,s[0])},[p.DK.UPDATE_BUCKETS_DATA_OFFSET](t,e){t.offset=e},[p.DK.UPDATE_BUCKETS_DATA_PAGE](t,e){t.page=e},[p.DK.UPDATE_BUCKETS_MAX_PAGE](t,e){t.maxPage=e}},Y={[h.ZP.GET_BUCKETS](t){let{commit:e,state:s}=t;V.get({content_type:s.dataSources.selected.value,page:s.page,offset:s.offset,filter:s.filter},(t=>{e(p.DK.UPDATE_BUCKETS_DATA,t.source),e(p.DK.UPDATE_BUCKETS_MAX_PAGE,t.maxPage)}))},[h.ZP.SAVE_BUCKETS](t){let{commit:e,state:s}=t;const i={};s.buckets.forEach((t=>{const e=[];t.children.forEach((t=>{e.push({id:t.id,type:t.content_type.value,starred:t.starred})})),i[t.id]=e})),V.save(s.saveUrl,{buckets:i},(t=>{e(p.qq.SET_NOTIF,{message:"Features saved. All good!",variant:"success"})}),(t=>{e(p.qq.SET_NOTIF,{message:"Your submission could not be validated, please fix and retry",variant:"error"})}))}};var J={state:X,getters:z,mutations:H,actions:Y},Q=s(6625),tt=s(890);i["default"].use(R.Z),i["default"].use(G.Z),n.Z.registerModule("buckets",J),n.Z.registerModule("language",Q.Z),n.Z.registerModule("form",tt.Z),(0,c.Z)(),window["TWILL"].vm=window.vm=new i["default"]({store:n.Z,el:"#app",components:{"a17-buckets":$},created:function(){(0,r.Z)()}}),document.addEventListener("DOMContentLoaded",a.Z)}},e={};function s(i){var n=e[i];if(void 0!==n)return n.exports;var a=e[i]={id:i,loaded:!1,exports:{}};return t[i].call(a.exports,a,a.exports,s),a.loaded=!0,a.exports}s.m=t,function(){var t=[];s.O=function(e,i,n,a){if(!i){var c=1/0;for(l=0;l=a)&&Object.keys(s.O).every((function(t){return s.O[t](i[o])}))?i.splice(o--,1):(r=!1,a0&&t[l-1][2]>a;l--)t[l]=t[l-1];t[l]=[i,n,a]}}(),function(){s.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return s.d(e,{a:e}),e}}(),function(){s.d=function(t,e){for(var i in e)s.o(e,i)&&!s.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}}(),function(){s.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){s.hmd=function(t){return t=Object.create(t),t.children||(t.children=[]),Object.defineProperty(t,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+t.id)}}),t}}(),function(){s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){s.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}}(),function(){s.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t}}(),function(){s.j=885}(),function(){var t={885:0};s.O.j=function(e){return 0===t[e]};var e=function(e,i){var n,a,c=i[0],r=i[1],o=i[2],u=0;if(c.some((function(e){return 0!==t[e]}))){for(n in r)s.o(r,n)&&(s.m[n]=r[n]);if(o)var l=o(s)}for(e&&e(i);u0?e("table",{staticClass:"activityFeed__table"},[t._l(t.rows.data,(function(a,r){return[e("a17-activity-row",{key:a.id,attrs:{row:a,index:r,columns:t.columns}})]}))],2):[e("div",{staticClass:"activityFeed__empty"},[e("h4",[t._v(t._s(t.emptyMessage))])])],e("a17-paginate",{attrs:{max:t.rows.last_page,value:t.rows.current_page,offset:20,availableOffsets:[20]},on:{changePage:t.getData}})],2)])},b=[],y=a(629),w=function(){var t=this,e=t._self._c;return e("tr",{staticClass:"activityRow"},[t._l(t.columns,(function(a){return e("td",{key:a.name,staticClass:"activityCell",class:t.cellClasses(a)},[t.isSpecificColumn(a)?["published"===a.name?e("span",{directives:[{name:"tooltip",rawName:"v-tooltip"}],staticClass:"activityCell__pubstate",class:{"activityCell__pubstate--live":t.row[a.name]},attrs:{"data-tooltip-title":t.row[a.name]?"Published":"Draft"}}):t._e(),t._v(" "),"thumbnail"===a.name?e("a",{staticClass:"activityCell__thumb",attrs:{href:t.row["edit"]}},[e("img",{attrs:{src:t.row[a.name]}})]):t._e()]:["name"===a.name?[e("a",{staticClass:"activityCell__link",attrs:{href:t.row["edit"]}},[t._v(t._s(t.row[a.name]))]),e("p",{staticClass:"activityCell__meta f--note"},[t._v(" "+t._s(t.row["activity"])+" "),e("timeago",{attrs:{"auto-update":1,datetime:new Date(t.row["date"])}}),t._v(" "+t._s(t.$trans("dashboard.activity-row.by","by"))+" "+t._s(t.row["author"])+" "),e("span",{staticClass:"activityCell__type"},[t._v(t._s(t.row["type"]))])],1)]:t._e()]],2)})),e("td",{staticClass:"activityCell activityCell--icon"},[e("a17-dropdown",{ref:"activityRowSetupDropdown",attrs:{position:"bottom-right"}},[e("a17-button",{attrs:{variant:"icon"},on:{click:function(e){return t.$refs.activityRowSetupDropdown.toggle()}}},[e("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"more-dots"}})]),e("div",{attrs:{slot:"dropdown__content"},slot:"dropdown__content"},[t.row.hasOwnProperty("permalink")?e("a",{attrs:{href:t.row["permalink"],target:"_blank"}},[t._v(t._s(t.$trans("dashboard.activity-row.view-permalink","View Permalink")))]):t._e(),t.row.hasOwnProperty("edit")?e("a",{attrs:{href:t.row["edit"]}},[t._v(t._s(t.$trans("dashboard.activity-row.edit","Edit")))]):t._e()])],1)],1)],2)},g=[],C={name:"A17ActivityRow",props:{index:{type:Number,default:0},row:{type:Object,default:function(){return{}}},columns:{type:Array,default:function(){return[]}}},computed:{},methods:{cellClasses:function(t){return{"activityCell--icon":"featured"===t.name||"published"===t.name,"activityCell--pub hide--xsmall":"published"===t.name,"activityCell--thumb hide--xsmall":"thumbnail"===t.name}},isSpecificColumn:function(t){return"featured"===t.name||"published"===t.name||"thumbnail"===t.name}}},x=C,F=(0,v.Z)(x,w,g,!1,null,"44a9a60b",null),k=F.exports,P=a(4622),O=a(2992),S={name:"A17ActivityFeed",components:{A17Paginate:O.Z,"a17-activity-row":k},props:{ajaxBaseUrl:{type:String},emptyMessage:{type:String,default:"You don't have any activity yet."}},data:function(){return{navFilters:[{name:this.$trans("dashboard.all-activity","All activity"),slug:"all"},{name:this.$trans("dashboard.my-activity","My activity"),slug:"mine"}],navActive:0}},computed:{rows:{get(){return this.$store.state.datatable.data},set(t){this.$store.commit(P.yY.UPDATE_DATATABLE_DATA,t)}},...(0,y.rn)({page:t=>t.datatable.page,maxPage:t=>t.datatable.maxPage,columns:t=>t.datatable.columns})},methods:{getData(t){this.$http.get(this.ajaxBaseUrl+"?"+this.navFilters[this.navActive].slug+"="+t).then((t=>{let{data:e}=t;this.rows=e}))},filterStatus:function(t,e){this.navActive!==t&&(this.navActive=t,window["TWILL"].STORE.datatable&&window["TWILL"].STORE.datatable.hasOwnProperty(e)&&(this.rows=window["TWILL"].STORE.datatable[e]))}}},A=S,T=(0,v.Z)(A,m,b,!1,null,"fc9d0cfc",null),Z=T.exports,j=function(){var t=this,e=t._self._c;return e("div",{staticClass:"box statFeed"},[e("header",{staticClass:"box__header"},[e("div",{staticClass:"wrapper"},[e("div",{staticClass:"col--double"},[e("b",[t._t("default")],2)]),e("div",{staticClass:"col--double"},[e("div",{staticClass:"statFeed__dropdown"},[e("a17-dropdown",{ref:"statPeriodDropdown",attrs:{position:"bottom-right"}},[e("a17-button",{attrs:{variant:"ghost"},on:{click:function(e){return t.$refs.statPeriodDropdown.toggle()}}},[t._v(t._s(t.selectedPeriodLabel)+" "),e("span",{directives:[{name:"svg",rawName:"v-svg"}],staticClass:"statFeed__dropdownIcon",attrs:{symbol:"dropdown_module"}})]),e("div",{attrs:{slot:"dropdown__content"},slot:"dropdown__content"},[t._l(t.periods,(function(a,r){return[a.value!==t.selectedPeriod?e("button",{key:r,attrs:{type:"button"},on:{click:function(e){return t.selectPeriod(a.value)}}},[t._v(t._s(a.label))]):t._e()]}))],2)],1)],1)])])]),e("div",{staticClass:"box__body"},[t._l(t.factsForSelectedPeriod,(function(a,r){return[e("a",{key:r,staticClass:"statFeed__item",attrs:{href:a.url,target:"_blank"}},[e("h3",{staticClass:"statFeed__numb f--heading",class:t.trending(r)},[t._v(t._s(a.figure))]),e("div",{staticClass:"statFeed__info"},[e("h4",{staticClass:"statFeed__label"},[t._v(t._s(a.label))]),e("p",{staticClass:"statFeed__meta f--note f--small"},[t._v(t._s(a.insight))])]),e("div",{staticClass:"statFeed__line"},[e("trend",{attrs:{data:a.data,gradient:["#cccccc"],"stroke-width":"2",padding:0,"auto-draw":"",smooth:"",width:"100",height:"50"}})],1)])]}))],2),t._m(0)])},D=[function(){var t=this,e=t._self._c;return e("footer",{staticClass:"box__footer statFeed__footer"},[e("a",{staticClass:"f--external",attrs:{href:"https://analytics.google.com/analytics/web",target:"_blank"}},[t._v("Google Analytics")])])}],L=a(5165);r["default"].use(L.Z);var M={name:"A17StatFeed",props:{facts:{type:Object,default:function(){return{}}}},data:function(){return{selectedPeriod:"yesterday",periods:[{label:"Today",value:"today"},{label:"Yesterday",value:"yesterday"},{label:"This week",value:"week"},{label:"This month",value:"month"}]}},computed:{factsForSelectedPeriod(){return this.facts[this.selectedPeriod]},selectedPeriodLabel(){return this.periods.find((t=>t.value===this.selectedPeriod)).label}},methods:{trending:function(t){return"statFeed__numb--"+this.factsForSelectedPeriod[t].trend},selectPeriod:function(t){this.selectedPeriod=t}}},$=M,E=(0,v.Z)($,j,D,!1,null,"5d1b8a8c",null),I=E.exports,N=function(){var t=this,e=t._self._c;return e("div",{staticClass:"box genericFeed"},[e("header",{staticClass:"box__header"},[e("b",[t._t("default")],2)]),e("div",{staticClass:"box__body"},[e("ol",{staticClass:"genericFeed__list",class:{"genericFeed__list--numbered":t.hasNumber}},t._l(t.entities,(function(a,r){return e("li",{key:r},[e("a",{staticClass:"genericFeed__item",attrs:{href:a.url,target:t.target(a)}},[a.thumbnail?e("span",{staticClass:"genericFeed__thumbnails"},[e("img",{attrs:{src:a.thumbnail}})]):t._e(),e("span",{staticClass:"genericFeed__label"},[e("span",[e("span",{staticClass:"genericFeed__hover"},[t._v(t._s(a.name))])])]),a.number?e("span",{staticClass:"genericFeed__views f--tiny"},[t._v(t._s(a.number))]):t._e(),a.type?e("span",{staticClass:"genericFeed__type"},[t._v(t._s(a.type))]):t._e()])])})),0)])])},R=[],U={name:"A17GenericFeed",props:{entities:{type:Array,default:function(){return[]}}},computed:{hasNumber:function(){return this.entities.filter((t=>t.hasOwnProperty("number"))).length}},methods:{target:function(t){return!!t.hasOwnProperty("external")&&"_blank"}}},W=U,B=(0,v.Z)(W,N,R,!1,null,"5723cbaf",null),Y=B.exports,G=a(366),V=a(6625),q=a(890);r["default"].use(l.Z),r["default"].use(c.Z),s.Z.registerModule("datatable",G.Z),s.Z.registerModule("language",V.Z),s.Z.registerModule("form",q.Z),(0,i.Z)(),window["TWILL"].vm=window.vm=new r["default"]({store:s.Z,el:"#app",components:{"a17-shortcut-creator":h,"a17-activity-feed":Z,"a17-stat-feed":I,"a17-feed":Y},created:function(){(0,o.Z)()}}),document.addEventListener("DOMContentLoaded",n.Z)},1607:function(t,e,a){function r(){const t="test";try{return localStorage.setItem(t,t),localStorage.removeItem(t),!0}catch(e){return!1}}function s(t,e){const a="";window.TWILL.debug||(r()?localStorage.setItem(t,e):document.cookie=t+"="+e+a+"; path=/")}a.d(e,{po:function(){return s}})}},e={};function a(r){var s=e[r];if(void 0!==s)return s.exports;var n=e[r]={id:r,loaded:!1,exports:{}};return t[r].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}a.m=t,function(){var t=[];a.O=function(e,r,s,n){if(!r){var i=1/0;for(d=0;d=n)&&Object.keys(a.O).every((function(t){return a.O[t](r[l])}))?r.splice(l--,1):(o=!1,n0&&t[d-1][2]>n;d--)t[d]=t[d-1];t[d]=[r,s,n]}}(),function(){a.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return a.d(e,{a:e}),e}}(),function(){a.d=function(t,e){for(var r in e)a.o(e,r)&&!a.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}}(),function(){a.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){a.hmd=function(t){return t=Object.create(t),t.children||(t.children=[]),Object.defineProperty(t,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+t.id)}}),t}}(),function(){a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){a.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}}(),function(){a.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t}}(),function(){a.j=873}(),function(){var t={873:0};a.O.j=function(e){return 0===t[e]};var e=function(e,r){var s,n,i=r[0],o=r[1],l=r[2],c=0;if(i.some((function(e){return 0!==t[e]}))){for(s in o)a.o(o,s)&&(a.m[s]=o[s]);if(l)var d=l(a)}for(e&&e(r);c1?t("div",{staticClass:"stickyNav__links"},e._l(e.navItems,(function(i,s){return t("a",{key:i.fieldset,class:{"s--on":i.active},attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.scrollToFieldset(s)}}},[e._v(e._s(i.label))])})),0):e._e(),e._t("title")],2),t("div",{staticClass:"stickyNav__actions"},[e._t("actions")],2)])])},m=[],f=i(3279),v=i.n(f),b=i(5068),_={name:"A17StickyNav",props:{items:{type:Array,default:function(){return[]}}},data:function(){return{lastScrollPos:0,topOffset:70,ticking:!1,navItems:this.items,clickedFieldset:-1,fieldset:[]}},methods:{getFieldsetPosition:function(){const e=this;this.lastScrollPos=window.pageYOffset,this.navItems.forEach((function(t,i){const n=e.fieldset[i],o=n?n.getBoundingClientRect().top+e.lastScrollPos:0;s["default"].set(t,"position",o)}))},setActiveItems:function(){const e=this;let t=0;this.navItems.forEach((function(i,n){const o=i.position-e.topOffset0&&(t=n)})),this.clickedFieldset>=0?s["default"].set(e.navItems[e.clickedFieldset],"active",!0):void 0!==e.navItems[t]&&s["default"].set(e.navItems[t],"active",!0)},refresh:function(){const e=this;e.clickedFieldset=-1,this.getFieldsetPosition(),this.setActiveItems(),e.ticking=!1},_resize:v()((function(){this.lastScrollPos=window.pageYOffset,this.refresh()}),200),_scroll:function(){const e=this;this.lastScrollPos=window.pageYOffset,e.ticking||window.requestAnimationFrame((function(){e.refresh(),e.ticking=!1})),e.ticking=!0},scrollToFieldset:function(e){const t=this,i=this.navItems[e].position-this.topOffset+1;this.dispose(),this.clickedFieldset=e,this.getFieldsetPosition(),this.setActiveItems(),(0,b.Z)({offset:i,easing:"easeOut",onComplete:function(){t.init()}})},init:function(){window.addEventListener("scroll",this._scroll),window.addEventListener("resize",this._resize)},dispose:function(){window.removeEventListener("scroll",this._scroll),window.removeEventListener("resize",this._resize)}},mounted:function(){const e=this;this.navItems.forEach((function(t,i){const s=document.querySelector("#"+t.fieldset);s?e.fieldset.push(s):e.fieldset.push(null)})),this.refresh(),this.init()},beforeDestroy:function(){this.dispose()}},g=_,w=i(1001),k=(0,w.Z)(g,h,m,!1,null,"c3e98050",null),y=k.exports,E=function(){var e=this,t=e._self._c;return t("div",{staticClass:"titleEditor",class:e.titleEditorClasses},[t("div",{staticClass:"titleEditor__preview"},[t("h2",{staticClass:"titleEditor__title",class:{"titleEditor__title-only":!e.permalink}},[e.editableTitle?t("a",{staticClass:"titleEditor__title-wrapper",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.$refs.editModal.open()}}},[e.thumbnail?t("a17-avatar",{attrs:{name:e.title,thumbnail:e.thumbnail}}):e._e(),t("span",{staticClass:"titleEditor__title"},[t("span",{staticClass:"f--underlined--o"},[e._v(e._s(e.title))]),e._v(" "),t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"edit"}})])],1):t("span",{staticClass:"titleEditor__title-wrapper"},[e.thumbnail?t("a17-avatar",{attrs:{name:e.title,thumbnail:e.thumbnail}}):e._e(),t("span",{staticClass:"titleEditor__title"},[e._v(" "+e._s(e.customTitle?e.customTitle:e.title)+" ")])],1)]),!e.permalink&&!e.customPermalink||e.showModal?e._e():t("a",{staticClass:"titleEditor__permalink f--small",attrs:{href:e.fullUrl,target:"_blank"}},[t("span",{staticClass:"f--note f--external f--underlined--o"},[e._v(e._s(e._f("prettierUrl")(e.visibleUrl)))])]),e.showModal?t("span",{staticClass:"titleEditor__permalink f--small f--note f--external f--underlined--o"},[e._v(e._s(e._f("prettierUrl")(e.visibleUrl)))]):e._e(),t("a17-modal",{ref:"editModal",staticClass:"modal--form",attrs:{title:e.modalTitle,forceLock:e.disabled}},[t("a17-langmanager",{attrs:{"control-publication":e.controlLanguagesPublication}}),t("form",{ref:"modalForm",attrs:{action:"#"},on:{submit:function(t){return t.preventDefault(),e.update.apply(null,arguments)}}},[e._t("modal-form"),t("a17-modal-validation",{attrs:{mode:e.mode},on:{disable:e.lockModal}})],2)],1)],1),e._t("default")],2)},C=[],S=i(8932),L=i(1779),x=i(8801),A=i(6830),P=i(8348),I=i(1633),T={name:"A17TitleEditor",mixins:[A.Z,P.Z],components:{"a17-avatar":S.Z,"a17-modal-validation":x.Z,"a17-langmanager":L.Z},props:{modalTitle:{type:String,default:function(){return this.$trans("modal.update.title")}},warningMessage:{type:String,default:"Missing title"},thumbnail:{type:String,default:""},showModal:{type:Boolean,default:!1},name:{default:"title"},editableTitle:{type:Boolean,default:!0},controlLanguagesPublication:{type:Boolean,default:!0},customTitle:{type:String,default:""},customPermalink:{type:String,default:""},localizedPermalinkbase:{type:String,default:""},localizedCustomPermalink:{type:String,default:""}},data:function(){return{disabled:!1}},mounted:function(){this.showModal&&this.$refs.editModal.open()},computed:{titleEditorClasses:function(){return{"titleEditor--error":this.error||this.title===this.warningMessage}},mode:function(){return this.showModal?"done":this.title.length>0?"update":"create"},fullUrl:function(){return this.customlink||this.baseUrl.replace("{language}",this.currentLocale.value).replace("{preview}/",this.published?"":"admin-preview/")+this.permalink},visibleUrl:function(){return this.customlink||this.baseUrl.replace("{language}",this.currentLocale.value).replace("{preview}/","")+this.permalink},title:function(){const e=this.fieldValueByName(this.name)?this.fieldValueByName(this.name):"",t="string"===typeof e?e:e[this.currentLocale.value];return t||this.warningMessage},customlink:function(){const e=this.localizedCustomPermalink.length>0?JSON.parse(this.localizedCustomPermalink):{};return Object.keys(e).length>0?e[this.currentLocale.value]:!!this.customPermalink&&this.customPermalink},permalink:function(){const e=this.localizedPermalinkbase.length>0?JSON.parse(this.localizedPermalinkbase):{};return Object.keys(e).length>0&&this.currentLocale.value in e?e[this.currentLocale.value].concat("/",this.fieldValueByName("slug")[this.currentLocale.value]):this.fieldValueByName("slug")[this.currentLocale.value]},...(0,n.rn)({baseUrl:e=>e.form.baseUrl,currentLocale:e=>e.language.active,languages:e=>e.language.all,fields:e=>e.form.fields,published:e=>e.publication.published}),...(0,n.Se)(["fieldValueByName"])},filters:I.Z,methods:{update:function(){this.$refs.editModal.hide()},lockModal:function(e){this.disabled=e}}},O=T,D=(0,w.Z)(O,E,C,!1,null,"0aa96d21",null),B=D.exports,R=i(1664),$=function(){var e=this,t=e._self._c;return t("div",{staticClass:"publisher__wrapper"},[e.withPublicationToggle?t("a17-switcher",{attrs:{title:e.$trans("publisher.switcher-title","Status"),name:"publish_state",textEnabled:e.textEnabled,textDisabled:e.textDisabled,"text-scheduled":e.textScheduled,"text-expired":e.textExpired}}):e._e(),e._t("default"),e.userInfo?t("a17-userinfo",{attrs:{userInfo:e.userInfo}}):e._e(),e.reviewProcess&&e.reviewProcess.length?t("a17-reviewaccordion",{attrs:{options:e.reviewProcess,name:"review_process",value:e.reviewProcessCompleteValues,open:e.openStates["A17Reviewaccordion"]},on:{open:e.openCloseAccordion}},[e._v(e._s(e.$trans("publisher.review-status")))]):e._e(),e.visibility&&e.visibilityOptions&&e.visibilityOptions.length?t("a17-radioaccordion",{attrs:{radios:e.visibilityOptions,name:"visibility",value:e.visibility,open:e.openStates["A17Radioaccordion"]},on:{open:e.openCloseAccordion,change:e.updateVisibility}},[e._v(e._s(e.$trans("publisher.visibility")))]):e._e(),e.languages&&e.showLanguages&&e.languages.length>1?t("a17-checkboxaccordion",{attrs:{options:e.languages,name:"active_languages",value:e.publishedLanguagesValues,open:e.openStates["A17Checkboxaccordion"]},on:{open:e.openCloseAccordion}},[e._v(e._s(e.$trans("publisher.languages")))]):e._e(),e.withPublicationTimeframe?t("a17-pubaccordion",{attrs:{"date-display-format":e.localizedDateDisplayFormat,"date-format":e.dateFormat,date_24h:e.date_24h,open:e.openStates["A17Pubaccordion"]},on:{open:e.openCloseAccordion}},[e._v(e._s(e.$trans("publisher.published-on")))]):e._e(),e.revisions.length?t("a17-revaccordion",{attrs:{open:e.openStates["A17Revisions"],revisions:e.revisions},on:{open:e.openCloseAccordion}},[e._v(e._s(e.$trans("publisher.revisions")))]):e._e(),e.parents.length?t("a17-parentaccordion",{attrs:{open:e.openStates["A17Parents"],parents:e.parents,value:e.parentId},on:{open:e.openCloseAccordion}},[e._v(e._s(e.$trans("publisher.parent-page")))]):e._e(),e.revisions.length?t("div",{staticClass:"publisher__item"},[t("a",{staticClass:"publisher__link",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.openPreview.apply(null,arguments)}}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"preview"}}),t("span",{staticClass:"f--link-underlined--o"},[e._v(e._s(e.$trans("publisher.preview")))])])]):e._e(),t("div",{staticClass:"publisher__item publisher__item--btns"},[t("a17-multibutton",{attrs:{options:e.submitOptions,type:"submit",message:e.submitDisableMessage},on:{"button-clicked":e.buttonClicked}})],1)],2)},N=[],V=function(){var e=this,t=e._self._c;return t("a17-accordion",{attrs:{open:e.open},on:{toggleVisibility:e.notifyOpen}},[t("span",{attrs:{slot:"accordion__title"},slot:"accordion__title"},[e._t("default")],2),t("div",{attrs:{slot:"accordion__value"},slot:"accordion__value"},[e._v(e._s(e.currentLabel))]),t("a17-checkboxgroup",{attrs:{name:e.name,options:e.options,selected:e.currentValue,min:1},on:{change:e.changeValue}})],1)},M=[],F=i(9996),U=function(){var e=this,t=e._self._c;return t("div",{staticClass:"accordion",class:e.visibilityClasses},[t("button",{staticClass:"accordion__trigger",attrs:{type:"button","aria-expanded":e.visible?"true":"false"},on:{click:e.onClickVisibility}},[e._t("accordion__title"),t("span",{staticClass:"accordion__value"},[e._t("accordion__value")],2),t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"dropdown_module"}})],2),t("transition",{attrs:{css:!1,duration:275},on:{"before-enter":e.beforeEnter,"before-leave":e.beforeLeave,enter:e.enter,leave:e.leave}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"accordion__dropdown",attrs:{"aria-hidden":!e.visible}},[t("div",{staticClass:"accordion__list"},[e._t("default")],2)])])],1)},Z=[],z={name:"A17Accordion",mixins:[F.Z],watch:{open:function(){this.visible!==this.open&&(this.visible=this.open)}},methods:{getMaxHeight:function(){return Math.min(250,this.$el.querySelector(".accordion__list").clientHeight+1)},beforeEnter:function(e){e.style.maxHeight="0px"},enter:function(e,t){e.style.maxHeight=this.getMaxHeight()+"px"},beforeLeave:function(e,t){e.style.maxHeight=this.getMaxHeight()+"px"},leave:function(e,t){e.style.maxHeight="0px"}}},W=z,j=(0,w.Z)(W,U,Z,!1,null,"0dd10376",null),q=j.exports,Y={name:"A17Checkboxaccordion",components:{"a17-accordion":q},mixins:[F.Z],props:{value:{default:function(){return[]}},title:{type:String,default:""},name:{type:String,default:""},options:{default:function(){return[]}}},data:function(){return{currentValue:this.value}},watch:{value:function(e){this.currentValue=e}},computed:{currentLabel:function(){return this.currentValue.length+" "+this.$trans("publisher.languages-published")}},methods:{changeValue:function(e){this.currentValue=e,this.$store.commit(a.ad.PUBLISH_LANG,e)},notifyOpen:function(e){this.$emit("open",e,this.$options.name)}}},G=Y,H=(0,w.Z)(G,V,M,!1,null,null,null),K=H.exports,J=function(){var e=this,t=e._self._c;return t("div",{staticClass:"multibutton"},[t("a17-dropdown",{ref:"submitDown",attrs:{position:"bottom-right",width:"full",offset:0}},[e.isDisabled(e.options[0])?t("a17-button",{attrs:{type:"button",variant:"validate",disabled:!0}},[e._v(e._s(e.options[0].text))]):t("a17-button",{attrs:{type:e.type,name:e.options[0].name,variant:"validate"},on:{click:function(t){return e.buttonClicked(e.options[0].name)}}},[e._v(e._s(e.options[0].text))]),e.otherOptions.length?[e.hasValidOptions?t("button",{staticClass:"multibutton__trigger",attrs:{type:"button"},on:{click:function(t){return e.$refs.submitDown.toggle()}}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"dropdown_module"}})]):e._e(),t("div",{attrs:{slot:"dropdown__content"},slot:"dropdown__content"},[t("ul",e._l(e.otherOptions,(function(i){return t("li",{key:i.name},[e.isDisabled(i)?t("button",{attrs:{type:"button",disabled:""}},[e._v(e._s(i.text))]):t("button",{attrs:{type:e.type,name:i.name},on:{click:function(t){return e.buttonClicked(i.name)}}},[e._v(e._s(i.text))])])})),0)])]:e._e()],2)],1)},X=[],Q={name:"A17Multibutton",props:{type:{default:"button"},message:{type:String,default:""},options:{default:function(){return[]}}},data:function(){return{}},computed:{otherOptions:function(){return this.options.length?this.options.slice(1):[]},hasValidOptions:function(){const e=this.options.filter((function(e){return!e.hasOwnProperty("disabled")||!1===e.disabled})),t=Boolean(e.length>0);return!t&&this.message&&this.$store.commit(a.qq.SET_NOTIF,{message:this.message,variant:"success"}),t}},methods:{isDisabled:function(e){return!!e.hasOwnProperty("disabled")&&!0===e.disabled},buttonClicked:function(e){this.$emit("button-clicked",e)}}},ee=Q,te=(0,w.Z)(ee,J,X,!1,null,"58557532",null),ie=te.exports,se=function(){var e=this,t=e._self._c;return t("a17-accordion",{attrs:{open:e.open},on:{toggleVisibility:e.notifyOpen}},[t("span",{attrs:{slot:"accordion__title"},slot:"accordion__title"},[e._t("default")],2),t("div",{attrs:{slot:"accordion__value"},domProps:{innerHTML:e._s(e.currentLabel)},slot:"accordion__value"}),t("div",{staticClass:"accordion__fields"},[t("a17-select",{attrs:{name:"parent_id",options:e.options,selected:e.currentValue,size:"small"},on:{change:e.updateSelected}})],1)])},ne=[];function oe(e,t){const i=[];function s(e){return Array(e+1).join(t)+" "}function n(e,t){e.forEach((function(e){const o={};if(o.value=e.id,e.edit&&(o.edit=e.edit),o.label=s(t)+e.name,i.push(o),e.children&&e.children.length){const i=t+1;n(e.children,i)}}))}return n(e,0),i}var ae={name:"A17Parents",components:{"a17-accordion":q},mixins:[F.Z],props:{value:{default:0},parents:{default:function(){return[]}}},computed:{currentLabel:function(){const e=this.options.filter(this.isSameValue);return e.length?e[0].label:""},options:function(){const e=oe(this.parents,"   "),t={value:0,label:"(No parent)"};return e.unshift(t),e},...(0,n.rn)({currentValue:e=>e.parents.active})},methods:{isSameValue:function(e){return e.value===this.currentValue},updateSelected:function(e){this.$store.commit(a.Lp.UPDATE_PARENT,e)},notifyOpen:function(e){this.$emit("open",e,this.$options.name)}}},re=ae,le=(0,w.Z)(re,se,ne,!1,null,"606c5ad8",null),ce=le.exports,de=function(){var e=this,t=e._self._c;return t("a17-accordion",{attrs:{open:e.open},on:{toggleVisibility:e.notifyOpen}},[t("span",{attrs:{slot:"accordion__title"},slot:"accordion__title"},[e._t("default")],2),t("div",{attrs:{slot:"accordion__value"},slot:"accordion__value"},[e.startDate?[e._v(" "+e._s(e._f("formatDateWithFormat")(e.startDateForDisplay,e.localizedDateDisplayFormat))+" ")]:[e._v(" "+e._s(e.defaultStartDate)+" ")]],2),t("div",{staticClass:"accordion__fields"},[t("a17-datepicker",{attrs:{name:"publish_date","place-holder":e.$trans("publisher.start-date"),time_24hr:e.date_24h,altFormat:e.dateFormat,initialValue:e.startDate,maxDate:e.endDate,enableTime:!0,allowInput:!1,staticMode:!0,clear:!0},on:{open:e.openStartCalendar,close:e.closeCalendar,input:e.updateStartDate}}),t("a17-datepicker",{attrs:{name:"end_date","place-holder":e.$trans("publisher.end-date"),time_24hr:e.date_24h,altFormat:e.dateFormat,initialValue:e.endDate,minDate:e.startDate,enableTime:!0,allowInput:!1,staticMode:!0,clear:!0},on:{open:e.openEndCalendar,close:e.closeCalendar,input:e.updateEndDate}})],1)])},ue=[],pe=i(1884),he=i.n(pe),me=i(4293),fe={name:"A17Pubaccordion",components:{"a17-accordion":q},mixins:[F.Z],props:{defaultStartDate:{type:String,default:function(){return this.$trans("publisher.immediate")}},defaultEndDate:{type:String,default:""},dateDisplayFormat:{type:String,default:null},dateFormat:{type:String,default:null},date_24h:{type:Boolean,default:(0,me.aq)()}},filters:I.Z,computed:{...(0,n.rn)({startDate:e=>e.publication.startDate,endDate:e=>e.publication.endDate}),startDateForDisplay(){return he()(this.startDate+"Z").toISOString()},localizedDateDisplayFormat(){return this.dateDisplayFormat?this.dateDisplayFormat:"MMM, DD, YYYY, "+(0,me.rA)(this.date_24h)}},methods:{updateStartDate:function(e){this.$store.commit(a.V1.UPDATE_PUBLISH_START_DATE,e)},updateEndDate:function(e){this.$store.commit(a.V1.UPDATE_PUBLISH_END_DATE,e)},notifyOpen:function(e){this.$emit("open",e,this.$options.name)},openCalendar:function(){setTimeout((function(){const e=document.querySelectorAll(".accordion.s--open, .accordion.s--open .accordion__dropdown");e.forEach((function(e){e.style.overflow="visible"}))}),10)},openStartCalendar:function(){this.openCalendar()},openEndCalendar:function(){this.openCalendar()},closeCalendar:function(){const e=document.querySelectorAll(".accordion.s--open, .accordion.s--open .accordion__dropdown");e.forEach((function(e){e.style.overflow=""}))}}},ve=fe,be=(0,w.Z)(ve,de,ue,!1,null,null,null),_e=be.exports,ge=function(){var e=this,t=e._self._c;return t("a17-accordion",{attrs:{open:e.open},on:{toggleVisibility:e.notifyOpen}},[t("span",{attrs:{slot:"accordion__title"},slot:"accordion__title"},[e._t("default")],2),t("div",{attrs:{slot:"accordion__value"},slot:"accordion__value"},[e._v(e._s(e.currentLabel))]),t("a17-radiogroup",{attrs:{name:e.name,radios:e.radios,initialValue:e.currentValue},on:{change:e.changeValue}})],1)},we=[],ke={name:"A17Radioaccordion",components:{"a17-accordion":q},mixins:[F.Z],props:{value:{default:""},title:{default:""},name:{default:""},radios:{default:function(){return[]}}},data:function(){return{currentValue:this.value}},computed:{currentLabel:function(){const e=this.radios.filter(this.isSameValue);return e.length?e[0].label:""}},methods:{isSameValue:function(e){return e.value===this.currentValue},changeValue:function(e){this.currentValue=e,this.$emit("change",e)},notifyOpen:function(e){this.$emit("open",e,this.$options.name)}}},ye=ke,Ee=(0,w.Z)(ye,ge,we,!1,null,null,null),Ce=Ee.exports,Se=function(){var e=this,t=e._self._c;return t("a17-accordion",{attrs:{open:e.open},on:{toggleVisibility:e.notifyOpen}},[t("span",{attrs:{slot:"accordion__title"},slot:"accordion__title"},[e._t("default")],2),t("div",{attrs:{slot:"accordion__value"},slot:"accordion__value"},[e._v(e._s(e.currentLabel))]),t("a17-checkboxgroup",{attrs:{name:e.name,options:e.currentOptions,selected:e.currentValue},on:{change:e.changeValue}})],1)},Le=[],xe={name:"A17Reviewaccordion",components:{"a17-accordion":q},mixins:[F.Z],props:{value:{default:function(){return[]}},title:{type:String,default:""},name:{type:String,default:""},options:{default:function(){return[]}}},data:function(){return{currentOptions:this.options,currentValue:this.value}},computed:{currentLabel:function(){let e="Pending approval";const t=this.currentValue[this.currentValue.length-1];return this.currentValue.length&&this.options.forEach((function(i){i.value===t&&(e=i.display)})),e}},methods:{changeValue:function(e){this.currentValue=e,this.$store.commit(a.V1.UPDATE_REVIEW_PROCESS,e)},notifyOpen:function(e){this.$emit("open",e,this.$options.name)}}},Ae=xe,Pe=(0,w.Z)(Ae,Se,Le,!1,null,null,null),Ie=Pe.exports,Te=function(){var e=this,t=e._self._c;return t("a17-accordion",{attrs:{open:e.open},on:{toggleVisibility:e.notifyOpen}},[t("span",{attrs:{slot:"accordion__title"},slot:"accordion__title"},[e._t("default"),e._v(" "),t("span",{staticClass:"f--small f--note"},[e._v("("+e._s(e.revisions.length)+")")])],2),t("div",{attrs:{slot:"accordion__value"},slot:"accordion__value"},[e._v(e._s(e.$trans("publisher.last-edit"))+" "),t("timeago",{attrs:{"auto-update":1,datetime:new Date(e.revisions[0].datetime)}})],1),t("div",{staticClass:"revaccordion__scroller"},[t("ul",{staticClass:"revaccordion__list"},e._l(e.revisions,(function(i){return t("li",{key:i.id,staticClass:"revaccordion__item"},[t("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.openPreview(i.id)}}},[t("span",{staticClass:"revaccordion__author"},[e._v(e._s(i.author))]),t("span",{staticClass:"revaccordion__datetime"},[i.label?t("span",{staticClass:"tag"},[e._v(e._s(i.label))]):e._e(),e._v(" "+e._s(e._f("formatDate")(i.datetime))+" ")])])])})),0)])])},Oe=[],De={name:"A17Revisions",components:{"a17-accordion":q},mixins:[F.Z],props:{revisions:{default:function(){return[]}}},filters:I.Z,methods:{notifyOpen:function(e){this.$emit("open",e,this.$options.name)},openPreview:function(e){this.$root.$refs.preview&&this.$root.$refs.preview.open(parseInt(e))}}},Be=De,Re=(0,w.Z)(Be,Te,Oe,!1,null,"5bbe0639",null),$e=Re.exports,Ne=function(){var e=this,t=e._self._c;return t("div",{staticClass:"switcher",class:e.switcherClasses},[t("h4",{staticClass:"switcher__title"},[e._v(e._s(e.title))]),t("label",{staticClass:"switcher__button",attrs:{for:e.name+"_live"}},[e.isChecked?t("span",{staticClass:"switcher__label"},[e._v(e._s(e.formatTextEnabled))]):e._e(),e.isChecked?e._e():t("span",{staticClass:"switcher__label"},[e._v(e._s(e.formatTextDisabled))]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.checkedValue,expression:"checkedValue"}],attrs:{type:"checkbox",disabled:e.disabled,name:e.name,id:e.name+"_live",value:"live"},domProps:{checked:Array.isArray(e.checkedValue)?e._i(e.checkedValue,"live")>-1:e.checkedValue},on:{change:function(t){var i=e.checkedValue,s=t.target,n=!!s.checked;if(Array.isArray(i)){var o="live",a=e._i(i,o);s.checked?a<0&&(e.checkedValue=i.concat([o])):a>-1&&(e.checkedValue=i.slice(0,a).concat(i.slice(a+1)))}else e.checkedValue=n}}}),t("span",{staticClass:"switcher__switcher"})])])},Ve=[],Me=i(3374),Fe=i.n(Me),Ue={name:"A17Toggle",props:{name:{type:String,default:""},title:{default:"Status"},disabled:{type:Boolean,default:!1},textEnabled:{type:String,default:"Live"},textDisabled:{type:String,default:"Draft"},textExpired:{type:String,default:"Expired"},textScheduled:{type:String,default:"Scheduled"}},filters:I.Z,computed:{switcherClasses:function(){return[this.isChecked?"switcher--active":"",this.formatTextEnabled?"switcher--".concat(this.$options.filters.lowercase(this.formatTextEnabled)):""]},isChecked:function(){return this.published},formatTextEnabled:function(){const e=Fe()(this.startDate,new Date),t=Fe()(this.endDate,new Date);return this.endDate&&t<0?this.textExpired:this.startDate&&e>0?this.textScheduled:this.textEnabled},formatTextDisabled:function(){return this.textDisabled},checkedValue:{get:function(){return this.published},set:function(e){this.$store.commit(a.V1.UPDATE_PUBLISH_STATE,e),this.$emit("change",e)}},...(0,n.rn)({startDate:e=>e.publication.startDate,endDate:e=>e.publication.endDate,published:e=>e.publication.published})}},Ze=Ue,ze=(0,w.Z)(Ze,Ne,Ve,!1,null,"285ca0dd",null),We=ze.exports,je=function(){var e=this,t=e._self._c;return t("div",{staticClass:"userInfo"},[t("div",{staticClass:"userInfo__content"},[e.userInfo.registered_at?t("div",{staticClass:"userInfo__item"},[t("div",{staticClass:"userInfo__row"},[t("span",{staticClass:"userInfo__row-cell"},[e._v("Registered at")]),t("span",{staticClass:"userInfo__row-cell userInfo__row-cell--value"},[e._v(e._s(e.userInfo.registered_at))])])]):e._e(),e.userInfo.last_login_at?t("div",{staticClass:"userInfo__item"},[t("div",{staticClass:"userInfo__row"},[t("span",{staticClass:"userInfo__row-cell"},[e._v("Last login at")]),t("span",{staticClass:"userInfo__row-cell userInfo__row-cell--value"},[e._v(e._s(e.userInfo.last_login_at))])])]):e._e(),e.userInfo.resend_registration_link?t("div",{staticClass:"userInfo__item"},[t("a",{staticClass:"userInfo__link",attrs:{href:e.userInfo.resend_registration_link,type:"submit"}},[t("span",{staticClass:"f--link-underlined--o"},[e._v("Resend registration email")])])]):e._e(),t("div",{staticClass:"userInfo__item"},[t("button",{staticClass:"userInfo__link",attrs:{type:"button"},on:{click:e.openPasswordModal}},[t("span",{staticClass:"f--link-underlined--o"},[e._v(e._s(e.userInfo.is_activated?"Reset password":"Register account now"))])])])]),t("a17-modal",{ref:"passwordModal",staticClass:"modal--form",attrs:{title:e.userInfo.is_activated?"Reset password for ".concat(e.userInfo.user_name):"Register account for ".concat(e.userInfo.user_name)},on:{hide:e.hidePasswordModal}},[t("div",{staticClass:"userInfo__form-row"},[t("a17-textfield",{attrs:{name:"new_password",id:"new_password",fieldName:"new_password",inStore:"value",label:"New password",maxlength:50,note:"Must have at least 8 characters",required:"",type:"password"}})],1),e.userInfo.is_activated?t("div",{staticClass:"userInfo__form-row"},[t("a17-singlecheckbox",{attrs:{inStore:"value",name:"require_password_change",initialValue:!1,id:"require_password_change",fieldName:"require_password_change",label:"Require password change at next login"}})],1):e._e(),t("div",{staticClass:"userInfo__form-row"},[t("a17-modal-validation",{attrs:{mode:e.userInfo.is_activated?"Update":"Create"}})],1)])],1)},qe=[],Ye=i(2232),Ge={name:"A17UserInfo",components:{"a17-textfield":Ye.Z,"a17-modal-validation":x.Z},props:{userInfo:{type:Object,default:null}},data(){return{isPasswordModalOpen:!1}},methods:{openPasswordModal(){this.isPasswordModalOpen=!0,this.$refs.passwordModal.open(),this.$store.commit(a.Yc.UPDATE_FORM_FIELD,{name:"reset_password",value:!0})},hidePasswordModal(){this.$store.commit(a.Yc.UPDATE_FORM_FIELD,{name:"reset_password",value:!1})}}},He=Ge,Ke=(0,w.Z)(He,je,qe,!1,null,"37e685f4",null),Je=Ke.exports,Xe={name:"A17Publisher",components:{"a17-switcher":We,"a17-radioaccordion":Ce,"a17-checkboxaccordion":K,"a17-reviewaccordion":Ie,"a17-revaccordion":$e,"a17-parentaccordion":ce,"a17-pubaccordion":_e,"a17-multibutton":ie,"a17-userinfo":Je},props:{showLanguages:{type:Boolean,default:!0},dateFormat:{type:String,default:null},dateDisplayFormat:{type:String,default:null},date_24h:{type:Boolean,default:(0,me.aq)()}},data:function(){return{singleOpen:!0,openStates:{A17Reviewaccordion:!1,A17Radioaccordion:!1,A17Checkboxaccordion:!1,A17Revisions:!1,A17Pubaccordion:!1,A17Parents:!1}}},filters:I.Z,computed:{localizedDateDisplayFormat(){return this.dateDisplayFormat?this.dateDisplayFormat:"MMM, DD, YYYY, "+(0,me.rA)(this.date_24h)},reviewProcessCompleteValues:function(){const e=[];return this.reviewProcessComplete.length&&this.reviewProcessComplete.forEach((function(t){e.push(t.value)})),e},submitOptions:function(){return this.$store.getters.getSubmitOptions},publishedLanguagesValues:function(){const e=[];return this.publishedLanguages.length&&this.publishedLanguages.forEach((function(t){e.push(t.value)})),e},...(0,n.rn)({languages:e=>e.language.all,revisions:e=>e.revision.all,parentId:e=>e.parents.active,parents:e=>e.parents.all,published:e=>e.publication.published,publishSubmit:e=>e.publication.publishSubmit,textEnabled:e=>e.publication.publishedLabel,textDisabled:e=>e.publication.draftLabel,textExpired:e=>e.publication.expiredLabel,textScheduled:e=>e.publication.scheduledLabel,withPublicationToggle:e=>e.publication.withPublicationToggle,withPublicationTimeframe:e=>e.publication.withPublicationTimeframe,visibility:e=>e.publication.visibility,visibilityOptions:e=>e.publication.visibilityOptions,reviewProcess:e=>e.publication.reviewProcess,hasUnsavedChanges:e=>e.publication.hasUnsavedChanges,submitDisableMessage:e=>e.publication.submitDisableMessage,userInfo:e=>e.publication.userInfo}),...(0,n.Se)(["publishedLanguages","reviewProcessComplete"])},methods:{buttonClicked:function(e){this.$store.commit(a.V1.UPDATE_SAVE_TYPE,e)},openCloseAccordion:function(e,t){if(this.singleOpen)if(e)for(const i in this.openStates)this.openStates[i]=i===t;else this.openStates[t]=!1},openPreview:function(){this.$root.$refs.preview&&this.$root.$refs.preview.open(0)},updateVisibility:function(e){this.$store.commit(a.V1.UPDATE_PUBLISH_VISIBILITY,e)},openMoveToTrashModal:function(){this.$parent.$refs.moveToTrashModal.open()}}},Qe=Xe,et=(0,w.Z)(Qe,$,N,!1,null,"5b644dbd",null),tt=et.exports,it=function(){var e=this,t=e._self._c;return e.parents.length||e.hasUrl?t("div",{staticClass:"pagenav"},[e.parents.length?t("div",{staticClass:"pagenav__form"},[t("a17-vselect",{attrs:{name:"parents_sources",placeholder:e.placeholder,size:"large",searchable:!0,options:e.options},on:{change:e.gotoUrl}})],1):e._e(),e.hasUrl?t("nav",{staticClass:"pagenav__nav"},[e.previousUrl?t("a",{staticClass:"pagenav__btn",attrs:{href:e.previousUrl}},[e._v("← "+e._s(e.previousLabel))]):t("span",{staticClass:"pagenav__btn"},[e._v("← "+e._s(e.previousLabel))]),e.nextUrl?t("a",{staticClass:"pagenav__btn",attrs:{href:e.nextUrl}},[e._v(e._s(e.nextLabel)+" →")]):t("span",{staticClass:"pagenav__btn"},[e._v(e._s(e.nextLabel)+" →")])]):e._e()]):e._e()},st=[],nt={name:"A17PageNav",props:{previousLabel:{type:String,default:"Previous page"},nextLabel:{type:String,default:"Next page"},previousUrl:{type:String,default:""},nextUrl:{type:String,default:""},placeholder:{type:String,default:""}},data:function(){return{}},computed:{hasUrl:function(){return this.previousUrl||this.nextUrl},options:function(){return oe(this.parents,"–")},...(0,n.rn)({parents:e=>e.parents.all})},methods:{gotoUrl:function(e){e.edit&&(window.location.href=e.edit)}},beforeMount:function(){}},ot=nt,at=(0,w.Z)(ot,it,st,!1,null,"578ca18c",null),rt=at.exports,lt=i(1406),ct=function(){var e=this,t=e._self._c;return t("div",{staticClass:"content"},[t("draggable",{staticClass:"content__content",attrs:{options:e.dragOptions},model:{value:e.blocks,callback:function(t){e.blocks=t},expression:"blocks"}},[t("transition-group",{attrs:{name:"draggable_list",tag:"div"}},e._l(e.blocks,(function(i,s){return t("div",{key:i.id,staticClass:"content__item"},[t("a17-blockeditor-item",{ref:"blockList",refInFor:!0,attrs:{block:i,index:s,withHandle:e.draggable,size:e.blockSize,opened:e.opened}},[e.hasRemainingBlocks?t("a17-button",{attrs:{slot:"block-actions",variant:"icon","data-action":""},on:{click:function(t){return e.duplicateBlock(s)}},slot:"block-actions"},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"add"}})]):e._e(),t("div",{attrs:{slot:"dropdown-action"},slot:"dropdown-action"},[e.opened?t("button",{attrs:{type:"button"},on:{click:function(t){return e.collapseAllBlocks()}}},[e._v(" "+e._s(e.$trans("fields.block-editor.collapse-all","Collapse all"))+" ")]):t("button",{attrs:{type:"button"},on:{click:function(t){return e.expandAllBlocks()}}},[e._v(" "+e._s(e.$trans("fields.block-editor.expand-all","Expand all"))+" ")]),e.hasRemainingBlocks?t("button",{attrs:{type:"button"},on:{click:function(t){return e.duplicateBlock(s)}}},[e._v(" "+e._s(e.$trans("fields.block-editor.clone-block","Clone block"))+" ")]):e._e(),t("button",{attrs:{type:"button"},on:{click:function(t){return e.deleteBlock(s)}}},[e._v(" "+e._s(e.$trans("fields.block-editor.delete","Delete"))+" ")])])],1)],1)})),0)],1),t("div",{staticClass:"content__trigger"},[e.hasRemainingBlocks&&e.blockType.trigger&&e.allowCreate?t("a17-button",{class:e.triggerClass,attrs:{variant:e.triggerVariant},on:{click:function(t){return e.addBlock()}}},[e._v(" "+e._s(e.blockType.trigger)+" ")]):e._e(),e.hasRemainingBlocks&&e.browser?t("a17-button",{class:e.triggerClass,attrs:{variant:e.triggerVariant},on:{click:function(t){return e.openBrowser()}}},[e._v(" "+e._s(e.blockType.selectTrigger)+" ")]):e._e(),t("div",{staticClass:"content__note f--note f--small"},[e._t("default")],2)],1),e.browserIsOpen?t("a17-standalone-browser",{ref:"localbrowser",attrs:{endpoint:e.browser,"for-repeater":!0,max:e.max},on:{selected:e.addRepeatersFromSelection,close:function(t){e.browserIsOpen=!1}}}):e._e()],1)},dt=[],ut=i(9980),pt=i.n(ut),ht=i(3723),mt=i(3304),ft=i(8382),vt={name:"A17Repeater",components:{A17StandaloneBrowser:mt.Z,"a17-blockeditor-item":ht["default"],draggable:pt()},mixins:[ft.Z],props:{type:{type:String,required:!0},name:{type:String,required:!0},buttonAsLink:{type:Boolean,default:!1},browser:{type:Object,required:!1,default:null},relation:{type:String,required:!1},allowCreate:{type:Boolean,default:!0},max:{type:[Number,null],required:!1,default:null}},data:function(){return{opened:!0,browserIsOpen:!1,handle:".block__handle"}},computed:{triggerVariant:function(){return this.buttonAsLink?"aslink":this.inContentEditor?"outline":"action"},triggerClass:function(){return this.inContentEditor?"content__button":""},blockSize:function(){return this.inContentEditor?"small":""},inContentEditor:function(){return"undefined"!==typeof this.$parent.repeaterName},hasRemainingBlocks:function(){let e=null;return this.max&&this.max>0?e=this.max:this.blockType.hasOwnProperty("max")&&(e=this.blockType.max),!e||e>this.blocks.length},blockType:function(){return this.availableBlocks[this.type]?this.availableBlocks[this.type]:{}},blocks:{get(){return this.savedBlocks.hasOwnProperty(this.name)&&this.savedBlocks[this.name]||[]},set(e){this.$store.commit(a.Yc.REORDER_FORM_BLOCKS,{type:this.type,name:this.name,blocks:e})}},...(0,n.rn)({savedBlocks:e=>e.repeaters.repeaters,availableBlocks:e=>e.repeaters.availableRepeaters})},methods:{setOpened:function(){const e=this.$refs.blockList&&this.$refs.blockList.every((e=>!e.visible));e&&(this.opened=!1)},addBlock:function(){this.$store.commit(a.Yc.ADD_FORM_BLOCK,{type:this.type,name:this.name}),this.$nextTick((()=>{this.checkExpandBlocks()}))},addRepeatersFromSelection(e){this.$store.commit(a.Yc.ADD_REPEATER_FROM_SELECTION,{type:this.type,name:this.name,selection:e,relation:this.relation})},duplicateBlock:function(e){this.$store.dispatch(r.ZP.DUPLICATE_REPEATER,{editorName:this.name,index:e,futureIndex:e+1,block:this.blocks[e],id:Date.now()+Math.floor(1e3*Math.random())}),this.$nextTick((()=>{this.checkExpandBlocks()}))},deleteBlock:function(e){this.$store.commit(a.Yc.DELETE_FORM_BLOCK,{type:this.type,name:this.name,index:e})},collapseAllBlocks:function(){this.opened=!1},expandAllBlocks:function(){this.opened=!0},checkExpandBlocks(){void 0!==this.$refs.blockList[this.$refs.blockList.length-1]&&this.$refs.blockList[this.$refs.blockList.length-1].toggleExpand()},openBrowser:function(){this.browserIsOpen=!0}},mounted:function(){this.$nextTick((function(){this.$refs.blockList&&this.blocks&&this.blocks.length<4&&this.$refs.blockList.forEach((e=>e.toggleExpand())),this.setOpened()}))}},bt=vt,_t=(0,w.Z)(bt,ct,dt,!1,null,"55088abc",null),gt=_t.exports,wt=function(){var e=this,t=e._self._c;return t("a17-inputframe",{attrs:{error:e.error,note:e.note,locale:e.locale,label:e.label,name:e.name,required:e.required},on:{localize:e.updateLocale}},[t("div",{staticClass:"form__field",class:e.textfieldClasses},[t("input",{attrs:{type:"search",placeholder:e.placeholder,name:e.name,id:e.name,disabled:e.disabled,required:e.required,readonly:e.readonly,autofocus:e.autofocus,autocomplete:e.autocomplete},domProps:{value:e.address},on:{focus:e.onFocus,blur:e.onBlur,input:e.onInput}}),e.showMap?t("div",{staticClass:"form__field--showMap"},[t("a",{attrs:{href:"#",type:"button"},on:{click:function(t){return t.preventDefault(),e.toggleMap.apply(null,arguments)}}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"location"}}),t("span",{domProps:{innerHTML:e._s(e.mapMessage)}})])]):e._e(),t("input",{attrs:{type:"hidden",name:"".concat(e.name,"__lat")},domProps:{value:e.lat}}),t("input",{attrs:{type:"hidden",name:"".concat(e.name,"__lng")},domProps:{value:e.lng}})]),e.showMap?t("div",{directives:[{name:"show",rawName:"v-show",value:e.isMapOpen,expression:"isMapOpen"}],staticClass:"form__mapContainer"}):e._e()])},kt=[],yt=i(8446),Et=i.n(yt),Ct=i(2240),St=i(35),Lt=i(2847);const xt={show:window.$trans("fields.map.show"),hide:window.$trans("fields.map.hide")},At="https://maps.googleapis.com/maps/api/js?libraries=places&key=",Pt=window["TWILL"].hasOwnProperty("APIKEYS")&&window["TWILL"].APIKEYS.hasOwnProperty("googleMapApi")?window["TWILL"].APIKEYS.googleMapApi:null;var It={name:"A17Locationfield",mixins:[St.Z,A.Z,P.Z,Ct.Z],props:{type:{type:String,default:"text"},zoom:{type:Number,default:15},showMap:{type:Boolean,default:!0},openMap:{type:Boolean,default:!1},saveExtendedData:{type:Boolean,default:!1},autoDetectLatLngValue:{type:Boolean,default:!1},initialLat:{type:Number,default:null},initialLng:{type:Number,default:null}},data:function(){return{map:null,autocompletePlace:null,markers:[],address:"",boundingBox:[],types:[],beforeFocusAddress:"",lat:this.initialLat,lng:this.initialLng,focused:!1,isMapOpen:this.openMap,mapMessage:this.openMap?xt.hide:xt.show}},computed:{value:{get(){const e={latlng:this.lat+"|"+this.lng,address:this.address};return this.saveExtendedData&&(e.boundingBox=this.boundingBox,e.types=this.types),e},set(e){const t=e.latlng.split("|");this.lat=parseFloat(t[0]),this.lng=parseFloat(t[t.length-1]),this.address=e.address,this.saveExtendedData&&(this.boundingBox=e.boundingBox,this.types=e.types)}},textfieldClasses:function(){return{"s--focus":this.focused,"s--disabled":this.disabled}}},methods:{updateFromStore:function(e){if(!Et()(e,this.value)&&(this.value=e,this.clearMarkers(),""===this.address&&(this.lat=this.initialLat,this.lng=this.initialLng),this.lat&&this.lng&&this.map)){const e={lat:this.lat,lng:this.lng};this.addMarker(e),this.map.panTo(e)}},onFocus:function(e){this.focused=!0,this.beforeFocusAddress=this.address,this.$emit("focus")},onBlur:function(e){this.focused=!1,""===this.address&&(this.clearMarkers(),this.lat=this.initialLat,this.lng=this.initialLng),this.beforeFocusAddress!==this.address&&this.saveIntoStore(),this.$emit("blur")},onInput:function(e){const t=e.target.value;if(this.address=t,this.$emit("change",t),this.autoDetectLatLngValue){const e=t.match(/^(-?\d+(?:\.\d+)?),+ *(-?\d+(?:\.\d+)?)$/);e&&this.onLatLngEntered(e[1],e[2])}},onPlaceChanged:function(){const e=this.autocompletePlace.getPlace();if(this.clearMarkers(),this.clearLatLng(),e.geometry){const t=e.geometry.location;this.address=e.formatted_address,this.setLatLng(t),this.saveExtendedData&&(this.boundingBox=e.geometry.viewport,this.types=e.types),this.map&&(this.addMarker(t),this.map.panTo(t),this.map.setZoom(this.zoom))}this.beforeFocusAddress=this.address,this.saveIntoStore()},onClick:function(e){const t=e.latLng;this.clearMarkers(),this.clearLatLng(),this.address=[t.lat(),t.lng()].join(","),this.setLatLng(t),this.map&&this.addMarker(t),this.saveIntoStore()},onLatLngEntered:v()((function(e,t){const i=new google.maps.LatLng(e,t);this.clearMarkers(),this.clearLatLng(),this.address=[i.lat(),i.lng()].join(","),this.setLatLng(i),this.map&&(this.addMarker(i),this.map.setCenter(i)),this.saveIntoStore()}),600),clearMarkers:function(){for(let e=0;e{this.initGoogleApi()}))}},beforeDestroy:function(){"undefined"!==typeof google&&google.maps.event.clearListeners(this.autocompletePlace,"place_changed",this.onPlaceChanged)}},Tt=It,Ot=(0,w.Z)(Tt,wt,kt,!1,null,"c676a44e",null),Dt=Ot.exports,Bt=function(){var e=this,t=e._self._c;return t("div",[e.keepAlive?[t("div",{directives:[{name:"show",rawName:"v-show",value:e.open,expression:"open"}]},[e._t("default")],2)]:[e.open?t("div",{ref:"fieldContainer"},[e._t("default")],2):e._e()]],2)},Rt=[],$t=i(6678),Nt=i.n($t),Vt={name:"A17ConnectorField",props:{fieldName:{type:String,required:!0},requiredFieldValues:{default:""},inModal:{type:Boolean,default:!1},keepAlive:{type:Boolean,default:!1},arrayContains:{type:Boolean,default:!0},isValueEqual:{type:Boolean,default:!0},isBrowser:{type:Boolean,default:!1},matchEmptyBrowser:{type:Boolean,default:!1}},computed:{storedValue:function(){return this.inModal?this.modalFieldValueByName(this.fieldName):this.isBrowser?this.selectedBrowser[this.fieldName]:this.fieldValueByName(this.fieldName)},...(0,n.Se)(["fieldValueByName","modalFieldValueByName"]),...(0,n.rn)({fields:e=>e.form.fields,modalFields:e=>e.form.modalFields,selectedBrowser:e=>e.browser.selected})},data:function(){return{open:!1}},watch:{storedValue:function(e){this.toggleVisibility(e)}},methods:{toggleVisibility:function(e){if(this.$refs.fieldContainer&&this.$slots.default.forEach((e=>{void 0!==e.componentInstance&&e.componentInstance.$refs&&e.componentInstance.$refs.field?e.componentInstance.$refs.field[0]&&e.componentInstance.$refs.field[0].destroyValue():void 0!==e.componentInstance&&void 0!==e.componentInstance.$slots&&void 0!==e.componentInstance.$slots.default?e.componentInstance.$slots.default.forEach((e=>{e.componentInstance&&e.componentInstance.destroyValue&&e.componentInstance.destroyValue()})):e.componentInstance.destroyValue&&e.componentInstance.destroyValue()})),this.isBrowser){var t;const i=null!==(t=e&&e.length)&&void 0!==t?t:0;return this.matchEmptyBrowser&&0===i?void(this.open=!0):void(this.open=!this.matchEmptyBrowser&&i>0)}const i=Nt()(e),s=Nt()(this.requiredFieldValues),n=Array.isArray(s)?s:[s];Array.isArray(s)&&s.sort(),Array.isArray(i)&&i.sort(),this.isValueEqual?Array.isArray(i)?this.open=this.arrayContains?n.some((e=>i.includes(e))):this.open=JSON.stringify(n)===JSON.stringify(i):this.open=Array.isArray(s)?-1!==s.indexOf(i):Et()(i,s):Array.isArray(i)?this.open=this.arrayContains?n.every((e=>!i.includes(e))):this.open=JSON.stringify(n)!==JSON.stringify(i):this.open=Array.isArray(s)?-1===s.indexOf(i):!Et()(i,s)}},mounted:function(){const e=this;this.$nextTick((function(){e.toggleVisibility(this.storedValue)}))}},Mt=Vt,Ft=(0,w.Z)(Mt,Bt,Rt,!1,null,null,null),Ut=Ft.exports,Zt=i(3522),zt=function(){var e=this,t=e._self._c;return t("div",{staticClass:"overlay",class:e.overlayClasses},[t("div",{staticClass:"overlay__window"},[t("header",{staticClass:"overlay__header"},[e.overlayTitle?t("span",[e._v(e._s(e.overlayTitle))]):e._e(),e.$slots["overlay__header"]?t("span",{staticClass:"overlay__header-slot"},[e._t("overlay__header")],2):e._e(),t("button",{staticClass:"overlay__close",attrs:{type:"button"},on:{click:e.hide}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"close_modal"}}),t("span",{staticClass:"overlay__closeLabel"},[e._v(e._s(e.$trans("overlay.close")))])])]),e.active?t("div",{directives:[{name:"show",rawName:"v-show",value:!e.hidden,expression:"!hidden"}],staticClass:"overlay__content"},[e._t("default")],2):e._e()])])},Wt=[],jt=i(3523);const qt=document.documentElement,Yt=jt.Z.overlay,Gt=jt.Z.modal;var Ht={name:"A17Overlay",props:{title:{type:String,default:""},revisionTitle:{type:String,default:function(){return this.$trans("previewer.revision-history")}},forceClose:{type:Boolean,default:!1},forceLock:{type:Boolean,default:!1},mode:{type:String,default:""},customClasses:{type:[String,Array],default:()=>[]}},data:function(){return{active:!1,hidden:!0,locked:!1}},computed:{toggleClasses(){const e="string"===typeof this.customClasses?[this.customClasses]:this.customClasses;return[Yt].concat(e)},activeRevision:function(){return Object.keys(this.currentRevision).length},overlayTitle:function(){return this.activeRevision?this.revisionTitle:this.title},overlayClasses:function(){return{"overlay--active":this.active,"overlay--hidden":this.hidden}},...(0,n.rn)({currentRevision:e=>e.revision.active})},methods:{open:function(){this.active&&!this.hidden||(this.active=!0,this.hidden=!1,this.toggleClasses.forEach((e=>qt.classList.add(e))),window.addEventListener("keyup",this.keyPressed),this.$emit("open"))},mask:function(){this.toggleClasses.forEach((e=>qt.classList.remove(e))),window.removeEventListener("keyup",this.keyPressed),this.$emit("close")},hide:function(){this.active&&(this.locked||(this.forceClose?this.close():(this.hidden=!0,this.mask())))},close:function(e){this.active&&(this.locked||(this.active=!1,this.mask()))},keyPressed:function(e){if(27===e.which||27===e.keyCode){if(qt.classList.contains(Gt))return;this.hide(),this.$emit("esc-key")}}},beforeDestroy:function(){this.$el.parentNode&&(this.active&&window.removeEventListener("keyup",this.keyPressed),this.$el.parentNode.removeChild(this.$el))}},Kt=Ht,Jt=(0,w.Z)(Kt,zt,Wt,!1,null,"6227219a",null),Xt=Jt.exports,Qt=function(){var e=this,t=e._self._c;return t("a17-overlay",{ref:"overlay",attrs:{title:e.$trans("previewer.title")}},[e.revisions.length?t("div",{staticClass:"previewer",class:{"previewer--loading":e.loading}},[e.activeRevision?t("a17-button",{staticClass:"previewer__restore",attrs:{variant:"warning",size:"small"},on:{click:e.restoreRevision}},[e._v(e._s(e.$trans("previewer.restore")))]):e._e(),!e.activeRevision&&e.editor?t("a17-button",{staticClass:"previewer__restore",attrs:{variant:"editor",size:"small"},on:{click:e.openEditor}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],staticClass:"hide--xsmall",attrs:{symbol:"editor"}}),e._v(e._s(e.$trans("previewer.editor")))]):e._e(),t("div",{staticClass:"previewer__frame"},[t("div",{staticClass:"previewer__inner"},[t("div",{staticClass:"previewer__nav"},[t("div",{staticClass:"previewer__revisions"},[e.slipScreen?t("span",{staticClass:"tag tag--revision"},[e._v(e._s(e.$trans("previewer.past-revision")))]):e._e(),t("a17-dropdown",{ref:"previewRevisionsDropdown",attrs:{position:"bottom-left",maxWidth:400,maxHeight:300}},[t("a17-button",{staticClass:"previewer__trigger",on:{click:function(t){return e.$refs.previewRevisionsDropdown.toggle()}}},[e.activeRevision?[e._v(" "+e._s(e._f("formatDate")(e.currentRevision.datetime))+" ("+e._s(e.currentRevision.author)+") "),t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"dropdown_module"}})]:[e._v(" "+e._s(e.$trans("previewer.last-edit"))+" "),t("timeago",{attrs:{"auto-update":1,datetime:new Date(e.revisions[0].datetime)}}),e._v(" "),t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"dropdown_module"}})]],2),t("div",{attrs:{slot:"dropdown__content"},slot:"dropdown__content"},e._l(e.revisions,(function(i){return t("button",{key:i.id,staticClass:"previewerRevision",class:{"previewerRevision--active":e.currentRevision.id===i.id},attrs:{type:"button"},on:{click:function(t){return e.toggleRevision(i.id)}}},[t("span",{staticClass:"previewerRevision__author"},[e._v(e._s(i.author))]),t("span",{staticClass:"previewerRevision__datetime"},[i.label?t("span",{staticClass:"tag"},[e._v(e._s(i.label))]):e._e(),e._v(" "+e._s(e._f("formatDate")(i.datetime)))])])})),0)],1)],1),e.slipScreen?e._e():t("ul",{staticClass:"previewer__breakpoints"},e._l(e.breakpoints,(function(i){return t("li",{key:i.size,staticClass:"previewer__breakpoint",class:{"s--active":e.activeBreakpoint===i.size}},[t("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.resizePreview(i.size)}}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:i.name}})])])})),0),e.activeRevision?t("div",{staticClass:"previewer__compare"},[e.slipScreen?t("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.singleView.apply(null,arguments)}}},[t("span",{staticClass:"previewer__compareLabel"},[e._v(e._s(e.$trans("previewer.single-view")))]),e._v(" "),t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"revision-single"}})]):t("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.compareView.apply(null,arguments)}}},[t("span",{staticClass:"previewer__compareLabel"},[e._v(e._s(e.$trans("previewer.compare-view")))]),e._v(" "),t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"revision-compare"}})])]):e._e()]),t("div",{staticClass:"previewer__content"},[t("div",{staticClass:"previewer__iframe"},[t("a17-iframe",{attrs:{content:e.activeRevision?e.activeContent:e.currentContent,size:e.activeBreakpoint,scrollPosition:e.scrollPosition},on:{scrollDoc:e.setIframeScroll}})],1),e.slipScreen?t("div",{staticClass:"previewer__iframe"},[t("div",{staticClass:"previewer__iframeInfos"},[t("span",{staticClass:"tag tag--revision"},[e._v(e._s(e.$trans("previewer.current-revision")))]),e._v(e._s(e.$trans("previewer.unsaved")))]),t("a17-iframe",{attrs:{content:e.currentContent,scrollPosition:e.scrollPosition},on:{scrollDoc:e.setIframeScroll}})],1):e._e()])])])],1):e._e()])},ei=[],ti=function(){var e=this,t=e._self._c;return t("iframe",{staticClass:"previewerframe",style:{width:e.size>0?e.size+"px":""},attrs:{srcdoc:e.content,frameborder:"0"},on:{load:e.loadPreview}})},ii=[],si={name:"A17previewerFrame",props:{size:{type:Number,default:0},content:{type:String,default:""},scrollPosition:{type:Number,default:0}},data:function(){return{currentScroll:this.scrollPosition}},watch:{scrollPosition:function(e){this.$el.contentWindow.scrollTo(0,e)}},methods:{loadPreview:function(e){const t=this,i=e.target,s=Array.from(i.contentDocument.querySelectorAll("a:not(.sf-dump-toggle)")||[]);s.forEach((e=>{e.getAttribute("href").startsWith("#")&&"#"!==e.getAttribute("href")||(e.setAttribute("disabled","disabled"),e.style.pointerEvents="none"),e.onclick=function(e){if(!e.defaultPrevented)return!1}}));const n=Array.from(i.contentDocument.querySelectorAll("form")||[]);n.forEach((e=>{e.addEventListener("submit",(e=>{e.preventDefault()}),!0)})),i.contentDocument.addEventListener("scroll",(function(e){const s=i.contentWindow.pageYOffset;s!==t.currentScroll&&(t.$emit("scrollDoc",s),t.currentScroll=s)})),this.$el.contentWindow.scrollTo(0,this.currentScroll)}}},ni=si,oi=(0,w.Z)(ni,ti,ii,!1,null,"0559a056",null),ai=oi.exports,ri={name:"A17Previewer",components:{"a17-iframe":ai},props:["breakpointsConfig"],data:function(){return{loadedCurrent:!1,slipScreen:!1,activeBreakpoint:1280,lastActiveBreakpoint:1280,scrollPosition:0,breakpoints:this.breakpointsConfig||[{size:1280,name:"preview-desktop"},{size:1024,name:"preview-tablet-h"},{size:768,name:"preview-tablet-v"},{size:320,name:"preview-mobile"}]}},filters:I.Z,computed:{activeRevision:function(){return Object.keys(this.currentRevision).length},...(0,n.rn)({editor:e=>e.blocks.editor,loading:e=>e.revision.loading,currentRevision:e=>e.revision.active,activeContent:e=>e.revision.activeContent,currentContent:e=>e.revision.currentContent,revisions:e=>e.revision.all,restoreRevisionUrl:e=>e.form.restoreUrl})},methods:{open:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const t=this,i=this.breakpoints.find((e=>"preview-desktop"===e.name)).size;function s(){t.$refs.overlay&&t.$refs.overlay.open(),t.singleView()}this.loadedCurrent=!1,this.activeBreakpoint=i||1280,this.lastActiveBreakpoint=i||1280,e?this.previewRevision(e,(function(){s()})):this.previewCurrent((function(){s()}))},close:function(){this.$refs.overlay.close()},openEditor:function(){const e=this.$root.$refs;e.preview&&e.preview.close(),e.editor&&e.editor.open()},restoreRevision:function(){window.location.href=this.restoreRevisionUrl+"?revisionId="+this.currentRevision.id},resizePreview:function(e){this.activeBreakpoint=parseInt(e),this.lastActiveBreakpoint=parseInt(e)},previewCurrent:function(e){this.$store.commit(a.UZ.UPDATE_REV,0),this.loadCurrent(e)},loadCurrent:function(e){this.loadedCurrent?e&&"function"===typeof e&&e():(this.loadedCurrent=!0,this.$store.dispatch(r.ZP.GET_CURRENT).then((()=>{e&&"function"===typeof e&&e()}),(e=>{this.$store.commit(a.Yc.SET_FORM_ERRORS,e.response.data),this.$store.commit(a.qq.SET_NOTIF,{message:"Your submission could not be validated, please fix and retry",variant:"error"})})))},toggleRevision:function(e){if(this.activeRevision&&this.currentRevision.id===e)return this.singleView(),void this.previewCurrent();this.previewRevision(e)},previewRevision:function(e,t){this.$store.commit(a.UZ.UPDATE_REV,e),this.$store.dispatch(r.ZP.GET_REVISION).then((()=>{t&&"function"===typeof t&&t()}),(e=>{this.$store.commit(a.qq.SET_NOTIF,{message:"Invalid revision.",variant:"error"})}))},compareView:function(){this.activeBreakpoint=0,this.slipScreen=!0,this.activeRevision&&this.loadCurrent()},singleView:function(){this.activeBreakpoint=this.lastActiveBreakpoint,this.slipScreen=!1},setIframeScroll:function(e){this.scrollPosition=e}}},li=ri,ci=(0,w.Z)(li,Qt,ei,!1,null,"edd298c2",null),di=ci.exports,ui=function(){var e=this,t=e._self._c;return t("a17-overlay",{ref:"overlay",attrs:{title:e.$trans("editor.title"),customClasses:e.htmlEditorClass},on:{close:e.close},scopedSlots:e._u([e.editorNames.length>1?{key:"overlay__header",fn:function(){return[t("a17-dropdown",{ref:"editorDropdown",attrs:{position:"bottom-left",maxWidth:400,maxHeight:300}},[t("a17-button",{staticClass:"editorDropdown__trigger",on:{click:function(t){return e.$refs.editorDropdown.toggle()}}},[e._v(" "+e._s(e.currentEditorLabel)+" "),t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"dropdown_module"}})]),t("div",{attrs:{slot:"dropdown__content"},slot:"dropdown__content"},e._l(e.editorNames,(function(i){return t("button",{key:i.value,staticClass:"editorDropdown",attrs:{type:"button"},on:{click:function(t){return e.updateEditorName(i.value)}}},[e._v(" "+e._s(i.label)+" ")])})),0)],1)]},proxy:!0}:null],null,!0)},[t("a17-blocks-list",{attrs:{"editor-name":e.editorName},scopedSlots:e._u([{key:"default",fn:function(i){let{availableBlocks:s,hasBlockActive:n,savedBlocks:o,editorNames:a,moveBlock:r}=i;return[t("div",{staticClass:"editor"},[e.revisions.length?t("a17-button",{staticClass:"editor__leave",attrs:{variant:"editor",size:"small"},on:{click:e.openPreview}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],staticClass:"hide--xsmall",attrs:{symbol:"preview"}}),e._v(e._s(e.$trans("fields.block-editor.preview","Preview"))+" ")]):e._e(),t("div",{staticClass:"editor__frame"},[t("div",{staticClass:"editor__inner"},[t("div",{ref:"sidebar",staticClass:"editor__sidebar"},[t("a17-editorsidebar",{attrs:{"editor-name":e.editorName,hasBlockActive:n,editorNames:a,blocks:s},on:{"editorName:update":e.updateEditorName}},[e._v(" "+e._s(e.$trans("fields.block-editor.add-content","Add content"))+" ")])],1),t("div",{staticClass:"editor__resizer",on:{mousedown:e.resize}},[t("span")]),t("div",{staticClass:"editor__preview"},[e.editorOpen?t("a17-editorpreview",{ref:"previews",attrs:{"editor-name":e.editorName,blocks:o,hasBlockActive:n,sandbox:e.previewSandbox,bgColor:e.bgColor},on:{"blocks:move":r}}):e._e()],1)])])],1)]}}])})],1)},pi=[],hi=i(139),mi=function(){var e=this,t=e._self._c;return t("a17-blockeditor-model",{attrs:{"editor-name":e.editorName},scopedSlots:e._u([{key:"default",fn:function(i){let{add:s,edit:n,unEdit:o}=i;return[t("div",{staticClass:"editorPreview",class:e.previewClass,style:e.previewStyle,on:{mousedown:function(t){return e._unselectBlock(o)}}},[e.blocks.length?e._e():t("div",{staticClass:"editorPreview__empty"},[t("b",[e._v(e._s(e.$trans("previewer.drag-and-drop","Drag and drop content from the left navigation")))])]),t("draggable",{ref:"previewContent",staticClass:"editorPreview__content",attrs:{value:e.blocks,options:{group:"editorBlocks",handle:e.handle}},on:{add:function(t){return e.onAdd(s,n,t)},update:e.onUpdate}},[e._l(e.blocks,(function(i){return[t("a17-blockeditor-model",{key:i.id,attrs:{block:i,"editor-name":e.editorName},scopedSlots:e._u([{key:"default",fn:function(s){let{block:n,isActive:o,blockIndex:a,move:r,remove:l,edit:c,unEdit:d,cloneBlock:u}=s;return[t("a17-editor-block-preview",{key:i.id,ref:n.id,refInFor:!0,attrs:{block:n,blockIndex:a,blocksLength:e.blocks.length,isBlockActive:o},on:{"block:select":function(t){return e._selectBlock(c,a)},"block:unselect":function(t){return e._unselectBlock(d,a)},"block:move":r,"block:clone":function(t){return e._cloneBlock(u,a)},"block:delete":function(t){return e._deleteBlock(l)},"scroll-to":e.scrollToActive}})]}}],null,!0)})]}))],2),e.loading?t("a17-spinner",{attrs:{visible:!0}},[e._v(e._s(e.$trans("fields.block-editor.loading","Loading"))+"… ")]):e._e()],1)]}}])})},fi=[],vi=i(7234),bi=i(6214),_i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"editorPreview__item",class:e.previewBlockItemClasses,on:{mousedown:function(e){e.stopPropagation()}}},[t("div",{staticClass:"editorPreview__frame"},[t("a17-editor-iframe",{ref:"blockIframe",attrs:{block:e.block},on:{loaded:e.iframeLoaded}})],1),t("div",{staticClass:"editorPreview__protector editorPreview__dragger",on:{click:function(t){return t.preventDefault(),e.handleBlockPreviewClick.apply(null,arguments)}}}),t("div",{staticClass:"editorPreview__header"},[t("a17-buttonbar",{attrs:{variant:"visible"}},[t("button",{attrs:{type:"button"},on:{click:e.cloneBlock}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"clone"}})]),e.blocksLength>1?t("a17-dropdown",{ref:"blockDropdown",staticClass:"f--small",attrs:{position:"bottom-left",maxHeight:270},on:{open:e.handleDropDownOpen,close:e.handleDropDownClose}},[t("button",{attrs:{type:"button"},on:{click:function(t){return e.toggleBlockDropdown(e.blockIndex)}}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"drag"}})]),t("div",{attrs:{slot:"dropdown__content"},slot:"dropdown__content"},e._l(e.blocksLength,(function(i){return t("button",{key:i,attrs:{type:"button"},on:{click:function(t){return e.moveBlock(i-1)}}},[e._v(" "+e._s(i)+" ")])})),0)]):e._e(),t("button",{attrs:{type:"button"},on:{click:e.deleteBlock}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:"trash"}})])],1)],1)])},gi=[],wi=function(){var e=this,t=e._self._c;return t("div",{staticClass:"editorIframe"},[""===e.preview?t("div",{staticClass:"editorIframe__empty"},[e._v(" "+e._s(e.title)+" ")]):[e.sandbox?t("iframe",{ref:"frame",attrs:{srcdoc:e.preview,sandbox:e.sandboxOptions,scrolling:"no"},on:{load:e.loadedPreview}}):t("iframe",{ref:"frame",attrs:{srcdoc:e.preview,scrolling:"no"},on:{load:e.loadedPreview}})]],2)},ki=[],yi={name:"A17editorIframe",props:{block:{type:Object,default:function(){return{}}}},computed:{preview(){return this.previewsById(this.block.id)||""},title(){return this.block.title||""},sandboxOptions(){return"boolean"===typeof this.sandbox?"allow-same-origin allow-top-navigation allow-scripts":this.sandbox.join(" ")},...(0,n.Se)(["previewsById"])},inject:["sandbox"],methods:{loadedPreview(){this.$refs.frame&&this.$refs.frame.srcdoc&&(this.$emit("loaded",this.$refs.frame),this.resize())},resize(){if(!this.$refs.frame)return;const e=this.$refs.frame.contentWindow.document.body;e.style.overflow="hidden";const t=window.getComputedStyle(e),i=t.getPropertyValue("margin-top"),s=t.getPropertyValue("margin-bottom"),n=e.scrollHeight+parseInt(i)+parseInt(s);window.requestAnimationFrame((()=>{this.$refs.frame.height=n+"px"}))}},mounted(){window.addEventListener("resize",this.resize)},beforeDestroy(){window.removeEventListener("resize",this.resize)}},Ei=yi,Ci=(0,w.Z)(Ei,wi,ki,!1,null,"f2eb11aa",null),Si=Ci.exports,Li=i(4690),xi={name:"A17EditorPreviewBlockItem",props:{isBlockActive:{type:Boolean,default:!1}},mixins:[Li.R0],components:{"a17-editor-iframe":Si},data(){return{dropdownOpen:!1}},computed:{previewBlockItemClasses(){return{"editorPreview__item--active":this.isBlockActive,"editorPreview__item--dropdown-open":this.dropdownOpen}}},methods:{handleBlockPreviewClick(){this.isBlockActive?this.unselectBlock():this.selectBlock()},handleDropDownOpen(){this.dropdownOpen=!0},handleDropDownClose(){this.dropdownOpen=!1},iframeLoaded(){this.isBlockActive&&this.$nextTick((()=>{this.$emit("scroll-to",this.$el.offsetTop)}))}},beforeDestroy(){this.unselectBlock()}},Ai=xi,Pi=(0,w.Z)(Ai,_i,gi,!1,null,"022e4340",null),Ii=Pi.exports,Ti=i(9082),Oi={name:"A17editorPreview",props:{bgColor:{type:String,default:"#FFFFFF"},hasBlockActive:{props:{type:Boolean,default:!1}}},mixins:[Li.tD,Li.NF],components:{draggable:pt(),"a17-editor-block-preview":Ii,"a17-blockeditor-model":bi["default"],"a17-spinner":Ti.Z},data(){return{loading:!1,blockSelectIndex:-1,handle:".editorPreview__dragger"}},computed:{previewClass(){const e=(0,vi.Z)(this.bgColor);return{"editorPreview--dark":e.getBrightness()<180,"editorPreview--loading":this.loading}},previewStyle(){return{"background-color":this.bgColor}}},methods:{onAdd(e,t,i){const{item:s}=i,n={};n.title=s.getAttribute("data-title"),n.component=s.getAttribute("data-component"),n.icon=s.getAttribute("data-icon");const o=Math.max(0,i.newIndex);this.addAndEditBlock(e,t,{block:n,index:o}),this._selectBlock(null,o)},onUpdate(e){let{oldIndex:t,newIndex:i}=e;this.$emit("blocks:move",{oldIndex:t,newIndex:i})},_selectBlock(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;e&&this.selectBlock(e,t),this.blockSelectIndex!==t&&(this.unSubscribe(),this.blockSelectIndex=t,this._unSubscribeInternal=this.$store.subscribe((e=>{a.c6.REFRESH_BLOCK_PREVIEW.includes(e.type)&&(a.c6.REFRESH_BLOCK_PREVIEW_ALL.includes(e.type)?this.getAllPreviews():this.getPreview(t))})))},_unselectBlock(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.blockSelectIndex;this.unSubscribe(),this.getPreview(t),this.unselectBlock(e,t),this.blockSelectIndex=-1},_deleteBlock(e){this.unSubscribe(),this.deleteBlock(e)},_cloneBlock(e,t){this.cloneBlock(e),this.getPreview(t+1)},unSubscribe(){this._unSubscribeInternal&&(this._unSubscribeInternal(),this._unSubscribeInternal=null)},getAllPreviews(){this.loading=!0,this.$store.dispatch(r.ZP.GET_ALL_PREVIEWS,{editorName:this.editorName}).then((()=>{this.$nextTick((()=>{this.loading=!1}))}))},getPreview(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this.loading=!0,this.$store.dispatch(r.ZP.GET_PREVIEW,{editorName:this.editorName,index:e}).then((()=>{this.$nextTick((()=>{this.loading=!1}))}))},scrollToActive(e){this.$refs.previewContent.$el.scrollTop=Math.max(0,e-20)},resizeAllIframes(){this.$refs.blockPreview&&this.$refs.blockPreview.forEach((e=>{e.$refs.blockIframe.resize()}))},_resize:v()((function(){this.resizeAllIframes()}),200),init(){window.addEventListener("resize",this._resize)},dispose(){window.removeEventListener("resize",this._resize)}},mounted(){this.init(),this.$nextTick((()=>{this.getAllPreviews()}))},beforeDestroy(){this.dispose()},watch:{editorName(){this.unSubscribe(),this.getAllPreviews()},hasBlockActive(e){e||(this.unSubscribe(),this.blockSelectIndex=-1)}}},Di=Oi,Bi=(0,w.Z)(Di,mi,fi,!1,null,"822d85b0",null),Ri=Bi.exports,$i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"editorSidebar"},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.hasBlockActive,expression:"hasBlockActive"}]},[t("a17-blocks-list",{attrs:{"editor-name":e.editorName},scopedSlots:e._u([{key:"default",fn:function(i){let{allSavedBlocks:s}=i;return[t("div",{staticClass:"editorSidebar__edit-list"},e._l(s,(function(i){return t("a17-blockeditor-model",{key:i.id,attrs:{block:i,"editor-name":e.editorName},scopedSlots:e._u([{key:"default",fn:function(i){let{block:n,isActive:o,blockIndex:a,move:r,remove:l,unEdit:c}=i;return[t("div",{staticClass:"editorSidebar__edit-block"},[t("a17-sidebar-block-item",{directives:[{name:"show",rawName:"v-show",value:o,expression:"isActive"}],attrs:{block:n,blockIndex:a,blocksLength:s.length},on:{"block:move":r,"block:delete":function(t){return e.deleteBlock(l)}}}),t("div",{staticClass:"editorSidebar__actions"},[t("a17-button",{attrs:{variant:"action"},on:{click:function(t){return e.saveBlock(c,a)}}},[e._v(" "+e._s(e.$trans("editor.done"))+" ")]),t("a17-button",{attrs:{variant:"secondary"},on:{click:function(t){return e.cancelBlock(c,a)}}},[e._v(" "+e._s(e.$trans("editor.cancel"))+" ")])],1)],1)]}}],null,!0)})})),1)]}}])})],1),e.hasBlockActive?e._e():[t("div",{staticClass:"editorSidebar__list"},[t("a17-sidebar-block-list",{attrs:{blocks:e.blocks}})],1),t("div",{staticClass:"editorSidebar__actions"},[e.isSubmitDisabled(e.submitOptions[0])?t("a17-button",{attrs:{variant:"validate",disabled:!0}},[e._v(e._s(e.submitOptions[0].text))]):t("a17-button",{attrs:{name:e.submitOptions[0].name,variant:"validate"},on:{click:function(t){return e.saveForm(e.submitOptions[0].name)}}},[e._v(e._s(e.submitOptions[0].text))])],1)]],2)},Ni=[],Vi=function(){var e=this,t=e._self._c;return t("div",{staticClass:"editorSidebar__item"},[t("div",{staticClass:"editorSidebar__title"},[t("div",{staticClass:"editorSidebar__blockTitle"},[t("a17-dropdown",{ref:"blockDropdown",staticClass:"f--small",attrs:{position:"bottom-left",maxHeight:270}},[t("span",{staticClass:"editorSidebar__counter f--tiny",on:{click:e.toggleBlockDropdown}},[e._v(e._s(e.blockIndex+1))]),t("div",{attrs:{slot:"dropdown__content"},slot:"dropdown__content"},e._l(e.blocksLength,(function(i){return t("button",{key:i,attrs:{type:"button"},on:{click:function(t){return e.moveBlock(i-1)}}},[e._v(" "+e._s(i)+" ")])})),0)]),e._v(" "+e._s(e.block.title)+" ")],1),t("span",[t("a",{staticClass:"f--small f--note f--underlined",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.deleteBlock.apply(null,arguments)}}},[e._v(e._s(e.$trans("editor.delete")))])])]),t("div",{staticClass:"editorSidebar__body"},[t("a17-inputframe",{attrs:{label:"",name:"block.".concat(e.block.id)}}),[t("".concat(e.block.type),e._b({key:"`editor_${block.type}_${block.id}`",tag:"component",attrs:{name:"blocks[".concat(e.block.id,"]")}},"component",e.setBlockAttributes(e.block.attributes),!1))]],2)])},Mi=[],Fi={name:"A17EditorSidebarBlockItem",mixins:[Li.R0],methods:{setBlockAttributes(e){return{keepAlive:!0,...e}}}},Ui=Fi,Zi=(0,w.Z)(Ui,Vi,Mi,!1,null,"1275ea0e",null),zi=Zi.exports,Wi=function(){var e=this,t=e._self._c;return t("div",{staticClass:"editorSidebar__listItems"},[t("draggable",{staticClass:"editorSidebar__blocks",class:e.editorSidebarClasses,attrs:{options:{group:{name:"editorBlocks",pull:"clone",put:!1},handle:".editorSidebar__button"}},model:{value:e.blocks,callback:function(t){e.blocks=t},expression:"blocks"}},e._l(e.blocks,(function(i){return t("div",{key:i.component,staticClass:"editorSidebar__button",attrs:{"data-title":i.title,"data-icon":i.icon,"data-component":i.component}},[t("span",{directives:[{name:"svg",rawName:"v-svg"}],attrs:{symbol:e.iconSymbol(i.icon)}}),t("span",{staticClass:"editorSidebar__buttonLabel"},[e._v(e._s(i.title))])])})),0)],1)},ji=[],qi={name:"A17EditorSidebarBlockList",props:{blocks:{type:Array,default:()=>[]},inFieldset:{type:Boolean,default:!1}},mixins:[Li.tD],components:{draggable:pt()},computed:{editorSidebarClasses(){return{"editorSidebar__blocks--in-fieldset":this.inFieldset}}},methods:{iconSymbol:function(e){return this.hasLgIconVariation(e)?"".concat(e,"-lg"):e},hasLgIconVariation:function(e){return Boolean(document.querySelector("#icon--".concat(e,"-lg")))}}},Yi=qi,Gi=(0,w.Z)(Yi,Wi,ji,!1,null,"0f803405",null),Hi=Gi.exports,Ki={name:"A17editorSidebar",props:{hasBlockActive:{type:Boolean,default:!1},activeBlock:{type:Object,default:()=>{}},editorName:{type:String,required:!0},editorNames:{type:Array,default:()=>[]}},components:{"a17-sidebar-block-item":zi,"a17-sidebar-block-list":Hi,"a17-blocks-list":hi["default"],"a17-blockeditor-model":bi["default"]},mixins:[Li.NF],computed:{submitOptions(){return this.$store.getters.getSubmitOptions}},methods:{isSubmitDisabled:function(e){return!!e.hasOwnProperty("disabled")&&!0===e.disabled},saveForm(e){this.$store.commit(a.V1.UPDATE_SAVE_TYPE,e),this.$root.submitForm&&this.$root.submitForm()}}},Ji=Ki,Xi=(0,w.Z)(Ji,$i,Ni,!1,null,"7c217157",null),Qi=Xi.exports,es={name:"A17Editor",components:{"a17-editorsidebar":Qi,"a17-editorpreview":Ri,"a17-blocks-list":hi["default"]},props:{bgColor:{type:String,default:"#FFFFFF"},previewSandbox:{type:[Boolean,Array],default:!0}},data(){return{editorName:null,editorOpen:!1,htmlEditorClass:jt.Z.editor}},computed:{currentEditorLabel(){const e=this.editorNames&&this.editorNames.find((e=>e.value===this.editorName));return e&&e.label},...(0,n.rn)({revisions:e=>e.revision.all,editorNamesBase:e=>e.blocks.editorNames}),...(0,n.Se)(["blocks"]),editorNames(){return this.editorNamesBase.filter((e=>!1===e.nested))}},provide(){return{sandbox:this.previewSandbox}},methods:{initEditorName(){if(!this.editorName){const e=this.editorNames[0]&&this.editorNames[0].value;this.updateEditorName(e)}},updateEditorName(e){this.editorName!==e&&(this.editorName=e)},open(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t&&this.updateEditorName(t),this.editorOpen=!0,this.$refs.overlay.open()},close(){this.editorOpen=!1},resize(){window.addEventListener("mousemove",this.resizeSidebar,!1),window.addEventListener("mouseup",this.stopResizeSidebar,!1)},resizeSidebar(e){const t=this.$refs.sidebar,i=window.innerWidth;t&&(t.style.width=(e.clientX-t.offsetLeft)/i*100+"%")},stopResizeSidebar(){window.removeEventListener("mousemove",this.resizeSidebar,!1),window.removeEventListener("mouseup",this.stopResizeSidebar,!1),this.$refs.previews.resizeAllIframes()},openPreview(){this.$root.$refs.preview&&this.$root.$refs.preview.open()}},created(){this.initEditorName()}},ts=es,is=(0,w.Z)(ts,ui,pi,!1,null,"05dfc68c",null),ss=is.exports,ns=i(248),os=i(9341),as=function(){var e=this,t=e._self._c;return t("a17-modal",{ref:"modal",staticClass:"modal--form",attrs:{title:e.modalTitle,forceClose:!0}},[t("form",{attrs:{action:e.formCreate},on:{submit:function(t){return t.preventDefault(),e.submit.apply(null,arguments)}}},[e._t("default"),t("a17-modal-validation",{attrs:{"is-disable":!0}})],2)])},rs=[],ls=i(5512),cs={name:"A17ModalAdd",mixins:[ls.Z],props:{name:{type:String,default:""},modalTitle:{type:String,default:"Add new"},formCreate:{type:String,default:"#"}},components:{"a17-modal-validation":x.Z},methods:{open:function(){this.$refs.modal&&this.$refs.modal.open()},submit:function(){if(this.isSubmitPrevented)return void(this.shouldRetrySubmitWhenAllowed=!0);if(this._isSubmitting)return;this._isSubmitting=!0;const e=this;this.$store.commit(a.Yc.UPDATE_FORM_LOADING,!0);const t=document.activeElement.name;this.$nextTick((function(){this.$store.dispatch(r.ZP.CREATE_FORM_IN_MODAL,{name:this.name,endpoint:this.formCreate,method:"post"}).then((()=>{e.$refs.modal&&e.$refs.modal.close(),e.$nextTick((function(){e.$store.commit(a.qq.SET_NOTIF,{message:"Your content has been added",variant:"success"}),"create-another"===t&&e.$refs.modal&&e.$refs.modal.open()}))}),(t=>{e.$store.commit(a.qq.SET_NOTIF,{message:"Your content can not be added, please retry",variant:"error"})}))}))}}},ds=cs,us=(0,w.Z)(ds,as,rs,!1,null,null,null),ps=us.exports,hs=i(890);const ms={withPublicationToggle:window["TWILL"].STORE.publication.withPublicationToggle||!1,published:window["TWILL"].STORE.publication.published||!1,publishSubmit:window["TWILL"].STORE.publication.published||!window["TWILL"].STORE.publication.withPublicationToggle?"update":"live",publishedLabel:window["TWILL"].STORE.publication.publishedLabel||"Live",draftLabel:window["TWILL"].STORE.publication.draftLabel||"Draft",expiredLabel:window["TWILL"].STORE.publication.expiredLabel||"Expired",scheduledLabel:window["TWILL"].STORE.publication.scheduledLabel||"Scheduled",withPublicationTimeframe:window["TWILL"].STORE.publication.withPublicationTimeframe||!1,startDate:window["TWILL"].STORE.publication.startDate||null,endDate:window["TWILL"].STORE.publication.endDate||null,visibility:window["TWILL"].STORE.publication.visibility||!1,reviewProcess:window["TWILL"].STORE.publication.reviewProcess||[],userInfo:window["TWILL"].STORE.publication.userInfo||null,createWithoutModal:window["TWILL"].STORE.publication.createWithoutModal||!1,hasUnsavedChanges:!1,saveType:void 0,visibilityOptions:[{value:"public",label:"Public"},{value:"private",label:"Private"}],submitDisableMessage:window["TWILL"].STORE.publication.submitDisableMessage||"",submitOptions:window["TWILL"].STORE.publication.submitOptions||{draft:[{name:"save",text:window.$trans("publisher.save","Save as draft"),disabled:!1},{name:"save-close",text:window.$trans("publisher.save-close","Save as draft and close"),disabled:!1},{name:"save-new",text:window.$trans("publisher.save-new","Save as draft and create new"),disabled:!1},{name:"cancel",text:window.$trans("publisher.cancel","Cancel"),disabled:!1}],live:[{name:"publish",text:window.$trans("publisher.publish","Publish"),disabled:!1},{name:"publish-close",text:window.$trans("publisher.publish-close","Publish and close"),disabled:!1},{name:"publish-new",text:window.$trans("publisher.publish-new","Publish and create new"),disabled:!1},{name:"cancel",text:window.$trans("publisher.cancel","Cancel"),disabled:!1}],update:[{name:"update",text:window.$trans("publisher.update","Update"),disabled:!1},{name:"update-close",text:window.$trans("publisher.update-close","Update and close"),disabled:!1},{name:"update-new",text:window.$trans("publisher.update-new","Update and create new"),disabled:!1},{name:"cancel",text:window.$trans("publisher.cancel","Cancel"),disabled:!1}]}},fs={reviewProcessComplete:e=>e.reviewProcess.filter((e=>e.checked)),getSubmitOptions:e=>e.published||!e.withPublicationToggle?e.submitOptions[e.publishSubmit]:e.submitOptions.draft,isEnabledSubmitOption:(e,t)=>e=>{let i=!0,s={};const n=t.getSubmitOptions.filter((t=>t.name===e));return n.length&&(s=n[0]),s.hasOwnProperty("disabled")&&(i=!s.disabled),i},getSaveType:(e,t)=>e.saveType||t.getSubmitOptions[0].name},vs={[a.V1.UPDATE_PUBLISH_START_DATE](e,t){e.startDate=t},[a.V1.UPDATE_PUBLISH_END_DATE](e,t){e.endDate=t},[a.V1.UPDATE_PUBLISH_STATE](e,t){e.published=t},[a.V1.UPDATE_PUBLISH_SUBMIT](e){e.publishSubmit=e.published||!e.withPublicationToggle?"update":"live"},[a.V1.UPDATE_PUBLISH_VISIBILITY](e,t){e.visibility=t},[a.V1.UPDATE_REVIEW_PROCESS](e,t){let i="",s=-1;t.length&&(i=t[t.length-1],e.reviewProcess.forEach((function(e,t){e.value===i&&(s=t)}))),e.reviewProcess.forEach((function(e,t){e.checked=t<=s,e.disabled=!(t===s||t===s+1)}))},[a.V1.UPDATE_SAVE_TYPE](e,t){e.saveType=t},[a.V1.UPDATE_HAS_UNSAVED_CHANGES](e,t){e.hasUnsavedChanges=t}};var bs={state:ms,getters:fs,mutations:vs},_s=i(9065),gs=i(9669),ws=i.n(gs),ks=i(3827),ys={getBlockPreview(e,t,i,s){ws().post(e,t).then((function(e){i&&"function"===typeof i&&i(e.data)}),(function(e){const t={message:"Block preview request error.",value:e};(0,ks.I)("CONTENT",t),s&&"function"===typeof s&&s(e)}))}};const Es={loading:!1,editor:window["TWILL"].STORE.form.editor||!1,editorNames:window["TWILL"].STORE.form.editorNames||[],available:window["TWILL"].STORE.form.availableBlocks||{},blocks:window["TWILL"].STORE.form.blocks||{},previews:window["TWILL"].STORE.form.previews||{},active:{}},Cs={previewsById:e=>t=>e.previews[t]?e.previews[t]:"",blocks:e=>t=>e.blocks[t]||[],availableBlocks:e=>t=>e.available[t]||[],blockIndex:(e,t)=>(e,i)=>t.blocks(i).findIndex((t=>t.id===e.id))},Ss=()=>Date.now()+Math.floor(1e3*Math.random()),Ls={[a.RG.ADD_BLOCK](e,t){let{block:i,index:n,editorName:o}=t;const a=e.blocks[o]||[],r={...i,id:Ss(),name:o};r.twillUi={},r.twillUi.isNew=!0,n>-1?a.splice(n,0,r):a.push(r),s["default"].set(e.blocks,o,a)},[a.RG.MOVE_BLOCK](e,t){let{editorName:i,newIndex:n,oldIndex:o}=t;const a=e.blocks[i]||[];if(n>=a.length){let e=n-a.length;while(1+e--)a.push(void 0)}a.splice(n,0,a.splice(o,1)[0]),s["default"].set(e.blocks,i,a)},[a.RG.DELETE_BLOCK](e,t){let{editorName:i,index:n}=t;const o=e.blocks[i][n].id,a=e.blocks[i]||[];o&&s["default"].delete(e.previews,o),a.splice(n,1),s["default"].set(e.blocks,i,a)},[a.RG.DUPLICATE_BLOCK](e,t){let{editorName:i,index:n,block:o,id:a}=t;const r=e.blocks[i]||[];r.splice(n,0,{...o,id:a,name:i}),s["default"].set(e.blocks,i,r)},[a.RG.REORDER_BLOCKS](e,t){let{editorName:i,value:n}=t;s["default"].set(e.blocks,i,n)},[a.RG.ACTIVATE_BLOCK](e,t){let{editorName:i,index:s}=t;e.blocks[i]&&e.blocks[i][s]?e.active={...e.blocks[i][s]}:e.active={}},[a.RG.ADD_BLOCK_PREVIEW](e,t){s["default"].set(e.previews,t.id,t.html)},[a.RG.UPDATE_PREVIEW_LOADING](e,t){e.loading=!e.loading}},xs=(e,t,i,s)=>{if(e&&e.hasOwnProperty("id")){const n=(0,_s.BI)(e,i);i.language.all.length>1&&(n.activeLanguage=i.language.active.value),(0,_s.oH)(n)?(t(a.RG.ADD_BLOCK_PREVIEW,{id:e.id,html:""}),s&&"function"===typeof s&&s()):ys.getBlockPreview(i.form.blockPreviewUrl,n,(i=>{t(a.RG.ADD_BLOCK_PREVIEW,{id:e.id,html:i}),s&&"function"===typeof s&&s()}),(e=>{}))}},As={[r.ZP.GET_PREVIEW](e,t){let{commit:i,state:s,rootState:n}=e,{editorName:o,index:a=-1}=t,r=s.blocks[o]&&a>=0?{...s.blocks[o][a]}:{};s.active&&s.active.hasOwnProperty("id")&&-1===a&&(r={...s.active}),xs(r,i,n)},[r.ZP.GET_ALL_PREVIEWS](e,t){let{commit:i,state:s,rootState:n}=e,{editorName:o}=t;if(s.blocks[o]&&s.blocks[o].length>0&&!s.loading){i(a.RG.UPDATE_PREVIEW_LOADING,!0);let e=0;const t=s.blocks[o].length;Object.values(s.blocks[o]).forEach((s=>{xs(s,i,n,(()=>{e++,e===t&&i(a.RG.UPDATE_PREVIEW_LOADING,!0)}))}))}},async[r.ZP.DUPLICATE_BLOCK](e,t){let{commit:i,state:s,rootState:n}=e,{editorName:o,futureIndex:r,block:l,id:c}=t;i(a.RG.DUPLICATE_BLOCK,{editorName:o,index:r,block:l,id:c})},async[r.ZP.MOVE_BLOCK_TO_EDITOR](e,t){let{commit:i,dispatch:s}=e,{editorName:n,index:o,block:l,futureIndex:c,id:d}=t;await s(r.ZP.DUPLICATE_BLOCK,{editorName:n,futureIndex:c,block:l,id:d}),i(a.RG.DELETE_BLOCK,{editorName:l.name,index:o})}};var Ps={state:Es,getters:Cs,mutations:Ls,actions:As},Is=i(6625),Ts={getRevisionContent(e,t,i,s){ws().put(e,t).then((function(e){i&&"function"===typeof i&&i(e.data)}),(function(e){const t={message:"Preview request error.",value:e};(0,ks.I)("REVISION",t),s&&"function"===typeof s&&s(e)}))}};const Os={loading:!1,active:{},activeContent:"",currentContent:"",all:window["TWILL"].STORE.revisions||[]},Ds={},Bs={[a.UZ.LOADING_REV](e){e.loading=!0},[a.UZ.UPDATE_REV](e,t){function i(e){return e.id===t}const s=e.all.findIndex(i);e.active=-1!==s?e.all[s]:{}},[a.UZ.UPDATE_REV_CONTENT](e,t){e.loading=!1,e.activeContent=t},[a.UZ.UPDATE_REV_CURRENT_CONTENT](e,t){e.loading=!1,e.currentContent=t},[a.UZ.UPDATE_REV_ALL](e,t){e.all=t}},Rs={[r.ZP.GET_CURRENT](e){let{commit:t,rootState:i}=e;return new Promise(((e,s)=>{t(a.UZ.LOADING_REV);const n=(0,_s.zi)(i);i.language.all.length>1&&(n.activeLanguage=i.language.active.value),Ts.getRevisionContent(i.form.previewUrl,n,(i=>{t(a.UZ.UPDATE_REV_CURRENT_CONTENT,i),e()}),(e=>{s(e)}))}))},[r.ZP.GET_REVISION](e){let{commit:t,state:i,rootState:s}=e;return new Promise(((e,n)=>{t(a.UZ.LOADING_REV);let o=0;o=0===Object.keys(i.active).length?i.all[0].id:i.active.id;const r={revisionId:o};s.language.all.length>1&&(r.activeLanguage=s.language.active.value),Ts.getRevisionContent(s.form.previewUrl,r,(i=>{t(a.UZ.UPDATE_REV_CONTENT,i),e()}),(e=>{n(e)}))}))}};var $s={state:Os,getters:Ds,actions:Rs,mutations:Bs},Ns=i(2374);const Vs={repeaters:window["TWILL"].STORE.form.repeaters||{},availableRepeaters:window["TWILL"].STORE.form.availableRepeaters||{}},Ms={repeatersByBlockId:e=>t=>{const i=Object.keys(e.repeaters).filter((e=>e.startsWith("blocks-".concat(t)))),s={};return i.forEach((t=>s[t]=e.repeaters[t])),s}};function Fs(){return Date.now()+Math.floor(1e3*Math.random())}const Us={[a.Yc.ADD_FORM_BLOCK](e,t){const i=t.name,s=t.type,n={},o=e.availableRepeaters[s],a=!e.repeaters[i];if(o)if(n.id=Fs(),n.type=o.component,n.title=o.title,n.twillUi={},n.twillUi.isNew=!0,a){const t={};t[i]=[],t[i].push(n),e.repeaters=Object.assign({},e.repeaters,t)}else e.repeaters[i].push(n)},[a.Yc.ADD_REPEATER_FROM_SELECTION](e,t){const i=t.name,s=t.type,n=e.availableRepeaters[s],o=!e.repeaters[i];if(!n)return;const r={};r[i]=[],t.selection.forEach((t=>{const s={};s.id=Fs(),s.type=n.component,s.title=n.title,s.repeater_target_id=t.id;const l=[];for(const e in t.repeaterFields)t.repeaterFields.hasOwnProperty(e)&&l.push({name:"blocks[".concat(s.id,"][").concat(e,"]"),value:t.repeaterFields[e]});this.commit(a.Yc.ADD_FORM_FIELDS,l),o?r[i].push(s):e.repeaters[i].push(s)})),o&&(e.repeaters=Object.assign({},e.repeaters,r))},[a.Yc.DELETE_FORM_BLOCK](e,t){e.repeaters[t.name].splice(t.index,1)},[a.Yc.DUPLICATE_FORM_BLOCK](e,t){const i=Object.assign({},e.repeaters[t.name][t.index]);i.id=Fs(),i.twillUi={},i.twillUi.isNew=!0,e.repeaters[t.name].splice(t.index+1,0,i);const s=[...Ms.fieldsByBlockId(t.id)],n=[];s.forEach((e=>{n.push({name:e.name.replace(t.id,i.id),value:e.value})})),this.commit(a.Yc.ADD_FORM_FIELDS,n)},[a.Yc.REORDER_FORM_BLOCKS](e,t){const i={};i[t.name]=t.blocks,e.repeaters=Object.assign({},e.repeaters,i)},[a.Yc.ADD_REPEATERS](e,t){let{repeaters:i}=t;e.repeaters=Object.assign({},e.repeaters,i)}},Zs={async[r.ZP.DUPLICATE_REPEATER](e,t){let{state:i,commit:s,getters:n}=e,{editorName:o,block:r,index:l,id:c}=t;const d=Object.assign({},i.repeaters[o][l]);d.id=c,d.twillUi={},d.twillUi.isNew=!0;const u={};u[o]=[...i.repeaters[o]],u[o].splice(l+1,0,d);const p=[...n.fieldsByBlockId(r.id)],h=[];p.forEach((e=>{h.push({name:e.name.replace(r.id,d.id),value:JSON.parse(JSON.stringify(e.value))})})),s(a.Yc.ADD_FORM_FIELDS,h),s(a.Yc.ADD_REPEATERS,{repeaters:u})},async[r.ZP.DUPLICATE_BLOCK](e,t){let{commit:i,getters:s}=e,{block:n,id:o}=t;const r={...s.repeatersByBlockId(n.id)},l=Object.keys(r),c={};l.forEach((e=>c[e.replace(n.id,o)]=[...r[e]]));const d=[];Object.keys(c).forEach((e=>{c[e].forEach(((t,i)=>{const n=Date.now()+Math.floor(1e3*Math.random()),o=[...s.fieldsByBlockId(t.id)];c[e][i]={...c[e][i],id:n},o.forEach((e=>{d.push({name:e.name.replace(t.id,n),value:JSON.parse(JSON.stringify(e.value))})}))}))})),i(a.Yc.ADD_REPEATERS,{repeaters:c}),i(a.Yc.ADD_FORM_FIELDS,d)}};var zs={state:Vs,getters:Ms,mutations:Us,actions:Zs};const Ws={active:window["TWILL"].STORE.parentId||0,all:window["TWILL"].STORE.parents||[]},js={},qs={[a.Lp.UPDATE_PARENT](e,t){e.active=t||0}};var Ys={state:Ws,getters:js,mutations:qs},Gs=i(7224);const Hs={groups:window["TWILL"].STORE.groups||[],groupUserMapping:window["TWILL"].STORE.groupUserMapping||[]};var Ks={state:Hs},Js=i(1483),Xs=i(4084),Qs=i(361),en=i.n(Qs),tn=i(9734),sn=i.n(tn);s["default"].use(ns.Z),s["default"].use(os.Z),o.Z.registerModule("form",hs.Z),o.Z.registerModule("publication",bs),o.Z.registerModule("blocks",Ps),o.Z.registerModule("language",Is.Z),o.Z.registerModule("revision",$s),o.Z.registerModule("browser",Ns.Z),o.Z.registerModule("repeaters",zs),o.Z.registerModule("parents",Ys),o.Z.registerModule("attributes",Gs.Z),o.Z.registerModule("permissions",Ks),s["default"].component("a17-fieldset",p.Z),s["default"].component("a17-publisher",tt),s["default"].component("a17-title-editor",B),s["default"].component("a17-blocks",lt["default"]),s["default"].component("a17-page-nav",rt),s["default"].component("a17-langswitcher",R.Z),s["default"].component("a17-sticky-nav",y),s["default"].component("a17-spinner",Ti.Z),s["default"].component("a17-repeater",gt),s["default"].component("a17-browser",Zt.Z),s["default"].component("a17-connectorfield",Ut),s["default"].component("a17-locationfield",Dt),s["default"].component("a17-overlay",Xt),s["default"].component("a17-previewer",di),s["default"].component("a17-editor",ss),s["default"].component("a17-modal-add",ps),(0,d.Z)(),window["TWILL"].vm=window.vm=new s["default"]({store:o.Z,el:"#app",mixins:[Js.Z,Xs.Z,ls.Z],data:function(){return{unSubscribe:function(){return null},isFormUpdated:!1}},computed:{...(0,n.rn)({loading:e=>e.form.loading,editor:e=>e.blocks.editor,isCustom:e=>e.form.isCustom}),...(0,n.Se)(["getSaveType","isEnabledSubmitOption"])},methods:{submitForm:function(){this.isSubmitPrevented?this.shouldRetrySubmitWhenAllowed=!0:this.loading||(this.isFormUpdated=!1,this.$store.commit(a.Yc.UPDATE_FORM_LOADING,!0),this.unSubscribe(),this.$nextTick((()=>{const e=this.getSaveType||document.activeElement.name;this.isEnabledSubmitOption(e)?this.$store.dispatch(r.ZP.SAVE_FORM,e).then((()=>{this.mutationsSubscribe()})):(this.$store.commit(a.Yc.UPDATE_FORM_LOADING,!1),this.mutationsSubscribe())})))},confirmExit:function(e){if(this.isFormUpdated&&!this.isCustom)return"message";void 0!==window.event?window.event.cancelBubble=!0:e.cancelBubble=!0},mutationsSubscribe:function(){this.unSubscribe=this.$store.subscribe(((e,t)=>{l.d.includes(e.type)&&(this.isFormUpdated=!0,this.unSubscribe())}))},watchForFormUpdates(e,t){const i="form"===e&&("fields"===t||"modalFields"===t),s=this.sortObjectArraysDeep(en()(this.$store.state[e][t]),i);this.$store.watch((i=>i[e][t]),(e=>{const t=this.sortObjectArraysDeep(en()(e),i);this.isFormUpdated=!Et()(s,t),this.$store.commit(a.V1.UPDATE_HAS_UNSAVED_CHANGES,this.isFormUpdated)}),{deep:!0})},sortArrayByFirstKey(e){return sn()(e,(e=>{if("object"===typeof e){const t=Object.keys(e)[0];return e[t]}return e}))},sortObjectArraysDeep(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Array.isArray(e)&&t?e=this.sortArrayByFirstKey(e):Object.keys(e).forEach((i=>{Array.isArray(e[i])?t&&(e[i]=this.sortArrayByFirstKey(e[i])):"object"===typeof e[i]&&(e[i]=this.sortObjectArraysDeep(e[i]))})),e}},mounted:function(){window.onbeforeunload=this.confirmExit,this.$nextTick((()=>{this.watchForFormUpdates("mediaLibrary","selected"),this.watchForFormUpdates("form","fields"),this.watchForFormUpdates("form","modalFields"),this.watchForFormUpdates("blocks","blocks"),this.watchForFormUpdates("browser","selected"),this.watchForFormUpdates("repeaters","repeaters")}))},beforeDestroy:function(){this.unSubscribe()},created:function(){(0,u.Z)()}}),document.addEventListener("DOMContentLoaded",c.Z)}},t={};function i(s){var n=t[s];if(void 0!==n)return n.exports;var o=t[s]={id:s,loaded:!1,exports:{}};return e[s].call(o.exports,o,o.exports,i),o.loaded=!0,o.exports}i.m=e,function(){var e=[];i.O=function(t,s,n,o){if(!s){var a=1/0;for(d=0;d=o)&&Object.keys(i.O).every((function(e){return i.O[e](s[l])}))?s.splice(l--,1):(r=!1,o0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[s,n,o]}}(),function(){i.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(t,{a:t}),t}}(),function(){i.d=function(e,t){for(var s in t)i.o(t,s)&&!i.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})}}(),function(){i.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){i.hmd=function(e){return e=Object.create(e),e.children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e}}(),function(){i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){i.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e}}(),function(){i.j=821}(),function(){var e={821:0};i.O.j=function(t){return 0===e[t]};var t=function(t,s){var n,o,a=s[0],r=s[1],l=s[2],c=0;if(a.some((function(t){return 0!==e[t]}))){for(n in r)i.o(r,n)&&(i.m[n]=r[n]);if(l)var d=l(i)}for(t&&t(s);c=i)&&Object.keys(t.O).every((function(e){return t.O[e](r[c])}))?r.splice(c--,1):(f=!1,i0&&e[l-1][2]>i;l--)e[l]=e[l-1];e[l]=[r,o,i]}}(),function(){t.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(n,{a:n}),n}}(),function(){t.d=function(e,n){for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})}}(),function(){t.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){t.hmd=function(e){return e=Object.create(e),e.children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e}}(),function(){t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}}(),function(){t.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){t.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e}}(),function(){t.j=652}(),function(){var e={652:0};t.O.j=function(n){return 0===e[n]};var n=function(n,r){var o,i,u=r[0],f=r[1],c=r[2],a=0;if(u.some((function(n){return 0!==e[n]}))){for(o in f)t.o(f,o)&&(t.m[o]=f[o]);if(c)var l=c(t)}for(n&&n(r);a1||t.initialMaxPage>t.maxPage&&!t.isEmpty?e("a17-paginate",{attrs:{max:t.maxPage,value:t.page,offset:t.offset,availableOffsets:[t.initialOffset,3*t.initialOffset,6*t.initialOffset]},on:{changePage:t.updatePage,changeOffset:t.updateOffset}}):t._e()],2)]),t.loading?e("a17-spinner",[t._v("Loading…")]):t._e()],1)},f=[],p=a(3279),_=a.n(p),g=a(9980),v=a.n(g),A=a(9082),k=a(4690),D=a(2992),y=function(){var t=this,e=t._self._c;return e("div",{staticClass:"table__scroller",on:{scroll:t.updateScroll}},[e("table",{staticClass:"table",class:{"table--sized":t.columnsWidth.length}},[t.columnsWidth.length?e("colgroup",t._l(t.columnsWidth,(function(a,n){return e("col",{key:n,style:t.colWidths[n]})})),0):t._e(),t._t("default")],2)])},T=[],w={name:"A17Table",props:{xScroll:{type:Number,default:1},columnsWidth:{type:Array,default:function(){return[]}}},data:function(){return{currentScroll:this.xScroll}},computed:{colWidths:function(){return this.columnsWidth.map((function(t){return{width:t?t+"px":""}}))}},watch:{xScroll:function(t){this.currentScroll!==t&&(this.currentScroll=t,this.$el.scrollLeft=t)}},methods:{updateScroll:function(){const t=this.$el.scrollLeft;this.currentScroll!==t&&(this.currentScroll=t,this.$emit("scroll",t))}}},E=w,C=a(1001),P=(0,C.Z)(E,y,T,!1,null,"87d7c0f6",null),L=P.exports,S=function(){var t=this,e=t._self._c;return e("tr",{staticClass:"tablehead"},[t._l(t.columns,(function(a){return e("td",{key:a.name,staticClass:"tablehead__cell f--small",class:t.cellClasses(a),on:{click:function(e){return t.sortColumn(a)}}},[t.isDisplayedColumn(a)?e("span",[t._v(t._s(a.label)+" "),e("span",{staticClass:"tablehead__arrow"},[t._v("↓")])]):t._e(),"bulk"===a.name?e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),e.stopPropagation(),t.toggleBulkSelect()}}},[e("span",[e("a17-checkbox",{class:{"checkbox--minus":t.checkboxMinus},attrs:{name:"bulkAll",value:1,initialValue:t.bulkValue}})],1)]):t._e()])})),e("td",{staticClass:"tablehead__spacer"},[t._v(" ")])],2)},$=[],x={name:"A17Tablehead",props:{sortable:{type:Boolean,default:!0},columns:{type:Array,default:function(){return[]}}},data:function(){return{currentSort:"name",currentDirection:"asc"}},computed:{bulkValue:function(){return this.bulkIds.length?1:0},checkboxMinus:function(){return this.bulkIds.length>0&&this.bulkIds.length!==this.dataIds.length},...(0,h.rn)({bulkIds:t=>t.datatable.bulk,sortKey:t=>t.datatable.sortKey,sortDir:t=>t.datatable.sortDir}),...(0,h.Se)(["dataIds"])},methods:{cellClasses:function(t){return["featured"===t.name||"published"===t.name?"tablehead__cell--icon":"","thumbnail"===t.name?"tablehead__cell--thumb":"","thumbnail"===t.name&&t.variation&&"rounded"===t.variation?"tablehead__cell--thumb-rounded":"","draggable"===t.name?"tablehead__cell--draggable":"","nested"===t.name?"tablehead__cell--nested":"","bulk"===t.name?"tablehead__cell--bulk":"",t.sortable&&this.sortable?"tablehead__cell--sortable":"",t.name===this.sortKey?"tablehead__cell--sorted":"",t.name===this.sortKey&&this.sortDir?"tablehead__cell--sorted".concat(this.sortDir):"",!0===t.shrink?"tablehead__cell--shrink":""]},isDisplayedColumn:function(t){return"draggable"!==t.name&&"featured"!==t.name&&"nested"!==t.name&&"bulk"!==t.name&&"published"!==t.name&&"thumbnail"!==t.name},sortColumn:function(t){t.sortable&&this.sortable&&this.$emit("sortColumn",t)},toggleBulkSelect:function(){const t=this.bulkIds.length?[]:this.dataIds;this.$store.commit(l.yY.REPLACE_DATATABLE_BULK,t)}}},I=x,O=(0,C.Z)(I,S,$,!1,null,"6b55db17",null),U=O.exports,B=function(){var t=this,e=t._self._c;return e("tr",{staticClass:"tablerow"},[t._l(t.columns,(function(a){return e("td",{key:a.name,staticClass:"tablecell",class:t.cellClasses(a,"tablecell"),style:t.nestedStyle(a)},[t.isSpecificColumn(a)?[e(t.currentComponent(a),t._b({tag:"component",attrs:{row:t.row},on:{update:t.tableCellUpdate,editInPlace:t.editInPlace}},"component",t.currentComponentProps(a),!1))]:e("a17-table-cell-generic",t._b({attrs:{row:t.row},on:{editInPlace:t.editInPlace,update:t.tableCellUpdate}},"a17-table-cell-generic",t.currentComponentProps(a),!1))],2)})),e("td",{staticClass:"tablecell tablecell--spacer"},[t._v(" ")]),e("td",{staticClass:"tablecell tablecell--sticky"},[t.row.edit?e("a17-table-cell-actions",t._b({on:{editInPlace:t.editInPlace,update:t.tableCellUpdate,restoreRow:t.restoreRow,destroyRow:t.destroyRow,deleteRow:t.deleteRow,duplicateRow:t.duplicateRow}},"a17-table-cell-actions",t.currentComponentProps(),!1)):t._e()],1)],2)},R=[],M=a(1095),Z={name:"A17Tablerow",mixins:[k.xY],components:{...M.ZP},props:{draggable:{type:Boolean,default:!1},nestedDepth:{type:Number,default:0},rowType:{type:String,default:""}},computed:{nestedOffset(){return this.columns.find((t=>"draggable"===t.name))?10:0}},methods:{nestedStyle(t){return this.columns.find((t=>"nested"===t.name))&&"draggable"===t.name?{"webkit-transform":"translateX(-"+80*this.nestedDepth+"px)",transform:"translateX(-"+80*this.nestedDepth+"px)"}:""}}},F=Z,Y=(0,C.Z)(F,B,R,!1,null,"de97889a",null),N=Y.exports,W={name:"A17Datatable",components:{"a17-table":L,"a17-tablehead":U,"a17-tablerow":N,"a17-paginate":D.Z,"a17-spinner":A.Z,draggable:v()},mixins:[k.BN,k.tD],data:function(){return{handle:".tablecell__handle",reorderable:!this.draggable,xScroll:0,columnsWidth:[]}},computed:{checkboxesColumns:function(){const t=[];return this.hideableColumns.length&&this.hideableColumns.forEach((function(e){t.push({value:e.name,label:e.label})})),t},...(0,h.rn)({page:t=>t.datatable.page,offset:t=>t.datatable.offset,maxPage:t=>t.datatable.maxPage,initialOffset:t=>t.datatable.defaultOffset,initialMaxPage:t=>t.datatable.defaultMaxPage,loading:t=>t.datatable.loading})},methods:{getColumnWidth:function(){const t=this,e=[],a=t.$refs.thead.$el.children;for(let n=0;nt.resize())),t.resize()},disposeEvents:function(){const t=this;window.removeEventListener("resize",t.resize())},updateSort:function(t){t.sortable&&(this.reorderable&&(this.reorderable=!1,this.$store.commit(l.yY.REMOVE_DATATABLE_COLUMN,"draggable")),this.$store.commit(l.yY.UPDATE_DATATABLE_PAGE,1),this.$store.commit(l.yY.UPDATE_DATATABLE_SORT,t),this.$store.dispatch(i.ZP.GET_DATATABLE))},updateOffset:function(t){this.$store.commit(l.yY.UPDATE_DATATABLE_PAGE,1),this.$store.commit(l.yY.UPDATE_DATATABLE_OFFSET,t),this.$store.dispatch(i.ZP.GET_DATATABLE)},updatePage:function(t){t!==this.page&&(this.$store.commit(l.yY.UPDATE_DATATABLE_PAGE,t),this.$store.dispatch(i.ZP.GET_DATATABLE))},updateActiveColumns:function(t){this.$store.commit(l.yY.UPDATE_DATATABLE_VISIBLITY,t),this.$nextTick((function(){this.getColumnWidth()})),this.$store.dispatch(i.ZP.GET_DATATABLE)}},watch:{loading:function(){this.$nextTick((function(){this.getColumnWidth()}))}},beforeMount:function(){function t(t){return"bulk"===t.name}function e(t){return"draggable"===t.name}this.bulkeditable&&(this.columns.find(t)||this.$store.commit(l.yY.ADD_DATATABLE_COLUMN,{index:0,data:{name:"bulk",label:"",visible:!0,optional:!1,sortable:!1}})),this.draggable&&(this.columns.find(e)||this.$store.commit(l.yY.ADD_DATATABLE_COLUMN,{index:0,data:{name:"draggable",label:"",visible:!0,optional:!1,sortable:!1}}))},mounted:function(){this.initEvents()},beforeDestroy:function(){this.disposeEvents()}},K=W,G=(0,C.Z)(K,m,f,!1,null,"2393d05f",null),j=G.exports,V=function(){var t=this,e=t._self._c;return e("div",{staticClass:"nested-datatable"},[e("div",{staticClass:"container"},[e("div",{staticClass:"datatable__table"},[e("a17-table",[e("thead",[e("a17-tablehead",{ref:"thead",attrs:{columns:t.visibleColumns}})],1)])],1)]),e("div",{staticClass:"container"},[e("div",{staticClass:"nested-datatable__table"},[e("a17-nested-list",{attrs:{nested:!0,maxDepth:t.maxDepth,draggable:t.draggable}})],1)])])},z=[],H=function(){var t=this,e=t._self._c;return e("draggable",{staticClass:"nested__dropArea",class:t.nestedDropAreaClasses,attrs:{options:t.draggableOptions,tag:"ul","component-data":t.draggableGetComponentData},model:{value:t.rows,callback:function(e){t.rows=e},expression:"rows"}},t._l(t.rows,(function(a,n){return e("li",{key:t.depth+"-"+a.id,staticClass:"nested-datatable__item",class:t.haveChildren(a.children)},[e("a17-nested-item",{attrs:{index:n,row:a,columns:t.columns}}),a.children&&t.depth[]}},data:function(){return{handle:".tablecell__handle"}},computed:{styleDepth:function(){return{marginLeft:0===this.depth?"0px":"60px"}},rows:{get(){return this.parentId>-1?this.items:this.$store.state.datatable.data},set(t){const e={parentId:this.parentId,val:t},a=this.rows.length!==e.val.length;this.parentId>-1?this.$store.commit(l.yY.UPDATE_DATATABLE_NESTED,e):this.$store.commit(l.yY.UPDATE_DATATABLE_DATA,t),this.saveNewTree(a)}},nestedDropAreaClasses:function(){return[0===this.rows.length?"nested__dropArea--empty":"",this.depth?"nested__dropArea--depth nested__dropArea--depth".concat(Math.min(10,this.depth)):""]},draggableOptions:function(){return{...this.dragOptions,fallbackTolerance:5,group:{name:this.name}}}},methods:{haveChildren:function(t){return{"nested-datatable__item--empty":0===(t||[]).length&&this.deptht.slug===this.navActive));return t.length>0?t[0]:null},...(0,h.rn)({navActive:t=>t.datatable.filter.status})},methods:{filterStatus:function(t){this.navActive!==t&&(this.$store.commit(l.yY.UPDATE_DATATABLE_PAGE,1),this.$store.commit(l.yY.UPDATE_DATATABLE_FILTER_STATUS,t),this.$store.dispatch(i.ZP.GET_DATATABLE))}}},ft=mt,pt=(0,C.Z)(ft,ht,bt,!1,null,null,null),_t=pt.exports,gt=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bulkEditor"},[t.bulkIds.length?e("div",{staticClass:"bulkEditor__inner"},[e("div",{staticClass:"container"},[e("p",{staticClass:"bulkEditor__infos"},[t._v(" "+t._s(t.bulkIds.length)+" "+t._s(t.bulkIds.length>1?t.$trans("listing.bulk-selected-items"):t.$trans("listing.bulk-selected-item"))+" ")]),e("div",{staticClass:"bulkEditor__dropdown"},[e("a17-dropdown",{ref:"bulkActionsDown",attrs:{position:"bottom-left",width:"full",offset:0}},[e("a17-button",{attrs:{variant:"dropdown",size:"small"},on:{click:function(e){return t.$refs.bulkActionsDown.toggle()}}},[t._v(t._s(t.$trans("listing.bulk-actions")))]),e("div",{attrs:{slot:"dropdown__content"},slot:"dropdown__content"},[e("ul",[e("li",[t.bulkPublishable()?e("button",{on:{click:t.bulkPublish}},[t._v(t._s(t.$trans("listing.dropdown.publish")))]):t._e(),t.bulkPublishable(!0)?e("button",{on:{click:t.bulkUnpublish}},[t._v(t._s(t.$trans("listing.dropdown.unpublish")))]):t._e(),t.bulkFeaturable()?e("button",{on:{click:t.bulkFeature}},[t._v(t._s(t.$trans("listing.dropdown.feature")))]):t._e(),t.bulkFeaturable(!0)?e("button",{on:{click:t.bulkUnFeature}},[t._v(t._s(t.$trans("listing.dropdown.unfeature")))]):t._e(),t.bulkDeletable()?e("button",{on:{click:t.bulkDelete}},[t._v(t._s(t.$trans("listing.dropdown.delete")))]):t._e(),t.bulkRestorable()?e("button",{on:{click:t.bulkRestore}},[t._v(t._s(t.$trans("listing.dropdown.restore")))]):t._e(),t.bulkDestroyable()?e("button",{on:{click:t.bulkDestroy}},[t._v(t._s(t.$trans("listing.dropdown.destroy")))]):t._e()])])])],1)],1),e("a17-button",{attrs:{variant:"ghost"},on:{click:t.clearBulkSelect}},[t._v(t._s(t.$trans("listing.bulk-clear")))])],1)]):t._e()])},vt=[],At={name:"A17BulkEditor",computed:{...(0,h.rn)({bulkIds:t=>t.datatable.bulk,bulkStatus:t=>t.datatable.data.filter((e=>t.datatable.bulk.includes(e.id))).reduce(((t,e)=>({featured:t.featured&&(e.featured||!1),canFeature:t.canFeature&&e.hasOwnProperty("featured"),published:t.published&&(e.published||!1),canPublish:t.canPublish&&e.hasOwnProperty("published"),deleted:t.deleted&&(e.deleted||!1),canDelete:t.canDelete&&null!==e.delete,canDestroy:t.canDestroy&&e.hasOwnProperty("destroyable")})),{featured:!0,canFeature:!0,published:!0,canPublish:!0,deleted:!0,canDelete:!0,canDestroy:!0})})},methods:{bulkPublishable:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return""!==window["TWILL"].CMS_URLS.bulkPublish&&this.bulkStatus.canPublish&&(t?this.bulkStatus.published:!this.bulkStatus.published)&&!this.bulkStatus.deleted},bulkFeaturable:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return""!==window["TWILL"].CMS_URLS.bulkFeature&&this.bulkStatus.canFeature&&(t?this.bulkStatus.featured:!this.bulkStatus.featured)&&!this.bulkStatus.deleted},bulkDeletable:function(){return""!==window["TWILL"].CMS_URLS.bulkDelete&&!this.bulkStatus.deleted&&this.bulkStatus.canDelete},bulkRestorable:function(){return""!==window["TWILL"].CMS_URLS.bulkRestore&&this.bulkStatus.deleted},bulkDestroyable:function(){return""!==window["TWILL"].CMS_URLS.bulkDestroy&&this.bulkStatus.deleted&&this.bulkStatus.canDestroy},clearBulkSelect:function(){this.$store.commit(l.yY.REPLACE_DATATABLE_BULK,[])},bulkPublish:function(){this.$store.dispatch(i.ZP.BULK_PUBLISH,{toPublish:!0})},bulkUnpublish:function(){this.$store.dispatch(i.ZP.BULK_PUBLISH,{toPublish:!1})},bulkFeature:function(){this.$store.dispatch(i.ZP.BULK_FEATURE,{toFeature:!0})},bulkUnFeature:function(){this.$store.dispatch(i.ZP.BULK_FEATURE,{toFeature:!1})},bulkExport:function(){this.$store.dispatch(i.ZP.BULK_EXPORT)},bulkDelete:function(){this.$root.$refs.warningDeleteRow?this.$root.$refs.warningDeleteRow.open((()=>{this.$store.dispatch(i.ZP.BULK_DELETE)})):this.$store.dispatch(i.ZP.BULK_DELETE)},bulkRestore:function(){this.$store.dispatch(i.ZP.BULK_RESTORE)},bulkDestroy:function(){this.$root.$refs.warningDestroyRow?this.$root.$refs.warningDestroyRow.open((()=>{this.$store.dispatch(i.ZP.BULK_DESTROY)})):this.$store.dispatch(i.ZP.BULK_DESTROY)}}},kt=At,Dt=(0,C.Z)(kt,gt,vt,!1,null,"7d9e9022",null),yt=Dt.exports,Tt=a(1779),wt=function(){var t=this,e=t._self._c;return e("a17-modal",{ref:"modal",staticClass:"modal--form",attrs:{title:t.modalTitle,forceClose:!0}},[e("form",{attrs:{action:t.actionForm},on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[t._t("default"),e("a17-modal-validation",{ref:"validation",attrs:{mode:t.mode,"is-disable":t.createMode,"active-publish-state":t.withPublicationToggle,"is-publish":t.published,"published-name":"published",textEnabled:t.publishedLabel,textDisabled:t.draftLabel}})],2)])},Et=[],Ct=a(5512),Pt=a(8801),Lt={name:"A17ModalCreate",mixins:[Ct.Z],props:{formCreate:{type:String,default:"#"},publishedLabel:{type:String,default(){return this.$trans("main.published","Live")}},draftLabel:{type:String,default(){return this.$trans("main.draft","Draft")}}},components:{"a17-modal-validation":Pt.Z},computed:{createMode:function(){return"create"===this.mode},actionForm:function(){return this.createMode?this.formCreate:this.action},modalTitle:function(){return this.createMode?this.$trans("modal.create.title","Add new"):this.$trans("modal.update.title","Update")},published:function(){return!this.createMode&&!!this.fieldValueByName("published")},withPublicationToggle:function(){return void 0!==this.columns.find((t=>"published"===t.name))},...(0,h.rn)({action:t=>t.modalEdition.action,mode:t=>t.modalEdition.mode,columns:t=>t.datatable.columns,language:t=>t.language.active}),...(0,h.Se)(["fieldValueByName"])},watch:{language(){this.$refs.validation&&this.$refs.validation.addListeners()}},methods:{open:function(){this.createMode&&this.$store.commit(l.ad.RESET_LANGUAGES),this.$refs.modal.open()},submit:function(){if(this.isSubmitPrevented)return void(this.shouldRetrySubmitWhenAllowed=!0);if(this._isSubmitting)return;this._isSubmitting=!0;const t=this;this.$store.commit(l.Yc.UPDATE_FORM_LOADING,!0);const e=document.activeElement.name;this.$nextTick((function(){this.$store.dispatch(i.ZP.UPDATE_FORM_IN_LISTING,{endpoint:this.actionForm,method:"create"===this.mode?"post":"put",redirect:"create-another"!==e}).then((()=>{t.$refs.modal&&t.$refs.modal.close(),t.$nextTick((function(){"create-another"===e&&t.$refs.modal&&t.$refs.modal.open(),"create"===this.mode&&this.$store.commit(l.yY.UPDATE_DATATABLE_PAGE,1),this.$store.commit(l.Yc.REMOVE_FORM_FIELD,"published"),this.$emit("reload")}))}),(e=>{t.$store.commit(l.qq.SET_NOTIF,{message:"Your submission could not be validated, please fix and retry",variant:"error"})})).finally((()=>{t.$nextTick((function(){t._isSubmitting=!1}))}))}))}}},St=Lt,$t=(0,C.Z)(St,wt,Et,!1,null,null,null),xt=$t.exports,It=a(366),Ot=a(6625),Ut=a(890);const Bt={action:"#",mode:"create"},Rt={},Mt={[l.DF.UPDATE_MODAL_ACTION](t,e){t.action=e},[l.DF.UPDATE_MODAL_MODE](t,e){t.mode=e}};var Zt={state:Bt,getters:Rt,mutations:Mt},Ft=a(7224),Yt=a(1607);n["default"].use(d.Z),n["default"].use(c.Z),s.Z.registerModule("datatable",It.Z),s.Z.registerModule("language",Ot.Z),s.Z.registerModule("form",Ut.Z),s.Z.registerModule("modalEdition",Zt),s.Z.registerModule("attributes",Ft.Z),(0,r.Z)(),window["TWILL"].vm=window.vm=new n["default"]({store:s.Z,el:"#app",components:{"a17-fieldset":b.Z,"a17-filter":ct.Z,"a17-table-filters":_t,"a17-datatable":j,"a17-nested-datatable":dt,"a17-bulk":yt,"a17-langmanager":Tt.Z,"a17-modal-create":xt},mixins:[k.dx],computed:{hasBulkIds:function(){return this.bulkIds.length>0},...(0,h.rn)({localStorageKey:t=>t.datatable.localStorageKey,baseUrl:t=>t.datatable.baseUrl,bulkIds:t=>t.datatable.bulk})},methods:{create:function(){this.$refs.editionModal&&(this.$store.commit(l.DF.UPDATE_MODAL_ACTION,""),this.$store.commit(l.DF.UPDATE_MODAL_MODE,"create"),this.$store.commit(l.Yc.EMPTY_FORM_FIELDS),this.$refs.editionModal.open())},reloadDatas:function(){this.$store.dispatch(i.ZP.GET_DATATABLE)},clearFiltersAndReloadDatas:function(){this.$store.commit(l.yY.UPDATE_DATATABLE_PAGE,1),this.$store.commit(l.yY.CLEAR_DATATABLE_FILTER),Object.keys(this.$refs).filter((t=>0===t.indexOf("filterDropdown["))).map((t=>this.$refs[t].updateValue())),this.reloadDatas()},filterListing:function(t){const e=this;this.$store.commit(l.yY.UPDATE_DATATABLE_PAGE,1),this.$store.commit(l.yY.UPDATE_DATATABLE_FILTER,t||{search:""}),this.$nextTick((function(){e.reloadDatas()}))}},mounted:function(){window["TWILL"].openCreate&&this.create()},created:function(){(0,u.Z)();let t=!1;const e=(0,Yt.cF)(this.localStorageKey+"_page-offset");e&&(this.$store.commit(l.yY.UPDATE_DATATABLE_OFFSET,parseInt(e)),t=!0);const a=(0,Yt.cF)(this.localStorageKey+"_columns-visible");a&&(this.$store.commit(l.yY.UPDATE_DATATABLE_VISIBLITY,JSON.parse(a)),t=!0),t&&this.reloadDatas()}}),document.addEventListener("DOMContentLoaded",o.Z)},1607:function(t,e,a){function n(){const t="test";try{return localStorage.setItem(t,t),localStorage.removeItem(t),!0}catch(e){return!1}}function s(t,e){const a="";window.TWILL.debug||(n()?localStorage.setItem(t,e):document.cookie=t+"="+e+a+"; path=/")}function l(t){if(window.TWILL.debug)return null;if(n())return localStorage.getItem(t);{const e=t+"=",a=document.cookie.split(";");for(let t=0;t=l)&&Object.keys(a.O).every((function(t){return a.O[t](n[r])}))?n.splice(r--,1):(o=!1,l0&&t[d-1][2]>l;d--)t[d]=t[d-1];t[d]=[n,s,l]}}(),function(){a.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return a.d(e,{a:e}),e}}(),function(){a.d=function(t,e){for(var n in e)a.o(e,n)&&!a.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}}(),function(){a.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){a.hmd=function(t){return t=Object.create(t),t.children||(t.children=[]),Object.defineProperty(t,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+t.id)}}),t}}(),function(){a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){a.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}}(),function(){a.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t}}(),function(){a.j=236}(),function(){var t={236:0};a.O.j=function(e){return 0===t[e]};var e=function(e,n){var s,l,i=n[0],o=n[1],r=n[2],u=0;if(i.some((function(e){return 0!==t[e]}))){for(s in o)a.o(o,s)&&(a.m[s]=o[s]);if(r)var d=r(a)}for(e&&e(n);u