1"use strict";(self.webpackChunkfolio=self.webpackChunkfolio||[]).push([[3681],{52520(t,e,o){o.r(e),o.d(e,{default:()=>u});var r=o(20641);function n(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var o={}.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?s(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,r=Array(e);o<e;o++)r[o]=t[o];return r}var i={class:"ufo--container"};var a=o(35166);const l={name:"not-found",mounted:function(){this.$router.push("/home"),a.z.refreshData()}};const u=(0,o(66262).A)(l,[["render",function(t,e,o,s,a,l){return(0,r.uX)(),(0,r.CE)("div",i,n(e[0]||(e[0]=[(0,r.Lk)("h1",null,"404",-1),(0,r.Lk)("h2",null,"Page not found.",-1)])))}],["__scopeId","data-v-48e25a12"]])},89119(t,e,o){o.d(e,{A:()=>f});var r=o(20641),n=o(90033),s={class:"faq-container"},i={class:"faq-table"},a=["onClick"],l={class:"question-container"},u={class:"question"},c=["innerHTML"];const d={name:"Faq",components:{Icon:o(46335).A},data:function(){return{faqEntryOpened:null}},props:{faqEntries:{type:Array,default:[]}},methods:{toggleFaqEntry:function(t){this.faqEntryOpened===t?this.faqEntryOpened=null:this.faqEntryOpened=t}}};const f=(0,o(66262).A)(d,[["render",function(t,e,o,d,f,h){var p=(0,r.g2)("Icon");return(0,r.uX)(),(0,r.CE)("div",s,[(0,r.Lk)("div",i,[e[0]||(e[0]=(0,r.Lk)("div",{class:"faq-title"},"FAQs",-1)),((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(o.faqEntries,function(t,e){return(0,r.uX)(),(0,r.CE)("div",{class:"faq-entry",key:e,onClick:function(t){return h.toggleFaqEntry(e)}},[(0,r.Lk)("div",l,[(0,r.Lk)("div",u,(0,n.v_)(t.question),1),(0,r.Lk)("div",{class:(0,n.C4)(["down-button",{open:f.faqEntryOpened===e}])},[(0,r.bF)(p,{"icon-name":"down"})],2)]),(0,r.Lk)("div",{class:(0,n.C4)(["answer",{open:f.faqEntryOpened===e}])},[(0,r.Lk)("div",{innerHTML:t.answer},null,8,c)],2)],8,a)}),128))])])}]])},76408(t,e,o){o.d(e,{A:()=>b});var r=o(20641),n=o(90033),s=o(53751),i=o(47233);function a(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return l(t,e);var o={}.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?l(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,r=Array(e);o<e;o++)r[o]=t[o];return r}var u={class:"non-editor-page-header"},c={class:"back"},d={class:"logo-container"},f={class:"flex-container"},h={class:"titles"},p={class:"page-title"},m={class:"page-subtitle"},g={class:"cta"},v={key:0,class:"non-editor-page-content"};const y={name:"NonEditorPageFrame",components:{NavBarPill:o(61556).A},props:{pageTitle:{type:String,required:!0},pageSubTitle:{type:String,required:!1},alignHorizontal:{type:Boolean,default:!1},isOnboardingFlow:{type:Boolean,default:!1}},data:function(){return{loaded:!1}},mounted:function(){this.loaded=!0,this.resetPageBackgroundColor()},unmounted:function(){this.loaded=!1,document.querySelector("body").style.removeProperty("--background-fill-color")},activated:function(){this.loaded=!0,this.resetPageBackgroundColor()},deactivated:function(){this.loaded=!1},methods:{resetPageBackgroundColor:function(){document.querySelector("body").style.setProperty("--background-fill-color","#FFFFFF")},goBack:function(){this.$emit("goBack")},goToHome:function(){this.$router.push("/home")}}};const b=(0,o(66262).A)(y,[["render",function(t,e,o,l,y,b){var k=(0,r.g2)("NavBarPill");return(0,r.uX)(),(0,r.CE)("div",{class:(0,n.C4)(["non-editor-page",{"align-horizontal":o.alignHorizontal}])},[(0,r.Lk)("div",u,[(0,r.Lk)("div",c,[(0,r.Lk)("div",d,[t.$slots.logoSlot?(0,r.Q3)("v-if",!0):((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,n.C4)(o.isOnboardingFlow?"logo":"clickable-logo"),onClick:e[0]||(e[0]=function(t){return o.isOnboardingFlow?null:b.goToHome()})},a(e[2]||(e[2]=[(0,r.Lk)("img",{src:i,alt:"Logo"},null,-1)])),2))]),t.$slots.logoSlot?(0,r.RG)(t.$slots,"logoSlot",{key:0},void 0,!0):o.isOnboardingFlow?(0,r.Q3)("v-if",!0):((0,r.uX)(),(0,r.Wv)(k,{key:1,label:"Back","icon-name":"back",onButtonClicked:e[1]||(e[1]=function(t){return b.goBack()})}))]),(0,r.Lk)("div",f,[(0,r.Lk)("div",h,[(0,r.Lk)("div",p,[(0,r.Lk)("h1",null,(0,n.v_)(o.pageTitle),1),(0,r.RG)(t.$slots,"headerLabel",{},void 0,!0)]),(0,r.Lk)("p",m,(0,n.v_)(o.pageSubTitle),1)]),(0,r.Lk)("div",g,[(0,r.RG)(t.$slots,"headerCta",{},void 0,!0)])])]),(0,r.bF)(s.Transition,{name:"fade-up"},{default:(0,r.k6)(function(){return[y.loaded?((0,r.uX)(),(0,r.CE)("div",v,[(0,r.RG)(t.$slots,"default",{},void 0,!0)])):(0,r.Q3)("v-if",!0)]}),_:3})],2)}],["__scopeId","data-v-682a3a3b"]])},3405(t,e,o){o.r(e),o.d(e,{default:()=>w});var r=o(20641),n=o(90033);function s(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var o={}.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?i(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,r=Array(e);o<e;o++)r[o]=t[o];return r}var a={class:"edit-url-container"},l={class:"input-container"},u={class:"combined-input-container"},c={class:"combined-input-row"},d={id:"combined-input",class:"combined-input"},f={class:"input"},h={key:0,class:"is-loading"},p={key:1,class:"info-error"};var m=o(89119),g=o(16485),v=o(5412),y=o(88248),b=o(95818),k=o(76408),C=o(74256),S=/^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$/;const $={name:"EditUrl",components:{NonEditorPageFrame:k.A,InputField:g.A,Cta:v.A,Faq:m.A},data:function(){return{saving:!1,toggleClass:"success success--hidden",urlError:!1,urlSlug:null,errorText:null,assistText:null,inputSelected:!1,inputHovered:!1,fromDefaultDomain:!1,faqEntries:[{question:"How do I buy a domain for my portfolio?",answer:"<
1div>Follow these steps to buy a domain on UXfolio:</div>\n <ul>\n <li>Open the Portfolio editor.</li>\n <li>Click Settings in the menu bar.</li>\n <li>Choose Own domain from the sidebar.</li>\n <li>Search for a domain.</li>\n <li>Click Buy next to the domain.</li>\n <li>You'll be taken to the payment page.</li>\n <li>Choose your payment method.</li>\n <li>Click Purchase domain.</li>\n </ul>"},{question:"How to use a domain that I already own?",answer:"<div>Follow these steps to use a domain you already own on UXfolio:</div>\n <ul>\n <li>Open the Portfolio editor.</li>\n <li>Click Settings in the menu bar.</li>\n <li>Choose Own domain & URL from the sidebar.</li>\n <li>Click Use your own domain here at the bottom of the sidebar.</li>\n <li>Write your domain to the field that says Enter your domain here.</li>\n <li>Click Connect.</li>\n </ul>\n <div>It can take up to 72 hours for the changes to take effect.</div>"},{question:"How to attach my domain to multiple portfolios?",answer:"<div>A domain can only be connected to one portfolio at a time.</div>\n <div>To move domains between portfolios, please follow these steps:</div>\n <ul>\n <li>Open the portfolio that the domain is attached to.</li>\n <li>Click Settings in the menu bar.</li>\n <li>Choose Own domain & URL from the sidebar.</li>\n <li>Click Disconnect at the bottom of the page.</li>\n </ul>\n <div>Now you will have to attach the domain to a new portfolio: </div>\n <ul>\n <li>Navigate to a different portfolio by clicking the dropdown at the center of the top menu bar.</li>\n <li>When the new portfolio is opens click Settings in the menu bar.</li>\n <li>Choose Own domain & URL from the sidebar.</li>\n <li>Click Use your own domain here at the bottom of the sidebar.</li>\n <li>Write your domain to the field that says Enter your domain here.</li>\n <li>Click Connect.</li>\n </ul>\n <div>It can take up to 72 hours for the changes to take effect.</div>"}]}},mounted:function(){this.$store.state.portfolio&&this.$store.state.project||this.$router.push("/home"),history.state&&history.state.fromDefaultDomain&&(this.fromDefaultDomain=!0),window.scrollY&&window.scroll(0,0),this.$store.getters.isHomePage?this.urlSlug=this.$store.state.portfolio.shortId:this.urlSlug=this.$store.state.project.shortId},methods:{saveCustomUrl:function(){this.urlError=!1,this.saving=!0,this.errorText=null,this.assistText=null,this.$store.getters.isHomePage?this.savePortfolioUrl():this.saveCaseStuyUrl()},savePortfolioUrl:function(){var t=this;this.$store.state.portfolio.shortId!==this.urlSlug?!this.urlSlug||this.urlSlug.length<5||!S.test(this.urlSlug)?(this.assistText="Use at least 5 letters, numbers, or hyphens!",this.saving=!1):y.A.updatePortfolioUrl(this.$store.state.portfolio._id,this.urlSlug).then(function(){t.$store.commit("updatePortfolioShortId",t.urlSlug),setTimeout(function(){t.saving=!1,t.$store.state.user.checklistStatus&&!t.$store.state.user.checklistStatus.steps.domain&&t.$store.commit("updateChecklistItem",C.QT.DOMAIN),t.$store.commit("showAlertMessage",{message:"URL successfully changed"}),t.toggleClass="success success--visible",setTimeout(function(){t.toggleClass="success success--hidden"},1500)},1e3)}).catch(function(e){if(t.saving=!1,e&&e.response&&e.response.data){var o=e.response.data;405===e.response.status&&(1011===o.code?(t.urlError=!1,t.$store.state.currentSubscriptionPlan=o.currentSubscriptionPlan,t.$store.commit("showAlertMessage",{message:"Upgrade to Full access to use this feature.",type:"alert",interval:10})):1012===o.code||1013===o.code||1016===o.code?(t.urlError=!0,t.errorText=o.message):1014===o.code||1015===o.code?(t.urlError=!1,t.errorText=null):(t.urlError=!0,t.errorText="Unknown error."))}}):this.saving=!1},saveCaseStuyUrl:function(){var t=this;this.$store.state.project.shortId!==this.urlSlug?!this.urlSlug||this.urlSlug.length<5||!S.test(this.urlSlug)?(this.assistText="Use at least 5 letters, numbers, or hyphens!",this.saving=!1):b.A.updateProjectUrl(this.$store.state.project._id,this.urlSlug).then(function(){t.$store.getters.isCaseStudy?t.$store.state.caseStudyPages.find(function(e){return e._id===t.$store.state.project._id}).shortId=t.urlSlug:t.$store.state.portfolioPages.find(function(e){return e._id===t.$store.state.project._id}).shortId=t.urlSlug,t.$store.state.project.shortId=t.urlSlug,setTimeout(function(){t.saving=!1,t.$store.commit("showAlertMessage",{message:"URL successfully changed"}),t.toggleClass="success success--visible",setTimeout(function(){t.toggleClass="success success--hidden"},1500)},1e3)}).catch(function(e){if(t.saving=!1,e&&e.response&&e.response.data){var o=e.response.data;405===e.response.status&&(1011===o.code?(t.urlError=!1,t.$store.state.currentSubscriptionPlan=o.currentSubscriptionPlan,t.$store.commit("showAlertMessage",{message:"Upgrade to Full access to use this feature.",type:"alert",interval:10})):1012===o.code||1013===o.code||1015===o.code||1016===o.code?(t.urlError=!0,t.errorText=o.message):(t.urlError=!0,t.errorText="Unknown error."))}}):this.saving=!1},selectEvent:function(){this.inputSelected=!0},unselectEvent:function(){this.inputSelected=!1},onMouseEnter:function(){this.inputHovered=!0},onMouseLeave:function(){this.inputHovered=!1},goBack:function(){this.$router.back()}},computed:{domain:function(){return this.fromDefaultDomain?"uxfol.io":this.$store.state.project&&this.$store.getters.isHomePage?this.$store.state.portfolio.ownDomainAddress||"uxfol.io":this.$store.state.portfolio.ownDomainAddress?this.$store.state.portfolio.ownDomainAddress+"/p":"uxfol.io/p/"+this.$store.state.portfolio.shortId},title:function(){return this.$store.state.project&&this.$store.getters.isHomePage?"Portfolio URL":this.$store.state.project&&this.$store.getters.isCaseStudy?"Case study URL":"Page URL"},subTitle:function(){return this.$store.state.project&&this.$store.getters.isHomePage?"Upd
1ate the URL of your portfolio.":this.$store.state.project&&this.$store.getters.isCaseStudy?"Update the URL of your case study.":"Update the URL of your page."}}};const w=(0,o(66262).A)($,[["render",function(t,e,o,i,m,g){var v=(0,r.g2)("input-field"),y=(0,r.g2)("cta"),b=(0,r.g2)("Faq"),k=(0,r.g2)("NonEditorPageFrame");return(0,r.uX)(),(0,r.Wv)(k,{"page-title":g.title,"page-sub-title":g.subTitle,onGoBack:e[1]||(e[1]=function(t){return g.goBack()})},{default:(0,r.k6)(function(){return[(0,r.Lk)("div",a,[(0,r.Lk)("div",l,[(0,r.Lk)("div",u,[(0,r.Lk)("div",c,[(0,r.Lk)("div",d,[(0,r.Lk)("span",{class:(0,n.C4)(["mock-input",{"mock-error":m.urlError},{selected:m.inputSelected},{hover:m.inputHovered&&!m.inputSelected}])},[(0,r.Lk)("div",f,(0,n.v_)(g.domain)+"/",1)],2),(0,r.bF)(v,{value:m.urlSlug,"has-error":m.urlError,modelValue:m.urlSlug,"onUpdate:modelValue":e[0]||(e[0]=function(t){return m.urlSlug=t}),onFocus:g.selectEvent,onBlur:g.unselectEvent,onMouseenter:g.onMouseEnter,onMouseleave:g.onMouseLeave,"max-length":24,"char-limit-position":"outside"},null,8,["value","has-error","modelValue","onFocus","onBlur","onMouseenter","onMouseleave"]),m.saving?((0,r.uX)(),(0,r.CE)("span",h)):(0,r.Q3)("v-if",!0),(0,r.Lk)("span",{class:(0,n.C4)([m.toggleClass])},null,2)]),(0,r.bF)(y,{type:"primary",disabled:m.saving,onClick:g.saveCustomUrl},{default:(0,r.k6)(function(){return s(e[2]||(e[2]=[(0,r.eW)("Update",-1)]))}),_:1},8,["disabled","onClick"])]),m.errorText?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,n.C4)(["info-error",{urlError:m.urlError}])},(0,n.v_)(m.errorText),3)):(0,r.Q3)("v-if",!0),m.assistText?((0,r.uX)(),(0,r.CE)("div",p,(0,n.v_)(m.assistText),1)):(0,r.Q3)("v-if",!0)])]),(0,r.bF)(b,{"faq-entries":m.faqEntries},null,8,["faq-entries"])])]}),_:1},8,["page-title","page-sub-title"])}],["__scopeId","data-v-402c1bd4"]])},46316(t,e,o){o.r(e),o.d(e,{default:()=>s});var r=o(20641);const n={name:"UrlCenter"};const s=(0,o(66262).A)(n,[["render",function(t,e,o,n,s,i){var a=(0,r.g2)("router-view");return(0,r.uX)(),(0,r.CE)("div",null,[(0,r.bF)(a)])}]])}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.