Israel-Sweden Tax Treaty

Israel-Sweden Tax Treaty

sweden flag

UTC:
Capital City:
Language:
Population:
Currency:
Country Code:
Domain:

CET; UTC+01:00
Stockholm
Swedish
10.61 million
Swedish Krona (SEK)
+46
.se

Recent news

Tax Authority Explains Who Owes VAT When No Customs Duty Applies
On May 6, 2025 the Swedish Tax Agency issued updated guidance to clarify how VAT applies to imports. According to the update, even if customs duty isn’t charged, the person who would normally owe it must still pay VAT. The rules also state that agents don’t need to be VAT-registered themselves, but they are responsible for making sure importers have the right customs invoice details to report VAT correctly. Importers must be VAT-registered and listed as declarants in customs documents filed before the duty decision. The guidance also makes clear that the VAT rules on imports must not be misused or applied in ways that would lead to tax evasion.
Key Dates for 2025 Tax Returns Published
On March 3, 2025, the Swedish Tax Agency announced that the filing period for 2025 individual income tax returns will run from March 18 to May 2. Taxpayers with a digital mailbox will begin receiving electronic tax returns from March 3 to March 7. Paper tax declarations will be mailed between March 17 and April 15. The deadline for tax return approvals to receive refunds in April is April 2. Refunds for these taxpayers will be issued between April 8 and April 11. For taxpayers who receive their final notice in April, refunds will be issued by July 14. Those who receive their final notice in June will have their refunds issued by September 12.
New Tax Rules for Temporary Employment Abroad Proposed
On February 13, 2025, the Swedish Ministry of Finance proposed an amendment to the Special Income Tax Act for nonresidents, aiming to clarify the tax treatment of income from temporary employment abroad. The amendment specifies that income from temporary work for a Swedish company or work at a nonresident company’s permanent establishment (PE) in Sweden will be subject to taxation in Sweden. However, income from temporary work performed by employees who spend fewer than 183 days in the country where the work is done within a twelve-month period will be exempt. The proposed changes will take effect on July 1, 2025, and apply to income earned after June 30.
Comprehensive Changes to Special Income Tax Law
On December 5, 2024 the Swedish Official Gazette published Law No. SFS 2024:1207, introducing changes to the special income tax for non-residents, effective January 1, 2025. The law broadens taxable income categories to include salaries, pensions, unemployment benefits, and occupational injury compensation. Board members' compensation will be taxable regardless of where the business operates. Pensions become taxable under specific conditions, with thresholds in place. Maritime income will be taxable for work on Swedish or certain foreign merchant ships, and cross-border work is taxable if foreign work accounts for less than half of the year’s total working time.
Personal Income Tax Threshold Amended
On November 19, 2024 Sweden raised the taxable income threshold to 625,800 kronor (US$56,988). The new threshold will be effective as of January 1, 2025.
Tax Authority Explains Who Owes VAT When No Customs Duty Applies
On May 6, 2025 the Swedish Tax Agency issued updated guidance to clarify how VAT applies to imports. According to the update, even if customs duty isn’t charged, the person who would normally owe it must still pay VAT. The rules also state that agents don’t need to be VAT-registered themselves, but they are responsible for making sure importers have the right customs invoice details to report VAT correctly. Importers must be VAT-registered and listed as declarants in customs documents filed before the duty decision. The guidance also makes clear that the VAT rules on imports must not be misused or applied in ways that would lead to tax evasion.
Key Dates for 2025 Tax Returns Published
On March 3, 2025, the Swedish Tax Agency announced that the filing period for 2025 individual income tax returns will run from March 18 to May 2. Taxpayers with a digital mailbox will begin receiving electronic tax returns from March 3 to March 7. Paper tax declarations will be mailed between March 17 and April 15. The deadline for tax return approvals to receive refunds in April is April 2. Refunds for these taxpayers will be issued between April 8 and April 11. For taxpayers who receive their final notice in April, refunds will be issued by July 14. Those who receive their final notice in June will have their refunds issued by September 12.
New Tax Rules for Temporary Employment Abroad Proposed
On February 13, 2025, the Swedish Ministry of Finance proposed an amendment to the Special Income Tax Act for nonresidents, aiming to clarify the tax treatment of income from temporary employment abroad. The amendment specifies that income from temporary work for a Swedish company or work at a nonresident company’s permanent establishment (PE) in Sweden will be subject to taxation in Sweden. However, income from temporary work performed by employees who spend fewer than 183 days in the country where the work is done within a twelve-month period will be exempt. The proposed changes will take effect on July 1, 2025, and apply to income earned after June 30.
Comprehensive Changes to Special Income Tax Law
On December 5, 2024 the Swedish Official Gazette published Law No. SFS 2024:1207, introducing changes to the special income tax for non-residents, effective January 1, 2025. The law broadens taxable income categories to include salaries, pensions, unemployment benefits, and occupational injury compensation. Board members' compensation will be taxable regardless of where the business operates. Pensions become taxable under specific conditions, with thresholds in place. Maritime income will be taxable for work on Swedish or certain foreign merchant ships, and cross-border work is taxable if foreign work accounts for less than half of the year’s total working time.
Personal Income Tax Threshold Amended
On November 19, 2024 Sweden raised the taxable income threshold to 625,800 kronor (US$56,988). The new threshold will be effective as of January 1, 2025.
Tax Authority Explains Who Owes VAT When No Customs Duty Applies
On May 6, 2025 the Swedish Tax Agency issued updated guidance to clarify how VAT applies to imports. According to the update, even if customs duty isn’t charged, the person who would normally owe it must still pay VAT. The rules also state that agents don’t need to be VAT-registered themselves, but they are responsible for making sure importers have the right customs invoice details to report VAT correctly. Importers must be VAT-registered and listed as declarants in customs documents filed before the duty decision. The guidance also makes clear that the VAT rules on imports must not be misused or applied in ways that would lead to tax evasion.
Key Dates for 2025 Tax Returns Published
On March 3, 2025, the Swedish Tax Agency announced that the filing period for 2025 individual income tax returns will run from March 18 to May 2. Taxpayers with a digital mailbox will begin receiving electronic tax returns from March 3 to March 7. Paper tax declarations will be mailed between March 17 and April 15. The deadline for tax return approvals to receive refunds in April is April 2. Refunds for these taxpayers will be issued between April 8 and April 11. For taxpayers who receive their final notice in April, refunds will be issued by July 14. Those who receive their final notice in June will have their refunds issued by September 12.
New Tax Rules for Temporary Employment Abroad Proposed
On February 13, 2025, the Swedish Ministry of Finance proposed an amendment to the Special Income Tax Act for nonresidents, aiming to clarify the tax treatment of income from temporary employment abroad. The amendment specifies that income from temporary work for a Swedish company or work at a nonresident company’s permanent establishment (PE) in Sweden will be subject to taxation in Sweden. However, income from temporary work performed by employees who spend fewer than 183 days in the country where the work is done within a twelve-month period will be exempt. The proposed changes will take effect on July 1, 2025, and apply to income earned after June 30.
Comprehensive Changes to Special Income Tax Law
On December 5, 2024 the Swedish Official Gazette published Law No. SFS 2024:1207, introducing changes to the special income tax for non-residents, effective January 1, 2025. The law broadens taxable income categories to include salaries, pensions, unemployment benefits, and occupational injury compensation. Board members' compensation will be taxable regardless of where the business operates. Pensions become taxable under specific conditions, with thresholds in place. Maritime income will be taxable for work on Swedish or certain foreign merchant ships, and cross-border work is taxable if foreign work accounts for less than half of the year’s total working time.
Personal Income Tax Threshold Amended
On November 19, 2024 Sweden raised the taxable income threshold to 625,800 kronor (US$56,988). The new threshold will be effective as of January 1, 2025.

Israel - Sweden relations

Since the ending of the Napoleonic Wars in the early 1800’s, Sweden has retained its status as a neutral country. Serving a large role in establishing the United Nations, Sweden has been known for its meaningful contributions towards humanitarian work and efforts to fight poverty and promote sustainability. Sweden has demonstrated a commitment towards peacekeeping and international cooperation.

There is a positive diplomatic relationship between Sweden and Israel. Both countries are members are the United Nations and participate in global humanitarian groups. Both countries share commercial and trade ties; In 2021, Israel exported $147 million primarily of technology to Sweden. In the same year, Sweden exported roughly $539 million to Israel which mostly consisted of machinery.

Details about Israel’s embassy in the Sweden

Address: Strandvägen 58, Box 14006, 104 40 Stockholm
Phone: 46 (0) 8 – 528 06 500
Website: Click Here
Email: cnsinfo@stockholm.mfa.gov.il

Details about Sweden Embassy in Israel

Address: Adgar 360, 24 tr. 2, Hashlosha St Tel Aviv
Phone: +972 3 718 00 00
Website: Click Here
E-mail: ambassaden.tel-aviv@gov.se

Business activity in Sweden

Sweden possesses an extremely diverse and prosperous business environment which places a strong emphasis on technology, innovation, and sustainability. The country’s economy primarily relies on manufacturing and engineering, technology, and renewable energy. Additionally, with exports making up roughly one third of the country’s GDP, Sweden depends heavily upon free international trade to support its economy.

The manufacturing and engineering sector plays an essential role in Sweden’s economy. Companies in this industry specialize in producing industrial machines, automotive parts, and telecommunications equipment. Bringing in over $110 billion, this sector amounts for roughly 20% of Sweden’s GDP which creates approximately 1 million jobs.

In attempts to minimize their environment footprint, Sweden has been dedicated to sustainability and made tremendous progress in transitioning to cleaner renewable energy resources. Using hydro and solar power for electricity, and bioenergy for heating, Sweden has been able to transition roughly 65% of its power usage using renewable sources.

Bilateral agreements between Sweden and Israel

  1. Double Taxation Agreement
  2. Convention on Social Security

Convention on Social Security

In 1983, a social security treaty between Israel and Sweden entered into force, the purpose of which is to try and prevent a situation of duplication of social security between the two countries.

To read the document detailing the treaty in Hebrew press here.

Convention on the Prevention of Double Taxation between Israel – Sweden

The original agreement between the Governments of Israel and Sweden regarding the avoidance of double taxation was signed in 1959 and entered into force in 1960.

To read the agreement in English click here.

Applicability of the MLI

Sweden and Israel have signed the MLI, which means that there is an automatic exchange of information between the two countries. Sweden and Israel signed the MLI in 2017. Sweden ratified it in 2018, and Israel in 2019.

Residency for tax purposes in Sweden

 
Residence of an individual

The tax residency of an individual in Sweden is primarily determined based on their physical presence, permanent home, personal ties, and economic interests in the country.

If an individual is in Sweden for six consecutive months or more, they are considered to be a resident of Sweden and are listed in the Swedish population residency.

183-day rule – A person living abroad to work in Sweden is exempt from taxes if they stay less than 183 days.

Residency of a company

A company is considered to be a tax resident in Sweden if it is incorporated in Sweden. The concept of a permanent establishment (PE) is used to define a fixed location where a business operates. This can include various types of establishments like management offices, branches, workshops, or factories. If a foreign company has a permanent establishment in Sweden, any income generated from activities conducted through that establishment is liable to be taxed in Sweden.

To Learn about how a company is considered a resident of Israel read here.

The tax system in Sweden

The Swedish Tax Authority is called The Swedish Tax Agency (Skatteverket).

Income taxation: 0%-32%

Taxation of companies and branches:20.6%

VAT: 25%

Capital gains tax: 0%/30%

Withholding Tax

  Internal tax rate Israel Internal tax rate Treaty Withholding Tax
Personal Income tax (Tax brackets)

0-613,900 SEK- 0%

Over 613,900 SEK- 20%

Up to 50%  
Corporate income tax 20.6% 23%  
Capital gains tax rate 30% 25%-30% (plus exceptional income tax for high earners at 3%)  
Branch tax 20.6% 23%  

Withholding tax

(Non-Resident)

Dividends

25% 25% or 30% 0%

Interest

 

30% 15%/25%/23% 25%
Royalties 20.6% 23%-40% 0%
VAT Standard rate of 25%, 12% for food/restaurants, 6% books and transportation. 18%  
Inheritance Tax NA NA  

Inheritance tax and estate tax in Sweden

There is no inheritance or estate tax in Sweden.

Relocation

Sweden is home to 15,000-25,000 Jews, which is the largest Jewish community in Scandinavia. The Jewish community is represented by the Jewish Central Council. There are two Jewish elementary schools in Sweden, one in Stockholm, and the other in Gothenburg.

Sweden gives tax benefits for those relocating to the country who are experts or highly skilled in their respective field of work. An example is the Swedish Tax Relief called the “expert tax”, which keeps 25% of earned income tax free for up to 5 years.

Aside from financial benefits, Sweden offers various general benefits for relocation. These include great public transportation, high standard of living, lack of pollution, good healthcare, and favorable working conditions. These benefits are an indicator of why Sweden gets ranked annually in the top 10 for quality of life.

Real estate taxation in Sweden

Real estate taxation in Sweden involves several components which includes land tax, property tax, and capital gains tax which is based on the sale of property.

The property tax in Sweden is calculated annually based on the assessed value of the property. This tax rate is determined by the municipality and corresponds to a certain percentage of the assessed value. The maximum property tax is 0.75% which is paid by the registered owner on January 1st of each year.

The land tax is Sweden is also dependent on the specific municipality where the land is located, and the tax rate is determined by the assessed value of the land.

The capital gains tax is based upon the difference between what the property was sold for and how much it was bought for. This rate also takes into account inflation and other exemptions or expenses. Generally, the tax rate for individuals is 30%.

Transfer of funds from Israel to Sweden

According to section 170(a) of the Israeli Income Tax Ordinance, all payments transferred to non-Israeli residents are subject to a 25% withholding tax. However, this tax can be reduced or even waived if certain conditions are met.

As mentioned above, the countries have signed a tax treaty, that allows taxpayers to submit 2513/2 form – Statement regarding a payment to a foreign resident that is exempt from withholding tax, to potentially transfer the payments without paying the withholding tax.

In addition to assisting with withholding tax matters, our firm also helps with other issues related to transferring funds abroad. This includes providing an accountant’s approval regarding the payment of taxes, reviewing additional actions required under the CRS standard, and more.

Moreover, banks often raise many difficulties and charge high fees for converting shekels into other currencies. Therefore, consulting with a specialist before transferring the funds is highly recommended, click here to contact us.

For more information on money transfers abroad, click here.

Types of business entities in Sweden

Business entities in Sweden are primarily composed of 4 different types: Sole trader, trading partnership/limited partnership, limited company and economic association.

  1. Economic Associations –  provide a flexible and cooperative framework for individuals and businesses to collaborate and pursue economic goals collectively. Liability is limited to the capital invested. Need at least 3 people and one auditor to start an economic association. Small associations can choose a lay auditor, however for larger associations, the auditor must be an authorized public accountant.
  2. As a sole trader –  you are fully responsible and liable for your company. One doesn’t need any starting capital required. To become a sole trader, you must register the business with Swedish Tax Agency.
  3. A limited partnership –  is a type of business entity that consists of two types of partners, a general partner and limited partner. The general partner has full control over the management and decision making over the company’s operations. Limited partners on the other hand have no control over decision making in the company and their liability is limited to the amount of capital invested.
  4. A limited company –  is the most common form of business entity in Sweden and is used for commercial activities. A limited company is independent from its owners and acts as a separate legal entity. Similar to the limited partners mentioned above, the shareholders of a limited company have limited liability based on their capital invested. The company is managed by an appointed board of directors who make the decisions for the company and have legal responsibilities. Lastly, a limited company is required to maintain accurate and up to date financial records and prepare financial statements. In order to set up a limited company, one must do it through the Swedish Companies Registration Office which can be found here.

Incentive laws in Sweden

Sweden has established various incentive laws in the country in order to attract individuals and companies to relocate to Sweden.

The country offers generous tax incentives to encourage research and development activities. These can include deductions for R&D related expenses, reduced social security contributions, and possibly a tax credit for qualifying expenses.

The Swedish Government offers information, financial support, and advisory services in order to attract investment opportunities. Programs like Invest Sweden or the Swedish Agency for economic and regional growth are excellent resources which offer incentives such as those mentioned previously.

Additionally, Sweden offers more specific incentive laws based on the industry or situation. For more information click here.

Sweden Double Tax Treaties

Argentina Brazil Faroe Islands Israel Malaysia Romania Thailand
Armenia British Virgin Islands Finland Italy Malta Russia Trinidad and Tobago
Australia Bulgaria France Jamaica Mauritius Saudi Arabia Tunisia
Austria Canada Gambia Japan Mexico Serbia Turkey
Azerbaijan Cayman Islands Georgia Jersey Montenegro Singapore Ukraine
Bangladesh Chile Germany Kazakhstan Namibia Slovak Republic United Kingdom
Barbados China, People’s Republic of Guernsey Kenya Netherlands Slovenia United States
Belarus Croatia Hungary Korea, Republic of New Zealand South Africa Venezuela
Belgium Cyprus Iceland Kosovo Nigeria Spain Vietnam
Bermuda Czech Republic India Latvia Norway Sri Lanka Zambia
Bolivia Denmark Indonesia Lithuania Pakistan Switzerland Zimbabwe
Bosnia and Herzegovina Egypt Ireland, Republic of Luxembourg Philippines Taiwan  

Contact Us

Exchange Rate

More Countries

Hot Articles

Consult A Tax Expert

You can use the keyboard arrows to navigate between the component buttons
",e=e.removeChild(e.firstChild)):"string"==typeof o.is?e=l.createElement(a,{is:o.is}):(e=l.createElement(a),"select"===a&&(l=e,o.multiple?l.multiple=!0:o.size&&(l.size=o.size))):e=l.createElementNS(e,a),e[Ni]=t,e[Pi]=o,Pl(e,t,!1,!1),t.stateNode=e,l=Ae(a,o),a){case"iframe":case"object":case"embed":Te("load",e),u=o;break;case"video":case"audio":for(u=0;u<$a.length;u++)Te($a[u],e);u=o;break;case"source":Te("error",e),u=o;break;case"img":case"image":case"link":Te("error",e),Te("load",e),u=o;break;case"form":Te("reset",e),Te("submit",e),u=o;break;case"details":Te("toggle",e),u=o;break;case"input":A(e,o),u=M(e,o),Te("invalid",e),Ie(n,"onChange");break;case"option":u=B(e,o);break;case"select":e._wrapperState={wasMultiple:!!o.multiple},u=Uo({},o,{value:void 0}),Te("invalid",e),Ie(n,"onChange");break;case"textarea":V(e,o),u=H(e,o),Te("invalid",e),Ie(n,"onChange");break;default:u=o}Me(a,u);var s=u;for(i in s)if(s.hasOwnProperty(i)){var c=s[i];"style"===i?ze(e,c):"dangerouslySetInnerHTML"===i?(c=c?c.__html:void 0,null!=c&&Aa(e,c)):"children"===i?"string"==typeof c?("textarea"!==a||""!==c)&&X(e,c):"number"==typeof c&&X(e,""+c):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(ea.hasOwnProperty(i)?null!=c&&Ie(n,i):null!=c&&x(e,i,c,l))}switch(a){case"input":L(e),j(e,o,!1);break;case"textarea":L(e),$(e);break;case"option":null!=o.value&&e.setAttribute("value",""+P(o.value));break;case"select":e.multiple=!!o.multiple,n=o.value,null!=n?q(e,!!o.multiple,n,!1):null!=o.defaultValue&&q(e,!!o.multiple,o.defaultValue,!0);break;default:"function"==typeof u.onClick&&(e.onclick=Fe)}Ve(a,o)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Ll(e,t,e.memoizedProps,o);else{if("string"!=typeof o&&null===t.stateNode)throw Error(r(166));n=yn(yu.current),yn(bu.current),Jn(t)?(n=t.stateNode,o=t.memoizedProps,n[Ni]=t,n.nodeValue!==o&&(t.effectTag|=4)):(n=(9===n.nodeType?n:n.ownerDocument).createTextNode(o),n[Ni]=t,t.stateNode=n)}return null;case 13:return zt(vu),o=t.memoizedState,0!==(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==o,o=!1,null===e?void 0!==t.memoizedProps.fallback&&Jn(t):(a=e.memoizedState,o=null!==a,n||null===a||(a=e.child.sibling,null!==a&&(i=t.firstEffect,null!==i?(t.firstEffect=a,a.nextEffect=i):(t.firstEffect=t.lastEffect=a,a.nextEffect=null),a.effectTag=8))),n&&!o&&0!==(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!==(1&vu.current)?rs===Qu&&(rs=Yu):(rs!==Qu&&rs!==Yu||(rs=Gu),0!==us&&null!==es&&(To(es,ns),Co(es,us)))),(n||o)&&(t.effectTag|=4),null);case 4:return wn(),Ol(t),null;case 10:return Zt(t),null;case 17:return It(t.type)&&Ft(),null;case 19:if(zt(vu),o=t.memoizedState,null===o)return null;if(a=0!==(64&t.effectTag),i=o.rendering,null===i){if(a)mr(o,!1);else if(rs!==Qu||null!==e&&0!==(64&e.effectTag))for(i=t.child;null!==i;){if(e=_n(i),null!==e){for(t.effectTag|=64,mr(o,!1),a=e.updateQueue,null!==a&&(t.updateQueue=a,t.effectTag|=4),null===o.lastEffect&&(t.firstEffect=null),t.lastEffect=o.lastEffect,o=t.child;null!==o;)a=o,i=n,a.effectTag&=2,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null,e=a.alternate,null===e?(a.childExpirationTime=0,a.expirationTime=i,a.child=null,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null):(a.childExpirationTime=e.childExpirationTime,a.expirationTime=e.expirationTime,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,i=e.dependencies,a.dependencies=null===i?null:{expirationTime:i.expirationTime,firstContext:i.firstContext,responders:i.responders}),o=o.sibling;return Mt(vu,1&vu.current|2),t.child}i=i.sibling}}else{if(!a)if(e=_n(i),null!==e){if(t.effectTag|=64,a=!0,n=e.updateQueue,null!==n&&(t.updateQueue=n,t.effectTag|=4),mr(o,!0),null===o.tail&&"hidden"===o.tailMode&&!i.alternate)return t=t.lastEffect=o.lastEffect,null!==t&&(t.nextEffect=null),null}else 2*ru()-o.renderingStartTime>o.tailExpiration&&1t)&&vs.set(e,t)))}}function Ur(e,t){e.expirationTimee?n:e,2>=e&&t!==e?0:e}function qr(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=$t(Vr.bind(null,e));else{var t=Br(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=Fr();if(1073741823===t?r=99:1===t||2===t?r=95:(r=10*(1073741821-t)-10*(1073741821-r),r=0>=r?99:250>=r?98:5250>=r?97:95),null!==n){var o=e.callbackPriority;if(e.callbackExpirationTime===t&&o>=r)return;n!==Yl&&Bl(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?$t(Vr.bind(null,e)):Wt(r,Hr.bind(null,e),{timeout:10*(1073741821-t)-ru()}),e.callbackNode=t}}}function Hr(e,t){if(ks=0,t)return t=Fr(),No(e,t),qr(e),null;var n=Br(e);if(0!==n){if(t=e.callbackNode,(Ju&(Wu|$u))!==Hu)throw Error(r(327));if(lo(),e===es&&n===ns||Kr(e,n),null!==ts){var o=Ju;Ju|=Wu;for(var a=Yr();;)try{eo();break}catch(t){Xr(e,t)}if(Gt(),Ju=o,Bu.current=a,rs===Ku)throw t=os,Kr(e,n),To(e,n),qr(e),t;if(null===ts)switch(a=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,o=rs,es=null,o){case Qu:case Ku:throw Error(r(345));case Xu:No(e,2=n){e.lastPingedTime=n,Kr(e,n);break}}if(i=Br(e),0!==i&&i!==n)break;if(0!==o&&o!==n){e.lastPingedTime=o;break}e.timeoutHandle=Si(oo.bind(null,e),a);break}oo(e);break;case Gu:if(To(e,n),o=e.lastSuspendedTime,n===o&&(e.nextKnownPendingLevel=ro(a)),ss&&(a=e.lastPingedTime,0===a||a>=n)){e.lastPingedTime=n,Kr(e,n);break}if(a=Br(e),0!==a&&a!==n)break;if(0!==o&&o!==n){e.lastPingedTime=o;break}if(1073741823!==is?o=10*(1073741821-is)-ru():1073741823===as?o=0:(o=10*(1073741821-as)-5e3,a=ru(),n=10*(1073741821-n)-a,o=a-o,0>o&&(o=0),o=(120>o?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*Uu(o/1960))-o,n=o?o=0:(a=0|l.busyDelayMs,i=ru()-(10*(1073741821-i)-(0|l.timeoutMs||5e3)),o=i<=a?0:a+o-i),10 component higher in the tree to provide a loading indicator or placeholder to display."+N(i))}rs!==Zu&&(rs=Xu),l=yr(l,i),f=a;do{switch(f.tag){case 3:u=l,f.effectTag|=4096,f.expirationTime=t;var w=Ar(f,u,t);ln(f,w); break e;case 1:u=l;var E=f.type,k=f.stateNode;if(0===(64&f.effectTag)&&("function"==typeof E.getDerivedStateFromError||null!==k&&"function"==typeof k.componentDidCatch&&(null===ms||!ms.has(k)))){f.effectTag|=4096,f.expirationTime=t;var _=Ir(f,u,t);ln(f,_);break e}}f=f.return}while(null!==f)}ts=no(ts)}catch(e){t=e;continue}break}}function Yr(){var e=Bu.current;return Bu.current=Cu,null===e?Cu:e}function Gr(e,t){eus&&(us=e)}function Jr(){for(;null!==ts;)ts=to(ts)}function eo(){for(;null!==ts&&!Gl();)ts=to(ts)}function to(e){var t=Fu(e.alternate,e,ns);return e.memoizedProps=e.pendingProps,null===t&&(t=no(e)),qu.current=null,t}function no(e){ts=e;do{var t=ts.alternate;if(e=ts.return,0===(2048&ts.effectTag)){if(t=br(t,ts,ns),1===ns||1!==ts.childExpirationTime){for(var n=0,r=ts.child;null!==r;){var o=r.expirationTime,a=r.childExpirationTime;o>n&&(n=o),a>n&&(n=a),r=r.sibling}ts.childExpirationTime=n}if(null!==t)return t;null!==e&&0===(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=ts.firstEffect),null!==ts.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=ts.firstEffect),e.lastEffect=ts.lastEffect),1e?t:e}function oo(e){var t=qt();return Vt(99,ao.bind(null,e,t)),null}function ao(e,t){do lo();while(null!==gs);if((Ju&(Wu|$u))!==Hu)throw Error(r(327));var n=e.finishedWork,o=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(r(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var a=ro(n);if(e.firstPendingTime=a,o<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:o<=e.firstSuspendedTime&&(e.firstSuspendedTime=o-1),o<=e.lastPingedTime&&(e.lastPingedTime=0),o<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===es&&(ts=es=null,ns=0),1u&&(c=u,u=l,l=c),c=Ue(w,l),f=Ue(w,u),c&&f&&(1!==k.rangeCount||k.anchorNode!==c.node||k.anchorOffset!==c.offset||k.focusNode!==f.node||k.focusOffset!==f.offset)&&(E=E.createRange(),E.setStart(c.node,c.offset),k.removeAllRanges(),l>u?(k.addRange(E),k.extend(f.node,f.offset)):(E.setEnd(f.node,f.offset),k.addRange(E)))))),E=[];for(k=w;k=k.parentNode;)1===k.nodeType&&E.push({element:k,left:k.scrollLeft,top:k.scrollTop});for("function"==typeof w.focus&&w.focus(),w=0;w=t&&e<=t}function To(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;nt||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Co(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function No(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Po(e,t,n,o){var a=t.current,i=Fr(),l=su.suspense;i=jr(i,a,l);e:if(n){n=n._reactInternalFiber;t:{if(J(n)!==n||1!==n.tag)throw Error(r(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(It(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(r(171))}if(1===n.tag){var s=n.type;if(It(s)){n=Dt(n,s,u);break e}}n=u}else n=Al;return null===t.context?t.context=n:t.pendingContext=n,t=on(i,l),t.payload={element:e},o=void 0===o?null:o,null!==o&&(t.callback=o),an(a,t),Dr(a,i),i}function Oo(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Ro(e,t){e=e.memoizedState,null!==e&&null!==e.dehydrated&&e.retryTime