/* Elfsight (c) elfsight.com */

!function(e,i){"use strict";var t=function(e,i){e.jQuery.instaLink(e.jQuery('[data-model-id="'+i+'"]'))};i.InlineShortcodeView_instalink=InlineShortcodeView.extend({render:function(){var e=this.model.get("id");return InlineShortcodeView_instalink.__super__.render.call(this),vc.frame_window.vc_iframe.addActivity(function(){t(this,e)}),this},parentChanged:function(){var e=this.model.get("id");return InlineShortcodeView_instalink.__super__.parentChanged.call(this),_.defer(function(){t(vc.frame_window,e)}),this},update:function(e){this.beforeUpdate(),e&&e.attributes&&e.attributes.params,vc.builder.update(e)}})}(window.jQuery,window);