';
content = content.replace('{s}', '« ' + sanitizer.sanitize(input.value) + ' »');
} else {
var cleanText = sanitizer.sanitize(suggestion.text)
var boldText = cleanText.replace(reg, function (optionText) {
return '' + optionText + ''
});
var subText = sanitizer.sanitize(suggestion.subText);
subText = subText.replace(suggestion.artistName, function (optionText) {
return optionText.replace(reg, function (boldText) {
return '' + boldText + ''
})
});
var cssClass = suggestion.type === 'artist' ? 'img-circle border' : '';
content = '
' +
'' +
'
' +
'' + boldText + '' +
'' + subText + '' +
'
' +
'
';
}
itemElement.innerHTML = content;
return itemElement;
},
onSelect: function (element, autocomplete) {
document.dispatchEvent(new CustomEvent('am.gtag.search', {'detail': {'term': autocomplete.value}}))
savedSearch(sanitizer.sanitize(autocomplete.value), element);
},
emptyMsg: 'No results found.',
preventSubmit: false,
showOnFocus: true,
// Required to set the final position of the results
// By default result tag is applied at the bottom of the document with fixed style
// when we want it in the defined tag ( Styles are also customized )
customize: function (input, inputRect, container, maxHeight) {
resultContainer.append($(container))
}
};
}
function savedSearch(string, element) {
if (!element.url) {
element.url = url.replace("term", string)
}
var formData = new FormData();
formData.append('string', string);
formData.append('nbResults', nbResults);
try {
if (navigator.sendBeacon) {
navigator.sendBeacon('/en/saved--search/artwork', formData)
} else {
var xhr = new XMLHttpRequest();
xhr.open('post', '/en/saved--search/artwork', false);
xhr.send(formData);
}
} catch (e) {
}
window.location.href = element.url
}
document.addEventListener('am.gtag.search', function (e) {
var term = e.detail.term
gtag("event", "search", {
search_term: term
});
});
})
})();
SONIA PERRIN d4z3f
Cultural entrepreneur Sonia Perrin founded the agency One Step Beyond, specializing in cultural project management and artistic direction. Over thirty years of experience in exhibition, development, and communications, at the Maison Européenne de la Photographie and then at the Fondation Cartier pour l'art contemporain, give her a solid background in contemporary art.
Trained in communication at CELSA, in art history at New York University and then in social psychology at Paris Descartes, she still has the same reflexes: learn, undertake. She takes the Trans-Siberian, travels through Mongolia, India, ... and publishes a travelogue. As a children's godmother in Madagascar, she discovers the country and creates the Azé association for access to education (aze-asso.org).
Receive our newsletter for art lovers and collectors
We respect your privacy. 221f2i
Welcome to ArtMajeur! 9c2l
A redirection has been made from YourArt to ArtMajeur, as the two platforms have merged.
All content, artworks, and artist spaces are now available here.
You can continue browsing on ArtMajeur, the largest online art platform in the world.