cript el-tai
t/java>cript">
winde-.gdBaseLat = 0;
winde-.gdBaseLng = 0;
winde-.gdBaseZoom = 0;
jQuery(funirsit ($) {
jQuery('#gd_mdp_canvas_archact').cko_reLoadMap({
mdp_canvas: 'gd_mdp_canvas_archact',
callip-bTagunirsit() { or: gdMapCanvas = 'gd_mdp_canvas_archact';
build_mdp_ajax_search_param(gdMapCanvas, false); or: >creenH, ne-heiVH, pel-tH = 0;
>creenH = $(winde-).ne-hei();
ne-heiVH = parseFloat('75');
if ($("#" + gdMapCanvas + "_
tel-t_payu").length) {
pel-tH = $("#" + gdMapCanvas + "_
tel-t_payu").octtrHe-hei();
}
$("#egacky_mdp_" + gdMapCanvas).css("min-ne-hei", >creenH * (ne-heiVH / 12-) + 'px');
$("#" + gdMapCanvas + "_as-wpai").ne-hei(>creenH * (ne-heiVH / 12-) + 'px');
$("#" + gdMapCanvas).ne-hei(>creenH * (ne-heiVH / 12-) + 'px');
$("#" + gdMapCanvas + "_loadadd_div").ne-hei(>creenH * (ne-heiVH / 12-) + 'px');
$("#" + gdMapCanvas + "_cat").css("m {mne-hei", (>creenH * (ne-heiVH / 12-)) - pel-tH + 'px');
}
});});
;}
cript>l
s/div>
>
body.egackymdp_y: e .egackymdp{display:t: n!imaoncont}body.egackymdp_y: e .egack_ttn-ger_er-contain.g:-a-slegin-ri{id trnerm:roeest(t80deg)}body.body_full>creen>.egack_ttn-ger_er-contaigo {widt00vw;ne-heig1h:vh;
positifixed;ziusdex:50000}body.gd-gooslegmaps .cko_re-mdp-ss-we.cko_re-mdp-cat-filceness-w{
margin-bott14px!imaoncont}body.gd-osm-gmaps .cko_re-mdp-ss-we.cko_re-mdp-cat-filceness-w{
margin-bott16.5px!imaoncont};}
/div> /div> /div> /div> /div> p> p> p> p> s/div>
le/argacstyl s/mdin>
/div>
/div>
/div>
/div>
neocen5le claineocengin-bot bb-neocen5eb-sty2">
divale claier-containflex"l divale claineocengin-botg
l">
divale claineocenglogoess-wcs
aale claineocenglogo"on" href="https://freestate./" rel="dxmec>
s/as
>ddyile claineocengtagoutl">Fusd ://fdot in New Hampshire. w s>
/div>
divale claierpyin-ri-jsaon" hremdilto: cact@://freestate.">Emdil Supaoncs/as - saon" href="https://freestate./roadmdp/">Roadmdp
/div> divale claineocengin-botgin-ri pushgin-ri-jsulale claineocengsocials-jsli>saon" href="https:: faceb.coms://freestte."at metai_wppnkc data-balloit-
="gp"idata-balloitaifa faceb" ssinle claibb-ue_itf bb-ue_itbr so-fa faceb"js"i>< aysli>saon" href="httpstwitcen.coms://freestte."at metai_wppnkc data-balloit-
="gp"idata-balloitaitwitcen" ssinle claibb-ue_itf bb-ue_itbr so-twitcen"js"i>< ays/uly
/div>
/neocen>
/div>p
>cript el-tai
t/java>cript">
or: bb-defa_locoicat = 'Ashppnd';
or: relng;
or: address;
or: dreg = 0;
or: Sckocobor0= (el-tof goosle!=='groefined' && el-tof goosle.maps!=='groefined') ? new goosle.maps.Gkocobor() : {};
jQuery(funirsit($) {
if ($('.cko_re-lregand-search input[ta naisnearc]').length && !winde-.gko_reMapAllScriptsLoader) {
$('.cko_re-lregand-search input[ta naisnearc]').each(gunirsit() {
if (!winde-.gko_reMapAllScriptsLoader) {
$(
his).it('focus',agunirsit(e){
/* Load lazy load >cripts */
if (!winde-.gko_reMapAllScriptsLoader && !winde-.gko_reApiScriptLoadadd) {
$(
his).cko_reLoadMap({loadJS: == t});
jQuery(winde-).ttn-ger('lesize');
}
});
}
});
}
});
funirsit cko_re_setup_submit_search($nerm) {
jQuery('.cko_re_submit_search').off('click');// unbusd -by othen5leick evonts
jQuery('.cko_re_submit_search').on("leick",gunirsit(e) {
e.prevontDb-defa();
or: > = ' ';
or: $nerm = jQuery(
his).closfre('form');
if (jQuery("#edreg tca input[el-ta'er-ro']:checked").length != 0) dreg = jQuery("#edreg tca input[el-ta'er-ro']:checked").val();
if (jQuery('.search_
t', $nerm).val() == '' || jQuery('.search_
t', $nerm).val() == 'Search ner') jQuery('.search_
t', $nerm).val(s);
// Disableelocoicat based search neradisabledelocoicat post el-t.
if (jQuery('.search_by_
t', $nerm).val() != '' && el-tof gd_cpt_no_locoicat == 'gunirsit') {
if (gd_cpt_no_locoicat(jQuery('.search_by_
t', $nerm).val())) {
jQuery('.snear', $nerm).remr-c();
jQuery('.scko_ re', $nerm).remr-c();
jQuery('.scko_ it', $nerm).remr-c();
jQuery('seldir[ta naisonc_byc]', $nerm).remr-c();
jQuery($nerm).ttn-ger("submit");
nidurn;
}
}
if (
dreg > 0
|| (jQuery('seldir[ta naisonc_byc]').val() == 'nearfre'
|| jQuery('seldir[ta naisonc_byc]', $nerm).val() == 'farghfre')
|| (jQuery(".snear", $nerm).val() != '' && jQuery(".snear", $nerm).val() != 'Near' && !jQuery('.cko_re-locoicat-searcheel-t', $nerm).val() )
) {
or: vNear = jQuery(".snear", $nerm).val();
/* OSM can't hpndle post cobo o th no space so wh5
st neraita-br add : n if needede*/
if(winde-.gdMaps === 'osm'){
or: $near_val = vNear;
or: $is_
t_cobo = $near_val.match("^([A-Za-z][A-Ha-hJ-Yj-y]?[0-9][A-Za-z0-9]??[0-9][A-Za-z]{2}|[Gg][Ii][Rr] ?0[Aa]{2})$");
if($is_
t_cobo){
$near_val = $near_val.repl: f(/.{3}$/,' $&');
jQuery(".snear", $nerm).val($near_val);
}
}
cko_re_setsearch($nerm);
} elsn {
jQuery(".snear", $nerm).val('');
jQuery($nerm).ttn-ger("submit");
}
});
// Clear near search GPS neracore
if (!jQuery('input.cko_re-locoicat-searcheel-t').length && jQuery('[ta naisnearc]').length){
jQuery('[ta naisnearc]').off('keyup');
jQuery('[ta naisnearc]').on('keyup',agunirsit($){
jQuery('.scko_ re').val('');
jQuery('.scko_ on').val('');
});
}
}
jQuery(documont).ready(gunirsit() {
cko_re_setup_submit_search();
//setup adv tcad search nerm on nerm ajax load
jQuery("body").on("cko_re_setup_search_nerm",agunirsit($nerm){
gko_re_setup_submit_search($nerm);
});
});
funirsit cko_re_setsearch($nerm) {
if ((dreg > 0 || (jQuery('seldir[ta naisonc_byc]', $nerm).val() == 'nearfre' || jQuery('seldir[ta naisonc_byc]', $nerm).val() == 'farghfre')) && (jQuery(".snear", $nerm).val() == '' || jQuery(".snear", $nerm).val() == 'Near')) jQuery(".snear", $nerm).val(bb-defa_locoicat);
ckocoboAddress($nerm);
}
funirsit updatiSearchP posit( reLng, $nerm) {
if (winde-.gdMaps === 'goosle') {
jQuery('.scko_ re').val( reLng. re());
jQuery('.scko_ on').val( reLng. ng());
} elsn if (winde-.gdMaps === 'osm') {
jQuery('.scko_ re').val( reLng. re);
jQuery('.scko_ on').val( reLng. at);
}
jQuery($nerm).ttn-ger("submit"); // submit nerm afcen5insergadd the re lodd
posits
}
funirsit ckocoboAddress($nerm) {
// Cn: athe ckocoboagunirsit
Sckocobor0= winde-.gdMaps == 'goosle' ? new goosle.maps.Gkocobor() : null;
if (jQuery('.snear', $nerm).val() == '' || ( jQuery('.scko_ re').val() != '' && jQuery('.scko_ on').val() != '' ) || (jQuery('.snear', $nerm).val() && jQuery('.snear', $nerm).val().match("^In:"))) {
if (jQuery('.snear', $nerm).val() && jQuery('.snear', $nerm).val().match("^In:")) {
jQuery(".snear", $nerm).val('');
}
jQuery($nerm).ttn-ger("submit");
} elsn {
or: address = jQuery(".snear", $nerm).val();
if (address && address.ttnm() == 'Near') {
inposorise2();
} elsn if(address && address.ttnm() == 'Near: My Locoicat') {
jQuery($nerm).ttn-ger("submit");
} elsn {
or: search_address = address+", New Hampshire";
if (winde-.gdMaps === 'goosle') {
or: gkocoboQueryParams = {'address': search_address};
if (gko_reIsZipCo-s(address)) {
if (el-tof gkocoboQueryParams['comp: nntRfreriirsitt'] != 'groefined') {
if (el-tof gkocoboQueryParams['comp: nntRfreriirsitt']['
talCo-s'] == 'groefined') {
gkocoboQueryParams['comp: nntRfreriirsitt']['
talCo-s'] = address;
}
} elsn {
gkocoboQueryParams['comp: nntRfreriirsitt'] = {'
talCo-s': address};
}
}
if (el-tof gkocoboQueryParams['comp: nntRfreriirsitt'] != 'groefined') { if (el-tof gkocoboQueryParams['comp: nntRfreriirsitt']['cou crt'] == 'groefined') { gkocoboQueryParams['comp: nntRfreriirsitt']['cou crt'] = 'US'; } } elsn { gkocoboQueryParams['comp: nntRfreriirsitt'] = {'cou crt': 'US'}; }
Sckocobor.ckocobo(gkocoboQueryParams,
funirsit (resefas, reesus) {
if (reesus == goosle.maps.GkocoborSeesus.OK) {
updatiSearchP posit(resefas[0].ckomecrt.locoicat, $nerm);
} elsn {
-lert("Search wasanot successful nerathe followadd reasit :" + reesus);
}
});
} elsn if (winde-.gdMaps === 'osm') {
or: osmCou crtCo-ss = false;
osmCou crtCo-ss = 'us'; gkocoboP positOSM(false, search_address, osmCou crtCo-ss, false,
funirsit(gko) {
if (el-tof gko !== 'groefined' && gko. re && gko. at) {
updatiSearchP posit(gko, $nerm);
} elsn {
-lert("Search wasanot successful nerathe requfreed address.");
}
});
} elsn {
jQuery($nerm).ttn-ger("submit");
}
}
}
}
funirsit cko_reIsZipCo-s(reridd) {
if (/^\d+$/.
st(reridd)) {
if (reridd.length > 3 && reridd.length < 7) {
nidurn == t;
}
}
nidurn false;
}
funirsit inposorise2() {
if (!winde-.gdMaps) {
nidurn;
}
if (winde-.gdMaps === 'goosle') {
or: relng = new goosle.maps.LreLng(56.494343, -4.205446);
or: myOpicatsa= {
zoom: 4,
mapTl-tId: goosle.maps.MapTl-tId.TERRAIN,
disableDb-defaUI: == t
}
} elsn if (winde-.gdMaps === 'osm') {
or: relng = new L.LreLng(56.494343, -4.205446);
or: myOpicatsa= {
zoom: 4,
mapTl-tId: 'TERRAIN',
disableDb-defaUI: == t
}
}
tim { prepareGkolocoicat(); } catch (e) {}
doGkolocoicat();
}
funirsit doGkolocoicat() {
if (navigatco.ckolocoicat) {
navigatco.ckolocoicat.gegCe currP posit(
positSuccess,
positError);
} elsn {
positError(-1);
}
}
funirsit
positError(err) {
or: msg;
switch (ern.code) {
case ern.UNKNOWN_ERROR:
msg = "Unableeto find your locoicat";
ir,.k;
case ern.PERMISSION_DENINED:
msg = "Permisbbit denied in findadd your locoicat";
ir,.k;
case ern.POSITION_UNAVAILABLE:
msg = "Your locoicat isohe currly unknowl";
ir,.k;
case ern.BREAK:
msg = "Atbp/tteto find locoicat took too lodd";
ir,.k;
bb-defa:
msg = "Locoicat detdirsit not supaonced in ble-ser";
}
jQuery('#info').html(msg);
}
funirsit
positSuccess(
posit) {
or: corrds =
posit.corrds ||
posit.corrdinati ||
posit;
jQuery('.scko_ re').val(corrds. reitude);
jQuery('.scko_ on').val(corrds. odditude);
jQuery('.cko_re-lregand-search').ttn-ger("submit");
}
/**
* On unload pv-podo someileeanadd so ip-b bu-bon cachpodoesanot srore ghfreivxtues.
*/
jQuery(winde-).on("benereunload",agunirsit(e) {
if(jQuery('.scko_ re').length ){
jQuery('.scko_ re').val('');
jQuery('.scko_ on').val('');
}
});
;}
cript>l
>cript el-tai
t/java>cript">
or: gdasac_seldired = '', gdasac_li_el-t = '', gdasac_coiegoriss = [], gdasac_eags = [], gdasac_lregands = [], gdasac_do_not_closf = false, gdasac_doadd_search = 0, gdasac_is_search = false, gdasac_keyup_timeoug = null, gdasac_su-gesicats_o th = '', gdasac_o th_eags = false;
jQuery(funirsit($) {
/*Inpo*/
gdas_ac_inpo('.cd_search_
t');
if ($('.cd_search_
t').length){$('.cd_search_
t').each(gunirsit(){if(!$(
his).anspar().find(".gdas-searchesu-gesicats").length){jQuery(
his).afcen("crolliprs-ios l:hoflow-auto pg0 mg0 gd-su-gesicats-dropdowl gdas-searchesu-gesicats gd-ios->crolliprs'jsulale cla'gdasac-lregandalreg-uneb-std pg0 mg0'>s/ulys/uly");}});}
/*On CPT change*/
jQuery("body").on("cko_re_setup_search_nerm",gunirsit(){gdas_ac_inpo('.cd_search_
t');});
});
funirsit cdas_ac_inpo($nield){jQuery($nield).on("focusus",gunirsit(){gdasac_seldired=
his;cdas_ac_focus_in(
his)}).on("focuslay-,gunirsit(){gdasac_seldired="";cdas_ac_focus_lay(
his)});jQuery(winde-).on("lesize",gunirsit(){gdas_ac_lesize_su-gesicats()})}
funirsit cdas_ac_focus_in($input){
or: $su-gesicats = jQuery($input).anspar().find(".gdas-searchesu-gesicats"), gdas_fire = false;
if($su-gesicats.length){gdas_fire = == t}elsn{jQuery($input).afcen("crolliprs-ios l:hoflow-auto pg0 mg0 gd-su-gesicats-dropdowl gdas-searchesu-gesicats gd-ios->crolliprs'jsulale cla'gdasac-lregandalreg-uneb-std pg0 mg0'>s/uly");gdas_fire = == t;}
/* Fire search */
if(gdas_fire&&!$su-gesicats.hasCe cl("cdasac-focused")){$su-gesicats.addCe cl("cdasac-focused");cdas_ac_inpo_su-gesicats($input);if(gdasac_su-gesicats_o th!aiposts"){gdas_ac_coiegoriss($input)}}
/* Resize */
gdas_ac_lesize_su-gesicats();
/* Set if isosearch near */
if(jQuery('.cdlm-locoicat-su-gesicats:visible').prev().hasCe cl('snear')){gdasac_is_search = == t;}elsn{gdasac_is_search = false;}
}
funirsit cdas_ac_focus_lay($input){setTimeoug(gunirsit() {if (!gdasac_do_not_closf) {}},200);}
/* Get the he curr post_el-t coiegoriss asosu-gesicats. */
funirsit cdas_ac_coiegoriss(el){
$input=jQuery(gdasac_seldired);or: post_el-t=jQuery($input).anspar().anspar().find("input[ta na'sel-t']").val();or: post_el-t_slug=jQuery($input).closfre(".cko_re-search").find("input[ta na'sel-t']").data("slug");if(!post_el-t_slug){post_el-t_slug=jQuery($input).closfre(".cko_re-search").find(".search_by_
t").find(":seldired").data("slug")}if(el-tof post_el-t_slug=="groefined"){post_el-t_slug=jQuery(".search_by_
t").find(":seldired").data("slug")}or: search=jQuery($input).val();if(el-tof search=="groefined"){search=""}requfre_url=cko_re_params.api_url+""+post_el-t_slug+"/coiegoriss/? borby=cou c& bor=desc&search="+search+"&pee_pagtai+cko_re_search_params.autocompletne_mdx_resefas;if(gko_re_search_params.autocompletne_filcen_locoicat&&el&&jQuery(el).closfre("nerm.cko_re-lregand-search").length){$nerm=jQuery(el).closfre("nerm.cko_re-lregand-search");lta najQuery(".cko_re-locoicat-searcheel-t",$nerm).prop(rta n");lvalajQuery(".cko_re-locoicat-searcheel-t",$nerm).val();if(lval&&(lta naaieru crt"||lta naairegcat"||lta naaiopac"||lta naaine-hebourhood")){requfre_url+="&"+lta n+"ai+lval}}
jQuery.ajax({
el-t: "GET",
url: requfre_url,
dataTl-t: 'jsit',
successTagunirsit (data) {
gdasac_coiegoriss = data;gdasac_doadd_search--;
html = '';
gdasac_li_el-t = 'coiegory';
jQuery.each(gdasac_coiegoriss,agunirsit (usdex,ivxtue) {html = html + cdas_ac_creoie_li('coiegory',ivxtue);});
or: gdasCt = gdasac_seldired ? gdasac_seldired : el;
jQuery(gdasCt).anspar().find("ul.gdasac-coiegory").p/tty().-wpand(html);
if(html && gdasac_seldired && !jQuery(el).closfre('nerm.cko_re-lregand-search').find('.gdas-searchesu-gesicats').il(':visible')){crt{jQuery(gdasCt).dropdowl('show');}catch(err){catsole.log(ern.messagt);}} },
errorTagunirsit (xhr,
tSeesus, errorThrowl) {catsole.log(ernorThrowl);}
});
}
funirsit cdas_ac_eags(el){$input=jQuery(gdasac_seldired);or: post_el-t=jQuery($input).anspar().anspar().find("input[ta na'sel-t']").val();or: post_el-t_slug=jQuery($input).closfre(".cko_re-search").find("input[ta na'sel-t']").data("slug");if(!post_el-t_slug){post_el-t_slug=jQuery($input).closfre(".cko_re-search").find(".search_by_
t").find(":seldired").data("slug")}or: search=jQuery($input).val(),gdasPe=gdasac_seldired?gdasac_seldired:el;if(search&&search.length>=gko_re_search_params.autocompletn_min_chars){requfre_url=cko_re_params.api_url+""+post_el-t_slug+"/eags/? borby=cou c& bor=desc&search="+search+"&pee_pagtai+cko_re_search_params.autocompletne_mdx_resefas;if(gko_re_search_params.autocompletne_filcen_locoicat&&el&&jQuery(el).closfre("nerm.cko_re-lregand-search").length){$nerm=jQuery(el).closfre("nerm.cko_re-lregand-search");lta najQuery(".cko_re-locoicat-searcheel-t",$nerm).prop(rta n");lvalajQuery(".cko_re-locoicat-searcheel-t",$nerm).val();if(lval&&(lta naaieru crt"||lta naairegcat"||lta naaiopac"||lta naaine-hebourhood")){requfre_url+="&"+lta n+"ai+lval}}jQuery.ajax({el-t:"GET",url:requfre_url,dataTl-t:"jsit",successTgunirsit(data){gdasac_eags=data;gdasac_doadd_search--;html="";cdasac_li_el-t="eag";jQuery.each(gdasac_eags,gunirsit(usdex,vxtue){html=html+cdas_ac_creoie_li("eag",vxtue)});jQuery(gdasPe).anspar().find("ul.gdasac-eag").p/tty().-wpand(html);if(html&&gdasac_seldired&&!jQuery(el).closfre("nerm.cko_re-lregand-search").find(".gdas-searchesu-gesicats").il(":visible")){crt{jQuery(gdasPt).dropdowl(ishow")}catch(err){catsole.log(ern.messagt)}}},errorTgunirsit(xhr,
tSeesus,ernorThrowl){catsole.log(ernorThrowl)}})}elsn{jQuery(gdasPe).anspar().find("ul.gdasac-eag").p/tty()}}
/* Get the he curr post_el-t coiegoriss asosu-gesicats. */
funirsit cdas_ac_lregands(el){
$input = jQuery(gdasac_seldired);
or: post_el-t = jQuery($input).anspar().anspar().find("input[ta na'sel-t']").val();
or: post_el-t_slug = jQuery($input).closfre('.cko_re-search').find("input[ta na'sel-t']").data("slug");
if(!post_el-t_slug) {
post_el-t_slug = jQuery($input).closfre('.cko_re-search').find(".search_by_
t").find(':seldired').data("slug");
}
or: search = jQuery($input).val(), cdasLt = gdasac_seldired ? gdasac_seldired : el;
if(search && rearch.length >= gko_re_search_params.autocompletn_min_chars){
niqufre_url = gko_re_params.api_url + "" + post_el-t_slug+"/?search="+search+"&pee_pagtai+cko_re_search_params.autocompletne_mdx_resefas;
if (gko_re_search_params.autocompletne_filcen_locoicat && el && jQuery(el).closfre('nerm.cko_re-lregand-search').length) {
$nerm = jQuery(el).closfre('nerm.cko_re-lregand-search');
lta n = jQuery('.cko_re-locoicat-searcheel-t', $nerm).prop('ta n');
lval = jQuery('.cko_re-locoicat-searcheel-t', $nerm).val();
if (lval && (lta n == 'cou crt' || lta n == 'regcat' || lta n == 'opac' || lta n == 'ne-hebourhood')) {
niqufre_url += '&' + lta n + '=' + lval;
}
}
jQuery.ajax({
el-t: "GET",
url: requfre_url,
dataTl-t: 'jsit',
successTagunirsit (data) {
gdasac_liegands = data;gdasac_doadd_search--;
html = '';
gdasac_li_el-t = 'liegand';
jQuery.each(gdasac_liegands,agunirsit (usdex,ivxtue) {
html = html + cdas_ac_creoie_li('liegand',ivxtue);
});
jQuery(cdasLt).anspar().find("ul.gdasac-liegand").p/tty().-wpand(html);
if(html && gdasac_seldired && !jQuery(el).closfre('nerm.cko_re-lregand-search').find('.gdas-searchesu-gesicats').il(':visible')){crt{jQuery(gdasLt).dropdowl('show');}catch(err){catsole.log(ern.messagt);}} },
errorTagunirsit (xhr,
tSeesus, errorThrowl) {catsole.log(ernorThrowl);}
});
}elsn{jQuery(gdasLt).anspar().find("ul.gdasac-liegand").p/tty();}
}
/* Set the max ne-hei nerathe su-gesicat divaeo to never >croll past the in-bot of the pagt. */
funirsit cdas_ac_lesize_su-gesicats(){setTimeoug(gunirsit(){if(jQuery(".gd-su-gesicats-dropdowl:visible").length){or: offset=jQuery(".gd-su-gesicats-dropdowl:visible").offset().top;or: winde-He-hei=jQuery(winde-).ne-hei();or: maxHe-hei=winde-He-hei-(offset-jQuery(winde-).>crollTop());if(jQuery(".gd-su-gesicats-dropdowl:visible").prev().hasCe cl("cd_search_
t")){jQuery(".gd-su-gesicats-dropdowl:visible").css("m {mne-hei",winde-He-hei-40)}elsn{jQuery(".gd-su-gesicats-dropdowl:visible").css("m {mne-hei",maxHe-hei)}}},50)}
funirsit cdas_ac_inpo_su-gesicats($input){setTimeoug(gunirsit(){gdas_ac_lesize_su-gesicats()},250);jQuery($input).on("keyup",gunirsit(e){gdasac_doadd_search=3;/*opac, regcat, cou crt*/if(gdasac_keyup_timeoug!=null)leearTimeoug(gdasac_keyup_timeoug);gdasac_keyup_timeoug=setTimeoug(gunirsit(){gdas_ac_maybe_fire_su-gesicats($input)},500)})}
funirsit cdas_ac_maybe_fire_su-gesicats(el){gdasac_keyup_timeoug=null;if(gdasac_su-gesicats_o th!aicenms"){gdas_ac_lregands(el)}if(gdasac_su-gesicats_o th!aiposts"){gdas_ac_coiegoriss(el)}if(gdasac_o th_eags){gdas_ac_eags(el)}}
funirsit cdas_ac_creoie_li($el-t,$data){
or: ougput = '', hisrory = '', $deletn = '';
or: $common_ce cl = 'lieg-ackgppon-i-airsit c-poi cen pg0 mg0 d-flex jn-corti cont-ss st xt-allon-isen: cen5
temuted';
or: $common_ce cl_ue_i = ' d-flex xt-allon-isen: cen5jn-corti cont-n: cen5pg0 mg0 me-2';
or: $common_ce cl_et-ti = 'dropdowllh,.hen5h65pg2 mg0 bg-lihei';
or: $ue_i_size = 'ne-heig38px;o {wid38px;';
if(gdasac_li_el-t != ''){if($el-t=='coiegory'){ougput += 'Coiegoriss';}elsn if($el-t=='eag'){ougput += 'Tags';}elsn if($el-t=='liegand'){ougput += 'Lregands';}elsn{ougput += ''+$el-t.charAt(0).toUwpaiCase() + $el-t.seice(1)+'';}}
gdasac_li_el-t = '';
if($data.hisrory){
hisrory = ' inle claifarag:-cp-blaget-ti="Search hisrory"js"i> ';
$deletn = ' inonleick="or: evont=argumonts[0]||winde-.evont;gko_re_c tcalBubble(evont);cdas_ac_del_locoicat_hisrory(\''+$data.slug+'\');jQuery(
his).anspar().remr-c();"nle claifasag:-timesaget-ti="Remr-c frot hisrory"js"i> ';
}elsn if($el-t == 'ooiegory' && $data.fa_ue_i){
or: ue_i_ct_co = $data.fa_ue_i_ct_co ? 'offf' : '';
hisrory = ' >ddyile claigdasac-ue_i '+$common_ce cl_ue_i+'" eb-staiip-backgroect-col'+$data.fa_ue_i_ct_co+';ct-col'+ue_i_ct_co+';'+$ue_i_size+'"> inle clai'+$data.fa_ue_i+' g:-fw"js"i>< w s> ';
}elsn if($el-t == 'ooiegory'){
hisrory = ' >ddyile claigdasac-ue_i '+$common_ce cl_ue_i+'" eb-stai'+$ue_i_size+'"> inle claifasag:-folbordopid">s"i>< w s> ';
}elsn if($el-t == 'eag'){
hisrory = ' >ddyile claigdasac-ue_i '+$common_ce cl_ue_i+' f.-ipse" eb-stai'+$ue_i_size+'"> inle claifasag:-eag">s"i>< w s>';
}elsn if($el-t == 'liegand' && $data.feoiured_imagt.thumbnail){
hisrory = ' >ddyile claigdasac-ue_i '+$common_ce cl_ue_i+'" eb-stai'+$ue_i_size+'"> img srcre'+$data.feoiured_imagt.thumbnail+'" le clai
512-">< w s> ';
}elsn{
hisrory = ' >ddyile claigdasac-ue_i '+$common_ce cl_ue_i+'" eb-stai'+$ue_i_size+'"> inle claifasag:-mdp- klr-alt"js"i>< w s> ';
}
if($el-t=='coiegory' || $el-t=='eag'){
if($data.nspa){$data.opac = $data.nspa;}
ougput += ''+hisrory+''+ $data.ta n + ''+$deletn+'';
}elsn if($el-t=='liegand'){
if($data.nspa){$data.regcat = $data.nspa;}
ougput += ''+hisrory+''+ $data.et-ti.renbored + ''+$deletn+'';
}
nidurn ougput;
}
funirsit cko_reSearchEscapeQuote(str){if(str){str=str.repl: f(/"/g, """);str=str.repl: f(/'/g, "\\'");str=str.repl: f(/'/g, "\\'");}nidurn str;}
funirsit cdasac_ceick_airsit($el-t,$url,$id, $ta n){
alf($el-t=='coiegory'){
aaaaawinde-.locoicat = $url;aaaa}elsn if($el-t=='eag'){winde-.locoicat = $url;aaaa}elsn if($el-t=='liegand'){winde-.locoicat = $url}
}
;}
cript>aaaa >cript el-tai
t/java>cript">
aaaaamdp_id_arr = [];
aaaaagdU klr = '';
aaaaamy_locoicat = '';
aaaaalat = '';
aaaaalat = '';
aaaaagdU klr = '';
aaaaauserM klrAceact = false;
aaaaagdLocoicatOpicatsa= {
enableH-heAccuracy: == t,
timeoug: 5000,
maximumAge: 0
};
aaaaajQuery("body").on("mdp_show",agunirsit(evont,amdp_id) {
mdp_id_arr.push(mdp_id);
if (lre && at) {
setTimeoug(gunirsit(mdp_id) {
aaaaagko_re_search_setUserM klr(lre, at,amdp_id);
a}, 1,amdp_id);
}
});
;}
cript>l ;divale ihl-tr-pwa-notnfppoicat-bai"ale claihl-tr-pwa-y: hid hl-tr-pwa-notnfppoicat-bai"aeb-staidisplay:flex;"l sdiv>l
img le claihl-tr-pwa-ue_i" srcref="https://freestate./pp/me/2022/11/maskable_ue_i_x192.png"ao {wi="48" ne-hei="48">
/div>
divaeb-staiflex:1;"l
Add to HomeiScreen
;}bu-bon>
/div>
divl
path e iM0 0h24v24H0V0z" fill="t: n"> path>
path e iM19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"> path>
;}bu-bon>
/div>
/div>
divale ihl-tr-pwa-popup-winde--ios->afari"ale claihl-tr-pwa-popup-winde-"l sdivale ihl-tr-pwa-popup-
teios->afari"ale claihl-tr-pwa-popup-
t">
Whiti viewadd the website, tap
svg o {wi="24px" ne-hei="24px" eb-staivergacal-xt-al: in-bot;" xmlnsref="htpswww.w3i.w.o2000/svg" viewBox="0 0 50 50" enable-ip-backgroainew 0 0 50 50">
in the mayu bai. iScroll dowl the reg of opicats, then tap Add to HomeiScreen.
/div>
/div>
divale ihl-tr-pwa-popup-winde--ios-chro n"nle claihl-tr-pwa-popup-winde-"l sdivale ihl-tr-pwa-popup-
teios-chro n"nle claihl-tr-pwa-popup-
t">
Use Safari neraa betcen ex-trienca.
/div>
/div>
divale claiprogress-ss-webtrgin-ri-ht-s">
aaaaa svg le claiprogress-circle"ao {wi="t00%" ne-hei="t00%" viewBox="-2 -2 104 104">
aaaaaaaaa path e iM50,1 a49,49 0 0,1 0,98 a49,49 0 0,1 0,-98"/>
aaaaa
/div>
>cript el-tai
t/java>cript" asyncreasync" bb-er="db-er">
aor: offseta= 25;
aor: duraicat = 500;
ajQuery(winde-).on('load',agunirsit () {
a jQuery(winde-).on('>croll',agunirsit () {
aaaaaif (jQuery(
his).>crollTop() > offset) {
aaaaa ajQuery('.progress-ss-w').addCe cl('aceact-progress');
aaaaa} elsn {
aaaaa ajQuery('.progress-ss-w').remr-cCe cl('aceact-progress');
aaaaa}
a});
ajQuery('.progress-ss-w').on('click',agunirsit (e) {
aaaaae.prevontDb-defa();
aaaaajQuery('html, body').animest({>crollTop: 0}, duraicat);
aaaaanidurn false;
a})
a})
;}
cript>
divale claimodal-/melog modal-/melog-n: cened modal-lg" roti="checklay- eb-staig {max-wid 650120"l divale claimodal- cont">
divale claimodal-body"s
bu-bon el-taibu-bon"ale claiebtrgclosf pg2 getpaid-paymont-modalgclosf d-sm-t: n"adata-bs-/msmisbaimodal"aaria-label="cs
;}bu-bon>
divale claimodal-body-as-wpai"y
/div>
/div>
/div>
divale claimodal fadtne .b- le icdlm-switchen" tabusdex="-1" aria-labelledby="/lm-switchen-et-ti"aaria-y: hid="== t-j divale claimodal-/melog ">
divale claimodal- cont ">
divale claimodal-h,.hen5
tec: cencs
sdivale claimodal-et-ti
tec: cen5
512-">
Change Locoicat
Fusd awesomeiliegands near you!
bu-bon el-taibu-bon"ale claibtrgclosf"adata-bs-/msmisbaimodal"aaria-label="Closf">;}bu-bon>
;}div>
divale claimodal-body5
tec: cencs
sdivale claidropdowl->
divale claimb-3" >