O JavaScript deve estar instalado e ativado para usar estes fóruns.
Seu navegador parece ter o JavaScript desativado ou não oferece suporte a JavaScript. Consulte o arquivo de ajuda de seu navegador para saber como ativar o JavaScript.
Quer iniciar uma conversa ou fazer uma pergunta?
Découvrez toutes les informations relatives aux nouveautés et mises à jour produits HubSpot en français.
\\n\\t\\t\\t\\t\\t\\tNão é possível concluir a ação solicitada.\\n\\t\\t\\t\\t\\t<\\/p>\\n\\t\\t\\t\\t\\n\\n\\t\\t\\t\\t\\n\\n\\t\\t\\t\\t\\n\\n\\t\\t\\t\\t\\n\\t\\t\\t<\\/div>\\n\\n\\t\\t\\t\\n\\t\\t<\\/div>\";LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_15da504ab8dcbf', 'disableAutoComplete', '#ajaxfeedback_15da504a8ea413_0', 'LITHIUM:ajaxError', {}, '4abRsG7v315ea8sKDNeOmAo8NTtu0UCtS6PsGxgGFdQ.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_15da504a8ea413_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/forumpage.searchformv32.messagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/strategie_discussions/label-name/Annonces/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando...","emptyText":"Nenhuma ocorrência","successText":"Resultados:","defaultText":"Insira uma palavra de pesquisa","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_15da504af59ed8', 'disableAutoComplete', '#ajaxfeedback_15da504a8ea413_0', 'LITHIUM:ajaxError', {}, 'W6NkUn8tLXzVfc7KDsZae0Vg2FtPVDfjQmGwfRN_RW4.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_15da504a8ea413_1","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/forumpage.searchformv32.tkbmessagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/strategie_discussions/label-name/Annonces/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando usuários...","emptyText":"Nenhuma ocorrência","successText":"Usuários encontrados:","defaultText":"Insira um nome de usuário ou uma classificação","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_15da504b0f7c2a', 'disableAutoComplete', '#ajaxfeedback_15da504a8ea413_0', 'LITHIUM:ajaxError', {}, '9Aza7sQoCJRQvEwxZ19snwum9SC0Y42NE_rFEcaW_Vk.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#userSearchField_15da504a8ea413","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/forumpage.searchformv32.usersearchfield.usersearchfield:autocomplete?t:ac=board-id/strategie_discussions/label-name/Annonces/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:userExistsQuery","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":"#userSearchField_15da504a8ea413","action":"userExistsQuery","feedbackSelector":"#ajaxfeedback_15da504a8ea413_0","url":"https://community.hubspot.com/t5/forums/forumpage.searchformv32.usersearchfield:userexistsquery?t:ac=board-id/strategie_discussions/label-name/Annonces/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","ajaxErrorEventName":"LITHIUM:ajaxError","token":"U6ob3C0jq-xACtFJM6qPb0joVZUoTBAh-aXZebMqs5E."}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando...","emptyText":"Nenhuma ocorrência","successText":"Resultados:","defaultText":"Insira uma palavra de pesquisa","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_15da504b2aaa39', 'disableAutoComplete', '#ajaxfeedback_15da504a8ea413_0', 'LITHIUM:ajaxError', {}, 'DsBplAEHLG5tutVqg3ud7NgMjAj6tPK33T76ux5_E8o.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#noteSearchField_15da504a8ea413_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/forumpage.searchformv32.notesearchfield.notesearchfield:autocomplete?t:ac=board-id/strategie_discussions/label-name/Annonces/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando...","emptyText":"Nenhuma ocorrência","successText":"Resultados:","defaultText":"Insira uma palavra de pesquisa","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_15da504b40bbb0', 'disableAutoComplete', '#ajaxfeedback_15da504a8ea413_0', 'LITHIUM:ajaxError', {}, 'oGLO8QM-8s9fwBHqFjVfR4prAy82EaKtuNZDMySZNGw.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#productSearchField_15da504a8ea413","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/forumpage.searchformv32.productsearchfield.productsearchfield:autocomplete?t:ac=board-id/strategie_discussions/label-name/Annonces/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.Link({"linkSelector":"a.lia-link-ticket-post-action"}); LITHIUM.AjaxSupport.fromLink('#enableAutoComplete_15da504a8ea413', 'enableAutoComplete', '#ajaxfeedback_15da504a8ea413_0', 'LITHIUM:ajaxError', {}, 'KqNRiF0Kv-uioq9xRGqpQYRGzrYFfSds6alsRQ92pno.', 'ajax'); LITHIUM.Tooltip({"bodySelector":"body#lia-body","delay":30,"enableOnClickForTrigger":false,"predelay":10,"triggerSelector":"#link_15da504a8ea413","tooltipContentSelector":"#link_15da504a8ea413_0-tooltip-element .content","position":["bottom","left"],"tooltipElementSelector":"#link_15da504a8ea413_0-tooltip-element","events":{"def":"focus mouseover keydown,blur mouseout keydown"},"hideOnLeave":true}); LITHIUM.HelpIcon({"selectors":{"helpIconSelector":".help-icon .lia-img-icon-help"}}); LITHIUM.SearchAutoCompleteToggle({"containerSelector":"#searchautocompletetoggle_15da504a8ea413","enableAutoCompleteSelector":".search-autocomplete-toggle-link","enableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:enableAutoComplete","disableAutoCompleteSelector":".lia-autocomplete-toggle-off","disableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:disableAutoComplete","autoCompleteSelector":".lia-autocomplete-input"}); LITHIUM.SearchForm({"asSearchActionIdSelector":".lia-as-search-action-id","useAutoComplete":true,"selectSelector":".lia-search-form-granularity","useClearSearchButton":false,"buttonSelector":".lia-button-searchForm-action","asSearchActionIdParamName":"as-search-action-id","formSelector":"#lia-searchformV32_15da504a8ea413","asSearchActionIdHeaderKey":"X-LI-AS-Search-Action-Id","inputSelector":"#messageSearchField_15da504a8ea413_0:not(.lia-js-hidden)","clearSearchButtonSelector":null}); LITHIUM.Form.resetFieldForFocusFound(); (function($) { document.querySelector('a.login-link').classList.add('homepage-nav-login'); })(LITHIUM.jQuery); ;(function($){ $(document).ready(function() { $(".custom-user-menu-v2 .nav-link").click(function(e) { e.preventDefault(); $(".nav-popover.profile").toggleClass('show'); }); $(".search-toggle-action-icon-plus").on("click",function(e){ e.preventDefault(); $(this).parent().find(".plus-bar-main-content").toggle(); }); //User Avatar $('.header-tab-nav li span').click(function() { $('.header-tab-nav li span').removeClass("active"); if(this.id == 'profile'){ $('span#profile').addClass("active"); $('.header-tab-nav-content > div#profile-list-wrapper').show(); $('.header-tab-nav-content > div#admin-list-wrapper').hide(); $('.header-tab-nav-content > div#profile-list-wrapper').removeClass('profile-menu-dropdown'); } if(this.id == 'admin'){ $('span#admin').addClass("active"); $('.header-tab-nav-content > div#profile-list-wrapper').hide(); $('.header-tab-nav-content > div#admin-list-wrapper').show(); $('.header-tab-nav-content > div#profile-list-wrapper').addClass('profile-menu-dropdown'); } var indexer = $(this).index(); //gets the current index of (this) which is #header-tab-nav li $('.header-tab-nav-content > div:eq(' + indexer + ')').fadeIn(); //uses whatever index the link has to open the corresponding box }); $(this).mouseup(function (e){ var customButton = $('.nav-popover.profile'); if(!$('.custom-menu-caret').is(e.target) && $('.custom-menu-caret').has(e.target).length === 0){ if(!customButton.is(e.target) && customButton.has(e.target).length === 0){ if (!$('.custom-user-menu-v2 > .nav-link').is(e.target) && $('.custom-user-menu-v2 > .nav-link').has(e.target).length === 0) { customButton.removeClass('show'); } } } var menuWrapper = $('.menu-wrapper'); if(!menuWrapper.is(e.target) && menuWrapper.has(e.target).length === 0){ if (!$('.menu').is(e.target) && $('.menu').has(e.target).length === 0) { menuWrapper.removeClass('offcanvas'); } } var container = $(".plus-bar-main-content"); var customButton = $(".search-toggle-action-icon-plus"); if (!customButton.is(e.target) && customButton.has(e.target).length === 0) { container.hide(); } if(!$('.lang-picker-wrapper').is(e.target) && $('.lang-picker-wrapper').has(e.target).length === 0){ if (!$('.lang-picker').is(e.target) && $('.lang-picker').has(e.target).length === 0) { $('.lang-picker').removeClass('show'); } } }); //SCROLL JS $(window).scroll(function(e) { e.preventDefault(); if($('.nav-popover.profile').hasClass("show")){ if ($(this).scrollTop() > 0) { $('.nav-popover.profile').removeClass("show"); } else { $('.nav-popover.profile').addClass("show"); } } if($('.nav-popover.get-hubspot').hasClass("show")){ if ($(this).scrollTop() > 0) { $('.nav-popover.get-hubspot').removeClass("show"); } else { $('.nav-popover.get-hubspot').addClass("show"); } } if ($(this).scrollTop() > 0) { $('.search-input.lia-search-input-message').blur(); $('.plus-bar-main-content').hide(); } }); }); jQuery('.lang-picker-wrapper').click(function(){ jQuery(".lang-picker").toggleClass('show'); }); jQuery('.lia-cat-sub-editor-modal .lia-ui-modal-footer .lia-button-Submit-action').live('click',function(){ setTimeout( function() { location.reload(true); },1000); }); })(LITHIUM.jQuery); ;(function($){ var langMap = { 'en':'hubspot_community_en', 'es':'hubspot_community_es', 'fr':'hubspot_community_fr', 'ja':'hubspot_community_jp', 'pt-br':'hubspot_community_pt', 'de':'hubspot_community_de' } var nodeType = "board"; var langScope = langMap['pt-br']; var isSearchPage = jQuery('body').hasClass('SearchPage'); var isIdeasLandingPage = jQuery('body').hasClass('ideaslandingpage'); if (nodeType === "community" && !isSearchPage && !isIdeasLandingPage) { var inputFormFilter = ''; var inputFormLocation = ''; $('form.SearchForm').append(inputFormFilter).append(inputFormLocation); } else if (nodeType === "community" && isIdeasLandingPage) { var searchUrl = "/t5/forums/searchpage/tab/message?filter=location&location=idea-board:HubSpot_Ideas&collapse_discussion=true"; var query = jQuery('.SearchForm .lia-search-input-message').val(); jQuery(document).on('submit', 'form.SearchForm', function(e) { e.preventDefault(); var newQ = "&q=" + document.querySelector('.SearchForm .lia-search-input-wrapper input.search-input').value; window.location = window.location.origin + searchUrl + newQ; }) } })(LITHIUM.jQuery) LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_15da504b994e51","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_15da504b994e51_0","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_15da504b994e51_1","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_15da504b994e51_2","feedbackSelector":".InfoMessage"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando...","emptyText":"Nenhuma ocorrência","successText":"Resultados:","defaultText":"Insira uma palavra de pesquisa","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_15da504bbf451f', 'disableAutoComplete', '#ajaxfeedback_15da504b994e51_0', 'LITHIUM:ajaxError', {}, 'V7vriQVwa1vT9qPgcokQE9PsDrl-P1s8e_o0yQJJq3U.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_15da504b994e51_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/forumpage.searchformv32.messagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/strategie_discussions/label-name/Annonces/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando...","emptyText":"Nenhuma ocorrência","successText":"Resultados:","defaultText":"Insira uma palavra de pesquisa","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_15da504bd2d646', 'disableAutoComplete', '#ajaxfeedback_15da504b994e51_0', 'LITHIUM:ajaxError', {}, 'sQlnnJ9_BsQkIodHmKsArXNZYTFHyt8Q_vqwTAEG1Ag.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_15da504b994e51_1","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/forumpage.searchformv32.tkbmessagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/strategie_discussions/label-name/Annonces/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando usuários...","emptyText":"Nenhuma ocorrência","successText":"Usuários encontrados:","defaultText":"Insira um nome de usuário ou uma classificação","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_15da504be51c0b', 'disableAutoComplete', '#ajaxfeedback_15da504b994e51_0', 'LITHIUM:ajaxError', {}, 'JL-oV_0I9v9mFfQvb-OP-A_i1OeOTSQBIv_U23TSKK4.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#userSearchField_15da504b994e51","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/forumpage.searchformv32.usersearchfield.usersearchfield:autocomplete?t:ac=board-id/strategie_discussions/label-name/Annonces/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:userExistsQuery","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":"#userSearchField_15da504b994e51","action":"userExistsQuery","feedbackSelector":"#ajaxfeedback_15da504b994e51_0","url":"https://community.hubspot.com/t5/forums/forumpage.searchformv32.usersearchfield:userexistsquery?t:ac=board-id/strategie_discussions/label-name/Annonces/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","ajaxErrorEventName":"LITHIUM:ajaxError","token":"mPRIGxvsTUTFQq47zMW_jwttdr791jORhadEQ-gl9T8."}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando...","emptyText":"Nenhuma ocorrência","successText":"Resultados:","defaultText":"Insira uma palavra de pesquisa","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_15da504bfb2207', 'disableAutoComplete', '#ajaxfeedback_15da504b994e51_0', 'LITHIUM:ajaxError', {}, '6jA3qi27dYylUrNtH9Ql0XODcJqMmDvlZPp7HQw0ONc.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#noteSearchField_15da504b994e51_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/forumpage.searchformv32.notesearchfield.notesearchfield:autocomplete?t:ac=board-id/strategie_discussions/label-name/Annonces/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando...","emptyText":"Nenhuma ocorrência","successText":"Resultados:","defaultText":"Insira uma palavra de pesquisa","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_15da504c0bfac7', 'disableAutoComplete', '#ajaxfeedback_15da504b994e51_0', 'LITHIUM:ajaxError', {}, 'ZdVbjEcCVIy1-8EVhZ_UIyi2BxDqzg_twJCAThsrSsM.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#productSearchField_15da504b994e51","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/forumpage.searchformv32.productsearchfield.productsearchfield:autocomplete?t:ac=board-id/strategie_discussions/label-name/Annonces/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport.fromLink('#enableAutoComplete_15da504b994e51', 'enableAutoComplete', '#ajaxfeedback_15da504b994e51_0', 'LITHIUM:ajaxError', {}, 'r3903f9vYarALME0SK3IXY6Wgy51uWG_Eca92nb1d34.', 'ajax'); LITHIUM.Tooltip({"bodySelector":"body#lia-body","delay":30,"enableOnClickForTrigger":false,"predelay":10,"triggerSelector":"#link_15da504b994e51","tooltipContentSelector":"#link_15da504b994e51_0-tooltip-element .content","position":["bottom","left"],"tooltipElementSelector":"#link_15da504b994e51_0-tooltip-element","events":{"def":"focus mouseover keydown,blur mouseout keydown"},"hideOnLeave":true}); LITHIUM.HelpIcon({"selectors":{"helpIconSelector":".help-icon .lia-img-icon-help"}}); LITHIUM.SearchAutoCompleteToggle({"containerSelector":"#searchautocompletetoggle_15da504b994e51","enableAutoCompleteSelector":".search-autocomplete-toggle-link","enableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:enableAutoComplete","disableAutoCompleteSelector":".lia-autocomplete-toggle-off","disableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:disableAutoComplete","autoCompleteSelector":".lia-autocomplete-input"}); LITHIUM.SearchForm({"asSearchActionIdSelector":".lia-as-search-action-id","useAutoComplete":true,"selectSelector":".lia-search-form-granularity","useClearSearchButton":false,"buttonSelector":".lia-button-searchForm-action","asSearchActionIdParamName":"as-search-action-id","formSelector":"#lia-searchformV32_15da504b994e51","nodesModel":{"crm_sales_hub_fr|category":{"title":"Pesquisar o Categoria: Stratégie, discussions, et meilleures pratiques","inputSelector":".lia-search-input-message"},"user|user":{"title":"Usuários","inputSelector":".lia-search-input-user"},"strategie_discussions|forum-board":{"title":"Pesquisar o Fórum: Stratégie, discussions, et meilleures pratiques","inputSelector":".lia-search-input-message"},"mjmao93648|community":{"title":"Pesquisar o Comunidade: Stratégie, discussions, et meilleures pratiques","inputSelector":".lia-search-input-message"}},"asSearchActionIdHeaderKey":"X-LI-AS-Search-Action-Id","inputSelector":"#messageSearchField_15da504b994e51_0:not(.lia-js-hidden)","clearSearchButtonSelector":null}); (function($) { document.querySelector('a.login-link').classList.add('homepage-nav-login'); })(LITHIUM.jQuery); (function($) { if ( $('.lia-notification-feed-page-link').length ) { $('.lia-notification-feed-page-link').addClass('nav-notifs'); } if ( $('.private-notes-link').length ) { $('.private-notes-link').addClass('nav-mail'); } })(LITHIUM.jQuery); ;(function($){ $('.custom-search-focus').on('click', function() { $('.lia-search-input-message').focus(); }); })(LITHIUM.jQuery); // Pull in global jQuery reference if (document.querySelectorAll('.lia-component-admin-widget-moderation-manager')[0]) { document.querySelectorAll('.lia-component-admin-widget-moderation-manager')[0].href = "/t5/bizapps/page/tab/community%3Amoderation?filter=includeForums&sort_by=-topicPostDate&include_forums=true&collapse_discussion=true" } ;(function($) { $("#get-hubspot-free").click(function(){ $("#get-hubspot").toggleClass("show"); }); // Closes dropdown boxes when clicking outside of the box // click listener applied inline, function in script tag window.onclick = function(e) { if (e.target?.matches && !e.target?.matches('#get-hubspot-free')) { if (document.getElementById("get-hubspot")) { if (document.getElementById("get-hubspot").classList.contains('show')) { document.getElementById("get-hubspot").classList.remove('show'); } } } if (e.target?.matches && !e.target?.matches('#current-language')) { if (document.getElementById("lang-picker-global")) { if (document.getElementById("lang-picker-global").classList.contains('show')) { document.getElementById("lang-picker-global").classList.remove('show'); } } } }; $(window).scroll(function(){ if ($(this).scrollTop() > 65) { $('.forum-nav-bar').addClass('ch-sticky'); $('.community-header-nav').addClass('ch-space'); } else { $('.forum-nav-bar').removeClass('ch-sticky'); $('.community-header-nav').removeClass('ch-space');; } }); $('span.custom-menu-caret').on('click',function(){ $(this).siblings('.nav-popover.profile').toggleClass('show'); }); })(LITHIUM.jQuery); (function($) { $(document).ready(function(){ try{ var PostURl = '' if('board'==='board'){ var PostURl = '/t5/forums/postpage/board-id/strategie_discussions' }else if('board'==='category') { var PostURl = '/t5/forums/postpage/category-id/strategie_discussions'} var searchSelector = $('.custom-search-wrapper .lia-autocomplete-container .lia-autocomplete-footer'); var data = "Não consegue encontrar o que procura? Fazer uma Pergunta "; $(data).insertAfter(searchSelector[0]); }catch(err){ console.log(err); } }); })(LITHIUM.jQuery); (function($) { $(document).ready(function(){ $('.lia-quilt-idea-exchange-page-filtered-v2 .custom-v2-banner .search-input, .lia-quilt-idea-page-filtered .custom-v2-banner .search-input').attr('placeholder', 'Pesquisar ideias'); }); })(LITHIUM.jQuery); ;(function($){ var langMap = { 'en':'hubspot_community_en', 'es':'hubspot_community_es', 'fr':'hubspot_community_fr', 'ja':'hubspot_community_jp', 'pt-br':'hubspot_community_pt', 'de':'hubspot_community_de' } var nodeType = "board"; var langScope = langMap['pt-br']; var isSearchPage = jQuery('body').hasClass('SearchPage'); var isIdeasLandingPage = jQuery('body').hasClass('ideaslandingpage'); if (nodeType === "community" && !isSearchPage && !isIdeasLandingPage) { var inputFormFilter = ''; var inputFormLocation = ''; $('form.SearchForm').append(inputFormFilter).append(inputFormLocation); } else if (nodeType === "community" && isIdeasLandingPage) { var searchUrl = "/t5/forums/searchpage/tab/message?filter=location&location=idea-board:HubSpot_Ideas&collapse_discussion=true"; var query = jQuery('.SearchForm .lia-search-input-message').val(); jQuery(document).on('submit', 'form.SearchForm', function(e) { e.preventDefault(); var newQ = "&q=" + document.querySelector('.SearchForm .lia-search-input-wrapper input.search-input').value; window.location = window.location.origin + searchUrl + newQ; }) } })(LITHIUM.jQuery) LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_15da504e07f8ad","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_15da504e07f8ad_0","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_15da504e07f8ad_1","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_15da504e07f8ad_2","feedbackSelector":".InfoMessage"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando...","emptyText":"Nenhuma ocorrência","successText":"Resultados:","defaultText":"Insira uma palavra de pesquisa","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_15da504e353684', 'disableAutoComplete', '#ajaxfeedback_15da504e07f8ad_0', 'LITHIUM:ajaxError', {}, 'Qji3xVKJ20li1Rzj0mVBM3Uej9CulbUbO50j65XAi_g.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_15da504e07f8ad_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/forumpage.searchformv32.messagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/strategie_discussions/label-name/Annonces/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando...","emptyText":"Nenhuma ocorrência","successText":"Resultados:","defaultText":"Insira uma palavra de pesquisa","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_15da504e4ab7cc', 'disableAutoComplete', '#ajaxfeedback_15da504e07f8ad_0', 'LITHIUM:ajaxError', {}, 'KSP6Mv2uXqz17rlaXUw82Kr8RzSdsVLvkYwPs7tzEXg.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_15da504e07f8ad_1","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/forumpage.searchformv32.tkbmessagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/strategie_discussions/label-name/Annonces/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando usuários...","emptyText":"Nenhuma ocorrência","successText":"Usuários encontrados:","defaultText":"Insira um nome de usuário ou uma classificação","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_15da504e5f4e60', 'disableAutoComplete', '#ajaxfeedback_15da504e07f8ad_0', 'LITHIUM:ajaxError', {}, 'rMCDw077xEu9QMuyMyjbu_gNh1Zr_E_MgT50KWEpOEc.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#userSearchField_15da504e07f8ad","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/forumpage.searchformv32.usersearchfield.usersearchfield:autocomplete?t:ac=board-id/strategie_discussions/label-name/Annonces/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:userExistsQuery","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":"#userSearchField_15da504e07f8ad","action":"userExistsQuery","feedbackSelector":"#ajaxfeedback_15da504e07f8ad_0","url":"https://community.hubspot.com/t5/forums/forumpage.searchformv32.usersearchfield:userexistsquery?t:ac=board-id/strategie_discussions/label-name/Annonces/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","ajaxErrorEventName":"LITHIUM:ajaxError","token":"NX9DxJsyyqt_7Q4--ANkc9FIBUUNNHxk151QCdUbXQI."}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando...","emptyText":"Nenhuma ocorrência","successText":"Resultados:","defaultText":"Insira uma palavra de pesquisa","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_15da504e72d34d', 'disableAutoComplete', '#ajaxfeedback_15da504e07f8ad_0', 'LITHIUM:ajaxError', {}, '5K1QjRoJWsB7pcNgCdwQGQoby7SZc3YiPNUUPrX-6Fg.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#noteSearchField_15da504e07f8ad_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/forumpage.searchformv32.notesearchfield.notesearchfield:autocomplete?t:ac=board-id/strategie_discussions/label-name/Annonces/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando...","emptyText":"Nenhuma ocorrência","successText":"Resultados:","defaultText":"Insira uma palavra de pesquisa","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_15da504e8350fe', 'disableAutoComplete', '#ajaxfeedback_15da504e07f8ad_0', 'LITHIUM:ajaxError', {}, 'ooHRlJ1dmBBbPqngF0A9417m3CTHYcLD4oOT_ZcE5O8.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#productSearchField_15da504e07f8ad","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/forumpage.searchformv32.productsearchfield.productsearchfield:autocomplete?t:ac=board-id/strategie_discussions/label-name/Annonces/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport.fromLink('#enableAutoComplete_15da504e07f8ad', 'enableAutoComplete', '#ajaxfeedback_15da504e07f8ad_0', 'LITHIUM:ajaxError', {}, 'FSOJyYEbh-mMCDQJIt7lCsMaVKGb0bHmRPaJ3dBrBhw.', 'ajax'); LITHIUM.Tooltip({"bodySelector":"body#lia-body","delay":30,"enableOnClickForTrigger":false,"predelay":10,"triggerSelector":"#link_15da504e07f8ad","tooltipContentSelector":"#link_15da504e07f8ad_0-tooltip-element .content","position":["bottom","left"],"tooltipElementSelector":"#link_15da504e07f8ad_0-tooltip-element","events":{"def":"focus mouseover keydown,blur mouseout keydown"},"hideOnLeave":true}); LITHIUM.HelpIcon({"selectors":{"helpIconSelector":".help-icon .lia-img-icon-help"}}); LITHIUM.SearchAutoCompleteToggle({"containerSelector":"#searchautocompletetoggle_15da504e07f8ad","enableAutoCompleteSelector":".search-autocomplete-toggle-link","enableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:enableAutoComplete","disableAutoCompleteSelector":".lia-autocomplete-toggle-off","disableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:disableAutoComplete","autoCompleteSelector":".lia-autocomplete-input"}); LITHIUM.SearchForm({"asSearchActionIdSelector":".lia-as-search-action-id","useAutoComplete":true,"selectSelector":".lia-search-form-granularity","useClearSearchButton":false,"buttonSelector":".lia-button-searchForm-action","asSearchActionIdParamName":"as-search-action-id","formSelector":"#lia-searchformV32_15da504e07f8ad","nodesModel":{"crm_sales_hub_fr|category":{"title":"Pesquisar o Categoria: Stratégie, discussions, et meilleures pratiques","inputSelector":".lia-search-input-message"},"user|user":{"title":"Usuários","inputSelector":".lia-search-input-user"},"strategie_discussions|forum-board":{"title":"Pesquisar o Fórum: Stratégie, discussions, et meilleures pratiques","inputSelector":".lia-search-input-message"},"mjmao93648|community":{"title":"Pesquisar o Comunidade: Stratégie, discussions, et meilleures pratiques","inputSelector":".lia-search-input-message"}},"asSearchActionIdHeaderKey":"X-LI-AS-Search-Action-Id","inputSelector":"#messageSearchField_15da504e07f8ad_0:not(.lia-js-hidden)","clearSearchButtonSelector":null}); ;(function($) { var menu = $('.custom-filterpost-box'); $(document).mouseup(function(e) { if (!menu.is(e.target) // if the target of the click isn't the container... && menu.has(e.target).length === 0) // ... nor a descendant of the container { menu.removeClass('is-active'); } }); $('.toggle-filter-post').on('click', function() { menu.toggleClass('is-active'); }); })(LITHIUM.jQuery); (function($) { $(document).ready(function() { var sortBy = ''; var gid = 'strategie_discussions'; var nodeType = 'board'; var panel ="all"; var labelName =""; var userID ="-1"; var filter_active = false; // glowingblue: Code is really bad, we need a way to track if and what filters are active... var pagenum = ""; var offset = ""; var paginate =""; var layout = "grid"; var futureEndpoint = ''; var endpointUrl ='/plugins/custom/hubspot/hubspot/custom-fetch-forum-message-filter'; setTimeout(function(){ $('#layout-toggles input[value="grid"]').prop('checked', true); }, 1000); /* ================= Pageination ins ======================== */ var current_page = 1; var msg_per_page_limit = parseInt('12'); var total_count = parseInt('0'); var number_of_pages = Math.ceil(total_count/msg_per_page_limit); if(number_of_pages > 1){ Pagination.Init(document.getElementById('pagination'), { size: number_of_pages, // pages size page: current_page // selected page }); } $('.status-filter-btn').on('click', function() { $('.filter-box').toggleClass('show'); $(this).closest('.label-filter').toggleClass('expended'); }); $('.toggle-post-filter').on('click', function() { $('.filter-select').toggle(); $(this).closest('.sort-filter').toggleClass('expended'); }); /* =================Sort by solved ends======================== */ var menucustom = $('.status-filter-btn'); $(document).mouseup(function(e) { if (!menucustom.is(e.target) // if the target of the click isn't the container... && menucustom.has(e.target).length === 0) // ... nor a descendant of the container { $('.filter-box').removeClass('show'); $('.label-filter').removeClass('expended'); } }); var menu_states = $('.toggle-post-filter'); $(document).mouseup(function(e) { if (!menu_states.is(e.target) // if the target of the click isn't the container... && menu_states.has(e.target).length === 0) // ... nor a descendant of the container { $('.filter-select').css('display','none'); $('.sort-filter').removeClass('expended'); } }); /* ================= Ajax call function ======================== */ function getMsgData(endpoint,args,pagenum,appendTo){ //console.log('getMsgData(), filter_active?', filter_active); $.post(endpoint+args, function(data) { }).done(function(data){ $('.ajax-loading').hide(); $(appendTo).html(''); $(appendTo).append(data); if(pagenum == 1 && !filter_active){$('.globalFloat').show();} else{$('.globalFloat').hide();} var count = $('.data-count').attr("data-count"); var count = parseInt(count); var curent_page = parseInt(pagenum); var msg_per_page_limit_ = parseInt('12'); var number_of_pages_ = Math.ceil(count/msg_per_page_limit_); if(number_of_pages_ > 1){ Pagination.Init(document.getElementById('pagination'), { size: number_of_pages_, page: curent_page, step: 2 }); } }).fail(function(jqXHR, textStatus){ console.log("Request Failed:" + textStatus); }); } /* ================= query start ======================== */ var state = (new URL(window.location)).searchParams.get('state') || ''; //console.info('state?', state); boardsIds = []; var clickAttr = '.board-list-wrapper__title,#status-filter-list .filter-status,.filter-type-select .filter-opt,a.pagination-posts,.filter-select .filtered,#tabsList,#layout-toggles input'; if ( state && $('.filter-select [filter-value="' + state + '"]').length ) { $('.filter-select [filter-value="' + state + '"]').parents('ul').prev('.states').html($('.filter-select [filter-value="' + state + '"]').text()); redayToCall(); } function redayToCall(){ // glowingblue: Variables defined above are out of scope here...resulting in "undefined" values sent to endpoint var offset = ''; var paginate = ''; var sortBy = ''; var panel = 'all'; jQuery('.ajax-loading').show(); if(this.className == 'page_link pagination-posts' || this.id == 'jp-next' || this.id == 'jp-previous'){ $('.recent_holder_page').removeClass("active"); var pagenum = $(this).attr('data'); $(this).addClass("active"); var offset = (pagenum-1)*12; var paginate = true; } if(this.className == 'filter-opt'){ $('.custom-filterpost-box').removeClass('is-active'); var filterValue = $(this).text(); $('.toggle-filter-post').html(filterValue); sortBy = $(this).attr("filter-value"); var pagenum = 1; $('#popularity').removeClass("active removeElement").addClass('addElement'); } if(this.id == 'popularity'){ var sortBy = 'popularity'} if(this.id == 'tabsList'){ $('.hubspot-tabs a.active').removeClass('active'); $(this).addClass('active'); var panel = $(this).attr('data-id'); } if(this.className == 'filtered'){ $('.filter-select').css('display','none'); var filterValue = $(this).text(); $('.states').html(filterValue); state = $(this).attr("filter-value"); var newUrl = new URL(window.location); if ( state ) { filter_active = true; newUrl.searchParams.set('state', state); } else { newUrl.searchParams.delete('state'); filter_active = false; } if ( window.history.replaceState ) { // prevents browser from storing history with each change: window.history.replaceState({}, $('title').text().trim(), newUrl.href); } var pagenum = 1; } if(this.className == 'filter-status filter-item'){ menucustom.removeClass('show'); labelName = $(this).attr("data-id"); var labelText = $(this).text(); $('#status-filter-btn').html(labelText); var pagenum = 1; filter_active = !!labelName; } if(this.name =='layout-toggle'){ layout = $(this).val(); var pagenum = 1; } if(this.className === 'board-list-wrapper__title addElement'){ $('.removeElement').removeClass("active removeElement").addClass('addElement'); $(this).addClass('active removeElement'); $(this).removeClass("addElement"); var pagenum = 1; }else if(this.className === 'board-list-wrapper__title active removeElement'){ $(this).removeClass("active removeElement"); $(this).addClass('addElement'); boardsIds = []; var pagenum = 1; } jQuery('.board-list-wrapper__title.active').each(function(){ boardsIds.push($(this).attr("data-id")); }); var mobileSelect = $('.expanded').find('option:selected').val(); if(mobileSelect != ''){boardsIds.push(mobileSelect);} if(this.className == 'expanded' ){var pagenum = 1; var offset = 0;} var boardsId = boardsIds.join("','"); if(nodeType =='board'){var boardsId=gid;} var params = "?offset="+offset +"&pagenum="+pagenum+"&nodeId="+gid+"&sortBy="+sortBy+"&tab="+panel+"&nodeType="+nodeType+"&labelName="+encodeURIComponent(labelName)+"&threadLimit=12&paginate="+paginate+"&userID="+userID+"&boardsId="+boardsId+"&state="+state+"&layout="+layout+"&pageName=ForumPage"; if(pagenum == 1 && futureEndpoint !=''){ getMsgData(futureEndpoint,params,pagenum,'#globalmsgList'); } getMsgData(endpointUrl,params,pagenum,'#msgList'); boardsIds = []; } $(clickAttr).live('click',redayToCall) $(document).on('change',".expanded",redayToCall) /* ================= Pagination Click Event Starts ======================== */ $('a.pagination-posts').live('click', function(e){ console.log('First click'); var position = $('.hubspot-tab-wrapper').offset(); position=position.top; $('html, body').animate({ scrollTop: position }, 500); $(this).addClass('active').siblings().removeClass('active'); }); /* ================= Pagination Click Event Ends ======================== */ /* ================= query end======================== */ }); })(LITHIUM.jQuery); ;(function($){ var langMap = { 'en':'hubspot_community_en', 'es':'hubspot_community_es', 'fr':'hubspot_community_fr', 'ja':'hubspot_community_jp', 'pt-br':'hubspot_community_pt', 'de':'hubspot_community_de' } var nodeType = "board"; var langScope = langMap['pt-br']; var isSearchPage = jQuery('body').hasClass('SearchPage'); var isIdeasLandingPage = jQuery('body').hasClass('ideaslandingpage'); if (nodeType === "community" && !isSearchPage && !isIdeasLandingPage) { var inputFormFilter = ''; var inputFormLocation = ''; $('form.SearchForm').append(inputFormFilter).append(inputFormLocation); } else if (nodeType === "community" && isIdeasLandingPage) { var searchUrl = "/t5/forums/searchpage/tab/message?filter=location&location=idea-board:HubSpot_Ideas&collapse_discussion=true"; var query = jQuery('.SearchForm .lia-search-input-message').val(); jQuery(document).on('submit', 'form.SearchForm', function(e) { e.preventDefault(); var newQ = "&q=" + document.querySelector('.SearchForm .lia-search-input-wrapper input.search-input').value; window.location = window.location.origin + searchUrl + newQ; }) } })(LITHIUM.jQuery) LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_15da5051426c1a","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_15da5051426c1a_0","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_15da5051426c1a_1","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_15da5051426c1a_2","feedbackSelector":".InfoMessage"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando...","emptyText":"Nenhuma ocorrência","successText":"Resultados:","defaultText":"Insira uma palavra de pesquisa","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_15da505175079d', 'disableAutoComplete', '#ajaxfeedback_15da5051426c1a_0', 'LITHIUM:ajaxError', {}, 'yXfCKo5-hZGiflQ9E-aVRJYiVz9EvET7Q0GtniCeP50.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_15da5051426c1a_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/forumpage.searchformv32.messagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/strategie_discussions/label-name/Annonces/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando...","emptyText":"Nenhuma ocorrência","successText":"Resultados:","defaultText":"Insira uma palavra de pesquisa","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_15da5051891261', 'disableAutoComplete', '#ajaxfeedback_15da5051426c1a_0', 'LITHIUM:ajaxError', {}, 'G03BuCODx4ixnqx_UcxiE4UrH0FT5AYqCo7dqJDlZlY.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_15da5051426c1a_1","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/forumpage.searchformv32.tkbmessagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/strategie_discussions/label-name/Annonces/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando usuários...","emptyText":"Nenhuma ocorrência","successText":"Usuários encontrados:","defaultText":"Insira um nome de usuário ou uma classificação","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_15da50519c8b79', 'disableAutoComplete', '#ajaxfeedback_15da5051426c1a_0', 'LITHIUM:ajaxError', {}, 'kFFBtcimFnnEVLupK4cm7rczuhHJ7ogXcAqZVfy9sEw.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#userSearchField_15da5051426c1a","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/forumpage.searchformv32.usersearchfield.usersearchfield:autocomplete?t:ac=board-id/strategie_discussions/label-name/Annonces/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:userExistsQuery","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":"#userSearchField_15da5051426c1a","action":"userExistsQuery","feedbackSelector":"#ajaxfeedback_15da5051426c1a_0","url":"https://community.hubspot.com/t5/forums/forumpage.searchformv32.usersearchfield:userexistsquery?t:ac=board-id/strategie_discussions/label-name/Annonces/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","ajaxErrorEventName":"LITHIUM:ajaxError","token":"gFUHaz0j4hzZNfw1gopbIkA5qpV-cexuUiH0H7Bs5nA."}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando...","emptyText":"Nenhuma ocorrência","successText":"Resultados:","defaultText":"Insira uma palavra de pesquisa","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_15da5051b3ea01', 'disableAutoComplete', '#ajaxfeedback_15da5051426c1a_0', 'LITHIUM:ajaxError', {}, 'FbgOxykoC1a-rR8OlJ-HAPa7XUpIzLk1FPzu8JbpT1Y.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#noteSearchField_15da5051426c1a_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/forumpage.searchformv32.notesearchfield.notesearchfield:autocomplete?t:ac=board-id/strategie_discussions/label-name/Annonces/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando...","emptyText":"Nenhuma ocorrência","successText":"Resultados:","defaultText":"Insira uma palavra de pesquisa","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_15da5051c5caa3', 'disableAutoComplete', '#ajaxfeedback_15da5051426c1a_0', 'LITHIUM:ajaxError', {}, 'IjbGrUV_G4qLbY63gaWmYy1ZObVoxMzr1dmKR9SYhhk.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#productSearchField_15da5051426c1a","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/forums/forumpage.searchformv32.productsearchfield.productsearchfield:autocomplete?t:ac=board-id/strategie_discussions/label-name/Annonces/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport.fromLink('#enableAutoComplete_15da5051426c1a', 'enableAutoComplete', '#ajaxfeedback_15da5051426c1a_0', 'LITHIUM:ajaxError', {}, 'cYJwQG8p2FihVWcv30aY6FmGbJHjpziGouNUtxJT1pk.', 'ajax'); LITHIUM.Tooltip({"bodySelector":"body#lia-body","delay":30,"enableOnClickForTrigger":false,"predelay":10,"triggerSelector":"#link_15da5051426c1a","tooltipContentSelector":"#link_15da5051426c1a_0-tooltip-element .content","position":["bottom","left"],"tooltipElementSelector":"#link_15da5051426c1a_0-tooltip-element","events":{"def":"focus mouseover keydown,blur mouseout keydown"},"hideOnLeave":true}); LITHIUM.HelpIcon({"selectors":{"helpIconSelector":".help-icon .lia-img-icon-help"}}); LITHIUM.SearchAutoCompleteToggle({"containerSelector":"#searchautocompletetoggle_15da5051426c1a","enableAutoCompleteSelector":".search-autocomplete-toggle-link","enableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:enableAutoComplete","disableAutoCompleteSelector":".lia-autocomplete-toggle-off","disableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:disableAutoComplete","autoCompleteSelector":".lia-autocomplete-input"}); LITHIUM.SearchForm({"asSearchActionIdSelector":".lia-as-search-action-id","useAutoComplete":true,"selectSelector":".lia-search-form-granularity","useClearSearchButton":false,"buttonSelector":".lia-button-searchForm-action","asSearchActionIdParamName":"as-search-action-id","formSelector":"#lia-searchformV32_15da5051426c1a","nodesModel":{"crm_sales_hub_fr|category":{"title":"Pesquisar o Categoria: Stratégie, discussions, et meilleures pratiques","inputSelector":".lia-search-input-message"},"user|user":{"title":"Usuários","inputSelector":".lia-search-input-user"},"strategie_discussions|forum-board":{"title":"Pesquisar o Fórum: Stratégie, discussions, et meilleures pratiques","inputSelector":".lia-search-input-message"},"mjmao93648|community":{"title":"Pesquisar o Comunidade: Stratégie, discussions, et meilleures pratiques","inputSelector":".lia-search-input-message"}},"asSearchActionIdHeaderKey":"X-LI-AS-Search-Action-Id","inputSelector":"#messageSearchField_15da5051426c1a_0:not(.lia-js-hidden)","clearSearchButtonSelector":null}); (function($) { $(document).ready(function() { if(userLang == 'de'|| userLang == 'ja'){ $('.search-wrapper-right-column .SearchForm input[type="text"]').attr("placeholder", "Stratégie, discussions, et meilleures pratiques Pesquisar "); } else{ $('.search-wrapper-right-column .SearchForm input[type="text"]').attr("placeholder", "Pesquisar Stratégie, discussions, et meilleures pratiques"); } }); })(LITHIUM.jQuery); LITHIUM.DropDownMenu({"userMessagesFeedOptionsClass":"div.user-messages-feed-options-menu a.lia-js-menu-opener","menuOffsetContainer":".lia-menu-offset-container","hoverLeaveEvent":"LITHIUM:hoverLeave","mouseoverElementSelector":".lia-js-mouseover-menu","userMessagesFeedOptionsAriaLabel":"Mostrar contribuições do usuário, a opção selecionada é Opções. Você pode escolher uma outra opção a partir do menu suspenso.","disabledLink":"lia-link-disabled","menuOpenCssClass":"dropdownHover","menuElementSelector":".lia-menu-navigation-wrapper","dialogSelector":".lia-panel-dialog-trigger","messageOptions":"lia-component-message-view-widget-action-menu","menuBarComponent":"lia-component-menu-bar","closeMenuEvent":"LITHIUM:closeMenu","menuOpenedEvent":"LITHIUM:menuOpened","pageOptions":"lia-component-community-widget-page-options","clickElementSelector":".lia-js-click-menu","menuItemsSelector":".lia-menu-dropdown-items","menuClosedEvent":"LITHIUM:menuClosed"}); LITHIUM.DropDownMenuVisibilityHandler({"selectors":{"menuSelector":"#actionMenuDropDown_15da5051ed996b","menuItemsSelector":".lia-menu-dropdown-items"}}); jQuery(document).ready(function() { function moveFollowButton() { let followText = "Acompanhe"; let unfollowText = "Seguindo"; let followToolTip = "Receba atualizações por e-mail sobre esse tópico"; let unfollowToolTip = "Pare de receber atualizações por e-mail sobre esse tópico"; let signInToolTip = "Faça o login para para seguir este tópico"; let messages = jQuery('.ForumTopicPage .MessageView'); let ideaOptionsMenu = jQuery('.IdeaPage ul#dropdownmenuitems'); let blogOptionsMenu = jQuery('.BlogPage .lia-page-options ul.lia-menu-dropdown-items'); function ReturnFollowButton(elem, contentType, buttonClass) { let followSelector; let unfollowSelector; switch (contentType) { case 'forum': followSelector = 'addMessageUserEmailSubscription'; unfollowSelector = 'removeMessageUserEmailSubscription'; break; case 'idea': followSelector = 'addThreadUserEmailSubscription'; unfollowSelector = 'removeThreadUserEmailSubscription'; break; case 'blog': followSelector = 'addBoardUserEmailSubscription'; unfollowSelector = 'removeBoardUserEmailSubscription'; break; default: break; } let subscribeLink = elem.find('a.' + followSelector); let followWrapper; if (!subscribeLink.length) { subscribeLink = elem.find('a.'+ unfollowSelector); followWrapper = jQuery('').addClass(buttonClass).addClass('unfollow'); subscribeLink.text(unfollowText); subscribeLink.attr('title', unfollowToolTip); if (!subscribeLink.length) { subscribeLink = elem.find('span.' + followSelector); if (subscribeLink.length) { followWrapper = jQuery('').addClass(buttonClass).addClass('follow').addClass('disabled'); subscribeLink.text(followText); subscribeLink.attr('title', signInToolTip); } } } else { followWrapper = jQuery('').addClass(buttonClass).addClass('follow'); subscribeLink.text(followText); subscribeLink.attr('title', followToolTip); } return [followWrapper, subscribeLink]; } if (messages.length) { messages.each(function(i) { let followItems = ReturnFollowButton(jQuery(this), 'forum', 'follow-wrapper'); let followWrapper = followItems[0]; let subscribeLink = followItems[1]; if (window.innerWidth > 768) { followWrapper.append(subscribeLink); let followContainer = jQuery(this).find('div.lia-message-author-username.lia-component-user-name'); followContainer.append(followWrapper); } }) } else if (ideaOptionsMenu.length) { let followItems = ReturnFollowButton(ideaOptionsMenu, 'idea', 'follow-wrapper'); let followWrapper = followItems[0]; let subscribeLink = followItems[1]; if (window.innerWidth > 768) { followWrapper.append(subscribeLink); let followContainer = jQuery('.lia-component-idea-topic .DateTime'); followContainer.append(followWrapper); } } else if (blogOptionsMenu.length) { let followItems = ReturnFollowButton(blogOptionsMenu, 'blog', 'follow-wrapper btn btn-sm button-primary'); let followWrapper = followItems[0]; let subscribeLink = followItems[1]; console.log(followItems); if (window.innerWidth > 768) { followWrapper.append(subscribeLink); let followContainer = jQuery('.blog-listing-page-options .follow-container'); followContainer.append(followWrapper); } } } moveFollowButton(); jQuery('.lia-js-menu-opener').removeAttr("href"); }) ;(function($) { $core.near('.side-wrapper-content', 50, function(el) { var $target = $(el).find('.lia-category-subscription-link.lia-link-disabled'); $target.css({'pointer-events': 'all', 'cursor': 'pointer'}).on('click', function() { // glowingblue: doesn't work for some reason, well, then we redirect the hard way //$('.lia-component-users-action-login:visible').click(); location = $('.lia-component-users-action-login:visible').attr('href'); }); }, { once: true }); })(LITHIUM.jQuery); ;(function ($) { if ($(window).width() <= 991) { $(".community-footer .col:nth-child(3)").on('click',function(){ if ($(this).hasClass('active')) { $(this).removeClass('active'); $(this).children("ul").hide(); $(this).children("h5").removeClass("addedClass"); } else { $(".community-footer .col").removeClass('active'); $('.community-footer .col ul').hide(); $(this).addClass('active'); $(this).children("ul").show(); $('.community-footer .col').children("h5").removeClass("addedClass"); $(this).children("h5").addClass("addedClass"); } if ( $(".community-footer .col:nth-child(4) ul").hasClass('custom-footer-res')) { $(".community-footer .col:nth-child(4) ul").removeClass('custom-footer-res'); } else { $(".community-footer .col:nth-child(4) ul").addClass('custom-footer-res'); } }) $('.community-footer .col:nth-child(1)').on("click", function () { if ($(this).hasClass('active')) { $(this).removeClass('active'); $(this).children("ul").hide(); $(this).children("h5").removeClass("addedClass"); } else { $(".community-footer .col").removeClass('active'); $('.community-footer .col ul').hide(); $(this).addClass('active'); $(this).children("ul").show(); $('.community-footer .col').children("h5").removeClass("addedClass"); $(this).children("h5").addClass("addedClass"); } if ( $(".community-footer .col:nth-child(4) ul").hasClass('custom-footer-res')) { $(".community-footer .col:nth-child(4) ul").removeClass('custom-footer-res'); } }) $('.community-footer .col:nth-child(2)').on("click", function () { if ($(this).hasClass('active')) { $(this).removeClass('active'); $(this).children("ul").hide(); $(this).children("h5").removeClass("addedClass"); } else { $(".community-footer .col").removeClass('active'); $('.community-footer .col ul').hide(); $(this).addClass('active'); $(this).children("ul").show(); $('.community-footer .col').children("h5").removeClass("addedClass"); $(this).children("h5").addClass("addedClass"); } if ( $(".community-footer .col:nth-child(4) ul").hasClass('custom-footer-res')) { $(".community-footer .col:nth-child(4) ul").removeClass('custom-footer-res'); } }) } })(LITHIUM.jQuery); LITHIUM.PartialRenderProxy({"limuirsComponentRenderedEvent":"LITHIUM:limuirsComponentRendered","relayEvent":"LITHIUM:partialRenderProxyRelay","listenerEvent":"LITHIUM:partialRenderProxy"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:partialRenderProxyRelay","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":document,"action":"partialRenderProxyRelay","feedbackSelector":false,"url":"https://community.hubspot.com/t5/forums/forumpage.liabase.basebody.partialrenderproxy:partialrenderproxyrelay?t:ac=board-id/strategie_discussions/label-name/Annonces/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..","ajaxErrorEventName":"LITHIUM:ajaxError","token":"43mdj45xgP3Yw-_7uhQMonkVSPwtIesajusCb1NCk50."}); LITHIUM.Auth.API_URL = "/t5/util/authcheckpage"; LITHIUM.Auth.LOGIN_URL_TMPL = "https://app.hubspot.com/khoros/integration/jwt/authenticate?referer=https%3A%2F%2FREPLACE_TEXT"; LITHIUM.Auth.KEEP_ALIVE_URL = "/t5/status/blankpage?keepalive"; LITHIUM.Auth.KEEP_ALIVE_TIME = 300000; LITHIUM.Auth.CHECK_SESSION_TOKEN = 'z-bUbwow7EljsBn9fXTscvQM2_RN3mGYS6zOrpLgozI.'; LITHIUM.AjaxSupport.useTickets = false; LITHIUM.Loader.runJsAttached(); // -->