"use strict";(self.webpackChunkfindagrave_frontend=self.webpackChunkfindagrave_frontend||[]).push([[4400,9091],{69917(e,t,a){a.d(t,{Ri:()=>i,TV:()=>o,kQ:()=>n});a(71757);function o(e,t,a,o){let i="",n=`path= ${o&&o.length>0?o:"/"};`,r=`domain=.${location.hostname.split(".").slice(-2).join(".")};`;if(a){let e=new Date;e.setTime(e.getTime()+24*a*60*60*1e3),i=`expires=${e.toUTCString()};`}document.cookie=`${e}=${t};${i}${n}${r}SameSite=Lax;Secure;`}function i(e){let t=document.cookie.split("; ").find(t=>t.split("=")[0]===e);return t?t.split("=")[1]:""}function n(){var e=i("consentSettings"),t={pref:!1,ga:!1,aa:!1};try{t=JSON.parse(e)}catch(e){}return t}},11045(e,t,a){a.d(t,{Aq:()=>n,Ue:()=>i});const o=["cemetery","city","county","state","country"];function i(e,t=!1){return(t?o.slice(1):o).map(t=>e[t]).filter(e=>e).join(", ")}function n(e){return e.slice(1).map(e=>e.name).join(", ")}},99376(e,t,a){a.d(t,{v:()=>o});a(71757);function o(e){return e&&["city","county","state","country"].map(t=>e[t]).filter(e=>e).join(", ")}},51009(e,t,a){function o(e,t){return e&&t&&(e=e.includes("?")?`${e}&size=${t}`:`${e}?size=${t}`),e}function i(){return location.hostname.includes("localhost")||location.hostname.includes("gravelocal.com")?"https://images.gravedev.com":`https://images${location.hostname.substring(location.hostname.indexOf("."))}`}a.d(t,{N5:()=>i,nB:()=>o})},56533(e,t,a){a.d(t,{Ay:()=>h});var o=a(71757),i=a.n(o),n=(a(62427),a(29462)),r=a.n(n),s=a(39708),l=function(e,t,a,o){return new(a||(a=Promise))(function(i,n){function r(e){try{l(o.next(e))}catch(e){n(e)}}function s(e){try{l(o.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof a?t:new a(function(e){e(t)})).then(r,s)}l((o=o.apply(e,t||[])).next())})};const d=a(18510),c=a(53547);function h(){return{singleTypeahead:function(e){this.settings=i().extend({},this.defaults,e),this.changed=!1;const t=this,a=new TextEncoder;let o=new(r())({datumTokenizer:function(e){return r().tokenizers.whitespace(e.text)},queryTokenizer:r().tokenizers.whitespace,remote:{url:"/graphql/q=%prefix",wildcard:"%prefix",prepare:(e,t)=>(t.skipLoad=!/^\d+$/.test(e.trim())&&a.encode(e).length<3,t.name=e,t.url=t.url.replace("%prefix",e),t),transform:function(e){var a;return(null===(a=e.locationsByTypeahead)||void 0===a?void 0:a.locations.map(function(a){(a=Object.assign({},a)).text=["cemetery","city","county","state","country"].map(e=>a.locations[0][e]).filter(e=>e).join(", ").replace(/&/g,"&"),t.settings.displayId&&(a.text+=` (${a.id})`);const o=e.query.trim().split(/[\p{P}\s]+/u).filter(e=>e).map(e=>e.toLocaleLowerCase()),i=a.text.toLocaleLowerCase();return!o.every(e=>i.includes(e))&&a.highlight&&(a.text+=` (${a.highlight})`),a}))||[]},transport:(e,t,a)=>l(this,void 0,void 0,function*(){if(e.skipLoad)t([]);else{const{errors:o,data:i}=yield this.settings.apolloClient.query({query:s.J1` query locationTypeahead($search: LocationSearchInput) { locationsByTypeahead(search: $search) { total locations { ... on Location { id locations(format: short){ city county state country continent } names { name } coordinates { lat lon } highlight } ... on Cemetery { id locations(format: short){ cemetery city county state country continent } names { name } coordinates { lat lon } highlight } } } } `,variables:{search:{name:e.name,autocomplete:this.settings.autocomplete,categories:this.settings.type,havingCoordinates:this.settings.havingCoordinates,returnHighlight:!0}},errorPolicy:"all"});o?a(o):t(Object.assign(Object.assign({},i),{query:e.name.toLocaleLowerCase()}))}})}});this.typeaheadEl=i()(this.settings.inputId),this.typeahead=this.typeaheadEl.typeahead(this.settings.displayOptions,{name:this.settings.inputId.replace(/[#.]/,""),source:o.ttAdapter(),displayKey:"text",limit:5,templates:{notFound:function({query:e}){return!/^\d+$/.test(e.trim())&&a.encode(e).length<3?c.render():d.render()}}});const n=``;return this.typeaheadEl.addClass("form-control").after(n).parent().addClass("form-floating"),this.clearLocation=this.typeaheadEl.parents(".btn-group, .input-group").find(".clear-search"),this.targetId=i()(this.settings.targetId),this.typeahead.on("typeahead:autocomplete typeahead:select",function(e,a){t.targetId.val(null==a?void 0:a.id).data("d",a),t.typeahead.trigger("typeahead:set",[a]),t.targetId.trigger("change"),t.topSuggestion=a,t.clearLocation.removeClass("hidden")}).on("typeahead:change",function(e){var o;t.settings.onChange.call(t,e),!t.targetId.val().trim()&&a.encode(t.typeahead.typeahead("val").trim()).length>=3&&(t.changed=!0,null===(o=t.settings.onEmpty)||void 0===o||o.call(t))}).on("typeahead:render",function(e,a){a&&a.length>0&&a[0]&&(t.topSuggestion=a[0])}),t.typeahead.typeahead("val")&&t.typeahead.typeahead("val").trim().length>0&&t.clearLocation.removeClass("hidden"),t.clearLocation.on("click",function(){t.typeahead.typeahead("val",""),t.typeahead.trigger("typeahead:clear"),t.typeahead.trigger("focus"),t.targetId.val("").removeData("d"),t.targetId.trigger("change"),t.topSuggestion=null,i()(this).addClass("hidden")}),t.typeaheadEl.on("keydown",function(e){var o;if(13==e.which||9==e.which){a.encode(t.typeahead.typeahead("val").trim()).length>=3?t.topSuggestion?(t.targetId.val(t.topSuggestion.id).data("d",t.topSuggestion),t.typeahead.typeahead("val",t.topSuggestion.text),t.typeahead.trigger("typeahead:set",[t.topSuggestion]),t.targetId.trigger("change"),t.clearLocation.removeClass("hidden")):e.preventDefault():t.typeahead.typeahead("val","")}else["arrowup","arrowdown","arrowleft","arrowright","end","home","pagedown","pageup","meta","control","alt"].includes(null===(o=e.key)||void 0===o?void 0:o.toLowerCase())||e.metaKey||e.ctrlKey||(t.topSuggestion=null);return i()(this).val().trim().length>0?t.clearLocation.removeClass("hidden"):t.clearLocation.addClass("hidden"),t.settings.enterSubmitsForm||13!=e.which}).on("click",function(e){t.topSuggestion&&t.typeahead.typeahead("val").trim().length>=3&&(t.targetId.val(t.topSuggestion.id).data("d",t.topSuggestion),t.typeahead.typeahead("val",t.topSuggestion.text),t.typeahead.trigger("typeahead:set",[t.topSuggestion]),t.targetId.trigger("change"),t.typeahead.typeahead("close"),t.clearLocation.removeClass("hidden"))}),t},defaults:{inputId:"#location",targetId:"#locationId",type:p,autocomplete:"location",enterSubmitsForm:!0,noContinents:!1,displayId:!1,displayOptions:{hint:!0,highlight:!0,minLength:1},onEmpty:!1,clearEmpty:!1,onChange:function(e){this.typeahead.typeahead("val").trim().length>=3?(this.topSuggestion?(this.targetId.val(this.topSuggestion.id).data("d",this.topSuggestion),this.typeahead.trigger("typeahead:set",[this.topSuggestion]),this.targetId.trigger("change"),this.typeahead.typeahead("val",this.topSuggestion.text),this.typeahead.typeahead("close")):this.targetId.val("").removeData("d"),this.clearLocation.removeClass("hidden")):(this.targetId.val("").removeData("d"),this.typeahead.trigger("typeahead:clear"),this.targetId.trigger("change"),this.clearLocation.addClass("hidden"))}}}}const p=["loc"]},19356(e,t,a){var o=a(71757),i=a.n(o),n=a(54802),r=a(27667),s=a(69917),l=a(8747),d=a(71757);const c=a(96830);class h{constructor(){if(d("#related").is(":checked")){var e=d("input[name=relationship]:checked").attr("id");if(d("#related-html").removeClass("hidden"),"spouse"!==e&&"cousin"!==e){var t=d("input[name=sr-"+e+"]:checked").attr("id");t?d("#relationshipType").text(d("label[for='"+t+"']").text()):(d("#sr-"+e).prop("checked",!0),d("#relationshipType").text(d("label[for='"+e+"']").text()))}else d("#relationshipType").text(d("label[for='"+e+"']").text())}else d("#related-html").addClass("hidden");d(document).on("click","input[name=related]",function(){if(d("#recentlyDeceasedError").hide(),"memorial-detail-form"===findagrave.viewId||"memorial-edit"===findagrave.viewId){(0,s.kQ)().pref&&"true"!==(0,s.Ri)("defaultRelationshipNo")&&(0,s.TV)("defaultRelationshipNo","true",Math.floor(182.5))}d(this).is(":checked")&&"Yes"==this.value?(d("#related-html").removeClass("hidden"),d("input[name=relationship]:checked").length>0&&d("#addContributorRelationship").removeClass("hidden")):(d("#related-html").addClass("hidden"),d("#addContributorRelationship").addClass("hidden"),d("#show-relationship-html").addClass("hidden"),d("input[name=relationship]").prop("checked",!1),d(".default-option").prop("checked",!0).trigger("click"),d(".sub-options").removeClass("d-block"),d(".options-btn").text(d(this).closest(".choose-options").find(".options-btn").attr("data-options")),d("#relationshipType").text(""),d(".choose-options").removeClass("active"))}),d(document).on("click","input[name=relationship]",function(){d("#addContributorRelationship").removeClass("hidden"),d("#show-relationship-html").removeClass("hidden"),d("#relationshipError").hide(),d(this).closest(".choose-options").hasClass("active")||(d(".default-option").prop("checked",!0).trigger("click"),d(".sub-options").removeClass("d-block"),d(".options-btn").text(d(this).closest(".choose-options").find(".options-btn").attr("data-options")),d("#relationshipType").text(d("label[for='"+d(this).attr("id")+"']").text()),d(".choose-options").removeClass("active"),d(this).closest(".choose-options").addClass("active"))}),d(document).on("click",".options-btn",function(){d(this).next(".sub-options").hasClass("d-block")?(d(this).next(".sub-options").removeClass("d-block"),d(this).text(d(this).attr("data-options"))):(d(this).next(".sub-options").addClass("d-block"),d(this).text(d(this).attr("data-hide")))}),d(document).on("click","input[name=sr-sibling], input[name=sr-child], input[name=sr-auntuncle], input[name=sr-parent], input[name=sr-niecenephew], input[name=sr-grandchild], input[name=sr-grandparent]",function(){d("#relationshipType").text(d("label[for='"+d(this).attr("id")+"']").text());var e=d(this).attr("name").split("-")[1];d("label[for='"+e+"']").text(d("label[for='"+d(this).attr("id")+"']").text())}),d(document).on("click",".openContributorRelationshipModal",function(e){e.preventDefault(),e.stopPropagation();let t={name:d(this).attr("data-firstname")||d(this).attr("data-fullname"),shortInterval:d(this).attr("data-shortinterval"),publicName:d(this).attr("data-publicname"),creator:"true"==d(this).attr("data-shortinterval"),showSiteSponsor:"true"==d(this).attr("data-show-site-sponsor")},a=c.render(t);d("#recently-deceased-modal-container").html(a),d("#addContributorRelationship").attr("data-memorialid",d(this).attr("data-memorialid")).attr("data-nameforurl",d(this).attr("data-nameforurl")),d("#why-do-we-ask-relationship").popover({html:!0}),d('[data-bs-toggle="tooltip"]').each((e,t)=>new l.m_(t)),d("#recentlyDeceased").modal("show")}),d("#recentlyDeceased").on("hide.bs.modal",function(){d("#why-do-we-ask-relationship").popover("dispose"),d("#addContributorRelationship").removeAttr("data-memorialid").removeAttr("data-nameforurl")}),d("#addContributorRelationship").on("click",function(){d("#addContributorRelationship").addClass("disabled").prop("disabled",!0),d("#manageTooManyRelatedMemorials").html("").hide(),d("#temporaryManageTooManyRelatedMemorials").hide();var e=d(this).attr("data-memorialid"),t=d(this).attr("data-nameforurl");let a={related:d("input[name=related]:checked").val(),relationship:d("input[name=relationship]:checked").val(),relationshipPublic:d("#relationshipPublic").is(":checked")?"on":""};a["sr-"+a.relationship]="spouse"!==a.relationship&&"cousin"!==a.relationship?d("input[name=sr-"+d("input[name=relationship]:checked").val()+"]:checked").val():"",d.ajax({url:"/memorial/"+e+"/add-contributor-relationship",method:"POST",data:a,success:function(a){if("ManageTooManyRelatedMemorials"==a.error){let e=d("input[name=relationship]:checked").val(),t=r.default.t("mem.ovr.TooManyManagedTransferError",{relationship:d("label[for="+e+"]").text().toLowerCase()});d("#manageTooManyRelatedMemorials").html(t).show(),d("#addContributorRelationship").removeClass("disabled").prop("disabled",!1)}else if("TemporaryManageTooManyRelatedMemorials"==a.error)d("#temporaryManageTooManyRelatedMemorials").show(),d("#addContributorRelationship").removeClass("disabled").prop("disabled",!1);else{new RegExp("/memorial/"+e+"/").test(location.pathname)?(location.hash="memorial-transferred",location.reload()):location.href="/memorial/"+e+"/"+t+"#memorial-transferred"}},error:function(){d("#addContributorRelationship").removeClass("disabled").prop("disabled",!1)}})})}}var p=a(71757);function u(e){var t;e||(e=null===(t=/page=(\d+)/.exec(window.location.href))||void 0===t?void 0:t[1]),p("#gotoPage").val(e||"1")}function m(e){if(e.length>0){const t=p(e),a=p(window),o=a.scrollTop(),i=o+a.height(),n=t.offset().top,r=n+t.height();return t.height()>a.height()?r<=i&&r>=o||n>=o&&n<=i:r<=i&&n>=o}return!1}function g(e){const t=p(window).scrollTop(),a=p(window).height(),o=p(e).offset().top,i=p(e).height();return o+i-.25*i>t&&o500&&(k=500),C>1&&y("#back-to-top").removeClass("d-none"),"click"==w?(y("#load-next-page").closest("div").removeClass("hidden"),y("#load-previous-page").closest("div").removeClass("hidden")):"scroll"==w&&y("#content-placeholder").find("div").removeClass("invisible"),t>0&&0===y(window).scrollTop()&&y(window).scrollTop(1),u(),function({rowSelector:e,itemSelector:t,focusSelectorNext:a,focusSelectorPrevious:o,loadNextFunction:i,loadPreviousFunction:n,type:r}){y(document).on("click",t,function(t){!function(e){const t=new URL(window.location.href),a=new URLSearchParams(R);let o=e.closest(".list-item-page").attr("data-url").replace("page=","");e.attr("id")&&(o+="#"+e.attr("id"));const i=e.offset().top-y(window).scrollTop();a.set("page",o),history.replaceState({distanceFromTopFold:i},null,`${t.pathname}?${a.toString().replace(/%23/g,"#")}`)}(y(this).closest(e))});let l=0;y(window).on("scroll",function(){var t;"scroll"==w&&b{P(r,a,b)})),"scroll"==w&&l>y(window).scrollTop()&&C>1&&!T&&m(`${e}:first`)&&(T=!0,y("#loadpreviousajaxloader").show(),C--,n(C,I(C),x).then(e=>{M(r,o,C)})),Math.abs(y(window).scrollTop()-L)>.1*y(window).height()&&("normal"==r?(t=e,L=y(window).scrollTop(),y(".list-item-page").each(function(e){if(g(this)){const e=new URL(window.location.href),a=new URLSearchParams(R);let o=y(this).attr("data-url").replace("page=",""),i=y(this).attr("data-url");y(this).find(t).each(function(t){if(m(y(this)))return y(this).attr("id")&&(o+="#"+y(this).attr("id")),y(this).attr("id")&&y(this).attr("id").length>3&&(/page=1$/.test(i)?y("#back-to-top").addClass("d-none"):y("#back-to-top").removeClass("d-none"),a.set("page",o),history.replaceState(null,null,`${e.pathname}?${a.toString().replace(/%23/g,"#")}`),u()),!1})}})):"suggestedEdits"==r&&function(e){L=y(window).scrollTop(),y(e).each(function(e){if(g(this)){const e=new URL(window.location.href),t=new URLSearchParams(R);let a=y(this).attr("data-url").replace("page=",""),o=y(this).attr("data-url");y(this).find("tr").each(function(i){if(m(y(this)))return y(this).attr("id")&&(a+="#"+y(this).attr("id")),y(this).attr("id")&&y(this).attr("id").length>3&&(/page=1$/.test(o)?y("#back-to-top").addClass("d-none"):y("#back-to-top").removeClass("d-none"),t.set("page",a),history.replaceState(null,null,`${e.pathname}?${t.toString().replace(/%23/g,"#")}`),u()),!1})}})}(e)),l=y(window).scrollTop()}),y(document).on("click","#load-next-page",function(e){e.preventDefault(),"click"==w&&(S=!0,y("#loadmoreajaxloader").show(),b++,i(b,I(b),x).then(e=>{P(r,a,b)}))}),y(document).on("click","#load-previous-page",function(e){e.preventDefault(),"click"==w&&(T=!0,y("#loadpreviousajaxloader").show(),C--,n(C,I(C),x).then(e=>{M(r,o,C)}))}),"click"==w?(y("#load-next-page").closest("div").removeClass("hidden"),y("#load-previous-page").closest("div").removeClass("hidden")):"scroll"==w&&y("#content-placeholder").find("div").removeClass("invisible");y(document).on("change","#scrollLists",function(e){if(e.preventDefault(),e.stopPropagation(),y("#scrollLists").is(":checked")){w="scroll",C>1&&y("#content-placeholder").find("div").removeClass("invisible"),y("#load-next-page").closest("div").addClass("hidden"),y("#load-previous-page").closest("div").addClass("hidden"),(0,s.kQ)().pref&&(0,s.TV)("pageLoadType","scroll",365)}else{w="click",y("#content-placeholder").find("div").addClass("invisible"),b1&&y("#load-previous-page").closest("div").removeClass("hidden"),(0,s.kQ)().pref&&(0,s.TV)("pageLoadType","click",365)}})}({itemSelector:n,rowSelector:i,focusSelectorNext:r,focusSelectorPrevious:l,loadNextFunction:d,loadPreviousFunction:c,type:e})}function I(e){return e*x-x}function P(e,t,a){b>=k&&y("#load-next-page").closest("div").addClass("hidden"),y("#loadmoreajaxloader").hide(),"normal"==e?y(t).trigger("focus"):"suggestedEdits"==e&&y(`tbody[data-page=${a}]`).next().find("a.fw-bold").trigger("focus"),S=!1}function M(e,t,a){if(C<=1&&(y("#content-placeholder").addClass("hidden"),y("#load-previous-page").closest("div").addClass("hidden")),y("#loadpreviousajaxloader").hide(),y(".list-item-page").addClass("in"),"normal"==e){const e=y("div.list-item-page:first").outerHeight();window.scrollTo({top:y(window).scrollTop()+e,left:0,behavior:"instant"}),y(t).trigger("focus")}else if("suggestedEdits"==e){const e=y(`tbody[data-page=${a}]`).first().offset().top,t=y(`tbody[data-page=${a+1}]`).first().offset().top-e;window.scrollTo({top:y(window).scrollTop()+t,left:0,behavior:"instant"}),y(`tbody[data-page=${a+1}]`).prev().find("a.fw-bold").trigger("focus")}T=!1}var F=function(e,t,a,o){return new(a||(a=Promise))(function(i,n){function r(e){try{l(o.next(e))}catch(e){n(e)}}function s(e){try{l(o.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof a?t:new a(function(e){e(t)})).then(r,s)}l((o=o.apply(e,t||[])).next())})};const j=a(27907);i()(function(){new n.A,new h,i()(document).on("change","#condensedLists",function(e){if(e.preventDefault(),e.stopPropagation(),i()("#condensedLists").is(":checked")){i()(".memorial-item-pic").addClass("hidden"),i()(".condensed-hide").addClass("hidden"),i()(".condensed-show").removeClass("hidden"),i()(".paging-divide").addClass("condensed"),i()(".aka-text").addClass("condensed"),i()(".condensed-display").removeClass("offset-sm-4 offset-md-3 offset-xl-2 mt-sm-n4 ps-xl-4"),findagrave.currentView="condensed";let e=window.location.pathname,t="",a="currentView";switch(e){case!!/^\/virtual-cemetery\//.test(e)&&e:t="/virtual-cemetery/";break;case!!/^\/cemetery\/search/.test(e)&&e:t="/cemetery/search";break;case!!/^\/cemetery\//.test(e)&&e:t="/cemetery/",a="currentCemeteryView";break;case!!/^\/famous-memorial-date\//.test(e)&&e:t="/famous-memorial-date/";break;case!!/^\/posthumous-reunion\//.test(e)&&e:t="/posthumous-reunion/";break;case!!/^\/user\//.test(e)&&e:t="/user/"}(0,s.kQ)().pref&&(0,s.TV)(a,findagrave.currentView,365,t)}else{i()(".memorial-item-pic").removeClass("hidden"),i()(".condensed-hide").removeClass("hidden"),i()(".condensed-show").addClass("hidden"),i()(".paging-divide").removeClass("condensed"),i()(".aka-text").removeClass("condensed"),i()(".condensed-display").addClass("offset-sm-4 offset-md-3 offset-xl-2 mt-sm-n4 ps-xl-4"),findagrave.currentView="default";let e=window.location.pathname,t="",a="currentView";switch(e){case!!/^\/virtual-cemetery\//.test(e)&&e:t="/virtual-cemetery/";break;case!!/^\/cemetery\/search/.test(e)&&e:t="/cemetery/search";break;case!!/^\/cemetery\//.test(e)&&e:a="currentCemeteryView=",t="/cemetery/";break;case!!/^\/famous-memorial-date\//.test(e)&&e:t="/famous-memorial-date/";break;case!!/^\/posthumous-reunion\//.test(e)&&e:t="/posthumous-reunion/";break;case!!/^\/user\//.test(e)&&e:t="/user/"}(0,s.kQ)().pref&&(0,s.TV)(a,findagrave.currentView,365,t),i()(".memorial-item-pic img").each(function(e,t){!i()(this).attr("src")&&i()(this).attr("data-src")&&i()(this).attr("src",i()(this).attr("data-src"))})}}),i()(".sponsored").html(findagrave.sponsored),i()(".nocemeteryinfo").html(findagrave.noCemeteryInfo),$({totalRecords:findagrave.total,currentPage:findagrave.page||1,loadNextFunction:function(e,t,a){return F(this,void 0,void 0,function*(){let o=yield i().ajax({url:"/memorial/recently-added/view",data:{ajax:!0,photofilter:findagrave.photoFilter,datefilter:findagrave.dateFilter,skip:t,limit:a,orderby:findagrave.orderBy}});findagrave.skip=o.loadmore.next,o.page=e,o.currentView=findagrave.currentView||"default",o.userLocale=findagrave.locale,o.userLocation=findagrave.userLocation,i()(".memorial-list-data").append(j.render(o)),i()(".nocemeteryinfo").html(findagrave.noCemeteryInfo),i()(".sponsored").html(findagrave.sponsored)})},loadPreviousFunction:function(e,t,a){return F(this,void 0,void 0,function*(){let o=yield i().ajax({url:"/memorial/recently-added/view",data:{ajax:!0,photofilter:findagrave.photoFilter,datefilter:findagrave.dateFilter,skip:t,limit:a,orderby:findagrave.orderBy}});findagrave.prev=o.loadmore.prev,o.page=e,o.currentView=findagrave.currentView||"default",o.userLocale=findagrave.locale,o.userLocation=findagrave.userLocation;var n=i()(j.render(o));i()(".memorial-list-data").prepend(n),i()(".nocemeteryinfo").html(findagrave.noCemeteryInfo),i()(".sponsored").html(findagrave.sponsored)})}}),i()("#sort-select").on("change",function(){findagrave.orderBy=i()("#sort-select").val(),findagrave.recordsFound>0&&function(e,t,a=["page"]){let o=new URL(window.location.href);o.hash="",null==a||a.forEach(e=>o.searchParams.delete(e)),o.searchParams.set(e,t),window.location.href=o.href}("orderby",findagrave.orderBy)})})}}]); //# sourceMappingURL=9091.e4795e64de97d8968f8d.js.map