PageSourceSearch

https://www.ricardocuisine.com/build/plugins-tink.03d5a713.js

js ricardocuisine.com collected 2026-10-01 11:27:11 UTC 5,603 bytes, 1 lines download raw bytes

1$.fn.extend({center_bg_img:function(){$(this).each((function(){var t=$(this).find("> img").attr("src");$(this).css({background:"url("+t+") center top / cover no-repeat"}).find("img").hide()}))},expand_collapse:function(){$(this).each((function(){var t=$(this),e=t.data("expanded"),o=t.data("disabled");currentViewportSize==e&&$(this).addClass("expanded"),currentViewportSize==o&&$(this).addClass("disabled"),t.off(clickORtouchend),t.on(clickORtouchend,(function(t){!1===is_Touchmove&&($(this).toggleClass("expanded"),t.preventDefault())}))}))},available_height:function(){$(this).each((function(){var t=$(this),e=t.outerHeight(),o=t.closest("[data-contain]").height(),i=$(window).outerHeight()-(o-e)-80;t.css("height",i)}))},popover:function(t){$(this).each((function(){var t=$(this);t.on(clickORtouchend,(function(e){var o=!1,i=t.outerWidth(),d=t.outerHeight(),a=parseInt($("body").css("padding-top")),n=$("#"+t.data("id")),f=t.data("original-title"),c=t.data("btn-label"),s=t.data("item-id"),l=t.data("item-value"),r=t.data("form-to-send"),u=t.data("form-to-send-action"),p=t.data("form-to-send-no-item-msg"),h=t.data("placement"),m=n.children(".arrow");if("true"==$(this).attr("data-open-tablet")&&(o=!0),!1===Ricardo.Theme.popover_opened&&(desktopSize||tabletSize&&!0===o)){if(e.preventDefault(),0!==n.find("form").length&&n.find("form")[0].reset(),""!=f&&n.find("[data-original-title]").attr("data-original-title",s).html(f),""!=c&&n.find(".btn-primary").html(c),""!=s&&n.find("[data-item-id]").attr({"data-item-id":s,value:s}),""!=l&&n.find("[data-item-value]").attr({"data-item-value":l,value:l}),""!=r&&""!=u&&""!=p){var g=n.attr("id");"deleteMultipleIngredientDialog"==g&&0==$("#"+r).find('input[type="checkbox"]:checked').length?(n.find("[data-form-to-send-no-item-msg]").html(p),n.find(".buttons").hide(),n.find(".message").show()):"deleteIngredientDialog"==g||"deleteMultipleIngredientDialog"==g||"deleteFolderDialog"==g?(n.find(".buttons").show(),n.find(".message").hide(),n.find(".btn-primary").off(clickORtouchend),n.find(".btn-primary").on(clickORtouchend,(function(t){"use strict";$("#"+u).click(),t.preventDefault()}))):"addIngredientDialog"==g||"sendByEmailDialog"==g||"addFolderDialog"==g?(n.find(".btn-primary").off(clickORtouchend),n.find(".btn-primary").on(clickORtouchend,(function(t){"use strict";$("#"+r).val(n.find("input").val()),$("#"+u).click(),t.preventDefault()}))):"editFolderDialog"==g?(n.find(".btn-primary").off(clickORtouchend),n.find(".btn-primary").on(clickORtouchend,(function(t){"use strict";$("#"+r).val($(".editFolder").val()),$("#"+u).click(),t.preventDefault()}))):"deleteRecipeFromFolderDialog"==g?(n.find("[data-form-to-send]").off(clickORtouchend),n.find("[data-form-to-send]").on(clickORtouchend,(function(){"use strict";var t=$("#"+r);t.find("input:checkbox").prop("checked",!1),t.find("input#"+s).prop("checked",!0),t.find("[data-form-action]").attr("value",u),t.submit()}))):"addRecipeToFolderDialog"==g?(n.find("[data-form-to-send]").off(clickORtouchend),n.find("[data-form-to-send]").on(clickORtouchend,(function(){"use strict";var t=$("#"+r);t.find("input:checkbox").prop("checked",!1),t.find("input#"+s).prop("checked",!0),t.find("[data-form-action]").attr("value",u),t.find("[data-folder-id]").attr("value",n.find("select").val()),t.submit()}))):"addToFolderMultipleDialog"==g?(n.find("[data-form-to-send]").off(clickORtouchend),n.find("[data-form-to-send]").on(clickORtouchend,(function(){"use strict";var t=$("#"+r);t.find("[data-form-action]").attr("value",u),t.find("[data-folder-id]").attr("value",n.find("select").val()),t.submit()}))):"addRecipeToMenuDialog"==g?(n.find("[data-form-to-send]").off(clickORtouchend),n.find("[data-form-to-send]").off().on(clickORtouchend,(function(){"use strict";var t=$("#"+r);t.find("input#"+s).prop("checked",!0),t.find("[data-date-picked]").attr("value",n.find("input#datePicked").val()),t.find("[data-form-action]").attr("value",u),t.submit()}))):0!=$("#"+r).find('input[type="checkbox"]:checked').length?(n.find("[data-form-to-send]").off(clickORtouchend),n.find("[data-form-to-send]").on(clickORtouchend,(function(){"use strict";var t=$("#"+r);t.find("[data-form-action]").attr("value",u),t.submit()})),n.find(".buttons").show(),n.find(".message").hide()):(n.find("[data-form-to-send-no-item-msg]").html(p),n.find(".buttons").hide(),n.find(".message").show())}n.removeClass("right top bottom left"),n.show(),n.addClass(h),n.find('[style*="display: none"]').not(".ui-autocomplete, .buttons, .message, .chosen-select").css("display","block");var v=n.outerHeight(),b=n.outerWidth();"left"==h?d>=v?n.css({left:t.offset().left-b,top:t.offset().top+(Math.abs(v-d)/2-a)}):n.css({left:t.offset().left-b,top:t.offset().top-(Math.abs(v-d)/2+a)}):"right"==h?d>=v?n.css({left:t.offset().left+i,top:t.offset().top+(Math.abs(v-d)/2-a)}):n.css({left:t.offset().left+i,top:t.offset().top-(Math.abs(v-d)/2+a)}):"top"==h?i>
1=b?n.css({top:t.offset().top-v-d,left:t.offset().left+Math.abs(b-i)/2}):n.css({top:t.offset().top-v-d,left:t.offset().left-Math.abs(b-i)/2}):"top-right"==h?(n.css({left:t.offset().left+30,top:t.offset().top-v-m.outerHeight(!0)+1}),m.css("left",i/2-m.width()/2-30)):"bottom-left"==h?(n.css({left:t.offset().left+i-b,top:t.offset().top+d+m.outerHeight(!0)}),m.css("right",i/2-m.width()/2)):"bottom-link"==h&&n.css({right:0,top:d}),Ricardo.Theme.InitInputFocusInPopup(n),setTimeout((function(){$("body").addClass("popover-opened"),1==Ricardo.Theme.popover_opened?Ricardo.Theme.popover_opened=!1:Ricardo.Theme.popover_opened=!0}),0)}else!0===Ricardo.Theme.popover_opened&&e.preventDefault()}))}))}});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.