wiki.philbendeck.com Open in urlscan Pro
136.28.86.103  Public Scan

URL: https://wiki.philbendeck.com/_assets/js/ui-extra.js?1716156900
Submission: On August 20 via api from US — Scanned from CA

Form analysis 0 forms found in the DOM

Text Content

/*! Wiki.js - wiki.js.org - Licensed under AGPL */
(this.webpackJsonp=this.webpackJsonp||[]).push([["ui-extra"],{"./client/components/common/loader.vue":function(e,t,s){"use strict";s.r(t);var i=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("v-dialog",{attrs:{persistent:"","max-width":"350","overlay-color":e.color,"overlay-opacity":".7"},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}},[s("v-card",{staticClass:"loader-dialog radius-7",attrs:{color:e.color,dark:""}},[s("v-card-text",{staticClass:"text-center py-4"},["loading"===e.mode?s("atom-spinner",{staticClass:"is-inline",attrs:{"animation-duration":1e3,size:60,color:"#FFF"}}):"icon"===e.mode?s("img",{attrs:{src:"/_assets/svg/icon-"+e.icon+".svg",alt:e.icon}}):e._e(),s("div",{staticClass:"subtitle-1 white--text"},[e._v(e._s(e.title))]),s("div",{staticClass:"caption"},[e._v(e._s(e.subtitle))])],1)],1)],1)};i._withStripped=!0;var o={components:{AtomSpinner:s("./node_modules/epic-spinners/src/lib.js").a},props:{value:{type:Boolean,default:!1},color:{type:String,default:"blue darken-3"},title:{type:String,default:"Working..."},subtitle:{type:String,default:"Please wait"},mode:{type:String,default:"loading"},icon:{type:String,default:"checkmark"}}},n=(s("./client/components/common/loader.vue?vue&type=style&index=0&lang=scss&"),s("./node_modules/vue-loader/lib/runtime/componentNormalizer.js")),l=s("./node_modules/vuetify-loader/lib/runtime/installComponents.js"),d=s.n(l),r=s("./node_modules/vuetify/lib/components/VCard/VCard.js"),a=s("./node_modules/vuetify/lib/components/VCard/index.js"),c=s("./node_modules/vuetify/lib/components/VDialog/VDialog.js"),u=Object(n.a)(o,i,[],!1,null,null,null);d()(u,{VCard:r.a,VCardText:a.b,VDialog:c.a}),u.options.__file="client/components/common/loader.vue";t.default=u.exports},"./client/components/common/loader.vue?vue&type=style&index=0&lang=scss&":function(e,t,s){"use strict";s("./node_modules/cache-loader/dist/cjs.js?!./node_modules/style-loader/dist/cjs.js!./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/components/common/loader.vue?vue&type=style&index=0&lang=scss&")},"./client/components/common/page-selector.vue":function(e,t,s){"use strict";s.r(t);var i=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("v-dialog",{attrs:{"max-width":"850px","overlay-color":"blue darken-4","overlay-opacity":".7"},model:{value:e.isShown,callback:function(t){e.isShown=t},expression:"isShown"}},[s("v-card",{staticClass:"page-selector"},[s("div",{staticClass:"dialog-header is-blue"},[s("v-icon",{staticClass:"mr-3",attrs:{color:"white"}},[e._v("mdi-page-next-outline")]),"create"===e.mode?s("div",{staticClass:"body-1"},[e._v(e._s(e.$t("common:pageSelector.createTitle")))]):"move"===e.mode?s("div",{staticClass:"body-1"},[e._v(e._s(e.$t("common:pageSelector.moveTitle")))]):"select"===e.mode?s("div",{staticClass:"body-1"},[e._v(e._s(e.$t("common:pageSelector.selectTitle")))]):e._e(),s("v-spacer"),s("v-progress-circular",{directives:[{name:"show",rawName:"v-show",value:e.searchLoading,expression:"searchLoading"}],attrs:{indeterminate:"",color:"white",size:20,width:2}})],1),s("div",{staticClass:"d-flex"},[s("v-flex",{staticClass:"grey",class:e.$vuetify.theme.dark?"darken-4":"lighten-3",attrs:{xs5:""}},[s("v-toolbar",{attrs:{color:"grey darken-3",dark:"",dense:"",flat:""}},[s("div",{staticClass:"body-2"},[e._v(e._s(e.$t("common:pageSelector.virtualFolders")))]),s("v-spacer"),s("v-btn",{attrs:{icon:"",tile:"",href:"https://docs.requarks.io/guide/pages#folders",target:"_blank"}},[s("v-icon",[e._v("mdi-help-box")])],1)],1),s("div",{staticStyle:{height:"400px"}},[s("vue-scroll",{attrs:{ops:e.scrollStyle}},[s("v-treeview",{key:"pageTree-"+e.treeViewCacheId,attrs:{active:e.currentNode,open:e.openNodes,items:e.tree,"load-children":e.fetchFolders,dense:"","expand-icon":"mdi-menu-down-outline","item-id":"path","item-text":"title",activatable:"",hoverable:""},on:{"update:active":function(t){e.currentNode=t},"update:open":function(t){e.openNodes=t}},scopedSlots:e._u([{key:"prepend",fn:function(t){t.item;var i=t.open;t.leaf;return[s("v-icon",[e._v("mdi-"+e._s(i?"folder-open":"folder"))])]}}])})],1)],1)],1),s("v-flex",{attrs:{xs7:""}},[s("v-toolbar",{attrs:{color:"blue darken-2",dark:"",dense:"",flat:""}},[s("div",{staticClass:"body-2"},[e._v(e._s(e.$t("common:pageSelector.pages")))])]),e.currentPages.length>0?s("div",{staticStyle:{height:"400px"}},[s("vue-scroll",{attrs:{ops:e.scrollStyle}},[s("v-list",{staticClass:"py-0",attrs:{dense:""}},[s("v-list-item-group",{attrs:{color:"primary"},model:{value:e.currentPage,callback:function(t){e.currentPage=t},expression:"currentPage"}},[e._l(e.currentPages,(function(t,i){return[s("v-list-item",{key:"page-"+t.id,attrs:{value:t}},[s("v-list-item-icon",[s("v-icon",[e._v("mdi-text-box")])],1),s("v-list-item-title",[e._v(e._s(t.title))])],1),i<e.pages.length-1?s("v-divider"):e._e()]}))],2)],1)],1)],1):s("v-alert",{staticClass:"animated fadeIn",attrs:{text:"",color:"orange",prominent:"",icon:"mdi-alert"}},[s("div",{staticClass:"body-2"},[e._v(e._s(e.$t("common:pageSelector.folderEmptyWarning")))])])],1)],1),e.mustExist?e._e():s("v-card-actions",{staticClass:"grey pa-2",class:e.$vuetify.theme.dark?"darken-2":"lighten-1"},[s("v-select",{staticStyle:{flex:"0 0 100px","border-radius":"4px 0 0 4px"},attrs:{solo:"",dark:"",flat:"","background-color":"grey darken-3-d2","hide-details":"","single-line":"",items:e.namespaces},model:{value:e.currentLocale,callback:function(t){e.currentLocale=t},expression:"currentLocale"}}),s("v-text-field",{ref:"pathIpt",staticStyle:{"border-radius":"0 4px 4px 0"},attrs:{solo:"","hide-details":"",prefix:"/",flat:"",clearable:""},model:{value:e.currentPath,callback:function(t){e.currentPath=t},expression:"currentPath"}})],1),s("v-card-chin",[s("v-spacer"),s("v-btn",{attrs:{text:""},on:{click:e.close}},[e._v(e._s(e.$t("common:actions.cancel")))]),s("v-btn",{staticClass:"px-4",attrs:{color:"primary",disabled:!e.isValidPath},on:{click:e.open}},[s("v-icon",{attrs:{left:""}},[e._v("mdi-check")]),s("span",[e._v(e._s(e.$t("common:actions.select")))])],1)],1)],1)],1)};i._withStripped=!0;var o=s("./node_modules/lodash/unionBy.js"),n=s.n(o),l=s("./node_modules/lodash/isEmpty.js"),d=s.n(l),r=s("./node_modules/lodash/last.js"),a=s.n(r),c=s("./node_modules/lodash/get.js"),u=s.n(c),h=s("./node_modules/lodash/compact.js"),m=s.n(h),v=s("./node_modules/lodash/find.js"),p=s.n(v),g=s("./node_modules/lodash/delay.js"),_=s.n(g),f=s("./node_modules/lodash/some.js"),b=s.n(f),y=s("./node_modules/lodash/head.js"),j=s.n(y),w=s("./node_modules/lodash/filter.js"),x=s.n(w),k=s("./node_modules/lodash/sortBy.js"),C=s.n(k);const S=/^[A-Z]{2}(-[A-Z]{2})?$/i;var V={props:{value:{type:Boolean,default:!1},path:{type:String,default:"new-page"},locale:{type:String,default:"en"},mode:{type:String,default:"create"},openHandler:{type:Function,default:()=>{}},mustExist:{type:Boolean,default:!1}},data:()=>({treeViewCacheId:0,searchLoading:!1,currentLocale:siteConfig.lang,currentFolderPath:"",currentPath:"new-page",currentPage:null,currentNode:[0],openNodes:[0],tree:[{id:0,title:"/ (root)",children:[]}],pages:[],all:[],namespaces:siteLangs.length?siteLangs.map(e=>e.code):[siteConfig.lang],scrollStyle:{vuescroll:{},scrollPanel:{initialScrollX:.01,scrollingX:!1,speed:50},rail:{gutterOfEnds:"2px"},bar:{onlyShowBarOnScroll:!1,background:"#999",hoverStyle:{background:"#64B5F6"}}}}),computed:{isShown:{get(){return this.value},set(e){this.$emit("input",e)}},currentPages(){return C()(x()(this.pages,["parent",j()(this.currentNode)||0]),["title","path"])},isValidPath(){if(!this.currentPath)return!1;if(this.mustExist&&!this.currentPage)return!1;const e=j()(this.currentPath.split("/"));return!(e.length<=1)&&(!S.test(e)&&!b()(["login","logout","register","verify","favicons","fonts","img","js","svg"],t=>t===e))}},watch:{isShown(e,t){e&&!t&&(this.currentPath=this.path,this.currentLocale=this.locale,_()(()=>{this.$refs.pathIpt.focus()}))},currentNode(e,t){if(e.length<1)this.$nextTick(()=>{this.currentNode=t});else{const t=p()(this.all,["id",e[0]]);this.openNodes.indexOf(e[0])<0&&(t&&this.openNodes.indexOf(t.parent)<0&&this.$nextTick(()=>{this.openNodes.push(t.parent)}),this.$nextTick(()=>{this.openNodes.push(e[0])})),this.currentPath=m()([u()(t,"path",""),a()(this.currentPath.split("/"))]).join("/")}},currentPage(e,t){d()(e)||(this.currentPath=e.path)},currentLocale(e,t){this.$nextTick(()=>{this.tree=[{id:0,title:"/ (root)",children:[]}],this.currentNode=[0],this.openNodes=[0],this.pages=[],this.all=[],this.treeViewCacheId+=1})}},methods:{close(){this.isShown=!1},open(){!1!==this.openHandler({locale:this.currentLocale,path:this.currentPath,id:this.mustExist&&this.currentPage?this.currentPage.pageId:0})&&this.close()},async fetchFolders(e){this.searchLoading=!0;const t=await this.$apollo.query({query:{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"parent"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"mode"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"PageTreeMode"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"locale"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pages"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tree"},arguments:[{kind:"Argument",name:{kind:"Name",value:"parent"},value:{kind:"Variable",name:{kind:"Name",value:"parent"}}},{kind:"Argument",name:{kind:"Name",value:"mode"},value:{kind:"Variable",name:{kind:"Name",value:"mode"}}},{kind:"Argument",name:{kind:"Name",value:"locale"},value:{kind:"Variable",name:{kind:"Name",value:"locale"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isFolder"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pageId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"parent"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:346,source:{body:"\n          query ($parent: Int!, $mode: PageTreeMode!, $locale: String!) {\n            pages {\n              tree(parent: $parent, mode: $mode, locale: $locale) {\n                id\n                path\n                title\n                isFolder\n                pageId\n                parent\n              }\n            }\n          }\n        ",name:"GraphQL request",locationOffset:{line:1,column:1}}}},fetchPolicy:"network-only",variables:{parent:e.id,mode:"ALL",locale:this.currentLocale}}),s=u()(t,"data.pages.tree",[]),i=x()(s,["isFolder",!0]).map(e=>({...e,children:[]})),o=x()(s,e=>e.pageId>0);i.length>0?e.children=i:e.children=void 0,this.pages=n()(this.pages,o,"id"),this.all=n()(this.all,s,"id"),this.searchLoading=!1}}},I=(s("./client/components/common/page-selector.vue?vue&type=style&index=0&lang=scss&"),s("./node_modules/vue-loader/lib/runtime/componentNormalizer.js")),L=s("./node_modules/vuetify-loader/lib/runtime/installComponents.js"),O=s.n(L),P=s("./node_modules/vuetify/lib/components/VAlert/VAlert.js"),N=s("./node_modules/vuetify/lib/components/VBtn/VBtn.js"),$=s("./node_modules/vuetify/lib/components/VCard/VCard.js"),T=s("./node_modules/vuetify/lib/components/VCard/index.js"),A=s("./node_modules/vuetify/lib/components/VDialog/VDialog.js"),q=s("./node_modules/vuetify/lib/components/VDivider/VDivider.js"),F=s("./node_modules/vuetify/lib/components/VGrid/VFlex.js"),D=s("./node_modules/vuetify/lib/components/VIcon/VIcon.js"),E=s("./node_modules/vuetify/lib/components/VList/VList.js"),R=s("./node_modules/vuetify/lib/components/VList/VListItem.js"),B=s("./node_modules/vuetify/lib/components/VList/VListItemGroup.js"),U=s("./node_modules/vuetify/lib/components/VList/VListItemIcon.js"),K=s("./node_modules/vuetify/lib/components/VList/index.js"),z=s("./node_modules/vuetify/lib/components/VProgressCircular/VProgressCircular.js"),H=s("./node_modules/vuetify/lib/components/VSelect/VSelect.js"),W=s("./node_modules/vuetify/lib/components/VGrid/VSpacer.js"),M=s("./node_modules/vuetify/lib/components/VTextField/VTextField.js"),G=s("./node_modules/vuetify/lib/components/VToolbar/VToolbar.js"),X=(s("./node_modules/vuetify/src/components/VTreeview/VTreeview.sass"),s("./node_modules/vuetify/lib/components/transitions/index.js")),J=s("./node_modules/vuetify/lib/mixins/registrable/index.js"),Q=s("./node_modules/vuetify/lib/mixins/colorable/index.js"),Y=s("./node_modules/vuetify/lib/util/mixins.js"),Z=s("./node_modules/vuetify/lib/util/helpers.js");const ee=Object(Y.a)(Q.a,Object(J.a)("treeview")),te={activatable:Boolean,activeClass:{type:String,default:"v-treeview-node--active"},color:{type:String,default:"primary"},expandIcon:{type:String,default:"$subgroup"},indeterminateIcon:{type:String,default:"$checkboxIndeterminate"},itemChildren:{type:String,default:"children"},itemDisabled:{type:String,default:"disabled"},itemKey:{type:String,default:"id"},itemText:{type:String,default:"name"},loadChildren:Function,loadingIcon:{type:String,default:"$loading"},offIcon:{type:String,default:"$checkboxOff"},onIcon:{type:String,default:"$checkboxOn"},openOnClick:Boolean,rounded:Boolean,selectable:Boolean,selectedColor:{type:String,default:"accent"},shaped:Boolean,transition:Boolean,selectionType:{type:String,default:"leaf",validator:e=>["leaf","independent"].includes(e)}},se=ee.extend().extend({name:"v-treeview-node",inject:{treeview:{default:null}},props:{level:Number,item:{type:Object,default:()=>null},parentIsDisabled:Boolean,...te},data:()=>({hasLoaded:!1,isActive:!1,isIndeterminate:!1,isLoading:!1,isOpen:!1,isSelected:!1}),computed:{disabled(){return Object(Z.q)(this.item,this.itemDisabled)||this.parentIsDisabled&&"leaf"===this.selectionType},key(){return Object(Z.q)(this.item,this.itemKey)},children(){const e=Object(Z.q)(this.item,this.itemChildren);return e&&e.filter(e=>!this.treeview.isExcluded(Object(Z.q)(e,this.itemKey)))},text(){return Object(Z.q)(this.item,this.itemText)},scopedProps(){return{item:this.item,leaf:!this.children,selected:this.isSelected,indeterminate:this.isIndeterminate,active:this.isActive,open:this.isOpen}},computedIcon(){return this.isIndeterminate?this.indeterminateIcon:this.isSelected?this.onIcon:this.offIcon},hasChildren(){return!(!this.children||!this.children.length&&!this.loadChildren)}},created(){this.treeview.register(this)},beforeDestroy(){this.treeview.unregister(this)},methods:{checkChildren(){return new Promise(e=>{if(!this.children||this.children.length||!this.loadChildren||this.hasLoaded)return e();this.isLoading=!0,e(this.loadChildren(this.item))}).then(()=>{this.isLoading=!1,this.hasLoaded=!0})},open(){this.isOpen=!this.isOpen,this.treeview.updateOpen(this.key,this.isOpen),this.treeview.emitOpen()},genLabel(){const e=[];return this.$scopedSlots.label?e.push(this.$scopedSlots.label(this.scopedProps)):e.push(this.text),this.$createElement("div",{slot:"label",staticClass:"v-treeview-node__label"},e)},genPrependSlot(){return this.$scopedSlots.prepend?this.$createElement("div",{staticClass:"v-treeview-node__prepend"},this.$scopedSlots.prepend(this.scopedProps)):null},genAppendSlot(){return this.$scopedSlots.append?this.$createElement("div",{staticClass:"v-treeview-node__append"},this.$scopedSlots.append(this.scopedProps)):null},genContent(){const e=[this.genPrependSlot(),this.genLabel(),this.genAppendSlot()];return this.$createElement("div",{staticClass:"v-treeview-node__content"},e)},genToggle(){return this.$createElement(D.a,{staticClass:"v-treeview-node__toggle",class:{"v-treeview-node__toggle--open":this.isOpen,"v-treeview-node__toggle--loading":this.isLoading},slot:"prepend",on:{click:e=>{e.stopPropagation(),this.isLoading||this.checkChildren().then(()=>this.open())}}},[this.isLoading?this.loadingIcon:this.expandIcon])},genCheckbox(){return this.$createElement(D.a,{staticClass:"v-treeview-node__checkbox",props:{color:this.isSelected||this.isIndeterminate?this.selectedColor:void 0,disabled:this.disabled},on:{click:e=>{e.stopPropagation(),this.isLoading||this.checkChildren().then(()=>{this.$nextTick(()=>{this.isSelected=!this.isSelected,this.isIndeterminate=!1,this.treeview.updateSelected(this.key,this.isSelected),this.treeview.emitSelected()})})}}},[this.computedIcon])},genLevel(e){return Object(Z.i)(e).map(()=>this.$createElement("div",{staticClass:"v-treeview-node__level"}))},genNode(){const e=[this.genContent()];return this.selectable&&e.unshift(this.genCheckbox()),this.hasChildren?e.unshift(this.genToggle()):e.unshift(...this.genLevel(1)),e.unshift(...this.genLevel(this.level)),this.$createElement("div",this.setTextColor(this.isActive&&this.color,{staticClass:"v-treeview-node__root",class:{[this.activeClass]:this.isActive},on:{click:()=>{this.openOnClick&&this.hasChildren?this.checkChildren().then(this.open):this.activatable&&!this.disabled&&(this.isActive=!this.isActive,this.treeview.updateActive(this.key,this.isActive),this.treeview.emitActive())}}}),e)},genChild(e,t){return this.$createElement(se,{key:Object(Z.q)(e,this.itemKey),props:{activatable:this.activatable,activeClass:this.activeClass,item:e,selectable:this.selectable,selectedColor:this.selectedColor,color:this.color,expandIcon:this.expandIcon,indeterminateIcon:this.indeterminateIcon,offIcon:this.offIcon,onIcon:this.onIcon,loadingIcon:this.loadingIcon,itemKey:this.itemKey,itemText:this.itemText,itemDisabled:this.itemDisabled,itemChildren:this.itemChildren,loadChildren:this.loadChildren,transition:this.transition,openOnClick:this.openOnClick,rounded:this.rounded,shaped:this.shaped,level:this.level+1,selectionType:this.selectionType,parentIsDisabled:t},scopedSlots:this.$scopedSlots})},genChildrenWrapper(){if(!this.isOpen||!this.children)return null;const e=[this.children.map(e=>this.genChild(e,this.disabled))];return this.$createElement("div",{staticClass:"v-treeview-node__children"},e)},genTransition(){return this.$createElement(X.a,[this.genChildrenWrapper()])}},render(e){const t=[this.genNode()];return this.transition?t.push(this.genTransition()):t.push(this.genChildrenWrapper()),e("div",{staticClass:"v-treeview-node",class:{"v-treeview-node--leaf":!this.hasChildren,"v-treeview-node--click":this.openOnClick,"v-treeview-node--disabled":this.disabled,"v-treeview-node--rounded":this.rounded,"v-treeview-node--shaped":this.shaped,"v-treeview-node--selected":this.isSelected},attrs:{"aria-expanded":String(this.isOpen)}},t)}});var ie=se,oe=s("./node_modules/vuetify/lib/mixins/themeable/index.js"),ne=s("./node_modules/vuetify/lib/util/console.js");function le(e,t,s){return Object(Z.q)(e,s).toLocaleLowerCase().indexOf(t.toLocaleLowerCase())>-1}function de(e,t,s,i,o,n,l){if(e(t,s,o))return!0;const d=Object(Z.q)(t,n);if(d){let t=!1;for(let r=0;r<d.length;r++)de(e,d[r],s,i,o,n,l)&&(t=!0);if(t)return!0}return l.add(Object(Z.q)(t,i)),!1}var re=Object(Y.a)(Object(J.b)("treeview"),oe.a).extend({name:"v-treeview",provide(){return{treeview:this}},props:{active:{type:Array,default:()=>[]},dense:Boolean,filter:Function,hoverable:Boolean,items:{type:Array,default:()=>[]},multipleActive:Boolean,open:{type:Array,default:()=>[]},openAll:Boolean,returnObject:{type:Boolean,default:!1},search:String,value:{type:Array,default:()=>[]},...te},data:()=>({level:-1,activeCache:new Set,nodes:{},openCache:new Set,selectedCache:new Set}),computed:{excludedItems(){const e=new Set;if(!this.search)return e;for(let t=0;t<this.items.length;t++)de(this.filter||le,this.items[t],this.search,this.itemKey,this.itemText,this.itemChildren,e);return e}},watch:{items:{handler(){const e=Object.keys(this.nodes).map(e=>Object(Z.q)(this.nodes[e].item,this.itemKey)),t=this.getKeys(this.items),s=Object(Z.c)(t,e);if(!s.length&&t.length<e.length)return;s.forEach(e=>delete this.nodes[e]);const i=[...this.selectedCache];this.selectedCache=new Set,this.activeCache=new Set,this.openCache=new Set,this.buildTree(this.items),Object(Z.k)(i,[...this.selectedCache])||this.emitSelected()},deep:!0},active(e){this.handleNodeCacheWatcher(e,this.activeCache,this.updateActive,this.emitActive)},value(e){this.handleNodeCacheWatcher(e,this.selectedCache,this.updateSelected,this.emitSelected)},open(e){this.handleNodeCacheWatcher(e,this.openCache,this.updateOpen,this.emitOpen)}},created(){const e=e=>this.returnObject?Object(Z.q)(e,this.itemKey):e;this.buildTree(this.items);for(const t of this.value.map(e))this.updateSelected(t,!0,!0);for(const t of this.active.map(e))this.updateActive(t,!0)},mounted(){(this.$slots.prepend||this.$slots.append)&&Object(ne.c)("The prepend and append slots require a slot-scope attribute",this),this.openAll?this.updateAll(!0):(this.open.forEach(e=>this.updateOpen(this.returnObject?Object(Z.q)(e,this.itemKey):e,!0)),this.emitOpen())},methods:{updateAll(e){Object.keys(this.nodes).forEach(t=>this.updateOpen(Object(Z.q)(this.nodes[t].item,this.itemKey),e)),this.emitOpen()},getKeys(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];for(let s=0;s<e.length;s++){const i=Object(Z.q)(e[s],this.itemKey);t.push(i);const o=Object(Z.q)(e[s],this.itemChildren);o&&t.push(...this.getKeys(o))}return t},buildTree(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;for(let s=0;s<e.length;s++){const i=e[s],o=Object(Z.q)(i,this.itemKey),n=Object(Z.q)(i,this.itemChildren,[]),l=this.nodes.hasOwnProperty(o)?this.nodes[o]:{isSelected:!1,isIndeterminate:!1,isActive:!1,isOpen:!1,vnode:null},d={vnode:l.vnode,parent:t,children:n.map(e=>Object(Z.q)(e,this.itemKey)),item:i};if(this.buildTree(n,o),!this.nodes.hasOwnProperty(o)&&null!==t&&this.nodes.hasOwnProperty(t)?d.isSelected=this.nodes[t].isSelected:(d.isSelected=l.isSelected,d.isIndeterminate=l.isIndeterminate),d.isActive=l.isActive,d.isOpen=l.isOpen,this.nodes[o]=d,n.length){const{isSelected:e,isIndeterminate:t}=this.calculateState(o,this.nodes);d.isSelected=e,d.isIndeterminate=t}!this.nodes[o].isSelected||"independent"!==this.selectionType&&0!==d.children.length||this.selectedCache.add(o),this.nodes[o].isActive&&this.activeCache.add(o),this.nodes[o].isOpen&&this.openCache.add(o),this.updateVnodeState(o)}},calculateState(e,t){const s=t[e].children,i=s.reduce((e,s)=>(e[0]+=+Boolean(t[s].isSelected),e[1]+=+Boolean(t[s].isIndeterminate),e),[0,0]),o=!!s.length&&i[0]===s.length;return{isSelected:o,isIndeterminate:!o&&(i[0]>0||i[1]>0)}},emitOpen(){this.emitNodeCache("update:open",this.openCache)},emitSelected(){this.emitNodeCache("input",this.selectedCache)},emitActive(){this.emitNodeCache("update:active",this.activeCache)},emitNodeCache(e,t){this.$emit(e,this.returnObject?[...t].map(e=>this.nodes[e].item):[...t])},handleNodeCacheWatcher(e,t,s,i){e=this.returnObject?e.map(e=>Object(Z.q)(e,this.itemKey)):e;const o=[...t];Object(Z.k)(o,e)||(o.forEach(e=>s(e,!1)),e.forEach(e=>s(e,!0)),i())},getDescendants(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const s=this.nodes[e].children;t.push(...s);for(let e=0;e<s.length;e++)t=this.getDescendants(s[e],t);return t},getParents(e){let t=this.nodes[e].parent;const s=[];for(;null!==t;)s.push(t),t=this.nodes[t].parent;return s},register(e){const t=Object(Z.q)(e.item,this.itemKey);this.nodes[t].vnode=e,this.updateVnodeState(t)},unregister(e){const t=Object(Z.q)(e.item,this.itemKey);this.nodes[t]&&(this.nodes[t].vnode=null)},isParent(e){return this.nodes[e].children&&this.nodes[e].children.length},updateActive(e,t){if(!this.nodes.hasOwnProperty(e))return;this.multipleActive||this.activeCache.forEach(e=>{this.nodes[e].isActive=!1,this.updateVnodeState(e),this.activeCache.delete(e)});const s=this.nodes[e];s&&(t?this.activeCache.add(e):this.activeCache.delete(e),s.isActive=t,this.updateVnodeState(e))},updateSelected(e,t){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!this.nodes.hasOwnProperty(e))return;const i=new Map;if("independent"!==this.selectionType){for(const o of this.getDescendants(e))Object(Z.q)(this.nodes[o].item,this.itemDisabled)&&!s||(this.nodes[o].isSelected=t,this.nodes[o].isIndeterminate=!1,i.set(o,t));const o=this.calculateState(e,this.nodes);this.nodes[e].isSelected=t,this.nodes[e].isIndeterminate=o.isIndeterminate,i.set(e,t);for(const t of this.getParents(e)){const e=this.calculateState(t,this.nodes);this.nodes[t].isSelected=e.isSelected,this.nodes[t].isIndeterminate=e.isIndeterminate,i.set(t,e.isSelected)}}else this.nodes[e].isSelected=t,this.nodes[e].isIndeterminate=!1,i.set(e,t);for(const[e,t]of i.entries())this.updateVnodeState(e),"leaf"===this.selectionType&&this.isParent(e)||(!0===t?this.selectedCache.add(e):this.selectedCache.delete(e))},updateOpen(e,t){if(!this.nodes.hasOwnProperty(e))return;const s=this.nodes[e],i=Object(Z.q)(s.item,this.itemChildren);i&&!i.length&&s.vnode&&!s.vnode.hasLoaded?s.vnode.checkChildren().then(()=>this.updateOpen(e,t)):i&&i.length&&(s.isOpen=t,s.isOpen?this.openCache.add(e):this.openCache.delete(e),this.updateVnodeState(e))},updateVnodeState(e){const t=this.nodes[e];t&&t.vnode&&(t.vnode.isSelected=t.isSelected,t.vnode.isIndeterminate=t.isIndeterminate,t.vnode.isActive=t.isActive,t.vnode.isOpen=t.isOpen)},isExcluded(e){return!!this.search&&this.excludedItems.has(e)}},render(e){const t=this.items.length?this.items.filter(e=>!this.isExcluded(Object(Z.q)(e,this.itemKey))).map(e=>ie.options.methods.genChild.bind(this)(e,Object(Z.q)(e,this.itemDisabled))):this.$slots.default;return e("div",{staticClass:"v-treeview",class:{"v-treeview--hoverable":this.hoverable,"v-treeview--dense":this.dense,...this.themeClasses}},t)}}),ae=Object(I.a)(V,i,[],!1,null,null,null);O()(ae,{VAlert:P.a,VBtn:N.a,VCard:$.a,VCardActions:T.a,VDialog:A.a,VDivider:q.a,VFlex:F.a,VIcon:D.a,VList:E.a,VListItem:R.a,VListItemGroup:B.a,VListItemIcon:U.a,VListItemTitle:K.d,VProgressCircular:z.a,VSelect:H.a,VSpacer:W.a,VTextField:M.a,VToolbar:G.a,VTreeview:re}),ae.options.__file="client/components/common/page-selector.vue";t.default=ae.exports},"./client/components/common/page-selector.vue?vue&type=style&index=0&lang=scss&":function(e,t,s){"use strict";s("./node_modules/cache-loader/dist/cjs.js?!./node_modules/style-loader/dist/cjs.js!./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/components/common/page-selector.vue?vue&type=style&index=0&lang=scss&")},"./client/components/common/search-results.vue":function(e,t,s){"use strict";s.r(t);var i=function(){var e=this,t=e.$createElement,s=e._self._c||t;return e.searchIsFocused||e.search&&e.search.length>1?s("div",{staticClass:"search-results"},[s("div",{staticClass:"search-results-container"},[!e.search||e.search&&e.search.length<2?s("div",{staticClass:"search-results-help"},[s("img",{attrs:{src:"/_assets/svg/icon-search-alt.svg"}}),s("div",{staticClass:"mt-4"},[e._v(e._s(e.$t("common:header.searchHint")))])]):e.searchIsLoading&&(!e.results||e.results.length<1)?s("div",{staticClass:"search-results-loader"},[s("orbit-spinner",{attrs:{"animation-duration":1e3,size:100,color:"#FFF"}}),s("div",{staticClass:"headline mt-5"},[e._v(e._s(e.$t("common:header.searchLoading")))])],1):e.searchIsLoading||e.results&&!(e.results.length<1)?e._e():s("div",{staticClass:"search-results-none"},[s("img",{attrs:{src:"/_assets/svg/icon-no-results.svg",alt:"No Results"}}),s("div",{staticClass:"subheading"},[e._v(e._s(e.$t("common:header.searchNoResult")))])]),e.search&&e.search.length>=2&&e.results&&e.results.length>0?[s("v-subheader",{staticClass:"white--text"},[e._v(e._s(e.$t("common:header.searchResultsCount",{total:e.response.totalHits})))]),s("v-list",{staticClass:"search-results-items radius-7 py-0",attrs:{"two-line":"",dense:""}},[e._l(e.results,(function(t,i){return[s("v-list-item",{key:t.id,class:i===e.cursor?"highlighted":"",on:{click:function(s){return e.goToPage(t)},mouseup:function(s){return"button"in s&&1!==s.button?null:e.goToPageInNewTab(t)}}},[s("v-list-item-avatar",{attrs:{tile:""}},[s("img",{attrs:{src:"/_assets/svg/icon-selective-highlighting.svg"}})]),s("v-list-item-content",[s("v-list-item-title",{domProps:{textContent:e._s(t.title)}}),s("v-list-item-subtitle",{staticClass:"caption",domProps:{textContent:e._s(t.description)}}),s("div",{staticClass:"caption grey--text",domProps:{textContent:e._s(t.path)}})],1),s("v-list-item-action",[s("v-chip",{attrs:{label:"",outlined:""}},[e._v(e._s(t.locale.toUpperCase()))])],1)],1),i<e.results.length-1?s("v-divider"):e._e()]}))],2),e.paginationLength>1?s("v-pagination",{staticClass:"mt-3",attrs:{dark:"",length:e.paginationLength,circle:""},model:{value:e.pagination,callback:function(t){e.pagination=t},expression:"pagination"}}):e._e()]:e._e(),e.suggestions&&e.suggestions.length>0?[s("v-subheader",{staticClass:"white--text mt-3"},[e._v(e._s(e.$t("common:header.searchDidYouMean")))]),s("v-list",{staticClass:"search-results-suggestions radius-7",attrs:{dense:"",dark:""}},[e._l(e.suggestions,(function(t,i){return[s("v-list-item",{key:t,class:i+e.results.length===e.cursor?"highlighted":"",on:{click:function(s){return e.setSearchTerm(t)}}},[s("v-list-item-avatar",[s("v-icon",[e._v("mdi-magnify")])],1),s("v-list-item-content",[s("v-list-item-title",{domProps:{textContent:e._s(t)}})],1)],1),i<e.suggestions.length-1?s("v-divider"):e._e()]}))],2)]:e._e(),e.search&&e.search.length>1?s("div",{staticClass:"text-xs-center pt-5"},[s("v-btn",{staticClass:"mx-2",attrs:{outlined:"",color:"pink"},on:{click:function(t){e.search=""}}},[s("v-icon",{attrs:{left:""}},[e._v("mdi-close")]),s("span",[e._v(e._s(e.$t("common:header.searchClose")))])],1)],1):e._e()],2)]):e._e()};i._withStripped=!0;var o=s("./node_modules/lodash/get.js"),n=s.n(o),l=s("./node_modules/lodash/nth.js"),d=s.n(l),r=s("./node_modules/lodash/slice.js"),a=s.n(r),c=s("./node_modules/vuex-pathify/dist/vuex-pathify.js"),u=s("./node_modules/epic-spinners/src/lib.js"),h=s("./client/graph/common/common-pages-query-search.gql"),m=s.n(h),v={components:{OrbitSpinner:u.d},data:()=>({cursor:0,pagination:1,perPage:10,response:{results:[],suggestions:[],totalHits:0}}),computed:{search:Object(c.sync)("site/search"),searchIsFocused:Object(c.sync)("site/searchIsFocused"),searchIsLoading:Object(c.sync)("site/searchIsLoading"),searchRestrictLocale:Object(c.sync)("site/searchRestrictLocale"),searchRestrictPath:Object(c.sync)("site/searchRestrictPath"),results(){const e=(this.pagination-1)*this.perPage;return this.response.results?a()(this.response.results,e,e+this.perPage):[]},hits(){return this.response.totalHits?this.response.totalHits:0},suggestions(){return this.response.suggestions?this.response.suggestions:[]},paginationLength(){return this.response.totalHits>0?Math.ceil(this.response.totalHits/this.perPage):0}},watch:{search(e,t){this.cursor=0,!e||e&&e.length<2?this.searchIsLoading=!1:this.searchIsLoading=!0},results(){this.cursor=0}},mounted(){this.$root.$on("searchMove",e=>{this.cursor+="up"===e?-1:1,this.cursor<-1?this.cursor=-1:this.cursor>this.results.length+this.suggestions.length-1&&(this.cursor=this.results.length+this.suggestions.length-1)}),this.$root.$on("searchEnter",()=>{this.results&&(this.cursor>=0&&this.cursor<this.results.length?this.goToPage(d()(this.results,this.cursor)):this.cursor>=0&&this.setSearchTerm(d()(this.suggestions,this.cursor-this.results.length)))})},methods:{setSearchTerm(e){this.search=e},goToPage(e){window.location.assign(`/${e.locale}/${e.path}`)},goToPageInNewTab(e){window.open(`/${e.locale}/${e.path}`,"_blank")}},apollo:{response:{query:m.a,variables(){return{query:this.search}},fetchPolicy:"network-only",debounce:300,throttle:1e3,skip(){return!this.search||this.search.length<2},result(){this.pagination=1},update:e=>n()(e,"pages.search",{}),watchLoading(e){this.searchIsLoading=e}}}},p=(s("./client/components/common/search-results.vue?vue&type=style&index=0&lang=scss&"),s("./node_modules/vue-loader/lib/runtime/componentNormalizer.js")),g=s("./node_modules/vuetify-loader/lib/runtime/installComponents.js"),_=s.n(g),f=s("./node_modules/vuetify/lib/components/VBtn/VBtn.js"),b=s("./node_modules/vuetify/lib/components/VChip/VChip.js"),y=s("./node_modules/vuetify/lib/components/VDivider/VDivider.js"),j=s("./node_modules/vuetify/lib/components/VIcon/VIcon.js"),w=s("./node_modules/vuetify/lib/components/VList/VList.js"),x=s("./node_modules/vuetify/lib/components/VList/VListItem.js"),k=s("./node_modules/vuetify/lib/components/VList/VListItemAction.js"),C=s("./node_modules/vuetify/lib/components/VList/VListItemAvatar.js"),S=s("./node_modules/vuetify/lib/components/VList/index.js"),V=s("./node_modules/vuetify/lib/components/VPagination/VPagination.js"),I=s("./node_modules/vuetify/lib/components/VSubheader/VSubheader.js"),L=Object(p.a)(v,i,[],!1,null,null,null);_()(L,{VBtn:f.a,VChip:b.a,VDivider:y.a,VIcon:j.a,VList:w.a,VListItem:x.a,VListItemAction:k.a,VListItemAvatar:C.a,VListItemContent:S.b,VListItemSubtitle:S.c,VListItemTitle:S.d,VPagination:V.a,VSubheader:I.a}),L.options.__file="client/components/common/search-results.vue";t.default=L.exports},"./client/components/common/search-results.vue?vue&type=style&index=0&lang=scss&":function(e,t,s){"use strict";s("./node_modules/cache-loader/dist/cjs.js?!./node_modules/style-loader/dist/cjs.js!./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/components/common/search-results.vue?vue&type=style&index=0&lang=scss&")},"./client/components/common/social-sharing.vue":function(e,t,s){"use strict";s.r(t);var i=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("v-list",{attrs:{nav:"",dense:""}},[s("v-list-item",{ref:"copyUrlButton",on:{click:function(e){}}},[s("v-icon",{attrs:{color:"grey",small:""}},[e._v("mdi-content-copy")]),s("v-list-item-title",{staticClass:"px-3"},[e._v("Copy URL")])],1),s("v-list-item",{attrs:{href:"mailto:?subject="+encodeURIComponent(e.title)+"&body="+encodeURIComponent(e.url)+"%0D%0A%0D%0A"+encodeURIComponent(e.description)}},[s("v-icon",{attrs:{color:"grey",small:""}},[e._v("mdi-email-outline")]),s("v-list-item-title",{staticClass:"px-3"},[e._v("Email")])],1),s("v-list-item",{on:{click:function(t){e.openSocialPop("https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(e.url)+"&title="+encodeURIComponent(e.title)+"&description="+encodeURIComponent(e.description))}}},[s("v-icon",{attrs:{color:"grey",small:""}},[e._v("mdi-facebook")]),s("v-list-item-title",{staticClass:"px-3"},[e._v("Facebook")])],1),s("v-list-item",{on:{click:function(t){e.openSocialPop("https://www.linkedin.com/shareArticle?mini=true&url="+encodeURIComponent(e.url)+"&title="+encodeURIComponent(e.title)+"&summary="+encodeURIComponent(e.description))}}},[s("v-icon",{attrs:{color:"grey",small:""}},[e._v("mdi-linkedin")]),s("v-list-item-title",{staticClass:"px-3"},[e._v("LinkedIn")])],1),s("v-list-item",{on:{click:function(t){e.openSocialPop("https://www.reddit.com/submit?url="+encodeURIComponent(e.url)+"&title="+encodeURIComponent(e.title))}}},[s("v-icon",{attrs:{color:"grey",small:""}},[e._v("mdi-reddit")]),s("v-list-item-title",{staticClass:"px-3"},[e._v("Reddit")])],1),s("v-list-item",{on:{click:function(t){e.openSocialPop("https://t.me/share/url?url="+encodeURIComponent(e.url)+"&text="+encodeURIComponent(e.title))}}},[s("v-icon",{attrs:{color:"grey",small:""}},[e._v("mdi-telegram")]),s("v-list-item-title",{staticClass:"px-3"},[e._v("Telegram")])],1),s("v-list-item",{on:{click:function(t){e.openSocialPop("https://twitter.com/intent/tweet?url="+encodeURIComponent(e.url)+"&text="+encodeURIComponent(e.title))}}},[s("v-icon",{attrs:{color:"grey",small:""}},[e._v("mdi-twitter")]),s("v-list-item-title",{staticClass:"px-3"},[e._v("Twitter")])],1),s("v-list-item",{attrs:{href:"viber://forward?text="+encodeURIComponent(e.url)+" "+encodeURIComponent(e.description)}},[s("v-icon",{attrs:{color:"grey",small:""}},[e._v("mdi-phone-in-talk")]),s("v-list-item-title",{staticClass:"px-3"},[e._v("Viber")])],1),s("v-list-item",{on:{click:function(t){e.openSocialPop("http://service.weibo.com/share/share.php?url="+encodeURIComponent(e.url)+"&title="+encodeURIComponent(e.title))}}},[s("v-icon",{attrs:{color:"grey",small:""}},[e._v("mdi-sina-weibo")]),s("v-list-item-title",{staticClass:"px-3"},[e._v("Weibo")])],1),s("v-list-item",{on:{click:function(t){e.openSocialPop("https://api.whatsapp.com/send?text="+encodeURIComponent(e.title)+"%0D%0A"+encodeURIComponent(e.url))}}},[s("v-icon",{attrs:{color:"grey",small:""}},[e._v("mdi-whatsapp")]),s("v-list-item-title",{staticClass:"px-3"},[e._v("Whatsapp")])],1)],1)};i._withStripped=!0;var o=s("./node_modules/clipboard/dist/clipboard.js"),n=s.n(o),l={props:{url:{type:String,default:window.location.url},title:{type:String,default:"Untitled Page"},description:{type:String,default:""}},data:()=>({width:626,height:436,left:0,top:0}),methods:{openSocialPop(e){window.open(e,"sharer",`status=no,height=${this.height},width=${this.width},resizable=yes,left=${this.left},top=${this.top},screenX=${this.left},screenY=${this.top},toolbar=no,menubar=no,scrollbars=no,location=no,directories=no`).focus()}},mounted(){const e=new n.a(this.$refs.copyUrlButton.$el,{text:()=>this.url});e.on("success",()=>{this.$store.commit("showNotification",{style:"success",message:"URL copied successfully",icon:"content-copy"})}),e.on("error",()=>{this.$store.commit("showNotification",{style:"red",message:"Failed to copy to clipboard",icon:"alert"})});const t=void 0!==window.screenLeft?window.screenLeft:screen.left,s=void 0!==window.screenTop?window.screenTop:screen.top,i=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width,o=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height;this.left=i/2-this.width/2+t,this.top=o/2-this.height/2+s}},d=s("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),r=s("./node_modules/vuetify-loader/lib/runtime/installComponents.js"),a=s.n(r),c=s("./node_modules/vuetify/lib/components/VIcon/VIcon.js"),u=s("./node_modules/vuetify/lib/components/VList/VList.js"),h=s("./node_modules/vuetify/lib/components/VList/VListItem.js"),m=s("./node_modules/vuetify/lib/components/VList/index.js"),v=Object(d.a)(l,i,[],!1,null,null,null);a()(v,{VIcon:c.a,VList:u.a,VListItem:h.a,VListItemTitle:m.d}),v.options.__file="client/components/common/social-sharing.vue";t.default=v.exports},"./client/components/common/v-card-chin.vue":function(e,t,s){"use strict";s.r(t);var i=function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("v-divider",{staticClass:"my-0"}),t("v-card-actions",{class:this.$vuetify.theme.dark?"grey darken-4-l5":"grey lighten-4"},[this._t("default")],2)],1)};i._withStripped=!0;var o={},n=s("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),l=s("./node_modules/vuetify-loader/lib/runtime/installComponents.js"),d=s.n(l),r=s("./node_modules/vuetify/lib/components/VCard/index.js"),a=s("./node_modules/vuetify/lib/components/VDivider/VDivider.js"),c=Object(n.a)(o,i,[],!1,null,null,null);d()(c,{VCardActions:r.a,VDivider:a.a}),c.options.__file="client/components/common/v-card-chin.vue";t.default=c.exports},"./client/components/common/v-card-info.vue":function(e,t,s){"use strict";s.r(t);var i=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"v-card-info",class:"is-"+this.color},[t("v-card-text",{staticClass:"d-flex align-center",class:this.colors.cls},[t("v-icon",{attrs:{color:this.colors.icon,left:""}},[this._v(this._s(this.icon))]),this._t("default")],2)],1)};i._withStripped=!0;var o={props:{color:{type:String,default:"blue"},icon:{type:String,default:"mdi-information-outline"}},computed:{colors(){switch(this.color){case"blue":return{cls:this.$vuetify.theme.dark?"grey darken-4-l5 blue--text text--lighten-4":"blue lighten-5 blue--text text--darken-3",icon:"blue lighten-3"};case"red":return{cls:this.$vuetify.theme.dark?"grey darken-4-l5 red--text text--lighten-4":"red lighten-5 red--text text--darken-2",icon:"red lighten-3"};default:return{cls:this.$vuetify.theme.dark?"grey darken-4-l5":"grey lighten-4",icon:"grey darken-2"}}}}},n=(s("./client/components/common/v-card-info.vue?vue&type=style&index=0&lang=scss&"),s("./node_modules/vue-loader/lib/runtime/componentNormalizer.js")),l=s("./node_modules/vuetify-loader/lib/runtime/installComponents.js"),d=s.n(l),r=s("./node_modules/vuetify/lib/components/VCard/index.js"),a=s("./node_modules/vuetify/lib/components/VIcon/VIcon.js"),c=Object(n.a)(o,i,[],!1,null,null,null);d()(c,{VCardText:r.b,VIcon:a.a}),c.options.__file="client/components/common/v-card-info.vue";t.default=c.exports},"./client/components/common/v-card-info.vue?vue&type=style&index=0&lang=scss&":function(e,t,s){"use strict";s("./node_modules/cache-loader/dist/cjs.js?!./node_modules/style-loader/dist/cjs.js!./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/components/common/v-card-info.vue?vue&type=style&index=0&lang=scss&")},"./client/graph/common/common-pages-query-search.gql":function(e,t){var s={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"query"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pages"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"search"},arguments:[{kind:"Argument",name:{kind:"Name",value:"query"},value:{kind:"Variable",name:{kind:"Name",value:"query"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"results"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"locale"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"suggestions"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"totalHits"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:206}};s.loc.source={body:"query ($query: String!) {\n  pages {\n    search(query:$query) {\n      results {\n        id\n        title\n        description\n        path\n        locale\n      }\n      suggestions\n      totalHits\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};s.definitions.forEach((function(e){if(e.name){var t=new Set;!function e(t,s){if("FragmentSpread"===t.kind)s.add(t.name.value);else if("VariableDefinition"===t.kind){var i=t.type;"NamedType"===i.kind&&s.add(i.name.value)}t.selectionSet&&t.selectionSet.selections.forEach((function(t){e(t,s)})),t.variableDefinitions&&t.variableDefinitions.forEach((function(t){e(t,s)})),t.definitions&&t.definitions.forEach((function(t){e(t,s)}))}(e,t),i[e.name.value]=t}})),e.exports=s,s.documentId="e6f55543447a171489b32a1887ed3fb815766e00154388195d2f1ffd322ae11b"},"./node_modules/cache-loader/dist/cjs.js?!./node_modules/style-loader/dist/cjs.js!./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/components/common/loader.vue?vue&type=style&index=0&lang=scss&":function(e,t,s){var i=s("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),o=s("./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/components/common/loader.vue?vue&type=style&index=0&lang=scss&");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var n={insert:"head",singleton:!1};i(o,n);e.exports=o.locals||{}},"./node_modules/cache-loader/dist/cjs.js?!./node_modules/style-loader/dist/cjs.js!./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/components/common/page-selector.vue?vue&type=style&index=0&lang=scss&":function(e,t,s){var i=s("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),o=s("./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/components/common/page-selector.vue?vue&type=style&index=0&lang=scss&");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var n={insert:"head",singleton:!1};i(o,n);e.exports=o.locals||{}},"./node_modules/cache-loader/dist/cjs.js?!./node_modules/style-loader/dist/cjs.js!./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/components/common/search-results.vue?vue&type=style&index=0&lang=scss&":function(e,t,s){var i=s("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),o=s("./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/components/common/search-results.vue?vue&type=style&index=0&lang=scss&");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var n={insert:"head",singleton:!1};i(o,n);e.exports=o.locals||{}},"./node_modules/cache-loader/dist/cjs.js?!./node_modules/style-loader/dist/cjs.js!./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/components/common/v-card-info.vue?vue&type=style&index=0&lang=scss&":function(e,t,s){var i=s("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),o=s("./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/components/common/v-card-info.vue?vue&type=style&index=0&lang=scss&");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var n={insert:"head",singleton:!1};i(o,n);e.exports=o.locals||{}},"./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/vuetify/src/components/VTreeview/VTreeview.sass":function(e,t,s){"use strict";s.r(t);var i=s("./node_modules/css-loader/dist/runtime/api.js"),o=s.n(i)()(!1);o.push([e.i,'.theme--light.v-treeview{color:rgba(0,0,0,.87)}.theme--light.v-treeview--hoverable .v-treeview-node__root:hover:before,.theme--light.v-treeview .v-treeview-node--click>.v-treeview-node__root:hover:before{opacity:.04}.theme--light.v-treeview--hoverable .v-treeview-node__root--active:before,.theme--light.v-treeview--hoverable .v-treeview-node__root--active:hover:before,.theme--light.v-treeview--hoverable .v-treeview-node__root:focus:before,.theme--light.v-treeview .v-treeview-node--click>.v-treeview-node__root--active:before,.theme--light.v-treeview .v-treeview-node--click>.v-treeview-node__root--active:hover:before,.theme--light.v-treeview .v-treeview-node--click>.v-treeview-node__root:focus:before{opacity:.12}.theme--light.v-treeview--hoverable .v-treeview-node__root--active:focus:before,.theme--light.v-treeview .v-treeview-node--click>.v-treeview-node__root--active:focus:before{opacity:.16}.theme--light.v-treeview .v-treeview-node__root.v-treeview-node--active:before,.theme--light.v-treeview .v-treeview-node__root.v-treeview-node--active:hover:before{opacity:.12}.theme--light.v-treeview .v-treeview-node__root.v-treeview-node--active:focus:before{opacity:.16}.theme--light.v-treeview .v-treeview-node--disabled>.v-treeview-node__root>.v-treeview-node__content{color:rgba(0,0,0,.38)!important}.theme--dark.v-treeview{color:#fff}.theme--dark.v-treeview--hoverable .v-treeview-node__root:hover:before,.theme--dark.v-treeview .v-treeview-node--click>.v-treeview-node__root:hover:before{opacity:.08}.theme--dark.v-treeview--hoverable .v-treeview-node__root--active:before,.theme--dark.v-treeview--hoverable .v-treeview-node__root--active:hover:before,.theme--dark.v-treeview--hoverable .v-treeview-node__root:focus:before,.theme--dark.v-treeview .v-treeview-node--click>.v-treeview-node__root--active:before,.theme--dark.v-treeview .v-treeview-node--click>.v-treeview-node__root--active:hover:before,.theme--dark.v-treeview .v-treeview-node--click>.v-treeview-node__root:focus:before{opacity:.24}.theme--dark.v-treeview--hoverable .v-treeview-node__root--active:focus:before,.theme--dark.v-treeview .v-treeview-node--click>.v-treeview-node__root--active:focus:before{opacity:.32}.theme--dark.v-treeview .v-treeview-node__root.v-treeview-node--active:before,.theme--dark.v-treeview .v-treeview-node__root.v-treeview-node--active:hover:before{opacity:.24}.theme--dark.v-treeview .v-treeview-node__root.v-treeview-node--active:focus:before{opacity:.32}.theme--dark.v-treeview .v-treeview-node--disabled>.v-treeview-node__root>.v-treeview-node__content{color:hsla(0,0%,100%,.5)!important}.v-treeview-node.v-treeview-node--shaped .v-treeview-node__root,.v-treeview-node.v-treeview-node--shaped .v-treeview-node__root:before{border-bottom-right-radius:24px!important;border-top-right-radius:24px!important}.v-treeview-node.v-treeview-node--shaped .v-treeview-node__root{margin-top:8px;margin-bottom:8px}.v-treeview-node.v-treeview-node--rounded .v-treeview-node__root,.v-treeview-node.v-treeview-node--rounded .v-treeview-node__root:before{border-radius:24px!important}.v-treeview-node.v-treeview-node--rounded .v-treeview-node__root{margin-top:8px;margin-bottom:8px}.v-treeview-node--click>.v-treeview-node__root,.v-treeview-node--click>.v-treeview-node__root>.v-treeview-node__content>*{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.v-treeview-node.v-treeview-node--active .v-treeview-node__content .v-icon{color:inherit}.v-treeview-node__root{-js-display:flex;display:flex;align-items:center;min-height:48px;padding-left:8px;padding-right:8px;position:relative}.v-treeview-node__root:before{background-color:currentColor;bottom:0;content:"";left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0;transition:.3s cubic-bezier(.25,.8,.5,1)}.v-treeview-node__root:after{content:"";font-size:0;min-height:inherit}.v-treeview-node__children{transition:all .2s cubic-bezier(0,0,.2,1)}.v-treeview--dense .v-treeview-node__root{min-height:40px}.v-treeview--dense.v-treeview-node--shaped .v-treeview-node__root,.v-treeview--dense.v-treeview-node--shaped .v-treeview-node__root:before{border-bottom-right-radius:20px!important;border-top-right-radius:20px!important}.v-treeview--dense.v-treeview-node--shaped .v-treeview-node__root{margin-top:8px;margin-bottom:8px}.v-treeview--dense.v-treeview-node--rounded .v-treeview-node__root,.v-treeview--dense.v-treeview-node--rounded .v-treeview-node__root:before{border-radius:20px!important}.v-treeview--dense.v-treeview-node--rounded .v-treeview-node__root{margin-top:8px;margin-bottom:8px}.v-treeview-node__checkbox{width:24px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.v-application--is-ltr .v-treeview-node__checkbox{margin-left:6px}.v-application--is-rtl .v-treeview-node__checkbox{margin-right:6px}.v-treeview-node__toggle{width:24px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.v-treeview-node__toggle--loading{animation:progress-circular-rotate 1s linear infinite}.v-application--is-ltr .v-treeview-node__toggle{transform:rotate(-90deg)}.v-application--is-ltr .v-treeview-node__toggle--open{transform:none}.v-application--is-rtl .v-treeview-node__toggle{transform:rotate(90deg)}.v-application--is-rtl .v-treeview-node__toggle--open{transform:none}.v-treeview-node__prepend{min-width:24px}.v-application--is-ltr .v-treeview-node__prepend{margin-right:6px}.v-application--is-rtl .v-treeview-node__prepend{margin-left:6px}.v-treeview-node__append{min-width:24px}.v-application--is-ltr .v-treeview-node__append{margin-left:6px}.v-application--is-rtl .v-treeview-node__append{margin-right:6px}.v-treeview-node__level{width:24px}.v-treeview-node__label{flex:1 1;font-size:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v-treeview-node__content{align-items:center;-js-display:flex;display:flex;flex-basis:0%;flex-grow:1;flex-shrink:0;min-width:0}.v-treeview-node__content .v-btn{flex-grow:0!important;flex-shrink:1!important}.v-application--is-ltr .v-treeview-node__content{margin-left:6px}.v-application--is-rtl .v-treeview-node__content{margin-right:6px}',""]),t.default=o},"./node_modules/lodash/_baseNth.js":function(e,t,s){var i=s("./node_modules/lodash/_isIndex.js");e.exports=function(e,t){var s=e.length;if(s)return i(t+=t<0?s:0,s)?e[t]:void 0}},"./node_modules/lodash/nth.js":function(e,t,s){var i=s("./node_modules/lodash/_baseNth.js"),o=s("./node_modules/lodash/toInteger.js");e.exports=function(e,t){return e&&e.length?i(e,o(t)):void 0}},"./node_modules/lodash/slice.js":function(e,t,s){var i=s("./node_modules/lodash/_baseSlice.js"),o=s("./node_modules/lodash/_isIterateeCall.js"),n=s("./node_modules/lodash/toInteger.js");e.exports=function(e,t,s){var l=null==e?0:e.length;return l?(s&&"number"!=typeof s&&o(e,t,s)?(t=0,s=l):(t=null==t?0:n(t),s=void 0===s?l:n(s)),i(e,t,s)):[]}},"./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/components/common/loader.vue?vue&type=style&index=0&lang=scss&":function(e,t,s){},"./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/components/common/page-selector.vue?vue&type=style&index=0&lang=scss&":function(e,t,s){},"./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/components/common/search-results.vue?vue&type=style&index=0&lang=scss&":function(e,t,s){},"./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/components/common/v-card-info.vue?vue&type=style&index=0&lang=scss&":function(e,t,s){},"./node_modules/vuetify/src/components/VTreeview/VTreeview.sass":function(e,t,s){var i=s("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),o=s("./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/vuetify/src/components/VTreeview/VTreeview.sass");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var n={insert:"head",singleton:!1};i(o,n);e.exports=o.locals||{}}}]);