开发者社区> python技术君> 正文
阿里云
为了无法计算的价值
打开APP
阿里云APP内打开

Salesforce mainframe UI的源代码

简介: Salesforce mainframe UI的源代码
+关注继续查看

Lightning Experience

</div><div data-lake-id="a2027edbd251075d197e62d8749ebf35">(function () {</div><div data-lake-id="72f2494d68548c4d64b30adb0db2ab0c">    window.pageStartTime = (new Date()).getTime();</div><div data-lake-id="fde25dd86162655a8c477d21eab89cf2">    window.Aura || (window.Aura = {});</div><div data-lake-id="ce0d0de42581a89509ca8d1358a71b69">    window.Aura.bootstrap || (window.Aura.bootstrap = {});</div><div data-lake-id="df6c7c066e485838f9bdc8ce221ab630"><br /></div><div data-lake-id="2bb833cd3cac35c8ae4880ad1d35dc76">    var time = window.performance && window.performance.now ? window.performance.now.bind(performance) : function(){return Date.now();};</div><div data-lake-id="50f8a806a71eaedeb397b5da493d2eaf">    window.Aura.bootstrap.execInlineJs = time();</div><div data-lake-id="cfe0a576b20e22840f2f7b38924067bb"><br /></div><div data-lake-id="21c05c0e0d26292070a5b87514b1851a">    window.Aura.inlineJsLoaded = true;</div><div data-lake-id="6ffadcadcd43833569eb5ae61069fcc2">    var auraConfig = {"deftype":"APPLICATION",</div><div data-lake-id="c2e1f4524a328680fa04edfcb055ef9a">    "ns":{"privileged":["FSC","FSC1","FSC10gs0","FSC11","FSC12","FSC13","FSC14","FSC15","FSC2","FSC3","FSC4","FSC5","FSC6gs0","FSC7gs0","FSC8gs0","FSC9gs0","FSC_RB","FinServ","FinServWaveExt","FinServ_CB","FinServ_CB_Pre","FinServ_CB_SB","FinServ_INS_Pre","FinServ_INS_SB","FinServ_RB","FinServ_RB_Pre","FinServ_RB_SB","FinServ_SB","FinServ_WM","FinServ_WM_SB","HC10gs0","HC11","HC12","HC13","HC14","HC15","HC4","HC4a","HC5","HC6","HC6gs0","HC7","HC7gs0","HC8","HC8gs0","HC9","HC9gs0","HealthCloud","HealthCloudGA","HealthCloud_SB","einsteinservice","et4ae5","fsc1_r1","fsc2_r1","fsc3_r1","fscfma","fscmainstgpu","fscmainstguat","fscprerelease","fscr1pu","fscr1uat","fscsbpu","fscsbuat","fscwealth","fscwealthE","fscwealthfuture","fscwealthpatch","fscwmmain","hc1_r1","hc2_r1","hc3_r1","hcfma","hcmainstgpu","hcmainstguat","hcperf","hcr1pu","hcr1uat","hcsbpu","hcsbuat","iqinbox","mcdm_15","mcdm_21","mcdm_22","mcdm_23","mcdm_24","mcdm_25","mcdm_26","mcdm_27","mcdm_28","mcdm_29","mcdm_3","mcdm_30","mcdm_8","mcsocsel","mcsocsel_1","mcsocsel_10","mcsocsel_2","mcsocsel_3","mcsocsel_4","mcsocsel_5","mcsocsel_6","mcsocsel_7","mcsocsel_8","mcsocsel_9","relateiq","wealthone","wealthoneblitz","wealthonep"],"internal":["adminui","aloha_sales_forecasting","aloha_sales_opptysplit","aloha_sales_tm2","analytics","analyticsHome","anikodev","aotp","aotp_demo","appexUi","appexUiDev","assistantFramework","assistantFrameworkModules","aura","auraStorage","auradev","auradocs","aurajstest","auraplat","builder_industries_survey","builder_platform_interaction","builder_platform_process","builder_service_chatbots","calendar","chatbots","clients","commerce","communitySetup","componentExamples","componentReference","console","cooper","cordaDashboards","dashboards","dataImporter","ddcProspector","desktopDashboards","dutchdev","einsteinbuilder","emailStream","emailui","embeddedService","environmenthub","externalServicesSetup","feeds","feeds_emoji","fieldService","flexipage","flexipageEditor","flowruntime","folder","force","forceChatter","forceCommunity","forceContent","forceDiscovery","forceKnowledge","forceSearch","forceTopic","gaterTest","googleConnector","hammerSetup","home","indtstfmwk","instrumentation","interop","iot","kbmanagement","knowledgeone","lbpm","lcperf","lcwizard","lightning","lightningComponentDemo","lightningsnapin","liveAgent","ltng","ltngdoc","ltngx","macros","mcdm","mcdm_1","mcdm_10","mcdm_16","mcdm_17","mcdm_18","mcdm_19","mcdm_2","mcdm_20","mcdm_4","mcdm_5","mcdm_6","mcdm_7","mcdm_9","module","myday","native","notes","objectManager","offline","omni","onboarding","onboardingTest","one","onesetup","opencti","packagingSetupUI","platformencryption","processui","processuiappr","processuicommon","processuimgnt","processuirule","processuitest","reports","runtime_all_walkthroughs","runtime_all_walkthroughsTest","runtime_all_walkthroughsinternal","runtime_all_walkthroughsinternalTest","runtime_approval_process","runtime_communities_nba","runtime_einstein_discovery","runtime_industries_actionplan","runtime_ladybug","runtime_marketing_btobma","runtime_platform_am","runtime_platform_sfdx","runtime_platform_testhistory","runtime_platformservices_condBuilder","runtime_platformservices_transactionSecurity","runtime_retail_runtime","runtime_retail_setup","runtime_retail_setup_core","runtime_rtc","runtime_rtc_spark","runtime_sales_activities","runtime_sales_ade","runtime_sales_campaign","runtime_sales_commerce","runtime_sales_dedupe","runtime_sales_emailtemplateui","runtime_sales_forecasting","runtime_sales_insights","runtime_sales_lead","runtime_sales_leadiq","runtime_sales_merge","runtime_sales_pathassistant","runtime_sales_pipelineboard","runtime_sales_quotes","runtime_sales_skype","runtime_sales_social","runtime_sales_xclean","runtime_search_federated","runtime_service_fieldservice","runtime_service_liveagent","runtime_service_livemessage","runtime_service_omnichannel","runtime_service_predictions","runtime_service_scs","runtime_service_trials","s1wizard","salesforceIdentity","securityHealth","securitycentral","selfService","serviceCommunity","setup","setupAssistant","setup_lightning_visualforce","setup_mobile_appclone","setup_platform_api_wsdl","setup_platform_ltngbolt","setup_platform_notifications","setup_platform_perms","setup_platform_sfdx","setup_platformservices_customplatform","setup_sales_actionplan","setup_sales_forecasting","setup_sales_insights","setup_sales_leadiq","setup_sales_pardot","setup_sales_pathassistant","setup_sales_spark","setup_service","setup_service_fieldservice","setup_service_livemessage","setup_service_predictions","setup_service_scs","setupnav","setupwizard","sfa","siteforce","siteforceBuilder","skipdev","support","survey","templatesetup","today","ui","uiExamples","uns","userProvisioningUI","visualEditor","voice","wave","wits","work","workAloha"]},"host":"","context":{"mode":"PROD","app":"one:one","fwuid":"1bO4dJePbDnoI-_VdhdsEQ","loaded":{"APPLICATION@markup://one:one":"g1ad8Qc8ZUwOL_CjOJZ1ow"},"pathPrefix":"","ls":1,"scriptNonce":"c42863bb-7fec-51c6-bdf3-6f62b27ae33f","m":1,"mna":{"lightning":"interop"}},"descriptor":"markup://one:one","pathPrefix":"","token":"HCQAHBgEMTAwMBQCGAcxMDAwMjA2GAcxMDAwMjA2ABQCGfMQveXrZ3dv_AZaPlkhXNF-lBaE8rKd3FgAGfMgIJVnoBO6objtSBXWnx8NPUlJnAfQI_wCquhy3ttOHoQA","MaxParallelXHRCount":6,"XHRExclusivity":false};</div><div data-lake-id="6c2920537f904882ce656d6cdb011ea9"><br /></div><div data-lake-id="f5cb58e7cb3083e891b2b97ad5163a1d">    function auraPreInitBlock () {</div><div data-lake-id="9c39bc774fa774717dd215a4197999b9">     $A.storageService.setIsolation("00D7F000006PdUa0057F000002v3re");</div><div data-lake-id="5c2a693fabf5f1cf9ce6b40554d3a345">        $A.storageService.setVersion("42.0");</div><div data-lake-id="d2707c5940ec2e336757f7d1154fde3c">        (function(debug, key){</div><div data-lake-id="a585771d381dd471cf60c017de379d29">   function setCryptoKey(key) {</div><div data-lake-id="5d530c821a46d0a6755f8a93ffe4d842">    var buffer, view;</div><div data-lake-id="9fdbc15b59158480527102f2f87abef1">    if (Array.isArray(key) && (key.length === 32 || key.length === 16)) {</div><div data-lake-id="313b60f710ec1d38ec9d0d1e6586908d">        try {</div><div data-lake-id="4666a9fbff2145442b89abb3c3ecda02">            buffer = new ArrayBuffer(key.length);</div><div data-lake-id="32eabfe8fb22cb83f42dc00abc9b0069">            view = new Uint8Array(buffer);</div><div data-lake-id="9855d01b80ec876f3325d79b62dbb6c5">            view.set(key);</div><div data-lake-id="44c9c40112571d5df24fef91231064b8">        } catch (ignored) {}</div><div data-lake-id="3a5b81192286dae60ffa0566286917ea">    }</div><div data-lake-id="966cf35cfa33b4436d509baa73a5bd28">    CryptoAdapter.setKey(buffer);</div><div data-lake-id="72e50c2a849abb5bf26b09a7eb50e7fd">}</div><div data-lake-id="1664c01acca91dcca04b3f5500288136"><br /></div><div data-lake-id="e9ea022ffebc859d79b5298312730a28">debug && $A.log('CryptoAdapter registering');</div><div data-lake-id="9b142aec1802c1ef5c8a0772f7f813d7">var CryptoAdapter = $A.storageService.CryptoAdapter;</div><div data-lake-id="1c51aa39c594040fe3bfa38b98a8876c">CryptoAdapter.register();</div><div data-lake-id="04adb8ba337b875700905cea4371038e">if (!$A.storageService.isRegisteredAdapter(CryptoAdapter.NAME)) {</div><div data-lake-id="2b219e818e487be27e2f7530a88c0b5d">    $A.log('CryptoAdapter was not registered');</div><div data-lake-id="aa5f42194d57336596dbdf0db62e603b">    return;</div><div data-lake-id="ffa72373b71bfec5d11c0d45049f8c03">}</div><div data-lake-id="29308cba0841c1ad1396d0eb103ccacf">setCryptoKey(key);</div><div data-lake-id="2c05108b9e021ed61b67b410c49c6974"><br /></div><div data-lake-id="006af710642f4102d9a37ae770b6c58a">}(true,[98, 76, 31, 40, -70, 122, -119, 16, 31, -23, 56, -86, -21, -55, 95, 52, 71, 73, -60, -2, 91, -119, 37, 116, 111, 102, -22, 119, -88, 8, -38, 13]));</div><div data-lake-id="2597996333d08f16099d696357e400ab">            $A.clientService.setParallelBootstrapLoad(true);</div><div data-lake-id="02ecd0249b9414e2d361ca12f4e612db">        $A.storageService.initStorage({name: 'actions', persistent: true, secure: true, maxSize: 10485760, expiration: 900, autoRefreshInterval: 30, debugLogging: false, clearOnInit: false, version: ''});</div><div data-lake-id="d87f3842fa722c744bf25eae32a2cce5">$A.storageService.initStorage({name: 'ComponentDefStorage', persistent: true, secure: false, maxSize: 15728640, expiration: 900, autoRefreshInterval: 900, debugLogging: false, clearOnInit: false, version: ''});</div><div data-lake-id="40ed0281cc9aee72f044529b73093917"><br /></div><div data-lake-id="eb79202d28c8c338a3aedd3ac78628d5">            $A.metricsService.skipBootstrapLogging();</div><div data-lake-id="835cdb146db316b32009a16a7e02cfc7">            $A.log("one/template.cmp: aura.js and app.js not loaded yet");</div><div data-lake-id="04d2e788575c80b28efd9bb7427bb9c9">            window.FORCE=$A.one=(function(Aura){</div><div data-lake-id="96d86e5749fd76c19bf74f2b8a9a88a8">                var CONTAINER_CLASS='.center',</div><div data-lake-id="c9c2585a5a5010548ac0c13e998278a5">                    PREFIX=(function () {</div><div data-lake-id="532ab278d0159fa5833e21549c8a4596">                    var styles=window.getComputedStyle(document.documentElement, ''),</div><div data-lake-id="3ab5ec17f9a1899250c9ba359d9f18f2">                        pre=(Array.prototype.slice.call(styles).join('').match(/-(moz|webkit|ms)-/) || (styles.OLink === '' && ['', 'o']))[1],</div><div data-lake-id="87c6420c1bdf1e68392475c5980488d4">                        dom=('WebKit|Moz|MS|O').match(new RegExp('(' + pre + ')', 'i'))[1];</div><div data-lake-id="ca7dab9439ca1d6390465ea952008699">                    /*W-2599121*/ if(window.navigator.userAgent.indexOf('Edge')!=-1){ pre = 'webkit';}</div><div data-lake-id="2bea0e32be8d70dc5dfe0941fd954644">                    return {dom:dom,lowercase:pre,css:'-'+pre+'-',js:pre[0].toUpperCase()+pre.substr(1)};</div><div data-lake-id="163ddf9bff4d3bfb7393842a0c8a2022">                })();</div><div data-lake-id="f04ef0445b49771ef1991db419c61ac2">                var ANIMATION_END_EVENT_NAMES={webkit:"webkitAnimationEnd",o:"oAnimationEnd",moz:"animationend",ms:"animationend"},</div><div data-lake-id="0d68fc35304c3d22cf6cb1ba2077b900">                    TRANSITION_END_EVENT_NAMES={webkit:"webkitTransitionEnd",o:"oTransitionEnd",moz:"transitionend",ms:"transitionend"},</div><div data-lake-id="5d50ed1fff82b20f3bfcf00fbafbf2a7">                    ONE_OBJ={</div><div data-lake-id="7e57d20bd9944e113fe26b77f6631dbd">                    getPrefixCSS:function (){return PREFIX.css;},</div><div data-lake-id="3873d027dc5b55f3028c9c45d40d6a2d">                    getPrefixJS:function(){return PREFIX.js;},</div><div data-lake-id="77da58aab2d28ffb2c3a6dd5da23e571">                    getPrefix: function (upperCase) {var prefix=PREFIX.lowercase,up=$A.util.isIE && upperCase;return up ? prefix.toUpperCase() : prefix;},</div><div data-lake-id="3f06eedc39b4555e72ad1561356b8bcc">                    getAnimationEndEventName: function () { return ANIMATION_END_EVENT_NAMES[this.getPrefix()] || 'animationend';},</div><div data-lake-id="aa2673c1055146e5c358d6eda5df420a">                    getTransitionEndEventName: function () {return TRANSITION_END_EVENT_NAMES[this.getPrefix()] || 'transitionend';},</div><div data-lake-id="5a6eb82052527ea09bc4b4dd737e9259">                    layouts : { PHONE: "phone", TABLET: "tablet", DESKTOP: "desktop" },</div><div data-lake-id="da59fab33770caccac0789cedfa4c484">                    mark:function(msg) {if(window.console && window.console.markTimeline) window.console.markTimeline(msg);},</div><div data-lake-id="7c6768df1743fe8a0619c560868a58e2">                    cookies:{</div><div data-lake-id="6e2c3b60f08d478cd608e64e0c49cf50">                        getCookie:function(e){for(var t,o=e+"=",i=document.cookie.split(";"),n=0;n < i.length;n++)for(t=i[n];" "==t.charAt(0);)if(t=t.substring(1,t.length),0==t.indexOf(o))return t.substring(o.length,t.length);return null},</div><div data-lake-id="faccffe562b003dcd5ff9a57555d726e">                        setCookie:function(e,t,o){var i;if(o){var n=new Date;n.setTime(n.getTime()+24*o*60*60*1e3),i="; expires="+n.toGMTString()}else i="";document.cookie=e+"="+t+i+"; path=/"},</div><div data-lake-id="2eba4fddb5f98badc5d2027afcda61b6">                        removeCookie:function(e){this.setCookie(e,"",-1)}</div><div data-lake-id="76f8d23aa7a84f6aaa4baeb53c20ecb6">                    },</div><div data-lake-id="33c835631d1db3c4b8f5f9e55c62e8ed">                    getContainer:function () {return document.querySelector(CONTAINER_CLASS);},</div><div data-lake-id="3e790ef1b357e0d0d453dc4296673f03">                    getContainerWidth: function () {var container=document.querySelector(CONTAINER_CLASS);if (container) { return container.offsetWidth;}},</div><div data-lake-id="4b14d9962b2ad18fd3db4e28d9389d60">                    getContainerHeight: function () {var container = document.querySelector(CONTAINER_CLASS);if(container){return container.offsetHeight;}},</div><div data-lake-id="d1e74e6fd068151b836c1d405ae65911">                    spinnerLagTime: {spinner:300,toast:9000},</div><div data-lake-id="a5cb8956d20e583c3f4053c087c05e49">                    viewport: { height:window.innerHeight, width:window.innerWidth},</div><div data-lake-id="d42c6c9ea9c56d2c4ab51666a22e3fc0">                };</div><div data-lake-id="4d3ef48fddaec7aabc774ae6c2865e01">                window.addEventListener('beforeinstallprompt', function (e) { ONE_OBJ.androidBannerPromise = e.userChoice; }); // W-2900934</div><div data-lake-id="27a559dbde7739fa93e78e39347598ce">                return ONE_OBJ;</div><div data-lake-id="c167fa39a7fe635acc675c1f69d7df76">            }($A));</div><div data-lake-id="567b029b249241d330c4782adea032cd">       </div><div data-lake-id="01cba2e48ec972b281f83bd7f54b93f9">    }</div><div data-lake-id="5835f29e18b5f0576e9a948590192eff"><br /></div><div data-lake-id="9c6b3a52a540fcf79655fec28df3211b">    function initFramework () {</div><div data-lake-id="190749125151c2a6c43c3f3b236a7a10">        window.Aura = window.Aura || {};</div><div data-lake-id="267505c9fec5c27a42189c0c981a16d0">        window.Aura.app = auraConfig["context"]["app"];</div><div data-lake-id="a9346bf9231c56927d142827914b6605">        window.Aura.beforeFrameworkInit = Aura.beforeFrameworkInit || [];</div><div data-lake-id="b1757ab606987168eec189fccc0f77a1">        window.Aura.beforeFrameworkInit.push(auraPreInitBlock);</div><div data-lake-id="9bc9f248c17f35393e4179866dc00e42">        window.Aura.inlineJsReady = time();</div><div data-lake-id="c37231c0b8dd122f4b5edd8eb281127b"><br /></div><div data-lake-id="cad86cd8cc198454041583212e4d53cd">        if (!window.Aura.frameworkJsReady) {</div><div data-lake-id="eb5ae4d2a9bf7e31cd2aa51d7ac8096b">            window.Aura.initConfig = auraConfig;</div><div data-lake-id="3725481f2554546d9af34bedbb5c5b43">        } else {</div><div data-lake-id="e098b037ed1cd41239b43ccdaa5804d7"><br /></div><div data-lake-id="c890c082341ee261b291dba2b0e971cf">            // LockerService must be initialized before scripts can be executed.</div><div data-lake-id="175f94e30ba3d3539ec1b2dc028881b5">            $A.lockerService.initialize(auraConfig.context.ls);</div><div data-lake-id="5ad768905fb9856c9188b998f07632f6"><br /></div><div data-lake-id="fe57ce0a115f42653667f8287a4a00c5">            // scripts inside custom templates with Locker active are stored</div><div data-lake-id="6ba1735678df15d347ccfe8d5db8391e">            // until now since we need LockerService before running</div><div data-lake-id="7d64350cca7cfb2cf58660e6f6d24634"><br /></div><div data-lake-id="903e19a88c31213905b059960a842df6">            var scripts = window.Aura.inlineJsLocker;</div><div data-lake-id="8c7142815f521397e1da1833baf18077">            if (scripts) {</div><div data-lake-id="6df33b9dfb20e793ef4734cebb5a0201">                for (var i = 0; i < scripts.length; i++) {</div><div data-lake-id="3c025e6595b94b6b939ecccc860f7f20">                    $A.lockerService.runScript(scripts[i]["callback"], scripts[i]["namespace"]);</div><div data-lake-id="7ff8ba56ff4a148c21f2a90abbb738a5">                }</div><div data-lake-id="65ebc6f75e5b18fce269144e98ca081e">                delete window.Aura.inlineJsLocker;</div><div data-lake-id="5f89c13461e762ecfeb2af953a3805ea">            }</div><div data-lake-id="bb973aac44a1b634d76c67f4bcf125f9"><br /></div><div data-lake-id="8c762aa11be30d4c43431bf86673c936">            if (true) {</div><div data-lake-id="570e3cfb805296abc34b6bcc9e12f7d2">                $A.initAsync(auraConfig);</div><div data-lake-id="6c5347a7cd91af6c8c963a691f64d6ed">            } else if (false) {</div><div data-lake-id="2e83b99f1741b3b7aaab20ea023fe58d">                $A.initConfig(auraConfig);</div><div data-lake-id="40122fd4b2ad2fe16c87c85741343b2c">            }</div><div data-lake-id="620ddfab53276f8104f5c2879e8c41b9">        }</div><div data-lake-id="a5bca3c27e49445b46c1860635c39361">    }</div><div data-lake-id="c95d54f29e99976d2e7db2b50692f182"><br /></div><div data-lake-id="a2d4efb91bd127c177402b0fc01e08f4">    // Error msg</div><div data-lake-id="55dd2453aa9222e665b18ccc0a0e7a79">    var x = document.getElementById('dismissError');</div><div data-lake-id="4263994a025f61e14d54e535d9ec29ab">    if (x) {</div><div data-lake-id="7cb1506ad8fb901639be3a6fc7bb4baf">        x.addEventListener("click", function () {</div><div data-lake-id="d18d1f90bba7b94c581bb2acda57c53f">            var auraErrorMask = document.getElementById('auraErrorMask');</div><div data-lake-id="87a1f92715205e92f8aae47dc755170e">            if (window['$A']) {</div><div data-lake-id="3d0b05f87c7d0d5ae383502b73271f96">                $A.util.removeClass(auraErrorMask, 'auraForcedErrorBox');</div><div data-lake-id="5a8b74b2489530683a922da901f037f1">                $A.util.removeClass($A.util.getElement('auraErrorReload'), 'show');</div><div data-lake-id="4156243bbcd156a52423594557d9d4ca">            } else {</div><div data-lake-id="3048cf6fa5e08b052c4d50f67065e6cb">                document.body.removeChild(auraErrorMask);</div><div data-lake-id="6063b4891f9370586c7147e83e7b36e3">            }</div><div data-lake-id="ecafa50c2903d41e40063d06ad11ab0e">        });</div><div data-lake-id="fe0cc4a5520fcebb4c790af2d2e0dbe6">    }</div><div data-lake-id="fa8f1f62319fc0dc853b8bf26c1273a4"><br /></div><div data-lake-id="04b537b4b1b056efe9273a948bb90c6f">    setTimeout(initFramework, 0); // ensure async</div><div data-lake-id="a11b03ec527854febf05efbc78fcb9cb"><br /></div><div data-lake-id="ea2bcf65987ef46ceda2d0795391909b">   </div><div data-lake-id="5fe17e397941001852ef0fd7ba92d5e4">    Aura.PreloadLayout = (function (config) {</div><div data-lake-id="e4d005d34e0ffb88100ec267c92274c2">        function buildParams(o) {</div><div data-lake-id="a2003dd66e18e4f8f0cf45fab9bc9d3c">            return Object.keys(o).reduce(function (r, k) {</div><div data-lake-id="bfa6ded5647005782f3a2d019cd25f7b">                r.push(encodeURIComponent(k) + '=' + encodeURIComponent(o[k]));</div><div data-lake-id="432860fa5712f5157c0936156e9e8d19">                return r;</div><div data-lake-id="1f19b9b97628f5e0d6b0edb375bfc65e">            }, []).join('&');</div><div data-lake-id="c2da354ab2e55b692c246ebdb74134c6">        }</div><div data-lake-id="43223c13c86ad5fadf1a3feb1e9c097b"><br /></div><div data-lake-id="acbae607b3d7a7bcb7a3991674a823e8">        function prefetchAuraActions(actions, callback) {</div><div data-lake-id="fa70d2d44ea1bb6611b3cf3de17b8f9b">            var ctx = config.context; </div><div data-lake-id="afbcdd84f4ecd3feb494fae7561a1354">            var contextToSend = { mode : ctx.mode, fwuid : ctx.fwuid, loaded : ctx.loaded, app : ctx.app };</div><div data-lake-id="0607beb355cf3b577d2dae75161948b2">            if (ctx.m) {</div><div data-lake-id="1703ed9dc580933117c065aabcd09245">                contextToSend["m"] = 1;</div><div data-lake-id="0c6491323e9e91aea8ec1777f6485537">            }</div><div data-lake-id="799d47ca361cfe77b67e94c89a3e6b19">            var payload = {</div><div data-lake-id="732467674e6e1b42ef233c321ef7be92">                "aura.token": config.token, </div><div data-lake-id="debeae0003233f1b46208e507586aafd">                "aura.context": JSON.stringify(contextToSend), </div><div data-lake-id="28b10b7d2a81c7941057c8ced2086490">                message: JSON.stringify({ actions: actions }) </div><div data-lake-id="f09f55abb939c8998961649acc161b33">            };</div><div data-lake-id="2282f5121ec1f496b5c3bd78a48101b5"><br /></div><div data-lake-id="a0b25903b790062638a0a37b6d77de6f">            function onPrefetchError(e) { </div><div data-lake-id="2f86bf58ecd86c5f8638dd38a7e2af44">                callback(e, this); </div><div data-lake-id="6a3cf3ffee84b97ea272c5ec99cf15e9">            }</div><div data-lake-id="9047471877d27e088651e7f1018e95ec">            var params = buildParams(payload);</div><div data-lake-id="121c50ee6e5b7c22bad8e2c912c4a793"><br /></div><div data-lake-id="bf61bbde44e2c47afbc41cbec77a8c8b">            var xhr = new XMLHttpRequest();</div><div data-lake-id="4625da50331a98930797f7fb74ad748d">            xhr.open("POST", config.host + "/aura?preloadActions");</div><div data-lake-id="547f594938cd498a5f25fc0ab914e54b">            xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');</div><div data-lake-id="13f663adc91bf6f8996871467f8f9887">           </div><div data-lake-id="6abcff6ad13f34026dee9ce82cab664f"><br /></div><div data-lake-id="924b3510cb0427ffe3d7fb9e5de6ec3a">            xhr.addEventListener('error', onPrefetchError);</div><div data-lake-id="b629a2a0162a15cecf5cf35cd400f034">            xhr.addEventListener('timeout', onPrefetchError);</div><div data-lake-id="72967bd186bc268a5b0c7dc6ea8feccc">            xhr.addEventListener('load', function (e) {</div><div data-lake-id="f83358147b947d81bae3c3f43a88a35b">                if (this.status === 200) {</div><div data-lake-id="0ed0057d5884bf007aa949843a12d8c8">                    callback(null, this);</div><div data-lake-id="2e404d713895382fe3af43d2d4032ff0">                } else {</div><div data-lake-id="7754d7e4a48f0a7aa20e1ae59498b2e5">                    onPrefetchError.call(this, e);</div><div data-lake-id="d9d5d26235ab61c390551d4ed6b99d3d">                }</div><div data-lake-id="e41579e881ce175e25a505b06e7a9a77">            });</div><div data-lake-id="982dc4614c055c7e3a5bf95b0823ca5d"><br /></div><div data-lake-id="f0be6b028a0c4c58d49cdc1e8493ef59">            xhr.send(params);</div><div data-lake-id="37909b6be6018885a8015a684425e64f">        }</div><div data-lake-id="a445c3a2af0ac01d83db1afc4671f698"><br /></div><div data-lake-id="e76f88996f3b846e04f492b012448056">        function hookAfterDefsReady(callback) {</div><div data-lake-id="f75756f975d92c01b092fcf3a468c56d">            if (Aura.afterAppDefsReady) {</div><div data-lake-id="ad0c0a2137208a8e74ff176bea24d14d">                callback();</div><div data-lake-id="cfda88f6d57b03ed3a74d6d754e9d7a9">            } else {</div><div data-lake-id="67209515f27d231012e7327545249da3">                Aura.afterAppDefsReady = Aura.afterAppDefsReady || [];</div><div data-lake-id="fd10b3a092dafdb14871fa143e8b7e9b">                Aura.afterAppDefsReady.push(callback);</div><div data-lake-id="06885176bb53164905798973c28992c2">            }</div><div data-lake-id="0c50e01dffa8027410156b2c5a8c01dd">        }</div><div data-lake-id="6abc6344f57b6507463d45e0b84c8e40"><br /></div><div data-lake-id="aaabbc5e981dac9cc7dc6e1914e8ad38">        function preloadActionMap(actions, actionsToPreload) {</div><div data-lake-id="8b693b37188fc02d2b43ad87a758fd77">            var map = {};</div><div data-lake-id="5c45b804d29190f52ca35e5f268e5c30"><br /></div><div data-lake-id="f28146d560ec0d945c1f56dd0d5223bf">            if(actions){</div><div data-lake-id="129dcb28703d1ebf3b75fa65368ac33b">                for (var i=0;i<actions.length;i++) {</div><div data-lake-id="8cfd20952711d340a11c7d26d3048163">                    var action = actions[i];</div><div data-lake-id="ca9ba0cc24c3884ed0aaa4b40c1350a6">                    if(action){</div><div data-lake-id="ec568b7da160a698bcd14a84a6c964e7">                        var key = action.getStorageKey();</div><div data-lake-id="21dc477efcd5dd360ea52c10d763c13e"><br /></div><div data-lake-id="f11784c7fea2fc4cbe7b72502bfc84eb">                        if (!actionsToPreload[key]) {</div><div data-lake-id="8a4532ef6ce8f5292bca8493949b49ba">                            return;</div><div data-lake-id="3185765aaaafb73ca263743208b1687d">                        }</div><div data-lake-id="99f6df1918182accef45da2e05d78f89"><br /></div><div data-lake-id="e55ed3382508cf645dac284616a8f33c">                        map[action.getId()] = actionsToPreload[key].id;</div><div data-lake-id="f57d19419a625f0a037d368cfb17fdc2">                    }</div><div data-lake-id="a4330d5c9af1605b207467a2bbaf29c3">                }</div><div data-lake-id="9a77064d150e6b05b32433a7d3863e90">            }</div><div data-lake-id="72880888a7c8b85261cbee2f1c8026ea"><br /></div><div data-lake-id="8030ad8964c82a89a57d073c5294c30d">            return map;</div><div data-lake-id="f5fc864795fbe9f96e4bff939311a77f">        }</div><div data-lake-id="e3f5f13bef7afd208f3844530b356676"><br /></div><div data-lake-id="a37cbe317e501f8f4e1d0fbbf52b7b57">        function enqueueActions (actions) {</div><div data-lake-id="7976cc22b6757ba95760a2a9a367e3bf">            actions.forEach(function (action) {</div><div data-lake-id="d0c568774d6b78ecf49c4b757e78e178">                $A.enqueueAction(action);</div><div data-lake-id="0165a0432420d38128f36430d1449c9a">            });</div><div data-lake-id="58ddf260af4d2abf7d2c6c2177ae0517">        }</div><div data-lake-id="cc04e1c2af8975943a398ca8bdd362fa"><br /></div><div data-lake-id="2a2a6bdc686011ff64836430b0cb7adc">        return {</div><div data-lake-id="c9d2f51bba976f826c654faf0f84b924">            // state</div><div data-lake-id="c759ce09eedc90de660bcbb47f5e8d2d">            actionsKeys: {},</div><div data-lake-id="89acfd5726cc8b4f085e682c8e850e97">            actionsToPreload: {},</div><div data-lake-id="0f08cc8e21bcda8cc5b2520981bed6ff">            actionsPrefetched: false,</div><div data-lake-id="01b5efdba5093634af0e7042aeaf791b">            actionsStorageChecked: false,</div><div data-lake-id="b516ce56ad1a5ea712f0c1d0ae5cc2e1">            actionsDispatched: false,</div><div data-lake-id="b66c914f447c282cea77430f188a7d31">            actionsOnStorage: null,</div><div data-lake-id="b853836d026f4d26131043b3ac22ce69">            queueActionsHydration : null,</div><div data-lake-id="cf9414af42a838e58a4e977775912bd0">            preloadFromCache : false,</div><div data-lake-id="470cedb4a7ef0f5fe508937d99f13675"><br /></div><div data-lake-id="996e61fc16820718413ee4cfba7f070d">            preload: function (actions) {</div><div data-lake-id="6920d2c67baced8a0c7932661785cdfc">                actions.forEach(function (action, i) {</div><div data-lake-id="c7226b8a1fa9a98d1187c453008827bb">                    var key = action.descriptor + ":" + JSON.stringify(action.params);</div><div data-lake-id="72d6d1aa980e3682582e7be0da4ec816">                    action.id = i + ";p";</div><div data-lake-id="68e34bc0fee545005f8109500ee31039">                    this.actionsKeys[key] = true;</div><div data-lake-id="344ce31ced77530cb6ccab4512b2ad89">                    this.actionsToPreload[key] = action;</div><div data-lake-id="47d2b520b14b2c21e44c3051390db59a">                }.bind(this));</div><div data-lake-id="6313353f2c166e7883db26138f8f95e6"><br /></div><div data-lake-id="bf9388185f50076f7a9f2f75bf1e7fda">                prefetchAuraActions(actions, this._afterPrefetch.bind(this));</div><div data-lake-id="8d9066bb973479aa9d647da94aed0d6f">                hookAfterDefsReady(this._afterDefsReady.bind(this));</div><div data-lake-id="50995e5fb1ea07a325b87cae80fff4c0">            },</div><div data-lake-id="2e88c8e408a907b91673c1c9a0da1735">            _afterPrefetch: function (error, xhr) {</div><div data-lake-id="c4be4f5f33acd528b97deb2537d74b4d">                this.actionsPrefetched = true;</div><div data-lake-id="6c5f697a6f2471e9248532cc4ec43316">                this.xhrResponse = xhr;</div><div data-lake-id="5021c5111f0d00539e65620ba06ea9ea"><br /></div><div data-lake-id="748a506e43e1bec2e74e12ee2d435ffc">                if (!this.actionsDispatched && this.queueActionsHydration) {</div><div data-lake-id="417f27ad18ded90cd5571b335dbdde07">                    if (this.actionsOnStorage === null) { </div><div data-lake-id="c19fdd526e7b7fabffcf30d4b6882279">                        // network arrive earlier than cache so is kind of cached</div><div data-lake-id="61137e87c1fa35dc3b40c87e8223bdea">                        this.preloadFromCache = true;</div><div data-lake-id="c90db974300e4e43e45c387c467af325">                    }</div><div data-lake-id="46b9c14b792d830533f235fc42fafee5">                   </div><div data-lake-id="71e4fbba6c9cff57dcb9cf6ef762057d">                    return this.queueActionsHydration();</div><div data-lake-id="a5dd7ef5c71c83ff7493dc64a53b681e">                }</div><div data-lake-id="8c86923487c6b0dd77be0ead2e08a8cd">            },</div><div data-lake-id="75729ef21bfbef6ca90ed3e9d23b4f88">            _afterDefsReady: function () {</div><div data-lake-id="2bb5a309ef0fc0a08fa2d140293df79e">                var actionStorage = $A.storageService.getStorage('actions');</div><div data-lake-id="ac76d0fc6877b6461e6c852bfd673cfd">                var actionKeys = Object.keys(this.actionsKeys);</div><div data-lake-id="bfb205e8b3f424da6fd0db6b78b154d3"><br /></div><div data-lake-id="7676a541c53ddb32c4b28cde5715da2c">                if (actionStorage) {</div><div data-lake-id="7906e64e6a6ace549c3cdfb3d3218017">                    actionStorage.getAll(actionKeys).then(function (storedActions) {</div><div data-lake-id="803704494f50d91470c7d6024101f9f4">                        this.actionsStorageChecked = true;</div><div data-lake-id="b0d44923b778470e9073e517706911c0">                        if (Object.keys(storedActions).length === actionKeys.length) {</div><div data-lake-id="87e1eb5b5306997e244c4bf81d6ce16d">                            this.actionsOnStorage = true;</div><div data-lake-id="fc0b249071f885fae3a2c7035c8e53e9">                            this.preloadFromCache = true;</div><div data-lake-id="99b6ab6311128efa18035ebe7fdff65a">                            if (!this.actionsDispatched && this.queueActions) {</div><div data-lake-id="eba8cde73223e0b129f6e57a53bc0d22">                                this.queueActions();</div><div data-lake-id="affe0370b644ef05e4bd45718ec56bf5">                            }</div><div data-lake-id="4f5dbe037b30fa9e123c79237b21342f">                        }</div><div data-lake-id="096fec208dc0820a04e8149ffd0673d1">                    }.bind(this));</div><div data-lake-id="93112681fb8eb704630568de56006bec">                } else {</div><div data-lake-id="00a5b62a010898ab9c87628e7365093c">                    this.actionsStorageChecked = true;</div><div data-lake-id="7dd60978a33f8d5c5e10f63c2fc945b7">                }</div><div data-lake-id="2067dfaf7073cc1b1ca12130b2978585">            },</div><div data-lake-id="3e9483c09c613ccaa768f12bb83c1bd5">            enqueue: function (actions) {</div><div data-lake-id="0c454b0a9b413ca3faf00a9ad7db27a0">                var actionsToPreload = this.actionsToPreload;</div><div data-lake-id="287ceb9eeba4e82f287f0b8379509618">                var preloadMapId = preloadActionMap(actions, actionsToPreload);</div><div data-lake-id="bcdfa7ca702caeedfee5c50c503da8dc">               </div><div data-lake-id="eb1ebac0fd33f799fa5710ddd1e79fc8">                var hydrate = function () {</div><div data-lake-id="a2b85a0f170e7a48283514469b9c2df4">                    this.actionsDispatched = true;</div><div data-lake-id="4bf62b85c2d38458eda0566f81959176">                    $A.clientService.hydrateActions(actions, preloadMapId, this.xhrResponse);</div><div data-lake-id="78041cc01feabb0027ec8194d6b40cc8">                }.bind(this);</div><div data-lake-id="17f505f1c82976b1a07b5c62b0a11223"><br /></div><div data-lake-id="07eb0ef7c4e3c35665b3ca816ea2de57">                var enqueue = function () {</div><div data-lake-id="e6bb5ed079ecff5e708c38b3269e8c67">                    this.actionsDispatched = true;</div><div data-lake-id="10f91082206b026d40d4f9633f890421">                    enqueueActions(actions);</div><div data-lake-id="1cdf692b0d6960dcfad47a9662622e9a">                }.bind(this);</div><div data-lake-id="454d188a96de090ee42209b10aca02e6"><br /></div><div data-lake-id="b4c6119ecbef92f6579803b230a83aaa">                if (preloadMapId) {</div><div data-lake-id="f1ffb995fb8d238e4147d2e5745f999d">                    // If we already got the results from the server, just hydrate</div><div data-lake-id="52b932dac1065d18e05098befc2fac95">                    if (this.actionsPrefetched) {</div><div data-lake-id="4ff12178a3fd351dd13cd44f42363e75">                        this.preloadFromCache = true;</div><div data-lake-id="26cea0386448dae109363459d4826670">                        setTimeout($A.getCallback(hydrate), 0); // ensure asyncronizity</div><div data-lake-id="6e1e8a936289464f2ae08f971691b622">                        return;</div><div data-lake-id="d5cd9b88102dfdcc71492d4965359aff">                    } else {</div><div data-lake-id="9c4e9fb950fa526e07674dc313fd82a3">                        this.queueActionsHydration = hydrate;</div><div data-lake-id="81e50c53335faa18ccc27c2eb71f491e">                    }</div><div data-lake-id="61fb7e91ddbbae994ba5070f8d341436"><br /></div><div data-lake-id="48452de239127e2568729c984a319a0a">                    if (this.actionsStorageChecked) {</div><div data-lake-id="6ae606fb1787534cd8d901559c05885d">                        if (this.actionsOnStorage) {</div><div data-lake-id="4d608a4f63f3a46b3d40a2519918fb8e">                            enqueue();</div><div data-lake-id="16722b3cde3724cfa1766d8af6ef2493">                            return;</div><div data-lake-id="03eea77925e8c268aadb81351d0266ed">                        }</div><div data-lake-id="73f53cdf8ef10e30a13fb04844aa8ac0">                    } else {</div><div data-lake-id="4ed747a19f1304c624448ff8d0659029">                        this.queueActions = enqueue;</div><div data-lake-id="e417d8e969dc2b459e8330a49f443551">                    }</div><div data-lake-id="12ee5838a8537411f5409e722d83b84c"><br /></div><div data-lake-id="06608c1296cdd74a20456938e0bad2f5">                } else {</div><div data-lake-id="dfead15877acfdb508186ca9b803fba1">                    $A.log('Preloads not found for the give actions, doing regular enqueing');</div><div data-lake-id="10780f62d628aff4a471b6000468e75c">                    this.actionsDispatched = true;</div><div data-lake-id="dd354f623d824b7477fc0a4675cd8669">                    enqueueActions(actions);</div><div data-lake-id="a755a01c52f5c4ea5146cb402716c03e">                }</div><div data-lake-id="a8bed357c58a93355dfe4b166e76e393">            }</div><div data-lake-id="e231a42c87e9dbc72479f6f07297d337">        };</div><div data-lake-id="735ac816eca51df8d909dc1eef76c657"><br /></div><div data-lake-id="069d9f7eda0f3687c32df633586ee207">    })(auraConfig);</div><div data-lake-id="89dcb004bddf472ec094f75249e16b9f"><br /></div><div data-lake-id="0756b14a5ac01620438a08edd400364e">   </div><div data-lake-id="f509824e7bebe416e8e83866ad4c5cdc">            var key = 'appContextId';</div><div data-lake-id="f717ed2615f451eef7652f264d8e5c27">            var appId;</div><div data-lake-id="18e72b5e653f5ac1f316fa9c0ad631fa">            try {</div><div data-lake-id="083f65e93e10512dd6ac3bff1eadc920">                appId = window.sessionStorage.getItem(key) || window.localStorage.getItem(key);</div><div data-lake-id="477c912b3198efe09108e2df9971cdea">            } catch (e) {</div><div data-lake-id="dad8f2e17958664802bb67acdaa0b5e0">                appId = null; </div><div data-lake-id="415f0956ea893dadc8948d85f30d636f">            }</div><div data-lake-id="b892d69f519d393142546c24937125d5"><br /></div><div data-lake-id="99f9febfd708562215d268378d46cd60">            function skipPreload() {</div><div data-lake-id="77d88174a112ae4050f5b705ff473cf3">                var authority = location.protocol + "//" + location.hostname + (location.port ? ":" + location.port : "");</div><div data-lake-id="681e357c72eb2a29a16e18aff3896cab">                var exp = new RegExp(authority + "(?:/[^/]+)?/(one/one.app|lightning)(?:\\?|$)");</div><div data-lake-id="f6db6f6d422593cf3ba16b1308736195">                var referrer = document.referrer || "";</div><div data-lake-id="d3b1cbde753d50d5ace2bef4f14f3889">                // check for (1) same authority and (2) one.app with optional site prefix</div><div data-lake-id="5ff9994752741f0478884791a97bcef2">                return exp.test(referrer);</div><div data-lake-id="1cf7f094d6e1b45951f53c60c4f4e667">            }</div><div data-lake-id="e1028a979ff4057fbcced34948957242">           </div><div data-lake-id="83d388f8c324b481708cc3382b8714c2">            if( skipPreload() ) {</div><div data-lake-id="c70e9db89aee608c97902f4ac713d15c">               </div><div data-lake-id="6edf90ce7cfe4fb630e2803b214f93a0">                delete Aura.PreloadLayout;</div><div data-lake-id="95271fe48613fb168591135cff714817">            } else {</div><div data-lake-id="caec8c05c95e264c1f42ec61639beae9">                var action = {</div><div data-lake-id="71a9e9fecd81a0eb0d4148639632c2d9">                    descriptor:"serviceComponent://ui.global.components.one.one.controller.OneController/ACTION$getCurrentApp",</div><div data-lake-id="abcfaf67ad2b31246b049eef87f10769">                    params:{}</div><div data-lake-id="6f5cceae81e5e4526b43794019a2162e">                };</div><div data-lake-id="5dbad8637a0e66742f1729cae30122ec">                if (appId) {</div><div data-lake-id="25559be0bbabf9a0d3f908dde36a6f1e">                    // only set appContextId param if it has a value, otherwise the gvp gets hosed (W-4158012)</div><div data-lake-id="a4164db5e1f122c7330ba5054590ca1d"><br /></div><div data-lake-id="3d691fa089f0bc2b5e17ab2a2201a5b3">                    // It is critical to keep the params consistent with how they are sent in oneHelper.js's getCurrentApp logic.</div><div data-lake-id="e4e339fb395d57121302960f252197ef">                    // Any changes to logic should be reflected both here and in oneHelper.js</div><div data-lake-id="1dfc8c2804460f42aa41e3ea5a069d7a">                    action.params = { appContextId: appId };</div><div data-lake-id="f10da6c085edfe8104d05942d7ded9e0">                }</div><div data-lake-id="5a9bc519a5d072efc7137eb41ff58709">                Aura.PreloadLayout.preload([action]);</div><div data-lake-id="ea9f1f59cd856b6ea921a7f783a0363b">            }</div><div data-lake-id="44d011043bc28a1d995b1801c141b58e">       </div><div data-lake-id="fb2be886356cd78f966d42737c20731b"><br /></div><div data-lake-id="34c6970f176924274a5f1d21de114653">    var appCssLoadingCount = 0;</div><div data-lake-id="40daf19a53b8b26684842724aab5438f">    function onLoadStyleSheets(event) {</div><div data-lake-id="df8c82b501215b19585f2a8d58bcf19c">        var element = event.target;</div><div data-lake-id="4faa75db6441526260f442177ab23b75">        element.removeEventListener('load',onLoadStyleSheets);</div><div data-lake-id="5c076c579ba18cc4f1eeea978bb4db31">        element.removeEventListener('error',onLoadStyleSheets);</div><div data-lake-id="1f7127e3894c76c878c72805b1f59dc4">        window.Aura.bootstrap.appCssLoading = (--appCssLoadingCount) > 0;</div><div data-lake-id="04d68f8092fabef266f138125d63f919">        if (!window.Aura.bootstrap.appCssLoading) {</div><div data-lake-id="cbfea44a718c78e27d7d04012410f216">            if (typeof window.Aura.bootstrap.appCssLoadedCallback === "function") {</div><div data-lake-id="f279faf300f1bcc05379f900e345617d">                window.Aura.bootstrap.appCssLoadedCallback();</div><div data-lake-id="5bcece09d5d96e3a55f28c6fdda24036">                window.Aura.bootstrap.appCssLoadedCallback = undefined;</div><div data-lake-id="84cfd3cc53896266a3b64e48098afa10">            }</div><div data-lake-id="d8f8a72575938ff51fc662ac97d45a66">        }</div><div data-lake-id="085e95e1815394d8bc50b4b128192431">    }</div><div data-lake-id="0ebb0120d96991855c0699a387bcc1a5"><br /></div><div data-lake-id="240fd50ebe2d4bea5e40aee35fe8110f"><br /></div><div data-lake-id="23351eaf5c91198d19a3a7e15c1fbe7b"><br /></div><div data-lake-id="d4ff6a5a9bc13bbdd96c9d7387ef9777">    var auraCss = document.getElementsByClassName('auraCss');</div><div data-lake-id="484bc3c9cce3469102dd3713c33af0e8">    var current;</div><div data-lake-id="b18d7808bca8698c38418f37cc213bd5">    window.Aura.bootstrap.appCssLoading = auraCss.length > 0;</div><div data-lake-id="9a91ea21f081ead148a39b509ddd1ec7">    for (var c=0,length=auraCss.length;c<length;c++) {</div><div data-lake-id="5d5577aff8853df4bd0e7dfc985f568a">        current = auraCss[c];</div><div data-lake-id="9f7206d11f46a23935c2b917c2845cdb">        appCssLoadingCount++;</div><div data-lake-id="3cdf89132168b9bb0a165356cefdda07">        current.addEventListener('load',onLoadStyleSheets);</div><div data-lake-id="05eb95373de55e51afba409dbf74569a">        current.addEventListener('error',onLoadStyleSheets);</div><div data-lake-id="2340c2d97c96ca67fa10c2397993f12a">        current.href = current.getAttribute("data-href");</div><div data-lake-id="32d864ecad7f7b3e85d27247fb5ebc7d">    }</div><div data-lake-id="5ad868adc2b9f42008256dafee1ba10d"><br /></div><div data-lake-id="d7935fc6ebcfa86ba71e260040eae593">}());</div><div data-lake-id="9720f6107ae0aae270f848f2a4f908df"><br /></div><div data-lake-id="b33d227574cf29b4bc5f27f7710953f6">    ;(function() { window.Aura = window.Aura || {}; window.Aura.beforeFrameworkInit = Aura.beforeFrameworkInit || []; window.Aura.beforeFrameworkInit.push(function() { /*</div><div data-lake-id="59cd56046aba0ba9cac8508935e7942e"> * This code is for Internal Salesforce use only, and subject to change without notice.</div><div data-lake-id="86f871c5c3b1b7640d8dc5cb2c90ce5d"> * Customers shouldn't reference this file in any web pages.</div><div data-lake-id="2725ee988fa8dbf9589f0ff66bacb52e"> */</div><div data-lake-id="3515d1f0613815d8ef84515bf8a8acb6">var RecordGlobalValueProvider=function(a,b,c,d,e){this._cmp=null;this.configs={refresh:1E3*a,expiration:1E3*b,maxSize:c,version:d,previousVersion:e,minSaveToStorageInterval:3E3};Object.freeze(this.configs)};RecordGlobalValueProvider.prototype.getValues=function(){return{}};RecordGlobalValueProvider.prototype.merge=function(a){$A.util.isEmpty(a)||(this._createCmp(),this._cmp.helper.recordLib.records._receiveFrom$RecordGvp(a))};</div><div data-lake-id="58bed2bd214263b237a26285423cab9b">RecordGlobalValueProvider.prototype.get=function(a,b){if("configs"===a)return this.configs;this._requestFromServer(a)};RecordGlobalValueProvider.prototype._requestFromServer=function(a){if(this._createCmp()){var b=this._cmp.get("c.getRecord");b.setParams({recordDescriptor:a});b.setCallback(this,$A.getCallback(function(b){"INCOMPLETE"===b.getState()&&this._cmp.helper.handleIncomplete.call(this._cmp.helper,a)}));$A.enqueueAction(b);$A.run(function(){},"RecordGlobalValueProvider._requestFromServer")}};</div><div data-lake-id="fcadf311d85531796f7eb717c0468fbf">RecordGlobalValueProvider.prototype._createCmp=function(){this._cmp||(this._cmp=$A.createComponentFromConfig({descriptor:"markup://force:recordGlobalValueProvider",attributes:null}));return!$A.util.isUndefinedOrNull(this._cmp)};</div><div data-lake-id="f812318caf64d1b10aedd499ff34273b"><br /></div><div data-lake-id="8dd480d3d01807a5ccb5a843bc69b4cd">//# sourceMappingURL=/javascript/1524038675000/ui-sfdc-javascript-impl/source/RecordGVP.js.map</div><div data-lake-id="1d3e2be7b45936459c44827c0c178e3f"><br /></div><div data-lake-id="1ab29943ac8c3cf42f0436e851046f6d">$A.addValueProvider('$Record', new RecordGlobalValueProvider(30, 900, 5120, '42.0', '41.0')) ; });  }());</div><div data-lake-id="edf83e807b6e0119d488a4ba7ac846d4">        Aura.alohaPageConfig = "673f78885d1fbf8f71c021060af3330bcc09869a6fc384c7fea51aa0078c3158"; </div><div data-lake-id="b2d6c5fe65e9aa5d4d30621fcc0eaf81">    </div><div data-lake-id="a2a1d53df43bc12c23998ae2ca64c727">   Aura.canvasConfig = {"sublocations":{"S1MobileCard":{"Fullview":"S1MobileCardFullview","Preview":"S1MobileCardPreview"},"S1RecordHome":{"Fullview":"S1RecordHomeFullview","Preview":"S1RecordHomePreview"}},"sessionId":"00D7F000006PdUa!AREAQJgKsKnX8NTXSoOm3qXakeCGe9wlNPNUdyEB8rubV8ivrPRZ42OT6YM7bo6E1rpEtBr41D.KdDczP0qx5SBZq4NbXcR5","apiVersion":"42.0","serverUrl":"https://ap5.salesforce.com","scriptUrls":["/jslibrary/1509745748000/ui-sfdc-javascript-impl/SfdcCoreLean.js","/jslibrary/1518537600000/canvas/CanvasRendering.js"],"cacheLabels":"{\"preview\":\"Preview\",\"purged1Entry\":\"Purged 1 item from the cache\",\"advanced\":\"Advanced\",\"title\":\"Squid Cache Manager\",\"purgedNEntries\":\"Purged {0} items from the cache\",\"varyHeadersRecommendations\":\"Recommendations for purging varied contents\",\"regEx\":\"Java regular expression\",\"urlNote\":\"Please note that Squid stores http:// and <a href="https://%20URLs%20separately.%5C%22,%5C%22cacheContentPreview%5C%22:%5C%22Cache" target="_blank">https:// URLs separately.\",\"cacheContentPreview\":\"Cache</a> Content Preview\",\"cachedDate\":\"Cached Date\",\"varyMarker\":\"Vary Marker\",\"filterCriteria\":\"Filter Criteria\",\"purgeInBulk\":\"Purge in Bulk\",\"method\":\"Method\",\"proxyServer\":\"Proxy Server\",\"previewedNEntries\":\"{0} cached items displayed\",\"cacheInfo\":\"Cache Information\",\"additionalItemsInCache\":\"Please note that additional items that match the filter criteria might exist in the cache.\",\"url\":\"URL\",\"startsWithWithGlobbing\":\"startsWith with asterisk globbing\",\"lastUsed\":\"Last Used Date\",\"varyHeaders\":\"Vary Headers\",\"size\":\"Data Size (Bytes)\",\"pleaseWait\":\"Please Wait...\",\"cacheContents\":\"Cache Contents\",\"lastUpdate\":\"Last Update Date\",\"previewed1Entry\":\"1 cached item displayed\",\"expiration\":\"Expiration Date\"}","previewKey":"Preview","fullviewKey":"Fullview","labels":"{\"subscribeRequiresAPI\":\"The user and application requires API permissions before it can subscribe to events [{0}].\",\"userApprovalRequired\":\"The user must approve this canvas application before a signed request can successfully be retrieved.\",\"loadingStatus\":\"Loading {0}...\",\"subscribeGenericError\":\"Received status code [{0}] attempting to subscribe to events [{1}]\",\"appInfo\":\"Application Information\",\"containerElementNotFound\":\"Container element not found [{0}].\",\"signedRequestRetrievalError\":\"Unable to retrieve signed request from the server. Please try your request later. {0}\",\"testOnlyLabelNotReferenced\":\"This label is for testing only for special characters and should not be referenced in code. It must be present in all languages to make sure it's parsed in JSON. Single quote '\",\"invalidSignedRequestFormat\":\"Unable to understand signed request due to invalid format.\",\"eventNamespaceReserved\":\"Namespace has already been reserved\",\"missingIdInContext\":\"Error: Expecting identifier in canvas application client context.\",\"clientParentVersionsMismatch\":\"The canvas app is using the pilot version of the SDK. Please have the developer upgrade to the generally available version.\",\"unsupportedBrowser\":\"You are using an unsupported browser.  Please refer to the Canvas Developers guide for a list of supported browsers.\",\"iframeTitle\":\"Canvas IFrame for application {0}.\",\"missingSid\":\"Error: Session ID not supplied or found in DOM.\",\"insufficientAppContainerInfo\":\"Error: Insufficient container and/or app parameter information passed in. Canvas requires the API name or reference Id of the canvas app.\",\"defaultNotifyTitle\":\"Canvas - {0}\",\"defaultRenderSummary\":\"Oops, there was an error rendering Canvas application [{0}].\",\"invalidTraceEventName\":\"Precondition Error: Event name is required (options.name).\",\"unableToParseApp\":\"Unable to retrieve application metadata from signed request due to invalid format.\",\"unsupportedServerResponse\":\"Unable to retrieve signed request from the server. Please try your request later.\",\"authTypeMismatch\":\"You are requesting a service that is only supported for canvas apps of auth type SignedRequest.\",\"missingParentVersionInfo\":\"Error: Parent version information not supplied.\",\"invalidTraceEventType\":\"Precondition Error: Invalid event type (options.type).\",\"sessionInvalid\":\"Your browsing session has ended or is invalid.  Please re-login to Salesforce.com again.\",\"eventMultipleNamespaces\":\"Event names can only contain one namespace\",\"errorOccurredInRendering\":\"An error occurred: [{0}].\",\"invalidTraceCanvasAppNameOrId\":\"Precondition Error: Canvas application name or reference ID is required (options.canvas).\",\"configureLabel\":\"Click to configure\",\"eventInvalidCharacters\":\"Event name contains invalid characters\"}","userData":"{\"ampm\":[\"AM\",\"PM\"],\"isAccessibleMode\":false,\"uiSkin\":\"Theme3\",\"salesforceURL\":\"https://ap5.salesforce.com\",\"dateFormat\":\"M/d/yyyy\",\"language\":\"en_US\",\"locale\":\"en_US\",\"userName\":\"cle.ee-txok@force.com\",\"userId\":\"0057F000002v3re\",\"isCurrentlySysAdminSU\":false,\"renderMode\":\"RETRO\",\"startOfWeek\":\"1\",\"vfDomainPattern\":\"(?:[^.]+).ap5.visual.force.com\",\"auraDomain\":\"ap5.lightning.force.com\",\"dateTimeFormat\":\"M/d/yyyy h:mm a\",\"orgPreferences\":[{\"index\":257,\"name\":\"TabOrganizer\",\"value\":true},{\"index\":113,\"name\":\"GroupTasks\",\"value\":true}],\"siteUrlPrefix\":\"\",\"isDefaultNetwork\":true,\"labelLastModified\":\"1524085772000\",\"today\":\"4/19/2018 11:55 PM\",\"timeFormat\":\"h:mm a\",\"userPreferences\":[{\"index\":112,\"name\":\"HideInlineEditSplash\",\"value\":false},{\"index\":114,\"name\":\"OverrideTaskSendNotification\",\"value\":false},{\"index\":115,\"name\":\"DefaultTaskSendNotification\",\"value\":false},{\"index\":119,\"name\":\"HideUserLayoutStdFieldInfo\",\"value\":false},{\"index\":116,\"name\":\"HideRPPWarning\",\"value\":false},{\"index\":87,\"name\":\"HideInlineSchedulingSplash\",\"value\":false},{\"index\":88,\"name\":\"HideCRUCNotification\",\"value\":false},{\"index\":89,\"name\":\"HideNewPLESplash\",\"value\":false},{\"index\":90,\"name\":\"HideNewPLEWarnIE6\",\"value\":false},{\"index\":122,\"name\":\"HideOverrideSharingMessage\",\"value\":false},{\"index\":91,\"name\":\"HideProfileILEWarn\",\"value\":false},{\"index\":93,\"name\":\"HideProfileElvVideo\",\"value\":false},{\"index\":97,\"name\":\"ShowPicklistEditSplash\",\"value\":false},{\"index\":92,\"name\":\"HideDataCategorySplash\",\"value\":false},{\"index\":128,\"name\":\"ShowDealView\",\"value\":false},{\"index\":129,\"name\":\"HideDealViewGuidedTour\",\"value\":false},{\"index\":132,\"name\":\"HideKnowledgeFirstTimeSetupMsg\",\"value\":false},{\"index\":104,\"name\":\"DefaultOffEntityPermsMsg\",\"value\":false},{\"index\":135,\"name\":\"HideNewCsnSplash\",\"value\":false},{\"index\":101,\"name\":\"HideBrowserWarning\",\"value\":false},{\"index\":139,\"name\":\"HideDashboardBuilderGuidedTour\",\"value\":false},{\"index\":140,\"name\":\"HideSchedulingGuidedTour\",\"value\":false},{\"index\":180,\"name\":\"HideReportBuilderGuidedTour\",\"value\":false},{\"index\":183,\"name\":\"HideAssociationQueueCallout\",\"value\":false},{\"index\":194,\"name\":\"HideQTEBanner\",\"value\":false},{\"index\":193,\"name\":\"HideChatterOnboardingSplash\",\"value\":false},{\"index\":195,\"name\":\"HideSecondChatterOnboardingSplash\",\"value\":false},{\"index\":270,\"name\":\"HideIDEGuidedTour\",\"value\":false},{\"index\":282,\"name\":\"HideQueryToolGuidedTour\",\"value\":false},{\"index\":196,\"name\":\"HideCSIGuidedTour\",\"value\":false},{\"index\":271,\"name\":\"HideFewmetGuidedTour\",\"value\":false},{\"index\":272,\"name\":\"HideEditorGuidedTour\",\"value\":false},{\"index\":205,\"name\":\"HideApexTestGuidedTour\",\"value\":false},{\"index\":206,\"name\":\"HideSetupProfileHeaderTour\",\"value\":false},{\"index\":207,\"name\":\"HideSetupProfileObjectsAndTabsTour\",\"value\":false},{\"index\":213,\"name\":\"DefaultOffArticleTypeEntityPermMsg\",\"value\":false},{\"index\":214,\"name\":\"HideSelfInfluenceGetStarted\",\"value\":false},{\"index\":215,\"name\":\"HideOtherInfluenceGetStarted\",\"value\":false},{\"index\":216,\"name\":\"HideFeedToggleGuidedTour\",\"value\":false},{\"index\":268,\"name\":\"ShowChatterTab178GuidedTour\",\"value\":false},{\"index\":275,\"name\":\"HidePeopleTabDeprecationMsg\",\"value\":false},{\"index\":276,\"name\":\"HideGroupTabDeprecationMsg\",\"value\":false},{\"index\":224,\"name\":\"HideUnifiedSearchGuidedTour\",\"value\":false},{\"index\":226,\"name\":\"ShowDevContextMenu\",\"value\":true},{\"index\":227,\"name\":\"HideWhatRecommenderForActivityQueues\",\"value\":false},{\"index\":228,\"name\":\"HideLiveAgentFirstTimeSetupMsg\",\"value\":false},{\"index\":232,\"name\":\"HideGroupAllowsGuestsMsgOnMemberWidget\",\"value\":false},{\"index\":233,\"name\":\"HideGroupAllowsGuestsMsg\",\"value\":false},{\"index\":234,\"name\":\"HideWhatAreGuestsMsg\",\"value\":false},{\"index\":235,\"name\":\"HideNowAllowGuestsMsg\",\"value\":false},{\"index\":236,\"name\":\"HideSocialAccountsAndContactsGuidedTour\",\"value\":false},{\"index\":237,\"name\":\"HideAnalyticsHomeGuidedTour\",\"value\":false},{\"index\":238,\"name\":\"ShowQuickCreateGuidedTour\",\"value\":false},{\"index\":245,\"name\":\"HideFilePageGuidedTour\",\"value\":false},{\"index\":250,\"name\":\"HideForecastingGuidedTour\",\"value\":false},{\"index\":251,\"name\":\"HideBucketFieldGuide\",\"value\":false},{\"index\":263,\"name\":\"HideSmartSearchCallOut\",\"value\":false},{\"index\":265,\"name\":\"HideSocialProfilesKloutSplashScreen\",\"value\":false},{\"index\":273,\"name\":\"ShowForecastingQuotaAttainment\",\"value\":false},{\"index\":280,\"name\":\"HideForecastingQuotaColumn\",\"value\":false},{\"index\":301,\"name\":\"HideManyWhoGuidedTour\",\"value\":false},{\"index\":298,\"name\":\"HideFileSyncBannerMsg\",\"value\":false},{\"index\":299,\"name\":\"HideTestConsoleGuidedTour\",\"value\":false},{\"index\":302,\"name\":\"HideManyWhoInlineEditTip\",\"value\":false},{\"index\":303,\"name\":\"HideSetupV2WelcomeMessage\",\"value\":false},{\"index\":312,\"name\":\"ForecastingShowQuantity\",\"value\":false},{\"index\":313,\"name\":\"HideDataImporterIntroMsg\",\"value\":false},{\"index\":314,\"name\":\"HideEnvironmentHubLightbox\",\"value\":false},{\"index\":316,\"name\":\"HideSetupV2GuidedTour\",\"value\":false},{\"index\":317,\"name\":\"HideFileSyncMobileDownloadDialog\",\"value\":false},{\"index\":322,\"name\":\"HideEnhancedProfileHelpBubble\",\"value\":false},{\"index\":328,\"name\":\"ForecastingHideZeroRows\",\"value\":false},{\"index\":330,\"name\":\"HideEmbeddedComponentsFeatureCallout\",\"value\":false},{\"index\":341,\"name\":\"HideDedupeMatchResultCallout\",\"value\":false},{\"index\":340,\"name\":\"HideS1BrowserUI\",\"value\":false},{\"index\":346,\"name\":\"HideS1Banner\",\"value\":false},{\"index\":358,\"name\":\"HideEmailVerificationAlert\",\"value\":false},{\"index\":354,\"name\":\"HideLearningPathModal\",\"value\":false},{\"index\":359,\"name\":\"HideAtMentionsHelpBubble\",\"value\":false},{\"index\":368,\"name\":\"LightningExperiencePreferred\",\"value\":true}],\"networkId\":\"\"}"};</div><div data-lake-id="575b36a946f3117b93dc481cbab58f96">


版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。

相关文章
哈佛校友Salesforce黑客马拉松赛夺冠,获百万美元大奖
在Salesforce.com本周举办的黑客马拉松比赛上,哈佛大学校友托姆·吉姆(Thom Kim)和约瑟夫·图利安(Joseph Turian)联手开发的移动应用Upshot最终夺冠,捧走了高达100万美元的奖金。
43 0
2749
文章
0
问答
来源圈子
更多
+ 订阅
文章排行榜
最热
最新
相关电子书
更多
低代码开发师(初级)实战教程
立即下载
阿里巴巴DevOps 最佳实践手册
立即下载
冬季实战营第三期:MySQL数据库进阶实战
立即下载