!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define(["globals"],t):"object"==typeof exports?exports.q2op0=t():e.q2op0=t()}(this,(function(globals){var $w=globals.$w,$ns=globals.$ns,console=(globals.$wixContext,globals.$widget,globals.console);globals.elementorySupport,globals.generateWebMethodUrl;return function(){"use strict";var e={n:function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},d:function(t,n){for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t);var n=$ns["wix-data"],o=e.n(n),r=$ns["wix-location"],i=e.n(r);return $w.onReady((function(){var e=function(){var e=i().url,t="https://www.firstcontact.lgbt/profile/".length,n="/profile".length,o=e.substring(t,e.length-n);o.startsWith("/")&&(o=o.substring(1));return o}();console.log("Slug:",e),o().query("Members/FullData").eq("slug",e).find().then((function(t){if(t.items.length>0){var n=t.items[0]._id;console.log("Member ID:",n),o().query("Jobs").eq("_owner",n).find().then((function(e){if(e.items.length>0){var t=e.items[0];console.log("User Data:",t),function(e){e.linkedInProfilePortfolioLink?$w("#linkedInProfilePortfolioLink").link=e.linkedInProfilePortfolioLink:$w("#linkedInProfilePortfolioLink").hide();e.ageRange?$w("#ageRangeText").text=e.ageRange:$w("#ageRangeText").hide();e.currentIndustry?$w("#currentIndustryText").text=e.currentIndustry:$w("#currentIndustryText").hide();e.mbti?$w("#mbtiText").text=e.mbti:$w("#mbtiText").hide();e.openToDating?$w("#openToDatingText").text=e.openToDating:$w("#openToDatingText").hide();e.state?$w("#stateText").text=e.state:$w("#stateText").hide();e.wantAnAccountabilityPartner?$w("#wantAnAccountabilityPartnerText").text=e.wantAnAccountabilityPartner:$w("#wantAnAccountabilityPartnerText").hide();e.yourSexualIdentity?$w("#yourSexualIdentityText").text=e.yourSexualIdentity:$w("#yourSexualIdentityText").hide();e.aboutYou?$w("#aboutYouText").text=e.aboutYou:$w("#aboutYouText").hide();e.city?$w("#cityText").text=e.city:$w("#cityText").hide();e.company?$w("#companyText").text=e.company:$w("#companyText").hide();e.genderIdentityOther?$w("#genderIdentityOtherText").text=e.genderIdentityOther:$w("#genderIdentityOtherText").hide();e.iNeedHelpWith?$w("#iNeedHelpWithText").text=e.iNeedHelpWith:$w("#iNeedHelpWithText").hide();e.languages?$w("#languagesText").text=e.languages:$w("#languagesText").hide();e.profession?$w("#professionText").text=e.profession:$w("#professionText").hide();e.sexualIdentityOther?$w("#sexualIdentityOtherText").text=e.sexualIdentityOther:$w("#sexualIdentityOtherText").hide();e.stateOther?$w("#stateOtherText").text=e.stateOther:$w("#stateOtherText").hide();e.youCanReachOutToMeFor?$w("#youCanReachOutToMeForText").text=e.youCanReachOutToMeFor:$w("#youCanReachOutToMeForText").hide();e.yourGenderIdentity?$w("#yourGenderIdentityText").text=e.yourGenderIdentity:$w("#yourGenderIdentityText").hide();e.yourPersonalProfessionalGoals?$w("#yourPersonalProfessionalGoalsText").text=e.yourPersonalProfessionalGoals:$w("#yourPersonalProfessionalGoalsText").hide();e.humanDesignChart?$w("#humanDesignChartImage").src=e.humanDesignChart:$w("#humanDesignChartImage").hide()}(t)}else console.error("User data not found in Jobs collection."),$w("#Details").hide()})).catch((function(e){console.error("Error querying Jobs collection:",e)}))}else console.error("User not found with slug:",e)})).catch((function(e){console.error("Error querying Members/FullData collection:",e)}))})),t}()})); //# sourceMappingURL=https://bundler.wix-code.com/8980537a-1633-4e71-a2ca-dd2e84efc99a/3c4e9899-e0c9-4580-ac6a-d583ef0af03c/e2534d14-ba98-42a9-86a7-75a88ad72c2c/pages/q2op0.js.map?get-app-def-id-from-package-name=false&disable-yarn-pnp-mode=false